Method question
I have a problem which I am not certain which method is valid or should be used (with Rev / Livecode there are sometimes too many ways of achieving a goal). I have a graphic on a card left 62 right 462. My objective is to allow a user to left click and drag across the graphic as if selecting a section of it. I need start left,top,right,bottom and end left,top,right,bottom. The only interest is knowing the start of the drag when inside the graphic and the end of the drag inside the graphic... with the following caveats. - The user may start the drag either outside the graphic and then continue the drag into the graphic (which is the start point) or start the drag inside the graphic which would be the start point. - The user may release the mouse button inside the graphic which indicates the stop point or release the mouse button outside the graphic where the stop point is at the point of the mouse leaving the graphic. This seems like it should be simple but I am getting tied down but trying to over complicate it? This is for Windows and Linux . Any elegant or simple solutions out there? ___ 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: Method question
Hi Phil, Yes it works BUT it doesn't constrain itself to the graphic. I want it to only to report the points if the user includes the graphic when they d their drag... as it currently stands it reports coordinates even if the user does not drag across the graphic. But other that that it is total a different perspective on how I was looking at the problem... I was too focused on the graphic. thanks, Glen On Tue, Nov 9, 2010 at 12:27 PM, Phil Davis rev...@pdslabs.net wrote: Hi Glen, See if this works: -- card script -- local h1, h2, v1, v2 on mouseDown put the clickH into h1 put the clickV into v1 end mouseDown on mouseUp put the mouseH into h2 put the mouseV into v2 put grcDragRegion() end mouseUp function grcDragRegion -- define mouse drag rect put min(h1,h2) into tMouseLeft put max(h1,h2) into tMouseRight put min(v1,v2) into tMouseTop put max(v1,v2) into tMouseBottom -- define overlap of mouse drag rect grc rect put max(tMouseLeft, the left of grc 1) into item 1 of tOverlapRect put max(tMouseTop, the top of grc 1) into item 2 of tOverlapRect put min(tMouseRight, the right of grc 1) into item 3 of tOverlapRect put min(tMouseBottom, the bottom of grc 1) into item 4 of tOverlapRect -- return it return tOverlapRect end grcDragRegion Phil Davis On 11/9/10 10:48 AM, Glen Bojsza wrote: I have a problem which I am not certain which method is valid or should be used (with Rev / Livecode there are sometimes too many ways of achieving a goal). I have a graphic on a card left 62 right 462. My objective is to allow a user to left click and drag across the graphic as if selecting a section of it. I need start left,top,right,bottom and end left,top,right,bottom. The only interest is knowing the start of the drag when inside the graphic and the end of the drag inside the graphic... with the following caveats. - The user may start the drag either outside the graphic and then continue the drag into the graphic (which is the start point) or start the drag inside the graphic which would be the start point. - The user may release the mouse button inside the graphic which indicates the stop point or release the mouse button outside the graphic where the stop point is at the point of the mouse leaving the graphic. This seems like it should be simple but I am getting tied down but trying to over complicate it? This is for Windows and Linux . Any elegant or simple solutions out there? ___ 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 -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ 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: Method question
Hi Peter, This was my original approach but the problem is similar to what I find here. I only get partial information when I start the combination of clicking and dragging the mouse from outside of the graphic -- across the graphic -- outside of the graphic again. Maybe the messages being triggered aren't being received. I will try other combinations to see what happens. thanks, Glen On Tue, Nov 9, 2010 at 12:38 PM, Peter Brigham MD pmb...@gmail.com wrote: On Nov 9, 2010, at 1:48 PM, Glen Bojsza wrote: I have a problem which I am not certain which method is valid or should be used (with Rev / Livecode there are sometimes too many ways of achieving a goal). I have a graphic on a card left 62 right 462. My objective is to allow a user to left click and drag across the graphic as if selecting a section of it. I need start left,top,right,bottom and end left,top,right,bottom. The only interest is knowing the start of the drag when inside the graphic and the end of the drag inside the graphic... with the following caveats. - The user may start the drag either outside the graphic and then continue the drag into the graphic (which is the start point) or start the drag inside the graphic which would be the start point. - The user may release the mouse button inside the graphic which indicates the stop point or release the mouse button outside the graphic where the stop point is at the point of the mouse leaving the graphic. This seems like it should be simple but I am getting tied down but trying to over complicate it? This is for Windows and Linux . Any elegant or simple solutions out there? Would this do it? local uStartPoint, uEndPoint on mouseenter if the mouse is down then put the mouseloc into uStartPoint end if end mouseenter on mouseleave if the mouse is down then put the mouseloc into uEndPoint end if end mouseleave on mousedown put the mouseloc into uStartPoint end mousedown on mouseup put the mouseloc into uEndPoint end mouseup Then use the script local variables in whatever handlers for your own purposes. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig http://home.comcast.net/%7Epmbrig ___ 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: Method question
Yes this works correctly. Also, I took Peter's solution and found that starting a mouseUp outside the graphic does not report anything because the graphic has it's own mouseUp (and viceversa with mouseDown). The fix for this is to do a mouseUp and mouseDown for the card and determine if the mouseloc is within the graphic. So both solutions are applicable and different in their approach. I will expand on this to make a zoom feature for the graphing packages allowing my end user to easily zoom into data graphs they have interest in. All the best! Glen On Tue, Nov 9, 2010 at 1:20 PM, Phil Davis rev...@pdslabs.net wrote: Ah! I overlooked that. Here's a fix: -- card script -- local h1, h2, v1, v2, wasWithinGrc on mouseDown put false into wasWithinGrc put the clickH into h1 put the clickV into v1 end mouseDown on mouseMove h,v if h,v is within the rect of grc 1 then put true into wasWithinGrc end mouseMove on mouseUp -- exit if mouse never entered the grc if wasWithinGrc = true then put the mouseH into h2 put the mouseV into v2 put grcDragRegion() else put empty end if end mouseUp function grcDragRegion -- define mouse drag rect put min(h1,h2) into tMouseLeft put max(h1,h2) into tMouseRight put min(v1,v2) into tMouseTop put max(v1,v2) into tMouseBottom -- define overlap of mouse drag rect grc rect put max(tMouseLeft, the left of grc 1) into item 1 of tOverlapRect put max(tMouseTop, the top of grc 1) into item 2 of tOverlapRect put min(tMouseRight, the right of grc 1) into item 3 of tOverlapRect put min(tMouseBottom, the bottom of grc 1) into item 4 of tOverlapRect -- return it return tOverlapRect end grcDragRegion On 11/9/10 11:57 AM, Glen Bojsza wrote: Hi Phil, Yes it works BUT it doesn't constrain itself to the graphic. I want it to only to report the points if the user includes the graphic when they d their drag... as it currently stands it reports coordinates even if the user does not drag across the graphic. But other that that it is total a different perspective on how I was looking at the problem... I was too focused on the graphic. thanks, Glen On Tue, Nov 9, 2010 at 12:27 PM, Phil Davisrev...@pdslabs.net wrote: Hi Glen, See if this works: -- card script -- local h1, h2, v1, v2 on mouseDown put the clickH into h1 put the clickV into v1 end mouseDown on mouseUp put the mouseH into h2 put the mouseV into v2 put grcDragRegion() end mouseUp function grcDragRegion -- define mouse drag rect put min(h1,h2) into tMouseLeft put max(h1,h2) into tMouseRight put min(v1,v2) into tMouseTop put max(v1,v2) into tMouseBottom -- define overlap of mouse drag rect grc rect put max(tMouseLeft, the left of grc 1) into item 1 of tOverlapRect put max(tMouseTop, the top of grc 1) into item 2 of tOverlapRect put min(tMouseRight, the right of grc 1) into item 3 of tOverlapRect put min(tMouseBottom, the bottom of grc 1) into item 4 of tOverlapRect -- return it return tOverlapRect end grcDragRegion Phil Davis On 11/9/10 10:48 AM, Glen Bojsza wrote: I have a problem which I am not certain which method is valid or should be used (with Rev / Livecode there are sometimes too many ways of achieving a goal). I have a graphic on a card left 62 right 462. My objective is to allow a user to left click and drag across the graphic as if selecting a section of it. I need start left,top,right,bottom and end left,top,right,bottom. The only interest is knowing the start of the drag when inside the graphic and the end of the drag inside the graphic... with the following caveats. - The user may start the drag either outside the graphic and then continue the drag into the graphic (which is the start point) or start the drag inside the graphic which would be the start point. - The user may release the mouse button inside the graphic which indicates the stop point or release the mouse button outside the graphic where the stop point is at the point of the mouse leaving the graphic. This seems like it should be simple but I am getting tied down but trying to over complicate it? This is for Windows and Linux . Any elegant or simple solutions out there? ___ 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 -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ 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: Method question
Yes this is true and there are several others that could apply as well. As I mentioned in my initial email there are many solutions and I wanted to get other people's perspective on their approach... this gives me freshness and a more rounded base. I could spend days in the dictionary and days coming up with good or bad methods so it is always nice that people on this list are willing to help (hopefully it helps more than just myself). Glen On Tue, Nov 9, 2010 at 1:19 PM, dunb...@aol.com wrote: Hi. Check out the mouseMove message, the mouseDown message, the clickLoc function, and especially all their related links. You'll get it done quickly. Craig Newman ___ 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
Unable to open file using shell or process
For all the linux users (or anyone that know shell or process) In a terminal window I can run the following command line and get the data generation I need. This should work in either a shell or process. First I am the same user as what I do in the terminal window and I am in the correct directory... even did the complete path! on mouseUp put /home/Bill/Desktop/report/nr.php -f tt.conf into promysql open process promysql for update read from process promysql for 500 put it into fld tout write quit to process promysql close process promysql end mouseUp Error: Unable to open tt.conf I also tried on mouseUp put /home/Bill/Desktop/report/nr.php -f tt.conf into promysql put shell(promysql) end mouseUp Same error as before: Unable to open tt.conf As I mentioned I confirmed in the terminal that I was user Bill. on mouseUp put shell(whoami) end mouseUp shows that I am Bill Regular linux commands (ie - ls -l or pwd) work both with shell and process. The file is not locked and I can run it directly in the terminal. $/home/Bill/Desktop/report/nr.php -f tt.conf Any suggestions? thanks, ___ 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: Unable to open file using shell or process
Hi Ken, It does not make a difference though thanks for pointing it out... I was also trying to add 21 after the tt.conf to see if that made a difference but it did not. Glen On Thu, Oct 14, 2010 at 10:47 AM, Ken Ray k...@sonsothunder.com wrote: on mouseUp put /home/Bill/Desktop/report/nr.php -f tt.conf into promysql open process promysql for update read from process promysql for 500 put it into fld tout write quit to process promysql close process promysql end mouseUp Error: Unable to open tt.conf Glen, Not that it should make a difference, but it appears there's a space after your command. I haven't used 'open process' to run a php script, so I may just be shooting blanks here, but just thought I'd pass that along. Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com 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: Unable to open file using shell or process
Yes, the nr.php file is in the same directory as the tt.conf file. I have also confirmed the path and files by do a process with ls -l /home/Bill/Desktop/reporter and it show the files. On Thu, Oct 14, 2010 at 11:08 AM, Mike Bonner bonnm...@gmail.com wrote: Is the tt.conf in the same folder with nr.php? try /home/Bill/Desktop/report/nr.php -f /home/Bill/Desktop/report/tt.conf if it is, or simplify it by switching there first. cd /home/Bill/Desktop/report ; ./nr.php -f tt.conf On Thu, Oct 14, 2010 at 10:56 AM, Glen Bojsza gboj...@gmail.com wrote: Hi Ken, It does not make a difference though thanks for pointing it out... I was also trying to add 21 after the tt.conf to see if that made a difference but it did not. Glen On Thu, Oct 14, 2010 at 10:47 AM, Ken Ray k...@sonsothunder.com wrote: on mouseUp put /home/Bill/Desktop/report/nr.php -f tt.conf into promysql open process promysql for update read from process promysql for 500 put it into fld tout write quit to process promysql close process promysql end mouseUp Error: Unable to open tt.conf Glen, Not that it should make a difference, but it appears there's a space after your command. I haven't used 'open process' to run a php script, so I may just be shooting blanks here, but just thought I'd pass that along. Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com 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 ___ 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: Unable to open file using shell or process
Hi Mike, That did it ! Many thanks. Glen On Thu, Oct 14, 2010 at 12:04 PM, Mike Bonner bonnm...@gmail.com wrote: Did changing your code to the following work? on mouseUp put /home/Bill/Desktop/report/nr.php -f /home/Bill/Desktop/report/tt.conf into promysql open process promysql for update read from process promysql for 500 put it into fld tout write quit to process promysql close process promysql end mouseUp On Thu, Oct 14, 2010 at 11:48 AM, Glen Bojsza gboj...@gmail.com wrote: Yes, the nr.php file is in the same directory as the tt.conf file. I have also confirmed the path and files by do a process with ls -l /home/Bill/Desktop/reporter and it show the files. On Thu, Oct 14, 2010 at 11:08 AM, Mike Bonner bonnm...@gmail.com wrote: Is the tt.conf in the same folder with nr.php? try /home/Bill/Desktop/report/nr.php -f /home/Bill/Desktop/report/tt.conf if it is, or simplify it by switching there first. cd /home/Bill/Desktop/report ; ./nr.php -f tt.conf On Thu, Oct 14, 2010 at 10:56 AM, Glen Bojsza gboj...@gmail.com wrote: Hi Ken, It does not make a difference though thanks for pointing it out... I was also trying to add 21 after the tt.conf to see if that made a difference but it did not. Glen On Thu, Oct 14, 2010 at 10:47 AM, Ken Ray k...@sonsothunder.com wrote: on mouseUp put /home/Bill/Desktop/report/nr.php -f tt.conf into promysql open process promysql for update read from process promysql for 500 put it into fld tout write quit to process promysql close process promysql end mouseUp Error: Unable to open tt.conf Glen, Not that it should make a difference, but it appears there's a space after your command. I haven't used 'open process' to run a php script, so I may just be shooting blanks here, but just thought I'd pass that along. Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com 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 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Rev and Microsoft COM methods
Gentlemen, thanks for the feedback... it looks like a good start. regards, Glen On Sun, Aug 8, 2010 at 7:16 PM, Thomas McGrath III mcgra...@mac.com wrote: Glen, The as VBScript will work very well with COM methods. If you find my LibITS stack on Rev that is how I made the Windows side. Tom McGrath III Lazy River Software http://lazyriver.on-rev.com 3mcgr...@comcast.net I Can Speak - Communication for the rest of us... http://mypad.lazyriver.on-rev.com I Can Speak on the iPad Store http://itunes.apple.com/us/app/i-can-speak/id364733279?mt=8 On Aug 6, 2010, at 9:06 AM, Andre Garzia wrote: Glen, Sorry for the delay. I am not a windows guy but I believe that you can use the same scripts from inside Rev with: do bla bla bla as vbscript check out: http://docs.runrev.com/Command/do (specially the part about alternateLanguages) Cheers andre On Thu, Aug 5, 2010 at 4:47 PM, Glen Bojsza gboj...@gmail.com wrote: Hello all, I am looking for guidance on using Rev to work with an application through Microsoft COM methods. Currently, I have found the methods currently being used with VB Script and I believe that there must be a way to do the same thing via Rev. Any help or examples is appreciated. thanks, Glen ___ 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 -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your 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
Rev and Microsoft COM methods
Hello all, I am looking for guidance on using Rev to work with an application through Microsoft COM methods. Currently, I have found the methods currently being used with VB Script and I believe that there must be a way to do the same thing via Rev. Any help or examples is appreciated. thanks, Glen ___ 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] Franklin 3D - any new examples or projects out there
As like many, I purchased the MegaBundle that was offered, both for possible immediate use -- future use and to support the Rev community. Currently, I am starting a project that requires 3D plots (Electromagnetic Wave simulations) and thought that Franklin 3D and Rev would be a good solution. Is there anyone out there that can share their experiences, examples etc with myself and the rest of the Rev community? Also, is there anyone that has some experience in doing 3D plots? regards, Glen ___ 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
Datagrid Decimal Alignment
Hello, I have tried implementing Decimal Alignment from the sample given with Datagrid. Problem is that the negative sign doesn't show? If you double click and add a negative sign in from of the number it doesn't show. Also if you double click and enter a new number with a negative sign then it changes the value to 0.0? Any advice? thanks, Glen ___ 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
replaceText -- Regex question
This should be easy for the Regex experts ... or maybe I can do it another way? I have to change the beginning of a string. The original string is ALWAYS proceeded by _parm For example NetlistOf6Port_parm01.zip I need to change NetlistOf6Port_parm to Study4 and should result in the string now being Study401.zip I have thousands of beginnings that need changing so I am trying put replaceText (field Gates, * _parm, Study4) into field StudyGroup The * is what I need help with... what is a method for doing a wildcard so anything before and _parm is changed? thanks, ___ 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: replaceText -- Regex question
Perfect. thank you! On Sat, Jul 24, 2010 at 11:42 AM, Ludovic Thébault ludovic.theba...@laposte.net wrote: Le 24 juil. 2010 à 19:39, Glen Bojsza a écrit : This should be easy for the Regex experts ... or maybe I can do it another way? I have to change the beginning of a string. The original string is ALWAYS proceeded by _parm [...] I have thousands of beginnings that need changing so I am trying put replaceText (field Gates, * _parm, Study4) into field StudyGroup Try put replaceText (field Gates, .+_parm, Study4) into field StudyGroup ___ 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: Datagrid Decimal Alignment
Yes, this did the trick! Also, this shows how much there is to learn with DataGrid. thanks. On Sat, Jul 24, 2010 at 1:36 PM, zryip theSlug zryip.thes...@gmail.comwrote: On Sat, Jul 24, 2010 at 4:49 PM, Glen Bojsza gboj...@gmail.com wrote: Hello, I have tried implementing Decimal Alignment from the sample given with Datagrid. Problem is that the negative sign doesn't show? If you double click and add a negative sign in from of the number it doesn't show. Also if you double click and enter a new number with a negative sign then it changes the value to 0.0? Any advice? Hi Glen, Assuming that this sample is linked to the 'How Do I Align Decimals in a Column?' lesson http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7331-How-Do-I-Align-Decimals-in-a-Column- The problem should reside in the FillinData handler: set the itemDel to . set the text of fld leftvalue of me to max(0,item 1 of pData) . set the text of fld rightvalue of me to max(0,item 2 of pData) Negative numbers are ignored due to the use of the max function. Replace the content of the handler by: set the itemDel to . set the text of fld leftvalue of me to item 1 of pData . set the text of fld rightvalue of me to max(0,item 2 of pData) You have now to take care that the user has not started the number by a dot. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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
Over lapping buttons
Hello, I am building an application which uses a third party plug in (protected) that places several buttons in specific locations accordingly. The problem is that I want to move any buttons that over lap another button. I can generate a list of buttons made by the plug in and the order they are created. The problem only exists once and a while and only between buttons that are in sequence - for example regardless of the number of buttons there is only one pair that ends up over lapping. So is there an easy way to determine if a button is over lapping it's neighbor? thanks, Glen ___ 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: Over lapping buttons
Thanks Craig. I will try intersect... originally I was trying the within function and got stuck on it. Glen On Wed, Jun 30, 2010 at 1:12 PM, dunb...@aol.com wrote: Hi. The intersect function is just what you need. Check the dictionary. Craig Newman ___ 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: ANN: Installer Maker plugin for Runtime Revolution
Is there a time frame for when you will have Linux support? I currently am using Fedora 10, 11 1nd 13 also the latest Ubuntu. thanks On Sun, Jun 13, 2010 at 5:47 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Dear RunRev users, As you may have read in a recent RevUp at http://qurl.tk/cf , Economy-x-Talk has been working on an Installer Maker plugin for RunRev. This plugin helps you to create installers from your standalones. There's no longer a need for separate installer building software anymore: you can now do it all from within RunRev. The plugin currently creates installers for Windows and Mac OS X (regardless of the operating system you are currently using). You can read more about the Installer Maker plugin and obtain a license at http://qurl.tk/ce . Documentation and videos will be available soon. If you have any questions meanwhile, please send me an e-mail. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new projects. Contact me for a quote http://economy-x-talk.com/contact.html Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. ___ 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
Linux question / problem
I hope that there are some Rev users working with Linux (with Android coming there may quite a few more). Anyways, I am using Fedora 11 with Gnome desktop. What I would like to do is associate a Logo image with the application I am working on. In Windows and OS X this is all built in quite nicely but in Linux it does not seem straight forward. Does anyone have some experience / wisdom or step by step guide on how to do this ... file association, icon location, icon size / format? The second problem that I am encountering (though I don't believe it is only on Linux) is that I import a snapshot of a field, rotate it 90 degrees and then place it at a specific location. All of this works as it should with the exception or annoyance of the image flashing on the center of the screen before being rotated and moved. I have tried lock screen import snapshot of field test unlock screen But this results in the application hanging until I go and click in the script editor? Is there anyway to do this in a background or hidden? regards, Glen ___ 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: VLC and Rev
My hope was to be able to use it similar to the QT external ... the video plays inside a Rev application. Unfortunately, this requires someone that: 1. understands Rev externals 2. programs in c/c++ (I'm not certain what VLC is written in) 3. willing to do 1 2 The quick and dirty way to do it right now is to store the portable version inside the Rev application, take the users input, put the VLC into a working directory and launch it was the scripts mentioned. Not elegant but doable. On Fri, May 28, 2010 at 5:13 AM, Luis l...@anachreon.co.uk wrote: Hiya, If you're ok to go through the Terminal/Shell, there are many commands you can use. Here's a couple of pointers: http://www.videolan.org/doc/vlc-user-guide/en/ch04.html http://wiki.videolan.org/VLC_command-line_help Cheers, Luis. On 28/05/2010 05:04, Glen Bojsza wrote: I was wondering if anyone has done any work with VLC and Rev? If so, can you share your experiences! regards, Glen ___ 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
VLC and Rev
I was wondering if anyone has done any work with VLC and Rev? If so, can you share your experiences! regards, Glen ___ 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: Listing available MYSQL databases
HI Joe, You are correct and this has help solve my problem. regards, Glen On Tue, May 25, 2010 at 10:32 AM, Joe F. jo...@mac.com wrote: This script would make promysql evaluate to mysqlshow - u nrl -pnrl1 On May 23, 2010, at 3:36 PM, Glen Bojsza wrote: Hello, Has anyone successfully used either open process or get shell() to list the databases available on a machine. From the command line I do the following and get the results I am looking for: [...@localhost ~]$ mysqlshow -u nrl -p Enter password:(I enter the password nrl1 here) ++ | Databases | ++ | information_schema | | lab0624| | test | ++ [...@localhost ~]$ My script is as follows: on mouseUp put mysqlshow - u nrl -p into promysql put nrl1 after promysql get shell(promysql) put it write quit to process promysql close process promysql end mouseUp The resulting message is: mysqlshow: Access denied for user 'nrl'@'%' to database '-' I am currently logged in as nrl in the Fedora 11 system and running Rev under that user name. open process lead to the same results? thanks, Glen ___ 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
Listing available MYSQL databases
Hello, Has anyone successfully used either open process or get shell() to list the databases available on a machine. From the command line I do the following and get the results I am looking for: [...@localhost ~]$ mysqlshow -u nrl -p Enter password:(I enter the password nrl1 here) ++ | Databases | ++ | information_schema | | lab0624| | test | ++ [...@localhost ~]$ My script is as follows: on mouseUp put mysqlshow - u nrl -p into promysql put nrl1 after promysql get shell(promysql) put it write quit to process promysql close process promysql end mouseUp The resulting message is: mysqlshow: Access denied for user 'nrl'@'%' to database '-' I am currently logged in as nrl in the Fedora 11 system and running Rev under that user name. open process lead to the same results? thanks, Glen ___ 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
Rev Video and RTSP streams
Hello, I am trying get get Rev Video to view a rtsp stream. In QuickTime I use File-- Open URL and enter rtsp://192.168.0.12:1/test.sdp and the video starts to play. Has anyone gotten this to work in Rev? thanks, ___ 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
Looking for old Revolution Eternal -RevClips
Hi, I was wondering if anyone still has the external Alex Rice did some time ago for CLIPS. It was called revClips (I think). thanks ___ 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: Looking for old Revolution Eternal -RevClips
Hi Terry, That would be helpful. Would you be able to email it to me. thanks, Glen On Sun, Mar 14, 2010 at 10:16 PM, Terry Judd t...@unimelb.edu.au wrote: Hi Glen - I've got a copy of the Mac bundle but not the Win DLL. Is that any use? Terry... On 15/03/10 3:00 PM, Glen Bojsza gboj...@gmail.com wrote: Hi, I was wondering if anyone still has the external Alex Rice did some time ago for CLIPS. It was called revClips (I think). thanks ___ 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
Application Browser not showing groups
This is a strange one (for me) but I rely on the Application Browser to show me the various components on cards. I have an application that shows me some of the components but not all of them. If I use the Property Inspector and inspect groups I find that the application has tens of groups yet in the application browser it only shows 8? From the Property Inspector I select one group and it hilites the actual group on the card. BUT, there are also other groups that I select via the Property Browser and nothing is visibly shown?? Finally, I also noticed that the Application Browser shows gaps in the Layers numbering which is also a tip off. What is the reason they do not show in the Application Browser? As for their purpose, I am assuming that they may be having custom properties being assigned though I haven't confirmed this yet. thanks, ___ 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: Application Browser not showing groups
That seems to be what is happening... thanks. I'll have to do a little more research into this but I am over the hump. Glen On Thu, Mar 4, 2010 at 3:48 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Glen Bojsza wrote: I have an application that shows me some of the components but not all of them. If I use the Property Inspector and inspect groups I find that the application has tens of groups yet in the application browser it only shows 8? From the Property Inspector I select one group and it hilites the actual group on the card. BUT, there are also other groups that I select via the Property Browser and nothing is visibly shown?? Finally, I also noticed that the Application Browser shows gaps in the Layers numbering which is also a tip off. What is the reason they do not show in the Application Browser? As for their purpose, I am assuming that they may be having custom properties being assigned though I haven't confirmed this yet. Is the selectGroupedControls property of any of those groups set to false? I believe the Rev App Browser hides the contents of custom controls, being any group which has its selectGroupedControls set to false. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv ___ 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: Search / replace
Yes, I discovered that no sleep (5 hours / two days) and trying to solve this was a disaster. It also was a good reminder how good and responsive this list is! I just got some sleep and saw the responses this morning. thanks to everyone, Glen On Sat, Feb 20, 2010 at 6:53 AM, Jim Bufalini j...@visitrieve.com wrote: Jacque wrote: This sounds like a perfect job for the replacetext command... ...there's a way to do that but I'm not sure how. At any rate, once you get the right regex figured out, it's a one-liner to do what you want. Glen, while Jacque works on a regex and after getting some sleep, ;-) here is the correct way to do what you want in a readable Rev loop (replace *FieldName* with the name of your actual field and put this code into a button): on mouseUp pMouseBtnNo put replaceChar([, the text of fld FieldName) into fld FieldName end mouseUp function replaceChar pCharToReplace, pString local tOffset repeat put offset(pCharToReplace,pString) into tOffset if tOffset = 0 then exit repeat if char (tOffset - 1) of pString is an integer then put _ into char tOffset of pString else put empty into char tOffset of pString end if end repeat return pString end replaceChar Aloha from Hawaii, Jim Bufalini ___ 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
Search / replace
Sorry to bother everyone but either I'm tired or brain dead. I have a field which has hundreds of lines. For all [ in the field I need to check to see if the character to it's immediate left is a number. If it is a number then the [ is to be converted into an _. If it is not a number then the [ is to be removed (no substitution or spaces). I need to be able to cycle through the entire field which each line may contain several [. Any thoughts would be appreciated as I have tried using a combination of find characters and foundchunk on the field without success. thanks, ___ 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: Search / replace
Thanks Kay, I will play with offset but I think the trick will be covering each different number of ['s per line. Glen On Fri, Feb 19, 2010 at 8:20 PM, Kay C Lan lan.kc.macm...@gmail.com wrote: Hi Glen, look up offset in the Rev Dictionary. If you are sure that there is no possibility of a space between the number and [, then something like this should work: if (char (offset([,tMyLine) - 1) of tMyLine is an integer) then --script to replace with _ else --script to replace with empty end if HTH On Sat, Feb 20, 2010 at 10:57 AM, Glen Bojsza gboj...@gmail.com wrote: Sorry to bother everyone but either I'm tired or brain dead. I have a field which has hundreds of lines. For all [ in the field I need to check to see if the character to it's immediate left is a number. If it is a number then the [ is to be converted into an _. If it is not a number then the [ is to be removed (no substitution or spaces). I need to be able to cycle through the entire field which each line may contain several [. Any thoughts would be appreciated as I have tried using a combination of find characters and foundchunk on the field without success. thanks, ___ 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: Search / replace
Hi Jim, I appreciate your efforts. I was struggling with your last solution when I came back to check on the posts. Your new solution won't compile the following two lines? replace char tTotalOffset of tFieldText with _ replace char tTotalOffset of tFieldText with empty Glen On Fri, Feb 19, 2010 at 9:19 PM, Jim Bufalini j...@visitrieve.com wrote: Actually what I hastily typed into the last emails won't work. LOL! This is because tOffset is always the difference between the starting point and the found character. I really need to stop these quick answers! Try: On replaceChar Local tOffset, tCharsToSkip, tFieldText, tTotalOffset put 0 into tCharsToSkip put fld theFieldName into tFieldText repeat put offset([,tFieldText,tCharsToSkip) into tOffset if tOffset = 0 then exit repeat put tCharsToSkip + tOffset into tTotalOffset if char (tTotalOffset - 1) of tFieldText is an integer then replace char tTotalOffset of tFieldText with _ put tTotalOffset + 1 into tCharsToSkip else replace char tTotalOffset of tFieldText with empty put tTotalOffset into tCharsToSkip end if end repeat put tFieldText into fld theFieldName end replaceChar Now, if in this one, I misspelled something, just correct it. :-) Aloha from Hawaii, Jim Bufalini -Original Message- From: use-revolution-boun...@lists.runrev.com [mailto:use-revolution- boun...@lists.runrev.com] On Behalf Of Jim Bufalini Sent: Friday, February 19, 2010 5:52 PM To: 'How to use Revolution' Subject: RE: Search / replace I missed the *end if* ;-) (see below) Glen Bojsza wrote: Sorry to bother everyone but either I'm tired or brain dead. I have a field which has hundreds of lines. For all [ in the field I need to check to see if the character to it's immediate left is a number. If it is a number then the [ is to be converted into an _. If it is not a number then the [ is to be removed (no substitution or spaces). I need to be able to cycle through the entire field which each line may contain several [. Any thoughts would be appreciated as I have tried using a combination of find characters and foundchunk on the field without success. Use the *offset()* function as in: On replaceChar Local tOffset, tCharsToSkip, tFieldText put 0 into tCharsToSkip put fld theFieldName into tFieldText repeat put offset([,tFieldText,tCharsToSkip) into tOffset if tOffset = 0 then exit repeat if char (tOffset - 1) of tFieldText is an integer then replace char tOffset of tFieldText with _ put tOffset + 1 into tCharsToSkip else replace char tOffset of tFieldText with empty put tOffset into tCharsToSkip END IF end repeat put tFieldText into fld theFieldName end replaceChar Aloha from Hawaii, Jim Bufalini ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Using Firefox addons with revBrowser
Hello, Can anyone answer the question if you can leverage Firefox Addons / Plugins with revBrowser? thanks, Glen ___ 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
Sample Project - Video Capture
Hello, I am playing with the Video Capture stack that comes with Revolutions Sample projects on OS X 10.5.1 and QT 7.4 I cannot get the video to record at a greater size than 281x239 even though I have resized the image video to 640x480 which the way the stack sets the video record size to. I have also given specific rect numbers with the same result. I was wondering if anybody has had similar problems with using Rev on OS X and recording size. thanks, Glen ___ 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: Sample Project - Video Capture
Thanks Devin, I'll take a look and let you know my results. Glen On Mon, Jun 23, 2008 at 5:05 PM, Devin Asay [EMAIL PROTECTED] wrote: On Jun 23, 2008, at 3:18 PM, Glen Bojsza wrote: Hello, I am playing with the Video Capture stack that comes with Revolutions Sample projects on OS X 10.5.1 and QT 7.4 I cannot get the video to record at a greater size than 281x239 even though I have resized the image video to 640x480 which the way the stack sets the video record size to. I have also given specific rect numbers with the same result. I was wondering if anybody has had similar problems with using Rev on OS X and recording size. Hi Glen, I don't know if I can answer your specific question, but a few weeks back I needed to create a video capture app, and I went through all of the videoGrabber commands and combed through the sample stack. What I found was that the sample stack was unreliable for me, so I worked out a process that seemed reliable and made my own sample stack. Then I wrote it all up and you can read about it at http://revolution.byu.edu/video/videoGrabber.php. There are also directions there for downloading my sample stack. Hopefully these materials will help you to find a clue to sorting out your troubles. Regards, 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 ___ 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
Play Videoclip
Hello all, I am using play videoclip to do introductions to different sections / modules of a course. After the videoclip plays there is a noticeable delay before showing the images on the card behind the area where the video was displayed. Is there any way to reduce or stop the delay ... after the video has stopped there is a moment of blank / white space shown prior to the images showing up. thanks in advance, Glen ___ 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
Apple Script and Rev
Hello, I was hoping to see if anyone knows how to use Apple Script and Rev to configure Speech Recognition on OS X. Basically, is it possible to: 1. turn speakable items on / off 2. select Listen continuously with keyword 3. set the keyword I would like this to be done in an application created by Rev. Any help or comments are appreciated. regards, ___ 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
QT External question
Hello, I am using the QT external and I am having problems understanding why on a XP I get the desired size (640X480) but on OS X I don't (320X224). The parameter line is straight forward and is. qtSetTrackDimensions lPreviewID, 1,640,480 The only thing I noticed on OS X is that when using QT's Show Movie Inspector it shows Apple MPEG4 Decompressor? I have no plugins other than what would have been loaded with QT. As I mentioned it works fine on XP. As usual any help is appreciated. Thanks in advance, ___ 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
Recording output sound
Hello, I was wondering if it is possible to directly record the audio that is being played out through a computer's speaker system? An example would be from a WEBEX session or from a CNN news video. I know you can have the computer's microphone record it as an input but then any added background noise would be included. Any ideas or suggestions would be appreciated. regards, Glen ___ 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
Using non standard characters with a format statement
Hello, I am trying figure out if it is possible to use the format command with non standard characters like ( ) / put format(%11s %9s\n , guess, plat(1)) into fld myReport errors if I use put format(%11s %9s\n , guess, plat1) into fld myReport then it works. Unfortunately I will need to include the () for the report. Is there any way to accomplish this within the format command? thanks, ___ 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
Zipping multiple files stored as customProperties
Hello all, I am trying to zip several files that are stored as customProperties into a single zip file. Can this be done without having to write the files out to disk and then zipping them? thanks, ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
How to replace the Rev icon with a custom icon in the Title bar for windows XP?
Hello, I noticed that here was a gRevAppIcon for OSX but is there something similar for Windows XP. I would like to have a custom icon displayed in Title bars and Ask / Answer dialogs? thanks, ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to replace the Rev icon with a custom icon in the Title bar for windows XP?
Thanks Klaus, But does that mean I could put empty into gRevAppIcon and have no icon at all? Would this need to be a global with a preOpenStack? Does it work in the development environment and in the standalone or just in the standalone? I have tried the following on preOpenStack global gRevAppIcon put empty into gRevAppIcon end preOpenStack But in the development environment it still shows the Rev icon in the Title Bar? On 4/16/07, Klaus Major [EMAIL PROTECTED] wrote: Hi Glen Hello, I noticed that here was a gRevAppIcon for OSX but is there something similar for Windows XP. I would like to have a custom icon displayed in Title bars and Ask / Answer dialogs? gRevAppIcon is actually NOT platform dependent and therefore should work in any case on all platforms, even windows XP ;-) thanks, Regards Klaus Major [EMAIL PROTECTED] http://www.major-k.de ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
GIF format is going to be free
I don't know if and / or how this affects Revolution but I saw that the GIF format will no longer require fees as of October 1st. http://www.freesoftwaremagazine.com/node/1772 regards ___ 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
Using Revolution only in a command line mode?
Hello everyone, I was wondering if anybody has used Revolution in a non-Gui enviroment. I am finding several cases where telecom vendors don't support a windowing system on their linux products, only the command line. I believe that Metacard use to be able to run in this type of enviroment and hope that revolution would. Any help, direction or insight would be appreciated. regards, ___ 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
Educational stacks
Hello everyone, I was wondering if anyone has used Revolution in creating 1. A multiple choice quiz stack? 2. A multimedia training stack ? My interest is in the look and feel from the user experience and how self-contained training modules show flow. I have all the content material for several modules but lack the experience on the educational side in how best design the courses and test the users. thanks in advance, Glen ___ 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: Educational stacks
Wilhelm, Thanks for the information which will take a little digesting. To answer Judy's question - I am trying to create custome learning modules that explain very specific telecommunications technology by means of visual animation and user interaction which needs to be tested for to see if the key points were understood. The trick with using multiple choice testing is to word the question and answers so that the correct solution is not quite obvious. It would be better to have essay style questions but then support for correcting and giving feedback becomes an issue. So for a start I will look at Wilhelm's suggestions and see where it goes. thanks, On 3/15/06, Wilhelm Sanke [EMAIL PROTECTED] wrote: Hello Glen, You wrote: Hello everyone, I was wondering if anyone has used Revolution in creating 1. A multiple choice quiz stack? (snip) As an addendum to my previous post three hours ago: You can find Steve Messimers Preceptor Tools, which very much rely on the multiple-choice principle, here : ftp://ftp.runrev.com/pub/revolution/downloads/third-party/preceptortools . There is also a stack Multiple Choice Questionnaire in folder sample projects of the Revolution distribution. This stack might be interesting as an example how specific questions of constructing multiple-choice exercises are addressed and programmed, otherwise it is very much sub-standard. At best it could serve as a starting point - maybe it is intended as such - for developing exercises that are nearer to state-of-the-art and state-of-the-discussion standards concerning multiple choice. As an educational format, multiple-choice is very much disputed and discouraged. Very often, multiple-choice exercises do not clearly distinguish in their objectives, e.g. are they intended for teaching, learning, or simply testing? More modern teaching and testing procedures try to minimize the role of multiple-choice. Even the American SAT, which very much relied on multiple-choice, is slowly steering away from this format as it adds more and more essay and open-ended parts where you actively have to produce responses and not only to recall and choose from preselected answers. So does the FCAT, the Florida Comprehensive Assessment Test, which is applied at various grade levels in Florida schools and the main threshold you have to pass to get your high-school diploma. But designing multiple-choice exercises can be a nice programming enterprise; this is what I had in mind when I produced my multiple-choice tutorial. And, indeed, a carefully designed multiple-choice exercise can be useful as a *part* of more comprehensive teaching, learning, and testing strategies. Best regards, Wilhelm Sanke http://www.sanke.org/MetaMedia ___ 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
Start, Stop, Continue
Hi everyone, Friday's question is about how to allow a user to start,stop and continue a multimedia demonstration. Ther are three buttons. The Start button on a mouseUp starts to cycle through a list of commands that move graphics, shows and hides fields etc. on mouseUp hide btn Start show btn Stop move grc node to 120,120 in 2 seconds show fld explanation wait for 3 seconds hide fld explanation ... ... ... end mouseUp The Stop button on mouseUp stops the cycle of commands the Start button launched, hides itself and shows a Continue button. The Continue button on mouseUp starts the cycle of commands the Start button initially launched but from where the cylce had been stopped. This is my foray into multimedia and interaction with Rev so I hope the list will bear with me... traditionally I have worked on static apps. Any suggestions or reference stacks would be appreciated. regards, ___ 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: Start, Stop, Continue
Ken, Thanks, I like the framework. regards, On 9/9/05, Ken Ray [EMAIL PROTECTED] wrote: On 9/9/05 7:10 AM, Glen Bojsza [EMAIL PROTECTED] wrote: The Start button on a mouseUp starts to cycle through a list of commands that move graphics, shows and hides fields etc. The Stop button on mouseUp stops the cycle of commands the Start button launched, hides itself and shows a Continue button. The Continue button on mouseUp starts the cycle of commands the Start button initially launched but from where the cylce had been stopped. This is my foray into multimedia and interaction with Rev so I hope the list will bear with me... traditionally I have worked on static apps. Any suggestions or reference stacks would be appreciated. My suggestion would be to work with a list of commands in a custom property, and then use send to do each line, one at a time, recursively sending to the same handler. Manage a custom property pointer that indicates what command line is being executed. The Stop button would cancel the pending message, and the Continue button would execute the next command after the pointer. Something like this (assumes uCommands property contains the list of commands to execute, uPointer property holds the indicator for which line is being executed): -- Start button on mouseUp set the uPointer of this card to 0 DoNextCommand end mouseUp -- Stop button on mouseUp CancelPending DoNextCommand end mouseUp -- Continue button on mouseUp DoNextCommand end mouseUp -- card script? on DoNextCommand put the uCommands of this card into tCmdList put the uPointer of this card into tLine add 1 to tLine put line tLine of tCmdList into tCmd if tCmd = then exit DoNextCommand -- already executed last cmd in list else do (line tLine of tCmdList) DoNextCommand end if end DoNextCommand on CancelPending pMsg put the pendingMessages into tPending if (pMsg ) and (pMsg all) then filter tPending with *, pMsg ,* end if repeat for each line tMsg in tPending cancel item 1 of tMsg end repeat end CancelPending HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Not passing a return key or enter key.
Jonathan, Thanks for the feedback it appears that I need to understand the difference between keyDown and RawKeyDown. I'm assuming that 65293 refers to a key? On 8/12/05, Lynch, Jonathan [EMAIL PROTECTED] wrote: On RawKeyDown pKey If the number of lines in me 3 or pKey 65293 then pass rawkeydown End rawkeydown -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glen Bojsza Sent: Friday, August 12, 2005 5:02 PM To: use-revolution@lists.runrev.com Subject: Not passing a return key or enter key. Hi All, I wish to limit the number of lines (no more than 3) in a field that a user add input. I have tried the following in the field's script on returnKey if word 2 of the selectedline 3 then exit returnKey end returnKey on enterKey if word 2 of the selectedline 3 then exit enterKey end enterKey But when I hit the enter key after 3 lines it still keeps going to the next line? thanks, ___ 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: Not passing a return key or enter key.
Dave, I hadn't though about the ability of a user pasting more than 3 lines - good point. I am looking at the difference between RawKeyDown and returnInField and enterInField. thanks for the ideas On 8/12/05, Dave Cragg [EMAIL PROTECTED] wrote: On 12 Aug 2005, at 22:02, Glen Bojsza wrote: Hi All, I wish to limit the number of lines (no more than 3) in a field that a user add input. I have tried the following in the field's script on returnKey if word 2 of the selectedline 3 then exit returnKey end returnKey on enterKey if word 2 of the selectedline 3 then exit enterKey end enterKey But when I hit the enter key after 3 lines it still keeps going to the next line? The messages you need to trap are returnInField and enterInField. returnKey and enterkey are not sent to fields that are being edited. I'm not sure why. It's caught me out a few times. Also, you may need to prevent users from pasting more than three lines into the field. For that, you could use the pasteKey message. Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ 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: Not passing a return key or enter key.
Hi Jacque, Unfortunately I want to allow the user to use return key to enter the minimum they want on the first two lines. The first line they may want to use as a Title or description with one or two words and then hit enter and give details. So autotab cannot work here. But I am glad you mentioned the pasteKey and may not work in the ide ... this would save me a lot of troubleshooting. regards On 8/12/05, J. Landman Gay [EMAIL PROTECTED] wrote: Glen Bojsza wrote: I wish to limit the number of lines (no more than 3) in a field that a user add input. Size your field to exactly 3 lines high. Set the autotab property of the field to true. The field will now allow only three lines of text. Any returns entered after that will cause the selection to jump to the next editable field. No scripting required. You can still paste more than 3 lines though. For that, trap the pastekey message and trim off all but the first three lines. Note that pastekey may not work in the IDE, but will work okay in a standalone or when you suspend development tools. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Not passing a return key or enter key.
Jacque, That clears things up quite nicely. Thanks! ...I love this list On 8/13/05, J. Landman Gay [EMAIL PROTECTED] wrote: Glen Bojsza wrote: Hi Jacque, Unfortunately I want to allow the user to use return key to enter the minimum they want on the first two lines. Maybe I don't understand what you need, but with autotab set to true the user can enter returns and enter keys normally until there are 3 lines in the field. After that, the field won't accept any more. But it works normally for the first two lines, and you can still trap for enterInField and returnInField if you need to. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Not passing a return key or enter key.
Hi All, I wish to limit the number of lines (no more than 3) in a field that a user add input. I have tried the following in the field's script on returnKey if word 2 of the selectedline 3 then exit returnKey end returnKey on enterKey if word 2 of the selectedline 3 then exit enterKey end enterKey But when I hit the enter key after 3 lines it still keeps going to the next line? thanks, ___ 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
Standalone Encrypt feature
Hello, I have a stack that contains several other stacks. In standalone properties I : 1.Select the Encrypt feature. 2. Save the stack. 3. Build a standalone. When I run my application my button's script don't work. If I deselect the Encrypt feature and build a standalone then the application runs like it should. Does the Encrypt feature have limitations or restrictions that need to be met? thanks, ___ 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: Standalone Encrypt feature
Thanks Sarah for the ideas. The mainstack opens up a substack which the user selects certain features, does the calculations and then places images in particular places on the mainstack. I tried building a standalone with all the substacks ecrypted and the mainstack NOT encrypted. This standalone works fine. I am not using any rev libraries nor do I seem to be missing anything. The stack in the IDE works perfectly fine. I don't think you can turn on error reporting in a standalone? Can you? Finally, I am not certain what you mean when you refer to turning off search for inclusions? I'm happy that the substacks were encrypted but the mainstack should also be encrypted IMHO. regards, On 8/10/05, Sarah Reichelt [EMAIL PROTECTED] wrote: I have a stack that contains several other stacks. In standalone properties I : 1.Select the Encrypt feature. 2. Save the stack. 3. Build a standalone. When I run my application my button's script don't work. If I deselect the Encrypt feature and build a standalone then the application runs like it should. What does the button do? Does it use any Rev libraries or dialogs that might be missing e.g. answer, speech or something similar? Do other scripts owrk or is it just that one? What do you see if you turn on error reporting? You may have to turn of Search for inclusions and specify them manually as the Standalone builder may not be able to search an encrypted stack. HTH, 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 ___ 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
Detecting a mouse click in a field
Hello, I have been trying to figure out th ebest way to determine if the user has clicked the mouse in a field. Both mouseUp and mouseDown are for buttons (though if the user right clicks the mouse in a field then it acts the same as a left mouse click on a button). I am not interested where or what the user has clicked in the field only the fact that they have clicked in the field. thanks, ___ 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 a mouse click in a field
openField works for what I need. Also sectionChanged is also very interesting (I am finding so many ... almost too many interesting commands). thanks Eric and Jonathan regards, On 8/5/05, Lynch, Jonathan [EMAIL PROTECTED] wrote: Selectionchanged can also be useful -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Chatonet Sent: Friday, August 05, 2005 9:39 AM To: Glen Bojsza; How to use Revolution Subject: Re: Detecting a mouse click in a field Hi Glen, Have a look at openField and clickChunk :-) Le 5 août 05 à 15:37, Glen Bojsza a écrit : Hello, I have been trying to figure out th ebest way to determine if the user has clicked the mouse in a field. Both mouseUp and mouseDown are for buttons (though if the user right clicks the mouse in a field then it acts the same as a left mouse click on a button). I am not interested where or what the user has clicked in the field only the fact that they have clicked in the field. Best Regards from Paris, Eric Chatonet. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Free plugins and tutorials on my website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ 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
Polling in Rev (send verses wait)
I am working on an app that needs to do a polling routine every N seconds (where N is defaulted to 10 unless the user defines it themselves). The routine gathers information from some files and parses it with the results being displayed in the appropriate fields. This routine needs to be a run as a background process because the user will be working with the application to update information etc. The Rev docs lead me to think that either the send or the wait command could be used. I was hoping someone would shed some light on which selection should be used in this case. thanks, ___ 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: Polling in Rev (send verses wait)
Thanks Jacque, I have built a quick script that uses send and it seems to work well. regards, Glen On 7/24/05, J. Landman Gay [EMAIL PROTECTED] wrote: Glen Bojsza wrote: I am working on an app that needs to do a polling routine every N seconds (where N is defaulted to 10 unless the user defines it themselves). The routine gathers information from some files and parses it with the results being displayed in the appropriate fields. This routine needs to be a run as a background process because the user will be working with the application to update information etc. The Rev docs lead me to think that either the send or the wait command could be used. I was hoping someone would shed some light on which selection should be used in this case. Use send. More info here: http://www.hyperactivesw.com/polling.html -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Difference in iconic placement
I am using Win XP and if I am in the Revolution IDE and have a stack with a button that on mouseUp set the iconic of stack whatever to true end mouseUp Then it is placed in the XP bar at the bottom of the screen in the taskbar where it and other applications get placed. When I create a standalone with this stack and iconify it then it is placed above the taskbar?? Is there something that is additionally being done in the Rev IDE? thanks, ___ 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
Difference in iconic placement - discovered!
I have discovered the difference in the use of the iconic command. In the REV IDE I always work with full decorations (ie minimize, maximize etc). My application has decorations set to empty and because of this the iconic command works differently as mentioned in my earlier post. Sorry for the list time but hopefully someone will benefit. regards, ___ 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
Quartam Reports Pricing
I have been trying to find out what happen to the original pricing offer of $199 (that was advertised for the last few months on Quartam's site) for anyone that purchased Quartam Reports Pro if they purchased it with in the first few weeks of availability. Revolution gives this offer only if purchased with other Revolution products. If anyone can point me to the correct link or let me know how to purchase it for the $199 price for early adopters I would appreciate it. I've waited for some time for its release and now I can't seem to purchase it I just don't want to miss out on the early special. thanks, ___ 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
Option button changes look feel
I have recently seen this happening with my option buttons on Windows XP. In the IDE when I create an option button it seems to work fine ... ie I pick from the list of options and the appearance of the option button shows the selection and is in a normal state. If I change the option button's opaque option and then change it back to it's original selection (Rev's default) then the option button look and feel changes. After I select an option the selection is still hilited until I select another object? All I did was toggle the button's opaque feature... setting back to its original setting and this happens? Is this a bug or is there something cached? thanks, ___ 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
ZMODEM protocol support in Rev
Happy Friday. Has anyone worked with ZMODEM protocol in Rev? I need to upload and download files from a telco blackbox that I am connected to via a telnet session. The box's command that I want to support is: copy masterfile-conf zmodem: If you use windows Hyperterminal to telnet in there is support for the zmodem protocol and the command copies the file from the box to the Hyperterminal folder. But I would like to use Rev as the Telnet client and everything else works fine other than the ability to support the copy command. Any suggestions are appreciated. thanks, ___ 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
Copy paste stopped working in Rev IDE?
I was wondering if this has happened to anyone else? I have been using copy and paste inside the Rev IDE forever and suddenly it just stopped working? After having closed out of all applications and rebooted it still doesn't work? Is there a preference being set somewhere? I have copied data from other applications and use the MsgBox to put clipboarddata into fld whatever So I know that Rev is seeing the data in the clipboard? Any ideas. I am using Win XP. Rev 2.5 thanks ___ 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: Remotes - the new, exciting alternative to Externals.
This is what I think would make a great Rev Scripting Conference series. On 7/9/05, Jon [EMAIL PROTECTED] wrote: Well done, Alex! :) Jon Alex Tweedly wrote: I've been playing with writing externals for Revolution lately. It's been interesting. I'm very glad to know I can do it, and should I ever need to, I will. But I can't say it's been a lot of fun. Writing C code is frustrating and not very productive in the best of circumstances (e.g. supported by a symbolic debugger, protected processes, etc.) In the circumstance of running an external with Rev's IDE (where many errors cause immediate termination of the IDE, with no diagnostic info provided at all, far less any chance to debug), it is very unproductive. So while it's good to know that externals are possible for me, I also know that they are to be avoided if reasonable alternatives exist. So I started looking for alternatives . Reasons to write externals in the first place. 1. to get access to hardware or other facilities not otherwise available 2. to get higher performance (e.g. matrix ops, image processing, etc.) 3. to take advantage of existing library packages 4. other significant but less common reasons As described above, I don't like C (far less C++). The language I do like (assuming Transcript isn't an option) is Python. Python is, in many ways, similar to Transcript. They're both scripting language, dynamic types (or typeless), associative arrays, etc. - that's largely why I like them both. But they're also quite different, and complementary, in many ways. So, without falling into the trap of becoming a comparison between the two languages, I believe that a number of the reasons for writing an external would equally apply to using Python. Of course, it would be difficult to write an actual external in Python. But I realized that one of the strengths of both Python and Transcript is that they have good, simple socket facilities. So I decided to try Remotes - socket-based Python add-ons to Transcript. I wrote a small (30 lines) Python server which accepts commands over a TCP socket, and returns its result over the same TCP connection (see the end of the email for the source code of the Python program). The commands are in fact snippets of Python code; so I can develop the Transcript stack and just change the snippets of Python to be sent and executed, without even restarting the server. So the whole process is as dynamic as Rev usually is. snip ___ 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
Send mouseUp to tab button?
Is it possible to send a mouseUp to a particular tab on a tab button? A work around for now is for me to set the menuhistory of the button to the tab number I want and then to show / hide the appropriate objects. It would be cleaner just send to send a mouseUp but I can't figure out how to select the tab I want? thanks, ___ 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
Any experience with Expect
Hello all, I was talking to a friend the other day and discovered that he does a lot of hardware testing (regression testing, feature testing etc). Since this is a tedious task most people have been using a program called Expect. Homepage is http://expect.nist.gov/ Tcl/Tk has been used a the user interface. 1. I was wondering if Rev would not be a good alternative to this in native form? 2. Or would it be feasible to make Expect a Rev external ? thanks, ___ 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: Any experience with Expect
As far as I can tell Expect in it's native form is simply a command line. Tcl/Tk was used to create a GUI enviroment for it. So Rev (which is a far better GUI enviroment ) could be used to develop a more custom interface for particular users. So if you ignore the addition of Tcl/Tk you have a command line package which could be accessed with Rev through the shell or possibly make Expect a Rev external. I guess what I am trying to get at is that Rev should be able to replace Tcl. On 6/24/05, Mark Wieder [EMAIL PROTECTED] wrote: Glen- Friday, June 24, 2005, 7:08:43 AM, you wrote: GB 1. I was wondering if Rev would not be a good alternative to this in GB native form? GB 2. Or would it be feasible to make Expect a Rev external ? Maybe I'm mising the point, but I don't see what would be gained by either of these. Expect uses Tcl/Tk to handle text scripts for controlling command-line programs. I don't see where a GUI wrapper would help in either creating scripts or running them. You'd still have to write the scripts and then hand them off to Tcl/Tk for execution. Possibly in archiving and retrieving regression tests, but rev seems a bit of overkill in that department. -- -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 ___ 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
Copying customPropertySet with associated customKeys
Again, I am trying to dig deeper into custom properties. I am trying to store the customPropertySet with associated customKeys and the associated property contents of the keys into another object's custom properties. I have , thanks to Dan and Scott, been able to store an image and the associated customKeys but now I want to do more ... actually all of it. Do you need to create an array of an object's customPropertySet , customKeys and property contents and then store it? Or is there more a direct method? thanks, ___ 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: compileIt for revolution?
Well, from what I see here is a business opportunity. If everyone that is interested in achieving this (and willing to pay). Then I would suggest a group should be formed andcreate a well defined set a specifications. I am sure that Chipp at Altuit or someone else would be able to produce the much desired solution but for a price. This would be the quickest way of getting exactly what is being asked for in the shortest period of time. I would be glad to coordinate (off the list ) creating the product specifications and then putting it out to bid. ...any takers? Please contact me off the list. regards, Glen On 6/22/05, MisterX [EMAIL PROTECTED] wrote: Derek, Not to mean that i have all the answers (but i've tried to answer all the questions in this respect before). I know C pretty well but i hate it any time you have to debug anything like pointer increments or loookup tables. Note that C compilers (not hte free ones) usually have great debugging tools (no comparison to rev). The translation to C is EASY! To C++, like Java or Javascript is a nightmare however... Add pointers and you got HELL! It's kind of the same problem with dot notation of object-oriented variables object.property-value or all it's variations If you managed it, it could work but would it be optimized? Most compilers use repeated passes to compile to assembler and then again to machine language (if that's still current for some compilers) but for a program to create a more efficient code than a coder, you can forget it. a program in C is NOT like a program in Rev and vice versa - except for a few data crunching routimes. I thought (still haven't stopped) of doing this in Python. It's doable. But i have a vendeta with VBS and Active directory at work to get rid of first. Then i can translate it easier to Python. With the right wrappers we should then have any compiler (python, c, fortran, etc.). But first write the translator translator - eh, language codec ;) What's next, language drivers ? . got those already! These are xtalk-c or c-xtalk compatibility handlers - makes scripts darn easier to translate in the first place - In the xtalk to C example, you just need to #include axtalk.c library in your code. But this is still vapor as i hate the c debugging. cheers Xavier -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derek Bump Sent: Wednesday, June 22, 2005 16:19 To: How to use Revolution Subject: Re: compileIt for revolution? I have spoke with a few individuals in regards to creating a utility for Revolution that would convert Transcript to C. Unfortunately, I know little of C and the individuals I talked with were not ready to start a project such as what you want. But...it is possible. If one who knows C and could figure out some sort of Transcript wrapper, then it would be possible. There are many freeware and public domain compilers out there, but finding one that successfully compiles DLLs for Revolution is seemingly difficult. I've been trying for a few months now, but with my limited knowledge of C I end up running into errors. I am working on this project, but the *confusing* Externals SDK doesn't help. It's pretty bad when I've used about 10 different compilers (including MS Visual C) and I still can't get the samples to compile properly. But that's a whole different issue. Derek Bump Dreamscape Software ___ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.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 ___ 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: Copying customPropertySet with associated customKeys
Brilliant Ray, this helps pull it all together. I hope others will find this as useful... thanks, On 6/22/05, Ken Ray [EMAIL PROTECTED] wrote: On 6/22/05 9:12 AM, Glen Bojsza [EMAIL PROTECTED] wrote: Again, I am trying to dig deeper into custom properties. I am trying to store the customPropertySet with associated customKeys and the associated property contents of the keys into another object's custom properties. I have , thanks to Dan and Scott, been able to store an image and the associated customKeys but now I want to do more ... actually all of it. Do you need to create an array of an object's customPropertySet , customKeys and property contents and then store it? Or is there more a direct method? Glen, here's what I use - pass all for pSetName if you want all the sets copied: on stsCopyCPSet pSourceObj,pDestObj,pSetName if pSetName = then put all into pSetName if pSetName = all then put the customPropertySets of pSourceObj into tSets set the customPropertySets of pDestObj to tSets else put the customPropertySets of pDestObj into tSets if tSets = then put pSetName into tSets else put tSets cr pSetName into tSets set the customPropertySets of pDestObj to tSets end if repeat for each line tSet in tSets if pSetName all and tSet pSetName then next repeat set the customPropertySet of pSourceObj to tSet set the customPropertySet of pDestObj to tSet set the customKeys of pDestObj to the customKeys of pSourceObj put the customKeys of pSourceObj into tKeys repeat for each line tKey in tKeys do set the tSet [ q(tKey) ] of pDestObj to the tSet [ q(tKey) ] of pSourceObj end repeat end repeat set the customPropertySet of pSourceObj to set the customPropertySet of pDestObj to end stsCopyCPSet HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Synchronization of buttons to a scrolling field
I was wondering if it was possible to synchronize a group of horizontal buttons to the horizontal scroll bar of a field. So as you scroll the field , the row of buttons above the field scroll with the same relationship? thanks, ___ 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
Images in Customproperties
I have managed to set an image from a card into a customproperty. set the Antennas[Site] of image map to image tower But I can't figure how to place it on another card? I am hpoing that if you can place the image on another card or stack that it will contain all of the image's information and customproperties. Or is this not a viable solution? thanks, ___ 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: Images in Customproperties
Scott, This is more at what I was getting at. I made a simple error in thinking that the image tower when stored as a custom property also had its custom properties stored...NOT. Thanks for the enlightenment. Any thoughts on my other question...if I stored an image from my hard drive set the Antennas[Site] of image map to URL binfile:radio.png How can I place this image from my custom property at a later time onto a card? On 6/22/05, Scott Rossi [EMAIL PROTECTED] wrote: Recently, Glen Bojsza wrote: I have managed to set an image from a card into a customproperty. set the Antennas[Site] of image map to image tower But I can't figure how to place it on another card? I am hpoing that if you can place the image on another card or stack that it will contain all of the image's information and customproperties. Or is this not a viable solution? I might be wrong, but if I understand what you're trying to do, I believe you need to assign the properties and imageData of your target object separately. For example: set the uImageContent of img map to img tower set the customKeys of img map to the customKeys of img tower This should place the imageData of image tower into the custom property uImageContent of image map (and preserve any alphaData present in image tower). To then apply the image to another image, you simply put the property into a new image object: put the uImageContent of img map into myImgObject The cool thing about this technique is it allows you to establish a single image object with multiple image references. A good example is a digit in a timer which contains all the number images 0 to 9 stored as custom properties. To update the timer, you successively put it's stored digit information into itself: put the digit0 of img timer into img timer. Or is this not what you want? 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 ___ 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
Looping problem
I'm stuck...and getting burnt out so I thought I would see if someone has a fresh idea for me to try. The scope is to have a number of locations and the minimum path connecting the locations. I have two fields. Field Name contains a list of single unique site names. (for example 20 names) Field Link contains a list of three items. The first two items are single names from the field Name and the third item is a weighted numeric value. This field is the total possible combinations of the names and their associated values for lowest to highest. So my combinations would total 20*(20-1)/2 =190 I am trying to create a resulting field that would have a list that would include a least one occurance of each name. Therefore 20 -1 = 19 links (preferably from the lowest value upwards. Any ideas would be welcomed. regards, Glen ___ 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: Looping problem
Dar / Alex, Thanks for the feedback... it makes me feel much better knowing the problem is actually difficult. I will do some research and hopefully get something close which is acceptable. regards, On 6/20/05, Dar Scott [EMAIL PROTECTED] wrote: On Jun 20, 2005, at 5:01 PM, Glen Bojsza wrote: The scope is to have a number of locations and the minimum path connecting the locations. This looks like it might be a variation on the traveling salesman problem and you might find lots of references to approaches to solutions to that. Dar -- ** DSC (Dar Scott Consulting Dar's Lab) http://www.swcp.com/dsc/ Programming and software ** ___ 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
Referencing
Hi, I have a field that contains a list of several fields that I want to do a line count on. FIELD UPDATELIST fld exportdata of stack map fld sitename of stack map ... ... In my script I want to get the number of lines that each field currently has on mouseUp put fld UPDATELIST into uLists repeat for each line M in uLists put the number of lines in M end mouseUp The result I get is 1 Obviously I thought that this would be the same as put the number of lines in fld exportdata of stack map etc Any ideas where my logic has gone off? thanks ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Working between two stacks
After some time of troubleshooting my application I realized that I had made an assumption how information flows between two stacks. In stack build I have a button that does several calculations and at one point opens another stack where the user is to determine what parameters they want to include. STACK BUILD on mouseUP -- do calcs ... ... modal stack Input --do more calcs based on user selection from modal stack Input ... end mouseUp My problem is obvious now ... the mouseUp in STACK BUILD continues not waiting for the user input from the STACK Input What would be the proper way to handle communication between stacks so it will wait for the input decisions? thanks, ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Graphics Help, Please
Roger, If you have photoshop then you can open your image, selectthe help menu and select create a transparent image ... you then select the color that you want to be transparent ie white. Or you can try Chip's stack go URL http://www.altuit.com/webs/altuit2/RunRev/ImageTrans.rev; Worst case you can email me off the list and I can do it for you quickly. regards On 5/26/05, Roger Guay [EMAIL PROTECTED] wrote: I need to develop graphics/images that will be used as icons for buttons. And, I've forgotten how to get rid of the rectangular white background/border that invariably comes with the graphic. This is driving me nuts!! BTW. I work on a Mac. Thanks, Roger ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Fit Content from a script
Hi, I have several fields that get created from a script and I want to also have the fields size from a script the same way as Fit Content works the size and position menu. There is no Fit Content command so is there another way to script this? thanks ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Change image into a graphic?
Hello, I was wondering is it possible to change an image into a graphic? I have several transparent images that I would like to use as a graphic in Revolution. thanks again. ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Fit Content from a script
Thanks, it works but now I am trying to adjust the height as well because of how the fld gets set (I thought you could set the rect of a fld without its height or width changing? I have an image and a field. I want to have the field position below the image via script so: set the loc of fld Site to the loc of image Tower -- centers both objects put the rect of fld Site into tnewPoints put item 4 of the rect of the image Tower into item 2 of tnewPoints set the rect of fld Site to tnewPoints -- this causes the height of the fld Site to shrink to 1?? set the height of the fld Site to the formattedheight of fld Site -- which still isn't perfect in postion set the width of fld Site to the formattedwidth of fld Site -- this works since the rect info on width hasn't changed Is there a better way? How can you script the Distribute command - edge to edge (this is in essence of what I am trying to accomplish) On 5/26/05, Jeanne A. E. DeVoto [EMAIL PROTECTED] wrote: At 5:42 PM -0400 5/26/05, Glen Bojsza wrote: I have several fields that get created from a script and I want to also have the fields size from a script the same way as Fit Content works the size and position menu. There is no Fit Content command so is there another way to script this? Like this: set the height of field Whatever to the formattedHeight of field Whatever You'll probably want to check whether the field is empty and whether its formattedHeight is larger than the card's height. If the field is a single line and shouldn't wrap, you'll want to set its width. The best way is to set its width to a maximum and then set it to the formattedWidth: set the width of field Whatever to the width of this stack set the width of field Whatever to the formattedWidth of field Whatever -- shrinks if necessary This is because the formattedWidth takes word-wrap into account. -- jeanne a. e. devoto ~ [EMAIL PROTECTED] http://www.jaedworks.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Plugin for formatting text?
Hello everyone, I was thinking that someone may have already mentioned or done this already. I was looking for a plugin that would make text formatting easier and would also include the ability to easily set links on selected text. Or is there another way that I am missing? BTW: I am glad to here that RevCon West is going to be so well attended. I am not in a postion to attend this year but I am planning to make it next year. So, all the best to those who are planning to make it. thanks ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Graphic in Field
I have been trying to figure out if is possible to place a graphic in a scrolling field? This leads to a second question which is how can you put a check box in a field or associate it so it looks like its part of the field. Thanks in advance? ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Graphic in Field
Kathy, Thanks for the response this does help me quite a lot and gives me more insight on the approach. regards, Glen On 5/21/05, Kathy Jaqua [EMAIL PROTECTED] wrote: Hi Glen: I did this In a field and it works quite well :-) ( or How He did It by Baron Von Frankstein) First: I made two images by taking a screen shot of: (If you have iCal on the Mac you can get a variety of colors) 1. A check box button unchecked and I called it Aqua NoChButton.png 2. A check box button checked and I called it Aqua CheckedButton.png I found that I needed to replace a character already typed in a line ( in my case it was the number of the line placed in character 1 of that line) with the imageSource Aqua NoChButton.png I used the following script to place the imageSource Aqua NoChButton.png: on addSourceImage --if line 1 of me 1 then put 1 into line 1 of me --if the imageSource of line 1 of me is empty then set the imageSource of char 1 of line 1 of me --Aqua NoChButton.png put the number of lines in me into tCount add 1 to tCount put tCount return after me set the imageSource of char 1 of line tCount of me to Aqua NoChButton.png end addSourceImage Second: Then on a mouseclick In the field I toggle the two images to make it appear As if it is a check button on mouseDown -- the first two lines are used to delete the imageSource if needed get the clickLine if the controlKey is down then delete the clickLine -- Line 3: gets the line number and puts it into the field line put the value of the clickLine into tclickLine if the imageSource of line tclickLine of me is Aqua NoChButton.png then set the imageSource of char 1 of line tclickLine of me to Aqua CheckedButton.png else if the imageSource of line tclickLine of me is Aqua CheckedButton.png then set the imageSource of char 1 of line tclickLine of me to Aqua NoChButton.png end if end if end mouseDown Third: If you Delete the check box imageSource you want to reline or reorder the field lines in the correct sequence use the following script: (Mark Wieder gave me this last script) on fixLines -- action can occure when field is locked or unlocked get number of lines in me put true into trailing repeat while it 0 if the number of words in line it of me is not 0 then put false into trailing else if trailing then delete line it of me else delete line it of me end if subtract 1 from it end repeat end fixLines Hope this helps: Kathy Graves Jaqua A Wildest Dream Software ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: ANN/RFD Python in Rev - no probs!
XMan, I am very interested in this as well. Years ago I was hoping that Pythonware by Pythonworks was going to solve this problem but they died in the end. Glen On 5/6/05, Dan Shafer [EMAIL PROTECTED] wrote: xav. Count me in, in spades. This would be my ideal coding universe. Need to check out PythonCard (http://www.pythoncard.org), an Open Source project trying to approach this from the other side (Python scripting in an HC/Rev kind of IDE world) for possible cross- pollination. Alex Tweedly and I have both been involved in that project (he more than I, particularly of late). Glad to see someone spearheading this. I'll do whatever I can. Python scripts running quasi-native in Rev. yum ~~ Dan Shafer, Co-Chair RevConWest '05 June 17-18, 2005, Monterey, California http://www.altuit.com/webs/altuit/RevConWest ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Drag selected lines (or other objects) between stacks?
I was wondering if it is possible to: 1. drag selected lines in a field in one stack and drop them into a field in another stack? 2. drag an object (button or image) between stacks? A one time there was an old stack showing dragging selected lines between fields but I can't seem to find it posted anymore? thanks ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Working with animated gifs
I was wondering if there are some general guidelines on how to use animated gifs in Rev on the XP platform? Turning the animation on and off would be my first question. I understand that I can set the repeat and direction properties in the property inspector and that actually shows the animation but how do you do it at the script level? thanks, ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Limiting the number of characters per line in a scrolling field?
I would like to limit the number of characters a user can input on any line in a scrolling field. In the field script on keydown theKey if theKey is not in 0 1 2 3 4 5 6 7 8 9 - . then beep exit keydown else if (the length of me) 4 then beep exit keydown end if pass keydown end if end keydown if the length of me is 4 then... this works but limits the TOTAL field to 4 characters. thanks ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Limiting the number of characters per line in a scrolling field?
This seems to do the trick but now I have to ask... What's an accented character? On 4/23/05, Dar Scott [EMAIL PROTECTED] wrote: On Apr 23, 2005, at 2:09 PM, Eric Chatonet wrote: on keyDown pKey if (pKey is an integer) and (the number of chars of the selectedLine 5) then pass keyDown end keyDown Will this let in the occasional accented character? Dar -- ** DSC (Dar Scott Consulting Dar's Lab) http://www.swcp.com/dsc/ A Sponsor of RevCon West ** ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Ask file but with open dialog box
I have been using the ask file syntax for asking the user where they would like to save a file. But when using it for asking which file to open it unfortunately has a save button instead of the traditional open button. Is there a similar dialog command that can be used to open a file or and option in the ask file command? thanks, Glen ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Revolution Online Scripting Conferences
Heather, This is an excellent move! Will the sessions be recorded for later reviews? thanks, Glen On 4/14/05, Heather Nagey [EMAIL PROTECTED] wrote: Dear List member, In an exciting new development, Dreamcard and Revolution online scripting conferences will commence on April 30th, 2005. These conferences will consist of a series of fortnightly moderated online chat sessions, free and open to all. The aim of the conferences is to introduce the basic techniques of programming in Dreamcard and Revolution to the widest possible audience, in a fun, exciting way. Don't know what a stack is? Don't know your background from your backyard? These conferences are for you. They will also be excellent refreshers for more experienced scripters, a forum where you can meet other Revolutionaries, and an all round exhilarating experience. Advanced Revolution users will be in attendance, so after the moderated discussion on the topic at hand, you can ask your own scripting questions and get real-time personalized answers from the pros. Come along and join the fun! For more information and details on how to join the chats, please visit http://support.runrev.com/scriptingconferences/ Warm regards, Heather -- ** For a faster response to all licensing, support, and technical issues, please now send mail to [EMAIL PROTECTED] ** Heather Nagey ~ [EMAIL PROTECTED] ~ http://www.runrev.com/ Runtime Revolution - User-Centric Development Tools Tel +44 (0) 870 747 1165 Fax +44 (0) 845 4588487 ~~~ Check our web site for new Revolution editions special offers ~~~ ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Using a field variable with exp10()
This must be simple thing but I have tried several variations and was hoping soeone would know off the top of their head. I have a field vTXpower that has the number 2 in it I would like to use the exp10() function normally if you did put the exp10 of (2) results in 100 which is correct I can do put 2 into tnum put the exp10 of (tnum) and this works but I cannot get put the fld vTXpower into tnum put the exp10 of (tnum) So I guess it is not taking the 2 from the field vTXpower as a real number?? Any insight is appreciated. thanks ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Using a field variable with exp10()
That does the trick... removing the of seems to fix it? On Apr 11, 2005 5:21 PM, Frank D. Engel, Jr. [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is everyone actually typing the before fld? I didnt't think that would actually work. Try removing the the and see if that fixes the problem. If not, then try put exp10(tnum) for the second statement; using the the format for functions has caused some problems for me in the past, going to the more traditional parenthetical notation seems to have done away with those problems. Now we are looking at, in effect (and yes, this should also work): put exp10(fld vTXpower) On Apr 11, 2005, at 4:04 PM, David Squance wrote: put the fld vTXpower into tnum put the exp10 of (tnum) This worked for me. Could there be something else, like a hidden character in the field? Dave -- ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution - --- Frank D. Engel, Jr. [EMAIL PROTECTED] $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep John 3:16 John 3:16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. $ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCWupF7aqtWrR9cZoRAo7DAJ0ZSNgKu3AzW0ukR/lpA2BR5DyHGwCcDWAH FCx/Ftr/QNu7K/RKrlfa8Ow= =NXg2 -END PGP SIGNATURE- ___ $0 Web Hosting with up to 200MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: UNIX Engines
I gave up on this last year after a couple of emails back in September to Revolution. I think that this could be a licensing issue (ie if you have paid for the license for all platforms then aren't you owed a current release for each platform??). It is a bit disappointing since the response I was given was to use the old version for my projects. Maybe this will change the pricing structure! On Thu, 3 Mar 2005 13:33:08 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Based on my paste experience, I wouldn't prevent the flow of breathable oxygen while waiting for them. Unix needs seem to be of little or no concern to Runtime. The site has stated Coming Soon since the initial release of 2.5. Roger Eller [EMAIL PROTECTED] On 03/02/2005, at 5:18 PM Frank D. Engel, Jr. [EMAIL PROTECTED] wrote: Has anyone heard any recent news on when the Rev 2.5 engines for UNIX (Solaris, IRIX, BSD, etc.) will show up? From what I can see, there is still no sign of them... - --- Frank D. Engel, Jr. [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: New Externals...
Hi Chipp, From what I could tell on the list over time would be a Filemaker Pro style database. SQLite is free and well supported. Making it an external and giving the rev community a starter interface might appeal to the masses? Maybe a follow on business would be a rev plugin that could utilize the SQLite as a table object? And a personal favorite would to have a graphing module that would create serveral types of graphs that excel produces...this may have the largest mass appeal? This would give the rev users the ability to add a standard desired component to their projects. A math engine external? An ssh client? Just a few of my wishes. Maybe regards. On Thu, 3 Feb 2005 20:21:28 -, Derek Hadlington [EMAIL PROTECTED] wrote: Hi, Windows Mobile platforms have had .Net capability for a while via the .Net Compact Framework and controls support from vendors such as ComponentOne. Visual Studio IDE (Professional and above) provides projects 'out of box' for Mobile devices and even an emulator to test your application without having a PDA/Smart Device. Current .Net framework (1.1) Will work on Windows Platforms all the Way back to NT4 SP6a with certain caveats. Mono on Linux works quite nicely and I regularly build on MS .Net and run on windows and Vice Versa. Only real weakness at moment is the Windows Forms Implementation on Mono is a 'work in progress' and relies on Wine emulation. Iam using GTK bindings on .Net to address this for now. A lot of these limitations are been addressed in future versions as well as VS2005 compatibility and now Novell is stewarding the effort its moving along at quite a rate. There will always be some minor differences ( IP issues and certain frameworks not been useful on non Windows environments). Like most things in theory ( I think :-)) )Revolution could be made so that it emits Mono/MS .Net compatible ILASM code which could be run on top of a .Net or Mono runtime enivronment. Points to note here are :- Would need a ground up rewrite of Revolution to generate ILASM instead of Its own integrated custom bytecode engine and code model. A BIG Job I would expect ! Revolution as it is has the nice feature of very easy deployment with most applications been comprised of a single file approx 2MB in size. Mono and .Net are in the 20 to 40 MB range unless frameworks etc are already installed on system its to be deployed on ( Very uncommon currently ). Solution to reduce .Net size and not require framework to be installed globally do exist and cost is ( Xenocode $1500 !! ). This issue often occurs with Java too :-) I would personally think a better course to take would be the one Gordon suggested in his OT, namely make it easy to bind to .Net/Mono in a similar Way to how you can use .Net functionality from ActiveState Perl using PerlNet supplied with their Perl Development Kit. Phew that got a bit too long and OT :-)) Cheers Derek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank D. Engel, Jr. Sent: 03 February 2005 19:24 To: How to use Revolution Subject: Re: New Externals... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Going to be cross-platform? Check here: http://www.mono-project.com/ Hmm... what about a Rev runtime for .net? I think .net will be available for Windows Mobile soon (is it already?), so a .net runtime version would automatically provide support for software on Windows Mobile, Windows itself (2000+, correct?), and apparently Mono-supported platforms as well (various flavors of Linux, plus OS X more or less -- more soon, I hope) -- and possibly even future platforms which don't even exist yet! On Feb 3, 2005, at 2:01 PM, Gordon Webster wrote: Dear Chipp An externals external would be great. Something that could expose the functions and type requirements in standard windows dlls or *nix .so shared library (and their OSX equivalents). As is already the case in C#, Java or some of the flavors of Basic, you could then import these functions directly into transcript something like ... externalHandle = altuitUseExternal(mylib.dll) IMHO runrev really needs a more accessible interface to the vast wealth of shared libraries that exist out there, without having to write wrappers for every new library you want to use. I would love to be able to use OpenGL from within rev for example and create interactive 3D viewports on my rev stacks. OT: Wouldn't it be great to have .NET bindings for rev, especially since it seems that .NET is going to be a genuinely cross-platform runtime (please no Java Vs. .NET flames or any other anti-MS invective - I'm no great fan of MS, but it seems that they've finally done something right with .NET) Best Gordon --- Chipp Walters [EMAIL PROTECTED] wrote: The recent altBrowser bundle offering was a success thanks to RR users
Placing field contents into a button script?
Is it posssible to have the contents of a field put into a button's script... by the way of a script? thanks ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution