Western Pennsylvania LiveCodeUser Group

2015-01-31 Thread Marc Siskin
Western Pennsylvania LiveCode User Group is calling its first meeting for 6 pm on Tuesday, February 24, 2015, at Carnegie Mellon University's Modern Language Resource Center, Room 225c Baker Porter Hall. All those in and around Pittsburgh with experiences or an interest in the multi-platform,

Re: dealing with graphics whose size changes

2015-01-31 Thread Scott Rossi
Are the graphics polygons? If yes, you can store the original points of the polygons as custom properties in the graphics, and revert to those before doing any size changes. You may need to account for an offset depending on where the graphic is displayed on the card, but usually locking the

Re: changing layer within a group by script/ speed of start editing

2015-01-31 Thread Dr. Hawkins
On Mon, Jan 26, 2015 at 10:54 AM, Geoff Canyon gcan...@gmail.com wrote: set relayergroupedcontrols to true set the layer of whatever control to whatever layer wow. That did it. I keep trying to read large blocks of the dictionary, but there is still so much to find . . . We're a long way

Re: Set Script Limits in Standalones

2015-01-31 Thread Dr. Hawkins
On Tue, Jan 27, 2015 at 9:39 AM, Ray r...@linkit.com wrote: I didn't know Scott had a doctoral degree and I hope he was never offended that I didn't address him with this title. I have yet to meet a real doctor that gets offended or expects the title to be used outside of a classroom. MDs

dealing with graphics whose size changes

2015-01-31 Thread Dr. Hawkins
I have graphics whose animation will take them to arbitrary sizes from 10 to 200 pixels, with an initial displayed size of 100. If reset their size width, they eventually get jagged. Is there a best method for keeping them to date in shape? The extreme versions would seem to be to have one for

Re: Are you bored this weekend?

2015-01-31 Thread Richmond
On 31/01/15 20:01, Colin Holgate wrote: Can you try to be quicker next time? I, also am refactoring my Devawriter, and spent 3 hours on that between my first posting and second one. Richmond. ___ use-livecode mailing list

Re: Are you bored this weekend?

2015-01-31 Thread Colin Holgate
It was a compliment, disguised as sarcasm. On Jan 31, 2015, at 1:28 PM, Richmond richmondmathew...@gmail.com wrote: On 31/01/15 20:01, Colin Holgate wrote: Can you try to be quicker next time? Is that sarcastic or real? ___ use-livecode

Re: Are you bored this weekend?

2015-01-31 Thread Richmond
Of course, if I had spent a bit more time I would have made sure the hexagons rotated in the same direction the arrows pointed :P i.e. clockwise, rather than anti-clockwise. I had forgotten that SET THE ANGLE worked anti-clockwise (which does seem a bit counter-intuitive)! Richmond.

Re: Are you bored this weekend?

2015-01-31 Thread Colin Holgate
There are some things wrong with the original that you don’t have to exactly mimic. The only rotating clockwise is one example. With two arrows (but not as close as your ones are) you would allow users to rotate either way, getting to the desired rotation in half the time on average. It’s not

Re: Are you bored this weekend?

2015-01-31 Thread Richmond
On 31/01/15 20:46, Colin Holgate wrote: There are some things wrong with the original that you don’t have to exactly mimic. The only rotating clockwise is one example. With two arrows (but not as close as your ones are) you would allow users to rotate either way, getting to the desired

Re: Are you bored this weekend?

2015-01-31 Thread Richmond
On 31/01/15 14:43, Richmond wrote: I am going to try to copy this: http://turtlediary.us3.list-manage1.com/track/click?u=45a6d3a2aaeaa1091df463735id=40968b27c5e=c88722d2ca in Livecode . . . Richmond. Dunnit: http://forums.livecode.com/viewtopic.php?f=22t=22971p=118612#p118612

Re: Are you bored this weekend?

2015-01-31 Thread Richmond
On 31/01/15 20:01, Colin Holgate wrote: Can you try to be quicker next time? Is that sarcastic or real? BTW, line 22 (in HEX2) is like this: set the loc of group gHEX21 to the loc of img “TARGET6 it should be: set the loc of group gHEX2 to the loc of img “TARGET6 Thanks for the

Re: Are you bored this weekend?

2015-01-31 Thread Richmond
On 31/01/15 20:32, Colin Holgate wrote: It was a compliment, disguised as sarcasm. On Jan 31, 2015, at 1:28 PM, Richmond richmondmathew...@gmail.com wrote: On 31/01/15 20:01, Colin Holgate wrote: Can you try to be quicker next time? Is that sarcastic or real? The whole thing took me

Re: 6.7 vs 7.0 performance [was: Re: Tio does not work ]

2015-01-31 Thread Ethan Lish
Phil I have the script on a couple of sandbox servers. No performance problem. Email me off list if you want details.  Ethan at Lish.net E Sent from Outlook on my iPhone On Fri, Jan 30, 2015 at 6:03 PM -0800, Richard Gaskin ambassa...@fourthworld.com wrote: Can RunRev set up both

Re: Are you bored this weekend?

2015-01-31 Thread Colin Holgate
Can you try to be quicker next time? BTW, line 22 (in HEX2) is like this: set the loc of group gHEX21 to the loc of img “TARGET6 it should be: set the loc of group gHEX2 to the loc of img “TARGET6 On Jan 31, 2015, at 12:41 PM, Richmond richmondmathew...@gmail.com wrote: On 31/01/15

Re: Are you bored this weekend?

2015-01-31 Thread Richmond
I must say, I wonder about this: http://en.wikipedia.org/wiki/Pentomino really rather fun! I suppose I should throw down the gauntlet to challenge anybody to produce a Livecode Pentomino puzzle: the only real problem being that I very much doubt I can manage that myself. Richmond.

Livecode Precision or me?

2015-01-31 Thread Michael Doub
I am trying to covert the javascript that computes distance based on longitude and latitude from this page: http://andrew.hedges.name/experiments/haversine/. The sites javascript is returning 0.341 miles and 0.549 km Livecode is returning 0.097 miles and 0.157 I have been staring at this for

Re: ISO 8601 date to seconds

2015-01-31 Thread Brahmanathaswami
FYI: those interested in this date/time enhancement can add their thoughts here: http://quality.runrev.com/show_bug.cgi?id=4636 Bob Sneidar wrote: Sorry about the extra lines in the last post. Not sure what caused that. Here is the formatDate() function as well. Bob S function formatDate

Overlap detection?

2015-01-31 Thread Richmond
http://forums.livecode.com/viewtopic.php?f=22t=22974 Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Overlap detection?

2015-01-31 Thread Richmond
On 31/01/15 22:24, Richmond wrote: http://forums.livecode.com/viewtopic.php?f=22t=22974 Richmond. intersect? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Livecode Precision or me?

2015-01-31 Thread Michael Doub
Of coarse it was me. And as you would expect, I found it right after sending the mail to the list. put lon2 - lon2 into dlon should be put lon2 - lon1 into dlon Sorry for the junk mail. -= Mike On 1/31/15 3:33 PM, Michael Doub wrote: I am trying to covert the javascript that computes

Re: ISO 8601 date to seconds

2015-01-31 Thread Peter Haworth
On Sat, Jan 31, 2015 at 11:41 AM, Brahmanathaswami bra...@hindu.org wrote: FYI: those interested in this date/time enhancement can add their thoughts here: http://quality.runrev.com/show_bug.cgi?id=4636 Just added one minor note. The separator between date and time can be the letter T as

Where did the handlers for my menukeys go???

2015-01-31 Thread Dr. Hawkins
Sometime, over two years ago, I set up some key accelerators for a card (or maybe the substack). They still work--and I can't find them. I assume that I used the menubuilder. These drivers send a mouseup to an associated button Can anyone tell me where to hunt for them? -- Dr. Richard E.

Rotating non-square images

2015-01-31 Thread Richmond
I must say I wonder why Livecode still mucks up non-square images: http://forums.livecode.com/viewtopic.php?f=22t=22974p=118632#p118632 Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: Invisible character treated as word?

2015-01-31 Thread J. Landman Gay
On 1/30/2015 11:01 PM, Thierry Douez wrote: if looking at regular expressions it's like a goat staring at a new fence, Wonderful imagery. :) I knew you'd show up to solve the regex problem, I didn't even have to say your name. I suppose when your wife wants you to come to dinner, she only

Re: 6.7 vs 7.0 performance [was: Re: Tio does not work ]

2015-01-31 Thread Phil Davis
Thanks Ethan. Actually I just opened a GatorHost shared hosting account and will set up a test there. It will be roughly equivalent to my Dreamhost setup, running Apache in a Linux environment. It may be educational for us all. Thanks - Phil On 1/31/15 10:01 AM, Ethan Lish wrote: Phil I

Re: 6.7 vs 7.0 performance [was: Re: Tio does not work ]

2015-01-31 Thread Ethan Lish
Cool If you are looking for a new LiveCode host you might want to checkout hostmhttp://www.hostm.com/. They run a shared v6 community edition  Also No Support Linux allows you to install your own cgi-bin instance of LiveCode at a $1/month. https://www.nosupportlinuxhosting.com We use both of

Re: 6.7 vs 7.0 performance [was: Re: Tio does not work ]

2015-01-31 Thread Phil Davis
GatorHost, HostGator, ... I bet someone out there knew what I meant. Phil On 1/31/15 1:04 PM, Phil Davis wrote: Thanks Ethan. Actually I just opened a GatorHost shared hosting account -- Phil Davis ___ use-livecode mailing list

Re: Set Script Limits in Standalones

2015-01-31 Thread Dr. Hawkins
On Sat, Jan 31, 2015 at 2:52 PM, Peter M. Brigham pmb...@gmail.com wrote: Sorry, but as an MD I have to protest this. I may not have contributed to knowledge in the sense of having published original research, but i'm confident that I have contributed to the well-being of thousands of

Re: Overlap detection?

2015-01-31 Thread Geoff Canyon
Not sure what's up with the rotation issues, but potentially you could use a square .png with transparency? The alternative, which would also solve your intersect question, would be to use a group of five square graphics. That way your intersect could either use the built-in function on each of

Re: dealing with graphics whose size changes

2015-01-31 Thread Dr. Hawkins
On Sat, Jan 31, 2015 at 7:31 AM, Scott Rossi sc...@tactilemedia.com wrote: Are the graphics polygons? If yes, you can store the original points of the polygons as custom properties in the graphics, and revert to those before doing any size changes. You may need to account for an offset

Re: 6.7 vs 7.0 performance

2015-01-31 Thread Peter TB Brett
On 2015-01-31 23:52, Dr. Hawkins wrote: Livecode 7 and Performance should not be used in the same sentence . . . I'm sorry to hear that you've been experiencing performance issues with LiveCode 7. As you may be aware, I have been looking into this recently. I have asked the user

Re: 6.7 vs 7.0 performance [was: Re: Tio does not work ]

2015-01-31 Thread Dr. Hawkins
Livecode 7 and Performance should not be used in the same sentence . . . :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Set Script Limits in Standalones

2015-01-31 Thread Peter M. Brigham
On Jan 31, 2015, at 9:59 AM, Dr. Hawkins wrote: MDs are another story, but most aren't real doctors, not having contributed to knowledge . . Sorry, but as an MD I have to protest this. I may not have contributed to knowledge in the sense of having published original research, but i'm

Re: Where did the handlers for my menukeys go???

2015-01-31 Thread dunbarx
Richard. Do you use the Find and Replace... tool? If you search for menuPick (just a thought) you will likely find the handlers for the buttons in your menu group. Or you can edit the scripts of any and all groups, one of which will be your menu button group. Just a thought. Craig

Are you bored this weekend?

2015-01-31 Thread Richmond
I am going to try to copy this: http://turtlediary.us3.list-manage1.com/track/click?u=45a6d3a2aaeaa1091df463735id=40968b27c5e=c88722d2ca in Livecode . . . Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to