Re: FTP via put opens files but fails to write data?
On 8 Feb 2006, at 04:38, Sivakatirswami wrote: This FTP script below frequently fails I get three files on the server with the correct name, but no data is written to them Typically, that's a symptom of a problem with the data source part of the put. repeat for each item x in tImages put url (tLocalLocation x) into url (tRemoteLocation x) end repeat end uploadImages You should check the url (tLocalLocation x) part is valid before trying to upload the data. Ex, put url (tLocalLocation x) into tUploadData if the result is not empty then ## do error stuff here else put tUploadData into url (tRemoteLocation x) -- check the result here end if Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Write File From Cache Really Slow?
Hi, I'm downloading files via HTTP with 'load URL' and then I'm writing them to disk with put url... into binfile. Everything works fine, but it takes a really long time to write the data to disk. For example, if I download a 12MB file into the cache, it takes well over a minute to write it to disk. So two questions: (1) is there any other way I can get a 'loaded' file to disk other than the way I'm doing it, and (2) if not, is there anything I can do to speed it up? Thanks, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Write File From Cache Really Slow?
Hi Ken, I did not made a test but would it speed things up by using a write process appending numerous shorter data blocks into the file instead? Le 8 févr. 06 à 09:47, Ken Ray a écrit : I'm downloading files via HTTP with 'load URL' and then I'm writing them to disk with put url... into binfile. Everything works fine, but it takes a really long time to write the data to disk. For example, if I download a 12MB file into the cache, it takes well over a minute to write it to disk. So two questions: (1) is there any other way I can get a 'loaded' file to disk other than the way I'm doing it, and (2) if not, is there anything I can do to speed it up? Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Write File From Cache Really Slow?
On 8 Feb 2006, at 08:47, Ken Ray wrote: Hi, I'm downloading files via HTTP with 'load URL' and then I'm writing them to disk with put url... into binfile. Everything works fine, but it takes a really long time to write the data to disk. For example, if I download a 12MB file into the cache, it takes well over a minute to write it to disk. That's slow, and sounds suspiciously like the url is being downloaded a second time. Could you use libUrlSetLogField to see if that might be happening? So two questions: (1) is there any other way I can get a 'loaded' file to disk other than the way I'm doing it, and (2) if not, is there anything I can do to speed it up? You could use libUrlDownloadToFile to download directly to a file. Contrary to what the docs might imply, it can be used with http urls. Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Comparing two versions of a RunRev app
Hi Éric, I have exactly the same problem as Graham's. I just tried this morning on Mac : I duplicated Rev. (I obtained a Revolution copie) Then, opened two versions of my app. each with one different Rev instance. But, I get the message A stack with the same name is already etc. etc with SAVE, PURGE or CANCEL. So I can't open the two versions of my app. simultaneously :-(( Where is my mystake ? thank you in advance Best regards from Grenoble André Le Sunday, 5 Feb 2006, à 20:59 Europe/Paris, Eric Chatonet a écrit : Hi Graham, Instead of renaming anything, I'm used to open two different instances of Rev. That's all :-) Easy on Windows and just a clone in your app folder with Mac OS. Le 5 févr. 06 à 20:56, graham samuel a écrit : Given the well-known limitation of RR in that stack names are not fully scoped but have to be unique within the whole IDE, how would I set about comparing two versions of an app containing a mainstack and several substacks? My main idea would be to compare versions of scripts, but I'd also like to do a visual comparison of cards etc. To clarify the idea, suppose I have a stack and substacks like MyMainStack MySubstack1 MySubstack2 ... MySubstackn and I have two .rev files, each with a different version of the app, say the latest, which has shown itself to be a bit flaky, and an older one, which was stable but lacked certain functionality. I want to look at the differences between the two, and maybe transfer some code or controls from one to the other. To effect ANY comparison, I want to have two versions of each stack and substack in the machine at the same time, but this isn't possible. Has anyone any suggestions about how to do the comparisons? Best Regards from Paris, Eric Chatonet --- --- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Comparing two versions of a RunRev app
Bonjour André, It works! Probably you tried to open the same stack twice in the same instance of Rev. Both instances are exactly similar and it's easy to be wrong :-) Open the first one and create a new stack with a field This is the first instance! point size 36 ;-) Open the second and create a new stack with a field This is the second instance! So, there will be a real difference on-screen and, above all, mask one when you switch to the other (command/option H) or you will have the same scripts windows on-screen without knowing which is which. Let me know... Le 8 févr. 06 à 10:55, André.Bisseret a écrit : I have exactly the same problem as Graham's. I just tried this morning on Mac : I duplicated Rev. (I obtained a Revolution copie) Then, opened two versions of my app. each with one different Rev instance. But, I get the message A stack with the same name is already etc. etc with SAVE, PURGE or CANCEL. So I can't open the two versions of my app. simultaneously :-(( Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Group script triggers objects out of it!
Hi everyone, I encounter a weird behavior: I have a tool bar group shared by several cards. Any button on any card that is not owned by the group acts *as* it belonged to the group. When the group is not shared and appears in one card only, this does not occur... Did anybody has already been confronted with this kind of issue? I'm really annoyed with this :-( Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Group script triggers objects out of it!
When you say 'acts as if it belonged to the group', do you mean that it's messages (that should go to the stack) get intercepted by the group, or that it really is like it's a member of the group ie, move the group, the btn goes too? I believe that a group with it's background behaviour set to true sits between the card and the stack in the message path... Mark On 8 Feb 2006, at 10:26, Eric Chatonet wrote: Hi everyone, I encounter a weird behavior: I have a tool bar group shared by several cards. Any button on any card that is not owned by the group acts *as* it belonged to the group. When the group is not shared and appears in one card only, this does not occur... Did anybody has already been confronted with this kind of issue? I'm really annoyed with this :-( Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Group script triggers objects out of it!
Hi Mark, Le 8 févr. 06 à 11:38, Mark Smith a écrit : When you say 'acts as if it belonged to the group', do you mean that it's messages (that should go to the stack) get intercepted by the group Exactly. So it *should* not happen! or that it really is like it's a member of the group ie, move the group, the btn goes too? No I believe that a group with it's background behaviour set to true sits between the card and the stack in the message path... Thanks for turning your attention to this. Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to stay on a card when repeating a « find »
Bonjour Éric, Thank you very much for this nice decision tool ! Actually, the 10 tests on 2000 cards are extraordinarily fast (good for me, all the more so that I am even far from getting 2000 cards in my app. !). I like your repeat for each line tCd in the cardNames of this stack to work around the impossibility in Rev to use repeat for each card. And of course, I appreciate a lot your set to random(100) 50 (quite intriguing at first glance !) :-))) Best regards from Grenoble André Le Monday, 6 Feb 2006, à 17:46 Europe/Paris, Eric Chatonet a écrit : Bonjour André, To make your decision, just do a test :-) In a brand new stack: on mouseUp local tStart, tNumOfCards = 2000, tNumOfTests = 10 - put Creating tNumOfCards cards lock screen repeat tNumOfCards new card set the dontSearch of this cd to random(100) 50 end repeat - unlock screen put Now testing put the milliseconds into tStart repeat tNumOfTests repeat for each line tCd in the cardNames of this stack set the dontSearch of tCd to true end repeat end repeat put (the milliseconds - tStart) div tNumOfTests milliseconds for tNumOfCards cards end mouseUp I have just modified Jacque very clever idea by using a repeat for each form that usually is far faster than repeat with i = 1 to x. Actually my purpose was to show how it's easy and quick to write a little script to make one's decision: The test takes here about an average of 100 milliseconds for 2000 cards :-) Le 6 févr. 06 à 13:55, André.Bisseret a écrit : Jacqueline, I like your tricky dontsearch solution. I tried it ; currently I have 320 cards and it works well and is very fast. I am hesitating to use it because, at the end, after resetting the dontsearch of all cds to false, I must reset the dontsearch of certain cards to true ; well, anyway, the whole thing is running very fast ! Also, the number of cards in my app. is going to grow each years, so this solution could be provisional ; well, why not ! I have to make a decison, but, thanks to this list, it is really comfortable to can choose among several solutions ! Best Regards from Paris, Eric Chatonet --- --- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- André Bisseret Directeur de recherche émérite Adresse : 140 rue E. Béthoux - 38220 Vizille Tél. : 04 76 68 15 24 Courriel : [EMAIL PROTECTED] et : [EMAIL PROTECTED] site Multifiches : http://www-clips.imag.fr/multicom/partenariat/Multifiches/ site peinture : http://www.andre-bisseret.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Group script triggers objects out of it!
Hi Eric, Do you mean that a mouseUp in a button which is not part of the group triggers the mouseUp handler in that group? That is normal behaviour for a group, which has the backgound behaviour set to true. Best, Mark Eric Chatonet wrote: Hi everyone, I encounter a weird behavior: I have a tool bar group shared by several cards. Any button on any card that is not owned by the group acts *as* it belonged to the group. When the group is not shared and appears in one card only, this does not occur... Did anybody has already been confronted with this kind of issue? I'm really annoyed with this :-( Best Regards from Paris, Eric Chatonet -- eHUG coordinator mailto:[EMAIL PROTECTED] http://www.ehug.info http://home.wanadoo.nl/mark.sch http://www.economy-x-talk.com Please inform me about vacancies in the field of general economics at your institute. I am also looking for new freelance programming projects. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Group script triggers objects out of it!
Hi Eric, Hi everyone, I encounter a weird behavior: I have a tool bar group shared by several cards. Any button on any card that is not owned by the group acts *as* it belonged to the group. When the group is not shared and appears in one card only, this does not occur... Did anybody has already been confronted with this kind of issue? I'm really annoyed with this :-( this is normal behaviour of the message path! Bottom to top it goes: engine homestack stack (bg = group with bg behaviour set to true) card (group) object Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Group script triggers objects out of it!
Hi Mark and Klaus, Thanks for confirming this. I suspected some kind of corruption... Nevertheless I find it non consistent. It obliges to check if the target is really owned by the group before executing any system message handler! I would understand this behavior for imported HC stacks (HCAdressing = true) but not with Rev (HCAdressing = false by default). What's your opinion? Best Regards from Paris, Eric Chatonet Le 8 févr. 06 à 12:23, Klaus Major a écrit : Hi Eric, Hi everyone, I encounter a weird behavior: I have a tool bar group shared by several cards. Any button on any card that is not owned by the group acts *as* it belonged to the group. When the group is not shared and appears in one card only, this does not occur... Did anybody has already been confronted with this kind of issue? I'm really annoyed with this :-( this is normal behaviour of the message path! Bottom to top it goes: engine homestack stack (bg = group with bg behaviour set to true) card (group) object -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Group script triggers objects out of it!
Hi Eric, Hi Mark and Klaus, Thanks for confirming this. I suspected some kind of corruption... Nevertheless I find it non consistent. It obliges to check if the target is really owned by the group before executing any system message handler! I would understand this behavior for imported HC stacks (HCAdressing = true) but not with Rev (HCAdressing = false by default). What's your opinion? Hmmm, since it behaves this way since I started to use MC in 1999, I got accustomed to it and thus find it normal behaviour :-) Best Regards from Paris, Eric Chatonet Le 8 févr. 06 à 12:23, Klaus Major a écrit : Hi Eric, Hi everyone, I encounter a weird behavior: I have a tool bar group shared by several cards. Any button on any card that is not owned by the group acts *as* it belonged to the group. When the group is not shared and appears in one card only, this does not occur... Did anybody has already been confronted with this kind of issue? I'm really annoyed with this :-( this is normal behaviour of the message path! Bottom to top it goes: engine homestack stack (bg = group with bg behaviour set to true) card (group) object Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
PayPal and Rev update
http://www.discamus.com/nunc/how/ Thanks to David Cragg,, I was able to get the POST function working...and now I can say with much confidence that this thing works! The How To web page is also almost done --not pretty, but 90% of the scripts are up there. Enough for anyone to get started. My Registration window rev stack is also there. caveat: Never run outside of Paypal's sandbox (yet!) Future: should interact with a database rather than a flat text file. May all your users pay you, tm ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: liburl cgi linux
On 7 Feb 2006, at 23:37, Thomas McCarthy wrote: I just did the latter, and I can post from the cgi script on a Linux server. I forgot to ask, how did you test it? The hard way. :-) I checked the Apache error log on the server which gives the line in the CGI script where the error occurred. In this case it was the start using stack myliburl.rev line. Then, as I was responsible for adding the open secure socket line to libUrl, I had a jump start on guessing the problem. (unfair, I know) Do you have an easy way to test that anyone could use? Afraid not. You can do syntax checking by putting the cgi script in a button and making sure it will compile. But that won't catch runtime errors like this. Where possible, I try to build new cgi scripts around old ones that I know work. And then build them in stages, testing as I go. A local test server is useful for this, but not always practical. Putting the script in a try handler can help, with the catch element returning some useful diagnostic information. But I'm always on the lookout for simpler solutions. Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: PayPal and Rev update
Hi Thomas Invaluable contribution :-) Le 8 févr. 06 à 13:00, Thomas McCarthy a écrit : http://www.discamus.com/nunc/how/ The How To web page is also almost done --not pretty, but 90% of the scripts are up there. Enough for anyone to get started. My Registration window rev stack is also there. Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Ask does not wait for an answer
Martin, No, the original closedField field is Quantity Shipped 1. I do have another handler called by this closeField but get the same results when it is commented out. What I am trying to do is make sure that a date is entered in a date field if there is a quantity entered in the shipment field. This is for partial shipments (backorder situations). I should have mentioned in the first post: OS X 10.4.3, Rev. 2.6.1 Thank you for taking the time to reply. Paul Looney -Original Message- From: Martin Blackman [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Wed, 8 Feb 2006 15:30:58 +0800 Subject: Re: Ask does not wait for an answer Your script seems to work fine here for me Is there another handler that might be interfering? Is ship date 1 the same field that is receiving the closefield ? I assumed so On 08/02/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I hope there is a simple answer to this. I have the following code in a field: on closeField if fld Ship Date 1 is empty then ask Enter a date for this shipment: with the short date if the result is Cancel then exit closeField put it into fld Ship Date 1 end if end closeField If I step through it in the debugger, it works as expected. If I trigger it by closing the field, it will show the Ask dialog box, and, as it does so, it will put: ask plainEnter a date for this shipment:2/7/6 into field Ship Date 1 - without waiting for either the OK or Cancel buttons being clicked in the Ask dialog. I have written this several different way (different if/then constructions, etc.) nothing seems to work, and I can't debug it because it works perfectly in the debugger. I appreciate you help. Paul Looney ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: PayPal and Rev update
Hi Thomas ! Please, let me add my voice to the thanks we all need to have to you for this first class work and course ! Probably the most usefull piece of code design i got in about xtalk's networked tasks since i learned years ago how to build my first hypercard acgi script from the Mac OS 8 WebSTAR httpd author. All the Best, -- Pierre Sahores www.sahores-conseil.com Le 8 févr. 06 à 13:23, Eric Chatonet a écrit : Hi Thomas Invaluable contribution :-) Le 8 févr. 06 à 13:00, Thomas McCarthy a écrit : http://www.discamus.com/nunc/how/ The How To web page is also almost done --not pretty, but 90% of the scripts are up there. Enough for anyone to get started. My Registration window rev stack is also there. Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Comparing two versions of a RunRev app
Le Wednesday, 8 Feb 2006, à 11:06 Europe/Paris, Eric Chatonet a écrit : Bonjour André, It works! Probably you tried to open the same stack twice in the same instance of Rev. Both instances are exactly similar and it's easy to be wrong :-) Open the first one and create a new stack with a field This is the first instance! point size 36 ;-) Open the second and create a new stack with a field This is the second instance! So, there will be a real difference on-screen Éric, I made exactly what you suggested and yes, it works well ! I can open two versions of one same app. without getting the msg a stack with the same name It remains that it is nearly impossible to distinguish them (except putting one to the left of the screen and the other to the right AND to keep this in (my) memory ! and, above all, mask one when you switch to the other (command/option H) or you will have the same scripts windows on-screen without knowing which is which. Right, the two versions of the script appear in the middle of the screen. But what I would like to be able to (and I suppose it is the same for Graham) would be to keep visible simultaneously the two versions of the same script in order to compare them, and for example, to modify one starting from the other (cut, copy and paste etc.). It seems that the only way to do that, is again to put one script window on the left and the other on the right of the screen, and pay attention to keep this in (my) memory ! (a bit risky isn't it ?). It seems that otherwise,it is necessary to change the name of one of the version of the same stack (and of all its substacks) :-((( Best regards from Grenoble André Let me know... Le 8 févr. 06 à 10:55, André.Bisseret a écrit : I have exactly the same problem as Graham's. I just tried this morning on Mac : I duplicated Rev. (I obtained a Revolution copie) Then, opened two versions of my app. each with one different Rev instance. But, I get the message A stack with the same name is already etc. etc with SAVE, PURGE or CANCEL. So I can't open the two versions of my app. simultaneously :-(( Best Regards from Paris, Eric Chatonet --- --- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Comparing two versions of a RunRev app
André, As you say: a bit risky... I would say by experience: certainly risky :-) Duplicate the stack and write a little script that will rename (and back) one of the stacks and its substacks: on RenameStacks answer file Choose a stack: if it = empty then return Cancel lock messages go invisible to stack it if the short name of this stack contains .original then set the name of this stack to char 1 to -10 of the name of this stack repeat for each line tSubStack in the substacks of this stack set the name of stack tSubStack to char 1 to -10 of the name of stack tSubStack end repeat put All renamed without suffix else set the name of this stack to the name of this stack .original repeat for each line tSubStack in the substacks of this stack set the name of stack tSubStack to the name of stack tSubStack .original end repeat put All renamed with suffix end if save this stack delete this stack end RenameStacks Le 8 févr. 06 à 13:57, André.Bisseret a écrit : It seems that the only way to do that, is again to put one script window on the left and the other on the right of the screen, and pay attention to keep this in (my) memory ! (a bit risky isn't it ?). It seems that otherwise,it is necessary to change the name of one of the version of the same stack (and of all its substacks) :-((( Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: PayPal and Rev update
http://www.discamus.com/nunc/how/ Thanks to David Cragg,, I was able to get the POST function working...and now I can say with much confidence that this thing works! The How To web page is also almost done --not pretty, but 90% of the scripts are up there. Enough for anyone to get started. My Registration window rev stack is also there. caveat: Never run outside of Paypal's sandbox (yet!) Future: should interact with a database rather than a flat text file. May all your users pay you, tm Fantastic! Let's hope that this motivates Kagi to push their Rev interface out of the door finally. Robert Brenstein ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Group script triggers objects out of it!
It certainly mimics the old HC behaviour, but I'm not so sure it's ideal in the context of Revolution. Still, to change it now might break so much existing code that it's probably not a good idea. I suppose one could avoid having the group as a background, and simply place it explicitly on each card that needs it., but I can understand Erics annoyance. Mark On 8 Feb 2006, at 11:34, Klaus Major wrote: Hi Eric, Hi Mark and Klaus, Thanks for confirming this. I suspected some kind of corruption... Nevertheless I find it non consistent. It obliges to check if the target is really owned by the group before executing any system message handler! I would understand this behavior for imported HC stacks (HCAdressing = true) but not with Rev (HCAdressing = false by default). What's your opinion? Hmmm, since it behaves this way since I started to use MC in 1999, I got accustomed to it and thus find it normal behaviour :-) Best Regards from Paris, Eric Chatonet Le 8 févr. 06 à 12:23, Klaus Major a écrit : Hi Eric, Hi everyone, I encounter a weird behavior: I have a tool bar group shared by several cards. Any button on any card that is not owned by the group acts *as* it belonged to the group. When the group is not shared and appears in one card only, this does not occur... Did anybody has already been confronted with this kind of issue? I'm really annoyed with this :-( this is normal behaviour of the message path! Bottom to top it goes: engine homestack stack (bg = group with bg behaviour set to true) card (group) object Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: liburl cgi linux
Dave, Wouldn't it be nice if rev had a stack running which we could post to and it would post back so we could test this stuff? Anyhow thanks for all your useful comments. A local test server is useful for this, but not always practical. Putting the script in a try handler can help, with the catch element returning some useful diagnostic information. Tom McCarthy - Ego sum rex Romanus et supra grammaticam. Sigismund I (obit 1437) ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Group script triggers objects out of it!
Hi Mark and Klaus, Thanks for confirming this. I suspected some kind of corruption... Nevertheless I find it non consistent. It obliges to check if the target is really owned by the group before executing any system message handler! I would understand this behavior for imported HC stacks (HCAdressing = true) but not with Rev (HCAdressing = false by default). What's your opinion? Best Regards from Paris, Eric Chatonet Le 8 févr. 06 à 12:23, Klaus Major a écrit : It is IMHO a consistent behavior with the way messages are handled and has nothing to do with HCAdressing. Background is meant for common handlers not just of its group but also card, allowing same handler to be triggered from different cards. That was makes the difference between background and card group. You seem to be using a background group but wanting it to behave like a card group and hence your distress. The behavior that bothers you allows us, for example, to have a generic mouseUp handler that catches misguided clicks on a group of cards. You can have a mouseUp in each object of such a group calling a custom handler in background or, if there are too many objects for that, check the owner as you suggested yourself. Robert ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Difficulty using shell in Ubuntu Linux
I am using Ubuntu Linux (#5.04 - Hoary Hedgehog)*** with Rev 2.6.1. No matter what I try, I cannot get the function/commands shell, launch or open process to work. I have checked that the path to the standalone folder for launching is correct (by displaying its files), messing about with the default folder, putting the program path into a Global variable, etc., etc., all to no avail. Do these commands work in other versions of Linux? Is similar failure the experience of other Ubuntu users? Bob ***[The reason I am not using the latest version of Ubuntu (#5.10 - Breezy Badger) is that I shall soon need to program the floppy drive, but unfortunately the reading of the floppy does not work at all in Breezy, even though it appears to have been mounted correctly (also noted recently by TUX magazine). Also, I have no trouble configuring my HP Deskjet 720c printer over the Windows network in Hoary, but in Breezy it doesn't work either. I am mentioning these things here in the hope that someone from Ubuntu will see it and do something about these fundamental items as soon as possible. This kind of thing can give a wonderful distro a bad name!] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Opening other applications from within Revolution
I have an Excel file on my hard drive that I would like to access from within revolution (just like I can access the Internet through RevGoUrl). What command can issue to open and see the file? I am having some trouble trying to do this through the open or open file commands. Thanks. Steve Goldberg ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Odd Even Numbers
How does one determine if a number is odd or even? For example I would like to do something like this: If the lineNumber of line x of fld List is odd then set the textColor to red. Suggestions are appreciated. Regards ... Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Odd Even Numbers
function isOdd tNumber if tNumber mod 2 = 0 then return false else return true end if end isOdd if isOdd(x) then set the the textColor of line x of fld List to red Hope this helps, Mark On 8 Feb 2006, at 14:28, Robert Presender wrote: How does one determine if a number is odd or even? For example I would like to do something like this: If the lineNumber of line x of fld List is odd then set the textColor to red. Suggestions are appreciated. Regards ... Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Odd Even Numbers
Hi Robert, If the lineNumber of line x of fld List is not a number... If the lineNumber of line x of fld List is not an integer... Le 8 févr. 06 à 15:28, Robert Presender a écrit : How does one determine if a number is odd or even? For example I would like to do something like this: If the lineNumber of line x of fld List is odd then set the textColor to red. Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Difficulty using shell in Ubuntu Linux
On Feb 8, 2006, at 08:03, Bob Warren wrote: I am using Ubuntu Linux (#5.04 - Hoary Hedgehog)*** with Rev 2.6.1. No matter what I try, I cannot get the function/commands shell, launch or open process to work. I have checked that the path to the standalone folder for launching is correct (by displaying its files), messing about with the default folder, putting the program path into a Global variable, etc., etc., all to no avail. Do these commands work in other versions of Linux? Is similar failure the experience of other Ubuntu users? Bob Bob I'm running on the same build of Ubuntu and the shell command works fine for me. Check something... in the message box enter: put the shellCommand Make sure is it set to something valid. Mine is set to /bin/sh --gordon ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Odd Even Numbers
function isOdd x if x mod 2 is 1 then return true else return false end isOdd function isEven x if x mod 2 is 0 then return true else return false end isEven Note that for these functions, 2.5 is neither odd nor even, and non- numbers cause an error. To be safe you would use: function isOdd x if x is a number and x mod 2 is 1 then return true else return false end isOdd function isEven x if x is a number and x mod 2 is 0 then return true else return false end isEven On Feb 8, 2006, at 6:28 AM, Robert Presender wrote: How does one determine if a number is odd or even? For example I would like to do something like this: If the lineNumber of line x of fld List is odd then set the textColor to red. Suggestions are appreciated. Regards ... Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Odd Even Numbers
Sorry Robert, I had misunderstood the sense of your question :-( Bad English as usual :-) Le 8 févr. 06 à 15:37, Eric Chatonet a écrit : Hi Robert, If the lineNumber of line x of fld List is not a number... If the lineNumber of line x of fld List is not an integer... Le 8 févr. 06 à 15:28, Robert Presender a écrit : How does one determine if a number is odd or even? For example I would like to do something like this: If the lineNumber of line x of fld List is odd then set the textColor to red. Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Massive XML docs
Hello Everyone. I have some very large XML files ( 100mb or more) that I would to parse. And this thing has to be fast. I mean FAST. Since I have done almost no work with rev and XML, I am looking for advice on how to proceed The user experience needs to be some thing like this... I select the XML and very quickly I see the info about the top level nodes I select one of the top level nodes and I am very quickly presented with more detail on it. Which may include all of it's children and also information from other parts of the XML document that is related. I continue to work my way around the document, by simple selecting the elements that I need more info on. At no point will a user ever need to see all the data that is in the XML doc. They are almost always looking for info on just one element buried in there. What I don't know is if the user is just walking around the xml document one piece at a time, do I need to load the whole thing into RAM in a revXMLTree, and If I do, won't that just be insane for 100mb xml file. Or can I do it one step at a time as the user requests more detailed info. Can Valentina or SQLlite be employed to help the situation? Or would it be faster to parse it into a whole slew of custom props? Any ideas and or thoughts would be much appreciated Thanks Todd -- Todd Geist __ g e i s t i n t e r a c t i v e ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: [ANN] Speechlab
with a little script, this program even raps!!! Now, I haven't seen something this fun in a long time! on mouseUp put TAlk to me into A put Shut up into B send mouseup to btn A wait 400 milliseconds send mouseup to btn B repeat 2 times send mouseup to btn A wait 300 milliseconds send mouseup to btn B end repeat send mouseup to btn A end mouseUp Rap GUI Ideas anyone? Any MaxHeadroom fans? This surely should work too with the play command or Quicktime! Download, screenshot and more talk at http://monsieurx.com/modules.php?name=News http://monsieurx.com/modules.php?name=Newsfile=articlesid=195 file=articlesid=195 I didn't update the stack, it's left as an execise but I tested it and it's really rapping! ;) cheers Xavier http://monsieurx.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Opening other applications from within Revolution
Hi Steve! You can use the launch command for this. Here's a basic script I just put together and used to open a PDF file with Acrobat Reader: on mouseUp answer file file? if it = empty then exit mouseUp put it into tFile answer file app? if it = empty then exit mouseUp put it into tApp launch tFile with tApp end mouseUp Phil Davis [EMAIL PROTECTED] wrote: I have an Excel file on my hard drive that I would like to access from within revolution (just like I can access the Internet through RevGoUrl). What command can issue to open and see the file? I am having some trouble trying to do this through the open or open file commands. Thanks. Steve Goldberg ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Odd Even Numbers
Rather than a function, why not use (assuming integer line numbers only) get blue if x mod 2 = 0 then get red put it into colorChoice Jim Ault Las Vegas On 2/8/06 6:44 AM, Geoff Canyon [EMAIL PROTECTED] wrote: function isOdd x if x mod 2 is 1 then return true else return false end isOdd function isEven x if x mod 2 is 0 then return true else return false end isEven Note that for these functions, 2.5 is neither odd nor even, and non- numbers cause an error. To be safe you would use: function isOdd x if x is a number and x mod 2 is 1 then return true else return false end isOdd function isEven x if x is a number and x mod 2 is 0 then return true else return false end isEven On Feb 8, 2006, at 6:28 AM, Robert Presender wrote: How does one determine if a number is odd or even? For example I would like to do something like this: If the lineNumber of line x of fld List is odd then set the textColor to red. Suggestions are appreciated. Regards ... Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Massive XML docs
On 2/8/06 5:50 PM, Todd Geist [EMAIL PROTECTED] wrote: Hi Todd, Hello Everyone. I have some very large XML files ( 100mb or more) that I would to parse. And this thing has to be fast. I mean FAST. Since I have done almost no work with rev and XML, I am looking for advice on how to proceed The user experience needs to be some thing like this... I select the XML and very quickly I see the info about the top level nodes I select one of the top level nodes and I am very quickly presented with more detail on it. Which may include all of it's children and also information from other parts of the XML document that is related. I continue to work my way around the document, by simple selecting the elements that I need more info on. At no point will a user ever need to see all the data that is in the XML doc. They are almost always looking for info on just one element buried in there. What I don't know is if the user is just walking around the xml document one piece at a time, do I need to load the whole thing into RAM in a revXMLTree, and If I do, won't that just be insane for 100mb xml file. Or can I do it one step at a time as the user requests more detailed info. RevXMLTree this is DOM model ? If yes, then expect that such RAM tree will have size 5 times more than original XML document. On the other hand DOM is fastest way to iterate tree. Can Valentina or SQLlite be employed to help the situation? Or would it be faster to parse it into a whole slew of custom props? Any ideas and or thoughts would be much appreciated Todd, you have touch just HUGE issue. First of all it needs better understand your task: - so you parse document. Extract info, what next? your user must be able do queries to it ? then it sounds like DBMS job. For your task in the world exists few streams: A) work on XML itself - so called Native XML dbs B) put XML into database. It looks that major DBMS vendors as Oracle, IBM and MS do win war, So stream b) becomes the main I can make small announce -- that we develop in Valentina during last few months new XML features which will be comparable to Oracle, IBM and MS. Soon we will introduce first wave of them. To get more details please subscribe to Valentina beta list. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: PayPal, Kagi, esellerate. Splitting revenue
Each Item that we sell through esellerate is automatically split to as many individuals as we want, based on a formula that we can set. There is absolutely zero work on our end once the system is in place. At the end of each month, a check sent to each of us. Since esellerate is a 3rd party to the deal there are absolutely NO worries around who is collecting the money and who is distributing it. It is simply done. This level of comfort made it easy for each of to agree to the plan and get the gosh damn thing built. With the money issue solved it was a no brainer. Ive sold content products on sites that use a similar method, but I would not do it. But those sites are quite different from PayPal, KAGI and eSellerate in that they have built in fairly mature marketing systems that also are part of the package. I see distinct layers of value in these services. We use PayPal because the cost is low and it is relatively transparent - it isnt associated with any particular perception in the software market, whereas KAGI and eSellerate have shareware written all over them and that writing also ends up on your product. If that's a label you are comfortable with, then KAGI is an excellent way to go. Also, if you are looking at micro-payment style pricing for your products and NOT publishing through a third party, Id say KAGI is also a good choice. I think it's a good idea to decide where you want to go with your software business when making this kind of decision. If you do not see yourself turning your software business into a full time endeavor AND you arent selling an infrastructure style product (where buyers are often scared to buy something called shareware), then go for it. Andre's module for working with KAGI is worth looking at - I havent seen it since last year's RevCon, and the devotion shown by KAGI towards Rev developers is admirable. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.com -Software Destinations http://www.proactive-intl.com/blogs/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
SpeechLab
The MonsieurX.com site has a fun application called SpeechLab that allow you to type in a sentence and it will voice it back to you. Does Revolution have the reverse capabilities so that an application can be written that you can speak into a microphone on the computer and it dictates the sentence back to you? I'm new to Revolution and I didn't know that it had such strong speech capabilities. Jeff ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Write File From Cache Really Slow?
On 2/8/06 3:47 AM, Dave Cragg [EMAIL PROTECTED] wrote: On 8 Feb 2006, at 08:47, Ken Ray wrote: Hi, I'm downloading files via HTTP with 'load URL' and then I'm writing them to disk with put url... into binfile. Everything works fine, but it takes a really long time to write the data to disk. For example, if I download a 12MB file into the cache, it takes well over a minute to write it to disk. That's slow, and sounds suspiciously like the url is being downloaded a second time. Could you use libUrlSetLogField to see if that might be happening? You're exactly right, Dave... I was unloading the url before putting it to disk, which caused it to download it again. Thanks! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Write File From Cache Really Slow?
Ken Ray wrote: Hi, I'm downloading files via HTTP with 'load URL' and then I'm writing them to disk with put url... into binfile. Everything works fine, but it takes a really long time to write the data to disk. For example, if I download a 12MB file into the cache, it takes well over a minute to write it to disk. So two questions: (1) is there any other way I can get a 'loaded' file to disk other than the way I'm doing it, and (2) if not, is there anything I can do to speed it up? I'm using libURLDownloadToFile and it's as fast as anything I download from a browser. If you don't need it in RAM first, try that. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: PayPal, Kagi, esellerate. Splitting revenue
On Feb 8, 2006, at 8:41 AM, Lynn Fredricks wrote: I think it's a good idea to decide where you want to go with your software business when making this kind of decision. If you do not see yourself turning your software business into a full time endeavor AND you arent selling an infrastructure style product (where buyers are often scared to buy something called shareware), Perhaps a point of clarification I was thinking a lot about tools that are targeted at folks who use shareware all the time. Developers and power users. I do not think this approach would work well for end user, consumer or professional. But how many of you out there make some money on shareware or developer tools? I know there area lot of you...Wouldn't it be nice to have a way to quickly a collaboration agreement together and get some thing out the door ASAP. Todd -- Todd Geist __ g e i s t i n t e r a c t i v e ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
How does a stack know it's been opened from a cgi?
Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a normal stack. What can a stack do to test whether it's being loaded from a CGI or not? Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Difficulty using shell in Ubuntu Linux
Thanks Gordon. No, that's not the trouble. My default shellCommand is also correctly set to /bin/sh. I've got the awful feeling I'm committting a goof somewhere, but that I'm too blind to see it... As a result of your mention of the ShellCommand, I've just had the inspiration of setting the defaultFolder to /bin/sh. The shell call worked perfectly. So I then tried setting the defaultFolder to the path of the app to be called, and now it also worked!!! Before, it didn't. I am utterly confused. Could it be that my RR/Ubuntu system was showing the benefit of a few hours' sleep after turning off the computer? Anyway Gordon, thanks for the tip. It wasn't the cause of the problem, but it certainly seems to have inspired my Ubuntu! Now I need to see how the shell works (or doesn't work) after doing other provocative things like I was doing last night, i.e. messing around with mounting/unmounting the floppy (but that's another source of pending questions to the RR/Linux community). Bob Gordon Tillman wrote: On Feb 8, 2006, at 08:03, Bob Warren wrote: I am using Ubuntu Linux (#5.04 - Hoary Hedgehog)*** with Rev 2.6.1. No matter what I try, I cannot get the function/commands shell, launch or open process to work. I have checked that the path to the standalone folder for launching is correct (by displaying its files), messing about with the default folder, putting the program path into a Global variable, etc., etc., all to no avail. Do these commands work in other versions of Linux? Is similar failure the experience of other Ubuntu users? Bob Bob I'm running on the same build of Ubuntu and the shell command works fine for me. Check something... in the message box enter: put the shellCommand Make sure is it set to something valid. Mine is set to /bin/sh --gordon ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Opening other applications from within Revolution
Maybe I'm a bit stupid - but this seems rather redundant; unless one is building a sort of TaskBar with RR. What is much more interesting, to my mind, is the ability of RR stacks to import data from documents/files generated by other applications (cf RR's database capabilities), process it, and, if necessary, export the processed data in a form that the parent program of the originating document/file can read. This is a way that the small man can access data in files generated by hugely expensive proprietary applications for the price of, for example, DreamCard. Now, far be it for me to 'rubbish' Microsoft products (cough, cough), but it is a well-known fact that Microsoft and its software products dominate the computer world - with the extremely undesirable result that a very large part of the world depends on pirate software to get its business done. As a person who is not over-enamoured of either Microsoft products or pirate software, and understands that full-blown Open-Source equivalents (cf. Open Office) take years of effort, it seems to me that there might be quite a niche for RR-developed programs to access (um; MS Access is one of the cases in point) proprietary formats quickly and inexpensively. During my Masters degree course at the University of Abertay (breath in a moment here) the programming instructor taught us extremely simple stuff with Visual Basic (why Abertay claimed that those who finished the MSc in Computers and IT would be at an equivalent level to those who had completed a 4-year undergraduate course I will never know) - one of the programming exercises was to build a front-end to retrieve information from a MS Access file. The main thing I learnt during that course was that Visual Basic was incredibly clunky compared with RR - and that almost everything that VB could do, RR could do at least as well if not slighty better. It was never explained to us how learning to write a program that displayed seven varieties of cars in a showroom would equip us for the real world of computer programming (especially as I remember doing real number-crunching stuff with Fortran in 1976 at a school); in fact nothing was either justified or rationalised - so I drew my own conclusion, which was that the underpinnings of MS Office and so on being VB (or VBA) should mean that it would be relatively easy to write RR equivalents of all those VB exercises that opened Excel docs, etc without all the rather odd, old-fashioned legacy stuff that seemed to be built into VB + (of course) the platform dependency which MetaCard managed to get beyond when it took on the Hypercard platform dependency problem. Having written this I will now try to find a spot of time to run up a sweet little number to extract data from an Excel file - and, as usual, I expect I'm a bit late in the race and some fiendishly clever RR/MC maven has managed this already! sincerely, Richmond Mathewson PS. Just poked my nose into a Microsoft website: http://www.microsoft.com/presspass/press/2006/jan06/01-10Macworld2006PR.mspx where I read something about Open XML - obviously nobody is going to have to work too hard if data is really stored in open XML (rather than xml + some funny encryption). __ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html ___ --- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Enterprise problem
Hi everyone i have a serious problem... Time is limited for these tests and i have to get them out tomorow if possible. Hopefully you can guide me to resolve this... Rev is the perfect answer but it's crashing! I've had a major series of crashes today, i've had a lot of issues with network access over windows with stacks accessing network files and im severely concerned. The problem is NOT about connectivity between windows and network devices - it's proven to work - but my stack is crashing anywhere accessing these files... The stack is nothing complex. It's 5 KBs without data and it tries to read the first KB of every file in a 4000 files list. List is 240KBs roughly. So, for each file, it opens the file, reads 1024 bytes, closes the file. At each loop if there an error, the file path is reported. (all files 16KBs btw). This was supposed to take 10 minutes to do! After 4 hours it is not and no errors to report which is rather hard to believe but sustantiated by the fact that the crash is not reproduced at the same file... IOW, the loop doesn't crash at the same place or with the same file... The read file operation is not using get url file: but open file, read from file, close file Each open, read and close is monitored for errors. open file thisfile if the result is not empty then... yes i tried saving at each loop my stack with the last file read! No, the last saved version didnt help. The same files dont always crash the stack... Stack is local to the server too, not on the network (causes more problems) The only possibility is that the file read times out The stack freezes everything and then crashes the IDE... Thanks for any likely issues or crashes. I dont see a simple way to test files any other way... I cannot use the get URL as files may exceed megabytes and even gigabytes in some cases. The function there is a file afile is not an option as i have to test that archived data is retrievable and the there is a file will be true thinking the alias of the file is the file. Hence using the read from file being the only option... Please vote 3116 if you think it will help... Another critical problem unconfirmed for months... sorry but i dont think support is supposed to help... Bg 1076 is hitting me since 1999 and it's still pending... Each time I get a crash i want to vote more for that bugzilla. cheers Xavier ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Odd Even Numbers
if trunc(X/2) = X/2 On 2/8/06, Jim Ault [EMAIL PROTECTED] wrote: Rather than a function, why not use (assuming integer line numbers only) get blue if x mod 2 = 0 then get red put it into colorChoice Jim Ault Las Vegas On 2/8/06 6:44 AM, Geoff Canyon [EMAIL PROTECTED] wrote: function isOdd x if x mod 2 is 1 then return true else return false end isOdd function isEven x if x mod 2 is 0 then return true else return false end isEven Note that for these functions, 2.5 is neither odd nor even, and non- numbers cause an error. To be safe you would use: function isOdd x if x is a number and x mod 2 is 1 then return true else return false end isOdd function isEven x if x is a number and x mod 2 is 0 then return true else return false end isEven On Feb 8, 2006, at 6:28 AM, Robert Presender wrote: How does one determine if a number is odd or even? For example I would like to do something like this: If the lineNumber of line x of fld List is odd then set the textColor to red. Suggestions are appreciated. Regards ... Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: PayPal, Kagi, esellerate. Splitting revenue
Perhaps a point of clarification I was thinking a lot about tools that are targeted at folks who use shareware all the time. Developers and power users. I do not think this approach would work well for end user, consumer or professional. But how many of you out there make some money on shareware or developer tools? I know there area lot of you...Wouldn't it be nice to have a way to quickly a collaboration agreement together and get some thing out the door ASAP. Right -- it is convenient, especially if the amounts are small. Id have concerns doing that with software though vs content because the ownership of the software is more complicated, and the core of a software product is often used in multiple products. For example, we have a content licensing business in which a per item investment maybe be a few hundred dollars or less, and its easy enough to predict what sales are going to be over the course of X amount of time. We don't build a product strategy on top of one piece of content :-) But then I look at another project we have coming along, a type of installer product called MeshInstall. We can reuse bits and pieces of MeshInstall in other products and of course in its own upgrade path. That would be a mess if someone else could claim shared ownership. When makes me think though is the level of trust concerns you mentioned before in establishing payments. To me, divvying up sales % is small stuff in comparision to that - it is like asking someone out on a date after you have already put a ring on their finger. If you already have that level of trust, then the end benefit is solely a matter of convenience. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.com -Software Destinations http://www.proactive-intl.com/blogs/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How does a stack know it's been opened from a cgi?
On Feb 8, 2006, at 9:06 AM, Ken Ray wrote: Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a normal stack. What can a stack do to test whether it's being loaded from a CGI or not? I wonder if there are any extra global vars set (environmental variables) when running as CGI? Perhaps check that list and see if there are HTTP specific ones. -- Trevor DeVore Blue Mango Multimedia [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Enterprise problem
Just a thought, and it's certainly outside of my experience, but since you mention aliases... if there is a file (the aliasReference of file fName) Mark On 8 Feb 2006, at 17:44, MisterX wrote: Hi everyone i have a serious problem... Time is limited for these tests and i have to get them out tomorow if possible. Hopefully you can guide me to resolve this... Rev is the perfect answer but it's crashing! I've had a major series of crashes today, i've had a lot of issues with network access over windows with stacks accessing network files and im severely concerned. The problem is NOT about connectivity between windows and network devices - it's proven to work - but my stack is crashing anywhere accessing these files... The stack is nothing complex. It's 5 KBs without data and it tries to read the first KB of every file in a 4000 files list. List is 240KBs roughly. So, for each file, it opens the file, reads 1024 bytes, closes the file. At each loop if there an error, the file path is reported. (all files 16KBs btw). This was supposed to take 10 minutes to do! After 4 hours it is not and no errors to report which is rather hard to believe but sustantiated by the fact that the crash is not reproduced at the same file... IOW, the loop doesn't crash at the same place or with the same file... The read file operation is not using get url file: but open file, read from file, close file Each open, read and close is monitored for errors. open file thisfile if the result is not empty then... yes i tried saving at each loop my stack with the last file read! No, the last saved version didnt help. The same files dont always crash the stack... Stack is local to the server too, not on the network (causes more problems) The only possibility is that the file read times out The stack freezes everything and then crashes the IDE... Thanks for any likely issues or crashes. I dont see a simple way to test files any other way... I cannot use the get URL as files may exceed megabytes and even gigabytes in some cases. The function there is a file afile is not an option as i have to test that archived data is retrievable and the there is a file will be true thinking the alias of the file is the file. Hence using the read from file being the only option... Please vote 3116 if you think it will help... Another critical problem unconfirmed for months... sorry but i dont think support is supposed to help... Bg 1076 is hitting me since 1999 and it's still pending... Each time I get a crash i want to vote more for that bugzilla. cheers Xavier ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How does a stack know it's been opened from a cgi?
On 8 Feb 2006, at 17:06, Ken Ray wrote: Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a normal stack. What can a stack do to test whether it's being loaded from a CGI or not? The library stack will show the openStacks as empty when called from a CGI, assuming the cgi hasn't opened any other stacks. Could you use that? Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How does a stack know it's been opened from a cgi?
Ken Ray wrote: Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a normal stack. What can a stack do to test whether it's being loaded from a CGI or not? Does your cgi receive parameters via post or get? If so, you could set one of those as an indicator. When a normal stack opens, the param would be empty. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: SpeechLab
text - speech is easy (relatively; still very poor) speech - text is hard On Feb 8, 2006, at 11:42 AM, Jeff Honken wrote: The MonsieurX.com site has a fun application called SpeechLab that allow you to type in a sentence and it will voice it back to you. Does Revolution have the reverse capabilities so that an application can be written that you can speak into a microphone on the computer and it dictates the sentence back to you? I'm new to Revolution and I didn't know that it had such strong speech capabilities. Jeff ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Opening other applications from within Revolution
After reading Mathewson's post and re-reading yours, Steve, I'm guessing I mis-answered earlier. You would rather get spreadsheet data out of the spreadsheet and into Rev, right? It might be possible to write a vbscript that reaches out and asks Excel to give it the tab-delimited text of some selected spreadsheet, but I haven't tried it. Ken Ray may have a related tip on his web site. (Looking...) I see this one there, related but not spot-on: http://www.sonsothunder.com/devres/revolution/tips/iac001.htm All the best - Phil [EMAIL PROTECTED] wrote: I have an Excel file on my hard drive that I would like to access from within revolution (just like I can access the Internet through RevGoUrl). What command can issue to open and see the file? I am having some trouble trying to do this through the open or open file commands. Thanks. Steve Goldberg ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How does a stack know it's been opened from a cgi?
On 2/8/06 11:58 AM, Trevor DeVore [EMAIL PROTECTED] wrote: On Feb 8, 2006, at 9:06 AM, Ken Ray wrote: Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a normal stack. What can a stack do to test whether it's being loaded from a CGI or not? I wonder if there are any extra global vars set (environmental variables) when running as CGI? Perhaps check that list and see if there are HTTP specific ones. Yup, that did it... there's a whole slew of globals that don't exist when running in a normal stack. I'm picking $HTTP_HOST to check for, since it's likely that will always be in the globals. Thanks, Trevor! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How does a stack know it's been opened from a cgi?
On 2/8/06 11:58 AM, Trevor DeVore [EMAIL PROTECTED] wrote: On Feb 8, 2006, at 9:06 AM, Ken Ray wrote: Hi, I have a library that I want my CGI to 'start using', but it is important that the library know whether it is being loaded from a CGI, or whether it's being loaded from a normal stack. What can a stack do to test whether it's being loaded from a CGI or not? I wonder if there are any extra global vars set (environmental variables) when running as CGI? Perhaps check that list and see if there are HTTP specific ones. Actually, I also found that if you ask for the environment you get command line... I think I'll use that instead... :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
SpeechLab - Granny Mckay's steam-driven computer
As far as I understand things, RR does not have strong speech capabilities; what it does have is the ability to leverage any speech capabilities that may be present in the host operating system. My Masters thesis was an attempt to write an Agent-like GUI for people who knew nothing about computers to produce small, functional educational applications for content delivery and reinforcement. What is not stated in the text of the thesis (which, if you really feel the urge is currently available at the Richmond's RR Rantings Yahoo Group: http://groups.yahoo.com/group/richmondsrrr/ ) is that my first prototype came badly unstuck because I naively assumed that the PCs running various versions of MS Windows used in schools run by Fife Council (Scotland) all had speech capabilities. I had to swallow quite deeply and depend on embedded AIFF files: this also meant that, to ensure the whole jingbang was not glacially slow, I had to prune down the phrases used by the 'character' who fronted the GUI to a bare minimum. It would be incredible if RR had 'portable' speech capabilities - this would mean that one could stop worrying about how one's application is going to work for Granny McKay and her steam-driven computer! sincerely, Richmond Mathewson __ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html ___ --- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
More about Granny Mckay's steam-driven computer
This is not quite as OT as it may at first seem . . . If one wants to be really cynical one can chop people in the world up into various groupings: Class #1. Those who have computers which they regularly upgrade and/or exchange - equipped with reasonably up-to-date operating systems. Class #2. Those who have steam-driven computers: i.e. computers which, at a stretch, are capable of coping with some stacks/standalones generated by RR developers, but are old, slow and work with antiquated operating systems. This class probably don't possess either the wherewithall to buy a more modern computer nor feel a need to. Class #3. Those who work as cow-herds and don't have computers (OK, OK, I know there are hi-tech cowherds, but they are in a minority). I wonder if there is a need (see earlier posting re speech capabilities) to develop a set of standard as to what it is reasonable for RR developers to expect Class #2 owners' computers to be capable of? While you and I (well, not quite - my fanciest machine is a G4 Mac 1.47 GHz with 1 GB RAM - hardly a la moment) may be owners of up-to-the minute computers most domestic users and small business users (particularly outwith North America) belong somewhere between Classes #1 and #2. sincerely, Richmond Mathewson __ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html ___ --- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Enterprise problem
X- Wednesday, February 8, 2006, 9:44:35 AM, you wrote: The stack is nothing complex. It's 5 KBs without data and it tries to read the first KB of every file in a 4000 files list. List is 240KBs roughly. So, for each file, it opens the file, reads 1024 bytes, closes the file. Sounds like this could be your antivirus software, either on the computer running the stack or on the server, that's slowing things down. You might try disabling it for the 10-minute test, or placing the file directory on the excluded list to see if that helps. -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: FTP
Aloha Pierre: This is pretty sophisticated! But intriguing and clearly very powerful. Questions: 1) Can you share some scripts from the client side app that shows this in action? 2) Are you doing this from the terminal and the switching to the Rev app? Or are you managing the entire handshake-dialog with the server through a Rev GUI? 3) Can you show us how a secure FTP upload could be done through this SSH tunnel you describe? where one assumes that the server is set up to handle with an FTP server ready to take connections... Sivakatirswami On Feb 06, 2006, at 12:32 AM, Pierre Sahores wrote: Hi, Here is the way i use for my own : ssh -C -l username -L localport:127.0.0.1:remoteport remoteip After beeing prompted for the remote host admin user password, your ssh tunnel will be opened and available betwin your local Rev app localport socket and the remoteport binded app (an other instance of rev, an FTP server, or so on. Best Regards, -- Pierre Sahores www.sahores-conseil.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Massive XML docs
Todd- I'm with Ruslan on this one. DOM is the fastest way to access xml information, but the tree size will be huge (are you talking about a single 100MB file rather than multiple files adding up to 100MB?). You can write a SAX processor, in which case you won't have the whole tree in memory, but your speed will drop noticeably. XML is nice in that it's human-parseable as well as machine-parseable (notice I didn't say readable), but it's quite a bloated format for both storage and searching. Native xml databases provide speed for data storage and retrieval but lack in querying speed unless they use significant resources in indexing. -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Enterprise problem
Mark im not sure this is it... or it wouldn't crash on files after a certain point, pass the same files where it crashed before and crash on files later. Files have not changed since archival, they were virus checked before. Still worth the check but not it IMOHO... thanks for the though in the right direction Xavier -Original Message- From: MisterX [mailto:[EMAIL PROTECTED] Sent: Wednesday, 08 February, 2006 20:12 To: 'Mark Wieder' Subject: RE: Enterprise problem Mark I'll have to try this for sure!!! it has blocked the archived-file retrieval process before... thanks Xavier -Original Message- From: Mark Wieder [mailto:[EMAIL PROTECTED] Sent: Wednesday, 08 February, 2006 19:52 To: [EMAIL PROTECTED]; How to use Revolution Subject: Re: Enterprise problem X- Wednesday, February 8, 2006, 9:44:35 AM, you wrote: The stack is nothing complex. It's 5 KBs without data and it tries to read the first KB of every file in a 4000 files list. List is 240KBs roughly. So, for each file, it opens the file, reads 1024 bytes, closes the file. Sounds like this could be your antivirus software, either on the computer running the stack or on the server, that's slowing things down. You might try disabling it for the 10-minute test, or placing the file directory on the excluded list to see if that helps. -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Difficulty using shell in Ubuntu Linux
just a thought - does one have to be 'root' or at least set some permissions to use shell? I am using Ubuntu Linux (#5.04 - Hoary Hedgehog)*** with Rev 2.6.1. No matter what I try, I cannot get the function/commands shell, launch or open process to work. I have checked that the path to the standalone folder for launching is correct (by displaying its files), messing about with the default folder, putting the program path into a Global variable, etc., etc., all to no avail. Do these commands work in other versions of Linux? Is similar failure the experience of other Ubuntu users? Bob -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Difficulty using shell in Ubuntu Linux
Stephen I don't think so.. On Feb 8, 2006, at 13:11, Stephen Barncard wrote: just a thought - does one have to be 'root' or at least set some permissions to use shell? I'm using it from a non-root account, although it *is* an account that can sudo if it needs to execute something as root for a single command. --gordy ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How does a stack know it's been opened from a cgi?
On 2/8/06 12:12 PM, Ken Ray [EMAIL PROTECTED] wrote: Actually, I also found that if you ask for the environment you get command line... I think I'll use that instead... This should also be documented (which would help) - right now the docs for 'environment' don't mention command line... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Opening other applications from within Revolution
On 2/8/06 6:24 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have an Excel file on my hard drive that I would like to access from within revolution (just like I can access the Internet through RevGoUrl). What command can issue to open and see the file? I am having some trouble trying to do this through the open or open file commands. I assume you are referring to a spreadsheet (.xls, since there are several types of Excel files). This is a very complex format that would really require the Excel app to work with. You do have options. Save the data as a tab delimited text file and read it directly in Rev. Open the workbook xls file in Excel and communicate with Excel to send/retrieve cell values/update formulas, etc. The communicate with Excel is done via VB on Windows and Applescript on Mac. Ken has a great starting point on his site and Microsoft has very good PDF documentation of the object model and use on their web site. Let me know if you want a few primitive examples of Mac stuff, since I use it for one of my projects. Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Enterprise problem
On 2/8/06 9:44 AM, MisterX [EMAIL PROTECTED] wrote: . Rev is the perfect answer but it's crashing! The read file operation is not using get url file: but open file, read from file, close file Each open, read and close is monitored for errors. open file thisfile if the result is not empty then... My first thought is to use a 'shell' command to read from file for 1028K Second is the Exernals Collection from the Rev web site It contains an Open File dll syntax ext_openFile path of folder or file find it at http://support.runrev.com/resources/unsupported.php Hope this helps Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: SpeechLab - Granny Mckay's steam-driven computer
Hi Richard, On Feb 8, 2006, at 10:00, [EMAIL PROTECTED] wrote: Date: Wed, 08 Feb 2006 13:16:30 -0500 From: Mathewson [EMAIL PROTECTED] Subject: SpeechLab - Granny Mckay's steam-driven computer As far as I understand things, RR does not have strong speech capabilities; what it does have is the ability to leverage any speech capabilities that may be present in the host operating system. How so? I'm very interested in SR (Speech Recognition), but I have never seen a Rev project that integrates well with, say, Dragon Naturally Speaking software. Also, there are so many different sound cards for PC's, it's hard to be sure anything will work. But, I should say I'm having a ball with SR in Mac's OS X, even with just the standard SR software that comes in it. I have programs that control onscreen cartoon robots (test modeling), and I regularly use it to call on the phone (e.g., one is simply call mom, which automatically dials up my cheapo long distance service, then the number, through the modem ... works every time, so far). I'm having increased disability using regular controllers, so it's kinda self-serving, but it almost guarantees some practical usability. As for TTS (Text o Speech), I've already successfully used phonemes for increased inflection with a couple of OSX' standard voices to call my dog. She _does_ respond. But, that's all everyday Mac stuff which many of us have been using for lotsa years. All the best, Ken N. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Blured Printout of Textfield Over Image
Dear List Text in a textfield that is placed on top of an image gets an ugly shadow if it is printed out. When I print it as a pdf-file and have a closer lock, I see two things: - the text nice and scaleable - a dropback of the text in pixels of the original screen-resolution. The same textfield placed on a graphic-field looks good. I use RunRev 2.5.1 on Mac OSX 10.4.4 Any helping hints? Thanks a lot Thomas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
SpeechLab - Granny Mckay's steam-driven computer
Yes, Ken Norris is correct and I am slightly wrong: My statement that RR leverages any speech capabilities that may be present in the host operating system is correct insofar as those speech capabilities are part of the OS itself (Macintosh speech has, as Norris points out, been present since maybe OS 7.5 - certainly Mac OS 8; and WIN XP has something similar - although it comes with only one 'silly voice' unlike Mac which comes with many 'really silly voices' - think 'Zarvox'! -). Norris is correct insofar as add-ons such as Dragon Naturally Speaking cannot be manipulated by RR. Quite honestly - the goofiness of most of the voices ('Agnes' the one designed - I assume - to give people with vaguely paedophiliac tendencies a buzz, and 'Victoria', the one to get heterosexual men all worked up - are about as close as you get to real voices: but, hey, how many real women say things like Your hard disk is badly fragmented in a voice that really means lets hop in the sack for a quick one?) offered by Macintosh means that: 1. They are virtually incomprehensible to non-native speakers, and 2. They serve to distract the user from what the message really is meant to convey. For my thesis (see last posting) I used my voice - which is no worse or no better than most people's - but has the added edge that it is a real voice, not a MacinTalk squawk that Apple are still palming off after about 8 years as the latest thing. I know that there are commercially available 'voices' that integrate completely into the OS-native speech systems of both Mac and Windows - I have no experience of them - I sincerely hope that they are both realistic and worth the money spent on them . . . and there is the rub! My Let Me Read Spooky Stories To You.rev stack uses the inherent speech capabilities of Mac and Windows XP - I have spent a tidy $500 dollars on authentic sounding voices for my Mac; so my stack sounds just right running on my rig. So I export my stack as a standalone and start marketing it at vast expense . . . But the fancy voice on my rig does (obviously) not go with my program. So, when Granny Mckay pops my program on her Performa 5200 running Mac OS 8, she hears 'Spooky Stories' read to her in a voice resembling the town drunk! And, as my real Granny (who, by the way, did not require a computer with speech capabilities to get her point across) would say in her unco coorse Arbroath accent - yer ae fou! sincerely, Richmond Mathewson __ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html ___ --- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Odd Even Numbers
hmmm... trunc(x/2)=x/2 and x mod 2 =0... Is 5.20 an even number? /H ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Massive XML docs
On 2/8/06 8:59 PM, Mark Wieder [EMAIL PROTECTED] wrote: Hi Mark, Hi Todd, Todd- I'm with Ruslan on this one. DOM is the fastest way to access xml information, but the tree size will be huge (are you talking about a single 100MB file rather than multiple files adding up to 100MB?). You can write a SAX processor, in which case you won't have the whole tree in memory, but your speed will drop noticeably. SAX is not good for many iterations. Usually it is used to parse all data and e,g, transform them or store into DBMS. XML is nice in that it's human-parseable as well as machine-parseable (notice I didn't say readable), but it's quite a bloated format for both storage and searching. right Native xml databases provide speed for data storage and retrieval but lack in querying speed unless they use significant resources in indexing. If cover Native XML databases. * they tend to use Xpath and/or Xquery as query language. * they do indexing like DBMS do BUT ... I can bet that quite soon they will go into history. I have see similar opinions on oracle.com :-) Oracle guys point that last 2 years vendors of Native XML dbs almost do not take part in development of Xquery standard and so on. This job do mainly Oracle, IBM, MS. Again, IMHO, this was just a fashion stream. But Text format is text format. In 1970th programmers have invent dbs exactly to run away from text formats. We have made a lots of discussion last time in team, with other developers who heavy use e.g. MS, with our university guys about what advantages gives XML and where it should live. Our resume: at least in areas: - WEB - data transfer One developer have told me how is happy that he have build his C# .NET APPLICATION (accounting for Germany customers) with XML middle-layer. So Application code do not depend directly on database structure. Interesting point of view I should say. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Odd Even Numbers
The original premise was that x would be a field line number. I always set up my fields to avoid having put $0.0021 into line 5.20 of field 1.03 of card 4.15 of stack almostmainstack Left over from the old day when I used my fingers to count. Jim Ault Las Vegas On 2/8/06 12:55 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hmmm... trunc(x/2)=x/2 and x mod 2 =0... Is 5.20 an even number? /H ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: SpeechLab - Granny Mckay's steam-driven computer
On Feb 8, 2006, at 3:34 PM, Mathewson wrote: but, hey, how many real women say things like Your hard disk is badly fragmented in a voice that really means lets hop in the sack for a quick one?) You're just not moving in the right circles. Charles ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Odd Even Numbers
Or function isOdd tNumber return tNumber mod 2 = 1 end isOdd On 2/8/06 9:37 AM, Mark Smith [EMAIL PROTECTED] wrote: function isOdd tNumber if tNumber mod 2 = 0 then return false else return true end if end isOdd if isOdd(x) then set the the textColor of line x of fld List to red Hope this helps, Mark On 8 Feb 2006, at 14:28, Robert Presender wrote: How does one determine if a number is odd or even? For example I would like to do something like this: If the lineNumber of line x of fld List is odd then set the textColor to red. Suggestions are appreciated. Regards ... Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Get file name from full path and name?
Greetings, Searched the docs for anything that might do this, but can't find anything Does anyone know how to extract a file name and extension from a full path, such as from answer file ? Thanks, -Garrett ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Blured Printout of Textfield Over Image
Thomas Bähler wrote: Dear List Text in a textfield that is placed on top of an image gets an ugly shadow if it is printed out. When I print it as a pdf-file and have a closer lock, I see two things: - the text nice and scaleable - a dropback of the text in pixels of the original screen-resolution. The same textfield placed on a graphic-field looks good. I use RunRev 2.5.1 on Mac OSX 10.4.4 Any helping hints? The only thing you can do about this is ... not to do it. The current state of transparency printing forces the engine to make a bitmap copy of the card before printing, then it overlays the text again so that sometimes it looks doubled. As I understand it, the next release will fix this, if you can wait. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Get file name from full path and name?
Hi Garrett, Greetings, Searched the docs for anything that might do this, but can't find anything Does anyone know how to extract a file name and extension from a full path, such as from answer file ? ... answer file Is there any beer left? if it = empty then exit mouseup ##or whatever set the itemdel to / put item -1 of it into t_filename set the itemdel to . put item -1 of t_filename into t_suffix put item 1 to -2 of t_filename into t_filename_without_suffix ... Hope that helps :-) Thanks, -Garrett Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Incoming command line parameters?
Greetings, How to grab command line parameters that are sent to my rev app when it's launched? Thanks, -Garrett ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Get file name from full path and name?
Garrett Hylltun wrote: Greetings, Searched the docs for anything that might do this, but can't find anything Does anyone know how to extract a file name and extension from a full path, such as from answer file ? Like so: set the itemdelimiter to / put last item of my/long/filepath/name.txt into tShortName -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Blured Printout of Textfield Over Image
Hi Thomas, Text in a textfield that is placed on top of an image gets an ugly shadow if it is printed out. When I print it as a pdf-file and have a closer lock, I see two things: - the text nice and scaleable - a dropback of the text in pixels of the original screen-resolution. The same textfield placed on a graphic-field looks good. I use RunRev 2.5.1 on Mac OSX 10.4.4 One way to work around this problem is to ensure that the image the field is in front of does not have either a 1-bit mask or an alpha- mask. If an image has either of these, the part of the stack within its bounds will be rasterized first and then printed - resulting in everything above also being rasterized causing the 'ugly shadow' you have observed. Warmest Regards, Mark. -- Mark Waddingham ~ [EMAIL PROTECTED] ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Get file name from full path and name?
Excellent! And I actually understand that too! Thank you Klaus, -Garrett On Feb 8, 2006, at 2:50 PM, Klaus Major wrote: Hi Garrett, Greetings, Searched the docs for anything that might do this, but can't find anything Does anyone know how to extract a file name and extension from a full path, such as from answer file ? ... answer file Is there any beer left? if it = empty then exit mouseup ##or whatever set the itemdel to / put item -1 of it into t_filename set the itemdel to . put item -1 of t_filename into t_suffix put item 1 to -2 of t_filename into t_filename_without_suffix ... Hope that helps :-) Thanks, -Garrett Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Get file name from full path and name?
Hi Garret, function FullPathToShortFileName pPath set the itemDel to slash return last item of pPath end FullPathToShortFileName And (for instance): put FullPathToFileName(the filename of this stack) into tStackShortFileName Le 8 févr. 06 à 23:46, Garrett Hylltun a écrit : Searched the docs for anything that might do this, but can't find anything Does anyone know how to extract a file name and extension from a full path, such as from answer file ? Best Regards from Paris, Eric Chatonet -- http://www.sosmartsoftware.com/[EMAIL PROTECTED]/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Get file name from full path and name?
M Doughnut This is good too. Thanks J. -Garrett On Feb 8, 2006, at 2:53 PM, J. Landman Gay wrote: Garrett Hylltun wrote: Greetings, Searched the docs for anything that might do this, but can't find anything Does anyone know how to extract a file name and extension from a full path, such as from answer file ? Like so: set the itemdelimiter to / put last item of my/long/filepath/name.txt into tShortName -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [a] Get file name from full path and name?
From: Garrett Hylltun Does anyone know how to extract a file name and extension from a full path, such as from answer file ? Here's what I use in WikiRev: put it into curFileName set the itemDelimiter to / put the last item of curFileName into shortCurFileName put item 1 to -2 of curFileName into curFilePath Jerry Muelver ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Get file name from full path and name?
Hi Garrett, Excellent! And I actually understand that too! Great :-) Thank you Klaus, You're welcome! -Garrett On Feb 8, 2006, at 2:50 PM, Klaus Major wrote: Hi Garrett, Greetings, Searched the docs for anything that might do this, but can't find anything Does anyone know how to extract a file name and extension from a full path, such as from answer file ? ... answer file Is there any beer left? if it = empty then exit mouseup ##or whatever set the itemdel to / put item -1 of it into t_filename set the itemdel to . put item -1 of t_filename into t_suffix put item 1 to -2 of t_filename into t_filename_without_suffix ... Hope that helps :-) Thanks, -Garrett Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Get file name from full path and name?
On 2/8/06 4:46 PM, Garrett Hylltun [EMAIL PROTECTED] wrote: Greetings, Searched the docs for anything that might do this, but can't find anything Does anyone know how to extract a file name and extension from a full path, such as from answer file ? Here's another one (the 'regex' way): get matchText(pPath,.*\/(.*?)$,tLeaf) return tLeaf Still not a 1-liner, though... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: How does a stack know it's been opened from a cgi?
Ken, could you have the library check for something that would only return a value when running from a desktop? how about quicktime verstion, screenrec? tm ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Incoming command line parameters?
On 2/8/06 4:53 PM, Garrett Hylltun [EMAIL PROTECTED] wrote: Greetings, How to grab command line parameters that are sent to my rev app when it's launched? They come in as $1, $2, etc. $0 is the path of the application itself: on openStack put $0 into theAppPath put $1 into theDocToOpen answer The doc to open is: theDocToOpen end openStack 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 Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How does a stack know it's been opened from a cgi?
On 2/8/06 5:32 PM, Thomas McCarthy [EMAIL PROTECTED] wrote: Ken, could you have the library check for something that would only return a value when running from a desktop? how about quicktime verstion, screenrec? Thanks, Tom... you must have missed my post - it turns out that you can check 'the environment' and it will return 'command line' if the CGI is in control... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Incoming command line parameters?
Thank you Ken, -Garrett On Feb 8, 2006, at 3:35 PM, Ken Ray wrote: On 2/8/06 4:53 PM, Garrett Hylltun [EMAIL PROTECTED] wrote: Greetings, How to grab command line parameters that are sent to my rev app when it's launched? They come in as $1, $2, etc. $0 is the path of the application itself: on openStack put $0 into theAppPath put $1 into theDocToOpen answer The doc to open is: theDocToOpen end openStack 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 Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Opening other applications from within Revolution
Hi Phil, No, I'm not interested in importing data from the Excel sheet into Rev, just opening an existing Excel application from a command in Rev. I still can't seem to do this. I've put the Excel file (and also the Excel application) into the same folder as the Revolution stack and just issued the command (let's say the Excel file is titled Sample.xls): launch Sample.xls with Microsoft Excel or launch Sample.xls with Excel but nothing happens Am I using the wrong syntax, or can one only do this from a standalone Rev program? Thanks. Steve Goldberg In a message dated 2/8/06 4:33:28 PM, [EMAIL PROTECTED] writes: After reading Mathewson's post and re-reading yours, Steve, I'm guessing I mis-answered earlier. You would rather get spreadsheet data out of the spreadsheet and into Rev, right? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Opening other applications from within Revolution
Recently, [EMAIL PROTECTED] wrote: I'm not interested in importing data from the Excel sheet into Rev, just opening an existing Excel application from a command in Rev. I still can't seem to do this. I've put the Excel file (and also the Excel application) into the same folder as the Revolution stack and just issued the command (let's say the Excel file is titled Sample.xls): launch Sample.xls with Microsoft Excel or launch Sample.xls with Excel but nothing happens It sounds like you're missing the path to Excel. Try using the full path to the app in your launch script. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Odd Even Numbers
Excellent! Mark On 8 Feb 2006, at 22:04, Raymond Griffith wrote: Or function isOdd tNumber return tNumber mod 2 = 1 end isOdd On 2/8/06 9:37 AM, Mark Smith [EMAIL PROTECTED] wrote: function isOdd tNumber if tNumber mod 2 = 0 then return false else return true end if end isOdd if isOdd(x) then set the the textColor of line x of fld List to red Hope this helps, Mark On 8 Feb 2006, at 14:28, Robert Presender wrote: How does one determine if a number is odd or even? For example I would like to do something like this: If the lineNumber of line x of fld List is odd then set the textColor to red. Suggestions are appreciated. Regards ... Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Difficulty using shell in Ubuntu Linux
Stephen: As a complement to what Gordon said, and now that the shell has magically begun working in my Ubuntu Linux, here is how I am managing to read the floppy in Ubuntu. The problem in Ubuntu is that although you can read the diskette by clicking on an icon, which automatically mounts the drive, if you try to read it directly in RR without doing this, it will not work because the drive hasn't been mounted yet. The solution is to use the shell to mount the drive every time before reading the diskette, and never to unmount it (unmounting will not work while your app is running anyway, because since the system knows the floppy is in use, it is protected). This way, you can read the same diskette repeatedly, or change the diskette at will, and the contents will be correctly displayed: on mouseUp get shell(mount /media/floppy0) set the defaultFolder to /media/floppy put the files into field List1 end mouseUp For this function, no permissions are needed, of course. Sorry I can't yet expand on the subject more eloquently. If anyone has a minute to spare, would they mind trying the above floppy routine on their non-Ubuntu Linux? [I have only one Linux machine with Ubuntu installed, but I tried using a live CD of Kurumin Linux to test it. The routine half worked - I got a display of files, but they were from the HD rather than the diskette, and I noted a system error in RR - so I concluded that this might be because I was running the routine from a non-installed Linux and that the result might be different if I ran it from an installed version of Kurumin.] Thanks. Bob --- Gordon Tillman wrote: Stephen I don't think so.. On Feb 8, 2006, at 13:11, Stephen Barncard wrote: just a thought - does one have to be 'root' or at least set some permissions to use shell? I'm using it from a non-root account, although it *is* an account that can sudo if it needs to execute something as root for a single command. --gordy ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Opening other applications from within Revolution
hi Had the same problem in the past.. Found the best solution (so far) is to use an external command launcher, at the mo i use.. on Windows: runfile.exe http://www.winsite.com/bin/Info?50001891 on OS X: launch http://web.sabi.net/nriley/software/ .. and use rev's shell command to launch. regards alex Recently, [EMAIL PROTECTED] wrote: I'm not interested in importing data from the Excel sheet into Rev, just opening an existing Excel application from a command in Rev. I still can't seem to do this. I've put the Excel file (and also the Excel application) into the same folder as the Revolution stack and just issued the command ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Enterprise problem
Jim, I want to use supported tools... Also if I do this in a shell, I might as well do the whole thing... If I can avoid using shell... I will... Thanks for the ideas Xavier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Ault Sent: Wednesday, 08 February, 2006 21:07 To: How to use Revolution Subject: Re: Enterprise problem On 2/8/06 9:44 AM, MisterX [EMAIL PROTECTED] wrote: . Rev is the perfect answer but it's crashing! The read file operation is not using get url file: but open file, read from file, close file Each open, read and close is monitored for errors. open file thisfile if the result is not empty then... My first thought is to use a 'shell' command to read from file for 1028K Second is the Exernals Collection from the Rev web site It contains an Open File dll syntax ext_openFile path of folder or file find it at http://support.runrev.com/resources/unsupported.php Hope this helps Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Odd Even Numbers
Using a function makes it easier to call from different places. isOdd is self-documenting, where inline code might not be. If error- detection code (checking that the value is a number, etc.) is necessary, putting it into a function once is better than adding it everywhere. That said, there is overhead associated with calling a function, and this _is_ a very simple function. If it's being written for just this one application, then doing it inline is certainly an option. gc On Feb 8, 2006, at 8:27 AM, Jim Ault wrote: Rather than a function, why not use (assuming integer line numbers only) get blue if x mod 2 = 0 then get red put it into colorChoice Jim Ault Las Vegas On 2/8/06 6:44 AM, Geoff Canyon [EMAIL PROTECTED] wrote: function isOdd x if x mod 2 is 1 then return true else return false end isOdd function isEven x if x mod 2 is 0 then return true else return false end isEven Note that for these functions, 2.5 is neither odd nor even, and non- numbers cause an error. To be safe you would use: function isOdd x if x is a number and x mod 2 is 1 then return true else return false end isOdd function isEven x if x is a number and x mod 2 is 0 then return true else return false end isEven On Feb 8, 2006, at 6:28 AM, Robert Presender wrote: How does one determine if a number is odd or even? For example I would like to do something like this: If the lineNumber of line x of fld List is odd then set the textColor to red. Suggestions are appreciated. Regards ... Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: use-revolution Digest, Vol 29, Issue 18
can write a SAX processor, in which case you won't have the whole tree in memory, but your sp You can use revcreatexmltree, and just tell it to not build the dom tree/or keep the document in memory, and handle the messages. revCreateXMLTree(field XML Data,true,false,true) Tuviah Snyder www.mddev.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution