2 dimensional Arrays
I have a two dimensional array in my program and I am having some trouble getting values to come out of it. The array is keyed in both dimentions by entries such as s1,s1 s1,s2 etc. (the quotes are included in the key for various reasons but they could potentially be removed) the values in the array are either empty or 1 if I call for a value using something like: answer myArray[s1,s2] I will get the value returned to me but if I try to use variables it doesnt work right. If I have a variable leftVar that contains s1 and rightVar that contains s2 (both with quotes) and I say answer myArray[leftVar,rightVar] I get returned an empty message. I dont seem to have this problem when calling a single dimension array, only in my 2-dimension one. Any help would be greatly appreciated. -- View this message in context: http://www.nabble.com/2-dimensional-Arrays-tf3400627.html#a9469753 Sent from the Revolution - User mailing list archive at Nabble.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: 2 dimensional Arrays
Hi Otto, Rev doesn't support 2 dimensional arrays, so you have to kind of fake them. That can be done by naming the keys the way you do. But if you want to get the value of a specific key, you should use: myArray[x comma y] instead of myArray[x,y] Hope this helps. You can also take a look at http://www.sonsothunder.com/devres/revolution/tips/arry001.htm Kind regards, Henk -- Henk v.d. Velden iGlow Media Magda Janssenslaan 36 3584 GR UTRECHT Netherlands 0031 (0)6 16 024 337 www.iglow-media.nl I have a two dimensional array in my program and I am having some trouble getting values to come out of it. The array is keyed in both dimentions by entries such as s1,s1 s1,s2 etc. (the quotes are included in the key for various reasons but they could potentially be removed) the values in the array are either empty or 1 if I call for a value using something like: answer myArray[s1,s2] I will get the value returned to me but if I try to use variables it doesnt work right. If I have a variable leftVar that contains s1 and rightVar that contains s2 (both with quotes) and I say answer myArray[leftVar,rightVar] I get returned an empty message. I dont seem to have this problem when calling a single dimension array, only in my 2-dimension one. ___ 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: 2 dimensional Arrays
Thanks for that, the site made rev's arrays a little more understandable. the method you sent me didn't seem to work but I managed to hack together some code that works: put character 2 to the length of leftVar - 1 of leftVar into L put character 2 to the length of rightVar - 1 of rightVar into R answer myArray[L,R] This just strips away the quotation marks from leftVar and rightVar which after seeing that I site I realized to be the problem Thanks, Otto Henk van der Velden wrote: Hi Otto, Rev doesn't support 2 dimensional arrays, so you have to kind of fake them. That can be done by naming the keys the way you do. But if you want to get the value of a specific key, you should use: myArray[x comma y] instead of myArray[x,y] Hope this helps. You can also take a look at http://www.sonsothunder.com/devres/revolution/tips/arry001.htm Kind regards, Henk -- Henk v.d. Velden iGlow Media Magda Janssenslaan 36 3584 GR UTRECHT Netherlands 0031 (0)6 16 024 337 www.iglow-media.nl I have a two dimensional array in my program and I am having some trouble getting values to come out of it. The array is keyed in both dimentions by entries such as s1,s1 s1,s2 etc. (the quotes are included in the key for various reasons but they could potentially be removed) the values in the array are either empty or 1 if I call for a value using something like: answer myArray[s1,s2] I will get the value returned to me but if I try to use variables it doesnt work right. If I have a variable leftVar that contains s1 and rightVar that contains s2 (both with quotes) and I say answer myArray[leftVar,rightVar] I get returned an empty message. I dont seem to have this problem when calling a single dimension array, only in my 2-dimension one. ___ 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:Vista, Speech Wreckognition, and perl (Mark Wieder)
Mark Weider wrote Mon, 12 Mar 2007 19:21:36 -0800 :- !!!- Warning - I laughed for ten minutes solid... http://www.youtube.com/watch?v=KyLqUf4cdwc [EMAIL PROTECTED] Great! It reminds me of a report many years ago in MacFormat Magazine. It went something ike this; The MS team had worked for months on the development of a new Handwriting Recognition software. Satisfied with their efforts they proudly presented it to Mr W.Gates who immediately tried it, by writing a phrase, and got no results! The developers had forgotten that their boss is left handed!! ADDENDUM My belated apologies for not thanking those who offered comments to my post on transparent images but I wanted to research further on this theme and we 'hobbyists' are not so assiduous as many of you on this list ;) Thank you all for being 'out there'. Cheers Barry -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://infostrada.it ___ 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: Stadalone Icons
Hi Karen and Sarah, If you are creating icons for Windows, you don't want to use IconoGrapher. It creates an ugly mask that is visible in all transparent areas of the icon. If you are creating icons for Mac OS X and Mac OS 9 only, IconoGrapher is a great tool. I tried contacting the author to ask when an update will become available, but didn't get an answer. For Mac, there is Apple's Icon Composer. You will find this in folder /Developer/Applications/Utilities, after installing Apple's Developer Tools, which you can obtain for free from Apple Developer Connection or is included with your system software. For Windows, there is an excellent freeware tool, called IconFX, which creates icons for Windows 98, ME, 2000, XP and Vista. Download it from http://icofx.xhost.ro/. Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 14-mrt-2007, om 6:59 heeft Sarah Reichelt het volgende geschreven: Hi Karen, Welcome to the Revolution! I don't use Photoshop so I can't give you any advice about it's plugin, but I use a shareware program called Iconographer (I see you are on a Mac): http://www.mscape.com/products/iconographer.html. Import your Photoshop icon or image into Iconographer, generate the mask if needed, then Complete Icon to fill in all the other sizes. If you save as a .icns file, that will work for Mac OS X applications. Save as a .ico file for Windows. In your stacks Standalone Settings, find the icons section for the particular platform and select the icon file you just saved. On OS X, when you build the app, it won' tlook as if it has the real icon. Copy the app to another folder or zip unzip it to make the icon appear. Hope this helps, Sarah ___ 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
[OT] Digital Outlook Report
Found on Guy Kawasaki's blog http://blog.guykawasaki.com/ Avenue A Razorfish recently published the 2007 Digital Outlook Report (6230.6K). This report examines trends in the way consumers, publishers, and advertisers employ digital media to have a conversation with each other. http://guykawasaki.typepad.com/DMOR_FINAL_reduced.pdf Best, Marielle Marielle Lange (PhD), http://widged.com Bite-size Applications for Education ___ 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
Can Runrev 2.5.1 build website ??
Hi everybody, I want to know runrev v.2.5.1 can build website as PHP, Html. Please tell or suggest me. And if can do how to build website by use runrev? Thank you. Best Regard, Supote ___ 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: Can Runrev 2.5.1 build website ??
Dear Supote, A few tutorials on building CGI's with revolution have appeared in runrev's newsletters: Part 1. http://www.runrev.com/newsletter/july/issue4/newsletter2.html Part 2. http://www.runrev.com/newsletter/july/issue5/newsletter2.html Part 3. http://www.runrev.com/newsletter/august/issue6/ newsletter2.html Part 4. http://www.runrev.com/newsletter/august/issue7/newsletter2.php Part 5. http://www.runrev.com/newsletter/august/issue8/newsletter2.php Part 6. http://www.runrev.com/newsletter/september/issue9/ newsletter2.php Best, Marielle On 14 Mar 2007, at 09:41, supote songthammawat wrote: Hi everybody, I want to know runrev v.2.5.1 can build website as PHP, Html. Please tell or suggest me. And if can do how to build website by use runrev? Thank you. Best Regard, Supote ___ 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
Dimensional Arrays
I appologise in advance for what may seem like simple programming logic to some, but I'm not really a programmer and I've been staring at this problem for 5 hours now and can't seem to figure it out. I have 3 multi-dimensional arrays which I need to get grouped information out of:- tArray1[Data,1,regNo] = B123ABC tArray1[Data,1,tLitres] = 500 tArray1[Data,1,month] = 2 tArray1[Data,2,regNo] = B123ABC tArray1[Data,2,tLitres] = 300 tArray1[Data,2,month] = 3 tArray1[Data,3,regNo] = B456ABC tArray1[Data,3,tLitres] = 200 tArray1[Data,3,month] = 4 tArray2[Data,1,regNo] = B123ABC tArray2[Data,1,tLitres] = 1000 tArray2[Data,1,tKM] = 2500 tArray2[Data,1,month] = 2 tArray2[Data,2,regNo] = B123ABC tArray2[Data,2,tLitres] = 150 tArray2[Data,2,tKM] = 3000 tArray2[Data,2,month] = 3 tArray2[Data,3,regNo] = B456ABC tArray2[Data,3,tLitres] = 150 tArray2[Data,3,tKM] = 3000 tArray2[Data,3,month] = 4 AND tArray3[Data,1,regNo] = B123ABC tArray3[Data,1,tLitres] = 350 tArray3[Data,1,tKM] = 800 tArray3[Data,1,month] = 2 tArray3[Data,2,regNo] = B123ABC tArray3[Data,2,tLitres] = 250 tArray3[Data,2,tKM] = 600 tArray3[Data,2,month] = 3 tArray3[Data,3,regNo] = B456ABC tArray3[Data,3,tLitres] = 250 tArray3[Data,3,tKM] = 100 tArray3[Data,3,month] = 4 what I need to end up with is data from these 3 arrays which will end up looking something like this: regNo B123ABC used 1850Ltrs and did 3300 km in month 2 regNo B123ABC used 700Ltrs and did 3600 km in month 3 regNo B456ABC used 500Ltrs and did 3100 km in month 4 Can anyone explain how I might be able to do this. I basically got the info by doing 3 'grouped' select statements from 3 different tables. This info gets stored in the arrays above but when it comes time to writing a report or doing calculations, I need to add them all up. It's probably staring me in the face but I have 'arc eye' from staring at the screen for so long! Mighty appreciative! # This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal # ___ 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: 2 dimensional Arrays
Hi, The problem is that arrays in RunRev are not arrays in the same sense as in languages like C/C++ or Pascal etc. They are really look up tables. In RunRev instead of passing an index (or indexes) to retrieve the data for an entry you pass a key. You can fake the way Arrays work in languages like C/C++ etc, by passing key values such as 1,5, but this is actually passing a three character key of 1 , 2. I've found that if you are using the key section in a non-trivial way (like in the 2D array example) it's better to use a function that returns your munged key for you, e.g. something like this: function Get2DArrayKey theIndex1,theIndex2 return theIndex1 , theIndex2 end and to use: put into my2DArray[Get2DArrayKey(1,5) ] or put my2DArray[Get2DArrayKey(1,5)] into myValue If you *ALWAYS* use this function, you will always get consistent keys, otherwise you may have the problem you described where it's starts to get confusing because of extra quote characters, etc. Hope this Helps Dave On 14 Mar 2007, at 08:33, Otto Hansen wrote: Thanks for that, the site made rev's arrays a little more understandable. the method you sent me didn't seem to work but I managed to hack together some code that works: put character 2 to the length of leftVar - 1 of leftVar into L put character 2 to the length of rightVar - 1 of rightVar into R answer myArray[L,R] This just strips away the quotation marks from leftVar and rightVar which after seeing that I site I realized to be the problem Thanks, Otto Henk van der Velden wrote: Hi Otto, Rev doesn't support 2 dimensional arrays, so you have to kind of fake them. That can be done by naming the keys the way you do. But if you want to get the value of a specific key, you should use: myArray[x comma y] instead of myArray[x,y] Hope this helps. You can also take a look at http://www.sonsothunder.com/devres/revolution/tips/arry001.htm Kind regards, Henk -- Henk v.d. Velden iGlow Media Magda Janssenslaan 36 3584 GR UTRECHT Netherlands 0031 (0)6 16 024 337 www.iglow-media.nl I have a two dimensional array in my program and I am having some trouble getting values to come out of it. The array is keyed in both dimentions by entries such as s1,s1 s1,s2 etc. (the quotes are included in the key for various reasons but they could potentially be removed) the values in the array are either empty or 1 if I call for a value using something like: answer myArray[s1,s2] I will get the value returned to me but if I try to use variables it doesnt work right. If I have a variable leftVar that contains s1 and rightVar that contains s2 (both with quotes) and I say answer myArray[leftVar,rightVar] I get returned an empty message. I dont seem to have this problem when calling a single dimension array, only in my 2-dimension one. ___ 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: Detecting Browser Page on Windows/Linux
Ken Ray wrote I have some VBScript that can work in WIndows to give you ther URL of all currently open web browser documents (or tabs)... Hi Ken: Can your script send a force-refresh to a named browser window? (Windows OS) Mark ___ 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
strange code problem
Can anyone tell me why the code in red will work if I Step through it but as soon as I let it run normally I will get blank results?? It seems to skip the second repeat but if I put an answer msg in it, it reaches the answer msg! put truckRegNo,totalFuel,totalKM,month into tHeadings split tHeadings with comma put 1,2,3,4 into tColumns split tColumns with comma put the number of lines in thisOne into sRecordCount -- thisOne is a variable which contains comma seperated values like:- B456ADF,1000,2500,2 put 0 into x answer thisOne repeat for each line thisLine in thisOne split thisLine with comma --answer x add 1 to x repeat for each element thisE in tColumns put tHeadings[thisE] into tHeader put thisLine[thisE] into tDetail[x,tHeader] --answer sColumn[thisLine,tHeader] end repeat end repeat Any help appreciated!!! # This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal # ___ 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: Ideas and Suggestions on Generating Frames for a Movie
On 12 Mar 2007, at 20:24, Jim Lambert wrote: what I would like to be able to do is it put the background pixels into a pixel buffer, then the pixels of each object in the frame into a the same pixel buffer (overwriting the background) and then pass this buffer to an external command that would write one frame of the QuickTime movie. Import snapshot would give you an image of the current frame. Depending on the capabilities of your QuickTime thingy you might be able to pass the imagedata of that image directly to it. Or, export snapshot to create a numbered series of JPEGs which is then post-processed by your QuickTime thingy into a movie. I've uploaded a demo stack to RevOnline (user: Ian Wood) showing the old and new syntaxes for exporting from areas and objects, in sequential manner. Your external sounds interesting, I've been messing around with Trevor DeVore's QT external to do something similar but it required a few hacks and is a bit unstable because of that. Ian ___ 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: While this may be heresy
On Tue, 13 Mar 2007 17:34:12 +, Simon HARPER wrote: Hi there, While I understand this may be heresy, how does Revolution stack up to RealBasic, especially when it comes to thinks like richness of the interface (such as hierarchical Listboxs)? It's not heresy, it's a reasonable question. :-) However it's a question that could take a long time to answer, depending on how specific you want a comparison. They both have their strengths and weaknesses, and at one time a member of this list (Geoff Canyon) wrote up a comparison between the two, but this was several versions ago for both products, so only a portion of that treatise is relevant anymore. However, my opinion is that in relation to the richness of the interface, it's a tie. RealBasic has more built in interface objects than Rev, but Rev has more control over its interface objects than RealBasic. So in my opinion for this specific issue, it's a toss-up. Of course you can create your own custom objects in both programs to fill any gaps. But the power of Revolution isn't centered in the expansiveness of its built-in controls; it's in the language itself. If you are interested, I wrote an unpublished paper that walked through the RealBasic tutorial document, examined it, and compared it with how you'd do things in Revolution. As an overview, in about 80% of the code comparisons, Revolution took less lines of code to accomplish the same task than did RealBasic. If you're interested in having a look, contact me offlist. There is (obviously) a lot more to compare the two products, but hopefully this will help get you started... Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.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
Launching the Calculator
Two students of mine are building a stack to give learners some practice with the concepts of mean, median, mode, quartiles, and range. They asked me whether they could have a button in their stack that launches the calculator that comes with windows (chiefly so the students can add and divide for mean). So I'm asking the list members. Keep in mind that these students have less than 2 hours so far of programming experience whatsoever, so shell commands and externals would be too much for them. They are working on Windows XP to compile for Windows. An alternative would be for them to create their own calculator within the stack or as a substack. They only have three weeks to finish this project, so I was hoping to avoid that rout. Thanks in advance, Mark Greenberg ___ 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: Detecting Browser Page on Windows/Linux
On Wed, 14 Mar 2007 05:48:55 -0700, Mark Powell wrote: Ken Ray wrote I have some VBScript that can work in WIndows to give you ther URL of all currently open web browser documents (or tabs)... Hi Ken: Can your script send a force-refresh to a named browser window? (Windows OS) Sort of - you can force a refresh to a browser window that is displaying a specific (known) URL. Will that work for you? Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.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: Launching the Calculator
Hi Mark, Two students of mine are building a stack to give learners some practice with the concepts of mean, median, mode, quartiles, and range. They asked me whether they could have a button in their stack that launches the calculator that comes with windows (chiefly so the students can add and divide for mean). So I'm asking the list members. Keep in mind that these students have less than 2 hours so far of programming experience whatsoever, so shell commands and externals would be too much for them. They are working on Windows XP to compile for Windows. An alternative would be for them to create their own calculator within the stack or as a substack. They only have three weeks to finish this project, so I was hoping to avoid that rout. Check the launch command, that should do the trick. ... launch C:/omplete/path/to the app to be launched/ here.exe ... Remember to provide the complete filepath in REV (UNIX) notation with slashes! Thanks in advance, Mark Greenberg 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: Launching the Calculator
On Wed, 14 Mar 2007 06:13:08 -0700, Mark Greenberg wrote: Two students of mine are building a stack to give learners some practice with the concepts of mean, median, mode, quartiles, and range. They asked me whether they could have a button in their stack that launches the calculator that comes with windows (chiefly so the students can add and divide for mean). So I'm asking the list members. Keep in mind that these students have less than 2 hours so far of programming experience whatsoever, so shell commands and externals would be too much for them. They are working on Windows XP to compile for Windows. launch C:/Windows/Notepad.exe However if for some reason the main Windows folder was renamed (some people do this on install), you can get the path to the current Windows folder using specialFolderPath: put specialFolderPath(system) into tWindowsDir launch (tWindowsDir /Notepad.exe) Hope this helps, Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.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: Launching the Calculator
Hiya, This should work: launch C:\\WINDOWS\System32\calc.exe Unless you've renamed your System Root directory, so just rename 'WINDOWS to whatever your System Root is. Cheers, Luis. Mark Greenberg wrote: Two students of mine are building a stack to give learners some practice with the concepts of mean, median, mode, quartiles, and range. They asked me whether they could have a button in their stack that launches the calculator that comes with windows (chiefly so the students can add and divide for mean). So I'm asking the list members. Keep in mind that these students have less than 2 hours so far of programming experience whatsoever, so shell commands and externals would be too much for them. They are working on Windows XP to compile for Windows. An alternative would be for them to create their own calculator within the stack or as a substack. They only have three weeks to finish this project, so I was hoping to avoid that rout. Thanks in advance, Mark Greenberg ___ 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: strange code problem
On Wed, 14 Mar 2007 15:02:20 +0200, Nic Prioleau wrote: Can anyone tell me why the code in red will work if I Step through it but as soon as I let it run normally I will get blank results?? Sorry, Nic, but I don't see the red text in my email client (it's just all normal text). Can you repost with comments or other indicators so that those of us without color can help? Thanks, Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.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: strange code problem
On 3/14/07, Nic Prioleau [EMAIL PROTECTED] wrote: Can anyone tell me why the code in red will work if I Step through it but as soon as I let it run normally I will get blank results?? It seems to skip the second repeat but if I put an answer msg in it, it reaches the answer msg! I can't really tell because it's not apparent whether this code is launched within a Function Handler or a mouseUp handler, but I notice that inside the second repeat loops your variables are prefixed with a 't' which normally means they are temporary. If this was inside a mouseUp handler everything would disappear on completion. If you 'step' past your answer msg, and keep stepping until the very end, ie past your 'end mouseUp' handler or whatever, does everything disappear? ___ 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: Dimensional Arrays
On Wed, 14 Mar 2007 13:03:08 +0200, Nic Prioleau wrote: I appologise in advance for what may seem like simple programming logic to some, but I'm not really a programmer and I've been staring at this problem for 5 hours now and can't seem to figure it out. I have 3 multi-dimensional arrays which I need to get grouped information out of:- tArray1[Data,1,regNo] = B123ABC tArray1[Data,1,tLitres] = 500 tArray1[Data,1,month] = 2 tArray1[Data,2,regNo] = B123ABC tArray1[Data,2,tLitres] = 300 tArray1[Data,2,month] = 3 tArray1[Data,3,regNo] = B456ABC tArray1[Data,3,tLitres] = 200 tArray1[Data,3,month] = 4 tArray2[Data,1,regNo] = B123ABC tArray2[Data,1,tLitres] = 1000 tArray2[Data,1,tKM] = 2500 tArray2[Data,1,month] = 2 tArray2[Data,2,regNo] = B123ABC tArray2[Data,2,tLitres] = 150 tArray2[Data,2,tKM] = 3000 tArray2[Data,2,month] = 3 tArray2[Data,3,regNo] = B456ABC tArray2[Data,3,tLitres] = 150 tArray2[Data,3,tKM] = 3000 tArray2[Data,3,month] = 4 AND tArray3[Data,1,regNo] = B123ABC tArray3[Data,1,tLitres] = 350 tArray3[Data,1,tKM] = 800 tArray3[Data,1,month] = 2 tArray3[Data,2,regNo] = B123ABC tArray3[Data,2,tLitres] = 250 tArray3[Data,2,tKM] = 600 tArray3[Data,2,month] = 3 tArray3[Data,3,regNo] = B456ABC tArray3[Data,3,tLitres] = 250 tArray3[Data,3,tKM] = 100 tArray3[Data,3,month] = 4 what I need to end up with is data from these 3 arrays which will end up looking something like this: regNo B123ABC used 1850Ltrs and did 3300 km in month 2 regNo B123ABC used 700Ltrs and did 3600 km in month 3 regNo B456ABC used 500Ltrs and did 3100 km in month 4 Can anyone explain how I might be able to do this. I basically got the info by doing 3 'grouped' select statements from 3 different tables. This info gets stored in the arrays above but when it comes time to writing a report or doing calculations, I need to add them all up. It's probably staring me in the face but I have 'arc eye' from staring at the screen for so long! No problem, although the structure of the arrays you have is a little odd (although it works fine). That is, if the key of an array has multiple quoted strings in it, it collapses to a single quoted string. For example: tArray3[Data,3,month]=4 is the same as: tArray3[Data,3,month]=4 Honestly, I didn't know you could have multiple quoted strings in a key and have it work (learn something new every day!). However to grab your data you could do this: -- If you have a fixed set of 3 arrays which have the same keys: put B123ABC into tRegNo put 2 into tMonth put into tReport repeat for each line tKey in (the keys of tArray1) if item 3 of tKey is month then put tArray1[tKey] into tMonth put item 2 of tKey into tRecNo -- this is the record number (I'm assuming) put tArray1[Data, tRecNo ,regNo] into tRegNo put tArray1[Data, tRecNo ,tKM] into tKM1 put tArray2[Data, tRecNo ,tKM] into tKM2 put tArray3[Data, tRecNo ,tKM] into tKM3 put tArray1[Data, tRecNo ,tLitres] into tLitres1 put tArray2[Data, tRecNo ,tLitres] into tLitres2 put tArray3[Data, tRecNo ,tLitres] into tLitres3 put regNo quote tRegNo quote used \ (tLitres1+tLitres2+tLitres3) Ltrs and did \ (tKM1+tKM2+tKM3) km in month tMonth \ CR after tReport end repeat delete char -1 of tReport -- removes trailing CR put tReport into field 1 HTH, Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.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: While this may be heresy
Hi, Well, in my opinion straight out of the box they are about the same. If you are used to other more traditional programming languages like C/C++, Pascal or Basic then you will probably have a harder time getting your head around the way that RunRev works. This is made even harder since the documentation for RunRev isn't that good and because there are silly problems that can bite you. However, once you get into RunRev and start developing your own way of doing things (for instance I have my own Message Manager and Application Framework), then RunRev *really* starts to pay off. You can get things done really quickly, I'd say probably 50% faster than in RealBasic. Hope this Helps. All the Best Dave On 13 Mar 2007, at 17:34, Simon HARPER wrote: Hi there, While I understand this may be heresy, how does Revolution stack up to RealBasic, especially when it comes to thinks like richness of the interface (such as hierarchical Listboxs)? Cheers Si. Simon Harper 2.44 Kilburn Building University of Manchester (UK) Pri: [EMAIL PROTECTED] Alt: [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: Ideas and Suggestions on Generating Frames for a Movie
On Mon, 12 Mar 2007 16:23:16 +, Dave wrote: I know how to do most of this. I have an external command module that can generate QuickTime movies and I know how to create rectangles etc and move them around the frame. However I am not sure how to render everything inside the frame, e.g. what I would like to be able to do is it put the background pixels into a pixel buffer, then the pixels of each object in the frame into a the same pixel buffer (overwriting the background) and then pass this buffer to an external command that would write one frame of the QuickTime movie. After writing a frame, it would then change the colors of the objects, perform any movement or size change and render out the next frame. Well, there's a property called imagePixmapID that is *supposed* to provide the handle to pixMap in an image object; perhaps that can be used? I personally haven't used it, so I don't know if it works, but give it a shot... Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.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: strange code problem
Can anyone tell me why the code in red will work if I Step through it but as soon as I let it run normally I will get blank results?? It seems to skip the second repeat but if I put an answer msg in it, it reaches the answer msg! Hi Nic, I don't think you're allowed to use split with a for eachvariable - you're not allowed to modify the contents of a for each variable yourself, and split effectively munges it into an array, which causes all sorts of weird problems. This has hit me before in my own code. Try the modified code below: put truckRegNo,totalFuel,totalKM,month into tHeadings split tHeadings with comma put 1,2,3,4 into tColumns split tColumns with comma put the number of lines in thisOne into sRecordCount -- thisOne is a variable which contains comma seperated values like:- B456ADF,1000,2500,2 put 0 into x answer thisOne repeat for each line thisLine in thisOne put thisLine into workingline --use a copy of thisLine split workingline with comma --answer x add 1 to x repeat for each element thisE in tColumns put tHeadings[thisE] into tHeader put workingline[thisE] into tDetail[x,tHeader] --answer sColumn[thisLine,tHeader] end repeat end repeat -- Phil Jimmieson [EMAIL PROTECTED] (UK) 0151 795 4236 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. ___ 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: Launching the Calculator
Hi Mark, There is a calculator available in RevOnline and there was one included with Revolution 2.0. You might download 2.0 from ftp.runrev.com and pull out the stack. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 14-mrt-2007, om 14:13 heeft Mark Greenberg het volgende geschreven: An alternative would be for them to create their own calculator within the stack or as a substack. They only have three weeks to finish this project, so I was hoping to avoid that rout. Thanks in advance, Mark Greenberg ___ 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
Launching the Calculator
Just have your students steal my calculator stack from: http://tech.groups.yahoo.com/group/RRRStudents/ (in 'Files) they can use it, abuse it, pull it apart and make it better! sincerely, Richmond Mathewson A Thorn in the flesh is better than a failed Systems Development Life Cycle. ___ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.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: Stadalone Icons
On Mar 13, 2007, at 11:06 PM, Karen Jones wrote: Hello Everyone, I am a newcomer to Revolution and the list. I am making small drill standalones for my computer lab. I have looked and searched for instructions on how to make the standalone app display a custom made icon, but can't seem to find it. I have created the icon files in PhotoShop using IconBuilder. Is there a website anyone would recomend that addresses this or could someone please help me with this. Karen, Be sure to visit Chipp Walter's tutorial on standalone building at http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm . It contains a good section on creating application icons. Several people her, including me use a PhotoShop plugin called IconBuilder, which gives excellent results. You should also be aware that on OS X there is a little quirk with Rev standalone app icons, in which the icon doesn't appear immediately, even when the icon has been properly placed into the app bundle Resources folder. What I always do is launch the new standalone--you'll notice that the proper icon does appear in the dock, even though it's not yet visible in the Finder. Then quit the standalone, click its icon in the Finder and open the Get Info window. Then click on the icon in the info window and press the delete key. The new icon will appear. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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
open stacks gallery updates
The open stacks gallery has been updated with nice stacks spotted on revOnline. http://revolution.widged.com/stacks/ If you would like your work to be shown there, simply send me an email with information about your stack. Your stack don't need to be on revOnline for me to link to it. It can be on your own website or I happily host a local copy of it. Best, Marielle PS. if at any point you would like me to stop linking to one of your stack, let me know as well. Marielle Lange (PhD), http://widged.com Bite-size Applications for Education ___ 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
OSX - copy and paste in altBrowser?
I still cannot figure out how to get copy and paste work between RunRev and altBrowser? Is this not possible? Or is it a case of being an OSX focus issue, whcih can be got round with some scripting? I'd like to be able to transfer text generated in RunRev or copied from another application to a form shown in an altBrowser window. No go or am I missing something? ___ 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: Stadalone Icons
On Mar 14, 2007, at 8:34 AM, Devin Asay wrote: On Mar 13, 2007, at 11:06 PM, Karen Jones wrote: Hello Everyone, I am a newcomer to Revolution and the list. I am making small drill standalones for my computer lab. I have looked and searched for instructions on how to make the standalone app display a custom made icon, but can't seem to find it. I have created the icon files in PhotoShop using IconBuilder. Is there a website anyone would recomend that addresses this or could someone please help me with this. Karen, Be sure to visit Chipp Walter's tutorial on standalone building at http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm . It contains a good section on creating application icons. Several people her, including me use a PhotoShop plugin called IconBuilder, which gives excellent results. You should also be aware that on OS X there is a little quirk with Rev standalone app icons, in which the icon doesn't appear immediately, even when the icon has been properly placed into the app bundle Resources folder. What I always do is launch the new standalone--you'll notice that the proper icon does appear in the dock, even though it's not yet visible in the Finder. Then quit the standalone, click its icon in the Finder and open the Get Info window. Then click on the icon in the info window and press the delete key. The new icon will appear. Forgot to mention that this quirk only happens on the machine you build the standalone on. If you copy it to another Mac the icon shows up immediately. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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 clipboard problems
Gee, i reported this in the year 2000 to MC support, again later i filed a bugzilla... Pasting a path with backslashes \\server\share-name pastes \\\name in metacard 2.x... Runrev 2.8 still gets it wrong! Except when i copy the path from rev, then it works! But no other program in win32 gets it wrong other than rev! Anyone know if this will be fixed some day in the near or far future? //test/test2 works of course... But with the backslashes, it's just not windows friendly... And all paths in Win32 use backslashes of course... And i use these paths all day long too! The nightmare of copy-paste in rev continues... :( Clearstream Services S.A. 42 Avenue JF Kennedy, L-1855 Luxembourg Société anonyme is organised with limited liability in the Grand Duchy of Luxembourg RC Luxembourg B 60911. - Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. Legally required information for business correspondence/ Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz: http://deutsche-boerse.com/letterhead END OF DISCLAIMER ___ 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: Launching the Calculator
Hello Mark, You will find runrev calculator stacks on the stacks gallery http:// revolution.widged.com/stacks/index.php?category=widgets_ecards, under calculator as well as on revOnline under IanMcK. Best, Marielle On 14 Mar 2007, at 13:13, Mark Greenberg wrote: An alternative would be for them to create their own calculator within the stack or as a substack. They only have three weeks to finish this project, so I was hoping to avoid that rout. Thanks in advance, Mark Greenberg ___ 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: Linux-specific technical problems
Mark Wieder wrote: Well, for one, mount doesn't appear to be a valid command to smbclient. You should try this in a shell window first, get it working, then try it from rev. My guess is you'll also have to put username%password info into the commandline as well. Try smbclient -? for the available options. This is what I reported in my post on 18th February (see the Samba lessons needed thread): In the Ubuntu terminal, the following works perfectly and I get a listing of my Windows drive: smbclient john\\c mount dir (CTRL+Z exits Samba) - QUIT works too. So if mount isn't a valid command, somebody had better tell smbclient! Possibly, smbclient -? for the available options is out of date. - Secondly, I don't really think smbclient is something that you'd want running as a process, unless you've got something really wild in mind. I'm not an expert on this by any means, but my understanding is that open process is for something you want running in the background, as on a server, as a daemon for other processes to communicate with. If you just want to grab a directory listing or file off an smb server then try the shell() function instead. - No, all I want to do is to grab a directory listing off my smb server. - put smbclient john\\c -Wworkgroup -Uuser%password -cdir into \ procToDo put shell(procToDo) into field test - Naturally, I tried SHELL first, but couldn't get it to work. Of course, the fact that I am almost entirely ignorant of how to do anything through the terminal probably doesn't help! (It smells too much like DOS for my taste.) Anyway, here goes with your suggested experiment.: - Domain=[JOHN] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Animated GIFs D0 Thu Nov 9 15:52:31 2006 Arrows ico D0 Thu Sep 21 18:40:06 2006 Arrows wmf D0 Thu Nov 9 15:52:02 2006 AUTOEXEC.BATA0 Wed Sep 20 22:32:20 2006 BobIconsD0 Thu Sep 21 18:41:36 2006 BobSite D0 Tue Jan 16 02:37:45 2007 boot.ini HS 194 Wed Sep 20 22:28:04 2006 BRAZDOC D0 Tue Jan 16 02:35:19 2007 Brazil Webpage D0 Tue Oct 17 12:52:08 2006 CD Labels D0 Thu Sep 21 18:42:00 2006 CDCoversD0 Tue Mar 13 18:23:39 2007 Cleanup.txt A 3485 Mon Aug 16 13:51:54 2004 Config.Msi D0 Sun Jan 28 21:11:21 2007 CONFIG.SYS A0 Wed Sep 20 22:32:20 2006 Denis D0 Mon Mar 12 13:57:05 2007 devicetable.log A23734 Tue Mar 6 12:35:33 2007 Documents and Settings D0 Wed Sep 20 22:37:19 2006 Email Thunderbird 20_09_2006D0 Thu Sep 21 03:29:48 2006 Envelop D0 Tue Dec 12 01:09:49 2006 flavio D0 Thu Nov 2 21:20:10 2006 Fotos do natal 25 12 06 D0 Wed Jan 3 17:18:55 2007 Francis D0 Wed Feb 7 18:51:54 2007 functions.txt A 25 Fri Feb 16 15:09:03 2007 H.GIF A17990 Wed Nov 19 09:23:46 1997 howsoft D0 Thu Feb 8 20:31:09 2007 Howsoft GraphicsD0 Mon Mar 5 20:43:43 2007 howsoft_website_backup CURRENT D0 Wed Nov 29 14:24:32 2006 howsoft_website_backup OLD D0 Thu Sep 21 17:12:56 2006 howsoft_website_backup UPLOADS D0 Mon Mar 5 21:19:35 2007 howsoft_website_backup WORK D0 Mon Mar 5 21:00:11 2007 Ilse Old Pendrive Data D0 Fri Dec 22 22:21:09 2006 Ilse ORIGINAL Pendrive Data D0 Sun Feb 25 18:26:22 2007 Ilse Pre Ubuntu D0 Sat Sep 23 13:51:25 2006 Ilse Pre Ubuntu SEM ELZAD0 Sat Sep 23 15:08:53 2006 Ilse Textos D0 Sat Sep 23 18:49:24 2006 INNO Setups D0 Thu Sep 21 18:41:09 2006 IO.SYS AHSR0 Wed Sep 20 22:32:20 2006 Lian Gong D0 Fri Feb 9 14:49:37 2007 LINUX Email Backup D0 Fri Mar 2 11:48:19 2007 MidiD0 Mon Jan 8
Re: Dimensional Arrays
Hi Kev, Thanks for your feedback however, I managed to get something like this: regNo,totalFuel,totalKM,month B456TRF,1000,0,2 B456TRF,150,0,3 B456TRF,0,376,3 B444AAA,50,0,3 B444AAA,340,3000,3 B444AAA,0,600,3 into a variable from my selects... Could you tell me how I can achieve the same result as I was trying to get before as I have now eliminated the other arrays I had. It was too messy and because they did not have the same keys, it was difficult to get an accurate result. thanks muchly Nic - Original Message - From: Ken Ray [EMAIL PROTECTED] To: How to use Revolution use-revolution@lists.runrev.com Sent: Wednesday, March 14, 2007 3:54 PM Subject: Re: Dimensional Arrays Honestly, I didn't know you could have multiple quoted strings in a key and have it work (learn something new every day!). However to grab your data you could do this: -- If you have a fixed set of 3 arrays which have the same keys: put B123ABC into tRegNo put 2 into tMonth put into tReport repeat for each line tKey in (the keys of tArray1) if item 3 of tKey is month then put tArray1[tKey] into tMonth put item 2 of tKey into tRecNo -- this is the record number (I'm assuming) put tArray1[Data, tRecNo ,regNo] into tRegNo put tArray1[Data, tRecNo ,tKM] into tKM1 put tArray2[Data, tRecNo ,tKM] into tKM2 put tArray3[Data, tRecNo ,tKM] into tKM3 put tArray1[Data, tRecNo ,tLitres] into tLitres1 put tArray2[Data, tRecNo ,tLitres] into tLitres2 put tArray3[Data, tRecNo ,tLitres] into tLitres3 put regNo quote tRegNo quote used \ (tLitres1+tLitres2+tLitres3) Ltrs and did \ (tKM1+tKM2+tKM3) km in month tMonth \ CR after tReport end repeat delete char -1 of tReport -- removes trailing CR put tReport into field 1 HTH, Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.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 # This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal # ___ 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: Printing Japanese text
The odd this is, I discovered it I printed it once, I got the black bars. If I tried printing a second time, the Japanese printed fine. Very strange. I can't wait for more Unicode in Rev. At 08:31 PM 3/13/2007, you wrote: It appears that the text that I was printing had the font set to Font Name,Japanese instead of Font Name,UTF8. Peter, my guess is that there is a bug in Revolution that affects printing Japanese fonts. Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 14-mrt-2007, om 1:22 heeft Mark Schonewille het volgende geschreven: Hi Peter, It is not your machine! I was trying to work around a unicode bug in Revolution which causes Rev to crash. I can now avoid the crash, but get black bars instead. Mark Op 13-mrt-2007, om 21:35 heeft Peter T. Evensen het volgende geschreven: Evidently it is just my Mac. I wonder what is up with my machine; I even rebooted and everything. I will have to try it on some other Macs here to see if I get the same thing. Thanks, everyone, for all your help. (If anyone has any suggestions on what I should look at on my Mac...) ___ 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 Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 ___ 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: While this may be heresy
Dave wrote: Well, in my opinion straight out of the box they are about the same. If you are used to other more traditional programming languages like C/C++, Pascal or Basic then you will probably have a harder time getting your head around the way that RunRev works. This is made even harder since the documentation for RunRev isn't that good and because there are silly problems that can bite you. However, once you get into RunRev and start developing your own way of doing things (for instance I have my own Message Manager and Application Framework), then RunRev *really* starts to pay off. You can get things done really quickly, I'd say probably 50% faster than in RealBasic. I'd say that's a generally fair assessment as far as the programs themselves go, but regarding documentation errors and omissions it's worth noting that a review of their mailing list and forum archives shows that RealBASIC isn't immune from such things. Given that errors and omissions are common to nearly every product that's ever shipped, that's not surprising nor necessarily a bad mark against RB. But neither has it prevented many folks from getting real work done in Rev. All languages have pitfalls and gotchas, and when learning any new language nothing can help more than participating in a forum of its experienced users. The productivity gain of 50% seems reasonable given the amount of platform-specific code one is asked to write in RB, the absence of chunk expressions, and the generally lower-level nature of the language (see Osterhout, http://www.tcl.tk/doc/scripting.html). -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.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: Ideas and Suggestions on Generating Frames for a Movie
On Mar 14, 2007, at 5:57 AM, Ian Wood wrote: Your external sounds interesting, I've been messing around with Trevor DeVore's QT external to do something similar but it required a few hacks and is a bit unstable because of that. Yeah, I don't have a proper handler that takes an image and adds it to a movie using a given fps. One of these days... I did create an example stack the other day that shows how you can use the existing API to create movies from still images at a given fps. More work then it should be but it has been reliable in my tests so far. It isn't ready for general consumption yet but if anyone wanted to take a look at it just email me. -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com-www.screensteps.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: Detecting Browser Page on Windows/Linux
Yes, even better! Is it up on your site? Ken Ray wrote I have some VBScript that can work in WIndows to give you ther URL of all currently open web browser documents (or tabs)... Mark Powell wrote Can your script send a force-refresh to a named browser window? (Windows OS) Ken Ray wrote Sort of - you can force a refresh to a browser window that is displaying a specific (known) URL. Will that work for you? ___ 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: Linux-specific technical problems
In fact, it is not necessary to expose your password when accessing a network drive in Linux. I cut this out of Mark's suggested command line. On my network/machines, the following worked perfectly: put smbclient john\\c -Wmshome -cdir into procToDo put shell(procToDo) into field test 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: Linux questions for Jacque
Bob Warren wrote: 1. In Rev Linux 2.6.1, can foreign symbols (with accents) be printed on the printer or not? I asked about this. It raised more questions. In general, there shouldn't be any problem. Portuguese is a standard western Linux font and it should print correctly. If you are having trouble, they'd need to know: How are you printing? Are you printing the card using open printing, print, close printing, or are you using revPrintField or revPrintText? Does the text in the field display correctly? (I told them I assumed so.) What is the name of the font you are using? Are you setting the unicodeText of the field or just putting the text in normally? How is the printout corrupted? When you do a print job, in what way is it incorrect? -- 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: 2 dimensional Arrays
Dave wrote: The problem is that arrays in RunRev are not arrays in the same sense as in languages like C/C++ or Pascal etc. They are really look up tables. For the benefit of newcomers here, it may be worth noting that associative arrays are hardly an invention of Rev's: http://www.google.com/search?q=associative+arrays So while it's true that Rev's arrays are associative rather than numerically indexed (and a request has been submitted to make that more self-evident in the docs), it's not like Rev invented some novel form of array. As the 800,000 hits at that link show, associative arrays are a common feature of a great many languages. The upside of associative arrays is that the syntax for using them is pretty much identical to how one would expect to use a single-dimensional numeric array, while also allowing non-numeric keys. The downside occurs in those cases where a multi-dimensional numeric array is desired, which your function addresses well: In RunRev instead of passing an index (or indexes) to retrieve the data for an entry you pass a key. You can fake the way Arrays work in languages like C/C++ etc, by passing key values such as 1,5, but this is actually passing a three character key of 1 , 2. I've found that if you are using the key section in a non-trivial way (like in the 2D array example) it's better to use a function that returns your munged key for you, e.g. something like this: function Get2DArrayKey theIndex1,theIndex2 return theIndex1 , theIndex2 end and to use: put into my2DArray[Get2DArrayKey(1,5) ] or put my2DArray[Get2DArrayKey(1,5)] into myValue If you *ALWAYS* use this function, you will always get consistent keys, otherwise you may have the problem you described where it's starts to get confusing because of extra quote characters, etc. -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.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: Detecting Browser Page on Windows/Linux
On Wed, 14 Mar 2007 08:42:07 -0700, Mark Powell wrote: Yes, even better! Is it up on your site? Well, the 'stsDoVBS' function that executes raw VBScript is on my site at: http://www.sonsothunder.com/devres/revolution/tips/ext002.htm (go to near the bottom of the page) And here's the VBS code to execute: Set objApps = CreateObject(Shell.Application) For Each objApp in objApps.Windows If (objApp.Name = Windows Internet Explorer) or (objApp.Name=Microsoft Internet Explorer) then IF objApp.LocationURL = http://www.sonsothunder.com/home/home.htm; Then objApp.Refresh End If End If Next The reason we need to test for both Windows Internet Explorer as well as Microsoft Internet Explorer is that in Vista it's Windows everything, and in XP and earlier it's Microsoft everything. Have fun! Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.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: 2 dimensional Arrays
On 14 Mar 2007, at 16:54, Richard Gaskin wrote: Dave wrote: The problem is that arrays in RunRev are not arrays in the same sense as in languages like C/C++ or Pascal etc. They are really look up tables. For the benefit of newcomers here, it may be worth noting that associative arrays are hardly an invention of Rev's: Yes, I started using them in 1970's in the SNOBOL4/SPITBOL languages, where they are called tables. As far as I know this was the first general implementation of of this kind of array. All the Best 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: Linux-specific technical problems
Sorry to pollute the UR-List with tidbits of info - I'll stop now. In Ubuntu, as I said, if you don't specify a password in the command line for accessing a network drive, it still works. But note the Password: at the beginning of the report: --- Password: Domain=[JOHN] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Animated GIFs D0 Thu Nov 9 15:52:31 2006 Arrows ico D0 Thu Sep 21 18:40:06 2006 etc. etc. -- So now, I've been more ambitious and cut out the name of the network: put smbclient john\\c -cdir into procToDo put shell(procToDo) into field test The result is the same as above. It works. Just thought you might like to know. 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: Launching the Calculator
Marielle, Richmond, Klaus, Ken, and Luis, Thanks for the quick and helpful solutions. I will present these options to the students and let them decide. I like the French calculator, but I think the students will go for the Lauch command if they can get it to work. (They are working under several layers of security and don't have Windows permissions to do much.) Richmond, I was not able to get to your calculator because the files link is only available to members of that yahoo group. Thanks again. This list is great! Mark Greenberg ___ 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: Linux questions for Jacque
Thanks Jacque, please see my answers below. Bob Warren wrote: 1. In Rev Linux 2.6.1, can foreign symbols (with accents) be printed on the printer or not? -- I asked about this. It raised more questions. In general, there shouldn't be any problem. Portuguese is a standard western Linux font and it should print correctly. If you are having trouble, they'd need to know: How are you printing? Are you printing the card using open printing, print, close printing, or are you using revPrintField or revPrintText? - I am printing a card as in the following example: on mouseUp --set the printCommand to lp %s --(Prints to default printer over network in Ubuntu) set the printCommand to mv %s /home/bob/Desktop/output_print_file.ps -- puts output in a file open printing print card Card1 close printing end mouseUp When there are no Portuguese symbols in the fields on this card, both methods (printing directly to the printer or producing a Postscript file) work OK. Also, if I double-click on the Postscript file, the program Evince displays the image of the card correctly in Ubuntu. However, if the fields on my card DO contain Portuguese symbols, neither method of printing works sucessfully. If I double-click on the Postscript file, Evince cannot display it. (It just shows the message Loading and just continues trying forever.) -- Does the text in the field display correctly? (I told them I assumed so.) -- Yes, it does. But please note that I cannot type any text with accents into my card's fields in Rev. I have to paste it from another source. I am using an Ubuntu that has been installed in English. To type letters with accents, I need to use a special keyboard sequence. This does of course work fine in programs other than Rev. -- What is the name of the font you are using? -- I was originally using the Arial font in my fields, since the stack was imported from Windows. But now I am using a simple test program, and making changes to see what happens. I have tried not specifying a font at all for the single field and 2 buttons in my test program (i.e. the default font is presumed). I have just tried defining the font as Courier for these 3 controls. The result is always the same. If there are only English characters in the field, Evince displays the image of the Postscript file. If I paste characters with accents into the field, Evince can no longer display the image of the Postscript file. -- Are you setting the unicodeText of the field or just putting the text in normally? -- I am just putting the text in normally. After reading the Help, I tried playing around with unicodeText, but since I don't really know anything about the subject, I gave up. Nothing worked. -- How is the printout corrupted? When you do a print job, in what way is it incorrect? -- I don't get a printout unless I use English characters only. Then, it's perfect. I can print directly to the printer on paper, and I can produce a Postscript file which displays perfectly in the Evince program and can be printed afterwards. If I include characters with accents in the field of my test program, nothing doing. The printer just sits there like an idiot, and the Evince program goes around in circles, failing to display the Postscript file. ___ 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
Windows Vista Free!
Rev is running a really amazing promo as most of you have probably seen. Just thought I would point out that there is an option to get Windows Vista Free with a Revolution upgrade everyone needs to probably get anyways. That is an incredible deal! What are you waiting for? Go get it! http://www.runrev.com/offers/vista/ Mark Talluto -- CANELA Software http://www.canelasoftware.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: Windows Vista Free!
And Parallels for free for mac users :-D. Marielle On 14 Mar 2007, at 18:57, Mark Talluto wrote: Rev is running a really amazing promo as most of you have probably seen. Just thought I would point out that there is an option to get Windows Vista Free with a Revolution upgrade everyone needs to probably get anyways. That is an incredible deal! What are you waiting for? Go get it! http://www.runrev.com/offers/vista/ Mark Talluto ___ 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
Windows Vista Free!
Gosh! Wow! Jolly-Hockey-Sticks! And, Windows Vista comes with lots of hidden extras that crop up just when you need them; they're called Viruses, Torojans, Malware and Spyware. For some 'funny' reason none of my Pentium IIIs 700 MHz warhorses can cope with Windows Vista - and, oddly enough, that doesn't matter because they do a wonderful job running Ubuntu. Guess I'll just stick with my Dear old (i.e. 4 years) G4 Dual Mirror Door Wind-Tunnel (Hey, now that's a groovy moniker for a computer), the PPC Mac-Mini (I had to move quickly!) and the warhorses - minimal maintenance both in terms of time and money. When Apple stop support for PPC I will, either continue with the last PPC version of the Mac OS or swap over to a PPC version of Linux. Here, in Bulgaria, folks are either sticking with their pirate versions of Win 98, 2000, 2003 or XP, or (when the police start breathing down their necks) stumping up the $$$ for a legal version fo XP. Nobody, but nobody, has the money to buy a PC capable of coping with the high demands of Vista. A very few have changed over to Linux; no doubt more will. Please do not think I am belittling Runtime Revolution (the company); but I am belittling the baby that spent far too long in the womb and now suffers from all the faults of its ancestors, plus a few more. Certainly, were I the owner of an Intel Mac (which I suppose I will become one of these days - not for a while though) I would be interested in the Parallels offer. As it is at the moment I am fairly well off with the last Connectix version of Virtual PC running Win98. I believe that PARALLELS WILL NOT RUN VISTA although I would not swear to it. While I'm on a rant I will sound off about N***le breakfast cereals: The other day I bought a box of 'chocolate balls' (I can't remember what they are called) that my children eat to guarantee hyper-activity, and noticed it came with a CD computer-game which would only function on Windows (3 hours later, puffing and blowing, I got it running on WINE!) Luckily my children are as daft as their father so did not start the inevitable I wanna Windows box whine - but the manipulative intent of this kind of freebie is clear to anybody but the Epsilon semi-morons. Its been a long day and its my time of the month (i.e. when I grow hairs on the palms of my hands). . . :) sincerely, Richmond Mathewson A Thorn in the flesh is better than a failed Systems Development Life Cycle. ___ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk ___ 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: Linux questions for Jacque
Jacque: I have just made another little test program so that I can type into the field. My wife's Ubuntu is in Portuguese, and she has an ABNT keyboard. Of course, when she uses any program other than Rev (Word, Text Editor), everything is 100%. On her computer, if I try typing Portuguese symbols into the field of the test stack, I get nothing but junk (pairs of symbols). The characters that correspond to English ones come out OK. If I paste Portuguese text into the test field, it displays perfectly, but when trying to print, the result is the same as on my computer. 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: Windows Vista Free!
On Mar 14, 2007, at 12:54 PM, Richmond Mathewson wrote: I believe that PARALLELS WILL NOT RUN VISTA although I would not swear to it. Vista Business edition runs fine in Parallels on my machine. -- Trevor DeVore Blue Mango Learning Systems - http://www.bluemangolearning.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: Windows Vista Free!
Parallels does support Vista, however M$'s EULA restricts virtualizing to only the Business and Ultimate versions. Ah, the wonders of confusing software version structures. Isn't it amazing that pretty much every other vendor (At least, anyone worth speaking of) offers one version of their Operating System? That doesn't include Server Versions, of course, but anyone interested in actually buying a computer for day to day use isn't going to look at that as an option, are they? On Mar 14, 2007, at 1:54 PM, Richmond Mathewson wrote: Gosh! Wow! Jolly-Hockey-Sticks! And, Windows Vista comes with lots of hidden extras that crop up just when you need them; they're called Viruses, Torojans, Malware and Spyware. For some 'funny' reason none of my Pentium IIIs 700 MHz warhorses can cope with Windows Vista - and, oddly enough, that doesn't matter because they do a wonderful job running Ubuntu. Guess I'll just stick with my Dear old (i.e. 4 years) G4 Dual Mirror Door Wind-Tunnel (Hey, now that's a groovy moniker for a computer), the PPC Mac-Mini (I had to move quickly!) and the warhorses - minimal maintenance both in terms of time and money. When Apple stop support for PPC I will, either continue with the last PPC version of the Mac OS or swap over to a PPC version of Linux. Here, in Bulgaria, folks are either sticking with their pirate versions of Win 98, 2000, 2003 or XP, or (when the police start breathing down their necks) stumping up the $$$ for a legal version fo XP. Nobody, but nobody, has the money to buy a PC capable of coping with the high demands of Vista. A very few have changed over to Linux; no doubt more will. Please do not think I am belittling Runtime Revolution (the company); but I am belittling the baby that spent far too long in the womb and now suffers from all the faults of its ancestors, plus a few more. Certainly, were I the owner of an Intel Mac (which I suppose I will become one of these days - not for a while though) I would be interested in the Parallels offer. As it is at the moment I am fairly well off with the last Connectix version of Virtual PC running Win98. I believe that PARALLELS WILL NOT RUN VISTA although I would not swear to it. While I'm on a rant I will sound off about N***le breakfast cereals: The other day I bought a box of 'chocolate balls' (I can't remember what they are called) that my children eat to guarantee hyper-activity, and noticed it came with a CD computer-game which would only function on Windows (3 hours later, puffing and blowing, I got it running on WINE!) Luckily my children are as daft as their father so did not start the inevitable I wanna Windows box whine - but the manipulative intent of this kind of freebie is clear to anybody but the Epsilon semi-morons. Its been a long day and its my time of the month (i.e. when I grow hairs on the palms of my hands). . . :) sincerely, Richmond Mathewson A Thorn in the flesh is better than a failed Systems Development Life Cycle. ___ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk ___ 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: Detecting Browser Page on Windows/Linux
That's great, thanks. I will take me a bit to wrap my brain around this but my understanding is then that you use a rev script to activate the VBS script that resides in a text document, and that returns a list of URLs. Would it also return the names/titles of the open pages? Joseph On 3/13/07 7:23 PM, Ken Ray [EMAIL PROTECTED] wrote: On Tue, 13 Mar 2007 12:53:00 -0700, Joseph Martinez wrote: Greetings, I know to use AppleScript on a Mac to detect what URL page the currently open browser is displaying. Is there is a way for Windows and Linux to perform this same function? Thanks, Joseph, I have some VBScript that can work in WIndows to give you ther URL of all currently open web browser documents (or tabs), but at the moment, I don't have a way to know which one is currently displaying. If there's only one document open and only one web page, then I can get *that* if that would be useful. If so, let me know. Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.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: Windows Vista Free!
This discussion brought to mind: http://homepage.mac.com/mercutio2/MacHouse/page1/page1.html http://www.joyoftech.com/joyoftech/joyimages/915.gif At 03:15 PM 3/14/2007, you wrote: Parallels does support Vista, however M$'s EULA restricts virtualizing to only the Business and Ultimate versions. Ah, the wonders of confusing software version structures. Isn't it amazing that pretty much every other vendor (At least, anyone worth speaking of) offers one version of their Operating System? That doesn't include Server Versions, of course, but anyone interested in actually buying a computer for day to day use isn't going to look at that as an option, are they? On Mar 14, 2007, at 1:54 PM, Richmond Mathewson wrote: Gosh! Wow! Jolly-Hockey-Sticks! And, Windows Vista comes with lots of hidden extras that crop up just when you need them; they're called Viruses, Torojans, Malware and Spyware. For some 'funny' reason none of my Pentium IIIs 700 MHz warhorses can cope with Windows Vista - and, oddly enough, that doesn't matter because they do a wonderful job running Ubuntu. Guess I'll just stick with my Dear old (i.e. 4 years) G4 Dual Mirror Door Wind-Tunnel (Hey, now that's a groovy moniker for a computer), the PPC Mac-Mini (I had to move quickly!) and the warhorses - minimal maintenance both in terms of time and money. When Apple stop support for PPC I will, either continue with the last PPC version of the Mac OS or swap over to a PPC version of Linux. Here, in Bulgaria, folks are either sticking with their pirate versions of Win 98, 2000, 2003 or XP, or (when the police start breathing down their necks) stumping up the $$$ for a legal version fo XP. Nobody, but nobody, has the money to buy a PC capable of coping with the high demands of Vista. A very few have changed over to Linux; no doubt more will. Please do not think I am belittling Runtime Revolution (the company); but I am belittling the baby that spent far too long in the womb and now suffers from all the faults of its ancestors, plus a few more. Certainly, were I the owner of an Intel Mac (which I suppose I will become one of these days - not for a while though) I would be interested in the Parallels offer. As it is at the moment I am fairly well off with the last Connectix version of Virtual PC running Win98. I believe that PARALLELS WILL NOT RUN VISTA although I would not swear to it. While I'm on a rant I will sound off about N***le breakfast cereals: The other day I bought a box of 'chocolate balls' (I can't remember what they are called) that my children eat to guarantee hyper-activity, and noticed it came with a CD computer-game which would only function on Windows (3 hours later, puffing and blowing, I got it running on WINE!) Luckily my children are as daft as their father so did not start the inevitable I wanna Windows box whine - but the manipulative intent of this kind of freebie is clear to anybody but the Epsilon semi-morons. Its been a long day and its my time of the month (i.e. when I grow hairs on the palms of my hands). . . :) sincerely, Richmond Mathewson A Thorn in the flesh is better than a failed Systems Development Life Cycle. ___ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk ___ 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 Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 ___ 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: OSX - copy and paste in altBrowser?
From: David Bovill [EMAIL PROTECTED] Reply-To: How to use Revolution use-revolution@lists.runrev.com Date: Wed, 14 Mar 2007 15:43:23 +0100 To: How to use Revolution use-revolution@lists.runrev.com Subject: OSX - copy and paste in altBrowser? I still cannot figure out how to get copy and paste work between RunRev and altBrowser? Is this not possible? Or is it a case of being an OSX focus issue, whcih can be got round with some scripting? I'd like to be able to transfer text generated in RunRev or copied from another application to a form shown in an altBrowser window. No go or am I missing something? David - looks to me like this just doesn't work on OSX (works just fine under Windows). You might be able to come up with some sort of horrible hack that involves one or other of the altBrowser callbacks (e.g. XBrowser_click elementID,browserID) and setting the htmlText of the browser directly but it won't be much fun to either implement or use. Sorry I can't be more helpful. Regards, Terry... -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 ___ 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: Windows Vista Free!
Richmond Mathewson wrote: I believe that PARALLELS WILL NOT RUN VISTA although I would not swear to it. Depends on whether you're a dreamer: http://www.macworld.com/2007/02/firstlooks/vistamac/index.php -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.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: Linux questions for Jacque
Bob Warren wrote: Jacque: I have just made another little test program so that I can type into the field. My wife's Ubuntu is in Portuguese, and she has an ABNT keyboard. Of course, when she uses any program other than Rev (Word, Text Editor), everything is 100%. On her computer, if I try typing Portuguese symbols into the field of the test stack, I get nothing but junk (pairs of symbols). The characters that correspond to English ones come out OK. If I paste Portuguese text into the test field, it displays perfectly, but when trying to print, the result is the same as on my computer. This sounds suspiciously like a unicode issue to me. What does the message box tell you if you type: put the textfont of fld whatever If the text isn't all one font, you should see mixed. When you paste unicode text into a field, the textfont will change to a unicode font for the pasted chunk. If you can calculate it, try getting the text offsets for a pasted chunk and ask the message box this: the textfont of char x to y of fld whatever What do you get back? Is it just something like Ariel or is two words separated by a comma? -- 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
Putting mixed text into a field (Japanese + English)
I was having trouble putting mixed text into a field, that is, a string of Japanese text followed by a string of regular 8-bit text. It works if I copy and paste, but if I use put, it either loses the Japanese script or converts the 8-bit into Kanji. I tried uniEncode and setting the unicodeText of the field, and that didn't work. Any suggestions? I wound up doing a copy and paste, which isn't the optimal, but it works. Thanks! Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 ___ 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: Windows Vista Free!
I believe that PARALLELS WILL NOT RUN VISTA although I would not swear to it. Depends on whether you're a dreamer: http://www.macworld.com/2007/02/firstlooks/vistamac/index.php We had some discussion about this with Parallels some time ago when Vista support was in beta. They have a very impressive lists of supported OS's now here: http://www.parallels.com/en/products/desktop/os/ Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution Ltd http://www.runrev.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: Windows Vista Free!
Richmond, Gosh! Wow! Jolly-Hockey-Sticks! If you purchase Revolution Enterprise (or extend your maintenance term) I'll be happy to send you a free copy of Ubuntu instead! ;) - Bill ___ 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: Windows Vista Free!
And here I thought Microsoft Windows Vista Ultimate UPGRADE Limited Numbered Signature Edition was a joke! Peter T. Evensen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This discussion brought to mind: http://homepage.mac.com/mercutio2/MacHouse/page1/page1.html http://www.joyoftech.com/joyoftech/joyimages/915.gif ___ 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
PNG format: 8-bit or 24?
I seem to remember going around this awhile back and thought someone might remember if there is a solution. If I create a grayscale (or any image) and it has fewer than 257 colors in it (by default grayscale images do), is there a way I can force the export image command to save it as 24-bit and not 8-bit? For some reason, the export image uses 8-bit when exporting images with fewer than 257 colors, and 24-bit for images greater than 256. Anyone have a header rewrite or other hack to force the save in 24? TIA, Chipp ___ 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
getting cgi running on linux server
I am trying to get cgi's working on my web server I created the hello.cgi from Jacque's article using metapad which allows me to set the correct line endings for unix. Jacque sent me a link to download the linux engine I then used winzip to extract I only got one file so I tried powerarchiver and that also gave me one file should I be getting more than one file from the http://downloads.runrev.com/revolution/distributions/2.5.1/linux.tgz I put this file in the cgi-bin changed the permissions but I still get a 500 error I am working on a windows xp machine locally Anyone have any ideas as to shat I need to do to get this working? Thanks Rob ___ 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: Linux-specific technical problems
On Tuesday 13 March 2007 7:14 pm, Bob Warren wrote: -- %!PS-Adobe-3.0 /threequarters /questiondown /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla /Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls /agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla /egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis ] def 14 /_Helvetica-Bold setFont 0 0 0 setrgbcolor -- However, if there IS a workaround, or my impression is incorrect, I would like to know about it. Bob Hi Bob, OK, your PS file does have accented characters in it. It appears they are just in the wrong place. This code that I will paste in here is something I use when I have to re-encode a Macintosh font to work on my Linux computer. This should be put after all of the original encoding because it is going to change it. This list includes all of the characters that I need for Spanish. Put this in one of your PS files and see if it makes the letters á. é, í, ó, ú, ü, ñ appear correctly. If it does, we can add the others that you need. %Start Font Re-encoding Procedure /reencsmalldict 12 dict def /ReEncodeSmall { reencsmalldict begin /newcodesandnames exch def /newfontname exch def /basefontname exch def /basefontdict basefontname findfont def /newfont basefontdict maxlength dict def basefontdict { exch dup/FID ne { dup /Encoding eq { exch dup length array copy newfont 3 1 roll put } { exch newfont 3 1 roll put } ifelse } { pop pop } ifelse } forall newfont /FontName newfontname put newcodesandnames aload pop newcodesandnames length 2 idiv { newfont /Encoding get 3 1 roll put} repeat newfontname newfont definefont pop end } def /spanvec[ 8#341 /iacute 8#351 /eacute 8#355 /iacute 8#363 /oacute 8#372 /uacute 8#374 /udieresis 8#301 /Aacute 8#311 /Eacute 8#315 /Iacute 8#323 /Oacute 8#332 /Uacute 8#334 /Udieresis 8#361 /ntilde 8#321 /Ntilde ] def %End Font Re-encoding Procedure After you have defined the re-encoding procedure, you have to apply it. This is what i use to re-encode Helvetica, Times and Courier in one of mine: * %start Font Re-encoding /Helvetica /Helvetica-Span spanvec ReEncodeSmall /Helvetica-Bold /Helvetica-Bold-Span spanvec ReEncodeSmall /Helvetica-Italic /Helvetica-Italic-Span spanvec ReEncodeSmall /Times-Roman /Times-Roman-Span spanvec ReEncodeSmall /Times-Bold /Times-Bold-Span spanvec ReEncodeSmall /Times-Italic /Times-Italic-Span spanvec ReEncodeSmall /Courier /Courier.Span spanvec ReEncodeSmall %End Font Re-encoding *** The last step is to change the line that names the font in the code. It is usually a line like: /Helvetica findfont 14 setfont But I see you have 14 /_Helvetica-Bold setfont I think this means they have defined a procedure earlier for the findfont step. Probably you can just change the word Helvetica-Bold to Helvetica-Bold-Span The suffix -Span is what I named my newly encoded font. You just add it to what ever font you are going to change. I hope some of this works for you, Don ___ 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: PNG format: 8-bit or 24?
Recently, Chipp Walters wrote: If I create a grayscale (or any image) and it has fewer than 257 colors in it (by default grayscale images do), is there a way I can force the export image command to save it as 24-bit and not 8-bit? For some reason, the export image uses 8-bit when exporting images with fewer than 257 colors, and 24-bit for images greater than 256. Anyone have a header rewrite or other hack to force the save in 24? Just a thought: what if you added a bogus alpha channel (alphaData) to the image? 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: getting cgi running on linux server
Hi Robert You might try to check some of these things: 1. Does the Server/Host allow the use of third party CGI engines? 2. Does your Hello.cgi file also have execute permissions? 3. Is the first line of your Hello.cgi text file correct? (Should be #!something if your executable's name is something) 4. The link you mentioned creates a tar file, which is a way to allow multiple files inside one tgz (unlike zip, which can contain many files). You need a program to untar the files. However, that is the full Linux distribution, and you only want the engine, so I would suggest you check out the following link: ftp://ftp.runrev.com/pub/revolution/downloads/engines Some engines won't work, if i remember correctly the 2.5.1 version did run for me when i tried it a long time ago. So I would suggest you try that one first. I think these should keep you covered. As for me, this reminds me once again of the glaring lack of proper documentation/ressources by RunRev regarding CGI scripting. I wrote a short explanation of CGI's myself, of course it can't match Jacque's article, but if you want to read it, you can find it here: http://bjoernke.com/runrev/cgi.php In addition to the content on her companies webpage, there's also three newsletter entries about CGI's by Jacqueline: http://www.runrev.com/newsletter/july/issue4/newsletter2.html http://www.runrev.com/newsletter/july/issue5/newsletter2.html http://www.runrev.com/newsletter/august/issue6/newsletter2.html Have a nice Revolution Björnke On Mar 15 2007, at 01:46, Robert Mann wrote: I am trying to get cgi's working on my web server I created the hello.cgi from Jacque's article using metapad which allows me to set the correct line endings for unix. Jacque sent me a link to download the linux engine I then used winzip to extract I only got one file so I tried powerarchiver and that also gave me one file should I be getting more than one file from the http://downloads.runrev.com/revolution/distributions/2.5.1/linux.tgz I put this file in the cgi-bin changed the permissions but I still get a 500 error I am working on a windows xp machine locally Anyone have any ideas as to shat I need to do to get this working? Thanks Rob ___ 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: Linux-specific technical problems
Don Jungk wrote: Hi Bob, OK, your PS file does have accented characters in it. It appears they are just in the wrong place. This code that I will paste in here is something I use when I have to re-encode a Macintosh font to work on my Linux computer. This should be put after all of the original encoding because it is going to change it. snip Wow. That's just...wow. The level of expertise on this list never ceases to amaze me. -- 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: getting cgi running on linux server
On 3/15/07, Robert Mann [EMAIL PROTECTED] wrote: I am trying to get cgi's working on my web server I created the hello.cgi from Jacque's article using metapad which allows me to set the correct line endings for unix. Jacque sent me a link to download the linux engine I then used winzip to extract I only got one file so I tried powerarchiver and that also gave me one file should I be getting more than one file from the http://downloads.runrev.com/revolution/distributions/2.5.1/linux.tgz I put this file in the cgi-bin changed the permissions but I still get a 500 error I am working on a windows xp machine locally To add to Björnke's excellent advice, the engines that work with CGI use the old stack file format, so make sure you save your cgi stacks using the legacy save option. Cheers, Sarah ___ 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: Linux-specific technical problems
OK, your PS file does have accented characters in it. It appears they are just in the wrong place. This code that I will paste in here is something I use when I have to re-encode a Macintosh font to work on my Linux computer. This should be put after all of the original encoding because it is going to change it. snip Wow. That's just...wow. The level of expertise on this list never ceases to amaze me. I'm sure you were just about to suggest that Jacque :-) ___ 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
Thank for suggest to build website by runrev.
Dear Marielle Lange, Thank so much for suggestion. If I have problem about runrev I will ask u again. Bye Bye. Best, Supote On 3/14/07, Marielle Lange [EMAIL PROTECTED] wrote: Dear Supote, A few tutorials on building CGI's with revolution have appeared in runrev's newsletters: Part 1. http://www.runrev.com/newsletter/july/issue4/newsletter2.html Part 2. http://www.runrev.com/newsletter/july/issue5/newsletter2.html Part 3. http://www.runrev.com/newsletter/august/issue6/ newsletter2.html Part 4. http://www.runrev.com/newsletter/august/issue7/newsletter2.php Part 5. http://www.runrev.com/newsletter/august/issue8/newsletter2.php Part 6. http://www.runrev.com/newsletter/september/issue9/ newsletter2.php Best, Marielle On 14 Mar 2007, at 09:41, supote songthammawat wrote: Hi everybody, I want to know runrev v.2.5.1 can build website as PHP, Html. Please tell or suggest me. And if can do how to build website by use runrev? Thank you. Best Regard, Supote ___ 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: Linux-specific technical problems
Bob- Wednesday, March 14, 2007, 8:48:42 AM, you wrote: In fact, it is not necessary to expose your password when accessing a network drive in Linux. I cut this out of Mark's suggested command line. On my network/machines, the following worked perfectly: put smbclient john\\c -Wmshome -cdir into procToDo put shell(procToDo) into field test That will only work if the username of the loggedin user (environment variable $USER) matches a valid username on the windows computer (and workgroup if there's a server on the network). And smbclient should ask you for a password if you don't supply one on the command line, even if none is required. -- -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: 2 dimensional Arrays
Richard- Wednesday, March 14, 2007, 8:54:34 AM, you wrote: So while it's true that Rev's arrays are associative rather than numerically indexed (and a request has been submitted to make that more self-evident in the docs), it's not like Rev invented some novel form of array. As the 800,000 hits at that link show, associative arrays are a common feature of a great many languages. Aw, that's nothin' - I got 2,360,000 hits from Google looking up Hashtable, which is another way of saying associative arrray. -- -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: Linux-specific technical problems
Bob- Wednesday, March 14, 2007, 7:02:10 AM, you wrote: So if mount isn't a valid command, somebody had better tell smbclient! Possibly, smbclient -? for the available options is out of date. Well, smbclient on my Ubuntu installation happily ignores mount as well. Or scrabble. Or any other non-option directive. Were you trying to perform an smbmount at the same time as your smbclient call? -- -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: Linux-specific technical problems
Sarah Reichelt wrote: OK, your PS file does have accented characters in it. It appears they are just in the wrong place. This code that I will paste in here is something I use when I have to re-encode a Macintosh font to work on my Linux computer. This should be put after all of the original encoding because it is going to change it. snip Wow. That's just...wow. The level of expertise on this list never ceases to amaze me. I'm sure you were just about to suggest that Jacque :-) Um, sure. Right after I finished reading up on postscript, and just before I start studying neurosurgery. ;) -- 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: Linux-specific technical problems
Jacque- Wednesday, March 14, 2007, 5:57:11 PM, you wrote: Wow. That's just...wow. The level of expertise on this list never ceases to amaze me. ...my thoughts exactly... -- -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: Detecting Browser Page on Windows/Linux
On Wed, 14 Mar 2007 13:56:12 -0700, Joseph Martinez wrote: That's great, thanks. I will take me a bit to wrap my brain around this but my understanding is then that you use a rev script to activate the VBS script that resides in a text document, and that returns a list of URLs. Would it also return the names/titles of the open pages? Sure! Here's the VBS: Set objApps = CreateObject(Shell.Application) tReturnVal = For Each objApp in objApps.Windows If (objApp.Name = Windows Internet Explorer) or (objApp.Name=Microsoft Internet Explorer) then If objApp.LocationURL Then If tReturnVal = Then tReturnVal = objApp.LocationName Else tReturnVal = tReturnVal vbCrLf objApp.LocationName End If End If End If Next WScript.Echo tReturnVal After you call it using my tip, the returned value from the function stsDoVBS() will contain your data... Enjoy! Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.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: Dimensional Arrays
On Wed, 14 Mar 2007 17:11:36 +0200, Nic Prioleau wrote: Hi Kev, Thanks for your feedback however, I managed to get something like this: regNo,totalFuel,totalKM,month B456TRF,1000,0,2 B456TRF,150,0,3 B456TRF,0,376,3 B444AAA,50,0,3 B444AAA,340,3000,3 B444AAA,0,600,3 into a variable from my selects... Could you tell me how I can achieve the same result as I was trying to get before as I have now eliminated the other arrays I had. It was too messy and because they did not have the same keys, it was difficult to get an accurate result. Basically the same thing, but it's actually easier in this case - you can take the variable and filter on the regNo (put an asterisk after the regno so there'll be a match): filter tData with B444AAA* And then loop through the resulting filtered lines, extract the items you're looking for an add them up: put 0 into tLitres put 0 into tKMs repeat for each line tLine in tData add (item 2 of tLine) to tLitres add (item 3 of tLine) to tKMs end repeat HTH, Ken Ray Sons of Thunder Software, Inc. Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.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