Re: altBrowser Print
Hi Derek: On my win2k I get err "The specified module could not be found". /H I've just found a workaround for printing with a dialog box in altBrowser for Windows, and I felt like sharing it. I know that this works on WinXP Home SP2 with IE 6. I don't know about older versions, but anyone else who has it should be able to test it. on doPrint set cursor to watch set the hideConsoleWindows to true if "NT" is in the systemVersion then set the shellCommand to "cmd.exe" else set the shellCommand to "command.exe" get shell("rundll32.exe C:\WINDOWS\System32\mshtml.dll,PrintHTML" && quote & theURLtoPrint & quote) end doPrint ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Thanks to everyone here I was able to get this figured out. It's a little complicated (and embarrassing) to describe my mistakes but your examples and ideas helped a lot. Have a great weekend. Var On 18-Mar-05, at 10:30 PM, James Richards wrote: This is just a shot in the dark, but could there be a problem with using 'user' as the variable name? Regards James On 18 Mar 2005 16:41:47 -0800, Varen Swaab wrote: Thanks everyone, I appreciate the help but nothing has worked for me. I agree, the examples you are giving should work and if I simply put a numerical value in place of the variable it works just fine, but the variable just doesn't work. Do you have any idea why it wouldn't work? This is pretty simple code so it must be another factor, I just can't think of what...h. Thanks Var ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Option menu strangeness
Just a followup on this strangeness. Soon after posting the last message, Rev really started wigging out. The debugger wouldn't work properly and Rev started crashing. I restarted Rev several times with the same results. I tried editing the option button (it was actually an option button, not a combo button) and every time I'd click it after the edit, Rev would quit. I went so far as to reinstall a new version of 2.5.1, but this behavior continued. Finally I copied the button to a new stack, deleted the button on my current stack, and then copied it back to my current stack. After this the button worked without crashing Rev (but the 'on mouseup' message still never got sent). !!?? Somehow Rev got *very* confused about this button. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Applescript question
On 3/18/05 6:41 PM, "Howard Bornstein" <[EMAIL PROTECTED]> wrote: > I am currently calling an application from within Rev with the "tell > to activate" applescript command. But I'd like to know > what application was active when this was called (it won't be Rev, > since this is running in the background) so I can reactivate it after > the script is finished. > > Is there a way to use Applescript to find out the currently active > application? Forgive my utter ignorance about Applescript. No problem... here's what I use: tell application "System Events" get the name of every application process whose frontmost is true end tell If you're using OS 9, tell the Finder instead of System Events. The reason this works is that there can only be one process whose frontmost is true, so it returns the name of the frontmost process. HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
This is just a shot in the dark, but could there be a problem with using 'user' as the variable name? Regards James On 18 Mar 2005 16:41:47 -0800, Varen Swaab wrote: Thanks everyone, I appreciate the help but nothing has worked for me. I agree, the examples you are giving should work and if I simply put a numerical value in place of the variable it works just fine, but the variable just doesn't work. Do you have any idea why it wouldn't work? This is pretty simple code so it must be another factor, I just can't think of what...h. Thanks Var ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: One more question for the evening
On Sat, 19 Mar 2005 06:15:50 +0100, MisterX <[EMAIL PROTECTED]> wrote: > Hi Doc, > > try this > get productname &tab& quantity &tab& price & CR > put myline before line 2 of fld "table" > > cheers > Xavier Thank you kind sir! It seems that the "& CR" on the end of the line is most likely what I was overlooking... I am really *too* dense sometimes. -Doc- ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: One more question for the evening
Hi Doc, try this get productname &tab& quantity &tab& price & CR put myline before line 2 of fld "table" cheers Xavier > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of docmann > Sent: Saturday, March 19, 2005 05:49 > To: use-revolution@lists.runrev.com > Subject: One more question for the evening > > I'm almost ready for my weekend marathon of Rev coding, but I > need some help in understanding how to add one more > enhancement to my app before going too much further. > > Let's say that after I've extracted and displayed data from > my database (mostly in static labels), I want the user to be > able to click a button and add the contents of certain fields > into a table. > After the initial row of data is added to to the table (no > problemo), how would I script the same action for subsequent clicks? > > Shopping list style: > > Click --> adds a can of beans to row one in the table New > Query Click --> add a loaf of bread to the second row New > Query Click --> add a (...well, you get the general idea) > > I've only played around with the idea a small bit, but I > guess from reading the doc's I'm missing something in my > understanding... > > No need for any specific code, just a general idea to get me > started... I really enjoy learning how to use Rev, but I'm a > little too dense at times. > > Thanks, > -Doc- > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
One more question for the evening
I'm almost ready for my weekend marathon of Rev coding, but I need some help in understanding how to add one more enhancement to my app before going too much further. Let's say that after I've extracted and displayed data from my database (mostly in static labels), I want the user to be able to click a button and add the contents of certain fields into a table. After the initial row of data is added to to the table (no problemo), how would I script the same action for subsequent clicks? Shopping list style: Click --> adds a can of beans to row one in the table New Query Click --> add a loaf of bread to the second row New Query Click --> add a (...well, you get the general idea) I've only played around with the idea a small bit, but I guess from reading the doc's I'm missing something in my understanding... No need for any specific code, just a general idea to get me started... I really enjoy learning how to use Rev, but I'm a little too dense at times. Thanks, -Doc- ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Option menu strangeness
Very strange. I also just ran into a very weird (and different) oddity using combo buttons. Suddenly a combo button I've been using on a stack stopped working. I was operating with a mouseup handler in it. When it stopped working I checked the message watcher and sure enough, no mouseup message was being sent. Everything else looked fine (mousedown was sent, for example). Here's where it gets really weird. If I copied the button to another stack, mouseup was sent. Since the button's handler gets first crack, I can't figure out how its mouseup message was getting hijacked. I'm not using any frontscripts. I resolved it by using the more traditional menupick message handler, but I have no idea why a) a previously working button would change its operation and b) why the mouseup message in particular suddenly stopped being sent. -- Regards, Howard Bornstein --- www.designeq.com On Fri, 18 Mar 2005 23:28:28 +, Graham Samuel <[EMAIL PROTECTED]> wrote: > I'm developing an app under the RR IDE and one of the stacks shows a > card with a lot of option buttons (menus) on it, allowing the user to > pick stuff from a set of little lists and to see what has been picked. > This has been working for ages: I read it by looking at the menuHistory > of the buttons, and I can set them by setting the menuHistory also. > > Suddenly today for about half an hour the thing stopped working. When I > clicked on (any) of the buttons, I saw the list of options, but they > wouldn't "stick", I mean if the options were > > A > B > C > > and B was showing, then picking A or C did nothing: the button reverted > to B as soon as I let go of the mouse. After a bit the problem went > away, leaving me totally mystified. I realise it must be something I've > done, but I can't guess what it could be. Has anyone got any > suggestions? BTW the IDE seemed to remain stable while all this was > happening - no trouble with its menus or buttons. Strange. > > Graham ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Getting as much system info possible
> Any suggestions? Thanks. Rob, Why not make a user stack containing user info per card. Easy to send and keep track of... A text file XML could also do or a custom prop... Depends on the end application. Keeping data is what computers are good at! ;) cheers Xavier ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: altBrowser Print
> The latest version of altBrowser will print both on Mac and PC. But, > your workaround is pretty cool :-) Thank you! I am using the latest version, but it fails to bring up a dialog box to choose any print options (unless that's a bug). I'm still working on Print Preview though, so we'll see. Derek Bump Dreamscape Software ___ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: center stack
Hello Paul, all you need to do is add a script to your main stack... something like this: on openStack set the loc of me to the screenLoc end openStack HTH, -Doc- On Fri, 18 Mar 2005 21:48:06 -0600, Paul Salyers <[EMAIL PROTECTED]> wrote: > Dear Rev Programmer, > > Is it possible to center a stack On OpenStack in the screen? > > I'm programming 800 X 600 and I want the stack to open in the center of the > screen for people with larger than 800 X 600 screen. > > How is this did? > > I search the help with "center" but got no help on what I wanted. > > Paul Salyers > PS1 - Senior Rep. > [EMAIL PROTECTED] > Http://ps1.SoftSeven.org > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: center stack
Paul, set the loc of this stack to the screenloc HTH Pat - Original Message - From: "Paul Salyers" <[EMAIL PROTECTED]> To: Sent: Saturday, March 19, 2005 1:48 PM Subject: center stack Dear Rev Programmer, Is it possible to center a stack On OpenStack in the screen? I'm programming 800 X 600 and I want the stack to open in the center of the screen for people with larger than 800 X 600 screen. How is this did? I search the help with "center" but got no help on what I wanted. Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
center stack
Dear Rev Programmer, Is it possible to center a stack On OpenStack in the screen? I'm programming 800 X 600 and I want the stack to open in the center of the screen for people with larger than 800 X 600 screen. How is this did? I search the help with "center" but got no help on what I wanted. Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: altBrowser Print
Hi Derek, The latest version of altBrowser will print both on Mac and PC. But, your workaround is pretty cool :-) best, Chipp Derek Bump wrote: I've just found a workaround for printing with a dialog box in altBrowser for Windows, and I felt like sharing it. I know that this works on WinXP Home SP2 with IE 6. I don't know about older versions, but anyone else who has it should be able to test it. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RevQueryDatabase help
I finally figured out why the SELECT LAST_INSERT_ID() sql statement wasn't working. I was using: revQueryDatabase(tConnection, dbQuery) Which doesn't give you data from the query but instead results in a useless number that increments weirdly (useless to me anyway). Instead all I had to do wos use: revDataFromQuery(,,tConnection, dbQuery) As shown below and it now works put empty into fld "Exec result" put revConnectionOfQuery("ConnectCrew") into tConnection -- first escape error if tConnection is not a number then put "tConnection is:" && dbCUR into fld "Exec result" exit mouseUp end if limit 1" into dbQuery put "SELECT LAST_INSERT_ID()" into dbQuery put revDataFromQuery(,,tConnection, dbQuery) into LastInsertID Also I found out that the "SELECT LAST_INSERT_ID() FROM tablename" sql statement results in a repeat of the ID for the number of rows in the table (don't get that either). Now everyone on this list knows that I program by trial and error... On 3/18/05 2:44 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Bill, > > If you want to get the last ID from a table in MySQL, use the following SELECT > statement, and put the result into a variable - which will be the last ID > value in that table: > > SELECT id FROM tripulatnes ORDER BY id DESC limit 1 > > This selects the column: id from the table: tripulantes, and sorts the table > by column: id, in descending order. This returns the last record in the table. > Warning: this only returns the last record, not the greatest (or MAX) value in > that column, which I'm assuming is the Primary Key to the table. > > Now if you want the MAX value returned from the column: id, use the following > SELECT statement: > > SELECT MAX(id) FROM tripulantes > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ||| )_) )_) )_) )___))___))___)\ )))_)\\ _|||\\\__ ---\ /- http://www.bluewatermaritime.com ^ ^ ^^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: protecting images in a standalone
Hello Jacque and thanks for the reply! Actually, after reading so much about them on this list, the idea of using custom properties to store the images was my first consideration. (I even purchased Dan's e-book as a reference). Although I may be wrong (most often the case), I just don't think it would work with the volume of images I need to use ---> about 4500 images, all around 3-5K in size. I guess I was just hoping that maybe there was a lib or external available for Rev, with some sort of encryption scheme that could be used. -Doc- On Fri, 18 Mar 2005 20:44:39 -0600, J. Landman Gay <[EMAIL PROTECTED]> wrote: > > You could put each image into a stack as a custom property. If the > images aren't too large, you could put more than one in each stack. Then > start using the stack, extract the custom property as needed, and load > it into an image object on your main stack. If you password-protect the > storage stack, the data content will be scrambled with the image content > if anyone tries to look at it in a text editor. It would be disguised on > casual inspection. > > -- > Jacqueline Landman Gay | [EMAIL PROTECTED] > HyperActive Software | http://www.hyperactivesw.com > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
On 3/18/05 6:41 PM, Varen Swaab wrote: Thanks everyone, I appreciate the help but nothing has worked for me. I agree, the examples you are giving should work and if I simply put a numerical value in place of the variable it works just fine, but the variable just doesn't work. Do you have any idea why it wouldn't work? The examples given on the list are valid, so it sounds like your variable doesn't hold the value you think it does. Try this: put "5" into user get "http://www.alptex.com/products/emulators/alptex16bie/"&user put it Then see if the message box contains what you expect. If the last character isn't a number, there is something else that is interfering with the value of "user". -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: protecting images in a standalone
On 3/18/05 6:47 PM, docmann wrote: Hello folks, Maybe someone out there can point me in the right direction... I'm finally getting started with my standalone DB app and need some ideas on how to go about protecting a *bunch* of jpg images that are used in the database. My preference is to continue hosting them on a remote server for use as needed, but the new consensus is that I need to built a fully standalone app. :( I've thought about just dumping them into a folder using an odd file naming convention along with an extention other than jpg, which would deter most average folks from pilfering. On the other hand, although there is no great value to anyone other than a few potential competitors, this will be a commercial app and the images are of a certain proprietary nature. Any ideas or suggestions for a better protection scheme that could be incorporated into a REV app? You could put each image into a stack as a custom property. If the images aren't too large, you could put more than one in each stack. Then start using the stack, extract the custom property as needed, and load it into an image object on your main stack. If you password-protect the storage stack, the data content will be scrambled with the image content if anyone tries to look at it in a text editor. It would be disguised on casual inspection. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting as much system info possible
On Mar 18, 2005, at 23:09:07 Malte Brill wrote: Message: 17 Date: Fri, 18 Mar 2005 23:09:07 +0100 From: Malte Brill <[EMAIL PROTECTED]> Subject: Re: Getting as much system info possible. To: use-revolution@lists.runrev.com Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Thanks Todd, Robert and Xavier! I can´t try the windows version now. On Os X.2.6 I get the following error: put shell(system_profiler) /bin/sh: line 1: 545 Segmentation fault system_profiler How would I use grep Todd? Cheers, Malte Thanks guys for leading me to what I was interested in doing but didn't know how. I used the following in the message box and got the items of the profiler. It took a little time to get the profiler in the message box (at first I thought I had a crash). In the message box: put shell("system_profiler") NOTE the quotes. From the profiler list, I found the serial number of my Imac G5 and then In the message box I typed: if "Serial Number xxx" is in shell("system_profiler") then beep 5 Now I have to figure out how to implement any item(s) in the profiler of a user in an application. At least it is a start. Any suggestions? Thanks. Regards ... Bob ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] #011 How-To stack: Managing user waiting
On Mar 18, 2005, at 5:48 AM, Éric Chatonet wrote: Hi everyone, #011 Managing user waiting (specially dedicated to beginners) Shows the different ways of indicating to the user that he has to wait a moment: static cursors, animated cursors, animated gifs, progression bars and how to use them. Wow, those frenchmen always deliver good things!!! I loved the "trick" with the progress bar and the button. I am using it right now... (better then my progress bar sheet windows) Thanks Andre -- Andre Alves Garzia 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
altBrowser Print
I've just found a workaround for printing with a dialog box in altBrowser for Windows, and I felt like sharing it. I know that this works on WinXP Home SP2 with IE 6. I don't know about older versions, but anyone else who has it should be able to test it. on doPrint set cursor to watch set the hideConsoleWindows to true if "NT" is in the systemVersion then set the shellCommand to "cmd.exe" else set the shellCommand to "command.exe" get shell("rundll32.exe C:\WINDOWS\System32\mshtml.dll,PrintHTML" && quote & theURLtoPrint & quote) end doPrint Derek Bump Dreamscape Software ___ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Search Rev docs "at the speed of thought"
On 3/18/05 5:23 PM, Wilhelm Sanke wrote: Thanks for the feedback. I am going to work on that and probably will be able to present a first improvement by the end of next week. Oh well, in *that* case, make it so we can put it in our plugins folder too. Then I can open it easily. ;) -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
What happens if you put value(varName)? Also, when you put the variable into the message box do you have the 5 returned to you? You could declare it a global and check the contents to make sure it holds what you want. Mark On Mar 18, 2005, at 4:41 PM, Varen Swaab wrote: Thanks everyone, I appreciate the help but nothing has worked for me. I agree, the examples you are giving should work and if I simply put a numerical value in place of the variable it works just fine, but the variable just doesn't work. Do you have any idea why it wouldn't work? This is pretty simple code so it must be another factor, I just can't think of what...h. Thanks Var On 18-Mar-05, at 11:54 AM, T. R. Ponn wrote: Varen, This also works: on mouseUp put "16bie" into user get url("http://www.alptex.com/products/emulators/alptex16bie/"&user) put it into msg -- the html of the page titled "16bie.html" on our site is in the msg box end mouseUp Best Regards, Tim Ponn Varen Swaab wrote: Hi I'm trying to load a file from a server by constructing an url which has a variable as part of the string. When I remove the variable code and use just a straight url everything works fine, the file on the server is found and loaded: get url "http://www.domain.com/view/xml/name/5";<<< this works!! However, when I try to insert a variable into the url string the file still loads from the server but the variable was not correctly passed onto the server--- resulting in the wrong page being sent back. global user put "5" into user get url "http://www.domain.com/view/xml/name/&user&"; <<< this doesn't work Klaus' suggestion didn't work either: get url("http://www.domain.com/view/xml/name/"; & user) <<< this doesn't work either I'm confident other parts of this, such as the server, etc are setup properly because if I simply put a "5" in the url I get the correct response. I hope this is enough information. Var On 18-Mar-05, at 11:27 AM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you mean it "doesn't work"? Do you get an error message, or do you expect something to happen that doesn't... If you could be more specific about what you are trying to do, we could probably help you more effectively. On Mar 18, 2005, at 1:50 PM, Varen Swaab wrote: Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Thanks. On 18-Mar-05, at 1:57 AM, Klaus Major wrote: Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named "user" and has a value of "3". get url "http://www.domain.com/view/xml/name/&user&"; Does anyone have any suggestions on how to write this? maybe you mean this: get url("http://www.domain.com/view/xml/name/"; & user) ? You have to "build" the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. <[EMAIL PROTECTED]> $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCOyur7aqtWrR9cZoRAo0GAJ44Y3hpj3fM1Iv8qOivcZUzgD/h8wCdHQs5 o/BDB13SczAVH/D9eFC8//Y= =d7uH -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Trial software and registering
sez [EMAIL PROTECTED]: >On Mar 18, 2005, at 11:07 AM, Alex Tweedly wrote: >>> I >>> check the creation date of the latest file as my check file for the >>> current date and compare that against the timeout date. >>> >> Why is that not "vulnerable to turning back the system clock" ? >> If I set my system clock to a year ago, then each time I access the >> web, I'll create my cookie files with dates in 2004. > >Perhaps, that would not be vulnerable to _temporarily_ turning back the >system clock. It might be reasonable to check for dates lots of places >and then assume that the current real date is the latest of those or >later. One can't prove that a demo is valid, but it the assumption >holds then one can prove that it has expired. Better idea: Presuming your app uses the "standalone splash screen w/ the executable being a document" model, give the executable a custom property which *starts out* at a value of *zero*, the first time it's run. Include this code in the executable's stack script: on preOpenStack PreOpenStuff ... CheckingTime ... OtherPreOpenStuff end PreOpenStuff on CheckingTime put the TotalTimeUsed of this stack into Fred add 1 to Fred if Fred > 600 then # or whatever number you like answer "I'm sorry, but this demo is expired." quit # or however you want to handle it end if set the TotalTimeUsed of this stack to Fred send "CheckingTime" to me in 60 seconds end CheckingTime This way, the TotalTimeUsed property is an explicit record of the number of minutes this app has been used, so *it doesn't matter* what the user does with his system clock. Of course, if you copy the stack, you copy the custom property with it, which means copies will start out with whatever amount of already-used time on their "clock". This is not necessarily a good thing. Perhaps it might be appropriate for the preOpenStack handler to gather a bit of data on the hardware configuration of the machine it's running on, compare that to a buit of data it (the stack) has stored, and "reset the clock" if the hardware configuration is changed? If so, the "clock" will of course "reset" any time one of the relevant hardware-thingies gets upgraded... but how often does that happen? Another option: Use a textfile instead of a custom property. Check for the existence of the textfile; if it ain't there, you're on a 'virgin' machine, and start the clock running from zero. I'd suggest that you use the app's Preferences file for this purpose -- less heartburn all around. Have the app keep track of the minutes it's been in use, and have it adjust the use-number in the prefs file when it shuts down. If you're worries about people deliberately crashing the app to avoid this step, you can have it write to the Prefs file once every 5-10 minutes or so while in use. Yes, under this scheme it's likely that when the "official" time limit (10 hours, 15 days, whatever) rolls around, the user may have used the app for *longer* than the "official" allotment of time -- consider what happens if the "clock" is incremented every 60 seconds, and the user quits 50 seconds after the latest such increment. My response: So what? *Who cares* if the user gets more than your arbitrary 10 hours' (or whatever length of time) use out of your app? The point of timing out your app is that the user can't continue using it *indefinitely*, and this scheme certainly does that. Hope this helps... ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: protecting images in a standalone
On Fri, 18 Mar 2005 16:57:18 -0800, Trevor DeVore <[EMAIL PROTECTED]> wrote: > Is this a revolution application that is connected to a Database? If > so couldn't you just store the binary data of the jpg images in the > database and then retrieve the image data as needed and assign the data > to an image object in Revolution? > > -- > Trevor DeVore > Blue Mango Multimedia > [EMAIL PROTECTED] > > Hello Trevor, That's pretty close to how I have the app set up now, with the difference being that the images are stored on a totally remote server from the data. Basically, using portions of the data stored in the mysql file, I build a URL for each query in order to download/display the image. It works great and that's how I would prefer to keep it! Unfortunately, there are some concerns about end user's having slow connections, the possibilites of server down time, so on and so forth that we hope to avoid, so everything really needs to be stored on the user's hard drive. The mysql version is the *easily* the most functional app I've ever put together. My co-workers and I hammer on it all day long with virtually no problems and updates are a breeze. It truly breaks my heart to have to go any other direction... :( -Doc- ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting as much system info possible.
On 3/18/05 4:09 PM, "Malte Brill" <[EMAIL PROTECTED]> wrote: > Thanks Todd, Robert and Xavier! > > I can´t try the windows version now. > > On Os X.2.6 I get the following error: > > put shell(system_profiler) > > /bin/sh: line 1: 545 Segmentation fault system_profiler > > How would I use grep Todd? Malte, here's what I use to get the computer's name in OS X: put shell("system_profiler SPSoftwareDataType") into tData get matchText(tData,"(?s)Computer Name:\W*(.*?)\n",tName) You need to pass a type of information you want to get back to system_profiler (in this case "SPSoftwareDataType"). To get the different data types do: put shell("system_profiler -listDataTypes") HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: protecting images in a standalone
On Mar 18, 2005, at 4:47 PM, docmann wrote: Hello folks, Maybe someone out there can point me in the right direction... I'm finally getting started with my standalone DB app and need some ideas on how to go about protecting a *bunch* of jpg images that are used in the database. My preference is to continue hosting them on a remote server for use as needed, but the new consensus is that I need to built a fully standalone app. :( I've thought about just dumping them into a folder using an odd file naming convention along with an extention other than jpg, which would deter most average folks from pilfering. On the other hand, although there is no great value to anyone other than a few potential competitors, this will be a commercial app and the images are of a certain proprietary nature. Any ideas or suggestions for a better protection scheme that could be incorporated into a REV app? Is this a revolution application that is connected to a Database? If so couldn't you just store the binary data of the jpg images in the database and then retrieve the image data as needed and assign the data to an image object in Revolution? -- Trevor DeVore Blue Mango Multimedia [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
protecting images in a standalone
Hello folks, Maybe someone out there can point me in the right direction... I'm finally getting started with my standalone DB app and need some ideas on how to go about protecting a *bunch* of jpg images that are used in the database. My preference is to continue hosting them on a remote server for use as needed, but the new consensus is that I need to built a fully standalone app. :( I've thought about just dumping them into a folder using an odd file naming convention along with an extention other than jpg, which would deter most average folks from pilfering. On the other hand, although there is no great value to anyone other than a few potential competitors, this will be a commercial app and the images are of a certain proprietary nature. Any ideas or suggestions for a better protection scheme that could be incorporated into a REV app? -Doc- ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Thanks everyone, I appreciate the help but nothing has worked for me. I agree, the examples you are giving should work and if I simply put a numerical value in place of the variable it works just fine, but the variable just doesn't work. Do you have any idea why it wouldn't work? This is pretty simple code so it must be another factor, I just can't think of what...h. Thanks Var On 18-Mar-05, at 11:54 AM, T. R. Ponn wrote: Varen, This also works: on mouseUp put "16bie" into user get url("http://www.alptex.com/products/emulators/alptex16bie/"&user) put it into msg -- the html of the page titled "16bie.html" on our site is in the msg box end mouseUp Best Regards, Tim Ponn Varen Swaab wrote: Hi I'm trying to load a file from a server by constructing an url which has a variable as part of the string. When I remove the variable code and use just a straight url everything works fine, the file on the server is found and loaded: get url "http://www.domain.com/view/xml/name/5";<<< this works!! However, when I try to insert a variable into the url string the file still loads from the server but the variable was not correctly passed onto the server--- resulting in the wrong page being sent back. global user put "5" into user get url "http://www.domain.com/view/xml/name/&user&"; <<< this doesn't work Klaus' suggestion didn't work either: get url("http://www.domain.com/view/xml/name/"; & user) <<< this doesn't work either I'm confident other parts of this, such as the server, etc are setup properly because if I simply put a "5" in the url I get the correct response. I hope this is enough information. Var On 18-Mar-05, at 11:27 AM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you mean it "doesn't work"? Do you get an error message, or do you expect something to happen that doesn't... If you could be more specific about what you are trying to do, we could probably help you more effectively. On Mar 18, 2005, at 1:50 PM, Varen Swaab wrote: Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Thanks. On 18-Mar-05, at 1:57 AM, Klaus Major wrote: Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named "user" and has a value of "3". get url "http://www.domain.com/view/xml/name/&user&"; Does anyone have any suggestions on how to write this? maybe you mean this: get url("http://www.domain.com/view/xml/name/"; & user) ? You have to "build" the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. <[EMAIL PROTECTED]> $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCOyur7aqtWrR9cZoRAo0GAJ44Y3hpj3fM1Iv8qOivcZUzgD/h8wCdHQs5 o/BDB13SczAVH/D9eFC8//Y= =d7uH -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Applescript question
I am currently calling an application from within Rev with the "tell to activate" applescript command. But I'd like to know what application was active when this was called (it won't be Rev, since this is running in the background) so I can reactivate it after the script is finished. Is there a way to use Applescript to find out the currently active application? Forgive my utter ignorance about Applescript. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Trial software and registering
> Why is that not "vulnerable to turning back the system clock" ? > If I set my system clock to a year ago, then each time I access the > web, I'll create my cookie files with dates in 2004. This method isn't foolproof, just effective. It would generally not work well for most people in businesses to permanently change their system clock just to spoof some software. All their emails would have the wrong dates and for most businesses, this would not be an option. People can always find a way around something like this. This method works well and defeats the semi-serious spoofer who might temporarily change the system clock or delete or change a prefs file. If you don't think this is a useful method, uh, don't use it. :-) -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: field information bails out on card 2
At 04:33 PM 3/18/2005, you wrote: Try put field "L1" of card 1 into field "L1" of card 2 On Mar 18, 2005, at 4:20 PM, Paul Salyers wrote: put field "L1" into field "L1" Dear Rev Programmer Thanks this worked great. Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Trial software and registering
Dar Scott wrote: Perhaps, that would not be vulnerable to _temporarily_ turning back the system clock. It might be reasonable to check for dates lots of places and then assume that the current real date is the latest of those or later. One can't prove that a demo is valid, but it the assumption holds then one can prove that it has expired. If you do that on my system, you might well find it's 2024 - I have a bunch of files copied from a digital camera which hadn't had the date/time set up before using it, and the "Date Modified" was copied over, as well as the "Date picture taken". (And don't ask me why Sony made the camera default to 2024 :-). If a demo program told me it had expired as soon I installed it, I doubt if I'd go much further with testing it. Dates on files are just not that reliable . -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 18/03/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: field information bails out on card 2
Some thoughts (but maybe not answers): - Is fld "L1" of card 2 "under" (covered by) some other object? - Is the visible of fld "L1" of cd 2 set to true? (You can check both the above conditions in the 'Application Browser', available in the Rev 'Tools' menu.) - If the fields are positioned in the same spot on both cards, you could group the field and then place it (the group) on both cards with the field's 'sharedText' property set to true. That way you don't have to keep putting the same value into it. Phil Davis Paul Salyers wrote: Dear Rev Programmers, I have the following line in a on openCard line. it places the version number on card 1 ok, no problem. --put item 5 of line 1 of tData into field "L1" For card 2 I placed the above line in on openCard but the version does not come up. I also trues to use different versions of the below line. Still no go. put field L1 into field "L1" put field "L1" into field "L1" put L1 into field "L1" put "L1" into field "L1" Both cards have a field L1 How do I get the field1 of card 2 to show up? Also I have seen the term: into field and after field Does "into" replace the current data and "after" adds data? Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: field information bails out on card 2
Paul, You could make tData a global variable instead of a local variable global gData on openCard put item 5 of line 1 of gData into field "L1" -- whatever else end openCard You will also need to declare the global in the script where you put the data into it. If you are going to put from a fld on one card to a fld on another card: put fld "L1" of cd 1 into fld "L1" Does "into" replace the current data and "after" adds data? Yes, that's right. If fld "L1" is on a lot of cards, is part of a group with background behaviour (in the group's property inspector) set to true (you can have just one control in a group) and you want to display exactly the same data in the fld on each card, you can check "share text" on the flds property inspector. Then whatever is put into one fld shows in all of them.(see sharedText property in the Dictionary) - Original Message - From: "Paul Salyers" <[EMAIL PROTECTED]> To: Sent: Saturday, March 19, 2005 8:20 AM Subject: field information bails out on card 2 Dear Rev Programmers, I have the following line in a on openCard line. it places the version number on card 1 ok, no problem. --put item 5 of line 1 of tData into field "L1" For card 2 I placed the above line in on openCard but the version does not come up. I also trues to use different versions of the below line. Still no go. put field L1 into field "L1" put field "L1" into field "L1" put L1 into field "L1" put "L1" into field "L1" Both cards have a field L1 How do I get the field1 of card 2 to show up? Also I have seen the term: into field and after field Does "into" replace the current data and "after" adds data? Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Option menu strangeness
I'm developing an app under the RR IDE and one of the stacks shows a card with a lot of option buttons (menus) on it, allowing the user to pick stuff from a set of little lists and to see what has been picked. This has been working for ages: I read it by looking at the menuHistory of the buttons, and I can set them by setting the menuHistory also. Suddenly today for about half an hour the thing stopped working. When I clicked on (any) of the buttons, I saw the list of options, but they wouldn't "stick", I mean if the options were A B C and B was showing, then picking A or C did nothing: the button reverted to B as soon as I let go of the mouse. After a bit the problem went away, leaving me totally mystified. I realise it must be something I've done, but I can't guess what it could be. Has anyone got any suggestions? BTW the IDE seemed to remain stable while all this was happening - no trouble with its menus or buttons. Strange. Graham --- Graham Samuel / The Living Fossil Co. / UK and France ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Search Rev docs "at the speed of thought"
Mark Swindell <[EMAIL PROTECTED]> wrote: > Very cool. What I'd like when searching is to return ALL instances of > the search in ALL categories at once... not have to predefine where I > want to search before the fact. Not doing so presupposes knowledge > that doesn't necessarily exist. Also, there is an extra step by > invoking the search dialog... a visible field with the search would be > more intuitive than chosing a category and filling in a dialog. Still, > a great, usable, useful stack. Thanks. > Mark and "Pat Trendler" <[EMAIL PROTECTED]> added: > Exactly my thoughts as well. > > Pat > [EMAIL PROTECTED] Thanks for the feedback. I am going to work on that and probably will be able to present a first improvement by the end of next week. Best regards, Wilhelm ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: field information bails out on card 2
Try put field "L1" of card 1 into field "L1" of card 2 On Mar 18, 2005, at 4:20 PM, Paul Salyers wrote: put field "L1" into field "L1" ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting as much system info possible.
On Mar 18, 2005, at 2:09 PM, Malte Brill wrote: How would I use grep Todd? Rev implements pattern matching through matchText and matchChunk. Take a look at those functions. -- Trevor DeVore Blue Mango Multimedia [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Timed Execution of a Script (second time lucky?)
sez [EMAIL PROTECTED]: >I'm playing with Revolution as a CGI engine with the scripts in stacks. > > I'm wondering if there's a way to have Revolution executive a script >at specified intervals, for example, every Tuesday night at ten >o'clock. > >Any thoughts? Sure. The basic idea is pretty simple: on openStack # or whatever other trigger you like ... send ("TimedScript" && 86400) to me in 3600 seconds ... end openStack on TimedScript TheInterval DoAllKindsaStuffHere send ("TimedScript" && TheInterval) to me in TheInterval seconds end TimedScript Of course, this kinda assumes that your machine will NEVER crash or go offline. Not what you'd call a realistic assumption. Therefore, a better idea would be to figure out when you want "TimedScript" to run the first time, and how often it should run thereafter (you're likely to find the dateItems time/date format helpful here); write that information to a text file on disc; and every time the program is run, it reads that text file & uses that information. In short: The key is "send TheMessage to me in XXX seconds". The rest -- figuring out what value to use for XXX -- is up to you. Hope this helps... ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
field information bails out on card 2
Dear Rev Programmers, I have the following line in a on openCard line. it places the version number on card 1 ok, no problem. --put item 5 of line 1 of tData into field "L1" For card 2 I placed the above line in on openCard but the version does not come up. I also trues to use different versions of the below line. Still no go. put field L1 into field "L1" put field "L1" into field "L1" put L1 into field "L1" put "L1" into field "L1" Both cards have a field L1 How do I get the field1 of card 2 to show up? Also I have seen the term: into field and after field Does "into" replace the current data and "after" adds data? Paul Salyers PS1 - Senior Rep. [EMAIL PROTECTED] Http://ps1.SoftSeven.org ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting as much system info possible.
Thanks Todd, Robert and Xavier! I can´t try the windows version now. On Os X.2.6 I get the following error: put shell(system_profiler) /bin/sh: line 1: 545 Segmentation fault system_profiler How would I use grep Todd? Cheers, Malte___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
ODBC connection help
Hi Bill, Glad to help with the SQL statement. But I would ask of you (or anyone else) how your ODBC connection is working. I have installed Dreamcard onto my work PC, and cannot for the life of me to get a connection to SQL Server thru the ODBC connection. I've created the DSN for the connection to SQL Server, and tested it with MS Access - no problem. Now back in Dreamcard, I've created the Database Query with the Builder, clicked on the "Connect" button. It returns connected to the Connection status. On the Record Set tab, I click on the Table drop down but nothing happens - it returns nothing. I've also typed in the SQL SELECT statement and then clicked on the Refresh query button, but then Dreamcard returns "Not Responding", and I have to kill the session. Question: Using Dreamcard (not sure so far, that is the right name), what is it looking for as related to the ODBC connection? I guess my real question is - HOW DO I GET THIS TO WORK? sorry, this is getting frustrating!! TIA, Mark ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Trial software and registering
On Mar 18, 2005, at 11:07 AM, Alex Tweedly wrote: I check the creation date of the latest file as my check file for the current date and compare that against the timeout date. Why is that not "vulnerable to turning back the system clock" ? If I set my system clock to a year ago, then each time I access the web, I'll create my cookie files with dates in 2004. Perhaps, that would not be vulnerable to _temporarily_ turning back the system clock. It might be reasonable to check for dates lots of places and then assume that the current real date is the latest of those or later. One can't prove that a demo is valid, but it the assumption holds then one can prove that it has expired. Dar -- ** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming Services and Software ** ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Varen, This also works: on mouseUp put "16bie" into user get url("http://www.alptex.com/products/emulators/alptex16bie/"&user) put it into msg -- the html of the page titled "16bie.html" on our site is in the msg box end mouseUp Best Regards, Tim Ponn Varen Swaab wrote: Hi I'm trying to load a file from a server by constructing an url which has a variable as part of the string. When I remove the variable code and use just a straight url everything works fine, the file on the server is found and loaded: get url "http://www.domain.com/view/xml/name/5";<<< this works!! However, when I try to insert a variable into the url string the file still loads from the server but the variable was not correctly passed onto the server--- resulting in the wrong page being sent back. global user put "5" into user get url "http://www.domain.com/view/xml/name/&user&"; <<< this doesn't work Klaus' suggestion didn't work either: get url("http://www.domain.com/view/xml/name/"; & user) <<< this doesn't work either I'm confident other parts of this, such as the server, etc are setup properly because if I simply put a "5" in the url I get the correct response. I hope this is enough information. Var On 18-Mar-05, at 11:27 AM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you mean it "doesn't work"? Do you get an error message, or do you expect something to happen that doesn't... If you could be more specific about what you are trying to do, we could probably help you more effectively. On Mar 18, 2005, at 1:50 PM, Varen Swaab wrote: Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Thanks. On 18-Mar-05, at 1:57 AM, Klaus Major wrote: Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named "user" and has a value of "3". get url "http://www.domain.com/view/xml/name/&user&"; Does anyone have any suggestions on how to write this? maybe you mean this: get url("http://www.domain.com/view/xml/name/"; & user) ? You have to "build" the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. <[EMAIL PROTECTED]> $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCOyur7aqtWrR9cZoRAo0GAJ44Y3hpj3fM1Iv8qOivcZUzgD/h8wCdHQs5 o/BDB13SczAVH/D9eFC8//Y= =d7uH -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Varen, Hmit works here: -- Shameless plug for an example follows: on mouseUp put "alptex16bie" into user get url("http://www.alptex.com/products/emulators/"&user&"/";) put it into msg --the html code looks fine! end mouseUp Best Regards, Tim Ponn Varen Swaab wrote: Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Thanks. On 18-Mar-05, at 1:57 AM, Klaus Major wrote: Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named "user" and has a value of "3". get url "http://www.domain.com/view/xml/name/&user&"; Does anyone have any suggestions on how to write this? maybe you mean this: get url("http://www.domain.com/view/xml/name/"; & user) ? You have to "build" the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Hi I'm trying to load a file from a server by constructing an url which has a variable as part of the string. When I remove the variable code and use just a straight url everything works fine, the file on the server is found and loaded: get url "http://www.domain.com/view/xml/name/5";<<< this works!! However, when I try to insert a variable into the url string the file still loads from the server but the variable was not correctly passed onto the server--- resulting in the wrong page being sent back. global user put "5" into user get url "http://www.domain.com/view/xml/name/&user&"; <<< this doesn't work Klaus' suggestion didn't work either: get url("http://www.domain.com/view/xml/name/"; & user) <<< this doesn't work either I'm confident other parts of this, such as the server, etc are setup properly because if I simply put a "5" in the url I get the correct response. I hope this is enough information. Var On 18-Mar-05, at 11:27 AM, Frank D. Engel, Jr. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you mean it "doesn't work"? Do you get an error message, or do you expect something to happen that doesn't... If you could be more specific about what you are trying to do, we could probably help you more effectively. On Mar 18, 2005, at 1:50 PM, Varen Swaab wrote: Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Thanks. On 18-Mar-05, at 1:57 AM, Klaus Major wrote: Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named "user" and has a value of "3". get url "http://www.domain.com/view/xml/name/&user&"; Does anyone have any suggestions on how to write this? maybe you mean this: get url("http://www.domain.com/view/xml/name/"; & user) ? You have to "build" the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. <[EMAIL PROTECTED]> $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCOyur7aqtWrR9cZoRAo0GAJ44Y3hpj3fM1Iv8qOivcZUzgD/h8wCdHQs5 o/BDB13SczAVH/D9eFC8//Y= =d7uH -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you mean it "doesn't work"? Do you get an error message, or do you expect something to happen that doesn't... If you could be more specific about what you are trying to do, we could probably help you more effectively. On Mar 18, 2005, at 1:50 PM, Varen Swaab wrote: Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Thanks. On 18-Mar-05, at 1:57 AM, Klaus Major wrote: Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named "user" and has a value of "3". get url "http://www.domain.com/view/xml/name/&user&"; Does anyone have any suggestions on how to write this? maybe you mean this: get url("http://www.domain.com/view/xml/name/"; & user) ? You have to "build" the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. <[EMAIL PROTECTED]> $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCOyur7aqtWrR9cZoRAo0GAJ44Y3hpj3fM1Iv8qOivcZUzgD/h8wCdHQs5 o/BDB13SczAVH/D9eFC8//Y= =d7uH -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
using the left mousebutton in an unlocked field
I just figured out that, while the mousedown handler does not work with the left button in an unlocked field, one can do much the same thing using the selectionchanged handler. I think this is very useful. Like with the following script, which allows for regular left-button hyperlinking in an unlocked field: on selectionchanged if the linktext of the mousecharchunk <> empty then put the linktext of the mousecharchunk into LT if exists(card LT) = true then go card LT unlock cursor end if end if end selectionchanged on mousemove if the mousecharchunk <> empty and the linktext of the mousecharchunk <> empty then set the cursor to hand lock cursor else unlock cursor end if end mousemove ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RunRev crashes when you experiment with database queries
This sounds pretty complicated when the simple SELECT LAST_INSERT_ID() should work just by itself (and does if you run it from any other program). I think I'm going to go with: SELECT id FROM tripulatnes ORDER BY id DESC limit 1 That was suggested by mfstuart (thanks for that different approach) as it looks fairly easy to implement. I sure wish that SELECT LAST_INSERT_ID() would work. By the way, I've learned to use "YourSQL" to test out my SQL statements first as testing them in Rev is no fun at all (too many crashes). I think I will experiment with your lock table thing as it sounds interesting, thanks for that suggestion too (I need all the help I can get). Bill On 3/18/05 12:46 PM, "Chris Sheffield" <[EMAIL PROTECTED]> wrote: > Bill, > > I'm no MySQL expert, but I have some code that accomplishes this and it > seems to work just fine. From what I'm seeing in the code I have, it's > necessary to issue a "Lock Table [my table] Write" command, then insert your > record, and then call Last_Insert_ID. After that you have to use Unlock > Tables. > > HTH, > Chris Sheffield > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Bill > Sent: Friday, March 18, 2005 8:18 AM > To: How to use Revolution > Subject: Re: RunRev crashes when you experiment with database queries > > I tried that command (which is what you use to find the last insert in the > whole database instead of just one table -- the name of the table I'm > dealing with is "tripulantes" which means crewmembers) and it also didn't > work. The command is behaving very strangely as I can run the query over and > over again and it keeps returning a number that it increments by one each > time even though no records have been added in the database. > > > On 3/18/05 11:06 AM, "Gordon Tillman" <[EMAIL PROTECTED]> wrote: > >> Hi Bill, >> >> On Mar 18, 2005, at 08:58, Bill wrote: >> >>> I am trying to get the ID number of the last inserted record in a MySQL >>> database. Can anyone help me do this? >> ... >>> put "SELECT LAST_INSERT_ID() from tripulantes" into dbQuery >>> put revQueryDatabase(tConnection, dbQuery) into LastInsertID >> >> I don't know if this is your problem or not, but I just use SELECT >> LAST_INSERT_ID() as the entire SQL command, omitting the "from..." >> part. I just just my MySQL user manual and I don't see the "from ..." >> as being a valid part of the command, unless maybe you are using a >> newer version than what I have. >> >> --gordy >> >> ___ >> use-revolution mailing list >> use-revolution@lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > ||| >)_) )_) )_) > )___))___))___)\ > )))_)\\ >_|||\\\__ > ---\ /- http://www.bluewatermaritime.com > ^ ^ > ^^^^^ > ^^^ > > 24 hour cell: (787) 378-6190 > fax: (787) 809-8426 > > Blue Water Maritime > P.O. Box 91 > Puerto Real, PR 00740 > > > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ||| )_) )_) )_) )___))___))___)\ )))_)\\ _|||\\\__ ---\ /- http://www.bluewatermaritime.com ^ ^ ^^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Hi Varen, Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Hmmm, maybe we need the url to be a folder? To get "index.html"...? Try: get url("http://www.domain.com/view/xml/name/"; & user & "/") Thanks. Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Klaus Thanks for the idea but this doesn't work either. There is something about this syntax that isn't right. Do you have another idea? Thanks. On 18-Mar-05, at 1:57 AM, Klaus Major wrote: Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named "user" and has a value of "3". get url "http://www.domain.com/view/xml/name/&user&"; Does anyone have any suggestions on how to write this? maybe you mean this: get url("http://www.domain.com/view/xml/name/"; & user) ? You have to "build" the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RevQueryDatabase help
Bill, If you want to get the last ID from a table in MySQL, use the following SELECT statement, and put the result into a variable - which will be the last ID value in that table: SELECT id FROM tripulatnes ORDER BY id DESC limit 1 This selects the column: id from the table: tripulantes, and sorts the table by column: id, in descending order. This returns the last record in the table. Warning: this only returns the last record, not the greatest (or MAX) value in that column, which I'm assuming is the Primary Key to the table. Now if you want the MAX value returned from the column: id, use the following SELECT statement: SELECT MAX(id) FROM tripulantes ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Problems with Run Rev 2.5 on OS X 10.2.3
OS 10.3.7 Revolution 2.5.1 version released a day or two ago. RevOnLine and documentation both work fine. In fact, RevOnLine seems much more responsive than I remember in the past (though I have not used it much). Bruce At 7:32 AM -0800 3/18/05, Jim Hurley wrote: > >Using 2.5 I cannot access either the "rev OnLIne" or the >"Documentation" windows. They are completely intert: Can't close or >move them. Can't a access any of the buttons. They give me no >respect. I need to do a "forced quit" to get rid of them. > >Anyone out there using 2.5 on 10.2.3? Any problems? > -- Bruce Lewis Lewis & Collyer 160 John Street, Suite 401 Toronto, Ontario Canada M5V 2E5 (416) 598-4357 FAX (416) 598-1067 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Trial software and registering
Howard Bornstein wrote: I use an effective method of timing out software that isn't vulnerable to turning back the system date and doesn't rely on a data file. I check a system directory that is updated by access to the web (e.g. a directory that's a repository for internet cookies). In most companies these days, people access the interenet every day. Thus, there is almost always a file that's been created in that directory each day. I check the creation date of the latest file as my check file for the current date and compare that against the timeout date. Why is that not "vulnerable to turning back the system clock" ? If I set my system clock to a year ago, then each time I access the web, I'll create my cookie files with dates in 2004. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 15/03/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Timed Execution of a Script (second time lucky?)
Thank you so much, Derek, Frank, Jacqueline, Klaus, and Robert. Excellent advice. Greg ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Timed Execution of a Script (second time lucky?)
Hi Jaqueline, On 3/18/05 7:56 AM, Gregory Lypny wrote: I'm playing with Revolution as a CGI engine with the scripts in stacks. I'm wondering if there's a way to have Revolution executive a script at specified intervals, for example, every Tuesday night at ten o'clock. Rev CGIs start up and run when they are called, then execute, and then shut down. They don't stay running in between requests, so there would be no way for the CGI to check the time unless it happened to be running already for some other reason. I have a couple of CGIs that do things on a timed basis, and the way to implement this is to set up a cron job HA, CRON job! Thank you very much :-) on the server that calls the CGI periodically. In your case, you would only need to set the cron job to execute once a week on Thursdays at 10 PM. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: RunRev crashes when you experiment with database queries
Bill, I'm no MySQL expert, but I have some code that accomplishes this and it seems to work just fine. From what I'm seeing in the code I have, it's necessary to issue a "Lock Table [my table] Write" command, then insert your record, and then call Last_Insert_ID. After that you have to use Unlock Tables. HTH, Chris Sheffield -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Sent: Friday, March 18, 2005 8:18 AM To: How to use Revolution Subject: Re: RunRev crashes when you experiment with database queries I tried that command (which is what you use to find the last insert in the whole database instead of just one table -- the name of the table I'm dealing with is "tripulantes" which means crewmembers) and it also didn't work. The command is behaving very strangely as I can run the query over and over again and it keeps returning a number that it increments by one each time even though no records have been added in the database. On 3/18/05 11:06 AM, "Gordon Tillman" <[EMAIL PROTECTED]> wrote: > Hi Bill, > > On Mar 18, 2005, at 08:58, Bill wrote: > >> I am trying to get the ID number of the last inserted record in a MySQL >> database. Can anyone help me do this? > ... >> put "SELECT LAST_INSERT_ID() from tripulantes" into dbQuery >> put revQueryDatabase(tConnection, dbQuery) into LastInsertID > > I don't know if this is your problem or not, but I just use SELECT > LAST_INSERT_ID() as the entire SQL command, omitting the "from..." > part. I just just my MySQL user manual and I don't see the "from ..." > as being a valid part of the command, unless maybe you are using a > newer version than what I have. > > --gordy > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ||| )_) )_) )_) )___))___))___)\ )))_)\\ _|||\\\__ ---\ /- http://www.bluewatermaritime.com ^ ^ ^^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 3/15/2005 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Timed Execution of a Script (second time lucky?)
On 3/18/05 7:56 AM, Gregory Lypny wrote: I'm playing with Revolution as a CGI engine with the scripts in stacks. I'm wondering if there's a way to have Revolution executive a script at specified intervals, for example, every Tuesday night at ten o'clock. Rev CGIs start up and run when they are called, then execute, and then shut down. They don't stay running in between requests, so there would be no way for the CGI to check the time unless it happened to be running already for some other reason. I have a couple of CGIs that do things on a timed basis, and the way to implement this is to set up a cron job on the server that calls the CGI periodically. In your case, you would only need to set the cron job to execute once a week on Thursdays at 10 PM. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: erratic screen updates (was Slow screen lock/unlock)
Message: 10 Date: Fri, 18 Mar 2005 09:26:10 +0100 From: Malte Brill <[EMAIL PROTECTED]> Subject: Re: erratic screen updates (was Slow screen lock/unlock) To: use-revolution@lists.runrev.com Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed Hi Michael, >I didn't see any difference between wait with messages and a simple wait. Using the with messages form allows other messages to pass while waiting. Otherwise your app. may be blocked while executing the wait. Cheers, Malte Thanks Malte and Richard. I like the wait with messages idea. I wanted to see if there was any practical differences between "wait with messeages" and executing the loop with a send to me routine. There was none in the two methods below. Each moves a graphic smoothly across the screen. One surprise to me was that "wait with messages", while it allows for a screen refresh, it does not allow two handlers to operate simultaneously. To get two "balls" to move across the screen simultaneously, one needs to apply the "send" routine. I have learned this after the patient explanations of Malte and Scott. local tLoc,tStartTime on mouseUP put the ticks into tStartTime set the loc of grc "ball" to 10,100 put the loc of grc "ball" into tLoc put 1 into i repeat until i > 600 add 1 to item 1 of tLoc set the loc of grc "ball" to tLoc wait 0 with messages--allows for a screen refresh; as would "wait 0 millisec" add 1 to i end repeat --doLoop 1 put the short name of me &comma&& the ticks - tStartTime & " ticks" & return after field 1 end mouseUP --Running the above handler takes 86 ticks on my system. --Commenting out the repeat loop and inserting the doLoop command, --I get 87 ticks. No difference to speak of. --I should think that each method has the same practical effect. --It appears that the "send in 0 millisec" allows for a screen refresh and effectively replaces --the wait 0 with messages. on doLoop counter if counter = 600 then put the short name of me &comma&& the ticks - tStartTime & " ticks" & return after field 1 exit doLoop end if add 1 to item 1 of tLoc set the loc of grc "ball" to tLoc send "doLoop counter + 1" to me in 0 millisec--Allows for a screen refresh end doLoop But here was a surprise to me. Create two graphics objects, ball1 and ball2 with the following handlers: Ball1 handler: on mouseUp send "mouseUP" to grc "ball2" set the loc of me to 10,100 put the loc of me into tLoc repeat 600 times add 1 to item 1 of tLoc set the loc of me to tLoc wait 0 with messages end repeat end mouseUp Ball2 handler: on mouseUp set the loc of me to 10,140 put the loc of me into tLoc repeat 600 times add 1 to item 1 of tLoc set the loc of me to tLoc wait 0 with messages end repeat end mouseUp When I send "mouseUP" to ball1, these handlers run successively, not simultaneously--synchronously and not asynchronous. I would have thought that the "wait with messages" would allow then to run simultaneously. The "wait with messages" in ball1 does not wait for the messages in ball1. To get that behavior I have to use the "send to me" in at least one object. Still learning, Jim ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Timed Execution of a Script (second time lucky?)
Hi Frank, -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You'd run the program constantly in the background; you could start it using su through an rc script on a UNIX box, for example. ah, i see, i thought the engine would be loaded everytime when needed on *nix... Best Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Timed Execution of a Script (second time lucky?)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You'd run the program constantly in the background; you could start it using su through an rc script on a UNIX box, for example. On Mar 18, 2005, at 10:24 AM, Klaus Major wrote: Hi Frank, Am 18.03.2005 um 15:40 schrieb Frank D. Engel, Jr.: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 on preOpenStack checkTime end preOpenStack on checkTime if (the long date contains "Thursday") and (char 1 to 2 of the time is "10") and (the time contains "PM") then doYourStuff send "checkTime" to me in 60 sec end checkTime on doYourStuff -- stuff to be executed every thursday night at 10:00 end doYourStuff but who/what will trigger the trigger then? ;-) Can't this be done by a simple cronjob? He asked very naively, yet hoping to be rigth in the end :-D On Mar 18, 2005, at 8:56 AM, Gregory Lypny wrote: ... I'm playing with Revolution as a CGI engine with the scripts in stacks. I'm wondering if there's a way to have Revolution executive a script at specified intervals, for example, every Tuesday night at ten o'clock. Any thoughts? Greg Best from astoundingly sunny germany :-) Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. <[EMAIL PROTECTED]> $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCOvvj7aqtWrR9cZoRAumIAJ4n31j6bZIysOx+cxAvC80+vKbQzwCgiu8j cT05dnXt6lyJEskLTKfqUZo= =Pkh3 -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Trial software and registering
> > I highly recommend that you do not time bomb your software if you want > people to use it and pay you for it. > This may be true, but there are also valid reasons to time out software. When I release beta software to my clients, I don't want that software running forever. I generally find it's not a good idea to have known buggy software running endlessly within a client company. I use an effective method of timing out software that isn't vulnerable to turning back the system date and doesn't rely on a data file. I check a system directory that is updated by access to the web (e.g. a directory that's a repository for internet cookies). In most companies these days, people access the interenet every day. Thus, there is almost always a file that's been created in that directory each day. I check the creation date of the latest file as my check file for the current date and compare that against the timeout date. Occasionally, the timeout will be off by a day or two but that isn't really an issue. Unless the person never connects to the internet, this method is effective. -- Regards, Howard Bornstein --- www.designeq.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: check if an item is a date
Xavier, I accidentally deleted your message before going throught it in depth; so I'm working from memory. What is the source of the large numbr of dates you are processing/validating? If the source is automated, why aren't the dates validated at input? Are you really needing to make sure the string is a valid date, or are you parsing for specific dates? Rob Cozens, Staff Conservator Mendonoma Marine Life Conservancy "...three factors have forever altered the traditional ''freedoms'' coincident with the hunter-gatherer way of life: * swift population increase..., * the rapid advance of technology, and, most influential &...dangerous of all, * a perverse, self-centered mind-set that shapes the character of many human actions" -- Sylvia A. Earle, in Sea Change ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Problems with Run Rev 2.5 on OS X 10.2.3
Little help please. We (Run Rev support and I) are trying to decide whether my problems with the new 2.5 version of Run Rev are system related or not. Using 2.5 I cannot access either the "rev OnLIne" or the "Documentation" windows. They are completely intert: Can't close or move them. Can't a access any of the buttons. They give me no respect. I need to do a "forced quit" to get rid of them. Anyone out there using 2.5 on 10.2.3? Any problems? (I understand that my problems disappear using 10.2.8 I am loath to upgrade. I did once, but was forced to do a clean install when I later had to do a reinstall. Not something I want to go through again. Waiting for 10.4 to take the next step; or, to be on the safe side, 10.4.1.) Thanks, Jim ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Timed Execution of a Script (second time lucky?)
Hi Frank, Am 18.03.2005 um 15:40 schrieb Frank D. Engel, Jr.: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 on preOpenStack checkTime end preOpenStack on checkTime if (the long date contains "Thursday") and (char 1 to 2 of the time is "10") and (the time contains "PM") then doYourStuff send "checkTime" to me in 60 sec end checkTime on doYourStuff -- stuff to be executed every thursday night at 10:00 end doYourStuff but who/what will trigger the trigger then? ;-) Can't this be done by a simple cronjob? He asked very naively, yet hoping to be rigth in the end :-D On Mar 18, 2005, at 8:56 AM, Gregory Lypny wrote: ... I'm playing with Revolution as a CGI engine with the scripts in stacks. I'm wondering if there's a way to have Revolution executive a script at specified intervals, for example, every Tuesday night at ten o'clock. Any thoughts? Greg Best from astoundingly sunny germany :-) Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Who do I have to pay?
First person you should ask is the AltAuthor if it can be fixed ;) Chipp is a nice and smart guy! I have one already compiled from MetaCard. If you have access to the mc 2.5 release, it's well hidden in the example stacks (a substack or in the examples/demo/help folder of mc). I have the code and compiled dll for msvc++ 6 at work. Contact me directly if you're in a hurry I guess that would be free too ;) cheers Xavier > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Derek Bump > Sent: Friday, March 18, 2005 16:14 > To: How to use Revolution > Subject: Who do I have to pay? > > Is there anyone here interested in compiling the "convolve" > external located in the Revolution Externals SDK? > > I've been trying to figure out how to do it on my own, but > the documentation, in my own opinion, is extremely vague and > doesn't give any clear indications on how to compile the > examples that it gives. > > This normally wouldn't be an issue, but the altConvolve > external produces images with a yellow tint, and is therefore > useless to me. I am basically trying to figure out if the > example in the docs does a better job. > > So, is there anyone out there who can help me with this? > > > Derek Bump > Dreamscape Software > ___ > Compress Images Easily with JPEGCompress 2.5 > http://www.dreamscapesoftware.com/ > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RunRev crashes when you experiment with database queries
I tried that command (which is what you use to find the last insert in the whole database instead of just one table -- the name of the table I'm dealing with is "tripulantes" which means crewmembers) and it also didn't work. The command is behaving very strangely as I can run the query over and over again and it keeps returning a number that it increments by one each time even though no records have been added in the database. On 3/18/05 11:06 AM, "Gordon Tillman" <[EMAIL PROTECTED]> wrote: > Hi Bill, > > On Mar 18, 2005, at 08:58, Bill wrote: > >> I am trying to get the ID number of the last inserted record in a MySQL >> database. Can anyone help me do this? > ... >> put "SELECT LAST_INSERT_ID() from tripulantes" into dbQuery >> put revQueryDatabase(tConnection, dbQuery) into LastInsertID > > I don't know if this is your problem or not, but I just use SELECT > LAST_INSERT_ID() as the entire SQL command, omitting the "from..." > part. I just just my MySQL user manual and I don't see the "from ..." > as being a valid part of the command, unless maybe you are using a > newer version than what I have. > > --gordy > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > ||| )_) )_) )_) )___))___))___)\ )))_)\\ _|||\\\__ ---\ /- http://www.bluewatermaritime.com ^ ^ ^^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Who do I have to pay?
Is there anyone here interested in compiling the "convolve" external located in the Revolution Externals SDK? I've been trying to figure out how to do it on my own, but the documentation, in my own opinion, is extremely vague and doesn't give any clear indications on how to compile the examples that it gives. This normally wouldn't be an issue, but the altConvolve external produces images with a yellow tint, and is therefore useless to me. I am basically trying to figure out if the example in the docs does a better job. So, is there anyone out there who can help me with this? Derek Bump Dreamscape Software ___ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: RunRev crashes when you experiment with database queries
Hi Bill, On Mar 18, 2005, at 08:58, Bill wrote: I am trying to get the ID number of the last inserted record in a MySQL database. Can anyone help me do this? ... put "SELECT LAST_INSERT_ID() from tripulantes" into dbQuery put revQueryDatabase(tConnection, dbQuery) into LastInsertID I don't know if this is your problem or not, but I just use SELECT LAST_INSERT_ID() as the entire SQL command, omitting the "from..." part. I just just my MySQL user manual and I don't see the "from ..." as being a valid part of the command, unless maybe you are using a newer version than what I have. --gordy ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
RunRev crashes when you experiment with database queries
I am trying to get the ID number of the last inserted record in a MySQL database. Can anyone help me do this? I tried: put revConnectionOfQuery("ConnectCrew") into tConnection -- first escape error if tConnection is not a number then put "tConnection is:" && dbCUR into fld "Exec result" exit mouseUp end if put "SELECT LAST_INSERT_ID() from tripulantes" into dbQuery put revQueryDatabase(tConnection, dbQuery) into LastInsertID I am trying the above because I need the ID of the last inserted row of data in the table "tripulantes". The above does not give me the last ID instead it gives a number like "59" when the ID would be 1289 or similar. If you run it again, without making any changes in the database "LastInsertID" will be 60 then 61 and so forth. I don't know what it is doing but it is not what I am looking for. ||| )_) )_) )_) )___))___))___)\ )))_)\\ _|||\\\__ ---\ /- http://www.bluewatermaritime.com ^ ^ ^^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: ugly windows focus border
Hi Xavier! I think there is a way, though I'm not sure we're on the same page. First make sure in the basic properties that the "focus with keyboard: and "show focus border" are unchecked. Also make sure under "icons and border" that the "border width" and "shadow offset" are 0. I never figured out which of these does the trick, but it has always worked for me, at least with buttons with icons and no border at all, no shared highlight and no 3D, which pretty much describes the buttons I use most. I hope this helps! Cheers, Lars ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Timed Execution of a Script (second time lucky?)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 on preOpenStack checkTime end preOpenStack on checkTime if (the long date contains "Thursday") and (char 1 to 2 of the time is "10") and (the time contains "PM") then doYourStuff send "checkTime" to me in 60 sec end checkTime on doYourStuff -- stuff to be executed every thursday night at 10:00 end doYourStuff On Mar 18, 2005, at 8:56 AM, Gregory Lypny wrote: Hello everyone, I posted this one a few days ago but didn't get a response, so I'm taking another kick at the cat. Any comment is welcome, even a few lines from your favourite Beatles' song. ;) I'm playing with Revolution as a CGI engine with the scripts in stacks. I'm wondering if there's a way to have Revolution executive a script at specified intervals, for example, every Tuesday night at ten o'clock. Any thoughts? Greg ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. <[EMAIL PROTECTED]> $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCOuhb7aqtWrR9cZoRAu/sAJ9+REzsEBhSUISJ/iQ6peha4yntbgCgiIGd 4527UT0bd2hmsqJnki8XZI0= =KNWS -END PGP SIGNATURE- ___ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Invisible Stack Help
On 3/18/05 7:51 AM, "Len Morgan" <[EMAIL PROTECTED]> wrote: > It turns out that apparently the card was "off" the screen (Thanks > Pat!) Can someone tell me how I could have seen that (no pun > intended)? What parameter would I have had to look at to see this? Well, you could look at the Size and Position section of the Inspector for the card, and it would have shown you its current location... > On a (now) related issue, in order to upload my test stack, I saved just > the one stack with the ID Badge on it from my original two stack rev > file. That was easy. Now, could someone tell me how I can put this > stack back in the same file as my mainstack? I'm hoping it's as easy as > it was taking it out (although I guess few things in life really work > that way). :-) set the mainstack of stack to Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Timed Execution of a Script (second time lucky?)
Greg, This could easily be achieved by creating a Daemon with Revolution. A Daemon is nothing more than a program that just sits there, and as you would want, would execute a script according to a timed interval. Since you are using Rev for CGI, it would have to be a program that is loaded when your server starts up, or remotely from a client computer which can make the calls to the CGI script that you want to execute. I hope this helps! Derek Bump Dreamscape Software ___ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Timed Execution of a Script (second time lucky?)
Hello everyone, I posted this one a few days ago but didn't get a response, so I'm taking another kick at the cat. Any comment is welcome, even a few lines from your favourite Beatles' song. ;) I'm playing with Revolution as a CGI engine with the scripts in stacks. I'm wondering if there's a way to have Revolution executive a script at specified intervals, for example, every Tuesday night at ten o'clock. Any thoughts? Greg ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Trial software and registering
> That reminds me of Rev itself--I thought the old script limits systems > was an ingenious way to hook people and expand the user community. A > 30-day trial without any limits does really have its advantages to be > able to fully try things, but I still bet some form of the old concept > of getting people hooked over time would bring in additional people. I found the 10 line script limit to be a huge hassel, but in the end it did hook me. Still, with the way that keys are distributed for trial editions, I really love how there's always an endless supply of fake hotmail addresses that one can use. :) Don't worry, I paid for my license! Derek Bump Dreamscape Software ___ Compress Images Easily with JPEGCompress 2.5 http://www.dreamscapesoftware.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Invisible Stack Help
It turns out that apparently the card was "off" the screen (Thanks Pat!) Can someone tell me how I could have seen that (no pun intended)? What parameter would I have had to look at to see this? On a (now) related issue, in order to upload my test stack, I saved just the one stack with the ID Badge on it from my original two stack rev file. That was easy. Now, could someone tell me how I can put this stack back in the same file as my mainstack? I'm hoping it's as easy as it was taking it out (although I guess few things in life really work that way). :-) len Message: 13 Date: Fri, 18 Mar 2005 11:56:20 +1000 From: "Pat Trendler" <[EMAIL PROTECTED]> Subject: Re: Invisible Stack Help To: "How to use Revolution" Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Len, I downloaded your stack - and as you said the icon appears on the taskbar. But on my win mach it has just been minimized, that's all. Just click the ID Card icon on the task bar to restore it or right click the icon and select restore or maximize. If you still can't see it check its position as it could be off-screen. HTH Pat - Original Message - From: "Len Morgan" <[EMAIL PROTECTED]> To: Sent: Friday, March 18, 2005 11:00 AM Subject: Invisible Stack Help I just uploaded a stack (username: lmorgan) that was part of a two stack file. It worked fine this morning but I've apparently done something to mess it up so that it no longer displays. I've checked all the possible suspects and can't figure it out. I can play with all the controls on the one card and if I print the card (which is what the other stack does), I get everything but the image. Note that the images addressed by this stack are not included because they are loaded from external files. Even so, I would think that I could at least see the rest of the card (sans image) or maybe get an error if there is a problem. The point where this happened was when I stopped using a jpeg file I had here and substituted it with one from my customer. It's the same number of pixels but it's got the opposite orientation. In other words, my test picture was 640 x 480 and the "real" images are 480 x 640. Any ideas? I'm stumped. len ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Trial software and registering
If you time bomb it, or do a phone home, you'll eliminate potential customers before they get hooked and they will remove it from their hard drive before they can pass it to a friend. Just my two cents. Kee Nethery Kagi That reminds me of Rev itself--I thought the old script limits systems was an ingenious way to hook people and expand the user community. A 30-day trial without any limits does really have its advantages to be able to fully try things, but I still bet some form of the old concept of getting people hooked over time would bring in additional people. Curry ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: use-revolution Digest, Vol 18, Issue 69
Eric, I just wanted to say how useful I'm finding these "how-to" articles. And Backups Picker is a great stack that I'm using all the time. Thanks very much for making these things available, Karen On 18/3/05 12:45 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Message: 11 > Date: Fri, 18 Mar 2005 09:48:11 +0100 > From: ?ric Chatonet<[EMAIL PROTECTED]> > Subject: [ANN] #011 How-To stack: Managing user waiting > To: use-revolution@lists.runrev.com > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > Hi everyone, > > #011 Managing user waiting (specially dedicated to beginners) > Shows the different ways of indicating to the user that he has to wait > a moment: static cursors, animated cursors, animated gifs, progression > bars and how to use them. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting as much system info possible.
I'm not sure about Windows or Linux, but you could use the command "system_profiler" on OS X and then search for the following pieces of info: -amount of RAM > Memory ( the first returned line will provide total system memory) -processor type > CPU Type (i.e. PowerPC 750) ; CPU Speed -video card type > not sure what information you would need, but you would find it under "PCI/AGP Cards" -video card Ram > VRAM (Total) -free HD space > Available (will return HD space of boot drive) Usually I would use grep to get the info that I need, but I would love to know the best way to do this with Rev. Todd Malte Brill wrote: Hi List, inspired by the "erratic screen updates (was Slow screen lock/unlock)" Thread I´m starting a new one. :-) I would like to find as much information on the machine a stack runs on as possible. I´m especially interested in: -amount of RAM -processor type -video card type -video card Ram -free HD space I *guess* it should be possible to retrieve that data using the shell on OsX / Linux / Unix and XP, but I have not too many ideas how to go about it. The first wild guess for OsX would be to get shell(dmesg) and walk through each line of it to retrieve information. Any thoughts for the other platforms and a better way for OsX? Cheers, Malte ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting as much system info possible.
Hi List, inspired by the "erratic screen updates (was Slow screen lock/unlock)" Thread I´m starting a new one. :-) I would like to find as much information on the machine a stack runs on as possible. I´m especially interested in: -amount of RAM -processor type -video card type -video card Ram -free HD space I *guess* it should be possible to retrieve that data using the shell on OsX / Linux / Unix and XP, but I have not too many ideas how to go about it. The first wild guess for OsX would be to get shell(dmesg) and walk through each line of it to retrieve information. Any thoughts for the other platforms and a better way for OsX? Cheers, Malte Exactly the stuff I suggested the Gestalt (or SystemGestalt) function for. But that of course does not help you now. Robert ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Getting as much system info possible.
Malte, My previous mail awaits approval because of the example output which is too big (pfff) On winXP, 2000 or 2003 you can use get shell("SYSTEMINFO") cheers Xavier On 18.03.2005 12:26:03 use-revolution-bounces wrote: >Hi List, > >inspired by the "erratic screen updates (was Slow screen lock/unlock)" >Thread I´m starting a new one. :-) > >I would like to find as much information on the machine a stack runs on >as possible. I´m especially interested in: > >-amount of RAM >-processor type >-video card type >-video card Ram >-free HD space > >I *guess* it should be possible to retrieve that data using the shell >on OsX / Linux / Unix and XP, but I have not too many ideas how to go >about it. >The first wild guess for OsX would be to > >get shell(dmesg) and walk through each line of it to retrieve >information. Any thoughts for the other platforms and a better way for >OsX? > >Cheers, > >Malte > >___ >use-revolution mailing list >use-revolution@lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution - Visit us at http://www.clearstream.com IMPORTANT MESSAGEInternet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message.The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries.END OF DISCLAIMER ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Getting as much system info possible.
Hi List, inspired by the "erratic screen updates (was Slow screen lock/unlock)" Thread I´m starting a new one. :-) I would like to find as much information on the machine a stack runs on as possible. I´m especially interested in: -amount of RAM -processor type -video card type -video card Ram -free HD space I *guess* it should be possible to retrieve that data using the shell on OsX / Linux / Unix and XP, but I have not too many ideas how to go about it. The first wild guess for OsX would be to get shell(dmesg) and walk through each line of it to retrieve information. Any thoughts for the other platforms and a better way for OsX? Cheers, Malte ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: URL question
Hi Varen, Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named "user" and has a value of "3". get url "http://www.domain.com/view/xml/name/&user&"; Does anyone have any suggestions on how to write this? maybe you mean this: get url("http://www.domain.com/view/xml/name/"; & user) ? You have to "build" the appropriate string first... Thanks very much Var Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
URL question
Hi all, I'm new at this so please go easy... I'm trying to put a global variable into a url string and I'm not getting it to work. I think my syntax is messed up. The variable is set properly. The variable is named "user" and has a value of "3". get url "http://www.domain.com/view/xml/name/&user&"; Does anyone have any suggestions on how to write this? Thanks very much Var ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: erratic screen updates (was Slow screen lock/unlock)
Hi Michael, have you tried it outside the IDE? Make a standalone of the stack and see what happens. Maybe it will also look different in the player. When I worked on the first version of libRMC I also thought I couldn´t get smooth animations done (on slower machines). But as soon as I made a standalone it worked perfectly on my machine (a slow G4). I found that graphic cards with low video RAM could become a bottleneck, that is hard to deal with. So I ended up setting the minimal system requirements for my apps. rather high. (Computer with >600 MHz and at least 64 MB video Ram 512 MB Ram for OsX. 400 MHz 64 MB video Ram 512 MB Ram for Os 9. 800 MHz 64 MB video Ram 512 MB Ram for XP) Animation is always a problem on slower or badly configured machines. I can´t run flash fmovies under X either (on my G4-400) ,even though flash movies work good under 9. Now if I only could find a way to test if this requirements are fulfilled on the current machine. I guess on OsX/ *nix (and maybe XP) one could shell it out. Anyone an idea how to go about this? I *guess* all required info (on OsX) is in shell(dmesg) but I don´t know if it is consistantly formatted, to allow easy extraction of the data... If one extracts the required info it would be possible to display a warning like: Your computer might be too slow/have not enough RAM/Have a too small video-card to run this stack. Cheers, Malte >If you run it you may find, as I do, that it is plenty fast enough in >bursts, but the rate is erratic, with some cycles as much as 6 times >slower than the average. Overall it works in a disappointing way. >This has been interesting, but at the end I still have to say that I >haven't found a way to get smooth animation rates. The calculations >are fast enough and the screen updates are fast enough most of the >time, but every second or so there are a few slow cycles and that >makes any animation jerky and horrible. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
[ANN] #011 How-To stack: Managing user waiting
Hi everyone, #011 Managing user waiting (specially dedicated to beginners) Shows the different ways of indicating to the user that he has to wait a moment: static cursors, animated cursors, animated gifs, progression bars and how to use them. On RevOnLine: User name: So Smart Software Category: Programming On RevNet: Tutorials section To donwload RevNet, go to http://www.fourthworld.com/rev/index.html Directly by pasting into the message box: go url "http://www.sosmartsoftware.com/downloads/Managing%20Waitings.rev"; Have a nice day, With best regards, Eric Chatonet. --- For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch --- Web site http://www.sosmartsoftware.com/ Email [EMAIL PROTECTED]/ Post 24, Bd de Port-Royal 75005 Paris Phone (33) 143 317 762 Mobile (33) 620 745 086 --- ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: erratic screen updates (was Slow screen lock/unlock)
Hi Michael, >I didn't see any difference between wait with messages and a simple wait. Using the with messages form allows other messages to pass while waiting. Otherwise your app. may be blocked while executing the wait. Cheers, Malte ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: check if an item is a date
Alex- Thursday, March 17, 2005, 4:31:29 PM, you wrote: >> /Break out your party hats. According to = >> http://www.onlineconversion.com/unix_time.htm , Unix time is supposed = >> reach 11 on Fri, 18 Mar 2005 01:58:31 GMT That's only = >> 1036372537 seconds from 2^31 (ie Tue, 19 Jan 2038 03:14:08 GMT)!!/ Can't find my party hat, so I had to make do with one of those tinfoil things to ward off the alien rays. Whee! I am having fun yet! -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution