Re: on returnInField - Next fld - Up - Down

2014-02-17 Thread Jim sims
Thanks - was hoping for next, done, but also a back or previous. Will see if settling for next done satisfies. Thanks. sims On Sunday, February 16, 2014, J. Landman Gay jac...@hyperactivesw.com wrote: On 2/15/14, 10:16 AM, Jim sims wrote: Am setting up a lot of iOS flds so the user can hit

3D Raycasting in LiveCode?

2014-02-17 Thread LiveCode Feeds
Hi, I have been experimenting with raycasting algorithms in LiveCode. (To see if it can be done at a reasonable frame rate, and to learn about raycasting at the same time.) There is now a demo that works, sort of. It's called Spider Hunt and you can find it here.

Re: udid

2014-02-17 Thread Michael Gruenthal
It works fine in iOS7, but yes- it will change if all of your apps are uninstalled. If you¹ll be supervising devices via Configurator I think there's a way to prevent that, but I haven¹t played with it much. On 2/16/14, 11:19 PM, Mike Kerner mikeker...@roadrunner.com wrote: Changes if the app is

revBrowser and modal stack

2014-02-17 Thread jbv
Hi list, I am using revBrowser in a pop-up stack. When I use open stack mystack, revBrowserOpen works fine and displays the requested webpage. When I use modal stack mystack, revBrowserOpen doesn't seem to work, as nothing displays. In both cases an integer is returned by revBrowserOpen, which

Re: revBrowser and modal stack

2014-02-17 Thread Mark Schonewille
Hi Jbv, One possibility is that the external works but that the page doesn't load because the modal dialog is blocking. Not very likely to be the case, though. Another possibility is that the modal dialog disaplays on top of the browser window. The browser isn't a real control but a window

Re: revBrowser and modal stack

2014-02-17 Thread jbv
Another possibility is that the modal dialog disaplays on top of the browser window. The browser isn't a real control but a window drawn on top of the stack window. Modal dialogs are drawn in a layer in front of all other windows of an app, possibly including the browser windows. That means

Re: revBrowser and modal stack

2014-02-17 Thread Mark Schonewille
Hi jbv, I don't think so, as the browser window might be rendered incorrectly on top of a window that doesn't have a layer in front of itself anymore and because the browser window is supposed to move with its parent window. Probably the latter makes more sense than the former. -- Kind

Re: 3D Raycasting in LiveCode?

2014-02-17 Thread Rick Harrison
Hi Scott, This looks like an interesting project you put together. Just a note about your visible corner problem. That has always been a problem in these games. Something in the math I think as z approaches infinity? The way most games solved this problem was to use curved corner wall

Re: 3D Raycasting in LiveCode?

2014-02-17 Thread Colin Holgate
The game works well, at 20 fps. Would it be possible to make the A and D keys do strafing instead of turning? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Crowd Funding Enhancements

2014-02-17 Thread Bob Sneidar
GLX2 used to do this if I recall, and so did Remo. I wonder if the code is still there somewhere? Bob On Feb 16, 2014, at 13:38 , Richmond richmondmathew...@gmail.com wrote: On 16/02/14 23:17, Peter Haworth wrote: I'd vote for that one. And while we're talking Script editor changes, how

Re: revBrowser and modal stack

2014-02-17 Thread Bob Sneidar
It’s been my experience that the revBrowser paints on top of everything. I don’t believe I’ve tried with Modal windows AFTER I activated a browser, but if it is as unwieldy as I remember it being, revBrowser will trump ALL attempts to put something in front of it that is running in the same

Re: revBrowser and modal stack

2014-02-17 Thread jbv
Bob, Thanks for the advice. But since what I'm trying to do is just a nice add-on to a client's app (the client didn't ask for it), I don't want to spend too much time on this... To make things clear, what I am trying to do is to use revBrowser inside a modal stack. IOW revBrowser is activated

Re: 3D Raycasting in LiveCode?

2014-02-17 Thread John Craig
Brilliant demo, Scott - runs very nicely on a 2010 MBP :D On 17/02/2014 13:27, LiveCode Feeds wrote: Hi, I have been experimenting with raycasting algorithms in LiveCode. (To see if it can be done at a reasonable frame rate, and to learn about raycasting at the same time.) There is now a

rIDE

2014-02-17 Thread Benjamin Beaumont
Dear list members, I wanted to email to make you aware of a the rIDE open-source project. The project lead or proposer is Mats Wilstand, a regular contributor here. Many of you will know him from our RunRevLive conferences too. The project, rIDE, will be familiar to many of you. It is an

Re: 3D Raycasting in LiveCode?

2014-02-17 Thread Benjamin Beaumont
Scott, this is brilliant. Well done! Quite a few team members came over to look at the demo running on my system and tipped their hats to you. If you'd like us to do a little performance profiling on the engine we'd be happy to take a look at that for you if you send through the source. We may be

Re: rIDE

2014-02-17 Thread Mike Kerner
So...why not integrate it with the main project? On Mon, Feb 17, 2014 at 12:49 PM, Benjamin Beaumont b...@runrev.com wrote: Dear list members, I wanted to email to make you aware of a the rIDE open-source project. The project lead or proposer is Mats Wilstand, a regular contributor here.

Re: [ANN] MobGUI V1.22 and SVG icon files

2014-02-17 Thread John Craig
After testing on a few different devices, the carousel has been updated to be more responsive. V1.24 seems much more useable - tested on iPhone4, iPad3 and low res android tablet so far. If anyone else has feedback, feel free to mail, etc. TIA! On 13/02/2014 21:26, John Craig wrote: I've

Image Processing Makes Livecode Appear to Crash

2014-02-17 Thread Ray
Fellow LC Users, I'm trying to provide users with a 'magic wand' style tool. Click an image, pick up the color clicked and turn every pixel of that same color in the image transparent. The loop I've written takes about 30 seconds to run on a 600 by 700 pixel image, which is a problem, but

Re: rIDE

2014-02-17 Thread Colin Holgate
Could you check whether rIDE is using any reserved keywords? scaleFactor, for example. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: rIDE

2014-02-17 Thread Malte Brill
Hey Colin, scaleFactor is my fault. rIDE carries animationEngine with it for demo purposes. A fixed version of animationEngine will be uploaded tonight. Cheers, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Getting UTF8 data from Oracle, using revdb

2014-02-17 Thread Ben Rubinstein
Bonjour Pierre, Thank you for your response. Unfortunately, alas, it appears that Oracle doesn't work the same way as PostgreSQL in this respect. Although, surprisingly (to me) it accepts an instruction such as SET client_encoding TO 'LATIN9' with the result ORA0:

Re: Image Processing Makes Livecode Appear to Crash

2014-02-17 Thread Paul Dupuis
Ray, Is this behavior (title bar saying not responding, etc.) happening under Windows 8 perchance? If so, we've seen the same or similar behavior under Windows 8 in long repeat loops. We've found that including a wait for 1 millisecond with messages line in the loop and this mostly lets Windows

Getting rid of Unicode characters

2014-02-17 Thread Magicgate Software - Skip Kimpel
Is there a way to scan a field for extra characters or non-English characters? I am trying to create a verification process for some imported text and get rid of these characters in one swoop. Any guidance here would be greatly appreciated as always! Thanks again, SKIP

Re: Image Processing Makes Livecode Appear to Crash

2014-02-17 Thread Ray
That works great! And a little experimenting shows that waiting 0 milliseconds accomplishes the same goal without significantly slowing down an already slow handler. Not to sound greedy but you wouldn't also have any idea how to speed up this loop would you? Thanks, Ray On 2/17/2014 2:57

Re: Most Effecient way to repeat a handler/function - Found word(s) list error in the Text body

2014-02-17 Thread Peter M. Brigham
On Feb 16, 2014, at 10:23 PM, Geoff Canyon wrote: On Sun, Feb 16, 2014 at 2:52 PM, Bob Sneidar bobsnei...@iotecdigital.comwrote: Funny, just before I read your post I was thinking, I wonder if this scales linearly or logarithmically? GET OUT OF MY HEAD!!! ;-) It's pretty much my

Re: Getting rid of Unicode characters

2014-02-17 Thread Richmond
On 17/02/14 22:15, Magicgate Software - Skip Kimpel wrote: Is there a way to scan a field for extra characters or non-English characters? I am trying to create a verification process for some imported text and get rid of these characters in one swoop. Any guidance here would be greatly

Re: Getting rid of Unicode characters

2014-02-17 Thread Magicgate Software - Skip Kimpel
Thank you! This should give me something to go on. On Mon, Feb 17, 2014 at 3:51 PM, Richmond richmondmathew...@gmail.comwrote: On 17/02/14 22:15, Magicgate Software - Skip Kimpel wrote: Is there a way to scan a field for extra characters or non-English characters? I am trying to create a

Re: Getting rid of Unicode characters

2014-02-17 Thread Richmond
On 17/02/14 23:20, Magicgate Software - Skip Kimpel wrote: Thank you! This should give me something to go on. Something much better I just whipped up here: http://forums.runrev.com/viewtopic.php?f=5t=19188 Sorry, off to have a bath. Richmond.

Re: Getting rid of Unicode characters

2014-02-17 Thread Peter M. Brigham
On Feb 17, 2014, at 4:30 PM, Richmond wrote: Sorry, off to have a bath. TMI, Richmond. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Image Processing Makes Livecode Appear to Crash

2014-02-17 Thread Alex Tweedly
On 17/02/2014 20:16, Ray wrote: That works great! And a little experimenting shows that waiting 0 milliseconds accomplishes the same goal without significantly slowing down an already slow handler. Not to sound greedy but you wouldn't also have any idea how to speed up this loop would you?

Re: Image Processing Makes Livecode Appear to Crash

2014-02-17 Thread Paul Dupuis
No ideas on speeding it up. The only thought looking at the code is you may want to replace 'char' with 'byte' ( and numToChar with numToByte) since you are really dealing with bytes rather than characters and in future LiveCode versions, char may not always correspond to a single byte. I might

Re: Image Processing Makes Livecode Appear to Crash

2014-02-17 Thread Ray
Paul, Many thanks for your help here. I'll experiment with this tonight and let you know how it goes. Ray On 2/17/2014 4:41 PM, Paul Dupuis wrote: No ideas on speeding it up. The only thought looking at the code is you may want to replace 'char' with 'byte' ( and numToChar with numToByte)

Re: Most Effecient way to repeat a handler/function - Found word(s) list error in the Text body

2014-02-17 Thread Peter Haworth
Have to admit I'm the same. If it's more convenient codingwise to to repeat with x=1 to whatever and I know for sure there won;t be many iterations to go through, the speed difference is unnoticeable to the user. I'm also curious about another aspect of this. Is it universally true that repeat

Re: Image Processing Makes Livecode Appear to Crash

2014-02-17 Thread Ray
OK - that trimmed about 35 seconds off a 40 second loop with the image I was using. Many thanks! I think the deleting of characters was slowing it down. On 2/17/2014 4:41 PM, Paul Dupuis wrote: No ideas on speeding it up. The only thought looking at the code is you may want to replace

Re: Most Effecient way to repeat a handler/function - Found word(s) list error in the Text body

2014-02-17 Thread Peter M. Brigham
Time test: on testRepeat put xxx into line 10 of tList replace cr with xxx cr in tList put the long seconds into timerStart repeat with n = 1 to 10 put line n of tList cr after newList1 end repeat put the long seconds into timerEnd put timerEnd - timerStart

[ANN] animationEngine 5.1

2014-02-17 Thread Malte Brill
Hi all, I am pleased to announce the immediate availability of animationEngine 5.1 http://www.derbrill.de/animationEngine/animationEngine5.1.zip This is a free maintenance release that fixes problems running AE in liveCode 6.6. On top of that we have the first user contribution by Geoff Canyon

Re: Most Effecient way to repeat a handler/function - Found word(s) list error in the Text body

2014-02-17 Thread Alex Tweedly
On 17/02/2014 21:50, Peter Haworth wrote: Have to admit I'm the same. If it's more convenient codingwise to to repeat with x=1 to whatever and I know for sure there won;t be many iterations to go through, the speed difference is unnoticeable to the user. I'm also curious about another aspect

Page Turner

2014-02-17 Thread Jim Lambert
If anyone needs a simple visual effect of a page turning, I’ve uploaded an example to revOnline. Page Turner http://livecodeshare.runrev.com/stack/760/Page-Turner The handler is just 40 lines long, so it’s not much of a…well…page turner. ;) Jim Lambert

How to find the application path?

2014-02-17 Thread Chipp Walters
I believe a few years ago I found an undocumented rev function which returned the application path from a stack not part of the standalone. Does anyone remember the function call? (It's not filename, that only returns the path to the stack-- I'm looking for the app path. Thanks. Chipp Walters

Re: Image Processing Makes Livecode Appear to Crash

2014-02-17 Thread Phil Davis
Ray, Not sure, but it might make a difference if you update the cursor only every 10th or 20th time through the loop. Like so: put 0 into x repeat add 1 to x if x mod 10 = 0 then set cursor to busy end repeat Best - Phil Davis On 2/17/14, 2:15 PM, Ray wrote: OK - that

Re: Image Processing Makes Livecode Appear to Crash

2014-02-17 Thread Ray
Ah Haa!! You've shaved another 3 and a half seconds off what started out as 40 seconds, got cut down to 5, and is now just 1.5 seconds. Very good! Phil - many thanks for your help on this. I'll probably use these ideas on many handlers to come. Ray On 2/17/2014 7:06 PM, Phil Davis wrote:

Re: Best Practice for Library Stacks - Found word(s) list error in the Text body

2014-02-17 Thread Bob Sneidar
Not the way you are doing it. Only the STACK script is in the message path. Not every script of every object IN the stack! That being said, you could certainly insert the script of every card of the library stack, but that might be messy. An alternative might be to put all the handlers in the

Re: Image Processing Makes Livecode Appear to Crash

2014-02-17 Thread Phil Davis
You may have done this already, but experiment with other cursor update intervals - like every 50th or 100th time. You may be shocked! Phil On 2/17/14, 4:21 PM, Ray wrote: Ah Haa!! You've shaved another 3 and a half seconds off what started out as 40 seconds, got cut down to 5, and is now

Re: Problems with delete stack - Found word(s) list error remove list in the Text body

2014-02-17 Thread Bob Sneidar
Okay that makes sense. The debugger has the script open and therefore the delete stack command does not succeed, and the statements that come after that go ahead and execute. It’s the Delete Stack command that, when successful seems to be FORCING the scrip to terminate. Bob On Feb 13, 2014,

Re: Image Processing Makes Livecode Appear to Crash

2014-02-17 Thread Alex Tweedly
Or make it time-based rather than number-of-times-through-a-loop put the millisecs into t1 repeat if the millisecs-t1 somenumberofmillisecs then set the cursor to busy put the millisecs into t1 end if . do something useful end repeat -- Alex. On

Re: 3D Raycasting in LiveCode?

2014-02-17 Thread Jim Lambert
Scott, Buggy in the best way! Jim Lambert ___ 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: Image Processing Makes Livecode Appear to Crash

2014-02-17 Thread Ray
Alex, thanks for jumping in here. I'll try that, but in the meantime I must say that of all the posts I've ever made this is one of the most gratifying. I just tried Phil's suggestion of increasing the X-mod to 100 and, just as Phil predicted, I was shocked at the results. Don't know why I

Re: Best Practice for Library Stacks

2014-02-17 Thread enderNafi
Bob Sneidar-2 wrote Now, I’m sure it’s just an example, and you aren’t really using a one line function called calcSum. Are you?? :-) Bob :)) No, Bob, of course not :) It's 5062 lines of code. Following many advices in this thread; I've rearranged my code to benefit from backscripts. It's very

