Re: Computing the age of a person?

2009-05-15 Thread Kay C Lan
As some people probably want a more accurate representation of age rather than in whole years, here's another function, this outputs yy,mm,dd as in 21,5,26. The really cool bit about this is from my meager testing it appears to take into account leap years. This is based around a cool piece of

Re: Other stacks opening besides the one selected

2009-05-15 Thread Mark Wieder
Mark- Thursday, May 14, 2009, 10:05:04 PM, you wrote: And they reside in the following folder: C:\Program Files\Revolution Studio\ The root installation folder of RunRev. ??? WHY ??? Needless to say, this is a BAD place to put stacks. Unless you want them always to load, in which case

Re: [OT] Not just because

2009-05-15 Thread Luis
:) No, referring to 'foreign language' as in 'other programming language'... Cheers, Luis. On 14 May 2009, at 21:49, Sarah Reichelt wrote: Your mention of 3rd party support triggered a thought: What would it take to create a Rev plugin ('connector') to handle foreign language

@Jan Schenkel, important

2009-05-15 Thread kl...@major.on-rev.com
Hi Jan, sorry for abusing the list, but all my mails to your quartam account come back for being considered as SPAM! :-/ Any hints on how to contact you via mail? Best Klaus -- Klaus Major http://www.major.on-rev.com kl...@major.on-rev.com ___

[code] live resizing code for behaviour objects

2009-05-15 Thread Shao Sean
Thought I would make this code available for others who may want to write custom controls and would like them to be resizable in the IDE.. This code does live resizing when the control is resized from the drag handles and will update (not live though) if you are using the Geometry Manager

Re: Ann: JPEGCompress 2.9.5 Beta

2009-05-15 Thread Derek Bump
Thanks Joe. I'm planning on adding the Undo feature to version 3.0, which is next in the works. At this point I wanted to get the Mac and Linux versions out there, and to update JPEGCompress for Vista and Windows 7 (which I still have to download... probably today). Thank you for your input. I

Re: Other stacks opening besides the one selected

2009-05-15 Thread DunbarX
Followed your recipe. Only stack1 shows up in the app browser. There are about a million other stacks there, but no other working stacks. Mac OS10.4.11, PPC G5. Craig Newman In a message dated 5/15/09 1:05:16 AM, mfstu...@cox.net writes: If this is the case, then please reply to the list

Activity message ?

2009-05-15 Thread Jacques Hausser
Hello everybody, I'm looking for a general activity message sent each time an user performs any action (both with keyboard and mouse). Does that exist ? I didn't find anything convincing in the dictionnary... I want to avoid to pass every message and trap them farther down in the message

Re: Activity message ?

2009-05-15 Thread Joe Lewis Wilkins
Hi Prof: Just putting an on keydown and on mouseDown handler in the stack script will be triggered if the mouse is clicked or any key is pressed. How you handle that and what else you might want to do, other than a simple beep is up to you. Obviously, this will necessitate some caution

Re: Activity message ?

2009-05-15 Thread Jacques Hausser
Thanks, Joe This solution implies pass keydown and pass mouseDown everywhere these messages are trapped... I should perhaps also add on mouseMove and pass mouseMove... I'll check it anyway. It's for an application used in an exhibition - about Darwin and (R)evolution. I'm using a timer to

Re: Activity message ?

2009-05-15 Thread Joe Lewis Wilkins
You've got a handle on the situation it would appear. Sounds interesting. Good luck. Joe Wilkins On May 15, 2009, at 7:09 AM, Jacques Hausser wrote: Thanks, Joe This solution implies pass keydown and pass mouseDown everywhere these messages are trapped... I should perhaps also add on

Re: Activity message ?

2009-05-15 Thread kl...@major.on-rev.com
Hi Jacques, Thanks, Joe This solution implies pass keydown and pass mouseDown everywhere these messages are trapped... I should perhaps also add on mouseMove and pass mouseMove... I'll check it anyway. It's for an application used in an exhibition - about Darwin and (R)evolution. I'm

Re: Copy files between servers - Solved

2009-05-15 Thread Jim Ault
Solved for my situation -1- For the Win 2003 C:/temp/_outputFiles/ folder, set the security to this user (Rev) as Full Control -2- put logText into url (File: C:/temp/_outputFiles/ filename .txt) get shell(chmod 644 (C:/temp/_outputFiles/ filename .txt)) On the OSX machine that

Re: Copy files between servers - Solved

2009-05-15 Thread Jim Ault
WHoops -- typo --since I want to delete the files after copying them, chmod 777 allows everyone to delete files, chmod 644 allows everyone to read only thus the correct line get shell(chmod 777 (C:/temp/_outputFiles/ filename .txt)) also show below Solved for my

Re: Activity message ?

2009-05-15 Thread Jacques Hausser
Hello Klaus Yes it is tempting. As the timer runs in the background, this front script should reinitialize a GRemainingTime global (or a CP if you are globalophobic - I'm not). But, depending of what the user is doing, I want to set different values for the reinitialisation, therefore a

Other stacks opening besides the one selected

2009-05-15 Thread Mark Stuart
Written by Mark Wieder on Fri May 15, 2009 - 01:33 AM CDT ??? WHY ??? Needless to say, this is a BAD place to put stacks. Unless you want them always to load, in which case it's still a bad place to put them. And so Mark W., did you try the recipe? Did it do what I explained and what this

Re: Gender [was: Re: Cancel a repeat with a button]

2009-05-15 Thread Devin Asay
All: Did you ever hit the send button on an email then regret it later? Yesterday in the back and forth banter on this thread I repeated an anecdote with language that may have offended some of you. If so, I sincerely apologize. I'll be more circumspect in the future. Regards, Devin

Rev suport user defined events?

2009-05-15 Thread Randall Reetz
Can one tell rev to watch for and send an event associated with any property delta? on setupevents track fillpat end setupevents on fillpat, target do something to target end fillpat -Original Message- From: Randall Reetz rand...@randallreetz.com To: How to use Revolution

RE: Gender [was: Re: Cancel a repeat with a button]

2009-05-15 Thread Bill Andersen
hehehe -- I've been forging my husband's signature on his paychecks for so long now that if he ever had to deposit his own I don't think they'd be accepted! Our names are NOT similar... Ditto for the IR... er... As if the bank looks at signatures any more! Several years ago (at a

RE: Gender [was: Re: Cancel a repeat with a button]

2009-05-15 Thread Judy Perry
It's funny you should mention that. As I work at the satellite rather than the main campus, may payckecks end up collecting dust at the main campus and thus, recently, I deposited three at a time. And I forgot to endorse them. I contacted the manager immediately who said, don't worry; we'll

Re: Arrow Keys moving Objects

2009-05-15 Thread Peter Brigham MD
To me, managing the focus is one of the truly bedeviling problems in Rev. Sometimes commandkey strokes don't work -- when you have a commandkeydown handler in the stack script and the focus somehow has gotten place somewhere else. If it's in a field, you can often track it down, but

Re: Gender [was: Re: Cancel a repeat with a button]

2009-05-15 Thread J. Landman Gay
Judy Perry wrote: It's funny you should mention that. As I work at the satellite rather than the main campus, may payckecks end up collecting dust at the main campus and thus, recently, I deposited three at a time. And I forgot to endorse them. I contacted the manager immediately who said,

Re: Other stacks opening besides the one selected

2009-05-15 Thread Mark Wieder
Mark- Friday, May 15, 2009, 8:17:15 AM, you wrote: And so Mark W., did you try the recipe? Did it do what I explained and what this thread has been about? Yes and yes. I'd say it's a script editor bug and you should write it up. GLX2 doesn't exhibit this behavior, the IDE's script editor

Re: Gender [was: Re: Cancel a repeat with a button]

2009-05-15 Thread J. Landman Gay
Devin Asay wrote: All: Did you ever hit the send button on an email then regret it later? Yesterday in the back and forth banter on this thread I repeated an anecdote with language that may have offended some of you. If so, I sincerely apologize. I'll be more circumspect in the future. It

Other stacks opening besides the one selected

2009-05-15 Thread Mark Stuart
Written by Mark Wieder on Fri May 15, 2009 - 11:27 AM CDT Yes and yes. I'd say it's a script editor bug and you should write it up. GLX2 doesn't exhibit this behavior, the IDE's script editor does. Awesome :) thanx for testing and confirming this. I will report this issue to RunRev. Could you

Re: use-revolution Digest, Vol 68, Issue 41

2009-05-15 Thread Peter Brigham MD
On May 15, 2009, Kay C Lan wrote: Peter, I gave your function a try and it gave the wrong answer. I had a quick look and somewhere along the line it converted 2009 to 1909, so I ended up with a negative age. After some of the earlier posts, I guess it has potential for a female

Re: Gender [was: Re: Cancel a repeat with a button]

2009-05-15 Thread J. Landman Gay
Devin Asay wrote: So asterisks makes everything okay? Well, I'll be ! I see a MadLibs in here somewhere...one that only asks for swear words. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com

Re: Gender [was: Re: Cancel a repeat with a button]

2009-05-15 Thread Scott Rossi
Yesterday in the back and forth banter on this thread I repeated an anecdote with language that may have offended some of you. If so, I sincerely apologize. I'll be more circumspect in the future. I'm sure s/h/*t doesn't mind. Regards, Scott Rossi Creative Director Tactile Media, Multimedia

Re: Gender [was: Re: Cancel a repeat with a button]

2009-05-15 Thread RevList
How to use Revolution use-revolution@lists.runrev.com on May 15, 2009 at 8:54 AM -0700 wrote: As if the bank looks at signatures any more! Several years ago (at a previous employer), 92 payroll checks were sent out WITHOUT any signature at all. (I know, different than an endorsement, but still)

Re: Gender [was: Re: Cancel a repeat with a button]

2009-05-15 Thread Devin Asay
On May 15, 2009, at 10:29 AM, J. Landman Gay wrote: Devin Asay wrote: All: Did you ever hit the send button on an email then regret it later? Yesterday in the back and forth banter on this thread I repeated an anecdote with language that may have offended some of you. If so, I sincerely

Re: Arrow Keys moving Objects

2009-05-15 Thread Joe Lewis Wilkins
Peter: Thanks for sharing your angst! Helps me to know I'm not alone and that one of the true geniuses of this list will manifest a wonderfully simple, universal solution. Now I'm wondering, whether all of the key actions you mentioned as being erratic should be allowed to be so

Re: Data grid

2009-05-15 Thread Hershel Fisch
Thanks, is there a way to have data in a row without showing or in a hidden fld that I should be able to access? Thanks, in advanced Hershel On 5/14/09 6:17 PM, Trevor DeVore li...@mangomultimedia.com wrote: On May 14, 2009, at 6:59 PM, Hershel Fisch wrote: Hi, first of all thanks to RunRev

Re: Datagrid data to text file

2009-05-15 Thread Hershel Fisch
I think you could Put the dgText of group data grid into URL file:myFile.txt Hershel On 5/12/09 10:49 PM, Yves COPPE yvesco...@skynet.be wrote: Hello list, I want to export the data of a datagrid form to a text file (tab-tab- return text file) I've tried with the dgtext of group

Re: Where To Put Icons In Standalone?

2009-05-15 Thread Hershel Fisch
I would put the image in the standalone splash stack. All of the other stacks in the project would be able to access it then. Another alternative would be to put it in a library stack that the splash screen stack starts using at launch time. Does the same apply to an image? E.g. Set the

Remove stack from memory

2009-05-15 Thread Jim Bufalini
Does anyone know what could prevent a stack from being removed from memory if the destroyStack and destroyWindow of the stack is set to true and there is no processing or messaging going on (that I'm aware of) that would keep the stack open until processing completes? The window closes, but the

Synchronous scrolling

2009-05-15 Thread DunbarX
There has to be something easy. In HC, in order to scroll multiple scrolling fields in lockStep without painful slowness and jitteryness, one had to use an external (multiScroll, from, like, 1989 or so). I do this everywhere. Rev has the right message, scrollbarDrag, and the coding is dead

Re: Remove stack from memory

2009-05-15 Thread Devin Asay
On May 15, 2009, at 1:22 PM, Jim Bufalini wrote: Does anyone know what could prevent a stack from being removed from memory if the destroyStack and destroyWindow of the stack is set to true and there is no processing or messaging going on (that I'm aware of) that would keep the stack

RE: Other stacks opening besides the one selected

2009-05-15 Thread Bill Andersen
I will correct myself about files loading automatically, I was thinking of lower down in the folder hierarchy. Nonetheless, common sense would seem to indicate that storing data files in the Program Files directory would seem a Bad Idea. A agree. Not to mention the problems Vista has with

Re: Synchronous scrolling

2009-05-15 Thread Joe Lewis Wilkins
Hi Craig, I seem to remember that a simple lock screen before and unlock screen after made everything run smoothly. Joe Wilkins On May 15, 2009, at 12:32 PM, dunb...@aol.com wrote: There has to be something easy. In HC, in order to scroll multiple scrolling fields in lockStep without

Re: Synchronous scrolling

2009-05-15 Thread Scott Rossi
Recently, dunb...@aol.com wrote: In HC, in order to scroll multiple scrolling fields in lockStep without painful slowness and jitteryness, one had to use an external (multiScroll, from, like, 1989 or so). I do this everywhere. Rev has the right message, scrollbarDrag, and the coding is dead

Re: Other stacks opening besides the one selected

2009-05-15 Thread Mark Wieder
Mark- Friday, May 15, 2009, 9:46:58 AM, you wrote: Awesome :) thanx for testing and confirming this. I will report this issue to RunRev. Could you also vote on this? I'll reply with a bug number. I'll leave that for others. It's not an issue that affects me, and if it did I don't know that

Re: Remove stack from memory

2009-05-15 Thread J. Landman Gay
Jim Bufalini wrote: Does anyone know what could prevent a stack from being removed from memory if the destroyStack and destroyWindow of the stack is set to true and there is no processing or messaging going on (that I'm aware of) that would keep the stack open until processing completes? The

Re: Rev suport user defined events?

2009-05-15 Thread Mark Wieder
Randall- Friday, May 15, 2009, 8:50:25 AM, you wrote: Can one tell rev to watch for and send an event associated with any property delta? If I understand what you're asking, you might want to look at the script of the revMessageWatcher stack for some hints. You'll need to set the

Re: Synchronous scrolling

2009-05-15 Thread Colin Holgate
On May 15, 2009, at 3:45 PM, Scott Rossi wrote: Put your fields in a group and enable the vscrollbar (and/or hscrollbar) of the group. There are some things you might want to do in making that group: hide the borders of field, and make them not editable, and no scroll bars. Set their

On-Rev Signup

2009-05-15 Thread Bob Sneidar
I am going to look like a dope asking, but does anyone know what the On-Rev signup subdomain and domain fields are asking of me? Is on-rev offering to set and host a brand new domain for me? If so, what is the IP range? I know I can't just pick a random one. Bob (confused) Sneidar IT

Re: On-Rev Signup

2009-05-15 Thread Neal Campbell
It confused the heck out of me also but the deal is the subdomain will become part of your address which will be subdomain.on-rev.com. You can be happy with this as an address or use a service that will translate an address you currently own to map to that address (I do this thru noip.com but I am

Synchronous scrolling Solved

2009-05-15 Thread DunbarX
Scott. Groups, always groups. Thanks. Works fine, but differently. When scrolled, the fields themselves are viewed as if they are under a window, as if they were actual scrolls unrolling under a fixed viewing area. I guess this actually makes sense. My flds overlap their scrollbars so only

Re: Synchronous scrolling Solved

2009-05-15 Thread Colin Holgate
On May 15, 2009, at 4:51 PM, dunb...@aol.com wrote: No matter. I simply changed the fields from scrolling fields to ordinary fields, and the effect (and structural difference) is moot. As a matter of style for this task, it is not recommended having scrolling fields at all (I am

Re: Synchronous scrolling

2009-05-15 Thread DunbarX
Colin, Thanks. I worked that out just as your post came over. I will play with borders, and it is best if the fields are maximized before grouping and then reduced, it yields a smaller group thumb. No problem with editing, I only use list fields. I have to tell you, and Jacques, I have

Re: Synchronous scrolling Solved

2009-05-15 Thread DunbarX
Can't type and read at the same time. Craig In a message dated 5/15/09 4:55:43 PM, co...@rcn.com writes: See, you should have read my answer too. ** Recession-proof vacation ideas. Find free things to do in the U.S.

Re: Synchronous scrolling

2009-05-15 Thread DunbarX
Colin. The border thing... If I make a few tall fields and group them, I can then reduce the group height. The scrolling is stable, thumb is adorable, everything works fine. But if I add (or remove) a border to the group, the fields resize to their original height. Locking the size right

Re: Synchronous scrolling Solved

2009-05-15 Thread Scott Rossi
Recently, dunb...@aol.com wrote: Groups, always groups. Thanks. Works fine, but differently. When scrolled, the fields themselves are viewed as if they are under a window, as if they were actual scrolls unrolling under a fixed viewing area. I guess this actually makes sense. My flds

Re: Synchronous scrolling Solved

2009-05-15 Thread DunbarX
I agree, it works in this case exactly like that - and I really don't dislike groups. But they are a construct, as you say. For example, Colin suggested that I hide the borders of the fields before grouping them. This is good, but it is also necessary to set the border width to 0, or an

Re: Synchronous scrolling

2009-05-15 Thread J. Landman Gay
dunb...@aol.com wrote: I have to tell you, and Jacques, I have finally crossed the line. Rev is just unbelievable. HC seems small, pale and lonely now... I know. It was so frustrating on the HC list to say something like that and get berated by people who'd never learned to use Rev. Welcome

Re: Synchronous scrolling Solved

2009-05-15 Thread Scott Rossi
Recently, dunb...@aol.com wrote: I will check out the URL you sent me, and thanks. But can it run faster than my own utterly basic script, which just traps the message and sets a few scrolls to an index scroll? Not sure, but I would guess so only because a scrolling field is a native control

Re: Synchronous scrolling Solved

2009-05-15 Thread DunbarX
Scott: My fault. I had, for three (measly) fields: on scrollBarDrag set the scroll of fld F1 to the scroll of me --me is F3 set the scroll of fld F2 to the scroll of me end scrollBarDrag You have (essentially): on scrollBarDrag repeat with y = 1 to 3 set the scroll of fld y to

Enough already with Synchronous scrolling?

2009-05-15 Thread DunbarX
Oddly, in two different stacks with three fields each, the same contents and the same scrolling scripts, one set works 10 times faster than the other. In the slow stack, the one where I actually want to do this, I have to use the group method. In the other, test stack, separate controls works

Re: Synchronous scrolling Solved

2009-05-15 Thread Scott Rossi
Recently, dunb...@aol.com wrote: My fault. I had, for three (measly) fields: on scrollBarDrag set the scroll of fld F1 to the scroll of me --me is F3 set the scroll of fld F2 to the scroll of me end scrollBarDrag You have (essentially): on scrollBarDrag repeat with y = 1 to

Re: Linux Cursors

2009-05-15 Thread J. Landman Gay
Derek Bump wrote: Is there any way to force my standalone to not use the ugly hand cursor and instead use the cursors provided by Gnome or KDE? If not, are there any other requirements for the cursor image that you can set? I have a 32x32 color cursor that I have set as the defaultCursor of my

RE: Remove stack from memory

2009-05-15 Thread Jim Bufalini
Thanks Devin and Jaque: Devin Asay: I seem to see this when I have library stacks in use. Jacque wrote: Besides libraries, if you have any drivers open the stack won't close. I first thought it was a library issue, but had already dismissed this with a test stack and I didn't have any

Re: On-Rev Signup

2009-05-15 Thread Luis
Hiya, Insofar as I recall it's part of the http protocol (v1.1) to redirect a Domain to a 'sub-domain': Like pointing to a folder beyond the root as if it were the root. Cheers, Luis. Neal Campbell wrote: It confused the heck out of me also but the deal is the subdomain will become part

ODBC - Can use file DSN in Rev?

2009-05-15 Thread Scott Pepperdine
Hi, Will Revolution work with a FileDSN to make an ODBC connection to a database? I've tried a little without success. I found some entries in the Rev forums that concluded that it was broken (http://forums.runrev.com/phpBB2/viewtopic.php?t=2382) and they were going to submit a bug report.

Re: Synchronous scrolling Solved

2009-05-15 Thread DunbarX
Right. Always do. In a message dated 5/15/09 6:05:47 PM, sc...@tactilemedia.com writes: N (the scroll value in pixels) is automatically provided by the scrollbarDrag handler, so for best performance, you should use this, rather than repeatedly polling the scroll of the scrollbar itself as

Re: Linux Cursors

2009-05-15 Thread Derek Bump
Thanks Jacqueline! I ended up redoing the cursor in Photoshop and saving it as a GIF. That provided me with a cursor that got rid of that ugly hand, which I think should be retired anyways... HyperCard is a thing of the past. I did manage to get the native Gnome and KDE cursors to work though.

Re: Linux Cursors

2009-05-15 Thread J. Landman Gay
Derek Bump wrote: I did manage to get the native Gnome and KDE cursors to work though. All I did was uncheck the box to include Cursors in my standalone, and then in my script I set the cursor to arrow. All the cursors for Gnome and KDE in Fedora, Ubuntu and OpenSUSE are working perfectly and