Ruby Active Record
Has anyone out there made Ruby calls from Transcript? I like Ruby's Active Record for handling database interactions and I'm thinking about just using it across all my applications to mediate access to my databases for some internal app's (I'll be using either FrontBase, MySQL, or PostgreSQL). It would be nice to have a mediating layer like Apple's old Enterprise Objects Framework or Ruby's Active Record. The downside with using Ruby is that I've got to do a lot of Transcript---Ruby bridging both ways which may be a headache and/or slow. I know it will also require the additional step of installing Ruby and Active Record on any machine that needs to run my apps but I'm not too worried about that. Anyone have any feedback on blending Ruby into runrev? Cheers, russ P.S. Oh yeah, almost forgot to mention that FrontBase wrote a plug-in for runrev compatibility. Found it accidentally on their download page: http://www.frontbase.com/cgi-bin/WebObjects/FrontBase ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Installing rev cgi on a Windows server
All- I don't recommend this, but if you *really* have to get Revolution working as a cgi service on a Windows server, here's how. Note that you have to start with having IIS already installed. And you have to be logged in as an administrator. And that you're probably much better off installing Apache and working with that. It's more secure and more stable and open source and easier to configure and work with. http://www.apache.org/ But if you gotta you gotta... Basically what you're going to do here is create a directory to hold the executable and scripts, then configure IIS to know about .cgi files and associate them with the Revolution executable. Out of the box, IIS is by design fairly dumb. It knows how to run ASP code embedded in web pages, but for anything else you have to go through a lot of contortions. Start by pointing a web browser at: http://my.execpc.com/~keithp/bdlognt.htm Now click on the Section labeled IIS Server Setup. Don't bother installing perl unless you're interested in running perl scripts. A few paragraphs down, however, is that part about creating a cgi-bin directory *outside* of the inetpub directory. Start from there, following all the directions verbatim (you don't have to call the directory perl-scripts, though). If you're having trouble finding the Internet Service Manager it's either on the Start Menu in Administrative Tools or in a control panel named Administrative Tools or else you don't have IIS installed. When you reach the part labeled Setting Up Scripts, stop. Instead of browsing for the perl interpreter you'll want to find the Revolution executable. I placed a copy in the cgi-bin folder just to make things easy on myself, but if you have Revolution installed you can just browse to the file in your Revolution folder. Add the parameter string (without quotes) after the executable, so you should end up with: C:\cgi-bin\revolution.exe %s Create the canonical hello.cgi test script as a text file and copy it to the same cgi-bin directory you dumped the executable in. Note that Windows will ignore the #!revolution line at the beginning of the file, so it doesn't matter what it says, or even if it exists at all. Launch a DOS command window from the start menu. Assuming that you've called your cgi-bin directory cgi-bin, type cd \cgi-bin revolution hello.cgi test.txt Type dir. You should see a 39-byte file named test.txt. Type test.txt You should see Hello World!. This verifies that your script is correct. Now you're configured and ready to go. Close the ISM if you haven't already, launch Services from the Administrative Tools, and launch the World Wide Web Publishing Service down at the bottom. If it isn't started already then right-click on it and select Start from the contextual menu. Once it's up and running go to a client computer, launch a web browser, and point it at the hello.cgi file. In my case, my Win2k server is at 192.168.0.253, so I go to: http://192.168.0.253/cgi-bin/hello.cgi You should now see the text Hello World! on your browser. Whoopee. You could've done all that by installing Apache, but you'd miss the headaches, and what fun would that be? -- -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
HTML Tables
Forgive me if this has been asked and answered on the list before, but I think it's of general enough interest for me to post, in case someone has already invented this mousetrap. I am wondering what the most efficient way might be to convert an HTML table into a Rev table. The ideal solution would - convert tr's into rows and td's into columns - correctly handle (i.e., ignore) all of the various attributes that might be embedded within the table tags. - designed for data tables (not formatting tables) - work very fast Ideas? Suggestions? Pointers? - Bill ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: HTML Tables
Bill, If you *just* need row and column data and no formatting, how about something like: (warning: untested email code) ## get source from a field put fld htmlSource into tHTML ## translate end of row to end of line replace /tr with return in tHTML ## translate end of column to tab replace /td with tab in tHTML ## delete all the rest of the html tags put replaceText(tHTML, [a-zA-Z/]+[^]*, empty) into tHTML ## remove trailing tabs and trailing return replace tabreturn with return delete last char of tHTML ## put it in a new field put tHTML into fld tableField Forgive me if this has been asked and answered on the list before, but I think it's of general enough interest for me to post, in case someone has already invented this mousetrap. I am wondering what the most efficient way might be to convert an HTML table into a Rev table. The ideal solution would - convert tr's into rows and td's into columns - correctly handle (i.e., ignore) all of the various attributes that might be embedded within the table tags. - designed for data tables (not formatting tables) - work very fast Ideas? Suggestions? Pointers? - Bill ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Selection of Icon from IconChooser within the script itself!!!
Hi all !! I am facing a problem in my application. Whenever I create a button, I want an icon to be assigned to it. As of now, I am asking the user to enter the Icon Number to be assigned. What I want to achieve is that the user doesn't have to enter anything. As soon as he creates a button, an Iconchooser should appear (as it appears when we open the property inspector of a button and click a button just besides the Icon field) which shows all possible icons possible on that button. The user can then choose his preference and accordingly the icon of button is set. Can somebody please help and suggest a solution to this problem? Its urgent.. :-( Thank You Regards, Nitesh Dahiya ___ use-revolution mailing list use-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: HTML Tables
Hey that's pretty darned good for off the top of your head! I make two changes. One is an adjustment to the regular expression to account for spaces before the and after the (so there is no junk around the tabs), and one is to fix a syntax error. (I hope I did it right, I'm not super familiar with regex's.) Brian Yennie wrote ## get source from a field put fld htmlSource into tHTML ## translate end of row to end of line replace /tr with return in tHTML ## translate end of column to tab replace /td with tab in tHTML ## delete all the rest of the html tags put replaceText(tHTML, \ *[a-zA-Z/]+[^]*\ *, empty) into tHTML ## remove trailing tabs and trailing return replace tabreturn with return in tHTML delete last char of tHTML ## put it in a new field put tHTML into fld tableField ___ use-revolution mailing list use-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: Selection of Icon from IconChooser within the script itself!!!
Hi Nitesh, This is what I would do: - load the images you want to use as an icon and group them (group buttons) - you can give each image a small script like (or make a group script): on mouseup set the icon of btn test to 1010 end mouseup When creating a new button show group buttons Hope you can use this! Greetings, William de Smet (from a cloudy Holland) 2006/4/19, DAHIYA Nitesh [EMAIL PROTECTED]: Hi all !! I am facing a problem in my application. Whenever I create a button, I want an icon to be assigned to it. As of now, I am asking the user to enter the Icon Number to be assigned. What I want to achieve is that the user doesn't have to enter anything. As soon as he creates a button, an Iconchooser should appear (as it appears when we open the property inspector of a button and click a button just besides the Icon field) which shows all possible icons possible on that button. The user can then choose his preference and accordingly the icon of button is set. Can somebody please help and suggest a solution to this problem? Its urgent.. :-( Thank You Regards, Nitesh Dahiya ___ use-revolution mailing list use-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: HTML Tables
Here is one that used some RegEx that I sent to Eric Chatonet and he ramped up to a real code function for removing tags. Note that a couple steps are commented out since the exact page you are trying to parse may or may not need different treatment for spaces and returns. Try this way, then tweak the --replace lines to see if that gives a better result. start copy here function StripTags pHtml local tRegex,tPrevText constant kHtml = eacute;,agrave;,ccedil;,gt;,lt;,ecirc;,egrave;,copy;,#149;,#39;,m iddot;,amp; constant kConvertedHtml = é,à,ç,,,ê,è,© put kConvertedHtml into tempp put , numtochar(165) , numtochar(39) , numtochar(225) , numtochar(38) after tempp - --replace return with space in pHtml --replace return with in pHtml replace numtochar(13) with empty in pHtml replace tab with empty in pHtml - put replacetext(pHtml,(?Usi)SCRIPT.*/SCRIPT,) into pHtml put replacetext(pHtml,(?Usi)STYLE.*/STYLE,) into pHtml put replacetext(pHtml,(?Usi)\?.*\?,) into pHtml - replace nbsp; with space in pHtml replace BR with return in pHtml replace p with return in pHtml - put [^]* into tRegex put replacetext(pHtml,tRegex,) into pHtml put replacetext(pHtml,tRegex,) into pHtml - repeat until tPrevText is pHtml if keepRunning is false then exit StripTags put pHtml into tPrevText put replacetext(pHtml, +,space) into pHtml put replacetext(pHtml,^ ,) into pHtml end repeat - replace (space return) with return in pHtml replace (return space) with return in pHtml filter pHtml without empty - replace quot; with quote in pHtml repeat with i = 1 to the number of items of kHtml replace item i of kHtml with item i of kConvertedHtml in pHtml end repeat - return pHtml end StripTags --- end copy Jim Ault Las Vegas On 4/19/06 12:29 AM, Bill Marriott [EMAIL PROTECTED] wrote: Forgive me if this has been asked and answered on the list before, but I think it's of general enough interest for me to post, in case someone has already invented this mousetrap. I am wondering what the most efficient way might be to convert an HTML table into a Rev table. The ideal solution would - convert tr's into rows and td's into columns - correctly handle (i.e., ignore) all of the various attributes that might be embedded within the table tags. - designed for data tables (not formatting tables) - work very fast Ideas? Suggestions? Pointers? - Bill ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-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: keyDown message weirdness
On Apr 18, 2006, at 9:40 PM, J. Landman Gay wrote: Devin Asay wrote: It's not the font choice that triggers the bug, but the input method. You would need to activate the input menu from the International system pref pane. Activate, eg., Cyrillic or Greek, then click in your rev field and choose one of these languages from the flag menu. Then watch the message watcher to see if the keydown messages disappear. I'm getting this consistently on 2.6.1 through 2.7.x on both a Powermac G4 and G5 running 10.4.6. I see. Okay, so I activated the international menu and activated Greek. Dragged a new field onto a test stack. Showed the message watcher. Choose Greek from the system menu. If I typed regular characters I got all four messages. If I typed, say, Option-P (to get a pi) I got an optionkeydown message and then two up messages (rawkeyup, keyup). Then I switched back to the US menu input via the system menu, and typed Option-P and still got an optionKeyDown and two up messages. Typing normal characters gave me all four messages. So maybe it's the option key that blocks the messages? Seems to be the same no matter which menu input I choose. Maybe its an OS thing. I know that Rev just grabs whatever keyboard messages the OS sends, so it may be that the Mac OS isn't sending those. Thanks for confirming and helping narrow this down. I'm going to BZ it. 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
Re: quicktime sizes
Thanks to both of you with suggestions. I was not using a player in this project because it's not necessary to preview the movies, but maybe if it's hidden I can use one to get these values. Much appreciated. w. On Apr 18, 2006, at 5:51 PM, Trevor DeVore wrote: On Apr 18, 2006, at 1:06 PM, Wally Rodriguez wrote: I have an emergency request that I need to implement right away and I was wondering if anyone here might have a quick fix. I need to be able to find out the height and width of a quicktime movie in order to generate an html shell to display such movie. Is there a quick way to get this information without resorting to externals, etc.? 1) Load the movie into a player object 2) use formattedWidth and formattedHeight to get movie dimensions ___ use-revolution mailing list use-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: [OT] Cringely on BootCamp's future
Chipp Walters / Richard Gaskin wrote: Spoke too quick. Turns out the Mac Mini I was referring to was not a Core Duo but Core Solo. Bummer. So, now a 1.66Ghz, 1GB memory, 100Gb hard drive MacMini costs $959 (without tax). Add a OEM version of WinXP Home and you're up over $1000. I can get way much more down at the CompUSA for way less. Or blow off both OS vendors and cut the price in half by getting just about any Linux pre-installed system. Bummer, for a second I thought Apple had a product reasonably priced. On what planet? They didn't get the highest margins in the industry with the most highly compensated CEO by looking out for the customers' bottom line. ;) And the price of the Mac Mini in a 3rd world country like Brazil is almost exactly three times what it is in the United States! In other words, it is only for a tiny affluent (or should that be effluent) elite. Unfortunately, within such business logics, the customers' bottom line is the very last thing to be considered. Now do you understand why the drive towards (reliable programming in) Linux (especially in Brazil) is so imperative? We just want to live on the same planet, that's all! Regarding the file/picture chooser widgets I recently produced, I even considered buying a Mac Mini so that I could help demonstrate the cross platform capacity of Rev by producing a Mac version, besides offering something useful to the Mac users themselves. Needless to say, that dream quickly evaporated, like many others. Bob Warren ___ use-revolution mailing list use-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: [OT] Cringely on BootCamp's future
Richard Gaskin /Chipp Walters wrote: Or blow off both OS vendors and cut the price in half by getting just about any Linux pre-installed system. Yeah, let me know how Rev on Linux goes. I'm right behind the well-worn path you blaze! Dan Shafer wrote: But as soon as Linux support for Rev is really there and a few other loose pieces drop into place, I'll switch in a red hot minute. - There is hope! (And I am in need of a little therapy.) Thanks boys! Best regards, Bob Warren ___ use-revolution mailing list use-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: [OT] Cringely on BootCamp's future
Why on earth is a mac mini three times as expensive in Brazil as in the US? Is it Apple, local distributors or some kind of tax? Surely, if not a tax (in which case, it's not a question of business logic), there's some kind of opportunity for someone there. Best, Mark On 19 Apr 2006, at 18:40, Bob Warren wrote: And the price of the Mac Mini in a 3rd world country like Brazil is almost exactly three times what it is in the United States! In other words, it is only for a tiny affluent (or should that be effluent) elite. Unfortunately, within such business logics, the customers' bottom line is the very last thing to be considered. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Thanks altPlugins
I took your advice and downloaded the free altPlugins altArchive. Works like a charm and is way better for my purposes that my now dysfunctional Save As... Thanks so much for this terrific piece of software. I also use the tm| family of plugins (align, gradient, color) which have a different although equally slick look and feel. They also improve my daily work with Rev. and I recommend them highly as well as the alt family. Both these plugins seem of a different sort than the Photoshop plugins I have used. Where the typical plugin seems to add a specialized function or effect that is really helpful for a small subset of users, the RR plugins I've adopted take basic functionality to a whole new level of smoothness and sophistication. It seems as if Revolution 6.0 will have everything working the way these plugins do. I mention this because I read with alternating bemusement and consternation the episodic flame wars about RR ltd. and this list. It seems to me that Revolution is a generation ahead (or possibly behind?) they mainstream software market aimed at the average user. Perhaps this is what Windows would be like if the courts had broken up the Microsoft monopoly instead of threatening a future slap on the wrist. Instead of a corporate monolith we have a fractious consortium of prickly, independent geniuses who get along because they have to but are lone eagles, not drones. The disjunction between current business models and the human reality behind the Revolution community could be worse; it could also be a lot better. What a product Revolution would be if all the talent devoted to it were in harmony instead of the occasional circular firing squad! ___ use-revolution mailing list use-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: [OT] Cringely on BootCamp's future
On 19.04.2006, at 07:16, Chipp Walters wrote: Hi Chip, I hape I can say it english as i could in german. Let me try: I dont understand why you are whining so often about the Mac prices and the good old times of great tools. Anf praises the glory of Win all the time. The computer I would get from CompUSA for less $$$ would have a faster processor, more memory, and Windows Media (and remote). There are open source or free versions of the other programs included. I can freely get iTunes on my PC (I have it), and most companies ship some sort of lame-o photo/movie editing package as well. You have to calculate the Hospital costs to. Check real TCO Not only the barebone PC;) Because the eye cancer will come fast with the fast processor, Windows Media and mediocre PcBoxes, when you have to look at it all the day: I remember the good old Mac days , why only remember? Check what happens today! with products like More let us have a look at the Outliners, which I know much better than developer tools. Today we have Mori. (I have more than 2000 Textmodule organized perfectly in a notebook) How would you do that in a Word Dokument, or 2000 Dokuments? Mori (former HBN) is so much better, so much easyier, so much more powerfull and so much cheaper than More... the Win Users told me, nothing comparable on Win to: Devonthink Omni Outliner Cp Notebook Curio Mellel Nisus etc, etc, etc, etc... There is a lot I dont like at Apple, and I would like to see a real Linux competitor (like Dan Shafer) but there isn´t. (May there is, but I did not see it) regards wolfgang bereuter -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html T-mapping© is PhotoLearning Mindmaps! ... http://www.internettrainer.com [EMAIL PROTECTED] ... Edelhofg. 17/11, A-1180 Wien, Austria Tel: ++43/1/ 479 6410 Fax: ++43/1/ 955 14 64-198 ___ use-revolution mailing list use-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: [OT] Cringely on BootCamp's future
Mark Smith wrote: Why on earth is a mac mini three times as expensive in Brazil as in the US? Is it Apple, local distributors or some kind of tax? Surely, if not a tax (in which case, it's not a question of business logic), there's some kind of opportunity for someone there. -- In all fairness, I should tell you that I last checked the prices when the Mac Mini was first launched. I have just had a look at the current prices. Just about the cheapest place you can buy a computer over the Internet is the Mercado Livre. Apple Brasil themselves are offering the following Mac Mini there: Novo Mac mini 1.66GHz intel core duo/512mb/80HD/ Superdrive The price is R$ 2799.98, which at today's echange rate (0.471698 USD in 1 Real, or 2.12 Reais in 1 Dollar ) works out at about $1320. I should also tell you that Apple Brasil are also announcing other price reductions at the moment. Greater elucidation, I cannot give you. Regards, Bob Warren ___ use-revolution mailing list use-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: [OT] Cringely on BootCamp's future
On comparing the 'Mac Experience' to Linux on an Intel box on price alone -- I can't believe some of the pros here can't tell the difference. And yes, UBUNTU is very good these days. Looks ok on a Mac. But for me, it's not only the OS, but the quality of the hardware (not the lowest bidder). I don't have to screw with it to make it work, and it doesn't crash. For the most part, it all fits together, IMHO. As far as price of Macs in Brazil; I'm sure that Brazil imposes severe tariffs placed on computers from the USA, and I think that the Brazil PC 'manufacturers' would get quite an advantage - even though made from parts from 'over there'. Hell, I don't want to start a platform war on this list - the thing is that Rev brings us together - and platform wars are boring and stupid. sqb Chipp Walters / Richard Gaskin wrote: Spoke too quick. Turns out the Mac Mini I was referring to was not a Core Duo but Core Solo. Bummer. So, now a 1.66Ghz, 1GB memory, 100Gb hard drive MacMini costs $959 (without tax). Add a OEM version of WinXP Home and you're up over $1000. I can get way much more down at the CompUSA for way less. Or blow off both OS vendors and cut the price in half by getting just about any Linux pre-installed system. Bummer, for a second I thought Apple had a product reasonably priced. On what planet? They didn't get the highest margins in the industry with the most highly compensated CEO by looking out for the customers' bottom line. ;) And the price of the Mac Mini in a 3rd world country like Brazil is almost exactly three times what it is in the United States! In other words, it is only for a tiny affluent (or should that be effluent) elite. Unfortunately, within such business logics, the customers' bottom line is the very last thing to be considered. Now do you understand why the drive towards (reliable programming in) Linux (especially in Brazil) is so imperative? We just want to live on the same planet, that's all! Regarding the file/picture chooser widgets I recently produced, I even considered buying a Mac Mini so that I could help demonstrate the cross platform capacity of Rev by producing a Mac version, besides offering something useful to the Mac users themselves. Needless to say, that dream quickly evaporated, like many others. Bob Warren -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] Cringely on BootCamp's future
Here, in the UK, the Apple Store offers that machine for 599 UKP, which currently is 1073 USD, 911 without UK tax. The US Apple Store offers it for 799 USD, so it would seem that Apple are charging UK customers a premium of 112 USD. We brits have complained about this for years, but to no avail. I find it hard to believe that Apple are charging Brazilian customers a 521 USD premium, but you never know with Apple. Maybe they figure that only rich Brazilians can afford one anyway, and since rich Brazilians tend to be really, really rich, they might as well really stick it to 'em. :( Mark On 19 Apr 2006, at 19:50, Bob Warren wrote: Mark Smith wrote: Why on earth is a mac mini three times as expensive in Brazil as in the US? Is it Apple, local distributors or some kind of tax? Surely, if not a tax (in which case, it's not a question of business logic), there's some kind of opportunity for someone there. -- In all fairness, I should tell you that I last checked the prices when the Mac Mini was first launched. I have just had a look at the current prices. Just about the cheapest place you can buy a computer over the Internet is the Mercado Livre. Apple Brasil themselves are offering the following Mac Mini there: Novo Mac mini 1.66GHz intel core duo/512mb/80HD/ Superdrive The price is R$ 2799.98, which at today's echange rate (0.471698 USD in 1 Real, or 2.12 Reais in 1 Dollar ) works out at about $1320. I should also tell you that Apple Brasil are also announcing other price reductions at the moment. Greater elucidation, I cannot give you. Regards, Bob Warren ___ use-revolution mailing list use-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
Setup a Scrollbar?
Is there a document/recipe somewhere to set up the properties of a scrollbar such that its thumb correctly syncs with the scroll of a field? I know I've done this before somewhere but for some reason I seem to be off on a current project in how I'm figuring the start and end values. Thanks Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Setup a Scrollbar?
Hi scott, try: startValue: 0 endValue: formattedheight of fld - height of fld - margins of fld (if 1 no scroll) pageInc: 1 lineInc: 1 thumbSize: 1 Hope that helps, Malte ___ use-revolution mailing list use-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: keyDown message weirdness
This is now bugzilla'd as bug #3537. 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
Re: [OT] Cringely on BootCamp's future
Hi from Paris, Just a minor point about Brazil, apart from it being the most fantastic country. Anything that is imported into Brazil costs an arm and a leg, due to exhorbitant import taxes. The basic idea is, Buy Brazilian (even when it doesn't exist). I remember arriving in Brazil to do a 2 week course, with my course supports, and (because I have had experience with African countries) carrying 20 note pads, 20 rubbers - sorry erasers !, 20 pens, etc. for my students, not forgetting the board markers in many colours. They were all confiscated, because I was told that all these things exist in Brazil, so go out and buy them. The customs even wanted to confiscate 19 of my 20 course supports on the basis that Brazil had photocopying machines !! BUSINESS LOGIC DON'T COUNT !! Don't get me wrong, Brazil has more to offer than inconveniences, and I love the place to bits ! It's just a way to promote local industry. ... but then the protectionist activities of other countries aren't bad either -Francis Nothing should ever be done for the first time ! From: Mark Smith [EMAIL PROTECTED] Why on earth is a mac mini three times as expensive in Brazil as in the US? Is it Apple, local distributors or some kind of tax? Surely, if not a tax (in which case, it's not a question of business logic), there's some kind of opportunity for someone 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
FTP Attempts
Hello, I am trying the following script and I am getting an error. ON mouseUp pMouseBtnNum libURLSetFTPMode passive get libURLftpCommand(NLST,ftp4.mysite.com: 21,user,pasword) put it into field 1 pass MouseUp END MouseUp -- 226 Transfer Failed! Any clues for me? Also if anybody knows where I can get some in depthe FTP examples or libraries that would very helpful Thanks Todd -- Todd Geist __ g e i s t i n t e r a c t i v e -- Todd Geist __ g e i s t i n t e r a c t i v e ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: FTP Attempts
Todd- Wednesday, April 19, 2006, 1:41:13 PM, you wrote: ON mouseUp pMouseBtnNum libURLSetFTPMode passive Some reason you're using passive mode instead of active? I don't have the time to look this up right now, but I don't think you can mix passive mode and port 21. Other than that, does this work outside of rev? Are there firewall issues? -- -Mark Wieder [EMAIL PROTECTED] ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Setup a Scrollbar?
Recently, Malte Brill wrote: try: startValue: 0 endValue: formattedheight of fld - height of fld - margins of fld (if 1 no scroll) pageInc: 1 lineInc: 1 thumbSize: 1 Thanks Malte -- this is pretty much what I tried. My problem is getting the thumb correctly sized so, for example, if the field holds 14 items and the lines number 15, you get a fairly large thumb, instead of the tiny version when its size is set to 1. When I try this: set the thumbSize of sb myScroll to \ trunc(endValue of sb myScroll*(height of fld 1/formattedHeight of fld 1)) ...the last lines of the field are not accessible. Guess I'm wondering what the correct proportion is. Thanks Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: FTP Attempts
Hi Mark. On Apr 19, 2006, at 1:49 PM, Mark Wieder wrote: Todd- Wednesday, April 19, 2006, 1:41:13 PM, you wrote: ON mouseUp pMouseBtnNum libURLSetFTPMode passive Some reason you're using passive mode instead of active? I don't have the time to look this up right now, but I don't think you can mix passive mode and port 21. I thought everything had to start with Port 21. Then the passive Port ranges come into play later??? But even if I change to Active I get the same result Other than that, does this work outside of rev? Are there firewall issues? Yes it works with any other FTP client. Todd -- Todd Geist __ g e i s t i n t e r a c t i v e ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] Cringely on BootCamp's future
Mark Smith wrote: Why on earth is a mac mini three times as expensive in Brazil as in the US? Is it Apple, local distributors or some kind of tax? Surely, if not a tax (in which case, it's not a question of business logic), there's some kind of opportunity for someone there. -- Just to clarify a little more (at the expense of bloating the UR-List a bit - sorry): If I remember correctly, it was Apple Brasil's own recommended price that was about 3 times the US price originally. Of course, what taxes were invisibly embedded in this price, I cannot say, since VAT and stuff like that is never declared here. And remembering a little better, I think that this price still held up until only a short while ago. Could it be that Apple are at last beginning to see a little light with their very recent drastic price cuts here in Brazil? Or has the Brazilian government decided to punish Apple a little less? We may never know. Bob ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Setup a Scrollbar?
Scott, I think the trick is that you have to also increase the endValue when you increase the thumbSize (not very intuitive, I know). Try this. Set: startValue: 0 endValue: 100 Now scroll all the way down and check the thumbPosition... it's 67, not 100. So you probably want something more like: endValue = 100*( (height of fld 1/(formattedHeight of fld 1 - height of fld 1))+1) thumbSize = endValue *(height of fld 1)/(formattedHeight of fld 1) For example, if you formattedHeight is 150 and your field is 50, you get: endValue = 100 * (1 + 50/100) = 150 thumbSize = 150 * (1 / 3) = 50 And so you have a thumb which is 1/3 the height of the scrollbar - same as the field is 1/3 the height of it's contents. Hope that helps - ! - Brian Recently, Malte Brill wrote: try: startValue: 0 endValue: formattedheight of fld - height of fld - margins of fld (if 1 no scroll) pageInc: 1 lineInc: 1 thumbSize: 1 Thanks Malte -- this is pretty much what I tried. My problem is getting the thumb correctly sized so, for example, if the field holds 14 items and the lines number 15, you get a fairly large thumb, instead of the tiny version when its size is set to 1. When I try this: set the thumbSize of sb myScroll to \ trunc(endValue of sb myScroll*(height of fld 1/formattedHeight of fld 1)) ...the last lines of the field are not accessible. Guess I'm wondering what the correct proportion is. Thanks 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
Re: FTP Attempts
Hi Todd, You cannot issue an NLST command with libUrlFtpCommand. Instead, you have to use the libURLSetFTPListCommand command. libURLSetFTPListCommand NLST|LIST Once you have done that, you can retrieve a list using the put url command: put url ftp://user:[EMAIL PROTECTED]/dir/ Note the slash at the end of the address, which is necessary to see a list of files in a directory. If you'd like to discuss FTP with me or other Rev developers, feel free to come by in ChatRev. Currently, I'm working on an FTP client, called ecxFTP. I expect to release a public beta in a week. If you or anyone else would like to give the client a try, please contact me off-list. Best, Mark Todd Geist wrote: Hello, I am trying the following script and I am getting an error. ON mouseUp pMouseBtnNum libURLSetFTPMode passive get libURLftpCommand(NLST,ftp4.mysite.com: 21,user,pasword) put it into field 1 pass MouseUp END MouseUp -- 226 Transfer Failed! Any clues for me? Also if anybody knows where I can get some in depthe FTP examples or libraries that would very helpful Thanks Todd -- Consultant and Software Engineer mailto:[EMAIL PROTECTED] http://www.economy-x-talk.com eHUG coordinator mailto:[EMAIL PROTECTED] http://www.ehug.info Advertise with us and reach 1000 truely interested internet users every month. See http://economy-x-talk.com/advertise.html for more information. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: FTP Attempts
Hi Mark, If Todd were using active ftp, my first question would be some reason why you're using active mode instead of passive? I believe, default mode should be passive, because you can just keep port 21 open and don't need to worry about all other ports that would have to be open if active ftp were used. Only if the server makes It makes perfect sense to combine port 21 with passive mode. In fact, there is no need to specify a port if 21 is used, because it is the default port. I just thought I should say this explicitly, since there has been so much confusion about it on this list, lately. Bes regards, Mark Mark Wieder wrote: Todd- Wednesday, April 19, 2006, 1:41:13 PM, you wrote: ON mouseUp pMouseBtnNum libURLSetFTPMode passive Some reason you're using passive mode instead of active? I don't have the time to look this up right now, but I don't think you can mix passive mode and port 21. Other than that, does this work outside of rev? Are there firewall issues? -- Consultant and Software Engineer mailto:[EMAIL PROTECTED] http://www.economy-x-talk.com eHUG coordinator mailto:[EMAIL PROTECTED] http://www.ehug.info Advertise with us and reach 1000 truely interested internet users every month. See http://economy-x-talk.com/advertise.html for more information. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: FTP Attempts
Thank You! On Apr 19, 2006, at 2:53 PM, Mark Schonewille wrote: Hi Todd, You cannot issue an NLST command with libUrlFtpCommand. Instead, you have to use the libURLSetFTPListCommand command. libURLSetFTPListCommand NLST|LIST -- Todd Geist __ g e i s t i n t e r a c t i v e ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Setup a Scrollbar?
Recently, Brian Yennie wrote: I think the trick is that you have to also increase the endValue when you increase the thumbSize (not very intuitive, I know). Thanks Brian. Unfortunately, I'm still getting inconsistent results. Sometimes the scrollbar scrolls correctly to the end of the field contents, other times, the scroll falls short. Not sure what's going on (bug in my code, bug in Rev, incorrect proportion, etc). I'll continue to try to figure it out. Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Setup a Scrollbar?
Hrm. Any chance it's a rounding / trunc problem? If so you could increase the resolution by jumping from a 0-100 base scale to something more like 0-10 to make the truncating negligible. How much is getting cut off / what are your actual values? Just a shot in the dark...! Recently, Brian Yennie wrote: I think the trick is that you have to also increase the endValue when you increase the thumbSize (not very intuitive, I know). Thanks Brian. Unfortunately, I'm still getting inconsistent results. Sometimes the scrollbar scrolls correctly to the end of the field contents, other times, the scroll falls short. Not sure what's going on (bug in my code, bug in Rev, incorrect proportion, etc). I'll continue to try to figure it out. 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
Re: Shadow of menu pulldown...
From: Mark Wieder [EMAIL PROTECTED] Sent: Monday, April 17, 2006 6:36 PM How I can hide the shadow of the stack that open when I click in a button with style pulldown. I tried to put false the shadow property of the current stack that It will show and not work fine. Why? This works fine for me on both OSX and Win2k. What platform and version are you trying this with? I thought maybe this was something that just broke with 2.7, but it seems to be working here with that and with 2.61 as well. I'm trying in WinXP with 2.6.1 version of Revolution and not work fine. How I can send a example of my stack when I have a example with .png images that customize the enviroment of menu? Best regards and thank for your response, Gilberto Cuba ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Ask Password
I have a user that is using one of my compiled .exe's. He's running WinXP Home addition. He claims he can't see the password field in the application. None else has complained of this but He's described it to me clearly so I believe him. Does anyone know why he couldn't see the password field but can see the text Please Enter your Password and the ok and cancel buttons. I've compiled under 2.6.1. I'm using: ask password clear Please Enter your Password Jeff ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Unicode
I am trying to enter Unicode in a field. I have set the 'use unicode' to true in a startup script as follows: set the useunicode to true set the textFont of field Text to Gentium,UTF8 This has the effect of making all the characters in the field appear in a Chinese script. This is not my desired outcome! Any suggestions welcome! Thanks, Nick ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
contextual menus on Windows - can't select items with left mouse button
Ello, I'm popping up contextual menus in a mouseDown handler – like so... (much simplified) on mouseDown theButton if theButton = 3 then displayContextualMenu end if end mouseDown on displayContextualMenu popup btn myContextualMenu of stack myMenus end displayContextualMenu ...this works as expected, the menu pops up and you can select an item - well sort of, clicking the left mouse button has no effect whereas if you click the right mouse button the menuPick handler in the button is triggered and the handler proceeds. Clearly I want users to be able to make selections with the left mouse button as well as the right - as you can with any of the IDE stacks if you have the 'contextual menus work in Revolution windows' option selected in the 'General' panel of the Rev preferences window. So, what am I missing? TIA, Terry... Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA ___ use-revolution mailing list use-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: contextual menus on Windows - can't select items with left mouse button
Doh - that'd be because the menuMouseButton property was set to 3 instead of 0. Terry... Ello, I'm popping up contextual menus in a mouseDown handler – like so... (much simplified) on mouseDown theButton if theButton = 3 then displayContextualMenu end if end mouseDown on displayContextualMenu popup btn myContextualMenu of stack myMenus end displayContextualMenu ...this works as expected, the menu pops up and you can select an item - well sort of, clicking the left mouse button has no effect whereas if you click the right mouse button the menuPick handler in the button is triggered and the handler proceeds. Clearly I want users to be able to make selections with the left mouse button as well as the right - as you can with any of the IDE stacks if you have the 'contextual menus work in Revolution windows' option selected in the 'General' panel of the Rev preferences window. So, what am I missing? TIA, Terry... Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA ___ use-revolution mailing list use-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: contextual menus on Windows - can't select items with left mouse button
I'm popping up contextual menus in a mouseDown handler – like so... (much simplified) on mouseDown theButton if theButton = 3 then displayContextualMenu end if end mouseDown on displayContextualMenu popup btn myContextualMenu of stack myMenus end displayContextualMenu ...this works as expected, the menu pops up and you can select an item - well sort of, clicking the left mouse button has no effect whereas if you click the right mouse button the menuPick handler in the button is triggered and the handler proceeds. Hi Terry, I'm guessing that you want to use only right mouse button to get to the popup? Because the if theButton = 3 then line restricts this to right button only. However if the problem is in the popup itself, check the menuMouseButton property. I think it is best to set this to 0 in order to get any button to work. 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
spread the word about the Rev beginners Workshop
Hey folks, spread the word about the RevCon West intensive pre-conference tutorial workshop on June 14-15 for beginners, or those who want a refresher course, with the great teachers, Jacqueline Landman Gay and Devin Asay, I’m going to be taking this workshop, and want lots of good company. They have more info about it here— http://www.revconwest.com/revcon/About.htm An enjoyable way to introduce friends to Rev too. Sandy ___ use-revolution mailing list use-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: spread the word about the Rev beginners Workshop
Thanks Sandy! BTW, for those of you who haven't seen the pictures Sandy took at last year's RevConWest check it out: http://www.troutfoot.com/rev/index.html Also, everyone who takes the workshop, gets a free copy of RevMedia! So, even if you know people who don't yet own Revolution, you can tell them they'll walk away with a toolkit and the knowledge on how to use it. -Chipp SB wrote: Hey folks, spread the word about the RevCon West intensive pre-conference tutorial workshop on June 14-15 for beginners, or those who want a refresher course, with the great teachers, Jacqueline Landman Gay and Devin Asay, I’m going to be taking this workshop, and want lots of good company. They have more info about it here— http://www.revconwest.com/revcon/About.htm An enjoyable way to introduce friends to Rev too. Sandy ___ use-revolution mailing list use-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: Ruby Active Record
I don't see any support there for Revolution. Is it hiding? On 4/18/06, Russ McBride [EMAIL PROTECTED] wrote: P.S. Oh yeah, almost forgot to mention that FrontBase wrote a plug-in for runrev compatibility. Found it accidentally on their download page: http://www.frontbase.com/cgi-bin/WebObjects/FrontBase -- ~~ Dan Shafer, Information Product Consultant and Author http://www.shafermedia.com Get my book, Revolution: Software at the Speed of Thought From http://www.shafermediastore.com/tech_main.html ___ use-revolution mailing list use-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: Ruby Active Record
On 4/20/06 12:50 AM, Dan Shafer [EMAIL PROTECTED] wrote: P.S. Oh yeah, almost forgot to mention that FrontBase wrote a plug-in for runrev compatibility. Found it accidentally on their download page: http://www.frontbase.com/cgi-bin/WebObjects/FrontBase I don't see any support there for Revolution. Is it hiding? Click the Downloads link in the toolbar, then scroll down 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