Re: PayPal Integration with On-Rev
Derek- Sunday, August 16, 2009, 8:56:57 PM, you wrote: Any ideas, or am I completely off track? I was getting empty post data if I canceled a transaction (PayPal redirects you to the proper web page but there's no post or get information). But on completing a transaction properly I do get the $_POST array filled in. And that's why I had to set up a sandbox account in the first place - I had no idea whether this was going to work without trying an actual transaction. Here's what I started with on on-rev to make sure that *something* was coming back to me... - -- debugging: display what we got back from PayPal - put POST: the keys of $_POST br/ put GET: the keys of $_GET br/ put SERVER: the keys of $_SERVER br/ -- -Mark Wieder mwie...@ahsoftware.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: Challenge: How can we set the rect of a polygon to its visual rect? (and a tentative solution)
It appears that Rev defines the rect of a regular polygon to be the rectangle that encloses all possible rotations of that polygon. To see this, create a regular polygon as graphic 1, create a rectangle as graphic 2, in the message box set the rect of grc 1 to the rect of grc 2, and then set the angle of grc 1 to various numbers. This seems like a useful enough feature that I wouldn't call it a bug. David Epstein ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: PayPal Integration with On-Rev
You wouldn't mind pointing to the tutorial itself? I'd be interested to look, and I can't seem to track it down. Thanks Derek Bump - Dreamscape Software wrote: Did anyone attempt the PayPal Integration with On-Rev tutorial by Mark Wieder? Was anyone able to get it to work with PayPal Sandbox? I attempted to do the same thing with PHP, using Mark's wonderful article as a guide. I setup a Sandbox account and a PHP script that would spit out all of the posted variables for testing, and after running a test order, nothing seems to be posted to the script. Here's my PHP: ? $fName = $_POST[first_name]; $lName = $_POST[last_name]; $pEmail = $_POST[payer_email]; echo First: $fName br Last: $lName br Email: $pEmail; ? This code results in a Web page that looks like this: First: Last: Email: Any ideas, or am I completely off track? Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- View this message in context: http://www.nabble.com/PayPal-Integration-with-On-Rev-tp25000694p25003115.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Challenge: How can we set the rect of a polygon to its visual rect?
On Mon Aug, 2009, dfepstein at comcast.net dfepstein at comcast.net wrote: It appears that Rev defines the rect of a regular polygon to be the rectangle that encloses all possible rotations of that polygon. This seems like a useful enough feature that I wouldn't call it a bug. David Epstein Correct observation. And what is more, this maximal rotation rect remains the same even when you change the polysides property of a regular polygon, switching from a hexagon to a triangle or to any other polygon shape. For what purposes may such a feature be useful? I think it was not intended as a useful feature, it just happened during the development of the algorithms for regular polygons. And again, I believe, it would not cause too much trouble for the developers of Revolution to define the rect of a regular polygon as a minimal visual rect that will be adapted to its minimal size each time the angle of a given regular polygon is being changed. Another additional or parallel solution would be, which I mentioned in my last post, to make the values of the vertexes of a regular polygon available and retrievable, and then let the user choose to set the style of the polygon to polygon based on the given points/vertexes. Regards, Wilhelm Sanke 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
ANN: Economy-x-Talk releases the word game TwistAWord
Hello, Economy-x-Talk has released a brand new game called TwistAWord. Goal of the game is to create sentences from jumbled words, which form a saying or expression. While this game is just fun to play, it also helps you improve your language skills in eight different languages. TwistAWord is available for Windows and Mac OS X and can be downloaded at http://www.twistaword.net. Unregistered copies quit every 10 minutes, but you can always start the game again. A registration code can be purchased for € 14.95. Even though we are releasing TwistAWord today, we still appreciate your bug reports. The first 5 useful bug reports are rewarded with a free license. Visit http://www.twistaword.net/test.php for more info. TwistAWord was made with Runtime Revolution. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Download Snapper Screen Recorder at http://snapper.economy-x-talk.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: PayPal Integration with On-Rev
The article is available here: http://www.runrev.com/newsletter/august/issue76/newsletter2.php?=NW0076S36140 I have 2 concerns though about using PayPal's Buy Now buttons... 1. The initial ordering interface can be daunting for first time users. The option to purchase *without* setting up a PalPal account is a little buried, and I don't like the idea of my customers thinking they need to setup a PayPal account just to buy my program. I sat my Mom and my Dad in front of the order screen and said try to order my program with this credit card number. My Mom, bless her heart, wouldn't stop asking me where to click and what to type, and my Dad got it, but said it was a bit complicated and that he liked my old ordering page better. 2. The process is more or less dependent on whether or not the user clicks the Return to So-And-So's Web Site button on the order successful page. If they don't click it then the user will wait, often for days, wondering where their license number is. I'm not sure how often this happens, but I'm sure it does. In the end I think I'm going to forgo this idea and stick with what I have. It may take a little longer to process orders, but it still passed the Mom Test. Thanks! Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ SparkOut wrote: You wouldn't mind pointing to the tutorial itself? I'd be interested to look, and I can't seem to track it down. Thanks Derek Bump - Dreamscape Software wrote: Did anyone attempt the PayPal Integration with On-Rev tutorial by Mark Wieder? Was anyone able to get it to work with PayPal Sandbox? I attempted to do the same thing with PHP, using Mark's wonderful article as a guide. I setup a Sandbox account and a PHP script that would spit out all of the posted variables for testing, and after running a test order, nothing seems to be posted to the script. Here's my PHP: ? $fName = $_POST[first_name]; $lName = $_POST[last_name]; $pEmail = $_POST[payer_email]; echo First: $fName br Last: $lName br Email: $pEmail; ? This code results in a Web page that looks like this: First: Last: Email: Any ideas, or am I completely off track? Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: PayPal Integration with On-Rev
Thanks for that. For some reason I hadn't got a notice email about issue #76. I know what you mean about processing the thing through Paypal, but it can definitely be another string to the bow. Thanks. Derek Bump - Dreamscape Software wrote: The article is available here: http://www.runrev.com/newsletter/august/issue76/newsletter2.php?=NW0076S36140 I have 2 concerns though about using PayPal's Buy Now buttons... etc Derek Bump Dreamscape Software http://www.dreamscapesoftware.com -- View this message in context: http://www.nabble.com/PayPal-Integration-with-On-Rev-tp25000694p25006287.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: PayPal Integration with On-Rev
In the end I think I'm going to forgo this idea and stick with what I have. It may take a little longer to process orders, but it still passed the Mom Test. Thanks! Hello Derek, You are right about the Mom Test, and that PayPal is not as straightforward as they'd like us to think. So I had a look at your webstore to see how you handle payments, and was curious about how you enable Visa card payments. Thank you. -- Nicolas Cueto ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Is there a way to edit scripts in Rev 3.5 besides
The combined window that has the script editor window sharing the space with the code and the variables? This is very inconvenient. I cannot switch to older versions of Rev since I am using multidimensional arrays. Drilling down into arrays is painful. The worst part is to have massive screen real estate and not be able to use it, like the old days. Fly-over reveal is ok, but very hard on the wrist and index finger after a few hours. Is there a way to get the variable watcher to be in a separate window? I could not find a checkbox or preference. Is there a way to display the values in a list like the older style? I know about tRex (I need debugging, which is a feature coming soon) Jim Ault Las Vegas ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: datagrid problem resolved
On Aug 16, 2009, at 5:09 AM, Yves COPPE wrote: if you have a fld in a datagrid ( Form style) and this fld (let us name him : body) contains from row to row a variable text, you will use a layout script in the following form : put item 2 of theRect + the formattedHeight of field Body of me into item 4 of theRect It gives problems. if you want to avoid problems, you have to put a height to your fld body which is high enough so that the formattedheight can return a good value put item 2 of theRect + 50 into item 4 of theRect -- 50 is arbitrary -- then set the rect set the rect of fld Body of me to theRect -- now get the correct value of the Formattedheight put item 2 of theRect + the formattedHeight of field Body of me into item 4 of theRect set the rect of fld Body of me to theRect To sum up, Yves had a field in his data grid template whose height was adjusted to fit the text contents. His original code was setting the rect of the field in one pass. The problem with setting the rect in one pass when the field is being resized to fit the text height is that the width of the field before setting the rect might not be the width of the field after setting the rect. This means the formattedHeight value might not be incorrect. The proper way to have a field that adjusts height according to content is: on LayoutControl pControlRect ## ... ## First adjust width put the rect of field MyAdjustableHeightField of me into theRect put item 3 of pControlRect into item 3 of theRect ## adjust field to new width set the rect of field MyAdjustableHeightField of me to theRect ## Now adjust height put item 2 of theRect + the formattedHeight of field MyAdjustableHeightField of me \ into item 4 of theRect set the rect of field MyAdjustableHeightField of me to theRect ## ... end LayoutControl -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: PayPal Integration with On-Rev
Nicolas Cueto wrote: You are right about the Mom Test, and that PayPal is not as straightforward as they'd like us to think. So I had a look at your webstore to see how you handle payments, and was curious about how you enable Visa card payments. I've got a merchant account that allows me to process Visa, MasterCard and Discover Card payments. It all has to be done manually, but paying an extra $500 for an online gateway is a little to much to swallow right now. I'd love to find another merchant account that has a gateway, but I can't seem to find anyone with decent pricing. It's either a low fee and big percentages, or low percentages and a big fee. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: PayPal Integration with On-Rev
Nicolas Cueto wrote: You are right about the Mom Test, and that PayPal is not as straightforward as they'd like us to think. So I had a look at your webstore to see how you handle payments, and was curious about how you enable Visa card payments. Agreed: for non-PayPal transactions, PayPal can be a bit daunting. And since most hosting companies include a free shopping cart (ZenCart and Miva Merchant are both useful and very extensible) it's not too hard to set up a good payment system these days. But for folks who use PayPal, it's really hard to beat the convenience and very worthwhile offering it as an option. My customers beat me up for many months asking for a PayPal option, and the whole time I was thinking, Why does this matter when we already accept most major credit cards easily enough? Then I added a PayPal option, and I learned: Because PayPal accounts are separate from one's banking and credit card accounts, it doesn't feel like spending real money. It feels like play money. And the PayPal UI for account holders is dirt-simple and ultra convenient. In short, PayPal makes it very easy and encouraging for other PayPal customers to give you money. And there are a lot of them. Once I added a PayPal option my sales when up about 8%. And as a customer, I find myself more inclined to make impulse purchases when I find a PayPal payment option. With anything else, I need to evaluate whether it's worth the time to get out of my chair to dig up a credit card and do all that typing. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: PayPal Integration with On-Rev
Richard Gaskin wrote: Once I added a PayPal option my sales when up about 8%. Sounds like a market that needs to be tapped. I think I will go ahead an add a Buy with PayPal option on my online store. If it results in a few more sales then it's worth the time to setup. If I can't get the POST data from PayPal to work then I'll just have to process PayPal orders manually, which shouldn't be a problem considering I'm processing all of my other orders manually. Thanks for the info! Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ ___ use-revolution mailing list use-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 problem resolved
Le 17 août 09 à 15:46, Trevor DeVore a écrit : To sum up, Yves had a field in his data grid template whose height was adjusted to fit the text contents. His original code was setting the rect of the field in one pass. The problem with setting the rect in one pass when the field is being resized to fit the text height is that the width of the field before setting the rect might not be the width of the field after setting the rect. This means the formattedHeight value might not be incorrect. The proper way to have a field that adjusts height according to content is: on LayoutControl pControlRect ## ... ## First adjust width put the rect of field MyAdjustableHeightField of me into theRect put item 3 of pControlRect into item 3 of theRect ## adjust field to new width set the rect of field MyAdjustableHeightField of me to theRect ## Now adjust height put item 2 of theRect + the formattedHeight of field MyAdjustableHeightField of me \ into item 4 of theRect set the rect of field MyAdjustableHeightField of me to theRect ## ... end LayoutControl Hi Trevor, thanks for helping me in english language meanwhile, I did this week end another grid and had the same problem solved on the same way Greetings. Yves COPPE yvesco...@skynet.be ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[ANN] SQL Yoga: A Flexible Database Library for Revolution
In September Blue Mango Learning Systems will be releasing a database library that will change how you work with databases in Revolution. Join us Wednesday for a webinar where we will introduce SQL Yoga and announce the public beta leading up to release. Find out more on our Releasable Revolution blog: http://www.bluemangolearning.com/revolution/2009/08/sql-yoga-a-flexible-database-library-for-revolution/ Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com Email has been scanned for viruses by Altman Technologies' email management service - www.altman.co.uk/emailsystems ___ use-revolution mailing list use-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 problem resolved
Hi! I had very positive exchange with Trevor too. I had some empty spaces while xcrolling fast a datagrid form list. he pointed out that the layout procedure I used could be source of these artefacts. it was. So let me share the lesson I derived from that : Lesson 1 was : do not try and do without the GridFieldEditor (I tried to do without and use the list fields : but this implies to get the field ID's through the line groups... and these are not to be relied upon. Their numbering is logical.. so far as they fit in the viewer space. Than they are redcreated, with new numbering starting at 1... so not reliable. SO this may seem to work for a few lines, and then go weird!). Lesson 2 could be : layout elements of a datagrid form in a once and for all layout procedure. To make sure layout happens smoothly : 1) set position of elements using set rect property. Avoid setting of height and width. Eventually set topRight or topLeft properties of fixed width objects which heights will be trimmed at the last stage. 3) in case of elements of variable height : -- a) position the biggest element (that will most affect the pControlRect) as soon as possible in the layout script, once and for all. -- b) to do so, workout the dimensions of the biggest variable element and then set its rect property, once and for all. -- c) then, set the new value of pControlRect (item 4), once and for all. -- d) then, adapt other elements that need to be trimmed afterwards, provided they do not affect pControlRect. In that latter case, although these elements may have been partially laid down with topRight or topLeft before, work out the new dimensions and set the rect of these, once and for all. The good pratcice word to remember is once and for all = set objects once for all, never gradually. In gradually I mean never by step, e.i. giving a first start size, than moving things, than adding a height.. Following this practice, [put item 2 of theRect + the formattedHeight of field Body of me into item 4 of theRect ] does work fine for me in my layout scripts. Food for thoughts. Amicalement, (from Paris) Robert -- View this message in context: http://www.nabble.com/datagrid-problem-resolved-tp24991650p25009239.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Why is Put not Putting?
Hello everyone, I use the simple handler below to process large amounts of text. Because it can take anywhere from a couple of seconds to ten minutes to run, I like to know that something is happening, so I put the very first statement in the handler, Preparing for search... which is supposed to appear in field Info 1 to let me know that the thing has started. The trouble is, that little progress message never appears, but the last statement in the handler, Processing time and..., does. This suggests to me that Rev reads ahead through the handler, and if it is overwhelmed by a task, such as getting a big data field, then it cannot update the screen according to statements that came before. (There are no lock screen statements in the handler.) How can I fix this, so that the statements are executed in the way they are meant to be? Regards, Gregory on mouseUp put Preparing for search... into fld Info 1 -- This never appears in the field! set the itemDelimiter to tab get fld Data of card Data -- Lots of data repeat for each line thisLine in it -- Process the text end repeat put Processing time and [other stats] into fld Info 1 end mouseUp ___ use-revolution mailing list use-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: Why is Put not Putting?
On 17 Aug 2009, at 16:53, Gregory Lypny wrote: I use the simple handler below to process large amounts of text. Because it can take anywhere from a couple of seconds to ten minutes to run, I like to know that something is happening, so I put the very first statement in the handler, Preparing for search... which is supposed to appear in field Info 1 to let me know that the thing has started. The trouble is, that little progress message never appears, Try adding a 'wait 10 milliseconds with messages' line after setting the text of the field - this should force Rev to update the screen part way through the handler. Ian ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Is there a way to edit scripts in Rev 3.5 besides
Jim- Monday, August 17, 2009, 6:04:28 AM, you wrote: I know about tRex (I need debugging, which is a feature coming soon) That's why I use glx2 instead of tRex. I absolutely need that debugger. -- -Mark Wieder mwie...@ahsoftware.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: PayPal Integration with On-Rev
Derek- Monday, August 17, 2009, 5:40:56 AM, you wrote: I think these are both valid concerns. 1. The initial ordering interface can be daunting for first time users. The option to purchase *without* setting up a PalPal account is a little buried, and I don't like the idea of my customers thinking they need to setup a PayPal account just to buy my program. For me this is outweighed by *not* having to set up anything special (and not having to pay exorbitant processing fees) to handle credit cards, just turning that job over to PayPal. But yes, PayPal would, I think, rather have you pay using your PayPal account than using a card, so that pay with PayPal option is much more prominent on the payment page. 2. The process is more or less dependent on whether or not the user clicks the Return to So-And-So's Web Site button on the order successful page. If they don't click it then the user will wait, often for days, wondering where their license number is. I'm not sure how often this happens, but I'm sure it does. Yep. I don't know if it happens or how often, but it could be a problem. An answer to this might be to avoid the option where PayPal hosts the button and go with the one where you host it yourself. I haven't explored that option, but that might well give you more control over the process. -- -Mark Wieder mwie...@ahsoftware.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: Importing gMail
Message: 12 Date: Sun, 16 Aug 2009 14:33:36 -0700 From: Mark Wieder mwie...@ahsoftware.net Subject: Re: Importing gMail To: How to use Revolution use-revolution@lists.runrev.com Message-ID: 31177063531.20090816143...@ahsoftware.net Content-Type: text/plain; charset=us-ascii Jim- ...and speaking of squaring the circle, I just came across Bradford Hansen-Smith's work: http://www.wholemovement.com/ -- -Mark Wieder mwie...@ahsoftware.net Mark, Amazing work. I used to be able to fold a box. You fold and fold and eventually blow into a little crease and voila: a Box. Doing these folds is hypnotic work. Perhaps a little hyperbole? (No pun intended.) Hanse-Smith wrote: Everything that happens in this first is principle to all subsequent folding of the circle and is basic to the development of mathematics. Even more hyperbolic for an upcoming program on PBS this week: NOVA tells the dramatic story of a group of pioneering mathematicians who developed fractals from a curiosity that few took seriously to an approach that is touching nearly every branch of understanding. Jim Hurley ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Putting Stuff Before the Message Box
Hello again, I apologize in advance. Maybe it's the meds. I created a list with three lines: put One return Two return Three into theList I want to have the message box display 3 One Two Three Why does put theList put the number of lines in theList return before msg put only 3 into the message box and not the list itself? But put the number of lines in theList put return theList after msg works fine. Can the message box not handle before? Gregory ___ use-revolution mailing list use-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: Why is Put not Putting
Thank you, Ian. Worked like a charm! Gregory On Mon, Aug 17, 2009, at 1:00 PM, use-revolution-requ...@lists.runrev.com wrote: Message: 9 Date: Mon, 17 Aug 2009 16:56:45 +0100 From: Ian Wood revl...@azurevision.co.uk Subject: Re: Why is Put not Putting? To: How to use Revolution use-revolution@lists.runrev.com Message-ID: 6d8b9f11-c84f-421c-b8ef-5bca89796...@azurevision.co.uk Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On 17 Aug 2009, at 16:53, Gregory Lypny wrote: I use the simple handler below to process large amounts of text. Because it can take anywhere from a couple of seconds to ten minutes to run, I like to know that something is happening, so I put the very first statement in the handler, Preparing for search... which is supposed to appear in field Info 1 to let me know that the thing has started. The trouble is, that little progress message never appears, Try adding a 'wait 10 milliseconds with messages' line after setting the text of the field - this should force Rev to update the screen part way through the handler. Ian ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Why is Put not Putting?
Why? The loading of the text is at the first line of the handler. I made a stack with a lot of data and everything runs fine; the fields show what they ought to. I also assumed that there was a little navigation in getting the data from another card, per my reading of the script, which I put in, too, but cannot see why this matters. If the wait with messages fix actually fixes the problem then, well, why? I think there is something wrong with the code. Gregory. if you only run the script with the very first line, does the text load into the field? Craig Newman In a message dated 8/17/09 11:57:15 AM, revl...@azurevision.co.uk writes: Try adding a 'wait 10 milliseconds with messages' line after setting the text of the field - this should force Rev to update the screen part way through the handler. ___ use-revolution mailing list use-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: Why is Put not Putting?
OK. With a much larger amount of data, the field does not, in fact, load the text until the end of the handler. The wait with messages works like a charm. So is Gregory right? Does Rev blanch at the task upcoming, even though it has not accessed the data yet, and so could not possible know how large the task was going to be? I find this very strange, but know that someone will show my why it is perfectly normal. Craig Newman In a message dated 8/17/09 11:57:15 AM, revl...@azurevision.co.uk writes: Try adding a 'wait 10 milliseconds with messages' line after setting the text of the field - this should force Rev to update the screen part way through the handler. ___ use-revolution mailing list use-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] SQL Yoga: A Flexible Database Library for Revolution
Trevor, what are the system requirements? Peter Trevor DeVore wrote: In September Blue Mango Learning Systems will be releasing a database library that will change how you work with databases in Revolution. Join us Wednesday for a webinar where we will introduce SQL Yoga and announce the public beta leading up to release. Find out more on our Releasable Revolution blog: http://www.bluemangolearning.com/revolution/2009/08/sql-yoga-a-flexible-database-library-for-revolution/ Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com Email has been scanned for viruses by Altman Technologies' email management service - www.altman.co.uk/emailsystems ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- View this message in context: http://www.nabble.com/-ANN--SQL-Yoga%3A-A-Flexible-Database-Library-for-Revolution-tp25008666p25011167.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] SQL Yoga: A Flexible Database Library for Revolution
On Aug 17, 2009, at 1:44 PM, Peter Alcibiades wrote: Trevor, what are the system requirements? SQL Yoga sits on top of RevDB. It will require at least version 3.5 of Revolution. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] SQL Yoga: A Flexible Database Library for Revolution
sorry for impatience, is it anything like visual query builder tool? :-) All the best! Viktoras Trevor DeVore wrote: On Aug 17, 2009, at 1:44 PM, Peter Alcibiades wrote: Trevor, what are the system requirements? SQL Yoga sits on top of RevDB. It will require at least version 3.5 of 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: Why is Put not Putting?
i'm sure I am not the first to say so, but you are vastly over estimating the sophistication of the interpretor. It does not forward to predict and then anticipate the intention of your script. That is the HAL stuff of science fiction (for now). If you have two put statements in the same loop, (or any for that matter) you are also vastly underestimating the speed of your processor. Your screen doesn't even refresh fast enough to capture updates to the message box that quickly. Try nesting the main repeat loop within another loop and maintaining a counter that determines a set number of updates (say 100) each of which 1/100th of the total number of loops. Place your progress updater in the outer repeat loop. randall -Original Message- From: Gregory Lypny gregory.ly...@videotron.ca Sent: Monday, August 17, 2009 8:53 AM To: Revolution use-revolution@lists.runrev.com Subject: Why is Put not Putting? Hello everyone, I use the simple handler below to process large amounts of text. Because it can take anywhere from a couple of seconds to ten minutes to run, I like to know that something is happening, so I put the very first statement in the handler, Preparing for search... which is supposed to appear in field Info 1 to let me know that the thing has started. The trouble is, that little progress message never appears, but the last statement in the handler, Processing time and..., does. This suggests to me that Rev reads ahead through the handler, and if it is overwhelmed by a task, such as getting a big data field, then it cannot update the screen according to statements that came before. (There are no lock screen statements in the handler.) How can I fix this, so that the statements are executed in the way they are meant to be? Regards, Gregory on mouseUp put Preparing for search... into fld Info 1 -- This never appears in the field! set the itemDelimiter to tab get fld Data of card Data -- Lots of data repeat for each line thisLine in it -- Process the text end repeat put Processing time and [other stats] into fld Info 1 end mouseUp ___ use-revolution mailing list use-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] SQL Yoga: A Flexible Database Library for Revolution
On Aug 17, 2009, at 2:20 PM, viktoras d. wrote: sorry for impatience, is it anything like visual query builder tool? :-) I'm not familiar with visual query builder but there are features the will build queries for you. There are no visual components to SQL Yoga though, it is a library. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Firefox works for revlet but not IE?
Yes, this issue seems to be at least some what 'user-environment' related. I tried a revlet app on my home web server (CentOS), from my home PC, which is running Windows XP home, and both IE and Firefox worked ok. Meanwhile on my work computer, within the company network, and using Windows XP Pro, IE doesn't work. Not sure where the problem may lie but if I ever expect to deploy any Revlets within our company work environment, they will have to work seamlessly for IE. Our IT department won't support Firefox. Yep. Exactly the same on my company laptop (Win XP Pro). I do not have admin privileges, so I have been assuming that that is the problem. Firefox OK, IE not OK. Bruce Pokras Blazing Dawn 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
The 'window is behind the browser' problem
Seems to me I recall seeing mention of the problem on this list, but anyway, this is basically a success story. This weekend I tried a more complex application as a Revlet - a DB app. My normal is a client server model, postgreSQL on the server, and Rev on the desktop, using the database library. Works great. Didn't work as a revlet though, it hung and the browser froze up. Turns out what was going on was, I had a call to answer in the pre-open stack handler which either displayed something like your database connection opened successfully with connection ID xxx or, the revdberr message if the connection failed. This answer dialog was going behind the browser (which could not be moved out of the way) so everything froze waiting for a click on the OK button. Same behavior, IE or Firefox. So I replaced all calls to the answer function with something that put the same answer into one of the fields on the main card being displayed. Then bingo, everything was fine. The success is, a nice DB app running in a browser windows, with all functionality working fine, both using IE or Firefox. Whoo-hoo! love it. -- Sadhu ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
naming duplicate objects
Hello all! I have a short handler in an image object which does something if it intersects two graphics, called circle1 and circle2, overlaying each other - it should not do anything if only one graphic is present. To my stupefaction it works BUT only with the two original grcs, nothing happens if the grcs are copies, clones or duplicates of the originals carrying the same name. As I need to have several of these 'triggers' on the same card, how should I name or call them correctly? Yes, it's a game and the script, [code, talk] in the images looks something like this. on mouseDown grab me end mouseDown on mouseUp if intersect (me,grc circle1) then if intersect (me,grc circle2) then DoMyTrick end if end if end mouseUp TIA Barry Barber ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: PayPal Integration with On-Rev
Richard, you're again completely correct, I just bought myself a new board game because the shop accepted paypal and I could not help myself... :D On Mon, Aug 17, 2009 at 2:55 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Nicolas Cueto wrote: You are right about the Mom Test, and that PayPal is not as straightforward as they'd like us to think. So I had a look at your webstore to see how you handle payments, and was curious about how you enable Visa card payments. Agreed: for non-PayPal transactions, PayPal can be a bit daunting. And since most hosting companies include a free shopping cart (ZenCart and Miva Merchant are both useful and very extensible) it's not too hard to set up a good payment system these days. But for folks who use PayPal, it's really hard to beat the convenience and very worthwhile offering it as an option. My customers beat me up for many months asking for a PayPal option, and the whole time I was thinking, Why does this matter when we already accept most major credit cards easily enough? Then I added a PayPal option, and I learned: Because PayPal accounts are separate from one's banking and credit card accounts, it doesn't feel like spending real money. It feels like play money. And the PayPal UI for account holders is dirt-simple and ultra convenient. In short, PayPal makes it very easy and encouraging for other PayPal customers to give you money. And there are a lot of them. Once I added a PayPal option my sales when up about 8%. And as a customer, I find myself more inclined to make impulse purchases when I find a PayPal payment option. With anything else, I need to evaluate whether it's worth the time to get out of my chair to dig up a credit card and do all that typing. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.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 -- 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
Re: naming duplicate objects
Hi Barry, Immediately after copying an object, you can store the long id of it in a variable and change the name of the object. copy grc x to this cd put the long id of it into myObject set the name of myObject to New Graphic 1 Does that help? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Download Snapper Screen Recorder at http://snapper.economy-x-talk.com On 17 aug 2009, at 21:03, bar...@libero.it wrote: Hello all! I have a short handler in an image object which does something if it intersects two graphics, called circle1 and circle2, overlaying each other - it should not do anything if only one graphic is present. To my stupefaction it works BUT only with the two original grcs, nothing happens if the grcs are copies, clones or duplicates of the originals carrying the same name. As I need to have several of these 'triggers' on the same card, how should I name or call them correctly? Yes, it's a game and the script, [code, talk] in the images looks something like this. on mouseDown grab me end mouseDown on mouseUp if intersect (me,grc circle1) then if intersect (me,grc circle2) then DoMyTrick end if end if end mouseUp TIA Barry Barber ___ use-revolution mailing list use-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] SQL Yoga: A Flexible Database Library for Revolution
Hi Will it also work with Valentina? Bill On Mon, Aug 17, 2009 at 2:28 PM, Trevor DeVore li...@mangomultimedia.comwrote: On Aug 17, 2009, at 2:20 PM, viktoras d. wrote: sorry for impatience, is it anything like visual query builder tool? :-) I'm not familiar with visual query builder but there are features the will build queries for you. There are no visual components to SQL Yoga though, it is a library. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.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 -- http://www.bluewatermaritime.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] SQL Yoga: A Flexible Database Library for Revolution
On Aug 17, 2009, at 3:17 PM, william humphrey wrote: Will it also work with Valentina? Before release, yes. I have all of the Valentina code for connections, etc. included but I have yet to add Valentina to the Unit Testing stack. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] SQL Yoga: A Flexible Database Library for Revolution
Great. I want to test Valentina on a stack I used your old database library for with SQLite and which needs to be converted to Valentina. Sounds like fun! On Mon, Aug 17, 2009 at 3:24 PM, Trevor DeVore li...@mangomultimedia.comwrote: On Aug 17, 2009, at 3:17 PM, william humphrey wrote: Will it also work with Valentina? Before release, yes. I have all of the Valentina code for connections, etc. included but I have yet to add Valentina to the Unit Testing stack. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.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 -- http://www.bluewatermaritime.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
odd number and even numbers
Don't kick me but what is the simple way to tell in a repeat function x = 1 to total number put x and x + 1 when x is even do this or when x is odd do this ?? I started using mod and all kinds of weird math and I know there must be a simple way. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Line wrapping
Hi, Could anyone think of a way to make long lines in the script editor wrap? This really drives me nuts. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Download Snapper Screen Recorder at http://snapper.economy-x-talk.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: odd number and even numbers
Hi William, Here's one of many possibilities: function even theNr return (trunc(theNr/2)*2 is theNr) end even function odd theNr return not even(theNr) end odd Actually, believe mine is a bit clumsy, but ut works. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Download Snapper Screen Recorder at http://snapper.economy-x-talk.com On 17 aug 2009, at 21:37, william humphrey wrote: Don't kick me but what is the simple way to tell in a repeat function x = 1 to total number put x and x + 1 when x is even do this or when x is odd do this ?? I started using mod and all kinds of weird math and I know there must be a simple way. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: odd number and even numbers
Thanks. That was so quick and I will use it right now. On Mon, Aug 17, 2009 at 3:43 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi William, Here's one of many possibilities: function even theNr return (trunc(theNr/2)*2 is theNr) end even function odd theNr return not even(theNr) end odd Actually, believe mine is a bit clumsy, but ut works. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Download Snapper Screen Recorder at http://snapper.economy-x-talk.com On 17 aug 2009, at 21:37, william humphrey wrote: Don't kick me but what is the simple way to tell in a repeat function x = 1 to total number put x and x + 1 when x is even do this or when x is odd do this ?? I started using mod and all kinds of weird math and I know there must be a simple way. ___ use-revolution mailing list use-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.bluewatermaritime.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: odd number and even numbers
william- Monday, August 17, 2009, 12:37:42 PM, you wrote: I started using mod and all kinds of weird math and I know there must be a simple way. if x mod 2 is 1 then put I'm odd else put I'm even end if -- -Mark Wieder mwie...@ahsoftware.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: odd number and even numbers
Another approach is to use Step in your repeat loop. See this: on test repeat with a = 1 to 10 step 2 put return a*3 after msg put return sqrt(a+1) after msg end repeat end test For odd numbers a*3 will be put, and for even numbers the square root of the number will be put. Doing it that way involves no if statements, and no function calls. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: odd number and even numbers
That's even better. Thanks. Never heard of step. On Mon, Aug 17, 2009 at 3:55 PM, Colin Holgate co...@rcn.com wrote: Another approach is to use Step in your repeat loop. See this: on test repeat with a = 1 to 10 step 2 put return a*3 after msg put return sqrt(a+1) after msg end repeat end test For odd numbers a*3 will be put, and for even numbers the square root of the number will be put. Doing it that way involves no if statements, and no function calls. ___ use-revolution mailing list use-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.bluewatermaritime.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Why is Put not Putting?
put (the number of words in txtToProcess) into TotWrds put 100 into Batches put (round(TotWrds/Batches)) into WrdsPerBatch repeat with PrcessChunkCnt 1 to (Batches+1) put Now processing word ((PrcessChunkCnt-1)*WrdsPerBatch) to (PrcessChunkCnt*(WrdsPerBatch) of TotWrds . repeat with WrdCnt = 1 to WrdsPerBatch if (((PrcessChunkCnt-1)*WrdsPerBatch)+WrdCnt)≤ TotWrds then -- do something to word (((PrcessChunkCnt-1) *WrdsPerBatch)+WrdCnt) else exit repeat end if end repeat end repeat On Aug 17, 2009, at 11:28 AM, Randall Reetz wrote: i'm sure I am not the first to say so, but you are vastly over estimating the sophistication of the interpretor. It does not forward to predict and then anticipate the intention of your script. That is the HAL stuff of science fiction (for now). If you have two put statements in the same loop, (or any for that matter) you are also vastly underestimating the speed of your processor. Your screen doesn't even refresh fast enough to capture updates to the message box that quickly. Try nesting the main repeat loop within another loop and maintaining a counter that determines a set number of updates (say 100) each of which 1/100th of the total number of loops. Place your progress updater in the outer repeat loop. randall -Original Message- From: Gregory Lypny gregory.ly...@videotron.ca Sent: Monday, August 17, 2009 8:53 AM To: Revolution use-revolution@lists.runrev.com Subject: Why is Put not Putting? Hello everyone, I use the simple handler below to process large amounts of text. Because it can take anywhere from a couple of seconds to ten minutes to run, I like to know that something is happening, so I put the very first statement in the handler, Preparing for search... which is supposed to appear in field Info 1 to let me know that the thing has started. The trouble is, that little progress message never appears, but the last statement in the handler, Processing time and..., does. This suggests to me that Rev reads ahead through the handler, and if it is overwhelmed by a task, such as getting a big data field, then it cannot update the screen according to statements that came before. (There are no lock screen statements in the handler.) How can I fix this, so that the statements are executed in the way they are meant to be? Regards, Gregory on mouseUp put Preparing for search... into fld Info 1 -- This never appears in the field! set the itemDelimiter to tab get fld Data of card Data -- Lots of data repeat for each line thisLine in it -- Process the text end repeat put Processing time and [other stats] into fld Info 1 end mouseUp ___ use-revolution mailing list use-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: Line wrapping
Mark: I see your point. But if this feature was implemented, you would have to be very careful to make sure your logical lines conformed to your visible lines, so you would know where to put line break chars. Craig In a message dated 8/17/09 3:40:12 PM, m.schonewi...@economy-x-talk.com writes: Hi, Could anyone think of a way to make long lines in the script editor wrap? This really drives me nuts. ___ use-revolution mailing list use-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: Line wrapping
Hi Craig, It was implemented before and I used it a lot. That made it unnecessary to use line break chars. Hence my frustrations now. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Download Snapper Screen Recorder at http://snapper.economy-x-talk.com On 17 aug 2009, at 22:35, dunb...@aol.com wrote: Mark: I see your point. But if this feature was implemented, you would have to be very careful to make sure your logical lines conformed to your visible lines, so you would know where to put line break chars. Craig ___ use-revolution mailing list use-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: Line wrapping
Mark. In an earlier Rev? So the line wrap automatically added a \ at compile time? That reallyt would be useful. Craig In a message dated 8/17/09 4:40:50 PM, m.schonewi...@economy-x-talk.com writes: Hi Craig, It was implemented before and I used it a lot. That made it unnecessary to use line break chars. Hence my frustrations now. ___ use-revolution mailing list use-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: The 'window is behind the browser' problem
Has the 'window behind the browser' problem been solved yet? My program uses a lot of dialog boxes, so they all appear behind the browser window, and I can't utilize the web feature until that's been fixed. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ ___ use-revolution mailing list use-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: The 'window is behind the browser' problem
On Tue, Aug 18, 2009 at 7:41 AM, Derek Bumpuserevolut...@dreamscapesoftware.com wrote: Has the 'window behind the browser' problem been solved yet? My program uses a lot of dialog boxes, so they all appear behind the browser window, and I can't utilize the web feature until that's been fixed. RunRev put in a hack that makes ask answer dialogs actually system windows, so they pop to the front (although Sadhu's experience seemed to contradict this). Other dialogs, like file selectors, will NOT come to the front yet. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Firefox works for revlet but not IE?
On Tue, Aug 18, 2009 at 4:55 AM, Sadhu Nadesansa...@castandcrew.com wrote: Yes, this issue seems to be at least some what 'user-environment' related. I tried a revlet app on my home web server (CentOS), from my home PC, which is running Windows XP home, and both IE and Firefox worked ok. Meanwhile on my work computer, within the company network, and using Windows XP Pro, IE doesn't work. Not sure where the problem may lie but if I ever expect to deploy any Revlets within our company work environment, they will have to work seamlessly for IE. Our IT department won't support Firefox. No solution, but for diagnostic purposes: Are you an admin user on both systems? If not, can you switch to admin to install the plugin? What happens if you access your home server's revlet from your work computer? And off-topic, an IT department not supporting Firefox is analogous to an IT department not supporting Macs - they don't want to encourage anything that would lead to vastly less support being necessary. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: ANN: Economy-x-Talk releases the word game TwistAWord
Economy-x-Talk has released a brand new game called TwistAWord. Goal of the game is to create sentences from jumbled words, which form a saying or expression. While this game is just fun to play, it also helps you improve your language skills in eight different languages. TwistAWord is available for Windows and Mac OS X and can be downloaded at http://www.twistaword.net. Unregistered copies quit every 10 minutes, but you can always start the game again. A registration code can be purchased for € 14.95. Even though we are releasing TwistAWord today, we still appreciate your bug reports. The first 5 useful bug reports are rewarded with a free license. Visit http://www.twistaword.net/test.php for more info. TwistAWord was made with Runtime Revolution. Very nice Mark. Congratulations on the release. I had one period when dragging didn't work correctly - the word lagged behind the mouse and the mouse didn't have the right cursor icon, but I wasn't able to reproduce it. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Line wrapping
It's better for one to do one's own wrapping. for instance put field myField of cd myCard of stack myStack into field myField2 of cd nextCard of stack otherStack is a horrible jumble of garbage to the eyes, but put\ field myField \ of cd myCard \ of stack myStack \ into field myField2 \ of cd nextCard \ of stack otherStack makes a lot of sense. Automatic wrapping can't do that. And it's easier to edit the references. And the compiler and indenter both are happy with it. And one can make the edit window narrower. - Stephen Barncard San Francisco http://barncard.com 2009/8/17 dunb...@aol.com Mark. In an earlier Rev? So the line wrap automatically added a \ at compile time? That reallyt would be useful. Craig In a message dated 8/17/09 4:40:50 PM, m.schonewi...@economy-x-talk.com writes: Hi Craig, It was implemented before and I used it a lot. That made it unnecessary to use line break chars. Hence my frustrations now. ___ use-revolution mailing list use-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 Web plugin and new version of Firefox.
Firefox is ready to update (to 3.5.2), but warns me that This update will cause some of your extensions and/or themes to stop working until they are updated. Clicking Show List shows that Revolution Web Plugin 0.1a.20090204 will be disabled. Is there a newer version available ? Which is compatible with FF 3.5.2 ? If so, how do I get the updated version ? Thanks -- Alex. ___ use-revolution mailing list use-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: Line wrapping
dunb...@aol.com wrote: Mark. In an earlier Rev? So the line wrap automatically added a \ at compile time? Nope. All it did was turn off the dontwrap property of the script field. The display could become pretty messy, but you could see all of the text of long lines. I'm inclined to think it could be confusing for newcomers. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Why is Put not Putting?
Hello everyone, On Mon, Aug 17, 2009, at 7:51 PM, Craig Newman wrote: OK. With a much larger amount of data, the field does not, in fact, load the text until the end of the handler. The wait with messages works like a charm. So is Gregory right? Does Rev blanch at the task upcoming, even though it has not accessed the data yet, and so could not possible know how large the task was going to be? I find this very strange, but know that someone will show my why it is perfectly normal. Hi Craig, I think it just gets to the next statements (the data processing) faster than it has an opportunity to update any visuals. If I exit the handler before executing any data processing statements, then the progress message is displayed. And incidentally, it is not the amount of data that is subsequently dealt with that causes the problem. If I get only ten lines data, rather than the whole 152,000, the progress message still won't appear in the field. Craig Newman Around the same time, Randall Reetz wrote: i'm sure I am not the first to say so, but you are vastly over estimating the sophistication of the interpretor. It does not forward to predict and then anticipate the intention of your script. That is the HAL stuff of science fiction (for now). That's not what I was saying, Randall, although I can see that the way I wrote it, it could be interpreted as such. As I responded above to Craig, it may be that Rev gets to the next instructions faster than it can update visuals, and if those next instructions are processor intensive (not that I know what that means) than it cannot update the visuals. If you have two put statements in the same loop, (or any for that matter) you are also vastly underestimating the speed of your processor. Your screen doesn't even refresh fast enough to capture updates to the message box that quickly. Try nesting the main repeat loop within another loop and maintaining a counter that determines a set number of updates (say 100) each of which 1/100th of the total number of loops. Place your progress updater in the outer repeat loop. Gregory ___ use-revolution mailing list use-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 Web plugin and new version of Firefox.
Alex- Monday, August 17, 2009, 5:04:19 PM, you wrote: Is there a newer version available ? Which is compatible with FF 3.5.2 ? If so, how do I get the updated version ? Works for me with 3.5.2. I never got that warning about the incompatibility, but maybe I picked up the plugin after updating. I don't remember anymore. Anyway, no problems with the plugin. -- -Mark Wieder mwie...@ahsoftware.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: The 'window is behind the browser' problem
Hi Sarah, Ok, thank you! Well, at least it's a known problem. I have a couple of apps which are currently deployed here at work as Windoz programs, but the users prefer browser apps - so sitting on the edge of my seat waiting for this to be addressed, so they can be wow'd. I did download the newest version of Rev Enterprise at home this weekend before doing the testing. Sadhu RunRev put in a hack that makes ask answer dialogs actually system windows, so they pop to the front (although Sadhu's experience seemed to contradict this). Other dialogs, like file selectors, will NOT come to the front yet. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Firefox works for revlet but not IE?
No solution, but for diagnostic purposes: Are you an admin user on both systems? If not, can you switch to admin to install the plugin? What happens if you access your home server's revlet from your work computer? And off-topic, an IT department not supporting Firefox is analogous to an IT department not supporting Macs - they don't want to encourage anything that would lead to vastly less support being necessary. Cheers, Sarah Hi again, Sarah 1) Am admin user on home PC, but not on work PC. Yes, I can try that. If I can find where I put that admin password (they had to give it to me once to solve some problem, hee hee). Will advise. 2) Trying to access the home server's revlet from the work computer also hung. Apparently I didn't get all of the it's another window issues because when I killed off the browser I saw an ask dialog that had been behind it inquiring whether or not I wanted to connect by IP number because the connection failed. However, it was not a fair test because I have PostgreSQL locked down for specific outside IP addresses only in the pg_hba.conf file, and my work IP isn't listed. I should try a simpler app I guess. 3) Har har! Yeah, company growth is an interesting thing. IT here has become more MS oriented I'm afraid. What they don't seem to acknowledge is, we built this city on Unix and open source. Oh well. And, it is amazing how many help desk tickets we see from Outlook users, virtually none from Thunderbird users, as an example, but they claim it is because we do not yet use Exchange as our MTA. I fear they want to force us into one mold, judging from a recent email below from the CIO: (a response to a Thunderbird user who sent in a help desk ticket because they got an unopenable winmail.dat attachment from an outlook user- of course I referred them to tnef, which can decode winmail.dat files). He said, (IE 6?? it's up to 8). I realize that not everyone is using Outlook and IE6, but that is the standard mail client and internet browser, respectively. We've allowed others to be used, but I am not willing to invest resources to address what appears to be a non-standard application issue. It's unclear as to why Squirrel Mail is not functioning, but we do need to start migrating towards the standard applications. ___ use-revolution mailing list use-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: Firefox works for revlet but not IE?
Result: same thing, whether installed as admin, or used as admin, IE wants to re-download the plug in every time, so the revlet never runs, while Firefox just works 1) Am admin user on home PC, but not on work PC. Yes, I can try that. I ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Text number conversion
I'm talking to a microprocessor device using sockets and it returns a string like the following: 0,0x7BCC The first item is a status code and the number after the comma is the hex value expressed as ASCII characters. It will always be 4 digits. I can't seem to convert this into a number (using baseConvert). Is there some conversion command that I can't find? I need a number because I'm after just one or two bits in that number and I can't use bitAnd unless I've got a number to work with. len morgan ___ use-revolution mailing list use-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: Text number conversion
the x is just to show that it's a HEX 16 bit number just do a baseconvert on the 7B66 part. - Stephen Barncard San Francisco http://barncard.com 2009/8/17 Len Morgan len-mor...@crcom.net I'm talking to a microprocessor device using sockets and it returns a string like the following: 0,0x7BCC The first item is a status code and the number after the comma is the hex value expressed as ASCII characters. It will always be 4 digits. I can't seem to convert this into a number (using baseConvert). Is there some conversion command that I can't find? I need a number because I'm after just one or two bits in that number and I can't use bitAnd unless I've got a number to work with. len morgan ___ use-revolution mailing list use-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: Text number conversion
put baseConvert(7B66,16,10) 31590 - Stephen Barncard San Francisco http://barncard.com 2009/8/17 stephen barncard stephenrevoluti...@barncard.com the x is just to show that it's a HEX 16 bit number just do a baseconvert on the 7B66 part. - Stephen Barncard San Francisco http://barncard.com 2009/8/17 Len Morgan len-mor...@crcom.net I'm talking to a microprocessor device using sockets and it returns a string like the following: 0,0x7BCC The first item is a status code and the number after the comma is the hex value expressed as ASCII characters. It will always be 4 digits. I can't seem to convert this into a number (using baseConvert). Is there some conversion command that I can't find? I need a number because I'm after just one or two bits in that number and I can't use bitAnd unless I've got a number to work with. len morgan ___ use-revolution mailing list use-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
Radio buttons that don't look like radio buttons
Revolutionaries, I have several cards containing many radio buttons, and want to have a summary screen which consists of an array of colour indicators reflecting the status of the scattered radio buttons. I remembered that many years ago I made some radio buttons that didn't look like radio buttons (they were intended to function and look a bit like the pop up - down mechanical buttons on old cassette recorders). So I set out the summary card with radio buttons which are set and reset by user actions on corresponding groups on the relevant card. That works fine. A brief script built around set the hilitedbutton of SummaryGroupOnCard1 to the hilitedbutton of the owner of the target does the trick. However, the summary display can't look like radio buttons in the final product, because users will quite reasonably expect to be able to click on them. I planned to change the properties of the summary buttons after I had finished laying out and scripting the cards the users will actually interact with. When the time came, I started to set and tweak properties and colours of the buttons on the summary card, but couldn't get the simple plain colour patch which switches on or off mutually exclusively with its fellow group members. After maybe an hour of futile clicking, I set out to find the buttons I made years ago, and to my amazement succeeded. However, I *still* can't find out how I made the radio buttons not have the little radio button blob in the middle. There is no scripting involved, and no icons. They do have hilited text and fill colours that match - if they don't, a little dot appears when selected, like old Win radio buttons (I am on OS X). Selection is only indicated by a change in the border. However, even though I have matched as many properties and colours as I can find, my new radio buttons insist on having the radio button blob. I know I could just copy the little group I have, and use them, but this is really bugging me. Was I quite clever years ago, or am I being quite dumb now? David Glasgow ___ use-revolution mailing list use-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 Of The Scroll Ball On The Mighty Mouse
Does anyone know of a way to the use the scroll ball feature of the Apple Mighty Mouse and scroll wheels on other mouses (mice?) in RevTalk? TIA and cheers, Roger Guay ___ use-revolution mailing list use-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: Line wrapping
stephen barncard wrote: It's better for one to do one's own wrapping. for instance put field myField of cd myCard of stack myStack into field myField2 of cd nextCard of stack otherStack is a horrible jumble of garbage to the eyes, but put\ field myField \ of cd myCard \ of stack myStack \ into field myField2 \ of cd nextCard \ of stack otherStack makes a lot of sense. Automatic wrapping can't do that. And it's easier to edit the references. And the compiler and indenter both are happy with it. And one can make the edit window narrower. A good point, well illustrated. Another benefit of adding line wraps manually is that it requires you to read the code at least well enough to find usful line breaks, sometimes a useful task when inheriting a code base. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Line wrapping
Somehow the mailer put spaces between each line of code. Obviously that won't compile but it does look right in the editors. - Stephen Barncard San Francisco http://barncard.com 2009/8/17 Richard Gaskin ambassa...@fourthworld.com stephen barncard wrote: It's better for one to do one's own wrapping. for instance put field myField of cd myCard of stack myStack into field myField2 of cd nextCard of stack otherStack is a horrible jumble of garbage to the eyes, but put\ field myField \ of cd myCard \ of stack myStack \ into field myField2 \ of cd nextCard \ of stack otherStack makes a lot of sense. Automatic wrapping can't do that. And it's easier to edit the references. And the compiler and indenter both are happy with it. And one can make the edit window narrower. A good point, well illustrated. Another benefit of adding line wraps manually is that it requires you to read the code at least well enough to find usful line breaks, sometimes a useful task when inheriting a code base. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.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: Use Of The Scroll Ball On The Mighty Mouse
Recently, Roger Guay wrote: Does anyone know of a way to the use the scroll ball feature of the Apple Mighty Mouse and scroll wheels on other mouses (mice?) in RevTalk? Not sure about the Mighty Mouse but I think you want to trap the rawKeyDown message, yes? 65309 = scroll up (decrease scroll) 65038 = scroll down (increase scroll) Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[ann] Dictionary Plugin for Third Party Developers
Well after zero beta testing I am ready to announce the release of the Dictionary Plugin for Third Party Developers. This plugin allows developers of third party add-ons to Runtime Revolution have their documentation displayed in the built-in Dictionary in a Third Party category. All third party documentation is loaded from HTML files (keep in mind the limitations of the RevHTML features of the field object) and can be created easily and quickly. Documentation can be loaded on the fly and only requires the Dictionary to be reopened to be updated. This plugin has been tested in Revolution Enterprise 3.5 and 4.0; Mac OS X 10.4 and 10.5. If you are using a different system and run into any issues please contact us and we will get it sorted out right away. Screen captures http://www.shaosean.tk/images/doc1.png http://www.shaosean.tk/images/doc2.png Download link can be found at the top of www.shaosean.tk -Sean ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution