Re: finding older versions of rev

2009-06-09 Thread Jeff Reynolds
Hey, just wanted to say thanks for those that responded to my query and solved the problem with finding the older version! much appreciated! cheers, jeff reynolds On Jun 5, 2009, at 9:45 AM, use-revolution-requ...@lists.runrev.com wrote: Hi, i searched my records and found the follo

Drag images into text field

2009-06-09 Thread Josep
Hi, I need drag&drop some images into a text field. The question is drop the images (little icons) between words into one text field. I drag&drop from a web page that have the text with the images, but when drop into a text field only the text part is dropped. So the images I think that was drop

Re: on-rev files

2009-06-09 Thread -= JB =-
Thanks for the reply and info, Alex. I am new to websites and the docs are not too good yet. This helps a lot. -=>JB<=- On Jun 9, 2009, at 3:48 PM, Alex Tweedly wrote: -= JB =- wrote: With on-rev you can put files into your public folder and anyone who accesses your index can access your f

Re: is putting a stack too far offscreen dangerous?

2009-06-09 Thread Josh Mellicker
Thanks Scott! On Jun 9, 2009, at 12:41 PM, Scott Rossi wrote: Recently, Josh Mellicker wrote: I have read of some developers putting stacks offscreen, or sizing stacks so they extend offscreen substantially. Are there dangers? I know if some OpenGL calls exceed the resolution of the video

Re: on-rev files

2009-06-09 Thread Alex Tweedly
-= JB =- wrote: With on-rev you can put files into your public folder and anyone who accesses your index can access your files. When you move them up to your on-rev site level nobody can see your files unless they have logged in as the administrator. How secure is this? Can people somehow a

Re: Tab in datagrid

2009-06-09 Thread Hershel Fisch
Question, when something goes wrong with the closefield function then the fld that's selected doesn't close and looses functionality, how should this get back to normal? Thanks, Hershel >> on closeFieldEditor pFieldEditor >> put the dgColumn of the target into tC >> >> end closeField

on-rev files

2009-06-09 Thread -= JB =-
With on-rev you can put files into your public folder and anyone who accesses your index can access your files. When you move them up to your on- rev site level nobody can see your files unless they have logged in as the administrator. How secure is this? Can people somehow access your fil

Re: Export an Image from Revolution?

2009-06-09 Thread Devin Asay
On Jun 9, 2009, at 3:26 PM, Ted wrote: Hello, Is there a way to export a png image out of Revolution into a graphics editing program, such as Photoshop Elements? Not sure exactly what you're asking here. Scott Rossi's method is an easy way to write an image to a file, which you can then

Re: How to handle a "wait for file" situation

2009-06-09 Thread Richard Miller
Thanks, Mark. I'll continue with the scripting as it has been, which is basically the same as what you have written. I appreciate you documenting the effect on the CPU. Richard Mark Smith wrote: Jaque, I'm not sure this is right, these days. On my mac laptop I just did this: button in a n

Re: How to handle a "wait for file" situation

2009-06-09 Thread Mark Smith
Scott, that certainly tallies with my experience of the "with messages" form - it's the tight polling loops that seem to be greedy. best, Mark On 9 Jun 2009, at 21:53, Scott Rossi wrote: Recently, Mark Smith wrote: Yes, I think you have to be careful with mouse stuff: on mouseDown re

Re: Export an Image from Revolution?

2009-06-09 Thread Scott Rossi
Recently, Ted wrote: > Is there a way to export a png image out of Revolution into a graphics editing > program, such as Photoshop Elements? answer folder "Choose a folder:" put it & "/MyExport.png" into tPath export snapshot from rect (rect of img 1) of img 1 to file tPath as PNG Regards, Scot

Re: Export an Image from Revolution?

2009-06-09 Thread Richmond Mathewson
Read "open process" in the Documentation; pay attention to "write to process". :) Ted wrote: Hello, Is there a way to export a png image out of Revolution into a graphics editing program, such as Photoshop Elements? Thanks, Ted ___ use-revolution

Re: How to handle a "wait for file" situation

2009-06-09 Thread Scott Rossi
Recently, Mark Smith wrote: > Yes, I think you have to be careful with mouse stuff: > > on mouseDown > repeat >if the mouse is up then exit repeat >put the mouseloc > end repeat > end mouseDown In my experience, the processor load is relative to the frequency of Rev's mes

Re: Export an Image from Revolution?

2009-06-09 Thread Richmond Mathewson
Why not just export your png and then open it manually in your program of choice? Ted wrote: Hello, Is there a way to export a png image out of Revolution into a graphics editing program, such as Photoshop Elements? Thanks, Ted ___ use-revolution m

Re: Remote database access: How?

2009-06-09 Thread viktoras d.
Maybe this has to be put into its own separate thread, but as it relates to MySQL anyway, here at http://www.ekoinf.net/TxNav/ is a new dirty application of mine (released last weak, just before the e-biosphere09 event in London) to explore the Catalogue of Life taxonomic database. It is open s

Export an Image from Revolution?

2009-06-09 Thread Ted
Hello, Is there a way to export a png image out of Revolution into a graphics editing program, such as Photoshop Elements? Thanks, Ted ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: How to handle a "wait for file" situation

2009-06-09 Thread J. Landman Gay
Mark Smith wrote: Yes, I think you have to be careful with mouse stuff: on mouseDown repeat if the mouse is up then exit repeat put the mouseloc end repeat end mouseDown got up to 70% cpu Thanks for testing! I'm revising my mental map now. :) -- Jacqueline Landman Gay

Re: is putting a stack too far offscreen dangerous?

2009-06-09 Thread Richmond Mathewson
Had to reboot the computer to get Runtime Revolution to behave itself again. Josh Mellicker wrote: I have read of some developers putting stacks offscreen, or sizing stacks so they extend offscreen substantially. Are there dangers? I know if some OpenGL calls exceed the resolution of the vide

Re: How to handle a "wait for file" situation

2009-06-09 Thread Mark Smith
Yes, I think you have to be careful with mouse stuff: on mouseDown repeat if the mouse is up then exit repeat put the mouseloc end repeat end mouseDown got up to 70% cpu Best, Mark On 9 Jun 2009, at 20:25, J. Landman Gay wrote: This is an example the the type of thing Rane

Re: is putting a stack too far offscreen dangerous?

2009-06-09 Thread Richmond Mathewson
However, after my experiment, having quit Revolution (DreamCard 2.6.1 - dinosaur stuff) it refuses to restart; something tells me something is going on with a cache somewhere. Josh Mellicker wrote: I have read of some developers putting stacks offscreen, or sizing stacks so they extend offscre

Re: is putting a stack too far offscreen dangerous?

2009-06-09 Thread Richmond Mathewson
I just ran up a silly little stack with a silly little substack and a couple of buttons to move the substack off and on screen to 1,1. Set the moveSpeed to 6 so didn't go bonkers waiting. substack 200 x 200, mainstack 300,300 No Crashes, Completely Boring. G4 Mirror Door, Dual-proce

Re: Remote database access: How?

2009-06-09 Thread Jan Schenkel
That, and the fact that PostgreSQL is ACID-compliant (like SQLite), while MySQL doesn't have transactions, triggers and procedures unless you switch from the MyISAM to the InnoDB database structure. For single-user solutions, I prefer the convenience and power of SQLite; and when I need a mult

Re: is putting a stack too far offscreen dangerous?

2009-06-09 Thread Scott Rossi
Recently, Josh Mellicker wrote: > I have read of some developers putting stacks offscreen, or sizing > stacks so they extend offscreen substantially. > > Are there dangers? > > I know if some OpenGL calls exceed the resolution of the video memory, > crashes can result. Does anyone know if there

Re: Remote database access: How?

2009-06-09 Thread Andre Garzia
That kind of thing is exactly why I recommend postgreSQL to everyone... -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subs

Re: How to handle a "wait for file" situation

2009-06-09 Thread J. Landman Gay
Mark Smith wrote: Jaque, I'm not sure this is right, these days. On my mac laptop I just did this: button in a new stack with a script: on mouseUp repeat 20 wait 1 second end repeat put "done" end mouseUp I then opened the Apple Activity Monitor, I could see Revolution using 12% of

Re: How to handle a "wait for file" situation

2009-06-09 Thread Mark Smith
Not less than 0%! - I meant 1%. That would be a great trick, though, just fire up a few dozen instances of the engine all doing waits, and voila! free clock cycles:) Mark On 9 Jun 2009, at 19:56, Mark Smith wrote: I saw Revolution go up to 19% then quickly down to less than 0%. ___

is putting a stack too far offscreen dangerous?

2009-06-09 Thread Josh Mellicker
I have read of some developers putting stacks offscreen, or sizing stacks so they extend offscreen substantially. Are there dangers? I know if some OpenGL calls exceed the resolution of the video memory, crashes can result. Does anyone know if there is a limit to how far you can put a stac

Re: How to handle a "wait for file" situation

2009-06-09 Thread Mark Smith
Jaque, I'm not sure this is right, these days. On my mac laptop I just did this: button in a new stack with a script: on mouseUp repeat 20 wait 1 second end repeat put "done" end mouseUp I then opened the Apple Activity Monitor, I could see Revolution using 12% of cpu. Back to the

Re: How to handle a "wait for file" situation

2009-06-09 Thread J. Landman Gay
Mark Smith wrote: Craig, you're quite right, and so is Jaque, but in this case, the script is running as a cgi on a server, so has it's own exclusive copy of the engine running it - so nothing else would be getting held up. Actually, the wait command will stop everything until the wait is done

Re: How to handle a "wait for file" situation

2009-06-09 Thread George C Brackett
I'm not sure, but this might work: If you divide your script into two pieces on firstPart on secondPart using whatever script local variables you need for them to communicate, then you could say in the last line of firstPart send "secondPart" to me in 18 seconds Thi

Re: Remote database access: How?

2009-06-09 Thread Jan Schenkel
Okay, On-Rev connects to a MySQL 5.0 database - so can any Rev client, as long as the passwords setting is compatible; so my guess is that the On-Rev team was nice enough to configure everything correctly for us :-) The MySQL Connector/C++ is licensed under the terms of GPL:

Re: How to handle a "wait for file" situation

2009-06-09 Thread Mark Smith
Craig, you're quite right, and so is Jaque, but in this case, the script is running as a cgi on a server, so has it's own exclusive copy of the engine running it - so nothing else would be getting held up. In another case, though, you might use "wait 1 second with messages", which pauses th

Re: FYI: group copy position default changes in OS X 10.5.7

2009-06-09 Thread Richard Gaskin
Josh Mellicker wrote: Just wanted to let everyone know, if you have an app that copies a group into another group, now with 10.5.7 you must explicitly set the left of that copied group. In earlier operating systems the default copied it to the left of the group you are copying it into.

Re: How to handle a "wait for file" situation

2009-06-09 Thread DunbarX
It has been beaten (mercilessly) into me by Ms. Gay that this does just the opposite; "wait" makes everythiing wait. Craig Newman In a message dated 6/9/09 10:28:16 AM, li...@futilism.com writes: > Richard, it might help with cpu efficiency to use a different wait in  > the loop, polling every

Re: Remote database access: How?

2009-06-09 Thread Björnke von Gierke
On 9 Jun 2009, at 16:16, Jan Schenkel wrote: There's a difference between the MySQL Database engine and the Connector library that allows C-programs to talk to the database. The RevDB driver for MySQL is is a wrapper around said Connector. Yes, but on-rev obviously does connect to said 5.0.1

Re: How to handle a "wait for file" situation

2009-06-09 Thread Mark Smith
Richard, it might help with cpu efficiency to use a different wait in the loop, polling every second, let's say: repeat add 1 to count if there is a file xxx then exit repeat wait 1 second -- I'm assuming that this form of wait just idles the engine if count >= 18 th

How to handle a "wait for file" situation

2009-06-09 Thread Richard Miller
Not sure of the best way to handle this. I have a script that gets to a point in its processing where it needs to wait up to 18 seconds for the appearance of a file. I know I can use a simple "repeat until there is a file xxx" type of loop (exiting from the loop if the time exceeds 18 seconds)

Re: Remote database access: How?

2009-06-09 Thread Jan Schenkel
There's a difference between the MySQL Database engine and the Connector library that allows C-programs to talk to the database. The RevDB driver for MySQL is is a wrapper around said Connector. You should also not confuse GPL and LGPL. Under LGPL, it is okay to use the open source software wit

Re: Setting up Enterprise

2009-06-09 Thread Devin Asay
On Jun 8, 2009, at 7:24 PM, George C Brackett wrote: Thanks! One source has been my inclination also, Jacqueline; anytime I have to keep things in sync I have found I'm asking for trouble. Obviously when using only Studio I only had one source. I guess that having the Windows IDE allows me to

Re: Determining which scrollbar was scrolled in a field with both H and V scrollbars

2009-06-09 Thread DunbarX
If you trap the rawKeydown message: on rawkeyDown tKey put tKey into yourVar end rawKeyDown tKey will give you the scroll, for example, scroll down gives "65308" and scroll up gives "65309" Craig Newman In a message dated 6/9/09 9:13:47 AM, p...@researchware.com writes: > This may be a d

Re: Determining which scrollbar was scrolled in a field with both H and V scrollbars

2009-06-09 Thread Björnke von Gierke
It's not perfect, but will give you a proper result, i think. untested: on scrollbarDrag --theDrag --param not sent for fields, evil if the vScroll of me = the PrevScrollV of me put true into vScrolled else put false into vScrolled end if if the hScroll of me = the PrevScrollH of

Determining which scrollbar was scrolled in a field with both H and V scrollbars

2009-06-09 Thread Paul Dupuis
This may be a dumb question, but does anyone know of a way to determine which scrollbar (horizontal or vertical) was scrolled in a field with both a horizontal and vertical scrollbar when the scrollBarDrag message (or any of the scrollBar* messages) are sent to that field? Thanks, -- Paul Dup

Re: OS X Dock menu

2009-06-09 Thread Björnke von Gierke
I think this "unsupported" feature needs a revision soon, especially in the light of windows 7 support for highly customisable rightclick menus on the task bar. have fun Björnke -- official ChatRev page: http://bjoernke.com/runrev/chatrev.php Chat with other RunRev developers: go stack UR

Re: Remote database access: How?

2009-06-09 Thread Björnke von Gierke
On 9 Jun 2009, at 06:18, Jan Schenkel wrote: If I remember correctly, it has to do with the license of the connector - MySQLabs changed it from LGPL to GPL at one point, which would force RunRev to also open-source the engine if they wanted to continue shipping the driver with the Revolutio

Re: Datagrid problem in standalone

2009-06-09 Thread Trevor DeVore
On Jun 8, 2009, at 3:14 PM, Beat Cornaz wrote: I followed the instructions, but it did not work. After that I experimented a bit over the weekend and found the 'problem'. The substack "Data Grid Templates 12343etc" got created all right, so no need for the "Data Grid Templates Dud" substack.

Re: Remote database access: How?

2009-06-09 Thread Bernard Devlin
I take it that this is a temporary thing? The standard practice would be to put some kind of "application server" (however simple) in front of the database, especially if the database is sitting on the internet, and access is only by username/password, and if the connections are unencrypted. Bern

Re: OS X Dock menu

2009-06-09 Thread Mark Schonewille
Hi Sims, You need the unsupported feature of the icon menu, which is described in the read me files that come with Revolution. I made a little utility to edit this menu. You can find it at . It is pretty old by now, but it should still work. -- B

Re: OS X Dock menu

2009-06-09 Thread kl...@major.on-rev.com
Hi sims, Many moons ago, Richard Gaskin added an enhancement request to the 'Quality Control' list - number 3339 "It would be handy to have a Dock menu for OS X, and perhaps the same syntax would also provide a right-click menu for Windows." Is there currently any way to put a menu into a D

OS X Dock menu

2009-06-09 Thread jim sims
Many moons ago, Richard Gaskin added an enhancement request to the 'Quality Control' list - number 3339 "It would be handy to have a Dock menu for OS X, and perhaps the same syntax would also provide a right-click menu for Windows." Is there currently any way to put a menu into a Docked icon?

Re: What do Rev programmers charge per hour for programming?

2009-06-09 Thread Luis
Reminds me of the student that filled their bottom wardrobe drawer with porridge, and took a slice for breakfast, lunch and supper. I think they were found dead, not sure why. Cheers, Luis. On 7 Jun 2009, at 18:18, Richmond Mathewson wrote: That remark about Cup Noodles was not very nice:

RE: experience with VBScript on Vista needed

2009-06-09 Thread Jim Bufalini
Hi Phil, > Have you tried "putting" tVBS just before the "do" to see what the VB > script looks like? No, but I had put in a breakpoint. ;-) The script looked fine. And, as I said, suspecting line endings, I tried CRLF, etc. > You might see some obvious thing malformed. Or is it > possible ther