Re: Problems with delete stack - Found word(s) list error remove list in the Text body

2014-02-17 Thread Peter Haworth
The script is not in the stack being deleted. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Mon, Feb 17, 2014 at 4:28 PM, Bob Sneidar bobsnei...@iotecdigital.comwrote: Okay that

[OT] Potentially Hazardous Asteroid Passing by the Earth

2014-02-17 Thread Ender Nafi Elekcioglu
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, ~

Re: Best Practice for Library Stacks - Found word(s) check out in the Text body

2014-02-17 Thread Bob Sneidar
What you are calling Scripts are actually Handlers. A Script is the entire chunk of code, containing 0 or more commands and/or functions, which belongs to an object. A handler is everything between and including an on/command/function statement and it’s corresponding end statement. In the

Re: Most Effecient way to repeat a handler/function - Found word(s) list error in the Text body

2014-02-17 Thread Dr. Hawkins
On Sun, Feb 16, 2014 at 7:23 PM, Geoff Canyon gcan...@gmail.com wrote: It's pretty much my personal quest to convince everyone never to use repeat with i = 1 to the number of anything. I'm frequently using put 0 into i repeat for each word theWord in someString add 1 to i end repeat as I

Re: [OT] Potentially Hazardous Asteroid Passing by the Earth

2014-02-17 Thread Roger Guay
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:

Re: Dollar Sign Variables

2014-02-17 Thread Dr. Hawkins
On Thu, Feb 13, 2014 at 3:51 AM, Björnke von Gierke b...@mac.com wrote: I graciously insert put commands when something isn't working as expected, then fix the problem and remove the puts again. graciously? :) I have a ck command for tossing checkpoints. It both put's its argument and

Re: Dollar Sign Variables

2014-02-17 Thread Mark Smith
J. Landman Gay wrote One thing I do all the time is to step through a new handler to see what it is doing. When I can see the values of the variables, I know what to expect. Usually I can tell when the next executable line will error and to avoid having to dismiss an error dialog and start

Re: Most Effecient way to repeat a handler/function - Found word(s) list error in the Text body

2014-02-17 Thread Geoff Canyon
On Mon, Feb 17, 2014 at 3:39 PM, Peter M. Brigham pmb...@gmail.com wrote: Well, I still do [repeat with i = 1 to the number of] for i 1000 or so, and the speed hit is perfectly acceptable for that. The advantage for me is when I must use the number of the iteration I'm in to do something.

Re: Image Processing Makes Livecode Appear to Crash

2014-02-17 Thread Geoff Canyon
On Mon, Feb 17, 2014 at 7:06 PM, Phil Davis rev...@pdslabs.net wrote: Not sure, but it might make a difference if you update the cursor only every 10th or 20th time through the loop. Like so: I read through the first responses in this thread and with each one, in my head I was saying louder

Re: 3D Raycasting in LiveCode?

2014-02-17 Thread LiveCode Feeds
Rick - thanks for the tip about pointy corners, I will look into this. Colin - I don't have the collision detection working for sideways motion yet, but you are right A and D should be for strafing. Ben - thanks, I will contact you off list about this. Cheers, P.S. I have gotten a little

Re: Image Processing Makes Livecode Appear to Crash

2014-02-17 Thread Phil Davis
Almost as good as Alka-Seltzer! http://www.youtube.com/watch?v=qTT1TSdWjkQ ) Phil On 2/17/14, 9:07 PM, Geoff Canyon wrote: On Mon, Feb 17, 2014 at 7:06 PM, Phil Davis rev...@pdslabs.net wrote: Not sure, but it might make a difference if you update the cursor only every 10th or 20th time