Re: Possible insanity, or is it LC 7.0.1?
Graham, I get true in both cases, same setup. Roger On Jan 14, 2015, at 1:03 PM, Graham Samuel livf...@mac.com wrote: Using LC 7.0.1 on Yosemite 1010.1, when I type this into the message box put (1.884955 is a number) I get true, as expected, but if I put put (1.884956 is a number) I get Script compile error: Error description: Expression: unquoted literal This result was derived from some complex code so I originally thought that the character string could have been corrupt with invisible characters, but I retyped the numbers myself. This seems so mad that I need someone to confirm it, even though I find it completely repeatable. I tried it on LC 6.7 (which just happens to be on my machine) and I got true as expected. Someone tell me I am not crazy. TIA Graham ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Possible insanity, or is it LC 7.0.1?
Such strange goings-on! I get Paul's results when I do it Paul’s way, but I don’t get Graham’s results when I do it his way via the message box!! Does that make me half crazy? On Jan 14, 2015, at 5:07 PM, Paul Hibbert p...@livecode.org wrote: You're not going totally crazy, unless I am too. This fails here in LC7.0.1 on Mac OS X 10.10.1… on mouseUp put 1.884956 into tVar put value(tVar + 0) end mouseUp …With the following error; button A: execution error at line 3 (value: error executing expression) near 1.884956, char 1 But this works… on mouseUp put 1.884955 into tVar add 0.01 to tVar put value(tVar + 0) end mouseUp …And this works; on mouseUp local tVar = 1.884956 put value(tVar + 0) end mouseUp Then if you use Try/Catch, they all fail in LC7.0.1, but work in LC5.5.5! Paul. :-/ On Jan 14, 2015, at 3:06 PM, Graham Samuel livf...@mac.com wrote: Thanks to those who replied. So, I am going crazy! I suppose it is something very particular about my setup. I did find one other way to show the anomaly, which was to put put 1.884956 into it; put value(it+0) this gives me the error Message execution error: Error description: value: error executing expression Hint: 1.884956 But of course YMMV. I am quite happy to be told it’s my fault, but the fact is that this is just an abstraction of something that has arisen in the middle of a loop that produces a table of values based on input parameters which are all very similar: the loop suddenly hits an error only on this particular value. It has worked in earlier versions of LC, but now I’m wedded to Unicode, it’s got to work with LC 7. If I ever get an explanation, I’ll tell the list about it. Cheers Graham On 14 Jan 2015, at 23:48, Roger Guay i...@mac.com wrote: Graham, I get true in both cases, same setup. Roger On Jan 14, 2015, at 1:03 PM, Graham Samuel livf...@mac.com wrote: Using LC 7.0.1 on Yosemite 1010.1, when I type this into the message box put (1.884955 is a number) I get true, as expected, but if I put put (1.884956 is a number) I get Script compile error: Error description: Expression: unquoted literal This result was derived from some complex code so I originally thought that the character string could have been corrupt with invisible characters, but I retyped the numbers myself. This seems so mad that I need someone to confirm it, even though I find it completely repeatable. I tried it on LC 6.7 (which just happens to be on my machine) and I got true as expected. Someone tell me I am not crazy. TIA Graham ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Moving a Group Smoothly
True enough on the longer distances! Have you tried any version 6 of LC? If so, does it do better? Cheers, Roger On Jan 5, 2015, at 12:19 PM, Brahmanathaswami bra...@hindu.org wrote: Given that, e.g. settingDialog group is offset from this location by, say a long distance of 500 pixels. if you move to the new location over one second.. it still stutters across the screen. move group SettingsDialog to 291,351 in 1 seconds ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Moving a Group Smoothly
I registered a bug report about a month ago about this method (lock/unlock with visual dissolve) causing random screen flashing in Yosemite. At the time, I did not get much confirmation from others. I’m still very much wrestling with this problem which appeared suddenly when I upgraded to Yosemite and with all recent versions of LiveCode. Roger On Jan 3, 2015, at 10:44 PM, Peter Haworth p...@lcsql.com wrote: Instead of moving the group, try show/ hide with visual effect. More info in the dictionary. On Jan 3, 2015 8:07 PM, Brahmanathaswami bra...@hindu.org wrote: This has probably been asked and answered 100 times. Because of the iOS limitation on opening substacks (no second windows allowed) I have set up a whole piece of the UI that I would normally put onto a substack... into a group... A close button and GUI clean up routine in the preopenstack handler pushes the group below the visible area to 291,1204 I just want the group to slide up smoothly and very quickly. But this script, in the 7.01 IDE performs very badly: on mouseUp lock messages move group SettingsDialog from 291,1204 to 291,351 without waiting end mouseUp The group moves up slowly and stutters as it moves. For modern UI/UX we really need elegant motion graphics behavior across the whole platform. Can this be improved? Is perfectly smooth motion even possible now in LiveCode? I realize it was never so great years ago, but I've been doing so much server side LC work in the past few years and hardly touched the presentation layer of app development until recently...and all my in house production tools apps are very plain/functional designs with zero eye candy. I thought motion would have much improved by now. What am I doing wrong? (Mac OS X Yosemite) Brahmanathaswami ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Moving a Group Smoothly
One other thing: Try move group SettingsDialog to 291,351 in 50 milliseconds”. You don’t need the from and you do need the duration time Cheers, Roger On Jan 3, 2015, at 9:06 PM, Brahmanathaswami bra...@hindu.org wrote: This has probably been asked and answered 100 times. Because of the iOS limitation on opening substacks (no second windows allowed) I have set up a whole piece of the UI that I would normally put onto a substack... into a group... A close button and GUI clean up routine in the preopenstack handler pushes the group below the visible area to 291,1204 I just want the group to slide up smoothly and very quickly. But this script, in the 7.01 IDE performs very badly: on mouseUp lock messages move group SettingsDialog from 291,1204 to 291,351 without waiting end mouseUp The group moves up slowly and stutters as it moves. For modern UI/UX we really need elegant motion graphics behavior across the whole platform. Can this be improved? Is perfectly smooth motion even possible now in LiveCode? I realize it was never so great years ago, but I've been doing so much server side LC work in the past few years and hardly touched the presentation layer of app development until recently...and all my in house production tools apps are very plain/functional designs with zero eye candy. I thought motion would have much improved by now. What am I doing wrong? (Mac OS X Yosemite) Brahmanathaswami ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Moving a Group Smoothly
I’m finding that version 7 is quite slow for this kind of thing. Try version 6.6.5 or 6.7. They are much faster. I’m also using Yosemite. Roger On Jan 3, 2015, at 9:06 PM, Brahmanathaswami bra...@hindu.org wrote: This has probably been asked and answered 100 times. Because of the iOS limitation on opening substacks (no second windows allowed) I have set up a whole piece of the UI that I would normally put onto a substack... into a group... A close button and GUI clean up routine in the preopenstack handler pushes the group below the visible area to 291,1204 I just want the group to slide up smoothly and very quickly. But this script, in the 7.01 IDE performs very badly: on mouseUp lock messages move group SettingsDialog from 291,1204 to 291,351 without waiting end mouseUp The group moves up slowly and stutters as it moves. For modern UI/UX we really need elegant motion graphics behavior across the whole platform. Can this be improved? Is perfectly smooth motion even possible now in LiveCode? I realize it was never so great years ago, but I've been doing so much server side LC work in the past few years and hardly touched the presentation layer of app development until recently...and all my in house production tools apps are very plain/functional designs with zero eye candy. I thought motion would have much improved by now. What am I doing wrong? (Mac OS X Yosemite) Brahmanathaswami ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Rotation and RGB values
And, if you frame your scrollbarDrag script with lock and unlock screen, it works quite smoothly! Roger On Dec 26, 2014, at 9:57 AM, Mike Bonner bonnm...@gmail.com wrote: Oops, link is here. https://www.dropbox.com/s/z0u4nr3raforrhd/Which_Way.livecode?dl=0 On Fri, Dec 26, 2014 at 9:56 AM, Mike Bonner bonnm...@gmail.com wrote: Nice! Modified how the last knob color is set so you can see one of the methods I came up with in action. On Fri, Dec 26, 2014 at 7:55 AM, Richmond richmondmathew...@gmail.com wrote: Just a wee silly something: https://www.dropbox.com/sh/ja47l87gg87sn0q/AAAIj99kEQVOb8ev3jz8C5ORa?dl=0 File 'ww.zip' Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [ANN] homemade slider
Thanks again, Bernd. This is a BIG timesaver! Roger On Dec 11, 2014, at 1:54 AM, BNig bernd.niggem...@uni-wh.de wrote: Here is a new version of homemade slider as promised version 0_8 optionally switch behavior when clicking into back of slider either switch mode moving thumb to either end or moving slider to clickLoc. Some code tweaks and some new examples. http://berndniggemann.on-rev.com/customslider/customSlider_0_8.livecode.zip Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-homemade-slider-tp4686566p4686698.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I Love my Colour Picker
If you mean SuperPick.Livecode, I like it too. I was working in a similar vein with more of Crayon Name orientation, since I tend to use the Crayon Palette. Have you tried putting everything in the scrollBarDrag handler instead of the MouseUp handler? Works great on my machine. Roger On Dec 10, 2014, at 4:22 AM, Richmond richmondmathew...@gmail.com wrote: Here: https://www.dropbox.com/sh/ja47l87gg87sn0q/AAAIj99kEQVOb8ev3jz8C5ORa?dl=0 Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I Love my Colour Picker
That’s cute. I didn’t know that, but in fact, they’ve been worn flat! On Dec 10, 2014, at 7:40 AM, Geoff Canyon gcan...@gmail.com wrote: Anyone here remember that way back when (maybe OS 7) if you set your Mac's calendar far in the future, maybe 2020, the crayon picker would change so the crayons' tips were worn down? On Wed, Dec 10, 2014 at 9:08 AM, Richmond richmondmathew...@gmail.com wrote: On 10/12/14 15:33, Roger Guay wrote: If you mean SuperPick.Livecode, I like it too. I was working in a similar vein with more of Crayon Name orientation, since I tend to use the Crayon Palette. Have you tried putting everything in the scrollBarDrag handler instead of the MouseUp handler? Works great on my machine. Roger I see that Yosemite's crayons have been squashed and gone all flat: poo! Just building in some crayons into my SuperPick.Livecode. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I Hate the New Color Picker
Poke around just between and above the Cancel and OK btns and you’ll find the sweet spot where the cursor turns to a hand. Roger On Dec 8, 2014, at 9:28 AM, William de Smet williamdes...@gmail.com wrote: Hi, Can someone post a screenshot because I don't see a small dot on the Yosemite color picker. I am also stuck with one row of colors. Greetings, William 2014-12-08 8:17 GMT+01:00 Howard Bornstein bornst...@designeq.com: I wouldn't have seen it myself if I hadn't used my large Holmesian magnifying glass.;-) On Sun, Dec 7, 2014 at 4:27 PM, Roger Guay i...@mac.com wrote: Thank you Howard! There’s a tiny dot there that I had not noticed. You don’t know how many times I tried to pull down from every point other than that tiny dot to no avail. What a twit I am!! On Dec 7, 2014, at 3:16 PM, Howard Bornstein bornst...@designeq.com wrote: Just pull down from the bottom of the color picker patches and you'll get 10 rows, just like earlier versions. On Sun, Dec 7, 2014 at 3:01 PM, Roger Guay i...@mac.com wrote: Just the flatness of it, but more importantly, the limit of just one row of color patches. I was used to using multiple rows to record and manage multiple projects. I realize now that It’s no biggie, and I overreacted! I’ll build a better tool for what I need and offer to all to make up for petulance. Roger On Dec 7, 2014, at 10:59 AM, Geoff Canyon gcan...@gmail.com wrote: How does the color picker look different to you? I'm on Yosemite and it looks the same as I remember: color picker choices across the top: color wheel (default), color sliders, etc.; then the color wheel itself below that; then the saturation slider below that; then the actual color selected and the saved colors below that; and finally the cancel and okay buttons below that. On Fri, Dec 5, 2014 at 10:21 PM, Roger Guay i...@mac.com wrote: I’m sure the new color picker is totally Apple’s (Yosemite) fault, but I hate it? It’s ugly and not as functional as the old one. Is there anything I can do about it, like go back to the old one? TIA, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I Hate the New Color Picker
Aha, the thought plickens! I’m running Yosemite 10.10.1 and find the dot appearing in LC 6.7.1 (rc2) but NOT in LC 6.6.5 nor in 6.7. On Dec 8, 2014, at 11:55 AM, Terence Heaford t.heaf...@btinternet.com wrote: Should have said my screen shot showing the dot is LC community 6.7.1 (RC3) running on iMac 21.5 Yosemite 10.10.1 The dot show on TextEdit, Numbers, Pages. All the best Terry On 8 Dec 2014, at 19:49, Howard Bornstein bornst...@designeq.com wrote: Well, this is strange. I was checking out the color picker in Yosemite using TextEdit, which incidentally, doesn't have those Cancel and OK buttons, but has the dot to pull down the color dock. When I call up the color picker in LC, I get the same view as Geoff, with two lines of palette docks and no dot to extend the dock section. Unlike Roger, I couldn't find the sweet spot to make this work. Apparently, LC has modified the system color wheel to a certain extent. On Mon, Dec 8, 2014 at 11:21 AM, William de Smet williamdes...@gmail.com wrote: Hi Geoff, This is my ColorPicker. I only have one visible line. I am on Yosemite 10.10.1 with LC 6.6.5 on a 21,5 inch iMac. https://www.dropbox.com/s/pkqwsgvu6i5q7tz/ColorPickerYosemite.png?dl=0 greetings, William 2014-12-08 19:57 GMT+01:00 Geoff Canyon gcan...@gmail.com: William, I'm with you: no small dot, no resizing -- vertically, at least -- I can make the color picker wider up to a point. Here's a link to a screen shot: https://www.dropbox.com/s/ahzx78f6kzudgcl/Screenshot%202014-12-08%2013.56.46.png?dl=0 On Mon, Dec 8, 2014 at 1:20 PM, Roger Guay i...@mac.com wrote: Poke around just between and above the Cancel and OK btns and you’ll find the sweet spot where the cursor turns to a hand. Roger On Dec 8, 2014, at 9:28 AM, William de Smet williamdes...@gmail.com wrote: Hi, Can someone post a screenshot because I don't see a small dot on the Yosemite color picker. I am also stuck with one row of colors. Greetings, William 2014-12-08 8:17 GMT+01:00 Howard Bornstein bornst...@designeq.com: I wouldn't have seen it myself if I hadn't used my large Holmesian magnifying glass.;-) On Sun, Dec 7, 2014 at 4:27 PM, Roger Guay i...@mac.com wrote: Thank you Howard! There’s a tiny dot there that I had not noticed. You don’t know how many times I tried to pull down from every point other than that tiny dot to no avail. What a twit I am!! On Dec 7, 2014, at 3:16 PM, Howard Bornstein bornst...@designeq.com wrote: Just pull down from the bottom of the color picker patches and you'll get 10 rows, just like earlier versions. On Sun, Dec 7, 2014 at 3:01 PM, Roger Guay i...@mac.com wrote: Just the flatness of it, but more importantly, the limit of just one row of color patches. I was used to using multiple rows to record and manage multiple projects. I realize now that It’s no biggie, and I overreacted! I’ll build a better tool for what I need and offer to all to make up for petulance. Roger On Dec 7, 2014, at 10:59 AM, Geoff Canyon gcan...@gmail.com wrote: How does the color picker look different to you? I'm on Yosemite and it looks the same as I remember: color picker choices across the top: color wheel (default), color sliders, etc.; then the color wheel itself below that; then the saturation slider below that; then the actual color selected and the saved colors below that; and finally the cancel and okay buttons below that. On Fri, Dec 5, 2014 at 10:21 PM, Roger Guay i...@mac.com wrote: I’m sure the new color picker is totally Apple’s (Yosemite) fault, but I hate it? It’s ugly and not as functional as the old one. Is there anything I can do about it, like go back to the old one? TIA, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I Hate the New Color Picker
Bummer! I find that versions 6.7.x are a problem for me, but I’ve also found that you can use the dot to reveal more swatches of the Color Picker in LC 6.7.1 (rc2), and it will stay “open” for when I go back to my current LC favorite, 6.6.5. Roger On Dec 8, 2014, at 3:20 PM, Devin Asay devin_a...@byu.edu wrote: Yup, it’s a Cocoa thing. Not there in 6.6.x on Yosemite. Magically appears when you invoke the color picker in 6.7.x. Devin On Dec 8, 2014, at 3:34 PM, Geoff Canyon gcan...@gmail.com wrote: Here's mine in 6.6.2, which is the closest I have to 6.6.5. It has two rows, no matter how I resize it. I wonder if the international aspect is a factor here? https://www.dropbox.com/s/ahqcye1nmp3jn2r/Screenshot%202014-12-08%2017.32.53.png?dl=0 On Mon, Dec 8, 2014 at 5:18 PM, Roger Guay i...@mac.com wrote: Aha, the thought plickens! I’m running Yosemite 10.10.1 and find the dot appearing in LC 6.7.1 (rc2) but NOT in LC 6.6.5 nor in 6.7. Devin Asay Learn to code with LiveCode University http://university.livecode.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I Hate the New Color Picker
You’re right of course, I was just overreacting to the ugliness of it. One thing I do miss is multiple lines of color patches where I kept track of the colors I use for various purposes. I do intend to roll my own to fix that, Roger On Dec 7, 2014, at 2:44 AM, Graham Samuel livf...@mac.com wrote: How much functionality do you want in a color picker? If you just want to allow a user to pick from a fixed set of colours, it’s easy to grow your own - cross-platform too. But of course that’s just a small subset of an OS’s picker. Graham On 6 Dec 2014, at 03:21, Roger Guay i...@mac.com wrote: I’m sure the new color picker is totally Apple’s (Yosemite) fault, but I hate it? It’s ugly and not as functional as the old one. Is there anything I can do about it, like go back to the old one? TIA, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I Hate the New Color Picker
Thanks again, Richmond. That will be very helpful when I build my own version. On Dec 7, 2014, at 3:48 AM, Richmond richmondmathew...@gmail.com wrote: Just uploaded the color picker from the Mac Classic version of Runtime Revolution 2.0 to https://www.dropbox.com/sh/ja47l87gg87s ... C5ORa?dl=0 https://www.dropbox.com/sh/ja47l87gg87sn0q/AAAIj99kEQVOb8ev3jz8C5ORa?dl=0 RCC.zip As far as I can see it is identical to the one from Metacard 2.5 Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Stealing things from Metacard
I thought Cornery was particularly clever! On Dec 7, 2014, at 1:38 AM, Richmond richmondmathew...@gmail.com wrote: Let's be daft :) https://www.dropbox.com/sh/ja47l87gg87sn0q/AAAIj99kEQVOb8ev3jz8C5ORa?dl=0 I've put 4 files here: CC.zip, CP.zip, GM.zip and PT.zip (there's also some other nonsense you are welcome to play with). These are components stolen from Metacard: CC = Character Chooser from Metacard CP = Color Picker from Metacard GM = Geometry Manager from Metacard PT = Paint Tools from Metacard You may find them useful. By-ther-way: it is dead easy to extract bits of the Metacard IDE to play about with, and, old though it be [great use of the Subjunctive there] some bits are quite useful. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I Hate the New Color Picker
What I want is a one-stop place where I can record and manage the color palettes of each and every one of my projects. A subset of the OS picker, as you note. I’m working on it. Roger On Dec 7, 2014, at 2:44 AM, Graham Samuel livf...@mac.com wrote: How much functionality do you want in a color picker? If you just want to allow a user to pick from a fixed set of colours, it’s easy to grow your own - cross-platform too. But of course that’s just a small subset of an OS’s picker. Graham On 6 Dec 2014, at 03:21, Roger Guay i...@mac.com wrote: I’m sure the new color picker is totally Apple’s (Yosemite) fault, but I hate it? It’s ugly and not as functional as the old one. Is there anything I can do about it, like go back to the old one? TIA, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I Hate the New Color Picker
Just the flatness of it, but more importantly, the limit of just one row of color patches. I was used to using multiple rows to record and manage multiple projects. I realize now that It’s no biggie, and I overreacted! I’ll build a better tool for what I need and offer to all to make up for petulance. Roger On Dec 7, 2014, at 10:59 AM, Geoff Canyon gcan...@gmail.com wrote: How does the color picker look different to you? I'm on Yosemite and it looks the same as I remember: color picker choices across the top: color wheel (default), color sliders, etc.; then the color wheel itself below that; then the saturation slider below that; then the actual color selected and the saved colors below that; and finally the cancel and okay buttons below that. On Fri, Dec 5, 2014 at 10:21 PM, Roger Guay i...@mac.com wrote: I’m sure the new color picker is totally Apple’s (Yosemite) fault, but I hate it? It’s ugly and not as functional as the old one. Is there anything I can do about it, like go back to the old one? TIA, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I Hate the New Color Picker
Thank you Howard! There’s a tiny dot there that I had not noticed. You don’t know how many times I tried to pull down from every point other than that tiny dot to no avail. What a twit I am!! On Dec 7, 2014, at 3:16 PM, Howard Bornstein bornst...@designeq.com wrote: Just pull down from the bottom of the color picker patches and you'll get 10 rows, just like earlier versions. On Sun, Dec 7, 2014 at 3:01 PM, Roger Guay i...@mac.com wrote: Just the flatness of it, but more importantly, the limit of just one row of color patches. I was used to using multiple rows to record and manage multiple projects. I realize now that It’s no biggie, and I overreacted! I’ll build a better tool for what I need and offer to all to make up for petulance. Roger On Dec 7, 2014, at 10:59 AM, Geoff Canyon gcan...@gmail.com wrote: How does the color picker look different to you? I'm on Yosemite and it looks the same as I remember: color picker choices across the top: color wheel (default), color sliders, etc.; then the color wheel itself below that; then the saturation slider below that; then the actual color selected and the saved colors below that; and finally the cancel and okay buttons below that. On Fri, Dec 5, 2014 at 10:21 PM, Roger Guay i...@mac.com wrote: I’m sure the new color picker is totally Apple’s (Yosemite) fault, but I hate it? It’s ugly and not as functional as the old one. Is there anything I can do about it, like go back to the old one? TIA, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [ANN] homemade slider
That is very cool! Thank you, Bernd . On Dec 7, 2014, at 3:58 PM, BNig bernd.niggem...@uni-wh.de wrote: Dear List, sometimes one needs a custom slider for either mobile or desktop. I made one that can be skinned in many ways. It is horizontal only. Can also be used as progress bar. --- http://berndniggemann.on-rev.com/customslider/customSlider_0_6.livecode.zip --- Feedback welcome Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-homemade-slider-tp4686566.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I Hate the New Color Picker
Richmond, Do I recall that you had converted an old MetaCard Color picker for LC about a year ago? If so, is it still available? Thanks! Roger On Dec 6, 2014, at 1:43 AM, Richmond richmondmathew...@gmail.com wrote: On 06/12/14 05:21, Roger Guay wrote: I’m sure the new color picker is totally Apple’s (Yosemite) fault, but I hate it? It’s ugly and not as functional as the old one. Is there anything I can do about it, like go back to the old one? TIA, Roger There seems to be quite a lot to hate about Yosemite. I wonder what Apple thought they were doing. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I Hate the New Color Picker
No hurry, and no worries if you don’t. I can always use the ugly one. Thanks! On Dec 6, 2014, at 12:19 PM, Richmond richmondmathew...@gmail.com wrote: On 06/12/14 22:12, Roger Guay wrote: Richmond, Do I recall that you had converted an old MetaCard Color picker for LC about a year ago? If so, is it still available? Thanks! Roger That's true: but I haven't a clue where it has gone. Possibly (???) I could just suck it out of the Metacard setup and post it again :) Don't hold your breath; it'll take a while. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: I Hate the New Color Picker
Got it. Thanks very much! Cheers, Roger On Dec 6, 2014, at 12:30 PM, Richmond richmondmathew...@gmail.com wrote: On 06/12/14 22:12, Roger Guay wrote: Richmond, Do I recall that you had converted an old MetaCard Color picker for LC about a year ago? If so, is it still available? Thanks! Roger The file 'CP.zip' here: https://www.dropbox.com/sh/ja47l87gg87sn0q/AAAIj99kEQVOb8ev3jz8C5ORa?dl=0 Best, Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
I Hate the New Color Picker
I’m sure the new color picker is totally Apple’s (Yosemite) fault, but I hate it? It’s ugly and not as functional as the old one. Is there anything I can do about it, like go back to the old one? TIA, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: (Arbitrarily) Long-Division Script
Such strange goings on. This doesn’t work on my MB Pro running Yosemite and LC 6.6.5 either. Nothing happens! If it hit enter repeatedly I get an “execution error . . . can’t find handler . . . hint: go Cheers, Roger On Nov 3, 2014, at 6:57 AM, Jim Hurley jhurley0...@sbcglobal.net wrote: Here is that stack. Just run this in the msg box. (This works on my MacBookAir but not on my desktop running an older version of OS X. See my reply to Jacque.) go url https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode; ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Tools Bar In The Way
Under the View menu, deselect “Toolbar Text” and Toolbar Icon” Cheers, Roger On Oct 20, 2014, at 12:30 AM, Brahmanathaswami bra...@hindu.org wrote: Back into some stack work again after doing server side scripting (in lc) for nearly 2 years. I have a lot of catch up to do... Some things in the IDE are still very wonky (even irritating) e.g. I dragged the application browser window up underneath the tools bar that is underneath the OS menu bar (OSX) Now I cannot access it to get it back down without using some msg cmd to reset the topleft. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Screen Flashing in LC 6..6.3
I’m using OS X Yosemite and LC 6.6.3 and noticing an occasional screen flash when unlocking screen with visual effect. Can anyone confirm? Here is a sample of my code that sometimes causes a screen flash. Makes no difference what visual effect I use . . . near as I can tell. on mouseUp lock screen for visual effect set the vis of image galex to not the vis of image galex unlock screen with dissolve end mouseUp Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: iOS Icon sizes? Splash screen sizes?
Very useful!! Thank you, ˜Roger Roger On Oct 9, 2014, at 7:16 AM, Roger Eller roger.e.el...@sealedair.com wrote: This creates all necessary sizes from a high res master image. http://livecodeshare.runrev.com/stack/756/Scaliniimage-scaler-for-resolution-independence The sizes were also detailed on one of the slides in a presentation by Ralph DiMola at LiveCodeLIVE'14. ~Roger On Thu, Oct 9, 2014 at 1:11 AM, Chipp Walters ch...@chipp.com wrote: Where oh where would one find these? I have a great idea! Why not put a little button next to the fields in the Standalone builder to show info about them? *Icon sizes* iPhone Hi-Res iPhone iOS Hi-Res iPhone iPhone 6 Plus iPad Hi-Res iPad iOS 7 iPad iOS7 Hi-Res iPad *Splash Screens* iPhone Hi-Res iPhone 4 Inch iPhone iPhone 6 iPhone 6 Plus Portrait iPhone 6 Plus Lscape Hi-Res iPad Portrait Hi-Res iPad Landscape Chipp Walters ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Helping newcomers anticipate that standalones can't save to themselves
I like this idea a lot! Roger On Aug 15, 2014, at 10:46 AM, kee nethery k...@kagi.com wrote: I use the launcher/updater with the script/data stack model so my standalones can save changes into it’s stacks. Wonder if it would make sense to have a standard version of that launcher/updater so that newbies can just grab it and use it. Kee On Aug 15, 2014, at 7:13 AM, Richard Gaskin ambassa...@fourthworld.com wrote: One of the most frequent frustrations new users have with LiveCode is the moment they realize the standalone they've built can't save changes to its stacks. Often this happens very late in the process, just after building the standalone to test out the work they've been doing, and suddenly everything that worked so well in the IDE stops working, with no readily discernible cause. So they come into the forums or this list, and folks mention everything from refactoring their work to use an anchor window (or splash screen) pattern, or completely rewrite everything to use an external text file or database or what have you. The LiveCode User Guide's section on building standalones includes a bold purple callout box explaining this (p 299), but it's a testament to the usability of LiveCode that apparently a great many people can use it productively for many weeks without ever cracking the User Guide. Clearly something more is needed. What should that be? Putting a note in the Standalone Builder might help, but if they've gotten that far it's too late, they probably have to start rewriting things. How can we help users anticipate IN ADVANCE that no OS will allow their executable to write to itself, so they can write useful things from the very start? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Sunday fun.
As you probably know, if you set the points of grc OVOID inside the repeat loop and add a short wait, you can watch them being drawn, which is kinda fun. Roger On Jul 13, 2014, at 8:47 AM, Richmond richmondmathew...@gmail.com wrote: http://forums.livecode.com/viewtopic.php?f=5t=21041 Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Unknown Deployment Platform.
Sorry I haven’t kept up lately, but could someone please tell me what version(s) of Xcode works with LC v 6.6.1? I’m getting the subject error message with Xcode v 5.5.1. Thanks! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Silly Automated Rabbit
Grab the owner of me” works…. Roger On May 7, 2014, at 10:18 AM, J. Landman Gay jac...@hyperactivesw.com wrote: On 5/7/14, 7:50 AM, Richmond wrote: grab group RL I've never been able to get this to work in any version of LC (or MC.) The only syntax I could use was grab me. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: More screengamma
Jacque, The dictionary says Use the screenGamma property to control the color display of PNG images.” Could that be your problem? Roger On May 5, 2014, at 1:56 PM, J. Landman Gay jac...@hyperactivesw.com wrote: In LC 6.6.1, setting the screengamma doesn't do anything, at least on Mac. The appearance of images does not change. Is this useless now? My client isn't happy with how their images look. These are all jpgs. They also report that the appearance of the images in the IDE is dramatically different than it is in a standalone built from the same stack. Does anyone know what's going on? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Updating Plugins
Does anyone have a convenient/clever/cool way to copy favorite personal plugins from previous to new releases of LC? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Updating Plugins
Thank you Mark and Scott. I guess part of my question is how do you manage the possible updates to individual plugins? e.g. Let’s say GoRevNet was updated in the latest LC release. Or, a new plugin was introduced with the latest release. How would I combine the latest release plugins with my private or personal ones, thus easily maintaining my “universal” Plugins folder? Thanks, Roger On Apr 8, 2014, at 12:56 PM, Scott Rossi sc...@tactilemedia.com wrote: If you run LiveCode on multiple systems, one clever technique to is to place your plugins in a DropBox folder. Then your plugins are available to all your LiveCode installations across multiple machines from a single folder. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Updating Plugins - Solved.
Never mind . . . I see that the universal plugins folder is automatically combined with the packaged plugins of LC. Problem solved!! Thanks again Mark and Scott. Roger On Apr 8, 2014, at 2:39 PM, Roger Guay i...@mac.com wrote: Thank you Mark and Scott. I guess part of my question is how do you manage the possible updates to individual plugins? e.g. Let’s say GoRevNet was updated in the latest LC release. Or, a new plugin was introduced with the latest release. How would I combine the latest release plugins with my private or personal ones, thus easily maintaining my “universal” Plugins folder? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Potentially Hazardous Asteroid Passing by the Earth
Thank you, Ender. Somehow this event escaped my attention. Cheers, Roger On Feb 17, 2014, at 6:05 PM, Ender Nafi Elekcioglu endern...@keehuna.com wrote: Hi folks, If anyone interested, NEA 2000 EM26 is about to pass and you can watch it live: https://www.youtube.com/watch?v=MCFWUemLzM0 Diameter: 270m. ~ 890 ft. {pretty big} Speed: 43450 km/h ~ 27700mph {pretty fast} Approach Distance: 2,7 million km. ~ 1,7 million miles {pretty close} Best, ~ Ender ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Tracing Stack (was: the points of graphic)
One of the great features of SuperCard was its Auto-Trace tool which I have tried to replicate in LiveCode on several occasions and failed. I believe you have, at least, a great start here, Michael. Thank you very much! Roger Guay On Jan 20, 2014, at 7:48 AM, Michael Kristensen michael-kristen...@dsa-net.dk wrote: Hi there I have placed a Tracing Stack here: http://forums.runrev.com/viewtopic.php?f=9t=13399p=64351#p64351 Michael ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] MIA
Add my very best wishes for you and your wife, Monty. Roger Guay On Jan 20, 2014, at 1:12 PM, Monte Goulding mo...@sweattechnologies.com wrote: Hi Folks I'm going to be off the reservation for a little while. For those that knew we had a baby due in a couple of weeks we lost her yesterday and I just need to focus on family for a while. If my friends here notice anyone getting upset about lack of communication from me/mergExt on the forums etc could you please let people know I'll be back when life settles down a bit. Thanks Monte -- M E R Goulding Software development services mergExt - There's an external for that! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: The LifeCode of LiveCode
I'm not sure what I was watching, but it's beautiful and I loved it! Please tell us more. A little explanation and how you built it would be nice. Roger On Oct 11, 2013, at 12:50 AM, ha...@exformedia.se wrote: The first post to github was made 6 months ago yesterday (april 10'th) so I made a small visualization of the project according to git. I've got it up on YouTube today and there seems to be some of the latest fixes missing but I couldn't find them on github so maybe they are not there yet… Well 6 months of software development in 3 minutes is available at: http://youtu.be/pNNusWCeBWA And then back your coding! Keep up the good work! :-Håkan ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Radio / checkbox button scaloing
I believe you have to change their icon. Build your own icons of the size you want and then import them as images etc. Roger On Aug 28, 2013, at 9:17 AM, Christer Pyyhtiä chris...@mindcrea.com wrote: What is wanted is that the checkbox scales with the textSize. Now it looks like the box size stays constant not depending on textSize. I have been trying to find out ways but no success so far. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: OT: Kickstart a movie
No link, Mark? Roger On Aug 15, 2013, at 9:22 AM, Mark Wieder mwie...@ahsoftware.net wrote: All- A colleague here in the Bay Area is putting the finishing touches on a move about the Singularity and is now in the final 24 hours of Kickstarting some final funding. And has some fun rewards for helping out. Check out the trailer. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Submitting to Apple... at what size ?
My app was built at 1024 x 768 and I recently uploaded a revision at the same resolution. No problem…. Roger On Aug 1, 2013, at 10:32 AM, John Dixon dixo...@hotmail.co.uk wrote: To those of you who have submitted iPad apps to Apple recently built with liveCode... What size did you build them at 1024 x 768... or 2048 x 1536 ? Has ayone suffered a rejection from submitting their iPad app to Apple at 1024 x 768 ? I would also like to hear what sizes people have been building their iPhone apps at as well...:-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
OpenCard and preOpenCard Odd Behavior
I have a stack of 6 cards, the first card of which has both a preOpenCard and an openCard script. These scripts execute properly when the stack is first opened, but they fail to execute if the first card is revisited (after the stack is open). Other cards in this stack have preOpenCard and OpenCard scripts that always execute when the card is visited. Can someone please suggest what might be going on here? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: OpenCard and preOpenCard Odd Behavior
Yes I do, but the other cards are not affected by them. On Jul 7, 2013, at 11:21 AM, Mark Wieder mwie...@ahsoftware.net wrote: Roger- Sunday, July 7, 2013, 10:08:33 AM, you wrote: Can someone please suggest what might be going on here? Hmmm... might you also have a preOpenCard or openCard handler in the stack script? -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: OpenCard and preOpenCard Odd Behavior
I'm so sorry folks, I had to run an errand and came back to realize I misspoke!! I DO NOT have openCard and PreOpenCard scripts at the stack level. Jacque, I am merely navigating between cards in my problem stack that gives me this grief Craig, I'm checking the Message Watcher, but so far I'm not seeing what's causing my problem. Sure enough the MessageWatcher confirms that OpenCard and PreOpenCard are not executing when revisiting the first card, but are when first opening the stack. Dar, I don't think there are any front scripts . . . certainly none of my own. Could there be others not of my doing? Roger On Jul 7, 2013, at 2:25 PM, Dar Scott d...@swcp.com wrote: Perhaps a script is put into the front scripts. For example, you mentioned a preOpenCard and openCard being defined in the stack. If the stack was put into the front scripts, then it would block those in the card. Or it could be something else put into the front scripts. You could (in message handlers) pass these messages to make sure all handlers in the scripts see them. It does no harm for the last one to pass. If the handler might be in the message path several times, then either detect the repeat or make the operation short and harmless, that is, ending up with the same state. For example if the script handers do general card set up and the card handler does card specific setup, then the card specific one could pass to the stack handler. (But, as I mentioned, if the stack script is put in front, then it will execute first.) Dar On Jul 7, 2013, at 11:08 AM, Roger Guay wrote: I have a stack of 6 cards, the first card of which has both a preOpenCard and an openCard script. These scripts execute properly when the stack is first opened, but they fail to execute if the first card is revisited (after the stack is open). Other cards in this stack have preOpenCard and OpenCard scripts that always execute when the card is visited. Can someone please suggest what might be going on here? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: OpenCard and preOpenCard Odd Behavior
Me again. I found my problem . . . by message watching (Thank you, Craig). I found that I had an Exit to top script on CloseCard of the card I was leaving to go to the first cd. I'm not sure why that matters, but everything works fine if I remove Exit to top Thanks to all for your help! Cheers, Roger On Jul 7, 2013, at 3:07 PM, Roger Guay i...@mac.com wrote: I'm so sorry folks, I had to run an errand and came back to realize I misspoke!! I DO NOT have openCard and PreOpenCard scripts at the stack level. Jacque, I am merely navigating between cards in my problem stack that gives me this grief Craig, I'm checking the Message Watcher, but so far I'm not seeing what's causing my problem. Sure enough the MessageWatcher confirms that OpenCard and PreOpenCard are not executing when revisiting the first card, but are when first opening the stack. Dar, I don't think there are any front scripts . . . certainly none of my own. Could there be others not of my doing? Roger On Jul 7, 2013, at 2:25 PM, Dar Scott d...@swcp.com wrote: Perhaps a script is put into the front scripts. For example, you mentioned a preOpenCard and openCard being defined in the stack. If the stack was put into the front scripts, then it would block those in the card. Or it could be something else put into the front scripts. You could (in message handlers) pass these messages to make sure all handlers in the scripts see them. It does no harm for the last one to pass. If the handler might be in the message path several times, then either detect the repeat or make the operation short and harmless, that is, ending up with the same state. For example if the script handers do general card set up and the card handler does card specific setup, then the card specific one could pass to the stack handler. (But, as I mentioned, if the stack script is put in front, then it will execute first.) Dar On Jul 7, 2013, at 11:08 AM, Roger Guay wrote: I have a stack of 6 cards, the first card of which has both a preOpenCard and an openCard script. These scripts execute properly when the stack is first opened, but they fail to execute if the first card is revisited (after the stack is open). Other cards in this stack have preOpenCard and OpenCard scripts that always execute when the card is visited. Can someone please suggest what might be going on here? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: OpenCard and preOpenCard Odd Behavior
Hi Jacque, I meant that there are no messages appearing, but you just missed my previous post where I found the offending script in a CloseCard. Thanks very much for your help! Roger On Jul 7, 2013, at 3:24 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 7/7/13 4:07 PM, Roger Guay wrote: I'm checking the Message Watcher, but so far I'm not seeing what's causing my problem. Sure enough the MessageWatcher confirms that OpenCard and PreOpenCard are not executing when revisiting the first card, but are when first opening the stack. When you say they aren't executing, do you mean the messages are sent but nothing happens? Or no messages appear in the message watcher? If there are no messages, then check for a lock messages command that might be blocking them. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: OpenCard and preOpenCard Odd Behavior
Sounds good to me. Thanks, Mark! On Jul 7, 2013, at 6:16 PM, Mark Wieder mwie...@ahsoftware.net wrote: I think what's going on is that the exit to top kills all pending messages. And attempting to go from one card to another queues both a closecard and a preopencard message, so the exit in the closecard cleans things up neatly and the preopencard never has a chance. But it's just a guess. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode IDE Appearance on Windows
Thanks, Richmond. Any ideas why he is not experiencing same? On Jul 5, 2013, at 11:41 PM, Richmond richmondmathew...@gmail.com wrote: On 07/06/2013 02:41 AM, Roger Guay wrote: Hi All, I convinced a good friend to try LiveCode. He's a Windows guy and I, a Mac. I am forwarding his question to me about the degraded appearance of Livecode on his screen in contrast with his other installed apps. I have no idea about this . . .Can anyone help? Thanks, Roger Begin forwarded message: Hi Rog, I have a question that doesn’t involve programming with LiveCode, but the display of the LC desktop itself. My computer monitor is a 27 inch flat screen (Dell) set at the highest resolution (1920 x 1080) HDMI. All my installed applications are very sharp and clear. I’ve seen better, but not by a whole bunch. When I open LC, the “desktop” (Menu bar, tool bar, stacks, objects, etc.) are blurry compared to everything else on the screen. I’m guessing that that’s NOT the case on a MAC. I can’t find any place in the LC website support to ask the question: Is there any way to IMPROVE the resolution on my (inferior) PC? I can live fine with it, but it would be nice to sharpen things up a bit. The difference is quite noticeable. Well: I have just played one of those merry Compare and Contrast exercises much beloved by EFL teachers like myself: 1. LC 6.1 Community on UbuntuStudio Linux 13.04 2. LC 6.1 Community on Windows 7 (VMware) 3. LC 6.1 Community onMac OS 10.6.7 (VMware) All on a 1920 x 1080 27 inch display. Precious little difference between them all, and all as clear as each other, and as other applications. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode IDE Appearance on Windows
Thanks very much, Richmond and Trevor. From your reports, it does appear to be a monitor quality issue which I have passed on to my friend. I have to wonder though why his LiveCode seems to be worse than his other apps?? On Jul 6, 2013, at 11:50 AM, Richmond richmondmathew...@gmail.com wrote: On 07/06/2013 08:49 PM, Trevor DeVore wrote: On Sat, Jul 6, 2013 at 1:00 PM, Richmond richmondmathew...@gmail.comwrote: Well: I just ran LC 6.1 Community on Windows 7 (via VMware player 5.02) at both 100% and 150% scaling and, in both cases, Livecode came through loud, clear and crispy sharp so that does not seem to be the problem. Hmm, I had a different experience. I posted pictures of what I see on my laptop (retina) running Windows 8 at 100% and 150%. The text that Windows renders in the title bar looks fine, LiveCode text doesn't. The icons are enlarged as well so look pixelated. http://trevordevore.clarify-it.com/d/wzefeq Possibly the answer lies in the magic words Retina display. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode IDE Appearance on Windows
Ah, sorry I posted too soon. This seems to be what's happening! On Jul 6, 2013, at 12:10 PM, Trevor DeVore li...@mangomultimedia.com wrote: Whenever UI elements are enlarged by the OS the LiveCode icons will look blurred and the text won't be as sharp. LiveCode doesn't support resolution independence yet and so looks blurry when an app is zoomed by the OS. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
LiveCode IDE Appearance on Windows
Hi All, I convinced a good friend to try LiveCode. He's a Windows guy and I, a Mac. I am forwarding his question to me about the degraded appearance of Livecode on his screen in contrast with his other installed apps. I have no idea about this . . .Can anyone help? Thanks, Roger Begin forwarded message: Hi Rog, I have a question that doesn’t involve programming with LiveCode, but the display of the LC desktop itself. My computer monitor is a 27 inch flat screen (Dell) set at the highest resolution (1920 x 1080) HDMI. All my installed applications are very sharp and clear. I’ve seen better, but not by a whole bunch. When I open LC, the “desktop” (Menu bar, tool bar, stacks, objects, etc.) are blurry compared to everything else on the screen. I’m guessing that that’s NOT the case on a MAC. I can’t find any place in the LC website support to ask the question: Is there any way to IMPROVE the resolution on my (inferior) PC? I can live fine with it, but it would be nice to sharpen things up a bit. The difference is quite noticeable. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode IDE Appearance on Windows
Good idea, Andrew. I'll ask my friend to send a screenshot. Thanks for your help! On Jul 5, 2013, at 7:19 PM, Andrew Kluthe and...@ctech.me wrote: Screenshots would help. I use livecode on windows 7 and we have some apps running on windows 8. Things seem great here. Andrew On Fri, Jul 5, 2013 at 6:41 PM, Roger Guay i...@mac.com wrote: Hi All, I convinced a good friend to try LiveCode. He's a Windows guy and I, a Mac. I am forwarding his question to me about the degraded appearance of Livecode on his screen in contrast with his other installed apps. I have no idea about this . . .Can anyone help? Thanks, Roger Begin forwarded message: Hi Rog, I have a question that doesn’t involve programming with LiveCode, but the display of the LC desktop itself. My computer monitor is a 27 inch flat screen (Dell) set at the highest resolution (1920 x 1080) HDMI. All my installed applications are very sharp and clear. I’ve seen better, but not by a whole bunch. When I open LC, the “desktop” (Menu bar, tool bar, stacks, objects, etc.) are blurry compared to everything else on the screen. I’m guessing that that’s NOT the case on a MAC. I can’t find any place in the LC website support to ask the question: Is there any way to IMPROVE the resolution on my (inferior) PC? I can live fine with it, but it would be nice to sharpen things up a bit. The difference is quite noticeable. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Regards, Andrew Kluthe and...@ctech.me ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: randomly position objects on-screen
Hi Chris, I believe this will do it for you: on placeBtnRandom pbtnName put the width of btn pbtnName into bW put the height of btn pbtnName into bH put the width of this stack into sW put the height of this stack into sH put random(sW-bW) into tX put random(sH-bH) into tY set the loc of btn pbtnName to bW/2+ tX, bH/2 - tY end placeBtnRandom Regards, Roger On May 31, 2013, at 10:49 AM, Chris Sheffield cmsheffi...@icloud.com wrote: Okay, I figure someone out there has probably done this before, so I thought I'd ask here before I dive in to the deep end (or go off the deep end, whichever comes first). Given a rectangular area (in this case a graphic object), I need to randomly position three controls (in this case Scott's tmControl buttons (groups)), within that area. It's not a huge area to work with, but the controls are not too big. The conditions are that the controls cannot intersect (overlap) and they have to be completely visible within the given area (not partially off-screen). Any takers? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: randomly position objects on-screen
Ooops again, I forgot to include overlap of buttons exclusion. Just do an intersect check if true then hit on placeBtnRandom command again. put the width of btn pbtnName into bW put the height of btn pbtnName into bH put the width of this stack into sW put the height of this stack into sH put random(sW-bW) into tX put random(sH-bH) into ty set the loc of btn pbtnName to bW/2+ tx, bH/2 + ty end placeBtnRandom On May 31, 2013, at 11:08 AM, Roger Guay i...@mac.com wrote: Ooops that should be + tY in the last line… On May 31, 2013, at 11:06 AM, Roger Guay i...@mac.com wrote: Hi Chris, I believe this will do it for you: on placeBtnRandom pbtnName put the width of btn pbtnName into bW put the height of btn pbtnName into bH put the width of this stack into sW put the height of this stack into sH put random(sW-bW) into tX put random(sH-bH) into tY set the loc of btn pbtnName to bW/2+ tX, bH/2 - tY end placeBtnRandom Regards, Roger On May 31, 2013, at 10:49 AM, Chris Sheffield cmsheffi...@icloud.com wrote: Okay, I figure someone out there has probably done this before, so I thought I'd ask here before I dive in to the deep end (or go off the deep end, whichever comes first). Given a rectangular area (in this case a graphic object), I need to randomly position three controls (in this case Scott's tmControl buttons (groups)), within that area. It's not a huge area to work with, but the controls are not too big. The conditions are that the controls cannot intersect (overlap) and they have to be completely visible within the given area (not partially off-screen). Any takers? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: randomly position objects on-screen
Great, you're one step ahead of me…. On May 31, 2013, at 11:45 AM, Chris Sheffield cmsheffi...@icloud.com wrote: Roger, Thank you. This works well. I had to tweak it a bit to use the bottom of my graphic instead of the height, and that seems to position the controls a little better within my defined area. Then I just added some intersect checking and it seems to be working quite nicely. Thanks again, Chris On May 31, 2013, at 12:06 PM, Roger Guay i...@mac.com wrote: Hi Chris, I believe this will do it for you: on placeBtnRandom pbtnName put the width of btn pbtnName into bW put the height of btn pbtnName into bH put the width of this stack into sW put the height of this stack into sH put random(sW-bW) into tX put random(sH-bH) into tY set the loc of btn pbtnName to bW/2+ tX, bH/2 - tY end placeBtnRandom Regards, Roger On May 31, 2013, at 10:49 AM, Chris Sheffield cmsheffi...@icloud.com wrote: Okay, I figure someone out there has probably done this before, so I thought I'd ask here before I dive in to the deep end (or go off the deep end, whichever comes first). Given a rectangular area (in this case a graphic object), I need to randomly position three controls (in this case Scott's tmControl buttons (groups)), within that area. It's not a huge area to work with, but the controls are not too big. The conditions are that the controls cannot intersect (overlap) and they have to be completely visible within the given area (not partially off-screen). Any takers? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Point in Poly
What's wrong with intersect(grc pointThing, grc polyThing, pixels)? Assuming opaque polygon, of course. Roger On May 29, 2013, at 7:17 AM, Ray Horsley r...@linkit.com wrote: Is there a way to determine if a point is inside of a polygon graphic, and not necessarily inside the graphic's containing rectangle ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Point in Poly
What a cool idea! I also wonder if blending will work? I'm going to go play. Thanks! On May 29, 2013, at 9:27 AM, Dar Scott d...@swcp.com wrote: I wonder if that can be set temporarily inside lock screen and get the right results for polygons that are not opaque. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: scrolling stack I made
Hi Colin, I tried it in the iOS simulator where it opened but remained static. How do you initiate scrolling? Thanks, Roger On May 19, 2013, at 4:04 PM, Colin Holgate co...@verizon.net wrote: Hopefully some of you will try it on iOS and Android, it works well there too. On May 19, 2013, at 10:55 PM, Alejandro Tejada capellan2...@gmail.com wrote: This Scrolling Stack works really nice in Windows, too! :D ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: The current card
How about put the ID of this cd [of stack myStack]? Best, Roger On May 17, 2013, at 9:08 AM, Peter Haworth p...@lcsql.com wrote: I'm probably missing something really obvious but how do you get the id/name of the current open card in a stack? If the stack is the topstack, I'm looking at line 1 of the recentCards, not sure if that is the easiest way to do it or how reliable it is, but how about other open stacks that are not the topstack? Pete lcSQL Software http://www.lcsql.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: The current card
Too long for a poor typist. I called it myStack! On May 17, 2013, at 9:26 AM, Richmond richmondmathew...@gmail.com wrote: On 05/17/2013 07:22 PM, Roger Guay wrote: How about put the ID of this cd [of stack myStack]? Best, Roger put the id of the current card of stack WHATEVERYOUHAVECALLEDYOURSTACK Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: The current card
Well, there's my problem! On May 17, 2013, at 9:43 AM, Richmond richmondmathew...@gmail.com wrote: I thought all 'REAL' Livecode programmers …. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Import Snapshot in iOS
Hi, I've discovered that Import Snapshot does not work in iOS if acceleratedRendering is set to true. Works fine in OS X but not iOS. Any thoughts? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Import Snapshot in iOS
No doubt, you're correct John. But, in my case, acceleratedRendering is the one line of code that results in snapshot not working in iOS. I've tried moving it from openStack to preopenStack to no avail. Can you think of any reason why this might be? Thanks, Roger On May 14, 2013, at 7:41 AM, John Dixon dixo...@hotmail.co.uk wrote: Import snapshot works regardless of the setting of acceleratedRendering ... so, it's not a 'bug' or a 'feature'... it just does what is says on the tin... Subject: Re: Import Snapshot in iOS From: mcgra...@mac.com Date: Tue, 14 May 2013 08:57:11 -0400 To: use-livecode@lists.runrev.com Hadn't tried it with acceleratedRendering true. a-r can be turned off at will so it shouldn't be too much of a problem but if it's a bug and not a 'feature' should let RR know about it. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 14, 2013, at 8:25 AM, Roger Guay i...@mac.com wrote: Hi, I've discovered that Import Snapshot does not work in iOS if acceleratedRendering is set to true. Works fine in OS X but not iOS. Any thoughts? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Import Snapshot in iOS
I just tried it on a stack that Ender provided and again, found that snapshot does not work in iOS if acceleratedRendering is set true on openStack. BTW, I'm using LC 5.5.4. Roger On May 14, 2013, at 9:16 AM, Roger Guay i...@mac.com wrote: No doubt, you're correct John. But, in my case, acceleratedRendering is the one line of code that results in snapshot not working in iOS. I've tried moving it from openStack to preopenStack to no avail. Can you think of any reason why this might be? Thanks, Roger On May 14, 2013, at 7:41 AM, John Dixon dixo...@hotmail.co.uk wrote: Import snapshot works regardless of the setting of acceleratedRendering ... so, it's not a 'bug' or a 'feature'... it just does what is says on the tin... Subject: Re: Import Snapshot in iOS From: mcgra...@mac.com Date: Tue, 14 May 2013 08:57:11 -0400 To: use-livecode@lists.runrev.com Hadn't tried it with acceleratedRendering true. a-r can be turned off at will so it shouldn't be too much of a problem but if it's a bug and not a 'feature' should let RR know about it. -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On May 14, 2013, at 8:25 AM, Roger Guay i...@mac.com wrote: Hi, I've discovered that Import Snapshot does not work in iOS if acceleratedRendering is set to true. Works fine in OS X but not iOS. Any thoughts? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Import Snapshot in iOS
Richard, I presume you were asking anyone on the list. I, for one, do not know! Roger On May 14, 2013, at 9:37 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Ender Nafi wrote: Roger's right. It's an odd thing but setting the a-R to true prohibits importing snapshots. Commenting it out fixes the issue. Not tested in LiveCode 6.0.1, though… That's not mentioned in the Dictionary. Is that a documentation bug, or does it only affect the older method of importing snapshots by rect while still allowing the new method of making snapshots from object references? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Message Box spurious messages
Same here, every time I open the dictionary! On May 14, 2013, at 4:27 PM, Graham Pearson gspear...@gmail.com wrote: I am getting the same type of thing each time I click on Launch Documentation to learn about a command while I am self teaching myself Livecode. It started for me when the RunRev went to Maintenance Mode at the beginning of this week. On 5/14/2013 7:18 PM, Cal Horner wrote: This Message Box message started appearing yesterday for no apparent reason: Message execution error: Error description: Handler: can't find handler Hint: X The following server error was encountered: Where X is the last item I typed into the message box. Then it's followed by approximately three printed pages of HTML! This happened with my copy of LC 5.5.4. In Win 7. Anyone know why this is happening? Or is just another problem that I have to work around? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Import Snapshot in iOS
I am always amazed at the talent on this list! Indeed, I am getting a black image if I set a-R true. OTH, John Dixon's stack works! What's up with that? Roger On May 14, 2013, at 1:13 PM, Mark Wilcox m_p_wil...@yahoo.co.uk wrote: I looked up the iOS snapshot code. It looks to me as if it renders the contents of the window into a bitmap context. I've written my own screen snapshot and video recording code on iOS and this doesn't capture the contents of a view/window drawn directly with OpenGL - for that you need to read back the pixels from the hardware graphics accelerator directly. So if my understanding of accelerated rendering is correct, then this shouldn't work - if LiveCode didn't block you making the call in that mode, you should get back a black image. I'm hoping to find out how to trace my way down from a command to the code that implements it in a workshop on Thursday. Curious to look at this one some more when I understand the code better. Mark From: Roger Guay i...@mac.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tuesday, 14 May 2013, 19:59 Subject: Re: Import Snapshot in iOS Richard, I presume you were asking anyone on the list. I, for one, do not know! Roger On May 14, 2013, at 9:37 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Ender Nafi wrote: Roger's right. It's an odd thing but setting the a-R to true prohibits importing snapshots. Commenting it out fixes the issue. Not tested in LiveCode 6.0.1, though… That's not mentioned in the Dictionary. Is that a documentation bug, or does it only affect the older method of importing snapshots by rect while still allowing the new method of making snapshots from object references? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Import Snapshot in iOS
Very clever, Ender. Thanks! On May 14, 2013, at 5:13 PM, Ender Nafi Elekçioğlu endern...@gmail.com wrote: Yepp :) *import from object* works fine. The problem is *import from rect* notation. @Roger, for now the only solution seems this piece of code: _set the acceleratedRendering of this stack to false _import snapshot from rect tRect _set the acceleratedRendering of this stack to true My sample stack in the forum post works without a glitch with this update. So, the code in that stack does 3 things: * Prohibits the black snapshot {turning off the a-R temporarily} * Prohibits the transparent blank snapshot {excluding the iPhone status bar} * Places the final snapshot into the visible portion of the screen Best, ~ Ender Nafi ~… together, we're smarter …~ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Oval framed photo
On May 11, 2013, at 5:13 AM, David Bovill da...@scimatch.org wrote: Thanks Mike and Roger - seems like it works on OSX at least despite the notes in the docs: To be used as a pattern on Mac OS systems, an image must be 128x128 pixels or less, and both its height and width must be a power of 2, however, in LiveCode version 2.7, this restriction was partially lifted and the engine will tile rectangular regions correctly with arbitrarily sized background patterns.To be used on Windows and Unix systems, height and width must be divisible by 8. To be used as a fully cross-platform pattern, both an image's dimensions should be one of 8, 16, 32, 64, or 128. I didn't read the docs, so I didn't know I couldn't do what I am, in fact, doing. However it works nicely on OSX now. I'm keeping the technique below as it allows me to reposition the image within the oval by dragging it around - but then when I want to keep it I will export the snapshot and then set the backgroundpattern of the graphic. By the way I can't get the new syntax to work: 1. New variants of the import snapshot and export snapshot commands have been added: import snapshot ... at size width, height export snapshot ... at size width, height The script editor does not like the syntax? I just use import snapshot from rect. Seems to work every time for me . In fact, I don't even see this option of at size width, height in the dictionaries of 5.5.4 and 6.0. Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Oval framed photo
Hi David, Seems to me that the ideal solution to you problem is to make the image the backgroundPattern of your oval. Roger On May 10, 2013, at 4:22 AM, David Bovill da...@scimatch.org wrote: OK - seems like this works: - Image at back using ink blendSrcAtop - Graphic in front, black filled oval, with ink blendSrcOver - Group both objects and set the ink of the group to blendSrcOver Or use the following scripts: getprop show_Rounded put the ink of me into someInk if someInk is blendSrcOver then return true else return false end if end show_Rounded setprop show_Rounded someBoolean put the graphic_Object of me into roundedGraphic put the image_Object of me into imageObject set the ink of imageObject to blendSrcAtop if someBoolean is true then set the ink of me to blendSrcOver set the ink of roundedGraphic to blendSrcOver else set the ink of me to srcCopy set the ink of roundedGraphic to srcCopy end if end show_Rounded On 10 May 2013 11:59, David Bovill da...@scimatch.org wrote: Trying to work out the right combination of blends for an image (photo) and a graphic oval to create an oval mask. Ideally this is a group so that I can change the image and not something which depends on an alpha channel. Getting close - but nothing quite right yet. Suggestions? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Best Practice for Storing Icon Images
Is there a best practice or recommendation for storing icon images? Invisible on the same card? Off screen on the same card? Special storage card? Or… Thanks Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Best Practice for Storing Icon Images
Thanks, Jacque and Richard! On May 10, 2013, at 8:55 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 5/10/13 7:47 PM, Roger Guay wrote: Is there a best practice or recommendation for storing icon images? Invisible on the same card? Off screen on the same card? Special storage card? Or… I think it depends on the app or stack you're making. If I only have a few icon images, I usually just hide them on a card. If I have a lot and I want to keep them all in a central location in the same stack, I sometimes use an unplaced group. Substacks are a good option too, since you can always see what's in there without having to fiddle with invisible groups. If navigation isn't an issue and an extra card won't get in the way, I sometimes just put a resources card in the back of the stack somewhere. In my current project we're using a splash stack for the app and it loads a lot of other document stacks. Since all the loose stacks use the same icons, I'm storing them all in the splash. Memory usage will be the same regardless, so it mostly depends on how your stack structure works. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Opaque of MobGUI Created Browser
The Opaque selection on MobGUI for a browser control seems to have no effect. What am I missing, please? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: OT: Kepler's Tally of Planets
Peter et al, I was busy the last 2 days, but just sat down to create a Drake Equation stack and came up with this in 35 minutes: https://www.dropbox.com/s/iukm6lgdz8762r8/DrakeEquation.livecode Now to embellish it. Perhaps you folks have suggestion? I think I will include something like this in the first revision of my SETI Synchronicity Problem iPad app on iTunes. Which BTW, will allow independent selection of both transmit and listen times for electromagnetic emissions. Thanks for the idea! Roger On Apr 19, 2013, at 1:54 PM, Peter Haworth p...@lcsql.com wrote: Look forward to seeing it. I was just reading on Wikipedia that there are proposals to add more variables to the equation. Pete lcSQL Software http://www.lcsql.com On Fri, Apr 19, 2013 at 1:28 PM, Roger Guay i...@mac.com wrote: Should be easy to do. I'll have a go at it if not already done. Roger On Apr 19, 2013, at 12:09 PM, Peter Haworth p...@lcsql.com wrote: Anyone have a stack for the Drake equation? Pete lcSQL Software http://www.lcsql.com On Fri, Apr 19, 2013 at 10:59 AM, Roger Guay i...@mac.com wrote: Thanks for this, Mark. It is indeed beautiful and informative! As you may know, SETI is focusing their attention on Kepler planets. Roger On Apr 19, 2013, at 10:33 AM, Mark Wieder mwie...@ahsoftware.net wrote: Friday goodness: Three new planets could host life, scientists announced. “With all of these discoveries we’re finding, Earth is looking less and less like a special place,” one said. The New York Times has a beautiful interactive graphic of all the new planets. http://www.nytimes.com/interactive/science/space/keplers-tally-of-planets.html?_r=0 -- Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: OT: Kepler's Tally of Planets
Thanks for this, Mark. It is indeed beautiful and informative! As you may know, SETI is focusing their attention on Kepler planets. Roger On Apr 19, 2013, at 10:33 AM, Mark Wieder mwie...@ahsoftware.net wrote: Friday goodness: Three new planets could host life, scientists announced. “With all of these discoveries we’re finding, Earth is looking less and less like a special place,” one said. The New York Times has a beautiful interactive graphic of all the new planets. http://www.nytimes.com/interactive/science/space/keplers-tally-of-planets.html?_r=0 -- Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: OT: Kepler's Tally of Planets
Should be easy to do. I'll have a go at it if not already done. Roger On Apr 19, 2013, at 12:09 PM, Peter Haworth p...@lcsql.com wrote: Anyone have a stack for the Drake equation? Pete lcSQL Software http://www.lcsql.com On Fri, Apr 19, 2013 at 10:59 AM, Roger Guay i...@mac.com wrote: Thanks for this, Mark. It is indeed beautiful and informative! As you may know, SETI is focusing their attention on Kepler planets. Roger On Apr 19, 2013, at 10:33 AM, Mark Wieder mwie...@ahsoftware.net wrote: Friday goodness: Three new planets could host life, scientists announced. “With all of these discoveries we’re finding, Earth is looking less and less like a special place,” one said. The New York Times has a beautiful interactive graphic of all the new planets. http://www.nytimes.com/interactive/science/space/keplers-tally-of-planets.html?_r=0 -- Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: SciTopia: LiveCode in Science
Hi David, I tried to reply to you off list but it bounced. How do you want input? Roger On Apr 18, 2013, at 4:11 AM, David Bovill da...@vaudevillecourt.tv wrote: This is a call out to anyone using LiveCode in a Scientific setting - or in the area of public engagement in Science. I am putting together a bid to create an open archive for scientific games, and simulations in Science. There will be a particular emphasis on mobile, but we will also be working with real science data, and API's. I am making the application to the Wellcome Trust for a 2 year project, at a new Hub to be built in London. The project will start in September 2014. The core team are a great group of architect, game designers, and scientists each with many years experience in biomedical modelling. Prior to LiveCode going open source, we had concentrated on the Unity3D platform, but now the real benefits of openly licensed content, and code, which is a perfect fit for science and the Wellcome remit - makes LiveCode an important aspect of the project. We are looking for partners, advice and expressions of interest - the resource, should we succeed will be open to scientists, companies, not-for-profits and individual with ideas to develop games, mobile apps, simulations, for the benefit of biomedical science and it's appreciation and understanding by the wider public. A bit of a mouthful, but you get the point :) So if anyone is interested, or has any suggestions of any individuals or organisations that may be interested please point them this way. An initial project web site and description of the project aims and focus will be online in a couple of weeks. Thanks in advance, David ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Intersect Opaque Pixels Broken?
Thanks very much, Neil! On Apr 13, 2013, at 2:43 AM, n...@runrev.com wrote: Hi Roger et al. We are aware of this bug and its in our quality control database- http://quality.runrev.com/show_bug.cgi?id=10828 It should be fixed in the next release. Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com Support Open Source LiveCode on Kick-starter http://www.kickstarter.com/projects/1755283828/open-source-edition-of-livecode -- It appears that the intersect function for opaque pixels is broken in LiveCode Community. Can anyone confirm? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Intersect Opaque Pixels Broken?
It appears that the intersect function for opaque pixels is broken in LiveCode Community. Can anyone confirm? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Intersect Opaque Pixels Broken?
Ah but, create a non-opaque oval ring, and a smaller opaque oval, Dot and place the latter inside of the first the intersect(Grc Ring, Grc Dot, opaque pixels) Should return false! On Apr 12, 2013, at 6:59 PM, Mike Bonner bonnm...@gmail.com wrote: Seems to work for me. Tested with 2 buttons, the following script in 1 of them: *on* mouseDown *grab* me *end* mouseDown *on* mouseMove *put* intersect(button 1,button 2, opaque pixels) *end* mouseMove Moving the dragable button to the second button places true into the msg box. Moving it away returns it to false. On Fri, Apr 12, 2013 at 7:44 PM, Roger Guay i...@mac.com wrote: It appears that the intersect function for opaque pixels is broken in LiveCode Community. Can anyone confirm? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Intersect Opaque Pixels Broken?
Bummer!! On Apr 12, 2013, at 7:51 PM, Mike Bonner bonnm...@gmail.com wrote: By golly, yep its broke. On Fri, Apr 12, 2013 at 8:32 PM, Roger Guay i...@mac.com wrote: Ah but, create a non-opaque oval ring, and a smaller opaque oval, Dot and place the latter inside of the first the intersect(Grc Ring, Grc Dot, opaque pixels) Should return false! On Apr 12, 2013, at 6:59 PM, Mike Bonner bonnm...@gmail.com wrote: Seems to work for me. Tested with 2 buttons, the following script in 1 of them: *on* mouseDown *grab* me *end* mouseDown *on* mouseMove *put* intersect(button 1,button 2, opaque pixels) *end* mouseMove Moving the dragable button to the second button places true into the msg box. Moving it away returns it to false. On Fri, Apr 12, 2013 at 7:44 PM, Roger Guay i...@mac.com wrote: It appears that the intersect function for opaque pixels is broken in LiveCode Community. Can anyone confirm? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Version 1.4.0 of lcStackBrowser Released
Very nice, Peter!! On Apr 10, 2013, at 12:45 PM, Peter Haworth p...@lcsql.com wrote: I'm happy to announce the release of version 1.4.0 of lcStackBrowser, a plugin alternative to the Livecode Application and Project Browsers. If you haven't tried lcStackBrowser yet, there's a 30-day, fully functional demo available here http://www.lcsql.com/lcstackbrowser.html. The full release notes for this version are herehttps://docs.google.com/document/d/1gPK6EQ1qXxr_-g9zLkRDa7thmV62jW_5_ylgkpKAOAc/edit?usp=sharing . ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: 1001 things to do with LiveCode
Peter, PLEASE don't forget my SETI Synchronicity Problem iPad app. Sorry to keep bugging you. Thanks, Roger On Apr 6, 2013, at 9:01 PM, Peter W A Wood peterwaw...@gmail.com wrote: This pretty much completes the development phase of 1001 things to do with LiveCode. There are a few more entries to be published, of course more are always welcome. Once I have published the remaining articles, the site will change from a daily new entry site to a reference site with occasional updates. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: BorderColor of an image
Hi Peter, I never noticed that before since I always use the foregroundColor. Weird!! Cheers, Roger On Mar 27, 2013, at 10:12 AM, Peter Haworth p...@lcsql.com wrote: Hi Roger, I did try this but came across another weirdness. I have it working but only by setting the textColor of the graphic, not the borderColor! No matter, it works. Pete lcSQL Software http://www.lcsql.com On Tue, Mar 26, 2013 at 7:27 PM, Roger Guay i...@mac.com wrote: I like it better because you can use rounded rectangles or any other graphic object and you can still use Graphic Effects for other enhancement. It must have been Scott that thought me these things!! Cheers, Roger On Mar 26, 2013, at 7:21 PM, Peter Haworth p...@lcsql.com wrote: Roger, I didn't use your method since it got a little complicated for my circumstance but I'll remember it for future use. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: BorderColor of an image
Ya but Scott, shouldn't borderColor also work? I think Peter's point was that he couldn't use borderColor. Roger On Mar 27, 2013, at 2:58 PM, Scott Rossi sc...@tactilemedia.com wrote: With graphics, foreColor = textColor. But one way you can colorize the stroke of a graphic separately from its textColor is to use a strokeGradient. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/27/13 1:49 PM, Roger Guay i...@mac.com wrote: Hi Peter, I never noticed that before since I always use the foregroundColor. Weird!! Cheers, Roger On Mar 27, 2013, at 10:12 AM, Peter Haworth p...@lcsql.com wrote: Hi Roger, I did try this but came across another weirdness. I have it working but only by setting the textColor of the graphic, not the borderColor! No matter, it works. Pete lcSQL Software http://www.lcsql.com On Tue, Mar 26, 2013 at 7:27 PM, Roger Guay i...@mac.com wrote: I like it better because you can use rounded rectangles or any other graphic object and you can still use Graphic Effects for other enhancement. It must have been Scott that thought me these things!! Cheers, Roger On Mar 26, 2013, at 7:21 PM, Peter Haworth p...@lcsql.com wrote: Roger, I didn't use your method since it got a little complicated for my circumstance but I'll remember it for future use. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: BorderColor of an image
Definitely, a great hint! You've pushed back the frontiers of ignorance again (for me, anyway) with the strokeGradient thing. Cheers, Roger On Mar 27, 2013, at 3:19 PM, Scott Rossi sc...@tactilemedia.com wrote: Just posting a (possibly) helpful hint (I lost track of the original issue). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: BorderColor of an image
Another way, Peter, is to make the image the pattern of a rectangle. I'm sure you know that, but other newcomers might not! Roger On Mar 26, 2013, at 5:23 PM, Mac Bennett m...@mauraoconnell.com wrote: Way down at the bottom of the bordercolor listing in the Dictionary: Tip: To set the color of an image's border, set the borderColor of the card, stack, or group that owns the image. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: BorderColor of an image
I like it better because you can use rounded rectangles or any other graphic object and you can still use Graphic Effects for other enhancement. It must have been Scott that thought me these things!! Cheers, Roger On Mar 26, 2013, at 7:21 PM, Peter Haworth p...@lcsql.com wrote: Roger, I didn't use your method since it got a little complicated for my circumstance but I'll remember it for future use. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[OT] My First iPad App
Hello Folks! I am very pleased and proud to announce that my first iPad app is now available on iTunes. SETIsyncProb was created by me and donated to (and published by) the SETI Institute so that all proceeds would go to them. (This was a long and painful process compared to actually building the app.) Please have a look, download a copy and please give it a great review. It will cost you less than a buck, and you'll be supporting a worthy non-profit scientific institution! https://itunes.apple.com/us/app/seti-sync-problem/id602368776?mt=8 BTW, It is available only as an iPad app because I needed the pixel real estate to accurately scale the simulation. But, for anyone on this list, I'll give you a Mac or Windows (untested) version for free. Just let me know. And, I would love to get your honest feedback via email. Thanks and cheers, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Anyone got any clues on this?
I agree with you, Peter, on the non-intuitive interface of SO. That's my rationalization and I'm sticking to it! But, I think I'm all set now. Thanks to you and others. Cheers, Roger On Mar 9, 2013, at 3:20 PM, Peter Haworth p...@lcsql.com wrote: Navigation around SO is not exactly intuitive in my opinion but I think this is how you can set up a filter. (If you already have one, just click the edit link for it and there's a section at the bottom that deals with getting the email summary). Get to the Questions tab (I think that's where you are when you go directly to www.stackoverflow.com) Scroll down and look for the tag subscriptions link on the right of the page. Click on it and you'll get a page to set up a filter - Section 3 has to do with getting email summaries. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Anyone got any clues on this?
Hi Peter, How do you sign up for daily summaries on SO? I couldn't find a way. Thanks, Roger On Mar 9, 2013, at 10:28 AM, Peter Haworth p...@lcsql.com wrote: I signed up for SO yesterday, created filters for Livecode and SQLite and requested a daily email summary of new activity. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Anyone got any clues on this?
Aw Man . . . why do I have these problems? I still see no way to subscribe! I tried everything suggested so far. On Mar 9, 2013, at 12:18 PM, Peter Haworth p...@lcsql.com wrote: That's it. I can't remember for sure but I think to get the RSS feed, you may have to create a filter. Pete lcSQL Software http://www.lcsql.com On Sat, Mar 9, 2013 at 9:54 AM, Scott Rossi sc...@tactilemedia.com wrote: I believe you go to this page, enter LiveCode in the field, and you will be given the option to subscribe to the tag. http://stackoverflow.com/tags Regards, Scott Rossi Creative Director Tactile Media, UX Design On Mar 9, 2013, at 9:44 AM, Roger Guay i...@mac.com wrote: Hi Peter, How do you sign up for daily summaries on SO? I couldn't find a way. Thanks, Roger On Mar 9, 2013, at 10:28 AM, Peter Haworth p...@lcsql.com wrote: I signed up for SO yesterday, created filters for Livecode and SQLite and requested a daily email summary of new activity. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Anyone got any clues on this?
Never mind, I found the RSS feed link but I find I don't have an RSS reader installed. Back to the drawing board…. On Mar 9, 2013, at 1:25 PM, Roger Guay i...@mac.com wrote: Aw Man . . . why do I have these problems? I still see no way to subscribe! I tried everything suggested so far. On Mar 9, 2013, at 12:18 PM, Peter Haworth p...@lcsql.com wrote: That's it. I can't remember for sure but I think to get the RSS feed, you may have to create a filter. Pete lcSQL Software http://www.lcsql.com On Sat, Mar 9, 2013 at 9:54 AM, Scott Rossi sc...@tactilemedia.com wrote: I believe you go to this page, enter LiveCode in the field, and you will be given the option to subscribe to the tag. http://stackoverflow.com/tags Regards, Scott Rossi Creative Director Tactile Media, UX Design On Mar 9, 2013, at 9:44 AM, Roger Guay i...@mac.com wrote: Hi Peter, How do you sign up for daily summaries on SO? I couldn't find a way. Thanks, Roger On Mar 9, 2013, at 10:28 AM, Peter Haworth p...@lcsql.com wrote: I signed up for SO yesterday, created filters for Livecode and SQLite and requested a daily email summary of new activity. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Anyone got any clues on this?
Ok, Got it . . . Thanks! On Mar 9, 2013, at 1:31 PM, Colin Holgate co...@verizon.net wrote: Like I mentioned, go to a results page (just click on the livecode tag), then over to the right there is a subscribe option, which will take you through associating one of your other accounts, to make the filters then work. On Mar 9, 2013, at 3:28 PM, Roger Guay i...@mac.com wrote: Never mind, I found the RSS feed link but I find I don't have an RSS reader installed. Back to the drawing board…. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: 1001 things to do...
Hear, hear!! On Mar 7, 2013, at 8:09 AM, Tiemo Hollmann TB toolb...@kestner.de wrote: It's really interesting and great to see the variety of skills and creativity of the list members on http://livecode1001.blogspot.de/ But Scotts Rossis UIs are really mind-blowing! Chapeau! Tiemo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Weighted Random Number
Hello Scott, This is exactly the kind of distribution I want. You solved my problem and you managed to make a piece of art in the process. You are so clever!! Thanks and cheers, Roger On Mar 4, 2013, at 2:11 AM, Scott Rossi sc...@tactilemedia.com wrote: I'm still a bit unclear about the result you want, but thinking about it more, I'd guess you want something like a radial orientation of objects centered on the card. I'm pretty sure you'd need a logarithmic function for this, and while I'm not hip to the right way to do it, I cobbled together an option for fun that seems to come close (via your message box): go url http://www.tactilemedia.com/download/random_position.livecode; Pressing the button creates 200 graphics of random shape/size/translucency, and positions them radially near the center of the card. For me, this looks acceptable (and like modern art), but as I said, it may not be the result you're looking for. You can play with the randomCardPosition function to change the results. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/3/13 6:14 PM, Roger Guay i...@mac.com wrote: Thanks, Scott. I'm not sure I follow what you're saying, so let me expand on what I'm trying to do: I want a number (25 to 200) of objects randomly positioned on the stack/window but favoring the center of the stack/window. Would your described method do this for me? Sorry for being slow... Cheers, Roger On Mar 3, 2013, at 7:03 PM, Scott Rossi sc...@tactilemedia.com wrote: There may be a better mathematical method, but I suppose I would start with the loc of the screen and add some small random offsets to the loc. Then at random times when the loc is calculated, I would add some major offsets to the center loc. In this way, the center loc is always favored. Of course, I don't know how you're going about the calcs, so this may not work for your situation. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 3/3/13 5:46 PM, Roger Guay i...@mac.com wrote: I suspect this is easy, but I'm not coming up with anything. Can anyone tell me how to get weighted random numbers in LC? Say I want to position something on the screen randomly but favor the center of the screen. Any ideas? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Weighted Random Number
I want to thank Paul, Peter, Dunbar, Jacques and Scott for helping me with this problem. I now have enough to keep me out of your hair for months!! Thanks and cheers, Roger On Mar 3, 2013, at 7:27 PM, Paul D. DeRocco pdero...@ix.netcom.com wrote: From: Roger Guay Thanks, Scott. I'm not sure I follow what you're saying, so let me expand on what I'm trying to do: I want a number (25 to 200) of objects randomly positioned on the stack/window but favoring the center of the stack/window. Would your described method do this for me? Sorry for being slow... You need to devise a simple mathematical function that translates the range of the basic random number generator into the appropriate range, with a curve that has a greater slope at the extremes than in the middle. First, generate a random number with a reasonably big range, subtract the midpoint of the range to get a bipolar value, and then compute a third-order polynomial. The zeroth-order coefficient should be the middle pixel value of the screen, the second-order coefficient should be zero to make it symmetric, the first-order should be small enough that by itself you'd get a range that covers only a small portion of the screen, then the third-order should be sufficient to cover the full width of the screen. You can fiddle the first- and third-order coefficients to adjust the weighting. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Weighted Random Number
Hi Walt, This works perfectly! I'll add it to the other methods I've received for evaluation. Thanks and cheers, Roger On Mar 4, 2013, at 10:06 AM, Sumner, Walt wsum...@dom.wustl.edu wrote: This seems to work: Make a stack with a button having this script, then click the button. It will bounce around in a normal distribution in H and V coordinates. on mouseUp local tSD,tMean,tPoint,tStartPoint put the loc of me into tStartPoint put the width of this window div 6 comma the height of this window div 6 into tSD put the width of this window div 2 comma the height of this window div 2 into tMean put BoxMullerDist(tMean,tSD) into tPoint set the loc of me to tPoint wait 1 second set the loc of me to tStartPoint end mouseUp function BoxMullerDist pMean,pStdDev local tU,tV,tX,tY put random(100)/100 into tU put random(100)/100 into tV put sqrt(-2*ln(tU))*cos(2*pi*tV) into tX put sqrt(-2*ln(tU))*sin(2*pi*tV) into tY return item 1 of pMean + tX*item 1 of pStdDev comma item 2 of pMean + tY*item 2 of pStdDev end BoxMullerDist You can tweak the range by setting tSD to div 4 to hit the edges more often. You can tweak the center point by shifting the mean, but you will go off the edges sometimes if you shift too far. Ref: http://en.wikipedia.org/wiki/Normal_distribution#Generating_values_from_normal_distribution Walt Sumner ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode