Re: Speed optimisation

2005-10-06 Thread Kay C Lan
On 10/5/05, Alex Tweedly [EMAIL PROTECTED] wrote: Amazing how much it helps to be slow in replying, you get to use the best ideas from all previous entries :-) It's one less statement than Sarah's (though more characters) so it competes for shortest. On my machine (for 150,000), Dick's

Re: Stack Switching Question again

2005-10-06 Thread Jerry J
From: Robert Brenstein [EMAIL PROTECTED] Subject: Re: Stack Switching Question again You can even execute scripts remotely using either send or call Wow !!! That puts a whole new spin on start using, doesn't it! -- Jerry Jensen ___ use-revolution

Re: Speed optimisation

2005-10-06 Thread Dick Kriesel
On 10/5/05 11:16 PM, Kay C Lan [EMAIL PROTECTED] wrote: set the twelveHourTime to false --possibly set in openStack handler function addTime pTime,pSeconds --set the twelveHourTime to false (if not set elsewhere in stack) set the itemDelimiter to . convert item 1 of pTime to seconds

Re: Determine active OS langguage

2005-10-06 Thread graham samuel
Hi Trevor I just tried your test (directly from your Rev user area) on my French XP machine and it still returned 'en'. I then had a look at it and found that the line replaceText(shell(defaults... resulted in a long text in French being put into tUserLangs. This reads (including the

Re: IDE Strangeness

2005-10-06 Thread Kay C Lan
On 10/3/05, Stephen Barncard [EMAIL PROTECTED] wrote: REV 2.6 - latest build OSX 10.3.9 Powerbook 17 133 I'm having a strange problem with the IDE. I'm working with MySQL and Trevor's DB library (both of which work fine) - but I'm getting unpredictable behavior in the IDE after hours of

Create a Card in an other Stack

2005-10-06 Thread Todd Geist
Hello, I have ui Stack and a data stack. I want to create a new Card in my Data stack from the UI Stack, so I can store a new record on a new Card in the Data Stack. I can't figure out how to make it work. I tried using send to trigger a handler in the data stack but that doesn't seem to work.

destroyStack, was: Stack Switching Question

2005-10-06 Thread simplsol
Jeanne, It got 5 of my votes as well. But I think there is more confusion here. A I believe Open Stack and Close Stack should be symmetrical. In other words, Close Stack should reverse the results of Open Stack. Open Stack 1. loads the stack into memory, 2. makes the stack visible on the

Re: change the size of the box in a checkbox

2005-10-06 Thread Kay C Lan
On 10/4/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Quoting Kay C Lan [EMAIL PROTECTED]: Hi Kay. This is a fantastic description. I was not aware of the image library method nor the Icon section. Only been using rev for fun for about 2 years but starting to do something serious now

PHP and Rev cgi

2005-10-06 Thread jbv
Hi list, I'm trying to launch a Rev cgi script from a PHP script. I'm using the following line : exec(/home/httpd/html/cgi-bin/./myScript.cgi 0 $caddie); and it works. But the problem is that I need to pass 2 parameters to the Rev cgi script, and can't figure how to read these

Re: Create a Card in an other Stack

2005-10-06 Thread Mark Smith
Can you give us an example of the code that doesn't work? Mark On 6 Oct 2005, at 09:08, Todd Geist wrote: Hello, I have ui Stack and a data stack. I want to create a new Card in my Data stack from the UI Stack, so I can store a new record on a new Card in the Data Stack. I can't figure

Re: Speed optimisation

2005-10-06 Thread Alex Tweedly
Kay C Lan wrote: I certainly have to agee with Alex's statement about sitting back and watching. So here is my effort: ___ So do I win the Cupie doll? ;-) No, I don't think so, because your method gets wrong (IMHO) results in two cases :-).

HELP!! - Geometry Gone Berserk, How to fix?

2005-10-06 Thread David Burgun
Hi, HELP! I have a Stack and the geometry has gone berserk. I have a breakpoint inserted in a preOpenStack handler that allows me to quit the startup path. If I let it continue the Stack displays and the geometry has scaled/moved objects as if the Stack window were MUCH bigger. If I Abort in

Re: Speed optimisation

2005-10-06 Thread Alex Tweedly
Dick Kriesel wrote: Not yet, Kay; that would be too easy. Although the spec didn't mention that the seconds might be negative, it didn't rule it out, either. The above function would return an incorrect value if there were a negative. And handling negatives correctly might increase the times

Oracle DB connection

2005-10-06 Thread David Anderson
Hello All I have just purchased the Enterprise license so I can connect to an oracle database. Reading in the documentation, it says: Oracle: Oracle database drivers are not included as part of the Revolution installation on any platform. To obtain an Oracle database driver for your

Oracle DB Connection

2005-10-06 Thread David Anderson
Hello All I have just purchased the Enterprise license so I can connect to an oracle database. Reading in the documentation, it says: Oracle: Oracle database drivers are not included as part of the Revolution installation on any platform. To obtain an Oracle database driver for your

Re: stack on server very very slow: solution for workaround

2005-10-06 Thread Andreas Stämpfli
Hello Phil strange workaround to gain back speed on server stored stacks: :-) There are two ways to gain access to a remote stack: I) The easy way: (NOT WORKING) set the stackFiles of this stack to deutsch1.rev, ServerVerzeichnis put deutsch1.rev into PlugIn open stack PlugIn - This

Re: PHP and Rev cgi

2005-10-06 Thread Dave Cragg
On 6 Oct 2005, at 10:40, jbv wrote: Hi list, I'm trying to launch a Rev cgi script from a PHP script. I'm using the following line : exec(/home/httpd/html/cgi-bin/./myScript.cgi 0 $caddie); and it works. But the problem is that I need to pass 2 parameters to the Rev cgi

Create a Card in an other Stack

2005-10-06 Thread Todd Geist
Hello, I have ui Stack and a data stack. I want to create a new Card in my Data stack from the UI Stack, so I can store a new record on a new Card in the Data Stack. I can't figure out how to make it work. I tried using send to trigger a handler in the data stack but that doesn't seem to work.

Re: PHP and Rev cgi

2005-10-06 Thread jbv
Dave, it works with $1 and $2. $0 actually returns the path of the cgi script. Thanks too much ! JB On 6 Oct 2005, at 10:40, jbv wrote: Hi list, I'm trying to launch a Rev cgi script from a PHP script. I'm using the following line :

Re: Create a Card in an other Stack

2005-10-06 Thread Mark Smith
Perhaps you need to set the data stack as the defaultStack before sending the command? put the defaultStack into oldDefStack -- save the current defaultStack setting set the defaultStack to dataStack send create card to stack dataStack --do whatever else needs doing set the defaultStack to

Shared menus

2005-10-06 Thread Paul Claude
Is there anybody who knows if Revolution may create shared menus (the menus that appears on the right side of the menubar and are available from any application)? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to

Re: Shared menus

2005-10-06 Thread Richard Gaskin
Paul Claude wrote: Is there anybody who knows if Revolution may create shared menus (the menus that appears on the right side of the menubar and are available from any application)? The Apple HIG reserves those for OS use: Menu Bar Extras Reserved for use by Apple, the right side of the

Re: Speed optimisation

2005-10-06 Thread Kay C Lan
On 10/6/05, Alex Tweedly [EMAIL PROTECTED] wrote: No, I don't think so, because your method gets wrong (IMHO) results in two cases :-). Well spotted. Yes I guess depending on what your going to do with it afterward it may matter. I tend not to bother with trailling or leading zeros as Rev

Re: destroyStack, was: Stack Switching Question

2005-10-06 Thread Robert Brenstein
Jeanne, It got 5 of my votes as well. But I think there is more confusion here. A I believe Open Stack and Close Stack should be symmetrical. In other words, Close Stack should reverse the results of Open Stack. Open Stack 1. loads the stack into memory, 2. makes the stack visible on the

Re: destroyStack, was: Stack Switching Question

2005-10-06 Thread Richard Gaskin
Robert Brenstein wrote: Jeanne, It got 5 of my votes as well. But I think there is more confusion here. A I believe Open Stack and Close Stack should be symmetrical. In other words, Close Stack should reverse the results of Open Stack. Open Stack 1. loads the stack into memory, 2. makes the

Re: Early Update Pack

2005-10-06 Thread Chris Sheffield
Jesse, Not sure if you've gotten a response to this or not, so I'll chime in. And someone please correct me if I'm wrong. The early update pack is nothing more than an early subscription renewal of your Rev license. You could call it the early bird special. Because you're purchasing

Shared menus

2005-10-06 Thread Paul Claude
Thanks Richard, but you surely know that many non-apple appications override this rules, directly or through the Shared Menus Enhancer or the haxies by Unsanity; I have in my menu bar iKey, Metereologist, MenuCalendarClock, ABDialer, MainMenu, and there are many othe similar apps. There is a way

Re: Shared menus

2005-10-06 Thread Richard Gaskin
Paul Claude wrote: Thanks Richard, but you surely know that many non-apple appications override this rules, directly or through the Shared Menus Enhancer or the haxies by Unsanity; I have in my menu bar iKey, Metereologist, MenuCalendarClock, ABDialer, MainMenu, and there are many othe similar

Re: Machine network names

2005-10-06 Thread J. Landman Gay
Sarah Reichelt wrote: What I eventually decided to use for the unique machine ID -- instead of its network name -- was the host machine's MAC address. This handler gets that info, regardless of whether the program is running locally or remotely: I don't expect it matters but you can have

Re: destroyStack, was: Stack Switching Question

2005-10-06 Thread Robert Brenstein
Sounds good to me, Paul, but you need to accommodate closing stack window as opposed to closing stack. We have now: close with destroyStack off = close stack window close with destroyStack on = close stack window, remove stack from memory We still need to be able to do the former. Hide stack

Shared menus

2005-10-06 Thread Paul Claude
I need, as for ABDialer or Jon's Phone Tool, to make a menu available from any app with the possibility to make a phone call, choosing an address, etc. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe,

Re: Function to easily read values from a plist file

2005-10-06 Thread J. Landman Gay
Ken Ray wrote: After Jacque discovered the data in the preferences.plist file she needed, I decided to write a general-purpose function that would get values from a plist file... it's a bit long, but it takes into account a number of different scenarios for retrieving data. Very cool Ken,

Re: Stack Switching Question

2005-10-06 Thread Mark Wieder
Jeanne- Wednesday, October 5, 2005, 9:34:21 PM, you wrote: It is... (deep breath)... perhaps not the most well-thought-out feature of the language. There is a bugzilla request http://support.runrev.com/bugdatabase/show_bug.cgi?id=1081 to split the two functions of the delete stack command.

Re: destroyStack, was: Stack Switching Question

2005-10-06 Thread simplsol
Richard, I was also concerned about the legacy apps. My first thought was to allow load by reference for some period of time (for example all shipments of Rev. delivered after January 2007 would require the new behavior). But it may be that only a very small group of current Rev programmers

Re: Determine active OS langguage

2005-10-06 Thread Trevor DeVore
On Oct 6, 2005, at 12:30 AM, graham samuel wrote: More significantly the 'queryregistry' call doesn't happen in your script because it would only be called if the platform **wasn't** Win32, which it is! I altered the logic a bit so that the registery is queried for the Win32 case, and

Re: Stack Switching Question

2005-10-06 Thread simplsol
Mark, I gave it five votes as well - with the understanding that there would be one comprehensive solution that would address both bugs. It would be welcome news to learn that destroyStack had disappeared with the next version of Rev. Paul Looney -Original Message- From: Mark Wieder

Re: Stack Switching Question

2005-10-06 Thread Chipp Walters
I, for one, hope it doesn't dissapear, as I use 'delete stack' quite often. It's the only sure-fire way to make sure a stack is closed, and I'd have to rewrite many, many stacks if it went away. It's unfortunately named, and could certainly use a better synonym. But it does 'delete a stack

Re: Shared menus

2005-10-06 Thread Chipp Walters
Richard Gaskin wrote: I feel bad for their ROI: the API is considered for Apple use and subject to change, which often translates to your stuff will break with our next release. Heck, if they were ONLY THAT NICE at Apple! They routinely break stuff with their next release with no warning at

Re: Stack Switching Question

2005-10-06 Thread Richard Gaskin
Chipp Walters wrote: [EMAIL PROTECTED] wrote: I gave it five votes as well - with the understanding that there would be one comprehensive solution that would address both bugs. It would be welcome news to learn that destroyStack had disappeared with the next version of Rev. I, for one,

Re: Shared menus

2005-10-06 Thread Richard Gaskin
Paul Claude wrote: I need, as for ABDialer or Jon's Phone Tool, to make a menu available from any app with the possibility to make a phone call, choosing an address, etc. Apple's recommended solution is to use Dock menus. I agree it's less useful, but I'm just passing on what they recommend

Re: destroyStack, was: Stack Switching Question

2005-10-06 Thread Ken Ray
On 10/6/05 3:23 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Jeanne, It got 5 of my votes as well. But I think there is more confusion here. Paul, I think the open/close and load/purge ideas are great, with a few minor changes (plus I've included other terms in use to get an overview of

Re: destroyStack, was: Stack Switching Question

2005-10-06 Thread Richard Gaskin
Robert Brenstein wrote: Sounds good to me, Paul, but you need to accommodate closing stack window as opposed to closing stack. We have now: close with destroyStack off = close stack window close with destroyStack on = close stack window, remove stack from memory We still need to be able

Re: Shared menus

2005-10-06 Thread Richard Gaskin
Chipp Walters wrote: Richard Gaskin wrote: I feel bad for their ROI: the API is considered for Apple use and subject to change, which often translates to your stuff will break with our next release. Heck, if they were ONLY THAT NICE at Apple! They routinely break stuff with their next

Re: Stack Switching Question

2005-10-06 Thread Mark Wieder
Chipp- Thursday, October 6, 2005, 9:41:39 AM, you wrote: I, for one, hope it doesn't dissapear, as I use 'delete stack' quite often. It's the only sure-fire way to make sure a stack is closed, and I'd have to rewrite many, many stacks if it went away. It's unfortunately named, and could

RE: Using a card to make modifications to database

2005-10-06 Thread Fred Giannetto
And helped it did!!! I threw some quotes around those variables and they are getting plugged into the database without a problem. Thank you very much All best Always Fred From: Jan Schenkel [EMAIL PROTECTED] Reply-To: How to use Revolution use-revolution@lists.runrev.com To: How to use

TEST - please ignore

2005-10-06 Thread Todd Geist
-- Todd Geist __ g e i s t i n t e r a c t i v e ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: change the size of the box in a checkbox

2005-10-06 Thread Kay C Lan
On 10/6/05, Kay C Lan [EMAIL PROTECTED] wrote: on menuPick tMyChoice --your choice is sent to here switch tMyChoice --switch will look for a match case (Standard) --remember setting them to zero will return to normal size set the icon of button CheckBox1 to 0 set the hilitedIcon of button

Re: Speed optimisation

2005-10-06 Thread Kay C Lan
On 10/6/05, Alex Tweedly [EMAIL PROTECTED] wrote: No, I don't think so, because your method gets wrong (IMHO) results in two cases :-). Well spotted. Yes I guess depending on what your going to do with it afterward it may matter. I tend not to bother with trailling zeros as Rev does a good

Re: destroyStack, was: Stack Switching Question

2005-10-06 Thread Robert Brenstein
On 10/6/05 3:23 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Jeanne, It got 5 of my votes as well. But I think there is more confusion here. Paul, I think the open/close and load/purge ideas are great, with a few minor changes (plus I've included other terms in use to get an overview

Re: Stack Switching Question

2005-10-06 Thread Jeanne A. E. DeVoto
At 11:41 AM -0500 10/6/2005, Chipp Walters wrote: I, for one, hope it doesn't dissapear, as I use 'delete stack' quite often. It's the only sure-fire way to make sure a stack is closed, and I'd have to rewrite many, many stacks if it went away. It's unfortunately named, and could certainly

Copy Image

2005-10-06 Thread Todd Geist
Hello, Thanks for all the help last few days... Now I have another question. I am trying to copy an image from the current card to a card in another stack. The code looks like this copy img image to cd tCard of stack Data The image actually moves over to the card just fine. BUT I

Re: Stack Switching Question

2005-10-06 Thread Troy Rollins
On Oct 6, 2005, at 9:16 PM, Jeanne A. E. DeVoto wrote: Take a look at the proposal, Chipp. It's to deprecate delete stack and replace it with two new commands - one to delete a substack from its stack file, and the other to remove a main stack from memory. The functionality will still be

Re: Speed optimisation

2005-10-06 Thread Dick Kriesel
On 10/6/05 4:21 AM, Alex Tweedly [EMAIL PROTECTED] wrote: Hmmm - can you give a case where Kay's method gives wrong answers because of a negative seconds value ? As far as I can see (both by inspection and by testing) it always gets it right. Whenever the negative seconds cause the result

Re: Copy Image

2005-10-06 Thread Todd Geist
Let me try to give some more info. I am so new I can't even ask the questions correctly :( I am trying to copy and image from the current card to a card in a external stack, GrommetData. If the image is already there from a previous copy, I delete it first and then copy it to the card. If

Re: Copy Image

2005-10-06 Thread Sarah Reichelt
I am trying to copy and image from the current card to a card in a external stack, GrommetData. If the image is already there from a previous copy, I delete it first and then copy it to the card. If the image is already there all works as expected, BUT if the image is not alredy there I

Re: Copy Image

2005-10-06 Thread Chipp Walters
Todd, Gonna need some more info here. I created two stacks fred and ginger on stack fred I have an image named image (though 'image' is a reserved word, it still works as a name) I created a second card on stack ginger then went to cd 1 of stack ginger I created a button copy on stack fred