AW: what actually happens when sending a message out of a repeat loop?

2008-06-20 Thread Tiemo Hollmann TB
Hi Richard, oh that's new for me. My loop looks like this: repeat 100 doSomething end repeat on doSomething something end I didn't knew that the calling handler waits for the execution of a message handler. I thought that it would only wait, if you use a function call, like

Re: Splitting up a large text file with 'seek relative'

2008-06-20 Thread Hugh Senior
You are right, but logging still shows a cumulative slowdown as each chunk is 'read', and the computer slows to a crawl. Using 'read from ... for ...' is even slower, however. (The source file is a 1 GIG binary text file) Given tFilepath, write out 1Mb files sequentially numbered... put the

Re: Splitting up a large text file with 'seek relative'

2008-06-20 Thread ron barber
Hi Hugh,Just a thought about the approach rather than the code. What if you did the same thing you are doing but first split the file in half viz read for 500, or whatever. Then deal with each half, possibly even making quarters or eighths. That way you are only dealing with the big file once?

Checking Internet connection on Vista

2008-06-20 Thread Eric Chatonet
Bonjour à tous, On Win, I am used to run the following handler to know if the user is connected to the Internet: function InternetConnected local tAddress - put hostNameToAddress(domain name) into tAddress return tAddress empty end InternetConnected When the user is not

Re: Checking Internet connection on Vista

2008-06-20 Thread Bernard Devlin
Eric, it returns immediately for me on Vista if I put this in the message box: put empty; put hostNameToAddress(www.google.com) into tx; put tx finished regardless of whether there is a network connection. Could it be something else in your code? Or your version of Vista (mine's Home

Re: Icon in Standalone

2008-06-20 Thread Randy Hengst
Hi Scott, Yes, I tried that method as well as command-D to no avail. However, I hadn't thought to check the pList. It won't open -- that suggests corruption. The pLists in all the other standalones I made do open. I'm using the default settings in the rev standalone settings. Any

Re: Checking Internet connection on Vista

2008-06-20 Thread Eric Chatonet
Bonjour Bernard, Thanks for your quick test :-) But may be I was not specific enough: Here I have a Netgear router that allows me to share Internet connection between several hard wired computers. Probably it has something to do with this... On the other hand I use the same Home Premium

Rounding errors when subtracting

2008-06-20 Thread Ian Wood
Help! Rev Studio 2.9.0 on OS X 10.5.2 Intel 'put 51.905719161 - 51.905658591' results in 0.61 instead of 0.607 Is there some global setting I'm missing, or is this a bug (which I can't find on RevQC)? I'm getting the same error if I divide by 1,000,000. :-( Ian

Re: Rounding errors when subtracting

2008-06-20 Thread Mark Smith
Ian, take a look at the 'numberFormat' property in the docs. set the numberformat to 0.# put 51.905719161 - 51.905658591 produces 0.6057 - which is correct, I think. Best, Mark On 20 Jun 2008, at 14:38, Ian Wood wrote: Help! Rev Studio 2.9.0 on OS X 10.5.2 Intel 'put

Re: Rounding errors when subtracting

2008-06-20 Thread Ian Wood
Thanks, that did the trick! Ian On 20 Jun 2008, at 15:18, Mark Smith wrote: Ian, take a look at the 'numberFormat' property in the docs. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe,

Creating objects in scripts

2008-06-20 Thread Mikey
short of using doMenu is there any other way to create objects, e.g. buttons? I don't see anything in the dictionary, but I'm still kind of HC'y when it comes to RR. -- Arnold Schwarzenegger - I have a love interest in every one of my films - a gun.

Re: Creating objects in scripts

2008-06-20 Thread Colin Holgate
On Jun 20, 2008, at 10:35 AM, Mikey wrote: short of using doMenu is there any other way to create objects, e.g. buttons? new button ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: Creating objects in scripts

2008-06-20 Thread Mark Smith
Mikey, look at create in the dictionary. It's also worth having a look at clone, and template ie. the template btn, the template fld, etc. Best, Mark On 20 Jun 2008, at 15:35, Mikey wrote: short of using doMenu is there any other way to create objects, e.g. buttons? I don't see anything

Re: Creating objects in scripts

2008-06-20 Thread Björnke von Gierke
on mouseUp create button i'm alive! clone button i'm alive! set the name of it to I don't wan't to die! delete button I don't wan't to die! put arghl! end mouseUp On 20 Jun 2008, at 16:35, Mikey wrote: short of using doMenu is there any other way to create objects, e.g. buttons? I

Re: Checking Internet connection on Vista

2008-06-20 Thread Bernard Devlin
Happy to help if I can. I have a Netgear router here, but for my test I just switched off the wireless adaptor on my laptop to break the network connection. So, this time I switched off the router. Now I get a 14 second delay before rev times out. When I ran nslookup.exe on Windows in this

Re: Checking Internet connection on Vista

2008-06-20 Thread Eric Chatonet
Your allusion about SocketTimeoutInterval seems to be very well thought :-) The problem is that I (the user) can't accept more than a 200 ms hang and this could be not enough when he is regularly connected. So this fails to address the problem :-( Le 20 juin 08 à 16:44, Bernard Devlin a

Re: Creating objects in scripts

2008-06-20 Thread Mikey
Wow. I looked up create and blew over it the first time. I'm clearly working too hard on this. -- Walt Disney - I love Mickey Mouse more than any woman I have ever known. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit

Re: Splitting up a large text file with 'seek relative'

2008-06-20 Thread Mark Smith
Hugh, I just ran your handler on a 1gig file of random binary data - I didn't see any slowdown - I added a bit of benchmarking code: . open file tFilePath for binary read set the numberformat to --| So file names have leading zeroes put the millisecs into markerTime

Re: Hello... Its good to be back. Is this the place to be or is the forum now it?

2008-06-20 Thread Malte Brill
Welcome back Bob, good to see you again. As you can see from my late post I am only able to skim the lists from time to time. Even though I prefer reading online and prefer forum interfaces to email lists I still think the use list is still it. I would wish to have best of both worlds in

Re: Creating objects in scripts

2008-06-20 Thread Eric Chatonet
Bonjour Mickey, Le 20 juin 08 à 17:14, Mikey a écrit : Walt Disney - I love Mickey Mouse more than any woman I have ever known. What a pity :-) You should come to France... Best regards from Paris, Eric Chatonet. Plugins and

Re: Checking Internet connection on Vista

2008-06-20 Thread Bernard Devlin
I done some further tests, and mostly I'm getting a result with the router disconnected of less than 30ms now. I can't reproduce the case where I got 14 seconds. I had a look at socketTimeoutInterval and it seemed to make no difference at all. Still, if you are getting lengthy delays then it

Re: Icon in Standalone

2008-06-20 Thread Scott Morrow
Hello Randy, You might try copying one of the pLists from your other apps and editing the relative bits and then replacing the one that won't open with the newly edited one. I haven't had any problems with pList corruption, though. Are you using a pList editor to open it with or a text

Re: Checking Internet connection on Vista

2008-06-20 Thread Eric Chatonet
Thanks for testing at your place: it's invaluable :-) Tests I made were with the router connected but the ADSL modem disconnected and I'm afraid it is the delay reason. Le 20 juin 08 à 17:45, Bernard Devlin a écrit : I done some further tests, and mostly I'm getting a result with the

Re: Checking Internet connection on Vista

2008-06-20 Thread Bernard Devlin
Maybe the most reliable time-critical way to check would be to open your own socket on port 80 to something like www.google.com. By setting the SocketTimeoutInterval to a low value you would find out quickly if the timeout occured without a response. I'm thinking that you would not even send a

Re: Help with basic CGI project?

2008-06-20 Thread Sadhunathan Nadesan
Thanks for the useful info, that was great. The author of the bulk of the echo.mt script was Scott Raney, but the bit at the end that adds the shell call wasn't part of the original. Not sure where that came from. .. You are most welcome. The add on lines came from yours truly, :-)

Re: Checking Internet connection on Vista

2008-06-20 Thread Eric Chatonet
Bernard, Of course I can't send a GET request (or a LOAD): the software (I cross my fingers :-) will be used by hundred thousands of persons (I hope more :-)... I'll try what I can get from a simple openSocket but I guess that HostNametoAddress built-in function uses it. That's the

Detect colour beneath an img object

2008-06-20 Thread Barry Barber
Hello all, This question will probably (I hope) be easier for some of you to answer than for me to formulate! I am trying to detect when the colour changes below the loc of an image (png) object lying above another of the same type. The catch is that the top img would see the underlying

[ANN] animationEngine 2.9 available

2008-06-20 Thread Malte Brill
Hi all, I´m very pleased to announce the immediate availability of animationEngine 2.9. For those of you who do not know it yet: animationEngine is a library stack that lets you move stuff, check for collisions, handle geometric calculations and lots more cool things to make your

Re: Detect colour beneath an img object

2008-06-20 Thread Eric Chatonet
Bonjour Barry, Would the mouseColor function make the job: Returns the color of the pixel that the mouse pointer is over. Le 20 juin 08 à 21:25, Barry Barber a écrit : Hello all, This question will probably (I hope) be easier for some of you to answer than for me to formulate! I am trying

Re: [ANN] animationEngine 2.9 available

2008-06-20 Thread Trevor DeVore
On Jun 20, 2008, at 3:48 PM, Malte Brill wrote: http://www.runrev.com/newsletter/june/issue51/newsletter3.php As mentioned in a previous post, this update is free to everyone, who holds a valid animationEngine 2.x license. If you want to update or just try it out, grab your copy here:

Re: [ANN] animationEngine 2.9 available

2008-06-20 Thread Joe Lewis Wilkins
Well, the old poor eyesight did it again. I inadvertently downloaded a new Demo of 2.9 and received an unlock code for it; something I didn't need. Then when I went back and Downloaded the animation-engine trial, I got it, but never received any unlock code for it. So, I thought if I

Re: [ANN] animationEngine 2.9 available

2008-06-20 Thread Malte Brill
Hi Joe, the animationEngine trial works without needing any unlock code. If you just want to try it there is no need to enter any code. Did you mean you downloaded a trial of Revolution 2.9? That one will ask you for an email address and will need an unlock code to run. AnimationEngine is

Re: [ANN] animationEngine 2.9 available

2008-06-20 Thread Joe Lewis Wilkins
Hi Malte, Thanks for the response. No, I've yet to purchase a copy of the animation-engine; just wanted to check it out. What I downloaded asks me for a registration code when I try to open it. This is kind of frustrating, but if there is a special place to download a trial of the

Re: Re: [ANN] animationEngine 2.9 available

2008-06-20 Thread Malte Brill
Hi Joe, sorry for the confusion... This is surely a design faflawult in my interface. :-) Yes, animationengine has a field where you can enter a code to unlock it, however you do not need to enter anything there to try it. Just open the messagebox and type: start using stack

Re: [ANN] animationEngine 2.9 available

2008-06-20 Thread Joe Lewis Wilkins
Thanks a lot Malte. When I wish to purchase a license, since I don't use Credit cards, do you also sell through Lynn Fredricks or how? Also, how much in Southern California? TIA, Joe Wilkins On Jun 20, 2008, at 2:28 PM, Malte Brill wrote: start using stack animationEngine

Re: Icon in Standalone

2008-06-20 Thread Randy Hengst
Hi Scott, The pList wouldn't open with a double-click, but I could open it in a text editor. I've rebuilt the stack step by step without adding sound and the new one displays the icon in the finder. This is a puzzle stack and is the basis of five stacks -- all of them display the same

Re: [ANN] animationEngine 2.9 available

2008-06-20 Thread Joe Lewis Wilkins
Works fine now. But while you're rethinking your UI, have pity on those of us who are visually challenged. The text contrast with the gray cards is really quite difficult to read. And increasing the text size doesn't improve things all that much. Regardless, I'm sure your efforts are being

Re: Icon in Standalone

2008-06-20 Thread Peter Brigham
On Jun 20, 2008, at 11:48 AM, Sarah Reichelt wrote: I also have a standaloneSaved routine that checks for any newly built Mac app and touches it automatically. If anyone wants to see that, I am happy to post it. I'd like to see that routine. At some point hopefully Rev will build this

GUID generator

2008-06-20 Thread Sivakatirswami
I'm building a PicLens Publisher here that will do pretty much what the current PicLens Publisher does from CoolIris, with some additions to their Media RSS format that their app does not do. (see www.piclens.com) One thing I need to emulate is their GUID (Global Unique ID) generator which

Re: GUID generator

2008-06-20 Thread Sarah Reichelt
If these have to be unique, I would base them on the seconds as that is very unlikely to be duplicated, unless you generate them all at once, so produce many per second. Converting the seconds to hex gives 8 characters, so that could be most of the first segment in your ID. Then you could add in

Re: GUID generator

2008-06-20 Thread Alex Shaw
Hi Mark's UUID library is a good reference.. http://www.futility.co.uk/futsoft/revolutionstuff.html regards alex Sivakatirswami wrote: One thing I need to emulate is their GUID (Global Unique ID) generator which outputs unique len(36) random strings like

Re: GUID generator

2008-06-20 Thread Jim Ault
the milliseconds might be a little better. Jim Ault Las Vegas On 6/20/08 9:44 PM, Sarah Reichelt [EMAIL PROTECTED] wrote: If these have to be unique, I would base them on the seconds as that is very unlikely to be duplicated, unless you generate them all at once, so produce many per second.

Re: GUID generator

2008-06-20 Thread Richard Gaskin
Jim Ault wrote: the milliseconds might be a little better. Yes, I generally use a permutation of milliseconds with $user. -- Richard Gaskin Managing Editor, revJournal ___ Rev tips, tutorials and more: http://www.revJournal.com

Re: [TIP] Sorting by ValueList and synchronized sorting

2008-06-20 Thread Ken Ray
It's very handy, but a cognitive hurdle for me at first. I'd never seen anything like it before. Anyone else have a mental hiccup when they first encountered this? Absolutely! Which is why there's couple of tips about this at my site:

Re: [ANN] animationEngine 2.9 available

2008-06-20 Thread -= JB =-
I see in the forum you mention to download your tutorials but the link does not work. Are the tutorials still available and since they are in ebook what is that? -=JB=- On Jun 20, 2008, at 2:51 PM, Joe Lewis Wilkins wrote: Works fine now. But while you're rethinking your UI, have pity on