From katir at hindu.org Tue Dec 1 00:19:20 2009 From: katir at hindu.org (Sivakatirswami) Date: Mon, 30 Nov 2009 19:19:20 -1000 Subject: Interesting blog post - comments anyone? In-Reply-To: References: Message-ID: <4B14A758.6000306@hindu.org> Scott Rossi wrote > Rev has been around for years now -- > I think it's quite capable of standing on its own, without the crutch of a > bygone development tool to prop it up. > But comments by those ignorant of the history imply that revTalk is a new kid on the block and will come and go like so many others. Is there no value in making it clear that xTalk as a tool (regardless of the IDE wrapper, HC, Supercard MC etc.) is as old as the Personal Computing Revolution itself? I tell people, simply: "It's not open source, and it's not a well known as PHP, but it's xTalk and xTalk has been around since 1983, and if it is good enough for NASA, I think we don't need to worry about vesting content in the RunRev platform. The core of the language has been with us for 25 years. Its robust, powerful, fast and facile and in RunRev's hands, it is only getting better and better every year. It will be around for another 50, at least as long as your lifetime." Why throw away the history? skts > > From katir at hindu.org Tue Dec 1 00:25:27 2009 From: katir at hindu.org (Sivakatirswami) Date: Mon, 30 Nov 2009 19:25:27 -1000 Subject: ICS functions Library Message-ID: <4B14A8C7.1040802@hindu.org> Does anyone have a library of functions already written for dealing with vObjects in .ics files? I'm particularly interested in pre-written date-time functions that can parse for and deliver the simple iCal date-time stamps 20091130T164200Z I could go ahead and start writing these myself, but I'm certain someone among us has already written a pile of these. Thanks! From jerry.daniels at me.com Tue Dec 1 00:44:26 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 30 Nov 2009 23:44:26 -0600 Subject: GLX2 In-Reply-To: <9D1192D1-3B9D-4500-AA24-1C3ADA94E89D@twft.com> References: <3E062182-E46A-4FF6-8441-2E2E1D3BA731@me.com> <9D1192D1-3B9D-4500-AA24-1C3ADA94E89D@twft.com> Message-ID: <055B3EF5-4C18-45BD-8089-A541B7D7A45D@me.com> Bob, et al... I'm proud to say that tRev is very well documented. Some folks are under the illusion that you have to sit and watch video after video in order to figure out how to use it. This is simply not true. tRev Documentation comes in three forms: 1. A Windows and a Mac shortcuts PDF. 2. A Quickstart PDF document. 3. A FAQ page. These documents are updated as features are added. The Quickstart PDF has everything in it. Links to all three of these forms of documentation are displayed on the right side of the tRev site as you enter: http://reveditor.com New users get links to all this in their email with their reg code. You don't have to read posts to figure out how tRev works. Links to the docs listed above are prominent. Explanations abound, are consolidated, and come in a format for everyone: visual, text, video, etc. Add basic properties to a script? Look at your menubar. Under Edit. Last item. Basic properties is also on the shortcuts PDF. How to add basic properties is also in the quickstart PDF. There are three posts with screens, text and video showing how to use raptor handlers to add basic and custom properties to your scripts. How did I find them? I entered "basic properties" into the search field on the right side of the open page of the site. Hope that helps. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-stacks-0 On Nov 30, 2009, at 10:12 PM, Bob Sneidar wrote: > Hey! I purchased both! Do I get a refund?? J/K you deserve the bonus > for the outstanding work you've done. It would be nice to see a full > hotkey list somewhere though. I saw a Feature Friday that showed how > to add basic properties to an objects script, but I forgot how! > > Bob > > > On Nov 30, 2009, at 12:35 PM, Jerry Daniels wrote: > From jerry.daniels at me.com Tue Dec 1 00:52:38 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 30 Nov 2009 23:52:38 -0600 Subject: tRev In-Reply-To: References: Message-ID: <8578F3C1-6A05-41C3-B7F7-B69C90C3F8BC@me.com> tRev Installer? Been there, done that. Same result. Not as straight- forward as you think. We do have screen shots, bullet lists, videos all over the place on our site showing where to put the tRev.app. There are links delivered with the reg codes that specifically exhort users to read a short install page. Link is prominent. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-stacks-0 On Nov 30, 2009, at 6:14 PM, Generic Email wrote: > This seems to work. Please accept my heartfelt recommendation to > make this process simpler by distributing an installer if you need > to be in a very specific place, and include a link from / > Applications/tRev, as it in fairly standard. Or include a README.txt > in the zip with the .app. Or something. From scott at tactilemedia.com Tue Dec 1 01:17:01 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 30 Nov 2009 22:17:01 -0800 Subject: Interesting blog post - comments anyone? In-Reply-To: <4B14A758.6000306@hindu.org> Message-ID: Recently, Sivakatirswami wrote: > Scott Rossi wrote >> Rev has been around for years now -- >> I think it's quite capable of standing on its own, without the crutch of a >> bygone development tool to prop it up. >> > But comments by those ignorant of the history imply that revTalk is a > new kid on the block and will come and go like so many others. I wasn't referring to history, I was stating my belief that comparing Rev to a long dead application (Hypercard) does not convey adoption, currency, or relevance to me. > Is there no value in making it clear that xTalk as a tool (regardless of > the IDE wrapper, HC, Supercard MC etc.) is as old as the Personal > Computing Revolution itself? If you have to inform people of the history, I'd say the history has little value. People want to know 1) What can they do with it, and 2) How many people are using it, in an effort to determine 3) Is it worth their time and effort to invest in it. Comparing Rev to something that is discontinued and unsupported doesn't substantiate any of the above. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From stephenREVOLUTION2 at barncard.com Tue Dec 1 01:42:15 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 30 Nov 2009 22:42:15 -0800 Subject: ICS functions Library In-Reply-To: <4B14A8C7.1040802@hindu.org> References: <4B14A8C7.1040802@hindu.org> Message-ID: Andre Garzia wrote a lib a long, long time ago (2005) - I have it right here. -- you guys are pals, you should ask him. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/11/30 Sivakatirswami > Does anyone have a library of functions already written for dealing with > vObjects in .ics files? > > I'm particularly interested in pre-written date-time functions that can > parse for and deliver the simple iCal date-time stamps > > 20091130T164200Z > > I could go ahead and start writing these myself, but I'm certain someone > among us has already written a pile of these. > > Thanks! > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From randall at randallreetz.com Tue Dec 1 01:43:50 2009 From: randall at randallreetz.com (Randall Reetz) Date: Mon, 30 Nov 2009 22:43:50 -0800 Subject: Interesting blog post - comments anyone? Message-ID: <20091201064352.KSDI23927.atlmtaow02.cingularme.com@Inbox> No matter what bells and whistles you heap on xtalk, what separates it from the other languages (which of course have the same bells) is the human-ness of the xtalk syntax and the grock-ability of the card/background/stack object hierarchy. The bells are polish and fit, but the essence is the genius of the whole gestalt so well defined so long ago. As has been said, it isn't easy to provide a steady and effective business to keep the product topical and working on the endlessly shifting OS/hardware machinery underneath. That is what a group like run-rev adds. That the product is elegant, well that is about history and bold genius. From randall at randallreetz.com Tue Dec 1 01:59:44 2009 From: randall at randallreetz.com (Randall Reetz) Date: Mon, 30 Nov 2009 22:59:44 -0800 Subject: Interesting blog post - comments anyone? Message-ID: <20091201065946.JQFJ29996.atlmtaow01.cingularme.com@Inbox> My god. An action feels slimy, not a person! Do I seem like a someone who doesn't speak my mind, that says one thing and means another? If I wanted to even so much as imply that sarah, who I do not know, is herself, some sort of person or another, don't you think I would have said so directly???? Maybe everyone is so used to political tactics and sideways spin that they can't anticipate plain old honesty. Also, I like anyone else, can be wrong. Still, it is worth talking to feelings and impressions. No? Of actions, not people. Paying attention. Caring. From stephenREVOLUTION2 at barncard.com Tue Dec 1 02:10:10 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 30 Nov 2009 23:10:10 -0800 Subject: Interesting blog post - comments anyone? In-Reply-To: <20091201065946.JQFJ29996.atlmtaow01.cingularme.com@Inbox> References: <20091201065946.JQFJ29996.atlmtaow01.cingularme.com@Inbox> Message-ID: This is getting annoying and waaaaay OT. This thread is becoming too emotional and confrontational. Can't we talk about Rev and code? s From richmondmathewson at gmail.com Tue Dec 1 02:15:08 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 01 Dec 2009 09:15:08 +0200 Subject: Interesting blog post - comments anyone? In-Reply-To: <4B14A758.6000306@hindu.org> References: <4B14A758.6000306@hindu.org> Message-ID: <4B14C27C.8030609@gmail.com> On 12/1/09 7:19 AM, Sivakatirswami wrote: > Scott Rossi wrote >> Rev has been around for years now -- >> I think it's quite capable of standing on its own, without the crutch >> of a >> bygone development tool to prop it up. > But comments by those ignorant of the history imply that revTalk is a > new kid on the block and will come and go like so many others. > > Is there no value in making it clear that xTalk as a tool (regardless > of the IDE wrapper, HC, Supercard MC etc.) is as old as the Personal > Computing Revolution itself? > > I tell people, simply: > > "It's not open source, and it's not a well known as PHP, but it's > xTalk and xTalk has been around since 1983, and if it is good enough > for NASA, I think we don't need to worry about vesting content in the > RunRev platform. The core of the language has been with us for 25 > years. Its robust, powerful, fast and facile and in RunRev's hands, it > is only getting better and better every year. It will be around for > another 50, at least as long as your lifetime." > > Why throw away the history? > I don't think "throwing away the history" is ever a good thing, but laying the history on thick can also prove detrimental. An impression could be gained that RunRev is a coterie interest just for long-in-the-tooth types who used to work with Hypercard. From richmondmathewson at gmail.com Tue Dec 1 02:16:37 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 01 Dec 2009 09:16:37 +0200 Subject: Interesting blog post - comments anyone? In-Reply-To: <20091201065946.JQFJ29996.atlmtaow01.cingularme.com@Inbox> References: <20091201065946.JQFJ29996.atlmtaow01.cingularme.com@Inbox> Message-ID: <4B14C2D5.9020105@gmail.com> On 12/1/09 8:59 AM, Randall Reetz wrote: > My god. An action feels slimy, not a person! Do I seem like a someone who doesn't speak my mind, that says one thing and means another? If I wanted to even so much as imply that sarah, who I do not know, is herself, some sort of person or another, don't you think I would have said so directly???? Maybe everyone is so used to political tactics and sideways spin that they can't anticipate plain old honesty. Also, I like anyone else, can be wrong. Still, it is worth talking to feelings and impressions. No? Of actions, not people. Paying attention. Caring. > Cripes! Aspirin, quick, somebody. From lan.kc.macmail at gmail.com Tue Dec 1 02:23:02 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 1 Dec 2009 15:23:02 +0800 Subject: Interesting blog post - comments anyone? In-Reply-To: References: <20091201065946.JQFJ29996.atlmtaow01.cingularme.com@Inbox> Message-ID: Randall, your suggestion that GM should "have sent a plane ticket to that blogger. "Please be our guest for a few days and meet our staff and get to know our product from the inside out. You will have full candid access to our top developers and customers." Although I think you made a HUGE mistake there, surely you didn't mean 'customers' because that would be doing exactly what Rev did - or is there some difference between reading email testimonies and verbally receiving them. Didn't you only one line earlier in the same post ridicule the idea of "general motors sending out a call to arms". So wouldn't these 'customers' that the blogger was suppose to meet somehow be called or emailed. And who would do that? The Chief Engineer, because if it was Heather in GM Marketing who email you I'd guess your response would be - no that's slimy, you do it. (Or is it only slimy if someone else thinks of it, but OK if you suggest it) Some of your comments I find very informed and I can agree with, but in most cases, in this thread, seemed removed from the underlying unhappiness with your use of the word slimy. Unfortunately, one of your posts was so contradictory that I can only conclude that the rests of you post are smoke screens to hopefully remove the focus on the original faux pas. From randall at randallreetz.com Tue Dec 1 02:57:44 2009 From: randall at randallreetz.com (Randall Reetz) Date: Mon, 30 Nov 2009 23:57:44 -0800 Subject: Interesting blog post - comments anyone? Message-ID: <20091201075745.MCHD29996.atlmtaow01.cingularme.com@Inbox> All decent IDEs have a robust set of programming support, and resource and project management affordances. What matters, beyond the obvious differences defined by the language an IDE supports, and what therefore sets one IDE above another, is how well an IDE matches the personality of its language and target customer's use style. This, customer support, and staying contemporary with the changing world, is the arena in which rev competes and the sphere of influence about which it can rightfully brag. Does run-rev out xtalk other xtalk IDEs? But the question of whether xtalk is, as a category, a worthy development choice, well that is a categorical debate and has little to do with run-rev specifically. An interpreted script-based language is a fundamentally different animal than a compiled language. I have always been a big fan of natural language syntax programming. I don't program for the complexity of the process. I program for aptitude of the finished product. I bicycle for the pain cause pain on my bicycle equals physical fitness. But I program towards an end, and that end isn't some sort of macho need for pain. Ultimately, I hope to find a product I can have a gentlemans conversation with and it does the heavy lifting, building the logic while we talk in broad poetic terms. Until then, there is xtalk. Has any xtalk support company really kept up with the potential of the pioneering direction initiated by smalltalk and hypercard? I don't think anyone has come close. But, the other languages are even further behind. Have you tried C or java or lisp or how about a functional language???? Holy crap! I don't hate "real" programmers, sometimes they dial in my intent after I have sketched it out in xtalk. That is how I see xtalk. As a rapid prototyping tool. Maybe the prototype is enough to run mission critical tasks for years. Sometimes it helps me see what not to do tomorrow. But mostly it lowers the pain bar exposing a far larger set of solutions for the same input of time and effort. As for the effort needed to build and maintain an interpreted execution environment... Well it is nothing less than what a compiler does except that it has to work line by line in real time at rates indistinguishable from machine binary. Almost impossible. And none of that comes free from apple or xerox (none legally anyway). But at this level again there is plenty of competition. Javascript, perl, python, visual basic. Hell, many compiled languages now come in IDEs which allow an interpreted interactive development mode. What sets xtalk apart is the pre-built widget objects and high level functions that can be called and controlled through intuitive english like phrases. That and the program shell (stack) which handles the arcane and mundane so that the author can get down to the creation of domain solutions and not computer science. In my case, the domain is computer science, and xtalk works just fine. randall From lan.kc.macmail at gmail.com Tue Dec 1 03:15:07 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 1 Dec 2009 16:15:07 +0800 Subject: Interesting blog post - comments anyone? In-Reply-To: <20091201075745.MCHD29996.atlmtaow01.cingularme.com@Inbox> References: <20091201075745.MCHD29996.atlmtaow01.cingularme.com@Inbox> Message-ID: Much more smoke. On Tue, Dec 1, 2009 at 3:57 PM, Randall Reetz wrote: > All decent IDEs have a robust set of programming support, and resource and > project management affordances. What matters, beyond the obvious > differences defined by the language an IDE supports, and what therefore sets > one IDE above another, is how well an IDE matches the personality of its > language and target customer's use style. This, customer support, and > staying contemporary with the changing world, is the arena in which rev > competes and the sphere of influence about which it can rightfully brag. > Does run-rev out xtalk other xtalk IDEs? But the question of whether xtalk > is, as a category, a worthy development choice, well that is a categorical > debate and has little to do with run-rev specifically. An interpreted > script-based language is a fundamentally different animal than a compiled > language. I have always been a big fan of natural language syntax > programming. I don't program for the complexity of the process. I program > for aptitude of the finished product. I bicycle for the pain cause pain on > my bicycle equals physical fitness. But I program towards an end, and that > end isn't some sort of macho need for pain. Ultimately, I hope to find a > product I can have a gentlemans conversation with and it does the heavy > lifting, building the logic while we talk in broad poetic terms. Until > then, there is xtalk. Has any xtalk support company really kept up with the > potential of the pioneering direction initiated by smalltalk and hypercard? > I don't think anyone has come close. But, the other languages are even > further behind. Have you tried C or java or lisp or how about a functional > language???? Holy crap! I don't hate "real" programmers, sometimes they > dial in my intent after I have sketched it out in xtalk. That is how I see > xtalk. As a rapid prototyping tool. Maybe the prototype is enough to run > mission critical tasks for years. Sometimes it helps me see what not to do > tomorrow. But mostly it lowers the pain bar exposing a far larger set of > solutions for the same input of time and effort. > > As for the effort needed to build and maintain an interpreted execution > environment... Well it is nothing less than what a compiler does except that > it has to work line by line in real time at rates indistinguishable from > machine binary. Almost impossible. And none of that comes free from apple > or xerox (none legally anyway). But at this level again there is plenty of > competition. Javascript, perl, python, visual basic. Hell, many compiled > languages now come in IDEs which allow an interpreted interactive > development mode. What sets xtalk apart is the pre-built widget objects and > high level functions that can be called and controlled through intuitive > english like phrases. That and the program shell (stack) which handles the > arcane and mundane so that the author can get down to the creation of domain > solutions and not computer science. In my case, the domain is computer > science, and xtalk works just fine. > > randall > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Tue Dec 1 03:17:58 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 1 Dec 2009 00:17:58 -0800 (PST) Subject: Interesting blog post - comments anyone? In-Reply-To: References: Message-ID: Maybe not, but it helped a former student who took my course when it was Hypercard-based to find Rev. That's one more user than the company would otherwise have had. Judy On Mon, 30 Nov 2009, Scott Rossi wrote: > If you have to inform people of the history, I'd say the history has little > value. People want to know 1) What can they do with it, and 2) How many > people are using it, in an effort to determine 3) Is it worth their time and > effort to invest in it. > > Comparing Rev to something that is discontinued and unsupported doesn't > substantiate any of the above. From jperryl at ecs.fullerton.edu Tue Dec 1 03:21:42 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 1 Dec 2009 00:21:42 -0800 (PST) Subject: Interesting blog post - comments anyone? In-Reply-To: <4B14C2D5.9020105@gmail.com> References: <20091201065946.JQFJ29996.atlmtaow01.cingularme.com@Inbox> <4B14C2D5.9020105@gmail.com> Message-ID: What this thread needs is Scotch. Oh, and cheese ;-) Judy On Tue, 1 Dec 2009, Richmond Mathewson wrote: > Cripes! Aspirin, quick, somebody. From lan.kc.macmail at gmail.com Tue Dec 1 03:25:40 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 1 Dec 2009 16:25:40 +0800 Subject: Interesting blog post - comments anyone? In-Reply-To: References: <20091201065946.JQFJ29996.atlmtaow01.cingularme.com@Inbox> <4B14C2D5.9020105@gmail.com> Message-ID: Wensleydale? On Tue, Dec 1, 2009 at 4:21 PM, Judy Perry wrote: > What this thread needs is Scotch. > > Oh, and cheese ;-) > > Judy > > > On Tue, 1 Dec 2009, Richmond Mathewson wrote: > > Cripes! Aspirin, quick, somebody. >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Tue Dec 1 03:38:49 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 1 Dec 2009 16:38:49 +0800 Subject: Recording with RunRev -- Best Config? In-Reply-To: <4B108BCB.5040308@hindu.org> References: <4B108BCB.5040308@hindu.org> Message-ID: On Sat, Nov 28, 2009 at 10:32 AM, Sivakatirswami wrote: > > I really don't care what the output format is... I'll use Switch or > Audacity to get to MP3 in the end > > If you are going to use Audacity, why not cut out the middleman and just record straight into Audacity? From randall at randallreetz.com Tue Dec 1 03:40:28 2009 From: randall at randallreetz.com (Randall Reetz) Date: Tue, 1 Dec 2009 00:40:28 -0800 Subject: Interesting blog post - comments anyone? Message-ID: <20091201084029.LBYS26518.atlmtaow03.cingularme.com@Inbox> Wow, I just found this post. So I will respond. I say what I believe. Period. I haven't, in this case heard anything that would lead me to change anything I have written in this thread (except typos of course). I would send that ticket. Just as I said. I would have that person watch people using run-rev. I would give him full access to all employees and customers. And directly, not through an intermediary. He would contact the users through this commons. Directly. Explaining his exploration, and how he was invited. No need for a middleman. Is this guy the right guy for such a project? I don't know. Maybe. If you see contradictions in the thread of my posts, maybe it is because you still don't understand my original point. Are you that "good soldier" who doesn't see the possibility of respecting your country and criticizing it at the same time? Respect is an eyes wide open prospect, or it isn't worth the title. From jperryl at ecs.fullerton.edu Tue Dec 1 03:50:39 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 1 Dec 2009 00:50:39 -0800 (PST) Subject: Interesting blog post - comments anyone? In-Reply-To: References: <20091201065946.JQFJ29996.atlmtaow01.cingularme.com@Inbox> <4B14C2D5.9020105@gmail.com> Message-ID: Oak-smoked or mature, please :-) Judy On Tue, 1 Dec 2009, Kay C Lan wrote: > Wensleydale? > > On Tue, Dec 1, 2009 at 4:21 PM, Judy Perry wrote: > >> What this thread needs is Scotch. >> >> Oh, and cheese ;-) From runrev260805 at m-r-d.de Tue Dec 1 04:00:29 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 1 Dec 2009 09:00:29 +0000 Subject: Re-2: Interesting blog post - comments anyone? Message-ID: <0003A340.4B14E93B@the-office.us> PLEASE close this thread ! ! ! ! Matthias -------- Original Message -------- Subject: RE: Interesting blog post - comments anyone? (01-Dez-2009 9:42) From: Randall Reetz To: runrev260805 at m-r-d.de > Wow, I just found this post. So I will respond. > > I say what I believe. Period. I haven't, in this case heard anything that > would lead me to change anything I have written in this thread (except > typos of course). I would send that ticket. Just as I said. I would > have that person watch people using run-rev. I would give him full access > to all employees and customers. And directly, not through an intermediary. > He would contact the users through this commons. Directly. Explaining > his exploration, and how he was invited. No need for a middleman. Is this > guy the right guy for such a project? I don't know. Maybe. If you see > contradictions in the thread of my posts, maybe it is because you still don' > t understand my original point. Are you that "good soldier" who doesn't > see the possibility of respecting your country and criticizing it at the > same time? Respect is an eyes wide open prospect, or it isn't worth the > title._______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From lan.kc.macmail at gmail.com Tue Dec 1 04:03:06 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 1 Dec 2009 17:03:06 +0800 Subject: Interesting blog post - comments anyone? In-Reply-To: References: <20091201065946.JQFJ29996.atlmtaow01.cingularme.com@Inbox> <4B14C2D5.9020105@gmail.com> Message-ID: In line with this thread, it would have to be smoked;-) On Tue, Dec 1, 2009 at 4:50 PM, Judy Perry wrote: > Oak-smoked or mature, please :-) > > Judy > > > On Tue, 1 Dec 2009, Kay C Lan wrote: > > Wensleydale? >> >> On Tue, Dec 1, 2009 at 4:21 PM, Judy Perry > >wrote: >> >> What this thread needs is Scotch. >>> >>> Oh, and cheese ;-) >>> >> _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Tue Dec 1 04:04:12 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 1 Dec 2009 17:04:12 +0800 Subject: Re-2: Interesting blog post - comments anyone? In-Reply-To: <0003A340.4B14E93B@the-office.us> References: <0003A340.4B14E93B@the-office.us> Message-ID: Oh, come on, we're just getting to the cheese and crackers;-) On Tue, Dec 1, 2009 at 5:00 PM, wrote: > PLEASE close this thread ! ! ! ! > > Matthias > > > -------- Original Message -------- > Subject: RE: Interesting blog post - comments anyone? (01-Dez-2009 9:42) > From: Randall Reetz > To: runrev260805 at m-r-d.de > > > Wow, I just found this post. So I will respond. > > > > I say what I believe. Period. I haven't, in this case heard anything > that > > would lead me to change anything I have written in this thread (except > > typos of course). I would send that ticket. Just as I said. I would > > have that person watch people using run-rev. I would give him full > access > > to all employees and customers. And directly, not through an > intermediary. > > He would contact the users through this commons. Directly. Explaining > > his exploration, and how he was invited. No need for a middleman. Is > this > > guy the right guy for such a project? I don't know. Maybe. If you see > > contradictions in the thread of my posts, maybe it is because you still > don' > > t understand my original point. Are you that "good soldier" who doesn't > > see the possibility of respecting your country and criticizing it at the > > same time? Respect is an eyes wide open prospect, or it isn't worth the > > title._______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > To: use-revolution at lists.runrev.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From heather at runrev.com Tue Dec 1 04:18:59 2009 From: heather at runrev.com (Heather Nagey) Date: Tue, 1 Dec 2009 09:18:59 +0000 Subject: [Thread Dead] Re: Interesting blog post - comments anyone? In-Reply-To: References: <20091201065946.JQFJ29996.atlmtaow01.cingularme.com@Inbox> <4B14C2D5.9020105@gmail.com> Message-ID: Right well guys, I can see that we have had enough of this thread! As you all know, politics, religion and cheese are banned from being discussed on this list. Just for the record, in case Sarah is feeling uncomfortable, I think it was me he called slimy (by implication, if not directly). You all know who I am, and who I work for, and my post made no attempt to conceal that. I certainly have a great deal of loyalty for RunRev, and I'm flattered Randall thinks we have built a customer service machine second to none - we do try! If I see something I think the folks here would be interested in that is clearly related to Rev, it doesn't seem to me that the majority have any problem with me posting it for debate. An invitation to be polite is merely that... I wouldn't dream of trying to tell any of you what to think or say about us! Doomed to failure ;) But I am entitled to my own, well informed and long held opinion. Since I actually work for the company, and have done for over 10 years now, I can tell you that a more dedicated, hard working, genuine, and committed bunch of people would be hard to find anywhere. Well worth my loyalty. Since I have daily contact with a wide range of the actual users and customers of the company, I can also tell you that you are as a whole a fantastic community, and I'm proud to call many of you my friends. I can also tell you that I see the positive effects of the software we produce daily, and the way it enables people to achieve their aims, both expert programmers and those that do not consider themselves programmers at all. If anyone finds that slimy, or doubts that it is genuine, well, that's a shame. Warm Regards, Heather PS This thread is dead. Do not reply to it. Any further postings on the subject will invite the poster being put on moderation, and since my workload at present is extremely heavy, they can expect to wait several weeks before I find time to sift and approve any moderated postings. On 1 Dec 2009, at 08:25, Kay C Lan wrote: > Wensleydale? > > On Tue, Dec 1, 2009 at 4:21 PM, Judy Perry > wrote: > >> What this thread needs is Scotch. >> >> Oh, and cheese ;-) >> >> Judy >> >> >> On Tue, 1 Dec 2009, Richmond Mathewson wrote: >> >> Cripes! Aspirin, quick, somebody. >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Heather Nagey Customer Services Manager http://www.runrev.com/ RunRev - Software construction for everyone follow me on twitter http://www.twitter.com/lainopik From richmondmathewson at gmail.com Tue Dec 1 05:17:31 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 01 Dec 2009 12:17:31 +0200 Subject: Heather Nagey Message-ID: <4B14ED3B.5060107@gmail.com> She's really great, and it was really super to, finally, meet her this summer. And, I am not one to describe people as 'super' lightly. Richmond Mathewson. From generic.email.30022 at gmail.com Tue Dec 1 08:17:06 2009 From: generic.email.30022 at gmail.com (Generic Email) Date: Tue, 1 Dec 2009 07:17:06 -0600 Subject: tRev In-Reply-To: <8578F3C1-6A05-41C3-B7F7-B69C90C3F8BC@me.com> References: <8578F3C1-6A05-41C3-B7F7-B69C90C3F8BC@me.com> Message-ID: Jerry, When you purchase it in the Mega Bundle this weekend, you get the zip and a reg code. Like this: tRev From: Daniels & Mara Download: Download for Windows or Mac License Code: 129079800XXXX No link to your site. Googling tRev gives me many links before getting to your site. trev.com is not you. If you had included this html page (http://reveditor.com/?search=installation) in your distribution zip, it would have helped. If you need to find the path to the running Revolution, try ps aux | grep Revolution | grep -v grep. From mcgrath3 at mac.com Tue Dec 1 08:24:29 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 01 Dec 2009 08:24:29 -0500 Subject: Heather Nagey In-Reply-To: <4B14ED3B.5060107@gmail.com> References: <4B14ED3B.5060107@gmail.com> Message-ID: And as a list-mom she is the best.... Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 1, 2009, at 5:17 AM, Richmond Mathewson wrote: > She's really great, and it was really super to, finally, > meet her this summer. > > And, I am not one to describe people as 'super' > lightly. > > Richmond Mathewson. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jerry.daniels at me.com Tue Dec 1 08:42:02 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 1 Dec 2009 07:42:02 -0600 Subject: tRev In-Reply-To: References: <8578F3C1-6A05-41C3-B7F7-B69C90C3F8BC@me.com> Message-ID: To all megabundle purchases and that Generic person (get a real name, btw)... This news that buyers of the Megabundle get nothing but a zip file and a reg code with tRev and tText is not right. Since I have never gotten a megabundle personally (I'm one of the vendors for it) I was not aware! I have no idea if this minimalist fulfillment approach has spread to other products in the bundle, but, nevertheless, on behalf of my colleagues in the RevSelect program, I apologize profusely, if that is the case. Anyone who has not gotten proper fulfillment on tRev and tText with the Megabundle delivery, here are some links for you: tRev: - Installation: http://reveditor.com/?search=installation - Quickstart: http://reveditor.com/trev-quickstart-get-started-fast - FAQs: http://reveditor.com/frequently-asked-questions-27 - Shortcuts: http://reveditor.com/trev-shortcuts-with-snap-shortcuts tText: - Quickstart: http://reveditor.com/ttext-quickstart-get-started-fast - Free plugins: http://reveditor.com/tag/ttextpluginfree You can email me with questions, but please read the material first. There will not be a pop quiz and this will not be on the final. Best, Jerry Daniels jerry at daniels-mara.com On Dec 1, 2009, at 7:17 AM, Generic Email wrote: > Jerry, > > When you purchase it in the Mega Bundle this weekend, you get the > zip and a reg code. Like this: > tRev > From: Daniels & Mara > Download: Download for Windows or Mac > License Code: > 129079800XXXX > > > No link to your site. Googling tRev gives me many links before > getting to your site. trev.com is not you. > If you had included this html page (http://reveditor.com/?search=installation > ) in your distribution zip, it would have helped. > If you need to find the path to the running Revolution, try ps aux | > grep Revolution | grep -v > grep._______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Tue Dec 1 08:44:56 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 1 Dec 2009 08:44:56 -0500 Subject: Stand alone builds and data grids In-Reply-To: References: Message-ID: <9F3E9D45-ACE5-45A2-9B4C-08A574E2CAFE@mangomultimedia.com> On Nov 30, 2009, at 7:30 PM, Alex Adams wrote: > I do have a splash stack. The openStack code looks like this (with the > exception of the Quartam Reports serial number. The instructions in the following lesson explain how to get the Data Grid to work with a splash stack. What Do I Need to Do To Deploy a Standalone With A Data Grid?: -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From toncardona at mac.com Tue Dec 1 09:51:56 2009 From: toncardona at mac.com (Ton Cardona) Date: Tue, 01 Dec 2009 15:51:56 +0100 Subject: Speeding a handler? Message-ID: <5615BCC8-B4DB-4D96-B769-7204639AAA52@mac.com> I have a text field with 5.729 lines. 826 of them, those containing quotes, must appear coloured in red so the instruction would be: put 0 into x repeat for each line aLine of fld someFld add 1 to x if quote is in aLine then set the forecolor of line x of fld someFld to "red" replace quote with empty in line x of fld someFld end if end repeat The problem is it takes 55 seconds. I have reduced this time to 33 seconds by recording previously the numbers of the lines to be coloured and storing them in a customProp, yet it still takes 33 seconds. Does anyone know a faster way of performing this task? Thanks in advance, Ton From alex at a2technology.com Tue Dec 1 10:29:42 2009 From: alex at a2technology.com (Alex Adams) Date: Tue, 01 Dec 2009 07:29:42 -0800 Subject: Stand alone builds and data grids In-Reply-To: <9F3E9D45-ACE5-45A2-9B4C-08A574E2CAFE@mangomultimedia.com> Message-ID: Trevor, Terry, and everyone who contributed, I read the instructions Trevor. Everyone was on track as to what was missing, but the tricks for including the revDataGridLibrary in the build automatically do not work, so I added the stack manually and put the start using line in the openStack handler of the splash stack and everything appears to be fine. I suspect that your suggestions for getting rev to include the library didn't work because all my stacks are sub stacks of the splash stack at the time of build expect LibUUID, qrtReportsLib, and revDataGridLibrary. The build process splits them off. So at the time of build the templates stack is already a sub stack of the splash stack. Anyway, all is good now. Thanks, -- Alex Adams hawkVision ? tools for solving Wicked Problems (a)2 Technology Partners, Inc. 831-726-8013 alex at a2tecnology.com www.a2technology.com www.promisstudio.com universalconnector.wordpress.com > From: Trevor DeVore > Reply-To: How to use Revolution > Date: Tue, 1 Dec 2009 08:44:56 -0500 > To: How to use Revolution > Subject: Re: Stand alone builds and data grids > > On Nov 30, 2009, at 7:30 PM, Alex Adams wrote: > >> I do have a splash stack. The openStack code looks like this (with the >> exception of the Quartam Reports serial number. > > The instructions in the following lesson explain how to get the Data > Grid to work with a splash stack. > > What Do I Need to Do To Deploy a Standalone With A Data Grid?: > o-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid- >> > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: > http://revolution.bluemangolearning.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dam-pro.girard at laposte.net Tue Dec 1 10:30:24 2009 From: dam-pro.girard at laposte.net (Damien Girard) Date: Tue, 01 Dec 2009 16:30:24 +0100 Subject: Speeding a handler? In-Reply-To: <5615BCC8-B4DB-4D96-B769-7204639AAA52@mac.com> References: <5615BCC8-B4DB-4D96-B769-7204639AAA52@mac.com> Message-ID: <4B153690.2050608@laposte.net> Hi, Did you locked the screen ? lock screen put 0 into x repeat for each line aLine of fld someFld add 1 to x if quote is in aLine then set the forecolor of line x of fld someFld to "red" replace quote with empty in line x of fld someFld end if end repeat unlock screen Regards, Damien Girard Dam-pro, France. Improve your code reusability with NativeDoc! http://www.dam-pro.com/nativedoc Ton Cardona a ?crit : > I have a text field with 5.729 lines. 826 of them, those containing quotes, must appear coloured in red so the instruction would be: > > put 0 into x > repeat for each line aLine of fld someFld > add 1 to x > if quote is in aLine then > set the forecolor of line x of fld someFld to "red" > replace quote with empty in line x of fld someFld > end if > end repeat > > The problem is it takes 55 seconds. > > I have reduced this time to 33 seconds by recording previously the numbers of the lines to be coloured and storing them in a customProp, yet it still takes 33 seconds. > > Does anyone know a faster way of performing this task? > > Thanks in advance, > > Ton > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From coiin at verizon.net Tue Dec 1 10:32:50 2009 From: coiin at verizon.net (Colin Holgate) Date: Tue, 01 Dec 2009 10:32:50 -0500 Subject: Speeding a handler? In-Reply-To: <5615BCC8-B4DB-4D96-B769-7204639AAA52@mac.com> References: <5615BCC8-B4DB-4D96-B769-7204639AAA52@mac.com> Message-ID: On Dec 1, 2009, at 9:51 AM, Ton Cardona wrote: > I have reduced this time to 33 seconds by recording previously the numbers of the lines to be coloured and storing them in a customProp, yet it still takes 33 seconds. In that version, were you still getting the lines from the field? What happens if you store the whole field into a variable, then run through the variable to make your list of lines to color, at the end of that do a single replace quote with empty, put the variable back into the field, and then color the lines. At the moment you are accessing the field up to 17187 times in the routine. Transferring the field into a variable first would cut out up to 12000 of those accesses. From generic.email.30022 at gmail.com Tue Dec 1 10:56:27 2009 From: generic.email.30022 at gmail.com (Generic Email) Date: Tue, 1 Dec 2009 09:56:27 -0600 Subject: Professional Application Development With Revolution (Downloadable Course) Message-ID: <7C99600B-C35C-40C7-8831-6321EEE2280C@gmail.com> Bravo! The class was wonderful. Thank you! From david at dvglasgow.wanadoo.co.uk Tue Dec 1 11:06:01 2009 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Tue, 1 Dec 2009 16:06:01 +0000 Subject: Corrupted screenshots using revprintfield In-Reply-To: <20091126180006.085C848AB06@mail.runrev.com> References: <20091126180006.085C848AB06@mail.runrev.com> Message-ID: <4F522A02-2FB0-45BB-846E-F845415B4DBB@dvglasgow.wanadoo.co.uk> Rev 4, OS X 10.5 I have a results field that accumulates text and images which are imagesource references to screen snapshots ( as png) of different parts of the interface. One imagesource reference is to a png which is not a snapshot. The results field looks fine in the stack, but when I print to any printer or to PDF, the snapshot PNG references print rectangles of the correct size, in the right place but with a corrupted image. Critically, the one reference which isn't to a screenshot prints fine. If I take a screenshot of the field contents, I can print that with no problem, so it looks like a very specific interaction between snapshot and revprintfield. Anyone else getting this? Any suggestions to get around it? David Glasgow From lists at mangomultimedia.com Tue Dec 1 11:31:06 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 1 Dec 2009 11:31:06 -0500 Subject: Professional Application Development With Revolution (Downloadable Course) In-Reply-To: <7C99600B-C35C-40C7-8831-6321EEE2280C@gmail.com> References: <7C99600B-C35C-40C7-8831-6321EEE2280C@gmail.com> Message-ID: On Dec 1, 2009, at 10:56 AM, Generic Email wrote: > Bravo! The class was wonderful. Thank you! Oh Generic One, Glad you liked it :-) -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From gregory.lypny at videotron.ca Tue Dec 1 11:33:02 2009 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 01 Dec 2009 11:33:02 -0500 Subject: Problem Calling Custom Card Props with the Same Name Using Switch In-Reply-To: <20091130213036.C1CD6288206@mail.runrev.com> References: <20091130213036.C1CD6288206@mail.runrev.com> Message-ID: <46E289D0-A044-46F9-98FE-53FD3E0118FF@videotron.ca> Hello Jim and Jacqueline, Jim, I've no problem with your quick answer. The Rev tech people have resolved the issue (see below), giving a very good answer. It turns out that the problem arises when the variable that receives the value of the custom prop has the same name as the custom prop and not, as I originally thought, that the same custom prop name is used for multiple objects. Recall that I had used put the y of this card into y, where both the custom prop and the variable have the same name, in addition to that name being used for custom props on other cards. I think both of you, as well as others on the list, were able to create stacks where the problem does not occur because you gave your custom prop a different name from the receiving variable, such as put the cy of this card into y, so in those instances, my original example was not replicated, but the answer lay hidden in yours. Glad that it's resolved, and thanks to everyone for taking such a thoughtful look at it! Regards, Gregory Gregory Lypny Associate Professor of Finance John Molson School of Business Concordia University Montreal, Canada > Hi Gregory, thanks for your report. > > The problem is a result of using the same names for the custom object > properties and the temporary variables. If you attempt to access a custom > property using a variable, the contents of that variable will be the key used > to fetch the custom property, rather than the variable name > > Due to the way that scripts are parsed, y is not recognised as a variable until > the first "put the y of this card into y". The first time, y is interpreted as > the literal string "y". The second time, it is instead interpreted as the > contents of variable y. > > You will find that if you enable variable checking in the script editor and > declare your variables at the top of the mouseUp handler with the line "local > x, y, z", the script will no longer display the values of the first card. This > is because x & y are now recognised as variables from the start. > > For this reason, you should always use temporary variable names that are > distinct from the names of custom properties. One suggestion which I use often > is to prefix temporary variable names with t, e.g tWidth & tHeight instead of > width & height, or alternatively prefix your custom property names with c, e.g. > cX, cY, cZ instead of x, y, z. > > > Ian. From francois.chaplais at mines-paristech.fr Tue Dec 1 11:35:04 2009 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Tue, 1 Dec 2009 17:35:04 +0100 Subject: QT on Win: possible deal-breaker, need alternative In-Reply-To: <4B14330D.3050104@fourthworld.com> References: <4B14330D.3050104@fourthworld.com> Message-ID: <62E1E415-2C1F-4C4C-B372-53CE176CABBB@mines-paristech.fr> wouldn't a batch converter do the trick? Is someone familiar with audacity on the list? Will it do it? BTW, people that will not install QT will not, I suspect, install runrev's browser plugin :-( Fran?ois Le 30 nov. 2009 ? 22:03, Richard Gaskin a ?crit : > I have a project out to bid which is currently spec'd to require QuickTime on both Mac and Win. The client is discussing this with his customers to determine whether it will be acceptable to them to install QT on their systems. In the event that those customers say no I need a backup, and preferably one which lets me deliver this project in Rev. > > Here are the specs: > > a. Source media files are in WAV, AIF, and MP3, with thousands of them and many of full-length songs so embedded audio clips are not an option. > > b. Must be able to play the file. > > c. Must be able to move the playhead in whatever UI we deliver to allow playback from arbitrary starting points. > > > In my tests here using a Win XP system without QT installed, b. works fine only for MP3, but I couldn't play WAV files in Rev at all. > > c. was a non-starter for all formats: attempting to set the currentTime for a player control yielded no change to when the file began playing; if the file had not be played before it would only play from 0, and if it had played and been stopped using the stop command then the next play would always resume where it had last stopped, regardless of the currentTime. > > Last time I asked about this here one of the responses (from Andre?) suggested using a player made with Flash embedded in HTML inside the Rev browser. > > If we have no alternative that may be okay, but I'm concerned about the layers of overhead introduced by relying on those two extra components. > > Have any of you used a similar configuration for playing WAV files on a PC? > > Was the performance acceptable? > > Any drawbacks with such a setup? > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From francois.chaplais at mines-paristech.fr Tue Dec 1 11:44:50 2009 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Tue, 1 Dec 2009 17:44:50 +0100 Subject: QT on Win: possible deal-breaker, need alternative In-Reply-To: <4B14330D.3050104@fourthworld.com> References: <4B14330D.3050104@fourthworld.com> Message-ID: <58A68DB9-3C63-40FD-B24E-6552F3E5A464@mines-paristech.fr> Also, mediarage is in the macbundles http://www.themacbundles.com/ excerpt from the readme file: ---------------- What's New in 3.0? Release Date 2007-02-12 **This version requires purchase of an upgrade license ($9.95) for previous users of Media Rage or MP3 Rage. New Tools & Apps: - [Feature] new Tool Chain window - enables running some of Media Rage's diverse toolset in a sequential manner. - [Feature] new Music Exporter tool - converts files between supported QuickTime formats (e.g. mp3/mp4 -> AIFF, AIFF -> AVI, etc.). - [Feature] new Data Remover tool - can remove specific metadata from files (e.g. ID3 tag frames). - [Feature] new command line version of the Data Changer tool for use in your own scripts, apps, etc. - [Feature] The Media Rage package now includes the 'TuneHound' iTunes accessory application. - [Feature] Create M3U Simple, M3U Extended, and PLS formatted playlists (via the Data Import/Export tool). HTH Le 30 nov. 2009 ? 22:03, Richard Gaskin a ?crit : > I have a project out to bid which is currently spec'd to require QuickTime on both Mac and Win. The client is discussing this with his customers to determine whether it will be acceptable to them to install QT on their systems. In the event that those customers say no I need a backup, and preferably one which lets me deliver this project in Rev. > > Here are the specs: > > a. Source media files are in WAV, AIF, and MP3, with thousands of them and many of full-length songs so embedded audio clips are not an option. > > b. Must be able to play the file. > > c. Must be able to move the playhead in whatever UI we deliver to allow playback from arbitrary starting points. > > > In my tests here using a Win XP system without QT installed, b. works fine only for MP3, but I couldn't play WAV files in Rev at all. > > c. was a non-starter for all formats: attempting to set the currentTime for a player control yielded no change to when the file began playing; if the file had not be played before it would only play from 0, and if it had played and been stopped using the stop command then the next play would always resume where it had last stopped, regardless of the currentTime. > > Last time I asked about this here one of the responses (from Andre?) suggested using a player made with Flash embedded in HTML inside the Rev browser. > > If we have no alternative that may be okay, but I'm concerned about the layers of overhead introduced by relying on those two extra components. > > Have any of you used a similar configuration for playing WAV files on a PC? > > Was the performance acceptable? > > Any drawbacks with such a setup? > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From generic.email.30022 at gmail.com Tue Dec 1 12:04:29 2009 From: generic.email.30022 at gmail.com (Generic Email) Date: Tue, 1 Dec 2009 11:04:29 -0600 Subject: tText oddity Message-ID: On OS X I sometimes open files from the command line using this syntax: open -a tText filename.txt When I do this with tText, it opens the file and then replaces the text in the file with whatever is in my clipboard. From stephenREVOLUTION2 at barncard.com Tue Dec 1 12:08:05 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 1 Dec 2009 09:08:05 -0800 Subject: tText oddity In-Reply-To: References: Message-ID: That is what it is supposed to do. Turn off the option in tText prefs. sqb ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/1 Generic Email > On OS X I sometimes open files from the command line using this syntax: > > open -a tText filename.txt > > When I do this with tText, it opens the file and then replaces the text in > the file with whatever is in my clipboard. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdev at pdslabs.net Tue Dec 1 12:15:43 2009 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 01 Dec 2009 09:15:43 -0800 Subject: Speeding a handler? In-Reply-To: <5615BCC8-B4DB-4D96-B769-7204639AAA52@mac.com> References: <5615BCC8-B4DB-4D96-B769-7204639AAA52@mac.com> Message-ID: <4B154F3F.2060208@pdslabs.net> Hello Ton, This should be MUCH faster because the text is moved to a variable for processing. It assumes all text in the field is either red or black. on mouseUp put 1 into someFld -- I used fld 1 in my test -- get colored text from field put the htmlText of fld someFld into tText -- remove quote char from html (but leave " entity) replace quote with empty in tText -- remove all red color from text replace "" with empty in tText replace "" with empty in tText -- set text line color to red if line contains a quote repeat for each line tLine in tText if """ is in tLine -- this line contains a quote then -- make the text red put "" after char 3 of tLine -- after "

" put "" before char -4 of tLine -- before "

" end if put tLine & cr after tNewText end repeat delete last char of tNewText -- update the field with recolored text lock screen put the vScroll of fld someFld into x set the htmlText of fld someFld to tNewText set the vScroll of fld someFld to x unlock screen end mouseUp HTH - Phil Davis Ton Cardona wrote: > I have a text field with 5.729 lines. 826 of them, those containing quotes, must appear coloured in red so the instruction would be: > > put 0 into x > repeat for each line aLine of fld someFld > add 1 to x > if quote is in aLine then > set the forecolor of line x of fld someFld to "red" > replace quote with empty in line x of fld someFld > end if > end repeat > > The problem is it takes 55 seconds. > > I have reduced this time to 33 seconds by recording previously the numbers of the lines to be coloured and storing them in a customProp, yet it still takes 33 seconds. > > Does anyone know a faster way of performing this task? > > Thanks in advance, > > Ton > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From generic.email.30022 at gmail.com Tue Dec 1 12:24:04 2009 From: generic.email.30022 at gmail.com (Generic Email) Date: Tue, 1 Dec 2009 11:24:04 -0600 Subject: tText oddity In-Reply-To: References: Message-ID: Thanks! I didn't know it was a "feature." Would be great if it only edited the clipboard if I didn't explicitly tell it which file I wanted edited. On Dec 1, 2009, at 11:08 AM, stephen barncard wrote: > That is what it is supposed to do. Turn off the option in tText prefs. > > sqb > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > > > 2009/12/1 Generic Email > >> On OS X I sometimes open files from the command line using this syntax: >> >> open -a tText filename.txt >> >> When I do this with tText, it opens the file and then replaces the text in >> the file with whatever is in my clipboard. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Tue Dec 1 12:25:52 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 01 Dec 2009 19:25:52 +0200 Subject: Rev 4.0 on PPC Linux? Message-ID: <4B1551A0.9050006@gmail.com> Does anybody know if Rev Studio for Linux will run on any PPC Linux distros? From niggemann at uni-wh.de Tue Dec 1 11:26:35 2009 From: niggemann at uni-wh.de (BNig) Date: Tue, 1 Dec 2009 08:26:35 -0800 (PST) Subject: Speeding a handler? In-Reply-To: References: <5615BCC8-B4DB-4D96-B769-7204639AAA52@mac.com> Message-ID: <1259684795320-932300.post@n4.nabble.com> How about something like this: make 2 fields, field 1 has the data, field 2 will have the output ------------------------------------------ local tStartP, tEndP on mouseUp put "

" into tStartP put "

" into tEndP put "" into tStartFont put "" into tEndFont put field 1 into tData put "" into tCollect put the milliseconds into tStart repeat for each line aLine in tData if quote is in aLine then replace quote with "" in aLine put putP((tStartFont & aLine & tEndFont)) after tCollect else put putP(aLine) after tCollect end if end repeat set the htmlText of field 2 to tCollect put the milliseconds - tStart end mouseUp private function putP what return tStartP & what & tEndP end putP ------------------------------------------ regards Bernd > On Dec 1, 2009, at 9:51 AM, Ton Cardona wrote: > >> I have reduced this time to 33 seconds by recording previously the >> numbers of the lines to be coloured and storing them in a customProp, yet >> it still takes 33 seconds. > -- View this message in context: http://n4.nabble.com/Speeding-a-handler-tp932254p932300.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Tue Dec 1 12:54:46 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 1 Dec 2009 18:54:46 +0100 Subject: Rev 4.0 on PPC Linux? In-Reply-To: <4B1551A0.9050006@gmail.com> References: <4B1551A0.9050006@gmail.com> Message-ID: <0DCD1ADA-D432-4C96-AEA1-90E6B8098F0A@economy-x-talk.com> Richmond, Officially, I don't know, because there are no system requirements on this page or anywhere else AFAIK. Unofficially, during the past years, we have only seen x86 distributions for Linux, so I have no reason to believe that we may expect a PPC version anytime soon. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Download Str?m Flow Chart Software http://flowproject.economy-x-talk.com Op 1 dec 2009, om 18:25 heeft Richmond Mathewson het volgende geschreven: > Does anybody know if Rev Studio for Linux will > run on any PPC Linux distros? From jerry.daniels at me.com Tue Dec 1 13:00:29 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 1 Dec 2009 12:00:29 -0600 Subject: tText amazing feature In-Reply-To: References: Message-ID: It's a preference and a feature accessible via the prefs palette. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-stacks-0 On Dec 1, 2009, at 11:24 AM, Generic Email wrote: > Thanks! I didn't know it was a "feature." > > Would be great if it only edited the clipboard if I didn't > explicitly tell it which file I wanted edited. > > > On Dec 1, 2009, at 11:08 AM, stephen barncard wrote: > >> That is what it is supposed to do. Turn off the option in tText >> prefs. >> >> sqb >> ------------------------- >> Stephen Barncard >> San Francisco >> http://houseofcubes.com/disco.irev >> >> >> 2009/12/1 Generic Email >> >>> On OS X I sometimes open files from the command line using this >>> syntax: >>> >>> open -a tText filename.txt >>> >>> When I do this with tText, it opens the file and then replaces the >>> text in >>> the file with whatever is in my clipboard. >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pete at mollysrevenge.com Tue Dec 1 13:13:54 2009 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 1 Dec 2009 10:13:54 -0800 Subject: use-revolution Digest, Vol 75, Issue 1 In-Reply-To: <20091201091904.41529288726@mail.runrev.com> References: <20091201091904.41529288726@mail.runrev.com> Message-ID: <725C8075-C043-454D-91EF-504D4499B574@mollysrevenge.com> Strongly seconded. Email is NOT the right medium for discussions like this. Pete On Dec 1, 2009, at 1:19 AM, use-revolution-request at lists.runrev.com wrote: > Message: 26 > Date: Tue, 1 Dec 2009 09:00:29 +0000 > From: runrev260805 at m-r-d.de > Subject: Re-2: Interesting blog post - comments anyone? > To: use-revolution at lists.runrev.com > Message-ID: <0003A340.4B14E93B at the-office.us> > Content-Type: text/plain; charset="iso-8859-1" > > PLEASE close this thread ! ! ! ! > > Matthias From toncardona at mac.com Tue Dec 1 13:41:01 2009 From: toncardona at mac.com (Ton Cardona) Date: Tue, 01 Dec 2009 19:41:01 +0100 Subject: speeding a handler? Message-ID: Thanks a lot, Phil. Your handler is as fast as lightning. I've had to add a line of code to replace quotes since they still showed in the fld: repeat for each line tLine in tText if """ is in tLine -- this line contains a quote then -- make the text red put "" after char 3 of tLine -- after "

" put "" before char -4 of tLine -- before "

" end if replace """ with empty in tLine --line added by me put tLine & cr after tNewText end repeat I am really very grateful. Best regards, Ton From richmondmathewson at gmail.com Tue Dec 1 13:44:15 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 01 Dec 2009 20:44:15 +0200 Subject: Rev 4.0 on PPC Linux? In-Reply-To: <0DCD1ADA-D432-4C96-AEA1-90E6B8098F0A@economy-x-talk.com> References: <4B1551A0.9050006@gmail.com> <0DCD1ADA-D432-4C96-AEA1-90E6B8098F0A@economy-x-talk.com> Message-ID: <4B1563FF.4070706@gmail.com> On 12/1/09 7:54 PM, Mark Schonewille wrote: > Richmond, > > Officially, I don't know, because there are no system requirements on > this page or > anywhere else AFAIK. > > Unofficially, during the past years, we have only seen x86 > distributions for Linux, so I have no reason to believe that we may > expect a PPC version anytime soon. > Thanks. ---------------------------------------------------------------------------- I was wondering about bunging this: http://cdimage.ubuntu.com/ports/releases/9.10/release/ on a 'stray' PPC MacMini I have that is being remarkably unproductive right now. I don't know how 'close' a Linux build of RunRev gets to the code that 'talks' directly to a processor, so don't know whether the Linux build of Studio 4 will only function on an x86 processor. I am torn between reinstalling Mac OS Tiger (which has gone 'sour' - Yes, Mac OS X can go sour, as can Windows) and PPC Ubuntu, and then either Studio (cannot install Mac Studio as is already on my G4 cooker) or Media as a 'toy' for the country cottage next spring. Either way, will install: GIMP, AUDACITY and FONT FORGE which, along with RunRev are, for me, the indispensables. sincerely, Richmond. From revdev at pdslabs.net Tue Dec 1 13:51:27 2009 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 01 Dec 2009 10:51:27 -0800 Subject: speeding a handler? In-Reply-To: References: Message-ID: <4B1565AF.3000503@pdslabs.net> Hey, I'm glad it helped! To get another slight speed increase, you can move your new line of code outside the repeat loop (below the loop) - but instead of: replace """ with empty in tLine It would say: replace """ with empty in tNewText One time for the whole list instead of once per line. :-) Phil Ton Cardona wrote: > Thanks a lot, Phil. Your handler is as fast as lightning. > > I've had to add a line of code to replace quotes since they still showed in the fld: > > repeat for each line tLine in tText > if """ is in tLine -- this line contains a quote > then -- make the text red > put "" after char 3 of tLine -- after "

" > put "" before char -4 of tLine -- before "

" > end if > replace """ with empty in tLine --line added by me > put tLine & cr after tNewText > end repeat > > I am really very grateful. > > Best regards, > > Ton > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From jim at visitrieve.com Tue Dec 1 16:06:42 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Tue, 1 Dec 2009 11:06:42 -1000 Subject: Problem Calling Custom Card Props with the Same Name Using Switch In-Reply-To: <46E289D0-A044-46F9-98FE-53FD3E0118FF@videotron.ca> References: <20091130213036.C1CD6288206@mail.runrev.com> <46E289D0-A044-46F9-98FE-53FD3E0118FF@videotron.ca> Message-ID: <000501ca72ca$2f7a87c0$8e6f9740$@com> Gregory Lypny wrote: > Hello Jim and Jacqueline, > > Jim, I've no problem with your quick answer. > > The Rev tech people have resolved the issue (see below), giving a very > good answer. It turns out that the problem arises when the variable > that receives the value of the custom prop has the same name as the > custom prop and not, as I originally thought, that the same custom prop > name is used for multiple objects. Recall that I had used > > put the y of this card into y, > > where both the custom prop and the variable have the same name, in > addition to that name being used for custom props on other cards. I > think both of you, as well as others on the list, were able to create > stacks where the problem does not occur because you gave your custom > prop a different name from the receiving variable, such as > > put the cy of this card into y, > > so in those instances, my original example was not replicated, but the > answer lay hidden in yours. > > Glad that it's resolved, and thanks to everyone for taking such a > thoughtful look at it! > > Regards, > > Gregory > > > > Gregory Lypny > > Associate Professor of Finance > John Molson School of Business > Concordia University > Montreal, Canada > > > > > > Hi Gregory, thanks for your report. > > > > The problem is a result of using the same names for the custom object > > properties and the temporary variables. If you attempt to access a > custom > > property using a variable, the contents of that variable will be the > key used > > to fetch the custom property, rather than the variable name > > > > Due to the way that scripts are parsed, y is not recognised as a > variable until > > the first "put the y of this card into y". The first time, y is > interpreted as > > the literal string "y". The second time, it is instead interpreted > as the > > contents of variable y. > > > > You will find that if you enable variable checking in the script > editor and > > declare your variables at the top of the mouseUp handler with the > line "local > > x, y, z", the script will no longer display the values of the first > card. This > > is because x & y are now recognised as variables from the start. > > > > For this reason, you should always use temporary variable names that > are > > distinct from the names of custom properties. One suggestion which I > use often > > is to prefix temporary variable names with t, e.g tWidth & tHeight > instead of > > width & height, or alternatively prefix your custom property names > with c, e.g. > > cX, cY, cZ instead of x, y, z. > > > > > > Ian. Yes. Even though I said I do it all the time, something I have never done is use a single char variable or custom property name. The reason for this is I preface all vars with either "g" (global), "s" (script local - some people use "l"), "k" (constant), "t" (meaning "the" or "this" - handler local) or "p" (parameter). And "c" (custom property set), or "u" (user single custom property). So it would have to be at least 2-chars and in your case it would have been *put the uX of... into tX. If it were a custom property set, it would have been *put the cX["uX"] of... into tX. As you can see, using conventions like this, automatically preclude the issue you encountered. But since I was testing to see if there was a problem with a 1-char custom property, I used your X, Y and Z. And I didn't use a behavior in order not to confuse the issue. Also, I automatically removed the spaces in the card names because as Jacquie pointed out both First and Card are reserved words, but in general, you make yourself vulnerable to these kinds of issues, if you use common single words to name objects and vars. I also prefix everything like handler and object names. This is not common, and some are critical of the extra keystrokes, but I find, it eliminates the possibility of my handlers or objects being named the same as another stack in memory. And, as many know, I am a proponent of explicit vars (but I won't get into that ;-). Also, use of parenthesis to force resolution, while not necessary, is another good practice and usually makes code more readable such as: *put "this is a line" into line (the number of lines of fld "MyField" + 1) of fld "MyField* You could use *put "This is a line" after...* but then you have to manage CRs. The parenthesis above force resolution to a number first and, I think, makes the statement more readable. Bottom line, all of the above saves hours of debugging time for both you and others in the long run. And, if you use verbose variable, handler and object names, you save even more time and memory strain, six-months down the line, when you go to make a simple change to the code. Aloha from Hawaii, Jim Bufalini From mcgrath3 at mac.com Tue Dec 1 16:14:18 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 01 Dec 2009 16:14:18 -0500 Subject: QT on Win: possible deal-breaker, need alternative In-Reply-To: <62E1E415-2C1F-4C4C-B372-53CE176CABBB@mines-paristech.fr> References: <4B14330D.3050104@fourthworld.com> <62E1E415-2C1F-4C4C-B372-53CE176CABBB@mines-paristech.fr> Message-ID: I just used webex today to do a demo of a Runrev project that is too big for the web plugin but I still had to ask everyone to download the webex plugin anyway. No one complained. I think the general public is and should be more worried about downloading a plugin blindly coming across my website than someone I invite to download a plugin. And now there are five more people with the webex plugin. I am working on converting my demo (5 GB) to an online version to bypass webex for the next time. Then there will be five more who have the revWeb plugin... Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 1, 2009, at 11:35 AM, Fran?ois Chaplais wrote: > BTW, people that will not install QT will not, I suspect, install > runrev's browser plugin :-( > Fran?ois From mcgrath3 at mac.com Tue Dec 1 16:16:10 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 01 Dec 2009 16:16:10 -0500 Subject: tText amazing feature In-Reply-To: References: Message-ID: Jerry, Nice Subject change. LOL thought I was seeing things...... Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 1, 2009, at 1:00 PM, Jerry Daniels wrote: > It's a preference and a feature accessible via the prefs palette. > > Best, > > Jerry Daniels > > The latest Rev Editor Video: > http://reveditor.com/feature-friday-drag-n-drop-stacks-0 > > > On Dec 1, 2009, at 11:24 AM, Generic Email wrote: > >> Thanks! I didn't know it was a "feature." >> >> Would be great if it only edited the clipboard if I didn't >> explicitly tell it which file I wanted edited. >> >> >> On Dec 1, 2009, at 11:08 AM, stephen barncard wrote: >> >>> That is what it is supposed to do. Turn off the option in tText >>> prefs. >>> >>> sqb >>> ------------------------- >>> Stephen Barncard >>> San Francisco >>> http://houseofcubes.com/disco.irev >>> >>> >>> 2009/12/1 Generic Email >>> >>>> On OS X I sometimes open files from the command line using this >>>> syntax: >>>> >>>> open -a tText filename.txt >>>> >>>> When I do this with tText, it opens the file and then replaces >>>> the text in >>>> the file with whatever is in my clipboard. >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From calhorner at xtra.co.nz Tue Dec 1 16:11:03 2009 From: calhorner at xtra.co.nz (Cal Horner) Date: Wed, 2 Dec 2009 10:11:03 +1300 (New Zealand Daylight Time) Subject: Has anyone tried this? Message-ID: <4B15865E.000007.03972@CALS_BIG_PC> Call me old-fashioned but after trying several text editors I still prefer the script editor that comes with runrev. But like most change-agents I would like to make several of my own enhancements. The main one would be based around a new menu on the script editor itself. The menu-items would be derivatives of the plug-ins I am already using to create template code. So, that's what I want to do. I guess my questions are: 1. Has anyone tried this before? 2. If you have, were successful? 3. If you were successful, would you like to share? 4. If it has never been done, does anyone out there have any ideas? Thanks Cal From bvg at mac.com Tue Dec 1 16:45:29 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 01 Dec 2009 22:45:29 +0100 Subject: [ANN] BvG Docu 1.6 Message-ID: <4D16F2C9-19B1-4A90-9B32-D9C8B3FCFFD4@mac.com> This is another quick fix to BvG Docu, there where more garbled entries found in the XML files of rev 4.0. As BvG Docu uses the strict XML mode, there are more problems with the parsing for me then for the guys in Edinburgh. BvG Docu is a complete reimplementation of the build-in dictionary of Rev. It works with all versions since Rev 2.7.5 (or so), and is much faster to use then Rev's implementation. Read more about it here: http://bjoernke.com/?target=bvgdocu or download it directly: http://bjoernke.com/bvgdocu/bvg_docu1.6.rev have fun Bj?rnke -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From bvg at mac.com Tue Dec 1 17:19:30 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 01 Dec 2009 23:19:30 +0100 Subject: Has anyone tried this? In-Reply-To: <4B15865E.000007.03972@CALS_BIG_PC> References: <4B15865E.000007.03972@CALS_BIG_PC> Message-ID: <09582DEC-21BA-4C73-8534-B1CD1563EBA8@mac.com> > But like most change-agents I would like to make several of my own > enhancements. > > > 4. If it has never been done, does anyone out there have any ideas? You can add anything to the template "script editor" stack. Just enable rev gui elements, and off you go. Warning: completely breaking your ide beyond repair is quite possible when you muck around with the script editor. -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From m.schonewille at economy-x-talk.com Tue Dec 1 17:21:22 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 1 Dec 2009 23:21:22 +0100 Subject: Ethics... and the lack of it. In-Reply-To: <1259631455056-931785.post@n4.nabble.com> References: <1259631455056-931785.post@n4.nabble.com> Message-ID: <02044154-E7D4-4006-9623-26BCB358186B@economy-x-talk.com> Alejandro, It is not clear to me whether someone created software for someone else, or whether someone else only asked someone and several others for a quote. If someone asks me how much it will cost to do a project, I give an estimate of how much it will cost me plus a compensation for my time. This is in no way an indication of the actual value of the software, which is determined by how much someone can earn with the software. If someone wants to know the value of software, s/he should try to find out how much more efficient his or her company runs with that software or how many licenses s/he can sell rather than how much it will cost to make the software. People who ask me for a quote are always free to ask others for a quote too. Obviously, they are also free to switch to a different developer (or development platform) as long as they compensate me for the work that I have already done. I think that you are worrying about a non-issue. Although I can understand that one would be disappointed in such a situation, I'd just feel sorry about the time wasted with making the quotation. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Download Str?m Flow Chart Software http://flowproject.economy-x-talk.com Op 1 dec 2009, om 02:37 heeft Alejandro Tejada het volgende geschreven: > > Participants in this mail list are an outstanding example > of ethical behavior and responsability. For this reason, > i want to ask you about this "What-if scenario". > > Suppose that you created for some person, some kind > of software for his small business. As time passed, > you add more features and functionality to this software. > > Then this person, started to ask another developers > (who use other software platforms) about their budgets > to recreate what you have done for his business, > with the purpose of declare the value of the software > (that you create) as the highest budget proposal that > this person receives... > > Is this another example of creative accounting: > http://en.wikipedia.org/wiki/Creative_accounting > or is just plain wrong deceipt? > > Did you, personally, have received the request to make > budgets and later you learn that this person is just > trying to get an estimated value for something that > this person already have? > > I do not want to think that some of the stacks that > i have published, could have been used in this way... > > Thanks in advance for your comments. > > Alejandro From mwieder at ahsoftware.net Tue Dec 1 17:28:58 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 1 Dec 2009 14:28:58 -0800 Subject: Has anyone tried this? In-Reply-To: <09582DEC-21BA-4C73-8534-B1CD1563EBA8@mac.com> References: <4B15865E.000007.03972@CALS_BIG_PC> <09582DEC-21BA-4C73-8534-B1CD1563EBA8@mac.com> Message-ID: <5989887562.20091201142858@ahsoftware.net> Bj?rnke- Tuesday, December 1, 2009, 2:19:30 PM, you wrote: > You can add anything to the template "script editor" stack. Just > enable rev gui elements, and off you go. Warning: completely breaking > your ide beyond repair is quite possible when you muck around with the > script editor. ...been there... -- -Mark Wieder mwieder at ahsoftware.net From andre at andregarzia.com Tue Dec 1 17:59:20 2009 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 1 Dec 2009 20:59:20 -0200 Subject: Has anyone tried this? In-Reply-To: <5989887562.20091201142858@ahsoftware.net> References: <4B15865E.000007.03972@CALS_BIG_PC> <09582DEC-21BA-4C73-8534-B1CD1563EBA8@mac.com> <5989887562.20091201142858@ahsoftware.net> Message-ID: <7c87a2a10912011459g46e8087arf747bc80bb25d10d@mail.gmail.com> me many years ago: "what are all those stacks starting with Rev... must be examples, let me delete thy useless stuff..." .... then proceeds to download a fresh copy of rev... On Tue, Dec 1, 2009 at 8:28 PM, Mark Wieder wrote: > Bj?rnke- > > Tuesday, December 1, 2009, 2:19:30 PM, you wrote: > > > You can add anything to the template "script editor" stack. Just > > enable rev gui elements, and off you go. Warning: completely breaking > > your ide beyond repair is quite possible when you muck around with the > > script editor. > > ...been there... > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From capellan2000 at gmail.com Tue Dec 1 22:37:15 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 1 Dec 2009 19:37:15 -0800 (PST) Subject: Ethics... and the lack of it. In-Reply-To: <02044154-E7D4-4006-9623-26BCB358186B@economy-x-talk.com> References: <1259631455056-931785.post@n4.nabble.com> <02044154-E7D4-4006-9623-26BCB358186B@economy-x-talk.com> Message-ID: <1259725035494-932739.post@n4.nabble.com> Hi all, The Intelectual property side of software creation is not the main concern in this "what-if-scenario", although, certainly it is more important... Actually, the main question could be stated again after following these premises: 0- Companies pay a specific price for Software. 1- Software have a definite (not infinite) value for a company. 2- This value should always be higher than the actual price paid to developers. Are companies free to evaluate (as they please) in their accounting balance, the current monetary value of the software for which they paid? (Notice that in accounting books, hardware (like computer) are always losing value each year, because of depreciation) Could a Company state that, for example, one software program had a value twenty or fifty times more than the sum of money they paid for it's creation? Who, actually, determines the real value (not the price) of software that developers produce? Many thanks for your insights about these philosofical questions. Alejandro -- View this message in context: http://n4.nabble.com/Ethics-and-the-lack-of-it-tp931785p932739.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Tue Dec 1 22:45:46 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 2 Dec 2009 11:45:46 +0800 Subject: Problem Calling Custom Card Props with the Same Name Using Switch In-Reply-To: <000501ca72ca$2f7a87c0$8e6f9740$@com> References: <20091130213036.C1CD6288206@mail.runrev.com> <46E289D0-A044-46F9-98FE-53FD3E0118FF@videotron.ca> <000501ca72ca$2f7a87c0$8e6f9740$@com> Message-ID: On Wed, Dec 2, 2009 at 5:06 AM, Jim Bufalini wrote: > *put "this is a line" into line (the number of lines of fld "MyField" + 1) > of fld "MyField* > > You could use *put "This is a line" after...* but then you have to manage > CRs. > > Nice!!! I've always managed the CRs as it's fairly easy and I guess I've never really thought about it. I've not seen your solution before, but I like it. Thanks for the tip :-) From wjm at wjm.org Tue Dec 1 23:10:33 2009 From: wjm at wjm.org (Bill Marriott) Date: Tue, 1 Dec 2009 23:10:33 -0500 Subject: Ethics... and the lack of it. In-Reply-To: <1259631455056-931785.post@n4.nabble.com> References: <1259631455056-931785.post@n4.nabble.com> Message-ID: Alejandro, So let me be sure I have this right: 1) You wrote some software over time 2) The client decides to appraise the value of it, so he puts it out to bid 3) And intends to use the highest bid to "declare" the value of the software I suppose it all depends on what the meaning and context of "declare" is. For example: If I pay someone $10,000 to build a deck on my house, but it actually increases the value of the house by $50,000 somehow, then that would probably be a legitimate thing to do, if I was preparing to sell the house or accurately determine the property taxes due. Is he selling his business? Perhaps the client is trying to make a decision about the value of using a Rev-based solution (which may have lower development costs, but fewer people who know Rev well enough to maintain it) versus one that based on a more widely known tool (which may be more expensive to develop, but gives him greater flexibility choosing a developer). Where do you see the ethical dilemma? Is it that he is using the highest bid to determine the value, versus the average bid, or the actual amount paid? Each method could be appropriate in differing circumstances. Of course it could also be mis-used. Personally, I'd be interested in what he comes up with. This way you could market yourself to other clients saying, "I developed a solution for $W in X amount of time that could well have cost my client up to $Y and taken Z amount of time!" Bill From capellan2000 at gmail.com Tue Dec 1 23:39:30 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 1 Dec 2009 20:39:30 -0800 (PST) Subject: Ethics... and the lack of it. In-Reply-To: References: <1259631455056-931785.post@n4.nabble.com> Message-ID: <1259728770575-932773.post@n4.nabble.com> Hi Bill, William Marriott wrote: > > Alejandro, > So let me be sure I have this right: > 1) You wrote some software over time > No, it's not me who wrote this software. This "What-if-scenario" arised from a conversation with software developers that use other platforms. William Marriott wrote: > > 2) The client decides to appraise the value of it, so he puts it out to > bid > 3) And intends to use the highest bid to "declare" the value of the > software > Yes, this is correct. William Marriott wrote: > > I suppose it all depends on what the meaning and context of "declare" is. > > For example: If I pay someone $10,000 to build a deck on my house, but it > actually increases the value of the house by $50,000 somehow, then that > would probably be a legitimate thing to do, if I was preparing to sell the > house or accurately determine the property taxes due. Is he selling his > business? > > Perhaps the client is trying to make a decision about the value of using a > Rev-based solution (which may have lower development costs, but fewer > people > who know Rev well enough to maintain it) versus one that based on a more > widely known tool (which may be more expensive to develop, but gives him > greater flexibility choosing a developer). > > Where do you see the ethical dilemma? Is it that he is using the highest > bid > to determine the value, versus the average bid, or the actual amount paid? > Each method could be appropriate in differing circumstances. Of course it > could also be mis-used. > One possibility is that client act in this way because him does not know how much this software is worth, and look for others opinion to learn about the actual value of their software. William Marriott wrote: > > Personally, I'd be interested in what he comes up with. This way you could > market yourself to other clients saying, "I developed a solution for $W in > X > amount of time that could well have cost my client up to $Y and taken Z > amount of time!" > This would be great, if this were my own case. But, who knows... Maybe in a future it could be ;-) Alejandro -- View this message in context: http://n4.nabble.com/Ethics-and-the-lack-of-it-tp931785p932773.html Sent from the Revolution - User mailing list archive at Nabble.com. From katir at hindu.org Wed Dec 2 00:19:50 2009 From: katir at hindu.org (Sivakatirswami) Date: Tue, 01 Dec 2009 19:19:50 -1000 Subject: ICS functions Library In-Reply-To: References: <4B14A8C7.1040802@hindu.org> Message-ID: <4B15F8F6.1090107@hindu.org> stephen barncard wrote: > Andre Garzia wrote a lib a long, long time ago (2005) - I have it right > here. -- you guys are pals, you should ask him. > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > > > Actually I have it, vObjectPackage.rev > and I asked Andre about his date functions, It was he who thought I should check with the list... I think it was late Rio and he did not realize his stack had what I wanted... you have to open the application browers to see that the lib is in a separate substack that is not exposed anywhere on the main stack. but vObjectLib had nearly 100 commands and functions. I need this one in particular function icConvertDate pDate convert pDate to dateitems put item 1 of pDate into tYear put item 2 of pDate into tMonth if len(tMonth) is 1 then put "0" & tMonth into tMonth put item 3 of pDate into tDate if len(tDate) is 1 then put "0" & tDate into tDate put item 4 of pDate into tHours if len(tHours) is 1 then put "0" & tHours into tHours put item 5 of pDate into tMinutes if len(tMinutes) is 1 then put "0" & tMinutes into tMinutes put item 6 of pDate into tSeconds if len(tSeconds) is 1 then put "0" & tSeconds into tSeconds put tYear & tMonth & tDate & "T" & tHours & tMinutes & tSeconds into tRetVal return tRetVal end icConvertDate (plus 100's of other interesting functions) From stephenREVOLUTION2 at barncard.com Wed Dec 2 01:00:22 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 1 Dec 2009 22:00:22 -0800 Subject: ICS functions Library In-Reply-To: <4B15F8F6.1090107@hindu.org> References: <4B14A8C7.1040802@hindu.org> <4B15F8F6.1090107@hindu.org> Message-ID: So I don't understand..... is your problem solved, or the stack is not the answer to your problem ? ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/1 Sivakatirswami > stephen barncard wrote: > >> Andre Garzia wrote a lib a long, long time ago (2005) - I have it right >> here. -- you guys are pals, you should ask him. >> ------------------------- >> Stephen Barncard >> San Francisco >> http://houseofcubes.com/disco.irev >> >> >> Actually I have it, vObjectPackage.rev >> >> > > and I asked Andre about his date functions, It was he who thought I should > check with the list... > > I think it was late Rio and he did not realize his stack had what I > wanted... you have to open the application browers to see that the lib is in > a separate substack that is not exposed anywhere on the main stack. but > vObjectLib had nearly 100 commands and functions. I need this one in > particular > > function icConvertDate pDate > convert pDate to dateitems > put item 1 of pDate into tYear > put item 2 of pDate into tMonth > if len(tMonth) is 1 then put "0" & tMonth into tMonth > put item 3 of pDate into tDate > if len(tDate) is 1 then put "0" & tDate into tDate > put item 4 of pDate into tHours > if len(tHours) is 1 then put "0" & tHours into tHours > put item 5 of pDate into tMinutes > if len(tMinutes) is 1 then put "0" & tMinutes into tMinutes > put item 6 of pDate into tSeconds > if len(tSeconds) is 1 then put "0" & tSeconds into tSeconds > put tYear & tMonth & tDate & "T" & tHours & tMinutes & tSeconds into > tRetVal > return tRetVal > end icConvertDate > > (plus 100's of other interesting functions) > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sundown at pacifier.com Wed Dec 2 01:33:24 2009 From: sundown at pacifier.com (-= JB =-) Date: Tue, 1 Dec 2009 22:33:24 -0800 Subject: ICS functions Library In-Reply-To: References: <4B14A8C7.1040802@hindu.org> <4B15F8F6.1090107@hindu.org> Message-ID: And where is the stack so others can download it? -=>JB<=- On Dec 1, 2009, at 10:00 PM, stephen barncard wrote: > So I don't understand..... is your problem solved, or the stack is > not the > answer to your problem ? > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > > > 2009/12/1 Sivakatirswami > >> stephen barncard wrote: >> >>> Andre Garzia wrote a lib a long, long time ago (2005) - I have it >>> right >>> here. -- you guys are pals, you should ask him. >>> ------------------------- >>> Stephen Barncard >>> San Francisco >>> http://houseofcubes.com/disco.irev >>> >>> >>> Actually I have it, vObjectPackage.rev >>> >>> >> >> and I asked Andre about his date functions, It was he who thought >> I should >> check with the list... >> >> I think it was late Rio and he did not realize his stack had what I >> wanted... you have to open the application browers to see that the >> lib is in >> a separate substack that is not exposed anywhere on the main >> stack. but >> vObjectLib had nearly 100 commands and functions. I need this one in >> particular >> >> function icConvertDate pDate >> convert pDate to dateitems >> put item 1 of pDate into tYear >> put item 2 of pDate into tMonth >> if len(tMonth) is 1 then put "0" & tMonth into tMonth >> put item 3 of pDate into tDate >> if len(tDate) is 1 then put "0" & tDate into tDate >> put item 4 of pDate into tHours >> if len(tHours) is 1 then put "0" & tHours into tHours >> put item 5 of pDate into tMinutes >> if len(tMinutes) is 1 then put "0" & tMinutes into tMinutes >> put item 6 of pDate into tSeconds >> if len(tSeconds) is 1 then put "0" & tSeconds into tSeconds >> put tYear & tMonth & tDate & "T" & tHours & tMinutes & tSeconds into >> tRetVal >> return tRetVal >> end icConvertDate >> >> (plus 100's of other interesting functions) >> >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jim at visitrieve.com Wed Dec 2 01:35:17 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Tue, 1 Dec 2009 20:35:17 -1000 Subject: Ethics... and the lack of it. In-Reply-To: <1259728770575-932773.post@n4.nabble.com> References: <1259631455056-931785.post@n4.nabble.com> <1259728770575-932773.post@n4.nabble.com> Message-ID: <000501ca7319$9ea76e70$dbf64b50$@com> Alejandro, Being half Italian and half Spanish and a first generation American, who majored in psychology, with a minor in philosophy, I don't see the "ethics" issue. As the Italian half of my ancestry would say (in America), "It's not personal, it's just business." :-) Aloha from Hawaii, Jim Bufalini > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] On Behalf Of Alejandro Tejada > Sent: Tuesday, December 01, 2009 6:40 PM > To: use-revolution at lists.runrev.com > Subject: Re: Ethics... and the lack of it. > > > Hi Bill, > > > William Marriott wrote: > > > > Alejandro, > > So let me be sure I have this right: > > 1) You wrote some software over time > > > > No, it's not me who wrote this software. > This "What-if-scenario" arised from a conversation > with software developers that use other platforms. > > > William Marriott wrote: > > > > 2) The client decides to appraise the value of it, so he puts it out > to > > bid > > 3) And intends to use the highest bid to "declare" the value of the > > software > > > > Yes, this is correct. > > > William Marriott wrote: > > > > I suppose it all depends on what the meaning and context of "declare" > is. > > > > For example: If I pay someone $10,000 to build a deck on my house, > but it > > actually increases the value of the house by $50,000 somehow, then > that > > would probably be a legitimate thing to do, if I was preparing to > sell the > > house or accurately determine the property taxes due. Is he selling > his > > business? > > > > Perhaps the client is trying to make a decision about the value of > using a > > Rev-based solution (which may have lower development costs, but fewer > > people > > who know Rev well enough to maintain it) versus one that based on a > more > > widely known tool (which may be more expensive to develop, but gives > him > > greater flexibility choosing a developer). > > > > Where do you see the ethical dilemma? Is it that he is using the > highest > > bid > > to determine the value, versus the average bid, or the actual amount > paid? > > Each method could be appropriate in differing circumstances. Of > course it > > could also be mis-used. > > > > One possibility is that client act in this way because him does not > know > how much this software is worth, and look for others opinion to learn > about the actual value of their software. > > > William Marriott wrote: > > > > Personally, I'd be interested in what he comes up with. This way you > could > > market yourself to other clients saying, "I developed a solution for > $W in > > X > > amount of time that could well have cost my client up to $Y and taken > Z > > amount of time!" > > > > This would be great, if this were my own case. > But, who knows... Maybe in a future it could be ;-) > > Alejandro > > > -- > View this message in context: http://n4.nabble.com/Ethics-and-the-lack- > of-it-tp931785p932773.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From palcibiades-first at yahoo.co.uk Wed Dec 2 02:46:27 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 1 Dec 2009 23:46:27 -0800 (PST) Subject: Has anyone tried this? In-Reply-To: <7c87a2a10912011459g46e8087arf747bc80bb25d10d@mail.gmail.com> References: <4B15865E.000007.03972@CALS_BIG_PC> <09582DEC-21BA-4C73-8534-B1CD1563EBA8@mac.com> <5989887562.20091201142858@ahsoftware.net> <7c87a2a10912011459g46e8087arf747bc80bb25d10d@mail.gmail.com> Message-ID: <1259739987911-932847.post@n4.nabble.com> What is needed is a rev plug-in for Geany, Kate, or maybe even Eclipse, not that I've ever used this last. Or for tRev to come out with a Linux version, but obviously that is not going to happen. Geany would be nice because it is thoroughly cross platform as well as being a fine editor. Peter -- View this message in context: http://n4.nabble.com/Has-anyone-tried-this-tp932553p932847.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Wed Dec 2 03:09:17 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 2 Dec 2009 00:09:17 -0800 Subject: ICS functions Library In-Reply-To: References: <4B14A8C7.1040802@hindu.org> <4B15F8F6.1090107@hindu.org> Message-ID: Again, I mentioned it because it was the only vCal lib that I'd heard of. It used to be at the soapdog.com site, which doesn't exist. And it's not at andregarzia.com. So at this point it's up to Andre if he wants it out there. He wrote it a long time ago... ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/1 -= JB =- > And where is the stack so others can download it? > > -=>JB<=- > > > > > On Dec 1, 2009, at 10:00 PM, stephen barncard wrote: > > So I don't understand..... is your problem solved, or the stack is not the >> answer to your problem ? >> ------------------------- >> Stephen Barncard >> San Francisco >> http://houseofcubes.com/disco.irev >> >> >> 2009/12/1 Sivakatirswami >> >> stephen barncard wrote: >>> >>> Andre Garzia wrote a lib a long, long time ago (2005) - I have it right >>>> here. -- you guys are pals, you should ask him. >>>> ------------------------- >>>> Stephen Barncard >>>> San Francisco >>>> http://houseofcubes.com/disco.irev >>>> >>>> >>>> Actually I have it, vObjectPackage.rev >>>> >>>> >>>> >>> and I asked Andre about his date functions, It was he who thought I >>> should >>> check with the list... >>> >>> I think it was late Rio and he did not realize his stack had what I >>> wanted... you have to open the application browers to see that the lib is >>> in >>> a separate substack that is not exposed anywhere on the main stack. but >>> vObjectLib had nearly 100 commands and functions. I need this one in >>> particular >>> >>> function icConvertDate pDate >>> convert pDate to dateitems >>> put item 1 of pDate into tYear >>> put item 2 of pDate into tMonth >>> if len(tMonth) is 1 then put "0" & tMonth into tMonth >>> put item 3 of pDate into tDate >>> if len(tDate) is 1 then put "0" & tDate into tDate >>> put item 4 of pDate into tHours >>> if len(tHours) is 1 then put "0" & tHours into tHours >>> put item 5 of pDate into tMinutes >>> if len(tMinutes) is 1 then put "0" & tMinutes into tMinutes >>> put item 6 of pDate into tSeconds >>> if len(tSeconds) is 1 then put "0" & tSeconds into tSeconds >>> put tYear & tMonth & tDate & "T" & tHours & tMinutes & tSeconds into >>> tRetVal >>> return tRetVal >>> end icConvertDate >>> >>> (plus 100's of other interesting functions) >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Wed Dec 2 03:17:05 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 2 Dec 2009 16:17:05 +0800 Subject: Ethics... and the lack of it. In-Reply-To: <000501ca7319$9ea76e70$dbf64b50$@com> References: <1259631455056-931785.post@n4.nabble.com> <1259728770575-932773.post@n4.nabble.com> <000501ca7319$9ea76e70$dbf64b50$@com> Message-ID: Alejandro, I agree with Bill and Jim, this isn't ethics, it's business. Continuing with Bill's decking analogy. If you asked a bunch of builders how much his $10,000 deck was worth, I imagine you'd get a bunch of quotes on how much each of these guys would charge to build the same thing. On the other hand, if you knew how much the home was worth before the deck was built, asking a few Real Estate Agents for appraisals would give you the increase in value. Unfortunately, as current events prove, there are a lot of other things that can effect home prices, so even with a new deck, the current selling price might be half what it was six months earlier:-( With software, if you ask a bunch of software developers how much a piece of software is worth, I assume they are going to quote you how much time and effort it would take them and therefore how much they would charge to reproduce the same. If you wanted to know how much it was worth to the company, surely the Company accountant would be the one to peruse the balance sheet and determine increased revenue since the implementation of the software. Unfortunately, as current events prove, there are a lot of other things that can effect revenue, so even with new software, revenue may be on a downward slide compared to six months earlier. Of course having other metrics which have been historically recorded and prepared prior to your software, and by which you know you'll be bench marked against, would be the most logical form of determining software's (robot's, employee's, facebook's....) value. The old 'we use to have 10 Data Entry personal manually inputting 1000 records an hour, the new software requires no personal and inputs 1,100 records an hour.' The company may still go out of business, but at least you can say to another company, my $1000 software can cut your employee budget by 10% and increase productivity by 10%. If you've got the metrics, you should be able to verify the value. From richmondmathewson at gmail.com Wed Dec 2 04:02:58 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 02 Dec 2009 11:02:58 +0200 Subject: Ethics... and the lack of it. In-Reply-To: References: <1259631455056-931785.post@n4.nabble.com> <1259728770575-932773.post@n4.nabble.com> <000501ca7319$9ea76e70$dbf64b50$@com> Message-ID: <4B162D42.4060208@gmail.com> "All if fair in love and war." . . . and business. My work is only worth what somebody else is prepared to pay for it: I installed Mint Linux on somebody's PC and they paid me at the going rate as it was not mission critical for their business. Somebody else paid me a LARGE amount of money to sit up with their Windows 2000 PC that had had 5000 lawyer's confidential records on it and had been hit by a ransomware attack: and to get back all those records - 2 simple reasons: 1. The Ransom demanded was 5 times what they paid me. 2. They had an extremely valuable meeting with business clients the next day and those documents were among those that had been "hosed". Ethics ain't in it. ---------------------------------------------------- And, as a charming friend of mine once remarked (and he is a very successful businessman) "Keep your morals for the weekend and the family." Not very nice, but fairly near the truth. c.f. http://en.wikipedia.org/wiki/Crazy_people From sundown at pacifier.com Wed Dec 2 04:34:31 2009 From: sundown at pacifier.com (-= JB =-) Date: Wed, 2 Dec 2009 01:34:31 -0800 Subject: ICS functions Library In-Reply-To: References: <4B14A8C7.1040802@hindu.org> <4B15F8F6.1090107@hindu.org> Message-ID: Okay, thanks for the reply. -=>JB<=- On Dec 2, 2009, at 12:09 AM, stephen barncard wrote: > Again, I mentioned it because it was the only vCal lib that I'd > heard of. It > used to be at the soapdog.com site, which doesn't exist. And it's > not at > andregarzia.com. So at this point it's up to Andre if he wants it > out there. > He wrote it a long time ago... > > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > > > 2009/12/1 -= JB =- > >> And where is the stack so others can download it? >> >> -=>JB<=- >> >> >> >> >> On Dec 1, 2009, at 10:00 PM, stephen barncard wrote: >> >> So I don't understand..... is your problem solved, or the stack >> is not the >>> answer to your problem ? >>> ------------------------- >>> Stephen Barncard >>> San Francisco >>> http://houseofcubes.com/disco.irev >>> >>> >>> 2009/12/1 Sivakatirswami >>> >>> stephen barncard wrote: >>>> >>>> Andre Garzia wrote a lib a long, long time ago (2005) - I have >>>> it right >>>>> here. -- you guys are pals, you should ask him. >>>>> ------------------------- >>>>> Stephen Barncard >>>>> San Francisco >>>>> http://houseofcubes.com/disco.irev >>>>> >>>>> >>>>> Actually I have it, vObjectPackage.rev >>>>> >>>>> >>>>> >>>> and I asked Andre about his date functions, It was he who thought I >>>> should >>>> check with the list... >>>> >>>> I think it was late Rio and he did not realize his stack had what I >>>> wanted... you have to open the application browers to see that >>>> the lib is >>>> in >>>> a separate substack that is not exposed anywhere on the main >>>> stack. but >>>> vObjectLib had nearly 100 commands and functions. I need this >>>> one in >>>> particular >>>> >>>> function icConvertDate pDate >>>> convert pDate to dateitems >>>> put item 1 of pDate into tYear >>>> put item 2 of pDate into tMonth >>>> if len(tMonth) is 1 then put "0" & tMonth into tMonth >>>> put item 3 of pDate into tDate >>>> if len(tDate) is 1 then put "0" & tDate into tDate >>>> put item 4 of pDate into tHours >>>> if len(tHours) is 1 then put "0" & tHours into tHours >>>> put item 5 of pDate into tMinutes >>>> if len(tMinutes) is 1 then put "0" & tMinutes into tMinutes >>>> put item 6 of pDate into tSeconds >>>> if len(tSeconds) is 1 then put "0" & tSeconds into tSeconds >>>> put tYear & tMonth & tDate & "T" & tHours & tMinutes & tSeconds >>>> into >>>> tRetVal >>>> return tRetVal >>>> end icConvertDate >>>> >>>> (plus 100's of other interesting functions) >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Wed Dec 2 06:23:46 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 2 Dec 2009 09:23:46 -0200 Subject: ICS functions Library In-Reply-To: References: <4B14A8C7.1040802@hindu.org> <4B15F8F6.1090107@hindu.org> Message-ID: <7c87a2a10912020323g7c598fa3wd86ac32b5090906b@mail.gmail.com> Folks, I lost that library when I lost my laptop! :D I will get Sivakatirswami copy and post it online. I made that library ages ago, I am a much better programmer now and probably would have coded it differently, but it works as expected. It was very minimalistic full of redundance. :D On Wed, Dec 2, 2009 at 7:34 AM, -= JB =- wrote: > Okay, thanks for the reply. > > -=>JB<=- > > > > > On Dec 2, 2009, at 12:09 AM, stephen barncard wrote: > > Again, I mentioned it because it was the only vCal lib that I'd heard of. >> It >> used to be at the soapdog.com site, which doesn't exist. And it's not at >> andregarzia.com. So at this point it's up to Andre if he wants it out >> there. >> He wrote it a long time ago... >> >> ------------------------- >> Stephen Barncard >> San Francisco >> http://houseofcubes.com/disco.irev >> >> >> 2009/12/1 -= JB =- >> >> And where is the stack so others can download it? >>> >>> -=>JB<=- >>> >>> >>> >>> >>> On Dec 1, 2009, at 10:00 PM, stephen barncard wrote: >>> >>> So I don't understand..... is your problem solved, or the stack is not >>> the >>> >>>> answer to your problem ? >>>> ------------------------- >>>> Stephen Barncard >>>> San Francisco >>>> http://houseofcubes.com/disco.irev >>>> >>>> >>>> 2009/12/1 Sivakatirswami >>>> >>>> stephen barncard wrote: >>>> >>>>> >>>>> Andre Garzia wrote a lib a long, long time ago (2005) - I have it >>>>> right >>>>> >>>>>> here. -- you guys are pals, you should ask him. >>>>>> ------------------------- >>>>>> Stephen Barncard >>>>>> San Francisco >>>>>> http://houseofcubes.com/disco.irev >>>>>> >>>>>> >>>>>> Actually I have it, vObjectPackage.rev >>>>>> >>>>>> >>>>>> >>>>>> and I asked Andre about his date functions, It was he who thought I >>>>> should >>>>> check with the list... >>>>> >>>>> I think it was late Rio and he did not realize his stack had what I >>>>> wanted... you have to open the application browers to see that the lib >>>>> is >>>>> in >>>>> a separate substack that is not exposed anywhere on the main stack. but >>>>> vObjectLib had nearly 100 commands and functions. I need this one in >>>>> particular >>>>> >>>>> function icConvertDate pDate >>>>> convert pDate to dateitems >>>>> put item 1 of pDate into tYear >>>>> put item 2 of pDate into tMonth >>>>> if len(tMonth) is 1 then put "0" & tMonth into tMonth >>>>> put item 3 of pDate into tDate >>>>> if len(tDate) is 1 then put "0" & tDate into tDate >>>>> put item 4 of pDate into tHours >>>>> if len(tHours) is 1 then put "0" & tHours into tHours >>>>> put item 5 of pDate into tMinutes >>>>> if len(tMinutes) is 1 then put "0" & tMinutes into tMinutes >>>>> put item 6 of pDate into tSeconds >>>>> if len(tSeconds) is 1 then put "0" & tSeconds into tSeconds >>>>> put tYear & tMonth & tDate & "T" & tHours & tMinutes & tSeconds into >>>>> tRetVal >>>>> return tRetVal >>>>> end icConvertDate >>>>> >>>>> (plus 100's of other interesting functions) >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at 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 at 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 at 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 at 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 at 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. From richmondmathewson at gmail.com Wed Dec 2 07:11:43 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 02 Dec 2009 14:11:43 +0200 Subject: Mucking around with extended non-unicode font Message-ID: <4B16597F.7050807@gmail.com> As most people are aware by now, I have a penchant for mucking around with fonts: http://andregarzia.on-rev.com/richmond/dwriter.html So, digging around, I came across Apple's in-built DevanagariMT truetype font which: 1. Is an extended truetype font with 749 characters. 2. of which only those up to 368 have unicode addresses. They all have decimal addresses. Does anybody have any bright ideas how to call those chars above the initial 255? ---------------------------------------------- This: on mouseUp put numToChar(600) into fld "fSCREEVE" end mouseUp gave me no joy at all. ---------------------------------------------- sincerely, Richmond Mathewson. From sundown at pacifier.com Wed Dec 2 07:51:29 2009 From: sundown at pacifier.com (-= JB =-) Date: Wed, 2 Dec 2009 04:51:29 -0800 Subject: ICS functions Library In-Reply-To: <7c87a2a10912020323g7c598fa3wd86ac32b5090906b@mail.gmail.com> References: <4B14A8C7.1040802@hindu.org> <4B15F8F6.1090107@hindu.org> <7c87a2a10912020323g7c598fa3wd86ac32b5090906b@mail.gmail.com> Message-ID: <33F66D89-0A07-4BBE-8351-406D44106825@pacifier.com> Thanks, Andre -=>JB<=- On Dec 2, 2009, at 3:23 AM, Andre Garzia wrote: > Folks, > > I lost that library when I lost my laptop! :D > > I will get Sivakatirswami copy and post it online. I made that > library ages > ago, I am a much better programmer now and probably would have > coded it > differently, but it works as expected. It was very minimalistic > full of > redundance. > > :D > > On Wed, Dec 2, 2009 at 7:34 AM, -= JB =- wrote: > >> Okay, thanks for the reply. >> >> -=>JB<=- >> >> >> >> >> On Dec 2, 2009, at 12:09 AM, stephen barncard wrote: >> >> Again, I mentioned it because it was the only vCal lib that I'd >> heard of. >>> It >>> used to be at the soapdog.com site, which doesn't exist. And it's >>> not at >>> andregarzia.com. So at this point it's up to Andre if he wants it >>> out >>> there. >>> He wrote it a long time ago... >>> >>> ------------------------- >>> Stephen Barncard >>> San Francisco >>> http://houseofcubes.com/disco.irev >>> >>> >>> 2009/12/1 -= JB =- >>> >>> And where is the stack so others can download it? >>>> >>>> -=>JB<=- >>>> >>>> >>>> >>>> >>>> On Dec 1, 2009, at 10:00 PM, stephen barncard wrote: >>>> >>>> So I don't understand..... is your problem solved, or the stack >>>> is not >>>> the >>>> >>>>> answer to your problem ? >>>>> ------------------------- >>>>> Stephen Barncard >>>>> San Francisco >>>>> http://houseofcubes.com/disco.irev >>>>> >>>>> >>>>> 2009/12/1 Sivakatirswami >>>>> >>>>> stephen barncard wrote: >>>>> >>>>>> >>>>>> Andre Garzia wrote a lib a long, long time ago (2005) - I >>>>>> have it >>>>>> right >>>>>> >>>>>>> here. -- you guys are pals, you should ask him. >>>>>>> ------------------------- >>>>>>> Stephen Barncard >>>>>>> San Francisco >>>>>>> http://houseofcubes.com/disco.irev >>>>>>> >>>>>>> >>>>>>> Actually I have it, vObjectPackage.rev >>>>>>> >>>>>>> >>>>>>> >>>>>>> and I asked Andre about his date functions, It was he who >>>>>>> thought I >>>>>> should >>>>>> check with the list... >>>>>> >>>>>> I think it was late Rio and he did not realize his stack had >>>>>> what I >>>>>> wanted... you have to open the application browers to see that >>>>>> the lib >>>>>> is >>>>>> in >>>>>> a separate substack that is not exposed anywhere on the main >>>>>> stack. but >>>>>> vObjectLib had nearly 100 commands and functions. I need this >>>>>> one in >>>>>> particular >>>>>> >>>>>> function icConvertDate pDate >>>>>> convert pDate to dateitems >>>>>> put item 1 of pDate into tYear >>>>>> put item 2 of pDate into tMonth >>>>>> if len(tMonth) is 1 then put "0" & tMonth into tMonth >>>>>> put item 3 of pDate into tDate >>>>>> if len(tDate) is 1 then put "0" & tDate into tDate >>>>>> put item 4 of pDate into tHours >>>>>> if len(tHours) is 1 then put "0" & tHours into tHours >>>>>> put item 5 of pDate into tMinutes >>>>>> if len(tMinutes) is 1 then put "0" & tMinutes into tMinutes >>>>>> put item 6 of pDate into tSeconds >>>>>> if len(tSeconds) is 1 then put "0" & tSeconds into tSeconds >>>>>> put tYear & tMonth & tDate & "T" & tHours & tMinutes & >>>>>> tSeconds into >>>>>> tRetVal >>>>>> return tRetVal >>>>>> end icConvertDate >>>>>> >>>>>> (plus 100's of other interesting functions) >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-revolution mailing list >>>>>> use-revolution at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mikekann at yahoo.com Wed Dec 2 08:42:22 2009 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 2 Dec 2009 05:42:22 -0800 (PST) Subject: Ethics... and the lack of it. Message-ID: <441221.76840.qm@web56706.mail.re3.yahoo.com> Hennie Youngman explains business ethics: You and another guy own a store that sells men's suits. A rich Brazilian comes in and buys a suit. When the Brazilian is about to leave you notice that he has paid you $100 too much. Here's where the business ethics comes in. Do you tell your business partner? From revolution at derbrill.de Wed Dec 2 09:09:11 2009 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Wed, 2 Dec 2009 15:09:11 +0100 Subject: Making your app apple (and vb) scriptable In-Reply-To: <20091129180005.5E680288165@mail.runrev.com> References: <20091129180005.5E680288165@mail.runrev.com> Message-ID: <80C3EE96-F288-4D0A-832A-8223F18B31AE@derbrill.de> Hi all, I could use some pointers on this. I would like to make an app applescriptable on the mac and if possible vb scriptable on PC. Has anybody done this before? Any pointers on what needs to be done? Cheers, Malte From wow at together.net Wed Dec 2 09:37:28 2009 From: wow at together.net (Richard Miller) Date: Wed, 02 Dec 2009 09:37:28 -0500 Subject: Swing Browser is in testing In-Reply-To: <80C3EE96-F288-4D0A-832A-8223F18B31AE@derbrill.de> References: <20091129180005.5E680288165@mail.runrev.com> <80C3EE96-F288-4D0A-832A-8223F18B31AE@derbrill.de> Message-ID: <4B167BA8.7080409@together.net> I have entered the testing phase with my new software based on the revweb plugin, and would appreciate any and all feedback (negative, positive, suggestions.... whatever) from anyone who wants to check it over. The site is still rough around the edges... plus, I have little in the way of graphics skills, so it doesn't look as cool or tight as it could. But functionally, it has all the right pieces. I have about 30 users testing it now before it goes public... which won't be until a new version of the plugin is released. I've had to work around the ongoing revweb problems regarding cursors (no busy, draw or hand cursor), the lack of a dependable Answer dialog box, the lack of direct Externals support, and a few other things. Hopefully, these will all be fixed soon. Also note it does not seem to run under Windows 7 and IE (not sure about Firefox). The main purposes of this site are as follows: 1. Allow users to easily import their sports videos into the system, following which they can review their "motion" frame-by-frame. I've set the site up generically, so it is as useful to baseball, tennis, etc. as it is to golf (my original core focus area). The software should handle most common video formats. It uses ffmpeg to convert any non-Quicktime-compatible formats to MOV. 2. Let users compare their motion to professionals (i.e. "model videos" in the Directory) 3. Let them easily edit these videos (which are often 20 - 100 mb in size coming off the camera) so the file size is 1 mb or so, from which they can then quickly send those videos to anyone else for review (using just an email address). The receiver views the video in my program. You can test this function using the Sample Video (in the Directory) under the Imported Videos section. Click on it, then Edit Video. 4. Most importantly, allow pro's to do a voice-over analysis (including lines, circles and polygons) of a swing using the Create Analysis button in the Compare screen. This analysis can then be quickly sent to others (typically students) for review through my site. 5. Make the program easy to use, convenient (since it runs in a browser... which is where all the action seems to be these days), and inexpensive ($69). 6. Make it Windows, Mac and (soon) Linux compatible. It's all here: www.swingbrowser.com Thanks. Richard Miller From jim at visitrieve.com Wed Dec 2 09:37:42 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Wed, 2 Dec 2009 04:37:42 -1000 Subject: Ethics... and the lack of it. In-Reply-To: <4B162D42.4060208@gmail.com> References: <1259631455056-931785.post@n4.nabble.com> <1259728770575-932773.post@n4.nabble.com> <000501ca7319$9ea76e70$dbf64b50$@com> <4B162D42.4060208@gmail.com> Message-ID: <000901ca735d$020ab790$062026b0$@com> Richmond Mathewson wrote: > 2 simple reasons: > > 1. The Ransom demanded was 5 times what they paid me. > > 2. They had an extremely valuable meeting with business > clients the next day and those documents were among > those that had been "hosed". > > Ethics ain't in it. And Kay C Lan wrote: > Of course having other metrics which have been historically recorded > and > prepared prior to your software, and by which you know you'll be bench > marked against, would be the most logical form of determining > software's > (robot's, employee's, facebook's....) value. This is also called ROI (Return On Investment). Many years ago, I developed a hardware/software solution for a newspaper agency. They were kind enough to provide me with their ROI, for my own marketing purposes. The ROI came out at 92%. I was shocked, at the time, because I knew for a fact that the system saved them 6-times what they paid for it (which was around to $200,000) in the very first 6-months of use! Why not 600 or 1,200 percent? I studied the ROI and they discounted for this and deducted for that. I didn't get it. Well, as it turns out, 92% was the highest ROI ever of any "IT" system in the newspaper industry. It was so high that this newspaper JPO (Joint Production Operation), which was ranked third in revenue in the Gannet chain of newspapers, at the time, was called on the carpet by Gannet and accused of "pencil pushing." After a "corporate visit," the ROI held at 92%. I was disappointed. I thought it would go up! A little over a year later, a large vendor to the newspaper industry bought my company. They knew how newspapers calculate ROIs and knew that 92% was outrageous and wanted my software. :-) So, it really isn't ethics. It really is business. Don't take insult, just learn. Aloha from Hawaii, Jim Bufalini From capellan2000 at gmail.com Wed Dec 2 10:08:01 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 2 Dec 2009 07:08:01 -0800 (PST) Subject: Ethics... and the lack of it. In-Reply-To: <000501ca7319$9ea76e70$dbf64b50$@com> References: <1259631455056-931785.post@n4.nabble.com> <1259728770575-932773.post@n4.nabble.com> <000501ca7319$9ea76e70$dbf64b50$@com> Message-ID: <1259766481281-933134.post@n4.nabble.com> Hi all, Many thanks for replying to this request. Jim Bufalini-3 wrote: > > [snip] > I don't see the "ethics" issue. As the Italian half of my ancestry > would say (in America), "It's not personal, it's just business." :-) > and Kay C Lan wrote: > > I agree with Bill and Jim, this isn't ethics, it's business. > [snip] > Of course having other metrics which have been historically recorded and > prepared prior to your software, and by which you know you'll be bench > marked against, would be the most logical form of determining software's > (robot's, employee's, facebook's....) value. > [snip] > If you've got the metrics, you should be able to verify the value. > and "All if fair in love and war." . . . and business. My work is only worth what somebody else is prepared to pay for it: [snip] And, as a charming friend of mine once remarked (and he is a very successful businessman) "Keep your morals for the weekend and the family." Not very nice, but fairly near the truth. Please, tell me if i am understanding correctly comments posted: a) If a client is able to declare the value of the software that you created as 10,000 times (for example) the price he paid, this is fine, always that nobody complaints... b) To charge a fair price for your effort, you should know, (fairly well) not only your own programming business, but your client's business too... My comment about: a) Is this another example of "Laissez-faire"?? If it is natural that any client could evaluate himself (or his accountant) the actual value of their assets, (without solid facts) then this is a real eye opener and explains the real devastating dot.com bubble a few years ago and future economic crashes: http://en.wikipedia.org/wiki/Dot-com_bubble "The dot-com bubble crash wiped out $5 trillion in market value of technology companies from March 2000 to October 2002." and "Nevertheless, laid-off technology experts, such as computer programmers, found a glutted job market. In the U.S., International outsourcing and the recently allowed increase of skilled visa "guest workers" (e.g., those participating in the U.S. H-1B visa program) exacerbated the situation.[16] University degree programs for computer-related careers saw a noticeable drop in new students. Anecdotes of unemployed programmers going back to school to become accountants or lawyers were common." My comment about: b) I have been told that many clients are not so eager to disclose in full their business to strangers, just to get a bid or appraisal for a software program. Yes, just as you read. Clients actually want an upfront price that covers their basics requisites. In their mind, software should not be too different (to continue with House building examples) from Urban development's offerings of houses and appartments: Full Kitchen, 2 bedrooms, 2 baths, wood burning fireplace, 2 story porch, garage, etc... This cost $$$, if you want more bedrooms, then add $$$, if you want a pool, then add $$$, etc, etc. Ideally, software developers should be able to consult their peers about estimated cost, sales prices and value for the kind of programs they build. In this mail list there are developers fairly experienced in these areas, and i have consulted them myself, when i had doubts about the actual price for some kinds of software development. Alejandro -- View this message in context: http://n4.nabble.com/Ethics-and-the-lack-of-it-tp931785p933134.html Sent from the Revolution - User mailing list archive at Nabble.com. From jerry.daniels at me.com Wed Dec 2 10:59:25 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Wed, 2 Dec 2009 09:59:25 -0600 Subject: [ANN] tRev users: vote for your fav feature Message-ID: tRev-ers, I'd really like to know what you like about using tRev so far. So, I created a poll: http://reveditor.com/vote-for-your-favorite-trev-feature Please, this is for users of the product only. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-stacks-0 From jerry.daniels at me.com Wed Dec 2 11:35:12 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Wed, 2 Dec 2009 10:35:12 -0600 Subject: [ANN] tText users: poll regarding plugins Message-ID: Wild, young, text-crazed Bohemians, If you are a user of tText, MJ and I were curious...have you created a plugin for it? Please vote: http://reveditor.com/ttext-users-have-you-created-a-plugin Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-stacks-0 From janschenkel at yahoo.com Wed Dec 2 11:41:24 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 2 Dec 2009 08:41:24 -0800 (PST) Subject: Rev 4.0 article on TheServerSide Message-ID: <111553.63891.qm@web65402.mail.ac4.yahoo.com> Normally a bastion of Java Enterprise related news, this article is all about Rev 4 compiling native apps for Mac,Windows and Lunix, coming with a web plug-in and revMedia being free. Prepare for "I'll stick with a real programming language, thank you very much" remarks; but it will hopefully drive trafic to the runrev.com site for Java developers sitting on the fence with JavaFX, Flex,... Jan Schenkel ===== Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From jim at d-film.com Wed Dec 2 11:56:02 2009 From: jim at d-film.com (Jim Kanter) Date: Wed, 2 Dec 2009 11:56:02 -0500 Subject: Rev 4.0 article on TheServerSide In-Reply-To: <111553.63891.qm@web65402.mail.ac4.yahoo.com> References: <111553.63891.qm@web65402.mail.ac4.yahoo.com> Message-ID: 2nd message?already there. On Wed, Dec 2, 2009 at 11:41 AM, Jan Schenkel wrote: > Prepare for "I'll stick with a real programming language, thank you very much" remarks From wjm at wjm.org Wed Dec 2 11:59:19 2009 From: wjm at wjm.org (Bill Marriott) Date: Wed, 2 Dec 2009 11:59:19 -0500 Subject: Rev 4.0 article on TheServerSide In-Reply-To: <111553.63891.qm@web65402.mail.ac4.yahoo.com> References: <111553.63891.qm@web65402.mail.ac4.yahoo.com> Message-ID: Jan, > Prepare for "I'll stick with a real programming language, thank you very > much" > remarks; but it will hopefully drive traffic to the runrev.com site for > Java developers > sitting on the fence with JavaFX, Flex,... Just remember, "Real programmers don't use plain English." :) From ian at 1492.ca Wed Dec 2 12:08:24 2009 From: ian at 1492.ca (Ian Gordon) Date: Wed, 2 Dec 2009 12:08:24 -0500 Subject: ICS Functiosn - where to download vObjectPackage.rev Message-ID: I found a copy here. http://www.soapdog.org/vObjectPackage.rev thanks to Andre as always! Ian -------- > > Message: 21 > Date: Tue, 1 Dec 2009 22:33:24 -0800 > From: -= JB =- > Subject: Re: ICS functions Library > To: How to use Revolution > > And where is the stack so others can download it? > > -=>JB<=- > > >> >> >> 2009/12/1 Sivakatirswami >> >>> stephen barncard wrote: >>> >>>> Andre Garzia wrote a lib a long, long time ago (2005) - I have it >>>> right >>>> ?here. -- ?you guys are pals, you should ask him. >>>> ------------------------- >>>> Stephen Barncard >>>> San Francisco >>>> http://houseofcubes.com/disco.irev >>>> >>>> >>>> Actually I have it, vObjectPackage.rev >>>> >>>> >>> >>> and I asked Andre about his date functions, It was he who thought >>> I should >>> check with the list... >>> >>> I think it was late Rio and he did not realize his stack had what I >>> wanted... you have to open the application browers to see that the >>> lib is in >>> a separate substack that is not exposed anywhere on the main >>> stack. but >>> vObjectLib had nearly 100 commands and functions. I need this one in >>> particular >>> >>> function icConvertDate pDate >>> ?convert pDate to dateitems >>> ?put item 1 of pDate into tYear >>> ?put item 2 of pDate into tMonth >>> ?if len(tMonth) is 1 then put "0" & tMonth into tMonth >>> ?put item 3 of pDate into tDate >>> ?if len(tDate) is 1 then put "0" & tDate into tDate >>> ?put item 4 of pDate into tHours >>> ?if len(tHours) is 1 then put "0" & tHours into tHours >>> ?put item 5 of pDate into tMinutes >>> ?if len(tMinutes) is 1 then put "0" & tMinutes into tMinutes >>> ?put item 6 of pDate into tSeconds >>> ?if len(tSeconds) is 1 then put "0" & tSeconds into tSeconds >>> ?put tYear & tMonth & tDate & "T" & tHours & tMinutes & tSeconds into >>> tRetVal >>> ?return tRetVal >>> end icConvertDate >>> >>> (plus 100's of other interesting functions) >>> >>> >>> >>> >>> From andre at andregarzia.com Wed Dec 2 12:32:37 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 2 Dec 2009 15:32:37 -0200 Subject: ICS Functiosn - where to download vObjectPackage.rev In-Reply-To: References: Message-ID: <7c87a2a10912020932y298efb67w872ea02731f4592a@mail.gmail.com> Oh, is it there :-O I have like 3 servers and 20 domains, I keep loosing track of where things are... On Wed, Dec 2, 2009 at 3:08 PM, Ian Gordon wrote: > I found a copy here. > > http://www.soapdog.org/vObjectPackage.rev > > thanks to Andre as always! > > Ian > > -------- > > > > Message: 21 > > Date: Tue, 1 Dec 2009 22:33:24 -0800 > > From: -= JB =- > > Subject: Re: ICS functions Library > > To: How to use Revolution > > > > > And where is the stack so others can download it? > > > > -=>JB<=- > > > > > >> > >> > >> 2009/12/1 Sivakatirswami > >> > >>> stephen barncard wrote: > >>> > >>>> Andre Garzia wrote a lib a long, long time ago (2005) - I have it > >>>> right > >>>> here. -- you guys are pals, you should ask him. > >>>> ------------------------- > >>>> Stephen Barncard > >>>> San Francisco > >>>> http://houseofcubes.com/disco.irev > >>>> > >>>> > >>>> Actually I have it, vObjectPackage.rev > >>>> > >>>> > >>> > >>> and I asked Andre about his date functions, It was he who thought > >>> I should > >>> check with the list... > >>> > >>> I think it was late Rio and he did not realize his stack had what I > >>> wanted... you have to open the application browers to see that the > >>> lib is in > >>> a separate substack that is not exposed anywhere on the main > >>> stack. but > >>> vObjectLib had nearly 100 commands and functions. I need this one in > >>> particular > >>> > >>> function icConvertDate pDate > >>> convert pDate to dateitems > >>> put item 1 of pDate into tYear > >>> put item 2 of pDate into tMonth > >>> if len(tMonth) is 1 then put "0" & tMonth into tMonth > >>> put item 3 of pDate into tDate > >>> if len(tDate) is 1 then put "0" & tDate into tDate > >>> put item 4 of pDate into tHours > >>> if len(tHours) is 1 then put "0" & tHours into tHours > >>> put item 5 of pDate into tMinutes > >>> if len(tMinutes) is 1 then put "0" & tMinutes into tMinutes > >>> put item 6 of pDate into tSeconds > >>> if len(tSeconds) is 1 then put "0" & tSeconds into tSeconds > >>> put tYear & tMonth & tDate & "T" & tHours & tMinutes & tSeconds into > >>> tRetVal > >>> return tRetVal > >>> end icConvertDate > >>> > >>> (plus 100's of other interesting functions) > >>> > >>> > >>> > >>> > >>> > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From capellan2000 at gmail.com Wed Dec 2 12:53:47 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 2 Dec 2009 09:53:47 -0800 (PST) Subject: Rev 4.0 article on TheServerSide In-Reply-To: References: <111553.63891.qm@web65402.mail.ac4.yahoo.com> Message-ID: <1259776427348-933457.post@n4.nabble.com> Actually, the most open minded (or knowledgeable) programmers should recognize that RevMedia is similar to: 1) Adobe (Macromedia) Director, (using Quicktime to play Movies, Externals to add functions, a web plugin to show content in browser and a remarkable list of similar functions and characteristics.) 2) Visual Basic 6 (if Microsoft ever wanted to make it crossplatform) Just better and easier to learn. Jan, you should post about your experience with Java and Runrev. Bill, Why don't link to Stomfi tutorials for Novell Linux in these answers? By the way... i could not found a link to these Stomfi's tutorials in Rev website. Alejandro -- View this message in context: http://n4.nabble.com/Rev-4-0-article-on-TheServerSide-tp933211p933457.html Sent from the Revolution - User mailing list archive at Nabble.com. From generic.email.30022 at gmail.com Wed Dec 2 15:39:07 2009 From: generic.email.30022 at gmail.com (Generic Email) Date: Wed, 2 Dec 2009 14:39:07 -0600 Subject: tText plugin Message-ID: I thought I would like to write a tText plugin that would execute the script being edited and put the output into another tab. I didn't see a way to retrieve the full path of the file currently being edited. So the flow would be something like this: 1) Get the full path to the file 2) see if it is executable 3) If yes, then execute the file and put output into new tab and exit 4) if no, parse first line for #!/path/to/binary 5) if binary found, then execute the binary with the file as a parameter and put output into new tab and exit 6) if no, answer with helpful text, then exit Anyway, that was the idea. From andre at andregarzia.com Wed Dec 2 15:41:05 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 2 Dec 2009 18:41:05 -0200 Subject: Rev 4.0 article on TheServerSide In-Reply-To: References: <111553.63891.qm@web65402.mail.ac4.yahoo.com> Message-ID: <7c87a2a10912021241n6b6b9d3eoa9d4be1d23998081@mail.gmail.com> Actually I think some of the comments have a point. That language comparision pdf is misleading. Even I could write better code than that in those languages. I would suggest people on runrev would change that pdf to present optimum code in C++/C#/JAVA and the like, like, very professional code and see how well Rev stacks against it, even if they are all one liners, Rev will be more readable and thus win points. If you post crappy code, the users of those languages will clearly recognize the pdf as a bad practice and have a bad impression of the language. And this is me being very serious which people here don't usually see. I don't like that pdf at all, I see a marketing gizmo which is not related to the actual truth. I can write those examples in two or three lines of python and java and ruby and I am not a good programmer in those languages. Looking at that text, I see why slashdot and this article have flame comments. On Wed, Dec 2, 2009 at 2:59 PM, Bill Marriott wrote: > Jan, > > Prepare for "I'll stick with a real programming language, thank you very >> much" >> remarks; but it will hopefully drive traffic to the runrev.com site for >> Java developers >> >> sitting on the fence with JavaFX, Flex,... >> > > Just remember, "Real programmers don't use plain English." :) > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From jerry.daniels at me.com Wed Dec 2 17:33:47 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Wed, 2 Dec 2009 16:33:47 -0600 Subject: tText plugin In-Reply-To: References: Message-ID: <048096C6-F46D-4F35-8B06-93C60A3334E9@me.com> Gen, Why would you need the file path? You've got the text staring you in the face in tText. Look at the two samples that come with the product. They take text from one tab, munge it and then put it into another tab. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-stacks-0 On Dec 2, 2009, at 2:39 PM, Generic Email wrote: > I thought I would like to write a tText plugin that would execute > the script being edited and put the output into another tab. > I didn't see a way to retrieve the full path of the file currently > being edited. > > So the flow would be something like this: > > 1) Get the full path to the file > 2) see if it is executable > 3) If yes, then execute the file and put output into new tab and exit > 4) if no, parse first line for #!/path/to/binary > 5) if binary found, then execute the binary with the file as a > parameter and put output into new tab and exit > 6) if no, answer with helpful text, then exit > > Anyway, that was the idea. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From niconiko at gmail.com Wed Dec 2 17:45:49 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 3 Dec 2009 07:45:49 +0900 Subject: Swing Browser is in testing In-Reply-To: <4B167BA8.7080409@together.net> References: <20091129180005.5E680288165@mail.runrev.com> <80C3EE96-F288-4D0A-832A-8223F18B31AE@derbrill.de> <4B167BA8.7080409@together.net> Message-ID: <1e91b2b70912021445k3318ace7y7e5972ebfa02eb91@mail.gmail.com> Richard, Just out of curiosity, checked out your site. Unfortunately, it's not working on my setup (Vista, Firefox 3.5.5, revApp 4.0.0-rc-1 build 940). Here's what I see at my end. A window with a left-side menu and a "downloading" message appears. During downloading, a screen object that I guess is a progress bar also appears (can't tell for sure, cause it remains one solid white color thruout the download). When the "downloading" message and object disappear, there's a twirling multi-colored icon/cursor, which simply disappears when clicked-on. Then, at last, I'm left with just a black window with that left-side menu, which is unclickable. Tried it a couple of times, and the same results each time. -- Nicolas Cueto From davidocoker at gmail.com Wed Dec 2 18:13:11 2009 From: davidocoker at gmail.com (David Coker) Date: Wed, 2 Dec 2009 17:13:11 -0600 (CST) Subject: Swing Browser is in testing In-Reply-To: <4B167BA8.7080409@together.net> Message-ID: <23450505.01259795590859.JavaMail.HAPPYLAPPY$@HappyLappy> Richard, Although I'm not sure what all is supposed to be functional, I was able to view some golfing videos after browsing around a bit to find where they were located in the program. Also took a snapshot of one and saved it to my desktop. All of the above on a RC running Vista and Firefox. Pretty nifty concept, but nothing I can use. ;) My only question at this point... where are all of the files located that were downloaded so that I may remove them from my computer? Best regards, David C. >----- Original Message ----- >From: "Richard Miller" >To: "How to use Revolution" >Sent: Wednesday, December 2, 2009 8:37:28 AM GMT -06:00 US/Canada Central >Subject: Swing Browser is in testing > >I have entered the testing phase with my new software based on the >revweb plugin, and would appreciate any and all feedback (negative, >positive, suggestions.... whatever) from anyone who wants to check it over. > >The site is still rough around the edges... plus, I have little in the >way of graphics skills, so it doesn't look as cool or tight as it could. >But functionally, it has all the right pieces. I have about 30 users >testing it now before it goes public... which won't be until a new >version of the plugin is released. I've had to work around the ongoing >revweb problems regarding cursors (no busy, draw or hand cursor), the >lack of a dependable Answer dialog box, the lack of direct Externals >support, and a few other things. Hopefully, these will all be fixed >soon. Also note it does not seem to run under Windows 7 and IE (not sure >about Firefox). > >The main purposes of this site are as follows: > >1. Allow users to easily import their sports videos into the system, >following which they can review their "motion" frame-by-frame. I've set >the site up generically, so it is as useful to baseball, tennis, etc. as >it is to golf (my original core focus area). The software should handle >most common video formats. It uses ffmpeg to convert any >non-Quicktime-compatible formats to MOV. > >2. Let users compare their motion to professionals (i.e. "model videos" >in the Directory) > >3. Let them easily edit these videos (which are often 20 - 100 mb in >size coming off the camera) so the file size is 1 mb or so, from which >they can then quickly send those videos to anyone else for review (using >just an email address). The receiver views the video in my program. You >can test this function using the Sample Video (in the Directory) under >the Imported Videos section. Click on it, then Edit Video. > >4. Most importantly, allow pro's to do a voice-over analysis (including >lines, circles and polygons) of a swing using the Create Analysis button >in the Compare screen. This analysis can then be quickly sent to others >(typically students) for review through my site. > >5. Make the program easy to use, convenient (since it runs in a >browser... which is where all the action seems to be these days), and >inexpensive ($69). > >6. Make it Windows, Mac and (soon) Linux compatible. > >It's all here: www.swingbrowser.com > >Thanks. >Richard Miller > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From wow at together.net Wed Dec 2 18:29:30 2009 From: wow at together.net (Richard Miller) Date: Wed, 02 Dec 2009 18:29:30 -0500 Subject: Swing Browser is in testing In-Reply-To: <23450505.01259795590859.JavaMail.HAPPYLAPPY$@HappyLappy> References: <23450505.01259795590859.JavaMail.HAPPYLAPPY$@HappyLappy> Message-ID: <4B16F85A.4020801@together.net> David, Thanks for taking a look at it. Isn't that just the way these things go... works for you, but not for Nicolas. Same basic configuration. Vista. Firefox. Same plugin. Different results. More digging ahead... The files are all in a Swing Browser folder... either in Documents or the AppData folder. Just dump the folder. I do need to create an uninstaller. An uninstaller for a web site... sounds like a new concept. Richard David Coker wrote: > Richard, > Although I'm not sure what all is supposed to be functional, I was able to view some golfing videos after browsing around a bit to find where they were located in the program. Also took a snapshot of one and saved it to my desktop. All of the above on a RC running Vista and Firefox. > > Pretty nifty concept, but nothing I can use. ;) > > My only question at this point... where are all of the files located that were downloaded so that I may remove them from my computer? > > Best regards, > David C. > > > >> ----- Original Message ----- >> From: "Richard Miller" >> To: "How to use Revolution" >> Sent: Wednesday, December 2, 2009 8:37:28 AM GMT -06:00 US/Canada Central >> Subject: Swing Browser is in testing >> >> I have entered the testing phase with my new software based on the >> revweb plugin, and would appreciate any and all feedback (negative, >> positive, suggestions.... whatever) from anyone who wants to check it over. >> >> The site is still rough around the edges... plus, I have little in the >> way of graphics skills, so it doesn't look as cool or tight as it could. >> But functionally, it has all the right pieces. I have about 30 users >> testing it now before it goes public... which won't be until a new >> version of the plugin is released. I've had to work around the ongoing >> revweb problems regarding cursors (no busy, draw or hand cursor), the >> lack of a dependable Answer dialog box, the lack of direct Externals >> support, and a few other things. Hopefully, these will all be fixed >> soon. Also note it does not seem to run under Windows 7 and IE (not sure >> about Firefox). >> >> The main purposes of this site are as follows: >> >> 1. Allow users to easily import their sports videos into the system, >> following which they can review their "motion" frame-by-frame. I've set >> the site up generically, so it is as useful to baseball, tennis, etc. as >> it is to golf (my original core focus area). The software should handle >> most common video formats. It uses ffmpeg to convert any >> non-Quicktime-compatible formats to MOV. >> >> 2. Let users compare their motion to professionals (i.e. "model videos" >> in the Directory) >> >> 3. Let them easily edit these videos (which are often 20 - 100 mb in >> size coming off the camera) so the file size is 1 mb or so, from which >> they can then quickly send those videos to anyone else for review (using >> just an email address). The receiver views the video in my program. You >> can test this function using the Sample Video (in the Directory) under >> the Imported Videos section. Click on it, then Edit Video. >> >> 4. Most importantly, allow pro's to do a voice-over analysis (including >> lines, circles and polygons) of a swing using the Create Analysis button >> in the Compare screen. This analysis can then be quickly sent to others >> (typically students) for review through my site. >> >> 5. Make the program easy to use, convenient (since it runs in a >> browser... which is where all the action seems to be these days), and >> inexpensive ($69). >> >> 6. Make it Windows, Mac and (soon) Linux compatible. >> >> It's all here: www.swingbrowser.com >> >> Thanks. >> Richard Miller >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From wow at together.net Wed Dec 2 18:34:22 2009 From: wow at together.net (Richard Miller) Date: Wed, 02 Dec 2009 18:34:22 -0500 Subject: Swing Browser is in testing In-Reply-To: <1e91b2b70912021445k3318ace7y7e5972ebfa02eb91@mail.gmail.com> References: <20091129180005.5E680288165@mail.runrev.com> <80C3EE96-F288-4D0A-832A-8223F18B31AE@derbrill.de> <4B167BA8.7080409@together.net> <1e91b2b70912021445k3318ace7y7e5972ebfa02eb91@mail.gmail.com> Message-ID: <4B16F97E.3090904@together.net> Nicolas, No explanations... yet. But thanks for looking. I haven't received any other reports of the problem you encountered, but I'll dig into it. Will likely contact you offline. The frustrating thing is that there's no way to know how many problems like this are due to the plugin. Most folks testing the site are finding nearly all of it working well. But then there are about 25% of users having problems in areas that work fine for others. Richard Nicolas Cueto wrote: > Richard, > > Just out of curiosity, checked out your site. Unfortunately, it's not > working on my setup (Vista, Firefox 3.5.5, revApp 4.0.0-rc-1 build > 940). > > Here's what I see at my end. A window with a left-side menu and a > "downloading" message appears. During downloading, a screen object > that I guess is a progress bar also appears (can't tell for sure, > cause it remains one solid white color thruout the download). When the > "downloading" message and object disappear, there's a twirling > multi-colored icon/cursor, which simply disappears when clicked-on. > Then, at last, I'm left with just a black window with that left-side > menu, which is unclickable. > > Tried it a couple of times, and the same results each time. > > -- > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From niconiko at gmail.com Wed Dec 2 18:36:07 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 3 Dec 2009 08:36:07 +0900 Subject: Swing Browser is in testing In-Reply-To: <4B16F85A.4020801@together.net> References: <23450505.01259795590859.JavaMail.HAPPYLAPPY$@HappyLappy> <4B16F85A.4020801@together.net> Message-ID: <1e91b2b70912021536y36bea0b8p87f51d39c46ced84@mail.gmail.com> Richard, I tried it again, this time after updating my Rev plugin version. One very small difference this time. Right before the "downloading" message appears, for a very brief second I can see an image of a golfer and some other screen objects. But after "downloading" is done, it's the same blackscreen with a left-side menu. Tried it on IE8. Same as above -- brief glimpse of a golfer/objects, and then blackscreen/menu. -- Nicolas Cueto From ambassador at fourthworld.com Wed Dec 2 18:55:20 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 02 Dec 2009 15:55:20 -0800 Subject: Rev 4.0 article on TheServerSide Message-ID: <4B16FE68.7040401@fourthworld.com> Andre Garzia wrote: > Actually I think some of the comments have a point. That language > comparision pdf is misleading. Even I could write better code than that in > those languages. I would suggest people on runrev would change that pdf to > present optimum code in C++/C#/JAVA and the like, like, very professional > code and see how well Rev stacks against it, even if they are all one > liners, Rev will be more readable and thus win points. If you post crappy > code, the users of those languages will clearly recognize the pdf as a bad > practice and have a bad impression of the language. IIRC, the Java example of how to make an alias is from the Apple web site. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From wow at together.net Wed Dec 2 18:58:44 2009 From: wow at together.net (Richard Miller) Date: Wed, 02 Dec 2009 18:58:44 -0500 Subject: Swing Browser is in testing In-Reply-To: <1e91b2b70912021536y36bea0b8p87f51d39c46ced84@mail.gmail.com> References: <23450505.01259795590859.JavaMail.HAPPYLAPPY$@HappyLappy> <4B16F85A.4020801@together.net> <1e91b2b70912021536y36bea0b8p87f51d39c46ced84@mail.gmail.com> Message-ID: <4B16FF34.2060704@together.net> Nicolas, Yes... this can be a bit frustrating. Just walked another user through the startup process. He's using XP and IE. Wouldn't work at all. He switched to Firefox and everything worked perfectly. Not a single problem. The black screen you are seeing is just a protective graphic to prevent users from interacting too soon. But it should disappear at the end of the startup process. So something is not completing right. I'll be digging into this tomorrow AM. Thanks for helping. I appreciate it. All this testing is helping uncover the nuances of the plugin... and it's many inconsistencies. It's definitely not ready for show time. Richard Nicolas Cueto wrote: > Richard, > > I tried it again, this time after updating my Rev plugin version. > > One very small difference this time. Right before the "downloading" > message appears, for a very brief second I can see an image of a > golfer and some other screen objects. But after "downloading" is done, > it's the same blackscreen with a left-side menu. > > Tried it on IE8. Same as above -- brief glimpse of a golfer/objects, > and then blackscreen/menu. > > -- > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From davidocoker at gmail.com Wed Dec 2 19:00:04 2009 From: davidocoker at gmail.com (David Coker) Date: Wed, 2 Dec 2009 18:00:04 -0600 (CST) Subject: Swing Browser is in testing In-Reply-To: <4B16F85A.4020801@together.net> Message-ID: <19063131.01259798403912.JavaMail.HAPPYLAPPY$@HappyLappy> Hey Richard. ...well now, there lies the problem. I followed the path that was displayed withing the program and didn't find any such folder as you've described. Just did a complete search for the entire computer and all users as Admin and still didn't locate anything. How about sharing one single file name and I'll give that a try? Best regards, David C. >The files are all in a Swing Browser folder... either in Documents or >the AppData folder. Just dump the folder. I do need to create an >uninstaller. An uninstaller for a web site... sounds like a new concept. From wow at together.net Wed Dec 2 19:13:39 2009 From: wow at together.net (Richard Miller) Date: Wed, 02 Dec 2009 19:13:39 -0500 Subject: Swing Browser is in testing In-Reply-To: <19063131.01259798403912.JavaMail.HAPPYLAPPY$@HappyLappy> References: <19063131.01259798403912.JavaMail.HAPPYLAPPY$@HappyLappy> Message-ID: <4B1702B3.90305@together.net> Hi David, The folder is called Swing Browser. It should be in AppData, which I believe is a hidden folder. I put the files in there because there seemed to be some consensus here that specialfolderpath(26) was a good place for Rev files. If you open Rev and type specialfolderpath(26) in the msg box, it should give you the pathway. Richard David Coker wrote: > Hey Richard. > > ...well now, there lies the problem. I followed the path that was displayed withing the program and didn't find any such folder as you've described. Just did a complete search for the entire computer and all users as Admin and still didn't locate anything. How about sharing one single file name and I'll give that a try? > > > Best regards, > David C. > > > > >> The files are all in a Swing Browser folder... either in Documents or >> the AppData folder. Just dump the folder. I do need to create an >> uninstaller. An uninstaller for a web site... sounds like a new concept. >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From niconiko at gmail.com Wed Dec 2 19:29:58 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 3 Dec 2009 09:29:58 +0900 Subject: Swing Browser is in testing In-Reply-To: <4B16FF34.2060704@together.net> References: <23450505.01259795590859.JavaMail.HAPPYLAPPY$@HappyLappy> <4B16F85A.4020801@together.net> <1e91b2b70912021536y36bea0b8p87f51d39c46ced84@mail.gmail.com> <4B16FF34.2060704@together.net> Message-ID: <1e91b2b70912021629l65c97343kb2a25afd345887b5@mail.gmail.com> No problem, Richard. > the nuances of the plugin... and it's many inconsistencies. It's definitely not > ready for show time. Which is a large reason for my helping you out. I figure you butting heads with it now makes my revlet life easier later on. Speaking of which. Does Swing Browser do print-outs of revlet window-contents to paper thru a browser's (not a revlet's) "Print" function? I've tried but, when my IE/Firefox prints out, everything on the webpage gets copied onto paper except for the revlet frame and its contents. Just wondering. Anyway, good luck on the Swing Browser to revlet transition. -- Nicolas Cueto From wow at together.net Wed Dec 2 19:58:58 2009 From: wow at together.net (Richard Miller) Date: Wed, 02 Dec 2009 19:58:58 -0500 Subject: Swing Browser is in testing In-Reply-To: <1e91b2b70912021629l65c97343kb2a25afd345887b5@mail.gmail.com> References: <23450505.01259795590859.JavaMail.HAPPYLAPPY$@HappyLappy> <4B16F85A.4020801@together.net> <1e91b2b70912021536y36bea0b8p87f51d39c46ced84@mail.gmail.com> <4B16FF34.2060704@together.net> <1e91b2b70912021629l65c97343kb2a25afd345887b5@mail.gmail.com> Message-ID: <4B170D52.5060601@together.net> The only printing that is working is through Rev's "print this card from xx to yy". That works fine. Printing from the browser's print command doesn't appear to work. Yeah... I figured I'd post info about the site here to help sort out more revweb issues. Hopefully, this process will serve a bunch of us. It really would be helpful to hear something from Revolution about the status of the next plugin update. Just to know if we're a week away... a month away... or considerably longer till the plugin reaches some level of reliability. Richard Nicolas Cueto wrote: > No problem, Richard. > > >> the nuances of the plugin... and it's many inconsistencies. It's definitely not >> ready for show time. >> > > Which is a large reason for my helping you out. I figure you butting > heads with it now makes my revlet life easier later on. > > Speaking of which. Does Swing Browser do print-outs of revlet > window-contents to paper thru a browser's (not a revlet's) "Print" > function? > > I've tried but, when my IE/Firefox prints out, everything on the > webpage gets copied onto paper except for the revlet frame and its > contents. > > Just wondering. > > Anyway, good luck on the Swing Browser to revlet transition. > > -- > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From peterwawood at gmail.com Wed Dec 2 20:01:58 2009 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 3 Dec 2009 09:01:58 +0800 Subject: Rev 4.0 article on TheServerSide In-Reply-To: <4B16FE68.7040401@fourthworld.com> References: <4B16FE68.7040401@fourthworld.com> Message-ID: Richard > IIRC, the Java example of how to make an alias is from the Apple web site. That raises an interesting question. Is is because Apple's engineers write poor Java that Steve Jobs said ?Java?s not worth building in. Nobody uses Java anymore. It?s this big heavyweight ball and chain.? or is it because Steve Jobs said it that Apple's engineers write poor Java? Whatever the answer, Andre raised a very relevant point, with which I fully agree, that Rev is not well served by using a comparison against what others feel is very poor code. To truly demonstrate Rev's ability against other code, get the code written by a recognised expert in that language (somebody like Bruce Eckel for Java and C++). Yes, it would cost money but I believe it would be money well spent. If RunRev doesn't have or want to spend the money then issue a challenge to improve the code on a forum like Stackoverflow. To exemplify both points, I was going to write a counter example of sending a simple email - sending a simple text message. I'm new to Rev so I couldn't do it off the top of my head. So, I leave it to the experts on the list to come up with the Rev to counter my Rebol example: REBOL[] ;; Script header ;; Initialise network settings set-net [ MyEmail at MyDomain.com smtp.MyDomain.com pop.MyDomain.com ProxyDomain.com ;; or None ProxyPort ;; or None ProxyProtocol ;; or None "MyUserAccount" "MyPassword" ] send YourEmail at YourDomain.com "Hello There" send/header YourEmail at YourDomain.com "Doesn't this demonstrate a biased example?" "Rebol needs far fewer lines than Rev" ;; end of scrpt Regards Peter ] From wjm at wjm.org Wed Dec 2 20:16:44 2009 From: wjm at wjm.org (William Marriott) Date: Wed, 02 Dec 2009 20:16:44 -0500 Subject: Rev 4.0 article on TheServerSide In-Reply-To: <1259776427348-933457.post@n4.nabble.com> References: <111553.63891.qm@web65402.mail.ac4.yahoo.com> <1259776427348-933457.post@n4.nabble.com> Message-ID: Alejandro, > Bill, Why don't link to Stomfi tutorials for Novell Linux in these answers? Just discovered them thanks to your post... really nice to have a few pages on the Novell site about us :) Will try to make some use of them. http://www.novell.com/coolsolutions/author/1211.html - Bill From davidocoker at gmail.com Wed Dec 2 20:27:32 2009 From: davidocoker at gmail.com (David Coker) Date: Wed, 2 Dec 2009 19:27:32 -0600 (CST) Subject: Swing Browser is in testing In-Reply-To: <4B1702B3.90305@together.net> Message-ID: <27221385.41259803648998.JavaMail.HAPPYLAPPY$@HappyLappy> Hello again Richard, This is just an FYI for anyone else that wants to remove the application files that are downloaded during testing. I finally found them hidden in: C:/Users/xxxxx/AppData/Roaming/Swing Browser/ I'm *really* new to using Vista and have never gotten around to seeing where they hide things. :) All is well. Regards, David C. ----- Original Message ----- From: "Richard Miller" To: "How to use Revolution" Sent: Wednesday, December 2, 2009 6:13:39 PM GMT -06:00 US/Canada Central Subject: Re: Swing Browser is in testing Hi David, The folder is called Swing Browser. It should be in AppData, which I believe is a hidden folder. I put the files in there because there seemed to be some consensus here that specialfolderpath(26) was a good place for Rev files. If you open Rev and type specialfolderpath(26) in the msg box, it should give you the pathway. Richard David Coker wrote: > Hey Richard. > > ...well now, there lies the problem. I followed the path that was displayed withing the program and didn't find any such folder as you've described. Just did a complete search for the entire computer and all users as Admin and still didn't locate anything. How about sharing one single file name and I'll give that a try? > > > Best regards, > David C. > > > > >> The files are all in a Swing Browser folder... either in Documents or >> the AppData folder. Just dump the folder. I do need to create an >> uninstaller. An uninstaller for a web site... sounds like a new concept. >> > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From capellan2000 at gmail.com Wed Dec 2 21:24:46 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 2 Dec 2009 18:24:46 -0800 (PST) Subject: [OT] Illustrating C Message-ID: <1259807086754-947319.post@n4.nabble.com> Hi all, Today, i borrowed from a software developer the book "Illustrating C" that Alex Tweedly recommended some months ago to learn C programming: http://www.amazon.com/Illustrating-C-Ansi-Iso-Version/dp/0521468213 http://books.google.com.do/books?id=TgL6vOlQcvUC&dq=Illustrating+C&printsec=frontcover&source=bl&ots=-tu55WN4Ws&sig=VS6JU322UvXEkqnD-u5ueOPlbbM&hl=es&ei=OxwXS9LzKsmztgesw4nkBA&sa=X&oi=book_result&ct=result&resnum=5&ved=0CB8Q6AEwBA#v=onepage&q=&f=false It's surprising, how densely packed of information is this small book (size is smaller than a 8 1/2 x 11 page and only have 214 pages including index). Probably it's my personal interpretation, but looking at the calligraphy and hand-made diagrams make me think that every word and graphic printed in this book is crucially important to the explanations given. Hope that you could take a look to this book and comment about Donald Alcock unique style of teaching C. Alejandro -- View this message in context: http://n4.nabble.com/OT-Illustrating-C-tp947319p947319.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed Dec 2 21:36:07 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 02 Dec 2009 20:36:07 -0600 Subject: Swing Browser is in testing In-Reply-To: <4B170D52.5060601@together.net> References: <23450505.01259795590859.JavaMail.HAPPYLAPPY$@HappyLappy> <4B16F85A.4020801@together.net> <1e91b2b70912021536y36bea0b8p87f51d39c46ced84@mail.gmail.com> <4B16FF34.2060704@together.net> <1e91b2b70912021629l65c97343kb2a25afd345887b5@mail.gmail.com> <4B170D52.5060601@together.net> Message-ID: <4B172417.1070502@hyperactivesw.com> Richard Miller wrote: > The only printing that is working is through Rev's "print this card from > xx to yy". That works fine. Printing from the browser's print command > doesn't appear to work. Just curious because I've never tried it, but does a Flash plugin print from the browser? Or a QuickTime movie poster? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Wed Dec 2 21:45:27 2009 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 3 Dec 2009 00:45:27 -0200 Subject: [OT] Illustrating C In-Reply-To: <1259807086754-947319.post@n4.nabble.com> References: <1259807086754-947319.post@n4.nabble.com> Message-ID: <7c87a2a10912021845r16b79e02n286d40511061443c@mail.gmail.com> Alejandro, While I was coursing computer science I used that book a lot. I love it! Most of my fellow students had huge C bibles with thousand pages and more, I had only that book and it contained everything I wanted and was easy to follow and understand. I really think it is a great book, thought it was out of print, will get myself a copy. Cheers andre On Thu, Dec 3, 2009 at 12:24 AM, Alejandro Tejada wrote: > > Hi all, > > Today, i borrowed from a software developer the book > "Illustrating C" that Alex Tweedly recommended some > months ago to learn C programming: > > http://www.amazon.com/Illustrating-C-Ansi-Iso-Version/dp/0521468213 > > http://books.google.com.do/books?id=TgL6vOlQcvUC&dq=Illustrating+C&printsec=frontcover&source=bl&ots=-tu55WN4Ws&sig=VS6JU322UvXEkqnD-u5ueOPlbbM&hl=es&ei=OxwXS9LzKsmztgesw4nkBA&sa=X&oi=book_result&ct=result&resnum=5&ved=0CB8Q6AEwBA#v=onepage&q=&f=false > > It's surprising, how densely packed of information is > this small book (size is smaller than a 8 1/2 x 11 page > and only have 214 pages including index). > > Probably it's my personal interpretation, but looking at > the calligraphy and hand-made diagrams make me think > that every word and graphic printed in this book is crucially > important to the explanations given. > > Hope that you could take a look to this book and comment > about Donald Alcock unique style of teaching C. > > Alejandro > > -- > View this message in context: > http://n4.nabble.com/OT-Illustrating-C-tp947319p947319.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From niconiko at gmail.com Wed Dec 2 22:37:23 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 3 Dec 2009 12:37:23 +0900 Subject: Swing Browser is in testing In-Reply-To: <4B172417.1070502@hyperactivesw.com> References: <23450505.01259795590859.JavaMail.HAPPYLAPPY$@HappyLappy> <4B16F85A.4020801@together.net> <1e91b2b70912021536y36bea0b8p87f51d39c46ced84@mail.gmail.com> <4B16FF34.2060704@together.net> <1e91b2b70912021629l65c97343kb2a25afd345887b5@mail.gmail.com> <4B170D52.5060601@together.net> <4B172417.1070502@hyperactivesw.com> Message-ID: <1e91b2b70912021937j7a619cb6je74b22817af4bc35@mail.gmail.com> > Just curious because I've never tried it, but does a Flash plugin print from > the browser? Or a QuickTime movie poster? Flash plugins did print from my browser. -- Nicolas Cueto From gregory.lypny at videotron.ca Wed Dec 2 22:58:30 2009 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 02 Dec 2009 22:58:30 -0500 Subject: Standalone Not Working Message-ID: <3964E5B0-5A04-43E8-8A17-02794637253F@videotron.ca> Hello everyone, Created a standalone on my Mac for both Mac and Windows. I opened the Mac version and it works fine. I then uploaded the whole things (folder with both versions) to a FirstClass server so that my students can download it. When I download the Mac version from the server, it will not open. Double-click and it just sits there. What did I do wrong? Did something get lost along the way? Regards, Gregory From sarah.reichelt at gmail.com Wed Dec 2 23:01:27 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 3 Dec 2009 14:01:27 +1000 Subject: Standalone Not Working In-Reply-To: <3964E5B0-5A04-43E8-8A17-02794637253F@videotron.ca> References: <3964E5B0-5A04-43E8-8A17-02794637253F@videotron.ca> Message-ID: > Created a standalone on my Mac for both Mac and Windows. ?I opened the Mac version and it works fine. ?I then uploaded the whole things (folder with both versions) to a FirstClass server so that my students can download it. ?When I download the Mac version from the server, it will not open. ?Double-click and it just sits there. ?What did I do wrong? ?Did something get lost along the way? A Mac application is actually a special sort of folder with lots of stuff hidden inside, so you need to zip it or put it into a disk image before uploading. Cheers, Sarah From palcibiades-first at yahoo.co.uk Thu Dec 3 04:53:28 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 3 Dec 2009 09:53:28 +0000 Subject: sending hexadecimal control characters, how to? Message-ID: <200912030953.28806.palcibiades-first@yahoo.co.uk> I need to send a plain ascii text file to a printer, which is going to be done, let's assume the file is printest, with cat printest>/dev/usb/lp0 Which just dumps the text file to that device. There might be other ways to do it, but that is verified to work. For this to do some other stuff, it needs to have hex 07 at the end of it. Probably very simple but I never did this before How do you do it? Do I have to use send a raw key ascii code number somehow? Peter From sarah.reichelt at gmail.com Thu Dec 3 05:26:56 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 3 Dec 2009 20:26:56 +1000 Subject: sending hexadecimal control characters, how to? In-Reply-To: <200912030953.28806.palcibiades-first@yahoo.co.uk> References: <200912030953.28806.palcibiades-first@yahoo.co.uk> Message-ID: On Thu, Dec 3, 2009 at 7:53 PM, Peter Alcibiades wrote: > I need to send a plain ascii text file to a printer, which is going to be > done, let's assume the file is printest, with > > ? ? ? ?cat printest>/dev/usb/lp0 > > Which just dumps the text file to that device. ?There might be other ways > to do it, but that is verified to work. > > For this to do some other stuff, it needs to have hex 07 at the end of it. > Probably very simple but I never did this before > > How do you do it? ?Do I have to use send a raw key ascii code number > somehow? I have had a similar case where I had to send binary characters to a receipt printer e.g. CHR 27. It worked fine when I sent numToChar(27) instead,so I suggest you convert your hex to decimal, then try sending numToChar of whatever you get. (I realise that if it is only hex 07, then sending numToChar(7) is what you need to try, but there might be others, which is why I explained my logic). If this doesn't work, let me know and I will check my old code. Cheers, Sarah From viktoras at ekoinf.net Thu Dec 3 05:37:29 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Thu, 03 Dec 2009 10:37:29 +0000 Subject: Rev 4.0 article on TheServerSide In-Reply-To: <7c87a2a10912021241n6b6b9d3eoa9d4be1d23998081@mail.gmail.com> References: <111553.63891.qm@web65402.mail.ac4.yahoo.com> <7c87a2a10912021241n6b6b9d3eoa9d4be1d23998081@mail.gmail.com> Message-ID: <4B1794E9.2060303@ekoinf.net> I completely agree with Andre, it is not good to display "dumbed down" code in other programming languages. We have to be fair here. Viktoras Andre Garzia wrote: > Actually I think some of the comments have a point. That language > comparision pdf is misleading. Even I could write better code than that in > those languages. I would suggest people on runrev would change that pdf to > present optimum code in C++/C#/JAVA and the like, like, very professional > code and see how well Rev stacks against it, even if they are all one > liners, Rev will be more readable and thus win points. If you post crappy > code, the users of those languages will clearly recognize the pdf as a bad > practice and have a bad impression of the language. > > And this is me being very serious which people here don't usually see. I > don't like that pdf at all, I see a marketing gizmo which is not related to > the actual truth. I can write those examples in two or three lines of python > and java and ruby and I am not a good programmer in those languages. Looking > at that text, I see why slashdot and this article have flame comments. > > On Wed, Dec 2, 2009 at 2:59 PM, Bill Marriott wrote: > > >> Jan, >> >> Prepare for "I'll stick with a real programming language, thank you very >> >>> much" >>> remarks; but it will hopefully drive traffic to the runrev.com site for >>> Java developers >>> >>> sitting on the fence with JavaFX, Flex,... >>> >>> >> Just remember, "Real programmers don't use plain English." :) >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > > From bdrunrev at gmail.com Thu Dec 3 05:56:29 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 3 Dec 2009 10:56:29 +0000 Subject: [OT] Illustrating C In-Reply-To: <1259807086754-947319.post@n4.nabble.com> References: <1259807086754-947319.post@n4.nabble.com> Message-ID: Alejandro, Thanks for pointing out this book (I must have missed Alex mentioning it). I've had an aversion to C that goes back 20 years (even functional programming has been more appealing). Maybe this will be what I need to get over it :-) Bernard On Thu, Dec 3, 2009 at 2:24 AM, Alejandro Tejada wrote: > > Hi all, > > Today, i borrowed from a software developer the book > "Illustrating C" that Alex Tweedly recommended some > months ago to learn C programming: From palcibiades-first at yahoo.co.uk Thu Dec 3 06:03:53 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 3 Dec 2009 03:03:53 -0800 (PST) Subject: sending hexadecimal control characters, how to? In-Reply-To: References: <200912030953.28806.palcibiades-first@yahoo.co.uk> Message-ID: <1259838233481-947554.post@n4.nabble.com> Sarah, brilliant! It is indeed a receipt printer. So do you maybe know how to do the next part? In order to activate the paper cutter on it, one is supposed to do this to trigger the auto cutter drive: ?d? ?0? or ?d? <0> (1B)H (64)H (30)H or (1B)H (64)H (00)H ?d? ?1? or ?d? <1> (1B)H (64)H (31)H or (1B)H (64)H (01)H So do you have to convert some or all of this to ascii, and then put that into the text? And if so how? The cash drawer via control 7 is pretty much essential, the paper cutter would be very nice if possible. Peter Sarah Reichelt-2 wrote: > > On Thu, Dec 3, 2009 at 7:53 PM, Peter Alcibiades > wrote: >> I need to send a plain ascii text file to a printer, which is going to be >> done, let's assume the file is printest, with >> >> ? ? ? ?cat printest>/dev/usb/lp0 >> >> Which just dumps the text file to that device. ?There might be other ways >> to do it, but that is verified to work. >> >> For this to do some other stuff, it needs to have hex 07 at the end of >> it. >> Probably very simple but I never did this before >> >> How do you do it? ?Do I have to use send a raw key ascii code number >> somehow? > > I have had a similar case where I had to send binary characters to a > receipt printer e.g. CHR 27. > It worked fine when I sent numToChar(27) instead,so I suggest you > convert your hex to decimal, then try sending numToChar of whatever > you get. > (I realise that if it is only hex 07, then sending numToChar(7) is > what you need to try, but there might be others, which is why I > explained my logic). > > If this doesn't work, let me know and I will check my old code. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at 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://n4.nabble.com/sending-hexadecimal-control-characters-how-to-tp947501p947554.html Sent from the Revolution - User mailing list archive at Nabble.com. From bdrunrev at gmail.com Thu Dec 3 06:44:00 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 3 Dec 2009 11:44:00 +0000 Subject: Rev 4.0 article on TheServerSide In-Reply-To: <4B1794E9.2060303@ekoinf.net> References: <111553.63891.qm@web65402.mail.ac4.yahoo.com> <7c87a2a10912021241n6b6b9d3eoa9d4be1d23998081@mail.gmail.com> <4B1794E9.2060303@ekoinf.net> Message-ID: I don't think we should get too concerned that the marketing of a product we like gets mocked on Slashdot or TheServerSide. The code samples might not be the best examples of each particular language, but they are probably representative of the code that novice programmers would create. My understanding is that these new entrants into programming have always been the target market for RunRev. I can't see how any novice would prefer the samples given in those other languages - after years of programming in Java it still makes me regurgitate my last meal whenever I have to look at some Java code. For the last 10 years the people on theserverside.com have _viciously attacked anything_ that is not Java. I used to visit that site daily when I was doing Java programming. (I was always looking for better alternatives to the tools and frameworks we were using at work). The company behind that non-java-specific website even had to set up a different website to discuss .Net (http://www.theserverside.net), because there would have been blood spilt (and possibly assassinations) if Java programmers had to evaluate the merits of anything other than Java. Compared to the history of theserverside.*, here we have wide-ranging and fair discussions of options other than Rev. And ironically we are on runrev-hosted and runrev-managed fora (they are not a Sun-hosted forum). Theserverside.* sites are the very definition of narrow-minded, and that narrow-mindedness does not come from the provider of the site, but from the users. Despite my wide interests in programming, I only revisit theserverside.com about once every year - only to confirm my view that they are deeply mining a very narrow strip. I always imagine that the people on theserverside.* are corporate drones who love their dronehood and will defend their shackles when offered freedom. I visualise them as the kind of prisoner in The Life of Brian who says how his Roman torturers are very fair people. (If I remember rightly, Python also mocked that kind of drone in The Holy Grail.) Corporate drones maintaining that Java or .Net is the only way to program are exhibiting some form of Stockholm Syndrome. I think Rev got off quite lightly there - maybe the drones are by now all paunchy middle-aged men, looking forward to their retirement and hoping they can get there without learning anything new. I don't think they ever got over the defections from Java of such luminaries as Bruce Eckel and Bruce Tate. (No disrespect to paunchy middle aged men on here - I am one also.) Instead I think we have to consider how far RunRev have come and what a great job they have done to even get mentioned on theserverside. I believe it was RunRevKev who started the slashdot discussion - but the mention on theserverside came from someone outside the company. As did the mention on the ziff davis site. The problem for RunRev marketing is to find some way to let the vast millions of non-programmers find out what they could achieve with Rev. I remember when I accidently heard of Revolution. I then did some searches for past discussions on the internet of Rev or MetaCard. It was very hard to find any discussion of them in some obscure usenet group, let alone find a discussion on major sites such as slashdot, ziff davis, or theserverside. Theserverside.com is probably the last website in the world where I would expect to see a discussion of Rev. In fact, I'd genuinely be less surprised if Rev was discussed on www.popularmechanics.com or www.vogue.com. I never expected to see a Rev browser plugin, so maybe I'll get to see Rev on the catwalk. Congratulations are in order. Bernard From kevin at runrev.com Thu Dec 3 07:24:27 2009 From: kevin at runrev.com (Kevin Miller) Date: Thu, 03 Dec 2009 12:24:27 +0000 Subject: Rev 4.0 article on TheServerSide In-Reply-To: <7c87a2a10912021241n6b6b9d3eoa9d4be1d23998081@mail.gmail.com> Message-ID: On 02/12/2009 20:41, "Andre Garzia" wrote: > Actually I think some of the comments have a point. That language > comparision pdf is misleading. Even I could write better code than that in > those languages. I would suggest people on runrev would change that pdf to > present optimum code in C++/C#/JAVA and the like, like, very professional > code and see how well Rev stacks against it, even if they are all one > liners, Rev will be more readable and thus win points. If you post crappy > code, the users of those languages will clearly recognize the pdf as a bad > practice and have a bad impression of the language. Given the feedback, I think there is room for improvement on our part here. The goal of these examples was to present real-world use cases where average people wrote the code in each of the languages. Programmers generally don't write perfect code all the time so that doesn't make for a very realistic comparison of how much time the average developer will save on a day to day basis. Its not genius vs. genius, its typical user vs. typical user. The question we were asking was "Which language is going to be easier in day to day use"? For example, the code on the PHP comparison was based on an example posted on a site that *teaches* how to write PHP. So clearly its of a standard that is used in the real world. If you're an expert coding in PHP every day you can shorten it. Same with the revTalk example as it happens. There is a fine line to walk here in terms of actually getting covered and creating a talking point with strong headlines and ensuring that we present our case in a way that does not detract from our message. Without bold headlines and "best case" claims we simply don't get covered, we're not interesting or newsworthy. Its been tricky to find ways to articulate our advantages clearly to people who have little time or appetite to hear about "yet another" language. There isn't anything untrue about what we're claiming, there are plenty of customer cases that we can point to who truly have made the sorts of savings we have been pushing in our marketing. These are real people who have saved a lot of budget or had projects enabled that would otherwise not have been done. There are plenty of programmers who would write code just like those examples in each of the languages presented. And there are always going to be people who will dislike and flame Rev whatever we do. But getting coverage means that many other people will have an opportunity to take a look and make up their own mind. As important as all these points are, I wholeheartedly agreed that we have to ensure that we hold a sophisticated and informed debate that makes the point clearly and in a way that does not detract from our message by people getting derailed. One such way for that to happen would be for a subset of experienced professional programmers to take our examples in the wrong way. So we will take another pass at these examples to see how we can improve what we are communicating here. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From andre at andregarzia.com Thu Dec 3 08:39:07 2009 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 3 Dec 2009 11:39:07 -0200 Subject: sending hexadecimal control characters, how to? In-Reply-To: <1259838233481-947554.post@n4.nabble.com> References: <200912030953.28806.palcibiades-first@yahoo.co.uk> <1259838233481-947554.post@n4.nabble.com> Message-ID: <7c87a2a10912030539l4e2b17dcre2e10e44947f028c@mail.gmail.com> Folks, just a doubt here. I was going to create some shop management software here in Brazil, but here, due to law, if a software is to interface with a receipt printer, then you need to "approve" your software with the goverment, this changes from state to state but it is present in all states and it means that once they review your source code and test your software, your software is approved and frozen, you cannot update it. If you update it then you need to go thru the approval process again. If your software is not approved and you sell it, then there's a fine and it might even have jailtime. So I did not create the software. Is this so in other countries? Andre On Thu, Dec 3, 2009 at 9:03 AM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > > Sarah, brilliant! It is indeed a receipt printer. So do you maybe know > how > to do the next part? In order to activate the paper cutter on it, one > is supposed to do this to trigger the auto cutter drive: > > ?d? ?0? or ?d? <0> > (1B)H (64)H (30)H or (1B)H (64)H (00)H > ?d? ?1? or ?d? <1> > (1B)H (64)H (31)H or (1B)H (64)H (01)H > > So do you have to convert some or all of this to ascii, and then > put that into the text? And if so how? > > The cash drawer via control 7 is pretty much essential, the paper cutter > would be very nice if possible. > > Peter > > > Sarah Reichelt-2 wrote: > > > > On Thu, Dec 3, 2009 at 7:53 PM, Peter Alcibiades > > wrote: > >> I need to send a plain ascii text file to a printer, which is going to > be > >> done, let's assume the file is printest, with > >> > >> cat printest>/dev/usb/lp0 > >> > >> Which just dumps the text file to that device. There might be other > ways > >> to do it, but that is verified to work. > >> > >> For this to do some other stuff, it needs to have hex 07 at the end of > >> it. > >> Probably very simple but I never did this before > >> > >> How do you do it? Do I have to use send a raw key ascii code number > >> somehow? > > > > I have had a similar case where I had to send binary characters to a > > receipt printer e.g. CHR 27. > > It worked fine when I sent numToChar(27) instead,so I suggest you > > convert your hex to decimal, then try sending numToChar of whatever > > you get. > > (I realise that if it is only hex 07, then sending numToChar(7) is > > what you need to try, but there might be others, which is why I > > explained my logic). > > > > If this doesn't work, let me know and I will check my old code. > > > > Cheers, > > Sarah > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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://n4.nabble.com/sending-hexadecimal-control-characters-how-to-tp947501p947554.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From sims at ezpzapps.com Thu Dec 3 08:54:17 2009 From: sims at ezpzapps.com (Jim Sims) Date: Thu, 3 Dec 2009 14:54:17 +0100 Subject: sending hexadecimal control characters, how to? In-Reply-To: <7c87a2a10912030539l4e2b17dcre2e10e44947f028c@mail.gmail.com> References: <200912030953.28806.palcibiades-first@yahoo.co.uk> <1259838233481-947554.post@n4.nabble.com> <7c87a2a10912030539l4e2b17dcre2e10e44947f028c@mail.gmail.com> Message-ID: <0AE422D0-87B0-42BC-84C9-B1E16E885549@ezpzapps.com> On Dec 3, 2009, at 2:39 PM, Andre Garzia wrote: > If your software is not > approved and you sell it, then there's a fine and it might even have > jailtime. From what I understand, everything can be legal in Brazil but everything is illegal in Brazil. Where the determination falls depends on who you pay and how much. Quite like certain Mediterranean countries. sims From gregory.lypny at videotron.ca Thu Dec 3 08:58:07 2009 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 03 Dec 2009 08:58:07 -0500 Subject: Standalone Not Working In-Reply-To: <20091203114404.3A15428828B@mail.runrev.com> References: <20091203114404.3A15428828B@mail.runrev.com> Message-ID: <1B803118-CCD6-417B-A56E-40577127616C@videotron.ca> Thank you Sarah, I should have thought of that! Works like a charm now. Gregory On Thu, Dec 3, 2009, at 6:44 AM, Sarah wrote: >> >> Created a standalone on my Mac for both Mac and Windows. I opened the Mac version and it works fine. I then uploaded the whole things (folder with both versions) to a FirstClass server so that my students can download it. When I download the Mac version from the server, it will not open. Double-click and it just sits there. What did I do wrong? Did something get lost along the way? > > > A Mac application is actually a special sort of folder with lots of > stuff hidden inside, so you need to zip it or put it into a disk image > before uploading. > > Cheers, > Sarah From andre at andregarzia.com Thu Dec 3 09:00:31 2009 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 3 Dec 2009 12:00:31 -0200 Subject: sending hexadecimal control characters, how to? In-Reply-To: <0AE422D0-87B0-42BC-84C9-B1E16E885549@ezpzapps.com> References: <200912030953.28806.palcibiades-first@yahoo.co.uk> <1259838233481-947554.post@n4.nabble.com> <7c87a2a10912030539l4e2b17dcre2e10e44947f028c@mail.gmail.com> <0AE422D0-87B0-42BC-84C9-B1E16E885549@ezpzapps.com> Message-ID: <7c87a2a10912030600y33883936o2236985fa6fd9cee@mail.gmail.com> yes it is like that in here... but still, this process hinders software development, thats why most shop management software here are still clipper based DOS tools and some crappy VB 3 stuff... On Thu, Dec 3, 2009 at 11:54 AM, Jim Sims wrote: > > On Dec 3, 2009, at 2:39 PM, Andre Garzia wrote: > > If your software is not >> approved and you sell it, then there's a fine and it might even have >> jailtime. >> > > > From what I understand, everything can be legal in Brazil but everything is > illegal in Brazil. Where the determination falls depends on who you pay and > how much. Quite like certain Mediterranean countries. > > sims > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From jim at d-film.com Thu Dec 3 09:04:32 2009 From: jim at d-film.com (Jim Kanter) Date: Thu, 3 Dec 2009 09:04:32 -0500 Subject: Rev 4.0 article on TheServerSide In-Reply-To: References: <7c87a2a10912021241n6b6b9d3eoa9d4be1d23998081@mail.gmail.com> Message-ID: As Oscar WIlde once put it, "The only thing worse than people talking about you is people NOT talking about you." From viktoras at ekoinf.net Thu Dec 3 09:23:23 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Thu, 03 Dec 2009 14:23:23 +0000 Subject: Rev 4.0 article on TheServerSide In-Reply-To: References: Message-ID: <4B17C9DB.2050704@ekoinf.net> ...a few more thoughts related to making revTalk sound more "professionally". Description of programming in revTalk as English-like might sound OK and attract masses of beginner programmers from the UK, USA, Australia or New Zealand but it can also be rephrased into a description which would have more appeal for experienced programmers worldwide. I guess it would be more useful to emphasize revTalk not as "unprofessionally" "English-like" but as "very proffesional" "*Literate programming*". Here it comes, the definition (http://en.wikipedia.org/wiki/Literate_Programming): "The literate programming paradigm, as conceived by Knuth, represents a move away from writing programs in the manner and order imposed by the computer, and instead enables programmers to develop programs in the order demanded by the logic and flow of their thoughts. Literate programs are written as an uninterrupted exposition of logic in an ordinary human language, much like the text of an essay." Viktor Kevin Miller wrote: -------- > One such way for that to happen would be for a subset of > experienced professional programmers to take our examples in the wrong way. > So we will take another pass at these examples to see how we can improve > what we are communicating here. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > RunRev - Software construction for everyone > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From revolution at derbrill.de Thu Dec 3 09:23:46 2009 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Thu, 3 Dec 2009 15:23:46 +0100 Subject: Rev 4.0 article on TheServerSide In-Reply-To: <20091203114404.B66A528828F@mail.runrev.com> References: <20091203114404.B66A528828F@mail.runrev.com> Message-ID: <55F39F80-EC52-4224-BCFA-26D06F85130D@derbrill.de> > For example, the code on the PHP comparison was based on an > example posted on a site that *teaches* how to write PHP. So clearly > its of > a standard that is used in the real world. If you're an expert > coding in PHP > every day you can shorten it. Same with the revTalk example as it > happens. Kevin, how about taking the same cases and illustrate different implementations of the same problem? Like: First solution in PHP vs first solution in Rev. Better solution in PHP better one in rev. Ideal Solution of both. And leave a note to the devs that use the other language that if they if they improve and or shorten the script, to send feedback? Invite them for a competiotion their solution vs. ours? We could do that on use regarding script length and execution speed. Actually that would be a lot of fun :-D Cheers, Malte From nealk3nc at gmail.com Thu Dec 3 09:28:05 2009 From: nealk3nc at gmail.com (Neal Campbell) Date: Thu, 3 Dec 2009 09:28:05 -0500 Subject: Rev 4.0 article on TheServerSide In-Reply-To: References: <7c87a2a10912021241n6b6b9d3eoa9d4be1d23998081@mail.gmail.com> Message-ID: <325413300912030628j26f9d025v901a7f9c7764f079@mail.gmail.com> There are a lot of ways to sell a "new" language: paradigm changes that make immediate sense to programmers; toolkit environment; ease of learning; and, maybe doing things that are really difficult in other languages very elegantly. Truthfully, I think Rev hits the last two items but not the first two. As a "traditional" programmer, I think you actually have to unlearn the traditional way of coding to be proficient in Rev (not that I would claim I am). People used to looking at the world thru a C-based language will not find Rev a paradigm changing world, its just different and a large break from the world they know. Likewise, the toolkit environment is better than many languages but not near the top of "best in class". In other words, its not a "language switcher". The things that Rev really does well is ease of learning and I honestly think its graphics and multimedia capabilities (as well as the new internet plugin when it matures) are the world-class stuff. Therefore, I would personally target those areas for showing how Rev shines. Concerning the ease of learning: Now that Revmedia is free, I would get it into every computer possible. Pay to have Dell include it in their computer set. Give 100 copies to every school in the world. Start an evangelist-movement on college campuses to give liberal arts majors an introduction to programming. You might have to financially support these efforts but if you can get it introduced this way, it won't be the new C#, it ill be the new Excel. Concerning doing hard things elegantly: Instead of trying to fight it out on the blogs, I think having code/project articles on sites like Beautifulcode.com, Stackoverflow.com, etc. is the way to go viral. If the magic that I regularly see announced on this reflector was converted to a "how-to" article on these sites, we eould win by doing instead of trying to sell something to people who are already happy with what they have. Just my 2 cents! Best wishes for the holidays, Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 242 0911 Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Thu, Dec 3, 2009 at 7:24 AM, Kevin Miller wrote: > On 02/12/2009 20:41, "Andre Garzia" wrote: > > > Actually I think some of the comments have a point. That language > > comparision pdf is misleading. Even I could write better code than that > in > > those languages. I would suggest people on runrev would change that pdf > to > > present optimum code in C++/C#/JAVA and the like, like, very professional > > code and see how well Rev stacks against it, even if they are all one > > liners, Rev will be more readable and thus win points. If you post crappy > > code, the users of those languages will clearly recognize the pdf as a > bad > > practice and have a bad impression of the language. > > Given the feedback, I think there is room for improvement on our part here. > The goal of these examples was to present real-world use cases where > average > people wrote the code in each of the languages. Programmers generally don't > write perfect code all the time so that doesn't make for a very realistic > comparison of how much time the average developer will save on a day to day > basis. Its not genius vs. genius, its typical user vs. typical user. The > question we were asking was "Which language is going to be easier in day to > day use"? For example, the code on the PHP comparison was based on an > example posted on a site that *teaches* how to write PHP. So clearly its of > a standard that is used in the real world. If you're an expert coding in > PHP > every day you can shorten it. Same with the revTalk example as it happens. > > There is a fine line to walk here in terms of actually getting covered and > creating a talking point with strong headlines and ensuring that we present > our case in a way that does not detract from our message. Without bold > headlines and "best case" claims we simply don't get covered, we're not > interesting or newsworthy. Its been tricky to find ways to articulate our > advantages clearly to people who have little time or appetite to hear about > "yet another" language. There isn't anything untrue about what we're > claiming, there are plenty of customer cases that we can point to who truly > have made the sorts of savings we have been pushing in our marketing. These > are real people who have saved a lot of budget or had projects enabled that > would otherwise not have been done. There are plenty of programmers who > would write code just like those examples in each of the languages > presented. And there are always going to be people who will dislike and > flame Rev whatever we do. But getting coverage means that many other people > will have an opportunity to take a look and make up their own mind. > > As important as all these points are, I wholeheartedly agreed that we have > to ensure that we hold a sophisticated and informed debate that makes the > point clearly and in a way that does not detract from our message by people > getting derailed. One such way for that to happen would be for a subset of > experienced professional programmers to take our examples in the wrong way. > So we will take another pass at these examples to see how we can improve > what we are communicating here. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > RunRev - Software construction for everyone > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mikekann at yahoo.com Thu Dec 3 09:29:43 2009 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 3 Dec 2009 06:29:43 -0800 (PST) Subject: Rev 4.0 article on TheServerSide Message-ID: <703926.54074.qm@web56705.mail.re3.yahoo.com> Amazing. Yesterday I spent the morning in the library reading the O'Reilly book "Beyond Java." It's not worth buying, but if you see it in a library take a look. It is a sales pitch for Ruby replacing Java, but could just as well be about RR. The storyline is that C++ was horrible, Java better, Ruby on Rails is the second coming. The author interviews Java high-flyers who don't use it anymore. They say it is too bloated, too many libraries and dependencies. I had never heard of serverside.com and wrote a note to look it up when I got home. About the marketing. When RR hires me to do it, this would be my strategy: Forget about people who know other languages. They won't want to give up what they've learned. If I could program in C++ I probably wouldn't be using RR either. I would put out a bunch of youtube videos showing people of various ages and interests whipping out programs about projects they are interested in. Show a grandma sending a birthday revlet to her grand-daughter. Show a guy in a genetics lab writing a front end to his database. Show RR in schools, in businesses, at home. Videos four minutes long. Show people creating a program that they never thought they could. As for the Hypercard/Metacard/RR genealogy, there might be some people who want to still use their Hypercard skills and will find refuge at RR. There is probably a way to attract them without scaring away others. By the way, in our house we always called Metacard Hypercard, now we call Runtime Revolution Metacard. We're always one name behind. The slashdot readers want computer languages to be complicated because they enjoy the challenge and feel empowered by knowing that they (unlike the average guy or gal) can write "complicated programs in a real language." Most people (especially those who might actually **pay** for software) write code to solve a problem they couldn't do any other way. Those are the people RR should be focusing on. Enough already. From capellan2000 at gmail.com Thu Dec 3 09:34:48 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 3 Dec 2009 06:34:48 -0800 (PST) Subject: sending hexadecimal control characters, how to? In-Reply-To: <7c87a2a10912030600y33883936o2236985fa6fd9cee@mail.gmail.com> References: <200912030953.28806.palcibiades-first@yahoo.co.uk> <1259838233481-947554.post@n4.nabble.com> <7c87a2a10912030539l4e2b17dcre2e10e44947f028c@mail.gmail.com> <0AE422D0-87B0-42BC-84C9-B1E16E885549@ezpzapps.com> <7c87a2a10912030600y33883936o2236985fa6fd9cee@mail.gmail.com> Message-ID: <1259850888796-947664.post@n4.nabble.com> Andre, What is the logical explanation of them, to have this kind of control over software programs created in Brasil? Did Microsoft and big software companies have to apply for the same permissions? Alejandro Andre Garzia-3 wrote: > > yes it is like that in here... but still, this process hinders software > development, thats why most shop management software here are still > clipper > based DOS tools and some crappy VB 3 stuff... > -- View this message in context: http://n4.nabble.com/sending-hexadecimal-control-characters-how-to-tp947501p947664.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at tweedly.net Thu Dec 3 09:38:45 2009 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 03 Dec 2009 14:38:45 +0000 Subject: sending hexadecimal control characters, how to? In-Reply-To: <1259838233481-947554.post@n4.nabble.com> References: <200912030953.28806.palcibiades-first@yahoo.co.uk> <1259838233481-947554.post@n4.nabble.com> Message-ID: <4B17CD75.8020107@tweedly.net> Peter Alcibiades wrote: > Sarah, brilliant! It is indeed a receipt printer. So do you maybe know how > to do the next part? In order to activate the paper cutter on it, one > is supposed to do this to trigger the auto cutter drive: > > ?d? ?0? or ?d? <0> > (1B)H (64)H (30)H or (1B)H (64)H (00)H > ?d? ?1? or ?d? <1> > (1B)H (64)H (31)H or (1B)H (64)H (01)H > > So do you have to convert some or all of this to ascii, and then > put that into the text? And if so how? > > You can do put baseConvert("1B", 16, 10) into t put numtochar(t) after theOutputString for each character. Note that what you have above is actually the same line repeated , i.e. ?d? ?0? or ?d? <0> is the same as (1B)H (64)H (30)H or (1B)H (64)H (00)H and ?d? ?1? or ?d? <1> is the same as (1B)H (64)H (31)H or (1B)H (64)H (01)H So (what I'd do :-) ... put numtochar(27) into cESC -- ESC is ascii 27 is 1B(H) then put cESC & "d0" after theOutputString or put cESC & "d1" after theOutputString -- Alex. From mcgrath3 at mac.com Thu Dec 3 09:51:54 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 03 Dec 2009 09:51:54 -0500 Subject: revlet interferes with Command T, Command N in Safari Message-ID: <94087AE3-C555-4F70-9EAE-2701B400C7D1@mac.com> In Safari I use mostly tabs to navigate thru eight to ten sites throughout the day. when I am on a tab that has the revlet plugin running (like the revMedia page at RunRev) I can not use Command T or Command N. I have to select another tab and then Command T / N work. Have others seen this? Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html From francois.chaplais at mines-paristech.fr Thu Dec 3 09:59:37 2009 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 3 Dec 2009 15:59:37 +0100 Subject: revlet interferes with Command T, Command N in Safari In-Reply-To: <94087AE3-C555-4F70-9EAE-2701B400C7D1@mac.com> References: <94087AE3-C555-4F70-9EAE-2701B400C7D1@mac.com> Message-ID: <499DF393-5857-4788-A693-D43172C10DBC@mines-paristech.fr> Le 3 d?c. 2009 ? 15:51, Thomas McGrath III a ?crit : > In Safari I use mostly tabs to navigate thru eight to ten sites throughout the day. when I am on a tab that has the revlet plugin running (like the revMedia page at RunRev) I can not use Command T or Command N. I have to select another tab and then Command T / N work. > > Have others seen this? > > yes, when the focus was in a revlet window. Clicking outside of it restored the shortcut. Best, Fran?ois From mcgrath3 at mac.com Thu Dec 3 10:04:47 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 03 Dec 2009 10:04:47 -0500 Subject: revlet interferes with Command T, Command N in Safari In-Reply-To: <94087AE3-C555-4F70-9EAE-2701B400C7D1@mac.com> References: <94087AE3-C555-4F70-9EAE-2701B400C7D1@mac.com> Message-ID: <85277F85-EF25-47B8-B84A-5BF3E0D56D17@mac.com> Or is it just because the revMedia page has a game trapping the rawkeys??? If I click on the page outside of the revlet then I can Command T... Hmmm? I wonder if there is a standard/acceptable way to show the difference between a page where the page has 'control' or where the revlet has 'control' so a user will know that for instance the keys are being trapped??? I would say this was the programmers issue and not the plugins. Whoever wrote the game on the revMedia site 'should' realize that being in a browser the user may want or need to be doing other things besides interacting with their applet while it is still running. ( I reloaded the revMedia page via History:Reopen All Windows From Last Session and never touched the page during this session. The game on that page loaded and has been playing for three days. My score is over 300,000 and yet I never touched the game.) On loading of that page the revlet is now in 'Control' I had to click on the page (not intuitive) to change 'control' back to the browser/page itself. I would think this should be strongly emphasized in a guidelines for implementing revlets on the web. Or is it already? I honestly thought that there was something wrong with my wireless keyboard and after five minutes of troubleshooting then figured it was just this one page causing this. I had to lean forward from my recliner and use the mouse to switch tabs before I saw that it was not the keyboard acting up. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 3, 2009, at 9:51 AM, Thomas McGrath III wrote: > In Safari I use mostly tabs to navigate thru eight to ten sites > throughout the day. when I am on a tab that has the revlet plugin > running (like the revMedia page at RunRev) I can not use Command T > or Command N. I have to select another tab and then Command T / N > work. > > Have others seen this? > > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From gbrackett at luceatlux.com Thu Dec 3 10:18:43 2009 From: gbrackett at luceatlux.com (George C Brackett) Date: Thu, 3 Dec 2009 10:18:43 -0500 Subject: Is it possible to change the revlet embed html? Message-ID: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> I'm planning a simple programming course for high school using revMedia (because it's free), which only produces revlets. I was immediately stumped by an early project to create and gradually improve an Assignments stack that would help our students keep track of their assignments. Alas, saving the current state of a revlet is not possible. One way to enable students to produce information-handling projects for themselves (where information is entered, stored, edited, deleted) would be giving them an environment where the URL of the revlet is passed by parameter to the revlet code, and including a pre-written 'save' command in a project starter stack that can write the information to a text file at the revlet's URL. A big help would be to alter the standard test HTML so that the embed code passes that information. Is it possible to change the test HTML generated by revMedia? Where is it stored? Or can you think of a better way to set things up so that students can store information-handling revlets in their own accounts on a school server and not have to run them in revMedia but just call them up on a browser? I would REALLY like to engage students in creating revlets that other kids at the school can use. George From wjm at wjm.org Thu Dec 3 10:24:37 2009 From: wjm at wjm.org (Bill Marriott) Date: Thu, 3 Dec 2009 10:24:37 -0500 Subject: Code Samples/Comparisons In-Reply-To: References: <4B16FE68.7040401@fourthworld.com> Message-ID: Hi everyone, We've taken your feedback to heart and will be putting effort into significantly improving our comparisons. (It obviously doesn't help to put up "straw men.") To that end, I would very much appreciate contributions from the community. If you have code samples in other languages that you feel would be good illustrations of how revTalk can be shorter and/or more readable, please either post them to the list or mail directly to me -- bill.marriott (at) runrev.com. We're especially interested in : - ActionScript (Flash) - REALbasic - PHP and to a lesser extent - C/C++/C# - Visual Basic - Java - JavaScript If you are able to replicate the functionality with a revTalk example, all the better. Try to focus your efforts on real-world tasks, classic programming challenges, things everyone building software can relate to. And of course, areas where revTalk really shines. While it won't be the same as getting "recognized experts" [in those other languages] to produce the examples, I know there's a wealth of knowledge here in the use-list and am hoping you'll contribute some sterling examples. Thanks very much, Bill RunRev marketing guy > Whatever the answer, Andre raised a very relevant point, with which I > fully agree, that Rev is not well served by using a comparison against > what others feel is very poor code. [...] > > To truly demonstrate Rev's ability against other code, get the code > written by a recognised expert in that language (somebody like Bruce Eckel > for Java and C++). Yes, it would cost money but I believe it would be > money well spent. From durgesh.mishra at gmail.com Thu Dec 3 11:15:20 2009 From: durgesh.mishra at gmail.com (Durgesh Mishra) Date: Thu, 3 Dec 2009 21:45:20 +0530 Subject: column width Message-ID: <457c4a4b0912030815m7b3bb9bejaa40255a1cdc68f7@mail.gmail.com> Hi All, How can I get the column widths in a data grid ? Thanks in advance, Regards -Durgesh From jperryl at ecs.fullerton.edu Thu Dec 3 11:15:35 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 3 Dec 2009 08:15:35 -0800 (PST) Subject: Rev 4.0 article on TheServerSide In-Reply-To: References: <7c87a2a10912021241n6b6b9d3eoa9d4be1d23998081@mail.gmail.com> Message-ID: Indeed, I heard from a *different* former student just last night that he had heard about the "new" version of Rev and didn't understand why it hadn't taken the world by storm yet. I asked him how he had heard about it (took the class several years ago) and he said it was on /. Judy On Thu, 3 Dec 2009, Jim Kanter wrote: > As Oscar WIlde once put it, "The only thing worse than people talking > about you is people NOT talking about you." From lists at mangomultimedia.com Thu Dec 3 11:19:40 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 3 Dec 2009 11:19:40 -0500 Subject: column width In-Reply-To: <457c4a4b0912030815m7b3bb9bejaa40255a1cdc68f7@mail.gmail.com> References: <457c4a4b0912030815m7b3bb9bejaa40255a1cdc68f7@mail.gmail.com> Message-ID: <88054556-7587-4041-A0D8-42C353D99E57@mangomultimedia.com> On Dec 3, 2009, at 11:15 AM, Durgesh Mishra wrote: > Hi All, > > How can I get the column widths in a data grid ? The property is "column widths" and the syntax is: put the dgProp["column widths"] of group "DataGrid" It is listed for the "column widths" property on the Data Grid Properties page: -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From wow at together.net Thu Dec 3 11:21:48 2009 From: wow at together.net (Richard Miller) Date: Thu, 03 Dec 2009 11:21:48 -0500 Subject: Caching problem with revlets In-Reply-To: References: <4B16FE68.7040401@fourthworld.com> Message-ID: <4B17E59C.5000800@together.net> I really need help with this one. To get at the heart of a few problems, I just put some code into my revlet to check that when a user opens my revlet, this person actually has the latest version. Just got word from one user (Vista + IE) that the revlet he recently accessed was an older version. So caching is taking place. This code doesn't do the job: Suggestions? Thanks. Richard Miller From coiin at verizon.net Thu Dec 3 11:24:13 2009 From: coiin at verizon.net (Colin Holgate) Date: Thu, 03 Dec 2009 11:24:13 -0500 Subject: Code Samples/Comparisons In-Reply-To: References: <4B16FE68.7040401@fourthworld.com> Message-ID: <89CD739D-2717-4878-BF4F-55872273B695@verizon.net> On Dec 3, 2009, at 10:24 AM, Bill Marriott wrote: > > While it won't be the same as getting "recognized experts" [in those other languages] to produce the examples, As it happens, I'm sure some of us are recognized experts in other languages! But that actually makes the task harder, because we know the easiest ways to do things in those other tools. Would it be possible to suggest a few examples of easy things to do in Rev, that we could then say how they would be done in other languages? You could then just feature the ones that look a lot more complicated in the other language. It might also be worth listing the ones you're going to use here, for us all to make sure that the other language example was correct. It would be mildly embarrassing to show an example where the other language was a lot longer or harder to read, only to have users of that language say "but nobody would do it that way, there's a much simpler version in our language". From durgesh.mishra at gmail.com Thu Dec 3 12:02:34 2009 From: durgesh.mishra at gmail.com (Durgesh Mishra) Date: Thu, 3 Dec 2009 22:32:34 +0530 Subject: column width In-Reply-To: <88054556-7587-4041-A0D8-42C353D99E57@mangomultimedia.com> References: <457c4a4b0912030815m7b3bb9bejaa40255a1cdc68f7@mail.gmail.com> <88054556-7587-4041-A0D8-42C353D99E57@mangomultimedia.com> Message-ID: <457c4a4b0912030902s55a3a975na9a3bf14d3b08d45@mail.gmail.com> Thanks a lot Trevor. 2009/12/3 Trevor DeVore > On Dec 3, 2009, at 11:15 AM, Durgesh Mishra wrote: > > Hi All, >> >> How can I get the column widths in a data grid ? >> > > > The property is "column widths" and the syntax is: > > put the dgProp["column widths"] of group "DataGrid" > > It is listed for the "column widths" property on the Data Grid Properties > page: > > < > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7343-Data-Grid-Properties > > > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: > http://revolution.bluemangolearning.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Thu Dec 3 12:50:33 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Dec 2009 11:50:33 -0600 Subject: revlet interferes with Command T, Command N in Safari In-Reply-To: <94087AE3-C555-4F70-9EAE-2701B400C7D1@mac.com> References: <94087AE3-C555-4F70-9EAE-2701B400C7D1@mac.com> Message-ID: <4B17FA69.3060607@hyperactivesw.com> Thomas McGrath III wrote: > In Safari I use mostly tabs to navigate thru eight to ten sites > throughout the day. when I am on a tab that has the revlet plugin > running (like the revMedia page at RunRev) I can not use Command T or > Command N. I have to select another tab and then Command T / N work. > > Have others seen this? I think this is just how any plugin works. The same thing happens with QuickTime movies. If the plugin has the focus, keyboard commands go there. The user needs to change the focus (by clicking on the web page itself) before key commands go to the browser. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Dec 3 13:02:24 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Dec 2009 12:02:24 -0600 Subject: Is it possible to change the revlet embed html? In-Reply-To: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> Message-ID: <4B17FD30.7010007@hyperactivesw.com> George C Brackett wrote: > One way to enable students to produce information-handling projects > for themselves (where information is entered, stored, edited, > deleted) would be giving them an environment where the URL of the > revlet is passed by parameter to the revlet code, and including a > pre-written 'save' command in a project starter stack that can write > the information to a text file at the revlet's URL. A big help would > be to alter the standard test HTML so that the embed code passes that > information. > > Is it possible to change the test HTML generated by revMedia? Sure, and you can do that yourself easily. The HTML file is created in the same folder as your revlet after you do a build. Just alter that. You need to add a parameter to the javascript section. You can name it whatever you want, and give it the value of the URL where you will be storing the revlet on the server. Then in your stack, call "the revletParams of this stack" to get a list of all those parameters that the javascript has passed. For example: For saving, you'll need to use scripts that act like desktop apps; the revlet's defaultfolder is on the user's local hard drive, not on the server. You can think of revlets as mini standalones, for the purposes of file paths. You'll need to use an FTP URL that includes a user name and password if you want to write to the server. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gbrackett at luceatlux.com Thu Dec 3 13:18:22 2009 From: gbrackett at luceatlux.com (George C Brackett) Date: Thu, 3 Dec 2009 13:18:22 -0500 Subject: Is it possible to change the revlet embed html? In-Reply-To: <4B17FD30.7010007@hyperactivesw.com> References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> <4B17FD30.7010007@hyperactivesw.com> Message-ID: Thanks very much for your advice and script! They confirm my understanding of this new territory. I would like to do something just slightly different, though. I would like the embed code to pick up the revlet's URL from server variables ($HTTP_HOST & $REQUEST_URI), not from a fixed path. I see now that this would require the revlet to be running from a webserver, not a file server, but I can handle that issue. I haven't tried this approach yet, but recent posts suggest it's possible. I would also like not to have to replace the html page after it is created by the IDE, but to pre-create it (hmmm - sounds sort of god-like) in the location the IDE uses to store its template. I don't know if that's possible, but it would streamline the process. George On Dec 3, 2009, at 1:02 PM, J. Landman Gay wrote: George C Brackett wrote: > One way to enable students to produce information-handling projects > for themselves (where information is entered, stored, edited, > deleted) would be giving them an environment where the URL of the > revlet is passed by parameter to the revlet code, and including a > pre-written 'save' command in a project starter stack that can write > the information to a text file at the revlet's URL. A big help would > be to alter the standard test HTML so that the embed code passes that > information. > Is it possible to change the test HTML generated by revMedia? Sure, and you can do that yourself easily. The HTML file is created in the same folder as your revlet after you do a build. Just alter that. You need to add a parameter to the javascript section. You can name it whatever you want, and give it the value of the URL where you will be storing the revlet on the server. Then in your stack, call "the revletParams of this stack" to get a list of all those parameters that the javascript has passed. For example: For saving, you'll need to use scripts that act like desktop apps; the revlet's defaultfolder is on the user's local hard drive, not on the server. You can think of revlets as mini standalones, for the purposes of file paths. You'll need to use an FTP URL that includes a user name and password if you want to write to the server. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Thu Dec 3 13:30:17 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 3 Dec 2009 10:30:17 -0800 Subject: Is it possible to change the revlet embed html? In-Reply-To: References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> <4B17FD30.7010007@hyperactivesw.com> Message-ID: <157248366953.20091203103017@ahsoftware.net> George- Thursday, December 3, 2009, 10:18:22 AM, you wrote: > I would also like not to have to replace the html page after it > is created by the IDE, but to pre-create it (hmmm - sounds sort of > god-like) in the location the IDE uses to store its template. I > don't know if that's possible, but it would streamline the process. It's possible, but it's a bad idea. The template is stored as a custom property in an IDE stack, and changing it will change the HTML created for any revlet. You don't get the chance to catch it on the fly. It would be a much better idea to modify it after creation, as Jacque suggested. -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Thu Dec 3 13:39:52 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 03 Dec 2009 10:39:52 -0800 Subject: Is it possible to change the revlet embed html? In-Reply-To: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> Message-ID: Recently, George C Brackett wrote: > I'm planning a simple programming course for high school using revMedia > (because it's free), which only produces revlets. I was immediately stumped by > an early project to create and gradually improve an Assignments stack that > would help our students keep track of their assignments. Alas, saving the > current state of a revlet is not possible. I could be mistaken or totally misreading this but isn't this what cookies are for? I don't know how much data represents your revlet "state", and I seem to recall that the amount of data that can be saved in a cookie is limited, but from what you describe this sounds like it could be a use for a browser cookie. Other more knowledgeable folks might chime in here. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From jacque at hyperactivesw.com Thu Dec 3 14:12:05 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Dec 2009 13:12:05 -0600 Subject: Is it possible to change the revlet embed html? In-Reply-To: References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> <4B17FD30.7010007@hyperactivesw.com> Message-ID: <4B180D85.8000005@hyperactivesw.com> George C Brackett wrote: > > I would like to do something just slightly different, though. I would > like the embed code to pick up the revlet's URL from server variables > ($HTTP_HOST & $REQUEST_URI), not from a fixed path. I see now that > this would require the revlet to be running from a webserver, not a > file server, but I can handle that issue. I haven't tried this > approach yet, but recent posts suggest it's possible. In that case you are talking about generating your web page dynamically. You need a way to do that (which is something different than revlets, it's HTML.) You can use an old-style Rev CGI, or better, an iRev page if you are on the On-Rev server. Or you can use PHP or another language that can generate web pages on the fly. > > I would also like not to have to replace the html page after it is > created by the IDE, but to pre-create it (hmmm - sounds sort of > god-like) in the location the IDE uses to store its template. I don't > know if that's possible, but it would streamline the process. As Mark said, there isn't a way to intercept the original creation of the HTML test page, but you could write a little script that replaces the existing one with your custom one after the fact. What I do is just alter the test page once, and then after every new revlet build I just drop the new revlet into the permanent folder with my altered HTML page, replacing the old revlet. It's pretty easy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gbrackett at luceatlux.com Thu Dec 3 14:19:58 2009 From: gbrackett at luceatlux.com (George C Brackett) Date: Thu, 3 Dec 2009 14:19:58 -0500 Subject: Is it possible to change the revlet embed html? In-Reply-To: References: Message-ID: It's a very good idea, a cookie, and it hadn't occurred to me. Unfortunately I'm teaching in an environment where students don't always use the same machine (on which the cookie is stored), so a server-storage solution is what I need. In a way, this situation is caused by the lack of a revMedia stack player, so that stacks could be saved after alteration (a new assignment added) instead of being transformed into an unchangeable revlet. I guess the folks at RunRev see a player as adding so much functionality that offering revMedia for free would no longer be good business. I'm not so sure about that. George On Dec 3, 2009, at 1:39 PM, Scott Rossi wrote: Recently, George C Brackett wrote: > I'm planning a simple programming course for high school using revMedia > (because it's free), which only produces revlets. I was immediately stumped by > an early project to create and gradually improve an Assignments stack that > would help our students keep track of their assignments. Alas, saving the > current state of a revlet is not possible. I could be mistaken or totally misreading this but isn't this what cookies are for? I don't know how much data represents your revlet "state", and I seem to recall that the amount of data that can be saved in a cookie is limited, but from what you describe this sounds like it could be a use for a browser cookie. Other more knowledgeable folks might chime in here. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From capellan2000 at gmail.com Thu Dec 3 14:20:46 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 3 Dec 2009 11:20:46 -0800 (PST) Subject: Is it possible to change the revlet embed html? In-Reply-To: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> Message-ID: <1259868046892-947910.post@n4.nabble.com> Hi George, Actually, given that html files are only text files, you could write a handler that: 1) reads the template html file generated while building the revlet, 2) collect the data of this html to create a new html file using a specific template created for the revlet author. >From my point of view, this is only an automatic copy and paste operation. Ideally, it shoud be a one step operation, but in your case, will be two step instead of one. About saving the state of revlets, keep reading about some ideas to solve this. I recommend that you teach your students in first place the nuts and bolts of authoring using RevMedia: Principles of Layout, Navigation aids (buttons, text hyperlinks, hidden buttons, etc...), Information displayed and hidden, Image optimization (please, do not allow them to create bloated revlets), Color armonization, User feedback, etc... (Actually, developers more experienced could complete this short list of topics that i wrote...) Please take a look at this Multiple choice test made by a fellow teacher for his computer classes, using a template that i give him. If my website in 000space were more reliable serving revlet based content, i would ask you to visit the html webpage. But no, it doesn't work reliably. So, i ask you to download both pieces (html and revlet) to run locally: http://capellan2000.000space.com/examen_msw.zip He told me that this test is largely unfinished and needs to correct ortography and wording of selection items. I believe that he had to change his images to reduce the revlet size and check in detail the importance of every question. Notice that this exam ask for permissions to use the network and write files to your disk, when you enter the page. Effectively, when you finish this (still incomplete) exam, the revlet ask you to save the results in your hard disk. These results are saved in two formats: one file is plain text and the other is an encoded (could be encrypted) version of this text file. Students should send both files to their teacher. If i want or fellow teachers made a request, instead of saving the files to student computer, i could show a text field in the screen and ask the student to copy and paste this field content in a text document, saved with his name and date. In this way, it should be completely innecessary to ask permission to use the network and write to Hard disk. Of course, using this same method, students could save binary data (encoded as Base64, Ascii 85, etc...) by simple copy and paste to a text file, without showing a warning. This same method of copy and paste could be used to input data to the revlet, if you ask the student to paste information of their more recent session and click a button to process the data. :-) Notice that some software simulations (games), give you a letter and numbers code after you clear a level. When the software simulation (game) starts, users enter this code to pass directly to next level. Some possible enhancements, for this Multiple Choice revlet are: 1) send the results directly to the teacher's mail from the stack, just like PHP or Perl scripts send emails from a web page. 2) write output to a file in the server, so students could download this results file from the webpage... 3) write a record inside a database running in the server... George C Brackett wrote: > > I'm planning a simple programming course for high school using revMedia > (because it's free), which only produces revlets. I was immediately > stumped by an early project to create and gradually improve an Assignments > stack that would help our students keep track of their assignments. Alas, > saving the current state of a revlet is not possible. > [snip] > -- View this message in context: http://n4.nabble.com/Is-it-possible-to-change-the-revlet-embed-html-tp947693p947910.html Sent from the Revolution - User mailing list archive at Nabble.com. From calhorner at xtra.co.nz Thu Dec 3 15:31:23 2009 From: calhorner at xtra.co.nz (Cal Horner) Date: Fri, 4 Dec 2009 09:31:23 +1300 (New Zealand Daylight Time) Subject: Has anyone tried this? Message-ID: <4B182017.00000B.03584@CALS_BIG_PC> Bjoernke and Andre, Thanks for the warnings. I was aware(from other postings) that the IDE could be corrupted, unless you were very careful. But you didn't answer question number 2. >2. If you have tried this before, were you successful? Cal From mcgrath3 at mac.com Thu Dec 3 15:50:35 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 03 Dec 2009 15:50:35 -0500 Subject: revlet interferes with Command T, Command N in Safari In-Reply-To: <4B17FA69.3060607@hyperactivesw.com> References: <94087AE3-C555-4F70-9EAE-2701B400C7D1@mac.com> <4B17FA69.3060607@hyperactivesw.com> Message-ID: This is not true. At least not for Quicktime movies. Go to: http://www.apple.com/trailers/independent/tosavealife/tosavealife_trailer_theatrical_medium.htm pick a movie size and let it start playing. Then select Command T and it will work just fine. No need to click outside of the player/plugin etc. No need to click on the web page to 'change' focus. The commands will go to the browser. Tom Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 3, 2009, at 12:50 PM, J. Landman Gay wrote: > Thomas McGrath III wrote: >> In Safari I use mostly tabs to navigate thru eight to ten sites >> throughout the day. when I am on a tab that has the revlet plugin >> running (like the revMedia page at RunRev) I can not use Command T >> or Command N. I have to select another tab and then Command T / N >> work. >> Have others seen this? > > I think this is just how any plugin works. The same thing happens > with QuickTime movies. If the plugin has the focus, keyboard > commands go there. The user needs to change the focus (by clicking > on the web page itself) before key commands go to the browser. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From johnpatten at mac.com Thu Dec 3 15:57:04 2009 From: johnpatten at mac.com (John Patten) Date: Thu, 03 Dec 2009 12:57:04 -0800 Subject: Simultaneous Animations... Message-ID: <16AF3D25-78C0-4AAE-9570-A40B1D7F19A4@mac.com> Hi All... Looking for a strategy to implement random animations, and then have the animated objects interactions result in additional data...these animations would be part of simulations for students. I posted a small example of my first attempt by using polygons and then modifying the points of those polygons and having the object move along their paths. It up on RevOnline tagged with Animation. Not sure if there is a better way...., probably will invest in AnimationEngine... seems to simplify many of the things I would like to do once I get a strategy down for animating the screen objects. However, not sure if the "randomizing poygon points" strategy is the correct way to about about randomizing objects on the screen...? Any other suggestions? Thank you! John Patten From ray at linkit.com Thu Dec 3 19:01:41 2009 From: ray at linkit.com (Ray Horsley) Date: Thu, 3 Dec 2009 16:01:41 -0800 Subject: CMYK Jpeg's Message-ID: Anyone have a solution for displaying images in CMYK color spacing? Ken Ray has been kind enough to suggest ImageMagick at www.imageMakick.org but this requires some installation and knowledge of shell commands. Correct me if I'm wrong but it seems like a glaring omission on the part of the Runrev engine not to display Jpeg's in CMYK or even provide a manner for detecting them. Anybody? Thanks, Ray Horsley LinkIt! Software From wjm at wjm.org Thu Dec 3 16:03:52 2009 From: wjm at wjm.org (Bill Marriott) Date: Thu, 3 Dec 2009 16:03:52 -0500 Subject: Is it possible to change the revlet embed html? In-Reply-To: <157248366953.20091203103017@ahsoftware.net> References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com><4B17FD30.7010007@hyperactivesw.com> <157248366953.20091203103017@ahsoftware.net> Message-ID: Mark, > It's possible, but it's a bad idea. The template is stored as a custom > property in an IDE stack, and changing it will change the HTML created > for any revlet. I don't do much mucking around in the IDE, but I wonder what that custom property might be. Could the OP write a stack for his students which says something like, "set the revHTMLtemplate of stack such-and-such to myHTML"? These stacks aren't "saved" when you quit Rev, are they? If I'm right about both of these, couldn't his students double-click that stack, use his custom template, and quit without making permanent changes to revMedia? I could see some benefit to adjusting this template, perhaps I'll bring it up as a feature request for future versions. In the meantime, have you sleuthed down the name of that custom property? George, > In a way, this situation is caused by the lack of a revMedia stack player, > so that stacks could be saved after alteration (a new assignment added) > instead of being transformed into an unchangeable revlet. I guess the > folks > at RunRev see a player as adding so much functionality that offering > revMedia for free would no longer be good business. I'm not so sure about > that. It's not that we find the Player to be adding so much functionality; nothing to do with business model per se. It's that the revWeb plugin is essentially the new "Player." Better to focus on having one piece of software end users would install to "play" stacks than two. For one thing, it's one less code base to maintain. For another, when we flesh out the mechanics of hosting revlets within system windows, you would theoretically be able to double-click a revlet and have it open much like it did in the old Player. - Bill From mwieder at ahsoftware.net Thu Dec 3 16:22:25 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 3 Dec 2009 13:22:25 -0800 Subject: Is it possible to change the revlet embed html? In-Reply-To: References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com><4B17FD30.7010007@hyperactivesw.com> <157248366953.20091203103017@ahsoftware.net> Message-ID: <71258695093.20091203132225@ahsoftware.net> Bill- Thursday, December 3, 2009, 1:03:52 PM, you wrote: > I don't do much mucking around in the IDE, but I wonder what that custom > property might be. Could the OP write a stack for his students which says > something like, "set the revHTMLtemplate of stack such-and-such to myHTML"? > These stacks aren't "saved" when you quit Rev, are they? If I'm right about > both of these, couldn't his students double-click that stack, use his custom > template, and quit without making permanent changes to revMedia? I could see > some benefit to adjusting this template, perhaps I'll bring it up as a > feature request for future versions. In the meantime, have you sleuthed down > the name of that custom property? The way things are right now, yes, you do have to make a permanent change to a rev IDE stack in order to do this before the html page is created - it's not like changing an object template. The script that creates the web page from the custom property is protected, for obvious reasons. While it would certainly be possible to write a script that saves the custom prop, replaces it with a different one, invokes the standalone builder, and restores the original prop I don't see that this gives any advantage over modifying the html page after creation. And has the distinct possibility of screwing up the original to the point where revlet web pages can no longer be created. It's a tech support issue I wouldn't want on my plate. -- -Mark Wieder mwieder at ahsoftware.net From mb.userev at harbourhosting.co.uk Thu Dec 3 16:30:57 2009 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Thu, 03 Dec 2009 21:30:57 +0000 Subject: Caching problem with revlets In-Reply-To: <4B17E59C.5000800@together.net> References: <4B16FE68.7040401@fourthworld.com> <4B17E59C.5000800@together.net> Message-ID: <4B182E11.6090506@harbourhosting.co.uk> Richard if: a you are using apache b mod_expires is installed c you can use .htaccess files Then you should be able to use expires directives in an .htaccess file to inhibit cacheing based on media type (extension). I don't know if that will work, I haven't tried it, but I think it has more chance than cache control meta tags, which are known to be ineffective IIRC. It's the way I would try and do it anyway. Also, possibly helpful article on cacheing generally: Martin Baxter Richard Miller wrote: > I really need help with this one. > > To get at the heart of a few problems, I just put some code into my > revlet to check that when a user opens my revlet, this person actually > has the latest version. Just got word from one user (Vista + IE) that > the revlet he recently accessed was an older version. So caching is > taking place. > > This code doesn't do the job: > > > > > > > > Suggestions? > > Thanks. > Richard Miller -- In the absence of a definition, anything makes sense. Jeff Ello http://www.computerworld.com/s/article/9141609/Opinion_The_unspoken_truth_about_why_your_IT_sucks?taxonomyId=14&pageNumber=4 From mb.userev at harbourhosting.co.uk Thu Dec 3 16:45:34 2009 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Thu, 03 Dec 2009 21:45:34 +0000 Subject: Is it possible to change the revlet embed html? In-Reply-To: <4B180D85.8000005@hyperactivesw.com> References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> <4B17FD30.7010007@hyperactivesw.com> <4B180D85.8000005@hyperactivesw.com> Message-ID: <4B18317E.3000207@harbourhosting.co.uk> J. Landman Gay wrote: > What I do is just > alter the test page once, and then after every new revlet build I just > drop the new revlet into the permanent folder with my altered HTML page, > replacing the old revlet. It's pretty easy. > Which is what I naturally do too and kind of why I would love to be able to turn off generation of the annoying test.html entirely. Once is enough IMO. Every time I generate a revlet this darn test.html page automatically opens in my text editor. I had hoped that computing would get more user-friendly with time, but it got helpful instead, which, naturally, enrages me. :D Martin Baxter -- In the absence of a definition, anything makes sense. Jeff Ello http://www.computerworld.com/s/article/9141609/Opinion_The_unspoken_truth_about_why_your_IT_sucks?taxonomyId=14&pageNumber=4 From m.schonewille at economy-x-talk.com Thu Dec 3 16:51:06 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 3 Dec 2009 22:51:06 +0100 Subject: CMYK Jpeg's In-Reply-To: References: Message-ID: Ray, You can include ImageMagick with your RunRev standalone without installing it at system level. When you call it from the shell, just use a path relative to your standalone. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Download Str?m Flow Chart Software http://flowproject.economy-x-talk.com Op 4 dec 2009, om 01:01 heeft Ray Horsley het volgende geschreven: > Anyone have a solution for displaying images in CMYK color spacing? > Ken Ray has been kind enough to suggest ImageMagick at www.imageMakick.org > but this requires some installation and knowledge of shell > commands. Correct me if I'm wrong but it seems like a glaring > omission on the part of the Runrev engine not to display Jpeg's in > CMYK or even provide a manner for detecting them. Anybody? > > Thanks, > > Ray Horsley > LinkIt! Software > From capellan2000 at gmail.com Thu Dec 3 16:57:34 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 3 Dec 2009 13:57:34 -0800 (PST) Subject: Simultaneous Animations... In-Reply-To: <16AF3D25-78C0-4AAE-9570-A40B1D7F19A4@mac.com> References: <16AF3D25-78C0-4AAE-9570-A40B1D7F19A4@mac.com> Message-ID: <1259877454269-948034.post@n4.nabble.com> Hi John, I downloaded and run your stack. It's really interesting the pattern that produce the randomizing button on the vector graphics. Probably I found a bug: Click the button to randomize the graphics points. Then, while the Rounded graphics are following the paths, MOVE the randomized vector graphics. In this computer, the stack area becomes blank. Everything dissapear until the movement of both Rounded graphics finish. John, I suppose that these objects are not a distraction or eye candy, so What is the purpose of having many random objects moving? Notice that Scott Rossi website's (TactileMedia) have stack examples of many objects moving and bouncing against boundaries and against themselves. Alejandro John Patten wrote: > > Looking for a strategy to implement random animations, and then have > the animated objects interactions result in additional data...these > animations would be part of simulations for students. > [snip] > -- View this message in context: http://n4.nabble.com/Simultaneous-Animations-tp947993p948034.html Sent from the Revolution - User mailing list archive at Nabble.com. From mikekann at yahoo.com Thu Dec 3 16:58:33 2009 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 3 Dec 2009 13:58:33 -0800 (PST) Subject: ode Samples/Comparisons Message-ID: <600718.46648.qm@web56703.mail.re3.yahoo.com> Bill, lets rearrange your list of languages a little and add a few more. ActionScript and JavaScript are pretty much the same language. My guess is that for every person who actually "programs" in these languages there are a hundred more who cut and paste scripts. Especially with the growing popularity of JavaScript libraries, very few people are using these languages for "programming." If they are, they don't care how many lines it takes because they need it for their web pages. Visual Basic and REALbasic go together. This is where RR could make some headway. Instead of promoting a code contest I would just invite the Basic coders to come over and have a look. There are a lot of disgruntled VB6 coders who don't want to mess with .NET. REALbasic has its ups and downs. C/C++/Java/C# are cousins. For these people I'd emphasize rapid development. If they start using RR then they'll keep using it. The program that markets itself as the champion of the one-liners is REBOL. Its website features a hundred one-liners O.K. you won the one-liner contest but where are the programs that actually do something useful? REBOL reminds me of a trailer to an action movie that contains all the good parts. When you watch the entire movie you wonder what the hell that was all about. As for me, the only selling point for REBOL is that Pierre Sahores thinks highly of it. (But he's a lot smarter than I am.) Perl is like a family business without any competitors. An outsider peeks in and thinks "it can't really be that bad, can it?" Layers and layers of gotchas and unnecessary crap. People used it because that was all there was. Probably no chance to get those people. Ruby and Python people are way too cool to use RR. Forget about them. Just thinking about those other languages makes me want RR to be a huge success. Enough already. From revolution at derbrill.de Thu Dec 3 17:18:45 2009 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Thu, 3 Dec 2009 23:18:45 +0100 Subject: Simultaneous Animations... In-Reply-To: <20091203180005.53546288519@mail.runrev.com> References: <20091203180005.53546288519@mail.runrev.com> Message-ID: <7E04E43E-E0C3-4EAB-A3B7-8CC47BC62C31@derbrill.de> Hi John, could not resist, so I quickly whipped up a revlet using AE. :-) http://derbrill.on-rev.com/ae3/randommoving.html the stack is here: http://derbrill.on-rev.com/ae3/randomMoving.rev (carries AE as a substack) This is the complete script for it. (in the card, mind line wraps) + 2 buttons that call createGrc or resetAnimation respectively. on openstack if "animationEngine" is not among the lines of the stacksInUse then start using "animationEngine" createGrc end openStack on createGrc lock screen create grc set the style of it to "oval" set the height of it to 25 set the width of it to 25 set the opaque of it to true set the backcolor of it to any line of the colornames set the loc of it to random(the width of this cd),random(the height of this cd) unlock screen aeMoveTo the long ID of it,random(the width of this cd),random(the height of this cd),1000+random(1000),any item of "in,inOut,out,bounce,overshoot" end createGrc on resetAnimation aeStopMoving "all" repeat with i=the number of grcs down to 1 delete grc i end repeat end resetAnimation on aeMoveDone aeMoveTo the long ID of the target,random(the width of this cd),random(the height of this cd),1000+random(1000),any item of "in,inOut,out,bounce,overshoot" end aeMoveDone Also a shameless plug. If you think about getting AE, keep in mind that tis the season again and you can get AE quasi for free along with all the other good stuff, if you decide to get yourself the mega bundle: http://www.runrev.com/products/mega-bundle-09 All the best, Malte From dave.cragg at lacscentre.co.uk Thu Dec 3 17:32:26 2009 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 3 Dec 2009 22:32:26 +0000 Subject: Code Samples/Comparisons In-Reply-To: References: <4B16FE68.7040401@fourthworld.com> Message-ID: On 3 Dec 2009, at 15:24, Bill Marriott wrote: > And of course, areas where revTalk really shines. Hmm. While that may be in the company's interest, is it really in ours. Shouldn't we be focusing on areas where Rev is weaker in the hope of pushing you for improvements? :-) Cheers Dave From lan.kc.macmail at gmail.com Thu Dec 3 17:38:46 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 4 Dec 2009 06:38:46 +0800 Subject: Rev 4.0 article on TheServerSide In-Reply-To: References: <7c87a2a10912021241n6b6b9d3eoa9d4be1d23998081@mail.gmail.com> Message-ID: The simple solution to the following would be to provide a bibliography. If every example on the pdf came from a non Rev site, and was per the PHP example, ie an actual site that teaches how to write then it would remove any accusation that Rev was intentionally writing poor code comparisons. my 2 clams On Thu, Dec 3, 2009 at 8:24 PM, Kevin Miller wrote: > On 02/12/2009 20:41, "Andre Garzia" wrote: > > > Actually I think some of the comments have a point. That language > > comparision pdf is misleading. Even I could write better code than that > in > > those languages. I would suggest people on runrev would change that pdf > to > > present optimum code in C++/C#/JAVA and the like, like, very professional > > code and see how well Rev stacks against it, even if they are all one > > liners, Rev will be more readable and thus win points. If you post crappy > > code, the users of those languages will clearly recognize the pdf as a > bad > > practice and have a bad impression of the language. > > The > question we were asking was "Which language is going to be easier in day to > day use"? For example, the code on the PHP comparison was based on an > example posted on a site that *teaches* how to write PHP. So clearly its of > a standard that is used in the real world. If you're an expert coding in > PHP > every day you can shorten it. Same with the revTalk example as it happens. > > From wjm at wjm.org Thu Dec 3 17:46:24 2009 From: wjm at wjm.org (Bill Marriott) Date: Thu, 3 Dec 2009 17:46:24 -0500 Subject: Code Samples/Comparisons In-Reply-To: References: <4B16FE68.7040401@fourthworld.com> Message-ID: David, > Hmm. While that may be in the company's interest, is it really in ours. IMHO what's in RunRev's interests is in our users' interests. Bill From wow at together.net Thu Dec 3 17:58:53 2009 From: wow at together.net (Richard Miller) Date: Thu, 03 Dec 2009 17:58:53 -0500 Subject: Caching problem with revlets In-Reply-To: <4B182E11.6090506@harbourhosting.co.uk> References: <4B16FE68.7040401@fourthworld.com> <4B17E59C.5000800@together.net> <4B182E11.6090506@harbourhosting.co.uk> Message-ID: <4B1842AD.7060104@together.net> Martin, Thanks. I only wish I knew what you are talking about! I will read the article. The revlet is stored on a GoDaddy server. Is that apache? Can I do the things you suggest, given where it is stored? Richard Martin Baxter wrote: > Richard > > if: > > a you are using apache > b mod_expires is installed > c you can use .htaccess files > > Then you should be able to use expires directives in an .htaccess file > to inhibit cacheing based on media type (extension). > > > > I don't know if that will work, I haven't tried it, but I think it has > more chance than cache control meta tags, which are known to be > ineffective IIRC. It's the way I would try and do it anyway. > > Also, possibly helpful article on cacheing generally: > > > > Martin Baxter > > Richard Miller wrote: > >> I really need help with this one. >> >> To get at the heart of a few problems, I just put some code into my >> revlet to check that when a user opens my revlet, this person actually >> has the latest version. Just got word from one user (Vista + IE) that >> the revlet he recently accessed was an older version. So caching is >> taking place. >> >> This code doesn't do the job: >> >> >> >> >> >> >> >> Suggestions? >> >> Thanks. >> Richard Miller >> > > > > From sarah.reichelt at gmail.com Thu Dec 3 18:02:20 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 4 Dec 2009 09:02:20 +1000 Subject: sending hexadecimal control characters, how to? In-Reply-To: <7c87a2a10912030539l4e2b17dcre2e10e44947f028c@mail.gmail.com> References: <200912030953.28806.palcibiades-first@yahoo.co.uk> <1259838233481-947554.post@n4.nabble.com> <7c87a2a10912030539l4e2b17dcre2e10e44947f028c@mail.gmail.com> Message-ID: > just a doubt here. I was going to create some shop management software here > in Brazil, but here, due to law, if a software is to interface with a > receipt printer, then you need to "approve" your software with the > goverment, this changes from state to state but it is present in all states > and it means that once they review your source code and test your software, > your software is approved and frozen, you cannot update it. If you update it > then you need to go thru the approval process again. If your software is not > approved and you sell it, then there's a fine and it might even have > jailtime. That's amazing! I was operating a receipt printer on a kiosk and the receipts were an optional record, backed up by emails and then official tax invoices, but even so, I never heard of such a regulation in Australia. I'm not involved with that business any more, and maybe that's a good thing :-) Cheers, Sarah From Ray at LinkIt.Com Thu Dec 3 21:04:34 2009 From: Ray at LinkIt.Com (Ray Horsley) Date: Thu, 3 Dec 2009 18:04:34 -0800 Subject: CMYK Jpeg's In-Reply-To: References: Message-ID: Mark - thanks for the encouraging word but I've never used shell commands before. Do you have any suggestions for me to get started? Ray Horsley LinkIt! Software On Dec 3, 2009, at 1:51 PM, Mark Schonewille wrote: > Ray, > > You can include ImageMagick with your RunRev standalone without > installing it at system level. When you call it from the shell, just > use a path relative to your standalone. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Download Str?m Flow Chart Software > http://flowproject.economy-x-talk.com > > Op 4 dec 2009, om 01:01 heeft Ray Horsley het volgende geschreven: > >> Anyone have a solution for displaying images in CMYK color >> spacing? Ken Ray has been kind enough to suggest ImageMagick at www.imageMakick.org >> but this requires some installation and knowledge of shell >> commands. Correct me if I'm wrong but it seems like a glaring >> omission on the part of the Runrev engine not to display Jpeg's in >> CMYK or even provide a manner for detecting them. Anybody? >> >> Thanks, >> >> Ray Horsley >> LinkIt! Software >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Thu Dec 3 18:07:34 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 04 Dec 2009 01:07:34 +0200 Subject: Simultaneous Animations... In-Reply-To: <16AF3D25-78C0-4AAE-9570-A40B1D7F19A4@mac.com> References: <16AF3D25-78C0-4AAE-9570-A40B1D7F19A4@mac.com> Message-ID: <4B1844B6.5070603@gmail.com> On 12/3/09 10:57 PM, John Patten wrote: > Hi All... > > Looking for a strategy to implement random animations, and then have > the animated objects interactions result in additional data...these > animations would be part of simulations for students. > > I posted a small example of my first attempt by using polygons and > then modifying the points of those polygons and having the object move > along their paths. It up on RevOnline tagged with Animation. > > Not sure if there is a better way...., probably will invest in > AnimationEngine... seems to simplify many of the things I would like > to do once I get a strategy down for animating the screen objects. > > However, not sure if the "randomizing poygon points" strategy is the > correct way to about about randomizing objects on the screen...? > > Any other suggestions? > > Thank you! I have a funny feeling (and, treat this with caution as this is eftir that visit sic towmond Ah tak wi ma guid frinds Zhoro and Mariyana tae tak tent o the towmonds new wine, so Ahm unco fou an nae sae mensefou, an, if thon disnae ken the lallans thats thon skitter, nae mine) that one of RunRev's BESETTING PROBLEMS is that it does not "like' (and, you will have to pardon the anthropomorphism [and, how I managed to type that with a skinfull of good Bulgarian wine inside me the lord Ganesh only knows]) to do 2 or more things at once. I have fallen foul of this many times. But. like many things in life (cough, cough, cough) one can, generally get away with faking things: or, read my lips (which, come to think of it, you will find awfully difficult over the internet as my lips, contrary to materialist opinion, are not governed by a computer program): INTERLEAVE ACTIONS so they APPEAR to be happening simultaneously. This is a MAJOR FAG, and possibly more trouble than it's worth. ----------------------- Alcoholically fuelled anecdote follows: ---------------------- Many years ago, in Carbondale, Illinois, USA (a mythological place and a mythological time) my wife and I took our Ford Tempo to K-Mart to do an oil change. The MAN there was on the phone to somebody when he said something which will be forever engraved on my mind: "I cannot do more than one thing at a time." Multitasking wasn't innit! --------------------- Cor, luv a duck, I'm drunk. Good night, and thanks for all the fish. If you are capable of filtering out the core of this message from the drunken rubbish you will find a valuable hint ! Love, Richmond Mathewson. From richmondmathewson at gmail.com Thu Dec 3 18:10:34 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 04 Dec 2009 01:10:34 +0200 Subject: Code Samples/Comparisons In-Reply-To: References: <4B16FE68.7040401@fourthworld.com> Message-ID: <4B18456A.4040309@gmail.com> On 12/4/09 12:32 AM, Dave Cragg wrote: > On 3 Dec 2009, at 15:24, Bill Marriott wrote: > > >> And of course, areas where revTalk really shines. >> > Hmm. While that may be in the company's interest, is it really in ours. Shouldn't we be focusing on areas where Rev is weaker in the hope of pushing you for improvements? :-) > > Quite. Personally I have split loyalties: support the company ["My country right or wrong'], or keep giving them, both, schtick (what a lovely, Yiddish word), and stick about their shortcomings. I suppose we should try to do both. From richmondmathewson at gmail.com Thu Dec 3 18:11:30 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 04 Dec 2009 01:11:30 +0200 Subject: Code Samples/Comparisons In-Reply-To: References: <4B16FE68.7040401@fourthworld.com> Message-ID: <4B1845A2.8030403@gmail.com> On 12/4/09 12:46 AM, Bill Marriott wrote: > David, > >> Hmm. While that may be in the company's interest, is it really in ours. > > IMHO what's in RunRev's interests is in our users' interests. > That really begs the question. From sarah.reichelt at gmail.com Thu Dec 3 18:17:41 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 4 Dec 2009 09:17:41 +1000 Subject: sending hexadecimal control characters, how to? In-Reply-To: <1259838233481-947554.post@n4.nabble.com> References: <200912030953.28806.palcibiades-first@yahoo.co.uk> <1259838233481-947554.post@n4.nabble.com> Message-ID: On Thu, Dec 3, 2009 at 9:03 PM, Peter Alcibiades wrote: > > Sarah, brilliant! ?It is indeed a receipt printer. ?So do you maybe know how > to do the next part? ?In order to activate the paper cutter on it, one > is supposed to do this to trigger the auto cutter drive: > > ?d? ?0? or ?d? <0> > (1B)H (64)H (30)H or (1B)H (64)H (00)H > ?d? ?1? or ?d? <1> > (1B)H (64)H (31)H or (1B)H (64)H (01)H Looking at my old scripts, I see stuff like this for setting up the receipt printer: get printSend(numToChar(27) & "@") -- reset get printSend(numToChar(27) & "1") -- 8 dot line spacing get printSend(numToChar(27) & numToChar(32) & numToChar(1)) where the printSend function did the actual communications to the printer. So in your case, I would try sending: numToChar(27) & "d0" and seeing if this works. If it doesn't, then try these: numToChar(27) & "d" & "0" numToChar(27) & "d" & numToChar(32) & "0" If it still doesn't work, try numToChar(27) & numToChar(100) & numToChar(48) One other thing to check is if the command needs to be ended with a line feed and if so, which one. The usual options are numToChar(10), numToChar(13) and CRLF. You have 2 commands: ESC d 0 and ESC d 1 Do these need to be sent in sequence? Maybe one moves the cutter across and the other brings it back. If so, you may need to experiment with timing to work out how long to leave between commands. But as far as the communications go, if you can work out the technique for any command, you can apply that to all the printer features. Cheers, Sarah From jacque at hyperactivesw.com Thu Dec 3 18:53:23 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Dec 2009 17:53:23 -0600 Subject: revlet interferes with Command T, Command N in Safari In-Reply-To: References: <94087AE3-C555-4F70-9EAE-2701B400C7D1@mac.com> <4B17FA69.3060607@hyperactivesw.com> Message-ID: <4B184F73.1090506@hyperactivesw.com> Thomas McGrath III wrote: > This is not true. At least not for Quicktime movies. > > Go to: > http://www.apple.com/trailers/independent/tosavealife/tosavealife_trailer_theatrical_medium.htm > > > pick a movie size and let it start playing. Then select Command T and it > will work just fine. No need to click outside of the player/plugin etc. > No need to click on the web page to 'change' focus. The commands will go > to the browser. Hm. I wonder if it has to do with the exact command key. Cmd-T isn't used in QT (I don't think) so it apparently goes to the browser. Spacebar is used by QT, and when I press that, the browser window scrolls (browser response). I have to click inside the plugin to make the movie stop/start with spacebar (plugin response.) So it seems like something is going on with focus. Does your revlet catch command keys and if so, does it pass those it doesn't use? That's all I can think of. If that isn't what's going on then yes, I'd guess it's worth a QCC report. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Dec 3 18:55:04 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 03 Dec 2009 17:55:04 -0600 Subject: Is it possible to change the revlet embed html? In-Reply-To: <4B18317E.3000207@harbourhosting.co.uk> References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> <4B17FD30.7010007@hyperactivesw.com> <4B180D85.8000005@hyperactivesw.com> <4B18317E.3000207@harbourhosting.co.uk> Message-ID: <4B184FD8.3030808@hyperactivesw.com> Martin Baxter wrote: > Every time I generate a revlet this darn test.html page > automatically opens in my text editor. I had hoped that computing would > get more user-friendly with time, but it got helpful instead, which, > naturally, enrages me. :D Yeah, I've wished I could turn that off too. It's okay the first time but if I've made changes to the HTML file, I want it to leave me alone. Maybe auto-display should be an item in the prefs. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peterwawood at gmail.com Thu Dec 3 19:13:47 2009 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 4 Dec 2009 08:13:47 +0800 Subject: ode Samples/Comparisons In-Reply-To: <600718.46648.qm@web56703.mail.re3.yahoo.com> References: <600718.46648.qm@web56703.mail.re3.yahoo.com> Message-ID: > The program that markets itself as the champion of the one-liners is REBOL. Its website features a hundred one-liners O.K. you won the one-liner contest but where are the programs that actually do something useful? REBOL reminds me of a trailer to an action movie that contains all the good parts. When you watch the entire movie you wonder what the hell that was all about. As for me, the only selling point for REBOL is that Pierre Sahores thinks highly of it. (But he's a lot smarter than I am.) I was enthusiastically introduced to Revolution by Olivier Auverlot (http://auverlot.fr/) after working with him to translate one of his books on Rebol to English. (I included his web address as list members may be interested in his OdtRev stack for working with OpenOffice.org - it's free. The docs are in French, I will try to find the time from somewhere to translate them into English.) Sometimes Rebol does seem to promise more than it delivers but it can do some very useful things. Two very different examples are the Cheyenne Web Server (http://cheyenne-server.org/) and the Synapse Electronic Medical Record System (http://www.compkarori.co.nz:8090/). Regards Peter From bvg at mac.com Thu Dec 3 19:36:34 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 04 Dec 2009 01:36:34 +0100 Subject: Has anyone tried this? In-Reply-To: <4B182017.00000B.03584@CALS_BIG_PC> References: <4B182017.00000B.03584@CALS_BIG_PC> Message-ID: No, i never tried to put stuff onto the script editor. However i'm always very curious, and i once added a button, to see if it would show up on all my script editor windows (yes, it did). On the other hand, that was in rev 2.0 or so... On 3 Dec 2009, at 21:31, Cal Horner wrote: > Bjoernke and Andre, > > Thanks for the warnings. I was aware(from other postings) that the > IDE could > be corrupted, unless you were very careful. > > But you didn't answer question number 2. > >> 2. If you have tried this before, were you successful? -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From bvg at mac.com Thu Dec 3 19:39:32 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 04 Dec 2009 01:39:32 +0100 Subject: Simultaneous Animations... In-Reply-To: <16AF3D25-78C0-4AAE-9570-A40B1D7F19A4@mac.com> References: <16AF3D25-78C0-4AAE-9570-A40B1D7F19A4@mac.com> Message-ID: <390F8EDB-A696-4638-847B-278C8C4BDA30@mac.com> i think someone made a version of "life" once, but that one may seem random and actually isn't. so maybe that's not what you're after? http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life On 3 Dec 2009, at 21:57, John Patten wrote: > Hi All... > > Looking for a strategy to implement random animations, and then have > the animated objects interactions result in additional data...these > animations would be part of simulations for students. > > I posted a small example of my first attempt by using polygons and > then modifying the points of those polygons and having the object > move along their paths. It up on RevOnline tagged with Animation. > > Not sure if there is a better way...., probably will invest in > AnimationEngine... seems to simplify many of the things I would like > to do once I get a strategy down for animating the screen objects. > > However, not sure if the "randomizing poygon points" strategy is the > correct way to about about randomizing objects on the screen...? > > Any other suggestions? > > Thank you! > > John Patten > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From generic.email.30022 at gmail.com Thu Dec 3 19:46:13 2009 From: generic.email.30022 at gmail.com (Generic Email) Date: Thu, 3 Dec 2009 18:46:13 -0600 Subject: tText plugin In-Reply-To: <048096C6-F46D-4F35-8B06-93C60A3334E9@me.com> References: <048096C6-F46D-4F35-8B06-93C60A3334E9@me.com> Message-ID: How do you propose I do steps 2-6 if I can not find the file path? On Dec 2, 2009, at 4:33 PM, Jerry Daniels wrote: > Gen, > > Why would you need the file path? You've got the text staring you in the face in tText. Look at the two samples that come with the product. They take text from one tab, munge it and then put it into another tab. > > Best, > > Jerry Daniels > > The latest Rev Editor Video: > http://reveditor.com/feature-friday-drag-n-drop-stacks-0 > > On Dec 2, 2009, at 2:39 PM, Generic Email wrote: > >> I thought I would like to write a tText plugin that would execute the script being edited and put the output into another tab. >> I didn't see a way to retrieve the full path of the file currently being edited. >> >> So the flow would be something like this: >> >> 1) Get the full path to the file >> 2) see if it is executable >> 3) If yes, then execute the file and put output into new tab and exit >> 4) if no, parse first line for #!/path/to/binary >> 5) if binary found, then execute the binary with the file as a parameter and put output into new tab and exit >> 6) if no, answer with helpful text, then exit >> >> Anyway, that was the idea. >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From david at vaudevillecourt.tv Thu Dec 3 19:52:50 2009 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 4 Dec 2009 00:52:50 +0000 Subject: Forgotten how to deal with unicode Message-ID: - I want to fetch a url say "http://en.wikipedia.org/wiki/Slavoj_?i?ek*"* - This is displayed correctly in a list field (say on line 1 of the field) How do I use revTalk to fetch the right value from this field so that I can: - put url "http://en.wikipedia.org/wiki/Slavoj_?i?ek*"* NB pasting the text from the browsers url field gives " http://en.wikipedia.org/wiki/Slavoj_%C5%BDi%C5%BEek", what would you code to get that result? From jerry.daniels at me.com Thu Dec 3 19:55:32 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Thu, 3 Dec 2009 18:55:32 -0600 Subject: tText plugin In-Reply-To: References: <048096C6-F46D-4F35-8B06-93C60A3334E9@me.com> Message-ID: <9BB04F25-D7CC-49FC-A751-EF83BBD56E86@me.com> No name... Propose? I can see this is going to go on for some time. With questions back and forth. I'll post to our site when I have the API documented. Then you can get your filepath. Non-anonymously, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-stacks-0 On Dec 3, 2009, at 6:46 PM, Generic Email wrote: > How do you propose I do steps 2-6 if I can not find the file path? > > On Dec 2, 2009, at 4:33 PM, Jerry Daniels wrote: > >> Gen, >> >> Why would you need the file path? You've got the text staring you >> in the face in tText. Look at the two samples that come with the >> product. They take text from one tab, munge it and then put it into >> another tab. >> >> Best, >> >> Jerry Daniels >> >> The latest Rev Editor Video: >> http://reveditor.com/feature-friday-drag-n-drop-stacks-0 >> >> On Dec 2, 2009, at 2:39 PM, Generic Email wrote: >> >>> I thought I would like to write a tText plugin that would execute >>> the script being edited and put the output into another tab. >>> I didn't see a way to retrieve the full path of the file currently >>> being edited. >>> >>> So the flow would be something like this: >>> >>> 1) Get the full path to the file >>> 2) see if it is executable >>> 3) If yes, then execute the file and put output into new tab and >>> exit >>> 4) if no, parse first line for #!/path/to/binary >>> 5) if binary found, then execute the binary with the file as a >>> parameter and put output into new tab and exit >>> 6) if no, answer with helpful text, then exit >>> >>> Anyway, that was the idea. >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lan.kc.macmail at gmail.com Thu Dec 3 19:59:00 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 4 Dec 2009 08:59:00 +0800 Subject: Code Samples/Comparisons In-Reply-To: References: <4B16FE68.7040401@fourthworld.com> Message-ID: Bill, I will say the same thing I said to Kevin's recent post: The > question we were asking was "Which language is going to be easier in day to > day use"? For example, the code on the PHP comparison was based on an > example posted on a site that *teaches* how to write PHP. So clearly its of > a standard that is used in the real world. If you're an expert coding in > PHP > every day you can shorten it. Same with the revTalk example as it happens. > What is simply needed is a bibliography. The fact that the PHP example comes from a site that teaches PHP is a huge blow to any argument that Rev is manipulating example to their own benefit. But that fact is not evident on the pdf. We don't need Rev users to 'create' examples, no matter how real life they are, as they will always be subject to the 'they've been manipulated by Rev' accusations. Better to find on line examples of code in each of the languages listed, especially from sites that supposedly 'teach the language', and then do the Rev equivalent. If I were to manipulate anything, I'd then try to include these examples on 'teach Rev' sites, like Devin Assay's, and include that in the bibliography as well. As, has already been said, you are not going to persuade the 'real programmers' by line counts and code readability, and they'll continue to argue that the code examples are poor and they can do better. But for anyone new to programing, or actually open minded enough to be considering any or all alternatives, links to real examples of other language code and learning sites, and actual equivalent examples in Rev are going to be effective, and if they follow the links to Learn Rev sites, lead them to the next step down the path of giving Rev a try. Another 2 clams On Thu, Dec 3, 2009 at 11:24 PM, Bill Marriott wrote: > Hi everyone, > > We've taken your feedback to heart and will be putting effort into > significantly improving our comparisons. (It obviously doesn't help to put > up "straw men.") > > To that end, I would very much appreciate contributions from the community. > If you have code samples in other languages that you feel would be good > illustrations of how revTalk can be shorter and/or more readable, please > either post them to the list or mail directly to me -- bill.marriott (at) > runrev.com. > > We're especially interested in : > > - ActionScript (Flash) > - REALbasic > - PHP > > and to a lesser extent > > - C/C++/C# > - Visual Basic > - Java > - JavaScript > > If you are able to replicate the functionality with a revTalk example, all > the better. Try to focus your efforts on real-world tasks, classic > programming challenges, things everyone building software can relate to. And > of course, areas where revTalk really shines. > > While it won't be the same as getting "recognized experts" [in those other > languages] to produce the examples, I know there's a wealth of knowledge > here in the use-list and am hoping you'll contribute some sterling examples. > > Thanks very much, > > Bill > RunRev marketing guy > > Whatever the answer, Andre raised a very relevant point, with which I >> fully agree, that Rev is not well served by using a comparison against what >> others feel is very poor code. [...] >> >> To truly demonstrate Rev's ability against other code, get the code >> written by a recognised expert in that language (somebody like Bruce Eckel >> for Java and C++). Yes, it would cost money but I believe it would be money >> well spent. >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Thu Dec 3 19:59:12 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 4 Dec 2009 10:59:12 +1000 Subject: Forgotten how to deal with unicode In-Reply-To: References: Message-ID: On Fri, Dec 4, 2009 at 10:52 AM, David Bovill wrote: > ? - I want to fetch a url say "http://en.wikipedia.org/wiki/Slavoj_?i?ek*"* > ? - This is displayed correctly in a list field (say on line 1 of the > ? field) > > How do I use revTalk to fetch the right value from this field so that I can: > > ? - put url "http://en.wikipedia.org/wiki/Slavoj_?i?ek*"* > > NB pasting the text from the browsers url field gives " > http://en.wikipedia.org/wiki/Slavoj_%C5%BDi%C5%BEek", what would you code to > get that result? Try urlencode() Cheers, Sarah From wow at together.net Thu Dec 3 20:05:11 2009 From: wow at together.net (Richard Miller) Date: Thu, 03 Dec 2009 20:05:11 -0500 Subject: Can specialfolderpath(26) be blocked for write access? In-Reply-To: References: Message-ID: <4B186047.8050408@together.net> I have one user in which my revlet is attempting to create a folder within specialfolderpath(26) [the AppData location], but it does not get created. I've tried it numerous times. It just won't go through. This is on a Vista machine. Under what conditions can this possibly happen? I thought this AppData folder was a safe and unrestricted folder to write to? Can this be blocked by Vista itself or by some other program? If this folder is not reliable, where would one guess IS a safe place to create a folder and store files under Vista? This same user's computer has the DOCUMENTS folder blocked for writing as well. Thanks. Richard Miller From lan.kc.macmail at gmail.com Thu Dec 3 20:13:39 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 4 Dec 2009 09:13:39 +0800 Subject: Ethics... and the lack of it. In-Reply-To: <1259766481281-933134.post@n4.nabble.com> References: <1259631455056-931785.post@n4.nabble.com> <1259728770575-932773.post@n4.nabble.com> <000501ca7319$9ea76e70$dbf64b50$@com> <1259766481281-933134.post@n4.nabble.com> Message-ID: Alejandro (original post was too long so I've deleted your quoted post) As for comment a) You are pretty close, but the client being able to declare the value 10,000 times more than you charged, well that should be based on some hard evidence, some metrics. Yes, maybe there was a little over evaluation without hard fact in the dot com bubble, but that was more due to the misconception of what they thought their product was going to be worth in the future. As with the bubble burst, and in your case, the real value of the software will be measurable once it's up and running - and in the case of the dot com, most of it was proven to be rubbish. As Jim said, managers may use different metrics, and come up with a different evaluation than you, but this is very different to what you are going to quote to create the software in the first place - see below. As for comment b) Yes you are going to have to understand at least part of the business. ie, if your software is going to replace 10 Data Entry personnel, you need to know what the data is, where that data comes from and where it's going. So then how much do you charge for your software that replaces 10 people? If these people are paid $20,000 per year you might think about charging $200,000 because, after the first year, the software will have paid for itself. Unfortunately, if the data comes in as plain text, goes out as plain text, and all that needs to happen in the middle is that some additions and averages are calculated, every other software developer on the planet will undercut your quote because they know the math and can write such software in no time at all. On the other hand, if those 10 people are Nuclear Physicist, and are paid $200,000 a year to work on a Large Halon Accelerator, and the data that comes in comes in from 10 different sensors that talk in their own propriety protocol, and the data needs to feed into multiple complex scientific equations depending on a vast matrix of factors that only a Nuclear Physicist could understand. Then maybe as the only software developer on the planet who holds a Masters in Rocket Science, and prepared to decipher the sensor protocols, charging $1,000,000 for your software might be perfectly acceptable. It's not Laissez-fair, it's 'supply and demand'. The value of your software to you is based on your time, the value of your software to a company is base on their bottom line, the two will always be different, probably very different, and dare I say, irrelevant. The only relevant factors are, will you be compensated sufficiently for your time and will your software have a positive effect on the company's bottom line. If I were to give another analogy. It's like diamond miners. Just because a miner digs out $1,000 worth of diamonds a day, doesn't mean he's going to be paid that, even if the diamonds end up in $10,000 jewelry. Any man can dig, but few can be Harry Winston, each will get a different cut of the diamond's final value; it's supply and demand that determines each person's cut. From mdswindell at cruzio.com Thu Dec 3 21:08:30 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 3 Dec 2009 18:08:30 -0800 Subject: Code Samples/Comparisons In-Reply-To: References: <4B16FE68.7040401@fourthworld.com> Message-ID: <091E6A99-D22E-4AE5-B834-6D9D69DEFF28@cruzio.com> I think Kay C is right here. Asking Rev users to write comparative code in other languages doesn't make sense from a PR standpoint. It will always be open to criticism, even if it is viable code. Mark On Dec 3, 2009, at 4:59 PM, Kay C Lan wrote: > Bill, > > I will say the same thing I said to Kevin's recent post: > > The >> question we were asking was "Which language is going to be easier in day to >> day use"? For example, the code on the PHP comparison was based on an >> example posted on a site that *teaches* how to write PHP. So clearly its of >> a standard that is used in the real world. If you're an expert coding in >> PHP >> every day you can shorten it. Same with the revTalk example as it happens. >> > > What is simply needed is a bibliography. > > The fact that the PHP example comes from a site that teaches PHP is a huge > blow to any argument that Rev is manipulating example to their own benefit. > But that fact is not evident on the pdf. > > We don't need Rev users to 'create' examples, no matter how real life they > are, as they will always be subject to the 'they've been manipulated by Rev' > accusations. > > Better to find on line examples of code in each of the languages listed, > especially from sites that supposedly 'teach the language', and then do the > Rev equivalent. > > If I were to manipulate anything, I'd then try to include these examples on > 'teach Rev' sites, like Devin Assay's, and include that in the bibliography > as well. > > As, has already been said, you are not going to persuade the 'real > programmers' by line counts and code readability, and they'll continue to > argue that the code examples are poor and they can do better. But for anyone > new to programing, or actually open minded enough to be considering any or > all alternatives, links to real examples of other language code and learning > sites, and actual equivalent examples in Rev are going to be effective, and > if they follow the links to Learn Rev sites, lead them to the next step down > the path of giving Rev a try. > > Another 2 clams > > > On Thu, Dec 3, 2009 at 11:24 PM, Bill Marriott wrote: > >> Hi everyone, >> >> We've taken your feedback to heart and will be putting effort into >> significantly improving our comparisons. (It obviously doesn't help to put >> up "straw men.") >> >> To that end, I would very much appreciate contributions from the community. >> If you have code samples in other languages that you feel would be good >> illustrations of how revTalk can be shorter and/or more readable, please >> either post them to the list or mail directly to me -- bill.marriott (at) >> runrev.com. >> >> We're especially interested in : >> >> - ActionScript (Flash) >> - REALbasic >> - PHP >> >> and to a lesser extent >> >> - C/C++/C# >> - Visual Basic >> - Java >> - JavaScript >> >> If you are able to replicate the functionality with a revTalk example, all >> the better. Try to focus your efforts on real-world tasks, classic >> programming challenges, things everyone building software can relate to. And >> of course, areas where revTalk really shines. >> >> While it won't be the same as getting "recognized experts" [in those other >> languages] to produce the examples, I know there's a wealth of knowledge >> here in the use-list and am hoping you'll contribute some sterling examples. >> >> Thanks very much, >> >> Bill >> RunRev marketing guy >> >> Whatever the answer, Andre raised a very relevant point, with which I >>> fully agree, that Rev is not well served by using a comparison against what >>> others feel is very poor code. [...] >>> >>> To truly demonstrate Rev's ability against other code, get the code >>> written by a recognised expert in that language (somebody like Bruce Eckel >>> for Java and C++). Yes, it would cost money but I believe it would be money >>> well spent. >>> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From johnpatten at mac.com Thu Dec 3 22:58:01 2009 From: johnpatten at mac.com (John Patten) Date: Thu, 03 Dec 2009 19:58:01 -0800 Subject: Simultaneous Animations In-Reply-To: <20091203231644.7A14628884C@mail.runrev.com> References: <20091203231644.7A14628884C@mail.runrev.com> Message-ID: <0B1DBED1-6B74-4C42-8BF5-BC5E256319DC@mac.com> Thanks Malte! That's just what I was trying to do! Much more elegant than my monstrosity :-) I'm guessing I would also be able to call events while the animation is taking place? Events initiated if animated objects cross paths, or get within a certain distance from each other. Maybe even the ability to record these types of events to a field while they are happening? Andre, in my weak attempt, I was going to hide the path polygons. However, I liked the designs they created too. It is a little interesting how if you grab and move a polygon while the animation is running the animated objects continue to remember the original point locations. And Richmond, after knocking back a few and then re-reading your reply, I think I got the gist of it and Malte's example seems to address them. Or, ...maybe I need to go back to the bottle :-) Thanks for all the suggestions and examples! Very much appreciated! John Patten > > ------------------------------ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > End of use-revolution Digest, Vol 75, Issue 7 > ********************************************* From palcibiades-first at yahoo.co.uk Fri Dec 4 02:11:18 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 3 Dec 2009 23:11:18 -0800 (PST) Subject: sending hexadecimal control characters, how to? In-Reply-To: <7c87a2a10912030539l4e2b17dcre2e10e44947f028c@mail.gmail.com> References: <200912030953.28806.palcibiades-first@yahoo.co.uk> <1259838233481-947554.post@n4.nabble.com> <7c87a2a10912030539l4e2b17dcre2e10e44947f028c@mail.gmail.com> Message-ID: <1259910678364-948303.post@n4.nabble.com> Andre Garzia-3 wrote: > > ....here, due to law, if a software is to interface with a > receipt printer, then you need to "approve" your software with the > goverment......Is this so in other countries? > > Andre > Not in the UK. You will have to comply as a business with the various sale of goods regulations, and of course with the tax regulations, but how you do it is up to you. You probably do have to give receipts if asked, but handwritten ones will be acceptable. Not that I'm going into the POS business! This is a one-off. But if you do, you don't have to get your stuff approved by anyone, as far as I know. Peter -- View this message in context: http://n4.nabble.com/sending-hexadecimal-control-characters-how-to-tp947501p948303.html Sent from the Revolution - User mailing list archive at Nabble.com. From revdev at pdslabs.net Fri Dec 4 02:59:26 2009 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 03 Dec 2009 23:59:26 -0800 Subject: sending hexadecimal control characters, how to? In-Reply-To: <1259910678364-948303.post@n4.nabble.com> References: <200912030953.28806.palcibiades-first@yahoo.co.uk> <1259838233481-947554.post@n4.nabble.com> <7c87a2a10912030539l4e2b17dcre2e10e44947f028c@mail.gmail.com> <1259910678364-948303.post@n4.nabble.com> Message-ID: <4B18C15E.3040407@pdslabs.net> Hey Andre - What if the software is published in a different country? Then it would seem like the Brazilian control freak... ummm, government wouldn't be able to control it, at least not in the same way. Food for thought. Phil Davis Peter Alcibiades wrote: > Andre Garzia-3 wrote: > >> ....here, due to law, if a software is to interface with a >> receipt printer, then you need to "approve" your software with the >> goverment......Is this so in other countries? >> >> Andre >> >> > > Not in the UK. You will have to comply as a business with the various sale > of goods regulations, and of course with the tax regulations, but how you do > it is up to you. You probably do have to give receipts if asked, but > handwritten ones will be acceptable. > > Not that I'm going into the POS business! This is a one-off. But if you > do, you don't have to get your stuff approved by anyone, as far as I know. > > Peter > > > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From richmondmathewson at gmail.com Fri Dec 4 04:12:15 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 04 Dec 2009 11:12:15 +0200 Subject: sending hexadecimal control characters, how to? In-Reply-To: <4B18C15E.3040407@pdslabs.net> References: <200912030953.28806.palcibiades-first@yahoo.co.uk> <1259838233481-947554.post@n4.nabble.com> <7c87a2a10912030539l4e2b17dcre2e10e44947f028c@mail.gmail.com> <1259910678364-948303.post@n4.nabble.com> <4B18C15E.3040407@pdslabs.net> Message-ID: <4B18D26F.1080200@gmail.com> On 12/4/09 9:59 AM, Phil Davis wrote: > Hey Andre - > What if the software is published in a different country? Then it > would seem like the Brazilian control freak... ummm, government > wouldn't be able to control it, at least not in the same way. A "control freak" mentality is something that is inevitable in what we have to, however unpleasant it may sound, term 'criminalised' societies where cheating is endemic, such as Bulgaria and Brazil (both countries are very high on the list of places where a lot of banks and businesses just won't go). Of course, one has to hope that the 'control freak' government is being control freaky just so the MPs of the ruling party can feather their own nests . . . :) And, in Bulgaria, at least, the really efficient, big crooks, are always about 2 jumps ahead of the government; so a lot of the control freakiness is a waste of time and money and just serves to make things a pain for the small people who are trying to make an honest living. > > Food for thought. > Phil Davis > > > Peter Alcibiades wrote: >> Andre Garzia-3 wrote: >>> ....here, due to law, if a software is to interface with a >>> receipt printer, then you need to "approve" your software with the >>> goverment......Is this so in other countries? >>> >>> Andre >>> >> >> Not in the UK. You will have to comply as a business with the >> various sale >> of goods regulations, and of course with the tax regulations, but how >> you do >> it is up to you. You probably do have to give receipts if asked, but >> handwritten ones will be acceptable. >> >> Not that I'm going into the POS business! This is a one-off. But if >> you >> do, you don't have to get your stuff approved by anyone, as far as I >> know. >> Peter >> I am quite (pleasantly) surprised to find that, for once, the over-regulated British Isles are lagging behind Brazil! Here in Bulgaria you can only print receipts from a special receipt-printing machine which is sealed with a jolly lead seal by the government. As my business is really very small potatoes I write out my receipts by hand. Even big businesses, when you buy something from them, have to attach a silly, little receipt from their receipt machine to all the stuff printed out from their computer system. The receipt printers here are extremely primitive insofar as they cannot interface with anything; they have to be physically dismantled to get at the small hard-drive inside them. That involves breaking the lead seal. From viktoras at ekoinf.net Fri Dec 4 05:57:50 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Fri, 04 Dec 2009 10:57:50 +0000 Subject: Code Samples/Comparisons In-Reply-To: <091E6A99-D22E-4AE5-B834-6D9D69DEFF28@cruzio.com> References: <4B16FE68.7040401@fourthworld.com> <091E6A99-D22E-4AE5-B834-6D9D69DEFF28@cruzio.com> Message-ID: <4B18EB2E.6030807@ekoinf.net> what about using task/code examples from http://shootout.alioth.debian.org/. Revcoders (us, runrev ltd?..) will still have to write quality examples in Rev which would be a challenge :-) Quality of the code there is good enough as computer language benchmarks game aims to create the shortest and fastest running executables for all the open source languages out there. So both number of lines, speed of execution and memory use are taken into account.. I think for the community of revcoders it would be interesting to compare revTalk in that context too :-). Viktoras Mark Swindell wrote: > I think Kay C is right here. Asking Rev users to write comparative code in other languages doesn't make sense from a PR standpoint. It will always be open to criticism, even if it is viable code. > > Mark > > On Dec 3, 2009, at 4:59 PM, Kay C Lan wrote: > > >> Bill, >> >> I will say the same thing I said to Kevin's recent post: >> >> The >> >>> question we were asking was "Which language is going to be easier in day to >>> day use"? For example, the code on the PHP comparison was based on an >>> example posted on a site that *teaches* how to write PHP. So clearly its of >>> a standard that is used in the real world. If you're an expert coding in >>> PHP >>> every day you can shorten it. Same with the revTalk example as it happens. >>> >>> >> What is simply needed is a bibliography. >> >> The fact that the PHP example comes from a site that teaches PHP is a huge >> blow to any argument that Rev is manipulating example to their own benefit. >> But that fact is not evident on the pdf. >> >> We don't need Rev users to 'create' examples, no matter how real life they >> are, as they will always be subject to the 'they've been manipulated by Rev' >> accusations. >> >> Better to find on line examples of code in each of the languages listed, >> especially from sites that supposedly 'teach the language', and then do the >> Rev equivalent. >> >> If I were to manipulate anything, I'd then try to include these examples on >> 'teach Rev' sites, like Devin Assay's, and include that in the bibliography >> as well. >> >> As, has already been said, you are not going to persuade the 'real >> programmers' by line counts and code readability, and they'll continue to >> argue that the code examples are poor and they can do better. But for anyone >> new to programing, or actually open minded enough to be considering any or >> all alternatives, links to real examples of other language code and learning >> sites, and actual equivalent examples in Rev are going to be effective, and >> if they follow the links to Learn Rev sites, lead them to the next step down >> the path of giving Rev a try. >> >> Another 2 clams >> >> >> On Thu, Dec 3, 2009 at 11:24 PM, Bill Marriott wrote: >> >> >>> Hi everyone, >>> >>> We've taken your feedback to heart and will be putting effort into >>> significantly improving our comparisons. (It obviously doesn't help to put >>> up "straw men.") >>> >>> To that end, I would very much appreciate contributions from the community. >>> If you have code samples in other languages that you feel would be good >>> illustrations of how revTalk can be shorter and/or more readable, please >>> either post them to the list or mail directly to me -- bill.marriott (at) >>> runrev.com. >>> >>> We're especially interested in : >>> >>> - ActionScript (Flash) >>> - REALbasic >>> - PHP >>> >>> and to a lesser extent >>> >>> - C/C++/C# >>> - Visual Basic >>> - Java >>> - JavaScript >>> >>> If you are able to replicate the functionality with a revTalk example, all >>> the better. Try to focus your efforts on real-world tasks, classic >>> programming challenges, things everyone building software can relate to. And >>> of course, areas where revTalk really shines. >>> >>> While it won't be the same as getting "recognized experts" [in those other >>> languages] to produce the examples, I know there's a wealth of knowledge >>> here in the use-list and am hoping you'll contribute some sterling examples. >>> >>> Thanks very much, >>> >>> Bill >>> RunRev marketing guy >>> >>> Whatever the answer, Andre raised a very relevant point, with which I >>> >>>> fully agree, that Rev is not well served by using a comparison against what >>>> others feel is very poor code. [...] >>>> >>>> To truly demonstrate Rev's ability against other code, get the code >>>> written by a recognised expert in that language (somebody like Bruce Eckel >>>> for Java and C++). Yes, it would cost money but I believe it would be money >>>> well spent. >>>> >>>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From benr at cogapp.com Fri Dec 4 05:58:38 2009 From: benr at cogapp.com (Ben Rubinstein) Date: Fri, 04 Dec 2009 10:58:38 +0000 Subject: CMYK Jpeg's In-Reply-To: References: Message-ID: <4B18EB5E.4020909@cogapp.com> On 4/12/09 00:01, Ray Horsley wrote: > Correct me if I'm wrong but it seems like a glaring > omission on the part of the Runrev engine not to display Jpeg's in CMYK > or even provide a manner for detecting them. You are not wrong. (I always like to answer rhetorical questions, even if they're only implied...) Opening CMYK Jpegs would be a feature, and may be only a minority interest. But in the absence of that feature, being unable to distinguish a CYMK image from a broken URL or corrupt file is a bug, one of those that impair our ability to create professional-quality work in Rev. http://quality.runrev.com/qacenter/show_bug.cgi?id=2983 Ben From niggemann at uni-wh.de Fri Dec 4 07:49:20 2009 From: niggemann at uni-wh.de (BNig) Date: Fri, 4 Dec 2009 04:49:20 -0800 (PST) Subject: Quicktime VR panorama movies in revlets Message-ID: <1259930960730-948484.post@n4.nabble.com> Currently it is not possible to display panorama movies (VR) in revlets. (Report #8294 in QCC by Jacqueline) Over on the Runrev forum Dixie found an approach that I expanded on (http://forums.runrev.com/phpBB2/viewtopic.php?f=9&t=4479) and it turns out it is a quite satisfactory solution, not as slick as native QTVR, especially not cursors, but OK. Jacque suggested I post the code that you put into the script of a player and it should work for QTVR in revlets. An example can be seen here: http://berndniggemann.on-rev.com/qtvr/ as usual watch for linebreaks --------------------------------------------- local moviePan,movieRotateH,movieRotateStartLocH local movieTilt,movieRotateV,movieRotateStartLocV local movieZoom, tTiltConstraintsLow, tTiltConstraintsHigh, tZoomConstraintsLow, tZoomConstraintsHigh local tConstraintsOfMovie, zoomLength on mouseDown set the qtidlerate to 5 put 0 into movieRotateH put the clickLoc into tClick put the pan of me into moviePan put item 1 of tClick into movieRotateStartLocH put 0 into movieRotateV put the tilt of me into movieTilt put item 2 of tClick into movieRotateStartLocV if tConstraintsOfMovie is "" then -- has not yet been initialized/first time initializeTheMovie end if updateMovie end mouseDown on mouseWithin if the controlkey is down or the shiftkey is down then if tConstraintsOfMovie is "" then initializeTheMovie -- only if not initialized -- increases the responsiveness set the idlerate to 10 -- lock screen because we do screen updates lock screen if the controlkey is down then put (movieZoom + 0.2) into movieZoom if movieZoom >= tZoomConstraintsLow then put tZoomConstraintsLow into movieZoom set the zoom of me to movieZoom end if if the shiftKey is down then put (movieZoom - 0.2) into movieZoom if movieZoom <= tZoomConstraintsHigh then put tZoomConstraintsHigh into movieZoom set the zoom of me to movieZoom end if unlock screen else -- set idlerate back up to reduce burden on cpu or set it here to be 30 -- idlerate is the time in milliseconds between e.g. mouseWithin messages beeing sent set the idlerate to 30 end if end mouseWithin on mouseMove newMouseH,newMouseV put ((movieRotateStartLocH - newMouseH) * .01) into movieRotateH put ((movieRotateStartLocV - newMouseV) * .01) into movieRotateV end mouseMove on updateMovie if the mouse is up then repeat for each line cancelMessage in the pendingMessages if item 3 of cancelMessage is "updateMovie" then cancel (item 1 of cancelMessage) end if end repeat put 0 into movieRotateH set the qtidlerate to 50 exit updateMovie end if -- lock screen cause we do 2 screen updates lock screen add movieRotateH to moviePan set the pan of me to moviePan add movieRotateV to movieTilt -- adjusts the max tilt to the zoomlevel, when zoomed out max tilt is low or zero -- when zoomed in tilt is highest at the zoomconstraints -- this avoids that the user has to wait until movieTilt comes down put 1- ((movieZoom - tZoomConstraintsHigh)/zoomLength) into zoomFactor put tTiltConstraintsHigh * (zoomFactor +.07) into MaxTilt put 0 - MaxTilt into MinTilt if movieTilt < MinTilt then put MinTilt into movieTilt if movieTilt > MaxTilt then put MaxTilt into movieTilt set the tilt of me to movieTilt unlock screen -- put "tilt " & movieTilt && "zoom " & movieZoom && "pan " & moviePan -- just to not pile up messages if "updateMovie" is not in the pendingMessages then send updateMovie to me in 10 millisecs end upDateMovie -- to catch mighty mouse scrollball and Mac touchpad on rawKeyDown theKey if not (the mouseloc is within the rect of me) then pass rawKeyDown --if theKey is not among the words of "65311 65310 65309 65308" then pass rawKeyDown if tConstraintsOfMovie = "" then -- was not inititalized by mouseDown initializeTheMovie end if switch theKey case "65311" -- left touchpad/scrollball subtract 1 from moviePan set the pan of me to moviePan break case "65310" -- right left touchpad/scrollball add 1 to moviePan set the pan of me to moviePan break case "65309" -- forward touchpad/scrollball case "65362" -- up arrow put (movieZoom - 0.4) into movieZoom if movieZoom <= tZoomConstraintsHigh then put tZoomConstraintsHigh into movieZoom set the zoom of me to movieZoom break case "65308" -- backward touchpad/scrollball put (movieZoom + 0.4) into movieZoom if movieZoom >= tZoomConstraintsLow then put tZoomConstraintsLow into movieZoom set the zoom of me to movieZoom break end switch end rawKeyDown on mouseUp -- this handler refocuses on the player -- since mouseWithin is lost if during mouse movements with the mouse down -- the cursor leaves the player rect and comes back. -- this restores mouseWithin messages so the shift/ctrl keys work put 0 into movieRotateH -- to reset in case a "updateMovie" is still pending put 0 into movieRotateV -- to reset in case a "updateMovie" is still pending put the mouseloc into aLoc lock screen click at 1,1 set the screenmouseLoc to globalloc (aLoc) unlock screen end mouseUp private command initializeTheMovie put the constraints of me into tConstraintsOfMovie put (item 1 of line 2 of tConstraintsOfMovie) into tTiltConstraintsLow put (item 2 of line 2 of tConstraintsOfMovie) into tTiltConstraintsHigh put (item 1 of line 3 of tConstraintsOfMovie) into tZoomConstraintsHigh put (item 2 of line 3 of tConstraintsOfMovie) into tZoomConstraintsLow put the zoom of me into movieZoom put the tilt of me into movieTilt put the pan of me into moviePan put tZoomConstraintsLow - tZoomConstraintsHigh into zoomLength end initializeTheMovie --------------------------- regards Bernd Niggemann -- View this message in context: http://n4.nabble.com/Quicktime-VR-panorama-movies-in-revlets-tp948484p948484.html Sent from the Revolution - User mailing list archive at Nabble.com. From mcdomi at free.fr Fri Dec 4 08:23:41 2009 From: mcdomi at free.fr (Dom) Date: Fri, 4 Dec 2009 14:23:41 +0100 Subject: Interesting article in revUp! Message-ID: <1ja7e9h.1s1ibk015x5978M%mcdomi@free.fr> Briefly: A little longer: Passing Data from a Webpage to your Plugin After reading some lines, I understood that "plugin" = "revlet" ;-) Unless I am wrong? Nonetheless, this is a very interesting article, we need more! ;-) Think also to the total noobs regarding web site management (i.e. the happy On-Rev settlers)! Some literature about the server variables will be welcomed ;-)) -- Dom(i) AKA "M?dard chez On-Rev" some work accomplished regarding the photos pages plus some "new" revlets http://medard.on-rev.com/ (positive) criticism welcomed :-) From kkaufman at snet.net Fri Dec 4 08:29:01 2009 From: kkaufman at snet.net (Kurt Kaufman) Date: Fri, 4 Dec 2009 08:29:01 -0500 Subject: OT: iPhone as "tricorder" Message-ID: <83EC900A-E4DF-43FA-A211-8DCBAED56B64@snet.net> Perhaps of interest: http://radar.oreilly.com/2009/11/the-iphone-tricorder-version-1.html From mcdomi at free.fr Fri Dec 4 08:32:08 2009 From: mcdomi at free.fr (Dom) Date: Fri, 4 Dec 2009 14:32:08 +0100 Subject: Is it possible to change the revlet embed html? In-Reply-To: Message-ID: <1ja7er2.1drpfog1o08yyqM%mcdomi@free.fr> Bill Marriott wrote: > It's not that we find the Player to be adding so much functionality; nothing > to do with business model per se. It's that the revWeb plugin is essentially > the new "Player." Better to focus on having one piece of software end users > would install to "play" stacks than two. For one thing, it's one less code > base to maintain. For another, when we flesh out the mechanics of hosting > revlets within system windows, you would theoretically be able to > double-click a revlet and have it open much like it did in the old Player. OKay :-) Sure, to have a Player + to download a stack was the "old" solution... not to mention the platform problem: revlets run equally (IMHO) in all platforms, since there is nothing to "download", as they run in a web page. From andre at andregarzia.com Fri Dec 4 09:35:02 2009 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 4 Dec 2009 12:35:02 -0200 Subject: Is it possible to change the revlet embed html? In-Reply-To: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> Message-ID: <7c87a2a10912040635m27356de5pc0f3ebaade9df069@mail.gmail.com> George, Create your own html after the revlet is built is the best option. If I were you, I would not bother changing the html that rev generates, I would instead build new htmls from the scratch. I think rev sends a message after the revlet is built, this could trigger the new html creation. Also, it might have flown below your radar but checkout revletobject at http://hg.andregarzia.com/revletobject it is easier than working with the raw embed tag. Cheers andre On Thu, Dec 3, 2009 at 1:18 PM, George C Brackett wrote: > I'm planning a simple programming course for high school using revMedia > (because it's free), which only produces revlets. I was immediately stumped > by an early project to create and gradually improve an Assignments stack > that would help our students keep track of their assignments. Alas, saving > the current state of a revlet is not possible. > > One way to enable students to produce information-handling projects for > themselves (where information is entered, stored, edited, deleted) would be > giving them an environment where the URL of the revlet is passed by > parameter to the revlet code, and including a pre-written 'save' command in > a project starter stack that can write the information to a text file at the > revlet's URL. A big help would be to alter the standard test HTML so that > the embed code passes that information. > > Is it possible to change the test HTML generated by revMedia? Where is it > stored? Or can you think of a better way to set things up so that students > can store information-handling revlets in their own accounts on a school > server and not have to run them in revMedia but just call them up on a > browser? I would REALLY like to engage students in creating revlets that > other kids at the school can use. > > George > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From Ray at LinkIt.Com Fri Dec 4 12:38:23 2009 From: Ray at LinkIt.Com (Ray Horsley) Date: Fri, 4 Dec 2009 09:38:23 -0800 Subject: CMYK Jpeg's In-Reply-To: <4B18EB5E.4020909@cogapp.com> References: <4B18EB5E.4020909@cogapp.com> Message-ID: Thanks for confirming this Ben. I'm going to forward this to the Improve list. Ray Horsley LinkIt! Software On Dec 4, 2009, at 2:58 AM, Ben Rubinstein wrote: > On 4/12/09 00:01, Ray Horsley wrote: >> Correct me if I'm wrong but it seems like a glaring omission on the >> part of the Runrev engine not to display Jpeg's in CMYK or even >> provide a manner for detecting them. > > You are not wrong. (I always like to answer rhetorical questions, > even if they're only implied...) > > Opening CMYK Jpegs would be a feature, and may be only a minority > interest. But in the absence of that feature, being unable to > distinguish a CYMK image from a broken URL or corrupt file is a bug, > one of those that impair our ability to create professional-quality > work in Rev. > > http://quality.runrev.com/qacenter/show_bug.cgi?id=2983 > > Ben > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major.on-rev.com Fri Dec 4 09:41:01 2009 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 4 Dec 2009 15:41:01 +0100 Subject: Is it possible to change the revlet embed html? In-Reply-To: <7c87a2a10912040635m27356de5pc0f3ebaade9df069@mail.gmail.com> References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> <7c87a2a10912040635m27356de5pc0f3ebaade9df069@mail.gmail.com> Message-ID: <1E37093A-74DF-4B61-8B3E-0D16083F488C@major.on-rev.com> Hi all, > George, > > Create your own html after the revlet is built is the best option. If I were > you, I would not bother changing the html that rev generates, I would > instead build new htmls from the scratch. I think rev sends a message after > the revlet is built, this could trigger the new html creation. Also, it > might have flown below your radar but checkout revletobject at > http://hg.andregarzia.com/revletobject it is easier than working with the > raw embed tag. > > Cheers > andre isn't it important to use at least the UUID in the Rev generated HTML? Or does the plugin not check this against the one in the revlet? Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From david.bovill at gmail.com Fri Dec 4 09:44:10 2009 From: david.bovill at gmail.com (David Bovill) Date: Fri, 4 Dec 2009 14:44:10 +0000 Subject: Forgotten how to deal with unicode In-Reply-To: References: Message-ID: No - well at least it was not working for me (nor were the other forms of getting the text from the field). I am wandering exactly what is happening when I copy and paste the url from the browser - if behind the scenes it is url or utf8 encoded or something? I've skipped over this issue for now - but will get back to it and post a test stack if I can't figure it. 2009/12/4 Sarah Reichelt > On Fri, Dec 4, 2009 at 10:52 AM, David Bovill > wrote: > > - I want to fetch a url say "http://en.wikipedia.org/wiki/Slavoj_ > ?i?ek*"* > > - This is displayed correctly in a list field (say on line 1 of the > > field) > > > > How do I use revTalk to fetch the right value from this field so that I > can: > > > > - put url "http://en.wikipedia.org/wiki/Slavoj_?i?ek*"* > > > > NB pasting the text from the browsers url field gives " > > http://en.wikipedia.org/wiki/Slavoj_%C5%BDi%C5%BEek", what would you > code to > > get that result? > > Try urlencode() > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Fri Dec 4 09:53:33 2009 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 4 Dec 2009 12:53:33 -0200 Subject: Is it possible to change the revlet embed html? In-Reply-To: <1E37093A-74DF-4B61-8B3E-0D16083F488C@major.on-rev.com> References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> <7c87a2a10912040635m27356de5pc0f3ebaade9df069@mail.gmail.com> <1E37093A-74DF-4B61-8B3E-0D16083F488C@major.on-rev.com> Message-ID: <7c87a2a10912040653y613f24c2m49d88b0ba4df9fa4@mail.gmail.com> I don't think it does because my javascript doesn't pass it and it works. On Fri, Dec 4, 2009 at 12:41 PM, Klaus on-rev wrote: > Hi all, > > > George, > > > > Create your own html after the revlet is built is the best option. If I > were > > you, I would not bother changing the html that rev generates, I would > > instead build new htmls from the scratch. I think rev sends a message > after > > the revlet is built, this could trigger the new html creation. Also, it > > might have flown below your radar but checkout revletobject at > > http://hg.andregarzia.com/revletobject it is easier than working with > the > > raw embed tag. > > > > Cheers > > andre > > isn't it important to use at least the UUID in the Rev generated HTML? > Or does the plugin not check this against the one in the revlet? > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From capellan2000 at gmail.com Fri Dec 4 10:02:39 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 4 Dec 2009 07:02:39 -0800 (PST) Subject: Simultaneous Animations... In-Reply-To: <390F8EDB-A696-4638-847B-278C8C4BDA30@mac.com> References: <16AF3D25-78C0-4AAE-9570-A40B1D7F19A4@mac.com> <390F8EDB-A696-4638-847B-278C8C4BDA30@mac.com> Message-ID: <1259938959976-948592.post@n4.nabble.com> If memory serves well, Scott Raney used this game in his Demo stack for the creation of Externals (DLLs) in MetaCard. Bj?rnke von Gierke wrote: > > i think someone made a version of "life" once, but that one may seem > random and actually isn't. so maybe that's not what you're after? > http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life > -- View this message in context: http://n4.nabble.com/Simultaneous-Animations-tp947993p948592.html Sent from the Revolution - User mailing list archive at Nabble.com. From wjm at wjm.org Fri Dec 4 10:04:11 2009 From: wjm at wjm.org (Bill Marriott) Date: Fri, 4 Dec 2009 10:04:11 -0500 Subject: Code Samples/Comparisons In-Reply-To: <4B18EB2E.6030807@ekoinf.net> References: <4B16FE68.7040401@fourthworld.com> <091E6A99-D22E-4AE5-B834-6D9D69DEFF28@cruzio.com> <4B18EB2E.6030807@ekoinf.net> Message-ID: This is a very useful comment, Viktoras! I still want code. I will give a shiny new RunRev mug to the first five people who submit plausible, actual code samples to me according to my original request. - Bill "viktoras d." wrote in message news:4B18EB2E.6030807 at ekoinf.net... > what about using task/code examples from > http://shootout.alioth.debian.org/. Revcoders (us, runrev ltd?..) will > still have to write quality examples in Rev which would be a challenge :-) > Quality of the code there is good enough as computer language benchmarks > game aims to create the shortest and fastest running executables for all > the open source languages out there. So both number of lines, speed of > execution and memory use are taken into account.. > > I think for the community of revcoders it would be interesting to compare > revTalk in that context too :-). From klaus at major.on-rev.com Fri Dec 4 10:15:02 2009 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 4 Dec 2009 16:15:02 +0100 Subject: Is it possible to change the revlet embed html? In-Reply-To: <7c87a2a10912040653y613f24c2m49d88b0ba4df9fa4@mail.gmail.com> References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> <7c87a2a10912040635m27356de5pc0f3ebaade9df069@mail.gmail.com> <1E37093A-74DF-4B61-8B3E-0D16083F488C@major.on-rev.com> <7c87a2a10912040653y613f24c2m49d88b0ba4df9fa4@mail.gmail.com> Message-ID: <7D047F61-8927-4279-8C82-17D4F4E170B5@major.on-rev.com> Hi Andre, > I don't think it does because my javascript doesn't pass it and it works. I meant the "embedding" HTML. If not, what is the UUID good for? > On Fri, Dec 4, 2009 at 12:41 PM, Klaus on-rev wrote: > >> Hi all, >>> George, >>> Create your own html after the revlet is built is the best option. If I >>> were >>> you, I would not bother changing the html that rev generates, I would >>> instead build new htmls from the scratch. I think rev sends a message >>> after >>> the revlet is built, this could trigger the new html creation. Also, it >>> might have flown below your radar but checkout revletobject at >>> http://hg.andregarzia.com/revletobject it is easier than working with >>> theraw embed tag. >>> Cheers >>> andre >> isn't it important to use at least the UUID in the Rev generated HTML? >> Or does the plugin not check this against the one in the revlet? >> Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From Kresten.Bjerg at psy.ku.dk Fri Dec 4 10:26:28 2009 From: Kresten.Bjerg at psy.ku.dk (Kresten Bjerg) Date: Fri, 4 Dec 2009 16:26:28 +0100 Subject: How do I construct a scroll bar for stack larger than screen Message-ID: <7A47FC91544BDC44B54C6807E6995019015C8259@ibtmail1.ibt.ku.dk.ad> With the arrival of cheap mini-notebooks with vertical screensize only 600, I need to permit users of my electronic diary standalones to see the bottom fourth of the daycard. Its not a matter of scrolling inside fields, but moving top of stack up in the invisible, to reach displays and functions in the lower part. Hopefully Kresten Bjerg (www.phenomenalog.dk and www.phenomenalog.wikispaces.com From andre at andregarzia.com Fri Dec 4 10:28:11 2009 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 4 Dec 2009 13:28:11 -0200 Subject: Is it possible to change the revlet embed html? In-Reply-To: <7D047F61-8927-4279-8C82-17D4F4E170B5@major.on-rev.com> References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> <7c87a2a10912040635m27356de5pc0f3ebaade9df069@mail.gmail.com> <1E37093A-74DF-4B61-8B3E-0D16083F488C@major.on-rev.com> <7c87a2a10912040653y613f24c2m49d88b0ba4df9fa4@mail.gmail.com> <7D047F61-8927-4279-8C82-17D4F4E170B5@major.on-rev.com> Message-ID: <7c87a2a10912040728nf433156ibbee10c7c633b7d7@mail.gmail.com> I think the plugin will not load two revlets with the same UUID on the same instance... On Fri, Dec 4, 2009 at 1:15 PM, Klaus on-rev wrote: > Hi Andre, > > > I don't think it does because my javascript doesn't pass it and it works. > > I meant the "embedding" HTML. > If not, what is the UUID good for? > > > On Fri, Dec 4, 2009 at 12:41 PM, Klaus on-rev >wrote: > > > >> Hi all, > >>> George, > >>> Create your own html after the revlet is built is the best option. If I > >>> were > >>> you, I would not bother changing the html that rev generates, I would > >>> instead build new htmls from the scratch. I think rev sends a message > >>> after > >>> the revlet is built, this could trigger the new html creation. Also, it > >>> might have flown below your radar but checkout revletobject at > >>> http://hg.andregarzia.com/revletobject it is easier than working with > >>> theraw embed tag. > >>> Cheers > >>> andre > >> isn't it important to use at least the UUID in the Rev generated HTML? > >> Or does the plugin not check this against the one in the revlet? > >> > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From mdswindell at cruzio.com Fri Dec 4 10:31:24 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 4 Dec 2009 07:31:24 -0800 Subject: How do I construct a scroll bar for stack larger than screen In-Reply-To: <7A47FC91544BDC44B54C6807E6995019015C8259@ibtmail1.ibt.ku.dk.ad> References: <7A47FC91544BDC44B54C6807E6995019015C8259@ibtmail1.ibt.ku.dk.ad> Message-ID: It seems you'd want to group them and scroll the group. Mark On Dec 4, 2009, at 7:26 AM, Kresten Bjerg wrote: > With the arrival of cheap mini-notebooks with vertical screensize only > 600, > > I need to permit users of my electronic diary standalones to see the > bottom fourth > > of the daycard. Its not a matter of scrolling inside fields, but moving > top of stack > > up in the invisible, to reach displays and functions in the lower part. > > Hopefully > > Kresten Bjerg (www.phenomenalog.dk and > www.phenomenalog.wikispaces.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcdomi at free.fr Fri Dec 4 10:46:17 2009 From: mcdomi at free.fr (Dom) Date: Fri, 4 Dec 2009 16:46:17 +0100 Subject: Is it possible to change the revlet embed html? In-Reply-To: <7c87a2a10912040728nf433156ibbee10c7c633b7d7@mail.gmail.com> Message-ID: <1ja7kzb.1vjotxr152ctgjM%mcdomi@free.fr> Andre Garzia wrote: > I think the plugin will not load two revlets with the same UUID on the same > instance... Interesting point! One could imagine two revlets talking to each other on the same page... For instance (its my hobby for now ;-)) a revlet showing a series of thumbnails, and another revlet showing one bigger image! -- From luis at anachreon.co.uk Fri Dec 4 11:07:11 2009 From: luis at anachreon.co.uk (Luis) Date: Fri, 4 Dec 2009 16:07:11 +0000 Subject: Simultaneous Animations... In-Reply-To: <1259938959976-948592.post@n4.nabble.com> References: <16AF3D25-78C0-4AAE-9570-A40B1D7F19A4@mac.com> <390F8EDB-A696-4638-847B-278C8C4BDA30@mac.com> <1259938959976-948592.post@n4.nabble.com> Message-ID: <3CED2D3A-CDA1-4565-BBDA-525ACB59F531@anachreon.co.uk> Hiya, There was another animation library, but the name escapes me (and that doesn't help with a search...). Anyone got the link? I think it was a UK based site. Cheers, Luis. On 4 Dec 2009, at 15:02, Alejandro Tejada wrote: > > If memory serves well, Scott Raney used this game > in his Demo stack for the creation of Externals (DLLs) > in MetaCard. > > > Bj?rnke von Gierke wrote: >> >> i think someone made a version of "life" once, but that one may seem >> random and actually isn't. so maybe that's not what you're after? >> http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life >> > > -- > View this message in context: http://n4.nabble.com/Simultaneous- > Animations-tp947993p948592.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mb.userev at harbourhosting.co.uk Fri Dec 4 11:07:51 2009 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Fri, 04 Dec 2009 16:07:51 +0000 Subject: Caching problem with revlets In-Reply-To: <4B1842AD.7060104@together.net> References: <4B16FE68.7040401@fourthworld.com> <4B17E59C.5000800@together.net> <4B182E11.6090506@harbourhosting.co.uk> <4B1842AD.7060104@together.net> Message-ID: <4B1933D7.60008@harbourhosting.co.uk> Richard, Yes do read the article. It may clarify, and details a number of methods and their pros and cons. Using htaccess files with apache is only one of the possibilities discussed there. However the article seems to be written in French today. It was in English yesterday, honestly. I think there's probably been a mistake. I emailed the author to point this out so perhaps he'll restore the english version eventually. If you read French well enough it won't be a problem of course. I won't try and go into all the potential issues here. But ask again if there is something particular that you want clarification on. Martin Richard Miller wrote: > Martin, > > Thanks. I only wish I knew what you are talking about! I will read the > article. > > The revlet is stored on a GoDaddy server. Is that apache? Can I do the > things you suggest, given where it is stored? > > Richard > > > Martin Baxter wrote: >> Richard >> >> if: >> >> a you are using apache >> b mod_expires is installed >> c you can use .htaccess files >> >> Then you should be able to use expires directives in an .htaccess file >> to inhibit cacheing based on media type (extension). >> >> >> >> I don't know if that will work, I haven't tried it, but I think it has >> more chance than cache control meta tags, which are known to be >> ineffective IIRC. It's the way I would try and do it anyway. >> >> Also, possibly helpful article on cacheing generally: >> >> >> >> Martin Baxter >> >> Richard Miller wrote: >> >>> I really need help with this one. >>> >>> To get at the heart of a few problems, I just put some code into my >>> revlet to check that when a user opens my revlet, this person actually >>> has the latest version. Just got word from one user (Vista + IE) that >>> the revlet he recently accessed was an older version. So caching is >>> taking place. >>> >>> This code doesn't do the job: >>> >>> >>> >>> >>> >>> >>> >>> Suggestions? >>> >>> Thanks. >>> Richard Miller >>> >> >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- In the absence of a definition, anything makes sense. Jeff Ello http://www.computerworld.com/s/article/9141609/Opinion_The_unspoken_truth_about_why_your_IT_sucks?taxonomyId=14&pageNumber=4 From lfredricks at proactive-intl.com Fri Dec 4 11:13:27 2009 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 4 Dec 2009 08:13:27 -0800 Subject: Simultaneous Animations... In-Reply-To: <3CED2D3A-CDA1-4565-BBDA-525ACB59F531@anachreon.co.uk> References: <16AF3D25-78C0-4AAE-9570-A40B1D7F19A4@mac.com><390F8EDB-A696-4638-847B-278C8C4BDA30@mac.com><1259938959976-948592.post@n4.nabble.com> <3CED2D3A-CDA1-4565-BBDA-525ACB59F531@anachreon.co.uk> Message-ID: <0EA58107DCF5485E9D0B255F1F6C8648@GATEWAY> > There was another animation library, but the name escapes me > (and that doesn't help with a search...). > Anyone got the link? I think it was a UK based site. A little horn toot.... Sorry for the late reply - huge Christmas projects. Franklin 3D has a 2D animated sprite system. A huge advantage to using it is that it can benefit from any OpenGL or DirectX (depending on which you use) hardware acceleration. This is something to seriously consider if you have a lot of animated characters on screen. http://www.franklin3d.com Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From kevin at runrev.com Fri Dec 4 11:23:16 2009 From: kevin at runrev.com (Kevin Miller) Date: Fri, 04 Dec 2009 16:23:16 +0000 Subject: Code Samples/Comparisons In-Reply-To: <4B18EB2E.6030807@ekoinf.net> Message-ID: On 04/12/2009 10:57, "viktoras d." wrote: > what about using task/code examples from > http://shootout.alioth.debian.org/. Revcoders (us, runrev ltd?..) will > still have to write quality examples in Rev which would be a challenge > :-) Quality of the code there is good enough as computer language > benchmarks game aims to create the shortest and fastest running > executables for all the open source languages out there. So both number > of lines, speed of execution and memory use are taken into account.. > > I think for the community of revcoders it would be interesting to > compare revTalk in that context too :-). I think that's a great idea. Obviously there are a number of ways to tackle this problem and we will continue to work on holding a clear and informed debate over the coming weeks. Thanks to everyone who has made suggestions. For the moment we have updated the comparison at http://www.runrev.com/pdf/revTalk-Other-Comparison.pdf to better articulate the point that was intended. We will post a similar discussion and add some JavaScript examples to the PHP comparison shortly. We will continue to work on finding good ways to realistically and clearly make the case for revTalk. It is very good news that there is now a debate going on. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From luis at anachreon.co.uk Fri Dec 4 11:27:11 2009 From: luis at anachreon.co.uk (Luis) Date: Fri, 4 Dec 2009 16:27:11 +0000 Subject: Simultaneous Animations... In-Reply-To: <0EA58107DCF5485E9D0B255F1F6C8648@GATEWAY> References: <16AF3D25-78C0-4AAE-9570-A40B1D7F19A4@mac.com><390F8EDB-A696-4638-847B-278C8C4BDA30@mac.com><1259938959976-948592.post@n4.nabble.com> <3CED2D3A-CDA1-4565-BBDA-525ACB59F531@anachreon.co.uk> <0EA58107DCF5485E9D0B255F1F6C8648@GATEWAY> Message-ID: <054B5F24-3C77-410F-A505-7503255A47BE@anachreon.co.uk> Hiya, Well the site (which if anyone has the link, please post it!) has an animation library that for the original poster's question would assist in learning a bit more on the 'vanilla' side of animation through rev. On Franklin3D: Will it include the irrKlang Audio component in the future? Cheers, Luis. On 4 Dec 2009, at 16:13, Lynn Fredricks wrote: >> There was another animation library, but the name escapes me >> (and that doesn't help with a search...). >> Anyone got the link? I think it was a UK based site. > > A little horn toot.... > > Sorry for the late reply - huge Christmas projects. Franklin 3D has > a 2D > animated sprite system. A huge advantage to using it is that it can > benefit > from any OpenGL or DirectX (depending on which you use) hardware > acceleration. This is something to seriously consider if you have a > lot of > animated characters on screen. > > http://www.franklin3d.com > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mcgrath3 at mac.com Fri Dec 4 12:39:30 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 04 Dec 2009 12:39:30 -0500 Subject: Code Samples/Comparisons In-Reply-To: References: Message-ID: <34700872-9A57-4FAB-A3D0-C1B4EBBB7611@mac.com> FYI, there are typo's and mistakes throughout this pdf. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 4, 2009, at 11:23 AM, Kevin Miller wrote: > For the moment we have updated the comparison at > http://www.runrev.com/pdf/revTalk-Other-Comparison.pdf to better > articulate > the point that was intended. We will post a similar discussion and > add some > JavaScript examples to the PHP comparison shortly. > > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > RunRev - Software construction for everyone > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Fri Dec 4 12:58:39 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Dec 2009 11:58:39 -0600 Subject: Is it possible to change the revlet embed html? In-Reply-To: <7c87a2a10912040728nf433156ibbee10c7c633b7d7@mail.gmail.com> References: <8F6F6832-6D9D-40E4-97DC-8F5569EFF84F@luceatlux.com> <7c87a2a10912040635m27356de5pc0f3ebaade9df069@mail.gmail.com> <1E37093A-74DF-4B61-8B3E-0D16083F488C@major.on-rev.com> <7c87a2a10912040653y613f24c2m49d88b0ba4df9fa4@mail.gmail.com> <7D047F61-8927-4279-8C82-17D4F4E170B5@major.on-rev.com> <7c87a2a10912040728nf433156ibbee10c7c633b7d7@mail.gmail.com> Message-ID: <4B194DCF.6080009@hyperactivesw.com> Andre Garzia wrote: > I think the plugin will not load two revlets with the same UUID on the same > instance... I thought the UUID was an identifier for browsers. The UUID is the same for all HTML pages that revlets generate. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Dec 4 13:00:14 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Dec 2009 12:00:14 -0600 Subject: Is it possible to change the revlet embed html? In-Reply-To: <1ja7kzb.1vjotxr152ctgjM%mcdomi@free.fr> References: <1ja7kzb.1vjotxr152ctgjM%mcdomi@free.fr> Message-ID: <4B194E2E.5050405@hyperactivesw.com> Dom wrote: > Andre Garzia wrote: > >> I think the plugin will not load two revlets with the same UUID on the same >> instance... > > Interesting point! > > One could imagine two revlets talking to each other on the same page... > > For instance (its my hobby for now ;-)) a revlet showing a series of > thumbnails, and another revlet showing one bigger image! > I've done that here: The UUID is the same for both, I didn't change that. What's important is the instanceID. That must be the same for all stacks that need to talk to each other on the same page. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From durgesh.mishra at gmail.com Fri Dec 4 13:34:53 2009 From: durgesh.mishra at gmail.com (Durgesh Mishra) Date: Sat, 5 Dec 2009 00:04:53 +0530 Subject: getting height of text in pixels Message-ID: <457c4a4b0912041034j551d374dn986ced35823442b2@mail.gmail.com> How can I get height of text in a text box in pixels ? Thanks beforehand, Kind Regards -Durgesh O Mishra From m.schonewille at economy-x-talk.com Fri Dec 4 13:50:45 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 4 Dec 2009 19:50:45 +0100 Subject: getting height of text in pixels In-Reply-To: <457c4a4b0912041034j551d374dn986ced35823442b2@mail.gmail.com> References: <457c4a4b0912041034j551d374dn986ced35823442b2@mail.gmail.com> Message-ID: Hi Durgesh, Use the formattedHeight property. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Download Str?m Flow Chart Software http://flowproject.economy-x-talk.com Op 4 dec 2009, om 19:34 heeft Durgesh Mishra het volgende geschreven: > How can I get height of text in a text box in pixels ? > > Thanks beforehand, > > Kind Regards > -Durgesh O Mishra From durgesh.mishra at gmail.com Fri Dec 4 13:57:26 2009 From: durgesh.mishra at gmail.com (Durgesh Mishra) Date: Sat, 5 Dec 2009 00:27:26 +0530 Subject: getting height of text in pixels In-Reply-To: References: <457c4a4b0912041034j551d374dn986ced35823442b2@mail.gmail.com> Message-ID: <457c4a4b0912041057o171fc0aak7587f1f40d3c5762@mail.gmail.com> Thanks a lot Mark. 2009/12/5 Mark Schonewille > Hi Durgesh, > > Use the formattedHeight property. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Download Str?m Flow Chart Software > http://flowproject.economy-x-talk.com > > Op 4 dec 2009, om 19:34 heeft Durgesh Mishra het volgende geschreven: > > > How can I get height of text in a text box in pixels ? >> >> Thanks beforehand, >> >> Kind Regards >> -Durgesh O Mishra >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From DunbarX at aol.com Fri Dec 4 14:24:08 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 4 Dec 2009 14:24:08 EST Subject: getting height of text in pixels Message-ID: Mark. I am missing something here. The question was about the height of text in pixels, which is the textHeight. The formattedText has to do with line wrapping, that is, physical lines versus formatted lines. An old, old HC XFCN called "wordwrap" inserted return characters at the appropriate places in a field based on text and field properties. It I used it everywhere. The formattedText essentially replaces this functionality. Craig In a message dated 12/4/09 1:50:55 PM, m.schonewille at economy-x-talk.com writes: > Hi Durgesh, > > Use the formattedHeight property. > From revdev at pdslabs.net Fri Dec 4 14:26:29 2009 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 04 Dec 2009 11:26:29 -0800 Subject: RevOnline update: Engine Search plugin Message-ID: <4B196265.5030406@pdslabs.net> Hi folks, Just a quick note to say I updated the "Engine Search" Rev IDE plugin on RevOnline. This revision uses "the address" to locate the currently running Rev engine. Previously the plugin located the engine by setting the defaultFolder to empty, which set it to the engine's folder. This defaultFolder "feature" was actually a bug and was fixed In Rev 4.0. Hence the update. Happy engine snooping - -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From m.schonewille at economy-x-talk.com Fri Dec 4 14:27:47 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 4 Dec 2009 20:27:47 +0100 Subject: getting height of text in pixels In-Reply-To: References: Message-ID: <28CA662C-A61F-4EFC-86F5-52A960FBF3F9@economy-x-talk.com> Craig, Durgesh didn't asked for the height of a single line but for the height of the text. I suppose he could ask again if that doesn't work for him. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Download Str?m Flow Chart Software http://flowproject.economy-x-talk.com Op 4 dec 2009, om 20:24 heeft DunbarX at aol.com het volgende geschreven: > Mark. > > I am missing something here. The question was about the height of > text in > pixels, which is the textHeight. The formattedText has to do with line > wrapping, that is, physical lines versus formatted lines. > > An old, old HC XFCN called "wordwrap" inserted return characters at > the > appropriate places in a field based on text and field properties. It > I used it > everywhere. The formattedText essentially replaces this functionality. > > Craig > In a message dated 12/4/09 1:50:55 PM, m.schonewille at economy-x- > talk.com > writes: > > >> Hi Durgesh, >> >> Use the formattedHeight property. From DunbarX at aol.com Fri Dec 4 14:29:35 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 4 Dec 2009 14:29:35 EST Subject: getting height of text in pixels Message-ID: Mark. Oops. FormattedHeight not formattedText. But I still don't see the connection. Craig In a message dated 12/4/09 1:50:55 PM, m.schonewille at economy-x-talk.com writes: > Hi Durgesh, > > Use the formattedHeight property. > From DunbarX at aol.com Fri Dec 4 14:31:03 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 4 Dec 2009 14:31:03 EST Subject: getting height of text in pixels Message-ID: Never mind. I see it now. He wanted the height of an arbitrary chunk of text, not the textHeight. Only three posts wasted, too. Craig From gbrackett at luceatlux.com Fri Dec 4 14:53:23 2009 From: gbrackett at luceatlux.com (George C Brackett) Date: Fri, 4 Dec 2009 14:53:23 -0500 Subject: Is it possible to change the revlet embed html? In-Reply-To: <4B194E2E.5050405@hyperactivesw.com> References: <1ja7kzb.1vjotxr152ctgjM%mcdomi@free.fr> <4B194E2E.5050405@hyperactivesw.com> Message-ID: Wow! I've been away and just now returned to read all the great advice and interesting discussion. I've learned a great deal, as is so often the case when the generous people on this list take up a thorny issue. Thanks, all! George On Dec 4, 2009, at 1:00 PM, J. Landman Gay wrote: Dom wrote: > Andre Garzia wrote: >> I think the plugin will not load two revlets with the same UUID on the same >> instance... > Interesting point! > One could imagine two revlets talking to each other on the same page... > For instance (its my hobby for now ;-)) a revlet showing a series of > thumbnails, and another revlet showing one bigger image! I've done that here: The UUID is the same for both, I didn't change that. What's important is the instanceID. That must be the same for all stacks that need to talk to each other on the same page. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From index at kenjikojima.com Fri Dec 4 15:17:48 2009 From: index at kenjikojima.com (Kenji Kojima) Date: Fri, 4 Dec 2009 15:17:48 -0500 Subject: Do you remember Unicode? Message-ID: Hi, I expected all Unicode problems were fixed on 3.0. But I cannot use Unicode yet. Version 5 will be soon. One big problem is MacOS menu bar. It happened 2.8.1. Before we did not have this problem. http://quality.runrev.com/qacenter/show_bug.cgi?id=5141 You can see a video. http://www.tajimiyori.com/RevJPForum/003.mov The menu bar has to have four menus, but when you set the menu bar sometimes the menus are three or two. You can try a sample stack. go stack url "http://www.kenjikojima.com/runrev/stacks/jpMenuBarTest2.rev" Before you try it, change the Language to Japanese. see this image. http://www.kenjikojima.com/runrev/bugs/language.jpg MacOS menu bar is not only unicode problem. We have more. Best regards, -- Kenji Kojima http://www.kenjikojima.com/ From m.schonewille at economy-x-talk.com Fri Dec 4 15:40:20 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 4 Dec 2009 21:40:20 +0100 Subject: Do you remember Unicode? In-Reply-To: References: Message-ID: Hi Kenji, It seems to work for me. Normally, I complain a lot about Revolution and unicode, but not this time. I did the same what you did in your movie. I use Mac OS X 10.5.8 and tested your stack with Rev 4.0. (Now you'll see it won't work again after I send this e-mail ;-) ) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Download Str?m Flow Chart Software http://flowproject.economy-x-talk.com Op 4 dec 2009, om 21:17 heeft Kenji Kojima het volgende geschreven: > Hi, > > I expected all Unicode problems were fixed on 3.0. But I cannot use > Unicode yet. Version 5 will be soon. > > One big problem is MacOS menu bar. It happened 2.8.1. Before we did > not have this problem. > http://quality.runrev.com/qacenter/show_bug.cgi?id=5141 > > You can see a video. > http://www.tajimiyori.com/RevJPForum/003.mov > The menu bar has to have four menus, but when you set the menu bar > sometimes the menus are three or two. > > You can try a sample stack. > go stack url "http://www.kenjikojima.com/runrev/stacks/jpMenuBarTest2.rev > " > > Before you try it, change the Language to Japanese. see this image. > http://www.kenjikojima.com/runrev/bugs/language.jpg > > MacOS menu bar is not only unicode problem. > We have more. > > > Best regards, > -- > Kenji Kojima > http://www.kenjikojima.com/ From davidocoker at gmail.com Fri Dec 4 15:46:37 2009 From: davidocoker at gmail.com (David Coker) Date: Fri, 4 Dec 2009 14:46:37 -0600 (CST) Subject: Importing data into RevDB Message-ID: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> Hello folks, I'm in the planning stages of a possible new app which will include populating a Rev Database (SQLite) primarily from a standard Excel based CSV file. What I've run into while doing some research is that that format seems leaves a lot to be desired. It seems that the CSV data that I'll be working with has all kinds of spurious line breaks and such embedded, so converting to a tab delimited format doesn't work well. Does anyone have any suggestions as to how to make something like this reliable as far as maintaining record integrity during import? Best regards, David C. From index at kenjikojima.com Fri Dec 4 15:49:42 2009 From: index at kenjikojima.com (Kenji Kojima) Date: Fri, 4 Dec 2009 15:49:42 -0500 Subject: Do you remember Unicode? In-Reply-To: References: Message-ID: <07C1870A-CB4E-45E0-A37C-46B7893D5960@kenjikojima.com> Hi Mark, Please switch the language to Japanese? http://www.kenjikojima.com/runrev/bugs/language.jpg This is important. Japanese users do not use English OS. Thanks, -- Kenji Kojima http://www.kenjikojima.com/ On Dec 4, 2009, at 03:40 PM, Mark Schonewille wrote: > Hi Kenji, > > It seems to work for me. Normally, I complain a lot about Revolution and unicode, but not this time. I did the same what you did in your movie. > > I use Mac OS X 10.5.8 and tested your stack with Rev 4.0. > > (Now you'll see it won't work again after I send this e-mail ;-) ) > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Download Str?m Flow Chart Software > http://flowproject.economy-x-talk.com > > Op 4 dec 2009, om 21:17 heeft Kenji Kojima het volgende geschreven: > >> Hi, >> >> I expected all Unicode problems were fixed on 3.0. But I cannot use Unicode yet. Version 5 will be soon. >> >> One big problem is MacOS menu bar. It happened 2.8.1. Before we did not have this problem. >> http://quality.runrev.com/qacenter/show_bug.cgi?id=5141 >> >> You can see a video. >> http://www.tajimiyori.com/RevJPForum/003.mov >> The menu bar has to have four menus, but when you set the menu bar sometimes the menus are three or two. >> >> You can try a sample stack. >> go stack url "http://www.kenjikojima.com/runrev/stacks/jpMenuBarTest2.rev" >> >> Before you try it, change the Language to Japanese. see this image. >> http://www.kenjikojima.com/runrev/bugs/language.jpg >> >> MacOS menu bar is not only unicode problem. >> We have more. >> >> >> Best regards, >> -- >> Kenji Kojima >> http://www.kenjikojima.com/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Fri Dec 4 15:57:33 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 4 Dec 2009 21:57:33 +0100 Subject: Do you remember Unicode? In-Reply-To: <07C1870A-CB4E-45E0-A37C-46B7893D5960@kenjikojima.com> References: <07C1870A-CB4E-45E0-A37C-46B7893D5960@kenjikojima.com> Message-ID: <3D964C7C-01A4-436C-BC43-E4FA6DF51E42@economy-x-talk.com> Kenji, I changed the language first and started Revolution after that. Revolution's application menu is in Japanese now. I didn't restart the computer. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Download Str?m Flow Chart Software http://flowproject.economy-x-talk.com Op 4 dec 2009, om 21:49 heeft Kenji Kojima het volgende geschreven: > Hi Mark, > > Please switch the language to Japanese? > http://www.kenjikojima.com/runrev/bugs/language.jpg > > This is important. Japanese users do not use English OS. > > Thanks, > -- > Kenji Kojima > http://www.kenjikojima.com/ > From ruslan_zasukhin at valentina-db.com Fri Dec 4 16:18:40 2009 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Fri, 04 Dec 2009 23:18:40 +0200 Subject: Importing data into RevDB In-Reply-To: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> Message-ID: On 12/4/09 10:46 PM, "David Coker" wrote: Hi David, To fight with line breaks, exists such tip As to specify as Field and Line delimiters some odd chars ? ? At least Valentina and mySQL allow this. If SqlLite cannot, you can try to use above dbs as intermediate step. > Hello folks, > I'm in the planning stages of a possible new app which will include populating > a Rev Database (SQLite) primarily from a standard Excel based CSV file. What > I've run into while doing some research is that that format seems leaves a lot > to be desired. It seems that the CSV data that I'll be working with has all > kinds of spurious line breaks and such embedded, so converting to a tab > delimited format doesn't work well. > > Does anyone have any suggestions as to how to make something like this > reliable as far as maintaining record integrity during import? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From index at kenjikojima.com Fri Dec 4 16:31:21 2009 From: index at kenjikojima.com (Kenji Kojima) Date: Fri, 4 Dec 2009 16:31:21 -0500 Subject: Do you remember Unicode? In-Reply-To: <3D964C7C-01A4-436C-BC43-E4FA6DF51E42@economy-x-talk.com> References: <07C1870A-CB4E-45E0-A37C-46B7893D5960@kenjikojima.com> <3D964C7C-01A4-436C-BC43-E4FA6DF51E42@economy-x-talk.com> Message-ID: <7F732BEA-359D-481F-91EE-4A0B529D8555@kenjikojima.com> Hi Mark, You don't need to restart your Mac. I use MacOS X 10.6.2 and Rev 4.0.0. The first menu "????" disappears sometimes. This is not only my problem, other Japanese users have this problem too. This is long time trouble for us. We cannot update our stacks to version 3 or 4. Best regards, -- Kenji Kojima http://www.kenjikojima.com/ On Dec 4, 2009, at 03:57 PM, Mark Schonewille wrote: > Kenji, > > I changed the language first and started Revolution after that. Revolution's application menu is in Japanese now. I didn't restart the computer. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Download Str?m Flow Chart Software > http://flowproject.economy-x-talk.com > > Op 4 dec 2009, om 21:49 heeft Kenji Kojima het volgende geschreven: > >> Hi Mark, >> >> Please switch the language to Japanese? >> http://www.kenjikojima.com/runrev/bugs/language.jpg >> >> This is important. Japanese users do not use English OS. >> >> Thanks, >> -- >> Kenji Kojima >> http://www.kenjikojima.com/ >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bvg at mac.com Fri Dec 4 16:34:58 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 04 Dec 2009 22:34:58 +0100 Subject: Importing data into RevDB In-Reply-To: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> References: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> Message-ID: normally, csv is a pain in the ass, but Rev tokens trump that ;) you can set the linedelimiter to comma, and the itemdelimter to quote. then you could do something similar to this (great for not having to make special cases for the particular field being empty, lacking quotes, etc.): set the linedelimiter to comma set the itemdelimiter to quote repeat for each line theLine in theCSV put item 1 to -1 of line theLine into theData --do stuff with data here end repeat On 4 Dec 2009, at 21:46, David Coker wrote: > Hello folks, > I'm in the planning stages of a possible new app which will include > populating a Rev Database (SQLite) primarily from a standard Excel > based CSV file. What I've run into while doing some research is that > that format seems leaves a lot to be desired. It seems that the CSV > data that I'll be working with has all kinds of spurious line breaks > and such embedded, so converting to a tab delimited format doesn't > work well. > > Does anyone have any suggestions as to how to make something like > this reliable as far as maintaining record integrity during import? > > Best regards, > David C. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From index at kenjikojima.com Fri Dec 4 16:45:45 2009 From: index at kenjikojima.com (Kenji Kojima) Date: Fri, 4 Dec 2009 16:45:45 -0500 Subject: Do you remember Unicode? In-Reply-To: <7F732BEA-359D-481F-91EE-4A0B529D8555@kenjikojima.com> References: <07C1870A-CB4E-45E0-A37C-46B7893D5960@kenjikojima.com> <3D964C7C-01A4-436C-BC43-E4FA6DF51E42@economy-x-talk.com> <7F732BEA-359D-481F-91EE-4A0B529D8555@kenjikojima.com> Message-ID: <8F5E3F33-1ADD-4D64-9300-BCD53A1963FB@kenjikojima.com> On Dec 4, 2009, at 04:31 PM, Kenji Kojima wrote: > Hi Mark, > > You don't need to restart your Mac. Sorry, I was not sure MacOS 10.5. You should restart. -- Kenji Kojima http://www.kenjikojima.com/ > > I use MacOS X 10.6.2 and Rev 4.0.0. > The first menu "????" disappears sometimes. > > This is not only my problem, other Japanese users have this problem too. > This is long time trouble for us. We cannot update our stacks to version 3 or 4. > > Best regards, > -- > Kenji Kojima > http://www.kenjikojima.com/ > > > > > On Dec 4, 2009, at 03:57 PM, Mark Schonewille wrote: > >> Kenji, >> >> I changed the language first and started Revolution after that. Revolution's application menu is in Japanese now. I didn't restart the computer. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> >> Download Str?m Flow Chart Software >> http://flowproject.economy-x-talk.com >> >> Op 4 dec 2009, om 21:49 heeft Kenji Kojima het volgende geschreven: >> >>> Hi Mark, >>> >>> Please switch the language to Japanese? >>> http://www.kenjikojima.com/runrev/bugs/language.jpg >>> >>> This is important. Japanese users do not use English OS. >>> >>> Thanks, >>> -- >>> Kenji Kojima >>> http://www.kenjikojima.com/ >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From davidocoker at gmail.com Fri Dec 4 17:02:14 2009 From: davidocoker at gmail.com (David Coker) Date: Fri, 4 Dec 2009 16:02:14 -0600 (CST) Subject: Importing data into RevDB In-Reply-To: Message-ID: <31833658.41259964130248.JavaMail.HAPPYLAPPY$@HappyLappy> >normally, csv is a pain in the ass, but Rev tokens trump that ;) > >you can set the linedelimiter to comma, and the itemdelimter to quote. >then you could do something similar to this (great for not having to >make special cases for the particular field being empty, lacking >quotes, etc.): > >set the linedelimiter to comma >set the itemdelimiter to quote >repeat for each line theLine in theCSV > put item 1 to -1 of line theLine into theData > --do stuff with data here >end repeat Hello Bj?rnke, That is an awesome idea, well worth pursuing... >normally, csv is a pain in the ass, but Rev tokens trump that ;) I sure can't argue that point. Most of what I do with Rev involves processing text of some sort and when considering the simplicity of Rev, I have yet to find anything that even comes close to it for parsing text. I've found that my own lack of knowledge and understanding are the weak links around here. ;) Thank you so much for the help, David C. From tbandi at swissonline.ch Fri Dec 4 17:07:57 2009 From: tbandi at swissonline.ch (Till Bandi) Date: Fri, 4 Dec 2009 23:07:57 +0100 Subject: Code Samples/Comparisons In-Reply-To: References: Message-ID: <42E1D7BC-A3DB-4392-A2ED-74607DC4C53E@swissonline.ch> The bibliography is still missing (if I did not overlook something). Till Am 04.12.2009 um 17:23 schrieb Kevin Miller: > On 04/12/2009 10:57, "viktoras d." wrote: > >> what about using task/code examples from >> http://shootout.alioth.debian.org/. Revcoders (us, runrev ltd?..) will >> still have to write quality examples in Rev which would be a challenge >> :-) Quality of the code there is good enough as computer language >> benchmarks game aims to create the shortest and fastest running >> executables for all the open source languages out there. So both number >> of lines, speed of execution and memory use are taken into account.. >> >> I think for the community of revcoders it would be interesting to >> compare revTalk in that context too :-). > > I think that's a great idea. > > Obviously there are a number of ways to tackle this problem and we will > continue to work on holding a clear and informed debate over the coming > weeks. Thanks to everyone who has made suggestions. > > For the moment we have updated the comparison at > http://www.runrev.com/pdf/revTalk-Other-Comparison.pdf to better articulate > the point that was intended. We will post a similar discussion and add some > JavaScript examples to the PHP comparison shortly. > > We will continue to work on finding good ways to realistically and clearly > make the case for revTalk. It is very good news that there is now a debate > going on. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > RunRev - Software construction for everyone > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Fri Dec 4 17:14:17 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Dec 2009 16:14:17 -0600 Subject: Importing data into RevDB In-Reply-To: <31833658.41259964130248.JavaMail.HAPPYLAPPY$@HappyLappy> References: <31833658.41259964130248.JavaMail.HAPPYLAPPY$@HappyLappy> Message-ID: <4B1989B9.6080507@hyperactivesw.com> David Coker wrote: >> set the linedelimiter to comma >> set the itemdelimiter to quote >> repeat for each line theLine in theCSV >> put item 1 to -1 of line theLine into theData >> --do stuff with data here >> end repeat > That is an awesome idea, well worth pursuing... Be careful if there are embedded commas inside each quoted section. It will fail for cases like this: "one","two,three","four" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From davidocoker at gmail.com Fri Dec 4 17:14:28 2009 From: davidocoker at gmail.com (David Coker) Date: Fri, 4 Dec 2009 16:14:28 -0600 (CST) Subject: Importing data into RevDB In-Reply-To: Message-ID: <7569333.81259964867235.JavaMail.HAPPYLAPPY$@HappyLappy> >Hi David, > >To fight with line breaks, exists such tip >As to specify as Field and Line delimiters some odd chars > > ? ? > >At least Valentina and mySQL allow this. > >If SqlLite cannot, you can try to use above dbs as intermediate step. Hello Ruslan, Thank you for you're reply. If I understand you correctly, that has been the general approach I have been trying, although I never thought about using something different for the line delimiters.. Between you and Bj?rnke, I now have another option to try. Now time to test and learn. :) Best regards From davidocoker at gmail.com Fri Dec 4 17:26:06 2009 From: davidocoker at gmail.com (David Coker) Date: Fri, 4 Dec 2009 16:26:06 -0600 (CST) Subject: Importing data into RevDB In-Reply-To: <4B1989B9.6080507@hyperactivesw.com> Message-ID: <6416040.121259965561312.JavaMail.HAPPYLAPPY$@HappyLappy> >Be careful if there are embedded commas inside each quoted section. It >will fail for cases like this: > >"one","two,three","four" Ouch! The test files I've been working with are chock full of such. The data comes for numerous sources, going back something like ten years, having been produced by different business systems, different operating systems, as well as manual input by a large number of people. Some it appears have been pasted as complete HTML pages (including header data, div's and such) and I believe even a bunch of the data was copied and pasted directly from PDF. Bottom line is that's it's full of garbage that will need to be accounted for... Thanks for the heads up Jacque. Best regards, David C. From jimaultwins at yahoo.com Fri Dec 4 17:26:24 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 4 Dec 2009 14:26:24 -0800 Subject: Importing data into RevDB In-Reply-To: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> References: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> Message-ID: <0183D9B5-94BC-4A05-82C1-B168832D8219@yahoo.com> Depending on how big the files are and how quickly they need to be processed, I would recommend you build a scanner that toggles at least two flags. Flag 1 is "flgQuoteRunOn" as true or false Flag 2 is "flgEscapeChar" as true or false put false into flgQuoteRunOn put false into flgEscapeChar put "/" into escChar put quote into q put comma into c Now run a repeat loop to re-cast the strings into logical chunks. Afterwards, use human inspection to find those spots that cannot be converted with logic loops (see examples below) Be careful of a few things embedded commas, quotes, and escape chars 15446,"gold,silver watch", 599.00 15447,"gold,silver, 18" chain", 199.00 15447,"gold,silver, 18 1/2" chain", 199.00 Just so you know CSV is the second worst format ever invented. They are still searching for worst one, but have not found it yet. On Dec 4, 2009, at 12:46 PM, David Coker wrote: > Hello folks, > I'm in the planning stages of a possible new app which will include > populating a Rev Database (SQLite) primarily from a standard Excel > based CSV file. What I've run into while doing some research is that > that format seems leaves a lot to be desired. It seems that the CSV > data that I'll be working with has all kinds of spurious line breaks > and such embedded, so converting to a tab delimited format doesn't > work well. > > Does anyone have any suggestions as to how to make something like > this reliable as far as maintaining record integrity during import? > Jim Ault Las Vegas From jacque at hyperactivesw.com Fri Dec 4 17:38:50 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Dec 2009 16:38:50 -0600 Subject: Importing data into RevDB In-Reply-To: <0183D9B5-94BC-4A05-82C1-B168832D8219@yahoo.com> References: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> <0183D9B5-94BC-4A05-82C1-B168832D8219@yahoo.com> Message-ID: <4B198F7A.9090607@hyperactivesw.com> Jim Ault wrote: > Just so you know CSV is the second worst format ever invented. > They are still searching for worst one, but have not found it yet. ROTFL! There was a huge discussion a couple of years ago on this list about the best way to parse CSV. There weren't any perfect solutions, but David may want to search the archives for ideas. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From davidocoker at gmail.com Fri Dec 4 17:53:22 2009 From: davidocoker at gmail.com (David Coker) Date: Fri, 4 Dec 2009 16:53:22 -0600 (CST) Subject: Importing data into RevDB In-Reply-To: <0183D9B5-94BC-4A05-82C1-B168832D8219@yahoo.com> Message-ID: <7273521.161259967197732.JavaMail.HAPPYLAPPY$@HappyLappy> >Depending on how big the files are and how quickly they need to be >processed, I would recommend you build a scanner that toggles at least >two flags. > >Flag 1 is "flgQuoteRunOn" as true or false >Flag 2 is "flgEscapeChar" as true or false > >put false into flgQuoteRunOn >put false into flgEscapeChar >put "/" into escChar >put quote into q >put comma into c > >Now run a repeat loop to re-cast the strings into logical chunks. >Afterwards, use human inspection to find those spots that cannot be >converted with logic loops (see examples below) > >Be careful of a few things > embedded commas, quotes, and escape chars > >15446,"gold,silver watch", 599.00 >15447,"gold,silver, 18" chain", 199.00 >15447,"gold,silver, 18 1/2" chain", 199.00 Thanks for the suggestions and example Jim! Of course I'm using sample data to test with, but the real files that need to be worked with are pretty massive. To give you an idea of just how massive... I have a subset of data that I've been working with for over a week now, massaging text, filing in blank fields (concatenation in Excel) and thought I had everything taken care of as of late last night. I found out this morning that they needed one more column of data merged into my "finished" file. I'm running the update now from my local mySQL server and it appears that it will take somewhere around 28 hours to complete the run. Can you hear me say Yay! :-) >Just so you know CSV is the second worst format ever invented. >They are still searching for worst one, but have not found it yet. No question about it! Regards, David C. From capellan2000 at gmail.com Fri Dec 4 17:55:51 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 4 Dec 2009 14:55:51 -0800 (PST) Subject: Quicktime VR panorama movies in revlets In-Reply-To: <1259930960730-948484.post@n4.nabble.com> References: <1259930960730-948484.post@n4.nabble.com> Message-ID: <1259967351448-948945.post@n4.nabble.com> Hi Ben, This revlet works great in Windows XP using Quicktime Alternative. Just curious to know the size in MB of Jacque's QT Panorama. Here takes a while to load the movie. Many thanks for posting this useful handler to the mail list! Alejandro -- View this message in context: http://n4.nabble.com/Quicktime-VR-panorama-movies-in-revlets-tp948484p948945.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Fri Dec 4 18:05:40 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Dec 2009 17:05:40 -0600 Subject: Quicktime VR panorama movies in revlets In-Reply-To: <1259967351448-948945.post@n4.nabble.com> References: <1259930960730-948484.post@n4.nabble.com> <1259967351448-948945.post@n4.nabble.com> Message-ID: <4B1995C4.9080501@hyperactivesw.com> Alejandro Tejada wrote: > > Just curious to know the size in MB of Jacque's QT Panorama. > Here takes a while to load the movie. I didn't have a sample of my own. I reported the problem to the QCC after testing the movie you saw in the revlet, which was sent to the tech queue as part of a support question. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Fri Dec 4 18:18:30 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 4 Dec 2009 15:18:30 -0800 Subject: Code Samples/Comparisons In-Reply-To: References: Message-ID: <155352059390.20091204151830@ahsoftware.net> Kevin- Friday, December 4, 2009, 8:23:16 AM, you wrote: >> what about using task/code examples from >> http://shootout.alioth.debian.org/. Revcoders (us, runrev ltd?..) will > I think that's a great idea. Sorry, Kevin, I think it's a Very Bad Idea. The examples there are hand-coded in each language to be optimized for speed (that's not the bad idea part). Having this an open-source project to optimize the code is a good way to get some reasonable benchmarks out of the way of any given company's purview. And out of an individual's coding prowess or lack thereof as well. However... if we're looking for a way to show the readability of code, that's a different matter altogether. There's no way runrev is going to come out smelling like a rose if we try to code the Mandelbrot example, just to pick one. Sure, they can all be coded in revTalk, most of the examples use multiple threads for speed, something we can only dream of in runrev. And the math routines are someting I wouldn't attempt without resorting to an external library for speed. That said, here's a quick port of the Mandelbrot example from the Pascal code. On my machine it takes 24 minutes to run. Anyone want to take a stab at improving it? This is all in a button script: function CalculatePoint Cx, Cy constant Limit = 4 local Zr, Zi, Ti, Tr local tReturn put 0 into Zr put 0 into Zi put 0 into Tr put 0 into Ti put false into tReturn repeat 50 times put 2*Zr*Zi + Cy into Zi put Tr - Ti + Cx into Zr put Zi * Zi into Ti put Zr * Zr into Tr if (Tr + Ti >= limit) then put true into tReturn exit repeat end if end repeat return tReturn end CalculatePoint function run n local Cy, tStep local x, y local bits, bit local tOutput var put 2/n into tStep repeat with y = 0 to n-1 put y * tStep - 1 into Cy put 255 into bits put 128 into bit repeat with x = 0 to n-1 if CalculatePoint(x * tStep - 1.5, Cy) then -- try saying this three times fast put bits bitXor bit into bits end if if bit > 1 then put bit / 2 into bit else put numtochar(bits) after tOutput put 255 into bits put 128 into bits end if end repeat if bit < 128 then put numtochar(bits bitXor(((bit + bit) mod 255)-1)) after tOutput end if end repeat return tOutput end run on main pOutputFile, pNum open file pOutputFile for write write "P4" & cr to file pOutputFile write pNum & " " & pNum & cr to file pOutputFile write run(pNum) to file pOutputFile close file pOutputFile end main on mouseUp local tTime ask file "where do you want the output file to go?" if it is not empty then put the milliseconds into tTime main it, 16000 answer (the milliseconds - tTime) / 1000 && "seconds" end if end mouseUp -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Fri Dec 4 18:30:14 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 04 Dec 2009 15:30:14 -0800 Subject: Importing data into RevDB Message-ID: <4B199B86.4010804@fourthworld.com> David Coker wrote: > Thanks for the suggestions and example Jim! > > Of course I'm using sample data to test with, but the real files > that need to be worked with are pretty massive. To give you an idea > of just how massive... > > I have a subset of data that I've been working with for over a week > now, massaging text, filing in blank fields (concatenation in Excel) > and thought I had everything taken care of as of late last night. I > found out this morning that they needed one more column of data merged > into my "finished" file. If you have it in Excel, can you export it using tab-delimited? Tabs rarely occur in field data, and if the field values don't contain tabs or returns you'd be able to use normal chunk expressions for orders-of-magnitude better performance. >>Just so you know CSV is the second worst format ever invented. >>They are still searching for worst one, but have not found it yet. > > No question about it! They found it: it was another form of CSV. ;) That's one of the many problems with CSV: it isn't a single defined format, but rather a collection of ad hoc variants. I've seen differences in escaping and quotation used among even products from just Microsoft, and in different versions of the same Microsoft products, not to mention the even greater number of variants used by other programs. Some use quotes around every field value, others use quotes around only textual values but not numbers, others use quotes around only multi-word values but not around text that contains a single word, and others escape quotes that are in values with a preceding slash, others escape quotes by using double quotes (a total Whiskey Tango Foxtrot "solution"), others also escape returns in values while many leave returns unescaped requiring you to figure it out character-by-character, and others do even weirder things.... I've had to write CSV parsers, using flags as Jim outlined. After seeing the loss of productivity and performance from those formats, I now have a policy of never delivering any product with a CSV export option, on moral grounds. :) Any format that uses delimiter characters as commonly used in field values as a comma is, to be as polite as possible, a stupid invention, almost an anti-invention. In a just world, whomever first deployed a system that used CSV would be found and put in stocks in the public square with a sign reading: "I'm responsible for the loss of several million hours of other people's time." -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From rene.micout at numericable.com Fri Dec 4 18:38:19 2009 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 5 Dec 2009 00:38:19 +0100 Subject: Code Samples/Comparisons In-Reply-To: <155352059390.20091204151830@ahsoftware.net> References: <155352059390.20091204151830@ahsoftware.net> Message-ID: Hello Mark, What is "var" ? Ren? Le 5 d?c. 2009 ? 00:18, Mark Wieder a ?crit : > Kevin- > > Friday, December 4, 2009, 8:23:16 AM, you wrote: > >>> what about using task/code examples from >>> http://shootout.alioth.debian.org/. Revcoders (us, runrev ltd?..) will > >> I think that's a great idea. > > Sorry, Kevin, I think it's a Very Bad Idea. The examples there are > hand-coded in each language to be optimized for speed (that's not the > bad idea part). Having this an open-source project to optimize the > code is a good way to get some reasonable benchmarks out of the way of > any given company's purview. And out of an individual's coding prowess > or lack thereof as well. > > However... if we're looking for a way to show the readability of code, > that's a different matter altogether. There's no way runrev is going > to come out smelling like a rose if we try to code the Mandelbrot > example, just to pick one. Sure, they can all be coded in revTalk, > most of the examples use multiple threads for speed, something we can > only dream of in runrev. And the math routines are someting I wouldn't > attempt without resorting to an external library for speed. > > That said, here's a quick port of the Mandelbrot example from the > Pascal code. On my machine it takes 24 minutes to run. Anyone want to > take a stab at improving it? This is all in a button script: From davidocoker at gmail.com Fri Dec 4 18:59:38 2009 From: davidocoker at gmail.com (David Coker) Date: Fri, 4 Dec 2009 17:59:38 -0600 (CST) Subject: Importing data into RevDB In-Reply-To: <4B199B86.4010804@fourthworld.com> Message-ID: <31726341.201259971174448.JavaMail.HAPPYLAPPY$@HappyLappy> Hi Richard! >If you have it in Excel, can you export it using tab-delimited? Yes sir, been there and tried that several different ways. Unfortunately, that creates issues of a different sort. As a really poor example, this is one of the things I continue to run across after converting to tabbed format.. Original example: blah blah,"doodah somestupidgarbagecharacterorlinefeed doodah doodah",12345abc Converted to tab delimited: blah blah(tab)"doodah somestupidgarbagecharacterorlinefeed doodah doodah"(tab)12345abc When saved, tab delimited format all too often renders something like this: blah blah,"doodah somestupidgarbagecharacter doodah doodah"(tab)12345abc Gone is any hope of reusing the file data. That was actually the whole point of my original question about importing csv into a database. At that point I could likely pull the data out field by field as required and run scanners to clean it up enough to be used in a tab delimited format. At that point, it would be easy to work with using Rev in any number of ways. BTW, I used your Webmerge program last night for the first time in a pretty long while... As part of a test run I was doing, it created 81,000+ html pages in just over 90 minutes. :-) Regards, David C. From niggemann at uni-wh.de Fri Dec 4 19:18:11 2009 From: niggemann at uni-wh.de (BNig) Date: Fri, 4 Dec 2009 16:18:11 -0800 (PST) Subject: Quicktime VR panorama movies in revlets In-Reply-To: <1259967351448-948945.post@n4.nabble.com> References: <1259930960730-948484.post@n4.nabble.com> <1259967351448-948945.post@n4.nabble.com> Message-ID: <1259972291247-948996.post@n4.nabble.com> Hi Alejandro, Thanks you. The QTVR is 148 KB (KiloByte) in size, it is hosted on on-rev. So it should not take long to load, and it doesn't here. It was taken from Jacque's submission to the QCC. There must be something else going on if loading takes a while. For me it is nearly instantaneous, only shortly showing the 'grid' thing. What is the Quicktime Alternative? regards Bernd Thanks you Alejandro Tejada wrote: > > Hi Ben, > > This revlet works great in Windows XP using Quicktime Alternative. > > Just curious to know the size in MB of Jacque's QT Panorama. > Here takes a while to load the movie. > > Many thanks for posting this useful handler to the mail list! > > Alejandro > -- View this message in context: http://n4.nabble.com/Quicktime-VR-panorama-movies-in-revlets-tp948484p948996.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Fri Dec 4 19:51:55 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 04 Dec 2009 16:51:55 -0800 Subject: Importing data into RevDB Message-ID: <4B19AEAB.1050303@fourthworld.com> David Coker wrote: > Hi Richard! >>If you have it in Excel, can you export it using tab-delimited? > > Yes sir, been there and tried that several different ways. > Unfortunately, that creates issues of a different sort. As a really > poor example, this is one of the things I continue to run across > after converting to tabbed format.. > > Original example: > blah blah,"doodah somestupidgarbagecharacterorlinefeed doodah > doodah",12345abc > > Converted to tab delimited: > blah blah(tab)"doodah somestupidgarbagecharacterorlinefeed doodah > doodah"(tab)12345abc > > When saved, tab delimited format all too often renders something like > this: > > blah blah,"doodah somestupidgarbagecharacter > doodah > doodah"(tab)12345abc > > Gone is any hope of reusing the file data. I wonder if it might be worth doing a replace on somestupidgarbagecharacterorlinefeed to something like "_mydumbplaceholderthang_" (or any arbitrary string unlikely to appear in the data), then do your parsing and as the last step replace your placeholder with the linefeed char again. For parsing WebMerge templates I use placeholders a lot as a convenient way to get odd characters and strings out of the way so I can do the heavy work, putting them back when needed. > That was actually the whole point of my original question about > importing csv into a database. At that point I could likely pull > the data out field by field as required and run scanners to clean > it up enough to be used in a tab delimited format. At that point, > it would be easy to work with using Rev in any number of ways. If the final destination is one of the more common DBMSes out there like SQLite or MySQL, there's got to be a CSV import filter available for them, no? > BTW, I used your Webmerge program last night for the first time in > a pretty long while... As part of a test run I was doing, it created > 81,000+ html pages in just over 90 minutes. :-) If it took that long I can tell you most of the processing time was spent parsing the CSV. Internally, WM uses the same format as FileMaker's Merge format, tab-delimited without added quotes, escaping tabs in values with ASCII 4 and returns in values with ASCII 11. All supported formats (CSV, pipes, Merge, etc.) get translated to that internal format so the actual template processing can be standardized and fairly well optimized. If your data was in such a format to begin with, or even using the most common pipe- or tab-delimited schemes which don't add quotes and use a standard escape sequence for returns, it would complete those 81,000 pages in just a few minutes. Here's an example from our Gallery page: "On my first use of the full program yesterday, WebMerge generated 4.5MB of clean, error free HTML in less than 9 seconds. I have one customer who cranks out more than 300,000 pages at a time in well under an hour, and his templates are fairly complex. With most templates the processing time after parsing the data file is a fraction of a second per page. For example, the tutorial set included with the demo generally finishes its 20 pages in well under a second. In fact, when I first made WM I set up the results dialog to show time spent in minutes, and that was too long so I added seconds, but even that was too long so I had to go back and revise it to be able to show elapsed time in milliseconds. :) And this is the slow version. I originally set up WebMerge to use a template syntax that mimic's FileMaker's but as time goes on our customer base now includes very few people for whom familiarity with FMP matters, so in a future version we'll be able to use an alternate template syntax that lets us move most of the processing directly into the Rev engine with the merge function, similar to how on-rev works. Compared with the careful parsing of the FMP-style tags we do now, this change will drop per-page processing times to a few milliseconds on average, and for simpler templates even less. SuperCard's merge function was one of the best things ever added to the Rev engine. For all its convenient power, until on-rev expanded and popularized it it was one of the most under-utilized powerhouses in the language. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From katir at hindu.org Fri Dec 4 19:57:05 2009 From: katir at hindu.org (Sivakatirswami) Date: Fri, 04 Dec 2009 14:57:05 -1000 Subject: ICS functions Library In-Reply-To: <33F66D89-0A07-4BBE-8351-406D44106825@pacifier.com> References: <4B14A8C7.1040802@hindu.org> <4B15F8F6.1090107@hindu.org> <7c87a2a10912020323g7c598fa3wd86ac32b5090906b@mail.gmail.com> <33F66D89-0A07-4BBE-8351-406D44106825@pacifier.com> Message-ID: <4B19AFE1.3040109@hindu.org> On Dec 2, 2009, at 3:23 AM, Andre Garzia wrote: >> Folks, >> >> I lost that library when I lost my laptop! :D >> >> I will get Sivakatirswami copy and post it online. I made that >> library ages >> ago, I am a much better programmer now and probably would have coded it >> differently, but it works as expected. It was very minimalistic full of >> redundance. >> >> :D Oi Andre: Ha! Jai Ganesha... it works and works very well. I think you forget how clean it is and how you were into your "LISP" mode of keeping discrete functions separate. Once I understood how they worked I was able to get the job done easily. JB: you can get it here: go stack url "http://www.himalayanacademy.com/runrev/stacks/vObjectPackage.rev" (Andre, suggest your get this and host it on your site?) Notes: Andre's "documentation" does not tell the user that the library is a substack of his main stack. Use application browser to toplevel the vObjectLib; clone it; Rename if you like (I did) then assign it to your own main stack: then you can generate things like this: # This app scans an existing calendar for events containing a specific string, being the "tithi" designation # for a day of the Moon phase, then uses those dates to enter another event. # This allows for repeating events on, e.g. the first day of each moon "week" at # 4PM when the department heads have a coordination meeting # repeat loop through each entry, Stack Script: on openstack set the loc of this stack to the screenloc start using stack "KA_vObjectLib" # andre's functions in the stack script start using stack "libUUID" # Mark's fabulous GUID lib end openstack function buildVevent pDate, pStartTime,pEndTime # uses Eric Chatonet's magical little group/object from timepicker.rev # to let users choose times put empty into gRepeatingEvent vObjectBegin gRepeatingEvent, "VEvent" icAddCreationDate gRepeatingEvent, (icConvertDate(the seconds)) put luiRandomUUID() into tUID icAddUID gRepeatingEvent,tUID icAddDateTimeStart gRepeatingEvent, (pDate&"T"&pStartTime) icAddTimeZoneID gRepeatingEvent, "DTSTART", "Pacific/Honolulu" icAddSummary gRepeatingEvent, fld "Summary" icAddDescription gRepeatingEvent, fld "Description" icAddDateTimeEnd gRepeatingEvent, (pDate&"T"&pEndTime) icAddTimeZoneID gRepeatingEvent, "DTEND", "Pacific/Honolulu" icAddSequence gRepeatingEvent, "0" icAddDateTimeStamp gRepeatingEvent, (icConvertDate(the seconds)) icAddTransparency gRepeatingEvent, "OPAQUE" vObjectEnd gRepeatingEvent, "VEvent" return gRepeatingEvent end buildVevent Button "Create Repeating Events..." # repeat loop through each VEVENT in existing calendar.ics file, # if VEVENT contains string "Sun 1" (or whatever tithi day the user choses from the GUI) # then build a new VEVENT # there's more but you get the idea: [snip] repeat for each item tEvent in tCalendar if tEvent contains tTargetPhaseDay then # parse out the date entry put (lineOffset("DTSTART;VALUE=DATE:",tEvent)) into tLine put (char -8 to -1 of line tLine of tEvent) into pDate # build the new entry; see stack script for functions # that call Andre vObjectLib stack functions put buildVevent(pDate,tStartTime,tEndTime) after tNewEntries end if end repeat #export tNewEntries to iCal file which user then imports [snip] I suspect today Andre would use some of RunRev's new array magic... But this is so transparent... I like it, redundant or not. Sivakatirswami > > From runrevron at gmail.com Fri Dec 4 19:57:36 2009 From: runrevron at gmail.com (Ron) Date: Sat, 5 Dec 2009 09:57:36 +0900 Subject: Do you remember Unicode? In-Reply-To: References: Message-ID: <412699F2-81DE-462C-876D-8EB9A1FE71DF@gmail.com> Thank you Kenji for trying to keep this issue in front of RR in the midst of so many other improvements and innovations. While I appreciate, (really) the wonderful things that 3.0 and 4.0 have brought us, including some unicode fixes, new unicode features (a 'unicodetitle' prop and menu item tags for example) and under the hood preparations for unicode (distinguishing 'byte' and 'char' ), the long ago promised ability to "just use unicode" has not been implemented. I have emails from 2003 saying "support for chunk expressions for unicode is on the short term to-do list" and more recently in 2008 - "Transparent unicode support is still on the cards for v4 - i.e. the version with the web plugin. This will be some variant on the ideas I've posted before about overhauling Unicode support in Revolution." I quote these not to draw attention to as yet unfulfilled promises. Clearly there is awareness and desire in RR to do something. I develop software and I know that things don't always work out according to plans for a variety of legitimate reasons. I also recognize the fact that there are other groups, those involved with graphics or video for example, who could say similar things about their area of interests that have not been satisfied by RR. And finally, i appreciate the tremendous effort to get the web plug-in out the door that must have left little time for anything else. Having said that, I want to add my voice to Kenji's in hopes that unicode support will indeed become a reality (much) sooner rather than later. Please. Thanks Ron On Dec 5, 2009, at 5:17 AM, Kenji Kojima wrote: > Hi, > > I expected all Unicode problems were fixed on 3.0. But I cannot use > Unicode yet. Version 5 will be soon. > > One big problem is MacOS menu bar. It happened 2.8.1. Before we did > not have this problem. > http://quality.runrev.com/qacenter/show_bug.cgi?id=5141 > > You can see a video. > http://www.tajimiyori.com/RevJPForum/003.mov > The menu bar has to have four menus, but when you set the menu bar > sometimes the menus are three or two. > > You can try a sample stack. > go stack url "http://www.kenjikojima.com/runrev/stacks/jpMenuBarTest2.rev > " > > Before you try it, change the Language to Japanese. see this image. > http://www.kenjikojima.com/runrev/bugs/language.jpg > > MacOS menu bar is not only unicode problem. > We have more. > > > Best regards, > -- > Kenji Kojima > http://www.kenjikojima.com/ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Fri Dec 4 20:05:41 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 4 Dec 2009 17:05:41 -0800 Subject: Code Samples/Comparisons In-Reply-To: References: <155352059390.20091204151830@ahsoftware.net> Message-ID: <74358490953.20091204170541@ahsoftware.net> Ren?- Friday, December 4, 2009, 3:38:19 PM, you wrote: > Hello Mark, > What is "var" ? > Ren? Oops. Busted. "Var" was a line I inserted to test the debugger. It was a line in the original Pascal code and has a meaning there, but I forgot to remove it before posting the code here. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Dec 4 21:08:20 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 04 Dec 2009 20:08:20 -0600 Subject: Code Samples/Comparisons In-Reply-To: <74358490953.20091204170541@ahsoftware.net> References: <155352059390.20091204151830@ahsoftware.net> <74358490953.20091204170541@ahsoftware.net> Message-ID: <4B19C094.4080309@hyperactivesw.com> Mark Wieder wrote: > Ren?- > > Friday, December 4, 2009, 3:38:19 PM, you wrote: > >> Hello Mark, >> What is "var" ? >> Ren? > > Oops. Busted. > > "Var" was a line I inserted to test the debugger. It was a line in the > original Pascal code and has a meaning there, but I forgot to remove > it before posting the code here. > There's this too: put 255 into bits put 128 into bits I don't understand what the math does, but I think at least one of those lines is redundant. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Fri Dec 4 21:36:15 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 4 Dec 2009 18:36:15 -0800 Subject: Code Samples/Comparisons In-Reply-To: <4B19C094.4080309@hyperactivesw.com> References: <155352059390.20091204151830@ahsoftware.net> <74358490953.20091204170541@ahsoftware.net> <4B19C094.4080309@hyperactivesw.com> Message-ID: <171363925203.20091204183615@ahsoftware.net> Jacque- Friday, December 4, 2009, 6:08:20 PM, you wrote: > There's this too: > put 255 into bits > put 128 into bits > I don't understand what the math does, but I think at least one of those > lines is redundant. ;) Dang! Another typo. Should be put 255 into bits put 128 into bit ...and believe me, if I had written the original algorithm I wouldn't have chosen those variable names. Unfortunately, correcting that part of the code doesn't really affect the total timing. Still takes on the order of 25 minutes to run it here. -- -Mark Wieder mwieder at ahsoftware.net From jerry.daniels at me.com Fri Dec 4 22:10:31 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Fri, 4 Dec 2009 21:10:31 -0600 Subject: [ANN] tRev Feature Friday: drag-n-drop handlers and folders! Message-ID: <8743E9DF-46E9-4016-BFFA-C1BC389BFDE9@me.com> Those following the exploits of tRev, It's another rock 'em / sock 'em Feature Friday! Now you can... - Drag and drop folders and handlers in the handler list. - Edit names of folders and handlers directly in the handler list. - After editing, folder and handler names are updated in the folder comment or handler. - Object Browser columns are resizing properly when empty. - Column buttons enable/disable properly when columns are empty. - New preference: Wrap Source Code. Here's a link to the video: http://reveditor.com/feature-friday-drag-n-drop-your-handlers Hope you're having a great holiday! What, you're not celebrating already? Best, Jerry Daniels Want to edit something? We can help! http://reveditor.com From sims at ezpzapps.com Sat Dec 5 00:30:47 2009 From: sims at ezpzapps.com (jim sims) Date: Sat, 5 Dec 2009 06:30:47 +0100 Subject: OT OS X HD Partitioning, multiple OSs Message-ID: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> I might be getting a 13" 160 GB MacBook Pro I'm thinking of using VMware Fusion to add at least one version of Windows or maybe more. This will hopefully be my travel machine that I want to use for development while away, so I'd like to get all I might need in it. I usually don't have tons of music, movies, and stuff on my machine so I think the 160 GB should do. What have other people done with their machines? What OS(s) have you loaded - XP, Vista,Windows 7? If Linux, what flavor might be the best/most common to develop for? How did you partition it? What sizes for each? What would you do differently if they did it over again (likely the most informative question/answer!)? TIA sims From mwieder at ahsoftware.net Sat Dec 5 00:38:55 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 4 Dec 2009 21:38:55 -0800 Subject: OT OS X HD Partitioning, multiple OSs In-Reply-To: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> References: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> Message-ID: <14374885109.20091204213855@ahsoftware.net> sims- Friday, December 4, 2009, 9:30:47 PM, you wrote: > How did you partition it? What sizes for each? If you're using VMWare you don't need to set up separate partitions. The VMWare images for different operating systems are just files. -- -Mark Wieder mwieder at ahsoftware.net From jimaultwins at yahoo.com Sat Dec 5 01:38:51 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 4 Dec 2009 22:38:51 -0800 Subject: OT OS X HD Partitioning, multiple OSs In-Reply-To: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> References: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> Message-ID: <7C2C4DF0-D71D-435B-8136-62E673F4A919@yahoo.com> Use the option of letting the vmware drive file auto-resize as needed, so start small. In case you find the 160 becomes too small... On my laptop I am doing a lot of video work, so I replaced the 160 Gb 5400 rpm with a 500 Gb 7200 rpm. Very easy to do. Bought the drive for $110, and did the switch myself in 15 minutes. The youtube video shows how. Jim Ault Las Vegas On Dec 4, 2009, at 9:30 PM, jim sims wrote: > I might be getting a 13" 160 GB MacBook Pro > > I'm thinking of using VMware Fusion to add at least one version of > Windows or maybe more. This will hopefully be my travel machine that > I want to use for development while away, so I'd like to get all I > might need in it. > > I usually don't have tons of music, movies, and stuff on my machine > so I think the 160 GB should do. > > What have other people done with their machines? > > What OS(s) have you loaded - XP, Vista,Windows 7? > > If Linux, what flavor might be the best/most common to develop for? > > How did you partition it? What sizes for each? > > What would you do differently if they did it over again (likely the > most informative question/answer!)? > > TIA > sims From richmondmathewson at gmail.com Sat Dec 5 01:58:04 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 05 Dec 2009 08:58:04 +0200 Subject: OT OS X HD Partitioning, multiple OSs In-Reply-To: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> References: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> Message-ID: <4B1A047C.2030407@gmail.com> On 12/5/09 7:30 AM, jim sims wrote: > I might be getting a 13" 160 GB MacBook Pro > > I'm thinking of using VMware Fusion to add at least one version of > Windows or maybe more. This will hopefully be my travel machine that I > want to use for development while away, so I'd like to get all I might > need in it. > > I usually don't have tons of music, movies, and stuff on my machine so > I think the 160 GB should do. > > What have other people done with their machines? > > What OS(s) have you loaded - XP, Vista,Windows 7? > > If Linux, what flavor might be the best/most common to develop for? Ubuntu is the most popular; and anything you get running on Ubuntu should run on any other Debian-derivative distro. > > How did you partition it? What sizes for each? > > What would you do differently if they did it over again (likely the > most informative question/answer!)? > > TIA > sims > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION2 at barncard.com Sat Dec 5 02:36:17 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 4 Dec 2009 23:36:17 -0800 Subject: OT OS X HD Partitioning, multiple OSs In-Reply-To: <7C2C4DF0-D71D-435B-8136-62E673F4A919@yahoo.com> References: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> <7C2C4DF0-D71D-435B-8136-62E673F4A919@yahoo.com> Message-ID: Depends on the machine. Not so easy on 1st Gen Macbook Pro. It can be done by mortals but ugly,scary disassembly. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/4 Jim Ault > Use the option of letting the vmware drive file auto-resize as needed, so > start small. > > In case you find the 160 becomes too small... > On my laptop I am doing a lot of video work, so I replaced the 160 Gb 5400 > rpm with a 500 Gb 7200 rpm. Very easy to do. Bought the drive for $110, > and did the switch myself in 15 minutes. The youtube video shows how. > > Jim Ault > Las Vegas > > > On Dec 4, 2009, at 9:30 PM, jim sims wrote: > > I might be getting a 13" 160 GB MacBook Pro >> >> I'm thinking of using VMware Fusion to add at least one version of Windows >> or maybe more. This will hopefully be my travel machine that I want to use >> for development while away, so I'd like to get all I might need in it. >> >> I usually don't have tons of music, movies, and stuff on my machine so I >> think the 160 GB should do. >> >> What have other people done with their machines? >> >> What OS(s) have you loaded - XP, Vista,Windows 7? >> >> If Linux, what flavor might be the best/most common to develop for? >> >> How did you partition it? What sizes for each? >> >> What would you do differently if they did it over again (likely the most >> informative question/answer!)? >> >> TIA >> sims >> > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mcdomi at free.fr Sat Dec 5 03:54:15 2009 From: mcdomi at free.fr (Dom) Date: Sat, 5 Dec 2009 09:54:15 +0100 Subject: Is it possible to change the revlet embed html? In-Reply-To: <4B194E2E.5050405@hyperactivesw.com> Message-ID: <1ja80oc.1du600o1yj8h8dM%mcdomi@free.fr> J. Landman Gay wrote: > I've done that here: > > The UUID is the same for both, I didn't change that. What's important is > the instanceID. That must be the same for all stacks that need to talk > to each other on the same page. Gosh! I think I should have remembered _the frog_ ;-))) OK, I made a more thorough reading... the interesting trick is that the revlet is a mainstack with a substack I did ignore that a substack could so be revealed in a revlet! so, the communication between the "two" revlets resorts to normal communication between a substack and its mainstack ;-) So, a step further, how to make two _independent_ revlets communicate? -- From psahores at free.fr Sat Dec 5 03:52:10 2009 From: psahores at free.fr (Pierre Sahores) Date: Sat, 5 Dec 2009 09:52:10 +0100 Subject: OT OS X HD Partitioning, multiple OSs In-Reply-To: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> References: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> Message-ID: <47D29E4C-7165-4651-ACA2-CC2C2385DF82@free.fr> Hi Jim, Have an eye to Sun VirtualBox 3 (free), as a possible alternative to WMware. I switched from Parallels and never went back to it nor WMware. Run faster and safer than Parallels and never crashes. MBP Pro first gen (32 bits) - OS X 10.5.8 - 2 Go RAM - 300 GB 5400 t/ mn HD Win 2000 Pro (directly stored as a 10 Go file inside the standard journalised OS X file system) Win XP Pro (directly stored as a 16 Go file inside the standard journalised OS X file system) Ubuntu 8 (directly stored as a 10 Go file inside the standard journalised OS X file system) No need to format separate partitions. Best, Pierre Le 5 d?c. 09 ? 06:30, jim sims a ?crit : > I might be getting a 13" 160 GB MacBook Pro > > I'm thinking of using VMware Fusion to add at least one version of > Windows or maybe more. This will hopefully be my travel machine that > I want to use for development while away, so I'd like to get all I > might need in it. > > I usually don't have tons of music, movies, and stuff on my machine > so I think the 160 GB should do. > > What have other people done with their machines? > > What OS(s) have you loaded - XP, Vista,Windows 7? > > If Linux, what flavor might be the best/most common to develop for? > > How did you partition it? What sizes for each? > > What would you do differently if they did it over again (likely the > most informative question/answer!)? > > TIA > sims > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From rene.micout at numericable.com Sat Dec 5 05:17:06 2009 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 5 Dec 2009 11:17:06 +0100 Subject: Code Samples/Comparisons In-Reply-To: <171363925203.20091204183615@ahsoftware.net> References: <155352059390.20091204151830@ahsoftware.net> <74358490953.20091204170541@ahsoftware.net> <4B19C094.4080309@hyperactivesw.com> <171363925203.20091204183615@ahsoftware.net> Message-ID: <99E08E05-A067-4279-B8E3-8893F9CFAA2B@numericable.com> Mark, run(pNum) = empty So I write empty to file (text file) !? And RunRev crash... :?( Ren? Le 5 d?c. 2009 ? 03:36, Mark Wieder a ?crit : > Jacque- > > Friday, December 4, 2009, 6:08:20 PM, you wrote: > >> There's this too: > >> put 255 into bits >> put 128 into bits > >> I don't understand what the math does, but I think at least one of those >> lines is redundant. ;) > > Dang! Another typo. Should be > > put 255 into bits > put 128 into bit > > ...and believe me, if I had written the original algorithm I wouldn't > have chosen those variable names. Unfortunately, correcting that part > of the code doesn't really affect the total timing. Still takes on the > order of 25 minutes to run it here. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dave.cragg at lacscentre.co.uk Sat Dec 5 05:48:03 2009 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 5 Dec 2009 10:48:03 +0000 Subject: Code Samples/Comparisons In-Reply-To: References: Message-ID: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> On 4 Dec 2009, at 16:23, Kevin Miller wrote: > We will continue to work on finding good ways to realistically and clearly > make the case for revTalk. It is very good news that there is now a debate > going on. I can't argue with that. But I wonder if code comparisons will lead to any fruitful conclusions. They often seem removed from the practical tasks we are trying to perform. For example, the Rev code example used in the pdf: get last item of line 2 of url "http://ichart.finance.yahoo.com/table.csv?s=RBS.L" In what circumstances would you ever need to use this. The url returns over 1700 lines of text, and so many questions are raised: -- Why would you download so much data just to get a single item? -- How do you know you want the second line? (OK, I realise it's the most recent data item, but it's a special case, and relies on the data always coming back in the right order.) What if the task was to download the data and display it in a line graph, with a dropdown menu that allowed you to filter for different months/years/etc.? Would this be easier in Rev than other environments? That would be a good comparison and would show off more of Rev's capabilities. Here's another comparison. In this case the task is just to put some text in a text field. RevTalk compared with Action Script. put "Hello World" into field "myTextField" myTextField.text = "Hello World" We could argue all day about which is easier to write/read/understand. But for me, a bigger question is what is involved in getting the text field in the window in the first place. And how easy is it to set up and use. This is where Rev shines. Drag a field and a button off a palette, enter your script, and click the button. Easier than writing an email. Even a maths professor could do it. I still remember the "build an application while holding your breath" performance from some years ago. I think it made the point much better than any amount of code comparison. Cheers Dave From richmondmathewson at gmail.com Sat Dec 5 06:08:50 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 05 Dec 2009 13:08:50 +0200 Subject: Code Samples/Comparisons In-Reply-To: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> References: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> Message-ID: <4B1A3F42.3020503@gmail.com> I haven't stuck my oar into this discussion until now as I was interested which way it would go. My view may be a bit different to most of the "real programmers" who have offered views and code examples. I am not a "real programmer" insofar as I do not depend on programming for my bread and cheese, and have never had to. I have not touched any programming language other than Metacard/RunRev since 2001. I think that comparing: length of code samples is a bit silly: "It's not the size that matters, it's how you use it." AND, surely, the first and foremost point to be made about RunRev is that little boys and girls (8-11 years old) can produce something that works and is not a Powerpoint clone in half-an-hour (I have seen it happening right here in my school). Teachers and other non-programmers can, very quickly, assemble "programs" / "applications" / "thingies" / "widgets" to do what they want to do without having to either hire a computer specialist or spend donkey's ages on a programming course. Runtime Revolution is all about empowerment; it should not be compared with C++ and so forth, because they are 2 different creatures. C++ lives in an aquarium, nurtured by trained zookeepers: RunRev is like my cat - much more cuddley and approachable, and doesn't need lots of fancy care and food. One of the things that the lecturers at Abertay University (where I did an MSc, for my sins) kept rambling on about was that programmers had to become sensitive to the needs of specialists in other areas they would be working for. Forget the "sensitive" programmer; RunRev can "sensitise" almost anyone to doing the job themselves. The other day, having read some of the postings in this thread I cracked open Richard Bannister's Mac port of the Horizon emulator of the BBC and "did a bit of BASIC" - all great, sentimental fun, and all that, but nothing quite beats the WYSIWYG of the RunRev IDE. You can keep your command-line languages with funny syntax! Those who want the command-line languages with funny syntax, and who have ego problems that need to be buttressed up by their being "real programmers" will always be like that. Let's just let them get on with their thing: ultimately RunRev (or something very similar) will be used by far more people to do far more creative things. From bdrunrev at gmail.com Sat Dec 5 06:37:47 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 5 Dec 2009 11:37:47 +0000 Subject: Code Samples/Comparisons In-Reply-To: <4B1A3F42.3020503@gmail.com> References: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> <4B1A3F42.3020503@gmail.com> Message-ID: I agree with Richmond. But then I'm someone who doesn't understand why RunRev has devoted resources to on-rev and the plugin when things like unicode and quicktime integration are still broken. I think that the true strength (and uniqueness) of Rev lies in fat-client development. Of course the tiny size of the engine makes the plugin possible, and the fact that revTalk works without a GUI makes the serverside code possible. But those are both areas in which Rev is facing long-established competitors. But in this day of youtube and lynda.com, it seems a mistake to not have videos on the runrev website demonstrating the point Richmond is making. In fact, in the code comparison pdf, the Rev line of code is so small it is actually possible to fail to see it (I did) and to concentrate on the other languages instead. To someone who was not paying attention, they might think that the code samples in Java etc. are actually representative of programming in Rev. We might recognize the difference between revTalk and Java - a novice won't know. The thing that Runrev needs to remember is that the number of non-programmers vastly outweighs the number of professional programmers. It is question of reaching those people and letting them know what is possible. That is why the opinions of people on slashdot and the serverside are irrelevant. If people were expecting on-rev to be the new ruby on rails, they were setting themselves up for disappointment. Bernard From david.bovill at gmail.com Sat Dec 5 07:43:38 2009 From: david.bovill at gmail.com (David Bovill) Date: Sat, 5 Dec 2009 12:43:38 +0000 Subject: Code Samples/Comparisons In-Reply-To: References: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> <4B1A3F42.3020503@gmail.com> Message-ID: 2009/12/5 Bernard Devlin > > I think that the true strength (and uniqueness) of Rev lies in > fat-client development. Of course the tiny size of the engine makes > the plugin possible, and the fact that revTalk works without a GUI > makes the serverside code possible. But those are both areas in which > Rev is facing long-established competitors > .... > > The thing that Runrev needs to remember is that the number of > non-programmers vastly outweighs the number of professional > programmers. It is question of reaching those people and letting them > know what is possible. That is why the opinions of people on slashdot > and the serverside are irrelevant. If people were expecting on-rev to > be the new ruby on rails, they were setting themselves up for > disappointment. > True - but not the right way round IMO. To get new people into the language (at this point in internet history), you need to give them tools to do what they want to do. The fact is very few people want to make desktop applications or fat clients (ok relatively few). Most kids if they want to make anything it is a web site, a plugin for Facebook, or a game. The target audience you are talking about is pre-Web2.0 and pre-easy to author game IDE's - people have (except for a niche market) moved their focus away for desktop/fat clients and onto these other areas now. What it makes sense for RunRev to target is people who want to do the above, but are put off with the intelligibility of the programming languages they need to learn to do that. The second thing they need to do is make these same people feel that learning to do it the RunRev way will help them move into "the real thing" - that is making popular commercial or non-profit games, web sites. RunRev is in a good position to meet the first demand with the server side scripting language, and the plugin, but it is a bit harder to see how they are effectively addressing the second. From mcgrath3 at mac.com Sat Dec 5 08:08:57 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 05 Dec 2009 08:08:57 -0500 Subject: request and post Message-ID: <613D725A-B825-48BB-9B58-879DD15F0272@mac.com> I was playing around with TileStack again and noticed in these two separate stacks a "request" command and a "post" command. I was wondering what the equivalent would be for revLets? on openTile deleteAllStoryParts put "tilestack" into query put tile field "API Key" into appkey set the itemDelimiter to " " request "json" ("http://services.digg.com" & (item 1 of the selectedText of tile button "Endpoints") & "?type=json&appkey=" & appkey) diggCallback end openTile on mouseUp put tile field "Username" of tile "Settings" into username put tile field "Password" of tile "Settings" into password post "xml" ("http://twitter.com/statuses/update.xml?status=" & field "Tweet") username password tweetSentCallback go to tile "Sending" end mouseUp Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html From mcgrath3 at mac.com Sat Dec 5 08:24:16 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 05 Dec 2009 08:24:16 -0500 Subject: Importing data into RevDB In-Reply-To: <31833658.41259964130248.JavaMail.HAPPYLAPPY$@HappyLappy> References: <31833658.41259964130248.JavaMail.HAPPYLAPPY$@HappyLappy> Message-ID: <11554004-DA36-4C5C-9172-6D9ACA0ED0E4@mac.com> I'm sure others have known about this but I feel like someone just turned on a giant light bulb in my head. This is the single best thing I have learned this year... set the linedelimiter to comma set the itemdelimiter to quote I am just amazed... Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 4, 2009, at 5:02 PM, David Coker wrote: >> normally, csv is a pain in the ass, but Rev tokens trump that ;) >> >> you can set the linedelimiter to comma, and the itemdelimter to >> quote. >> then you could do something similar to this (great for not having to >> make special cases for the particular field being empty, lacking >> quotes, etc.): >> >> set the linedelimiter to comma >> set the itemdelimiter to quote >> repeat for each line theLine in theCSV >> put item 1 to -1 of line theLine into theData >> --do stuff with data here >> end repeat > > > Hello Bj?rnke, > That is an awesome idea, well worth pursuing... > >> normally, csv is a pain in the ass, but Rev tokens trump that ;) > > I sure can't argue that point. > > Most of what I do with Rev involves processing text of some sort and > when considering the simplicity of Rev, I have yet to find anything > that even comes close to it for parsing text. I've found that my own > lack of knowledge and understanding are the weak links around here. ;) > > Thank you so much for the help, > > David C. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From index at kenjikojima.com Sat Dec 5 09:23:40 2009 From: index at kenjikojima.com (Kenji Kojima) Date: Sat, 5 Dec 2009 09:23:40 -0500 Subject: Do you remember Unicode? In-Reply-To: <412699F2-81DE-462C-876D-8EB9A1FE71DF@gmail.com> References: <412699F2-81DE-462C-876D-8EB9A1FE71DF@gmail.com> Message-ID: <94D636EA-141B-4BC7-8F2B-1D70C0EFA076@kenjikojima.com> I should correct my words. We can use Unicode functions. http://www.runrev.com/developers/lessons-and-tutorials/tutorials/unicode-in-revolution/ However We cannot make "Unicode Application". ? Unicode Application must have unicode menus. ? Unicode Application must open a unicode name document. ? Unicode Application must save a unicode name document. I really wish RunRev Ltd. will fix them before Version 5. Thanks, -- Kenji Kojima http://www.kenjikojima.com/ From wjm at wjm.org Sat Dec 5 09:51:30 2009 From: wjm at wjm.org (Bill Marriott) Date: Sat, 5 Dec 2009 09:51:30 -0500 Subject: OT OS X HD Partitioning, multiple OSs In-Reply-To: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> References: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> Message-ID: Your main choice is to Boot Camp or not to Boot Camp. Your second choice is which virtual machine product to use. If you Boot Camp, you gain the advantage that you can reboot your Mac into Windows natively. This has performance and compatibility benefits, especially with games that use hardware acceleration. However you do have to give up hard disk space to the Boot Camp installation, which can be tricky to resize if you don't have a utility that will preserve the partition contents when resizing them. So give it as much space as you can reasonably justify. (I gave mine 80GB out of 320GB.) You also lose the ability to do "snapshots" of the Windows OS, which both leading virtual machine products support. (Snapshots let you muck around with the guest OS and then revert it to its previous state painlessly.) If you have more than 2GB or RAM, and you decide to Boot Camp, you should absolutely use Windows 7 Professional 64-bit or you will not be able to utilize all your RAM. [You're unlikely to give Windows more than 2GB RAM under a virtual machine.] Otherwise you could get away with Windows XP Professional or 32-bit Windows 7 Professional. Get an "OEM" version to save money. You need Professional or better to satisfy Microsoft licensing for VM use, and to get a decent feature set. Don't waste your time with Vista. Parallels is decidedly faster than VMware (verified personally and by a few in-depth reviews out there). It offers the Aero interface from within the Mac (pretty), and a new presentation option I like called Crystal. Both products are reportedly somewhat slower with Boot Camp partitions than with their own virtual ones. I've tried VirtualBox and it completely munged up one of my Linux partitions before ... only has to happen once. The Parallels support for Linux is a bit nicer than VMware's, and it's easier to install their "virtual machine additions" as well. I have tried both. VMware has a nasty habit of breaking your sound card support or mouse wheel or worse when it updates itself. This can be maddening to resolve unless you know Linux inside and out. I own both but use only Parallels now. You should probably go with Ubuntu, as it's recognized as the leading distro. If you never will run a Windows game or develop 3D applications with Rev, and will use Windows only occasionally, then the decision is easy: don't Boot Camp. This will eliminate the need for partitioning, give you the maximum usage of hard disk space for the Mac, and run more than well enough for most purposes. - Bill "jim sims" wrote in message news:34483903-4CE5-43E9-90CF-C9F90470D922 at ezpzapps.com... > I might be getting a 13" 160 GB MacBook Pro > > I'm thinking of using VMware Fusion to add at least one version of > Windows or maybe more. This will hopefully be my travel machine that I > want to use for development while away, so I'd like to get all I might > need in it. > > I usually don't have tons of music, movies, and stuff on my machine so I > think the 160 GB should do. > > What have other people done with their machines? > > What OS(s) have you loaded - XP, Vista,Windows 7? > > If Linux, what flavor might be the best/most common to develop for? > > How did you partition it? What sizes for each? > > What would you do differently if they did it over again (likely the most > informative question/answer!)? > > TIA > sims > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From coiin at verizon.net Sat Dec 5 10:09:15 2009 From: coiin at verizon.net (Colin Holgate) Date: Sat, 05 Dec 2009 10:09:15 -0500 Subject: Code Samples/Comparisons In-Reply-To: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> References: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> Message-ID: On Dec 5, 2009, at 5:48 AM, Dave Cragg wrote: > In what circumstances would you ever need to use this. The url returns over 1700 lines of text, and so many questions are raised: > > -- Why would you download so much data just to get a single item? There isn't a choice about that, in any language. By giving the RBS code you've already reduced the list down from all companies to just one, but beyond that you would have to have another online script dedicated to extracting the most recent date to cut the returned text down the one line. > -- How do you know you want the second line? (OK, I realise it's the most recent data item, but it's a special case, and relies on the data always coming back in the right order.) The data always comes back in the right order. From coiin at verizon.net Sat Dec 5 10:23:17 2009 From: coiin at verizon.net (Colin Holgate) Date: Sat, 05 Dec 2009 10:23:17 -0500 Subject: OT OS X HD Partitioning, multiple OSs In-Reply-To: References: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> Message-ID: On Dec 5, 2009, at 9:51 AM, Bill Marriott wrote: > Parallels is decidedly faster than VMware (verified personally and by a few in-depth reviews out there). It offers the Aero interface from within the Mac (pretty), and a new presentation option I like called Crystal I own both, and switched to Fusion a while ago because I had given up hope of Parallels ever being fast enough. But then I was using Vista under Parallels, so that's probably not the most ideal test, XP would probably work better. With Fusion I'm using 32 bit Windows 7. Fusion does support Aero now, and also has the menu bar icon that gives the Crystal like features. I am tempted though to buy the Parallels 5 upgrade, to see if they've gained some speed back with their Windows 7 support, but I'm not sure where my Parallels 4 serial number is! Also, there would be the whole conversion of the VMWare files back to Parallels to cope with, and you have to re-authenticate Windows 7 with Microsoft (the system thinks you've changed the processor in your machine, which is a bit like copying the system to another PC, and that's not allowed). If it could all be a bit easier, I would happily have both programs installed, and then use whichever one was best for a given task. The main advantage of Fusion and Parallels over Boot Camp is that you can carry on running your Mac apps, and can be dragging data directly between Mac OS and Windows, or directly opening a Mac document in a Windows application, while running Mac OS. From coiin at verizon.net Sat Dec 5 10:28:27 2009 From: coiin at verizon.net (Colin Holgate) Date: Sat, 05 Dec 2009 10:28:27 -0500 Subject: OT OS X HD Partitioning, multiple OSs In-Reply-To: References: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> Message-ID: <4DFA3556-C139-4861-8453-9520D9B5E831@verizon.net> I went ahead and ordered the Parallels 5 upgrade. I ordered the boxed version, hopefully I can find my old serial number by the time the box arrives! From ambassador at fourthworld.com Sat Dec 5 11:02:11 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 05 Dec 2009 08:02:11 -0800 Subject: OT OS X HD Partitioning, multiple OSs Message-ID: <4B1A8403.50500@fourthworld.com> jim sims wrote: > I might be getting a 13" 160 GB MacBook Pro ... > What have other people done with their machines? > > What OS(s) have you loaded - XP, Vista,Windows 7? > > If Linux, what flavor might be the best/most common to develop for? > > How did you partition it? What sizes for each? > > What would you do differently if they did it over again (likely the > most informative question/answer!)? Congrats on the new system. FWIW, I use Parallels because I love being able to keep OS X running and share files, the Clipboard, etc. between them. If you need native speed Bootcamp is hard to beat, but for VMs Parallels is pretty good. I keep the most popular version of each OS family installed on my MBP: - Win XP (still at 62%, with Vista at 17.5% and 7 at 6.5% - Ubuntu - probably the leader for consumer Linux installs, so it can be a good choice if you're interested in deploying consumer apps for the Linux market. I used the default settings in Parallels for each of these which do not require partitioning and grow over time. Currently my XP install is 6.2GB and Ubuntu is 3GB here. I also carry a portable Firewire drive in my saddlebag as one of my three backup volumes (with another stored at the office and a third at home; redundant backups contribute to a good night's sleep ), and I have enough spare capacity on that drive to keep Parallels volumes for Vista and Win 7 on it for testing as needed. I do regularly partition my drive whenever I get a new laptop, keeping the previous version of OS X installed on that smaller partition for testing and for the security of knowing I have something else to boot from if the SHTF. I also keep Disk Warrior and other utils installed on both partitions so I can boot from the other to do deep cleaning when needed. My secondary partition is small, about 20GB; just enough for the OS, swap, and utils. With the last two OS X releases I must say I've never truly needed to boot from the secondary partition. Perhaps that's related to my better adherence in recent years to the rule that one should keep at least 12 GB free on OS X to avoid file system errors (I once had overlapping files when I let the free space get below 6GB -- don't do that, ever. Really. It's a serious PITA, and easily avoidable with a little periodic housekeeping). I'm tempted to say that on my next laptop I may not bother with the extra partition, but I'm old-fashioned and it is convenient to have the two latest OS X releases handy for testing. With all those OSes on your MBP you're almost set -- just three more accessories to complete the portability package: After all, who wants to be stuck in a car in Rome when there's so much to see? :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bdrunrev at gmail.com Sat Dec 5 11:34:31 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 5 Dec 2009 16:34:31 +0000 Subject: Code Samples/Comparisons In-Reply-To: References: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> <4B1A3F42.3020503@gmail.com> Message-ID: David, I'll have to confess then, I just don't get it. If that's the new focus of RunRev then I'm not sure that a new visitor to their website would come away with that vision. Most of the focus of the www.runrev.com seems to be on traditional fat-client development. The other day I was looking at a tutorial somewhere on their site which did seem to fit more with the vision you're describing (it was a tutorial on using Ajax to dynamically update a list of names on a webpage using jsquery), I remember thinking that it seemed like so much effort, and a long way from the way in which we are used to working in Rev. My thought on seeing that tutorial was that I might as well be using something else rather than Rev to do that. To my mind it is a mistake to think that one can compete for mindshare with free technologies like ruby and javascript, or with entrenched for-pay products like flash/flex/air. As if things like php and flash don't have enough compelling reasons to use them as technologies for web development (open source, free, widely available, well-known, etc.), they also have masses of books and tutorials available, and masses of libraries/products/samples that drive and subsist in their respective ecosystems. Have you seen this: http://280atlas.com/what.php ? 280 North's cappucino had rave reviews when it went public (I guess Apple die-hards like to see obj-c boosted). Many people are very impressed with Atlas. But many also balk at paying $20 or so to support its development. And it's not like there aren't other (maybe less elegant) tools that allow one to generate whole Ajaxy websites from an IDE using just one language e.g. Morfik (www.morfik.com). But I think even Morfik is struggling to survive, and the whole company and technology was created with the sole aim of simplifying web app development to just one language. At least both Morfik and Atlas have videos demonstrating how these tools are used prominently displayed from their front pages. Maybe you're right that financially it is better to get a smaller piece of a much bigger pie. Time will tell. Good luck to them. I'm glad that Rev 4.0 has received more publicity than previous releases. Regards, Bernard On Sat, Dec 5, 2009 at 12:43 PM, David Bovill wrote: > True - but not the right way round IMO. To get new people into the language > (at this point in internet history), you need to give them tools to do what > they want to do. The fact is very few people want to make desktop > applications or fat clients (ok relatively few). Most kids if they want to > make anything it is a web site, a plugin for Facebook, or a game. The target > audience you are talking about is pre-Web2.0 and pre-easy to author game > IDE's - people have (except for a niche market) moved their focus away for > desktop/fat clients and onto these other areas now. > > What it makes sense for RunRev to target is people who want to do the above, > but are put off with the intelligibility of the programming languages they > need to learn to do that. The second thing they need to do is make these > same people feel that learning to do it the RunRev way will help them move > into "the real thing" - that is making popular commercial or non-profit > games, web sites. > > RunRev is in a good position to meet the first demand with the server side > scripting language, and the plugin, but it is a bit harder to see how they > are effectively addressing the second. From richmondmathewson at gmail.com Sat Dec 5 11:39:05 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 05 Dec 2009 18:39:05 +0200 Subject: OT OS X HD Partitioning, multiple OSs In-Reply-To: <4B1A8403.50500@fourthworld.com> References: <4B1A8403.50500@fourthworld.com> Message-ID: <4B1A8CA9.1070202@gmail.com> Of course the cheap-jack end of the market (i.e. Richmond) does this: Pentium III with OEM Windows XP = $100 runs headless via Microsoft Remote Desktop Coonexion, Pentium 4 with Ubuntu 8.04.3 LTS & 2nd-hand VDU & keyboard = $100 6 year old G4 Mac = $52 on eBay at the moment & VDU ($10) Can look at the Mac desktop from the Ubuntu box, Interact directly between Mac and Windows. ----------------------------------------------------------- Compared this with: Cheapest Mac going: MacMini $599 (no keyboard, no mouse, no VDU) Parallels 5: $80 and / or VMWare 3: $80 XP disk: $100 (Bulgarian price) ---------------------------------------------------------- Of course an Intel Mac laptop is: Portable, Sexier, and consumes less electricity. But as I cannot afford one anyway, I'm a happy little camper with what I have: http://andregarzia.on-rev.com/richmond/EcoComp.html From pmbrig at gmail.com Sat Dec 5 12:18:43 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sat, 5 Dec 2009 12:18:43 -0500 Subject: Code Samples/Comparisons In-Reply-To: <4B1A3F42.3020503@gmail.com> References: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> <4B1A3F42.3020503@gmail.com> Message-ID: <8BB32F36-BED5-4F4C-A051-3FB426E494F3@gmail.com> On Dec 5, 2009, at 6:08 AM, Richmond Mathewson wrote: > I haven't stuck my oar into this discussion until now as > I was interested which way it would go. > > My view may be a bit different to most of the "real programmers" > who have offered views and code examples. > > I am not a "real programmer" insofar as I do not depend on programming > for my bread and cheese, and have never had to. I have not touched any > programming language other than Metacard/RunRev since 2001. > > I think that comparing: > > length of code samples > > is a bit silly: "It's not the size that matters, it's how you use it." > > AND, surely, the first and foremost point to be made about RunRev > is that little boys and girls (8-11 years old) can produce something > that works and is not a Powerpoint clone in half-an-hour (I have > seen it happening right here in my school). Teachers and other > non-programmers can, very quickly, assemble "programs" / > "applications" > / "thingies" / "widgets" to do what they want to do without having to > either hire a computer specialist or spend donkey's ages on a > programming course. > > Runtime Revolution is all about empowerment; it should not be > compared with C++ and so forth, because they are 2 different > creatures. C++ lives in an aquarium, nurtured by trained zookeepers: > RunRev is like my cat - much more cuddley and approachable, and > doesn't need lots of fancy care and food. > > One of the things that the lecturers at Abertay University (where I > did > an MSc, for my sins) kept rambling on about was that programmers had > to > become sensitive to the needs of specialists in other areas they would > be working for. Forget the "sensitive" programmer; RunRev can > "sensitise" almost anyone to doing the job themselves. > I second this, as another "amateur" who has a full-time non- programming job. Here's an excerpt from the intro to the help text for the stack system I use to manage a psychopharmacology practice: **** Most software is developed by IT people who are technically proficient in their own field but have no detailed understanding of the actual day-to-day needs of the end user, especially if those needs are specialized and context-sensitive. As a result, such software is generally non-intuitive and somewhat clumsy to use and has annoying gaps in its functionality. ("Dammit, I should be able to just click a button and....") By contrast, Psychopharmica has been developed by a psychopharmacologist over the course of almost two decades of daily use in a very active psychopharm practice and has been refined and adjusted for maximum flexibility and functionality by someone who knows what is needed for streamlined comprehensive documentation and clinical management. Created originally in Hypercard and further developed using Runtime Revolution, a cross-platform XTalk environment. RunRev allows switching from run mode to editing mode on the fly, which has enabled me to tweak, debug, and add useful features even as I continue to use the database daily in my practice. I developed Psychopharmica simply in order to make my own life easier -- basically, every time I wished I could just click a button to do something, I tried to find a way to build it in.... **** Eventually I hope to release this in standalone form and see if I can market it -- for now I run the thing in the IDE and there is one other psychopharmacologist in the group using it as well, possibly more to come. Over the years it has grown in flexibility and sophistication, providing very context-sensitive options that depend heavily on text parsing -- right-click on a medication entry to print a prescription, right-click on a procedure code to change the procedure, right-click on an address to print an envelope or start a letter, right-click on a fax number to print a fax cover sheet, lots of forms that get filled in automatically from patient data at the click of a button, automatic tracking of medication history & prescriptions written, built-in self- updating medication database, alerts you if you try to prescribe something the patient is allergic to, reminders to get lab work done, etc., etc. Now over 26,000 lines of scripting, works fast as lightning -- and I can revise and debug it daily. The strength of RunRev is that it is entirely feasible for an interested amateur to create (and refine and update) an extremely powerful customized tool for a niche use. Look at the NASA Landsat 7 example in the Rev case studies. I suspect people like that NASA administrator and me are an important market, since there is nothing else comparable that is accessible to the moderately intelligent non- IT professional. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From dave.cragg at lacscentre.co.uk Sat Dec 5 12:30:37 2009 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 5 Dec 2009 17:30:37 +0000 Subject: Code Samples/Comparisons In-Reply-To: References: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> Message-ID: On 5 Dec 2009, at 15:09, Colin Holgate wrote: > > On Dec 5, 2009, at 5:48 AM, Dave Cragg wrote: > >> In what circumstances would you ever need to use this. The url returns over 1700 lines of text, and so many questions are raised: >> >> -- Why would you download so much data just to get a single item? > > There isn't a choice about that, in any language. By giving the RBS code you've already reduced the list down from all companies to just one, but beyond that you would have to have another online script dedicated to extracting the most recent date to cut the returned text down the one line. But there's another API method for returning a single quote: (http://download.finance.yahoo.com/d/quotes.csv?s=RBS.L&f=l1) This wouldn't require any chunking expression at all. (get url "http://download.finance.yahoo.com/d/quotes.csv?s=RBS.L&f=l1") But it also wouldn't require much of the code in the other languages. My point was that the one liner used in the example didn't represent a real world task, and therefore is in danger of being ridiculed. If we are to propose comparisons, it shouldn't be along the lines of this: How would you do the following in Java/C/etc? get last item of line 2 of url "http://ichart.finance.yahoo.com/table.csv?s=RBS.L" but rather, How would you get and display the latest stock price for RBS.L from the internet in Rev/ Java/C/etc? Dave From mcdomi at free.fr Sat Dec 5 12:56:21 2009 From: mcdomi at free.fr (Dom) Date: Sat, 5 Dec 2009 18:56:21 +0100 Subject: Is it possible to change the revlet embed html? In-Reply-To: <1ja80oc.1du600o1yj8h8dM%mcdomi@free.fr> Message-ID: <1ja9lfr.7o1tvkkk4cwqM%mcdomi@free.fr> Dom wrote: > OK, I made a more thorough reading... > the interesting trick is that the revlet is a mainstack with a substack > > I did ignore that a substack could so be revealed in a revlet! > so, the communication between the "two" revlets resorts to normal > communication between a substack and its mainstack ;-) > > So, a step further, how to make two _independent_ revlets communicate? I tried with two stacks -- the first trying to write some data to a text file, and the second to read the text file it was impossible to show two revlets on the same page ;-< even with two different (or identical) instanceIDs moreover, it seems that a revlet cannot write a text file onto the server! I tried first assuming that the standard was that the file is written by default in the directory (as for .html files) I tried next with the Rev default (to fix "the directory" to the folder where the revlet resides): no luck in the end I tried to replicate the example given by Jacque, with a simple stack with a substack: I cannot see the two instances, i.e. I see only the mainstack! I ensured myself I did operate in exactly the same way: no luck! I am scratching my head... From coiin at verizon.net Sat Dec 5 13:12:13 2009 From: coiin at verizon.net (Colin Holgate) Date: Sat, 05 Dec 2009 13:12:13 -0500 Subject: Code Samples/Comparisons In-Reply-To: References: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> Message-ID: <86A3CA20-53D5-4114-93B4-2E9AC7478E7D@verizon.net> On Dec 5, 2009, at 12:30 PM, Dave Cragg wrote: > How would you do the following in Java/C/etc? > > get last item of line 2 of url "http://ichart.finance.yahoo.com/table.csv?s=RBS.L" > > but rather, > > How would you get and display the latest stock price for RBS.L from the internet in Rev/ Java/C/etc? The significant thing in Rev is that you can get the thing you want in one line. With other languages you have to dispatch a request for the URL, set up a listener for when it's come back, then handle the contents of the event. Doing it that way does make it more asynchronous, you're not halting everything else for the time it takes to get the text back, but it is several more steps to deal with. From mwieder at ahsoftware.net Sat Dec 5 13:11:09 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 5 Dec 2009 10:11:09 -0800 Subject: Code Samples/Comparisons In-Reply-To: References: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> <4B1A3F42.3020503@gmail.com> Message-ID: <157420018796.20091205101109@ahsoftware.net> Bernard- Saturday, December 5, 2009, 8:34:31 AM, you wrote: > Have you seen this: http://280atlas.com/what.php ? Wow - a geometry manager that works. What a concept... -- -Mark Wieder mwieder at ahsoftware.net From bfr at nwlink.com Sat Dec 5 13:22:40 2009 From: bfr at nwlink.com (Bruce Robertson) Date: Sat, 5 Dec 2009 10:22:40 -0800 Subject: Code Samples/Comparisons In-Reply-To: <86A3CA20-53D5-4114-93B4-2E9AC7478E7D@verizon.net> References: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> <86A3CA20-53D5-4114-93B4-2E9AC7478E7D@verizon.net> Message-ID: <93C0EC64-CCF7-485F-870A-C0B4CC75D1D7@nwlink.com> On Dec 5, 2009, at 10:12 AM, Colin Holgate wrote: > > On Dec 5, 2009, at 12:30 PM, Dave Cragg wrote: > >> How would you do the following in Java/C/etc? >> >> get last item of line 2 of url "http://ichart.finance.yahoo.com/table.csv?s=RBS.L" >> >> but rather, >> >> How would you get and display the latest stock price for RBS.L from the internet in Rev/ Java/C/etc? > Applescript: set AppleScript's text item delimiters to "," item -1 of text items of paragraph 2 of (do shell script "curl http://ichart.finance.yahoo.com/table.csv?s=RBS.L") From bill at bluewatermaritime.com Sat Dec 5 13:29:35 2009 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 5 Dec 2009 14:29:35 -0400 Subject: problem with sending functions to other cards over riding message path Message-ID: <459b22a90912051029ncb79a34s3868129c7acb692a@mail.gmail.com> If you do this in the background script of one stack: *put* "anytext" into tDataHolder *get* value("PutMyData(tDataHolder)", card "consignee_card" of stack "Consignees" of stack "clients") and in the card "consignee_card" of another stack -- there is this: *function* PutMyData pDataHolder *put* pDataHolder into fld test *end* PutMyData The result will be "pDataHolder" in the fld "test" because something in the "get value" is wrecking the "tDataHolder" variable. Can anyone help. I need to do this because I'm using a DataGrid and I found out that you can't *set* the dgData of *group* "g_theConsigneeList" of card "consignee_card" of stack "Consignees" of stack "clients" to theDataArray and that you can only set the dgData of a DataGrid if the script is in the background of the same stack or in the card so I'm doing that but I need to send parameters form another stack to that stack where the DataGrid is and the message path is driving me crazy! Thanks for your help. From Roger.E.Eller at sealedair.com Sat Dec 5 13:45:28 2009 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sat, 5 Dec 2009 13:45:28 -0500 Subject: OT OS X HD Partitioning, multiple OSs In-Reply-To: Message-ID: On 12/05/2009 at 01:30 PM, Colin Holgate wrote: > The main advantage of Fusion and Parallels over Boot Camp > is that you can carry on running your Mac apps, and can > be dragging data directly between Mac OS and Windows, or > directly opening a Mac document in a Windows application, > while running Mac OS. You can still do all of this if your Windows is installed in the BootCamp partition. Both Parallels and Fusion will boot from a BootCamp partition. One thing you gain with this approach is if there is an occasion that you need full hardware support for a Windows app, you can boot Windows natively. The speed of running natively is a pretty dramatic difference. Also, you won't have to keep converting your hd file between Parallels and Fusion. They will both comfortably use the same BootCamp partition (not at the same time of course). Roger Eller From dave.cragg at lacscentre.co.uk Sat Dec 5 14:31:38 2009 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 5 Dec 2009 19:31:38 +0000 Subject: Code Samples/Comparisons In-Reply-To: <86A3CA20-53D5-4114-93B4-2E9AC7478E7D@verizon.net> References: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> <86A3CA20-53D5-4114-93B4-2E9AC7478E7D@verizon.net> Message-ID: <41AA0713-2C82-4626-AD6D-5929A203A521@lacscentre.co.uk> On 5 Dec 2009, at 18:12, Colin Holgate wrote: > > On Dec 5, 2009, at 12:30 PM, Dave Cragg wrote: > >> How would you do the following in Java/C/etc? >> >> get last item of line 2 of url "http://ichart.finance.yahoo.com/table.csv?s=RBS.L" >> >> but rather, >> >> How would you get and display the latest stock price for RBS.L from the internet in Rev/ Java/C/etc? > > > The significant thing in Rev is that you can get the thing you want in one line. With other languages you have to dispatch a request for the URL, set up a listener for when it's come back, then handle the contents of the event. Doing it that way does make it more asynchronous, you're not halting everything else for the time it takes to get the text back, but it is several more steps to deal with. Yes, but a litigious ActionScript scripter using Adobe's Flex might argue you can also do the above task with a single line of code, indeed a shorter one. (myHttpService.send() ) So long as the contest rules don't include XML descriptions of objects in the definition of code. (In Flex, you can use XML to define a programs's layout, and also bind text fields to the results of http calls, so no listener is necessary.) But it doesn't mean it's any easier to do in Flex overall. Just the opposite, I'm sure. I just don't think that pure code comparisons provide accurate comparisons of what's involved. And can perhaps deflect attention from the benefits of using Rev. With the stock quote example, I can open Rev, write my script and see the result without saving a single file. I'd even be willing to write a few more lines of code in Rev if it was required rather than sacrifice the overall simplicity of completing the task in hand. Cheers Dave From wjm at wjm.org Sat Dec 5 14:39:24 2009 From: wjm at wjm.org (Bill Marriott) Date: Sat, 5 Dec 2009 14:39:24 -0500 Subject: OT OS X HD Partitioning, multiple OSs In-Reply-To: References: Message-ID: Roger, > Also, you won't have to keep converting your hd file between Parallels and > Fusion. They will both comfortably use the same BootCamp partition (not at > the same time of course). This led to great unhappiness last time I tried it, and constant re-activation of Windows, as well. - Bill From lan.kc.macmail at gmail.com Sat Dec 5 15:08:24 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 5 Dec 2009 12:08:24 -0800 Subject: Importing data into RevDB In-Reply-To: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> References: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> Message-ID: David, Prior to exporting from Excel, do a Repace All 'tabs' with "tttt" and replace all line breaks with "lblblblb" (obviously you can use any number of and combination of characters that you are confident will never appear in the data). Then export it as tab delimited. Every line of the resulting file will represent a row of data Everything between tabs will be a column Extremely easy to parse then with Rev, and just prior to sending the data to it's final destination you reinsert the tabs and linefeeds. HTH On Fri, Dec 4, 2009 at 12:46 PM, David Coker wrote: > Hello folks, > I'm in the planning stages of a possible new app which will include > populating a Rev Database (SQLite) primarily from a standard Excel based CSV > file. What I've run into while doing some research is that that format seems > leaves a lot to be desired. It seems that the CSV data that I'll be working > with has all kinds of spurious line breaks and such embedded, so converting > to a tab delimited format doesn't work well. > > Does anyone have any suggestions as to how to make something like this > reliable as far as maintaining record integrity during import? > > Best regards, > David C. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From nealk3nc at gmail.com Sat Dec 5 15:09:00 2009 From: nealk3nc at gmail.com (Neal Campbell) Date: Sat, 5 Dec 2009 15:09:00 -0500 Subject: OT OS X HD Partitioning, multiple OSs In-Reply-To: References: Message-ID: <325413300912051209n5181cfb4g6c6f5d061bef72f6@mail.gmail.com> There is indeed an alternative to just bootcamp or VMs, for Intel macs (not G4/5s) called rEFIt. Unlike Windows, Intel macs use a boot architecture called EFI. You can overwrite that with an open source product called rEFIt that boots into a screen that is similar to holding down the option key when you boot up. It will let you select Windows, OSX, Linux drives to boot (or try to boot) from. I have been using it on my Mac Pro for 3+ years with not a single hiccup but your mileage might vary. Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 242 0911n Sat, Dec 5, 2009 at 2:39 PM, Bill Marriott wrote: > Roger, > > > Also, you won't have to keep converting your hd file between Parallels and >> Fusion. They will both comfortably use the same BootCamp partition (not at >> the same time of course). >> > > This led to great unhappiness last time I tried it, and constant > re-activation of Windows, as well. > > - Bill > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Sat Dec 5 15:48:38 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 5 Dec 2009 12:48:38 -0800 Subject: Code Samples/Comparisons In-Reply-To: <41AA0713-2C82-4626-AD6D-5929A203A521@lacscentre.co.uk> References: <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> <86A3CA20-53D5-4114-93B4-2E9AC7478E7D@verizon.net> <41AA0713-2C82-4626-AD6D-5929A203A521@lacscentre.co.uk> Message-ID: On Sat, Dec 5, 2009 at 11:31 AM, Dave Cragg wrote: > > I just don't think that pure code comparisons provide accurate comparisons > of what's involved. And can perhaps deflect attention from the benefits of > using Rev. With the stock quote example, I can open Rev, write my script and > see the result without saving a single file. I'd even be willing to write a > few more lines of code in Rev if it was required rather than sacrifice the > overall simplicity of completing the task in hand. > > Whilst this might be true, the problem is that anything beyond simple code comparisons is so bloated it's virtually a Tutorial. The purpose of such 'gimmicks' is to tweak the interest enough to actually spend the time to do a Tutorial, to create that first programme. I tend towards focusing on the intelligent non-programmer, the cases mentioned about NASA and psychopharm being perfect examples. These are the people I'd point to specific code example from online tutorials for other languages, and then to the equivalent in a Rev online tutorial - the pdf version obviously being extracts but having a clear bibliography. I have enough confidence that the cryptic nature of other languages would leave most people scratching there heads, and whilst they may not understand any better what the Rev equivalent code is doing, there is enough comfortable English there that given the choice of which Tutorial to actually spend their time with, they'll choose Rev. That's when they'll be pleasantly surprised by all the other benefits of Rev. Use examples that other languages are using, be confident to point people to your competitors tutorials, have the same examples in your own tutorials, then let them choose which tutorial they want to do. Easy. From capellan2000 at gmail.com Sat Dec 5 16:33:01 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 5 Dec 2009 13:33:01 -0800 (PST) Subject: Code Samples/Comparisons In-Reply-To: References: <091E6A99-D22E-4AE5-B834-6D9D69DEFF28@cruzio.com> <4B18EB2E.6030807@ekoinf.net> <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> <86A3CA20-53D5-4114-93B4-2E9AC7478E7D@verizon.net> <41AA0713-2C82-4626-AD6D-5929A203A521@lacscentre.co.uk> Message-ID: <1260048781624-949396.post@n4.nabble.com> Hi Kay, Kay C Lan wrote: > > Use examples that other languages are using, be confident to point people > to > your competitors tutorials, have the same examples in your own tutorials, > then let them choose which tutorial they want to do. > Easy. > Actually, i like this approach. In this way, every person will be able to evaluate, in first place, their area of interest. But, I must beg your pardon if I look overly insistent of the following topic: Most of the computer users could produce and publish content using RevMedia, but just a few will give the additional steps to become full fledged programmers. RevMedia needs interfaces (palettes, Dialogs, Wizards, etc.) for common authoring task. We, as developers, do not find too difficult all these tasks, but for others (non developers) it's a big NO-NO to type scripts or commands to accomplish what they do using a Graphical User Interface in other software programs. Alejandro -- View this message in context: http://n4.nabble.com/Rev-4-0-article-on-TheServerSide-tp933211p949396.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat Dec 5 16:45:18 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 05 Dec 2009 15:45:18 -0600 Subject: request and post In-Reply-To: <613D725A-B825-48BB-9B58-879DD15F0272@mac.com> References: <613D725A-B825-48BB-9B58-879DD15F0272@mac.com> Message-ID: <4B1AD46E.4020408@hyperactivesw.com> Thomas McGrath III wrote: > I was playing around with TileStack again and noticed in these two > separate stacks a "request" command and a "post" command. I was > wondering what the equivalent would be for revLets? It should be the same as always, though I haven't tested it from a revlet: (for requests): get url "http://whatever.com/"& fld "whatever" put it (for posts): post "myData" to url "http://whatever.com/" put it -- the server response -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jimaultwins at yahoo.com Sat Dec 5 16:50:33 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 5 Dec 2009 13:50:33 -0800 Subject: Importing data into RevDB In-Reply-To: <11554004-DA36-4C5C-9172-6D9ACA0ED0E4@mac.com> References: <31833658.41259964130248.JavaMail.HAPPYLAPPY$@HappyLappy> <11554004-DA36-4C5C-9172-6D9ACA0ED0E4@mac.com> Message-ID: <9ED3315D-E69C-4E81-B6D2-25ACDD8BC7EC@yahoo.com> On Dec 5, 2009, at 5:24 AM, Thomas McGrath III wrote: > I'm sure others have known about this but I feel like someone just > turned on a giant light bulb in my head. This is the single best > thing I have learned this year... > > set the linedelimiter to comma > set the itemdelimiter to quote > I am just amazed... > A note of caution when using this. The chunking rules for Rev are that a line can contain items, but items cannot contain lines. Lines can contain items, items contain words. wrong = line 6 of item 4, no matter the delimiter Not all functions obey a new setting. Filter does not follow the linedelimiter, and always uses CR, as does Sort. wrong = set the worddelimiter to comma ... since the Rev definition for a word delimiter is white space, not a single character. I have found this useful on occasion when extracting data (such as CSV and html) to handle 'embedded returns' in order to keep logical groups of amorphous data together. Another use is to demark field content as lines such as write the contents of the fields of a card to a text file set the lineDel to "^" put field "Title" into outputBuffer put field "Description" into line 2 of outputBuffer put field "Inventory" into line 3 of outputBuffer put field "Prices" into line 12 of outputBuffer set the lineDel to cr put outputBuffer into url ("file:" & aPath & aFilename) Also as a utility function to make a run of characters. put characterString("*", 25) into line 2 of field "studentNotes" put characterString(space, 10) after line 6 of field "studentNotes" function characterString charToUse, stringLength set the lineDel to charToUse put charToUse into line stringLength of tempp return tempp end characterString -- now that we are leaving this function -- the lineDel setting evaporates -- it only applies to this function -- the same way itemDel behaves The same thing can be done with itemDel set the itemDel to "^" put "^" into item 25 of tempp set the itemDel to comma Hope this helps, Jim Ault Las Vegas From jacque at hyperactivesw.com Sat Dec 5 16:53:23 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 05 Dec 2009 15:53:23 -0600 Subject: Is it possible to change the revlet embed html? In-Reply-To: <1ja9lfr.7o1tvkkk4cwqM%mcdomi@free.fr> References: <1ja9lfr.7o1tvkkk4cwqM%mcdomi@free.fr> Message-ID: <4B1AD653.2030402@hyperactivesw.com> Dom wrote: >> So, a step further, how to make two _independent_ revlets communicate? > > I tried with two stacks -- the first trying to write some data to a text > file, and the second to read the text file > > it was impossible to show two revlets on the same page ;-< > even with two different (or identical) instanceIDs I can't test it right now, but did you also try changing the source parameter? They will be different if you are using two independent stacks. That might work. The instanceID must be the same for both. > > moreover, it seems that a revlet cannot write a text file onto the > server! They can, but you need to make sure the text file you are writing to has correct permissions on the server. > I tried first assuming that the standard was that the file is written by > default in the directory (as for .html files) > I tried next with the Rev default (to fix "the directory" to the folder > where the revlet resides): no luck Revlet file paths are local to the user's hard drive and act like desktop standalones. Their default directory is not on the server, it is the folder where the plugin is installed on the user's drive. To write to a server, you need to use the same techniques that you'd use for a remote desktop application. > > in the end I tried to replicate the example given by Jacque, with a > simple stack with a substack: I cannot see the two instances, i.e. I see > only the mainstack! > I ensured myself I did operate in exactly the same way: no luck! Did you change the javascript in the html file? That's all it needs. Also make sure the source parameter is the name of your mainstack in both cases. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Sat Dec 5 16:55:32 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 5 Dec 2009 13:55:32 -0800 (PST) Subject: Quicktime VR panorama movies in revlets In-Reply-To: <1259972291247-948996.post@n4.nabble.com> References: <1259930960730-948484.post@n4.nabble.com> <1259967351448-948945.post@n4.nabble.com> <1259972291247-948996.post@n4.nabble.com> Message-ID: <1260050132009-949410.post@n4.nabble.com> Hi Ben, BNig wrote: > > The QTVR is 148 KB (KiloByte) in size, it is hosted on on-rev. > So it should not take long to load, and it doesn't here. > It was taken from Jacque's submission to the QCC. > There must be something else going on if loading takes a while. > For me it is nearly instantaneous, only shortly showing the 'grid' thing. > What is the Quicktime Alternative? > Only 148 Kb? That is really small. I had to check what could be the actual blocker. About Quicktime Alternative from this webpage: http://www.free-codecs.com/download/QuickTime_Alternative_Lite.htm QuickTime Alternative will allow you to play QuickTime files (.mov, .qt, .3gp and other extensions) without having to install the official QuickTime Player. It also supports QuickTime content that is embedded in webpages. As a bonus, Internet Explorer will play all QuickTime movies that are embedded in a webpage. You do need a media player that is capable of playing QuickTime files. The included Media Player Classic supports it and works very well. The QuickTime Browser plugin supports Internet Explorer, Opera, Netscape and Mozilla. The QuickTime plugins include iPIX and QuickTimeVR. Some advantages compared to QuickTime player : - Quick and easy install - It's easy to make an unattended installation - No background processes - Use a player of your own choice - Low on resources - Smaller size Thanks again! Alejandro -- View this message in context: http://n4.nabble.com/Quicktime-VR-panorama-movies-in-revlets-tp948484p949410.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sat Dec 5 17:08:06 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 5 Dec 2009 14:08:06 -0800 (PST) Subject: problem with sending functions to other cards over riding message path In-Reply-To: <459b22a90912051029ncb79a34s3868129c7acb692a@mail.gmail.com> References: <459b22a90912051029ncb79a34s3868129c7acb692a@mail.gmail.com> Message-ID: <1260050886584-949418.post@n4.nabble.com> Hi William, Are you using a) RevMedia or b) RevStudio/RevEnterprise? I believe, (but i will like to prove wrong) that DataGrids only work with RevStudio/RevEnterprise. william humphrey-2 wrote: > > and that you can only set the dgData of a DataGrid if the script is in the > background of the same stack or in the card so I'm doing that but I need > to > send parameters form another stack to that stack where the DataGrid is and > the message path is driving me crazy! > -- View this message in context: http://n4.nabble.com/problem-with-sending-functions-to-other-cards-over-riding-message-path-tp949296p949418.html Sent from the Revolution - User mailing list archive at Nabble.com. From bill at bluewatermaritime.com Sat Dec 5 18:43:10 2009 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 5 Dec 2009 19:43:10 -0400 Subject: problem with sending functions to other cards over riding message path In-Reply-To: <1260050886584-949418.post@n4.nabble.com> References: <459b22a90912051029ncb79a34s3868129c7acb692a@mail.gmail.com> <1260050886584-949418.post@n4.nabble.com> Message-ID: <459b22a90912051543qbba6103lba70698755d663c2@mail.gmail.com> It is Enterprise. DataGrid works fine if the functions are all in the script on the same stack or card. It is only that I am trying to fill a dataGrid that is in another stack. On Sat, Dec 5, 2009 at 6:08 PM, Alejandro Tejada wrote: > > Hi William, > > Are you using a) RevMedia or b) RevStudio/RevEnterprise? > > I believe, (but i will like to prove wrong) that DataGrids > only work with RevStudio/RevEnterprise. > > > william humphrey-2 wrote: > > > > and that you can only set the dgData of a DataGrid if the script is in > the > > background of the same stack or in the card so I'm doing that but I need > > to > > send parameters form another stack to that stack where the DataGrid is > and > > the message path is driving me crazy! > > > > -- > View this message in context: > http://n4.nabble.com/problem-with-sending-functions-to-other-cards-over-riding-message-path-tp949296p949418.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at 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 From jperryl at ecs.fullerton.edu Sat Dec 5 19:30:42 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 5 Dec 2009 16:30:42 -0800 (PST) Subject: Code Samples/Comparisons In-Reply-To: <1260048781624-949396.post@n4.nabble.com> References: <091E6A99-D22E-4AE5-B834-6D9D69DEFF28@cruzio.com> <4B18EB2E.6030807@ekoinf.net> <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> <86A3CA20-53D5-4114-93B4-2E9AC7478E7D@verizon.net> <41AA0713-2C82-4626-AD6D-5929A203A521@lacscentre.co.uk> <1260048781624-949396.post@n4.nabble.com> Message-ID: And of course, this is something everybody has been saying now since at least the 2nd Monterey conference. It may not be enough to make available a free product that just dumps you straight into the world of scripting. Even Hypercard didn't do that! It provided a very and gentle graceful path to the world of making your own stuff, and that is perhaps part of the reason for it becoming as successful as it did. Judy On Sat, 5 Dec 2009, Alejandro Tejada wrote: > But, I must beg your pardon if I look overly insistent > of the following topic: > > Most of the computer users could produce and publish > content using RevMedia, but just a few will give the > additional steps to become full fledged programmers. > RevMedia needs interfaces (palettes, Dialogs, Wizards, etc.) > for common authoring task. > > We, as developers, do not find too difficult all these tasks, > but for others (non developers) it's a big NO-NO to type > scripts or commands to accomplish what they do using > a Graphical User Interface in other software programs. From steve at theworcestersource.com Sat Dec 5 20:35:04 2009 From: steve at theworcestersource.com (Steve Checkley) Date: Sun, 6 Dec 2009 01:35:04 +0000 Subject: [ANN] Data Tree 1.0 Message-ID: <17DDB61B-878F-461A-9329-76F826736CB7@theworcestersource.com> Hi all, Further to my posts every now and then about beta versions, it's with great pleasure that I'm announcing the completion of my first commercial library for RunRev: Data Tree 1.0. After being a bit frustrated with the lack of a native tree view control in Rev, I thought I'd throw my hat into the ring and write one. Given the potential complexities of such a control, my goal was to create something that was as easy to develop with as possible and delivers platform perfect results. With Data Tree, you can: ? deploy a tree control that will completely adapt its appearance to match the host operating system (Mac and Windows currently supported) ? use a set of commands to create nodes, move them about, change their properties and much more ? work with huge numbers of nodes behind the scenes and display up to 1,200 nodes instantly ? easily create trees with multiple parent/child levels, without requiring complicated XML ? apply icons and set other appearance and behaviour properties ? insert a tree control into the tabbing order of the card ? receive various mouse and keyboard events ? add your own properties to nodes, allowing you to store your own data within the node itself ? for more advanced developers, access the underlying array and build large trees in milliseconds You can download a trial licence of Data Tree from the Downloads page of my website, http://www.theworcestersource.com . The trial licence is fully functional but will periodically display a nag window. A nag-free licence that can be used in your own projects can be purchased for ?30. All downloads come with a supporting developer manual. More developer information, to be hosted on my site, is currently being worked on. I sincerely hope that anybody who tries my library enjoys developing with it. Best wishes, Steve Checkley http://www.theworcestersource.com From martyknapp at comcast.net Sat Dec 5 21:24:27 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 05 Dec 2009 18:24:27 -0800 Subject: [ANN] Data Tree 1.0 In-Reply-To: <17DDB61B-878F-461A-9329-76F826736CB7@theworcestersource.com> References: <17DDB61B-878F-461A-9329-76F826736CB7@theworcestersource.com> Message-ID: <4B1B15DB.4000306@comcast.net> Nice job Steve! Marty Knapp > Hi all, > > Further to my posts every now and then about beta versions, it's with great pleasure that I'm announcing the completion of my first commercial library for RunRev: Data Tree 1.0. From davidocoker at gmail.com Sat Dec 5 21:33:42 2009 From: davidocoker at gmail.com (David Coker) Date: Sat, 5 Dec 2009 20:33:42 -0600 (CST) Subject: Importing data into RevDB In-Reply-To: <9ED3315D-E69C-4E81-B6D2-25ACDD8BC7EC@yahoo.com> Message-ID: <8998436.241260066818370.JavaMail.HAPPYLAPPY$@HappyLappy> >A note of caution when using this. >The chunking rules for Rev are that a line can contain items, but >items cannot contain lines. >Lines can contain items, items contain words. > wrong = line 6 of item 4, no matter the delimiter > >Not all functions obey a new setting. >Filter does not follow the linedelimiter, and always uses CR, as does >Sort. > > wrong = set the worddelimiter to comma >... since the Rev definition for a word delimiter is white space, not >a single character. > >I have found this useful on occasion when extracting data (such as CSV >and html) to handle 'embedded returns' in order to keep logical groups >of amorphous data together. Another use is to demark field content as >lines such as > >write the contents of the fields of a card to a text file > >set the lineDel to "^" >put field "Title" into outputBuffer >put field "Description" into line 2 of outputBuffer >put field "Inventory" into line 3 of outputBuffer >put field "Prices" into line 12 of outputBuffer >set the lineDel to cr >put outputBuffer into url ("file:" & aPath & aFilename) > >Also as a utility function to make a run of characters. >put characterString("*", 25) into line 2 of field "studentNotes" >put characterString(space, 10) after line 6 of field "studentNotes" > >function characterString charToUse, stringLength > set the lineDel to charToUse > put charToUse into line stringLength of tempp > return tempp >end characterString > -- now that we are leaving this function > -- the lineDel setting evaporates > -- it only applies to this function > -- the same way itemDel behaves >The same thing can be done with itemDel > > set the itemDel to "^" > put "^" into item 25 of tempp > set the itemDel to comma > >Hope this helps, > >Jim Ault >Las Vegas Jim, Kay, Tom... all who have replied so far. I really appreciate all of the tips and suggestions and will probably enjoy taking some of them for a serious test run eventually. Unthinking, I started the update process on my previously mentioned database here on my primary development machine, which has been tied up for 34+ hours now. Performance has already degraded somewhat, so I've pretty much made this thing off limits until it has completed. (Assuming that it actually will at some point.) Much appreciated good folks! Hope you all have a great weekend. :-) David C. From katir at hindu.org Sat Dec 5 21:34:09 2009 From: katir at hindu.org (Sivakatirswami) Date: Sat, 05 Dec 2009 16:34:09 -1000 Subject: OT: Panorama software Message-ID: <4B1B1821.4070707@hindu.org> I keep dreaming that one day I will get beyond admin and have time to do some "creative" well it may be soon. What are everyone recommendations as of 2010 for best tools for creating panoramas (including 360 degree horizontal over head ones) on Mac OSX? I see a an open source package which runs on Macs: Hugin -- Free http://hugin.sourceforge.net/download/ Autopano gets great reviews but $$379.00 seems a bit outrageous? Panoweaver only outputs Flash... Lots of windows only options which I can't use. ?? Sivakatirswami From david at vaudevillecourt.tv Sat Dec 5 21:50:24 2009 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 6 Dec 2009 02:50:24 +0000 Subject: Text encoding problem Message-ID: How do I convert the following text "G?strow" to "G%C5%B8strow"? Kind of stuck :( From capellan2000 at gmail.com Sat Dec 5 21:53:24 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 5 Dec 2009 18:53:24 -0800 (PST) Subject: Code Samples/Comparisons In-Reply-To: References: <4B18EB2E.6030807@ekoinf.net> <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> <86A3CA20-53D5-4114-93B4-2E9AC7478E7D@verizon.net> <41AA0713-2C82-4626-AD6D-5929A203A521@lacscentre.co.uk> <1260048781624-949396.post@n4.nabble.com> Message-ID: <1260068004162-949505.post@n4.nabble.com> Hi Judy, Judy Perry wrote: > > And of course, this is something everybody has been saying now since at > least the 2nd Monterey conference. It may not be enough to make available > a free product that just dumps you straight into the world of scripting. > One palette with tools, commands and functions useful for authoring created by all participants. We should ask Chipp Walters for permission to use his altPlugin Palette and plugins: http://www.altuit.com/webs/altuit2/altPluginCover/about.htm Long time ago, i created this palette for editing the templates that i give to my fellow teachers: http://www.talkgraphics.com/showpost.php?p=239130&postcount=6 It was supposed to be skinnable and customizable, but my fellow teachers are not too savvy in visual graphics matters. The original shape of this palette is a circle, that you could move to any place in the screen. When you click the symbol, the identification of the teacher appears (a name or photo). Notice that both palettes are the same. You could display or retract the menu and buttons in either direction: horizontal or vertical. Teachers used a lot the "Image Frames" (drag and drop and image over the Frame to import an image) and the Screenshot tool (used to import an screenshot from the area of an object in the stack). As a result some of them made an excessive use of images in their stacks, converting text fields in transparent PNGs... only to discover that they had to retype everything to change or fix the text... :-\ (keeping all field properties inside a custom property solved this). Later, i included a warning that tells how much size each image add to the stack. I receive many ideas about possible enhancements to this palette: 1) screen rulers in pixels, cm and inches at the edge, 2) template layout palette (with image frames and text fields) 3) save serial copies of stacks. 4) Easy application of Color (and textures) schemes. Alejandro -- View this message in context: http://n4.nabble.com/Rev-4-0-article-on-TheServerSide-tp933211p949505.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvg at mac.com Sat Dec 5 22:20:52 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 06 Dec 2009 04:20:52 +0100 Subject: Text encoding problem In-Reply-To: References: Message-ID: <00A76558-5E24-479F-AA7F-858F48D73D24@mac.com> wow, that's some devilishly encoded stuff! this will create it: put urlencode(unidecode(uniencode(isotomac("G?strow")),"utf8")) of which the inverse would be: put mactoiso(unidecode(uniencode(urldecode("G%C5%B8strow"),"utf8"))) or you could combine them... put mactoiso(unidecode(uniencode(urldecode(urlencode(unidecode (uniencode(isotomac("G?strow")),"utf8"))),"utf8"))) On 6 Dec 2009, at 03:50, David Bovill wrote: > How do I convert the following text "G?strow" to "G%C5%B8strow"? > Kind of > stuck :( -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From jerry.daniels at me.com Sat Dec 5 22:44:10 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Sat, 5 Dec 2009 21:44:10 -0600 Subject: [ANN] Data Tree 1.0 In-Reply-To: <17DDB61B-878F-461A-9329-76F826736CB7@theworcestersource.com> References: <17DDB61B-878F-461A-9329-76F826736CB7@theworcestersource.com> Message-ID: <3118E0D5-50C0-41C5-9602-6B34A0BD9F50@me.com> Steve, VERY nice. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-your-handlers On Dec 5, 2009, at 7:35 PM, Steve Checkley wrote: > Hi all, > > Further to my posts every now and then about beta versions, it's > with great pleasure that I'm announcing the completion of my first > commercial library for RunRev: Data Tree 1.0. > > After being a bit frustrated with the lack of a native tree view > control in Rev, I thought I'd throw my hat into the ring and write > one. Given the potential complexities of such a control, my goal was > to create something that was as easy to develop with as possible and > delivers platform perfect results. > > With Data Tree, you can: > > ? deploy a tree control that will completely adapt its appearance to > match the host operating system (Mac and Windows currently supported) > ? use a set of commands to create nodes, move them about, change > their properties and much more > ? work with huge numbers of nodes behind the scenes and display up > to 1,200 nodes instantly > ? easily create trees with multiple parent/child levels, without > requiring complicated XML > ? apply icons and set other appearance and behaviour properties > ? insert a tree control into the tabbing order of the card > ? receive various mouse and keyboard events > ? add your own properties to nodes, allowing you to store your own > data within the node itself > ? for more advanced developers, access the underlying array and > build large trees in milliseconds > > You can download a trial licence of Data Tree from the Downloads > page of my website, http://www.theworcestersource.com . The trial > licence is fully functional but will periodically display a nag > window. > > A nag-free licence that can be used in your own projects can be > purchased for ?30. > > All downloads come with a supporting developer manual. More > developer information, to be hosted on my site, is currently being > worked on. > > I sincerely hope that anybody who tries my library enjoys developing > with it. > > Best wishes, > > > Steve Checkley > http://www.theworcestersource.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Sat Dec 5 23:28:27 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat, 5 Dec 2009 20:28:27 -0800 (PST) Subject: Code Samples/Comparisons In-Reply-To: <1260068004162-949505.post@n4.nabble.com> References: <4B18EB2E.6030807@ekoinf.net> <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> <86A3CA20-53D5-4114-93B4-2E9AC7478E7D@verizon.net> <41AA0713-2C82-4626-AD6D-5929A203A521@lacscentre.co.uk> <1260048781624-949396.post@n4.nabble.com> <1260068004162-949505.post@n4.nabble.com> Message-ID: Hi Alejandro, Interesting palette. Probably what would also be really useful is something HC had, namely, pre-scripted actions via a button (going to a particular place, using visual effects etc.). The problems then become (1) figuring out what those sample pre-scripted things should be and (2) the taxonomy for presenting them. When I look at the current Rev toolbar, I don't see anything that really would be immediately comprehensible to the average normal human, nor do I see anything that suggests a starting point to get a project off the ground, much less items that would help complete one. Any ideas? Judy On Sat, 5 Dec 2009, Alejandro Tejada wrote: > Long time ago, i created this palette for editing the templates > that i give to my fellow teachers: > http://www.talkgraphics.com/showpost.php?p=239130&postcount=6 > > It was supposed to be skinnable and customizable, but my fellow > teachers are not too savvy in visual graphics matters. > The original shape of this palette is a circle, that you could move > to any place in the screen. When you click the symbol, the identification > of the teacher appears (a name or photo). > Notice that both palettes are the same. You could display or retract > the menu and buttons in either direction: horizontal or vertical. > > Teachers used a lot the "Image Frames" (drag and drop and image over > the Frame to import an image) and the Screenshot tool (used to import > an screenshot from the area of an object in the stack). > > As a result some of them made an excessive use of images > in their stacks, converting text fields in transparent PNGs... > only to discover that they had to retype everything to change or fix > the text... :-\ (keeping all field properties inside a custom property > solved this). Later, i included a warning that tells how much size each > image add to the stack. > > I receive many ideas about possible enhancements to this palette: > 1) screen rulers in pixels, cm and inches at the edge, > 2) template layout palette (with image frames and text fields) > 3) save serial copies of stacks. > 4) Easy application of Color (and textures) schemes. From ambassador at fourthworld.com Sat Dec 5 23:38:19 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 05 Dec 2009 20:38:19 -0800 Subject: Code Samples/Comparisons Message-ID: <4B1B353B.7080601@fourthworld.com> Alejandro Tejada wrote: > Long time ago, i created this palette for editing the templates > that i give to my fellow teachers: > http://www.talkgraphics.com/showpost.php?p=239130&postcount=6 I like it. Looks a bit like where I spend my day: GMTA :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jrosat at mac.com Sun Dec 6 05:27:35 2009 From: jrosat at mac.com (=?iso-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Sun, 06 Dec 2009 11:27:35 +0100 Subject: OT: Panorama software In-Reply-To: <4B1B1821.4070707@hindu.org> References: <4B1B1821.4070707@hindu.org> Message-ID: Personally I use Autopano Giga 2. It costs 199 ?. But Autopano Pro 2 is great too. It costs 99 ?. See http://www.autopano.net J?r?me Le 6 d?c. 2009 ? 03:34, Sivakatirswami a ?crit : > I keep dreaming that one day I will get beyond admin and have time to do some "creative" well it may be soon. > > What are everyone recommendations as of 2010 > > for best tools for creating panoramas (including 360 degree horizontal over head ones) on Mac OSX? > > I see a an open source package which runs on Macs: > > Hugin -- Free > > http://hugin.sourceforge.net/download/ > > Autopano gets great reviews but $$379.00 seems a bit outrageous? > > Panoweaver only outputs Flash... > > Lots of windows only options which I can't use. > > ?? > > Sivakatirswami > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Sun Dec 6 06:40:12 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 06 Dec 2009 13:40:12 +0200 Subject: Code Samples/Comparisons In-Reply-To: References: <091E6A99-D22E-4AE5-B834-6D9D69DEFF28@cruzio.com> <4B18EB2E.6030807@ekoinf.net> <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> <86A3CA20-53D5-4114-93B4-2E9AC7478E7D@verizon.net> <41AA0713-2C82-4626-AD6D-5929A203A521@lacscentre.co.uk> <1260048781624-949396.post@n4.nabble.com> Message-ID: <4B1B981C.8020602@gmail.com> On 12/6/09 2:30 AM, Judy Perry wrote: > And of course, this is something everybody has been saying now since > at least the 2nd Monterey conference. It may not be enough to make > available a free product that just dumps you straight into the world > of scripting. Even Hypercard didn't do that! It provided a very and > gentle graceful path to the world of making your own stuff, and that > is perhaps part of the reason for it becoming as successful as it did. > Well said, Judy! What is perhaps needed, along with Free RevMedia, is a suite of little programs that can be popped together without any scripting at all, and, maybe, a stack with a set of 'moronic' buttons (go back, go next, go prev, etc.) for copy-pasting. There is a problem, and I feel it is this: There need to be 2 completely distinct RunRev websites: 1. All-singing-all-dancing programmers' website selling Studio and Enterprise with all sorts of comparisons between RunRev and other programming 'arrangements' (using that term to avoid the continuum between languages-qua-languages and the visual drag-n-drop-n-no-scripting-at-all type of stuff). 2. A dedicated RevMedia site (which, of course, would 'push' Studio) which down-plays the geeky-scripty sort of stuff and concentrates on the "gentle graceful path to the world of making your own stuff"; and, while I am in a complimentary mood; Judy, that really is a super way of putting things. I also believe that the Folks at RunRev cannot quite decide which way to jump. There really doesn't have to be a decision; with a bit of thought they can cut the legs from under HyperStudio and Co. as well as some of the "real" programming arrangements. Grrrrr . . . HyperStudio should be history by now. I don't know why, but Wagner's product (now being peddled by MacKiev) reminds me so much of cheap, Chinese imitations of LEGO. It is the old problem (c.f. Windows versus Linux); let's pay for a second-rate product (HyperStudio) when there is something quite considerably better for free (RevMedia). From bill at bluewatermaritime.com Sun Dec 6 08:19:15 2009 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 6 Dec 2009 09:19:15 -0400 Subject: problem with sending functions to other cards over riding message path In-Reply-To: <459b22a90912051543qbba6103lba70698755d663c2@mail.gmail.com> References: <459b22a90912051029ncb79a34s3868129c7acb692a@mail.gmail.com> <1260050886584-949418.post@n4.nabble.com> <459b22a90912051543qbba6103lba70698755d663c2@mail.gmail.com> Message-ID: <459b22a90912060519p17a93cf6sc83e874a74cac12@mail.gmail.com> > > I solved this problem by using globals as I couldn't get the parameter to >> pass any way I tried. It's a good thing that RunRev has so many different >> ways you can do the same thing. >> > The one thing I did conclude is that you can't load the dgData into a DataGrid that is in another stack. > >> william humphrey-2 wrote: >> > >> > and that you can only set the dgData of a DataGrid if the script is in >> the >> > background of the same stack or in the card so I'm doing that but I need >> > to >> > send parameters form another stack to that stack where the DataGrid is >> and >> > the message path is driving me crazy! >> > >> >> -- >> View this message in context: >> http://n4.nabble.com/problem-with-sending-functions-to-other-cards-over-riding-message-path-tp949296p949418.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 > -- http://www.bluewatermaritime.com From david.bovill at gmail.com Sun Dec 6 08:35:37 2009 From: david.bovill at gmail.com (David Bovill) Date: Sun, 6 Dec 2009 13:35:37 +0000 Subject: Text encoding problem In-Reply-To: <00A76558-5E24-479F-AA7F-858F48D73D24@mac.com> References: <00A76558-5E24-479F-AA7F-858F48D73D24@mac.com> Message-ID: Thanks so much for that i was getting myself in a real twist over all the combinations - don't suppose your name has lead to influencing your expertise in these matters :) I've also run into problems sorting containers - and the documentation / comment system is not helping: sort unicodeIndex > sort international unicodeIndex > don't seem to work - ever? or with certain encodings? Anyone know how to sort unicode - so far I'm having to lock the screen and put it into a field and then sort the field - I'd like to simply sort the data in memory. 2009/12/6 Bj?rnke von Gierke > wow, that's some devilishly encoded stuff! > > this will create it: > put urlencode(unidecode(uniencode(isotomac("G?strow")),"utf8")) > > of which the inverse would be: > > put mactoiso(unidecode(uniencode(urldecode("G%C5%B8strow"),"utf8"))) > > or you could combine them... > > put > mactoiso(unidecode(uniencode(urldecode(urlencode(unidecode(uniencode(isotomac("G?strow")),"utf8"))),"utf8"))) > > > > > On 6 Dec 2009, at 03:50, David Bovill wrote: > > How do I convert the following text "G?strow" to "G%C5%B8strow"? Kind of >> stuck :( >> > > > > -- > > official ChatRev page: > http://bjoernke.com?target=chatrev > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mcdomi at free.fr Sun Dec 6 09:48:18 2009 From: mcdomi at free.fr (Dom) Date: Sun, 6 Dec 2009 15:48:18 +0100 Subject: Found it!!! (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: <4B1AD653.2030402@hyperactivesw.com> Message-ID: <1jab7md.s0lr7gxusdgsM%mcdomi@free.fr> J. Landman Gay wrote: > Did you change the javascript in the html file? That's all it needs. > Also make sure the source parameter is the name of your mainstack in > both cases. I tried hard ;-) Again and again... with no luck -- until I noticed the"
" style parameters!!! the first DIV in given this parameter: "display: block" instead of "display: none" as created by Media (or Studio*) the second DIV, which host the substack, is given NO display parameter and... that works!!! so, it was more of a page problem, than a stack problem ;-) * with Studio I can't help Studio creating Mac and Windows standalone, along with the "Web" standalone From richmondmathewson at gmail.com Sun Dec 6 10:07:54 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 06 Dec 2009 17:07:54 +0200 Subject: Found it!!! (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: <1jab7md.s0lr7gxusdgsM%mcdomi@free.fr> References: <1jab7md.s0lr7gxusdgsM%mcdomi@free.fr> Message-ID: <4B1BC8CA.1070805@gmail.com> On 12/6/09 4:48 PM, Dom wrote: > J. Landman Gay wrote: > > >> Did you change the javascript in the html file? That's all it needs. >> Also make sure the source parameter is the name of your mainstack in >> both cases. >> > I tried hard ;-) > > Again and again... with no luck > -- until I noticed the"
" style parameters!!! > > the first DIV in given this parameter: "display: block" instead of > "display: none" as created by Media (or Studio*) > > the second DIV, which host the substack, is given NO display parameter > > and... that works!!! > > so, it was more of a page problem, than a stack problem ;-) > > * with Studio I can't help Studio creating Mac and Windows standalone, > along with the "Web" standalone > > > Sorry to hear * that Dom; what exactly do you mean by: "with Studio I can't help Studio creating Mac and Windows standalone, along with the "Web" standalone" I just created 4 standalones (Mac, Win, Lin and Web) from 1 stack (on a Mac computer) with Studio. From richmondmathewson at gmail.com Sun Dec 6 11:33:48 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 06 Dec 2009 18:33:48 +0200 Subject: Code Samples/Comparisons In-Reply-To: <1260068004162-949505.post@n4.nabble.com> References: <4B18EB2E.6030807@ekoinf.net> <688A7D89-C36D-40C0-96D7-99141BB2E5C3@lacscentre.co.uk> <86A3CA20-53D5-4114-93B4-2E9AC7478E7D@verizon.net> <41AA0713-2C82-4626-AD6D-5929A203A521@lacscentre.co.uk> <1260048781624-949396.post@n4.nabble.com> <1260068004162-949505.post@n4.nabble.com> Message-ID: <4B1BDCEC.6020009@gmail.com> Here's a thought: http://www.tigabyte.com/hnfiles/rescreator.html I wonder how many of these can be duplicated using RunRev? And, before you ask, I am sorry, but I just don't have the time (or, frankly, the computer know-how about Blowfish encryption/decryption or GPS). I have mucked about with HyperNext and got fairly cheesed-off as it seems capable of many things, but it is not: WYSIWYG and it uses an obscure form of O-O BASIC also, I think it is being developed by one chap in his/her spare bedroom (which, actually, is incredible) so does not have all the backup, know-how and investment that RunRev can boast. Stacks I particularly like: Note Player Stock quotes Books HC (The name of that one is a dead giveaway where the developer is coming from). From david.bovill at gmail.com Sun Dec 6 11:38:37 2009 From: david.bovill at gmail.com (David Bovill) Date: Sun, 6 Dec 2009 16:38:37 +0000 Subject: Text encoding problem In-Reply-To: <00A76558-5E24-479F-AA7F-858F48D73D24@mac.com> References: <00A76558-5E24-479F-AA7F-858F48D73D24@mac.com> Message-ID: Trying to figure out what this means logically (please correct me if I am wrong). The url as appears in a web browser as: http://wiki.architex.tv/G?strow > However using the above ascii text to fetch a url, or with revBrowserSet as follows: put url "http://wiki.architex.tv/G?strow " revBrowserSet browserID, "url", "http://wiki.architex.tv/G?strow " does not work (it fetches the wrong url). Instead you need to use: put url "http://wiki.architex.tv/G%C3%BCstrow" > revBrowserSet browserID, "url", "http://wiki.architex.tv/G%C3%BCstrow" > So it seems that the way browser urls work, is that behind the scenes it translates the displayed url into utf8 and then urlencodes it. You can replicate this behavior using a function like the one below: function text_ToBrowserUrl someText -- if the platform is not "MacOS" then put isotomac (someText) into someText put uniencode (someText) into uText put unidecode (uText,"utf8") into utf8Text put urlencode(utf8Text) into urlText return urlText end text_ToBrowserUrl NB - you don't need to use the isotomac part - that's only there as I'm working on the Mac and Bj?rnke I guess is on the PC From richmondmathewson at gmail.com Sun Dec 6 11:51:01 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 06 Dec 2009 18:51:01 +0200 Subject: Text encoding problem In-Reply-To: References: <00A76558-5E24-479F-AA7F-858F48D73D24@mac.com> Message-ID: <4B1BE0F5.6020005@gmail.com> On 12/6/09 6:38 PM, David Bovill wrote: < snip > This whole more becomes more urgent when we realise that very shortly the WWW consortium is opening up web-address to non-Latin encoded addresses. Mind, you, I suspect that, at the beginning at least, the whole thing will be a "pig's breakfast." From jacque at hyperactivesw.com Sun Dec 6 12:15:27 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 06 Dec 2009 11:15:27 -0600 Subject: Found it!!! (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: <1jab7md.s0lr7gxusdgsM%mcdomi@free.fr> References: <1jab7md.s0lr7gxusdgsM%mcdomi@free.fr> Message-ID: <4B1BE6AF.8030600@hyperactivesw.com> Dom wrote: > J. Landman Gay wrote: > >> Did you change the javascript in the html file? That's all it needs. >> Also make sure the source parameter is the name of your mainstack in >> both cases. > > I tried hard ;-) > > Again and again... with no luck > -- until I noticed the"
" style parameters!!! > > the first DIV in given this parameter: "display: block" instead of > "display: none" as created by Media (or Studio*) > > the second DIV, which host the substack, is given NO display parameter > > and... that works!!! Good. :) The "DIV" is required. In the test pages I have, the "style" is the height and width of the stack, but I guess you could put any defined style in there. The second "div" is important, it should be "none" so that the browser will know where the user should download the plugin if they don't already have it. > > so, it was more of a page problem, than a stack problem ;-) That's been my problem too. I suddenly have to learn a lot more about HTML than I did before. > > * with Studio I can't help Studio creating Mac and Windows standalone, > along with the "Web" standalone Did you turn off that option in Standalone Settings? There is a main toggle checkbox in each of the OS panes of Standalone Settings. I have no trouble creating only web apps when I do that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mcdomi at free.fr Sun Dec 6 12:16:45 2009 From: mcdomi at free.fr (Dom) Date: Sun, 6 Dec 2009 18:16:45 +0100 Subject: Found it!!! (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: <4B1BC8CA.1070805@gmail.com> Message-ID: <1jabel8.l34okr1m45jl1M%mcdomi@free.fr> Richmond Mathewson wrote: > Sorry to hear * that Dom; what exactly do you mean by: > > "with Studio I can't help Studio creating Mac and Windows standalone, > along with the "Web" standalone" > > I just created 4 standalones (Mac, Win, Lin and Web) from 1 stack (on > a Mac computer) with Studio. What I need is only a _Web_ app, not the Mac & Windows ones ;-) With Media*, I get only the wanted *.revlet With Studio, I get 3 "apps" ;-) *I Know that Media is unable to create Mac and Windows standalones From richmondmathewson at gmail.com Sun Dec 6 12:41:46 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 06 Dec 2009 19:41:46 +0200 Subject: Found it!!! (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: <1jabel8.l34okr1m45jl1M%mcdomi@free.fr> References: <1jabel8.l34okr1m45jl1M%mcdomi@free.fr> Message-ID: <4B1BECDA.9050208@gmail.com> On 12/6/09 7:16 PM, Dom wrote: > Richmond Mathewson wrote: > > >> Sorry to hear * that Dom; what exactly do you mean by: >> >> "with Studio I can't help Studio creating Mac and Windows standalone, >> along with the "Web" standalone" >> >> I just created 4 standalones (Mac, Win, Lin and Web) from 1 stack (on >> a Mac computer) with Studio. >> > What I need is only a _Web_ app, not the Mac& Windows ones ;-) > OK: Go to menu File / Standalone Application Settings... When the Standalone Window opens you will see icons along the top: General Stacks Copy File Mac OS OS X Windows Unix Web Bug Reports Click on the 'OS X' icon and DESELECT the "Build for Mac" Checkbox Click on the 'Windows' icon and DESELECT the "Build for Windows" Checkbox Click on the 'Web' icon and SELECT the 'Build for Web' Checkbox Close the Standalone Window SAVE your stack! Go to menu File / Save As Standalone Application... Cross your fingers. Love, Richmond. > With Media*, I get only the wanted *.revlet > With Studio, I get 3 "apps" ;-) > > *I Know that Media is unable to create Mac and Windows standalones > > > From mcdomi at free.fr Sun Dec 6 12:56:07 2009 From: mcdomi at free.fr (Dom) Date: Sun, 6 Dec 2009 18:56:07 +0100 Subject: Found it!!! (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: <4B1BE6AF.8030600@hyperactivesw.com> Message-ID: <1jabgk1.oco3acxggz5vM%mcdomi@free.fr> J. Landman Gay wrote: > > * with Studio I can't help Studio creating Mac and Windows standalone, > > along with the "Web" standalone > > Did you turn off that option in Standalone Settings? There is a main > toggle checkbox in each of the OS panes of Standalone Settings. I have > no trouble creating only web apps when I do that. OKay, I went through ALL tabs, and deselected those I don't need :-) From mcdomi at free.fr Sun Dec 6 12:57:59 2009 From: mcdomi at free.fr (Dom) Date: Sun, 6 Dec 2009 18:57:59 +0100 Subject: Found it!!! (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: <4B1BECDA.9050208@gmail.com> Message-ID: <1jabgnt.1r88llnal15ohM%mcdomi@free.fr> Richmond Mathewson wrote: > Cross your fingers. Done :-) From eric.miclo at wanadoo.fr Sun Dec 6 14:17:53 2009 From: eric.miclo at wanadoo.fr (=?iso-8859-1?Q?=C9ric_Miclo?=) Date: Sun, 6 Dec 2009 20:17:53 +0100 Subject: 2 Datagrid questions In-Reply-To: References: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> Message-ID: <6FA6ABDC-C032-4BAF-81FF-5131886B34ED@wanadoo.fr> Hello, I'd have 2 questions about DataGrid: - is there a way to completely deactivation sorting of a DataGrid. I only want to display the data in the order it was entered. - is it possible to get the data from a particular column from a DataGrid, and if yes how (I've looked at the doc, found something, but for the moment I'm unable to get it working). Thanks for any help. Best regards, ?rIC From richmondmathewson at gmail.com Sun Dec 6 15:25:08 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 06 Dec 2009 22:25:08 +0200 Subject: 2 Datagrid questions In-Reply-To: <6FA6ABDC-C032-4BAF-81FF-5131886B34ED@wanadoo.fr> References: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> <6FA6ABDC-C032-4BAF-81FF-5131886B34ED@wanadoo.fr> Message-ID: <4B1C1324.7040606@gmail.com> On 12/6/09 9:17 PM, ?ric Miclo wrote: > Hello, > > I'd have 2 questions about DataGrid: > > - is there a way to completely deactivation sorting of a DataGrid. I only want to display the data in the order it was entered. > > - is it possible to get the data from a particular column from a DataGrid, and if yes how (I've looked at the doc, found something, but for the moment I'm unable to get it working). > > I'm sorry, it took me 30 minutes because I didn't realise that a datagrid is really just a group of groups of little fields: http://andregarzia.on-rev.com/richmond/EXTRACTOR.rev.zip Not rocket science, but it works. Love, Richmond. From eric.miclo at wanadoo.fr Sun Dec 6 15:53:51 2009 From: eric.miclo at wanadoo.fr (=?iso-8859-1?Q?=C9ric_Miclo?=) Date: Sun, 6 Dec 2009 21:53:51 +0100 Subject: 2 Datagrid questions In-Reply-To: <4B1C1324.7040606@gmail.com> References: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> <6FA6ABDC-C032-4BAF-81FF-5131886B34ED@wanadoo.fr> <4B1C1324.7040606@gmail.com> Message-ID: <02A0A808-E1AA-4FD7-9C0D-0853B65250F3@wanadoo.fr> Hello Richmond, Well, I was not precise enough. I wanted to know if there is a "direct" function to extract a column's data without having to use a repeat loop. I'm not sure I understand right what's in DataGrid's doc pages 65-66. Thanks for your time and proposition. Warmest regards, ?rIC Le 6 d?c. 2009 ? 21:25, Richmond Mathewson a ?crit : > > On 12/6/09 9:17 PM, ?ric Miclo wrote: >> Hello, >> >> I'd have 2 questions about DataGrid: >> >> - is there a way to completely deactivation sorting of a DataGrid. I only want to display the data in the order it was entered. >> >> - is it possible to get the data from a particular column from a DataGrid, and if yes how (I've looked at the doc, found something, but for the moment I'm unable to get it working). >> >> > > I'm sorry, it took me 30 minutes because I didn't realise that > a datagrid is really just a group of groups of little fields: > > http://andregarzia.on-rev.com/richmond/EXTRACTOR.rev.zip > > Not rocket science, but it works. > > Love, Richmond. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- My NeXT computer will Be a Mac too! -- From richmondmathewson at gmail.com Sun Dec 6 16:18:26 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 06 Dec 2009 23:18:26 +0200 Subject: 2 Datagrid questions In-Reply-To: <02A0A808-E1AA-4FD7-9C0D-0853B65250F3@wanadoo.fr> References: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> <6FA6ABDC-C032-4BAF-81FF-5131886B34ED@wanadoo.fr> <4B1C1324.7040606@gmail.com> <02A0A808-E1AA-4FD7-9C0D-0853B65250F3@wanadoo.fr> Message-ID: <4B1C1FA2.1010402@gmail.com> On 12/6/09 10:53 PM, ?ric Miclo wrote: > Hello Richmond, > > Well, I was not precise enough. > I wanted to know if there is a "direct" function to extract a column's data without having to use a repeat loop. > I'm not sure I understand right what's in DataGrid's doc pages 65-66. > Thanks for your time and proposition. > > I am not sure whether that is possible. When I popped together the EXTRACTOR stack I expected to have a script of this sort: put column "VEGETABLES" of dataGrid "FOOD" into fld "VEGGIES" or put the lines of column "VEGETABLES" of dataGrid "FOOD" into the lines of fld "VEGGIES" but that was because I have paid almost no attention to datagrids (more fool me) and did not realise that they are not really objects in the sense that fields are, but are composite creatures, and their components have to be addressed rather than the dataGrid as a whole. The thing that shocked me was that on looking at the Preferences palette for my dataGrid I saw it called a 'group' . . . and things went badly downhill from there. From bill at bluewatermaritime.com Sun Dec 6 16:56:03 2009 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 6 Dec 2009 17:56:03 -0400 Subject: 2 Datagrid questions In-Reply-To: <4B1C1FA2.1010402@gmail.com> References: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> <6FA6ABDC-C032-4BAF-81FF-5131886B34ED@wanadoo.fr> <4B1C1324.7040606@gmail.com> <02A0A808-E1AA-4FD7-9C0D-0853B65250F3@wanadoo.fr> <4B1C1FA2.1010402@gmail.com> Message-ID: <459b22a90912061356j6f4781c9t36d683ed9b8060f@mail.gmail.com> Richard I just used your stack to test putting data into another stack from a substack and it worked perfectly. So thanks for that. Now I know that there is something seriously screwy with my stack project. Oh well. Bill On Sun, Dec 6, 2009 at 5:18 PM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > On 12/6/09 10:53 PM, ?ric Miclo wrote: > >> Hello Richmond, >> >> Well, I was not precise enough. >> I wanted to know if there is a "direct" function to extract a column's >> data without having to use a repeat loop. >> I'm not sure I understand right what's in DataGrid's doc pages 65-66. >> Thanks for your time and proposition. >> >> >> > > I am not sure whether that is possible. > > When I popped together the EXTRACTOR stack I expected to have a script of > this sort: > > put column "VEGETABLES" of dataGrid "FOOD" into fld "VEGGIES" > > or > > put the lines of column "VEGETABLES" of dataGrid "FOOD" into the lines of > fld "VEGGIES" > > but that was because I have paid almost no attention to datagrids (more > fool me) > and did not realise that they are not really objects in the sense that > fields are, but are > composite creatures, and their components have to be addressed rather than > the > dataGrid as a whole. > > The thing that shocked me was that on looking at the Preferences palette > for my > dataGrid I saw it called a 'group' . . . and things went badly downhill > from there. > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 From jerry.daniels at me.com Sun Dec 6 19:04:32 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Sun, 6 Dec 2009 18:04:32 -0600 Subject: [ANN] Free tText plugins: Do Shell & Speak2Me Message-ID: Fellow developers, We have just posted two more new free plugins for tText: Speck2Me, which speaks any text in the editor, and Do Shell which executes any text in one tab and puts the results into another. These plugins are fully editable in Revolution. http://reveditor.com/free-ttext-plugins-do-shell-and-speak2me To view all free tText plugins on our site: http://reveditor.com/tag/ttextpluginfree Thanks to Obleo Beck who sent these little gems into us. Obleo developed these plugins for his own use on his Mac and notes there may be some limitations to their use on Windows. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-your-handlers From wjm at wjm.org Sun Dec 6 19:09:00 2009 From: wjm at wjm.org (Bill Marriott) Date: Sun, 6 Dec 2009 19:09:00 -0500 Subject: [Mandelbrot] Code Samples/Comparisons Message-ID: Hi Mark, >>> what about using task/code examples from >>> http://shootout.alioth.debian.org/. Revcoders (us, runrev ltd?..) will >> I think that's a great idea. > Sorry, Kevin, I think it's a Very Bad Idea. Thanks so much for taking the time to do this! But I think it's a *great* example, and I am going to show you why. Let's start out with a few observations: - How "practical" is this? I took a closer look at the site. http://shootout.alioth.debian.org/u64/benchmark.php?test=mandelbrot&lang=all&box=1 The goal of the routine is to generate a mandelbrot image in the .PBM format. Now, this has some relevance I suppose in testing CPU performance, but not exactly in the real world. How many programs read PBM, for one? None on my Mac, but Photoshop and Paint Shop Pro could read it on my Windows PC. How fun is it to run this program, then load the result up in a graphics editor? About as much fun as punch-card, batch programming. - The original Pascal program (or at least your transliteration of it) *has a bug!* Give the output file an extension of .pbm and load it into a program that can read that format. You'll find that the image is skewed more and more as the dimensions increase. http://revuser.com/mandel/orig-600.png In either Pascal or revTalk, as coded, it's going to be a challenge to find out where that bug lies. - It doesn't seem like it was that hard to "transliterate" the original Pascal code. I was impressed by the similarities, actually. Even then, there are portions of your revTalk version that are a little more readable. Since the vast majority of this is mathematics, and we're not out to reinvent algebraic notation, you're right that it's not the best showcase. Math is going to be math in any programming language. It's certainly not *less* readable. What makes it hard is the Mandelbrot formulas and especially the encoding into .pbm format (which is what requires all those bit operations. (Maybe all of the examples from that site are like this?) - Pascal is considered a pretty "easy" language. Did you check out what the "solution" looks like in Java? http://shootout.alioth.debian.org/u64/benchmark.php?test=mandelbrot&lang=javaxint&id=3 In C++? http://shootout.alioth.debian.org/u64/benchmark.php?test=mandelbrot&lang=gpp&id=5 Woah! :) - Well our performance is a is a bit disappointing relative to the "command line" Pascal version, we *do* beat out variants of PHP, Python, Ruby, and Perl, depending on what your processor was versus the one used for the benchmarks. - You were able to add a nice GUI file selector dialog trivially. Now, imagine that your goal isn't to produce a .pbm image, but rather to show something on-0screen the user could interact with in some way. Things get more interesting. This is where Rev starts to shine. The further away you get from "pure" math and have to get into user interface, interaction with local and remote file systems, manipulating data sets, and business logic issues, the better we look. Our language abstracts the operating system, so developers don't need to be concerned with the proper API to call for common tasks. - Most (but not all) of us are not using Rev to generate Mandelbrot data. We're creating usable applications for business tasks, entertainment and educational software, database front-ends, etc. It might well be that this site/link is all about these kinds of math-intensive routines. I didn't look too closely at them, admittedly. What I did like about Viktoras' suggestion was that he found a site with some sample code in a variety of languages. I think it's healthy for us to look for such examples and discover the strengths and weaknesses that emerge when we try to express them in revTalk. My take on the "productivity" equation is that it's not merely the number of lines of code produced, and it's ultimately not even how fast the code executes. In most situations, it's how long it takes to express the algorithm, and debug it later on. To encapsulate algorithms in flexible user interfaces. To take things to an extreme: a routine built with machine code or assembly will always execute faster than one built in a high-level language. But how many of us could sit down and write a database front-end in assembly? How long would it take? How usable and adaptable would it be? Another way to look at things is from the artist's viewpoint. There are people who will never touch digital photography because they are expert at the analog process. There are illustrators who will never give up their charcoals. There are Lego builders who spurn the non-rectangular bricks! And thank heaven for them, because I respect the desire for control and attention to nuance. In a similar vein, other languages can indeed reward sweating details like what kind of number you're trying to store, manually allocating and releasing memory, etc. We're not promising to be the tool that lets you rewrite OpenGL or even build a competitor to Excel. Instead, we're a tool that complements these other technologies, and opens up the idea that -- for example -- instead of spending hours "steering" Excel you might automate your workflow such that data acquisition, processing, and presentation might all be handled with a single click. Enough pontificating eh? Let's get to coding. I'm going to deliver on my promise to show you why this actually shows off why Rev is so fantastic. I was intrigued by this example, because Mandelbrots are beautiful things. I knew they had something to do with imaginary numbers, that they are infinitely variable -- you can zoom in on them forever and not find a repeated pattern. But I didn't understand the math, so of course I couldn't really analyze the original Pascal code effectively. I had to become a "mini" content expert. So I read up on Mandelbrots. I found some useful pages: http://www.wikihow.com/Plot-the-Mandelbrot-Set-By-Hand http://www.olympus.net/personal/dewey/mandelbrot.html and especially http://steve.hollasch.net/cgindex/misc/mandelbrot.html Now I was getting somewhere. I learned that a Mandelbrot is a graph where the x axis represents a "real" number, and the y axis represents an imaginary number (a number involving the element "i" -- which is the square root of -1). The unique thing about a Mandelbrot set is that you don't know for sure whether a given coordinate is within the set until you test it iteratively. Some coordinates reveal themselves to be part of the set quickly, and some not so quickly. The "depth" you have to go in this iterative calculation varies for each coordinate. It also involves a kind of "digital sampling" phenomenon, where things look different depending on the "resolution" at which you're charting. That hardly covers the whole topic, but it was enough to give me a handle on what the routines were trying to do. I found George Taylor's page to be much more useful than the Pascal code as a launch point for understanding how to chart a Mandelbrot in revTalk. For one thing, he didn't break it up into multiple nested functions, which made it easier for me to understand. Second, I'm much more familiar with BASIC from my early days with the Sinclair ZX81 than I am with Pascal. I took his code example: INPUT "Initial Real value of C",CRL INPUT "Final Real value of C",CRH INPUT "Initial Imaginary value of C",CIL INPUT "Final Imaginary value of C",CIH INPUT "Iteration limit",MAXITER WIDTH=320 HEIGHT=200 XSIZE=(CRH-CRL)/(WIDTH-1) YSIZE=(CIH-CIL)/(HEIGHT-1) FOR Y=0 TO 199 CI=CIH-Y*YSIZE FOR X=0 TO 319 CR=X*XSIZE+CRL REM Now CR, CI are scaled REM Do Z<-Z^2+C iteration MEMBER=TRUE ZR=0 ZI=0 FOR I=1 TO MAXITER NEWZR=ZR*ZR-ZI*ZI+CR NEWZI=2*ZR*ZI+CI ZR=NEWZR ZI=NEWZI Z=SQR(ZR*ZR+ZI*ZI) IF Z>2 THEN MEMBER=FALSE EXIT (exits the FOR loop) ENDIF NEXT I IF MEMBER=TRUE THEN PLOT X,Y ELSEIF ((MAXITER-I) AND 1)=0 THEN PLOT X,Y ENDIF NEXT X NEXT Y END And I did my own revTalk translation, this time making generous use of long variable names that made more sense to me: on mouseUp put fld "cRstart" into cRstart put fld "cRend" into cRend put fld "cIstart" into cIstart put fld "cIend" into cIend put fld "maxIterations" into maxIterations put fld "myWidth" into myWidth put fld "myHeight" into myHeight put (cRend-cRstart)/(myWidth-1) into plotWidth put (cIend-cIstart)/(myHeight-1) into plotHeight -- for each y-axis value (scaled) repeat with y=0 to myHeight-1 put cIend-y*plotHeight into cImaginary -- for each x-axis value (scaled) repeat with x=0 to myWidth-1 put x*plotWidth+cRstart into cReal -- test the coordinate iteratively put true into itBelongs put 0 into zReal; put 0 into zImaginary repeat with i = 1 to maxIterations put zReal * zReal - zImaginary * zImaginary + cReal into newZreal put 2*zReal*zImaginary+cImaginary into newZimaginary put newZreal into zReal; put newZimaginary into zImaginary put sqrt(zReal*zReal+zImaginary*zImaginary) into z if z>2 then put false into itBelongs exit repeat end if if z> 2 then exit repeat end repeat if itBelongs then put i into myPlot[x][y] else if maxIterations-i > 0 then put i into myPlot[x][y] end if end if end repeat end repeat end mouseUp Now you'll notice that even now I'm able to do something a little different from Taylor's original algorithm. Where he says, "plot x,y" -- which marks the pixel at x,y black -- I store i within a multi-dimensional array. This stores the number of generations it took to determine whether x,y was part of the Mandelbrot set. It will enable me to produce a prettier graph, and also separates the output code (whether I'm going to create a .pbm file or display on-screen or do something else from it) from the code used to generate the Mandelbrot itself. Showing the image on-screen in Rev was a piece of cake, relative to creating a .pbm file. repeat with y=0 to myHeight-1 repeat with x=0 to myWidth-1 -- more iterations yields a lighter color put numToChar(trunc(myPlot[x][y]/maxIterations*256)) into c -- create a shade of grey put numToChar(0) & c & c & c after bitmapData end repeat end repeat set the width of image "mandelPlot" to myWidth set the height of image "mandelPlot" to myHeight set the imageData of image "mandelPlot" to bitmapData That's because the imageData is simply four whole bytes representing 0 and the R, G, B values of the pixel. Inefficient perhaps, but really simple. No bitwise operations unless I really need to (and I won't need to, since Rev can export snapshots to a variety of common formats). It didn't take me much work to display a beautiful, greyscale image of a real Mandelbrot on-screen. Plus I had a nice UI that would let me set all the parameters of the equation visually. I had one final thing I wanted to do, and that was to make it so I could "zoom in" on the Mandelbrot to explore its infinitely variable nature. All I did was overlay a graphic on top of the "mandelPlot" image I created, then attach a script which would make note of where I clicked on it, set that as the new origin, and set a new scale around that point. My "finished" stack is at: http://revuser.com/mandel/MyMandelbrot.zip I would say that I got much further along exploring and understanding the magic of fractals. In the end, I'm looking at a 300x300 or maybe a 900x900 screen image; I'm not generating 16,000x16,000 bitmaps. So it doesn't really matter if it takes 3 or 30 seconds to generate. I have a solution that has a nice user interface so I can tweak various settings and interactively see their effect on the graph. I already added niceties like a progress bar, and zooming. I could add more customizations like the ability to set the colors I want to use. The code I have written to generate the Mandelbrot is about as clear as it could be. (And I'd like to see what the Pascal or C++ code would be to replicate my little stack's UI/functionality!) By analogy, when constructing business applications, the "hard part" -- the part you have to get right -- should be understanding your business. It shouldn't be expressing that business logic/mechanics within code. Rev enabled me to focus on the science of Mandelbrots, not the mechanics of creating a bitmap. It allowed me to create a program that I could use to explore what Mandelbrots are in a beautiful, fun, engaging way. And if I ultimately decided that I needed blistering performance in rendering the graphs, I could always crack open my Pascal or C++ compiler and make an external that did the "heavy lifting" down the road. Look at it this way -- would an organization prefer a piece of code that runs in 3 seconds but does only one thing, and can't be modified except by the original coder? To change the parameters of the graph in Pascal, one must load up the compiler, edit the right bits of the code, do a "build" and all that stuff. Or, would you like an application like my stack, which might take 10 times longer to execute, but gives the end user a lot of control and flexibility to understand what's going on? Productivity isn't about processor cycles, and it's not always about lines of code. It's about how much one can accomplish with the knowledge they have. From revdev at pdslabs.net Sun Dec 6 19:59:30 2009 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 06 Dec 2009 16:59:30 -0800 Subject: finding revlet limits in a controlled environment Message-ID: <4B1C5372.50803@pdslabs.net> Hello - My client wants to sell revlet-based software to his customers in a large US govt agency. If they are able to download & install the revweb plugin, we don't know what limitations to a revlet's capabilities might be enforced by IT in their computing environment. To answer this question, we've built a web site his customers can use in their world that steps them through a series of revlets that each try different kinds of activity. The activities include: * load the plugin and do nothing * create, read, rename, delete a file on the local HD * get a web URL (google.com) * run a shell command ("dir" or "ls") * create, delete a stack in memory; get a stackfile from a web server * print to their printer Those are all the tests so far. The test web site emails the revlet test results back to me. Now my question: Are we testing the right things? If not, what else should we test for? Thanks for any feedback. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From infinite00 at embarqmail.com Sun Dec 6 20:16:22 2009 From: infinite00 at embarqmail.com (Bruce Pokras) Date: Sun, 6 Dec 2009 20:16:22 -0500 Subject: Noise in Windows icon when standalone compiled on Mac In-Reply-To: <17DDB61B-878F-461A-9329-76F826736CB7@theworcestersource.com> References: <17DDB61B-878F-461A-9329-76F826736CB7@theworcestersource.com> Message-ID: Something changed in Rev Enterprise 4.0 from 3.5. When I compile standalones, the Mac standalone's icon is fine, but the Windows standalone's icon is noisy. When I compile the same stack under Rev 3.5, the Windows standalone's icon is fine. Anyone else see this? I have an Intel iMac running the last Tiger version. Regards, Bruce Pokras Blazing Dawn Software www.blazingdawn.com From revdev at pdslabs.net Sun Dec 6 20:37:32 2009 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 06 Dec 2009 17:37:32 -0800 Subject: [Mandelbrot] Code Samples/Comparisons In-Reply-To: References: Message-ID: <4B1C5C5C.2040907@pdslabs.net> Bill Marriott wrote: > Productivity isn't about processor cycles, and it's not always about > lines > of code. It's about how much one can accomplish with the knowledge > they have. I WILL be quoting you, Bill! That's a good one. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From tsj at unimelb.edu.au Sun Dec 6 23:15:44 2009 From: tsj at unimelb.edu.au (tsj) Date: Mon, 07 Dec 2009 15:15:44 +1100 Subject: revBrowser and windowshape - Windows bug? In-Reply-To: Message-ID: Can anyone confirm that revBrowser doesn't work when you have the stack's windowShape set under Windows (seems to be OK on OSX). Terry... From lan.kc.macmail at gmail.com Mon Dec 7 01:08:42 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 7 Dec 2009 14:08:42 +0800 Subject: OT: Panorama software In-Reply-To: <4B1B1821.4070707@hindu.org> References: <4B1B1821.4070707@hindu.org> Message-ID: I've had great results from Hugin but have never attempted to do 360? overhead. As with everything, experience makes a difference. Hand held, rough-eyed overlap sometimes worked with the 'auto' function of Hugin, but most times had to hand pick the 'control points', and some times would have to start all over the end product was so unusable. With a tripod and and allowing generous 1/3 screen overlaps, the auto function invariable worked and the results were perfect for my non-commercial requirements. YMMV. For taking single shot 360 panoramas one of these are pretty cool, but expensive: http://www.0-360.com/index.asp#Optic HTH On Sun, Dec 6, 2009 at 10:34 AM, Sivakatirswami wrote: > I keep dreaming that one day I will get beyond admin and have time to do > some "creative" well it may be soon. > > What are everyone recommendations as of 2010 > > for best tools for creating panoramas (including 360 degree horizontal over > head ones) on Mac OSX? > > I see a an open source package which runs on Macs: > > Hugin -- Free > > http://hugin.sourceforge.net/download/ > > Autopano gets great reviews but $$379.00 seems a bit outrageous? > > Panoweaver only outputs Flash... > > Lots of windows only options which I can't use. > > ?? > > Sivakatirswami > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Kresten.Bjerg at psy.ku.dk Mon Dec 7 07:00:44 2009 From: Kresten.Bjerg at psy.ku.dk (Kresten Bjerg) Date: Mon, 7 Dec 2009 13:00:44 +0100 Subject: How do I construct a scroll bar for stack larger than screen Message-ID: <7A47FC91544BDC44B54C6807E6995019015C8288@ibtmail1.ibt.ku.dk.ad> Thanks for reply. Unfortunately I am too ignorant to understand the implication: I understand, that I will have to place a vertical scrollbar, outside of all the fields and all the buttons in the window (and as users will be placing buttons not yet included I cannot group those). Let me complete the picture: The stack is actually even wider: It covers 9 windows (3x3) 3072 pix wide, 2304 pix high (and a Palette, which hides the parts which lies outside the selected window-introduced when screensizes grew beyond the powerbook screensize.) So I guess I will need to place scrollbars in all 9 windows. If their reference could be to the total stack-size, I guess they should just be copies of each other. But how do I specify their function ? Hopefully Kresten From viktoras at ekoinf.net Mon Dec 7 07:28:17 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Mon, 07 Dec 2009 12:28:17 +0000 Subject: [Mandelbrot] Code Samples/Comparisons In-Reply-To: References: Message-ID: <4B1CF4E1.1010605@ekoinf.net> Well written! It was a pleasure to read, you need to put at least part of this text somewhere on the http://www.runrev.com/ website :-) All the best! Viktoras Bill Marriott wrote: ---- > Thanks so much for taking the time to do this! But I think it's a *great* > example, and I am going to show you why. > > Let's start out with a few observations: > > - How "practical" is this? I took a closer look at the site. > > http://shootout.alioth.debian.org/u64/benchmark.php?test=mandelbrot&lang=all&box=1 > > > The goal of the routine is to generate a mandelbrot image in the .PBM > format. Now, this has some relevance I suppose in testing CPU > performance, > but not exactly in the real world. How many programs read PBM, for > one? None > on my Mac, but Photoshop and Paint Shop Pro could read it on my > Windows PC. > How fun is it to run this program, then load the result up in a graphics > editor? About as much fun as punch-card, batch programming. > > - The original Pascal program (or at least your transliteration of it) > *has > a bug!* Give the output file an extension of .pbm and load it into a > program > that can read that format. You'll find that the image is skewed more and > more as the dimensions increase. > > http://revuser.com/mandel/orig-600.png > > In either Pascal or revTalk, as coded, it's going to be a challenge to > find > out where that bug lies. > > - It doesn't seem like it was that hard to "transliterate" the original > Pascal code. I was impressed by the similarities, actually. Even then, > there > are portions of your revTalk version that are a little more readable. > Since > the vast majority of this is mathematics, and we're not out to reinvent > algebraic notation, you're right that it's not the best showcase. Math is > going to be math in any programming language. It's certainly not *less* > readable. What makes it hard is the Mandelbrot formulas and especially > the > encoding into .pbm format (which is what requires all those bit > operations. > (Maybe all of the examples from that site are like this?) > > - Pascal is considered a pretty "easy" language. Did you check out > what the > "solution" looks like in Java? > > http://shootout.alioth.debian.org/u64/benchmark.php?test=mandelbrot&lang=javaxint&id=3 > > > In C++? > > http://shootout.alioth.debian.org/u64/benchmark.php?test=mandelbrot&lang=gpp&id=5 > > > Woah! :) > > - Well our performance is a is a bit disappointing relative to the > "command > line" Pascal version, we *do* beat out variants of PHP, Python, Ruby, and > Perl, depending on what your processor was versus the one used for the > benchmarks. > > - You were able to add a nice GUI file selector dialog trivially. Now, > imagine that your goal isn't to produce a .pbm image, but rather to show > something on-0screen the user could interact with in some way. Things > get more interesting. This is where Rev starts to shine. The > further away you get from "pure" math and have to get into user > interface, > interaction with local and remote file systems, manipulating data > sets, and > business logic issues, the better we look. Our language abstracts the > operating system, so developers don't need to be concerned with the > proper > API to call for common tasks. > > - Most (but not all) of us are not using Rev to generate Mandelbrot data. > We're creating usable applications for business tasks, entertainment and > educational software, database front-ends, etc. It might well be that > this > site/link is all about these kinds of math-intensive routines. I > didn't look > too closely at them, admittedly. What I did like about Viktoras' > suggestion > was that he found a site with some sample code in a variety of > languages. I > think it's healthy for us to look for such examples and discover the > strengths and weaknesses that emerge when we try to express them in > revTalk. > > My take on the "productivity" equation is that it's not merely the > number of > lines of code produced, and it's ultimately not even how fast the code > executes. In most situations, it's how long it takes to express the > algorithm, and debug it later on. To encapsulate algorithms in > flexible user > interfaces. To take things to an extreme: a routine > built with machine code or assembly will always execute faster than one > built in a high-level language. But how many of us could sit down and > write > a database front-end in assembly? How long would it take? How usable and > adaptable would it be? > > Another way to look at things is from the artist's viewpoint. There are > people who will never touch digital photography because they are > expert at > the analog process. There are illustrators who will never give up their > charcoals. There are Lego builders who spurn the non-rectangular > bricks! And > thank heaven for them, because I respect the desire for control and > attention to nuance. In a similar vein, other languages can indeed reward > sweating details like what kind of number you're trying to store, > manually > allocating and releasing memory, etc. > > We're not promising to be the tool that lets you rewrite OpenGL or even > build a competitor to Excel. Instead, we're a tool that complements these > other technologies, and opens up the idea that -- for example -- > instead of > spending hours "steering" Excel you might automate your workflow such > that > data acquisition, processing, and presentation might all be handled > with a > single click. > > Enough pontificating eh? Let's get to coding. I'm going to deliver on my > promise to show you why this actually shows off why Rev is so fantastic. > > I was intrigued by this example, because Mandelbrots are beautiful > things. I > knew they had something to do with imaginary numbers, that they are > infinitely variable -- you can zoom in on them forever and not find a > repeated pattern. But I didn't understand the math, so of course I > couldn't > really analyze the original Pascal code effectively. > > I had to become a "mini" content expert. So I read up on Mandelbrots. I > found some useful pages: > > http://www.wikihow.com/Plot-the-Mandelbrot-Set-By-Hand > > http://www.olympus.net/personal/dewey/mandelbrot.html > > and especially > > http://steve.hollasch.net/cgindex/misc/mandelbrot.html > > Now I was getting somewhere. I learned that a Mandelbrot is a graph where > the x axis represents a "real" number, and the y axis represents an > imaginary number (a number involving the element "i" -- which is the > square > root of -1). The unique thing about a Mandelbrot set is that you don't > know > for sure whether a given coordinate is within the set until you test it > iteratively. Some coordinates reveal themselves to be part of the set > quickly, and some not so quickly. The "depth" you have to go in this > iterative calculation varies for each coordinate. It also involves a > kind of > "digital sampling" phenomenon, where things look different depending > on the > "resolution" at which you're charting. That hardly covers the whole > topic, > but it was enough to give me a handle on what the routines were trying to > do. > > I found George Taylor's page to be much more useful than the Pascal > code as > a launch point for understanding how to chart a Mandelbrot in revTalk. > For > one thing, he didn't break it up into multiple nested functions, which > made > it easier for me to understand. Second, I'm much more familiar with BASIC > from my early days with the Sinclair ZX81 than I am with Pascal. I > took his > code example: > > INPUT "Initial Real value of C",CRL > INPUT "Final Real value of C",CRH > INPUT "Initial Imaginary value of C",CIL > INPUT "Final Imaginary value of C",CIH > INPUT "Iteration limit",MAXITER > WIDTH=320 > HEIGHT=200 > XSIZE=(CRH-CRL)/(WIDTH-1) > YSIZE=(CIH-CIL)/(HEIGHT-1) > FOR Y=0 TO 199 > CI=CIH-Y*YSIZE > FOR X=0 TO 319 > CR=X*XSIZE+CRL > REM Now CR, CI are scaled > REM Do Z<-Z^2+C iteration > MEMBER=TRUE > ZR=0 > ZI=0 > FOR I=1 TO MAXITER > NEWZR=ZR*ZR-ZI*ZI+CR > NEWZI=2*ZR*ZI+CI > ZR=NEWZR > ZI=NEWZI > Z=SQR(ZR*ZR+ZI*ZI) > IF Z>2 THEN > MEMBER=FALSE > EXIT (exits the FOR loop) > ENDIF > NEXT I > IF MEMBER=TRUE THEN > PLOT X,Y > ELSEIF ((MAXITER-I) AND 1)=0 THEN > PLOT X,Y > ENDIF > NEXT X > NEXT Y > END > > And I did my own revTalk translation, this time making generous use of > long > variable names that made more sense to me: > > on mouseUp > put fld "cRstart" into cRstart > put fld "cRend" into cRend > put fld "cIstart" into cIstart > put fld "cIend" into cIend > put fld "maxIterations" into maxIterations > put fld "myWidth" into myWidth > put fld "myHeight" into myHeight > > put (cRend-cRstart)/(myWidth-1) into plotWidth > put (cIend-cIstart)/(myHeight-1) into plotHeight > > -- for each y-axis value (scaled) > repeat with y=0 to myHeight-1 > put cIend-y*plotHeight into cImaginary > > -- for each x-axis value (scaled) > repeat with x=0 to myWidth-1 > put x*plotWidth+cRstart into cReal > > -- test the coordinate iteratively > put true into itBelongs > put 0 into zReal; put 0 into zImaginary > > repeat with i = 1 to maxIterations > > put zReal * zReal - zImaginary * zImaginary + cReal into newZreal > put 2*zReal*zImaginary+cImaginary into newZimaginary > > put newZreal into zReal; put newZimaginary into zImaginary > put sqrt(zReal*zReal+zImaginary*zImaginary) into z > > if z>2 then > put false into itBelongs > exit repeat > end if > > if z> 2 then exit repeat > > end repeat > > if itBelongs then > put i into myPlot[x][y] > else > if maxIterations-i > 0 then > put i into myPlot[x][y] > end if > end if > > end repeat > end repeat > end mouseUp > > Now you'll notice that even now I'm able to do something a little > different > from Taylor's original algorithm. Where he says, "plot x,y" -- which > marks > the pixel at x,y black -- I store i within a multi-dimensional array. > This > stores the number of generations it took to determine whether x,y was > part > of > the Mandelbrot set. It will enable me to produce a prettier graph, and > also > separates the output code (whether I'm going to create a .pbm file or > display > on-screen or do something else from it) from the code used to generate > the > Mandelbrot itself. > > Showing the image on-screen in Rev was a piece of cake, relative to > creating > a .pbm file. > > repeat with y=0 to myHeight-1 > repeat with x=0 to myWidth-1 > -- more iterations yields a lighter color > put numToChar(trunc(myPlot[x][y]/maxIterations*256)) into c > -- create a shade of grey > put numToChar(0) & c & c & c after bitmapData > end repeat > end repeat > set the width of image "mandelPlot" to myWidth > set the height of image "mandelPlot" to myHeight > set the imageData of image "mandelPlot" to bitmapData > > That's because the imageData is simply four whole bytes representing 0 > and > the R, G, B values of the pixel. Inefficient perhaps, but really > simple. No > bitwise > operations unless I really need to (and I won't need to, since Rev can > export > snapshots to a variety of common formats). > > It didn't take me much work to display a beautiful, greyscale image of a > real Mandelbrot on-screen. Plus I had a nice UI that would let me set all > the parameters of the equation visually. I had one final thing I > wanted to > do, and that was to make it so I could "zoom in" on the Mandelbrot to > explore its infinitely variable nature. > > All I did was overlay a graphic on top of the "mandelPlot" image I > created, > then attach a script which would make note of where I clicked on it, set > that as the new origin, and set a new scale around that point. > > My "finished" stack is at: > > http://revuser.com/mandel/MyMandelbrot.zip > > I would say that I got much further along exploring and understanding the > magic of fractals. In the end, I'm looking at a 300x300 or maybe a > 900x900 > screen image; I'm not generating 16,000x16,000 bitmaps. So it doesn't > really > matter if it takes 3 or 30 seconds to generate. I have a solution that > has a > nice user interface so I can tweak various settings and interactively see > their effect on the graph. I already added niceties like a progress > bar, and > zooming. > > I could add more customizations like the ability to set the colors I > want to > use. The code I have written to generate the Mandelbrot is about as > clear as > it could be. (And I'd like to see what the Pascal or C++ code would be to > replicate my little stack's UI/functionality!) > > By analogy, when constructing business applications, the "hard part" > -- the > part you have to get right -- should be understanding your business. It > shouldn't be expressing that business logic/mechanics within code. Rev > enabled me to focus on the science of Mandelbrots, not the mechanics of > creating a bitmap. It allowed me to create a program that I could use to > explore what Mandelbrots are in a beautiful, fun, engaging way. And if I > ultimately decided that I needed blistering performance in rendering the > graphs, I could always crack open my Pascal or C++ compiler and make an > external that did the "heavy lifting" down the road. > > Look at it this way -- would an organization prefer a piece of code that > runs in 3 seconds but does only one thing, and can't be modified except > by the original coder? To change the parameters of the graph in Pascal, > one must load up the compiler, edit the right bits of the code, do a > "build" > and all that stuff. Or, would you like an application like my stack, > which > might > take 10 times longer to execute, but gives the end user a lot of control > and flexibility to understand what's going on? > > Productivity isn't about processor cycles, and it's not always about > lines > of code. It's about how much one can accomplish with the knowledge > they have. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From m.schonewille at economy-x-talk.com Mon Dec 7 08:03:11 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 7 Dec 2009 14:03:11 +0100 Subject: How do I construct a scroll bar for stack larger than screen In-Reply-To: <7A47FC91544BDC44B54C6807E6995019015C8288@ibtmail1.ibt.ku.dk.ad> References: <7A47FC91544BDC44B54C6807E6995019015C8288@ibtmail1.ibt.ku.dk.ad> Message-ID: <6C581F87-3C00-4C2A-A14D-E3F879D1AB05@economy-x-talk.com> Dear Kresten, Just follow the instructions. Select all objects, group, use the property inspector to give the group scrollbars. Once you have that and run into problems, just ask again. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Download Str?m Flow Chart Software http://flowproject.economy-x-talk.com Op 7 dec 2009, om 13:00 heeft Kresten Bjerg het volgende geschreven: > Thanks for reply. > > Unfortunately I am too ignorant to understand the implication: I > understand, that I will have to place a vertical scrollbar, outside of > all the fields and all the buttons in the window (and as users will be > placing buttons not yet included I cannot group those). > > Let me complete the picture: The stack is actually even wider: It > covers > 9 windows (3x3) 3072 pix wide, 2304 pix high (and a Palette, which > hides > the parts which lies outside the selected window-introduced when > screensizes grew beyond the powerbook screensize.) > > So I guess I will need to place scrollbars in all 9 windows. If their > reference could be to the total stack-size, I guess they should just > be > copies of each other. But how do I specify their function ? > > Hopefully > > Kresten From lists at mangomultimedia.com Mon Dec 7 08:55:57 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 7 Dec 2009 08:55:57 -0500 Subject: problem with sending functions to other cards over riding message path In-Reply-To: <459b22a90912060519p17a93cf6sc83e874a74cac12@mail.gmail.com> References: <459b22a90912051029ncb79a34s3868129c7acb692a@mail.gmail.com> <1260050886584-949418.post@n4.nabble.com> <459b22a90912051543qbba6103lba70698755d663c2@mail.gmail.com> <459b22a90912060519p17a93cf6sc83e874a74cac12@mail.gmail.com> Message-ID: On Dec 6, 2009, at 8:19 AM, william humphrey wrote: >> >> I solved this problem by using globals as I couldn't get the >> parameter to >>> pass any way I tried. It's a good thing that RunRev has so many >>> different >>> ways you can do the same thing. >> > The one thing I did conclude is that you can't load the dgData into a > DataGrid that is in another stack. Sure you can. Just make sure it is on an open card. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From lists at mangomultimedia.com Mon Dec 7 08:59:05 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 7 Dec 2009 08:59:05 -0500 Subject: 2 Datagrid questions In-Reply-To: <6FA6ABDC-C032-4BAF-81FF-5131886B34ED@wanadoo.fr> References: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> <6FA6ABDC-C032-4BAF-81FF-5131886B34ED@wanadoo.fr> Message-ID: On Dec 6, 2009, at 2:17 PM, ?ric Miclo wrote: > I'd have 2 questions about DataGrid: > > - is there a way to completely deactivation sorting of a DataGrid. I > only want to display the data in the order it was entered. The following lesson discusses how to disable sorting. How Do I Customize or Disable Column Sorting?: > - is it possible to get the data from a particular column from a > DataGrid, and if yes how (I've looked at the doc, found something, > but for the moment I'm unable to get it working). You would have to write your own accessor for that. The lesson that discusses aggregate values for columns should get you started. How Do I Get Aggregate Values for Columns?: -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From bill at bluewatermaritime.com Mon Dec 7 09:32:04 2009 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 7 Dec 2009 10:32:04 -0400 Subject: problem with sending functions to other cards over riding message path In-Reply-To: References: <459b22a90912051029ncb79a34s3868129c7acb692a@mail.gmail.com> <1260050886584-949418.post@n4.nabble.com> <459b22a90912051543qbba6103lba70698755d663c2@mail.gmail.com> <459b22a90912060519p17a93cf6sc83e874a74cac12@mail.gmail.com> Message-ID: <459b22a90912070632v483f29f4p467ced610a3e75df@mail.gmail.com> I found out later that there was/still is a problem with this particular stack as I couldn't duplicate dataGrid's lack of cooperation when I did it with another stack and substack. From andre at andregarzia.com Mon Dec 7 11:33:08 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Dec 2009 14:33:08 -0200 Subject: Is it possible to change the revlet embed html? In-Reply-To: <1ja9lfr.7o1tvkkk4cwqM%mcdomi@free.fr> References: <1ja80oc.1du600o1yj8h8dM%mcdomi@free.fr> <1ja9lfr.7o1tvkkk4cwqM%mcdomi@free.fr> Message-ID: <7c87a2a10912070833l16ea3cdct7be2fc12bcc99c04@mail.gmail.com> > > > > it was impossible to show two revlets on the same page ;-< > even with two different (or identical) instanceIDs > yes we can! We can show as many revlets as we want on the same page in any number of instances we want but, you cannot do it with the standard html that rev generates for you because with that html you have all the divs with the same id which will spoil the detection javascript code. Now if you head to http://hg.andregarzia.com/revletobject and use my javascript instead, not only it will be more readable and thus maintainable but it will also make it easier to load more revlets because I don't assume div#ids anywhere. > > moreover, it seems that a revlet cannot write a text file onto the > server! > I tried first assuming that the standard was that the file is written by > default in the directory (as for .html files) > I tried next with the Rev default (to fix "the directory" to the folder > where the revlet resides): no luck > Yes we can! but you must remember that the revlet executes on the client machine, so if you want to write to your server you'll need URL calls to the remote server machine. > > in the end I tried to replicate the example given by Jacque, with a > simple stack with a substack: I cannot see the two instances, i.e. I see > only the mainstack! > I ensured myself I did operate in exactly the same way: no luck! > > I am scratching my head... > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From andre at andregarzia.com Mon Dec 7 11:57:18 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Dec 2009 14:57:18 -0200 Subject: RevOnline update: Engine Search plugin In-Reply-To: <4B196265.5030406@pdslabs.net> References: <4B196265.5030406@pdslabs.net> Message-ID: <7c87a2a10912070857r3e3972b2j58900a4263301081@mail.gmail.com> hummm.... can't that be used by tRev to install itself? On Fri, Dec 4, 2009 at 5:26 PM, Phil Davis wrote: > Hi folks, > > Just a quick note to say I updated the "Engine Search" Rev IDE plugin on > RevOnline. > > This revision uses "the address" to locate the currently running Rev > engine. Previously the plugin located the engine by setting the > defaultFolder to empty, which set it to the engine's folder. This > defaultFolder "feature" was actually a bug and was fixed In Rev 4.0. Hence > the update. > > Happy engine snooping - > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From andre at andregarzia.com Mon Dec 7 12:01:11 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Dec 2009 15:01:11 -0200 Subject: How do I construct a scroll bar for stack larger than screen In-Reply-To: <7A47FC91544BDC44B54C6807E6995019015C8288@ibtmail1.ibt.ku.dk.ad> References: <7A47FC91544BDC44B54C6807E6995019015C8288@ibtmail1.ibt.ku.dk.ad> Message-ID: <7c87a2a10912070901s7964c9aeo75d14f66ccef0d39@mail.gmail.com> Kresten, even if there are controls that are not know at design time, you can group and then add to the group as the user places buttons. Check the syntax for the group command. :D Cheers On Mon, Dec 7, 2009 at 10:00 AM, Kresten Bjerg wrote: > Thanks for reply. > > Unfortunately I am too ignorant to understand the implication: I > understand, that I will have to place a vertical scrollbar, outside of > all the fields and all the buttons in the window (and as users will be > placing buttons not yet included I cannot group those). > > Let me complete the picture: The stack is actually even wider: It covers > 9 windows (3x3) 3072 pix wide, 2304 pix high (and a Palette, which hides > the parts which lies outside the selected window-introduced when > screensizes grew beyond the powerbook screensize.) > > So I guess I will need to place scrollbars in all 9 windows. If their > reference could be to the total stack-size, I guess they should just be > copies of each other. But how do I specify their function ? > > Hopefully > > Kresten > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From andre at andregarzia.com Mon Dec 7 12:04:12 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Dec 2009 15:04:12 -0200 Subject: finding revlet limits in a controlled environment In-Reply-To: <4B1C5372.50803@pdslabs.net> References: <4B1C5372.50803@pdslabs.net> Message-ID: <7c87a2a10912070904w2c538065gfd924aaf8ef2a085@mail.gmail.com> Phil, many of those commands might not work if the user do now click the "I allow" dialog thinghy which might give false results for you. I don't know how introspective rev can be, can revlets return if the user is allowing acces to that kind of stuff or not? On Sun, Dec 6, 2009 at 10:59 PM, Phil Davis wrote: > Hello - > > My client wants to sell revlet-based software to his customers in a large > US govt agency. If they are able to download & install the revweb plugin, we > don't know what limitations to a revlet's capabilities might be enforced by > IT in their computing environment. To answer this question, we've built a > web site his customers can use in their world that steps them through a > series of revlets that each try different kinds of activity. The activities > include: > > * load the plugin and do nothing > * create, read, rename, delete a file on the local HD > * get a web URL (google.com) > * run a shell command ("dir" or "ls") > * create, delete a stack in memory; get a stackfile from a web server > * print to their printer > > Those are all the tests so far. The test web site emails the revlet test > results back to me. > > Now my question: > Are we testing the right things? If not, what else should we test for? > > Thanks for any feedback. > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From luis at anachreon.co.uk Mon Dec 7 12:17:06 2009 From: luis at anachreon.co.uk (Luis) Date: Mon, 7 Dec 2009 17:17:06 +0000 Subject: Simultaneous Animations... In-Reply-To: <054B5F24-3C77-410F-A505-7503255A47BE@anachreon.co.uk> References: <16AF3D25-78C0-4AAE-9570-A40B1D7F19A4@mac.com><390F8EDB-A696-4638-847B-278C8C4BDA30@mac.com><1259938959976-948592.post@n4.nabble.com> <3CED2D3A-CDA1-4565-BBDA-525ACB59F531@anachreon.co.uk> <0EA58107DCF5485E9D0B255F1F6C8648@GATEWAY> <054B5F24-3C77-410F-A505-7503255A47BE@anachreon.co.uk> Message-ID: <07D4760A-A295-4FB5-B165-0286EC4CFC42@anachreon.co.uk> Hiya, Well, after the better part of a couple of hours looking for the site, I've managed to locate it: http://www.molekular.co.uk/ By John Craig Although it appears to be offline (available via Google cache) it had a nice and simple sprite library. Cheers, Luis. On 4 Dec 2009, at 16:27, Luis wrote: > Hiya, > > Well the site (which if anyone has the link, please post it!) has > an animation library that for the original poster's question would > assist in learning a bit more on the 'vanilla' side of animation > through rev. > > On Franklin3D: Will it include the irrKlang Audio component in the > future? > > Cheers, > > Luis. > > > On 4 Dec 2009, at 16:13, Lynn Fredricks wrote: > >>> There was another animation library, but the name escapes me >>> (and that doesn't help with a search...). >>> Anyone got the link? I think it was a UK based site. >> >> A little horn toot.... >> >> Sorry for the late reply - huge Christmas projects. Franklin 3D >> has a 2D >> animated sprite system. A huge advantage to using it is that it >> can benefit >> from any OpenGL or DirectX (depending on which you use) hardware >> acceleration. This is something to seriously consider if you have >> a lot of >> animated characters on screen. >> >> http://www.franklin3d.com >> >> Best regards, >> >> Lynn Fredricks >> President >> Paradigma Software >> http://www.paradigmasoft.com >> >> Valentina SQL Server: The Ultra-fast, Royalty Free Database Server >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre at andregarzia.com Mon Dec 7 12:17:46 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Dec 2009 15:17:46 -0200 Subject: Importing data into RevDB In-Reply-To: <8998436.241260066818370.JavaMail.HAPPYLAPPY$@HappyLappy> References: <9ED3315D-E69C-4E81-B6D2-25ACDD8BC7EC@yahoo.com> <8998436.241260066818370.JavaMail.HAPPYLAPPY$@HappyLappy> Message-ID: <7c87a2a10912070917n76d13cc2p8c28f6dadf55e5e@mail.gmail.com> David, I've just imported 30 MB worth of text into a SQLite database over a remote connection. What I tried using first was a CSV file as well and I could not make it work. I am importing magazine articles, the comma count is all wrong and unless I wrote a super dupper RegEx thing to cope with quote values that can contain commas and quotes up to unlimited levels in a field then it would never work. I ended up using XML as my data source format and all of a sudden everything started falling into place. To go from excel to XML is something I never tried. Maybe there's some plugin or a CSV to XML tool that works but if you can get your data as XML then it is easier to parse from Rev. On Sun, Dec 6, 2009 at 12:33 AM, David Coker wrote: > > >A note of caution when using this. > >The chunking rules for Rev are that a line can contain items, but > >items cannot contain lines. > >Lines can contain items, items contain words. > > wrong = line 6 of item 4, no matter the delimiter > > > >Not all functions obey a new setting. > >Filter does not follow the linedelimiter, and always uses CR, as does > >Sort. > > > > wrong = set the worddelimiter to comma > >... since the Rev definition for a word delimiter is white space, not > >a single character. > > > >I have found this useful on occasion when extracting data (such as CSV > >and html) to handle 'embedded returns' in order to keep logical groups > >of amorphous data together. Another use is to demark field content as > >lines such as > > > >write the contents of the fields of a card to a text file > > > >set the lineDel to "^" > >put field "Title" into outputBuffer > >put field "Description" into line 2 of outputBuffer > >put field "Inventory" into line 3 of outputBuffer > >put field "Prices" into line 12 of outputBuffer > >set the lineDel to cr > >put outputBuffer into url ("file:" & aPath & aFilename) > > > >Also as a utility function to make a run of characters. > >put characterString("*", 25) into line 2 of field "studentNotes" > >put characterString(space, 10) after line 6 of field "studentNotes" > > > >function characterString charToUse, stringLength > > set the lineDel to charToUse > > put charToUse into line stringLength of tempp > > return tempp > >end characterString > > -- now that we are leaving this function > > -- the lineDel setting evaporates > > -- it only applies to this function > > -- the same way itemDel behaves > >The same thing can be done with itemDel > > > > set the itemDel to "^" > > put "^" into item 25 of tempp > > set the itemDel to comma > > > >Hope this helps, > > > >Jim Ault > >Las Vegas > > Jim, Kay, Tom... all who have replied so far. > > I really appreciate all of the tips and suggestions and will probably enjoy > taking some of them for a serious test run eventually. Unthinking, I started > the update process on my previously mentioned database here on my primary > development machine, which has been tied up for 34+ hours now. > > Performance has already degraded somewhat, so I've pretty much made this > thing off limits until it has completed. (Assuming that it actually will at > some point.) > > Much appreciated good folks! Hope you all have a great weekend. :-) > > David C. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From lfredricks at proactive-intl.com Mon Dec 7 12:23:08 2009 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 7 Dec 2009 09:23:08 -0800 Subject: Simultaneous Animations... In-Reply-To: <054B5F24-3C77-410F-A505-7503255A47BE@anachreon.co.uk> References: <16AF3D25-78C0-4AAE-9570-A40B1D7F19A4@mac.com><390F8EDB-A696-4638-847B-278C8C4BDA30@mac.com><1259938959976-948592.post@n4.nabble.com><3CED2D3A-CDA1-4565-BBDA-525ACB59F531@anachreon.co.uk><0EA58107DCF5485E9D0B255F1F6C8648@GATEWAY> <054B5F24-3C77-410F-A505-7503255A47BE@anachreon.co.uk> Message-ID: <35E451A19133464580BB5C02163BD77F@GATEWAY> Hi Luis, > Well the site (which if anyone has the link, please post it!) > has an animation library that for the original poster's > question would assist in learning a bit more on the 'vanilla' > side of animation through rev. http://www.franklin3d.com > On Franklin3D: Will it include the irrKlang Audio component > in the future? irrKlang is not actually a part of irrlicht, but a commercial product offered by the original developer of irrlicht as an add-on. We kicked around previously offering a multi-channel audio plugin, and I wouldn't discount it for the future. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From ambassador at fourthworld.com Mon Dec 7 12:40:34 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 07 Dec 2009 09:40:34 -0800 Subject: finding revlet limits in a controlled environment Message-ID: <4B1D3E12.1040909@fourthworld.com> Andre wrote: > Phil Davis wrote: > >> My client wants to sell revlet-based software to his customers in >> a large US govt agency. If they are able to download & install the >> revweb plugin, we don't know what limitations to a revlet's >> capabilities might be enforced by IT in their computing environment. >> To answer this question, we've built a web site his customers can >> use in their world that steps them through a series of revlets that >> each try different kinds of activity. The activities >> include: >> >> * load the plugin and do nothing >> * create, read, rename, delete a file on the local HD >> * get a web URL (google.com) >> * run a shell command ("dir" or "ls") >> * create, delete a stack in memory; get a stackfile from a web >> server >> * print to their printer >> >> Those are all the tests so far. The test web site emails the revlet >> test results back to me. >> >> Now my question: >> Are we testing the right things? If not, what else should we test >> for? > > many of those commands might not work if the user do now click the "I > allow" dialog thinghy which might give false results for you. I don't > know how introspective rev can be, can revlets return if the user is > allowing acces to that kind of stuff or not? Sounds like a good argument for a standalone in this case. Phil, what objections does this agency have to a standalone? If it were net-savvy and auto-updated itself you could provide the benefits of the browser plugin without the limitations or guesswork. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From dalesvp at centurytel.net Mon Dec 7 13:20:03 2009 From: dalesvp at centurytel.net (Dale Pond) Date: Mon, 7 Dec 2009 11:20:03 -0700 Subject: Stack on Web Message-ID: <7F654CCC-3C09-4B9E-A11F-40D6C8B8DF37@centurytel.net> Does the revweb plugin actually allow the accessing of a stack as a stack through the browser? I uploaded a stack "SVPwiki.rev" stack to here: http://www.pondscienceinstitute.on-rev.com/SVPwiki.rev In Safari the stack appears to open but all that is shown in the browser window is a lot of code. In FireFox an alert window pops up asking what to do with the file: to open with Revolution or 'Other' or download?. Nothing shows in the FireFox browser window. Neither browser shows the stack. Am I missing something or is this the way it is? Dale From andre at andregarzia.com Mon Dec 7 13:20:14 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Dec 2009 16:20:14 -0200 Subject: OT OS X HD Partitioning, multiple OSs In-Reply-To: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> References: <34483903-4CE5-43E9-90CF-C9F90470D922@ezpzapps.com> Message-ID: <7c87a2a10912071020r3aee70f2h856f7a4037786b02@mail.gmail.com> Sims, I have licenses for both Parallels (up to v 4) and VMWare Fusion and yet I've switched to virtualbox. I like sun virtualbox very much gives everything parallels and vmware ever did to me and yet it is free. I have the same machine as the one you're buying wondeful laptop. I use virtualbox to run windows xp, open suse and haiku. I've switched away from ubuntu since 7.10 the releases been getting worse for me, could never manage to get the sound to work on my desktop pc with karmic koala. Switched to opensuse 11.2 and am happy. Life is good andre On Sat, Dec 5, 2009 at 3:30 AM, jim sims wrote: > I might be getting a 13" 160 GB MacBook Pro > > I'm thinking of using VMware Fusion to add at least one version of Windows > or maybe more. This will hopefully be my travel machine that I want to use > for development while away, so I'd like to get all I might need in it. > > I usually don't have tons of music, movies, and stuff on my machine so I > think the 160 GB should do. > > What have other people done with their machines? > > What OS(s) have you loaded - XP, Vista,Windows 7? > > If Linux, what flavor might be the best/most common to develop for? > > How did you partition it? What sizes for each? > > What would you do differently if they did it over again (likely the most > informative question/answer!)? > > TIA > sims > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From andre at andregarzia.com Mon Dec 7 13:22:15 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Dec 2009 16:22:15 -0200 Subject: Stack on Web In-Reply-To: <7F654CCC-3C09-4B9E-A11F-40D6C8B8DF37@centurytel.net> References: <7F654CCC-3C09-4B9E-A11F-40D6C8B8DF37@centurytel.net> Message-ID: <7c87a2a10912071022s4f701d10r5e9f54675994d7cd@mail.gmail.com> Dale, that is not the way to use the plugin. You need to build a revlet using the standalone application properties to check the build. Then it will generate some html for you that is used to load your revlet in the plugin in a browser. You can also check out my javascript library for that at http://hg.andregarzia.com/revletobject There been an article in the newsletter that shows you how to build a quick revlet. Cheers andre On Mon, Dec 7, 2009 at 4:20 PM, Dale Pond wrote: > Does the revweb plugin actually allow the accessing of a stack as a stack > through the browser? > > I uploaded a stack "SVPwiki.rev" stack to here: > > http://www.pondscienceinstitute.on-rev.com/SVPwiki.rev > > In Safari the stack appears to open but all that is shown in the browser > window is a lot of code. > > In FireFox an alert window pops up asking what to do with the file: to open > with Revolution or 'Other' or download?. Nothing shows in the FireFox > browser window. > > Neither browser shows the stack. Am I missing something or is this the way > it is? > Dale > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From irog at mac.com Mon Dec 7 13:24:23 2009 From: irog at mac.com (Roger Guay) Date: Mon, 07 Dec 2009 10:24:23 -0800 Subject: [Mandelbrot] Code Samples/Comparisons In-Reply-To: <20091207170435.41EE4288213@mail.runrev.com> References: <20091207170435.41EE4288213@mail.runrev.com> Message-ID: <790E481E-853F-4ED9-80B9-913E379BA85E@mac.com> Thank you Bill for this great tutorial! Roger Guay On Dec 7, 2009, at 9:04 AM, Bill Marriott wrote: > [Mandelbrot] Code Samples/Comparisons From jerry.daniels at me.com Mon Dec 7 13:29:19 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 7 Dec 2009 12:29:19 -0600 Subject: RevOnline update: Engine Search plugin In-Reply-To: <7c87a2a10912070857r3e3972b2j58900a4263301081@mail.gmail.com> References: <4B196265.5030406@pdslabs.net> <7c87a2a10912070857r3e3972b2j58900a4263301081@mail.gmail.com> Message-ID: <0025B975-FDCD-49F4-8A7D-08A1984729DE@me.com> You would think so, wouldn't you? But that's not where the product is going. I can say no more. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-your-handlers On Dec 7, 2009, at 10:57 AM, Andre Garzia wrote: > hummm.... can't that be used by tRev to install itself? > > On Fri, Dec 4, 2009 at 5:26 PM, Phil Davis wrote: > >> Hi folks, >> >> Just a quick note to say I updated the "Engine Search" Rev IDE >> plugin on >> RevOnline. >> >> This revision uses "the address" to locate the currently running Rev >> engine. Previously the plugin located the engine by setting the >> defaultFolder to empty, which set it to the engine's folder. This >> defaultFolder "feature" was actually a bug and was fixed In Rev >> 4.0. Hence >> the update. >> >> Happy engine snooping - >> -- >> Phil Davis >> >> PDS Labs >> Professional Software Development >> http://pdslabs.net >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Mon Dec 7 13:29:48 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Dec 2009 16:29:48 -0200 Subject: [Mandelbrot] Code Samples/Comparisons In-Reply-To: <790E481E-853F-4ED9-80B9-913E379BA85E@mac.com> References: <20091207170435.41EE4288213@mail.runrev.com> <790E481E-853F-4ED9-80B9-913E379BA85E@mac.com> Message-ID: <7c87a2a10912071029h54045e0cn93f9ecf9f117fae5@mail.gmail.com> Bill, Ho Ho Ho I am playing with the mandelbrots while a huge stack downloads... thanks for the stack! I can finally understand how those fractals work. Thanks andre On Mon, Dec 7, 2009 at 4:24 PM, Roger Guay wrote: > Thank you Bill for this great tutorial! > > Roger Guay > > > On Dec 7, 2009, at 9:04 AM, Bill Marriott wrote: > > > [Mandelbrot] Code Samples/Comparisons > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From dan at clearvisiontech.com Mon Dec 7 13:34:49 2009 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 7 Dec 2009 10:34:49 -0800 Subject: Put Put In-Reply-To: <20091207180004.7EDC128809D@mail.runrev.com> References: <20091207180004.7EDC128809D@mail.runrev.com> Message-ID: Hiya... Isn't the "put" command blocking? I find that if I call a 'put' to write to a server twice in fast succession, the second 'put' is handled BEFORE the first one is complete. For example: I made a new stack with this script: on doSave put "ftp://admin:password at 123.456.789.012/UploadTest.txt" into ftpPath --use a valid path put "This is a test" into url ftpPath if the result <> "" then answer the result end if end doSave Then, I added a menu with a Command-S "Save" option with this script: on menuPick pWhich switch pWhich case "Save" doSave break case "Quit" --Insert script for Quit menu item here break end switch end menuPick Then, type Command-S twice - quickly. POOF! You get "error Previous request not complete". Shouldn't the first Save complete before the second one is even dealt with? What am I doing wrong? Thanks in advance, -Dan From andre at andregarzia.com Mon Dec 7 13:35:31 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Dec 2009 16:35:31 -0200 Subject: RevOnline update: Engine Search plugin In-Reply-To: <0025B975-FDCD-49F4-8A7D-08A1984729DE@me.com> References: <4B196265.5030406@pdslabs.net> <7c87a2a10912070857r3e3972b2j58900a4263301081@mail.gmail.com> <0025B975-FDCD-49F4-8A7D-08A1984729DE@me.com> Message-ID: <7c87a2a10912071035j3c20793dna8d50818b5435910@mail.gmail.com> I love when you say "I can say no more" because I know you're hiding something and that I will be deeply grateful when it is revealed! I get anxious for Feature Fridays Thanks for tRev, it keeps me sane! On Mon, Dec 7, 2009 at 4:29 PM, Jerry Daniels wrote: > You would think so, wouldn't you? But that's not where the product is > going. I can say no more. > > Best, > > Jerry Daniels > > The latest Rev Editor Video: > http://reveditor.com/feature-friday-drag-n-drop-your-handlers > > > On Dec 7, 2009, at 10:57 AM, Andre Garzia wrote: > > hummm.... can't that be used by tRev to install itself? >> >> On Fri, Dec 4, 2009 at 5:26 PM, Phil Davis wrote: >> >> Hi folks, >>> >>> Just a quick note to say I updated the "Engine Search" Rev IDE plugin on >>> RevOnline. >>> >>> This revision uses "the address" to locate the currently running Rev >>> engine. Previously the plugin located the engine by setting the >>> defaultFolder to empty, which set it to the engine's folder. This >>> defaultFolder "feature" was actually a bug and was fixed In Rev 4.0. >>> Hence >>> the update. >>> >>> Happy engine snooping - >>> -- >>> Phil Davis >>> >>> PDS Labs >>> Professional Software Development >>> http://pdslabs.net >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at 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. From andre at andregarzia.com Mon Dec 7 13:41:12 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Dec 2009 16:41:12 -0200 Subject: Put Put In-Reply-To: References: <20091207180004.7EDC128809D@mail.runrev.com> Message-ID: <7c87a2a10912071041w5ecdfed5o293ff6c7d6ffb5ef@mail.gmail.com> Dan, this is me guessing here, but why don't you use a script local variable like local lRunning on doSave if lRunning is true then send "doSave" to me in 200 millisecs end if put true into lRunning put "ftp://admin:password at 123.456.789.012/UploadTest.txt" into ftpPath --use a valid path put "This is a test" into url ftpPath if the result <> "" then put false into lRunning answer the result end if put false into lRunning end doSave With such script you can be sure that no doSaves can work at the same time, of course, you can enter a loop if doSave never returns... On Mon, Dec 7, 2009 at 4:34 PM, Dan Friedman wrote: > Hiya... > > Isn't the "put" command blocking? I find that if I call a 'put' to write > to a server twice in fast succession, the second 'put' is handled BEFORE the > first one is complete. For example: > > I made a new stack with this script: > > on doSave > put "ftp://admin:password at 123.456.789.012/UploadTest.txt" into ftpPath > --use a valid path > put "This is a test" into url ftpPath > if the result <> "" then > answer the result > end if > end doSave > > Then, I added a menu with a Command-S "Save" option with this script: > > on menuPick pWhich > switch pWhich > case "Save" > doSave > break > case "Quit" > --Insert script for Quit menu item here > break > end switch > end menuPick > > Then, type Command-S twice - quickly. POOF! You get "error Previous > request not complete". Shouldn't the first Save complete before the second > one is even dealt with? What am I doing wrong? > > Thanks in advance, > -Dan_______________________________________________ > use-revolution mailing list > use-revolution at 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. From DunbarX at aol.com Mon Dec 7 13:47:57 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 7 Dec 2009 13:47:57 EST Subject: Put Put Message-ID: I am a newbie here, but would inserting a "wait for messages" prevent the errant keypress? But is that slightly different than what you really want, which is to ignore double keypresses? In HC I would have said: ... wait 15 if the mouseClick then exit yourHandler ... This works in rev, too. Craig Newman From andre at andregarzia.com Mon Dec 7 13:50:00 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Dec 2009 16:50:00 -0200 Subject: sending hexadecimal control characters, how to? In-Reply-To: <1259850888796-947664.post@n4.nabble.com> References: <200912030953.28806.palcibiades-first@yahoo.co.uk> <1259838233481-947554.post@n4.nabble.com> <7c87a2a10912030539l4e2b17dcre2e10e44947f028c@mail.gmail.com> <0AE422D0-87B0-42BC-84C9-B1E16E885549@ezpzapps.com> <7c87a2a10912030600y33883936o2236985fa6fd9cee@mail.gmail.com> <1259850888796-947664.post@n4.nabble.com> Message-ID: <7c87a2a10912071050r6e7a45bak75ef2a8ca10aafcf@mail.gmail.com> Alejandro and Sarah, They do this because we have special receipt printers that are sealed like Richmond have them in Bulgaria. The goverment checks on the printer records (memory of the printer itself) to see how the business is doing with their TAX. Software could be used to keep what we call "caixa 2" (box 2) which is basically a different box of money, like box 1 is for the goverment to see and box 2 is mine and mine alone, which is basically tax evasion and thats why the goverment is paranoid about software talking to receipt printers, to make sure that if talks, then it should always do so! Of course that the shop owner could simply not use a machine, but then, here credit card pads are wired to those machines anyway so it is basically impossible to process any kind of eletronic payment without talking to the printer. As for developing the software overseas, it would not solve the problem because the software to operate in here would need to be approved or it is the same as me developing it on my secret basement. Thats why I don't enter that business... argh! Silly goverment, by the way, we have eletronic voting here, you should see the regulations and processes on those machines and software. Brazilian goverment is pretty good even if paranoid with software. On Thu, Dec 3, 2009 at 12:34 PM, Alejandro Tejada wrote: > > Andre, > > What is the logical explanation of them, > to have this kind of control over software > programs created in Brasil? > > Did Microsoft and big software companies > have to apply for the same permissions? > > Alejandro > > > Andre Garzia-3 wrote: > > > > yes it is like that in here... but still, this process hinders software > > development, thats why most shop management software here are still > > clipper > > based DOS tools and some crappy VB 3 stuff... > > > > -- > View this message in context: > http://n4.nabble.com/sending-hexadecimal-control-characters-how-to-tp947501p947664.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From andre at andregarzia.com Mon Dec 7 13:53:34 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Dec 2009 16:53:34 -0200 Subject: Put Put In-Reply-To: References: Message-ID: <7c87a2a10912071053g249e23aeic13ed4cf11aec229@mail.gmail.com> Craig, never use a wait call while there's a network transaction going on. LibURL does not like wait commands. Andre On Mon, Dec 7, 2009 at 4:47 PM, wrote: > I am a newbie here, but would inserting a "wait for messages" prevent the > errant keypress? > > But is that slightly different than what you really want, which is to > ignore double keypresses? In HC I would have said: > > ... > wait 15 > if the mouseClick then exit yourHandler > ... > > This works in rev, too. > > Craig Newman > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From revdev at pdslabs.net Mon Dec 7 13:54:05 2009 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 07 Dec 2009 10:54:05 -0800 Subject: finding revlet limits in a controlled environment In-Reply-To: <7c87a2a10912070904w2c538065gfd924aaf8ef2a085@mail.gmail.com> References: <4B1C5372.50803@pdslabs.net> <7c87a2a10912070904w2c538065gfd924aaf8ef2a085@mail.gmail.com> Message-ID: <4B1D4F4D.9000303@pdslabs.net> Andre Garzia wrote: > Phil, > > many of those commands might not work if the user do now click the "I allow" > dialog thinghy which might give false results for you. I don't know how > introspective rev can be, can revlets return if the user is allowing acces > to that kind of stuff or not? > I don't know the answer to that either. We're trying to tell the user as clearly as possible how to run the tests. We've provided specific user instructions on each page where you begin a test. Each one has an image of the security dialog with the "Allow Once" button circled and text saying "Choose Allow Once in the security dialog". We'll see how well that works. ;-) Thanks Andre - Phil > On Sun, Dec 6, 2009 at 10:59 PM, Phil Davis wrote: > > >> Hello - >> >> My client wants to sell revlet-based software to his customers in a large >> US govt agency. If they are able to download & install the revweb plugin, we >> don't know what limitations to a revlet's capabilities might be enforced by >> IT in their computing environment. To answer this question, we've built a >> web site his customers can use in their world that steps them through a >> series of revlets that each try different kinds of activity. The activities >> include: >> >> * load the plugin and do nothing >> * create, read, rename, delete a file on the local HD >> * get a web URL (google.com) >> * run a shell command ("dir" or "ls") >> * create, delete a stack in memory; get a stackfile from a web server >> * print to their printer >> >> Those are all the tests so far. The test web site emails the revlet test >> results back to me. >> >> Now my question: >> Are we testing the right things? If not, what else should we test for? >> >> Thanks for any feedback. >> >> -- >> Phil Davis >> >> PDS Labs >> Professional Software Development >> http://pdslabs.net >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From revdev at pdslabs.net Mon Dec 7 13:54:10 2009 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 07 Dec 2009 10:54:10 -0800 Subject: finding revlet limits in a controlled environment In-Reply-To: <4B1D3E12.1040909@fourthworld.com> References: <4B1D3E12.1040909@fourthworld.com> Message-ID: <4B1D4F52.3030901@pdslabs.net> Richard Gaskin wrote: > Andre wrote: > > > Phil Davis wrote: > > > >> My client wants to sell revlet-based software to his customers in > >> a large US govt agency. If they are able to download & install the > >> revweb plugin, we don't know what limitations to a revlet's > >> capabilities might be enforced by IT in their computing environment. > >> To answer this question, we've built a web site his customers can > >> use in their world that steps them through a series of revlets that > >> each try different kinds of activity. The activities > >> include: > >> > >> * load the plugin and do nothing > >> * create, read, rename, delete a file on the local HD > >> * get a web URL (google.com) > >> * run a shell command ("dir" or "ls") > >> * create, delete a stack in memory; get a stackfile from a web > >> server > >> * print to their printer > >> > >> Those are all the tests so far. The test web site emails the revlet > >> test results back to me. > >> > >> Now my question: > >> Are we testing the right things? If not, what else should we test > >> for? > > > > many of those commands might not work if the user do now click the "I > > allow" dialog thinghy which might give false results for you. I don't > > know how introspective rev can be, can revlets return if the user is > > allowing acces to that kind of stuff or not? > > Sounds like a good argument for a standalone in this case. > > Phil, what objections does this agency have to a standalone? Their IT dept doesn't allow 'unapproved' installs of executables (which may exclude browser plugins, but we'll see)! And the approval process is, well, difficult. I think you have to know someone. As I [very limited] understanding of it, they use mostly COTS software (at least in the area where my client has customers). Actually I may have heard the COTS part from someone on this list a few months ago. > > If it were net-savvy and auto-updated itself you could provide the > benefits of the browser plugin without the limitations or guesswork. True. I suspect ultimately we'll have to go with an irev-enabled site to deliver the goods, which won't be a bad thing at all - we're just trying to avoid the refactoring of existing desktop app functionality at that extreme. Thanks Richard. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From DunbarX at aol.com Mon Dec 7 13:59:12 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 7 Dec 2009 13:59:12 EST Subject: Put Put Message-ID: In a message dated 12/7/09 1:54:15 PM, andre at andregarzia.com writes: Andre. I am always trying to change my habits, to use "send in time" instead of wait. But here I intended it to be used well before the handler actually does anything, likely right after the "case" statement. A simple block of errant keypresses, and no danger, as you pointed out, of anything running amok. I get it, though. > Craig, > > never use a wait call while there's a network transaction going on. LibURL > does not like wait commands. > > Andre > From andre at andregarzia.com Mon Dec 7 14:03:36 2009 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 7 Dec 2009 17:03:36 -0200 Subject: Put Put In-Reply-To: References: Message-ID: <7c87a2a10912071103w560e2d5bl718592d69e2de920@mail.gmail.com> Craig, put should be blocking, actually, I know it is blocking! I've been blocked by it many times. I don't know why you're experiencing that behaviour at all but I am trying to work around it. I don't know how familiar you are with liburl callbacks. You can basically tell it to execute a command and when that command completes execute something else. In your case you could use liburlftpupload call and pass the callback you want to execute when it complete. Bonus point this is asynchronous so there's no blocking and it doesn't need to have one. You still face the previous request not completed if the thing hangs out forever but I do think it will queue the transactions so that multiple calls just fill a queue but I can recall if that works with ftp calls. Andre On Mon, Dec 7, 2009 at 4:59 PM, wrote: > > In a message dated 12/7/09 1:54:15 PM, andre at andregarzia.com writes: > > Andre. > > I am always trying to change my habits, to use "send in time" instead of > wait. But here I intended it to be used well before the handler actually > does > anything, likely right after the "case" statement. A simple block of errant > keypresses, and no danger, as you pointed out, of anything running amok. > > I get it, though. > > > Craig, > > > > never use a wait call while there's a network transaction going on. > LibURL > > does not like wait commands. > > > > Andre > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From DunbarX at aol.com Mon Dec 7 14:48:54 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 7 Dec 2009 14:48:54 EST Subject: Put Put Message-ID: Andre. It wasn't me. I just butted in. Craig From tbandi at swissonline.ch Mon Dec 7 14:55:05 2009 From: tbandi at swissonline.ch (Till Bandi) Date: Mon, 7 Dec 2009 20:55:05 +0100 Subject: [Mandelbrot] Code Samples/Comparisons In-Reply-To: References: Message-ID: <8BDBF25D-6F7A-4C5C-9E6B-678E0A3FE8A3@swissonline.ch> great! Till Am 07.12.2009 um 01:09 schrieb Bill Marriott: > Hi Mark, > >>>> what about using task/code examples from >>>> http://shootout.alioth.debian.org/. Revcoders (us, runrev ltd?..) will >>> I think that's a great idea. >> Sorry, Kevin, I think it's a Very Bad Idea. > > Thanks so much for taking the time to do this! But I think it's a *great* > example, and I am going to show you why. > > Let's start out with a few observations: > > - How "practical" is this? I took a closer look at the site. > > http://shootout.alioth.debian.org/u64/benchmark.php?test=mandelbrot&lang=all&box=1 > > The goal of the routine is to generate a mandelbrot image in the .PBM > format. Now, this has some relevance I suppose in testing CPU performance, > but not exactly in the real world. How many programs read PBM, for one? None > on my Mac, but Photoshop and Paint Shop Pro could read it on my Windows PC. > How fun is it to run this program, then load the result up in a graphics > editor? About as much fun as punch-card, batch programming. > > - The original Pascal program (or at least your transliteration of it) *has > a bug!* Give the output file an extension of .pbm and load it into a program > that can read that format. You'll find that the image is skewed more and > more as the dimensions increase. > > http://revuser.com/mandel/orig-600.png > > In either Pascal or revTalk, as coded, it's going to be a challenge to find > out where that bug lies. > > - It doesn't seem like it was that hard to "transliterate" the original > Pascal code. I was impressed by the similarities, actually. Even then, there > are portions of your revTalk version that are a little more readable. Since > the vast majority of this is mathematics, and we're not out to reinvent > algebraic notation, you're right that it's not the best showcase. Math is > going to be math in any programming language. It's certainly not *less* > readable. What makes it hard is the Mandelbrot formulas and especially the > encoding into .pbm format (which is what requires all those bit operations. > (Maybe all of the examples from that site are like this?) > > - Pascal is considered a pretty "easy" language. Did you check out what the > "solution" looks like in Java? > > http://shootout.alioth.debian.org/u64/benchmark.php?test=mandelbrot&lang=javaxint&id=3 > > In C++? > > http://shootout.alioth.debian.org/u64/benchmark.php?test=mandelbrot&lang=gpp&id=5 > > Woah! :) > > - Well our performance is a is a bit disappointing relative to the "command > line" Pascal version, we *do* beat out variants of PHP, Python, Ruby, and > Perl, depending on what your processor was versus the one used for the > benchmarks. > > - You were able to add a nice GUI file selector dialog trivially. Now, > imagine that your goal isn't to produce a .pbm image, but rather to show > something on-0screen the user could interact with in some way. Things > get more interesting. This is where Rev starts to shine. The > further away you get from "pure" math and have to get into user interface, > interaction with local and remote file systems, manipulating data sets, and > business logic issues, the better we look. Our language abstracts the > operating system, so developers don't need to be concerned with the proper > API to call for common tasks. > > - Most (but not all) of us are not using Rev to generate Mandelbrot data. > We're creating usable applications for business tasks, entertainment and > educational software, database front-ends, etc. It might well be that this > site/link is all about these kinds of math-intensive routines. I didn't look > too closely at them, admittedly. What I did like about Viktoras' suggestion > was that he found a site with some sample code in a variety of languages. I > think it's healthy for us to look for such examples and discover the > strengths and weaknesses that emerge when we try to express them in revTalk. > > My take on the "productivity" equation is that it's not merely the number of > lines of code produced, and it's ultimately not even how fast the code > executes. In most situations, it's how long it takes to express the > algorithm, and debug it later on. To encapsulate algorithms in flexible user > interfaces. To take things to an extreme: a routine > built with machine code or assembly will always execute faster than one > built in a high-level language. But how many of us could sit down and write > a database front-end in assembly? How long would it take? How usable and > adaptable would it be? > > Another way to look at things is from the artist's viewpoint. There are > people who will never touch digital photography because they are expert at > the analog process. There are illustrators who will never give up their > charcoals. There are Lego builders who spurn the non-rectangular bricks! And > thank heaven for them, because I respect the desire for control and > attention to nuance. In a similar vein, other languages can indeed reward > sweating details like what kind of number you're trying to store, manually > allocating and releasing memory, etc. > > We're not promising to be the tool that lets you rewrite OpenGL or even > build a competitor to Excel. Instead, we're a tool that complements these > other technologies, and opens up the idea that -- for example -- instead of > spending hours "steering" Excel you might automate your workflow such that > data acquisition, processing, and presentation might all be handled with a > single click. > > Enough pontificating eh? Let's get to coding. I'm going to deliver on my > promise to show you why this actually shows off why Rev is so fantastic. > > I was intrigued by this example, because Mandelbrots are beautiful things. I > knew they had something to do with imaginary numbers, that they are > infinitely variable -- you can zoom in on them forever and not find a > repeated pattern. But I didn't understand the math, so of course I couldn't > really analyze the original Pascal code effectively. > > I had to become a "mini" content expert. So I read up on Mandelbrots. I > found some useful pages: > > http://www.wikihow.com/Plot-the-Mandelbrot-Set-By-Hand > > http://www.olympus.net/personal/dewey/mandelbrot.html > > and especially > > http://steve.hollasch.net/cgindex/misc/mandelbrot.html > > Now I was getting somewhere. I learned that a Mandelbrot is a graph where > the x axis represents a "real" number, and the y axis represents an > imaginary number (a number involving the element "i" -- which is the square > root of -1). The unique thing about a Mandelbrot set is that you don't know > for sure whether a given coordinate is within the set until you test it > iteratively. Some coordinates reveal themselves to be part of the set > quickly, and some not so quickly. The "depth" you have to go in this > iterative calculation varies for each coordinate. It also involves a kind of > "digital sampling" phenomenon, where things look different depending on the > "resolution" at which you're charting. That hardly covers the whole topic, > but it was enough to give me a handle on what the routines were trying to > do. > > I found George Taylor's page to be much more useful than the Pascal code as > a launch point for understanding how to chart a Mandelbrot in revTalk. For > one thing, he didn't break it up into multiple nested functions, which made > it easier for me to understand. Second, I'm much more familiar with BASIC > from my early days with the Sinclair ZX81 than I am with Pascal. I took his > code example: > > INPUT "Initial Real value of C",CRL > INPUT "Final Real value of C",CRH > INPUT "Initial Imaginary value of C",CIL > INPUT "Final Imaginary value of C",CIH > INPUT "Iteration limit",MAXITER > WIDTH=320 > HEIGHT=200 > XSIZE=(CRH-CRL)/(WIDTH-1) > YSIZE=(CIH-CIL)/(HEIGHT-1) > FOR Y=0 TO 199 > CI=CIH-Y*YSIZE > FOR X=0 TO 319 > CR=X*XSIZE+CRL > REM Now CR, CI are scaled > REM Do Z<-Z^2+C iteration > MEMBER=TRUE > ZR=0 > ZI=0 > FOR I=1 TO MAXITER > NEWZR=ZR*ZR-ZI*ZI+CR > NEWZI=2*ZR*ZI+CI > ZR=NEWZR > ZI=NEWZI > Z=SQR(ZR*ZR+ZI*ZI) > IF Z>2 THEN > MEMBER=FALSE > EXIT (exits the FOR loop) > ENDIF > NEXT I > IF MEMBER=TRUE THEN > PLOT X,Y > ELSEIF ((MAXITER-I) AND 1)=0 THEN > PLOT X,Y > ENDIF > NEXT X > NEXT Y > END > > And I did my own revTalk translation, this time making generous use of long > variable names that made more sense to me: > > on mouseUp > put fld "cRstart" into cRstart > put fld "cRend" into cRend > put fld "cIstart" into cIstart > put fld "cIend" into cIend > put fld "maxIterations" into maxIterations > put fld "myWidth" into myWidth > put fld "myHeight" into myHeight > > put (cRend-cRstart)/(myWidth-1) into plotWidth > put (cIend-cIstart)/(myHeight-1) into plotHeight > > -- for each y-axis value (scaled) > repeat with y=0 to myHeight-1 > put cIend-y*plotHeight into cImaginary > > -- for each x-axis value (scaled) > repeat with x=0 to myWidth-1 > put x*plotWidth+cRstart into cReal > > -- test the coordinate iteratively > put true into itBelongs > put 0 into zReal; put 0 into zImaginary > > repeat with i = 1 to maxIterations > > put zReal * zReal - zImaginary * zImaginary + cReal into newZreal > put 2*zReal*zImaginary+cImaginary into newZimaginary > > put newZreal into zReal; put newZimaginary into zImaginary > put sqrt(zReal*zReal+zImaginary*zImaginary) into z > > if z>2 then > put false into itBelongs > exit repeat > end if > > if z> 2 then exit repeat > > end repeat > > if itBelongs then > put i into myPlot[x][y] > else > if maxIterations-i > 0 then > put i into myPlot[x][y] > end if > end if > > end repeat > end repeat > end mouseUp > > Now you'll notice that even now I'm able to do something a little different > from Taylor's original algorithm. Where he says, "plot x,y" -- which marks > the pixel at x,y black -- I store i within a multi-dimensional array. This > stores the number of generations it took to determine whether x,y was part > of > the Mandelbrot set. It will enable me to produce a prettier graph, and also > separates the output code (whether I'm going to create a .pbm file or > display > on-screen or do something else from it) from the code used to generate the > Mandelbrot itself. > > Showing the image on-screen in Rev was a piece of cake, relative to creating > a .pbm file. > > repeat with y=0 to myHeight-1 > repeat with x=0 to myWidth-1 > -- more iterations yields a lighter color > put numToChar(trunc(myPlot[x][y]/maxIterations*256)) into c > -- create a shade of grey > put numToChar(0) & c & c & c after bitmapData > end repeat > end repeat > set the width of image "mandelPlot" to myWidth > set the height of image "mandelPlot" to myHeight > set the imageData of image "mandelPlot" to bitmapData > > That's because the imageData is simply four whole bytes representing 0 and > the R, G, B values of the pixel. Inefficient perhaps, but really simple. No > bitwise > operations unless I really need to (and I won't need to, since Rev can > export > snapshots to a variety of common formats). > > It didn't take me much work to display a beautiful, greyscale image of a > real Mandelbrot on-screen. Plus I had a nice UI that would let me set all > the parameters of the equation visually. I had one final thing I wanted to > do, and that was to make it so I could "zoom in" on the Mandelbrot to > explore its infinitely variable nature. > > All I did was overlay a graphic on top of the "mandelPlot" image I created, > then attach a script which would make note of where I clicked on it, set > that as the new origin, and set a new scale around that point. > > My "finished" stack is at: > > http://revuser.com/mandel/MyMandelbrot.zip > > I would say that I got much further along exploring and understanding the > magic of fractals. In the end, I'm looking at a 300x300 or maybe a 900x900 > screen image; I'm not generating 16,000x16,000 bitmaps. So it doesn't really > matter if it takes 3 or 30 seconds to generate. I have a solution that has a > nice user interface so I can tweak various settings and interactively see > their effect on the graph. I already added niceties like a progress bar, and > zooming. > > I could add more customizations like the ability to set the colors I want to > use. The code I have written to generate the Mandelbrot is about as clear as > it could be. (And I'd like to see what the Pascal or C++ code would be to > replicate my little stack's UI/functionality!) > > By analogy, when constructing business applications, the "hard part" -- the > part you have to get right -- should be understanding your business. It > shouldn't be expressing that business logic/mechanics within code. Rev > enabled me to focus on the science of Mandelbrots, not the mechanics of > creating a bitmap. It allowed me to create a program that I could use to > explore what Mandelbrots are in a beautiful, fun, engaging way. And if I > ultimately decided that I needed blistering performance in rendering the > graphs, I could always crack open my Pascal or C++ compiler and make an > external that did the "heavy lifting" down the road. > > Look at it this way -- would an organization prefer a piece of code that > runs in 3 seconds but does only one thing, and can't be modified except > by the original coder? To change the parameters of the graph in Pascal, > one must load up the compiler, edit the right bits of the code, do a "build" > and all that stuff. Or, would you like an application like my stack, which > might > take 10 times longer to execute, but gives the end user a lot of control > and flexibility to understand what's going on? > > Productivity isn't about processor cycles, and it's not always about lines > of code. It's about how much one can accomplish with the knowledge > they have. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From capellan2000 at gmail.com Mon Dec 7 17:57:21 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 7 Dec 2009 14:57:21 -0800 (PST) Subject: [Mandelbrot] Code Samples/Comparisons In-Reply-To: References: Message-ID: <1260226641730-954827.post@n4.nabble.com> Hi Bill, Great work! How much time does this take to you, from understanding the code to creating the stack? Now, Who is going to add colors? :-D Alejandro -- View this message in context: http://n4.nabble.com/Mandelbrot-Code-Samples-Comparisons-tp954074p954827.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Mon Dec 7 19:09:06 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 7 Dec 2009 16:09:06 -0800 (PST) Subject: Looking for advice for RevMedia presentation Message-ID: <1260230946825-954885.post@n4.nabble.com> Hi all, Next week, i have been invited to make a demostration of RevMedia potencial use in Education to a small group of 1) Teachers and 2) Developers that work in the Education field. My temptative schedule: First day: 2 1/2 hours, Presentation and examples of works created in this platform Practical exercises and Homework for next reunion. Four Days later: 2 1/2 hours Review Homework and collect ideas, opinions and comentaries about the platform. Every advice to fill in the specifics details and make this presentation a real sucess is welcome. Alejandro -- View this message in context: http://n4.nabble.com/Looking-for-advice-for-RevMedia-presentation-tp954885p954885.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at tweedly.net Mon Dec 7 19:19:47 2009 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 08 Dec 2009 00:19:47 +0000 Subject: [ANN] Free tText plugins: Do Shell & Speak2Me In-Reply-To: References: Message-ID: <4B1D9BA3.2080008@tweedly.net> Jerry Daniels wrote: > Fellow developers, > > We have just posted two more new free plugins for tText: Speck2Me, > which speaks any text in the editor, and Do Shell which executes any > text in one tab and puts the results into another. These plugins are > fully editable in Revolution. > Jerry - I have a few plugins I would love to do - but to be really useful I need to be able to activate them more conveniently, or more flexibly, than using the plugin menu. (for example, I'd like to have the equivalents of Emacs change-case commands -L - make current word lower case, leave cursor at start of next word -U - make current word UPPER case, .... -C = make word Capitalized, .... Doing that as 3 separate plugins is kind of crazy (and I'd never remember which order they came in). Doing it as one plugin, and using modifier keys to choose which action is chosen is, well, kind of, ok .... that's what I'm using right now - but unfortunately the modifier keys prevent the use of shortcuts to trigger menu items, so it's a bit of a pain to use. So.... Do you have any plans to provide a key-binding mechanism to let tText plugin developers specify key sequences to activate their plugin ? -- Alex. From david at vaudevillecourt.tv Mon Dec 7 19:31:44 2009 From: david at vaudevillecourt.tv (David Bovill) Date: Tue, 8 Dec 2009 00:31:44 +0000 Subject: OT: Lua, hosting providers and On-Rev Message-ID: Totally off topic, but just came across a web project that uses Lua for web scripting - well that threw me - so I tried to check if either of my ISP's support server side Lua scripting. It seems that DreamHost support Lua, but I was wndering if any other ISP's do - in particular On-Rev? From wjm at wjm.org Mon Dec 7 19:32:29 2009 From: wjm at wjm.org (Bill Marriott) Date: Mon, 7 Dec 2009 19:32:29 -0500 Subject: [Mandelbrot] Code Samples/Comparisons In-Reply-To: <1260226641730-954827.post@n4.nabble.com> References: <1260226641730-954827.post@n4.nabble.com> Message-ID: Thanks Alejandro, Andre, Phil, Roger, Till, and others! > How much time does this > take to you, from understanding the > code to creating the stack? I should have logged it eh? I would say the research on Mandelbrots was definitely the hardest part; that took me a few hours and I actually walked through the "How to Draw a Mandelbrot by Hand" wikiHow article. That was spread over a couple days. Finding the George Taylor article really gave me a leg up on coding the routine, and I would say I probably put an hour or so into actually building the stack, altogether, getting the basic plotting done. Then another 30 minutes getting the zoom function to work the way I wanted to and tweaking its layout. If you notice, the code in my uploaded stack varies a bit from what I posted, and runs slightly faster. Since then I've been really thinking about how to further speed up the rendering and how to best to handle the colorization part. I'm really glad you liked the post and stack; it's fun to play with. - Bill From sarah.reichelt at gmail.com Mon Dec 7 19:40:26 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 8 Dec 2009 10:40:26 +1000 Subject: [ANN] Free tText plugins: Do Shell & Speak2Me In-Reply-To: <4B1D9BA3.2080008@tweedly.net> References: <4B1D9BA3.2080008@tweedly.net> Message-ID: > Jerry - I have a few plugins I would love to do - but to be really useful I > need to be able to activate them more conveniently, or more flexibly, than > using the plugin menu. (for example, I'd like to have the equivalents of > Emacs change-case commands > > -L - make current word lower case, leave cursor at start of next word > -U - make current word UPPER case, .... > -C = make word Capitalized, .... > > Doing that as 3 separate plugins is kind of crazy (and I'd never remember > which order they came in). > Doing it as one plugin, and using modifier keys to choose which action is > chosen is, well, kind of, ok .... that's what I'm using right now - but > unfortunately the modifier keys prevent the use of shortcuts to trigger menu > items, so it's a bit of a pain to use. What about making a plugin that opens as palette stack? Perhaps it could have a front script that intercepts the commandKeyDown message and implements your own commands there. I haven't tried this, so I don't know if setting a frontScript will be possible, but I guess it would. Cheers, Sarah From jerry.daniels at me.com Mon Dec 7 19:44:56 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 7 Dec 2009 18:44:56 -0600 Subject: [ANN] Free tText plugins: Do Shell & Speak2Me In-Reply-To: <4B1D9BA3.2080008@tweedly.net> References: <4B1D9BA3.2080008@tweedly.net> Message-ID: <38E04947-D840-4A13-8420-889843CB01D0@me.com> YES! On Dec 7, 2009, at 6:19 PM, Alex Tweedly wrote: > Jerry Daniels wrote: >> Fellow developers, >> >> We have just posted two more new free plugins for tText: Speck2Me, >> which speaks any text in the editor, and Do Shell which executes >> any text in one tab and puts the results into another. These >> plugins are fully editable in Revolution. >> > Jerry - I have a few plugins I would love to do - but to be really > useful I need to be able to activate them more conveniently, or more > flexibly, than using the plugin menu. (for example, I'd like to have > the equivalents of Emacs change-case commands > > -L - make current word lower case, leave cursor at start of > next word > -U - make current word UPPER case, .... > -C = make word Capitalized, .... > > Doing that as 3 separate plugins is kind of crazy (and I'd never > remember which order they came in). > Doing it as one plugin, and using modifier keys to choose which > action is chosen is, well, kind of, ok .... that's what I'm using > right now - but unfortunately the modifier keys prevent the use of > shortcuts to trigger menu items, so it's a bit of a pain to use. > > So.... > Do you have any plans to provide a key-binding mechanism to let > tText plugin developers specify key sequences to activate their > plugin ? > > -- Alex. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From josh at dvcreators.net Mon Dec 7 20:34:19 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 7 Dec 2009 17:34:19 -0800 Subject: does anyone have experience printing PDFs from Rev @ full resolution? Message-ID: Does anyone have experience printing PDFs from Rev @ full resolution? Meaning, vector PDFs will print at the full printer resolution (300dpi/600dpi, etc.), and bitmap PDFs will print at the document resolution. From lan.kc.macmail at gmail.com Mon Dec 7 21:10:26 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 8 Dec 2009 10:10:26 +0800 Subject: Importing data into RevDB In-Reply-To: <7c87a2a10912070917n76d13cc2p8c28f6dadf55e5e@mail.gmail.com> References: <9ED3315D-E69C-4E81-B6D2-25ACDD8BC7EC@yahoo.com> <8998436.241260066818370.JavaMail.HAPPYLAPPY$@HappyLappy> <7c87a2a10912070917n76d13cc2p8c28f6dadf55e5e@mail.gmail.com> Message-ID: Andre, When I first had headaches working with csv I ended up, in Excel prior to exporting, doing a 'Replace All' , to ccccc ' to sqsqsq (single quote) " to dqdqdq (double quote) tab to ttttt carriage returns to crcrcr the basic principle being replacing all problem characters with a character or character sequence that you know wont occur in the data. In one stack I have, because the data is so valuable, I even go to the trouble of searching the data first for ttttt to confirm it doesn't occur before doing the replace sequence, and if it does it will keep adding additional t's until it finds a safe replace set of characters. This eliminated ALL comma count errors or quote problems when dealing with the data in Rev. But then I soon discovered that if I went with TAB delimited for the Excel output I was just wasting my time replacing all the , ' and " (commas, single and double quotes). All I needed to do was replace tab and carriage returns/line feeds and Export as TAB delimited and change the itemDelimiter in Rev to tab. As I said, I have some very important data, and it's vital that it is not corrupted, so if you have an example from you magazine data, where replacing all the tabs and cr first, then exporting as tab delimited will NOT result in a line of data in Rev = a row of data in Excel, or an item of data in Rev = a cell of data in Excel, I'd like to know because I'll need to determine if such a problem could effect my data. Thanks PS I've been down the XML route as well and personally I find: Replace All, Export as Tab delimited, Repeat for each line, much much faster than doing anything with XML. PPS Of course this only works if you can control the data export output. If the data is already set in stone, and it was outputted as csv, I'm deeply sorry and can feel your pain;-( On Tue, Dec 8, 2009 at 1:17 AM, Andre Garzia wrote: > David, > > I've just imported 30 MB worth of text into a SQLite database over a remote > connection. What I tried using first was a CSV file as well and I could not > make it work. I am importing magazine articles, the comma count is all > wrong > and unless I wrote a super dupper RegEx thing to cope with quote values > that > can contain commas and quotes up to unlimited levels in a field then it > would never work. I ended up using XML as my data source format and all of > a > sudden everything started falling into place. > > From lan.kc.macmail at gmail.com Mon Dec 7 21:37:05 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 8 Dec 2009 10:37:05 +0800 Subject: Looking for advice for RevMedia presentation In-Reply-To: <1260230946825-954885.post@n4.nabble.com> References: <1260230946825-954885.post@n4.nabble.com> Message-ID: Alejandro, Are these teachers forced to attend your sessions or did they volunteer? This is important because if they volunteered it means that they've actually already wished their computer/software could do something that it can't currently do, or doesn't do well. In this case, I'd be contacting them all and asking why they volunteered for the demo, what are they hoping to get out of it, what are they hoping to do with it. I would then think you'd have some clues as to where Media fits in and that would further spark their interest. As for the homework, again I think the initial survey would give you enough info to determine a stack that could be created that would actually fulfill someones 'dream'. Even with a few people you are sure to get someone who does a nice GUI, someone else who adds a few extra features, and someone else who does the fastest code. Finish off by combining the best, having the Teacher who did the best GUI instruct the others on what they discovered about Rev's GUI elements, the Teacher with the best code instruct on what they discovered, etc etc. If they are didn't volunteer to be there, I'm sorry, I can't help :-( On Tue, Dec 8, 2009 at 8:09 AM, Alejandro Tejada wrote: > > Hi all, > > Next week, i have been invited to make a demostration > of RevMedia potencial use in Education to a small group of > 1) Teachers and > 2) Developers that work in the Education field. > > My temptative schedule: > > First day: 2 1/2 hours, > Presentation and examples of works created in this platform > Practical exercises and Homework for next reunion. > > Four Days later: 2 1/2 hours > Review Homework and collect ideas, opinions and > comentaries about the platform. > > Every advice to fill in the specifics details and make this > presentation a real sucess is welcome. > > Alejandro > > -- > View this message in context: > http://n4.nabble.com/Looking-for-advice-for-RevMedia-presentation-tp954885p954885.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Mon Dec 7 23:28:25 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 7 Dec 2009 20:28:25 -0800 (PST) Subject: Looking for advice for RevMedia presentation In-Reply-To: <1260230946825-954885.post@n4.nabble.com> References: <1260230946825-954885.post@n4.nabble.com> Message-ID: Hi Alejandro, What more do you know/can tell us about your attendees? If you don't know, can you throw up a little online survey to solicit information? Do you know anything, for example, about what current computer applications they use/are comfortable with? What areas they teach? What ages? What they want to get out of this presentation? Judy On Mon, 7 Dec 2009, Alejandro Tejada wrote: > > Hi all, > > Next week, i have been invited to make a demostration > of RevMedia potencial use in Education to a small group of > 1) Teachers and > 2) Developers that work in the Education field. > > My temptative schedule: > > First day: 2 1/2 hours, > Presentation and examples of works created in this platform > Practical exercises and Homework for next reunion. > > Four Days later: 2 1/2 hours > Review Homework and collect ideas, opinions and > comentaries about the platform. > > Every advice to fill in the specifics details and make this > presentation a real sucess is welcome. From capellan2000 at gmail.com Mon Dec 7 23:57:54 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 7 Dec 2009 20:57:54 -0800 (PST) Subject: Looking for advice for RevMedia presentation In-Reply-To: References: <1260230946825-954885.post@n4.nabble.com> Message-ID: <1260248274021-954992.post@n4.nabble.com> Hi Kay and Judy, Many thanks for replying my message :-) Your answers imply that i have to know as much as i can about the teachers and developers that are going to attend this reunion. Tomorrow, i will ask to the person who is planning this reunion. Thanks again for your answer! Alejandro -- View this message in context: http://n4.nabble.com/Looking-for-advice-for-RevMedia-presentation-tp954885p954992.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Tue Dec 8 00:16:38 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 7 Dec 2009 21:16:38 -0800 (PST) Subject: QT on Win: possible deal-breaker, need alternative In-Reply-To: <4B14330D.3050104@fourthworld.com> References: <4B14330D.3050104@fourthworld.com> Message-ID: <1260249398817-955002.post@n4.nabble.com> Hi Richard, Remember that you could install "Quicktime Alternative". Only 9 MB and is not constantly asking users to upgrade. Here, Rev plays sounds in format AU and AIFF, but not WAV. AU audio files with MU-LAW compression seems to offer the best sound/Size advantage. To convert WAV to AU (MU-LAW) the command line application named SOX works great: http://sox.sourceforge.net/ Alejandro -- View this message in context: http://n4.nabble.com/QT-on-Win-possible-deal-breaker-need-alternative-tp931619p955002.html Sent from the Revolution - User mailing list archive at Nabble.com. From mcdomi at free.fr Tue Dec 8 02:44:04 2009 From: mcdomi at free.fr (Dom) Date: Tue, 8 Dec 2009 08:44:04 +0100 Subject: Is it possible to change the revlet embed html? In-Reply-To: <7c87a2a10912070833l16ea3cdct7be2fc12bcc99c04@mail.gmail.com> Message-ID: <1jaec9t.mpj42tb9aacoM%mcdomi@free.fr> Andre Garzia wrote: > Yes we can! but you must remember that the revlet executes on the client > machine, so if you want to write to your server you'll need URL calls to the > remote server machine. Ah, OK, je viens de capter ;-) capito (subito ;-)) OK, I do realize -- but as I wish to write some data into a text file on the server*: suppose I am running the revlet on my machine -- I know how to access the server, with my password but what if the revlet runs on another machine, which don't know the password? making anonymous ftp?? *another question: is the revlet capable of writing data onto the _client_ machine? (a while...) PS: I had an idea, just for now ;-) I fixed "the directory" to the effective filename of what it thought was the revlet -- but, after digging in the Library > Application Support > RunRev > revWebPlayer I found some "slag" put there by my previous experiments ;-)) So, my attempts did work! but not as I wished... After making the "necessary" DIV changes (see "Found it!") the page with two independant revlets (not a mainstack and its substack) worked I could "write" some data with the first one, and "read" then by the second one -- knowing that the text file was actually written in the revWebPlayer folder on the client (my machine) and not onto the server -- sort of cookie ;-) From mcdomi at free.fr Tue Dec 8 03:02:21 2009 From: mcdomi at free.fr (Dom) Date: Tue, 8 Dec 2009 09:02:21 +0100 Subject: Is it possible to change the revlet embed html? In-Reply-To: <7c87a2a10912070833l16ea3cdct7be2fc12bcc99c04@mail.gmail.com> Message-ID: <1jaee3m.ucgo5v8xmyjaM%mcdomi@free.fr> Andre Garzia wrote: > yes we can! We can show as many revlets as we want on the same page in any > number of instances we want but, you cannot do it with the standard html > that rev generates for you because with that html you have all the divs with > the same id which will spoil the detection javascript code. Now if you head > to http://hg.andregarzia.com/revletobject and use my javascript instead, not > only it will be more readable and thus maintainable but it will also make it > easier to load more revlets because I don't assume div#ids anywhere. Merci Andr? ! :-) I had some trouble getting your demo, but that is! (the bitbucked page is not obvious ;-)) From gcanyon+rev at gmail.com Tue Dec 8 03:36:05 2009 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Tue, 8 Dec 2009 02:36:05 -0600 Subject: Importing data into RevDB In-Reply-To: <9ED3315D-E69C-4E81-B6D2-25ACDD8BC7EC@yahoo.com> References: <31833658.41259964130248.JavaMail.HAPPYLAPPY$@HappyLappy> <11554004-DA36-4C5C-9172-6D9ACA0ED0E4@mac.com> <9ED3315D-E69C-4E81-B6D2-25ACDD8BC7EC@yahoo.com> Message-ID: <8ea148a00912080036p37146ee5xfe11bb2af4168f43@mail.gmail.com> > A note of caution when using this. > The chunking rules for Rev are that a line can contain items, but items > cannot contain lines. > Lines can contain items, items contain words. > ?wrong = ?line 6 of item 4, no matter the delimiter You can get past this by adding parentheses: item 1 of word 2 of "this,is,a test,string" -- gives you an error item 1 of (word 2 of "this,is,a test,string") -- gives you "test" Likewise, if field 1 contains: this,is,a test,string item 3 of fld 1 -- gives you "a" & cr & "test" line 2 of item 3 of fld 1 -- gives you an error line 2 of (item 3 of fld 1) -- gives you "test" And if you really want to mess with things: set the linedelimiter to "s" line 2 of (item 3 of (word 4 of "this is a crazy,mixedup,test")) -- gives you "t" gc From scott at tactilemedia.com Tue Dec 8 06:35:23 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 08 Dec 2009 03:35:23 -0800 Subject: [ANN] Momentum Scrolling 0.1 Message-ID: Hello List: As a result of some touch screen experiments (and because it's a personal interest) I'm posting a first step toward a Rev "gesture library" of sorts -- a demo of a momentum scrolling effect similar to that found on Apple's iPhone and other touch screen devices. The stack demonstrates a method to drag-scroll a grouped control, have the scrolling gradually decelerate, and "bounce-back" when scrolling exceeds the set margins of the control. The demo stack requires Rev 3.5 or later. Execute the following in your Rev message box: go url "http://www.tactilemedia.com/download/MomentumScroll_01.rev" Use of the code is explained on the last card in the stack. The library still has a ways to go -- again, it's a first step -- but I thought folks might be interested in taking a look at early development. I'm hoping this can be of use when Rev runs on touch screen devices in the future. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From davidocoker at gmail.com Tue Dec 8 07:53:42 2009 From: davidocoker at gmail.com (David Coker) Date: Tue, 8 Dec 2009 06:53:42 -0600 (CST) Subject: Importing data into RevDB In-Reply-To: <8998436.241260066818370.JavaMail.HAPPYLAPPY$@HappyLappy> Message-ID: <32056929.01260276818050.JavaMail.HAPPYLAPPY$@HappyLappy> Hello folks, While this message isn't specifically about a Rev solution per se, I think that some of you may still find it helpful. After a lot of research on the net, I finally found a "one-two punch" to help clean up this large mass of CSV data that I've been working with. As always, I recommend that you work with a copy of your data file, just to be on the safe side. To rid yourself of embedded line feeds and carriage returns using Excel (untested on Mac): 1. Select the data you want to clean, then open up the "Find and Replace" dialog. 2. While holding down the ALT key, type in the ASCII equivalent for the character you want to replace. (e.g. Tab = 009, LF = 010, CR = 013) 3. Replace with whatever you wish or nothing. The second thing I found after a lot of research is a very inexpensive program for the PC, called CSV Easy, which will clearly flag problematic data rows, identifying each of the problems. http://www.tizma.com/csveasy Using both of the above, I was able to locate and repair over 8000 problems in a file with 87000+ records (10%), which previously I have been unable to do otherwise. Hopefully I will now be able to convert the data into tabbed format for use in Rev for additional processing. Best regards, David C. From mcgrath3 at mac.com Tue Dec 8 08:02:34 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 08 Dec 2009 08:02:34 -0500 Subject: Importing data into RevDB In-Reply-To: <32056929.01260276818050.JavaMail.HAPPYLAPPY$@HappyLappy> References: <32056929.01260276818050.JavaMail.HAPPYLAPPY$@HappyLappy> Message-ID: <10BD46BA-1578-407E-A257-E74DFB45C423@mac.com> Great work, David. Thanks for keeping us up to date on this. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 8, 2009, at 7:53 AM, David Coker wrote: > Hello folks, > > While this message isn't specifically about a Rev solution per se, I > think that some of you may still find it helpful. After a lot of > research on the net, I finally found a "one-two punch" to help clean > up this large mass of CSV data that I've been working with. As > always, I recommend that you work with a copy of your data file, > just to be on the safe side. > > To rid yourself of embedded line feeds and carriage returns using > Excel (untested on Mac): > 1. Select the data you want to clean, then open up the "Find and > Replace" dialog. > 2. While holding down the ALT key, type in the ASCII equivalent for > the character you want to replace. (e.g. Tab = 009, LF = 010, CR = > 013) > 3. Replace with whatever you wish or nothing. > > The second thing I found after a lot of research is a very > inexpensive program for the PC, called CSV Easy, which will clearly > flag problematic data rows, identifying each of the problems. > > http://www.tizma.com/csveasy > > Using both of the above, I was able to locate and repair over 8000 > problems in a file with 87000+ records (10%), which previously I > have been unable to do otherwise. Hopefully I will now be able to > convert the data into tabbed format for use in Rev for additional > processing. > > Best regards, > David C. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bill at bluewatermaritime.com Tue Dec 8 08:03:40 2009 From: bill at bluewatermaritime.com (william humphrey) Date: Tue, 8 Dec 2009 09:03:40 -0400 Subject: does anyone have experience printing PDFs from Rev @ full resolution? In-Reply-To: References: Message-ID: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> I don't even know how to embed a PDF in a RunRev card. I always open the PDF in photoshop first and save it as a .png which has 300 dot per inch resolution (or less) and then put that image in the card which I want to print. From par.lindgren at kmh.se Tue Dec 8 08:23:01 2009 From: par.lindgren at kmh.se (par.lindgren at kmh.se) Date: Tue, 08 Dec 2009 14:23:01 +0100 Subject: [admin] admin test please ignore U002L01037 In-Reply-To: Message-ID: This is an automated reply; I am out of office and will not be able to reply to you immediately.I will get back to you as soon as I return. From harryhommes at violenschool.nl Tue Dec 8 08:24:42 2009 From: harryhommes at violenschool.nl (harryhommes at violenschool.nl) Date: Tue, 08 Dec 2009 14:24:42 +0100 Subject: [admin] admin test please ignore U002L00173 In-Reply-To: <177PH7MP-S4OL-CW2X-B2E6-TUNQ8VJRQVTX@lists.runrev.com> Message-ID: Ik heb geen zin meer ik ben op vakantie From rolf.kocherhans at id.uzh.ch Tue Dec 8 08:25:31 2009 From: rolf.kocherhans at id.uzh.ch (rolf.kocherhans at id.uzh.ch) Date: Tue, 8 Dec 2009 14:25:31 +0100 Subject: AUTO: Rolf Kocherhans ist nicht erreichbar In-Reply-To: <380CBR2N-J4FH-BIJS-2O60-BPUWGPPQUGRJ@lists.runrev.com> References: <380CBR2N-J4FH-BIJS-2O60-BPUWGPPQUGRJ@lists.runrev.com> Message-ID: Ich bin von Do, 03.12.2009 bis Mi, 06.01.2010 abwesend. Dieses Mail wird weder bearbeitet noch weitergeleitet. Bitte melden Sie sich mit dringenden Anfragen an die Helpline, welche unter der Nummer 43333 erreichbar ist. Oder schreiben Sie eine email an zdu-support at id.uzh.ch, dies kreirt ein Ticket, meine Kollegen werden sich dann bei Ihnen melden. mit freundlichen Gr?ssen Rolf Kocherhans Note: This is an automated response to your message "[admin] admin test please ignore U002L01108" sent on 12/08/2009 02:25:18 PM. This is the only notification you will receive while this person is away. From rene.micout at numericable.com Tue Dec 8 08:25:43 2009 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 8 Dec 2009 14:25:43 +0100 Subject: [ANN] Momentum Scrolling 0.1 In-Reply-To: References: Message-ID: <19722D36-8C02-4C06-9AD4-3E0D8BEFEDE3@numericable.com> Very well !! Thank you I wil try this with my Wacom Cintiq 12WX this week-end Bons souvenis de Paris Ren? Le 8 d?c. 2009 ? 12:35, Scott Rossi a ?crit : > Hello List: > > As a result of some touch screen experiments (and because it's a personal > interest) I'm posting a first step toward a Rev "gesture library" of sorts > -- a demo of a momentum scrolling effect similar to that found on Apple's > iPhone and other touch screen devices. The stack demonstrates a method to > drag-scroll a grouped control, have the scrolling gradually decelerate, and > "bounce-back" when scrolling exceeds the set margins of the control. > > The demo stack requires Rev 3.5 or later. Execute the following in your Rev > message box: > go url "http://www.tactilemedia.com/download/MomentumScroll_01.rev" > > Use of the code is explained on the last card in the stack. The library > still has a ways to go -- again, it's a first step -- but I thought folks > might be interested in taking a look at early development. I'm hoping this > can be of use when Rev runs on touch screen devices in the future. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcgrath3 at mac.com Tue Dec 8 08:39:04 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 08 Dec 2009 08:39:04 -0500 Subject: [ANN] Momentum Scrolling 0.1 In-Reply-To: References: Message-ID: <998C1574-E166-43EB-98A0-07196B65663F@mac.com> Scott, Works great. Have you taken a look at the great mouse gesture lib by Malte? These are different approaches but are both very helpful in 'emulating' a touch screen device. They work best for revlets on the web emulating the iPhone for people wanting to show off their iPhone software online. > Hey, > > as sitting in hotels in the middle of nowhere is boring, I took a > couple of hours to write a little lib to implement mouse gestures in > Rev. You can find it either in the new revOnline or type in the > messagebox: > > go stack URL "http://www.derbrill.de/fun/libMouseGestures.rev" > > This lib enables you to implement mouse gestures in your own stacks. > Just start using the stack by issuing: > > start using stack "libMouseGestures" > > To tell a control or card to listen to gestures you need to set a > custom property of that control or card to true: > > set the libGest["listenToGestures"] of this card to true Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 8, 2009, at 6:35 AM, Scott Rossi wrote: > Hello List: > > As a result of some touch screen experiments (and because it's a > personal > interest) I'm posting a first step toward a Rev "gesture library" of > sorts > -- a demo of a momentum scrolling effect similar to that found on > Apple's > iPhone and other touch screen devices. The stack demonstrates a > method to > drag-scroll a grouped control, have the scrolling gradually > decelerate, and > "bounce-back" when scrolling exceeds the set margins of the control. > > The demo stack requires Rev 3.5 or later. Execute the following in > your Rev > message box: > go url "http://www.tactilemedia.com/download/MomentumScroll_01.rev" > > Use of the code is explained on the last card in the stack. The > library > still has a ways to go -- again, it's a first step -- but I thought > folks > might be interested in taking a look at early development. I'm > hoping this > can be of use when Rev runs on touch screen devices in the future. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From eric.miclo at wanadoo.fr Tue Dec 8 08:49:26 2009 From: eric.miclo at wanadoo.fr (=?iso-8859-1?Q?=C9ric_Miclo?=) Date: Tue, 8 Dec 2009 14:49:26 +0100 Subject: 2 Datagrid questions In-Reply-To: References: <11545830.01259959595945.JavaMail.HAPPYLAPPY$@HappyLappy> <6FA6ABDC-C032-4BAF-81FF-5131886B34ED@wanadoo.fr> Message-ID: Hello Trevor, Thanks for you advices. Best regards, ?rIC Miclo Le 7 d?c. 2009 ? 14:59, Trevor DeVore a ?crit : > > On Dec 6, 2009, at 2:17 PM, ?ric Miclo wrote: > >> I'd have 2 questions about DataGrid: >> >> - is there a way to completely deactivation sorting of a DataGrid. I only want to display the data in the order it was entered. > > The following lesson discusses how to disable sorting. > > How Do I Customize or Disable Column Sorting?: > >> - is it possible to get the data from a particular column from a DataGrid, and if yes how (I've looked at the doc, found something, but for the moment I'm unable to get it working). > > You would have to write your own accessor for that. The lesson that discusses aggregate values for columns should get you started. > > How Do I Get Aggregate Values for Columns?: > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- My NeXT computer will Be a Mac too! -- From revlist at azurevision.co.uk Tue Dec 8 09:44:12 2009 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 8 Dec 2009 14:44:12 +0000 Subject: OT: Panorama software In-Reply-To: <4B1B1821.4070707@hindu.org> References: <4B1B1821.4070707@hindu.org> Message-ID: <075C73BB-0276-4290-924A-A798A8137641@azurevision.co.uk> Panoramas being my specialist area... Cheap (free), powerful but a steeper learning curve than some apps would be Hugin. Hugin has a *very* active team of developers, so make sure you've downloaded a recent version. Autopano Pro (nowhere near $379, not sure where you got that) is the easiest to use and the most automated, but can lack control if things don't do what you expect. PTGui (PanoTools Graphical User Interface is the reason for the mouthful of a name) is what I use (the pro version, which has things like batch stitching and HDR which you won't need) and combines quite a bit of the ease of use of Autopano with a huge amount of control if you want to do more complex things. All three of these work happily with multi-row panoramas and full sphericals. Ian P.S. Some useful pano-related sites: http://ivrpa.org http://panoguide.com http://wiki.panotools.org/ http://groups.yahoo.com/group/PanoToolsNG/ On 6 Dec 2009, at 02:34, Sivakatirswami wrote: > I keep dreaming that one day I will get beyond admin and have time > to do some "creative" well it may be soon. > > What are everyone recommendations as of 2010 > > for best tools for creating panoramas (including 360 degree > horizontal over head ones) on Mac OSX? > > I see a an open source package which runs on Macs: > > Hugin -- Free > > http://hugin.sourceforge.net/download/ > > Autopano gets great reviews but $$379.00 seems a bit outrageous? > > Panoweaver only outputs Flash... > > Lots of windows only options which I can't use. > > ?? > > Sivakatirswami > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at derbrill.de Tue Dec 8 10:18:37 2009 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Tue, 8 Dec 2009 16:18:37 +0100 Subject: put put In-Reply-To: <20091207170435.8663F288215@mail.runrev.com> References: <20091207170435.8663F288215@mail.runrev.com> Message-ID: <6650F90B-A22B-4E4A-97F3-7EB0FE520CE1@derbrill.de> I think something is fishy with libURL in Rev 4. Some script that used to work in previous versions now breaks with the current engine. local tPath, tTempPath put getServerUrl()&"test.pdf" into tPath put the tempname & ".pdf" into tTempPath libURLSetStatusCallback "dataupdate",the long id of sb 1 of stack "progressupdate" send "init" to stack "progressUpdate" set the filetype to "prvwPDF " put URL tPath into URL ("binFile:"& tTempPath) libURLSetStatusCallback close stack "progressUpdate" launch document tTempPath This works sometimes(on Windows XP), most of the time it does not and we end up with half downloaded files or 0 byte files. Rather strange, because until now it used to work. Has anyone else seen strangeness with put? Any workarounds we could try? Cheers, Malte From andre at andregarzia.com Tue Dec 8 10:46:33 2009 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 8 Dec 2009 13:46:33 -0200 Subject: put put In-Reply-To: <6650F90B-A22B-4E4A-97F3-7EB0FE520CE1@derbrill.de> References: <20091207170435.8663F288215@mail.runrev.com> <6650F90B-A22B-4E4A-97F3-7EB0FE520CE1@derbrill.de> Message-ID: <7c87a2a10912080746t6b426cc6w3bf00c532190bc13@mail.gmail.com> Malte, do you still have the dps of version 4? Try building with dp-3 or dp-4 but not with gm-1 see if it goes away... Cheers andre On Tue, Dec 8, 2009 at 1:18 PM, Malte Pfaff-Brill wrote: > I think something is fishy with libURL in Rev 4. Some script that used to > work in previous versions now breaks with the current engine. > > local tPath, tTempPath > put getServerUrl()&"test.pdf" into tPath > put the tempname & ".pdf" into tTempPath > libURLSetStatusCallback "dataupdate",the long id of sb 1 of stack > "progressupdate" > send "init" to stack "progressUpdate" > set the filetype to "prvwPDF " > put URL tPath into URL ("binFile:"& tTempPath) > libURLSetStatusCallback > close stack "progressUpdate" > launch document tTempPath > > This works sometimes(on Windows XP), most of the time it does not and we > end up with half downloaded files or 0 byte files. Rather strange, because > until now it used to work. Has anyone else seen strangeness with put? Any > workarounds we could try? > > Cheers, > > Malte > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From luis at anachreon.co.uk Tue Dec 8 10:53:52 2009 From: luis at anachreon.co.uk (Luis) Date: Tue, 8 Dec 2009 15:53:52 +0000 Subject: Simultaneous Animations... In-Reply-To: <35E451A19133464580BB5C02163BD77F@GATEWAY> References: <16AF3D25-78C0-4AAE-9570-A40B1D7F19A4@mac.com><390F8EDB-A696-4638-847B-278C8C4BDA30@mac.com><1259938959976-948592.post@n4.nabble.com><3CED2D3A-CDA1-4565-BBDA-525ACB59F531@anachreon.co.uk><0EA58107DCF5485E9D0B255F1F6C8648@GATEWAY> <054B5F24-3C77-410F-A505-7503255A47BE@anachreon.co.uk> <35E451A19133464580BB5C02163BD77F@GATEWAY> Message-ID: Hiya, Went back to the irrKlang site and found the licensing options... Oh well! If you could negotiate a distribution deal (for integrating it into Rev or Franklin3D) I'd be on it like a shot. I had to drop a few projects due to the lack of audio facilities in Rev, and still not viable with EQT External (there's a bug report on it IIRC). If you're going to implement it separately (not through irrKlang) I'd like to know! Cheers, Luis. On 7 Dec 2009, at 17:23, Lynn Fredricks wrote: > Hi Luis, > >> Well the site (which if anyone has the link, please post it!) >> has an animation library that for the original poster's >> question would assist in learning a bit more on the 'vanilla' >> side of animation through rev. > > http://www.franklin3d.com > >> On Franklin3D: Will it include the irrKlang Audio component >> in the future? > > irrKlang is not actually a part of irrlicht, but a commercial product > offered by the original developer of irrlicht as an add-on. We > kicked around > previously offering a multi-channel audio plugin, and I wouldn't > discount it > for the future. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dave.cragg at lacscentre.co.uk Tue Dec 8 11:08:36 2009 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 8 Dec 2009 16:08:36 +0000 Subject: put put In-Reply-To: <6650F90B-A22B-4E4A-97F3-7EB0FE520CE1@derbrill.de> References: <20091207170435.8663F288215@mail.runrev.com> <6650F90B-A22B-4E4A-97F3-7EB0FE520CE1@derbrill.de> Message-ID: Malte, I think there may be a few minor changes in the version shipping with Rev 4. (But nothing that obviously changes previous working.) In your code, I'd suggest you split the following line: > put URL tPath into URL ("binFile:"& tTempPath) into two parts, and add error checking after each part. put URL tPath into tData if the result is not empty then answer the result -- or whatever else put tData into URL ("binFile:"& tTempPath) if the result is not empty then answer the result -- or whatever end if end if In that way you can see if the problem concerns the download or saving to file. Cheers Dave On 8 Dec 2009, at 15:18, Malte Pfaff-Brill wrote: > I think something is fishy with libURL in Rev 4. Some script that used to work in previous versions now breaks with the current engine. > > local tPath, tTempPath > put getServerUrl()&"test.pdf" into tPath > put the tempname & ".pdf" into tTempPath > libURLSetStatusCallback "dataupdate",the long id of sb 1 of stack "progressupdate" > send "init" to stack "progressUpdate" > set the filetype to "prvwPDF " > put URL tPath into URL ("binFile:"& tTempPath) > libURLSetStatusCallback > close stack "progressUpdate" > launch document tTempPath > > This works sometimes(on Windows XP), most of the time it does not and we end up with half downloaded files or 0 byte files. Rather strange, because until now it used to work. Has anyone else seen strangeness with put? Any workarounds we could try? > > Cheers, > > Malte > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jerry.daniels at me.com Tue Dec 8 11:19:14 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 8 Dec 2009 10:19:14 -0600 Subject: [ANN] Free tText plugins: Do Shell & Speak2Me In-Reply-To: References: <4B1D9BA3.2080008@tweedly.net> Message-ID: <41AE1998-7CB8-4862-9BC1-0F4348E3DF34@me.com> Sarah, Plugins as palette stacks are fine. In the future shortcut keys will be more flexible in terms of assignment. In the meantime, you can use what's there. Increment. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-your-handlers On Dec 7, 2009, at 6:40 PM, Sarah Reichelt wrote: >> Jerry - I have a few plugins I would love to do - but to be really >> useful I >> need to be able to activate them more conveniently, or more >> flexibly, than >> using the plugin menu. (for example, I'd like to have the >> equivalents of >> Emacs change-case commands >> >> -L - make current word lower case, leave cursor at start of >> next word >> -U - make current word UPPER case, .... >> -C = make word Capitalized, .... >> >> Doing that as 3 separate plugins is kind of crazy (and I'd never >> remember >> which order they came in). >> Doing it as one plugin, and using modifier keys to choose which >> action is >> chosen is, well, kind of, ok .... that's what I'm using right now - >> but >> unfortunately the modifier keys prevent the use of shortcuts to >> trigger menu >> items, so it's a bit of a pain to use. > > > What about making a plugin that opens as palette stack? > > Perhaps it could have a front script that intercepts the > commandKeyDown message and implements your own commands there. > I haven't tried this, so I don't know if setting a frontScript will be > possible, but I guess it would. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Tue Dec 8 11:28:54 2009 From: bobs at twft.com (Bob Sneidar) Date: Tue, 8 Dec 2009 08:28:54 -0800 Subject: GLX2 In-Reply-To: <055B3EF5-4C18-45BD-8089-A541B7D7A45D@me.com> References: <3E062182-E46A-4FF6-8441-2E2E1D3BA731@me.com> <9D1192D1-3B9D-4500-AA24-1C3ADA94E89D@twft.com> <055B3EF5-4C18-45BD-8089-A541B7D7A45D@me.com> Message-ID: <6966EA4D-FF9E-4870-A63F-62F645A5947B@twft.com> Very nice. I've been using tRev a LOT. I will try and memorize the hotkeys but the coffee really affects my short term memory. Or was it the old age... I forget. Bob On Nov 30, 2009, at 9:44 PM, Jerry Daniels wrote: > Bob, et al... > > I'm proud to say that tRev is very well documented. Some folks are under the illusion that you have to sit and watch video after video in order to figure out how to use it. This is simply not true. > > tRev Documentation comes in three forms: > > 1. A Windows and a Mac shortcuts PDF. > 2. A Quickstart PDF document. > 3. A FAQ page. > > These documents are updated as features are added. The Quickstart PDF has everything in it. > > Links to all three of these forms of documentation are displayed on the right side of the tRev site as you enter: > > http://reveditor.com > > New users get links to all this in their email with their reg code. > > You don't have to read posts to figure out how tRev works. Links to the docs listed above are prominent. Explanations abound, are consolidated, and come in a format for everyone: visual, text, video, etc. > > Add basic properties to a script? Look at your menubar. Under Edit. Last item. > > Basic properties is also on the shortcuts PDF. > > How to add basic properties is also in the quickstart PDF. > > There are three posts with screens, text and video showing how to use raptor handlers to add basic and custom properties to your scripts. How did I find them? I entered "basic properties" into the search field on the right side of the open page of the site. > > Hope that helps. > > Best, > > Jerry Daniels > > The latest Rev Editor Video: > http://reveditor.com/feature-friday-drag-n-drop-stacks-0 > > > On Nov 30, 2009, at 10:12 PM, Bob Sneidar wrote: > >> Hey! I purchased both! Do I get a refund?? J/K you deserve the bonus for the outstanding work you've done. It would be nice to see a full hotkey list somewhere though. I saw a Feature Friday that showed how to add basic properties to an objects script, but I forgot how! >> >> Bob >> >> >> On Nov 30, 2009, at 12:35 PM, Jerry Daniels wrote: >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revdev at pdslabs.net Tue Dec 8 11:28:57 2009 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 08 Dec 2009 08:28:57 -0800 Subject: finding revlet limits in a controlled environment In-Reply-To: <4B1C5372.50803@pdslabs.net> References: <4B1C5372.50803@pdslabs.net> Message-ID: <4B1E7EC9.9000007@pdslabs.net> I'm answering my own question - see below. Maybe it will answer questions that come up in your world. Phil Phil Davis wrote: > Hello - > > My client wants to sell revlet-based software to his customers in a > large US govt agency. If they are able to download & install the > revweb plugin, we don't know what limitations to a revlet's > capabilities might be enforced by IT in their computing environment. > To answer this question, we've built a web site his customers can use > in their world that steps them through a series of revlets that each > try different kinds of activity. The activities include: > > * load the plugin and do nothing > * create, read, rename, delete a file on the local HD > * get a web URL (google.com) > * run a shell command ("dir" or "ls") > * create, delete a stack in memory; get a stackfile from a web server > * print to their printer > > Those are all the tests so far. The test web site emails the revlet > test results back to me. > > Now my question: > Are we testing the right things? If not, what else should we test for? > Here's a response from an off-list, non-Rev-user, IT network security friend of mine: > As for what apps can/can't do in any, or large enterprise sized > environments, is going to depend on several things... you can be > assured of one thing: federal systems, and even state organizations, > are getting locked down tighter and tighter all the time. Local > installation is probably going to have to go thru if the app is a > local install that will probably be the most difficult to get running > 'vanilla' in anyone's environment with the level of security and > access controls put on local systems and lock down of the registry. > > Here's what you can probably count on: > 1) full read/write from and to the users' My Document and temp space. > 2) outbound connections on port 80 and 443 (SSL v3 or TLS) > 3) no inbound connections allowed > 4) be prepared to illustrate the application/web tool security from a > security scanner report (Nessus is a great open source tool that is > kept up to date for vulnerabilities and provides risk mitigation > instructions). > 5) If the app/tool wants any elevated privileges and it will be run by > the general user, probably is not going to be approved. > 6) Every organization has (or not) its own security posture and > policies. Those organizations with CISSP (Certified Information > Systems Security Professional) don't always mean they are technical > and may have to pass the review/approval down to frontline > administrators with specific security skills. I've seen managers > without any technical, let alone systems security expertise, get the > CISSP cert and throw it around like they're the best thing since > sliced bread....(all you have to do is mentions something about ports, > proxy or routing and they will glass over like deer in the > headlights).... > 7) Don't expect any organization to give you their security policy. > Their first and best answer will usually be 'no'. This is where your > application design and specific requirements listed out will be > helpful - they should be able to identify those items that work within > their security and those that do not. > > One thing that should be considered are those organizations that are, > have or will be utilizing virtualization such as terminal services, > VMware or Citrix. These environments will be controlling the users' > systems from services and resources on core servers or clusters. In > these cases, even more restrictions may exist than normally exists on > standard desktop environments. Virtual environments are at increased > risk for implementation of apps/tools on a system that could crash the > host and impact many users or resources. > > Speaking of desktops...the difference between desktop OS can vary. XP, > Vista and now Windows 7 have different levels of access control and > permissions. The enterprise is going to control these systems through > their SMS or SUS services and global policies may restrict some of the > things the application wants to do. Also be aware that more > restrictive environments, such as the federal organizations, may be > utilizing IDS/IPS (intrusion detection/prevention) clients that report > to centralized management systems. Automated deployment of a tool in > these high security environments could trigger risk alarms and create > some confusion. > > I think the best thing is to be very specific about what types of > files are written or read, the level of access each needs, the port > calls/requests (ephemeral ports included), etc. The basics of the > software design including those elements listed previously would be > beneficial for those organizations that will require a security review > and/or change control management decisions. > > The Nessus scanner is the one I used in the federal government and was > the basis for directing an enterprise security management platform > around which we developed an open source based tool for managing risk > identification, mitigation and audit. It runs great on a Linux > platform and has a ton of flexibility. The default settings will > generate passive scans, though you can turn up the heat and do full on > pen testing with it. The results it spits out are clear and easily > understood. Most all come with a link that specifies the patch/fix > required to clear the mitigation. Its vulnerability database is > populated by the large white hat community. Rarely does it give false > positives and they are generally corrected within a months time by > Tenable. Its been a couple years since I built a Nessus scanner but > the steps are pretty clear and easy for most anyone to do who can run > any of the popular Linux distros. > > http://www.nessus.org/nessus/ > > For those possible clients in the federal community, be prepared to > wait for approvals...they typically have a hurry up and wait attitude. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From mcdomi at free.fr Tue Dec 8 11:30:14 2009 From: mcdomi at free.fr (Dom) Date: Tue, 8 Dec 2009 17:30:14 +0100 Subject: Uploading data with a revlet (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: <1jaec9t.mpj42tb9aacoM%mcdomi@free.fr> Message-ID: <1jaf1le.19twi01tc39d9M%mcdomi@free.fr> Dom wrote: > *another question: is the revlet capable of writing data onto the > _client_ machine? I reply to my question: see the excellent page from revLessons about that ;-))) it seems that uploading via http is not allowed -- so we have to resort to ftp The example given by Ben runs nicely :-) I will test this on a revlet... My concern is that an user name plus a password are given in order to ensure the ftp to the server -- is it possible to another person to peek at those parameters? Or is it better to do an anonymous ftp?? From andre at andregarzia.com Tue Dec 8 11:34:10 2009 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 8 Dec 2009 14:34:10 -0200 Subject: Uploading data with a revlet (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: <1jaf1le.19twi01tc39d9M%mcdomi@free.fr> References: <1jaec9t.mpj42tb9aacoM%mcdomi@free.fr> <1jaf1le.19twi01tc39d9M%mcdomi@free.fr> Message-ID: <7c87a2a10912080834r531080d2y7f0fad24287b4392@mail.gmail.com> Dom, if you're storing passwords anywhere in your stack you should password protect them, checkout the password in the dictionary. Cheers andre On Tue, Dec 8, 2009 at 2:30 PM, Dom wrote: > Dom wrote: > > > *another question: is the revlet capable of writing data onto the > > _client_ machine? > > > I reply to my question: > > see the excellent page from revLessons about that ;-))) > > ding-a-file-using-FTP> > > it seems that uploading via http is not allowed > -- so we have to resort to ftp > > The example given by Ben runs nicely :-) > I will test this on a revlet... > > My concern is that an user name plus a password are given in order to > ensure the ftp to the server -- is it possible to another person to peek > at those parameters? > > Or is it better to do an anonymous ftp?? > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From bobs at twft.com Tue Dec 8 11:54:19 2009 From: bobs at twft.com (Bob Sneidar) Date: Tue, 8 Dec 2009 08:54:19 -0800 Subject: Professional Application Development With Revolution (Downloadable Course) In-Reply-To: References: <7C99600B-C35C-40C7-8831-6321EEE2280C@gmail.com> Message-ID: <0FF75CF0-0871-4618-8D61-1B898727C786@twft.com> Mr. and Mrs. Email played an awful trick on you, naming you Generic like that! Bob On Dec 1, 2009, at 8:31 AM, Trevor DeVore wrote: > On Dec 1, 2009, at 10:56 AM, Generic Email wrote: > >> Bravo! The class was wonderful. Thank you! > > Oh Generic One, > > Glad you liked it :-) > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From francois.chaplais at mines-paristech.fr Tue Dec 8 12:03:53 2009 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Tue, 8 Dec 2009 18:03:53 +0100 Subject: [ANN] Dictionary stack 1.8 Message-ID: <9CA15D15-4A91-4CAD-9D91-ADA9F6C1D251@mines-paristech.fr> The new version of the two companion Dictionary stacks are now available in Rev Online (search for Francois Chaplais as author, or dictionary as keyword) The "Initialize" stack uses Bj?rnke von Gierke's DocsLib 1.6 to populate the other "MyDict" stack with dictionary entries. Once this is done, you can run multiple refinable searches in the dictionary, store them in so called History cards, where some further editing can be done. These cards can be then exported to PDF with full hyperlinks and bookmarks if you have a TeX installation. The PDF documentation for the stack is embedded in the Dict stack and can be exported with a simple click on a button. Read it first (it has 15 or so pages with screenshots). What's new: multiple search cards, multiple history cards Export/import of searches, history, tags, notes browser navigation in the dictionary export to LaTeX files direct typeset to PDF on the Mac Email me if you cannot get the files from rev online. Cheers, Fran?ois From jerry.daniels at me.com Tue Dec 8 12:12:39 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 8 Dec 2009 11:12:39 -0600 Subject: GLX2 In-Reply-To: <6966EA4D-FF9E-4870-A63F-62F645A5947B@twft.com> References: <3E062182-E46A-4FF6-8441-2E2E1D3BA731@me.com> <9D1192D1-3B9D-4500-AA24-1C3ADA94E89D@twft.com> <055B3EF5-4C18-45BD-8089-A541B7D7A45D@me.com> <6966EA4D-FF9E-4870-A63F-62F645A5947B@twft.com> Message-ID: <92E39162-2563-4A6F-A517-74F1489E306B@me.com> Bob, I would recommend getting a tattoo of the tRev short cuts (it's only a page!), but then they change just enough to preclude such an approach. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-your-handlers On Dec 8, 2009, at 10:28 AM, Bob Sneidar wrote: > Very nice. I've been using tRev a LOT. I will try and memorize the > hotkeys but the coffee really affects my short term memory. Or was > it the old age... I forget. > > Bob > > > On Nov 30, 2009, at 9:44 PM, Jerry Daniels wrote: > >> Bob, et al... >> >> I'm proud to say that tRev is very well documented. Some folks are >> under the illusion that you have to sit and watch video after video >> in order to figure out how to use it. This is simply not true. >> >> tRev Documentation comes in three forms: >> >> 1. A Windows and a Mac shortcuts PDF. >> 2. A Quickstart PDF document. >> 3. A FAQ page. >> >> These documents are updated as features are added. The Quickstart >> PDF has everything in it. >> >> Links to all three of these forms of documentation are displayed on >> the right side of the tRev site as you enter: >> >> http://reveditor.com >> >> New users get links to all this in their email with their reg code. >> >> You don't have to read posts to figure out how tRev works. Links to >> the docs listed above are prominent. Explanations abound, are >> consolidated, and come in a format for everyone: visual, text, >> video, etc. >> >> Add basic properties to a script? Look at your menubar. Under Edit. >> Last item. >> >> Basic properties is also on the shortcuts PDF. >> >> How to add basic properties is also in the quickstart PDF. >> >> There are three posts with screens, text and video showing how to >> use raptor handlers to add basic and custom properties to your >> scripts. How did I find them? I entered "basic properties" into the >> search field on the right side of the open page of the site. >> >> Hope that helps. >> >> Best, >> >> Jerry Daniels >> >> The latest Rev Editor Video: >> http://reveditor.com/feature-friday-drag-n-drop-stacks-0 >> >> >> On Nov 30, 2009, at 10:12 PM, Bob Sneidar wrote: >> >>> Hey! I purchased both! Do I get a refund?? J/K you deserve the >>> bonus for the outstanding work you've done. It would be nice to >>> see a full hotkey list somewhere though. I saw a Feature Friday >>> that showed how to add basic properties to an objects script, but >>> I forgot how! >>> >>> Bob >>> >>> >>> On Nov 30, 2009, at 12:35 PM, Jerry Daniels wrote: >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From gbrackett at luceatlux.com Tue Dec 8 12:29:50 2009 From: gbrackett at luceatlux.com (George C Brackett) Date: Tue, 8 Dec 2009 12:29:50 -0500 Subject: Looking for advice for RevMedia presentation In-Reply-To: <1260248274021-954992.post@n4.nabble.com> References: <1260230946825-954885.post@n4.nabble.com> <1260248274021-954992.post@n4.nabble.com> Message-ID: One other thought, Alejandro. Teachers and Developers may very well be quite different audiences, so when you gather the information be sure to note any differences. It's possible that the homework should be in two sets, one for folks who are used to developing software and have tech chops, and another for newbies who will need much more hand-holding and much simpler goals. Twice the work, I know, but more likely to succeed with such a broad audience. George On Dec 7, 2009, at 11:57 PM, Alejandro Tejada wrote: Hi Kay and Judy, Many thanks for replying my message :-) Your answers imply that i have to know as much as i can about the teachers and developers that are going to attend this reunion. Tomorrow, i will ask to the person who is planning this reunion. Thanks again for your answer! Alejandro -- View this message in context: http://n4.nabble.com/Looking-for-advice-for-RevMedia-presentation-tp954885p954992.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Tue Dec 8 12:36:33 2009 From: bobs at twft.com (Bob Sneidar) Date: Tue, 8 Dec 2009 09:36:33 -0800 Subject: [ANN] tRev users: vote for your fav feature In-Reply-To: References: Message-ID: <2DC4A4FE-2452-4986-A9B1-042034AE7465@twft.com> Tough choice! They are ALL my favorite feature at the particular time I am using them, but I have to say, easy access to an item's properties without having to use the Rev palette is a very nice touch so that is what I voted for. Bob On Dec 2, 2009, at 7:59 AM, Jerry Daniels wrote: > tRev-ers, > > I'd really like to know what you like about using tRev so far. So, I created a poll: > > http://reveditor.com/vote-for-your-favorite-trev-feature > > Please, this is for users of the product only. > > Best, > > Jerry Daniels > > The latest Rev Editor Video: > http://reveditor.com/feature-friday-drag-n-drop-stacks-0 > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bobs at twft.com Tue Dec 8 12:56:21 2009 From: bobs at twft.com (Bob Sneidar) Date: Tue, 8 Dec 2009 09:56:21 -0800 Subject: Ethics... and the lack of it. In-Reply-To: <9137E124-E31B-497C-A899-9C0DEB964A0E@nwlink.com> References: <1259631455056-931785.post@n4.nabble.com> <2B379443-99C9-4279-AF6D-C72F1C4A2A5D@twft.com> <9137E124-E31B-497C-A899-9C0DEB964A0E@nwlink.com> Message-ID: Pardon me, I wasn't quite clear about what I meant by "in their employ". By that I mean that you are on the payroll, not a contract laborer. We had someone who worked for our radio station once delete 5 years of work he had done for us while on our payroll. Since he was producing a radio program for us he decided the work belonged to him, not us. However, we were the only radio station broadcasting that program. I believe he could have been prosecuted for that. We didn't pursue it however. Bob On Nov 30, 2009, at 8:26 PM, Bruce Robertson wrote: > This is nowhere near as clearcut as you claim. > > If you hire somebody as a direct employee, your answer is correct. > > If you pay an outside developer to develop the software, even though it may be to your design spec, the software IP is the property of the developer unless explicitly declared otherwise in the written contract. > > IANAL and further explanation is required but this is the general concept, as repeated in many many such discussions. > > > On Nov 30, 2009, at 8:07 PM, Bob Sneidar wrote: > >> My opinion (and the opinion of most courts) is that software you produce for someone while in their employ is their property. However, if you produce software and then market it openly, it is your property, and subject to all copyright laws that apply. >> >> I suppose the question comes down to that. Did you write the software under contract? If so, then I think it is their property and they can do whatever they want with it. But if you wrote it independently, and then marketed it to them then it is yours and any company that tried to replicate your work could be in danger of copyright infringement. >> >> Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jmyepes at mac.com Tue Dec 8 13:03:51 2009 From: jmyepes at mac.com (JosepM) Date: Tue, 8 Dec 2009 10:03:51 -0800 (PST) Subject: Non blocking calls Message-ID: <1260295431625-955504.post@n4.nabble.com> Hi, Exist some way of call some message without blocking the app? I like request some data each time from a database while perform any other action. Maybe using "send ... in time"? Salut, Josep -- View this message in context: http://n4.nabble.com/Non-blocking-calls-tp955504p955504.html Sent from the Revolution - User mailing list archive at Nabble.com. From userev at canelasoftware.com Tue Dec 8 13:10:25 2009 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 8 Dec 2009 10:10:25 -0800 Subject: Uploading data with a revlet (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: <1jaf1le.19twi01tc39d9M%mcdomi@free.fr> References: <1jaf1le.19twi01tc39d9M%mcdomi@free.fr> Message-ID: On Dec 8, 2009, at 8:30 AM, Dom wrote: > Dom wrote: > >> *another question: is the revlet capable of writing data onto the >> _client_ machine? > > > I reply to my question: > > see the excellent page from revLessons about that ;-))) > > ding-a-file-using-FTP> > > it seems that uploading via http is not allowed > -- so we have to resort to ftp > > The example given by Ben runs nicely :-) > I will test this on a revlet... > > My concern is that an user name plus a password are given in order to > ensure the ftp to the server -- is it possible to another person to peek > at those parameters? > > Or is it better to do an anonymous ftp?? Hi Dom, Many hosted web accounts these days do not allow anonymous FTP. If yours does then that may be the way to go. Since we do not have sFTP then your password and other login parameters are being sent unprotected. You are vulnerable to man in the middle attacks. If this app is used where security is required by your clients then this can cause a problem for you on the marketing end. Best regards, Mark Talluto http://www.canelasoftware.com From jerry.daniels at me.com Tue Dec 8 13:21:43 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 8 Dec 2009 12:21:43 -0600 Subject: [ANN] tRev users: vote for your fav feature In-Reply-To: <2DC4A4FE-2452-4986-A9B1-042034AE7465@twft.com> References: <2DC4A4FE-2452-4986-A9B1-042034AE7465@twft.com> Message-ID: <5162E671-6BC0-481C-B2B7-2699B679A349@me.com> Thanks for participating, Bob. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-your-handlers On Dec 8, 2009, at 11:36 AM, Bob Sneidar wrote: > Tough choice! They are ALL my favorite feature at the particular > time I am using them, but I have to say, easy access to an item's > properties without having to use the Rev palette is a very nice > touch so that is what I voted for. > > Bob > > > On Dec 2, 2009, at 7:59 AM, Jerry Daniels wrote: > >> tRev-ers, >> >> I'd really like to know what you like about using tRev so far. So, >> I created a poll: >> >> http://reveditor.com/vote-for-your-favorite-trev-feature >> >> Please, this is for users of the product only. >> >> Best, >> >> Jerry Daniels >> >> The latest Rev Editor Video: >> http://reveditor.com/feature-friday-drag-n-drop-stacks-0 >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcdomi at free.fr Tue Dec 8 13:40:32 2009 From: mcdomi at free.fr (Dom) Date: Tue, 8 Dec 2009 19:40:32 +0100 Subject: Uploading data with a revlet (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: <7c87a2a10912080834r531080d2y7f0fad24287b4392@mail.gmail.com> Message-ID: <1jaf7vm.ohsi51fe17ehM%mcdomi@free.fr> Andre Garzia wrote: > if you're storing passwords anywhere in your stack you should password > protect them, checkout the password in the dictionary. in a stack, OKay... but in a revlet? I took a glance at a revlet in TextWrangler, and it seems completely compiled, except for "REVL4000" at the very beginning... From jacque at hyperactivesw.com Tue Dec 8 13:51:28 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Dec 2009 12:51:28 -0600 Subject: Uploading data with a revlet (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: <1jaf7vm.ohsi51fe17ehM%mcdomi@free.fr> References: <1jaf7vm.ohsi51fe17ehM%mcdomi@free.fr> Message-ID: <4B1EA030.4040601@hyperactivesw.com> Dom wrote: > Andre Garzia wrote: > >> if you're storing passwords anywhere in your stack you should password >> protect them, checkout the password in the dictionary. > > in a stack, OKay... > but in a revlet? > > I took a glance at a revlet in TextWrangler, and it seems completely > compiled, except for "REVL4000" at the very beginning... Right, the new file format can no longer be read in a text editor even if there is no password assigned. This is very good news for developers, except for those times when they lose their source stack. But we never do that, right? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Tue Dec 8 14:04:18 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 8 Dec 2009 11:04:18 -0800 (PST) Subject: Looking for advice for RevMedia presentation In-Reply-To: References: <1260230946825-954885.post@n4.nabble.com> <1260248274021-954992.post@n4.nabble.com> Message-ID: <1260299058716-955561.post@n4.nabble.com> Hi George, George C Brackett wrote: > > One other thought, Alejandro. Teachers and Developers may very well > be quite different audiences, so when you gather the information be sure > to note any differences. It's possible that the homework should be in > two sets, one for folks who are used to developing software and have > tech chops, and another for newbies who will need much more hand-holding > and much simpler goals. Twice the work, I know, but more likely to succeed > with such a broad audience. > That's exactly my concern. For this reason, i am planning to showcase the works of teachers (first) and developers (later). I will ask they to install RevMedia and RevWeb plugin in every machine of their Computer Laboratory. First lesson should be to create a simple stack and save for web. Then run this revlet locally, and later upload to a website to run from the internet. In this first lesson, i plan to teach them: a) Create a new stack, set stack dimensions, show/hide backdrop (show them other possibilities of using stacks with custom shapes, transparencies, and animation) Background Colors/Textures, Fonts settings. b) Create cards, and different types of transitions between cards. c) Types of controls available (Text Fields, Images, Buttons, Graphics, Movies, Sounds, Groups). Place controls and change their attributes. e) Three commands: Show, Hide and Go to card. Somewhere along this lesson, i will explain (briefly) about RevMedia IDE similarities/differences with Office software. Later we are going to discuss their use of computers in their classes and their plans to make a better use of resources available in the web. I will offer them some recommendations about this. I hope to read more comments about topics and ideas to include in this 2 days/5 hours presentation of RevMedia. Thanks in advance. Alejandro -- View this message in context: http://n4.nabble.com/Looking-for-advice-for-RevMedia-presentation-tp954885p955561.html Sent from the Revolution - User mailing list archive at Nabble.com. From francois.chaplais at mines-paristech.fr Tue Dec 8 15:32:39 2009 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Tue, 8 Dec 2009 21:32:39 +0100 Subject: Uploading data with a revlet (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: <4B1EA030.4040601@hyperactivesw.com> References: <1jaf7vm.ohsi51fe17ehM%mcdomi@free.fr> <4B1EA030.4040601@hyperactivesw.com> Message-ID: <2E8ADCF9-E446-4758-B86A-AC9F31507351@mines-paristech.fr> Le 8 d?c. 2009 ? 19:51, J. Landman Gay a ?crit : > Dom wrote: >> Andre Garzia wrote: >>> if you're storing passwords anywhere in your stack you should password >>> protect them, checkout the password in the dictionary. >> in a stack, OKay... >> but in a revlet? >> I took a glance at a revlet in TextWrangler, and it seems completely >> compiled, except for "REVL4000" at the very beginning... > > Right, the new file format can no longer be read in a text editor even if there is no password assigned. This is very good news for developers, except for those times when they lose their source stack. But we never do that, right? > except that non executable stacks that are saved along the revlet can be opened as a usual stack. A blessing or the opposite, depends on your point of view... cheers, Fran?ois From david at dvglasgow.wanadoo.co.uk Tue Dec 8 15:34:19 2009 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Tue, 8 Dec 2009 20:34:19 +0000 Subject: Relayering grouped groups In-Reply-To: <20091201180004.16CF8288768@mail.runrev.com> References: <20091201180004.16CF8288768@mail.runrev.com> Message-ID: <583EE8FD-57B6-4667-B6D3-03D4B5A47C3E@dvglasgow.wanadoo.co.uk> I have several groups, each consisting of an image with an external reference, and a few graphics They are grouped together in an overall group. They slide about under user control, and unsurprisingly sometimes overlap. I want users to be able to click on an image and have it come to the front, relative to the other images. Obviously the controls within the group containing the image needs to move en mass bounded by the layers contained within the owning group. For good reasons, the owning group is not the top most layer, and may shuffle forward and back during use. I can understand why this would be a bit tricky within a script, but I am just getting nowhere. I had assumed that as long as I knew the range of layers contained within the owning group, I would be able to shuffle owned groups around within that range. Doesn't seem to be so. The user guide is less than explicit, and I have tried to see how the 'size and position pane' relayers groups, but with no success. Any helpful pointers? David Glasgow From neil at yippo.co.uk Tue Dec 8 15:44:54 2009 From: neil at yippo.co.uk (Neil Allan) Date: Tue, 8 Dec 2009 20:44:54 -0000 Subject: bitXor 8 bytes of data Message-ID: <005201ca7847$4e96d780$0401a8c0@OFFICE> Does anyone have a way of doing a "simple" bitwise xor with two 8 byte signed floating point numbers? I believe the revTalk bitXor command can only accept non signed "numbers". I have tried performing the bitXor byte by byte on the two strings using the byteToNum() function on each byte individually but the result is quite different to what one would get banging the hex equivalent of the string into "calculator" on windows. Calculator gives me the correct answer. I set it to hex mode then just type in the 8 bytes of hex, hit xor, type in the other hex string and "=" Any Ideas? From scott at tactilemedia.com Tue Dec 8 15:49:25 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 08 Dec 2009 12:49:25 -0800 Subject: Relayering grouped groups In-Reply-To: <583EE8FD-57B6-4667-B6D3-03D4B5A47C3E@dvglasgow.wanadoo.co.uk> Message-ID: Recently, David Glasgow wrote: > I want users to be able to click on an image and have it come to the front, > relative to the other images. Obviously the controls within the group > containing the image needs to move en mass bounded by the layers contained > within the owning group. For good reasons, the owning group is not the top > most layer, and may shuffle forward and back during use. > > I can understand why this would be a bit tricky within a script, but I am just > getting nowhere. I had assumed that as long as I knew the range of layers > contained within the owning group, I would be able to shuffle owned groups > around within that range. Doesn't seem to be so. Trevor DeVore posted a great library back in May that solves this. http://n4.nabble.com/Relayer-Groups-Within-Group-td343083.html#a343083 Look for "Relayer Selected Control" in the Utility category of RevOnline. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From jacque at hyperactivesw.com Tue Dec 8 15:49:49 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Dec 2009 14:49:49 -0600 Subject: Uploading data with a revlet (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: <2E8ADCF9-E446-4758-B86A-AC9F31507351@mines-paristech.fr> References: <1jaf7vm.ohsi51fe17ehM%mcdomi@free.fr> <4B1EA030.4040601@hyperactivesw.com> <2E8ADCF9-E446-4758-B86A-AC9F31507351@mines-paristech.fr> Message-ID: <4B1EBBED.3020906@hyperactivesw.com> Fran?ois Chaplais wrote: >> Right, the new file format can no longer be read in a text editor >> even if there is no password assigned. This is very good news for >> developers, except for those times when they lose their source >> stack. But we never do that, right? >> > except that non executable stacks that are saved along the revlet can > be opened as a usual stack. A blessing or the opposite, depends on > your point of view... Right, thanks. I should have said "standalones". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 8 15:55:11 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 08 Dec 2009 14:55:11 -0600 Subject: OT - Completely OT. Really, really OT. But cool. Message-ID: <4B1EBD2F.2030007@hyperactivesw.com> Nothing to do with Rev: Small seasons greetings. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Dec 8 16:01:33 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 08 Dec 2009 23:01:33 +0200 Subject: Ethics... and the lack of it. In-Reply-To: References: <1259631455056-931785.post@n4.nabble.com> <2B379443-99C9-4279-AF6D-C72F1C4A2A5D@twft.com> <9137E124-E31B-497C-A899-9C0DEB964A0E@nwlink.com> Message-ID: <4B1EBEAD.8010909@gmail.com> On 12/8/09 7:56 PM, Bob Sneidar wrote: > Pardon me, I wasn't quite clear about what I meant by "in their employ". By that I mean that you are on the payroll, not a contract laborer. We had someone who worked for our radio station once delete 5 years of work he had done for us while on our payroll. Since he was producing a radio program for us he decided the work belonged to him, not us. However, we were the only radio station broadcasting that program. I believe he could have been prosecuted for that. We didn't pursue it however. > > Bob > > > On Nov 30, 2009, at 8:26 PM, Bruce Robertson wrote: > > >> This is nowhere near as clearcut as you claim. >> >> When I was working at the University of St Andrews in Scotland, I made 2 programs (with RunRev) for teaching phonetics, in my own time, on my own computer at home. I let the University put them on their server on the understanding that they had been developed by me for other needs than the university's, and as those needs had been fulfilled they could be offered as Freeware by the university. When I was made redundant I requested that those programs be deleted from the university servers as they were mine and were on the servers "in my gift". It took intervention by my trade union (Yes, Richmond, the right-winger, belonged to a trade union) to get the university to delete them. From alex at tweedly.net Tue Dec 8 19:04:52 2009 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 09 Dec 2009 00:04:52 +0000 Subject: bitXor 8 bytes of data In-Reply-To: <005201ca7847$4e96d780$0401a8c0@OFFICE> References: <005201ca7847$4e96d780$0401a8c0@OFFICE> Message-ID: <4B1EE9A4.4020206@tweedly.net> Neil Allan wrote: > Does anyone have a way of doing a "simple" bitwise xor with two 8 byte signed floating point numbers? > > I believe the revTalk bitXor command can only accept non signed "numbers". > > I have tried performing the bitXor byte by byte on the two strings using the byteToNum() function on each byte individually but the result is quite different to what one would get banging the hex equivalent of the string into "calculator" on windows. > > Calculator gives me the correct answer. I set it to hex mode then just type in the 8 bytes of hex, hit xor, type in the other hex string and "=" > > Any Ideas? > bitXor() will do what you want. Can you show a more complete code fragment (including the data you used) and we'll see if it's something about how you're setting the data up ? Thanks -- Alex. From alex at tweedly.net Tue Dec 8 19:06:06 2009 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 09 Dec 2009 00:06:06 +0000 Subject: [ANN] Free tText plugins: Do Shell & Speak2Me In-Reply-To: References: <4B1D9BA3.2080008@tweedly.net> Message-ID: <4B1EE9EE.1090407@tweedly.net> Sarah Reichelt wrote: > What about making a plugin that opens as palette stack? > Perhaps it could have a front script that intercepts the > commandKeyDown message and implements your own commands there. > I haven't tried this, so I don't know if setting a frontScript will be > possible, but I guess it would. > Good idea - thanks. I would try that if Jerry hadn't now said he plans to make it easy :-) -- Alex. From jerry.daniels at me.com Tue Dec 8 19:11:51 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 8 Dec 2009 18:11:51 -0600 Subject: [ANN] Free tText plugins: Do Shell & Speak2Me In-Reply-To: <4B1EE9EE.1090407@tweedly.net> References: <4B1D9BA3.2080008@tweedly.net> <4B1EE9EE.1090407@tweedly.net> Message-ID: <3C78882D-EC40-4A1F-ABC1-0477B0DCF771@me.com> Alex, do it anyway...no time like the present. Easy is always tomorrow. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-your-handlers On Dec 8, 2009, at 6:06 PM, Alex Tweedly wrote: > Sarah Reichelt wrote: >> What about making a plugin that opens as palette stack? >> Perhaps it could have a front script that intercepts the >> commandKeyDown message and implements your own commands there. >> I haven't tried this, so I don't know if setting a frontScript will >> be >> possible, but I guess it would. >> > Good idea - thanks. I would try that if Jerry hadn't now said he > plans to make it easy :-) > > -- Alex. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From userev at canelasoftware.com Tue Dec 8 19:38:04 2009 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 8 Dec 2009 16:38:04 -0800 Subject: Trevor's wonderful QT External and 30 inch monitors Message-ID: I am having a problem using the QT ext with the qtFlipMovie param set to horizontal,"yes" On 24 inch and smaller monitors the videos flip just fine. On 30 inch monitors the video is not flipped. Anyone else seeing that? Best regards, Mark Talluto http://www.canelasoftware.com From runrevron at gmail.com Wed Dec 9 02:55:18 2009 From: runrevron at gmail.com (Ron) Date: Wed, 9 Dec 2009 16:55:18 +0900 Subject: storing a stack as a customprop In-Reply-To: <4ADA6CC7.3060007@fourthworld.com> References: <4ADA6CC7.3060007@fourthworld.com> Message-ID: <3E69FB80-F023-408E-99CE-46D967E0FDE0@gmail.com> As a follow up to this - I am storing my prefs in a stack that starts as a custprop and is spit out when the application starts. The resulting stack is referenced throughout the application and data saved to it. It is not outputted each time the app starts (unless the user deletes the file), but it is written to and saved each time a preference is changed. When a stack is included in the standalone build there is an option to encrypt the stack. However, the file that results (is outputted?) from the method above is readable by any text editor. Is there a way to encrypt this stack created from a custprop? Thanks for your help, Ron BTW another approach to the problem below is to two step it: put "binfile:" & filepath into filepath set the storedStack of stack "updateList" to URL filepath On Oct 18, 2009, at 10:17 AM, Richard Gaskin wrote: > Peter wrote: > > > set the storedStack of stack "updateList" to URL "binfile:" & > filepath > > Looks like Mark caught it. Without the parentheses, the engine > interprets the above as: > > 1. get url "binfile:" > 2. append that data with filepath > 3. store it in the specified property > > But with parens it first concatenates the "binfile:" and filepath > into a single string that's then used as the source for the URL. > > All I can add to Mark's excellent sleuthing is some extra credit: > > You can save about 30% or more on average by compressing the data > before storing it: > > set the storedStack of stack "updatelist" to \ > compress( url ("binfile:" & filePath) ) > > To spit it back out just reverse the order of the operations: > > put decompress( the storedStack of stack "updatelist" \ > unto url ("binile:" & someNewPath) > > > -- > Richard Gaskin From klaus at major.on-rev.com Wed Dec 9 03:17:14 2009 From: klaus at major.on-rev.com (Klaus Major) Date: Wed, 9 Dec 2009 09:17:14 +0100 Subject: storing a stack as a customprop In-Reply-To: <3E69FB80-F023-408E-99CE-46D967E0FDE0@gmail.com> References: <4ADA6CC7.3060007@fourthworld.com> <3E69FB80-F023-408E-99CE-46D967E0FDE0@gmail.com> Message-ID: <93598E7B-0666-4276-AFAA-6320E8FB02FA@major.on-rev.com> Hi Ron, > As a follow up to this - > I am storing my prefs in a stack that starts as a custprop and is spit out when the application starts. The resulting stack is referenced throughout the application and data saved to it. It is not outputted each time the app starts (unless the user deletes the file), but it is written to and saved each time a preference is changed. When a stack is included in the standalone build there is an option to encrypt the stack. > > However, the file that results (is outputted?) from the method above is readable by any text editor. Is there a way to encrypt this stack created from a custprop? set a password for that stack before you save it to disk/import as CP. > Thanks for your help, > Ron > > > BTW another approach to the problem below is to two step it: > > put "binfile:" & filepath into filepath > set the storedStack of stack "updateList" to URL filepath Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From ludovic.thebault at laposte.net Wed Dec 9 03:34:36 2009 From: ludovic.thebault at laposte.net (=?ISO-8859-1?Q?Ludovic_Th=E9bault?=) Date: Wed, 9 Dec 2009 09:34:36 +0100 Subject: put URL doesn't work on windows Message-ID: Hello, With Revolution 2.91 To update my application, i created a script to see on a web site if there are updates available. It work fine under Macos X. But doesn't work under Windows XP. After test, a simple script like this : put URL "http://www.runrev.com" put cr & the result after msg display "invalid host adress" on the message box under windows but display the html code of the web page under Macos X. What happened ??? I've tried on a real pc and a virtual pc, it's the same (no firewall, internet connection is good, url is good...) Thank ! From neil at yippo.co.uk Wed Dec 9 03:38:50 2009 From: neil at yippo.co.uk (Neil Allan) Date: Wed, 9 Dec 2009 08:38:50 -0000 Subject: bitXor 8 bytes of data References: <005201ca7847$4e96d780$0401a8c0@OFFICE> <4B1EE9A4.4020206@tweedly.net> Message-ID: <003301ca78ab$0a6a4d80$0401a8c0@OFFICE> OK since It's getting technical I will post a couple of code snippets I have tried, when I get a minute at work, I will also post some real world values I am trying to xor. Thanks ----- Original Message ----- From: "Alex Tweedly" To: "How to use Revolution" Sent: Wednesday, December 09, 2009 12:04 AM Subject: Re: bitXor 8 bytes of data > Neil Allan wrote: >> Does anyone have a way of doing a "simple" bitwise xor with two 8 byte >> signed floating point numbers? >> >> I believe the revTalk bitXor command can only accept non signed >> "numbers". >> >> I have tried performing the bitXor byte by byte on the two strings using >> the byteToNum() function on each byte individually but the result is >> quite different to what one would get banging the hex equivalent of the >> string into "calculator" on windows. >> >> Calculator gives me the correct answer. I set it to hex mode then just >> type in the 8 bytes of hex, hit xor, type in the other hex string and "=" >> >> Any Ideas? >> > bitXor() will do what you want. Can you show a more complete code > fragment (including the data you used) and we'll see if it's something > about how you're setting the data up ? > > Thanks > -- Alex. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.426 / Virus Database: 270.14.98/2552 - Release Date: 12/08/09 07:34:00 From runrevron at gmail.com Wed Dec 9 03:49:42 2009 From: runrevron at gmail.com (Ron) Date: Wed, 9 Dec 2009 17:49:42 +0900 Subject: storing a stack as a customprop In-Reply-To: <93598E7B-0666-4276-AFAA-6320E8FB02FA@major.on-rev.com> References: <4ADA6CC7.3060007@fourthworld.com> <3E69FB80-F023-408E-99CE-46D967E0FDE0@gmail.com> <93598E7B-0666-4276-AFAA-6320E8FB02FA@major.on-rev.com> Message-ID: <2241268E-FF05-459D-B648-DB32A17BFD93@gmail.com> Hi Klaus, Once again you come through - Thanks so much. I had forgotten the password prop and had become too focused on the fact that the stack was not included in the original bundle. Works just like it is supposed to. Thanks Ron On Dec 9, 2009, at 5:17 PM, Klaus Major wrote: > Hi Ron, > >> As a follow up to this - >> I am storing my prefs in a stack that starts as a custprop and is >> spit out when the application starts. The resulting stack is >> referenced throughout the application and data saved to it. It is >> not outputted each time the app starts (unless the user deletes the >> file), but it is written to and saved each time a preference is >> changed. When a stack is included in the standalone build there is >> an option to encrypt the stack. >> >> However, the file that results (is outputted?) from the method >> above is readable by any text editor. Is there a way to encrypt >> this stack created from a custprop? > > set a password for that stack before you save it to disk/import as CP. > >> Thanks for your help, >> Ron >> >> >> BTW another approach to the problem below is to two step it: >> >> put "binfile:" & filepath into filepath >> set the storedStack of stack "updateList" to URL filepath > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Wed Dec 9 05:55:03 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 09 Dec 2009 12:55:03 +0200 Subject: [OT] calling all disenchromed PPC users. Message-ID: <4B1F8207.5010402@gmail.com> Try this: http://www.stainlessapp.com/ From dave.cragg at lacscentre.co.uk Wed Dec 9 06:08:57 2009 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 9 Dec 2009 11:08:57 +0000 Subject: put URL doesn't work on windows In-Reply-To: References: Message-ID: On 9 Dec 2009, at 08:34, Ludovic Th?bault wrote: > Hello, > > With Revolution 2.91 > > To update my application, i created a script to see on a web site if there are updates available. > It work fine under Macos X. > But doesn't work under Windows XP. > > After test, a simple script like this : > > put URL "http://www.runrev.com" > put cr & the result after msg > > display "invalid host adress" on the message box under windows but display the html code of the web page under Macos X. > > What happened ??? > > I've tried on a real pc and a virtual pc, it's the same (no firewall, internet connection is good, url is good...) "invalid host address" suggests it's failing on a hostNameToAddress call, which suggests DNS problems. But if other net applications are working, it sounds strange. I don't have 2.9.1 on XP here, but 3.0 works OK. Can you test the following, but try with some different host names. on mouseUp put hostNameToAddress("www.runrev.com") if the result is not empty then answer the result end mouseUp on mouseUp put hostNameToAddress("google.com") if the result is not empty then answer the result end mouseUp etc. Dave From ludovic.thebault at laposte.net Wed Dec 9 08:37:20 2009 From: ludovic.thebault at laposte.net (=?ISO-8859-1?Q?Ludovic_Th=E9bault?=) Date: Wed, 9 Dec 2009 14:37:20 +0100 Subject: put URL doesn't work on windows In-Reply-To: References: Message-ID: Le 9 d?c. 09 ? 12:08, Dave Cragg a ?crit : > "invalid host address" suggests it's failing on a hostNameToAddress > call, which suggests DNS problems. But if other net applications are > working, it sounds strange. I don't have 2.9.1 on XP here, but 3.0 > works OK. Can you test the following, but try with some different > host names. > > on mouseUp > put hostNameToAddress("www.runrev.com") > if the result is not empty then answer the result > end mouseUp > > on mouseUp > put hostNameToAddress("google.com") > if the result is not empty then answer the result > end mouseUp > Thanks. It's seem it's not a problem with Revolution but with my installation. I've tested in other place, it's work with windows. But it's strange that with MacOS it's work and not with windows in the same place (with your script i've always "invalid host address" as result). I've tested with the Google DNS it's the same. From liste.revo at medard.on-rev.com Wed Dec 9 09:36:27 2009 From: liste.revo at medard.on-rev.com (Medard) Date: Wed, 9 Dec 2009 15:36:27 +0100 Subject: Uploading data with a revlet (Was: Re: Is it possible to change the revlet embed html?) In-Reply-To: Message-ID: <1jagolw.1wz1o0t1ha1bzxM%liste.revo@medard.on-rev.com> Mark Talluto wrote: > Many hosted web accounts these days do not allow anonymous FTP. If yours > does then that may be the way to go. Since we do not have sFTP then > your password and other login parameters are being sent unprotected. > You are vulnerable to man in the middle attacks. If this app is used > where security is required by your clients then this can cause a problem > for you on the marketing end. Hi! I am changing from Dom to Medard (On-Rev hosted address) :-) Even I am not concerned about client/marketeer problems, I do think it is a problem, as the revlet has to send those parameter over the net... Your "man in the middle" remark has to be taken seriously! Even for a simple hobbyist, which makes revlets available on the net ;-) -- Dom^W Medard From wow at together.net Wed Dec 9 10:07:11 2009 From: wow at together.net (Richard Miller) Date: Wed, 09 Dec 2009 10:07:11 -0500 Subject: Revlets and firewalls In-Reply-To: References: Message-ID: <4B1FBD1F.8010408@together.net> I'm finding some situations in which my revlet cannot communicate to the outside via: put x into url "ftp://xxxxxx" because of firewall issues. Normally, I would instruct the user to create a firewall exception for a regular Rev app, since the location of the app is identifiable. How would one do this with a revlet? Is the revlet residing somewhere locally for a time, or is it in memory? Thanks. Richard Miller From runrev260805 at m-r-d.de Wed Dec 9 10:23:51 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Wed, 9 Dec 2009 15:23:51 +0000 Subject: Revlets and firewalls Message-ID: <0003A59B.4B1FCF16@the-office.us> Hi Richard, under Windows there is a file revWebPlayer.exe, which is reponsible for the revlets. it is found at C:\Users\YourUsername\AppData\Local\RunRev\ Try to make an exception for that file. This should do, i think. HTH, Matthias -------- Original Message -------- Subject: Revlets and firewalls (09-Dez-2009 16:09) From: Richard Miller To: runrev260805 at m-r-d.de > I'm finding some situations in which my revlet cannot communicate to the > outside via: put x into url "ftp://xxxxxx" because of firewall issues. > Normally, I would instruct the user to create a firewall exception for a > regular Rev app, since the location of the app is identifiable. How > would one do this with a revlet? Is the revlet residing somewhere > locally for a time, or is it in memory? > > Thanks. > Richard Miller > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From wow at together.net Wed Dec 9 10:28:30 2009 From: wow at together.net (Richard Miller) Date: Wed, 09 Dec 2009 10:28:30 -0500 Subject: Revlets and firewalls In-Reply-To: <0003A59B.4B1FCF16@the-office.us> References: <0003A59B.4B1FCF16@the-office.us> Message-ID: <4B1FC21E.1080705@together.net> Thanks, Matthias! I think that will do it. What is it called on a Mac? I'm going to suggest users search for it on their computer to find the exact location under different OS's. Richard runrev260805 at m-r-d.de wrote: > Hi Richard, > > under Windows there is a file revWebPlayer.exe, which is reponsible for the revlets. > > it is found at C:\Users\YourUsername\AppData\Local\RunRev\ > > Try to make an exception for that file. This should do, i think. > > HTH, > > Matthias > > > -------- Original Message -------- > Subject: Revlets and firewalls (09-Dez-2009 16:09) > From: Richard Miller > To: runrev260805 at m-r-d.de > > >> I'm finding some situations in which my revlet cannot communicate to the >> outside via: put x into url "ftp://xxxxxx" because of firewall issues. >> Normally, I would instruct the user to create a firewall exception for a >> regular Rev app, since the location of the app is identifiable. How >> would one do this with a revlet? Is the revlet residing somewhere >> locally for a time, or is it in memory? >> >> Thanks. >> Richard Miller >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> >> >> To: use-revolution at lists.runrev.com >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From luis at anachreon.co.uk Wed Dec 9 10:49:00 2009 From: luis at anachreon.co.uk (Luis) Date: Wed, 9 Dec 2009 15:49:00 +0000 Subject: Revlets and firewalls In-Reply-To: <4B1FBD1F.8010408@together.net> References: <4B1FBD1F.8010408@together.net> Message-ID: <8A82B4B2-9172-4A8F-B614-C18DC48F8150@anachreon.co.uk> Hiya, The app location is irrelevant if it's a firewall issue. In this instance the firewall would need ports 20 and 21 open for ftp to go through. Usually port 80 (or 8080) is open as this is used for standard http browsing protocol. If you try to telnet (from a command line/terminal prompt to port 21 (telnet 'ipaddress' 21 or telnet domain.com 21) and you do not receive a positive response then the port is blocked. Cheers, Luis. On 9 Dec 2009, at 15:07, Richard Miller wrote: > I'm finding some situations in which my revlet cannot communicate > to the outside via: put x into url "ftp://xxxxxx" because of > firewall issues. Normally, I would instruct the user to create a > firewall exception for a regular Rev app, since the location of the > app is identifiable. How would one do this with a revlet? Is the > revlet residing somewhere locally for a time, or is it in memory? > > Thanks. > Richard Miller > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From wow at together.net Wed Dec 9 11:08:40 2009 From: wow at together.net (Richard Miller) Date: Wed, 09 Dec 2009 11:08:40 -0500 Subject: Revlets and firewalls In-Reply-To: <8A82B4B2-9172-4A8F-B614-C18DC48F8150@anachreon.co.uk> References: <4B1FBD1F.8010408@together.net> <8A82B4B2-9172-4A8F-B614-C18DC48F8150@anachreon.co.uk> Message-ID: <4B1FCB88.8070909@together.net> Hi Luis, As I said, normally when this occurs in my standard Rev app, the user need only create a firewall exception for my app. Communication usually works fine after that. Are you saying this same approach won't work with a revlet? Thanks. Richard Luis wrote: > Hiya, > > The app location is irrelevant if it's a firewall issue. In this > instance the firewall would need ports 20 and 21 open for ftp to go > through. > Usually port 80 (or 8080) is open as this is used for standard http > browsing protocol. > > If you try to telnet (from a command line/terminal prompt to port 21 > (telnet 'ipaddress' 21 or telnet domain.com 21) and you do not receive > a positive response then the port is blocked. > > Cheers, > > Luis. > > > On 9 Dec 2009, at 15:07, Richard Miller wrote: > >> I'm finding some situations in which my revlet cannot communicate to >> the outside via: put x into url "ftp://xxxxxx" because of firewall >> issues. Normally, I would instruct the user to create a firewall >> exception for a regular Rev app, since the location of the app is >> identifiable. How would one do this with a revlet? Is the revlet >> residing somewhere locally for a time, or is it in memory? >> >> Thanks. >> Richard Miller >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From runrev260805 at m-r-d.de Wed Dec 9 11:19:09 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Wed, 9 Dec 2009 16:19:09 +0000 Subject: Re-2: Revlets and firewalls Message-ID: <0003A59D.4B1FDC0B@the-office.us> Richard, -------- Original Message -------- Subject: Re: Revlets and firewalls (09-Dez-2009 17:10) From: Richard Miller To: runrev260805 at m-r-d.de > Hi Luis, > > As I said, normally when this occurs in my standard Rev app, the user > need only create a firewall exception for my app. Communication usually > works fine after that. Are you saying this same approach won't work > with a revlet? I don?t think so, as the revWebPlayer.exe is the "process", which tries to do things. If you tell your firewall to accept this,then it should work. Matthias From richmondmathewson at gmail.com Wed Dec 9 11:28:52 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 09 Dec 2009 18:28:52 +0200 Subject: revlets, browsers, OSs and image formats Message-ID: <4B1FD044.5070906@gmail.com> Please have a look at this: http://andregarzia.on-rev.com/richmond/revletIMAGES.html and then SHARE with the use-list the following: Browser Operating System sincerely, Richmond Mathewson. From luis at anachreon.co.uk Wed Dec 9 11:37:31 2009 From: luis at anachreon.co.uk (Luis) Date: Wed, 9 Dec 2009 16:37:31 +0000 Subject: Revlets and firewalls In-Reply-To: <4B1FCB88.8070909@together.net> References: <4B1FBD1F.8010408@together.net> <8A82B4B2-9172-4A8F-B614-C18DC48F8150@anachreon.co.uk> <4B1FCB88.8070909@together.net> Message-ID: <397FA172-9016-436C-8100-104F728DB8E9@anachreon.co.uk> Hiya, Ah, ok: If you can create an exception for the executable in the firewall application, then that should be ok. It's not what I would do as standard practice as an app can misbehave, so you're giving it full net access. In this instance I'd look for the revlet executable to exclude, not the 'app' itself. Cheers, Luis. On 9 Dec 2009, at 16:08, Richard Miller wrote: > Hi Luis, > > As I said, normally when this occurs in my standard Rev app, the > user need only create a firewall exception for my app. > Communication usually works fine after that. Are you saying this > same approach won't work with a revlet? > > Thanks. > Richard > > > > Luis wrote: >> Hiya, >> >> The app location is irrelevant if it's a firewall issue. In this >> instance the firewall would need ports 20 and 21 open for ftp to >> go through. >> Usually port 80 (or 8080) is open as this is used for standard >> http browsing protocol. >> >> If you try to telnet (from a command line/terminal prompt to port >> 21 (telnet 'ipaddress' 21 or telnet domain.com 21) and you do not >> receive a positive response then the port is blocked. >> >> Cheers, >> >> Luis. >> >> >> On 9 Dec 2009, at 15:07, Richard Miller wrote: >> >>> I'm finding some situations in which my revlet cannot communicate >>> to the outside via: put x into url "ftp://xxxxxx" because of >>> firewall issues. Normally, I would instruct the user to create a >>> firewall exception for a regular Rev app, since the location of >>> the app is identifiable. How would one do this with a revlet? Is >>> the revlet residing somewhere locally for a time, or is it in >>> memory? >>> >>> Thanks. >>> Richard Miller >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Wed Dec 9 11:35:19 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 09 Dec 2009 10:35:19 -0600 Subject: Revlets and firewalls In-Reply-To: <4B1FC21E.1080705@together.net> References: <0003A59B.4B1FCF16@the-office.us> <4B1FC21E.1080705@together.net> Message-ID: <4B1FD1C7.7010108@hyperactivesw.com> Richard Miller wrote: > Thanks, Matthias! I think that will do it. > > What is it called on a Mac? I'm going to suggest users search for it on > their computer to find the exact location under different OS's. There are three, in here: ~/Library/Internet Plug-Ins/nprevweb.bundle ~/Library/Internet Plug-Ins/nprevweb.plugin ~/Library/Internet Plug-Ins/wkrevweb.webplugin -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From wow at together.net Wed Dec 9 11:44:05 2009 From: wow at together.net (Richard Miller) Date: Wed, 09 Dec 2009 11:44:05 -0500 Subject: Revlets and firewalls In-Reply-To: <4B1FD1C7.7010108@hyperactivesw.com> References: <0003A59B.4B1FCF16@the-office.us> <4B1FC21E.1080705@together.net> <4B1FD1C7.7010108@hyperactivesw.com> Message-ID: <4B1FD3D5.2000005@together.net> I just looked on my old Mac, and I see a file called "revWebPlayer.app" (inside "/library/application support/RunRev/"). Isn't that the file to create the exception for? Richard J. Landman Gay wrote: > Richard Miller wrote: >> Thanks, Matthias! I think that will do it. >> >> What is it called on a Mac? I'm going to suggest users search for it >> on their computer to find the exact location under different OS's. > > There are three, in here: > > ~/Library/Internet Plug-Ins/nprevweb.bundle > ~/Library/Internet Plug-Ins/nprevweb.plugin > ~/Library/Internet Plug-Ins/wkrevweb.webplugin > From richmondmathewson at gmail.com Wed Dec 9 11:50:17 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 09 Dec 2009 18:50:17 +0200 Subject: Revlets and firewalls In-Reply-To: <4B1FD1C7.7010108@hyperactivesw.com> References: <0003A59B.4B1FCF16@the-office.us> <4B1FC21E.1080705@together.net> <4B1FD1C7.7010108@hyperactivesw.com> Message-ID: <4B1FD549.4000105@gmail.com> On 12/9/09 6:35 PM, J. Landman Gay wrote: > Richard Miller wrote: >> Thanks, Matthias! I think that will do it. >> >> What is it called on a Mac? I'm going to suggest users search for it >> on their computer to find the exact location under different OS's. > > There are three, in here: > > ~/Library/Internet Plug-Ins/nprevweb.bundle > ~/Library/Internet Plug-Ins/nprevweb.plugin > ~/Library/Internet Plug-Ins/wkrevweb.webplugin > Now, that is odd! In my HOME: /Users/myUserName/Library/Internet Plug-ins I have nprevweb.plugin and /wkrevweb.webplugin nprevweb.bundle is neither there nor in /Library/Internet Plug-ins (i.e. root) (PPC Leopard) From jacque at hyperactivesw.com Wed Dec 9 11:57:47 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 09 Dec 2009 10:57:47 -0600 Subject: Revlets and firewalls In-Reply-To: <4B1FD3D5.2000005@together.net> References: <0003A59B.4B1FCF16@the-office.us> <4B1FC21E.1080705@together.net> <4B1FD1C7.7010108@hyperactivesw.com> <4B1FD3D5.2000005@together.net> Message-ID: <4B1FD70B.5060806@hyperactivesw.com> Richard Miller wrote: > I just looked on my old Mac, and I see a file called "revWebPlayer.app" > (inside "/library/application support/RunRev/"). Isn't that the file to > create the exception for? You know, I think you're right. Try it, I guess. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Dec 9 12:02:37 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 09 Dec 2009 11:02:37 -0600 Subject: Revlets and firewalls In-Reply-To: <4B1FD549.4000105@gmail.com> References: <0003A59B.4B1FCF16@the-office.us> <4B1FC21E.1080705@together.net> <4B1FD1C7.7010108@hyperactivesw.com> <4B1FD549.4000105@gmail.com> Message-ID: <4B1FD82D.5020706@hyperactivesw.com> Richmond Mathewson wrote: > Now, that is odd! In my HOME: /Users/myUserName/Library/Internet Plug-ins > > I have nprevweb.plugin > > and /wkrevweb.webplugin > > nprevweb.bundle is neither there nor in /Library/Internet Plug-ins > (i.e. root) > > (PPC Leopard) I wonder if my extra one is left over from some early testing I did with the team...does anyone else have the bundle file? This would be a good thing for me to know. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From liste.revo at medard.on-rev.com Wed Dec 9 12:14:06 2009 From: liste.revo at medard.on-rev.com (Medard) Date: Wed, 9 Dec 2009 18:14:06 +0100 Subject: Revlets and firewalls In-Reply-To: <4B1FD82D.5020706@hyperactivesw.com> Message-ID: <1jagyiz.f4mpio1n797sbM%liste.revo@medard.on-rev.com> J. Landman Gay wrote: > I wonder if my extra one is left over from some early testing I did with > the team...does anyone else have the bundle file? This would be a good > thing for me to know. No .bundle in the Internet Plug-ins here (iMac G5) ;-) -- Dom^W Medard From mstuart at adaptcrm.com Wed Dec 9 12:24:15 2009 From: mstuart at adaptcrm.com (Mark Stuart) Date: Wed, 9 Dec 2009 09:24:15 -0800 Subject: revWebInstaller - Start button is not enabled Message-ID: Hi all, Platform: WinXP SP3 Browser: IE 8 1) What do I need to do to get the "Start" button enabled on the revWebInstaller? I have ALL programs closed, including all browsers. I have set the Firewall to Off. And I've added a Firewall exception for the revWebInstaller.exe, just in case. Previous versions of the installer did enable the Start button. Also, previous versions did install the revWebBrowser, but the "Loading plugin" message always appears in the browser. 2) What do I need to do to get the plugin to load in the browser? The plugin installs and loads in IE 8 at home, but not at work. ????? Regards, Mark Stuart From mwieder at ahsoftware.net Wed Dec 9 12:37:18 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 9 Dec 2009 09:37:18 -0800 Subject: revlets, browsers, OSs and image formats In-Reply-To: <4B1FD044.5070906@gmail.com> References: <4B1FD044.5070906@gmail.com> Message-ID: <74763608828.20091209093718@ahsoftware.net> Richmond- Wednesday, December 9, 2009, 8:28:52 AM, you wrote: > Please have a look at this: > http://andregarzia.on-rev.com/richmond/revletIMAGES.html Awwwwwwwwwwww... Firefox XPsp3 -- -Mark Wieder mwieder at ahsoftware.net From jimaultwins at yahoo.com Wed Dec 9 13:03:27 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 9 Dec 2009 10:03:27 -0800 Subject: revlets, browsers, OSs and image formats In-Reply-To: <4B1FD044.5070906@gmail.com> References: <4B1FD044.5070906@gmail.com> Message-ID: G5 PPC OSX 10.5.8 leopard FFox Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1.5) Gecko/ 20091102 Firefox/3.5.5 GTB6 Safari Version 4.0.3 (5531.9) On Dec 9, 2009, at 8:28 AM, Richmond Mathewson wrote: > Please have a look at this: > > http://andregarzia.on-rev.com/richmond/revletIMAGES.html > > and then SHARE with the use-list the following: > > Browser > > Operating System > Jim Ault Las Vegas From martyknapp at comcast.net Wed Dec 9 13:10:56 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 09 Dec 2009 10:10:56 -0800 Subject: revlets, browsers, OSs and image formats In-Reply-To: <4B1FD044.5070906@gmail.com> References: <4B1FD044.5070906@gmail.com> Message-ID: <4B1FE830.9090603@comcast.net> Safari 4.04, Firefox 3.5.5 - Mac 10.5.8 everything looks fine here Marty Knapp > Please have a look at this: > > http://andregarzia.on-rev.com/richmond/revletIMAGES.html > > and then SHARE with the use-list the following: > > Browser > > Operating System > > sincerely, Richmond Mathewson. From jacque at hyperactivesw.com Wed Dec 9 13:17:48 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 09 Dec 2009 12:17:48 -0600 Subject: Revlets and firewalls In-Reply-To: <1jagyiz.f4mpio1n797sbM%liste.revo@medard.on-rev.com> References: <1jagyiz.f4mpio1n797sbM%liste.revo@medard.on-rev.com> Message-ID: <4B1FE9CC.8000902@hyperactivesw.com> Medard wrote: > J. Landman Gay wrote: > >> I wonder if my extra one is left over from some early testing I did with >> the team...does anyone else have the bundle file? This would be a good >> thing for me to know. > > No .bundle in the Internet Plug-ins here (iMac G5) ;-) > Thanks. I'll try removing it and see what happens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david at dvglasgow.wanadoo.co.uk Wed Dec 9 13:54:16 2009 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Wed, 9 Dec 2009 18:54:16 +0000 Subject: Relayering grouped groups In-Reply-To: <20091209162901.812052885AC@mail.runrev.com> References: <20091209162901.812052885AC@mail.runrev.com> Message-ID: <61E0301B-7B27-465B-8F3C-A99148A7E201@dvglasgow.wanadoo.co.uk> On 9 Dec 2009, at 4:29 pm, Scott Rossi wrote: > Subject: Re: Relayering grouped groups > Reply-To: How to use Revolution > Recently, David Glasgow wrote: > >> I want users to be able to click on an image and have it come to the front, >> relative to the other images. Obviously the controls within the group >> containing the image needs to move en mass bounded by the layers contained >> within the owning group. For good reasons, the owning group is not the top >> most layer, and may shuffle forward and back during use. >> >> I can understand why this would be a bit tricky within a script, but I am just >> getting nowhere. I had assumed that as long as I knew the range of layers >> contained within the owning group, I would be able to shuffle owned groups >> around within that range. Doesn't seem to be so. > > Trevor DeVore posted a great library back in May that solves this. > http://n4.nabble.com/Relayer-Groups-Within-Group-td343083.html#a343083 > > Look for "Relayer Selected Control" in the Utility category of RevOnline. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design Thanks, Scott. Looking in revonline now! David From troy_lists at rpsystems.net Wed Dec 9 14:18:36 2009 From: troy_lists at rpsystems.net (Troy Rollins) Date: Wed, 9 Dec 2009 14:18:36 -0500 Subject: revlets, browsers, OSs and image formats In-Reply-To: References: <4B1FD044.5070906@gmail.com> Message-ID: <707B5F58-9404-4351-AF2C-3692181877B4@rpsystems.net> On Dec 9, 2009, at 1:03 PM, Jim Ault wrote: > G5 PPC > OSX 10.5.8 leopard > FFox > Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1.5) > Gecko/20091102 Firefox/3.5.5 GTB6 > Safari > Version 4.0.3 (5531.9) Pretty much the same config. Looks fine here, but I do see an apparent gamma difference in the two sets of images. -- Troy RPSystems, Ltd. http://www.rpsystems.net From bill at bluewatermaritime.com Wed Dec 9 14:37:20 2009 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 9 Dec 2009 15:37:20 -0400 Subject: Trapping the Command key combination which already has use like "Command N" Message-ID: <459b22a90912091137i600c2031t8ab32bde78707b89@mail.gmail.com> I have a trap in the background script of my main stack which makes a special new card like process (but not the one in the I.D.E.) when someone types "Command N". This works when I'm in that stack and mysteriously works in the substacks usually but occasionally I get a new card instead of the special routine it is supposed to do. Is there something I'm doing wrong? Should I have the special "Command N" command in the script of every single card or in the background of every single substack? Should I have some kind of "pass the command key when it is command n" thing in the script? Thanks. From bill at bluewatermaritime.com Wed Dec 9 14:41:33 2009 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 9 Dec 2009 15:41:33 -0400 Subject: Trapping the Command key combination which already has use like "Command N" In-Reply-To: <459b22a90912091137i600c2031t8ab32bde78707b89@mail.gmail.com> References: <459b22a90912091137i600c2031t8ab32bde78707b89@mail.gmail.com> Message-ID: <459b22a90912091141q28d77358s530d6aa797874a13@mail.gmail.com> On a related matter (related to my scripts failing). How can you make the name of a stack be permanent? My scripts depend on the stack name not changing and sometimes random command key combinations cause the stacks to change name. On Wed, Dec 9, 2009 at 3:37 PM, william humphrey wrote: > I have a trap in the background script of my main stack which makes a > special new card like process (but not the one in the I.D.E.) when someone > types "Command N". This works when I'm in that stack and mysteriously works > in the substacks usually but occasionally I get a new card instead of the > special routine it is supposed to do. > > Is there something I'm doing wrong? Should I have the special "Command N" > command in the script of every single card or in the background of every > single substack? Should I have some kind of "pass the command key when it is > command n" thing in the script? > > Thanks. > -- http://www.bluewatermaritime.com From neil at yippo.co.uk Wed Dec 9 14:48:51 2009 From: neil at yippo.co.uk (Neil Allan) Date: Wed, 9 Dec 2009 19:48:51 -0000 Subject: bitXor 8 bytes of data References: <005201ca7847$4e96d780$0401a8c0@OFFICE> <4B1EE9A4.4020206@tweedly.net> Message-ID: <005201ca7908$a4654540$0401a8c0@OFFICE> After some deep thought today, I achieved my desired goal by xoring each individual byte. I could swear I tried this before, but anyhoo it's working now! put byte 5 to 12 of tPointData into tEncLat -- read out lats, lons and keys from 129 bytes of tPointData put byte 13 to 20 of tPointData into tEncLon put Byte 127 of tPointData into tKey1 -- get Encryption bytes from tPointData put byte 128 of tPointData into tKey2 put byte 129 of tPointData into tKey3 etcetera... -- decrypt lat replace byte 4 of tEncLat with numToByte((byteToNum(byte 4 of tEncLat) bitXor (byteToNum(tKey1)))) in tEncLat replace byte 5 of tEncLat with numToByte((byteToNum(byte 5 of tEncLat) bitXor (byteToNum(tKey2)))) in tEncLat replace byte 6 of tEncLat with numToByte((byteToNum(byte 6 of tEncLat) bitXor (byteToNum(tKey3)))) in tEncLat Thanks anyway, I was starting to panic after promising an alpha before Christmas!! Regards Neil From: "Alex Tweedly" To: "How to use Revolution" Sent: Wednesday, December 09, 2009 12:04 AM Subject: Re: bitXor 8 bytes of data > Neil Allan wrote: >> Does anyone have a way of doing a "simple" bitwise xor with two 8 byte >> signed floating point numbers? >> >> I believe the revTalk bitXor command can only accept non signed >> "numbers". >> >> I have tried performing the bitXor byte by byte on the two strings using >> the byteToNum() function on each byte individually but the result is >> quite different to what one would get banging the hex equivalent of the >> string into "calculator" on windows. >> >> Calculator gives me the correct answer. I set it to hex mode then just >> type in the 8 bytes of hex, hit xor, type in the other hex string and "=" >> >> Any Ideas? >> > bitXor() will do what you want. Can you show a more complete code > fragment (including the data you used) and we'll see if it's something > about how you're setting the data up ? > > Thanks > -- Alex. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.426 / Virus Database: 270.14.98/2552 - Release Date: 12/08/09 07:34:00 From mwieder at ahsoftware.net Wed Dec 9 15:12:59 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 9 Dec 2009 12:12:59 -0800 Subject: Trapping the Command key combination which already has use like "Command N" In-Reply-To: <459b22a90912091137i600c2031t8ab32bde78707b89@mail.gmail.com> References: <459b22a90912091137i600c2031t8ab32bde78707b89@mail.gmail.com> Message-ID: <1238001406.20091209121259@ahsoftware.net> william- Wednesday, December 9, 2009, 11:37:20 AM, you wrote: > I have a trap in the background script of my main stack which makes a > special new card like process (but not the one in the I.D.E.) when someone > types "Command N". This works when I'm in that stack and mysteriously works > in the substacks usually but occasionally I get a new card instead of the > special routine it is supposed to do. If you want to trap keys reliably you probably want this in a frontscript rather than a backscript. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Dec 9 15:14:24 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 9 Dec 2009 12:14:24 -0800 Subject: bitXor 8 bytes of data In-Reply-To: <005201ca7908$a4654540$0401a8c0@OFFICE> References: <005201ca7847$4e96d780$0401a8c0@OFFICE> <4B1EE9A4.4020206@tweedly.net> <005201ca7908$a4654540$0401a8c0@OFFICE> Message-ID: <728086125.20091209121424@ahsoftware.net> Neil- Wednesday, December 9, 2009, 11:48:51 AM, you wrote: > Thanks anyway, I was starting to panic after promising an alpha before > Christmas!! rotfl... I know that feeling... -- -Mark Wieder mwieder at ahsoftware.net From bill at bluewatermaritime.com Wed Dec 9 15:47:47 2009 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 9 Dec 2009 16:47:47 -0400 Subject: Trapping the Command key combination which already has use like "Command N" In-Reply-To: <1238001406.20091209121259@ahsoftware.net> References: <459b22a90912091137i600c2031t8ab32bde78707b89@mail.gmail.com> <1238001406.20091209121259@ahsoftware.net> Message-ID: <459b22a90912091247g66366960k7434265c88b1f321@mail.gmail.com> Then it would have to be in the card script of every card where it is likely to be used? On Wed, Dec 9, 2009 at 4:12 PM, Mark Wieder wrote: > william- > > Wednesday, December 9, 2009, 11:37:20 AM, you wrote: > > > I have a trap in the background script of my main stack which makes a > > special new card like process (but not the one in the I.D.E.) when > someone > > types "Command N". This works when I'm in that stack and mysteriously > works > > in the substacks usually but occasionally I get a new card instead of the > > special routine it is supposed to do. > > If you want to trap keys reliably you probably want this in a > frontscript rather than a backscript. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 From mwieder at ahsoftware.net Wed Dec 9 16:15:31 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 9 Dec 2009 13:15:31 -0800 Subject: Trapping the Command key combination which already has use like "Command N" In-Reply-To: <459b22a90912091247g66366960k7434265c88b1f321@mail.gmail.com> References: <459b22a90912091137i600c2031t8ab32bde78707b89@mail.gmail.com> <1238001406.20091209121259@ahsoftware.net> <459b22a90912091247g66366960k7434265c88b1f321@mail.gmail.com> Message-ID: <13511753406.20091209131531@ahsoftware.net> william- Wednesday, December 9, 2009, 12:47:47 PM, you wrote: > Then it would have to be in the card script of every card where it is likely > to be used? My bad. I thought you were referring using to a backscript. -- -Mark Wieder mwieder at ahsoftware.net From revolution at derbrill.de Wed Dec 9 16:37:22 2009 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Wed, 9 Dec 2009 22:37:22 +0100 Subject: put put In-Reply-To: <20091209162901.EEDE52885B1@mail.runrev.com> References: <20091209162901.EEDE52885B1@mail.runrev.com> Message-ID: <291D5A82-5467-4E8E-BC99-048D8F34DDFB@derbrill.de> Ok, I don?t get it. It does not seem a general problem, which makes it even stranger. At least I know now it does not have to do with the 4.0 engine. Also happens with a 3.5 standalone. The scenario is as follows. rev client communicates with a server. It fails most of the time on one XP and at least one Win 7 machines. A whole bunch of other XP machines and Vista machines are known to work. If it fails, it is the download process that does (thanks for the suggestion Dave). I get all kinds of fun errors. First: error 10038 on socket, which if I understand it correctly means, I am not communicating with a socket at all. Next error: No headers sent. Next the result is empty, but only half of the data is received (exactly the half). This is soooooooo weird. The only scenario where I could reproduce it, without having to open a teamviewer session is a machine that hosts both server and client. Now it gets strange. If I connect from a remote machine to said server (while the same IP is used) all works fine on the remote machine. If I connect the "broken" machine to a remote server, it also works. also there are at least 10 other machines (both Macs and PCs) where the same scenario (one machine hosts server and client) just works perfectly... I have no idea... Just standing here shrugging. I will now try to load URL first and then write from the cachedUrls. If that?s no worky I give up suspecting that the wee free men got hold of the machine and just left some critters in there. Tis not me. I start doubting it is rev, though I can access the documents with a webbrowser. Overcaffeinated. Clueless... *shrug* Thanks for your time. Malte From livfoss at mac.com Wed Dec 9 16:44:00 2009 From: livfoss at mac.com (Graham Samuel) Date: Wed, 09 Dec 2009 22:44:00 +0100 Subject: revlets, browsers, OSs and image formats In-Reply-To: <20091209162901.B392B2885AF@mail.runrev.com> References: <20091209162901.B392B2885AF@mail.runrev.com> Message-ID: <0CC5C55A-1E14-4A1E-9862-90CE1C7761E7@mac.com> Intel 1.66GHz Mac Mini with 1.25 Gb RAM, running Snow Leopard 10.6.2. Works fine on Safari 4.0.4 and FireFox 3.5.5 HTH Graham PS The plugin download was pretty nifty, apart from the wrong window coming to the front during the installation process... On Wed, 09 Dec 2009 18:28:52 +0200, Richmond Mathewson wrote: > > Please have a look at this: > > http://andregarzia.on-rev.com/richmond/revletIMAGES.html > > and then SHARE with the use-list the following: > > Browser > > Operating System > > sincerely, Richmond Mathewson. From stephenREVOLUTION2 at barncard.com Wed Dec 9 17:11:03 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 9 Dec 2009 14:11:03 -0800 Subject: revlets, browsers, OSs and image formats In-Reply-To: <707B5F58-9404-4351-AF2C-3692181877B4@rpsystems.net> References: <4B1FD044.5070906@gmail.com> <707B5F58-9404-4351-AF2C-3692181877B4@rpsystems.net> Message-ID: Looking better and better for the plugin. What a minefield. Chrome is pretty smooth and awesome. Stainless is beautifully minimal. Machine #1 First Intel Dual Core Laptop MacOS 10.5.8 Stainless: Revlet works. Everything looks good Chrome/Mac: Revlet DOES NOT WORK (the Mac version INTELwas released yesterday) Safari: everything works Firefox 3.5.5 ERROR in the Powered By Panel "There was an error loading the revlet" - no kitty Opera 10.10 Webkit - works fine Shira webkit - works fine Netscape 9.0b1 works fine Internet Ex 5.2 are you kidding?? Machine #2 G5 Dual 2.5 Ghz Mac OS 10.5.8 Stainless: Revlet works. Everything looks good Chrome/Mac: no G5 browser available Safari: everything works Firefox 3.5.5 works fine Seamonkey 2.0 works fine ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev From niconiko at gmail.com Wed Dec 9 18:02:59 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 10 Dec 2009 08:02:59 +0900 Subject: revlets, browsers, OSs and image formats In-Reply-To: <0CC5C55A-1E14-4A1E-9862-90CE1C7761E7@mac.com> References: <20091209162901.B392B2885AF@mail.runrev.com> <0CC5C55A-1E14-4A1E-9862-90CE1C7761E7@mac.com> Message-ID: <1e91b2b70912091502i4109caefw9935eb2aa8467833@mail.gmail.com> Vista Business Service Pack 1 (Japanese) Firefox 3.5.5 & IE8.0 RevApp 4.0.0 build 950: Basically, the revlet seems to work. Four kitty pictures appear. But the revlet lacks a title-bar and its fontsize is much smaller for the words "IMAGE FORMAT TESTER". -- Nicolas Cueto From sarah.reichelt at gmail.com Wed Dec 9 18:27:52 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 10 Dec 2009 09:27:52 +1000 Subject: revWebInstaller - Start button is not enabled In-Reply-To: References: Message-ID: On Thu, Dec 10, 2009 at 3:24 AM, Mark Stuart wrote: > Hi all, > Platform: WinXP SP3 > Browser: IE 8 > > 1) What do I need to do to get the "Start" button enabled on the > revWebInstaller? > I have ALL programs closed, including all browsers. > I have set the Firewall to Off. And I've added a Firewall exception for > the revWebInstaller.exe, just in case. > > Previous versions of the installer did enable the Start button. > Also, previous versions did install the revWebBrowser, but the "Loading > plugin" message always appears in the browser. I had this problem on my Mac with Safari. It kept telling me to close all browsers when I already had. In the end I checked Activity Monitor and found Safari was still running invisibly and had to force quit it. Then I could install the plugin. So I suggest checking your Task Manager and making sure there are no browsers lurking in the open processes. HTH, Sarah From alex at tweedly.net Wed Dec 9 18:51:04 2009 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 09 Dec 2009 23:51:04 +0000 Subject: bitXor 8 bytes of data In-Reply-To: <005201ca7908$a4654540$0401a8c0@OFFICE> References: <005201ca7847$4e96d780$0401a8c0@OFFICE> <4B1EE9A4.4020206@tweedly.net> <005201ca7908$a4654540$0401a8c0@OFFICE> Message-ID: <4B2037E8.5080302@tweedly.net> Neil Allan wrote: > After some deep thought today, I achieved my desired goal by xoring > each individual byte. I could swear I tried this before, but anyhoo > it's working now! Sometimes it's not enough to try something ..... you need to tell someone else that it still fails, and only then will it start working again :-) At least once a month, I start writing an email to the use-list explaining a problem (or sometimes just ranting about it :-), and by the time I have finished writing the email, including the "one last try" to copy/paste the failing code, the problem has mysteriously disappeared. -- Alex. From mstuart at adaptcrm.com Wed Dec 9 19:03:59 2009 From: mstuart at adaptcrm.com (Mark Stuart) Date: Wed, 9 Dec 2009 16:03:59 -0800 Subject: revWebInstaller - Start button is not enabled Message-ID: Written by Sarah Reichelt on Wed Dec 9, 2009 - 5:27 PM CST On Thu, Dec 10, 2009 at 3:24 AM, Mark Stuart wrote: > Hi all, > Platform: WinXP SP3 > Browser: IE 8 > > 1) What do I need to do to get the "Start" button enabled on the > revWebInstaller? > I have ALL programs closed, including all browsers. > I have set the Firewall to Off. And I've added a Firewall exception for > the revWebInstaller.exe, just in case. > > Previous versions of the installer did enable the Start button. > Also, previous versions did install the revWebBrowser, but the "Loading > plugin" message always appears in the browser. >> I had this problem on my Mac with Safari. It kept telling me to close all browsers when I already had. In the end I checked Activity Monitor and found Safari was still running invisibly and had to force quit it. Then I could install the plugin. So I suggest checking your Task Manager and making sure there are no browsers lurking in the open processes. HTH, Sarah << Hi Sarah, 1) That was indeed the problem. I noticed that revWebPlayer.exe was loaded as well as iexplorer.exe. I stopped the process on both of them, but iexplorer.exe kept on coming back. ??? So I stopped iexplorer and quickly started revWebInstaller. It started and the Start button was enabled. Clicked it, and it installed successfully. 2) The plugin is FINALLY working in IE8 on my work computer - yahoo!. This morning I played around with the Firewall by adding exceptions to the following files: nprevweb.dll revWebInstaller.exe revWebPlayer.exe Now they are working :) Thanx again, Mark Stuart From bill at bluewatermaritime.com Wed Dec 9 22:15:50 2009 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 9 Dec 2009 23:15:50 -0400 Subject: Another Datagrid question Message-ID: <459b22a90912091915y4ce89d3ey38d6b7a70d478ebb@mail.gmail.com> How do you do a returninfield? It doesn't work if you put it in the group script. I want to return one of the cells in the selected line of a dataGroup when the return key is hit. From Andre.Bisseret at inria.fr Thu Dec 10 03:42:44 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Thu, 10 Dec 2009 09:42:44 +0100 Subject: revlets, browsers, OSs and image formats In-Reply-To: <4B1FD044.5070906@gmail.com> References: <4B1FD044.5070906@gmail.com> Message-ID: <479C682F-864B-4481-9CF8-A1FD41844225@inria.fr> Firefox 3.5.5 Mac OSX 10.5.8 Seem's OK Best regards from Grenoble Andr? Le 9 d?c. 09 ? 17:28, Richmond Mathewson a ?crit : > Please have a look at this: > > http://andregarzia.on-rev.com/richmond/revletIMAGES.html > > and then SHARE with the use-list the following: > > Browser > > Operating System > > sincerely, Richmond Mathewson. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rene.micout at numericable.com Thu Dec 10 03:46:51 2009 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 10 Dec 2009 09:46:51 +0100 Subject: revlets, browsers, OSs and image formats In-Reply-To: <479C682F-864B-4481-9CF8-A1FD41844225@inria.fr> References: <4B1FD044.5070906@gmail.com> <479C682F-864B-4481-9CF8-A1FD41844225@inria.fr> Message-ID: <4513BD61-FA19-4462-B78D-CFB243BAA266@numericable.com> Safari 4.0.4 MacOS X 10.6.2 OK Bons souvenirs de Paris Ren? > Le 9 d?c. 09 ? 17:28, Richmond Mathewson a ?crit : > >> Please have a look at this: >> >> http://andregarzia.on-rev.com/richmond/revletIMAGES.html >> >> and then SHARE with the use-list the following: >> >> Browser >> >> Operating System >> >> sincerely, Richmond Mathewson. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bdrunrev at gmail.com Thu Dec 10 05:25:25 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 10 Dec 2009 10:25:25 +0000 Subject: revlets, browsers, OSs and image formats In-Reply-To: <4B1FD044.5070906@gmail.com> References: <4B1FD044.5070906@gmail.com> Message-ID: I can't take part in this since there is still no revWeb plugin for Linux. Bernard From richmondmathewson at gmail.com Thu Dec 10 05:39:45 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 10 Dec 2009 12:39:45 +0200 Subject: revlets, browsers, OSs and image formats In-Reply-To: References: <4B1FD044.5070906@gmail.com> Message-ID: <4B20CFF1.5020502@gmail.com> On 12/10/09 12:25 PM, Bernard Devlin wrote: > I can't take part in this since there is still no revWeb plugin for Linux. > > Come On RunRev !!!!!! From mcgrath3 at mac.com Thu Dec 10 09:16:05 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 10 Dec 2009 09:16:05 -0500 Subject: revlets, browsers, OSs and image formats In-Reply-To: <4B1FD044.5070906@gmail.com> References: <4B1FD044.5070906@gmail.com> Message-ID: <1BB32CC2-78EA-428D-8BE4-A207606E34D9@mac.com> Safari 4.0.4 Macintosh OSX 10.5.8 Revlet and screenshot look pretty close to me. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 9, 2009, at 11:28 AM, Richmond Mathewson wrote: > Please have a look at this: > > http://andregarzia.on-rev.com/richmond/revletIMAGES.html > > and then SHARE with the use-list the following: > > Browser > > Operating System > > sincerely, Richmond Mathewson. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From DunbarX at aol.com Thu Dec 10 09:40:11 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 10 Dec 2009 09:40:11 EST Subject: bitXor 8 bytes of data Message-ID: This is not just good natured banter. It is a poltergeist that lives in all x-talk programming, going way back to early HC. I absolutely KNOW that I have had scripts fail, even though they are perfectly well constructed, and then just fix themselves while I am fiddling with them. This even though I am CERTAIN that I changed nothing pertinent during the fiddling. Craig Newman In a message dated 12/9/09 6:51:56 PM, alex at tweedly.net writes: > Sometimes it's not enough to try something ..... you need to tell > someone else that it still fails, and only then will it start working > again :-) > > At least once a month, I start writing an email to the use-list > explaining a problem (or sometimes just ranting about it :-), and by the > time I have finished writing the email, including the "one last try" to > copy/paste the failing code, the problem has mysteriously disappeared. > From mcgrath3 at mac.com Thu Dec 10 09:40:42 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 10 Dec 2009 09:40:42 -0500 Subject: revlets, browsers, OSs and image formats In-Reply-To: <1BB32CC2-78EA-428D-8BE4-A207606E34D9@mac.com> References: <4B1FD044.5070906@gmail.com> <1BB32CC2-78EA-428D-8BE4-A207606E34D9@mac.com> Message-ID: <43F205B7-52BF-431E-90F1-07EF7698DCC2@mac.com> The white point looks different. On Dec 10, 2009, at 9:16 AM, Thomas McGrath III wrote: > Safari 4.0.4 > > Macintosh OSX 10.5.8 > > > Revlet and screenshot look pretty close to me. > > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > > On Dec 9, 2009, at 11:28 AM, Richmond Mathewson wrote: > >> Please have a look at this: >> >> http://andregarzia.on-rev.com/richmond/revletIMAGES.html >> >> and then SHARE with the use-list the following: >> >> Browser >> >> Operating System >> >> sincerely, Richmond Mathewson. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From liste.revo at medard.on-rev.com Thu Dec 10 10:20:46 2009 From: liste.revo at medard.on-rev.com (Medard) Date: Thu, 10 Dec 2009 16:20:46 +0100 Subject: revlets, browsers, OSs and image formats In-Reply-To: <43F205B7-52BF-431E-90F1-07EF7698DCC2@mac.com> Message-ID: <1jainwl.1y1nd1q77a95uM%liste.revo@medard.on-rev.com> Thomas McGrath III wrote: > The white point looks different. iMac G5 Mac OS X 10.5.8 Safari 4.0.4 the "template" seems a bit darker: (estimated with Pixie) on the kitten whiskers: - screen capture RVB=191,179,175 - revlet RVB= 212,209,209 -- Dom^W Medard From stephenREVOLUTION2 at barncard.com Thu Dec 10 11:11:55 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 10 Dec 2009 08:11:55 -0800 Subject: revlets, browsers, OSs and image formats In-Reply-To: <1jainwl.1y1nd1q77a95uM%liste.revo@medard.on-rev.com> References: <43F205B7-52BF-431E-90F1-07EF7698DCC2@mac.com> <1jainwl.1y1nd1q77a95uM%liste.revo@medard.on-rev.com> Message-ID: I am not sure how this matters to color if the color reference swatch on the web page is one graphic saved as ?? png? and not the individual file types. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/10 Medard > Thomas McGrath III wrote: > > > The white point looks different. > > iMac G5 > Mac OS X 10.5.8 > Safari 4.0.4 > > the "template" seems a bit darker: > (estimated with Pixie) > > on the kitten whiskers: > - screen capture RVB=191,179,175 > - revlet RVB= 212,209,209 > > -- > Dom^W Medard > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jimaultwins at yahoo.com Thu Dec 10 11:35:56 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 10 Dec 2009 08:35:56 -0800 Subject: revlets, browsers, OSs and image formats In-Reply-To: References: <43F205B7-52BF-431E-90F1-07EF7698DCC2@mac.com> <1jainwl.1y1nd1q77a95uM%liste.revo@medard.on-rev.com> Message-ID: <8B9BF487-9B34-4487-8F18-826B85B3D4DC@yahoo.com> [the "template" seems a bit darker:] [The white point looks different.] Note about the RGB values in Rev images Do the following: go to a Rev card with an image choose pointer tool right click on the image and do 'launch editor' --in my case it is Photoshop then inspect the exact RGB of each pixel You will find each of these has a small offset such that the image in Rev is slightly darker. This is a bummer when trying to edit images that overlay or surround in Rev. I did not resolve how to compensate for this when I was working with an image project 2 years ago. Hope this helps. On Dec 10, 2009, at 8:11 AM, stephen barncard wrote: > I am not sure how this matters to color if the color reference > swatch on the > web page is one graphic saved as ?? png? and not the individual file > types. > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > > > 2009/12/10 Medard > >> Thomas McGrath III wrote: >> >>> The white point looks different. >> >> iMac G5 >> Mac OS X 10.5.8 >> Safari 4.0.4 >> >> the "template" seems a bit darker: >> (estimated with Pixie) >> >> on the kitten whiskers: >> - screen capture RVB=191,179,175 >> - revlet RVB= 212,209,209 >> >> -- >> Dom^W Medard >> Jim Ault Las Vegas From lists at mangomultimedia.com Thu Dec 10 11:52:44 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 10 Dec 2009 11:52:44 -0500 Subject: Another Datagrid question In-Reply-To: <459b22a90912091915y4ce89d3ey38d6b7a70d478ebb@mail.gmail.com> References: <459b22a90912091915y4ce89d3ey38d6b7a70d478ebb@mail.gmail.com> Message-ID: <538E7C86-298A-464D-A617-543055B67859@mangomultimedia.com> On Dec 9, 2009, at 10:15 PM, william humphrey wrote: > How do you do a returninfield? It doesn't work if you put it in the > group > script. I want to return one of the cells in the selected line of a > dataGroup when the return key is hit. If you have an editable field in the Data Grid then there is no message trapping that would prevent you from receiving this message in the Data Grid script (I just tested). If you are trying to trap returnInField in the built-in field editor then you need to customize the behavior script associated with it. How Can I Customize The Field Editor Behavior?: -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From richmondmathewson at gmail.com Thu Dec 10 13:09:46 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 10 Dec 2009 20:09:46 +0200 Subject: revlets, browsers, OSs and image formats In-Reply-To: References: <43F205B7-52BF-431E-90F1-07EF7698DCC2@mac.com> <1jainwl.1y1nd1q77a95uM%liste.revo@medard.on-rev.com> Message-ID: <4B21396A.4050604@gmail.com> On 12/10/09 6:11 PM, stephen barncard wrote: > I am not sure how this matters to color if the color reference swatch on the > web page is one graphic saved as ?? png? and not the individual file types. > ------------------------- > web-page now modified to include the 4 original images: http://andregarzia.on-rev.com/richmond/revletIMAGES.html and, for those of you who care about this sort of thing, the cat is now about 10 times bigger and currently asleep in front of our fireplace. From stephenREVOLUTION2 at barncard.com Thu Dec 10 13:17:25 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 10 Dec 2009 10:17:25 -0800 Subject: revlets, browsers, OSs and image formats In-Reply-To: <4B21396A.4050604@gmail.com> References: <43F205B7-52BF-431E-90F1-07EF7698DCC2@mac.com> <1jainwl.1y1nd1q77a95uM%liste.revo@medard.on-rev.com> <4B21396A.4050604@gmail.com> Message-ID: Not to be a problem, Richmond, but it's still showing the same single jpg SNAP.jpg ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/10 Richmond Mathewson > On 12/10/09 6:11 PM, stephen barncard wrote: > >> I am not sure how this matters to color if the color reference swatch on >> the >> web page is one graphic saved as ?? png? and not the individual file >> types. >> ------------------------- >> >> > > web-page now modified to include the 4 original images: > > > http://andregarzia.on-rev.com/richmond/revletIMAGES.html > > and, for those of you who care about this sort of thing, the cat is > now about 10 times bigger and currently asleep in front of our fireplace. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From richmondmathewson at gmail.com Thu Dec 10 13:30:16 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 10 Dec 2009 20:30:16 +0200 Subject: revlets, browsers, OSs and image formats In-Reply-To: References: <43F205B7-52BF-431E-90F1-07EF7698DCC2@mac.com> <1jainwl.1y1nd1q77a95uM%liste.revo@medard.on-rev.com> <4B21396A.4050604@gmail.com> Message-ID: <4B213E38.1010800@gmail.com> On 12/10/09 8:17 PM, stephen barncard wrote: > Not to be a problem, Richmond, but it's still showing the same single jpg > > SNAP.jpg > ------------------------- > Scroll down! From liste.revo at medard.on-rev.com Thu Dec 10 16:51:21 2009 From: liste.revo at medard.on-rev.com (Medard) Date: Thu, 10 Dec 2009 22:51:21 +0100 Subject: Standalone (& revlet) not working: internet LIB missing? Message-ID: <1jaj5ps.1zegdk686iuM%liste.revo@medard.on-rev.com> I updated today a small stack, aimed at showing the weather forecast for my town [The Weather Channel] It works nicely, excepted for the forecast data, as they changed their web page ;-) -- set right I tried to make a standalone to put it on the desktop -- but the app refuses to launch! I tried also to build a revlet -- the plugin insists on "bad revlet" ;-> So, I wonder if the standalone needs more resources, such as an internet lib, since it has to connect on the internet to get the forecast data... Am I correct? In this situation, what to do? From bvlahos at mac.com Thu Dec 10 17:16:51 2009 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 10 Dec 2009 14:16:51 -0800 Subject: Can a SQL data base update app when there is a change? Message-ID: <8A5B1D38-1F1C-437D-AF76-5266CF0670D5@mac.com> I have an app that talks to a MySQL data base. This is fine for posting queries and updating records. Is there a mechanism that tells my application when someone else updates the data base? When that happens I want to update the display in my app with the changes. I can do this with periodic queries but it would be much better to have a push system originating from the data base. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) helps me remember the important details of my life. From DunbarX at aol.com Thu Dec 10 18:36:11 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 10 Dec 2009 18:36:11 EST Subject: Tab Button question Message-ID: I make a tab button and click on a tab. The tab hilites. A menuPick message is sent to the button. But the menuPick message is not sent if the hilited tab is clicked again. Why should this be so? MouseDown and mouseUp are always sent. Thank goodness. MenuPick is sent with similarly constructed objects like a combo box, where reselecting a previously selected (and showing) menuItem still sends the menuPick message. Seems logical it ought to. Thanks. Craig Newman From userev at canelasoftware.com Thu Dec 10 19:42:00 2009 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 10 Dec 2009 16:42:00 -0800 Subject: Trevor's wonderful QT External and 30 inch monitors In-Reply-To: References: Message-ID: On Dec 8, 2009, at 4:38 PM, Mark Talluto wrote: > I am having a problem using the QT ext with the qtFlipMovie param set to horizontal,"yes" > On 24 inch and smaller monitors the videos flip just fine. On 30 inch monitors the video is not flipped. Anyone else seeing that? Some very helpful list members took a look at the problem on their own hardware while using our software and provided some helpful results. In short, something is not working correctly with the QT external and flipping a video so that it appears mirrored on 30 inch displays. Under certain conditions the video mirrored. We are guessing it has something to do with the codec used but are not sure. I am going to attempt to make a player that matches a 30inch display resolution on one of my 24inch displays and see if it renders the same results. All findings will be sent to Trevor. It is a free external so I understand this may not be a high priority. Special thanks to Wolfgang Happe and Christopher Rosien for providing detailed results. Best regards, Mark Talluto http://www.canelasoftware.com From scott at tactilemedia.com Thu Dec 10 20:21:11 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 10 Dec 2009 17:21:11 -0800 Subject: Scaling Groups? Message-ID: Hi List: Before I go off and try to reinvent the wheel, does anyone have a script that will proportionally scale objects within a group relative to each other? I have several groups consisting of images and graphics, and I need to be able to scale the individual objects in the group up and down, while keeping their relative positions intact, not just their relative sizes. Thanks for any suggestions. Best Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From lan.kc.macmail at gmail.com Thu Dec 10 21:00:31 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 11 Dec 2009 10:00:31 +0800 Subject: Tab Button question In-Reply-To: References: Message-ID: The docs seem to fully explain the situation, in the Dictionary, under the entry for menuPick it says: (However, no menuPick message is sent when an already-chosen tab in a tabbed button is clicked, since no menu is displayed.) Might not be how you want it to behave, but it's clearly documented that that's the way it is. Seems reasonable to me, FireFox, Safari and tRev don't seem to do anything when I select the already active tab again. In my stacks that use tabs I appreciate not wasting cycles on something that has already been done. On Fri, Dec 11, 2009 at 7:36 AM, wrote: > I make a tab button and click on a tab. The tab hilites. A menuPick message > is sent to the button. > > But the menuPick message is not sent if the hilited tab is clicked again. > Why should this be so? MouseDown and mouseUp are always sent. Thank > goodness. > > MenuPick is sent with similarly constructed objects like a combo box, where > reselecting a previously selected (and showing) menuItem still sends the > menuPick message. > > Seems logical it ought to. > > Thanks. > > Craig Newman > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jerry.daniels at me.com Thu Dec 10 21:42:33 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Thu, 10 Dec 2009 20:42:33 -0600 Subject: Scaling Groups? In-Reply-To: References: Message-ID: Scott, I have no code for you, only a thought on the easiest way I could imagine: - calculate orig width / new width ratio of the meta group - calculate orig height / new height ratio of the meta group - I would scale the individual objects' height and width using the ratios above - I would scale the locations of each object with the same ratios - I would then place the new resized objects at their new locations But you probably know all that. I was fun to type it out, tho. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-n-drop-your-handlers On Dec 10, 2009, at 7:21 PM, Scott Rossi wrote: > Hi List: > > Before I go off and try to reinvent the wheel, does anyone have a > script > that will proportionally scale objects within a group relative to each > other? > > I have several groups consisting of images and graphics, and I need > to be > able to scale the individual objects in the group up and down, while > keeping > their relative positions intact, not just their relative sizes. > > Thanks for any suggestions. > > Best Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From david.bovill at gmail.com Thu Dec 10 22:07:03 2009 From: david.bovill at gmail.com (David Bovill) Date: Fri, 11 Dec 2009 03:07:03 +0000 Subject: Scaling Groups? In-Reply-To: References: Message-ID: I do have some code that does exactly this - not on this computer though - I'll try to look it out for you later tomorrow? I'll have to check it though as it is a few years old (in the early days of creating nested widgets), and well may be fine but may be ugly as hell :) From scott at tactilemedia.com Fri Dec 11 00:00:53 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 10 Dec 2009 21:00:53 -0800 Subject: Scaling Groups? In-Reply-To: <143119401468.20091210190939@ahsoftware.net> Message-ID: Thanks to all who replied about my scaling groups question. As it turns out, I was able to come up with a solution in about a tenth of the time I thought it would take (and I was dreading it). The biggest issue for me is Rev?s reliance on integers for object positioning -- this is a serious limitation when it comes to scaling because object dimensions can get heavily distorted when the objects are repeatedly scaled. I needed a way to keep object dimensions from getting too messed up if the user wants to size a group up and down repeatedly. The only way I know how to do this is to store the original dimensions and refer to those whenever an object is scaled. The following code does this, called from a scrollbar whose start/end values are 50 and 200 (equates to 50% and 200%). Objects are initialized with their ?starting? specs, and since those specs are always used in the code, scaling is as distortion-free as possible: on scrollbarDrag pValue scaleGroup long id of grp ?my great group?,pValue end scrollbarDrag on scaleGroup pGroup,pValue initObjSpecs pGroup put pValue/100 into tPercent put loc of pGroup into masterLoc lock screen set width of pGroup to the uDefaultWidth of pGroup * tPercent set height of pGroup to the uDefaultHeight of pGroup * tPercent set loc of pGroup to masterLoc repeat with N = 1 to number of controls of pGroup put long id of control N of pGroup into tObj set width of tObj to (item 1 of the uOrigDimensions of tObj * tPercent) set height of tObj to (item 2 of the uOrigDimensions of tObj * tPercent) put item 1 of masterLoc - (item 1 of the uOrigOffset of tObj * tPercent) into X put item 2 of masterLoc - (item 2 of the uOrigOffset of tObj * tPercent) into Y set loc of tObj to X,Y end repeat set loc of pGroup to masterLoc unlock screen end scaleGroup on initObjSpecs pGroup put loc of pGroup into masterLoc if the uDefaultWidth of pGroup = "" then set the uDefaultWidth of pGroup to width of pGroup if the uDefaultHeight of pGroup = "" then set the uDefaultHeight of pGroup to height of pGroup put the number of controls of pGroup into objCount repeat with N = 1 to objCount put long id of control N of pGroup into tObj if the uOrigOffset of tObj <> "" and the uOrigDimensions of tObj <> "" then next repeat put loc of tObj into objLoc set the uOrigOffset of tObj to item 1 of masterLoc - item 1 of objLoc,item 2 of masterLoc - item 2 of objLoc set the uOrigDimensions of tObj to width of tObj,height of tObj end repeat end initObjSpecs Maybe other folks will find this useful. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From DunbarX at aol.com Fri Dec 11 00:08:22 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 11 Dec 2009 00:08:22 EST Subject: Tab Button question Message-ID: I must read the dictionary more. I was trying to find info on the object, the button, and it didn't occur to me to read up on the message. This makes some sort of sense, I guess, in hindsight, but still, I miss a Goodman-like resource. Where is Dan, anyway? Thanks for the research. Craig Newman From hyperchris at aol.com Fri Dec 11 00:27:22 2009 From: hyperchris at aol.com (hyperchris at aol.com) Date: Fri, 11 Dec 2009 00:27:22 -0500 Subject: Printing a player image in XP Message-ID: <8CC4839BFE8A8ED-9CC-102D9@webmail-m067.sysops.aol.com> I need to display TIFFs and QuickTime is the only way I know to do that in Rev. So, I make sure XP has QT installed and then I use the Player object. Everything displays fine. When I print in XP, though, i get mush. The Players are just a grey box (everything else on the page prints fine.) I also tried Printing to PDF to see if that helped but no dice. It works fine in OSX so the approach appears to be sound. I did consider a workaround of 'export snapshot as PNG' and then putting that image in front of the Player. However, the QT approach is already a little pokey and so I'd like to find a better solution. (It also might snapshot the print dialogue unless it supports off-screen shots!) Any thoughts, ideas, magical incantations ??? TY ... Chris From lan.kc.macmail at gmail.com Fri Dec 11 00:53:57 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 11 Dec 2009 13:53:57 +0800 Subject: Tab Button question In-Reply-To: References: Message-ID: On Fri, Dec 11, 2009 at 1:08 PM, wrote: > I must read the dictionary more. > > Shouldn't we all :-) From scott at elementarysoftware.com Fri Dec 11 02:09:20 2009 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 10 Dec 2009 23:09:20 -0800 Subject: Scaling Groups? In-Reply-To: References: Message-ID: <35378701-9958-4ED1-9FEE-A2B73883F0B7@elementarysoftware.com> Hello Scott, Thanks for posting your script. I just tried it on a small collection of controls and images and it worked well. Much appreciated. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ On Dec 10, 2009, at 9:00 PM, Scott Rossi wrote: > Thanks to all who replied about my scaling groups question. > As it turns out, I was able to come up with a solution in about a tenth of > the time > I thought it would take (and I was dreading it). > > The biggest issue for me is Rev?s reliance on integers for object > positioning -- > this is a serious limitation when it comes to scaling because object > dimensions can get heavily distorted when the objects are repeatedly scaled. > I needed a way to keep object dimensions from getting too messed up if the > user wants > to size a group up and down repeatedly. The only way I know how to do this > is to store the original dimensions and refer to those whenever an object is > scaled. > The following code does this, called from a scrollbar whose start/end values > are 50 and 200 (equates to 50% and 200%). Objects are initialized with > their > ?starting? specs, and since those specs are always used in the code, scaling > is as > distortion-free as possible: > > on scrollbarDrag pValue > scaleGroup long id of grp ?my great group?,pValue > end scrollbarDrag > > on scaleGroup pGroup,pValue > initObjSpecs pGroup > put pValue/100 into tPercent > put loc of pGroup into masterLoc > lock screen > set width of pGroup to the uDefaultWidth of pGroup * tPercent > set height of pGroup to the uDefaultHeight of pGroup * tPercent > set loc of pGroup to masterLoc > repeat with N = 1 to number of controls of pGroup > put long id of control N of pGroup into tObj > set width of tObj to (item 1 of the uOrigDimensions of tObj * > tPercent) > set height of tObj to (item 2 of the uOrigDimensions of tObj * > tPercent) > put item 1 of masterLoc - (item 1 of the uOrigOffset of tObj * > tPercent) into X > put item 2 of masterLoc - (item 2 of the uOrigOffset of tObj * > tPercent) into Y > set loc of tObj to X,Y > end repeat > set loc of pGroup to masterLoc > unlock screen > end scaleGroup > > on initObjSpecs pGroup > put loc of pGroup into masterLoc > if the uDefaultWidth of pGroup = "" then set the uDefaultWidth of pGroup > to width of pGroup > if the uDefaultHeight of pGroup = "" then set the uDefaultHeight of > pGroup to height of pGroup > put the number of controls of pGroup into objCount > repeat with N = 1 to objCount > put long id of control N of pGroup into tObj > if the uOrigOffset of tObj <> "" and the uOrigDimensions of tObj <> "" > then next repeat > put loc of tObj into objLoc > set the uOrigOffset of tObj to item 1 of masterLoc - item 1 of > objLoc,item 2 of masterLoc - item 2 of objLoc > set the uOrigDimensions of tObj to width of tObj,height of tObj > end repeat > end initObjSpecs > > > Maybe other folks will find this useful. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dick.kriesel at mail.com Fri Dec 11 02:16:24 2009 From: dick.kriesel at mail.com (Dick Kriesel) Date: Thu, 10 Dec 2009 23:16:24 -0800 Subject: Scaling Groups? In-Reply-To: Message-ID: Thanks, Scott. Since you still have almost ninety percent of the time left, what do you think of scaling the content of fields using tPercent? That could be good when the text is too small for the old reading glasses. -- Dick On 12/10/09 9:00 PM, "Scott Rossi" wrote: > Thanks to all who replied about my scaling groups question. > As it turns out, I was able to come up with a solution in about a tenth of > the time > I thought it would take (and I was dreading it). > > The biggest issue for me is Rev?s reliance on integers for object > positioning -- > this is a serious limitation when it comes to scaling because object > dimensions can get heavily distorted when the objects are repeatedly scaled. > I needed a way to keep object dimensions from getting too messed up if the > user wants > to size a group up and down repeatedly. The only way I know how to do this > is to store the original dimensions and refer to those whenever an object is > scaled. > The following code does this, called from a scrollbar whose start/end values > are 50 and 200 (equates to 50% and 200%). Objects are initialized with > their > ?starting? specs, and since those specs are always used in the code, scaling > is as > distortion-free as possible: > > on scrollbarDrag pValue > scaleGroup long id of grp ?my great group?,pValue > end scrollbarDrag > > on scaleGroup pGroup,pValue > initObjSpecs pGroup > put pValue/100 into tPercent > put loc of pGroup into masterLoc > lock screen > set width of pGroup to the uDefaultWidth of pGroup * tPercent > set height of pGroup to the uDefaultHeight of pGroup * tPercent > set loc of pGroup to masterLoc > repeat with N = 1 to number of controls of pGroup > put long id of control N of pGroup into tObj > set width of tObj to (item 1 of the uOrigDimensions of tObj * > tPercent) > set height of tObj to (item 2 of the uOrigDimensions of tObj * > tPercent) > put item 1 of masterLoc - (item 1 of the uOrigOffset of tObj * > tPercent) into X > put item 2 of masterLoc - (item 2 of the uOrigOffset of tObj * > tPercent) into Y > set loc of tObj to X,Y > end repeat > set loc of pGroup to masterLoc > unlock screen > end scaleGroup > > on initObjSpecs pGroup > put loc of pGroup into masterLoc > if the uDefaultWidth of pGroup = "" then set the uDefaultWidth of pGroup > to width of pGroup > if the uDefaultHeight of pGroup = "" then set the uDefaultHeight of > pGroup to height of pGroup > put the number of controls of pGroup into objCount > repeat with N = 1 to objCount > put long id of control N of pGroup into tObj > if the uOrigOffset of tObj <> "" and the uOrigDimensions of tObj <> "" > then next repeat > put loc of tObj into objLoc > set the uOrigOffset of tObj to item 1 of masterLoc - item 1 of > objLoc,item 2 of masterLoc - item 2 of objLoc > set the uOrigDimensions of tObj to width of tObj,height of tObj > end repeat > end initObjSpecs > > > Maybe other folks will find this useful. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jimaultwins at yahoo.com Fri Dec 11 04:27:39 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 11 Dec 2009 01:27:39 -0800 Subject: Rev compress, cgi, php, zip In-Reply-To: References: <43F205B7-52BF-431E-90F1-07EF7698DCC2@mac.com> <1jainwl.1y1nd1q77a95uM%liste.revo@medard.on-rev.com> <4B21396A.4050604@gmail.com> Message-ID: I am refining my algorithms to connect web hosted servers that do not work with Revolution CGI to On-Rev and other web servers that do run Rev CGI. I have several mechanisms working for moving data and processing logic between domains, and would like to add the compression scheme as follows: server A is OnRev server B is a host that does not do Rev CGI step 1 is to build a variable on server B using php step 2 is to send the variable using POST in php step 3 is to have a Rev script decompress() So far my attempts are not successful. Rev uses try put decompress(varFromServerB) into varUnzipped catch errnum put "Error decompressing =>" & errnum into buffer end try PHP uses gzcompress($varFromServerB) -1- does decompress work in Rev CGI using Linux 3.5 version -2- is there a way to make the compressions compatible? Of course I could just make a call to a utility script decompr.php located on the OnRev server that returns the decompressed string, but that would make the processing take slightly longer. When I get this smoothed out, I will post a web page or two showing web pages on different servers running php, Rev scripts, Rev stacks, and irev scripts. These will be interconnected and show different variations. One variation will be a single web page hosted on OnRev that uses all 4 types of scripting to render the page and interact with the visitor. Jim Ault Las Vegas From luis at anachreon.co.uk Fri Dec 11 05:48:50 2009 From: luis at anachreon.co.uk (Luis) Date: Fri, 11 Dec 2009 10:48:50 +0000 Subject: revlets, browsers, OSs and image formats In-Reply-To: <4B21396A.4050604@gmail.com> References: <43F205B7-52BF-431E-90F1-07EF7698DCC2@mac.com> <1jainwl.1y1nd1q77a95uM%liste.revo@medard.on-rev.com> <4B21396A.4050604@gmail.com> Message-ID: (sneaks over to the kitchen for some bbq sauce...) On 10 Dec 2009, at 18:09, Richmond Mathewson wrote: > On 12/10/09 6:11 PM, stephen barncard wrote: >> I am not sure how this matters to color if the color reference >> swatch on the >> web page is one graphic saved as ?? png? and not the individual >> file types. >> ------------------------- >> > > web-page now modified to include the 4 original images: > > http://andregarzia.on-rev.com/richmond/revletIMAGES.html > > and, for those of you who care about this sort of thing, the cat is > now about 10 times bigger and currently asleep in front of our > fireplace. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From richmondmathewson at gmail.com Fri Dec 11 06:18:30 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 11 Dec 2009 13:18:30 +0200 Subject: revlets, browsers, OSs and image formats In-Reply-To: References: <43F205B7-52BF-431E-90F1-07EF7698DCC2@mac.com> <1jainwl.1y1nd1q77a95uM%liste.revo@medard.on-rev.com> <4B21396A.4050604@gmail.com> Message-ID: <4B222A86.60401@gmail.com> On 12/11/09 12:48 PM, Luis wrote: > (sneaks over to the kitchen for some bbq sauce...) Personally I prefer them stuffed with sage and onion, then slow-cooked in their own juice! > > On 10 Dec 2009, at 18:09, Richmond Mathewson wrote: > >> On 12/10/09 6:11 PM, stephen barncard wrote: >>> I am not sure how this matters to color if the color reference >>> swatch on the >>> web page is one graphic saved as ?? png? and not the individual file >>> types. >>> ------------------------- >>> >> >> web-page now modified to include the 4 original images: >> >> http://andregarzia.on-rev.com/richmond/revletIMAGES.html >> >> and, for those of you who care about this sort of thing, the cat is >> now about 10 times bigger and currently asleep in front of our >> fireplace. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From luis at anachreon.co.uk Fri Dec 11 06:48:39 2009 From: luis at anachreon.co.uk (Luis) Date: Fri, 11 Dec 2009 11:48:39 +0000 Subject: revlets, browsers, OSs and image formats In-Reply-To: <4B222A86.60401@gmail.com> References: <43F205B7-52BF-431E-90F1-07EF7698DCC2@mac.com> <1jainwl.1y1nd1q77a95uM%liste.revo@medard.on-rev.com> <4B21396A.4050604@gmail.com> <4B222A86.60401@gmail.com> Message-ID: <2C25C825-ED84-40B2-B6C0-DBE4B3C87932@anachreon.co.uk> So you won't be posting 'test' pictures of your Christmas dinner... On 11 Dec 2009, at 11:18, Richmond Mathewson wrote: > On 12/11/09 12:48 PM, Luis wrote: >> (sneaks over to the kitchen for some bbq sauce...) > > Personally I prefer them stuffed with sage and onion, then slow-cooked > in their own juice! > >> >> On 10 Dec 2009, at 18:09, Richmond Mathewson wrote: >> >>> On 12/10/09 6:11 PM, stephen barncard wrote: >>>> I am not sure how this matters to color if the color reference >>>> swatch on the >>>> web page is one graphic saved as ?? png? and not the individual >>>> file types. >>>> ------------------------- >>>> >>> >>> web-page now modified to include the 4 original images: >>> >>> http://andregarzia.on-rev.com/richmond/revletIMAGES.html >>> >>> and, for those of you who care about this sort of thing, the cat is >>> now about 10 times bigger and currently asleep in front of our >>> fireplace. >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From DunbarX at aol.com Fri Dec 11 10:10:13 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 11 Dec 2009 10:10:13 EST Subject: Another Tab Button question Message-ID: What is the field-like space in the lower portion of a tabbed button for? I see it can hold the label of the button, but it can be resized dramatically and looks like it must have some other purpose. Silly, but I could not find any description of this. Thanks... Craig Newman From janschenkel at yahoo.com Fri Dec 11 10:16:01 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 11 Dec 2009 07:16:01 -0800 (PST) Subject: Another Tab Button question In-Reply-To: Message-ID: <452023.74634.qm@web65411.mail.ac4.yahoo.com> --- On Fri, 12/11/09, DunbarX at aol.com wrote: > What is the field-like space in the > lower portion of a tabbed button for? I > see it can hold the label of the button, but it can be > resized dramatically > and looks like it must have some other purpose. > > Silly, but I could not find any description of this. > > Thanks... > > Craig Newman > It's there to help visually 'frame' the items per tab. Or am I misinterpreting your question? Jan Schenkel ===== Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From DunbarX at aol.com Fri Dec 11 10:41:08 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 11 Dec 2009 10:41:08 EST Subject: Another Tab Button question Message-ID: Jan. Well, OK. It seems like it does not need to be resizable to the extent it can be, though. It should just be sort of a one line label field attached under the tabs. Thanks. Craig In a message dated 12/11/09 10:16:27 AM, janschenkel at yahoo.com writes: > > > It's there to help visually 'frame' the items per tab. Or am I > misinterpreting your question? > From rene.micout at numericable.com Fri Dec 11 10:42:23 2009 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 11 Dec 2009 16:42:23 +0100 Subject: Comments Message-ID: Hello, A single line comment is introduce by -- A multiple lines comment is introduce by /* but with italic style (not very readable...) Is there a tip to use multiple lines comment (/*) without italic style ? Thank you Bons souvenirs de Paris Ren? From Roger.E.Eller at sealedair.com Fri Dec 11 10:56:20 2009 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Fri, 11 Dec 2009 10:56:20 -0500 Subject: OT OS X HD Partitioning, multiple OSs In-Reply-To: Message-ID: On 12/05/2009 02:42 PM, Bill Marriott wrote: > Roger, > >> Also, you won't have to keep converting your hd file between Parallels and >> Fusion. They will both comfortably use the same BootCamp partition (not at >> the same time of course). > > This led to great unhappiness last time I tried it, and constant > re-activation of Windows, as well. > > - Bill Hey, I just tried this and Windows did not have to re-activate, but there is still some minor unhappiness which is easily overcome. I can boot natively and the Apple hardware drivers work in BootCamp, so the machine runs extremely fast. Then I boot OS X and run Parallels. Everything is still fine. I shutdown Windows and run VMware Fusion and everything is still fine. BUT IF I GO BACK TO PARALLELS AFTER FUSION, the Parallels config files have been corrupted. The easy fix though is to go to the file menu and choose Remove. Allow it to delete EVERYTHING. Then it walks you through a fresh setup wizard and you choose BootCamp again. Parallels then works as expected. In summary, they can coexist, but VMware Fusion throws a few punches below the belt (me thinks). Roger Eller From ambassador at fourthworld.com Fri Dec 11 11:07:49 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Dec 2009 08:07:49 -0800 Subject: Comments Message-ID: <4B226E55.3080205@fourthworld.com> Ren? Micout wrote: > A single line comment is introduce by -- > A multiple lines comment is introduce by /* but with italic style (not very readable...) > Is there a tip to use multiple lines comment (/*) without italic style ? Looks like a "design decision"; there's nothing in the engine requiring that, since to the engine scripts are just plain unstyled text. If there's no Preference setting for that you consider submitting a request at the RQCC that one be added. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From gcanyon+rev at gmail.com Fri Dec 11 11:37:05 2009 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Fri, 11 Dec 2009 10:37:05 -0600 Subject: Browser objects are odd? Message-ID: <8ea148a00912110837s2f84eaa1qfc8aa2365f963e80@mail.gmail.com> Having not used rev much over the last several years, I never learned about the browser object, and now find myself puzzled. Is it fair to say that the browser object is handled completely differently than other objects? For example, you can't simply drag a browser object into your stack from the tool palette? And to set the rect of a browser object, you have to use revBrowserSet ,"rect", And I guess things like the formattedWidth are completely out? Is this accurate, or am I missing a section of the documentation? From troy_lists at rpsystems.net Fri Dec 11 11:52:19 2009 From: troy_lists at rpsystems.net (Troy Rollins) Date: Fri, 11 Dec 2009 11:52:19 -0500 Subject: Browser objects are odd? In-Reply-To: <8ea148a00912110837s2f84eaa1qfc8aa2365f963e80@mail.gmail.com> References: <8ea148a00912110837s2f84eaa1qfc8aa2365f963e80@mail.gmail.com> Message-ID: <5FAF5FE3-1D53-4128-ABA0-A181BB40E69E@rpsystems.net> On Dec 11, 2009, at 11:37 AM, Geoff Canyon Rev wrote: > Is it fair to say that the browser object is handled completely > differently than other objects? That would be fair. Keep in mind that it is an external, and not a native control. -- Troy RPSystems, Ltd. http://www.rpsystems.net From stephenREVOLUTION2 at barncard.com Fri Dec 11 12:06:18 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 11 Dec 2009 09:06:18 -0800 Subject: Rev compress, cgi, php, zip In-Reply-To: References: <43F205B7-52BF-431E-90F1-07EF7698DCC2@mac.com> <1jainwl.1y1nd1q77a95uM%liste.revo@medard.on-rev.com> <4B21396A.4050604@gmail.com> Message-ID: Maybe the ZIP lib calls would have the right compression. What is the difference between REVZIP calls and compress? There's also the shell, which might certainly call the same kind of routines that PHP does. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/11 Jim Ault > I am refining my algorithms to connect web hosted servers that do not work > with Revolution CGI to On-Rev and other web servers that do run Rev CGI. > > I have several mechanisms working for moving data and processing logic > between domains, and would like to add the compression scheme as follows: > > server A is OnRev > server B is a host that does not do Rev CGI > > step 1 is to build a variable on server B using php > step 2 is to send the variable using POST in php > step 3 is to have a Rev script decompress() > > So far my attempts are not successful. > > Rev uses > try > put decompress(varFromServerB) into varUnzipped > catch errnum > put "Error decompressing =>" & errnum into buffer > end try > > PHP uses gzcompress($varFromServerB) > > -1- does decompress work in Rev CGI using Linux 3.5 version > -2- is there a way to make the compressions compatible? > > Of course I could just make a call to a utility script decompr.php > located on the OnRev server that returns the decompressed string, but that > would make the processing take slightly longer. > > When I get this smoothed out, I will post a web page or two showing web > pages on different servers running php, Rev scripts, Rev stacks, and irev > scripts. These will be interconnected and show different variations. One > variation will be a single web page hosted on OnRev that uses all 4 types of > scripting to render the page and interact with the visitor. > > > Jim Ault > Las Vegas > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION2 at barncard.com Fri Dec 11 12:15:50 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 11 Dec 2009 09:15:50 -0800 Subject: Comments In-Reply-To: <4B226E55.3080205@fourthworld.com> References: <4B226E55.3080205@fourthworld.com> Message-ID: tRev does't italicize comments. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/11 Richard Gaskin > Ren? Micout wrote: > >> A single line comment is introduce by -- >> A multiple lines comment is introduce by /* but with italic style (not >> very readable...) >> Is there a tip to use multiple lines comment (/*) without italic style ? >> > > Looks like a "design decision"; there's nothing in the engine requiring > that, since to the engine scripts are just plain unstyled text. > > If there's no Preference setting for that you consider submitting a request > at the RQCC that one be added. > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Fri Dec 11 12:25:50 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 11 Dec 2009 09:25:50 -0800 Subject: Browser objects are odd? Message-ID: <4B22809E.2040004@fourthworld.com> Hey Geoff! Good to see you back here again. Geoff Canyon wrote: > Having not used rev much over the last several years, I never learned > about the browser object, and now find myself puzzled. > > Is it fair to say that the browser object is handled completely > differently than other objects? > > For example, you can't simply drag a browser object into your stack > from the tool palette? And to set the rect of a browser object, you > have to use > > revBrowserSet ,"rect", > > And I guess things like the formattedWidth are completely out? Is this > accurate, or am I missing a section of the documentation? As Trevor pointed out, it's an external (in fact, it started out as a third-party offering from Altuit, acquired by RR a few years ago). As such, one of the things that differentiates it from native controls is that it's not part of the internal buffering, but merely blits into the main window buffer after Rev's internal rendering is done. So this means you can't put other controls on top of a RevBrowser "control"; anything within that rect will be overlaid by the browser object, and any clicks in that region will be trapped by the browser object. In this regard it's a lot like players with their alwaysBuffer set to false, which gives a similar behavior. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From david_beck at rotundasoftware.com Fri Dec 11 12:38:15 2009 From: david_beck at rotundasoftware.com (David Beck) Date: Fri, 11 Dec 2009 09:38:15 -0800 Subject: Rev compress, cgi, php, zip In-Reply-To: <20091211171554.823F928818C@mail.runrev.com> References: <20091211171554.823F928818C@mail.runrev.com> Message-ID: <4B228387.9060903@rotundasoftware.com> Hi Jim, In order to decompress data in PHP that was compressed using Rev you need to strip a few bytes off the start of the data: $decompressedData = gzinflate( substr( $dataCompressedWithRev , 10 ) ); However I have not been able to figure out how to go the other way, that is, decompressing data with Rev that was compressed with PHP. If you do determine how to do this please let me know. Also, you might find the callPHP library I posted a few weeks ago useful, which allows PHP functions to be called from Rev stacks or, I would imagine, an on-Rev script, although I have not worked with on-Rev. The library is open source so feel free to use it directly or strip it for parts. You can download it from: http://www.rotundasoftware.com/rev/callPHP.html Hope that helps, David Beck Rotunda Software From Roger.E.Eller at sealedair.com Fri Dec 11 12:40:47 2009 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Fri, 11 Dec 2009 12:40:47 -0500 Subject: Browser objects are odd? In-Reply-To: <4B22809E.2040004@fourthworld.com> Message-ID: Richard Gaskin wrote: > As Trevor pointed out, it's an external (in fact, it started out as a > third-party offering from Altuit, acquired by RR a few years ago). And ever since the acquisition, I have hoped to see it added as an object on the tools pallette just like a player object. I often forget about its existence when laying out controls. Out of sight, out of mind. Roger Eller From jacque at hyperactivesw.com Fri Dec 11 12:50:17 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Dec 2009 11:50:17 -0600 Subject: Another Tab Button question In-Reply-To: References: Message-ID: <4B228659.4070209@hyperactivesw.com> DunbarX at aol.com wrote: > Jan. > > Well, OK. It seems like it does not need to be resizable to the extent it > can be, though. It should just be sort of a one line label field attached > under the tabs. OS interface guidelines require a framed edge around the contents of a tabbed control. The native Rev object provides the frame, rendered according to the OS (on Windows tabs are at the left, on OS X they're in the middle, for example. Colorization varies by OS too.) The frame area is resizeable so that you can adjust it to surround the contents you put into it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon+rev at gmail.com Fri Dec 11 12:59:36 2009 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Fri, 11 Dec 2009 11:59:36 -0600 Subject: Browser objects are odd? In-Reply-To: References: <4B22809E.2040004@fourthworld.com> Message-ID: <8ea148a00912110959t722747c9u832836f1007add70@mail.gmail.com> Thanks for the info! On Fri, Dec 11, 2009 at 11:40 AM, wrote: > Richard Gaskin wrote: >> As Trevor pointed out, it's an external (in fact, it started out as a >> third-party offering from Altuit, acquired by RR a few years ago). > > And ever since the acquisition, I have hoped to see it added as an object > on the tools pallette just like a player object. I often forget about its > existence when laying out controls. Out of sight, out of mind. > > Roger Eller > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Fri Dec 11 13:06:39 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Dec 2009 12:06:39 -0600 Subject: Browser objects are odd? In-Reply-To: <8ea148a00912110837s2f84eaa1qfc8aa2365f963e80@mail.gmail.com> References: <8ea148a00912110837s2f84eaa1qfc8aa2365f963e80@mail.gmail.com> Message-ID: <4B228A2F.3020809@hyperactivesw.com> Geoff Canyon Rev wrote: > Having not used rev much over the last several years, So glad to see you back! I was going to hold my breath till we saw you again, but I'm not as good at it as you are. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Dec 11 13:07:56 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 11 Dec 2009 12:07:56 -0600 Subject: Standalone (& revlet) not working: internet LIB missing? In-Reply-To: <1jaj5ps.1zegdk686iuM%liste.revo@medard.on-rev.com> References: <1jaj5ps.1zegdk686iuM%liste.revo@medard.on-rev.com> Message-ID: <4B228A7C.3090104@hyperactivesw.com> Medard wrote: > So, I wonder if the standalone needs more resources, such as an internet > lib, since it has to connect on the internet to get the forecast data... Right. Make sure you include the internet lib in Standalone Settings. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dfepstein at comcast.net Fri Dec 11 13:10:35 2009 From: dfepstein at comcast.net (dfepstein at comcast.net) Date: Fri, 11 Dec 2009 18:10:35 +0000 (UTC) Subject: Scaling Groups? In-Reply-To: <20091211171554.6362F28818B@mail.runrev.com> Message-ID: <763729904.14647701260555035958.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Before I go off and try to reinvent the wheel, does anyone have a script that will proportionally scale objects within a group relative to each other? Scott Rossi has answered his own question, but FWIW here's my similar approach to the same problem. It does not assume that the scaled group stays in the same location, but it does require that the intended new rectangle of the group (not just a scaling factor) be specified--e.g., "set the groupRect of pGroup to 100,100,400,400" David Epstein on storeStartingGroupRects gID -- load a custom property set of group id gID storing its rect and the rects of its members repeat with n = 1 to the number of controls in group id gID set the startingRects[n] of group id gID to the rect of control n of group id gID end repeat set the startingRects[0] of group id gID to the rect of group id gID end storeStartingGroupRects setProp groupRect r -- target group's new rect is r; set its members' rects accordingly put the short id of the target into gID if the startingRects[0] of group id gID is not empty then repeat with n = 1 to the number of controls in group id gID set the rect of control n of group id gID to scaledRect(the startingRects[n] of group id gID,the startingRects[0] of group id gID,r) end repeat end if end groupRect function scaledRect rA,rB,rY -- return a rectangle "rX" whose position and size relative to rY is the same as rA's position relative to rB repeat for each char k in "12" put comma & relativeF(item k of rA,item k of rY,item k+2 of rY,item k of rB,item k+2 of rB) after hold end repeat repeat for each char k in "34" put comma & relativeF(item k of rA,item k-2 of rY,item k of rY,item k-2 of rB,item k of rB) after hold end repeat return char 2 to -1 of hold end scaledRect function relativef q,e,g,p,r -- return value "f" whose value relative to e and g is the same as q's value relative to p and r (rounded) return round(e+(q-p)/(r-p)*(g-e)) end relativeF From jimaultwins at yahoo.com Fri Dec 11 13:36:17 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 11 Dec 2009 10:36:17 -0800 Subject: Rev compress, cgi, php, zip In-Reply-To: <4B228387.9060903@rotundasoftware.com> References: <20091211171554.823F928818C@mail.runrev.com> <4B228387.9060903@rotundasoftware.com> Message-ID: Your library is on my list to study as I journey toward my client's goals. I have a couple new ideas (after reading Stephen Barncard's email) and digging up some of my own work from 2008. I think a couple solutions will blossom and I will let you know. The most valuable part for my project you have answered Rev compress(block) > decompress(block) in PHP ... this will allow a remote page to be displayed with code generated by Rev templates and data. Part of the methodology is to generate static page portions from a library/database kept on myaccount.on-rev.com. When these page portions are updated, calls to the remote sites are made to utility scripts that accept/decode/store them locally for display speed. Most updates will be info/pages that are appended to the site rather than requiring interactive queries or ajax. I am far more accomplished with Rev than with PHP. Thanks for the quick reply. On Dec 11, 2009, at 9:38 AM, David Beck wrote: > > Hi Jim, > > In order to decompress data in PHP that was compressed using Rev you > need to strip a few bytes off the start of the data: > > $decompressedData = gzinflate( substr( $dataCompressedWithRev , > 10 ) ); > However I have not been able to figure out how to go the other way, > that is, decompressing data with Rev that was compressed with PHP. > If you do determine how to do this please let me know. > > Also, you might find the callPHP library I posted a few weeks ago > useful, which allows PHP functions to be called from Rev stacks or, > I would imagine, an on-Rev script, although I have not worked with > on-Rev. The library is open source so feel free to use it directly > or strip it for parts. You can download it from: > > http://www.rotundasoftware.com/rev/callPHP.html > > Hope that helps, > > David Beck > Rotunda Software Jim Ault Las Vegas From userev at canelasoftware.com Fri Dec 11 13:47:34 2009 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 11 Dec 2009 10:47:34 -0800 Subject: Printing a player image in XP In-Reply-To: <8CC4839BFE8A8ED-9CC-102D9@webmail-m067.sysops.aol.com> References: <8CC4839BFE8A8ED-9CC-102D9@webmail-m067.sysops.aol.com> Message-ID: <2A86BEBF-F297-4D11-8E52-17F2F3358AC4@canelasoftware.com> On Dec 10, 2009, at 9:27 PM, HyperChris at aol.com wrote: > I need to display TIFFs and QuickTime is the only way I know to do that in Rev. So, I make sure XP has QT installed and then I use the Player object. Everything displays fine. > > > When I print in XP, though, i get mush. The Players are just a grey box (everything else on the page prints fine.) I also tried Printing to PDF to see if that helped but no dice. > > > It works fine in OSX so the approach appears to be sound. I did consider a workaround of 'export snapshot as PNG' and then putting that image in front of the Player. However, the QT approach is already a little pokey and so I'd like to find a better solution. (It also might snapshot the print dialogue unless it supports off-screen shots!) > > > Any thoughts, ideas, magical incantations ??? TY ... Chris Hi Chris, Have you looked into Trevor's QT external? Maybe there is something in there. Best regards, Mark Talluto http://www.canelasoftware.com From mpease at lawandpolitics.com Fri Dec 11 13:55:21 2009 From: mpease at lawandpolitics.com (Michael) Date: Fri, 11 Dec 2009 10:55:21 -0800 Subject: revlets, browsers, OSs and image formats In-Reply-To: <20091209180005.77CD5288688@mail.runrev.com> Message-ID: Mac OS 10.4.11 Mac Pro G5 Safari 3.0.4 Looks good; the test images are a bit darker than the originals, with the png darkest of all. m From DunbarX at aol.com Fri Dec 11 14:08:17 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 11 Dec 2009 14:08:17 EST Subject: Another Tab Button question Message-ID: Good ol' Jacques. Of course the tabs might frame other graphical objects or controls to make an integrated tabbed gadget. Now I see why there are so many border and fill options. I don't deal much with nice looking user interface stuff. It shows. Craig From liste.revo at medard.on-rev.com Fri Dec 11 14:44:31 2009 From: liste.revo at medard.on-rev.com (Medard) Date: Fri, 11 Dec 2009 20:44:31 +0100 Subject: Standalone (& revlet) not working: internet LIB missing? In-Reply-To: <4B228A7C.3090104@hyperactivesw.com> Message-ID: <1jakuaw.19a0ovk1hxg6nmM%liste.revo@medard.on-rev.com> J. Landman Gay wrote: > Right. Make sure you include the internet lib in Standalone Settings. Done. I selected manually the internet lib, instead of letting the builder choose for me -- with no luck! Puzzled, I wondered if the builder balked at accented chars ("M?t?o" vs "Meteo") -- you bet it! The standalone and the revlet run OK :-) -- Under which number, in the bug report page? ;-) From tereza at califex.com Fri Dec 11 14:57:46 2009 From: tereza at califex.com (Tereza Snyder) Date: Fri, 11 Dec 2009 13:57:46 -0600 Subject: Scaling Groups? In-Reply-To: <763729904.14647701260555035958.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> References: <763729904.14647701260555035958.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Message-ID: On Dec 11, 2009, at 12:10 PM, dfepstein at comcast.net wrote: > Before I go off and try to reinvent the wheel, does anyone have a script > > that will proportionally scale objects within a group relative to each > > other? > > Scott Rossi has answered his own question, but FWIW here's my similar approach to the same problem. It does not assume that the scaled group stays in the same location, but it does require that the intended new rectangle of the group (not just a scaling factor) be specified--e.g., "set the groupRect of pGroup to 100,100,400,400" I have a similar approach. Because I much of my work involves resizable stacks, I almost always have ResizeStack handlers on every card. To make sure that card objects are appropriately resized when going to a new card, I put all the resizing code in "DoResize newW, newH" handlers on cards and call it from the resizeStack and also from the preOpenCard handler. If there are groups on the card, I put DoResize handlers in the group script and call it from the card DoResize script, like so: ------------------------------------------ -- in card script: on preOpenCard ? DoResize the width of me, the height of me end preOpenCard on ResizeStack nW, nH DoResize nW, nH pass ResizeStack end ResizeStack on DoResize nW, nH --resize/reposition card objects ? -- including groups -- calculate any way that's appropriate set the rect of grp tGrp of me to nW*.75 ,nH*.25, nw*.93, nH*.6 send "Doresize the width of grp tGrp, the height of grp tGrp" to grp tGrp ? end DoResize ------------------------------------------ -- in grp tGrp: on DoResize nW, nH -- set rects of objects in grp, based on rect of grp -- another way to do it get the rect of btn "go" of me set item 4 of it to item 2 of it + nH/4 -- or whatever set the rect of btn "go" of me to it end DoResize ------------------------------------------ I add these handlers as a matter of course whenever I have a resizable stack, as soon as my layout starts to jell. I do have custom properties and utility scripts that work with them to resize and reposition special objects in special ways, but most of the time that's overkill. Rather than take the time to relearn the intricacies of my own resize API, I just go ahead and script it out, one object at a time. Tedious, but once it's done, it's done. The important thing is to keep a group's resize code within the group: let the card treat the groups objects as a black box. t From josh at dvcreators.net Fri Dec 11 16:18:08 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 11 Dec 2009 13:18:08 -0800 Subject: does anyone have experience printing PDFs from Rev @ full resolution? In-Reply-To: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> Message-ID: <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> Can you then print that PNG @ 300 dpi? On Dec 8, 2009, at 5:03 AM, william humphrey wrote: > I don't even know how to embed a PDF in a RunRev card. I always open the PDF > in photoshop first and save it as a .png which has 300 dot per inch > resolution (or less) and then put that image in the card which I want to > print. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jerry.daniels at me.com Fri Dec 11 16:43:57 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Fri, 11 Dec 2009 15:43:57 -0600 Subject: [ANN] tRev Feature Friday: manage your audio clips Message-ID: <94D0D7D3-1720-498D-8887-83F2A87CBC7D@me.com> tRev residents and visitors... Today's video: http://reveditor.com/feature-friday-manage-your-audio-clips New today: - New column "Clips" appears below Cards in Browser when a stack has audio clips - Clips can be played/stopped (quick key = p), renamed (r) or deleted (d) Small changes and enhancements: - There is a new column button for Stacks, Cards, Controls called "Rename" - While in the Object Browser, typing "r" will let you inline edit an object name - "Snaps" no longer a Column Button; it is now a View menu item (cmd +shift+p) - Can now turn on/off Snaps view regardless of active column - "Save" is no longer a stacks Column Button; now a File menu item (cmd +s) Fixes and needed additions: - Can now print code from the Code Editor (bug fix) - Can now print object list from the Object Browser's active column (new!) - Smooth auto-scrolling when dragging to top or bottom of lists NOTE: - Auto-scrolling during drag fixed on Handlers list with initial update - Stacks, Cards, Clips and controls will be updated for this behavior this weekend Best, Jerry Daniels http://reveditor.com Want to edit something? We can help. From richmondmathewson at gmail.com Fri Dec 11 17:37:30 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 12 Dec 2009 00:37:30 +0200 Subject: Keyboard Detection? Message-ID: <4B22C9AA.3000409@gmail.com> I wonder if there is any way of telling: 1. The default language of an end-user's computer? 2. The current keyboard layout? 3. The keyboard that is attached to the computer? directly from RunRev . . . sincerely, Richmond Mathewson From coiin at verizon.net Fri Dec 11 17:48:14 2009 From: coiin at verizon.net (Colin Holgate) Date: Fri, 11 Dec 2009 17:48:14 -0500 Subject: Keyboard Detection? In-Reply-To: <4B22C9AA.3000409@gmail.com> References: <4B22C9AA.3000409@gmail.com> Message-ID: <382778E2-BFC1-4755-B5EE-13A288B281AC@verizon.net> If you look at how Apple do it with wireless keyboards, they ask you to press the key immediately to the left of another key, and then maybe the key to the right of a different key. With a couple of presses you can work out a lot of information, that would help you know what sort of keyboard layout it is. From richmondmathewson at gmail.com Fri Dec 11 18:05:01 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 12 Dec 2009 01:05:01 +0200 Subject: Keyboard Detection? In-Reply-To: <382778E2-BFC1-4755-B5EE-13A288B281AC@verizon.net> References: <4B22C9AA.3000409@gmail.com> <382778E2-BFC1-4755-B5EE-13A288B281AC@verizon.net> Message-ID: <4B22D01D.3060503@gmail.com> On 12/12/09 12:48 AM, Colin Holgate wrote: > If you look at how Apple do it with wireless keyboards, they ask you to press the key immediately to the left of another key, and then maybe the key to the right of a different key. With a couple of presses you can work out a lot of information, that would help you know what sort of keyboard layout it is. > > > I am aware of that having performed about 100 Linux installs . . . :) However, what I am looking for is automatic detection, so that when a stack/standalone opens it 'reads' the keyboard of the host computer. Why? Because pressing the first letter key in the top-right will give a different KeyDown signal if one uses (say) a QWERTY or an AZERTY keyboard. From pmbrig at gmail.com Fri Dec 11 18:40:17 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 11 Dec 2009 18:40:17 -0500 Subject: [Mandelbrot] Code Samples/Comparisons In-Reply-To: References: Message-ID: I've been fascinated by the Mandelbrot set for some years now, so this is a welcome topic. Bill Marriott's stack got me going in the past few days. I added colorization -- a fairly ad hoc scheme that I fine tuned (sort of) by trial and error. I moved the controls to a palette and separated out the calculations of the escape values from the colorization handlers. The escape values are stored as a custom prop so they don't have to be recalculated every time you adjust the colors -- much easier to play with the colorization. Also, you can export the resulting images as jpegs -- they make good screensaver shots if you go with an 800x800 image, though those take a number of minutes to render. Please, someone who knows more about working in colorspaces should come up with something better thought out, but meanwhile, it's a fun toy anyway.... Thanks for the head start, Bill. download my version at http://home.comcast.net/~pmbrig/mandelRev.rev.zip or http://home.comcast.net/~pmbrig/MandelRev.dmg -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From scott at tactilemedia.com Fri Dec 11 18:41:31 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 11 Dec 2009 15:41:31 -0800 Subject: Keyboard Detection? In-Reply-To: <4B22C9AA.3000409@gmail.com> Message-ID: Recently, Richmond Mathewson wrote: > I wonder if there is any way of telling: > > 1. The default language of an end-user's computer? Here's a function I've used which has worked on Windows from Win95 up through Vista (not tested on Win 7); for Mac, has worked last few OS versions up through Show Leopard, but not sure how far back is supported. Try it and see if it works for you (watch line wrapping): # RETURNS LANGUAGE INFO ABOUT HOST OPERATING SYSTEM # WINDOWS - RETURNS # -- COUNTRY DESIGNATION # -- 3 CHAR LANGUAGE CODE # -- 8 CHAR LOCALE HEX CODE # -- 4 CHAR LOCALE DECIMAL CODE # MAC - RETURNS # -- CURRENT SYSTEM LANGUAGE # -- AVAILABLE SYSTEM LANGUAGES function langSpecs if "win" is in platform() then if word 1 of systemVersion() = "Windows" then put url ("file:" & specialFolderPath(system) & "/win.ini") into tSystem set itemDel to "=" put item 2 of line (lineOffset("sCountry",tSystem)) of tSystem & cr after tData put item 2 of line (lineOffset("sLanguage",tSystem)) of tSystem & cr after tData else put queryRegistry("HKEY_CURRENT_USER\Control Panel\International\sCountry") & cr after tData put queryRegistry("HKEY_CURRENT_USER\Control Panel\International\sLanguage") & cr after tData end if put queryRegistry("HKEY_CURRENT_USER\Control Panel\International\Locale") & cr after tData put baseConvert(line 3 of tData,16,10) after tData return tData end if if "mac" is in platform() then put "defaults read -g" && quote & "AppleLocale" & quote into tCmd put shell(tCmd) into currLang put replaceText(shell("defaults read NSGlobalDomain AppleLanguages"),"(\s|\(|\))","") into availableLangs return currLang & cr & availableLangs end if return languagesList end langSpecs Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From niconiko at gmail.com Fri Dec 11 19:58:47 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Sat, 12 Dec 2009 09:58:47 +0900 Subject: Keyboard Detection? In-Reply-To: References: <4B22C9AA.3000409@gmail.com> Message-ID: <1e91b2b70912111658l4051dacbj77fca5af64276105@mail.gmail.com> Thanks for that, Scott. There is an error in that code, though. For it to work on my WinXP, I had to change "ControlPanel" to "Control Panel" (insert a space). -- Nicolas Cueto From scott at tactilemedia.com Fri Dec 11 20:14:56 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 11 Dec 2009 17:14:56 -0800 Subject: Keyboard Detection? In-Reply-To: <1e91b2b70912111658l4051dacbj77fca5af64276105@mail.gmail.com> Message-ID: Recently, Nicolas Cueto wrote: > There is an error in that code, though. For it to work on my WinXP, I > had to change "ControlPanel" to "Control Panel" (insert a space). The code reads as you describe (not an error) -- need to check the line wrapping -- but good to note. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From bill at bluewatermaritime.com Fri Dec 11 21:15:15 2009 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 11 Dec 2009 22:15:15 -0400 Subject: does anyone have experience printing PDFs from Rev @ full resolution? In-Reply-To: <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> Message-ID: <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> yes. The high resolution png files print nicely when they are on a card. On Fri, Dec 11, 2009 at 5:18 PM, Josh Mellicker wrote: > Can you then print that PNG @ 300 dpi? > > On Dec 8, 2009, at 5:03 AM, william humphrey wrote: > > > I don't even know how to embed a PDF in a RunRev card. I always open the > PDF > > in photoshop first and save it as a .png which has 300 dot per inch > > resolution (or less) and then put that image in the card which I want to > > print. > > From josh at dvcreators.net Fri Dec 11 21:28:32 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 11 Dec 2009 18:28:32 -0800 Subject: does anyone have experience printing PDFs from Rev @ full resolution? In-Reply-To: <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> Message-ID: Thanks William. Kevin has hinted at changes in 4.1 where Rev will print directly from the original file, so it's possible we will be able to shell out in Windows or on Mac and print a PDF at full quality sometime soon. On Dec 11, 2009, at 6:15 PM, william humphrey wrote: > yes. The high resolution png files print nicely when they are on a card. > > On Fri, Dec 11, 2009 at 5:18 PM, Josh Mellicker wrote: > >> Can you then print that PNG @ 300 dpi? >> >> On Dec 8, 2009, at 5:03 AM, william humphrey wrote: >> >>> I don't even know how to embed a PDF in a RunRev card. I always open the >> PDF >>> in photoshop first and save it as a .png which has 300 dot per inch >>> resolution (or less) and then put that image in the card which I want to >>> print. >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Sat Dec 12 02:40:06 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 11 Dec 2009 23:40:06 -0800 (PST) Subject: does anyone have experience printing PDFs from Rev @ full resolution? In-Reply-To: Message-ID: <993208.97464.qm@web65406.mail.ac4.yahoo.com> Yet another reason to get your RevSelect MegaBundle'09 while it's hot - as it includes a full year of updates to revEnterprise :-) Quartam PDF Library already lets you create documents with hi-res images today, as it includes the image at full resoluton, relying on Adobe Acrobat or other PDF viewers to display them at the right resolution on-screen and on paper. It is available for all platforms and supports Rev 2.7 and higher. And don't forget that you can already use the 'printerOutput' property today to 'print' stacks to files (PDF on MacOSX, XPS on Windows and PS on Linux); the trick there is to put the image on a card at a large size appropriate to the resolution and then 'scale' it down to the right size using the 'print into rect' command. Jan Schenkel. ===== Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) --- On Fri, 12/11/09, Josh Mellicker wrote: > Thanks William. > > Kevin has hinted at changes in 4.1 where Rev will print > directly from the original file, so it's possible we will be > able to shell out in Windows or on Mac and print a PDF at > full quality sometime soon. > > > On Dec 11, 2009, at 6:15 PM, william humphrey wrote: > > > yes.? The high resolution png files print nicely > when they are on a card. > > > > On Fri, Dec 11, 2009 at 5:18 PM, Josh Mellicker > wrote: > > > >> Can you then print that PNG @ 300 dpi? > >> > >> On Dec 8, 2009, at 5:03 AM, william humphrey > wrote: > >> > >>> I don't even know how to embed a PDF in a > RunRev card. I always open the > >> PDF > >>> in photoshop first and save it as a .png which > has 300 dot per inch > >>> resolution (or less) and then put that image > in the card which I want to > >>> print. > >> > >> From selander at tkf.att.ne.jp Sat Dec 12 02:49:35 2009 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sat, 12 Dec 2009 16:49:35 +0900 Subject: Newbie question Message-ID: <4B234B0F.8040306@tkf.att.ne.jp> Any searchable archives of this mailing list? Would like to check there first before bothering everyone with basic questions. TIA Tim Selander Tokyo, Japan From jim at visitrieve.com Sat Dec 12 02:55:53 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 11 Dec 2009 21:55:53 -1000 Subject: Newbie question In-Reply-To: <4B234B0F.8040306@tkf.att.ne.jp> References: <4B234B0F.8040306@tkf.att.ne.jp> Message-ID: <002001ca7b00$87dfad80$979f0880$@com> Hi Tim, > Any searchable archives of this mailing list? Would like to check > there first before bothering everyone with basic questions. On your Revolution menu, go to Help -> Revolution Search Engine and on the second tab over from the left you can select Gmane, Mail Archive or Nable and perform your searches right from the Search Engine. There are also many other resources available from the Search Engine. Aloha from Hawaii, Jim Bufalini From stephenREVOLUTION2 at barncard.com Sat Dec 12 02:56:28 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 11 Dec 2009 23:56:28 -0800 Subject: Newbie question In-Reply-To: <4B234B0F.8040306@tkf.att.ne.jp> References: <4B234B0F.8040306@tkf.att.ne.jp> Message-ID: Check NABBLE for the archives. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/11 Tim Selander > Any searchable archives of this mailing list? Would like to check > there first before bothering everyone with basic questions. > > TIA > > Tim Selander > Tokyo, Japan > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From m.schonewille at economy-x-talk.com Sat Dec 12 04:34:57 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 12 Dec 2009 10:34:57 +0100 Subject: Newbie question In-Reply-To: <4B234B0F.8040306@tkf.att.ne.jp> References: <4B234B0F.8040306@tkf.att.ne.jp> Message-ID: <6B57CEF6-C2AF-468D-9C77-067C0D7CBA43@economy-x-talk.com> Hi Tim, There's a FireFox plug-in to search the archives on GMane near the bottom of this website . -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Download Str?m Flow Chart Software http://flowproject.economy-x-talk.com Op 12 dec 2009, om 08:49 heeft Tim Selander het volgende geschreven: > Any searchable archives of this mailing list? Would like to check > there first before bothering everyone with basic questions. > > TIA > > Tim Selander > Tokyo, Japan From mdanycohen at yahoo.com Sat Dec 12 10:29:48 2009 From: mdanycohen at yahoo.com (Dan Cohen) Date: Sat, 12 Dec 2009 07:29:48 -0800 (PST) Subject: Any news about Metacard IDE 4.0? Message-ID: <223673.94491.qm@web59904.mail.ac4.yahoo.com> Hi, Any news about Metacard IDE 4.0? Is there a code snippet for building standalones with the last 3.5 Metacard IDE? I know that in runrev 4 the standalone building method is different but I don't know how it would be done. (since the standalone engine provided in the runrev 4 distribution can not be used as a generic command line engine.) Best regards, Dan Cohen PROLOGIC Soft. Inc. TN From klaus at major.on-rev.com Sat Dec 12 10:34:41 2009 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 12 Dec 2009 16:34:41 +0100 Subject: Any news about Metacard IDE 4.0? In-Reply-To: <223673.94491.qm@web59904.mail.ac4.yahoo.com> References: <223673.94491.qm@web59904.mail.ac4.yahoo.com> Message-ID: Hi Dan, > Hi, > > Any news about Metacard IDE 4.0? > Is there a code snippet for building standalones with the last 3.5 Metacard IDE? > I know that in runrev 4 the standalone building method is different but I don't know how it would be done. (since the standalone engine provided in the runrev 4 distribution can not be used as a generic command line engine.) sorry for the delay, but I havbe been sick unfortunately and have very time at hand right now. But I think I can create something over christmas. > Best regards, > > Dan Cohen > PROLOGIC Soft. Inc. > TN Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mdanycohen at yahoo.com Sat Dec 12 10:57:25 2009 From: mdanycohen at yahoo.com (Dan) Date: Sat, 12 Dec 2009 07:57:25 -0800 (PST) Subject: Any news about Metacard IDE 4.0? In-Reply-To: References: <223673.94491.qm@web59904.mail.ac4.yahoo.com> Message-ID: <1260633445194-961805.post@n4.nabble.com> Hi Klaus, Thank you very much for the reply. I wish you good health. Your work on the Metacard IDE is invaluable. Merry Christmas. Dan -- View this message in context: http://n4.nabble.com/Any-news-about-Metacard-IDE-4-0-tp961791p961805.html Sent from the Revolution - User mailing list archive at Nabble.com. From mdswindell at cruzio.com Sat Dec 12 13:50:15 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Sat, 12 Dec 2009 10:50:15 -0800 Subject: Newbie question In-Reply-To: <002001ca7b00$87dfad80$979f0880$@com> References: <4B234B0F.8040306@tkf.att.ne.jp> <002001ca7b00$87dfad80$979f0880$@com> Message-ID: Speaking of "Nable" is that typo ever going to be corrected in the Help pane? On Dec 11, 2009, at 11:55 PM, Jim Bufalini wrote: > Hi Tim, > >> Any searchable archives of this mailing list? Would like to check >> there first before bothering everyone with basic questions. > > On your Revolution menu, go to Help -> Revolution Search Engine and on the > second tab over from the left you can select Gmane, Mail Archive or Nable > and perform your searches right from the Search Engine. There are also many > other resources available from the Search Engine. > > Aloha from Hawaii, > > Jim Bufalini > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Sat Dec 12 14:22:48 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 12 Dec 2009 21:22:48 +0200 Subject: Newbie question In-Reply-To: References: <4B234B0F.8040306@tkf.att.ne.jp> <002001ca7b00$87dfad80$979f0880$@com> Message-ID: <4B23ED88.3020106@gmail.com> On 12/12/2009 20:50, Mark Swindell wrote: > Speaking of "Nable" is that typo ever going to be corrected in the Help pane? > > On Dec 11, 2009, at 11:55 PM, Jim Bufalini wrote: > > >> Hi Tim, >> >> >>> Any searchable archives of this mailing list? Would like to check >>> there first before bothering everyone with basic questions. >>> >> On your Revolution menu, go to Help -> Revolution Search Engine and on the >> second tab over from the left you can select Gmane, Mail Archive or Nable >> and perform your searches right from the Search Engine. There are also many >> other resources available from the Search Engine. >> Oddly enough the database update in RevStudio 4 (Mac) didn't work, leaving me with an unusable Search Engine. Same "poo" with Ubuntu (both RevStudio and RevMedia) Didn't have that problem with RevMedia 4 (Mac). Too "fried and crispy" after that to bother firing up the XP box to see "what gives" over there. My personal experience is that Richard Gaskin's "4W_RevListSearch.rev" is the best bet! It is here: http://tc.versiontracker.com/product/redir/lid/365918/4W_RevListSearch.rev >> Aloha from Hawaii, >> >> Jim Bufalini >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From richmondmathewson at gmail.com Sat Dec 12 14:33:07 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 12 Dec 2009 21:33:07 +0200 Subject: Searching the Use-List Message-ID: <4B23EFF3.5010703@gmail.com> I really am a s-l-o-w learner! I have been using Richard Gaskin's http://tc.versiontracker.com/product/redir/lid/365918/4W_RevListSearch.rev for about 6-7 years now, and it has only just occurred to me to bung it in the plug-ins folder! What an improvement! From jim at visitrieve.com Sat Dec 12 15:05:36 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Sat, 12 Dec 2009 10:05:36 -1000 Subject: Newbie question In-Reply-To: <4B23ED88.3020106@gmail.com> References: <4B234B0F.8040306@tkf.att.ne.jp> <002001ca7b00$87dfad80$979f0880$@com> <4B23ED88.3020106@gmail.com> Message-ID: <003501ca7b66$78aa7c80$69ff7580$@com> Hi Richmond, > Oddly enough the database update in RevStudio 4 (Mac) didn't work, > leaving me > with an unusable Search Engine. Same "poo" with Ubuntu (both RevStudio > and RevMedia) > > Didn't have that problem with RevMedia 4 (Mac). > > Too "fried and crispy" after that to bother firing up the XP box to see > "what gives" over there. There is a simple text file, which on PC is called SearchEngineStandardUrls.txt and found in the Documentation folder under your Rev version and release folder that hasn't been updated since before Eric died and is out of date. It's probably the cause of your problem. I had suggested earlier and will suggest again that this file get updated and moved to the plugins folder, so that it's not "different" every time you launch a different version of rev. The Revolution Search Engine really is a nice piece of work. It's just need to be brought current. Aloha from Hawaii, Jim Bufalini From richmondmathewson at gmail.com Sat Dec 12 15:12:56 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 12 Dec 2009 22:12:56 +0200 Subject: Newbie question In-Reply-To: <003501ca7b66$78aa7c80$69ff7580$@com> References: <4B234B0F.8040306@tkf.att.ne.jp> <002001ca7b00$87dfad80$979f0880$@com> <4B23ED88.3020106@gmail.com> <003501ca7b66$78aa7c80$69ff7580$@com> Message-ID: <4B23F948.1020806@gmail.com> On 12/12/2009 22:05, Jim Bufalini wrote: > Hi Richmond, > > >> Oddly enough the database update in RevStudio 4 (Mac) didn't work, >> leaving me >> with an unusable Search Engine. Same "poo" with Ubuntu (both RevStudio >> and RevMedia) >> >> Didn't have that problem with RevMedia 4 (Mac). >> >> Too "fried and crispy" after that to bother firing up the XP box to see >> "what gives" over there. >> > There is a simple text file, which on PC is called > SearchEngineStandardUrls.txt and found in the Documentation folder under > your Rev version and release folder that hasn't been updated since before > Eric died and is out of date. It's probably the cause of your problem. I had > suggested earlier and will suggest again that this file get updated and > moved to the plugins folder, so that it's not "different" every time you > launch a different version of rev. The Revolution Search Engine really is a > nice piece of work. It's just need to be brought current. > > Yes, it is there on both Mac and Linux. Actually, about 90% of these URLs don't seem to work anyway, suggesting that is it really quite considerably outdated. Obviously this is another "dark corner" that was neglected in the "big push" we have witnessed recently; like most big pushes, something always gets overlooked . . . :) From hyperchris at aol.com Sat Dec 12 15:19:41 2009 From: hyperchris at aol.com (hyperchris) Date: Sat, 12 Dec 2009 12:19:41 -0800 Subject: Printing a player image in XP In-Reply-To: <20091212180005.C4CA148B23C@mail.runrev.com> Message-ID: <2EB1FB58.0622.4D7E.9BE7.28159E5BEA1A@aol.com> Thanks Mark.?For posterity, here is the 'Win XP workaround: Right before you print, execute ... ?? import snapshot from card 1 ... ?then you can print the card and see what was in your QT Player objects. Don't forget to delete the image that results from using that command. > I need to display TIFFs and QuickTime is the only way I know to do that in Rev. So, I make sure XP has QT installed and then I use the Player object. Everything displays fine. >? > When I print in XP, though, i get mush. The Players are just a grey box (everything else on the page prints fine.) I also tried Printing to PDF to see if that helped but no dice. >? > It works fine in OSX so the approach appears to be sound. I did consider a workaround of 'export snapshot as PNG' and then putting that image in front of the Player. However, the QT approach is already a little pokey and so I'd like to find a better solution. (It also might snapshot the print dialogue unless it supports off-screen shots!) >>Have you looked into Trevor's QT external? Maybe there is something in there. >> Mark Talluto ??http://www.canelasoftware.com From len-morgan at crcom.net Sat Dec 12 17:50:18 2009 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 12 Dec 2009 16:50:18 -0600 Subject: Rev IDE vs MetaCard IDE Message-ID: <4B241E2A.5020006@crcom.net> Can someone give me a quick summary of why I might want to use the MetaCard IDE instead of RunRev's? It seems that a lot of users of this group use MC. Is it just what you were used to or is there some feature that Rev's doesn't? Just curious. len From Kresten.Bjerg at psy.ku.dk Sat Dec 12 17:53:21 2009 From: Kresten.Bjerg at psy.ku.dk (Kresten Bjerg) Date: Sat, 12 Dec 2009 23:53:21 +0100 Subject: How do I construct a scroll bar for stack larger than screen Message-ID: <7A47FC91544BDC44B54C6807E6995019015C8466@ibtmail1.ibt.ku.dk.ad> Thank you for advices I seemed to succeed .as you described -in creating a vscrollbar,applying to grouped objects of the first window, but cant see it. My guess is that it is hidden on a lower layer (there are several) , so I try :"set the layer of "vScrollbar of group id 9012" to top".....but all formulations of the message ---putting quotes in various ways - are not accepted, and I find no ways to select it or inspect it. Maybe there is a simple solution Kresten ________________________________ From edljr at mac.com Sat Dec 12 17:55:45 2009 From: edljr at mac.com (Edward D Lavieri Jr) Date: Sat, 12 Dec 2009 16:55:45 -0600 Subject: Irregular-Shaped Fields In-Reply-To: References: <4B1B1821.4070707@hindu.org> Message-ID: Hi, Is it possible for user-entered text to be auto-fitted into a non- square/rectangle text field? This code does not give me an error, nor does it result in any change. Code: set the rect of fld "triangle1" to the rect of grc "triangle1" Even ensuring the polygon only has three points did not do the trick Any help would be appreciated. Thanks, Ed From mdswindell at cruzio.com Sat Dec 12 19:06:09 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Sat, 12 Dec 2009 16:06:09 -0800 Subject: How do I construct a scroll bar for stack larger than screen In-Reply-To: <7A47FC91544BDC44B54C6807E6995019015C8466@ibtmail1.ibt.ku.dk.ad> References: <7A47FC91544BDC44B54C6807E6995019015C8466@ibtmail1.ibt.ku.dk.ad> Message-ID: Use the Application Browser in Rev's Tools menu up above. There you will see all objects in your stack. When you select an object in the Browser it will be selected in your stack window. You should be able to find it this way and rename it. Hope this helps, Mark On Dec 12, 2009, at 2:53 PM, Kresten Bjerg wrote: > > > Thank you for advices > > I seemed to succeed .as you described -in creating a > vscrollbar,applying to grouped objects of the first window, but cant > see it. > > My guess is that it is hidden on a lower layer (there are several) , so > I try :"set the layer of "vScrollbar of group id 9012" to > top".....but all formulations of the message ---putting quotes in > various ways - are not accepted, and I find no ways to select it or > inspect it. > > Maybe there is a simple solution > > Kresten > > > > > > > > > > ________________________________ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Sat Dec 12 21:14:26 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 12 Dec 2009 20:14:26 -0600 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <4B241E2A.5020006@crcom.net> References: <4B241E2A.5020006@crcom.net> Message-ID: <4B244E02.3030608@hyperactivesw.com> Len Morgan wrote: > Can someone give me a quick summary of why I might want to use the > MetaCard IDE instead > of RunRev's? It seems that a lot of users of this group use MC. Is it > just what you were used > to or is there some feature that Rev's doesn't? > > Just curious. I think "a lot of users" may be stretching it. :) There are a few of us. I alternate between the IDEs depending on what I want to do, though I spend most of my time in Rev. It isn't that MC has features that Rev is missing, it's the opposite. I use it for what it doesn't do. MC is a stripped-down, bare-bones IDE with a minimal UI. You have to know the engine to know what's available. Lots of what you do will be from the command line unless you make your own tools for it. It's easy to see that the original was built by a 'nix guy. In MC you are dealing almost directly with the engine itself. That can be a plus when you don't want an IDE in the way. (There is no "suspend development tools" in MC because you're so close to the engine already that it isn't really necessary.) I use MC exclusively for some of my utility stacks, because it doesn't track the saved state the way Rev does. Putting text into a field doesn't make the stack "dirty". I can grab data from a server, read it, and close the stack without seeing the "do you want to save?" dialog. I like that, though of course Rev can't do the same. Rev protects you more. Maybe MC appeals to the same kind of person who likes to drive a car with a stick shift. Close to the road, lots of power, no frills, full control. No seat belts either. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From selander at tkf.att.ne.jp Sat Dec 12 23:57:06 2009 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sun, 13 Dec 2009 13:57:06 +0900 Subject: Newbie question In-Reply-To: <4B23ED88.3020106@gmail.com> References: <4B234B0F.8040306@tkf.att.ne.jp> <002001ca7b00$87dfad80$979f0880$@com> <4B23ED88.3020106@gmail.com> Message-ID: <4B247422.3060908@tkf.att.ne.jp> Hi all, Thanks for the various tips. The searching from the RevMedia help menu did not work. It said something about building indexes, failed and now it will search nothing. However I did find the Nabble forum, and will now give Richard Gaskin's program a try... Tim Selander Tokyo, Japan Richmond Mathewson wrote: > On 12/12/2009 20:50, Mark Swindell wrote: >> Speaking of "Nable" is that typo ever going to be corrected in the >> Help pane? >> >> On Dec 11, 2009, at 11:55 PM, Jim Bufalini wrote: >> >> >>> Hi Tim, >>> >>> >>>> Any searchable archives of this mailing list? Would like to check >>>> there first before bothering everyone with basic questions. >>>> >>> On your Revolution menu, go to Help -> Revolution Search Engine and >>> on the >>> second tab over from the left you can select Gmane, Mail Archive or >>> Nable >>> and perform your searches right from the Search Engine. There are >>> also many >>> other resources available from the Search Engine. >>> > > Oddly enough the database update in RevStudio 4 (Mac) didn't work, > leaving me > with an unusable Search Engine. Same "poo" with Ubuntu (both RevStudio > and RevMedia) > > Didn't have that problem with RevMedia 4 (Mac). > > Too "fried and crispy" after that to bother firing up the XP box to see > "what gives" over there. > > My personal experience is that Richard Gaskin's "4W_RevListSearch.rev" > is the best bet! > > It is here: > > http://tc.versiontracker.com/product/redir/lid/365918/4W_RevListSearch.rev > >>> Aloha from Hawaii, >>> >>> Jim Bufalini >>> From scott at tactilemedia.com Sun Dec 13 00:38:58 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 12 Dec 2009 21:38:58 -0800 Subject: Irregular-Shaped Fields In-Reply-To: References: <4B1B1821.4070707@hindu.org> Message-ID: <285676AA-E1D9-413F-9937-646F978E244B@tactilemedia.com> Keep in mind the term "rect" refers to a rectangular region. There is no built-in way to do what you want. When you say "user entered" do you mean after the text is entered, or dynamically as it is being typed? You might be able to fit text to a shape using the formattedRect property of text, but IIRC this will only work on text already in a field (you can't get the formattedRect of text in a variable for example). If you lock the screen and rewrap the text line- by-line, you might get acceptable performance. Hope this helps. Regards, Scott Rossi Creative Director Tactile Media, Mutimedia & Design On Dec 12, 2009, at 2:55 PM, Edward D Lavieri Jr wrote: > Hi, > > Is it possible for user-entered text to be auto-fitted into a non- > square/rectangle text field? This code does not give me an error, > nor does it result in any change. > Code: > set the rect of fld "triangle1" to the rect of grc "triangle1" > Even ensuring the polygon only has three points did not do the trick > > Any help would be appreciated. > > Thanks, > Ed > > From edljr at mac.com Sun Dec 13 01:02:20 2009 From: edljr at mac.com (Edward D Lavieri Jr) Date: Sun, 13 Dec 2009 00:02:20 -0600 Subject: Irregular-Shaped Fields In-Reply-To: <285676AA-E1D9-413F-9937-646F978E244B@tactilemedia.com> References: <4B1B1821.4070707@hindu.org> <285676AA-E1D9-413F-9937-646F978E244B@tactilemedia.com> Message-ID: <9C2450BD-B608-40F4-B890-A907DA212C38@mac.com> Thanks, Scott. I will experiment with the formattedRect property. It is frustrating because I just finished a large project, just to have this requirement thrown in at the last minute. If it was not challenging, it would not be any fun. Thanks again, Ed On Dec 12, 2009, at 11:38 PM, Scott Rossi wrote: > Keep in mind the term "rect" refers to a rectangular region. There > is no built-in way to do what you want. When you say "user entered" > do you mean after the text is entered, or dynamically as it is being > typed? You might be able to fit text to a shape using the > formattedRect property of text, but IIRC this will only work on text > already in a field (you can't get the formattedRect of text in a > variable for example). If you lock the screen and rewrap the text > line-by-line, you might get acceptable performance. > > Hope this helps. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Mutimedia & Design > > > > On Dec 12, 2009, at 2:55 PM, Edward D Lavieri Jr > wrote: > >> Hi, >> >> Is it possible for user-entered text to be auto-fitted into a non- >> square/rectangle text field? This code does not give me an error, >> nor does it result in any change. >> Code: >> set the rect of fld "triangle1" to the rect of grc "triangle1" >> Even ensuring the polygon only has three points did not do the trick >> >> Any help would be appreciated. >> >> Thanks, >> Ed >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Sun Dec 13 02:42:38 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 12 Dec 2009 23:42:38 -0800 Subject: Scaling Groups? In-Reply-To: Message-ID: Recently, Dick Kriesel wrote: > Thanks, Scott. Since you still have almost ninety percent of the time left, > what do you think of scaling the content of fields using tPercent? That > could be good when the text is too small for the old reading glasses. Pretty easy Dick. Just store the starting textSize in a separate custom property (ie the uOrigTextSize) and when scaling the field, set the textSize of the field to the uOrigTextSize of the field times tPercent. Keep in mind that text scaling won't be smooth because text size is specified in points, which are even coarser units than pixels. You can resize any scalable property of an object as long as you store the starting settings before scaling. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From janschenkel at yahoo.com Sun Dec 13 08:28:41 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 13 Dec 2009 05:28:41 -0800 (PST) Subject: does anyone have experience printing PDFs from Rev @ full resolution? In-Reply-To: Message-ID: <275753.65390.qm@web65412.mail.ac4.yahoo.com> Looking back at your original question, I can now see you weren't looking to embed high-resolution images into a new PDF document, but rather how you print a PDF file. On Mac, you can use an AppleScript to ask Preview or Acrobat Reader to print the PDF file. Preview will always be there, but you can even ask the Finder to print the document and it will pick the correct application for you. On Windows, you can sue a command-line utility called 'pdfp' - which you can download from here: There's also a newer version which is more compatible with Acrobat Reader 8 and higher, pdfp8, which you can download here: PDFP requires that Adobe Acrobat Reader is installed on the system, but that's a dependency you shouldn't have to worry about. >From the command-line, you would use something like pdfp -p "" -c "" So translating that into revTalk: ## put thePathToPdfpExe && "-p" && quote & thePrinterName & quote && \ "-c" && theNumberOfCopies && quote & theFilePath & quote \ into theCommand get shell(theCommand) ## You might want to set the 'hideConsoleWindows' global property to true before calling the 'shell' function. HTH, Jan Schenkel ===== Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) --- On Mon, 12/7/09, Josh Mellicker wrote: > From: Josh Mellicker > Subject: does anyone have experience printing PDFs from Rev @ full resolution? > To: "how to use Revolution" > Date: Monday, December 7, 2009, 5:34 PM > Does anyone have experience printing > PDFs from Rev @ full resolution? Meaning, vector PDFs will > print at the full printer resolution (300dpi/600dpi, etc.), > and bitmap PDFs will print at the document > resolution. From richmondmathewson at gmail.com Sun Dec 13 08:37:49 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 13 Dec 2009 15:37:49 +0200 Subject: does anyone have experience printing PDFs from Rev @ full resolution? In-Reply-To: <275753.65390.qm@web65412.mail.ac4.yahoo.com> References: <275753.65390.qm@web65412.mail.ac4.yahoo.com> Message-ID: <4B24EE2D.7000307@gmail.com> On 13/12/2009 15:28, Jan Schenkel wrote: > > Looking back at your original question, I can now see you weren't looking to embed high-resolution images into a new PDF document, but rather how you print a PDF file. > > On Mac, you can use an AppleScript to ask Preview or Acrobat Reader to print the PDF file. Preview will always be there, but you can even ask the Finder to print the document and it will pick the correct application for you. > > On Windows, you can sue a command-line utility called 'pdfp' - which you can download from here: > There's also a newer version which is more compatible with Acrobat Reader 8 and higher, pdfp8, which you can download here: > PDFP requires that Adobe Acrobat Reader is installed on the system, but that's a dependency you shouldn't have to worry about. > > From the command-line, you would use something like > pdfp -p "" -c "" > So translating that into revTalk: > ## > put thePathToPdfpExe&& "-p"&& quote& thePrinterName& quote&& \ > "-c"&& theNumberOfCopies&& quote& theFilePath& quote \ > into theCommand > get shell(theCommand) > ## > You might want to set the 'hideConsoleWindows' global property to true before calling the 'shell' function. > And, Linux ???? > HTH, > > > From peterwawood at gmail.com Sun Dec 13 12:07:49 2009 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 14 Dec 2009 01:07:49 +0800 Subject: does anyone have experience printing PDFs from Rev @ full resolution? In-Reply-To: <4B24EE2D.7000307@gmail.com> References: <275753.65390.qm@web65412.mail.ac4.yahoo.com> <4B24EE2D.7000307@gmail.com> Message-ID: Richmond > And, Linux ???? Have you tried using the lpr shell command - http://www.linuxquestions.org/questions/linux-software-2/print-files-in-pdf-or-html-format-from-the-linux-command-line-204012/ Regards Peter Wood From stephenREVOLUTION2 at barncard.com Sun Dec 13 12:13:50 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 13 Dec 2009 09:13:50 -0800 Subject: Plugins folder Message-ID: Could someone point me to information on creating and the development of Rev IDE plugins? I thought I saw something online a while back, but now that the new web plugin is here, it makes it harder to search for the topic. Nothing in the dictionary. thanks ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev From jhurley0305 at sbcglobal.net Sun Dec 13 13:53:47 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sun, 13 Dec 2009 10:53:47 -0800 Subject: Newbie Data Grid question Message-ID: I am just getting into data grid fields and can't find first base. I can't find anything on data grids in the Dictionary. Is this coming? Following the tutorial I tried the following: put field "data" into tData --This is a tab delimited text field with the first line being the column names put true into pFirstLineContainsHeaders set the dgText [ pFirstLineContainsHeaders ] of group "DataGrid 2" to tData This does nothing. But if I put False into pFirstLineContainsHeaders the field is filled with tData but the columns are Col 1, Col 2, etc. What am I missing? Jim Hurley From zryip.theslug at gmail.com Sun Dec 13 14:08:55 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 13 Dec 2009 20:08:55 +0100 Subject: Shortcut for resizing a selected object ? Message-ID: <64bda6470912131108g7fcd3befv967668c9528d512e@mail.gmail.com> Hi all, I'm new to the list. I've downloaded the trial version of Revolution this Friday and for the moment I'm disappointed by one thing : I've not found the correct shortcut to resize one or more objects with arrow keys. So my first question to the list is : is it a short key to resize an object or I need to develop something ? (okay i'm confessed that i've already trapped the rawkeyDown event and it works fine with one object ;)) Otherwise I'm an old user of Hypercard... and I'm very impressed by the work of the Revolution Team, especially by : - the cross platform support - the data grid and the link to SQL database - the support of graphics, color, ... Really a good surprise for me. A great application ! 8-) - Zryip TheSlug - wish you the best ! 8-) From bill at bluewatermaritime.com Sun Dec 13 14:10:08 2009 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 13 Dec 2009 15:10:08 -0400 Subject: Newbie Data Grid question In-Reply-To: References: Message-ID: <459b22a90912131110g1341a8f0s36a021cf1431db55@mail.gmail.com> I noticed that the column headings aren't automatically set when you load the datagrid with data. I manually set the column names and then when I loaded the data in (using a different method with ) I put in the column headings exactly as I had manually named them. It turned out that later, when taking data out of the datagrid, I did it using those column headings. I was surprised that when you load the data grid it doesn't change the column headings. But it works perfectly otherwise. On Sun, Dec 13, 2009 at 2:53 PM, James Hurley wrote: > I am just getting into data grid fields and can't find first base. > > I can't find anything on data grids in the Dictionary. Is this coming? > > Following the tutorial I tried the following: > > put field "data" into tData > --This is a tab delimited text field with the first line being the column > names > put true into pFirstLineContainsHeaders > set the dgText [ pFirstLineContainsHeaders ] of group "DataGrid 2" to > tData > > This does nothing. > > But if I put False into pFirstLineContainsHeaders the field is filled with > tData but the columns are Col 1, Col 2, etc. > > What am I missing? > > > Jim Hurley > _______________________________________________ > use-revolution mailing list > use-revolution at 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 From vokey at uleth.ca Sun Dec 13 14:13:52 2009 From: vokey at uleth.ca (Vokey, John) Date: Sun, 13 Dec 2009 12:13:52 -0700 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <20091213180004.83A202880BE@mail.runrev.com> References: <20091213180004.83A202880BE@mail.runrev.com> Message-ID: <5C63CC5F-0164-4A17-AF5B-69F3751479BE@uleth.ca> On 2009-12-13, at 11:00 AM, use-revolution-request at lists.runrev.com wrote: > Can someone give me a quick summary of why I might want to use the > MetaCard IDE instead > of RunRev's? It seems that a lot of users of this group use MC. Is it > just what you were used > to or is there some feature that Rev's doesn't? > > Just curious. > > len Partly, it is because it is what I am familiar with, no doubt. But, I am not a fanatic about it: I encourage all my students to begin with RunRev using the RunRev IDE, and I use it on those occasions where I need to develop a complicated (read prettified) interface. However, those who go on to become the more proficient programmers seem to drift to the MetaCard IDE as they gain experience. The main difference is that the MC IDE, for the most part, because it is so close to the engine, stays out of your way. So much so, that at least for my current and former students and me, we rarely compile standalones, preferring to run our stacks in the MC IDE itself. -- Please avoid sending me Word or PowerPoint attachments. See From Andre.Bisseret at inria.fr Sun Dec 13 14:49:41 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Sun, 13 Dec 2009 20:49:41 +0100 Subject: Newbie Data Grid question In-Reply-To: References: Message-ID: <6B99BDA6-9EED-48F7-A2CE-BA3848001009@inria.fr> Bonjour, Le 13 d?c. 09 ? 19:53, James Hurley a ?crit : > I am just getting into data grid fields and can't find first base. > > I can't find anything on data grids in the Dictionary. Is this > coming? You could download the manual at : http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7309-How-Do-I-Populate-a-Data-Grid-With-Data- > > Following the tutorial I tried the following: > > put field "data" into tData > --This is a tab delimited text field with the first line being the > column names > put true into pFirstLineContainsHeaders try set the pFirstLineContainsHeaders to true > set the dgText [ pFirstLineContainsHeaders ] of group "DataGrid 2" > to tData > > This does nothing. In the chapter "How do I populate a data grid with Data ? one found this : "Note that if pFirstLineContainsHeaders is true then the columns must already exist in your data grid table in order to be displayed." Does your columns already exist ? > > But if I put False into pFirstLineContainsHeaders the field is > filled with tData but the columns are Col 1, Col 2, etc. > > What am I missing? > HTH Best regards from Grenoble Andr? From jhurley0305 at sbcglobal.net Sun Dec 13 16:10:00 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sun, 13 Dec 2009 13:10:00 -0800 Subject: Newbie Data Grid question Message-ID: > Bonjour, > > > Le 13 d?c. 09 ? 19:53, James Hurley a ?crit : > > > I am just getting into data grid fields and can't find first base. > > > > I can't find anything on data grids in the Dictionary. Is this > > coming? > > You could download the manual at : > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7309-How-Do-I-Populate-a-Data-Grid-With-Data- > > > > Following the tutorial I tried the following: > > > > put field "data" into tData > > --This is a tab delimited text field with the first line being the > > column names > > put true into pFirstLineContainsHeaders > > try set the pFirstLineContainsHeaders to true > > > set the dgText [ pFirstLineContainsHeaders ] of group "DataGrid 2" > > to tData > > > > This does nothing. > > In the chapter "How do I populate a data grid with Data ? > one found this : > "Note that if pFirstLineContainsHeaders is true then the columns must > already exist in your data grid > table in order to be displayed." > Does your columns already exist ? Thanks Andre, Yes the columns already exist. If I set pFirstLineContainsHeaders to false, the field is populated with data but the columns are set to Col 1, Col 2 etc. If I then set set pFirstLineContainsHeaders to true (with the columns already set to Col 1, Col 2, etc.) the columns remain unchanged but the body of the text is empty. I did download the Manual. That is where I got this information from. Very perverse. Jim Hurley > > > > But if I put False into pFirstLineContainsHeaders the field is > > filled with tData but the columns are Col 1, Col 2, etc. > > > > What am I missing? > > > HTH > > Best regards from Grenoble > > Andr? From DunbarX at aol.com Sun Dec 13 17:04:02 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Sun, 13 Dec 2009 17:04:02 EST Subject: Shortcut for resizing a selected object ? Message-ID: We are mostly that, HC oldies. Doesn't trapping the arrowKey message, also supported in HC, do what you want? Craig Newman In a message dated 12/13/09 2:09:06 PM, zryip.theslug at gmail.com writes: > So my first question to the list is : is it a short key to resize an > object > or I need to develop something ? (okay i'm confessed that i've already > trapped the rawkeyDown event and it works fine with one object ;)) > > Otherwise I'm an old user of Hypercard... and I'm very impressed by the > work > From josh at dvcreators.net Sun Dec 13 17:39:35 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Sun, 13 Dec 2009 14:39:35 -0800 Subject: Can a SQL data base update app when there is a change? In-Reply-To: <8A5B1D38-1F1C-437D-AF76-5266CF0670D5@mac.com> References: <8A5B1D38-1F1C-437D-AF76-5266CF0670D5@mac.com> Message-ID: I think the best method is to have a datetimestamp column in the remote database, which you then have locally when you do a query. Then, periodically, your app does the same query, but ONY finds records that have a datetimestamp later than the last time you updated (very fast, since the record set will be small). Then update the local records with only the newest updates. To avoid data conflicts, whenever saving data to the MySQL db, first check the datetimestamp of the remote db, if it is newer than your last update, you will have to resolve the conflict somehow, by showing the user the newly updated remote data and giving them the option to overwrite, or by appending, or some other method. On Dec 10, 2009, at 2:16 PM, Bill Vlahos wrote: > I have an app that talks to a MySQL data base. This is fine for posting queries and updating records. > > Is there a mechanism that tells my application when someone else updates the data base? When that happens I want to update the display in my app with the changes. I can do this with periodic queries but it would be much better to have a push system originating from the data base. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) helps me remember the important details of my life. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Sun Dec 13 17:46:37 2009 From: chipp at chipp.com (Chipp Walters) Date: Sun, 13 Dec 2009 16:46:37 -0600 Subject: Ethics... and the lack of it. In-Reply-To: <4B1EBEAD.8010909@gmail.com> References: <1259631455056-931785.post@n4.nabble.com> <2B379443-99C9-4279-AF6D-C72F1C4A2A5D@twft.com> <9137E124-E31B-497C-A899-9C0DEB964A0E@nwlink.com> <4B1EBEAD.8010909@gmail.com> Message-ID: <665591460912131446k76beaff4yad7aa9a49985be13@mail.gmail.com> Interesting conversation. Alejandro, I don't think it's any of your concern what they value the software you developed for them. Perhaps they are trying to get a loan, or are negotiating a merger with another company. Perhaps they want to somehow show the value generated while managing their company. The only one who will have issues are, owners, investors, stockholders, potential M&A partners, and of course the big one - the IRS. If a company can't demonstrate their appraised value of the software, then they can have other major issues with the IRS. In anycase, rarely is the value of a commercial software package equal to the amount spent on development (see Adobe, Microsoft, Apple). Even so, I'm not sure how any of this affects you? You get paid to develop software, not create and manage a business using or marketing or selling software. VERY different things. -Chipp (uncloaking--- then cloaking back!) From mwieder at ahsoftware.net Sun Dec 13 18:55:23 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 13 Dec 2009 15:55:23 -0800 Subject: Plugins folder In-Reply-To: References: Message-ID: <45366945640.20091213155523@ahsoftware.net> stephen- Sunday, December 13, 2009, 9:13:50 AM, you wrote: > Could someone point me to information on creating and the development of Rev > IDE plugins? Well, since nobody else has chimed in here... are you referring to the plugins that show up in the Development menu? If so, 1. create a stack 2. put it in the user plugins folder 3. close and relaunch the IDE -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Sun Dec 13 19:34:28 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 13 Dec 2009 16:34:28 -0800 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <5C63CC5F-0164-4A17-AF5B-69F3751479BE@uleth.ca> References: <20091213180004.83A202880BE@mail.runrev.com> <5C63CC5F-0164-4A17-AF5B-69F3751479BE@uleth.ca> Message-ID: Speaking of IDEs, Jerry's tRev is kind of a 'remote' IDE with his little agents running around. I found out about another 'feature' that was there from the beginning. When your stack or Rev crashes, tRev stays running and doesn't freak out. It just sits there, with your current scripts. So you can cut the text of the script you were working on into a text editor for a moment, quit tRev, and re-launch both. No it won't connect the new script you didn't save but it's easy to paste/replace. The point is - stability and isolation is something really important in a programming situation. It's also prettier than the MC IDE. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/13 Vokey, John > > On 2009-12-13, at 11:00 AM, use-revolution-request at lists.runrev.com wrote: > > > Can someone give me a quick summary of why I might want to use the > > MetaCard IDE instead > > of RunRev's? It seems that a lot of users of this group use MC. Is it > > just what you were used > > to or is there some feature that Rev's doesn't? > > > > Just curious. > > > > len > > > Partly, it is because it is what I am familiar with, no doubt. But, I am > not a fanatic about it: I encourage all my students to begin with RunRev > using the RunRev IDE, and I use it on those occasions where I need to > develop a complicated (read prettified) interface. However, those who go on > to become the more proficient programmers seem to drift to the MetaCard IDE > as they gain experience. > > The main difference is that the MC IDE, for the most part, because it is so > close to the engine, stays out of your way. So much so, that at least for > my current and former students and me, we rarely compile standalones, > preferring to run our stacks in the MC IDE itself. > -- > Please avoid sending me Word or PowerPoint attachments. > See > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION2 at barncard.com Sun Dec 13 19:38:28 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 13 Dec 2009 16:38:28 -0800 Subject: Plugins folder In-Reply-To: <45366945640.20091213155523@ahsoftware.net> References: <45366945640.20091213155523@ahsoftware.net> Message-ID: yeah, but how do you make it 'specail' and not visible in the IDE as a stack? ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/13 Mark Wieder > stephen- > > Sunday, December 13, 2009, 9:13:50 AM, you wrote: > > > Could someone point me to information on creating and the development of > Rev > > IDE plugins? > > Well, since nobody else has chimed in here... are you referring to the > plugins that show up in the Development menu? If so, > > 1. create a stack > 2. put it in the user plugins folder > 3. close and relaunch the IDE > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Sun Dec 13 19:53:28 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 14 Dec 2009 10:53:28 +1000 Subject: Plugins folder In-Reply-To: References: <45366945640.20091213155523@ahsoftware.net> Message-ID: Rename the stack so the name starts with "rev" and it becomes "invisible". My preference is to edit a plugin with a temporary name and only change it to "rev...." when it is debugged, as debugging a rev stack is difficult. Cheers, Sarah On Mon, Dec 14, 2009 at 10:38 AM, stephen barncard wrote: > yeah, but how do you make it 'specail' and not visible in the IDE as a > stack? > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > > > 2009/12/13 Mark Wieder > >> stephen- >> >> Sunday, December 13, 2009, 9:13:50 AM, you wrote: >> >> > Could someone point me to information on creating and the development of >> Rev >> > IDE plugins? >> >> Well, since nobody else has chimed in here... are you referring to the >> plugins that show up in the Development menu? If so, >> >> 1. create a stack >> 2. put it in the user plugins folder >> 3. close and relaunch the IDE >> >> -- >> -Mark Wieder >> ?mwieder at ahsoftware.net >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION2 at barncard.com Sun Dec 13 20:09:49 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 13 Dec 2009 17:09:49 -0800 Subject: Plugins folder In-Reply-To: References: <45366945640.20091213155523@ahsoftware.net> Message-ID: Ahh... that was it... thanks for both tips. I have plenty of candidates , just never made the next step. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/13 Sarah Reichelt > Rename the stack so the name starts with "rev" and it becomes "invisible". > My preference is to edit a plugin with a temporary name and only > change it to "rev...." when it is debugged, as debugging a rev stack > is difficult. > > Cheers, > Sarah > > > > On Mon, Dec 14, 2009 at 10:38 AM, stephen barncard > wrote: > > yeah, but how do you make it 'specail' and not visible in the IDE as a > > stack? > > ------------------------- > > Stephen Barncard > > San Francisco > > http://houseofcubes.com/disco.irev > > > > > > 2009/12/13 Mark Wieder > > > >> stephen- > >> > >> Sunday, December 13, 2009, 9:13:50 AM, you wrote: > >> > >> > Could someone point me to information on creating and the development > of > >> Rev > >> > IDE plugins? > >> > >> Well, since nobody else has chimed in here... are you referring to the > >> plugins that show up in the Development menu? If so, > >> > >> 1. create a stack > >> 2. put it in the user plugins folder > >> 3. close and relaunch the IDE > >> > >> -- > >> -Mark Wieder > >> mwieder at ahsoftware.net > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jimaultwins at yahoo.com Sun Dec 13 20:13:01 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Sun, 13 Dec 2009 17:13:01 -0800 Subject: Plugins folder In-Reply-To: References: <45366945640.20091213155523@ahsoftware.net> Message-ID: Try doing: Development:Plugins:Plugin Settings then choose one from the popup menu then make you choices, such as invisible Jim Ault Las Vegas On Dec 13, 2009, at 4:38 PM, stephen barncard wrote: > yeah, but how do you make it 'specail' and not visible in the IDE as a > stack? > > 2009/12/13 Mark Wieder > >> >> Sunday, December 13, 2009, 9:13:50 AM, you wrote: >> >>> Could someone point me to information on creating and the >>> development of >> Rev >>> IDE plugins? >> >> Well, since nobody else has chimed in here... are you referring to >> the >> plugins that show up in the Development menu? If so, >> >> 1. create a stack >> 2. put it in the user plugins folder >> 3. close and relaunch the IDE From palcibiades-first at yahoo.co.uk Sun Dec 13 20:19:25 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 14 Dec 2009 01:19:25 +0000 Subject: driven mad by the message box! Message-ID: <200912140119.25164.palcibiades-first@yahoo.co.uk> Does anyone know why put shell() should bring up the message box, showing the last command exectuted from it (and not the command that was executed by the shell() step in the script? I've been racking my brains for an hour or more, trying just about everything I can think of, and nothing will stop the thing. Well, there is one thing that will stop it. The second time you execute the command, the message box closes. I don't know why it opened, and have even less idea why it should then close! Also, there is a small button or checkbox at the top left of the message box. What is it for? I can't see that it does anything, but it can definitely be checked or unchecked. Any suggestions most gratefully received. Peter From stephenREVOLUTION2 at barncard.com Sun Dec 13 20:50:33 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 13 Dec 2009 17:50:33 -0800 Subject: Plugins folder In-Reply-To: References: <45366945640.20091213155523@ahsoftware.net> Message-ID: Thanks all, for the info. Yes, being 'invisible' seems to place it in a special, possibly superior place in the *message path* - where does it live in the hierarchy? Since the plug stack exists in a different folder what is the file address path it need to use? Absolute only? Plugin folder POV? Plugins seem to be able to do some things better than just a loaded stack in the IDE. These are the main holes in my knowledge about this. I know that these stacks are almost impossible to edit *in invisible mode.* ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/13 Jim Ault > Try doing: > > Development:Plugins:Plugin Settings > then choose one from the popup menu > then make you choices, such as invisible > > Jim Ault > Las Vegas > > > On Dec 13, 2009, at 4:38 PM, stephen barncard wrote: > > yeah, but how do you make it 'specail' and not visible in the IDE as a >> stack? >> >> 2009/12/13 Mark Wieder >> >> >>> Sunday, December 13, 2009, 9:13:50 AM, you wrote: >>> >>> Could someone point me to information on creating and the development of >>>> >>> Rev >>> >>>> IDE plugins? >>>> >>> >>> Well, since nobody else has chimed in here... are you referring to the >>> plugins that show up in the Development menu? If so, >>> >>> 1. create a stack >>> 2. put it in the user plugins folder >>> 3. close and relaunch the IDE >>> >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Sun Dec 13 20:55:41 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 13 Dec 2009 19:55:41 -0600 Subject: Rev IDE vs MetaCard IDE In-Reply-To: References: <20091213180004.83A202880BE@mail.runrev.com> <5C63CC5F-0164-4A17-AF5B-69F3751479BE@uleth.ca> Message-ID: <4B259B1D.6020908@hyperactivesw.com> stephen barncard wrote: > It's also prettier than the MC IDE. Anything is prettier than the MC IDE. The bottom of my parrot cage is prettier than the MC IDE. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Dec 13 21:06:50 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 13 Dec 2009 20:06:50 -0600 Subject: driven mad by the message box! In-Reply-To: <200912140119.25164.palcibiades-first@yahoo.co.uk> References: <200912140119.25164.palcibiades-first@yahoo.co.uk> Message-ID: <4B259DBA.6020604@hyperactivesw.com> Peter Alcibiades wrote: > Does anyone know why > > put shell() > > should bring up the message box, showing the last command exectuted from it > (and not the command that was executed by the shell() step in the script? > > I've been racking my brains for an hour or more, trying just about > everything I can think of, and nothing will stop the thing. Well, there is > one thing that will stop it. The second time you execute the command, the > message box closes. I don't know why it opened, and have even less idea > why it should then close! I think it opens because the shell command always returns via stndout, and the message box is where the return value will go if you use "put" without specifying a variable. What I don't get is why it closes again. It should stay open. What command are you sending? Did you get a return value for the first command? If it hasn't returned yet, then maybe you're seeing the results of that one, and the second, expected one hasn't come back yet. Long shot, I know. > > Also, there is a small button or checkbox at the top left of the message > box. What is it for? I can't see that it does anything, but it can > definitely be checked or unchecked. I don't see that, or maybe I don't know where to look. What OS are you running? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Sun Dec 13 21:18:49 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 13 Dec 2009 18:18:49 -0800 (PST) Subject: [Mandelbrot] Code Samples/Comparisons In-Reply-To: References: Message-ID: <1260757129232-963229.post@n4.nabble.com> Hi Peter, This stack looks really fine! :-D I noticed that if i try to "recolor" the original Mandelbrot's fractal image (the image that appears when i open the stack for first time) then an error appears on the script. After i render a new fractal image, the error does not appear again. Many thanks to Bill and Peter for sharing this work of art! Alejandro -- View this message in context: http://n4.nabble.com/Mandelbrot-Code-Samples-Comparisons-tp954074p963229.html Sent from the Revolution - User mailing list archive at Nabble.com. From mcgrath3 at mac.com Sun Dec 13 22:43:16 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 13 Dec 2009 22:43:16 -0500 Subject: Shortcut for resizing a selected object ? In-Reply-To: <64bda6470912131108g7fcd3befv967668c9528d512e@mail.gmail.com> References: <64bda6470912131108g7fcd3befv967668c9528d512e@mail.gmail.com> Message-ID: Zryip Welcome to the us list. I believe there are some tutorials on the runRev site for HC users to make the leap. I think unless someone has a tool already you may have to roll your own for this one. But be prepared to be pleasantly surprised by a lot of what rev has to offer. There are so many directions you can take now it is hard to look at just one thing to be impressed by. Glad to have you here.... Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 13, 2009, at 2:08 PM, zryip theSlug wrote: > Hi all, I'm new to the list. > > I've downloaded the trial version of Revolution this Friday and for > the > moment I'm disappointed by one thing : I've not found the correct > shortcut > to resize one or more objects with arrow keys. > > So my first question to the list is : is it a short key to resize an > object > or I need to develop something ? (okay i'm confessed that i've already > trapped the rawkeyDown event and it works fine with one object ;)) > > Otherwise I'm an old user of Hypercard... and I'm very impressed by > the work > of the Revolution Team, especially by : > - the cross platform support > - the data grid and the link to SQL database > - the support of graphics, color, ... > > Really a good surprise for me. A great application ! 8-) > > > - Zryip TheSlug - wish you the best ! 8-) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From runrevplanet at smpcs.server101.com Mon Dec 14 01:01:59 2009 From: runrevplanet at smpcs.server101.com (RunRevPlanet) Date: Mon, 14 Dec 2009 17:01:59 +1100 Subject: New Data Tree Control Message-ID: <4B25D4D7.10701@smpcs.server101.com> I am currently evaluating the new Data Tree control at theWorcesterSource. It looks like it could be just the control I need in one of my applications, but on one of the stacks the rest of the fonts are sized at 16 point and the font in the data tree looks tiny in contrast. Question: Is there a way to change the font size? BTW, congratulations on getting to 1.0. -- Scott McDonald "Components, Stacks, Tools and Resources for Runtime Revolution" www.runrevplanet.com From palcibiades-first at yahoo.co.uk Mon Dec 14 04:43:30 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 14 Dec 2009 09:43:30 +0000 Subject: More about hex and printing and gdi printers... Message-ID: <200912140943.30584.palcibiades-first@yahoo.co.uk> Well, thank you all for your help, and yes, it is licked, the hex that is! What to do is, get a hex editor, I used ghex but there seem to be a huge number out there. Then you just insert the hex characters into a text file. ghex is very convenient because you can either type them in as hex or as ascii in the two panes, and it then shows what you have done in the other. Maybe they all do this, ghex is the only one I've ever used. Then to control the printer with this, you just do put shell("cat yourfile > printer") And lo and behold, the paper cutter instantly snips the paper! The cash drawer is certain to open as well now that the method is figured out. It is actually so simple to do, once you know how. Like many things. Peter From Andre.Bisseret at inria.fr Mon Dec 14 05:11:42 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 14 Dec 2009 11:11:42 +0100 Subject: Newbie Data Grid question In-Reply-To: References: Message-ID: <386377A6-1980-4E0D-AE2D-29FD49B0136E@inria.fr> Le 13 d?c. 09 ? 22:10, James Hurley a ?crit : >> Bonjour, >> >> >> Le 13 d?c. 09 ? 19:53, James Hurley a ?crit : >> >> > I am just getting into data grid fields and can't find first base. >> > >> > I can't find anything on data grids in the Dictionary. Is this >> > coming? >> >> You could download the manual at : >> http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7309-How-Do-I-Populate-a-Data-Grid-With-Data- >> > >> > Following the tutorial I tried the following: >> > >> > put field "data" into tData >> > --This is a tab delimited text field with the first line being the >> > column names >> > put true into pFirstLineContainsHeaders >> >> try set the pFirstLineContainsHeaders to true >> >> > set the dgText [ pFirstLineContainsHeaders ] of group "DataGrid 2" >> > to tData >> > >> > This does nothing. >> >> In the chapter "How do I populate a data grid with Data ? >> one found this : >> "Note that if pFirstLineContainsHeaders is true then the columns must >> already exist in your data grid >> table in order to be displayed." >> Does your columns already exist ? > > Thanks Andre, > > Yes the columns already exist. > > If I set pFirstLineContainsHeaders to false, the field is populated > with data but the columns are set to Col 1, Col 2 etc. > > If I then set set pFirstLineContainsHeaders to true (with the > columns already set to Col 1, Col 2, etc.) the columns remain > unchanged but the body of the text is empty. > > I did download the Manual. That is where I got this information > from. Very perverse. > > > Jim Hurley > Bonjour Jim, Your are right ; I just made a new stack with a data grid "dGrid" and a field "source" created the columns manually in the inspector (col 1, col 2 etc) In the field, the first tab delimited line includes the names for the columns. Then set the pFirstLineContainsHeaders of grp "dGrid" to true -- or, yes, put true into pFirstLineContainsHeaders as well put fld "source" into tData set the dgText ["pFirstLineContainsHeaders"] of group "Dgrid" to tData does not work as expected : the columns names keep being "Col 1, Col 2 etc" and the first line of tData keeps being the first line of Dgrid :-(( Did not notice that before, as up to now, I did not use "pFirstLineContainsHeaders", I manually create the columns names and labels (an habit from the beginning of the dataGrid I guess!!) Sorry, I don't know what we are missing! Sure Trevor will help soon ;-))) Best regards from Grenoble Andr? From Andre.Bisseret at inria.fr Mon Dec 14 07:27:18 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 14 Dec 2009 13:27:18 +0100 Subject: Newbie Data Grid question In-Reply-To: References: Message-ID: <7CB6BCE6-006D-4C0B-98F6-32C37439396E@inria.fr> Bonjour (again :-) Jim, Waiting for an answer from Trevor about the mystery of "pFirstLineContainsHeaders" ;-)) the following is a possible substitute : put "name" & cr & "color" & cr & "shape" into myHeaders set the dgProp["columns"] of grp "Dgrid" to myHeaders -- set the column names ##or set the dgProp["column labels"] of group "DGrid" to myHeaders -- set he column labels put fld "source" into tData set the dgText of group "Dgrid" to tData Best regards from Grenoble Andr? From steve at theworcestersource.com Mon Dec 14 08:44:26 2009 From: steve at theworcestersource.com (Steve Checkley) Date: Mon, 14 Dec 2009 13:44:26 +0000 Subject: New Data Tree Control Message-ID: <13BC85A5-1AA2-4ACB-B45F-1D13FD16F6D2@theworcestersource.com> Hi Scott, Thanks for the message on here. Whilst writing, I'd also like to thank the other contributors for their recent kind words about my library. To answer your question directly, no you can't change the font size but you will in the future. At the moment, Data Tree is designed to match the host operating system, be it Mac or Windows and won't currently let you deviate from this. However, I've currently got custom skin properties in the works and this feature will be included as part of a future update. Until that is released, I don't mind making the odd custom build for little tweaks such as this. Paying customers only, mind! ;o) Thanks, Steve www.theworcestersource.com From lists at mangomultimedia.com Mon Dec 14 08:58:13 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 14 Dec 2009 08:58:13 -0500 Subject: Newbie Data Grid question In-Reply-To: References: Message-ID: <4392D851-15E4-48F7-83FB-D04224A7028B@mangomultimedia.com> On Dec 13, 2009, at 4:10 PM, James Hurley wrote: > Yes the columns already exist. > > If I set pFirstLineContainsHeaders to false, the field is populated > with data but the columns are set to Col 1, Col 2 etc. > > If I then set set pFirstLineContainsHeaders to true (with the > columns already set to Col 1, Col 2, etc.) the columns remain > unchanged but the body of the text is empty. The most likely cause is that you don't have a column labeled with "Col 1" or "Col 2" in the first line of the data. Therefore the data you are setting is not mapping to an existing column in the Data Grid. Data Grid's do not behave like fields in that you can just swap text in and out randomly. You should be defining the columns (using the Property Inspector or by setting the dgData["columns"] property) and then assigning data to the Data Grid that explicitly states which column data goes into. The reason for this is that Data Grid columns are objects in and of themselves. They have properties that are set independently. If you want to wipe them all out at once then you first create the columns, set the column properties and then assign the data. As a side note the fact that dgText automatically creates columns for you is unfortunate in my opinion. This behavior was requested so that someone could just set the text of the Data Grid and see instant results. While that may be beneficial for "instant gratification" I think it just causes more confusion then anything in the end. The Data Grid isn't meant to be a quick and dirty means of displaying data but rather a means of displaying data with lots of control over the visual elements used to display that data. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From lists at mangomultimedia.com Mon Dec 14 09:02:35 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 14 Dec 2009 09:02:35 -0500 Subject: Newbie Data Grid question In-Reply-To: <386377A6-1980-4E0D-AE2D-29FD49B0136E@inria.fr> References: <386377A6-1980-4E0D-AE2D-29FD49B0136E@inria.fr> Message-ID: On Dec 14, 2009, at 5:11 AM, Andre.Bisseret wrote: > Your are right ; I just made a new stack with a data grid "dGrid" > and a field "source" > created the columns manually in the inspector (col 1, col 2 etc) > In the field, the first tab delimited line includes the names for > the columns. > > Then > > set the pFirstLineContainsHeaders of grp "dGrid" to true -- or, > yes, put true into pFirstLineContainsHeaders as well > put fld "source" into tData > set the dgText ["pFirstLineContainsHeaders"] of group "Dgrid" to > tData > > does not work as expected : the columns names keep being "Col 1, Col > 2 etc" > and the first line of tData keeps being the first line of Dgrid :-(( The syntax isn't correct in this example. It should be: set the dgText[true] of group "Dgrid" to tData I just tested to verify that using the correct syntax does work - and it does :-) -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From bill at bluewatermaritime.com Mon Dec 14 10:59:28 2009 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 14 Dec 2009 11:59:28 -0400 Subject: driven mad by the message box! In-Reply-To: <4B259DBA.6020604@hyperactivesw.com> References: <200912140119.25164.palcibiades-first@yahoo.co.uk> <4B259DBA.6020604@hyperactivesw.com> Message-ID: <459b22a90912140759i26642de2xc7ccc300a19f9ed2@mail.gmail.com> He must be running Linux. From Andre.Bisseret at inria.fr Mon Dec 14 12:03:47 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Mon, 14 Dec 2009 18:03:47 +0100 Subject: Newbie Data Grid question In-Reply-To: References: <386377A6-1980-4E0D-AE2D-29FD49B0136E@inria.fr> Message-ID: <01D4B62A-FD50-48DF-90EF-C40B5BF13D4C@inria.fr> Bonjour Trevor, Le 14 d?c. 09 ? 15:02, Trevor DeVore a ?crit : > On Dec 14, 2009, at 5:11 AM, Andre.Bisseret wrote: >> Your are right ; I just made a new stack with a data grid "dGrid" >> and a field "source" >> created the columns manually in the inspector (col 1, col 2 etc) >> In the field, the first tab delimited line includes the names for >> the columns. >> >> Then >> >> set the pFirstLineContainsHeaders of grp "dGrid" to true -- or, >> yes, put true into pFirstLineContainsHeaders as well >> put fld "source" into tData >> set the dgText ["pFirstLineContainsHeaders"] of group "Dgrid" to >> tData >> >> does not work as expected : the columns names keep being "Col 1, >> Col 2 etc" >> and the first line of tData keeps being the first line of Dgrid :-(( > > The syntax isn't correct in this example. It should be: > > set the dgText[true] of group "Dgrid" to tData > I just tested to verify that using the correct syntax does work - > and it does :-) > I just tried this syntax but without success! Here, ------- set the pFirstLineContainsHeaders of grp "Dgrid" to true put fld "source" into tData set the dgText[pFirstLineContainsHeaders] of group "Dgrid" to tData ---- is working except that I don't get Col 1, Col 2 etc replaced by the first line of tData I get the feeling that I am missing somethins else In your previous post (answer to Jim) you said : "The most likely cause is that you don't have a column labeled with "Col 1" or "Col 2" in the first line of the data. Therefore the data you are setting is not mapping to an existing column in the Data Grid." Does it mean that the first line of tData should be "Col 1 tab Col 2 etc" I tried that, and actually, the data grid is filled in but is keeping the generic names (Col 1, Col 2 etc) But then what about this phrase in the doc : "? by passing in true for pFirstLineContainsHeaders. If true then the data grid will extract the first line of pText and use the values for the internal key/column names ?" I thought it was meaning that In tData I had to put in the first line, the names that I would like instead of Col 1, Col 2 etc. Up to now, I don"t use pFirstLineContainsHeaders ; I set first the dgData["columns"] and dgData["column labels"]. But always happy to better understand about Data Grid (here about how this pFirstLineContainsHeaders works; seems I am making a bad interpretation of the manual. Thanks Trevor for your always helping advices; I keep appreciating Data Grid a lot; in a couple of app. I have several ones which are running very nicely :-)) Best regards from Grenoble Andr? From lists at mangomultimedia.com Mon Dec 14 12:14:37 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 14 Dec 2009 12:14:37 -0500 Subject: Newbie Data Grid question In-Reply-To: <01D4B62A-FD50-48DF-90EF-C40B5BF13D4C@inria.fr> References: <386377A6-1980-4E0D-AE2D-29FD49B0136E@inria.fr> <01D4B62A-FD50-48DF-90EF-C40B5BF13D4C@inria.fr> Message-ID: <8A783822-2D12-4652-AB3D-9710AD3501E2@mangomultimedia.com> On Dec 14, 2009, at 12:03 PM, Andre.Bisseret wrote: >> The syntax isn't correct in this example. It should be: >> >> set the dgText[true] of group "Dgrid" to tData > >> I just tested to verify that using the correct syntax does work - >> and it does :-) >> > I just tried this syntax but without success! > Here, > ------- > set the pFirstLineContainsHeaders of grp "Dgrid" to true pFirstLineContainsHeaders isn't a property in and of itself. It is a parameter you pass in when setting the dgText property. Try this: put true into pFirstLineContainsHeaders set the dgText[pFirstLineContainsHeaders] of group "Dgrid" to tData > Thanks Trevor for your always helping advices; I keep appreciating > Data Grid a lot; in a couple of app. I have several ones which are > running very nicely :-)) I'm glad you find it useful. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From mwieder at ahsoftware.net Mon Dec 14 12:31:52 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 14 Dec 2009 09:31:52 -0800 Subject: Plugins folder In-Reply-To: References: <45366945640.20091213155523@ahsoftware.net> Message-ID: <153430334265.20091214093152@ahsoftware.net> stephen- Sunday, December 13, 2009, 5:50:33 PM, you wrote: > Thanks all, for the info. > Yes, being 'invisible' seems to place it in a special, possibly superior > place in the *message path* - where does it live in the hierarchy? Since the > plug stack exists in a different folder what is the file address path it > need to use? Absolute only? Plugin folder POV? Plugins seem to be able to > do some things better than just a loaded stack in the IDE. Plugin stacks aren't in the message hierarchy unless you explictly place them there. And then it's up to you if you want to set up front and/or backscripts or just launch the plugin as a stack. If you need to get the file path from the plugin you can get the long name of this stack -- -Mark Wieder mwieder at ahsoftware.net From jhurley0305 at sbcglobal.net Mon Dec 14 13:11:17 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Mon, 14 Dec 2009 10:11:17 -0800 Subject: Newbie Data Grid question In-Reply-To: <20091214170353.A12CC288570@mail.runrev.com> References: <20091214170353.A12CC288570@mail.runrev.com> Message-ID: > > Message: 27 > Date: Mon, 14 Dec 2009 08:58:13 -0500 > From: Trevor DeVore > Subject: Re: Newbie Data Grid question > To: How to use Revolution > Message-ID: <4392D851-15E4-48F7-83FB-D04224A7028B at mangomultimedia.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > On Dec 13, 2009, at 4:10 PM, James Hurley wrote: > >> Yes the columns already exist. >> >> If I set pFirstLineContainsHeaders to false, the field is populated >> with data but the columns are set to Col 1, Col 2 etc. >> >> If I then set set pFirstLineContainsHeaders to true (with the >> columns already set to Col 1, Col 2, etc.) the columns remain >> unchanged but the body of the text is empty. > > The most likely cause is that you don't have a column labeled with > "Col 1" or "Col 2" in the first line of the data. Therefore the data > you are setting is not mapping to an existing column in the Data Grid. > > Data Grid's do not behave like fields in that you can just swap text > in and out randomly. You should be defining the columns (using the > Property Inspector or by setting the dgData["columns"] property) and > then assigning data to the Data Grid that explicitly states which > column data goes into. > > The reason for this is that Data Grid columns are objects in and of > themselves. They have properties that are set independently. If you > want to wipe them all out at once then you first create the columns, > set the column properties and then assign the data. > > As a side note the fact that dgText automatically creates columns for > you is unfortunate in my opinion. This behavior was requested so that > someone could just set the text of the Data Grid and see instant > results. While that may be beneficial for "instant gratification" I > think it just causes more confusion then anything in the end. > > The Data Grid isn't meant to be a quick and dirty means of displaying > data but rather a means of displaying data with lots of control over > the visual elements used to display that data. > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com Trevor (and Andre.Bisseret), Thanks you for the very thoughtful reply(s). It is heartening to see something defended by its parent. My sincere apologies for treating your offspring in such a quick and dirty fashion :-) I'm sure I will appreciate the richness of this new Run Rev object in time--see below. FIrst to satisfy my quick and dirty needs, I find that the following works well to get data displayed in a data grid field: on mouseUp put field "data" into tData --Tab delimited text --The first line of tData contains the column names put line 1 of tData into tHeaders replace tab with cr in tHeaders set dgProp["Columns"] of group "DataGrid" to tHeaders --Thanks to Andre for this line. set the dgText [ true ] of group "DataGrid" to tData end mouseUp Now to reinforce your point about the richness of this more complex object: In another context, I would like to be able to click on the first column header and have it sort the grid by the LAST word of each in the first column. Is it possible to access (and modify) the script that the column headers runs? Thanks again for nursing us through the infancy of data grids. Jim Hurley From lists at mangomultimedia.com Mon Dec 14 13:19:43 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 14 Dec 2009 13:19:43 -0500 Subject: Newbie Data Grid question In-Reply-To: References: <20091214170353.A12CC288570@mail.runrev.com> Message-ID: <2489AFEC-40F1-4057-88DD-E8FA53559F4E@mangomultimedia.com> On Dec 14, 2009, at 1:11 PM, James Hurley wrote: > > It is heartening to see something defended by its parent. My sincere > apologies for treating your offspring in such a quick and dirty > fashion :-) It's okay, the Data Grid likes to be beta up on once and a while :-) The Data Grid is such a big departure from the other controls in Revolution that it can be tricky to get your head around it. The, shall we say, "less than x-talk" syntax you have to use doesn't help. > FIrst to satisfy my quick and dirty needs, I find that the following > works well to get data displayed in a data grid field: > > on mouseUp > put field "data" into tData --Tab delimited text > --The first line of tData contains the column names > put line 1 of tData into tHeaders > replace tab with cr in tHeaders > set dgProp["Columns"] of group "DataGrid" to tHeaders --Thanks to > Andre for this line. > set the dgText [ true ] of group "DataGrid" to tData > end mouseUp Yes, that is the way to approach it with a Data Grid. I should probably add that to a lesson somewhere... > Now to reinforce your point about the richness of this more complex > object: > In another context, I would like to be able to click on the first > column header and have it sort the grid by the LAST word of each in > the first column. > Is it possible to access (and modify) the script that the column > headers runs? Take a look at this lesson: How Do I Customize or Disable Column Sorting?: > Thanks again for nursing us through the infancy of data grids. From palcibiades-first at yahoo.co.uk Mon Dec 14 14:01:42 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 14 Dec 2009 11:01:42 -0800 (PST) Subject: driven mad by the message box! In-Reply-To: <459b22a90912140759i26642de2xc7ccc300a19f9ed2@mail.gmail.com> References: <200912140119.25164.palcibiades-first@yahoo.co.uk> <4B259DBA.6020604@hyperactivesw.com> <459b22a90912140759i26642de2xc7ccc300a19f9ed2@mail.gmail.com> Message-ID: <1260817302060-963793.post@n4.nabble.com> Yes, its Debian. at the moment its Squeeze. Haven't tried on anything else yet. It turns out to happen only in the IDE, but it happens with development tools turned off and just about everything changed one way or the other that I could think of. But it was a great relief to finally discover that when the app is launched from a little launching stack in the usual way, it doesn't happen. As long as the app will run properly from the launcher it doesn't matter so much. What is weird is, it never happened before, but I don't recall whether in other uses of shell() I ever tried it from the IDE. These things are sent to make us into a better person. Not completely sure they are succeeding. william humphrey-2 wrote: > > He must be running Linux. > -- View this message in context: http://n4.nabble.com/driven-mad-by-the-message-box-tp963215p963793.html Sent from the Revolution - User mailing list archive at Nabble.com. From h at FlexibleLearning.com Mon Dec 14 14:22:46 2009 From: h at FlexibleLearning.com (Hugh Senior) Date: Mon, 14 Dec 2009 19:22:46 -0000 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <20091214170353.B2158288578@mail.runrev.com> Message-ID: stephen barncard wrote: > It's also prettier than the MC IDE. Jacqueline Landman Gay > Anything is prettier than the MC IDE. The bottom of my parrot cage is > prettier than the MC IDE. ;) I use MC. After 10 years I'm kinda used to it. Pretty? I have been known to decorate the IDE with images of bikini-clad models, Bentleys, fine wine and Belgian chocolates. The first keeps me young, the Bentley is an outstanding ambition, the wine is an old friend, and the chocolates remind me of a weekend once long, long ago with a rather nice young lady who... [censored by wife]. So what would YOU choose and WHY? /H From jacque at hyperactivesw.com Mon Dec 14 14:57:01 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Dec 2009 13:57:01 -0600 Subject: Rev IDE vs MetaCard IDE In-Reply-To: References: Message-ID: <4B26988D.8040503@hyperactivesw.com> Hugh Senior wrote: > stephen barncard wrote: > >> It's also prettier than the MC IDE. > > Jacqueline Landman Gay > >> Anything is prettier than the MC IDE. The bottom of my parrot cage is >> prettier than the MC IDE. ;) > > I use MC. After 10 years I'm kinda used to it. Pretty? I have been known to > decorate the IDE with images of bikini-clad models, Bentleys, fine wine and > Belgian chocolates. The first keeps me young, the Bentley is an outstanding > ambition, the wine is an old friend, and the chocolates remind me of a > weekend once long, long ago with a rather nice young lady who... [censored > by wife]. > > So what would YOU choose and WHY? LOL! I think I'd put the top part of my parrot cage on it, the part with the birds. :) To be honest though, MC's utility outweighs its appearance which I've learned to ignore. I keep telling myself that one of these days I'll just set the default text size and font to match Rev's so that I don't have to ignore the button text spacing any more -- but I never get around to it. I'm too used to how it looks. At least you aren't putting any cheese on there...oops. Now I'll get censored. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dave.cragg at lacscentre.co.uk Mon Dec 14 15:34:28 2009 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 14 Dec 2009 20:34:28 +0000 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <4B259B1D.6020908@hyperactivesw.com> References: <20091213180004.83A202880BE@mail.runrev.com> <5C63CC5F-0164-4A17-AF5B-69F3751479BE@uleth.ca> <4B259B1D.6020908@hyperactivesw.com> Message-ID: <93E0B54B-8B9F-4C54-9324-C32ED0313101@lacscentre.co.uk> On 14 Dec 2009, at 01:55, J. Landman Gay wrote: > Anything is prettier than the MC IDE. It used to be that way. At one time, it was a purist's dream. The rot set in about 1999 when the image icon was upgraded from something that looked like a wire pan scourer to something else. That blatant pandering to creative types was the thin end of the wedge. Within three years, even the splash screen was upgraded. I blame the parents. Dave From jacque at hyperactivesw.com Mon Dec 14 15:44:38 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Dec 2009 14:44:38 -0600 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <93E0B54B-8B9F-4C54-9324-C32ED0313101@lacscentre.co.uk> References: <20091213180004.83A202880BE@mail.runrev.com> <5C63CC5F-0164-4A17-AF5B-69F3751479BE@uleth.ca> <4B259B1D.6020908@hyperactivesw.com> <93E0B54B-8B9F-4C54-9324-C32ED0313101@lacscentre.co.uk> Message-ID: <4B26A3B6.60900@hyperactivesw.com> Dave Cragg wrote: > On 14 Dec 2009, at 01:55, J. Landman Gay wrote: >> Anything is prettier than the MC IDE. > > It used to be that way. At one time, it was a purist's dream. The rot > set in about 1999 when the image icon was upgraded from something > that looked like a wire pan scourer to something else. That blatant > pandering to creative types was the thin end of the wedge. Within > three years, even the splash screen was upgraded. > > I blame the parents. Blame Scott Rossi, he did it. Them artist types, you just can't please 'em. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From runrevplanet at smpcs.server101.com Mon Dec 14 16:17:00 2009 From: runrevplanet at smpcs.server101.com (RunRevPlanet) Date: Tue, 15 Dec 2009 08:17:00 +1100 Subject: New Data Tree Control In-Reply-To: <20091214170353.B2158288578@mail.runrev.com> References: <20091214170353.B2158288578@mail.runrev.com> Message-ID: <4B26AB4C.1020405@smpcs.server101.com> Hi Steve, >To answer your question directly, no you can't change the font size >but you will in the future. >Until that is released, I don't mind making the odd custom build >for little tweaks such as this. Paying customers only, mind! Fair enough! Just got a few more tests to do on it, and all going well will make that order. -- Scott McDonald "Components, Stacks, Tools and Resources for Runtime Revolution" www.runrevplanet.com From scott at tactilemedia.com Mon Dec 14 16:59:54 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 14 Dec 2009 13:59:54 -0800 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <4B26A3B6.60900@hyperactivesw.com> Message-ID: Recently, Jacque Landman Gay wrote: >> That blatant >> pandering to creative types was the thin end of the wedge. Within >> three years, even the splash screen was upgraded. >> >> I blame the parents. > > Blame Scott Rossi, he did it. Them artist types, you just can't please 'em. Keep it up, Landman Gay, and you'll find yourself facing the wrong end of an eraser. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From jacque at hyperactivesw.com Mon Dec 14 17:24:42 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 14 Dec 2009 16:24:42 -0600 Subject: Rev IDE vs MetaCard IDE In-Reply-To: References: Message-ID: <4B26BB2A.2070508@hyperactivesw.com> Scott Rossi wrote: > Recently, Jacque Landman Gay wrote: > >>> That blatant >>> pandering to creative types was the thin end of the wedge. Within >>> three years, even the splash screen was upgraded. >>> >>> I blame the parents. >> Blame Scott Rossi, he did it. Them artist types, you just can't please 'em. > > Keep it up, Landman Gay, and you'll find yourself facing the wrong end of an > eraser. O ^| / I give! I give! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjb at robelko.com Mon Dec 14 17:45:32 2009 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 14 Dec 2009 23:45:32 +0100 Subject: Rev IDE vs MetaCard IDE Message-ID: On 14 Dec 2009, at 01:55, J. Landman Gay wrote: > Anything is prettier than the MC IDE. I remember that we used to refer to its interface as "spartan" when comparing to Rev IDE in its earlier days... Robert From shari at gypsyware.com Mon Dec 14 19:17:25 2009 From: shari at gypsyware.com (Shari) Date: Mon, 14 Dec 2009 19:17:25 -0500 Subject: Rev IDE vs MetaCard IDE In-Reply-To: References: Message-ID: I use it because it's a lot less cranky, it stays out of the way, and it doesn't clutter my screen. Plus I prefer the Control Browser. Much easier to see what's where. Shari -- Critters, humor, patriots and sports t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware http://www.gypsyware.com From jperryl at ecs.fullerton.edu Mon Dec 14 19:53:21 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 14 Dec 2009 16:53:21 -0800 (PST) Subject: Rev IDE vs MetaCard IDE In-Reply-To: References: Message-ID: I remember thinking (and probably even staying rather loudly) that its UI elements (icons) looked like they were done by a 5 year old on acid... Judy On Mon, 14 Dec 2009, Robert Brenstein wrote: > > On 14 Dec 2009, at 01:55, J. Landman Gay wrote: >> Anything is prettier than the MC IDE. > > I remember that we used to refer to its interface as "spartan" when comparing > to Rev IDE in its earlier days... From jperryl at ecs.fullerton.edu Mon Dec 14 19:56:20 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 14 Dec 2009 16:56:20 -0800 (PST) Subject: Rev IDE vs MetaCard IDE In-Reply-To: References: Message-ID: make that, "saying"... grrrr..... Judy On Mon, 14 Dec 2009, Judy Perry wrote: > I remember thinking (and probably even staying rather loudly) that its UI > elements (icons) looked like they were done by a 5 year old on acid... > > Judy > > On Mon, 14 Dec 2009, Robert Brenstein wrote: > >> >> On 14 Dec 2009, at 01:55, J. Landman Gay wrote: >>> Anything is prettier than the MC IDE. >> >> I remember that we used to refer to its interface as "spartan" when >> comparing to Rev IDE in its earlier days... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Mon Dec 14 20:02:30 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 15 Dec 2009 11:02:30 +1000 Subject: Plugins folder In-Reply-To: References: <45366945640.20091213155523@ahsoftware.net> Message-ID: > Yes, being 'invisible' seems to place it in a special, possibly superior > place in the *message path* - where does it live in the hierarchy? Since the > plug stack exists in a different folder what is the file address path it > need to use? Absolute only? Plugin folder POV? ? ?Plugins seem to be able to > do some things better than just a loaded stack in the IDE. > > These are the main holes in my knowledge about this. > > I know that these stacks are almost impossible to edit *in invisible mode.* Plugins really do not have any more powers than a normal stack, it's just a convenient place to put utility stacks that you use often. They are not magical in any way, but they are often used to contain backScripts & frontScripts which inserts their scripts into the hierarchy e.g. I have one that uses a frontScript to trap function keys, and if there is a script snippet attached to a particular key, it executes that snippet, before passing the function key on to the other stacks & to the engine. In the Plugins Settings dialog, you can choose which system messages get sent to your plugin as well as when it opens and in what mode. If you need to know the path to the Plugins folder, there are 2 unsupported functions for this: revEnvironmentUserPluginsPath() revEnvironmentPluginsPath() You can edit stacks whose names start with "rev", if you select "Revolution UI Elements in Lists" from the View menu, or in tRev, shift-click the tab name of a browser tab to toggle between showing all stacks and showing only non-Rev ones. The problem is debugging as Rev does not allow the debugger to step into rev stacks as far as I am aware. However again, if you are using tRev (which I think you are), then you can do any debugging using it's Decoder instead. There is a revExample plugin in my Plugins folder. If you have a look at that one, you might get some more ideas about how it all works. HTH, Sarah From palcibiades-first at yahoo.co.uk Tue Dec 15 01:58:50 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 15 Dec 2009 06:58:50 +0000 Subject: type font size in dictionary Message-ID: <200912150658.50844.palcibiades-first@yahoo.co.uk> How does one change the size of the font in the dictionary? To make it several sizes larger? Peter From jacques.hausser at unil.ch Tue Dec 15 05:25:39 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Tue, 15 Dec 2009 11:25:39 +0100 Subject: How to prevent unlocking the screen In-Reply-To: <200912150658.50844.palcibiades-first@yahoo.co.uk> References: <200912150658.50844.palcibiades-first@yahoo.co.uk> Message-ID: <4C0A31F6-7EDC-419D-9E35-C825BA0A6B91@unil.ch> Hello everybody, I want to change the size of a stack: command changeStackSize lock screen -- (computes and set the new size) end changeStackSize The problem is that notwithstanding the "lock screen" the change is visible in two steps: first the window size, and then the content. I would like to hide the change till completed. How to do ? Thanks in advance Jacques ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From m.schonewille at economy-x-talk.com Tue Dec 15 05:38:25 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 15 Dec 2009 11:38:25 +0100 Subject: How to prevent unlocking the screen In-Reply-To: <4C0A31F6-7EDC-419D-9E35-C825BA0A6B91@unil.ch> References: <200912150658.50844.palcibiades-first@yahoo.co.uk> <4C0A31F6-7EDC-419D-9E35-C825BA0A6B91@unil.ch> Message-ID: <8D79D550-9705-4AAC-9BF3-B0A30771A53C@economy-x-talk.com> Hi Jacques, Lock screen, change stack size, change content, unlock screen. This should give acceptable results. This is a script, which I use in a project of mine: revChangeWindowSize the width of this stack,the cNewHeight of cd "Destination Card","Slide",,100 lock screen go cd "A different card" resizeStack // update contents here unlock screen with visual effect dissolve very fast (mind line wraps, if any) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Full PayPal integration and automation in web site or (Revolution/ SuperCard/other) software. Contact me for a quote http://economy-x-talk.com/contact.html Op 15 dec 2009, om 11:25 heeft Jacques Hausser het volgende geschreven: > Hello everybody, > > I want to change the size of a stack: > > command changeStackSize > lock screen > -- (computes and set the new size) > end changeStackSize > > The problem is that notwithstanding the "lock screen" the change is > visible in two steps: first the window size, and then the content. I > would like to hide the change till completed. How to do ? > Thanks in advance > > Jacques > From jacques.hausser at unil.ch Tue Dec 15 06:45:43 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Tue, 15 Dec 2009 12:45:43 +0100 Subject: How to prevent unlocking the screen In-Reply-To: <8D79D550-9705-4AAC-9BF3-B0A30771A53C@economy-x-talk.com> References: <200912150658.50844.palcibiades-first@yahoo.co.uk> <4C0A31F6-7EDC-419D-9E35-C825BA0A6B91@unil.ch> <8D79D550-9705-4AAC-9BF3-B0A30771A53C@economy-x-talk.com> Message-ID: Thanks, Mark. Works for almost everything, except for a copy of a picture (I have the original picture hidden and resized in the background, and a visible copy of it to work on). I tried two solutions 1) resize the original picture and recopy it in my changeStackSize command: command changeStackSize lock screen -- (computes and sets the new size) resetpicture -- (resizes the original picture and recopy it) end changeStackSize The picture is not resized... why ? 2) catch the resizeStack message and resize the picture from there command changeStackSize lock screen -- (computes and sets the new size) end changeStackSize on resizeStack lock screen revupdateGeometry resetpicture - (resizes the original picture and recopy it) end resizeStack the picture is resized OK, but you see the two successive steps on the screen... Needless to say that resetpicture is the same in both cases... Jacques Le 15 d?c. 2009 ? 11:38, Mark Schonewille a ?crit : > Hi Jacques, > > Lock screen, change stack size, change content, unlock screen. This should give acceptable results. This is a script, which I use in a project of mine: > > revChangeWindowSize the width of this stack,the cNewHeight of cd "Destination Card","Slide",,100 > lock screen > go cd "A different card" > resizeStack // update contents here > unlock screen with visual effect dissolve very fast > > (mind line wraps, if any) ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From m.schonewille at economy-x-talk.com Tue Dec 15 06:58:28 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 15 Dec 2009 12:58:28 +0100 Subject: How to prevent unlocking the screen In-Reply-To: References: <200912150658.50844.palcibiades-first@yahoo.co.uk> <4C0A31F6-7EDC-419D-9E35-C825BA0A6B91@unil.ch> <8D79D550-9705-4AAC-9BF3-B0A30771A53C@economy-x-talk.com> Message-ID: <9C25BA1C-532D-440E-A665-D0BA1535584C@economy-x-talk.com> Hi Jacques, When you copy a resized picture, Revolution may restore the original dimensions. Copy the picture first, then resize the new picture, or use the imagedata of the old picture to set the imagedata of the new picture. If you do the latter, set the dimensions of the new picture to formattedHeight and formattedWidth. I strongly recommend not to use the geometry manager. Instead, write your own scripts in a resizeStack handler. This is more reliable and gives you more control in situations like these. Your incomplete scripts don't give me a good impression of what is going on, hence I can't tell you why the screen unlocks prematurely. Do you have an answer or ask dialogue somewhere? Are you repeating or waiting with messages perhaps? Note that locking the screen doesn't really lock the entire screen and not even the entire Revolution interface. It only locks windows, while they are redrawn in memory. In the case of your particular stack, when the resizeStack handler runs, all other handlers have finished already, because I don't see an explicit call to the resizeStack handler. If a handler containing the lock screen command finishes, the screen unlocks. This means that screen will unlock before the resizeStack handler runs. Just a few thoughts. I hope this helps. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Full PayPal integration and automation in web site or (Revolution/ SuperCard/other) software. Contact me for a quote http://economy-x-talk.com/contact.html Op 15 dec 2009, om 12:45 heeft Jacques Hausser het volgende geschreven: > Thanks, Mark. Works for almost everything, except for a copy of a > picture (I have the original picture hidden and resized in the > background, and a visible copy of it to work on). I tried two > solutions > > 1) resize the original picture and recopy it in my changeStackSize > command: > > command changeStackSize > lock screen > -- (computes and sets the new size) > resetpicture -- (resizes the original picture and recopy it) > end changeStackSize > > The picture is not resized... why ? > > 2) catch the resizeStack message and resize the picture from there > > command changeStackSize > lock screen > -- (computes and sets the new size) > end changeStackSize > > on resizeStack > lock screen > revupdateGeometry > resetpicture - (resizes the original picture and recopy it) > end resizeStack > > the picture is resized OK, but you see the two successive steps on > the screen... > Needless to say that resetpicture is the same in both cases... > > Jacques From Andre.Bisseret at inria.fr Tue Dec 15 06:18:17 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 15 Dec 2009 12:18:17 +0100 Subject: Newbie Data Grid question In-Reply-To: References: <20091214170353.A12CC288570@mail.runrev.com> Message-ID: Bonjour Jim, Trevor and others on this thread ;-) Le 14 d?c. 09 ? 19:11, James Hurley a ?crit : ... > > Trevor (and Andre.Bisseret), > > Thanks you for the very thoughtful reply(s). > > It is heartening to see something defended by its parent. My sincere > apologies for treating your offspring in such a quick and dirty > fashion :-) > I'm sure I will appreciate the richness of this new Run Rev object > in time--see below. > > FIrst to satisfy my quick and dirty needs, I find that the following > works well to get data displayed in a data grid field: > > on mouseUp > put field "data" into tData --Tab delimited text > --The first line of tData contains the column names > put line 1 of tData into tHeaders > replace tab with cr in tHeaders > set dgProp["Columns"] of group "DataGrid" to tHeaders --Thanks to > Andre for this line. > set the dgText [ true ] of group "DataGrid" to tData > end mouseUp > Your handler above, confirmed by Trevoir, helped me a lot to understand the possible uses of pFirstLineContainsHeaders. In order to learn more about data grid, I tried several variations, I put below in case it could interest someone : local tData,tHeaders, -- field "data" = lines of tab delimited text -- a Data Grid "DataGrid" with 3 columns ------------ -- 1 ) IF THE LINE OF HEADERS IS NOT INCLUDED IN THE DATA (AS I AM ACCUSTOMED TO) -- 1.1) WITHOUT USING pFirstLineContainsHeaders; WORKS: on mouseUp put "header1" & cr & "header2" & cr & "header3" into tHeaders set the dgProp["columns"] of grp "DataGrid" to tHeaders put fld "data" into tData set the dgText of group "DataGrid" to tData end mouseUp -- 1.2) USING pFirstLineContainsHeaders: USELESS BUT WORKS :-))) on mouseUp put "header1" & cr & "header2" & cr & "header3" into tHeaders set the dgProp["columns"] of grp "DataGrid" to tHeaders put fld "data" into tData set the dgText[false] of group "DataGrid" to tData end mouseUp -- 2) IF, FOR SOME REASON, THE LINE OF HEADERS IS INCLUDED IN THE DATA (FIRST LINE) -- 2.1) WITHOUT USING pFirstLineContainsHeaders: WORKS: on mouseUp put field "data" into tData put line 1 of tData into tHeaders replace tab with cr in tHeaders set dgProp["Columns"] of group "DataGrid" to tHeaders delete line 1 of tData set the dgText of group "DataGrid" to tData end mouseUp -- 2.2) USING pFirstLineContainsHeaders: WORKS: on mouseUp -- the handler from Jim put field "data" into tData put line 1 of tData into tHeaders replace tab with cr in tHeaders set dgProp["Columns"] of group "DataGrid" to tHeaders --Thanks to Andre for this line. set the dgText [ true ] of group "DataGrid" to tData end mouseUp ------------------------------------------------- -- indeed, in all these handlers, it's possible to directly set the dgText of grp "datagrid" to fld "data" (but less fast, I guess, specially if it contains a lot of lines) -------------------------------------------------- AS FOR THE SYNTAX OF pFirstLineContainsHeaders OK: set the dgText[true] nevertheless: put true into pFirstLineContainsHeaders set the dgText[pFirstLineContainsHeaders] of grp "datagrid" to true works as well, but useless, OK :-) set the pFirstLineContainsHeaders of grp "datagrid" to true does not work as that is creating a custom prop; OK :-)) I am a bit slow-witted but I am beginning to understand quite what this pFirstLineContainsHeaders can do ;-o))))) Thanks to both of you, Andr? From jacques.hausser at unil.ch Tue Dec 15 08:31:56 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Tue, 15 Dec 2009 14:31:56 +0100 Subject: How to prevent unlocking the screen In-Reply-To: <9C25BA1C-532D-440E-A665-D0BA1535584C@economy-x-talk.com> References: <200912150658.50844.palcibiades-first@yahoo.co.uk> <4C0A31F6-7EDC-419D-9E35-C825BA0A6B91@unil.ch> <8D79D550-9705-4AAC-9BF3-B0A30771A53C@economy-x-talk.com> <9C25BA1C-532D-440E-A665-D0BA1535584C@economy-x-talk.com> Message-ID: <33BB2E98-FD75-4362-A73A-634F26737380@unil.ch> Mark, Sorry, I was not crystal clear. When I was talking of copying a picture, I was actually transferring the imageData (As an alternative, I also tried to use "import snapshot", what works fine and perhaps a bit quicker). You are quite right with the screen unlocking between the two handler in my second solution - it was my reason to try the first one first ;-) And you are perfectly right in suspecting the geometry manager: it is certainly the culprit: in my first solution it does its work AFTER the handler resizing the image is completed. And the size of images was set in reference to a "geometrized" rectangle graphic. So of course the image size corresponds to the previous size of this graphic... I foresee a nice moment to write scripts to control the size of a good amount of objects. Still many thanks, and all the best Jacques Le 15 d?c. 2009 ? 12:58, Mark Schonewille a ?crit : > Hi Jacques, > > When you copy a resized picture, Revolution may restore the original dimensions. Copy the picture first, then resize the new picture, or use the imagedata of the old picture to set the imagedata of the new picture. If you do the latter, set the dimensions of the new picture to formattedHeight and formattedWidth. > > I strongly recommend not to use the geometry manager. Instead, write your own scripts in a resizeStack handler. This is more reliable and gives you more control in situations like these. > > Your incomplete scripts don't give me a good impression of what is going on, hence I can't tell you why the screen unlocks prematurely. Do you have an answer or ask dialogue somewhere? Are you repeating or waiting with messages perhaps? > > Note that locking the screen doesn't really lock the entire screen and not even the entire Revolution interface. It only locks windows, while they are redrawn in memory. > > In the case of your particular stack, when the resizeStack handler runs, all other handlers have finished already, because I don't see an explicit call to the resizeStack handler. If a handler containing the lock screen command finishes, the screen unlocks. This means that screen will unlock before the resizeStack handler runs. > > Just a few thoughts. I hope this helps. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Full PayPal integration and automation in web site or (Revolution/SuperCard/other) software. Contact me for a quote > http://economy-x-talk.com/contact.html > > Op 15 dec 2009, om 12:45 heeft Jacques Hausser het volgende geschreven: > >> Thanks, Mark. Works for almost everything, except for a copy of a picture (I have the original picture hidden and resized in the background, and a visible copy of it to work on). I tried two solutions >> >> 1) resize the original picture and recopy it in my changeStackSize command: >> >> command changeStackSize >> lock screen >> -- (computes and sets the new size) >> resetpicture -- (resizes the original picture and recopy it) >> end changeStackSize >> >> The picture is not resized... why ? >> >> 2) catch the resizeStack message and resize the picture from there >> >> command changeStackSize >> lock screen >> -- (computes and sets the new size) >> end changeStackSize >> >> on resizeStack >> lock screen >> revupdateGeometry >> resetpicture - (resizes the original picture and recopy it) >> end resizeStack >> >> the picture is resized OK, but you see the two successive steps on the screen... >> Needless to say that resetpicture is the same in both cases... >> >> Jacques > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From selander at tkf.att.ne.jp Tue Dec 15 09:37:09 2009 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 15 Dec 2009 23:37:09 +0900 Subject: interrupting a repeat loop In-Reply-To: <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> Message-ID: <4B279F15.6040901@tkf.att.ne.jp> Is there any way in RR to check for user input during a repeat loop? I'd like a loop to continue until the user types a certain key -- at which point the script would exit the handler. Tim Selander Tokyo, Japan From bvg at mac.com Tue Dec 15 10:00:28 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 15 Dec 2009 16:00:28 +0100 Subject: type font size in dictionary In-Reply-To: <200912150658.50844.palcibiades-first@yahoo.co.uk> References: <200912150658.50844.palcibiades-first@yahoo.co.uk> Message-ID: It's a rev stack, and you can set the default font (of the field the content is shown in) to a larger size... however most of the text has it's own style, and those are set by scripts, so you'd need to go trough the scripts and set them yourself. There's a chance that you change the wrong thing and the ide becomes unusable (i hope you feel warned). And finally, when rev updates the docu stack, your changes might be overwritten. The easier way is, to use my bvg docu stack, where you can set text sizes in the settings: http://bjoernke.com/?target=bvgdocu On 15 Dec 2009, at 07:58, Peter Alcibiades wrote: > How does one change the size of the font in the dictionary? To make > it > several sizes larger? -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From jacques.hausser at unil.ch Tue Dec 15 10:01:08 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Tue, 15 Dec 2009 16:01:08 +0100 Subject: interrupting a repeat loop In-Reply-To: <4B279F15.6040901@tkf.att.ne.jp> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> Message-ID: <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> Hi Tim it depends of the kind of loop you are using. Several possibilities For example in a card script: local stoploop command runTheLoop repeat forever if stoploop = "S" then exit repeat -- do what you want wait 10 milliseconds with message end repeat end runTheLoop on keyDown thekey put thekey into stoploop end keydown The "wait x milliseconds with message" is the important trick here. Jacques Le 15 d?c. 2009 ? 15:37, Tim Selander a ?crit : > Is there any way in RR to check for user input during a repeat loop? I'd like a loop to continue until the user types a certain key -- at which point the script would exit the handler. > > Tim Selander > Tokyo, Japan > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From jacques.hausser at unil.ch Tue Dec 15 10:04:18 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Tue, 15 Dec 2009 16:04:18 +0100 Subject: interrupting a repeat loop In-Reply-To: <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> Message-ID: <9C1F6C69-2042-4F0A-B0D9-5D94BFD59767@unil.ch> Sorry, it is "with messages", plural ! Le 15 d?c. 2009 ? 16:01, Jacques Hausser a ?crit : > Hi Tim > > it depends of the kind of loop you are using. Several possibilities For example in a card script: > > local stoploop > > command runTheLoop > repeat forever > if stoploop = "S" then exit repeat > -- do what you want > wait 10 milliseconds with message > end repeat > end runTheLoop > > on keyDown thekey > put thekey into stoploop > end keydown > > The "wait x milliseconds with message" is the important trick here. > > Jacques > > Le 15 d?c. 2009 ? 15:37, Tim Selander a ?crit : > >> Is there any way in RR to check for user input during a repeat loop? I'd like a loop to continue until the user types a certain key -- at which point the script would exit the handler. >> >> Tim Selander >> Tokyo, Japan >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel/fax: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.hausser at unil.ch > ******************************************* > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From davidocoker at gmail.com Tue Dec 15 10:28:35 2009 From: davidocoker at gmail.com (D.Coker) Date: Tue, 15 Dec 2009 09:28:35 -0600 (CST) Subject: type font size in dictionary In-Reply-To: Message-ID: <21538426.71260890911976.JavaMail.HAPPY-LAPPY$@Happy-Lappy> >From: "Bj?rnke von Gierke" >To: "How to use Revolution" >Sent: Tuesday, December 15, 2009 9:00:28 AM GMT -06:00 US/Canada Central >Subject: Re: type font size in dictionary > >It's a rev stack, and you can set the default font (of the field the >content is shown in) to a larger size... however most of the text has >it's own style, and those are set by scripts, so you'd need to go >trough the scripts and set them yourself. There's a chance that you >change the wrong thing and the ide becomes unusable (i hope you feel >warned). And finally, when rev updates the docu stack, your changes >might be overwritten. > >The easier way is, to use my bvg docu stack, where you can set text >sizes in the settings: Hello Bj?rnke, Using dual monitors (one set at a very high resolution), I too would prefer to have documentation displaying larger fonts, but that leads to another question... Does your document stack replace the original version or can either one be used by choice? Best regards, David C. From bvg at mac.com Tue Dec 15 10:38:54 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 15 Dec 2009 16:38:54 +0100 Subject: type font size in dictionary In-Reply-To: <21538426.71260890911976.JavaMail.HAPPY-LAPPY$@Happy-Lappy> References: <21538426.71260890911976.JavaMail.HAPPY-LAPPY$@Happy-Lappy> Message-ID: >> http://bjoernke.com/?target=bvgdocu > > > Does your document stack replace the original version or can either > one be used by choice? There is no replacing going on. However, my stack needs the documentation one time for an initial setup. It will thus display a kind of Setup wizard when you first start it. After this first step, my stack is best used as a plugin to start when rev starts. just put the stack into your plugins folder, and the rest should be self explanatory. have fun Bj?rnke -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From selander at tkf.att.ne.jp Tue Dec 15 10:40:21 2009 From: selander at tkf.att.ne.jp (Tim Selander) Date: Wed, 16 Dec 2009 00:40:21 +0900 Subject: interrupting a repeat loop In-Reply-To: <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> Message-ID: <4B27ADE5.9010707@tkf.att.ne.jp> Works great; that's just the thing I was looking for! Thank you. Tim Selander Tokyo, Japan Jacques Hausser wrote: > Hi Tim > > it depends of the kind of loop you are using. Several possibilities For example in a card script: > > local stoploop > > command runTheLoop > repeat forever > if stoploop = "S" then exit repeat > -- do what you want > wait 10 milliseconds with message > end repeat > end runTheLoop > > on keyDown thekey > put thekey into stoploop > end keydown > > The "wait x milliseconds with message" is the important trick here. > > Jacques > > Le 15 d?c. 2009 ? 15:37, Tim Selander a ?crit : > >> From jacques.hausser at unil.ch Tue Dec 15 10:55:37 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Tue, 15 Dec 2009 16:55:37 +0100 Subject: interrupting a repeat loop In-Reply-To: <4B27ADE5.9010707@tkf.att.ne.jp> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> <4B27ADE5.9010707@tkf.att.ne.jp> Message-ID: <0B8A9705-A9C7-408F-BA78-6F9D06A4F554@unil.ch> Tim, I forgot two little things: local stoploop command runTheLoop put empty into stoploop -- as stoploop is a "permanent" variable, it should already contain "S" and the loop will not run repeat forever if stoploop = "S" then exit repeat -- do what you want wait 10 milliseconds with messages end repeat end runTheLoop on keyDown thekey put thekey into stoploop pass keydown -- depends of what else is in your card script, without this line something else could be blocked... end keydown Sorry, I was answering too quickly ! Jacques ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From davidocoker at gmail.com Tue Dec 15 10:52:06 2009 From: davidocoker at gmail.com (D.Coker) Date: Tue, 15 Dec 2009 09:52:06 -0600 (CST) Subject: type font size in dictionary In-Reply-To: Message-ID: <13336072.111260892322435.JavaMail.HAPPY-LAPPY$@Happy-Lappy> That's great, thank you so much! ----- Original Message ----- From: "Bj?rnke von Gierke" To: "How to use Revolution" Sent: Tuesday, December 15, 2009 9:38:54 AM GMT -06:00 US/Canada Central Subject: Re: type font size in dictionary >> http://bjoernke.com/?target=bvgdocu > > > Does your document stack replace the original version or can either > one be used by choice? There is no replacing going on. However, my stack needs the documentation one time for an initial setup. It will thus display a kind of Setup wizard when you first start it. After this first step, my stack is best used as a plugin to start when rev starts. just put the stack into your plugins folder, and the rest should be self explanatory. have fun Bj?rnke From rjb at robelko.com Tue Dec 15 10:59:39 2009 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 15 Dec 2009 16:59:39 +0100 Subject: interrupting a repeat loop In-Reply-To: <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> Message-ID: On 15.12.2009 at 16:01 Uhr +0100 Jacques Hausser apparently wrote: >Hi Tim > >it depends of the kind of loop you are using. Several possibilities >For example in a card script: > >local stoploop > >command runTheLoop > repeat forever > if stoploop = "S" then exit repeat > -- do what you want > wait 10 milliseconds with message > end repeat >end runTheLoop > >on keyDown thekey > put thekey into stoploop >end keydown > >The "wait x milliseconds with message" is the important trick here. > >Jacques > If it is not relevant which key is being pressed, then a tad simpler variation is command runTheLoop repeat forever if the shiftkey is down then exit repeat -- do what you want end repeat end runTheLoop It could also be altKey/optionKey or controlKey/commandKey instead of shiftkey. Robert From stephenREVOLUTION2 at barncard.com Tue Dec 15 11:52:51 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 15 Dec 2009 08:52:51 -0800 Subject: type font size in dictionary In-Reply-To: <13336072.111260892322435.JavaMail.HAPPY-LAPPY$@Happy-Lappy> References: <13336072.111260892322435.JavaMail.HAPPY-LAPPY$@Happy-Lappy> Message-ID: Hey, this is great. I will donate. I like the attention to detail. Also the (unprotected) stack itself is a good example of some rather nice divider bars, geometry, practical use of XML, and plugin design. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/15 D.Coker > That's great, thank you so much! > > > ----- Original Message ----- > From: "Bj?rnke von Gierke" > To: "How to use Revolution" > Sent: Tuesday, December 15, 2009 9:38:54 AM GMT -06:00 US/Canada Central > Subject: Re: type font size in dictionary > > >> http://bjoernke.com/?target=bvgdocu > > > > > > Does your document stack replace the original version or can either > > one be used by choice? > > > There is no replacing going on. However, my stack needs the > documentation one time for an initial setup. It will thus display a > kind of Setup wizard when you first start it. After this first step, > my stack is best used as a plugin to start when rev starts. just put > the stack into your plugins folder, and the rest should be self > explanatory. > > have fun > Bj?rnke > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdev at pdslabs.net Tue Dec 15 12:20:53 2009 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 15 Dec 2009 09:20:53 -0800 Subject: interrupting a repeat loop In-Reply-To: References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> Message-ID: <4B27C575.9080400@pdslabs.net> Another way to check for any key being down is: command runTheLoop repeat forever if the keysDown <> empty then exit repeat -- do what you want end repeat end runTheLoop HTH - Phil Davis On 12/15/09 7:59 AM, Robert Brenstein wrote: > On 15.12.2009 at 16:01 Uhr +0100 Jacques Hausser apparently wrote: >> Hi Tim >> >> it depends of the kind of loop you are using. Several possibilities >> For example in a card script: >> >> local stoploop >> >> command runTheLoop >> repeat forever >> if stoploop = "S" then exit repeat >> -- do what you want >> wait 10 milliseconds with message >> end repeat >> end runTheLoop >> >> on keyDown thekey >> put thekey into stoploop >> end keydown >> >> The "wait x milliseconds with message" is the important trick here. >> >> Jacques >> > > > If it is not relevant which key is being pressed, then a tad simpler > variation is > > command runTheLoop > repeat forever > if the shiftkey is down then exit repeat > -- do what you want > end repeat > end runTheLoop > > It could also be altKey/optionKey or controlKey/commandKey instead of > shiftkey. > > Robert -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From andre at andregarzia.com Tue Dec 15 13:43:19 2009 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 15 Dec 2009 16:43:19 -0200 Subject: interrupting a repeat loop In-Reply-To: <4B27C575.9080400@pdslabs.net> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> <4B27C575.9080400@pdslabs.net> Message-ID: <7c87a2a10912151043h523e27f8q6e6dab41173e12a1@mail.gmail.com> Hi Folks, this been answered in many ways already but I thought I'd chime in and try to answer it in a different way. The key is to think of reusable code, every now and them we keep rewritting the same pieces over and over again. How do we create a generic thing that will: 1) Run some code in a loop 2) Enable us to stop this execution when something happen If speed is not the main issue here, then we can approach this with a more flexible way by creating a group of functions that will enable a generic handler to be executed until something else make it stop. We will use the new dispatch calls for that. command iterate pHandlerToLoop, pHandlerThatInterrupts dispatch pHandlerThatInterrupts if the result is true then dispatch pHandlerToLoop if the result is true then dispatch iterate with pHandlerToLoop, pHandlerThatInterrupts end if end if end iterate This code will first call a command to check if the loop should be executed, this command should return true or false. If it is true then it will call the loop command once and if the loop command returned true, it will call itself again. This code will loop and will exit the loop if any of two things happen, the command that interrupts return false or the command that loops return false, for example, let us count to ten using this code: local lCount on countToTen add 1 to lCount return true end countToTen on isItTenYet if lCount is 10 then return false else return true end if end isItTenYet on mouseUp mouseButtonNumber iterate "countToTen", "isItTenYet" put lCount end mouseup This has the benefit of splitting the code to be looped from the code that says if it should loop more, this way, one could simply change the isItTenYet command to something that checks for the key press without touching the countToTen function. This code will work for any kind of loop and it is nonblocking. You can reuse this for example to create code that reads from sockets or anything mathematical that loops until some condition is matched. Instead of using a simple repeat loop with exit conditions and the like mixed with the logic that should be looped, this will create some clear distinctions which leads to more readable code in my experience. Reusable code is your friend! Cheers andre -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Tue Dec 15 13:45:24 2009 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 15 Dec 2009 16:45:24 -0200 Subject: How to prevent unlocking the screen In-Reply-To: <4C0A31F6-7EDC-419D-9E35-C825BA0A6B91@unil.ch> References: <200912150658.50844.palcibiades-first@yahoo.co.uk> <4C0A31F6-7EDC-419D-9E35-C825BA0A6B91@unil.ch> Message-ID: <7c87a2a10912151045m28eb5ac6mb345a84b7fb5821a@mail.gmail.com> Jacques, try hiding the stack and showing it only when everything happened... it will flick on the screen but it might be more pleasant On Tue, Dec 15, 2009 at 8:25 AM, Jacques Hausser wrote: > Hello everybody, > > I want to change the size of a stack: > > command changeStackSize > lock screen > -- (computes and set the new size) > end changeStackSize > > The problem is that notwithstanding the "lock screen" the change is visible > in two steps: first the window size, and then the content. I would like to > hide the change till completed. How to do ? > Thanks in advance > > Jacques > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel/fax: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.hausser at unil.ch > ******************************************* > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From cmsheffield at gmail.com Tue Dec 15 13:46:01 2009 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue, 15 Dec 2009 11:46:01 -0700 Subject: regex question in matchChunk function Message-ID: <1AF00F21-CF79-4F03-BCB5-D0917F743513@gmail.com> I am not very familiar with regular expressions, and I'm wondering if someone more knowledgeable could give me a hint as to how to accomplish this. Given a passage of text, I need to find every instance of certain words within that text and draw a box around them. The box drawing I can handle just fine by including "box" in the textStyle of the found chunk. But it's finding the instances that I'm struggling with. Here is my code. Big warning! This should not be run as is, if anyone wants to attempt it. The second repeat will go forever. repeat for each line tWord in tDiffWords repeat until matchChunk(tStoryText, "(?i)\b(" & tWord & ")\b", tStartChar, tEndChar) is false put the textStyle of char tStartChar to tEndChar of fld "StoryText" into tStyle if tStyle is empty or tStyle is "plain" then put "box" into tStyle else put comma & "box" after tStyle end if set the textStyle of char tStartChar to tEndChar of fld "StoryText" to tStyle end repeat end repeat What I need is some way to use the matchChunk function and continue the search where the last search ended. I read through some regex documentation and came across "\G", but this doesn't seem to work in Rev. But maybe I'm not putting it in the right place in my search string. Can anyone help? Is there a way to do this? Or can someone recommend another method of accomplishing the same thing? Keep in mind that this needs to search whole words in a story passage, and we're dealing with all kinds of punctuation here, including hyphens, em dashes, etc. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From gbrackett at luceatlux.com Tue Dec 15 13:52:23 2009 From: gbrackett at luceatlux.com (George C Brackett) Date: Tue, 15 Dec 2009 13:52:23 -0500 Subject: interrupting a repeat loop In-Reply-To: <7c87a2a10912151043h523e27f8q6e6dab41173e12a1@mail.gmail.com> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> <4B27C575.9080400@pdslabs.net> <7c87a2a10912151043h523e27f8q6e6dab41173e12a1@mail.gmail.com> Message-ID: Dumb question: could your approach result in too deep a recursion while looping some quick code? George On Dec 15, 2009, at 1:43 PM, Andre Garzia wrote: Hi Folks, this been answered in many ways already but I thought I'd chime in and try to answer it in a different way. The key is to think of reusable code, every now and them we keep rewritting the same pieces over and over again. How do we create a generic thing that will: 1) Run some code in a loop 2) Enable us to stop this execution when something happen If speed is not the main issue here, then we can approach this with a more flexible way by creating a group of functions that will enable a generic handler to be executed until something else make it stop. We will use the new dispatch calls for that. command iterate pHandlerToLoop, pHandlerThatInterrupts dispatch pHandlerThatInterrupts if the result is true then dispatch pHandlerToLoop if the result is true then dispatch iterate with pHandlerToLoop, pHandlerThatInterrupts end if end if end iterate This code will first call a command to check if the loop should be executed, this command should return true or false. If it is true then it will call the loop command once and if the loop command returned true, it will call itself again. This code will loop and will exit the loop if any of two things happen, the command that interrupts return false or the command that loops return false, for example, let us count to ten using this code: local lCount on countToTen add 1 to lCount return true end countToTen on isItTenYet if lCount is 10 then return false else return true end if end isItTenYet on mouseUp mouseButtonNumber iterate "countToTen", "isItTenYet" put lCount end mouseup This has the benefit of splitting the code to be looped from the code that says if it should loop more, this way, one could simply change the isItTenYet command to something that checks for the key press without touching the countToTen function. This code will work for any kind of loop and it is nonblocking. You can reuse this for example to create code that reads from sockets or anything mathematical that loops until some condition is matched. Instead of using a simple repeat loop with exit conditions and the like mixed with the logic that should be looped, this will create some clear distinctions which leads to more readable code in my experience. Reusable code is your friend! Cheers andre -- http://www.andregarzia.com All We Do Is Code. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From andre at andregarzia.com Tue Dec 15 14:01:23 2009 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 15 Dec 2009 17:01:23 -0200 Subject: interrupting a repeat loop In-Reply-To: References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> <4B27C575.9080400@pdslabs.net> <7c87a2a10912151043h523e27f8q6e6dab41173e12a1@mail.gmail.com> Message-ID: <7c87a2a10912151101k38a700e0u667766a48f7a3307@mail.gmail.com> Good question george, it depends on the works of dispatch call. Let me try something here, ok did try it, tried computing some big sums and factorials, it can reach recursion limit depending on memory usage but I've reached overflow before reaching recursion limits. But checking the recursionlimits on the dictionary, I see we can increase it by code! :-O So, if you're going to comput something big, then increase it!!! :D On Tue, Dec 15, 2009 at 4:52 PM, George C Brackett wrote: > Dumb question: could your approach result in too deep a recursion while > looping some quick code? > > George > > On Dec 15, 2009, at 1:43 PM, Andre Garzia wrote: > > Hi Folks, > > this been answered in many ways already but I thought I'd chime in and try > to answer it in a different way. The key is to think of reusable code, > every > now and them we keep rewritting the same pieces over and over again. How do > we create a generic thing that will: > > 1) Run some code in a loop > 2) Enable us to stop this execution when something happen > > If speed is not the main issue here, then we can approach this with a more > flexible way by creating a group of functions that will enable a generic > handler to be executed until something else make it stop. We will use the > new dispatch calls for that. > > command iterate pHandlerToLoop, pHandlerThatInterrupts > dispatch pHandlerThatInterrupts > if the result is true then > dispatch pHandlerToLoop > if the result is true then > dispatch iterate with pHandlerToLoop, pHandlerThatInterrupts > end if > end if > end iterate > > This code will first call a command to check if the loop should be > executed, > this command should return true or false. If it is true then it will call > the loop command once and if the loop command returned true, it will call > itself again. This code will loop and will exit the loop if any of two > things happen, the command that interrupts return false or the command that > loops return false, for example, let us count to ten using this code: > > local lCount > > on countToTen > add 1 to lCount > return true > end countToTen > > on isItTenYet > if lCount is 10 then > return false > else > return true > end if > end isItTenYet > > on mouseUp mouseButtonNumber > iterate "countToTen", "isItTenYet" > put lCount > end mouseup > > This has the benefit of splitting the code to be looped from the code that > says if it should loop more, this way, one could simply change the > isItTenYet command to something that checks for the key press without > touching the countToTen function. This code will work for any kind of loop > and it is nonblocking. You can reuse this for example to create code that > reads from sockets or anything mathematical that loops until some condition > is matched. > > Instead of using a simple repeat loop with exit conditions and the like > mixed with the logic that should be looped, this will create some clear > distinctions which leads to more readable code in my experience. Reusable > code is your friend! > > Cheers > andre > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at 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. From jacques.hausser at unil.ch Tue Dec 15 14:02:53 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Tue, 15 Dec 2009 20:02:53 +0100 Subject: How to prevent unlocking the screen In-Reply-To: <7c87a2a10912151045m28eb5ac6mb345a84b7fb5821a@mail.gmail.com> References: <200912150658.50844.palcibiades-first@yahoo.co.uk> <4C0A31F6-7EDC-419D-9E35-C825BA0A6B91@unil.ch> <7c87a2a10912151045m28eb5ac6mb345a84b7fb5821a@mail.gmail.com> Message-ID: Andre Thank you, I solved the problem, and I think it's a generalisable trick if you know exactly how to compute the future size of the stack (perhaps a rare situation, but it's my case, the stack has only few possible sizes): 1) compute the future size of your stack 2) lock screen 3) compute the future size and position of every objet in the card 4) set their size and position. They will perhaps be outside the present window, but it's not a problem since the screen is locked. 5) only after that, set the new stack size. Works perfectly well (almost) without a flick ! Jacques Le 15 d?c. 2009 ? 19:45, Andre Garzia a ?crit : > Jacques, > > try hiding the stack and showing it only when everything happened... it will > flick on the screen but it might be more pleasant > > On Tue, Dec 15, 2009 at 8:25 AM, Jacques Hausser wrote: > >> Hello everybody, >> >> I want to change the size of a stack: >> >> command changeStackSize >> lock screen >> -- (computes and set the new size) >> end changeStackSize >> >> The problem is that notwithstanding the "lock screen" the change is visible >> in two steps: first the window size, and then the content. I would like to >> hide the change till completed. How to do ? >> Thanks in advance >> >> Jacques >> >> ****************************************** >> Prof. Jacques Hausser >> Department of Ecology and Evolution >> Biophore / Sorge >> University of Lausanne >> CH 1015 Lausanne >> please use my private address: >> 6 route de Burtigny >> CH-1269 Bassins >> tel/fax: ++ 41 22 366 19 40 >> mobile: ++ 41 79 757 05 24 >> E-Mail: jacques.hausser at unil.ch >> ******************************************* >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From sanke at hrz.uni-kassel.de Tue Dec 15 14:44:45 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Tue, 15 Dec 2009 20:44:45 +0100 Subject: Rev IDE vs MetaCard IDE Message-ID: <4B27E72D.1040200@hrz.uni-kassel.de> I do not care too much how the historical icons look, what I care about is the functionality of the Metacard IDE. Above all I like the quickly accessible "Control Browser", which is my main tool during programming. Also: No interference from front- or backscripts in the IDE. The workflow - for my needs - is fast, and this is not only because I am used to the MC IDE. The Rev IDE has improved considerably and gradually over time. In the beginning it was nearly un-usable, especially with stacks that contained a larger number of objects, so you had to produce your own tools for specific purposes. What I like most of the present Rev IDE is the Dictionary. Still, there are points that could be improved. A few examples. - Response speed of the Rev IDE is sometimes slow: When the menubar comes up (on a 3 GHz Windows computer), first a blank rectangle is shown, after which menuitems and icons apppear. Opening menus is especially slow with cards that contain many controls. - You can have open only one script editor at the same time in the Rev IDE, the Metacard IDE allows any number of open script editors (which simplifies the comparison and editing of scripts) - If you edit a script and close the editor with the close icon - instead of the compile button - the tools palette (which disappears when you open the script editor) will not re-appear. You have to take a detour now to bring back the tools palette, for instance using the message box. - Using the Property Inspector, which comes up with a noticable delay, and accessing the script needs one step more than in the Metacard IDE. But of course, using right-click on an object for getting at script and properties is the same in both IDEs. - Using Rev's Standalone Builder with larger stacks was a nightmare until recently (including IDE version 3.5). With some stacks the Standalone Builder needed 45 minutes and longer to build the standalone - as opposed to one second in the Metacard IDE. Happily this has been fixed now with version 4.0, and it should be mentioned that this improvement was initiated and supported by a discussion between Oliver Kenyon and Metacard users.- The group of Metacard IDE users - all of which are Rev Enterprise license holders - are naturally interested in the further improvement and development of Revolution (both the engine and the IDE) and some group members have made valuable contributions to this development. This is not only because the Metacard IDE - in the same way as the Rev IDE - needs and uses the Revolution engine (which, by the way, originated from the old Metacard engine). New Rev features are usually integrated into the Metacard IDE, too. At present there is work in progress to adapt the Metacard IDE to the new standalone building process of Rev.- Wilhelm Sanke From andre at andregarzia.com Tue Dec 15 14:54:00 2009 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 15 Dec 2009 17:54:00 -0200 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <4B27E72D.1040200@hrz.uni-kassel.de> References: <4B27E72D.1040200@hrz.uni-kassel.de> Message-ID: <7c87a2a10912151154t4a139d6eocf48a2eb284aa6f8@mail.gmail.com> What is the control browser? Never seen it... On Tue, Dec 15, 2009 at 5:44 PM, Wilhelm Sanke wrote: > I do not care too much how the historical icons look, what I care about is > the functionality of the Metacard IDE. Above all I like the quickly > accessible "Control Browser", which is my main tool during programming. > Also: No interference from front- or backscripts in the IDE. > > The workflow - for my needs - is fast, and this is not only because I am > used to the MC IDE. > > The Rev IDE has improved considerably and gradually over time. In the > beginning it was nearly un-usable, especially with stacks that contained a > larger number of objects, so you had to produce your own tools for specific > purposes. What I like most of the present Rev IDE is the Dictionary. > > Still, there are points that could be improved. A few examples. > > - Response speed of the Rev IDE is sometimes slow: > When the menubar comes up (on a 3 GHz Windows computer), first a blank > rectangle is shown, after which menuitems and icons apppear. > Opening menus is especially slow with cards that contain many controls. > > - You can have open only one script editor at the same time in the Rev IDE, > the Metacard IDE allows any number of open script editors (which simplifies > the comparison and editing of scripts) > > - If you edit a script and close the editor with the close icon - instead > of the compile button - the tools palette (which disappears when you open > the script editor) will not re-appear. You have to take a detour now to > bring back the tools palette, for instance using the message box. > > - Using the Property Inspector, which comes up with a noticable delay, and > accessing the script needs one step more than in the Metacard IDE. But of > course, using right-click on an object for getting at script and properties > is the same in both IDEs. > > - Using Rev's Standalone Builder with larger stacks was a nightmare until > recently (including IDE version 3.5). With some stacks the Standalone > Builder needed 45 minutes and longer to build the standalone - as opposed to > one second in the Metacard IDE. Happily this has been fixed now with version > 4.0, and it should be mentioned that this improvement was initiated and > supported by a discussion between Oliver Kenyon and Metacard users.- > > The group of Metacard IDE users - all of which are Rev Enterprise license > holders - are naturally interested in the further improvement and > development of Revolution (both the engine and the IDE) and some group > members have made valuable contributions to this development. This is not > only because the Metacard IDE - in the same way as the Rev IDE - needs and > uses the Revolution engine (which, by the way, originated from the old > Metacard engine). New Rev features are usually integrated into the Metacard > IDE, too. At present there is work in progress to adapt the Metacard IDE to > the new standalone building process of Rev.- > > Wilhelm Sanke > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From mwieder at ahsoftware.net Tue Dec 15 14:52:46 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 15 Dec 2009 11:52:46 -0800 Subject: interrupting a repeat loop In-Reply-To: <7c87a2a10912151101k38a700e0u667766a48f7a3307@mail.gmail.com> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> <4B27C575.9080400@pdslabs.net> <7c87a2a10912151043h523e27f8q6e6dab41173e12a1@mail.gmail.com> <7c87a2a10912151101k38a700e0u667766a48f7a3307@mail.gmail.com> Message-ID: <126525203484.20091215115246@ahsoftware.net> Andre- Tuesday, December 15, 2009, 11:01:23 AM, you wrote: > But checking the recursionlimits on the dictionary, I see we can increase it > by code! :-O So, if you're going to comput something big, then increase > it!!! However, note that the default recursionlimit is actually 400000, not the 1000000 noted in the docs... I thought I had filed a doc bug against this, but I can't find it, so I'll file it now. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Tue Dec 15 15:00:03 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 15 Dec 2009 14:00:03 -0600 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <4B27E72D.1040200@hrz.uni-kassel.de> References: <4B27E72D.1040200@hrz.uni-kassel.de> Message-ID: <4B27EAC3.1000007@hyperactivesw.com> Wilhelm Sanke wrote: > I do not care too much how the historical icons look, what I care about > is the functionality of the Metacard IDE. Above all I like the quickly > accessible "Control Browser", which is my main tool during programming. I like MC's control browser too. Sometimes I only want to see what's immediately available on a card, not the whole hierarchy of objects and stacks. And I really like how I can change the layering order of objects so easily in MC, from directly within the browser. Sometimes I do want to see everything, so then I look at the stack in Rev. Each IDE has advantages/disadvantages. A couple of things that might make your work in Rev easier: > - You can have open only one script editor at the same time in the Rev > IDE, the Metacard IDE allows any number of open script editors (which > simplifies the comparison and editing of scripts) If you right-click on an editor tab, you can open that script in a new window. If you always want new windows and you never want tabs, change the option in the Script Editor pane Preferences. That way it acts like MC. > > - If you edit a script and close the editor with the close icon - > instead of the compile button - the tools palette (which disappears when > you open the script editor) will not re-appear. You have to take a > detour now to bring back the tools palette, for instance using the > message box. Change the option in Prefs that specifies whether to hide palettes when opening the editor. This is one of the first things I change whenever I set up new prefs. I never want palettes or the message box hidden. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 15 15:03:06 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 15 Dec 2009 14:03:06 -0600 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <7c87a2a10912151154t4a139d6eocf48a2eb284aa6f8@mail.gmail.com> References: <4B27E72D.1040200@hrz.uni-kassel.de> <7c87a2a10912151154t4a139d6eocf48a2eb284aa6f8@mail.gmail.com> Message-ID: <4B27EB7A.90100@hyperactivesw.com> Andre Garzia wrote: > What is the control browser? Never seen it... In the MC IDE, choose Control Browser from the Tools menu. You will see a list of objects on the current card. You can quickly change the layering order from there, click a button to edit any object script, or double-click to open the object's property inspector. It's very fast. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From zryip.theslug at gmail.com Tue Dec 15 15:04:13 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 15 Dec 2009 21:04:13 +0100 Subject: interrupting a repeat loop In-Reply-To: <4B279F15.6040901@tkf.att.ne.jp> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> Message-ID: <64bda6470912151204j8b5d58btf15bec51603cf97b@mail.gmail.com> 2009/12/15 Tim Selander > Is there any way in RR to check for user input during a repeat loop? I'd > like a loop to continue until the user types a certain key -- at which point > the script would exit the handler. > > Tim Selander > Tokyo, Japan > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Hi Tim, Maybe you could use the keysDown function. This RR function returns the ascii form of the keys pressed while a handler is being executed. For example this mouseUp handler add 1 to the fld msg until the key "s" is pressed : *on* mouseUp *put* 0 into fld "Msg" *repeat* until charToNum("s") is in the keysDown -- the charToNum function is necessary to compare the key with the content returned by the keysDown function. The keysDown function returns a list of keys in ascii form separated by commas. *add* 1 to fld "Msg" *wait* 30 ticks *end* *repeat* *end* mouseUp Hope this helps. - Zryip TheSlug - wish you the best 8) From troy_lists at rpsystems.net Tue Dec 15 15:05:00 2009 From: troy_lists at rpsystems.net (Troy Rollins) Date: Tue, 15 Dec 2009 15:05:00 -0500 Subject: regex question in matchChunk function In-Reply-To: <1AF00F21-CF79-4F03-BCB5-D0917F743513@gmail.com> References: <1AF00F21-CF79-4F03-BCB5-D0917F743513@gmail.com> Message-ID: On Dec 15, 2009, at 1:46 PM, Chris Sheffield wrote: > Can anyone help? Is there a way to do this? Or can someone recommend > another method of accomplishing the same thing? Offset -- Troy RPSystems, Ltd. http://www.rpsystems.net From dunbarx at aol.com Tue Dec 15 15:07:58 2009 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 15 Dec 2009 15:07:58 EST Subject: regex question in matchChunk function Message-ID: <6902.63c584d6.3859469e@aol.com> I am not either. but: on mouseup get fld "yourField" repeat with y = 1 to the number of words in it if word y of it = yourtext then set the textstyle of word y of fld "yourField" to "box" end repeat end mouseup Now this writes to fld "yourfield" every time it matches. I think if you use the "htmltext" you can work in a variable and set the style all at once. Faster. Craig newman From dunbarx at aol.com Tue Dec 15 15:33:51 2009 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 15 Dec 2009 15:33:51 EST Subject: HTMLText question Message-ID: <6ea1.32380556.38594caf@aol.com> Can I use the HTMLText property in a variable? In other words, why does this fail with an error? on mouseup get fld "myField" --has a few words in it set the htmlText of word 2 of it to "word 2 of it" set the htmltext of fld "myField" to it end mouseup Only field references allowed? This seems to indicate that only a literal can be used when setting the tags: on mouseup get fld "myField" --has a few words in it set the htmlText of word 2 of field "myField" to "word 2 of it< /box>" end mouseup You get "word 2 of it", nicely boxed. Thanks. I am still a newbie. Craig Newman From jerry.daniels at me.com Tue Dec 15 15:41:24 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 15 Dec 2009 14:41:24 -0600 Subject: HTMLText question In-Reply-To: <6ea1.32380556.38594caf@aol.com> References: <6ea1.32380556.38594caf@aol.com> Message-ID: <723E42B7-558E-4774-8B52-6664D9412BEF@me.com> You need a field for setting HTMLtext. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-manage-your-audio-clips On Dec 15, 2009, at 2:33 PM, dunbarx at aol.com wrote: > Can I use the HTMLText property in a variable? > > In other words, why does this fail with an error? > > on mouseup > get fld "myField" --has a few words in it > set the htmlText of word 2 of it to "word 2 of it" > set the htmltext of fld "myField" to it > end mouseup > > Only field references allowed? > > This seems to indicate that only a literal can be used when setting > the > tags: > > on mouseup > get fld "myField" --has a few words in it > set the htmlText of word 2 of field "myField" to "word 2 of > it< > /box>" > end mouseup > > You get "word 2 of it", nicely boxed. > > Thanks. I am still a newbie. > > Craig Newman > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From devin_asay at byu.edu Tue Dec 15 15:47:43 2009 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 15 Dec 2009 13:47:43 -0700 Subject: HTMLText question In-Reply-To: <6ea1.32380556.38594caf@aol.com> References: <6ea1.32380556.38594caf@aol.com> Message-ID: <37C40781-D3F9-4687-9623-39D8A7D1FEF6@byu.edu> On Dec 15, 2009, at 1:33 PM, dunbarx at aol.com wrote: > Can I use the HTMLText property in a variable? > > In other words, why does this fail with an error? > > on mouseup > get fld "myField" --has a few words in it > set the htmlText of word 2 of it to "word 2 of it" > set the htmltext of fld "myField" to it > end mouseup Two problems: only fields have the htmlText property (as Jerry mentioned), and you're mixing literals and an expression. Try: get fld "myField" put "" & word 2 of it & "" into word 2 of it set the htmlText of fld "myField" to it Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From dunbarx at aol.com Tue Dec 15 15:56:23 2009 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 15 Dec 2009 15:56:23 EST Subject: regex/HTMLText question Message-ID: <7322.8136146.385951f7@aol.com> Right, thanks to all. Chris', your original regex question could better be addressed by: on mouseup get fld "yourField" replace yourtext with "" & yourtext & "" in it set the htmltext of fld "yourField" to it end mouseup This would be fast, and easily extendable, since we are just crunching data. Not that there isn't a good regex solution as well... Craig Newman From davidocoker at gmail.com Tue Dec 15 16:15:18 2009 From: davidocoker at gmail.com (D.Coker) Date: Tue, 15 Dec 2009 15:15:18 -0600 (CST) Subject: Rev IDE vs MetaCard IDE In-Reply-To: <4B27EB7A.90100@hyperactivesw.com> Message-ID: <3376687.151260911717256.JavaMail.HAPPY-LAPPY$@Happy-Lappy> >Andre Garzia wrote: >> What is the control browser? Never seen it... > >In the MC IDE, choose Control Browser from the Tools menu. You will see >a list of objects on the current card. You can quickly change the >layering order from there, click a button to edit any object script, or >double-click to open the object's property inspector. It's very fast. I remember trying/using the MC IDE way back before Rev and would like to have another look for those very reasons expressed. Is there a place that one can still download it for use with the current version of Rev? Best regards, David C. From andre at andregarzia.com Tue Dec 15 16:39:33 2009 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 15 Dec 2009 19:39:33 -0200 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <3376687.151260911717256.JavaMail.HAPPY-LAPPY$@Happy-Lappy> References: <4B27EB7A.90100@hyperactivesw.com> <3376687.151260911717256.JavaMail.HAPPY-LAPPY$@Happy-Lappy> Message-ID: <7c87a2a10912151339o40447b91y58d9da1e31795cca@mail.gmail.com> David, I think they have a Yahoo! group where you can download it but the address of the group is unknown to me right now. On Tue, Dec 15, 2009 at 7:15 PM, D.Coker wrote: > >Andre Garzia wrote: > >> What is the control browser? Never seen it... > > > >In the MC IDE, choose Control Browser from the Tools menu. You will see > >a list of objects on the current card. You can quickly change the > >layering order from there, click a button to edit any object script, or > >double-click to open the object's property inspector. It's very fast. > > I remember trying/using the MC IDE way back before Rev and would like to > have another look for those very reasons expressed. Is there a place that > one can still download it for use with the current version of Rev? > > Best regards, > David C. > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From jimaultwins at yahoo.com Tue Dec 15 16:44:02 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 15 Dec 2009 13:44:02 -0800 Subject: regex/HTMLText question In-Reply-To: <7322.8136146.385951f7@aol.com> References: <7322.8136146.385951f7@aol.com> Message-ID: Caution: wordoffset, replace, regEx You need to decide what constitutes a word. In Rev, ending ending. ending, ending? ending! ending) ending] ending" ending's ending= (ending) are all words, so the last word in a phrase or sentence cannot be matched by wordoffset without a bit of rule checking for punctuation. The same will apply to regEx since white space/punctuation rules can vary. On Dec 15, 2009, at 12:56 PM, dunbarx at aol.com wrote: > Right, thanks to all. > > Chris', your original regex question could better be addressed by: > > on mouseup > get fld "yourField" > replace yourtext with "" & yourtext & "" in it > set the htmltext of fld "yourField" to it > end mouseup > > This would be fast, and easily extendable, since we are just crunching > data. > > Not that there isn't a good regex solution as well... Jim Ault Las Vegas From jacque at hyperactivesw.com Tue Dec 15 16:46:23 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 15 Dec 2009 15:46:23 -0600 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <3376687.151260911717256.JavaMail.HAPPY-LAPPY$@Happy-Lappy> References: <3376687.151260911717256.JavaMail.HAPPY-LAPPY$@Happy-Lappy> Message-ID: <4B2803AF.3070500@hyperactivesw.com> D.Coker wrote: > I remember trying/using the MC IDE way back before Rev and would like > to have another look for those very reasons expressed. Is there a > place that one can still download it for use with the current version > of Rev? In RevOnline (in Rev's toolbar) search for the "MetaCard Setup" stack. This will download the latest MC IDE and set it up with your (licensed) Rev engine, ready to go. It's all one click. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cmsheffield at gmail.com Tue Dec 15 17:20:04 2009 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue, 15 Dec 2009 15:20:04 -0700 Subject: regex question in matchChunk function In-Reply-To: References: <1AF00F21-CF79-4F03-BCB5-D0917F743513@gmail.com> Message-ID: <950F1387-9F1F-43FC-AC0D-E29462E76DEC@gmail.com> Thanks, Troy. Unfortunately, offset doesn't quite work for me, as it does not honor the wholeMatches property. So I might search for "use", and it would find both "use" and "used", which is not the desired result. However, with some extra code I could probably make it work (manually checking for punctuation, spaces, etc.). Not pretty, but might work. Thanks again, Chris On Dec 15, 2009, at 1:05 PM, Troy Rollins wrote: > > On Dec 15, 2009, at 1:46 PM, Chris Sheffield wrote: > >> Can anyone help? Is there a way to do this? Or can someone recommend another method of accomplishing the same thing? > > Offset > > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From davidocoker at gmail.com Tue Dec 15 17:20:21 2009 From: davidocoker at gmail.com (D.Coker) Date: Tue, 15 Dec 2009 16:20:21 -0600 (CST) Subject: Rev IDE vs MetaCard IDE In-Reply-To: <4B2803AF.3070500@hyperactivesw.com> Message-ID: <7240547.191260915620595.JavaMail.HAPPY-LAPPY$@Happy-Lappy> >In RevOnline (in Rev's toolbar) search for the "MetaCard Setup" stack. >This will download the latest MC IDE and set it up with your (licensed) >Rev engine, ready to go. It's all one click. Cool beans... I'll give it a try. Thank you Jacque! From pmbrig at gmail.com Tue Dec 15 17:21:29 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Tue, 15 Dec 2009 17:21:29 -0500 Subject: regex question in matchChunk function In-Reply-To: <1AF00F21-CF79-4F03-BCB5-D0917F743513@gmail.com> References: <1AF00F21-CF79-4F03-BCB5-D0917F743513@gmail.com> Message-ID: <8267E82C-1AE1-482B-8E07-8268EEA6170B@gmail.com> Here is one way. These are utility functions I use constantly for text processing. Offsets(str,cntr) returns a comma-delimited list of all the offsets of str in ctnr. Lineoffsets(str,cntr) does the same with lineoffsets. Then you can interate over the list of offsets to do whatever you want to each instance of str in cntr. I keep them in a utility stack that is in the stackinuse, so it is available to all stacks. I don't use regex, as I have never gotten the regex syntax to stick in my head firmly enough to find it natural, and in any case doing it by script turns out to be as fast or faster. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig --------- function offsets str,cntr -- returns a comma-delimited list of -- all the offsets of str in cntr put "" into oList put 0 into startPoint repeat put offset(str,cntr,startPoint) into os if os = 0 then exit repeat add os to startPoint put startPoint & "," after oList end repeat if char -1 of oList = "," then delete last char of oList if oList = "" then return "0" return mosList end offsets function lineOffsets str,cntr -- returns a comma-delimited list of -- all the lineoffsets of str in cntr put offsets(str,cntr) into charList if charList = "0" then return "0" put the number of items of charList into nbr put "" into mlo repeat for each item n in charList put the number of lines of (char 1 to n of cntr) \ & "," after oList end repeat if char -1 of oList = "," then delete char -1 of oList return oList end lineOffsets --------- On Dec 15, 2009, at 1:46 PM, Chris Sheffield wrote: > I am not very familiar with regular expressions, and I'm wondering > if someone more knowledgeable could give me a hint as to how to > accomplish this. > > Given a passage of text, I need to find every instance of certain > words within that text and draw a box around them. The box drawing I > can handle just fine by including "box" in the textStyle of the > found chunk. But it's finding the instances that I'm struggling > with. Here is my code. Big warning! This should not be run as is, if > anyone wants to attempt it. The second repeat will go forever. > > repeat for each line tWord in tDiffWords > repeat until matchChunk(tStoryText, "(?i)\b(" & tWord & ") > \b", tStartChar, tEndChar) is false > > put the textStyle of char tStartChar to tEndChar of fld > "StoryText" into tStyle > if tStyle is empty or tStyle is "plain" then > put "box" into tStyle > else > put comma & "box" after tStyle > end if > set the textStyle of char tStartChar to tEndChar of fld > "StoryText" to tStyle > > end repeat > end repeat > > What I need is some way to use the matchChunk function and continue > the search where the last search ended. I read through some regex > documentation and came across "\G", but this doesn't seem to work in > Rev. But maybe I'm not putting it in the right place in my search > string. > > Can anyone help? Is there a way to do this? Or can someone recommend > another method of accomplishing the same thing? Keep in mind that > this needs to search whole words in a story passage, and we're > dealing with all kinds of punctuation here, including hyphens, em > dashes, etc. > > Thanks, > Chris > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From cmsheffield at gmail.com Tue Dec 15 17:27:10 2009 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue, 15 Dec 2009 15:27:10 -0700 Subject: regex/HTMLText question In-Reply-To: <7322.8136146.385951f7@aol.com> References: <7322.8136146.385951f7@aol.com> Message-ID: Thanks, Craig. Unfortunately, this doesn't quite work either. If I were to run: replace "use" with "useused", which is not the desired result. On Dec 15, 2009, at 1:56 PM, DunbarX at aol.com wrote: > Right, thanks to all. > > Chris', your original regex question could better be addressed by: > > on mouseup > get fld "yourField" > replace yourtext with "" & yourtext & "" in it > set the htmltext of fld "yourField" to it > end mouseup > > This would be fast, and easily extendable, since we are just crunching > data. > > Not that there isn't a good regex solution as well... > > Craig Newman > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From jacque at hyperactivesw.com Tue Dec 15 17:35:06 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 15 Dec 2009 16:35:06 -0600 Subject: regex question in matchChunk function In-Reply-To: <1AF00F21-CF79-4F03-BCB5-D0917F743513@gmail.com> References: <1AF00F21-CF79-4F03-BCB5-D0917F743513@gmail.com> Message-ID: <4B280F1A.40403@hyperactivesw.com> Chris Sheffield wrote: > I am not very familiar with regular expressions, and I'm wondering if > someone more knowledgeable could give me a hint as to how to > accomplish this. > > Given a passage of text, I need to find every instance of certain > words within that text and draw a box around them. All I can think of is to grab the text block and use a series of "replace" commands to replace each punctuation type with a space. That should still retain your word boundaries and relative character positions. After that, use regex to get the word boundaries. Presumably you won't have to box the punctuation. Ugly, but might work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Tue Dec 15 17:36:52 2009 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 15 Dec 2009 17:36:52 EST Subject: regex/HTMLText question Message-ID: <88c4.23fe865d.38596984@aol.com> In a message dated 12/15/09 5:27:40 PM, cmsheffield at gmail.com writes: Chris. True enough. Sometimes one can be too clever. You can always go back to my little repeat loop. Craig Newman > Thanks, Craig. Unfortunately, this doesn't quite work either. If I were > to run: > > replace "use" with "use > It would not only replace the whole word "use", but also the string "use" > in the word "used", so I would end up with something like "use > d", which is not the desired result. > From zryip.theslug at gmail.com Tue Dec 15 17:38:28 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 15 Dec 2009 23:38:28 +0100 Subject: interrupting a repeat loop In-Reply-To: <64bda6470912151204j8b5d58btf15bec51603cf97b@mail.gmail.com> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <64bda6470912151204j8b5d58btf15bec51603cf97b@mail.gmail.com> Message-ID: <64bda6470912151438i167e1940nc6218c97e8e9b15@mail.gmail.com> 2009/12/15 zryip theSlug > > > 2009/12/15 Tim Selander > > Is there any way in RR to check for user input during a repeat loop? I'd >> like a loop to continue until the user types a certain key -- at which point >> the script would exit the handler. >> >> Tim Selander >> Tokyo, Japan >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > Hi again, In my previous solution I proposed this loop : *repeat* until charToNum("s") is in the keysDown However, the use of "is in" to test the presence of a number in a list is risky. Because for example, "122" may be in "1222,256" So to prevent bugs prefers this handler to my previous solution : *on* mouseUp *put* 0 into fld "Msg" *repeat* until charToNum("s") is among the items of the keysDown *-- the charToNum function is necessary to compare the key with the content returned by the keysDown function. The keysDown function returns a list of keys in ascii form separated by commas.* *add* 1 to fld "Msg" *wait* 30 ticks *end* *repeat* *end* mouseUp - Zryip TheSlug - wish you the best ! 8) > From richmondmathewson at gmail.com Tue Dec 15 17:38:27 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 16 Dec 2009 00:38:27 +0200 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <7240547.191260915620595.JavaMail.HAPPY-LAPPY$@Happy-Lappy> References: <7240547.191260915620595.JavaMail.HAPPY-LAPPY$@Happy-Lappy> Message-ID: <4B280FE3.10506@gmail.com> On 16/12/2009 00:20, D.Coker wrote: > >> In RevOnline (in Rev's toolbar) search for the "MetaCard Setup" stack. >> This will download the latest MC IDE and set it up with your (licensed) >> Rev engine, ready to go. It's all one click. >> > Cool beans... I'll give it a try. > > Thank you Jacque! > _______________________________________________ > Wow! Thanks Jacque! Wish everything went that smoothly. From pmbrig at gmail.com Tue Dec 15 17:42:50 2009 From: pmbrig at gmail.com (Peter Brigham MD) Date: Tue, 15 Dec 2009 17:42:50 -0500 Subject: regex/HTMLText question In-Reply-To: References: <7322.8136146.385951f7@aol.com> Message-ID: <4034DD61-9E27-4608-B145-B8D5EEB75809@gmail.com> Ah, you want to exclude parts of words. Try this: function wordOffsets str,cntr,wholeWords if wholeWords = empty then put true into wholeWords -- or you could default to false if you want put offsets(str, cntr) into charList -- assumes you have the offsets() function to draw on -- see my previous email if charList = "0" then return "0" put the number of items of charList into nbr put "" into oList repeat for each item n in charList if wholeWords and word n of cntr <> str then next repeat put the number of words of (char 1 to n of ctr) & "," after oList end repeat if char -1 of oList = "," then delete char -1 of oList return oList end wordOffsets This will still be extremely fast unless you're processing megabytes of text. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 15, 2009, at 5:27 PM, Chris Sheffield wrote: > Thanks, Craig. Unfortunately, this doesn't quite work either. If I > were to run: > > replace "use" with "use > It would not only replace the whole word "use", but also the string > "use" in the word "used", so I would end up with something like > "used", which is not the desired result. > > > On Dec 15, 2009, at 1:56 PM, DunbarX at aol.com wrote: > >> Right, thanks to all. >> >> Chris', your original regex question could better be addressed by: >> >> on mouseup >> get fld "yourField" >> replace yourtext with "" & yourtext & "" in it >> set the htmltext of fld "yourField" to it >> end mouseup >> >> This would be fast, and easily extendable, since we are just >> crunching >> data. >> >> Not that there isn't a good regex solution as well... >> >> Craig Newman >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Tue Dec 15 17:43:54 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 16 Dec 2009 00:43:54 +0200 Subject: Control Browser Message-ID: <4B28112A.1040002@gmail.com> Of course, nasty "I want the best of both worlds" types, like me . . . :) hive-off the MC Control Browser, open it up in RunRev, muck around with the scripts a bit and pop it into the RunRev plug-ins folder. Go on, Jacque, smack me! From zryip.theslug at gmail.com Tue Dec 15 17:55:25 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Tue, 15 Dec 2009 23:55:25 +0100 Subject: Shortcut for resizing a selected object ? Message-ID: <64bda6470912151455g5ccc5a4akfcc3550f6c30c321@mail.gmail.com> Hi all, Oups ! It seems that my original message was too long ! 8) > Doesn't trapping the arrowKey message, also supported in HC, do what you > want? > Craig Newman In fact I'm in editing mode with the edit tool when I tried to resize a button with arrow keys. It's an old (may be bad) habit that I have to resize objects with arrow keys. I find it more convenient. When I edit objects it seems that the Message Watcher doesn't receive a arrowkey message but a rawkeydown/up message. > Zryip > Welcome to the us list. I believe there are some tutorials on the > runRev site for HC users to make the leap. I think unless someone has > a tool already you may have to roll your own for this one. But be > prepared to be pleasantly surprised by a lot of what rev has to offer. > There are so many directions you can take now it is hard to look at > just one thing to be impressed by. > Glad to have you here.... > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net Thank you for your welcome Tom ! 8) It was maybe 6 or 7 years that I have not open my old friend HC but when I'm using Revolution all my mind is boiling like the good old days. 8) Too many things to discover, too many things to do, too many thing to share. I'm so excited that I don't know where to start. 8) If someone is interested by a solution, I could send it off list (it was included on my original and definitively too long message never posted) 8) - Zryip TheSlug - wish you the best ! 8) From davidocoker at gmail.com Tue Dec 15 18:20:07 2009 From: davidocoker at gmail.com (D.Coker) Date: Tue, 15 Dec 2009 17:20:07 -0600 (CST) Subject: Rev IDE vs MetaCard IDE In-Reply-To: <27431581.251260919034154.JavaMail.HAPPY-LAPPY$@Happy-Lappy> Message-ID: <31432135.271260919206175.JavaMail.HAPPY-LAPPY$@Happy-Lappy> >In RevOnline (in Rev's toolbar) search for the "MetaCard Setup" stack. >This will download the latest MC IDE and set it up with your (licensed) >Rev engine, ready to go. It's all one click. Again I'll say thanks! It works like a charm and everything is just as I remember it. About all I can see that is missing is the demo stack with the "cute 'lil pink elephant". ;-) It will be perfect for a whole lot of the simple stuff I do for myself. Best regards, David C. From jacque at hyperactivesw.com Tue Dec 15 18:23:05 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 15 Dec 2009 17:23:05 -0600 Subject: Control Browser In-Reply-To: <4B28112A.1040002@gmail.com> References: <4B28112A.1040002@gmail.com> Message-ID: <4B281A59.8060006@hyperactivesw.com> Richmond Mathewson wrote: > Of course, nasty "I want the best of both worlds" types, like me . . . :) > > hive-off the MC Control Browser, open it up in RunRev, muck around > with the scripts a bit and pop it into the RunRev plug-ins folder. > > Go on, Jacque, smack me! Not at all. I did something similar once with the script profiler. I'm mostly impressed that you downloaded the setup and five minutes later had the stack moved. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 15 18:26:58 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 15 Dec 2009 17:26:58 -0600 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <31432135.271260919206175.JavaMail.HAPPY-LAPPY$@Happy-Lappy> References: <31432135.271260919206175.JavaMail.HAPPY-LAPPY$@Happy-Lappy> Message-ID: <4B281B42.9030603@hyperactivesw.com> D.Coker wrote: >> In RevOnline (in Rev's toolbar) search for the "MetaCard Setup" >> stack. This will download the latest MC IDE and set it up with your >> (licensed) Rev engine, ready to go. It's all one click. > > Again I'll say thanks! It works like a charm and everything is just > as I remember it. About all I can see that is missing is the demo > stack with the "cute 'lil pink elephant". ;-) Have a few drinks, it'll all come back. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Kresten.Bjerg at psy.ku.dk Tue Dec 15 18:31:35 2009 From: Kresten.Bjerg at psy.ku.dk (Kresten Bjerg) Date: Wed, 16 Dec 2009 00:31:35 +0100 Subject: VS: How do I construct a scroll bar for stack larger than screen Message-ID: <7A47FC91544BDC44B54C6807E6995019015C8538@ibtmail1.ibt.ku.dk.ad> Thank you for good advices. I have tried to follow them, but am approaching the view, that it cannot be done. Which is a shame, because the users of the cheap mini-notebooks would be a most relevant target group It is a most unusual context : A stack, where the stacksize is 3072 x 2304 = 9 different 1024x768 windows, which ideally should each have a vscrollbar. When I select and group all objects in the first window the resultant group on inspection defines the size of itself as ...32162 x 32113..(where it should be 1024x768) and location 16081 x 16037 ( where it should be 0,0,1024,768) !? and in spite of group inspector indicates vertical scroll visible, no such scroll appears in the application browser, nor can it be found. In one attempt somehow a "scrollbar1" appeared in the application browser, but was fixed at the layer I think 782, and resisted all attempts at raising it to a higher layer, to ensure its visibility. I guess part of the problem is that the number of layers has reached 1364, and the number of more or less overlapping groups (difficult to identify - several may be unnecessary mistakes )- allready is approximately 183.) Maybe I should add, that the oversize stack is a substack (meaning that it can be user-modified in standalones.) (I have previously placed the former version, - in rev user spaces- under my name: Kresten. If someone could be persuaded to test, whether my endeavour (to adapt the application for use on mini-notebooks with a 1024 x 600 screen) is impossible, and better should be given up, I will of course be happy to mail or upload the latest version). Kresten ________________________________ From scott at tactilemedia.com Tue Dec 15 18:40:04 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 15 Dec 2009 15:40:04 -0800 Subject: VS: How do I construct a scroll bar for stack larger than screen In-Reply-To: <7A47FC91544BDC44B54C6807E6995019015C8538@ibtmail1.ibt.ku.dk.ad> Message-ID: Recently, Kresten Bjerg wrote: > I have tried to follow them, but am approaching the view, that it cannot > be done. > > Which is a shame, because the users of the cheap mini-notebooks would be > a most relevant target group > > It is a most unusual context : A stack, where the stacksize is 3072 x > 2304 = 9 different 1024x768 windows, > > which ideally should each have a vscrollbar. Kresten, to clarify what you want, are you trying to create 9 separate scrolling windows on the desktop, or do you want 9 separate scrolling regions in one window? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From zryip.theslug at gmail.com Tue Dec 15 18:58:47 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 16 Dec 2009 00:58:47 +0100 Subject: regex/HTMLText question In-Reply-To: References: <7322.8136146.385951f7@aol.com> Message-ID: <64bda6470912151558p3e88a7d1tebdbf5d7ca4481f3@mail.gmail.com> Hi Chris, As said by Jim Ault, I think that you have first to decide the list of whole word forms you accept. "space&use&space";"use&comma","use&dot" => " use ","use,","use.",".use",".use."... Once your list prepared, substitute your word by a key that you will replace at the fly by a word to search. => " ",",",".",".",".."... Then in a loop treats the different cases with the solution of Craig Newman likes this: repeat with aWord in wordList repeat with aRegex in regexList put replaceText(aRegex,"",aWord) into wholeWordForm -- replace the "" key in your pattern by the word that you need get fld "yourField" replace wholeWordForm with "" & wholeWordForm & "" in it end repeat end repeat set the htmltext of fld "yourField" to it This is a first approach because it encloses the word with its possible punctuation. -Zryip TheSlug- wish you the best ! 8) 2009/12/15 Chris Sheffield > Thanks, Craig. Unfortunately, this doesn't quite work either. If I were to > run: > > replace "use" with "use > It would not only replace the whole word "use", but also the string "use" > in the word "used", so I would end up with something like "used", > which is not the desired result. > > > On Dec 15, 2009, at 1:56 PM, DunbarX at aol.com wrote: > > > Right, thanks to all. > > > > Chris', your original regex question could better be addressed by: > > > > on mouseup > > get fld "yourField" > > replace yourtext with "" & yourtext & "" in it > > set the htmltext of fld "yourField" to it > > end mouseup > > > > This would be fast, and easily extendable, since we are just crunching > > data. > > > > Not that there isn't a good regex solution as well... > > > > Craig Newman > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Tue Dec 15 19:09:56 2009 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 16 Dec 2009 00:09:56 +0000 Subject: interrupting a repeat loop In-Reply-To: <7c87a2a10912151043h523e27f8q6e6dab41173e12a1@mail.gmail.com> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> <4B27C575.9080400@pdslabs.net> <7c87a2a10912151043h523e27f8q6e6dab41173e12a1@mail.gmail.com> Message-ID: <4B282554.3090508@tweedly.net> Andre Garzia wrote: > Hi Folks, > > this been answered in many ways already but I thought I'd chime in and try > to answer it in a different way. The key is to think of reusable code, every > now and them we keep rewritting the same pieces over and over again. How do > we create a generic thing that will: > > 1) Run some code in a loop > 2) Enable us to stop this execution when something happen > > If speed is not the main issue here, then we can approach this with a more > flexible way by creating a group of functions that will enable a generic > handler to be executed until something else make it stop. We will use the > new dispatch calls for that. > > command iterate pHandlerToLoop, pHandlerThatInterrupts > dispatch pHandlerThatInterrupts > if the result is true then > dispatch pHandlerToLoop > if the result is true then > dispatch iterate with pHandlerToLoop, pHandlerThatInterrupts > end if > end if > end iterate > > This code will first call a command to check if the loop should be executed, > this command should return true or false. If it is true then it will call > the loop command once and if the loop command returned true, it will call > itself again. This code will loop and will exit the loop if any of two > things happen, the command that interrupts return false or the command that > loops return false, for example, let us count to ten using this code: > > Nice. But as George said, you will hit recursion limits. And the dispatch to iterate (i.e. to itself) is a simple tail recursion - which you can eliminate easily. AFAICT, this is equivalent and has no recursion issues. > command iterate pHandlerToLoop, pHandlerThatInterrupts > repeat forever > dispatch pHandlerThatInterrupts > if the result is false then exit iterate > dispatch pHandlerToLoop > if the result is false then exit iterate > end repeat > end iterate -- Alex. From ambassador at fourthworld.com Tue Dec 15 19:34:50 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 15 Dec 2009 16:34:50 -0800 Subject: Shortcut for resizing a selected object ? Message-ID: <4B282B2A.1080104@fourthworld.com> zryip wrote: > In fact I'm in editing mode with the edit tool when I tried to resize a > button with arrow keys. It's an old (may be bad) habit that I have to resize > objects with arrow keys. I find it more convenient. > When I edit objects it seems that the Message Watcher doesn't receive a > arrowkey message but a rawkeydown/up message. I use this feature in Fireworks and other tools that let you select a single bounds handle, but how would this work in Rev (or HC for that matter, since it used the "marching ants" marquee to indicate selection)? -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From kee at kagi.com Tue Dec 15 20:15:40 2009 From: kee at kagi.com (Kee Nethery) Date: Tue, 15 Dec 2009 17:15:40 -0800 Subject: interrupting a repeat loop In-Reply-To: <64bda6470912151438i167e1940nc6218c97e8e9b15@mail.gmail.com> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <64bda6470912151204j8b5d58btf15bec51603cf97b@mail.gmail.com> <64bda6470912151438i167e1940nc6218c97e8e9b15@mail.gmail.com> Message-ID: <4BBF8830-993A-42F6-8C6E-47B08E04907F@kagi.com> >> >> 2009/12/15 Tim Selander >> >> Is there any way in RR to check for user input during a repeat loop? I'd >>> like a loop to continue until the user types a certain key -- at which point >>> the script would exit the handler. In my code I have this sprinkled throughout all the repeat loops. if the optionkey is down then exit repeat end if Then if I hold down on the option key, it drops out of that repeat loop. I sprinkle these within each repeat loop so that it drops out of whatever long process I started. Kee Nethery From jimaultwins at yahoo.com Tue Dec 15 21:52:52 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 15 Dec 2009 18:52:52 -0800 Subject: Newbie Data Grid question In-Reply-To: References: <20091214170353.A12CC288570@mail.runrev.com> Message-ID: One valuable technique for understanding the DataGrid inner workings. In Rev, choose the pointer tool, click on a data grid, then go the inspector, choose 'custom properties' from the drop down, and now check out the property sets. You should see dgProps and dgCache Note all the properties that have been created when the data grid was created. Of course you can edit the values here, but you can also change them in script lines. One bit of confusion for me is that there is no dgText property set visible here. The syntax set the dgText [ true ] of group "DataGrid" to tHeaders would logically mean that there would be a custom property set "dgText" Interesting if you click on dgProps "row template" you will see: group id 1011 of card id 1010 of stack "Data Grid Templates 1260751174078" ...at least in my version of Rev 3.5 Hope this helps in your travels. Jim Ault Las Vegas On Dec 15, 2009, at 3:18 AM, Andre.Bisseret wrote: > Bonjour Jim, Trevor and others on this thread ;-) > > Le 14 d?c. 09 ? 19:11, James Hurley a ?crit : > ... >> >> Trevor (and Andre.Bisseret), >> >> Thanks you for the very thoughtful reply(s). >> >> It is heartening to see something defended by its parent. My >> sincere apologies for treating your offspring in such a quick and >> dirty fashion :-) >> I'm sure I will appreciate the richness of this new Run Rev object >> in time--see below. >> >> FIrst to satisfy my quick and dirty needs, I find that the >> following works well to get data displayed in a data grid field: >> >> on mouseUp >> put field "data" into tData --Tab delimited text >> --The first line of tData contains the column names >> put line 1 of tData into tHeaders >> replace tab with cr in tHeaders >> set dgProp["Columns"] of group "DataGrid" to tHeaders --Thanks to >> Andre for this line. >> set the dgText [ true ] of group "DataGrid" to tData >> end mouseUp >> > Your handler above, confirmed by Trevoir, helped me a lot to > understand the possible uses of pFirstLineContainsHeaders. > In order to learn more about data grid, I tried several variations, > I put below in case it could interest someone : > > local tData,tHeaders, > -- field "data" = lines of tab delimited text -- a Data Grid > "DataGrid" with 3 columns > ------------ > > -- 1 ) IF THE LINE OF HEADERS IS NOT INCLUDED IN THE DATA (AS I AM > ACCUSTOMED TO) > -- 1.1) WITHOUT USING pFirstLineContainsHeaders; WORKS: > on mouseUp > put "header1" & cr & "header2" & cr & "header3" into tHeaders > set the dgProp["columns"] of grp "DataGrid" to tHeaders > put fld "data" into tData > set the dgText of group "DataGrid" to tData > end mouseUp > > -- 1.2) USING pFirstLineContainsHeaders: USELESS BUT WORKS :-))) > on mouseUp > put "header1" & cr & "header2" & cr & "header3" into tHeaders > set the dgProp["columns"] of grp "DataGrid" to tHeaders > put fld "data" into tData > set the dgText[false] of group "DataGrid" to tData > end mouseUp > > -- 2) IF, FOR SOME REASON, THE LINE OF HEADERS IS INCLUDED IN THE > DATA (FIRST LINE) > -- 2.1) WITHOUT USING pFirstLineContainsHeaders: WORKS: > on mouseUp > put field "data" into tData > put line 1 of tData into tHeaders > replace tab with cr in tHeaders > set dgProp["Columns"] of group "DataGrid" to tHeaders > delete line 1 of tData > set the dgText of group "DataGrid" to tData > end mouseUp > > -- 2.2) USING pFirstLineContainsHeaders: WORKS: > on mouseUp -- the handler from Jim > put field "data" into tData > put line 1 of tData into tHeaders > replace tab with cr in tHeaders > set dgProp["Columns"] of group "DataGrid" to tHeaders --Thanks to > Andre for this line. > set the dgText [ true ] of group "DataGrid" to tData > end mouseUp > ------------------------------------------------- > -- indeed, in all these handlers, it's possible to directly set > the dgText of grp "datagrid" to fld "data" (but less fast, I guess, > specially if it contains a lot of lines) > -------------------------------------------------- > AS FOR THE SYNTAX OF pFirstLineContainsHeaders > OK: set the dgText[true] > nevertheless: > put true into pFirstLineContainsHeaders > set the dgText[pFirstLineContainsHeaders] of grp "datagrid" to true > works as well, but useless, OK :-) > > set the pFirstLineContainsHeaders of grp "datagrid" to true does not > work as that is creating a custom prop; OK :-)) > > I am a bit slow-witted but I am beginning to understand quite what > this pFirstLineContainsHeaders can do ;-o))))) > > Thanks to both of you, > > Andr? From lan.kc.macmail at gmail.com Tue Dec 15 22:51:06 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 16 Dec 2009 11:51:06 +0800 Subject: HTMLText question In-Reply-To: <37C40781-D3F9-4687-9623-39D8A7D1FEF6@byu.edu> References: <6ea1.32380556.38594caf@aol.com> <37C40781-D3F9-4687-9623-39D8A7D1FEF6@byu.edu> Message-ID: Craig, one further observation. If the field already contains formatted text, ie bold or coloured, doing what you are doing would set everything back to plain text except for word 2 so in most cases (but I accept not all) you'd want to do deal with htmlText exclusively: put the htmlText of fld "myField" into tHtml --not the plain text replace "" with "" in line 2 of tHtml replace "" with "" in line 2 of tHtml set the htmlText of fld "myField to tHtml Of course one case where you would one to swap from one to the other is if you want to strip HTML tags. Set the htmlText of a field to a html file, then put the field into a Var, most of the html is then nicely stripped for you :-) HTH On Wed, Dec 16, 2009 at 4:47 AM, Devin Asay wrote: > Two problems: only fields have the htmlText property (as Jerry mentioned), > and you're mixing literals and an expression. Try: > > get fld "myField" > put "" & word 2 of it & "" into word 2 of it > set the htmlText of fld "myField" to it > > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lan.kc.macmail at gmail.com Tue Dec 15 22:58:45 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 16 Dec 2009 11:58:45 +0800 Subject: type font size in dictionary In-Reply-To: References: <200912150658.50844.palcibiades-first@yahoo.co.uk> Message-ID: 2009/12/15 Bj?rnke von Gierke > > The easier way is, to use my bvg docu stack, where you can set text sizes > in the settings: > > http://bjoernke.com/?target=bvgdocu > > Does this incorporate the User Contributed Notes? - They're slowly growing and important to an occasional programmer like me! From stephenREVOLUTION2 at barncard.com Tue Dec 15 23:02:20 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 15 Dec 2009 20:02:20 -0800 Subject: Newbie Data Grid question In-Reply-To: References: <20091214170353.A12CC288570@mail.runrev.com> Message-ID: > > One bit of confusion for me is that there is no dgText property set visible > here. The syntax probably a setprop handler. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/15 Jim Ault > One valuable technique for understanding the DataGrid inner workings. > > In Rev, choose the pointer tool, click on a data grid, then go the > inspector, choose 'custom properties' from the drop down, > > and now check out the property sets. You should see dgProps and dgCache > Note all the properties that have been created when the data grid was > created. > Of course you can edit the values here, but you can also change them in > script lines. > > One bit of confusion for me is that there is no dgText property set visible > here. The syntax > > set the dgText [ true ] of group "DataGrid" to tHeaders > > would logically mean that there would be a custom property set "dgText" > > Interesting if you click on dgProps "row template" you will see: > group id 1011 of card id 1010 of stack "Data Grid Templates 1260751174078" > > ...at least in my version of Rev 3.5 > > Hope this helps in your travels. > > Jim Ault > Las Vegas > > > > > On Dec 15, 2009, at 3:18 AM, Andre.Bisseret wrote: > > Bonjour Jim, Trevor and others on this thread ;-) >> >> Le 14 d?c. 09 ? 19:11, James Hurley a ?crit : >> ... >> >>> >>> Trevor (and Andre.Bisseret), >>> >>> Thanks you for the very thoughtful reply(s). >>> >>> It is heartening to see something defended by its parent. My sincere >>> apologies for treating your offspring in such a quick and dirty fashion :-) >>> I'm sure I will appreciate the richness of this new Run Rev object in >>> time--see below. >>> >>> FIrst to satisfy my quick and dirty needs, I find that the following >>> works well to get data displayed in a data grid field: >>> >>> on mouseUp >>> put field "data" into tData --Tab delimited text >>> --The first line of tData contains the column names >>> put line 1 of tData into tHeaders >>> replace tab with cr in tHeaders >>> set dgProp["Columns"] of group "DataGrid" to tHeaders --Thanks to Andre >>> for this line. >>> set the dgText [ true ] of group "DataGrid" to tData >>> end mouseUp >>> >>> Your handler above, confirmed by Trevoir, helped me a lot to understand >> the possible uses of pFirstLineContainsHeaders. >> In order to learn more about data grid, I tried several variations, I put >> below in case it could interest someone : >> >> local tData,tHeaders, >> -- field "data" = lines of tab delimited text -- a Data Grid "DataGrid" >> with 3 columns >> ------------ >> >> -- 1 ) IF THE LINE OF HEADERS IS NOT INCLUDED IN THE DATA (AS I AM >> ACCUSTOMED TO) >> -- 1.1) WITHOUT USING pFirstLineContainsHeaders; WORKS: >> on mouseUp >> put "header1" & cr & "header2" & cr & "header3" into tHeaders >> set the dgProp["columns"] of grp "DataGrid" to tHeaders >> put fld "data" into tData >> set the dgText of group "DataGrid" to tData >> end mouseUp >> >> -- 1.2) USING pFirstLineContainsHeaders: USELESS BUT WORKS :-))) >> on mouseUp >> put "header1" & cr & "header2" & cr & "header3" into tHeaders >> set the dgProp["columns"] of grp "DataGrid" to tHeaders >> put fld "data" into tData >> set the dgText[false] of group "DataGrid" to tData >> end mouseUp >> >> -- 2) IF, FOR SOME REASON, THE LINE OF HEADERS IS INCLUDED IN THE DATA >> (FIRST LINE) >> -- 2.1) WITHOUT USING pFirstLineContainsHeaders: WORKS: >> on mouseUp >> put field "data" into tData >> put line 1 of tData into tHeaders >> replace tab with cr in tHeaders >> set dgProp["Columns"] of group "DataGrid" to tHeaders >> delete line 1 of tData >> set the dgText of group "DataGrid" to tData >> end mouseUp >> >> -- 2.2) USING pFirstLineContainsHeaders: WORKS: >> on mouseUp -- the handler from Jim >> put field "data" into tData >> put line 1 of tData into tHeaders >> replace tab with cr in tHeaders >> set dgProp["Columns"] of group "DataGrid" to tHeaders --Thanks to Andre >> for this line. >> set the dgText [ true ] of group "DataGrid" to tData >> end mouseUp >> ------------------------------------------------- >> -- indeed, in all these handlers, it's possible to directly set the >> dgText of grp "datagrid" to fld "data" (but less fast, I guess, specially if >> it contains a lot of lines) >> -------------------------------------------------- >> AS FOR THE SYNTAX OF pFirstLineContainsHeaders >> OK: set the dgText[true] >> nevertheless: >> put true into pFirstLineContainsHeaders >> set the dgText[pFirstLineContainsHeaders] of grp "datagrid" to true >> works as well, but useless, OK :-) >> >> set the pFirstLineContainsHeaders of grp "datagrid" to true does not work >> as that is creating a custom prop; OK :-)) >> >> I am a bit slow-witted but I am beginning to understand quite what this >> pFirstLineContainsHeaders can do ;-o))))) >> >> Thanks to both of you, >> >> Andr? >> > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jhurley0305 at sbcglobal.net Wed Dec 16 00:04:39 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Tue, 15 Dec 2009 21:04:39 -0800 Subject: Newbie Data Grid question In-Reply-To: <20091215155614.10BD228815C@mail.runrev.com> References: <20091215155614.10BD228815C@mail.runrev.com> Message-ID: > > Message: 2 > Date: Mon, 14 Dec 2009 13:19:43 -0500 > From: Trevor DeVore > Subject: Re: Newbie Data Grid question > To: How to use Revolution > Message-ID: <2489AFEC-40F1-4057-88DD-E8FA53559F4E at mangomultimedia.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > On Dec 14, 2009, at 1:11 PM, James Hurley wrote: >> >> It is heartening to see something defended by its parent. My sincere >> apologies for treating your offspring in such a quick and dirty >> fashion :-) > > It's okay, the Data Grid likes to be beta up on once and a while :-) As long as this is still in Beta, may I make a suggestion? (Does anyone ever let the possibility of the answer be "no" stop them?) I had assumed when I saw the following code in the guide: put field "data" into tData put true into pFirstLineContainsHeaders set the dgText [ pFirstLineContainsHeaders ] of group "DataGrid 2" to tData I assumed that the data grid would function in much the same way that FileMaker does when importing an Excel file, i.e. it allows one to assign the items in the first line of the file to field names and the rest of the llines to populate these fields. That would be a reasonable behavior of "dgText[pFirstLineContainsHeaders]" il.e. when the parameter is true, the column headings are taken from the first line of the text field and the rest go into filling the columns. Or maybe introduce a second parameter to dgText . Jim Hurley From jhurley0305 at sbcglobal.net Wed Dec 16 00:05:13 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Tue, 15 Dec 2009 21:05:13 -0800 Subject: Saving standalone substacks In-Reply-To: <20091117215101.49586288183@mail.runrev.com> References: <20091117215101.49586288183@mail.runrev.com> Message-ID: <3B6574FE-8FE6-48B6-BCFC-1577CF6FDB2B@sbcglobal.net> Is there a tutorial someplace on saving data in the standalone substacks? Jim Hurley From lists at mangomultimedia.com Wed Dec 16 00:12:57 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 16 Dec 2009 00:12:57 -0500 Subject: Newbie Data Grid question In-Reply-To: References: <20091215155614.10BD228815C@mail.runrev.com> Message-ID: <3570C404-E382-4F5F-84B5-72AD285B75FD@mangomultimedia.com> On Dec 16, 2009, at 12:04 AM, James Hurley wrote: >> It's okay, the Data Grid likes to be beta up on once and a while :-) > > As long as this is still in Beta, may I make a suggestion? Sorry, that was supposed to be "beat" not "beta". > (Does anyone ever let the possibility of the answer be "no" stop > them?) > I had assumed when I saw the following code in the guide: > > put field "data" into tData > put true into pFirstLineContainsHeaders > set the dgText [ pFirstLineContainsHeaders ] of group "DataGrid 2" > to tData > > I assumed that the data grid would function in much the same way > that FileMaker does when importing an Excel file, i.e. it allows one > to assign the items in the first line of the file to field names and > the rest of the llines to populate these fields. That would be a > reasonable behavior of "dgText[pFirstLineContainsHeaders]" il.e. > when the parameter is true, the column headings are taken from the > first line of the text field and the rest go into filling the columns. The first line is only used to tell the data grid which columns to map the rest of the data to. If you want to create columns then you will need to set the dgProp["columns"] property. You can't really use multiple parameters when using setProp (which is what dgText is). I'm kind of fudging things a bit by treating dgText as a custom property set and pFirstLineContainsHeaders as the custom property. The truth is we still don't have access to a very expressive syntax when creating custom controls (which the Data Grid is one). -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From lan.kc.macmail at gmail.com Wed Dec 16 00:48:34 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 16 Dec 2009 13:48:34 +0800 Subject: regex/HTMLText question In-Reply-To: References: <7322.8136146.385951f7@aol.com> Message-ID: On Wed, Dec 16, 2009 at 5:44 AM, Jim Ault wrote: > Caution: wordoffset, replace, regEx > You need to decide what constitutes a word. > In Rev, > ending ending. ending, ending? ending! ending) ending] ending" > ending's ending= (ending) > are all words, so the last word in a phrase or sentence cannot be matched > by wordoffset without a bit of rule checking for punctuation. > > Chris, One way around this is to use token rather than word, look it up in the Rev Dictionary. You need to read it a couple of times and unfortunately it's slightly erroneous in that some characters, like %, is also a token but not listed in the first group. But if you experiment a bit you'll find that in all the examples above only: including ending; ending: ending. (period) ending? and the single instance of a double quote (everything after it.... disappears....) are the only ones to cause you problems. Also as eluded to in the Dictionary, anything between a pair of double quotes is a single token, so "this is the ending, almost" will appear to Rev as a single token. So certainly not without it's own pitfalls, but with token there are far less punctuation characters you have to deal with compared to using word. NOTE the Note in the Rev Dictionary entry for token. If this is for a commercial app then maybe token isn't something you should be working with as it's clearly designed by the Rev team purely to work with the Rev language, and I suppose subject to change. On the other hand, if you're writing something one off, I'd go for it. HTH From lan.kc.macmail at gmail.com Wed Dec 16 00:53:00 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 16 Dec 2009 13:53:00 +0800 Subject: Saving standalone substacks In-Reply-To: <3B6574FE-8FE6-48B6-BCFC-1577CF6FDB2B@sbcglobal.net> References: <20091117215101.49586288183@mail.runrev.com> <3B6574FE-8FE6-48B6-BCFC-1577CF6FDB2B@sbcglobal.net> Message-ID: You might try here: http://revjournal.com/tutorials/saving_data_in_revolution.html HTH On Wed, Dec 16, 2009 at 1:05 PM, James Hurley wrote: > Is there a tutorial someplace on saving data in the standalone substacks? > > Jim Hurley > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mdswindell at cruzio.com Wed Dec 16 01:21:47 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Tue, 15 Dec 2009 22:21:47 -0800 Subject: Deriving an angle from three points Message-ID: 40,116 98,186 132,118 How would one determine the angle created from three points, such as those above? Thanks, Mark From mwieder at ahsoftware.net Wed Dec 16 01:35:42 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 15 Dec 2009 22:35:42 -0800 Subject: Deriving an angle from three points In-Reply-To: References: Message-ID: <62563779765.20091215223542@ahsoftware.net> Mark- Tuesday, December 15, 2009, 10:21:47 PM, you wrote: > 40,116 > 98,186 > 132,118 > How would one determine the angle created from three points, such as those above? There are three angles. Which one are you interested in? -- -Mark Wieder mwieder at ahsoftware.net From revdev at pdslabs.net Wed Dec 16 02:40:10 2009 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 15 Dec 2009 23:40:10 -0800 Subject: Deriving an angle from three points In-Reply-To: References: Message-ID: <4B288EDA.4090404@pdslabs.net> I never took trig, but I imagine some of Rev's trig functions might be helpful in determining this. If it's any help, here's a button handler that draws the angle: on mouseUp put "40,116/98,186/132,118" into tPointsList replace "/" with cr in tPointsList set the style of the templateGraphic to "polygon" set the lineSize of the templateGraphic to 1 set the showBorder of the templateGraphic to true -- to show the grc edge create grc "angle" set the points of grc "angle" to tPointsList end mouseUp When I draw it, I see there is a right angle at the bottomRight of it that might serve as a reference point of some sort? Of course a real numbers person wouldn't need to draw anything to "see" this. It would be ,. I'll be interested to see the solution too. Phil Davis On 12/15/09 10:21 PM, Mark Swindell wrote: > 40,116 > 98,186 > 132,118 > > How would one determine the angle created from three points, such as those above? > > Thanks, > Mark_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From jacques.hausser at unil.ch Wed Dec 16 03:47:21 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Wed, 16 Dec 2009 09:47:21 +0100 Subject: Deriving an angle from three points In-Reply-To: <4B288EDA.4090404@pdslabs.net> References: <4B288EDA.4090404@pdslabs.net> Message-ID: <6BAE1B16-A764-4E45-B532-0D37D5EC3471@unil.ch> > > On 12/15/09 10:21 PM, Mark Swindell wrote: >> 40,116 >> 98,186 >> 132,118 >> >> How would one determine the angle created from three points, such as those above? Hi Mark, I'm using the following handlers. SurfaceTriangle is used to determine if you compute the outer (>180) or inner angle with summit c in calcangle. HTH Jacques function SurfaceTriangle a,c,b ---------------------------------------------------------- -- a,c,b: points -- returns twice the surface of triangle a,c,b -- the result is signed, positive if points follow each other clockwise, -- negative otherwise. -- aligned points return zero. ---------------------------------------------------------- put ((item 1 of c - item 1 of a)*(item 2 of b - item 2 of a)\ - (item 1 of b - item 1 of a)*(item 2 of c - item 2 of a)) into aire return aire end SurfaceTriangle function calcAngle a,c,b ---------------------------------------------------------- -- a,c,b : points. -- returns angle between ca and cb in degrees ---------------------------------------------------------- put Distance(c,b) into da put Distance(a,c) into db put Distance(a,b) into dc put (da + db + dc)/2 into p put sqrt(p*(p-dc)/(db*da)) into lecos if lecos > 1 then put 1 into lecos if lecos < -1 then put -1 into lecos put acos(lecos) * 180 / pi into alpha put 2 * alpha into alpha if SurfaceTriangle(a,c,b) then return alpha else return 360-alpha end if end calcAngle From jacques.hausser at unil.ch Wed Dec 16 03:58:00 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Wed, 16 Dec 2009 09:58:00 +0100 Subject: Deriving an angle from three points In-Reply-To: <6BAE1B16-A764-4E45-B532-0D37D5EC3471@unil.ch> References: <4B288EDA.4090404@pdslabs.net> <6BAE1B16-A764-4E45-B532-0D37D5EC3471@unil.ch> Message-ID: <730EEBDB-474A-4513-A87B-FCE08D604C82@unil.ch> As usual, I forgot something... Distance is merely this brave old Pythagora: function Distance a,b ---------------------------------------------------------- -- a,b : points -- returns distance (real) between a and b ---------------------------------------------------------- return sqrt((item 1 of a - item 1 of b)^2 + (item 2 of a - item 2 of b)^2) end distance Jacques Le 16 d?c. 2009 ? 09:47, Jacques Hausser a ?crit : >> >> On 12/15/09 10:21 PM, Mark Swindell wrote: >>> 40,116 >>> 98,186 >>> 132,118 >>> >>> How would one determine the angle created from three points, such as those above? > > Hi Mark, > > I'm using the following handlers. SurfaceTriangle is used to determine if you compute the outer (>180) or inner angle with summit c in calcangle. > > HTH > > Jacques > > function SurfaceTriangle a,c,b > ---------------------------------------------------------- > -- a,c,b: points > -- returns twice the surface of triangle a,c,b > -- the result is signed, positive if points follow each other clockwise, > -- negative otherwise. > -- aligned points return zero. > ---------------------------------------------------------- > put ((item 1 of c - item 1 of a)*(item 2 of b - item 2 of a)\ > - (item 1 of b - item 1 of a)*(item 2 of c - item 2 of a)) into aire > return aire > end SurfaceTriangle > > function calcAngle a,c,b > ---------------------------------------------------------- > -- a,c,b : points. > -- returns angle between ca and cb in degrees > ---------------------------------------------------------- > put Distance(c,b) into da > put Distance(a,c) into db > put Distance(a,b) into dc > put (da + db + dc)/2 into p > put sqrt(p*(p-dc)/(db*da)) into lecos > if lecos > 1 then put 1 into lecos > if lecos < -1 then put -1 into lecos > put acos(lecos) * 180 / pi into alpha > put 2 * alpha into alpha > if SurfaceTriangle(a,c,b) then > return alpha > else > return 360-alpha > end if > end calcAngle > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From mwieder at ahsoftware.net Wed Dec 16 04:02:04 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 16 Dec 2009 01:02:04 -0800 Subject: Deriving an angle from three points In-Reply-To: References: Message-ID: <21572561703.20091216010204@ahsoftware.net> Mark- Tuesday, December 15, 2009, 10:21:47 PM, you wrote: > 40,116 > 98,186 > 132,118 > How would one determine the angle created from three points, such as those above? If I can assume that (98,186) is the center of the angle, then you can calculate the angle (actually all three angles) from the lengths of the three sides of the triangle: on mouseUp local pointA, pointB, pointC local lengthA, lengthB, lengthC local tSub local tRadians put "40,116" into pointA put "98,186" into pointB -- assumed center of angle put "132,118" into pointC -- get the lengths of the three sides of the triangle put SideLength(pointA, pointB) into lengthA put SideLength(pointB, pointC) into lengthB put SideLength(pointA, pointC) into lengthC --calculate the angle as arccos( (b2+c2-a2) / 2bc) --the other two angles are arccos( (a2+c2-b2) / 2ac) -- and arccos( (a2+b2-c2) / 2ab) put (lengthB * lengthB) + (lengthC * lengthC) - (lengthA * lengthA) into tSub put acos(tSub / (2 * lengthB * lengthC)) into tRadians put tRadians * 180 / pi -- convert from radians to degrees end mouseUp -- calculate (x2-x1)^2 + (y2-y1)^2 -- return the square root of that function SideLength pPointA, pPointB local lengthX, lengthY set the itemdelimiter to comma put item 1 of pPointB - item 1 of pPointA into lengthX put lengthX * lengthX into lengthX -- x squared put item 2 of pPointB - item 2 of pPointA into lengthY put lengthY * lengthY into lengthY -- y squared return sqrt(lengthX + lengthY) -- length of hypotenuse end SideLength ...and I come up with 64.680313 degrees. -- -Mark Wieder mwieder at ahsoftware.net From zryip.theslug at gmail.com Wed Dec 16 04:42:33 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 16 Dec 2009 10:42:33 +0100 Subject: Shortcut for resizing a selected object ? Message-ID: <64bda6470912160142v23a7eaa1k93033d417a878f27@mail.gmail.com> Hi Richard, How ? Try this 8) : on rawkeyDown theKey if (the altKey is down) and (theKey >= 65361) and (theKey <= 65364) then -- only if alt key is pressed when using arrow key put the selectedObjects into objectsList -- keep in memory the list of objects to resize get number of lines of objectsList if it > 0 then repeat with x = 1 to it -- a loop to resize all the objects in the list resizeObject line x of the selectedObjects,theKey end repeat end if else pass rawkeyDown end if end rawkeyDown on resizeObject theObject,theKey do "get rect of" && theObject put numKey2Const(theKey) into direction put getStep(direction,the shiftKey is down) into myStep -- step = 1 pixel or 5 pixels when the shift key is down add myStep to item numKey2rectItem(direction) of it do "set rect of" && (theObject) && "to it" end resizeObject function numKey2Const valueKey -- Not necessary but usefull to not keep in mind 65361 when I search my left. 8) switch valueKey case 65361 return "left" case 65362 return "up" case 65363 return "right" case 65364 return "down" default return "" end switch end numKey2Const function numKey2rectItem direction if (direction is in "left,right") then return 3 else return 4 end if end numKey2rectItem function getStep direction,shiftFlag if (direction is in "left,up") then put -1 into myStep -- reduce the size of the object else put 1 into myStep -- grow up the size of the object end if if shiftFlag then put (myStep * 5) into myStep return myStep end getStep -Zryip TheSlug- wish you the best ! 8) 2009/12/16 Richard Gaskin I use this feature in Fireworks and other tools that let you select a single bounds handle, but how would this work in Rev (or HC for that matter, since it used the "marching ants" marquee to indicate selection)? From swartart at iafrica.com Wed Dec 16 04:48:56 2009 From: swartart at iafrica.com (Ryno Swart) Date: Wed, 16 Dec 2009 11:48:56 +0200 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <20091216084757.359A028853E@mail.runrev.com> References: <20091216084757.359A028853E@mail.runrev.com> Message-ID: <655B5C09-39E4-4EAD-9892-8ACDFEE0B929@iafrica.com> I seem to have the uncanny ability to break anything... the MIDA$ touch. I cannot download the MetaCard IDE successfully. The message "Sorry, but this version of the IDE requires engine >=3.x!" appears. My version of Rev is 2.8.1 build 470. Any suggestions? Ryno. From gmccarthy at people.net.au Wed Dec 16 04:57:21 2009 From: gmccarthy at people.net.au (gmccarthy) Date: Wed, 16 Dec 2009 01:57:21 -0800 (PST) Subject: Deriving an angle from three points In-Reply-To: <21572561703.20091216010204@ahsoftware.net> References: <21572561703.20091216010204@ahsoftware.net> Message-ID: <1260957441057-965051.post@n4.nabble.com> What about getting the angle from point B to A, then the angle from point B to C, then getting the difference: on mouseUp put cd fld "A" into pointA put cd fld "B" into pointB -- assumed center of angle put cd fld "C" into pointC -- put fGetAngle(pointB, pointA) into angleA put fGetAngle(pointB, pointC) into angleC if angleC > angleA then put angleC - angleA into cd fld "AngleABC" else put angleA - angleC into cd fld "AngleABC" end if end mouseUp function fGetAngle pPoint1, pPoint2 --angle anticlockwise from X axis return atan2(item 2 of pPoint2 - item 2 of pPoint1,item 1 of pPoint2 - item 1 of pPoint1) * 180 / pi end fGetAngle See atan2 in the dictionary. By the way, this gives 66.209226 for the angle. As a test for known angles, try 250,250 200,200 100,373 This is for angles of 45 degrees and 120 degrees. you should get 75 degrees as your answer. -- View this message in context: http://n4.nabble.com/Deriving-an-angle-from-three-points-tp964930p965051.html Sent from the Revolution - User mailing list archive at Nabble.com. From gmccarthy at people.net.au Wed Dec 16 05:07:46 2009 From: gmccarthy at people.net.au (gmccarthy) Date: Wed, 16 Dec 2009 02:07:46 -0800 (PST) Subject: Deriving an angle from three points In-Reply-To: <1260957441057-965051.post@n4.nabble.com> References: <21572561703.20091216010204@ahsoftware.net> <1260957441057-965051.post@n4.nabble.com> Message-ID: <1260958066274-965059.post@n4.nabble.com> By the way again, Mark's method is also correct if you fix the variable names as shown below. Normally a triangle with points ABC have their sides named with side b between A and C so it is opposite angle B...etc. on mouseUp put cd fld "A" into pointA put cd fld "B" into pointB -- assumed center of angle put cd fld "C" into pointC -- -- get the lengths of the three sides of the triangle put SideLength(pointA, pointB) into lengthC put SideLength(pointB, pointC) into lengthA put SideLength(pointA, pointC) into lengthB --calculate the angle as arccos( (b2+c2-a2) / 2bc) --the other two angles are arccos( (a2+c2-b2) / 2ac) -- and arccos( (a2+b2-c2) / 2ab) put (lengthA * lengthA) + (lengthC * lengthC) - (lengthB * lengthB) into tSub put acos(tSub / (2 * lengthA * lengthC)) into tRadians put (tRadians * 180 / pi) into cd fld "AngleABC"-- convert from radians to degrees end mouseUp -- calculate (x2-x1)^2 + (y2-y1)^2 -- return the square root of that function SideLength pPointA, pPointB local lengthX, lengthY set the itemdelimiter to comma put item 1 of pPointB - item 1 of pPointA into lengthX put lengthX * lengthX into lengthX -- x squared put item 2 of pPointB - item 2 of pPointA into lengthY put lengthY * lengthY into lengthY -- y squared return sqrt(lengthX + lengthY) -- length of hypotenuse end SideLength -- View this message in context: http://n4.nabble.com/Deriving-an-angle-from-three-points-tp964930p965059.html Sent from the Revolution - User mailing list archive at Nabble.com. From Andre.Bisseret at inria.fr Wed Dec 16 05:13:13 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Wed, 16 Dec 2009 11:13:13 +0100 Subject: Newbie Data Grid question In-Reply-To: <3570C404-E382-4F5F-84B5-72AD285B75FD@mangomultimedia.com> References: <20091215155614.10BD228815C@mail.runrev.com> <3570C404-E382-4F5F-84B5-72AD285B75FD@mangomultimedia.com> Message-ID: <86013668-A2E1-4739-A5C2-BFE7C372123B@inria.fr> Bonjour, Le 16 d?c. 09 ? 06:12, Trevor DeVore a ?crit : > On Dec 16, 2009, at 12:04 AM, James Hurley wrote: >>> It's okay, the Data Grid likes to be beta up on once and a while :-) >> >> As long as this is still in Beta, may I make a suggestion? > > Sorry, that was supposed to be "beat" not "beta". :-o)) > >> (Does anyone ever let the possibility of the answer be "no" stop >> them?) >> I had assumed when I saw the following code in the guide: >> >> put field "data" into tData >> put true into pFirstLineContainsHeaders >> set the dgText [ pFirstLineContainsHeaders ] of group "DataGrid 2" >> to tData >> >> I assumed that the data grid would function in much the same way >> that FileMaker does when importing an Excel file, i.e. it allows >> one to assign the items in the first line of the file to field >> names and the rest of the llines to populate these fields. That >> would be a reasonable behavior of >> "dgText[pFirstLineContainsHeaders]" il.e. when the parameter is >> true, the column headings are taken from the first line of the text >> field and the rest go into filling the columns. I must confess that I interpreted this code in the same way in particular, I think, because this phrase "If true then the data grid will extract the first line of pText ?" > > > The first line is only used to tell the data grid which columns to > map the rest of the data to. If you want to create columns then you > will need to set the dgProp["columns"] property. That's OK for me now, Trevor :-) Might be nice to elaborate a bit in this lesson to prevent from this misinterpretation. Best regards from Grenoble Andr? > > You can't really use multiple parameters when using setProp (which > is what dgText is). I'm kind of fudging things a bit by treating > dgText as a custom property set and pFirstLineContainsHeaders as the > custom property. The truth is we still don't have access to a very > expressive syntax when creating custom controls (which the Data Grid > is one). > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacques.hausser at unil.ch Wed Dec 16 05:56:24 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Wed, 16 Dec 2009 11:56:24 +0100 Subject: Deriving an angle from three points In-Reply-To: <730EEBDB-474A-4513-A87B-FCE08D604C82@unil.ch> References: <4B288EDA.4090404@pdslabs.net> <6BAE1B16-A764-4E45-B532-0D37D5EC3471@unil.ch> <730EEBDB-474A-4513-A87B-FCE08D604C82@unil.ch> Message-ID: <47EC45B9-5FB3-45E8-8996-10B2335E86DB@unil.ch> I really should re-read my mails before sending them :-( I cannot copy and paste scripts directly into mails (I don't know why) so I rewrite them... with bugs ! in function calcangle the line if SurfaceTriangle (a,c,b) then should be if SurfaceTriangle(a,c,b) > 0 then ... but you corrected it already ! Jacques-in-the-moon ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From Kresten.Bjerg at psy.ku.dk Wed Dec 16 06:02:43 2009 From: Kresten.Bjerg at psy.ku.dk (Kresten Bjerg) Date: Wed, 16 Dec 2009 12:02:43 +0100 Subject: VS: How do I construct a scroll bar for stack larger than screen Message-ID: <7A47FC91544BDC44B54C6807E6995019015C856D@ibtmail1.ibt.ku.dk.ad> 9 separate scrolling windows on the desktop ! Kresten From psahores at free.fr Wed Dec 16 06:58:08 2009 From: psahores at free.fr (Pierre Sahores) Date: Wed, 16 Dec 2009 12:58:08 +0100 Subject: Deriving an angle from three points In-Reply-To: <47EC45B9-5FB3-45E8-8996-10B2335E86DB@unil.ch> References: <4B288EDA.4090404@pdslabs.net> <6BAE1B16-A764-4E45-B532-0D37D5EC3471@unil.ch> <730EEBDB-474A-4513-A87B-FCE08D604C82@unil.ch> <47EC45B9-5FB3-45E8-8996-10B2335E86DB@unil.ch> Message-ID: <10E798D3-1648-4D66-BFA6-A38A2CF9B519@free.fr> Hi Friends, Did'nt follow all the present thread so don't know if this can help but in case, here is the general way i would use to process such tasks : on mouseUp set the style of the templateGraphic to "polygon" set the opaque of the templateGraphic to "true" set the filled of the templateGraphic to "true" set the backgroundcolor of templateGraphic to "blue" # or what ever color you choose instead set the textcolor of templateGraphic to "blue" # or what ever color you choose instead if there is a grc "new_grc" then delete grc "new_grc" create grc "new_grc" ask "How many sectors do you want to display" if it is not "" then put it into secteurs_nb else exit to top # random example values you will have to replace with the real values you want to display put "" into les_valeurs33 repeat with c = 1 to secteurs_nb put -1+random(2) & return & return after les_valeurs33 end repeat put char 1 to -3 of les_valeurs33 into les_valeurs33 put -40+the height of this cd into graph_diametre put graph_diametre div 2 into graph_rayon put the width of this cd div 2 into x1 put the height of this cd div 2 into y1 put 2*pi / secteurs_nb into langle put langle / 2 into langlecalcule repeat with c = 1 to secteurs_nb put cos((x1*2*pi) + langlecalcule) & "," after the_cos_1 put sin((y1*2*pi) + langlecalcule) & "," after the_sin_1 add langle to langlecalcule end repeat put the_cos_1 after the_cos_1 put the_sin_1 after the_sin_1 put pi / secteurs_nb into langle put "0" into langlecalcule repeat with c = 1 to 2*secteurs_nb put cos((x1*2*pi) + langlecalcule) & "," after the_cos_2 put sin((y1*2*pi) + langlecalcule) & "," after the_sin_2 add langle to langlecalcule end repeat put the_cos_2 after the_cos_2 put the_sin_2 after the_sin_2 # draw the graphic set the points of grc "new_grc" to points_cosin (secteurs_nb ,les_valeurs33 ,x1,y1,the_cos_1,the_sin_1,the_cos_2,the_sin_2,graph_rayon) end mouseUp function points_cosin secteurs_nb ,les_valeurs,x1,y1,the_cos_1,the_sin_1,the_cos_2,the_sin_2,graph_rayon put "" into points_nb put "0" into d repeat with c = 1 to 2*secteurs_nb put (1 / 11) + ((line c of les_valeurs*10) / 11) into active_rayon if c mod 2 = 1 then add 1 to d put x1 & "," & y1 & return & round(x1-(item c of the_cos_2*active_rayon*graph_rayon)),round(y1-(item c of the_sin_2*active_rayon*graph_rayon)) & return & \ round(x1-(item d of the_cos_1*active_rayon*graph_rayon)),round(y1-(item d of the_sin_1*active_rayon*graph_rayon)) & return & \ round(x1-(item 2+c of the_cos_2*active_rayon*graph_rayon)),round(y1-(item 2+c of the_sin_2*active_rayon*graph_rayon)) & return after points_nb else put x1 & "," & y1 & return & round(x1-(item c of the_cos_2*active_rayon*graph_rayon)),round(y1-(item c of the_sin_2*active_rayon*graph_rayon)) & return & \ round(x1-(item 2+c of the_cos_2*active_rayon*graph_rayon)),round(y1-(item 2+c of the_sin_2*active_rayon*graph_rayon)) & return after points_nb add 1 to c end repeat return points_nb & line 1 of points_nb end points_cosin just put this script inside a new stack's button and run it to display the "new_graph" test graph. Just tested and seems to work fine there. Have fun ! Pierre Le 16 d?c. 09 ? 11:56, Jacques Hausser a ?crit : > I really should re-read my mails before sending them :-( > I cannot copy and paste scripts directly into mails (I don't know > why) so I rewrite them... with bugs ! > > in function calcangle the line > > if SurfaceTriangle (a,c,b) then > > should be > > if SurfaceTriangle(a,c,b) > 0 then > > ... but you corrected it already ! > > Jacques-in-the-moon > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel/fax: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.hausser at unil.ch > ******************************************* > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From jmyepes at mac.com Wed Dec 16 07:19:05 2009 From: jmyepes at mac.com (JosepM) Date: Wed, 16 Dec 2009 04:19:05 -0800 (PST) Subject: Datagrid: Edit a cell to update the rest of cells Message-ID: <1260965945392-965161.post@n4.nabble.com> Hi, I have a problem. I need, after edit the value of a cell, update de values of the rest of cells of the row. I enter one value, check the database and fill other cells in the row. It's posible? I have a "datagrid_behavior" with the CloseFieldEditor where I can check the database and get the values, but how to put the values into other cells? Salut and Merry Xmas for all, Josep -- View this message in context: http://n4.nabble.com/Datagrid-Edit-a-cell-to-update-the-rest-of-cells-tp965161p965161.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Wed Dec 16 07:22:49 2009 From: jmyepes at mac.com (JosepM) Date: Wed, 16 Dec 2009 04:22:49 -0800 (PST) Subject: Datagrid: Edit a cell to update the rest of cells In-Reply-To: <1260965945392-965161.post@n4.nabble.com> References: <1260965945392-965161.post@n4.nabble.com> Message-ID: <1260966169529-965163.post@n4.nabble.com> Reply to myself... :) SetDataOfIndex the dgIndex of me, "Col X", Salut, Josep -- View this message in context: http://n4.nabble.com/Datagrid-Edit-a-cell-to-update-the-rest-of-cells-tp965161p965163.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Wed Dec 16 07:42:28 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 16 Dec 2009 13:42:28 +0100 Subject: Bug Message-ID: Hi, On any version of Mac OS X with any version of Revolution from 2.2 up to and including 4.0, create a new stack, with one square button, e.g. 70x70 pixels (size doesn't matter). Give this button the following script: on mouseDown repeat until the mouse is up with messages set the loc of me to the mouseLoc wait 0 millisecs with messages end repeat end mouseDown Turn off the autoHilite and, just to be sure, the sharedHilite. Click the button and move it around. The button will appear hilited, which I don't want, because I need to be able to control the hilite myself, while dragging around this button. That's also a reason why I can't use the locking-up drag command. All other solutions you and I can think of fail too. For many years now, I keep running into this bug, whenever I try to quickly create a nice interface (something RunRev is supposed to be the ideal tool for). When is this ridiculous and annoying bug finally going to be fixed?! -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Full PayPal integration and automation in web site or (Revolution/ SuperCard/other) software. Contact me for a quote http://economy-x-talk.com/contact.html From bvg at mac.com Wed Dec 16 08:26:44 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 16 Dec 2009 14:26:44 +0100 Subject: type font size in dictionary In-Reply-To: References: <200912150658.50844.palcibiades-first@yahoo.co.uk> Message-ID: <737BCE29-0AD0-4253-BE7E-D75F0C4EAA1B@mac.com> On 16 Dec 2009, at 04:58, Kay C Lan wrote: >> >> The easier way is, to use my bvg docu stack, where you can set text >> sizes >> in the settings: >> >> http://bjoernke.com/?target=bvgdocu >> >> > Does this incorporate the User Contributed Notes? - They're slowly > growing > and important to an occasional programmer like me! Short answer: No Long Answer: Unfortunately, RunRev has still not given any public access to the user notes, despite promising such a feature when i asked in spring. Similar goes the online stored documentation. I could of course get them by looking trough the rev dictionary stack code, but currently bvg docu 2 is not the main focus of my available time, sorry. Have fun (nonetheless) Bj?rnke -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From andre at andregarzia.com Wed Dec 16 08:56:34 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 16 Dec 2009 11:56:34 -0200 Subject: interrupting a repeat loop In-Reply-To: <4B282554.3090508@tweedly.net> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> <4B27C575.9080400@pdslabs.net> <7c87a2a10912151043h523e27f8q6e6dab41173e12a1@mail.gmail.com> <4B282554.3090508@tweedly.net> Message-ID: <7c87a2a10912160556o10c48997m6903c6073884f81b@mail.gmail.com> Hi Alex, We all love tail recursion optimizations! Thanks for the code! Cheers andre On Tue, Dec 15, 2009 at 10:09 PM, Alex Tweedly wrote: > Andre Garzia wrote: > >> Hi Folks, >> >> this been answered in many ways already but I thought I'd chime in and try >> to answer it in a different way. The key is to think of reusable code, >> every >> now and them we keep rewritting the same pieces over and over again. How >> do >> we create a generic thing that will: >> >> 1) Run some code in a loop >> 2) Enable us to stop this execution when something happen >> >> If speed is not the main issue here, then we can approach this with a more >> flexible way by creating a group of functions that will enable a generic >> handler to be executed until something else make it stop. We will use the >> new dispatch calls for that. >> >> command iterate pHandlerToLoop, pHandlerThatInterrupts >> dispatch pHandlerThatInterrupts >> if the result is true then >> dispatch pHandlerToLoop >> if the result is true then >> dispatch iterate with pHandlerToLoop, pHandlerThatInterrupts >> end if >> end if >> end iterate >> >> This code will first call a command to check if the loop should be >> executed, >> this command should return true or false. If it is true then it will call >> the loop command once and if the loop command returned true, it will call >> itself again. This code will loop and will exit the loop if any of two >> things happen, the command that interrupts return false or the command >> that >> loops return false, for example, let us count to ten using this code: >> >> >> > Nice. But as George said, you will hit recursion limits. > > And the dispatch to iterate (i.e. to itself) is a simple tail recursion - > which you can eliminate easily. > > AFAICT, this is equivalent and has no recursion issues. > >> command iterate pHandlerToLoop, pHandlerThatInterrupts >> repeat forever >> dispatch pHandlerThatInterrupts >> if the result is false then exit iterate >> dispatch pHandlerToLoop >> if the result is false then exit iterate >> end repeat >> end iterate >> > > > -- Alex. > > _______________________________________________ > use-revolution mailing list > use-revolution at 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. From mdswindell at cruzio.com Wed Dec 16 09:08:16 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Wed, 16 Dec 2009 06:08:16 -0800 Subject: Deriving an angle from three points In-Reply-To: <62563779765.20091215223542@ahsoftware.net> References: <62563779765.20091215223542@ahsoftware.net> Message-ID: <692B1BC7-78D0-4208-933D-413F9FA9BCC4@cruzio.com> On Dec 15, 2009, at 10:35 PM, Mark Wieder wrote: > Mark- > > Tuesday, December 15, 2009, 10:21:47 PM, you wrote: > >> 40,116 >> 98,186 >> 132,118 > >> How would one determine the angle created from three points, such as those above? > > There are three angles. Which one are you interested in? > > ? The above represents roughly a V shape with the center point the vertex. I was trying to detemine the internal angle. From scott at tactilemedia.com Wed Dec 16 10:05:29 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 16 Dec 2009 07:05:29 -0800 Subject: Bug In-Reply-To: Message-ID: Recently, Mark Schonewille wrote: > On any version of Mac OS X with any version of Revolution from 2.2 up > to and including 4.0, create a new stack, with one square button, e.g. > 70x70 pixels (size doesn't matter). Give this button the following > script: > > on mouseDown > repeat until the mouse is up with messages > set the loc of me to the mouseLoc > wait 0 millisecs with messages > end repeat > end mouseDown > > Turn off the autoHilite and, just to be sure, the sharedHilite. Click > the button and move it around. The button will appear hilited, which I > don't want, because I need to be able to control the hilite myself, > while dragging around this button. That's also a reason why I can't > use the locking-up drag command. All other solutions you and I can > think of fail too. Maybe I'm missing something. Over here, using the above on OS X 10.6.2, the button doesn't hilite, using Rev 4 or Rev 3.5. Tried buttons that are square and rectangular. No difference. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From richmondmathewson at gmail.com Wed Dec 16 10:39:17 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 16 Dec 2009 17:39:17 +0200 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <655B5C09-39E4-4EAD-9892-8ACDFEE0B929@iafrica.com> References: <20091216084757.359A028853E@mail.runrev.com> <655B5C09-39E4-4EAD-9892-8ACDFEE0B929@iafrica.com> Message-ID: <4B28FF25.9020407@gmail.com> On 16/12/2009 11:48, Ryno Swart wrote: > I seem to have the uncanny ability to break anything... the MIDA$ > touch. I cannot download the MetaCard IDE successfully. > > The message "Sorry, but this version of the IDE requires engine > >=3.x!" appears. My version of Rev is 2.8.1 build 470. Any suggestions? > Yes, but probably not one you will like: Upgrade your version of RunRev 4. From jhurley0305 at sbcglobal.net Wed Dec 16 10:52:19 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Wed, 16 Dec 2009 07:52:19 -0800 Subject: Saving standalone substacks In-Reply-To: <20091216084757.19DB728853A@mail.runrev.com> References: <20091216084757.19DB728853A@mail.runrev.com> Message-ID: > > Message: 23 > Date: Wed, 16 Dec 2009 13:53:00 +0800 > From: Kay C Lan > Subject: Re: Saving standalone substacks > To: How to use Revolution > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > You might try here: > > http://revjournal.com/tutorials/saving_data_in_revolution.html > > HTH > > On Wed, Dec 16, 2009 at 1:05 PM, James Hurley >wrote: > >> Is there a tutorial someplace on saving data in the standalone >> substacks? >> >> Jim Hurley Kay, Thanks. As always, Sarah to the rescue. Actually, I had recalled that the splash screen was the way to go. My question is really quite primitive. When the user quits, or just wants to save the substacks, what is the action plan, specifically, what is the code? Save.....the substacks name. Is a file path required? Like I said, my question is quite primitive. Jim Hurley From jhurley0305 at sbcglobal.net Wed Dec 16 10:52:22 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Wed, 16 Dec 2009 07:52:22 -0800 Subject: Newbie Data Grid question In-Reply-To: <20091216084757.19DB728853A@mail.runrev.com> References: <20091216084757.19DB728853A@mail.runrev.com> Message-ID: <989DFE82-D6E8-46AB-8533-55E14204C459@sbcglobal.net> > ----------------------- > > Message: 15 > Date: Tue, 15 Dec 2009 18:52:52 -0800 > From: Jim Ault > Subject: Re: Newbie Data Grid question > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes > > One valuable technique for understanding the DataGrid inner workings. > > In Rev, choose the pointer tool, click on a data grid, then go the > inspector, choose 'custom properties' from the drop down, > > and now check out the property sets. You should see dgProps and > dgCache > Note all the properties that have been created when the data grid was > created. > Of course you can edit the values here, but you can also change them > in script lines. > > One bit of confusion for me is that there is no dgText property set > visible here. The syntax > > set the dgText [ true ] of group "DataGrid" to tHeaders > > would logically mean that there would be a custom property set > "dgText" > > Interesting if you click on dgProps "row template" you will see: > group id 1011 of card id 1010 of stack "Data Grid Templates > 1260751174078" > > ...at least in my version of Rev 3.5 > > Hope this helps in your travels. > > Jim Ault > Las Vegas > Jim, Thanks for this. I tried this, hoping for the same insight you discovered, but I don't see anything in the custom property set. Are you looking at the dgProps of the data grid group? Jim From jhurley0305 at sbcglobal.net Wed Dec 16 10:52:26 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Wed, 16 Dec 2009 07:52:26 -0800 Subject: Deriving an angle from three points In-Reply-To: <20091216084757.19DB728853A@mail.runrev.com> References: <20091216084757.19DB728853A@mail.runrev.com> Message-ID: <1DC23BEB-138C-47AD-B42A-114FF3F1F38E@sbcglobal.net> > > Message: 24 > Date: Tue, 15 Dec 2009 22:21:47 -0800 > From: Mark Swindell > Subject: Deriving an angle from three points > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=us-ascii > > 40,116 > 98,186 > 132,118 > > How would one determine the angle created from three points, such as > those above? > > Thanks, > Mark > Mark, Here is how easy this is in Turtle Graphics: on mouseUp startTurtle --Initiates the turtle graphics library penup setxy 40,116 pendown put direction(98,186) into tStartAngle setxy 98,186 put direction(132,118) into tEndAngle setxy 132,118 --Not necessary, but visually satisfying put tEndAngle - tStartAngle into dA put dA & cr & 360 - da into msg box choose the browse tool end mouseUP (Assuming your middle point is the apex of the angle you want.) To run this you will need the TG library. Run this in the msg box go url "http://www.jamesphurley.com/jhurleyFolder/TurtleGraphics.rev" Jim Hurley From coiin at verizon.net Wed Dec 16 11:01:42 2009 From: coiin at verizon.net (Colin Holgate) Date: Wed, 16 Dec 2009 11:01:42 -0500 Subject: Deriving an angle from three points In-Reply-To: References: Message-ID: On Dec 16, 2009, at 1:21 AM, Mark Swindell wrote: > 40,116 > 98,186 > 132,118 > > How would one determine the angle created from three points, such as those above? All of the suggested scripts seem quite long. Try putting this script into three buttons. The script uses the Other Mark's way of dragging the button around (and it doesn't hilite the button as he claims): on mouseDown repeat until the mouse is up with messages set the loc of me to the mouseLoc wait 0 millisecs with messages end repeat put 180 - angler(loc of btn 1,loc of btn 2,loc of btn 3)/pi*180 end mouseDown function angler p1, p2, p3 put atan2(item 2 of p2-item 2 of p1,item 1 of p2 - item 1 of p1) into angle1 put atan2(item 2 of p3-item 2 of p2,item 1 of p3 - item 1 of p2) into angle2 return abs(angle2-angle1) end angler The bit that calculates the angle could be done in a single line: put 180 - (atan2(item 2 of p3-item 2 of p2,item 1 of p3 - item 1 of p2)-atan2(item 2 of p2-item 2 of p1,item 1 of p2 - item 1 of p1))/pi*180 From coiin at verizon.net Wed Dec 16 11:02:34 2009 From: coiin at verizon.net (Colin Holgate) Date: Wed, 16 Dec 2009 11:02:34 -0500 Subject: Bug In-Reply-To: References: Message-ID: On Dec 16, 2009, at 10:05 AM, Scott Rossi wrote: > Maybe I'm missing something. Over here, using the above on OS X 10.6.2, the > button doesn't hilite, using Rev 4 or Rev 3.5. Tried buttons that are > square and rectangular. No difference. No problem here either, with a rounded rect button. Again OSX, and using Rev Media. From coiin at verizon.net Wed Dec 16 11:06:49 2009 From: coiin at verizon.net (Colin Holgate) Date: Wed, 16 Dec 2009 11:06:49 -0500 Subject: Deriving an angle from three points In-Reply-To: References: Message-ID: On Dec 16, 2009, at 11:01 AM, Colin Holgate wrote: > > All of the suggested scripts seem quite long. Correction, gmc's solution was also using atan2, and was fairly short. From jhurley0305 at sbcglobal.net Wed Dec 16 11:08:19 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Wed, 16 Dec 2009 08:08:19 -0800 Subject: Deriving an angle from three points In-Reply-To: <20091216084757.19DB728853A@mail.runrev.com> References: <20091216084757.19DB728853A@mail.runrev.com> Message-ID: <928E4FC4-6C9A-46F8-9342-7680C6E49713@sbcglobal.net> > > Message: 24 > Date: Tue, 15 Dec 2009 22:21:47 -0800 > From: Mark Swindell > Subject: Deriving an angle from three points > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=us-ascii > > 40,116 > 98,186 > 132,118 > > How would one determine the angle created from three points, such as > those above? > > Thanks, > Mark > Mark, Or even easier. Set the Turtle at the apex and get the angle of the other two points. on mouseUp startTurtle --Initiates the turtle graphics library penup setxy 98,186 --The vertex put direction(40,116) into A put direction(132,118) into B put B-A into dA put abs(dA) & cr & abs(180 - dA) into msg box choose the browse tool end mouseUP (Assuming your middle point is the apex of the angle you want.) To run this you will need the TG library. Run this in the msg box go url "http://www.jamesphurley.com/jhurleyFolder/TurtleGraphics.rev" Jim Hurley From ambassador at fourthworld.com Wed Dec 16 12:10:35 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 16 Dec 2009 09:10:35 -0800 Subject: Shortcut for resizing a selected object ? Message-ID: <4B29148B.20100@fourthworld.com> Nicely done. Limiting the resizing to the left and bottom removes the ambiguity I was wondering about in terms of which sides gets adjusted. I think I'll add this to my copy of the MC IDE, and have cc'd the MC discussion list here in hopes that the crew agrees it would be useful to add to the master version. It's a nice compliment to the Shift key modifier, which moves the objects by 10-pixel increments. With Option added for resizing, it really rounds out the arrow key use quite well. Thanks for the script - useful stuff. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv zryip wrote: > > How ? > Try this 8) : > > on rawkeyDown theKey > if (the altKey is down) and (theKey >= 65361) and (theKey <= 65364) > then -- only if alt key is pressed when using arrow key > put the selectedObjects into objectsList -- keep in memory the > list of objects to resize > get number of lines of objectsList > if it > 0 then > repeat with x = 1 to it -- a loop to resize all the objects in the list > resizeObject line x of the selectedObjects,theKey > end repeat > end if > else > pass rawkeyDown > end if > end rawkeyDown > > on resizeObject theObject,theKey > do "get rect of" && theObject > put numKey2Const(theKey) into direction > put getStep(direction,the shiftKey is down) into myStep -- step = 1 > pixel or 5 pixels when the shift key is down > add myStep to item numKey2rectItem(direction) of it > do "set rect of" && (theObject) && "to it" > end resizeObject > > function numKey2Const valueKey > -- Not necessary but usefull to not keep in mind 65361 when I > search my left. 8) > switch valueKey > case 65361 > return "left" > case 65362 > return "up" > case 65363 > return "right" > case 65364 > return "down" > default > return "" > end switch > end numKey2Const > > function numKey2rectItem direction > if (direction is in "left,right") then > return 3 > else > return 4 > end if > end numKey2rectItem > > function getStep direction,shiftFlag > if (direction is in "left,up") then > put -1 into myStep -- reduce the size of the object > else > put 1 into myStep -- grow up the size of the object > end if > if shiftFlag then put (myStep * 5) into myStep > return myStep > end getStep > > -Zryip TheSlug- wish you the best ! 8) > > 2009/12/16 Richard Gaskin > > I use this feature in Fireworks and other tools that let you > select a single bounds handle, but how would this work in Rev (or HC > for that matter, since it used the "marching ants" marquee to indicate > selection)? From scott at tactilemedia.com Wed Dec 16 12:25:10 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 16 Dec 2009 09:25:10 -0800 Subject: VS: How do I construct a scroll bar for stack larger than screen In-Reply-To: Message-ID: Kresten, if you need nine separate scrollable stacks, maybe this is what you are trying to do. Execute the following in your Rev message box: go url "http://www.tactilemedia.com/download/nine_stacks.rev" This is a small model of what I think you described. When any stack is resized, the group that is within the stack scales to fit the rect of that stack. These groups have hscrollbars which you can disable if you don't need them. If this is not what you are looking for, please provide some additional details. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design >>> I have tried to follow them, but am approaching the view, that it cannot >>> be done. >>> >>> Which is a shame, because the users of the cheap mini-notebooks would be >>> a most relevant target group >>> >>> It is a most unusual context : A stack, where the stacksize is 3072 x >>> 2304 = 9 different 1024x768 windows, >>> >>> which ideally should each have a vscrollbar. > >> Kresten, to clarify what you want, are you trying to create 9 separate >> scrolling windows on the desktop, or do you want 9 separate scrolling regions >> in one window? > > 9 separate > > scrolling windows on the desktop ! From bdrunrev at gmail.com Wed Dec 16 12:52:35 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 16 Dec 2009 17:52:35 +0000 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <4B2803AF.3070500@hyperactivesw.com> References: <3376687.151260911717256.JavaMail.HAPPY-LAPPY$@Happy-Lappy> <4B2803AF.3070500@hyperactivesw.com> Message-ID: Jacqueline Thanks for making this such an easy install. I really am most grateful to the people who've kept this alive. I'd reached the end of my tether trying to use Rev 3.5 and 4.0 on Linux. At least the Metacard IDE works about 98% of the way. There are still some visual defects, but alas they seem to be in the engine. I can at least edit scripts and read what's written on the IDE's menus. It's going to take a little getting used to, but at least I can use Rev. Bernard On Tue, Dec 15, 2009 at 9:46 PM, J. Landman Gay wrote: > In RevOnline (in Rev's toolbar) search for the "MetaCard Setup" stack. This > will download the latest MC IDE and set it up with your (licensed) Rev > engine, ready to go. It's all one click. > > -- > Jacqueline Landman Gay ? ? ? ? | ? ? jacque at hyperactivesw.com From jacque at hyperactivesw.com Wed Dec 16 13:09:42 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 16 Dec 2009 12:09:42 -0600 Subject: Rev IDE vs MetaCard IDE In-Reply-To: References: <3376687.151260911717256.JavaMail.HAPPY-LAPPY$@Happy-Lappy> <4B2803AF.3070500@hyperactivesw.com> Message-ID: <4B292266.5090806@hyperactivesw.com> Bernard Devlin wrote: > Jacqueline > > Thanks for making this such an easy install. I really am most > grateful to the people who've kept this alive. I'd reached the end of > my tether trying to use Rev 3.5 and 4.0 on Linux. > > At least the Metacard IDE works about 98% of the way. There are still > some visual defects, but alas they seem to be in the engine. I can at > least edit scripts and read what's written on the IDE's menus. > > It's going to take a little getting used to, but at least I can use Rev. You're welcome. Anyone trying out MC for the first time should note that none of the "rev"-prefixed calls will work, since those are all scripted into the Rev IDE; i.e., revPrintField, revGoURL, etc. If you need any of that, you'll have to pull the handlers out of Rev and move them into your own backscript. We're strictly bare-bones here. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Dec 16 13:20:02 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 16 Dec 2009 12:20:02 -0600 Subject: Saving standalone substacks In-Reply-To: References: <20091216084757.19DB728853A@mail.runrev.com> Message-ID: <4B2924D2.6030101@hyperactivesw.com> James Hurley wrote: > Actually, I had recalled that the splash screen was the way to go. > My question is really quite primitive. When the user quits, or just > wants to save the substacks, what is the action plan, specifically, what > is the code? Save.....the substacks name. Is a file path required? Like > I said, my question is quite primitive. Depends on what your stack does. If you've changed the defaultfolder, then you'll need to calculate a file path back to your satellite stacks (I don't like the word "substacks" in this case because those are stacks embedded in the mainstack, and they can't save data. Separate stacks opened by a splash app need a different name.) The default location when your splash starts up is the same folder as the splash app is in. You can handle this several ways: 1. Reset the defaultfolder to the one where your splash exists, if you've changed it. Refer to satellite stacks by their relative path. 2. Calculate file paths to the satellite stacks and use those as stack references. 3. Set the stackfiles property of your splash so that it points to relative path locations for the satellite stacks. Then you can just refer to them by their short names and Rev can still find them. This is perhaps the easiest way to manage it. However you determine the stack paths, the rest is the same. Loop through the names of your satellite stacks when the user requests to quit, and save each one. You can ask the user if they want to save each of them, if that fits your app better. Assuming three stacks in the same folder as your standalone, with the defaultfolder set to that directory: on shutdownRequest repeat for each item i in "stack1.rev,stack2.rev,stack3.rev" save stack i close stack i end repeat pass shutdownRequest end shutdownRequest -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From shari at gypsyware.com Wed Dec 16 13:20:47 2009 From: shari at gypsyware.com (Shari) Date: Wed, 16 Dec 2009 13:20:47 -0500 Subject: Rev IDE vs MetaCard IDE In-Reply-To: <4B292266.5090806@hyperactivesw.com> References: <3376687.151260911717256.JavaMail.HAPPY-LAPPY$@Happy-Lappy> <4B2803AF.3070500@hyperactivesw.com> <4B292266.5090806@hyperactivesw.com> Message-ID: It's good to see the Metacard IDE mentioned here. While someone accustomed to Rev might initially be underwhelmed by its simplicity, that same simplicity can make your programming so much more productive. The Rev IDE has its honor points and I do occasionally launch it, but the MC IDE is where I get most of my work done. Thank you, always, for keeping the MC IDE alive! Shari -- Critters, humor, patriots and sports t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware http://www.gypsyware.com From mwieder at ahsoftware.net Wed Dec 16 13:25:35 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 16 Dec 2009 10:25:35 -0800 Subject: Deriving an angle from three points In-Reply-To: <692B1BC7-78D0-4208-933D-413F9FA9BCC4@cruzio.com> References: <62563779765.20091215223542@ahsoftware.net> <692B1BC7-78D0-4208-933D-413F9FA9BCC4@cruzio.com> Message-ID: <196606372609.20091216102535@ahsoftware.net> Mark- Wednesday, December 16, 2009, 6:08:16 AM, you wrote: > The above represents roughly a V shape with the center point the > vertex. It doesn't. Three points in a plane represents a triangle. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Dec 16 13:28:09 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 16 Dec 2009 10:28:09 -0800 Subject: interrupting a repeat loop In-Reply-To: <7c87a2a10912160556o10c48997m6903c6073884f81b@mail.gmail.com> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> <4B27C575.9080400@pdslabs.net> <7c87a2a10912151043h523e27f8q6e6dab41173e12a1@mail.gmail.com> <4B282554.3090508@tweedly.net> <7c87a2a10912160556o10c48997m6903c6073884f81b@mail.gmail.com> Message-ID: <118606526765.20091216102809@ahsoftware.net> Andre- Wednesday, December 16, 2009, 5:56:34 AM, you wrote: > Hi Alex, > We all love tail recursion optimizations! > Thanks for the code! If a recursive routine can be refactored into a "repeat forever" loop then it's probably a bad candidate for recursion. But it's hard to resist recursive routines with finite bounds. There's something that just looks so *right* about them. -- -Mark Wieder mwieder at ahsoftware.net From coiin at verizon.net Wed Dec 16 13:44:54 2009 From: coiin at verizon.net (Colin Holgate) Date: Wed, 16 Dec 2009 13:44:54 -0500 Subject: Deriving an angle from three points In-Reply-To: <196606372609.20091216102535@ahsoftware.net> References: <62563779765.20091215223542@ahsoftware.net> <692B1BC7-78D0-4208-933D-413F9FA9BCC4@cruzio.com> <196606372609.20091216102535@ahsoftware.net> Message-ID: <0C47FD8E-818B-4E9D-AE5B-EFD676F41ACA@verizon.net> Well, of course it's a triangle, but describing it as a V helped explain which angle was wanted. On Dec 16, 2009, at 1:25 PM, Mark Wieder wrote: > > It doesn't. Three points in a plane represents a triangle From richmondmathewson at gmail.com Wed Dec 16 13:45:03 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 16 Dec 2009 20:45:03 +0200 Subject: "Funny" things happen when your internet cuts off. Message-ID: <4B292AAF.9050803@gmail.com> Lost internet today for about 6 hours (stupid self had forgotten to pay for it); and when I opened any stack in RevStudio the whole thing froze (PPC Mac). Now I have internet restored (robbed a bank), all is quite alright again. Does this mean that when I go to see Mum and Dad at New Year and drag the Tray-loading G3 iMac out of the attic (OS Panther) because it will not be connected to the internet RunRev is going to play "silly buggers" ? From mwieder at ahsoftware.net Wed Dec 16 13:43:58 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 16 Dec 2009 10:43:58 -0800 Subject: Deriving an angle from three points In-Reply-To: <1260958066274-965059.post@n4.nabble.com> References: <21572561703.20091216010204@ahsoftware.net> <1260957441057-965051.post@n4.nabble.com> <1260958066274-965059.post@n4.nabble.com> Message-ID: <97607475015.20091216104358@ahsoftware.net> gmccarthy- Wednesday, December 16, 2009, 2:07:46 AM, you wrote: > By the way again, Mark's method is also correct if you fix the variable names > as shown below. > Normally a triangle with points ABC have their sides named with side b > between A and C so it is opposite angle B...etc. Quite correct. In my defense, it was one in the morning here after a long day... -- -Mark Wieder mwieder at ahsoftware.net From davidocoker at gmail.com Wed Dec 16 13:51:02 2009 From: davidocoker at gmail.com (D.Coker) Date: Wed, 16 Dec 2009 12:51:02 -0600 (CST) Subject: VS: How do I construct a scroll bar for stack larger than screen In-Reply-To: <30390269.01260989054030.JavaMail.HAPPY-LAPPY$@Happy-Lappy> Message-ID: <10745458.21260989458224.JavaMail.HAPPY-LAPPY$@Happy-Lappy> >Kresten, if you need nine separate scrollable stacks, maybe this is what you >are trying to do. Execute the following in your Rev message box: > > go url "http://www.tactilemedia.com/download/nine_stacks.rev" > >This is a small model of what I think you described. When any stack is >resized, the group that is within the stack scales to fit the rect of that >stack. These groups have hscrollbars which you can disable if you don't >need them. Scott, I cannot speak for Kresten, but your example is really gonna be helpful to me if and when I get back to a project that I currently have on the back burner. To date, I've not done a lot with graphics -or- multi-stack configurations using Rev, so this will be a fantastic learning opportunity. Question: Is there any significance with the label field in each window? At any rate, I really appreciate this particular example! Best regards, David C. From rjb at robelko.com Wed Dec 16 13:49:12 2009 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 16 Dec 2009 19:49:12 +0100 Subject: HTMLText question In-Reply-To: References: <6ea1.32380556.38594caf@aol.com> <37C40781-D3F9-4687-9623-39D8A7D1FEF6@byu.edu> Message-ID: On 16.12.2009 at 11:51 Uhr +0800 Kay C Lan apparently wrote: >Craig, > >one further observation. If the field already contains formatted text, ie >bold or coloured, doing what you are doing would set everything back to >plain text except for word 2 so in most cases (but I accept not all) you'd >want to do deal with htmlText exclusively: > >put the htmlText of fld "myField" into tHtml --not the plain text >replace "" with "" in line 2 of tHtml >replace "" with "" in line 2 of tHtml >set the htmlText of fld "myField to tHtml > >Of course one case where you would one to swap from one to the other is if >you want to strip HTML tags. Set the htmlText of a field to a html file, >then put the field into a Var, most of the html is then nicely stripped for >you :-) > >HTH A tad safer and more general technique is to put "" before word 2 of tHtml put "" after word 2 of tHtml As other said, variable have htmltext property, just the content which can be html, so you need to work with it directly. Html comes into effect when such a content is put into a field and then displayed to user. Robert From bfr at nwlink.com Wed Dec 16 13:57:56 2009 From: bfr at nwlink.com (Bruce Robertson) Date: Wed, 16 Dec 2009 10:57:56 -0800 Subject: Deriving an angle from three points In-Reply-To: <0C47FD8E-818B-4E9D-AE5B-EFD676F41ACA@verizon.net> References: <62563779765.20091215223542@ahsoftware.net> <692B1BC7-78D0-4208-933D-413F9FA9BCC4@cruzio.com> <196606372609.20091216102535@ahsoftware.net> <0C47FD8E-818B-4E9D-AE5B-EFD676F41ACA@verizon.net> Message-ID: <5AB15179-EB63-4F69-ABA7-04FE6320B065@nwlink.com> No it didn't. On Dec 16, 2009, at 10:44 AM, Colin Holgate wrote: > Well, of course it's a triangle, but describing it as a V helped explain > which angle was wanted. From userev at canelasoftware.com Wed Dec 16 14:24:05 2009 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 16 Dec 2009 11:24:05 -0800 Subject: "Funny" things happen when your internet cuts off. In-Reply-To: <4B292AAF.9050803@gmail.com> References: <4B292AAF.9050803@gmail.com> Message-ID: <7F545436-C431-4BFF-99C9-376CC6C1B061@canelasoftware.com> Hi Richmond, I think this has to do with bug: http://quality.runrev.com/qacenter/show_bug.cgi?id=8409 Rev makes use of the internet in the Docs and Rev Online. Because your computer was still connected to your router and your internet was not functioning at the time this bug may be affecting you. Best regards, Mark Talluto http://www.canelasoftware.com On Dec 16, 2009, at 10:45 AM, Richmond Mathewson wrote: > Lost internet today for about 6 hours (stupid self had forgotten > to pay for it); and when I opened any stack in RevStudio the > whole thing froze (PPC Mac). > > Now I have internet restored (robbed a bank), all is quite > alright again. > > Does this mean that when I go to see Mum and Dad at New Year and > drag the Tray-loading G3 iMac out of the attic (OS Panther) because it > will not be connected to the internet RunRev is going to play > "silly buggers" ? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revdev at pdslabs.net Wed Dec 16 14:25:43 2009 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 16 Dec 2009 11:25:43 -0800 Subject: Deriving an angle from three points In-Reply-To: <5AB15179-EB63-4F69-ABA7-04FE6320B065@nwlink.com> References: <62563779765.20091215223542@ahsoftware.net> <692B1BC7-78D0-4208-933D-413F9FA9BCC4@cruzio.com> <196606372609.20091216102535@ahsoftware.net> <0C47FD8E-818B-4E9D-AE5B-EFD676F41ACA@verizon.net> <5AB15179-EB63-4F69-ABA7-04FE6320B065@nwlink.com> Message-ID: <4B293437.6070009@pdslabs.net> On 12/16/09 10:57 AM, Bruce Robertson wrote: > No it didn't. > > On Dec 16, 2009, at 10:44 AM, Colin Holgate wrote: > > >> Well, of course it's a triangle, but describing it as a V helped explain >> which angle was wanted. >> I thought Mark S identified it well when he called it the 'internal angle' - at least that did it for me: > On Dec 15, 2009, at 10:35 PM, Mark Wieder wrote: >> > Mark- >> > >> > Tuesday, December 15, 2009, 10:21:47 PM, you wrote: >> > >>> >> 40,116 >>> >> 98,186 >>> >> 132,118 >> > >>> >> How would one determine the angle created from three points, such as those above? >> > >> > There are three angles. Which one are you interested in? >> > >> > --- > The above represents roughly a V shape with the center point the vertex. I was trying to detemine the internal angle. > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From devin_asay at byu.edu Wed Dec 16 15:19:40 2009 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 16 Dec 2009 13:19:40 -0700 Subject: Saving standalone substacks In-Reply-To: <4B2924D2.6030101@hyperactivesw.com> References: <20091216084757.19DB728853A@mail.runrev.com> <4B2924D2.6030101@hyperactivesw.com> Message-ID: <969AD6E6-E490-4078-8E53-07F7FD48BC3D@byu.edu> On Dec 16, 2009, at 11:20 AM, J. Landman Gay wrote: > James Hurley wrote: > >> Actually, I had recalled that the splash screen was the way to go. >> My question is really quite primitive. When the user quits, or just >> wants to save the substacks, what is the action plan, specifically, >> what >> is the code? Save.....the substacks name. Is a file path required? >> Like >> I said, my question is quite primitive. > > Depends on what your stack does. If you've changed the defaultfolder, > then you'll need to calculate a file path back to your satellite > stacks > (I don't like the word "substacks" in this case because those are > stacks > embedded in the mainstack, and they can't save data. Separate stacks > opened by a splash app need a different name.) The default location > when > your splash starts up is the same folder as the splash app is in. You > can handle this several ways: > > 1. Reset the defaultfolder to the one where your splash exists, if > you've changed it. Refer to satellite stacks by their relative path. > > 2. Calculate file paths to the satellite stacks and use those as stack > references. > > 3. Set the stackfiles property of your splash so that it points to > relative path locations for the satellite stacks. Then you can just > refer to them by their short names and Rev can still find them. This > is > perhaps the easiest way to manage it. > > However you determine the stack paths, the rest is the same. Loop > through the names of your satellite stacks when the user requests to > quit, and save each one. You can ask the user if they want to save > each > of them, if that fits your app better. > > Assuming three stacks in the same folder as your standalone, with the > defaultfolder set to that directory: > > on shutdownRequest > repeat for each item i in "stack1.rev,stack2.rev,stack3.rev" > save stack i > close stack i > end repeat > pass shutdownRequest > end shutdownRequest Jacque, Do you know what the file permissions implications are if a user other than the one who installed the app is trying to save stacks to the app bundle? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From scott at tactilemedia.com Wed Dec 16 15:36:45 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 16 Dec 2009 12:36:45 -0800 Subject: VS: How do I construct a scroll bar for stack larger than screen In-Reply-To: <10745458.21260989458224.JavaMail.HAPPY-LAPPY$@Happy-Lappy> Message-ID: Thanks but the example is far from fantastic -- it was quickly put together to illustrate what I perceived to be the desired arrangement. And since building it on OS X and looking at it on Windows, I see Rev has managed to mess up the text, so I added a little fix to keep the textSize in place. In answer to your question, there is no significance to the label fields, they are present purely as a large visual identifier for the windows and are probably unnecessary. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Recently, D.Coker wrote: >> Kresten, if you need nine separate scrollable stacks, maybe this is what you >> are trying to do. Execute the following in your Rev message box: >> >> go url "http://www.tactilemedia.com/download/nine_stacks.rev" >> >> This is a small model of what I think you described. When any stack is >> resized, the group that is within the stack scales to fit the rect of that >> stack. These groups have hscrollbars which you can disable if you don't >> need them. > > Scott, > I cannot speak for Kresten, but your example is really gonna be helpful to me > if and when I get back to a project that I currently have on the back burner. > To date, I've not done a lot with graphics -or- multi-stack configurations > using Rev, so this will be a fantastic learning opportunity. > > Question: > Is there any significance with the label field in each window? From richmondmathewson at gmail.com Wed Dec 16 15:48:57 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 16 Dec 2009 22:48:57 +0200 Subject: "Funny" things happen when your internet cuts off. In-Reply-To: <7F545436-C431-4BFF-99C9-376CC6C1B061@canelasoftware.com> References: <4B292AAF.9050803@gmail.com> <7F545436-C431-4BFF-99C9-376CC6C1B061@canelasoftware.com> Message-ID: <4B2947B9.5020700@gmail.com> On 16/12/2009 21:24, Mark Talluto wrote: > Hi Richmond, > > I think this has to do with bug: http://quality.runrev.com/qacenter/show_bug.cgi?id=8409 > Rev makes use of the internet in the Docs and Rev Online. Because your computer was still connected to your router and your internet was not functioning at the time this bug may be affecting you. > > Thanks, Mark. Had I bothered to think a bit more it might have occurred to me to try disconnecting the router. And, come to think of it, using my wife's ancient iBook (recently seen in Edinburgh) up at our villa in the country - RR 4 worked perfectly well at least 20 miles from any sort of internet service whatsoever. From jhurley0305 at sbcglobal.net Wed Dec 16 16:04:43 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Wed, 16 Dec 2009 13:04:43 -0800 Subject: Saving standalone substacks In-Reply-To: <20091216180004.555E128818D@mail.runrev.com> References: <20091216180004.555E128818D@mail.runrev.com> Message-ID: <49FB04E2-0EC2-4BE4-823B-EB875ED9706E@sbcglobal.net> >> James Hurley wrote: >> Actually, I had recalled that the splash screen was the way to go. >> My question is really quite primitive. When the user quits, or just >> wants to save the substacks, what is the action plan, specifically, >> what is the code? Save.....the substacks name. Is a file path >> required? Like I said, my question is quite primitive. > > Jacqueline Landman Gay wrote: > Depends on what your stack does. If you've changed the > defaultfolder, then you'll need to calculate a file path back to > your satellite stacks I don't like the word "substacks" in this case > because those are stacks embedded in the mainstack, and they can't > save data. Separate stacks opened by a splash app need a different > name.) The default location when your splash starts up is the same > folder as the splash app is in. You can handle this several ways: > 1. Reset the defaultfolder to the one where your splash exists, if > you've changed it. Refer to satellite stacks by their relative path. > > 2. Calculate file paths to the satellite stacks and use those as > stack references. > > 3. Set the stackfiles property of your splash so that it points to > relative path locations for the satellite stacks. Then you can just > refer to them by their short names and Rev can still find them. This > is perhaps the easiest way to manage it. > > However you determine the stack paths, the rest is the same. Loop > through the names of your satellite stacks when the user requests to > quit, and save each one. You can ask the user if they want to save > each of them, if that fits your app better. > > Assuming three stacks in the same folder as your standalone, with > the defaultfolder set to that directory: > on shutdownRequest repeat for each item i in > "stack1.rev,stack2.rev,stack3.rev" save stack i close stack i end > repeat pass shutdownRequest end shutdownRequest > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive > Software | http://www.hyperactivesw.com Thanks Jacque. That is VERY helpful. Things I didn't know: 1) I thought I would be saving to a substack. 2) I was unaware of the "shutDownRequest" handler. Another question or two. 1) How would "StackRunner" differ from using my own splash screen? 2) How would "Revolution Player" differ from using my own splash screen? 3) If I use "save" verses "save as..." can I assume that the satellite stack will be saved and the user will not be asked if he or she wants to overwrite the existing file? From johnpatten at mac.com Wed Dec 16 16:06:00 2009 From: johnpatten at mac.com (John Patten) Date: Wed, 16 Dec 2009 13:06:00 -0800 Subject: A Rev Web Project and On-Rev working together? Message-ID: Hi All! I have a little rev project that I will eventually turn into a webRevProject. I would like to have this little webRevProject project store a line of text into an on-rev text file. I'm not quite getting it right... Here are the three parts that I have: 1. Rev Projects Script put theSentence & " -created in " & totalTime & " seconds" into theSentence set the clipboardData["text"] to theSentence put "sentence" & "=" & urlEncode(theSentence) into tMyPostData post tMyPostData to URL "http://jpatten.on-rev.com/xmas/saveSentence.irev " 2. SaveSentence.irev 3. sentence.txt (a blank text file waiting to be written to) Is there something I missed? Thank you! John Patten From richmondmathewson at gmail.com Wed Dec 16 16:13:00 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 16 Dec 2009 23:13:00 +0200 Subject: The Tatty, Old Metacard icon. Message-ID: <4B294D5C.7080202@gmail.com> Now that RunRev has passed through its chrysalis stage and emerged with shiny, new icons, maybe it is time that Metacard did the same. I have popped a highly derivative icon here: http://andregarzia.on-rev.com/richmond/STUFF/MC.png not as a terribly serious suggestion, more as a way of getting somebody else's digestive juices flowing. From jacque at hyperactivesw.com Wed Dec 16 16:27:01 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 16 Dec 2009 15:27:01 -0600 Subject: Saving standalone substacks In-Reply-To: <969AD6E6-E490-4078-8E53-07F7FD48BC3D@byu.edu> References: <20091216084757.19DB728853A@mail.runrev.com> <4B2924D2.6030101@hyperactivesw.com> <969AD6E6-E490-4078-8E53-07F7FD48BC3D@byu.edu> Message-ID: <4B2950A5.2040307@hyperactivesw.com> Devin Asay wrote: > Do you know what the file permissions implications are if a user other > than the one who installed the app is trying to save stacks to the app > bundle? I think it depends on the OS permissions assigned to the app, but maybe someone else knows more. Most of the apps in my Applications folder are Owner: read/write, group: read/write, anyone: read. I think you'd need to make sure that the permissions are set correctly for the people who would need to access it. I notice that my Apple apps are mostly group = admin, where third party apps are mostly group = (unknown). -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From zryip.theslug at gmail.com Wed Dec 16 16:30:49 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 16 Dec 2009 22:30:49 +0100 Subject: Shortcut for resizing a selected object ? In-Reply-To: <4B29148B.20100@fourthworld.com> References: <4B29148B.20100@fourthworld.com> Message-ID: <64bda6470912161330v3d580728pbcc1e92fc675c09e@mail.gmail.com> This little script is not only useful to resize controls like buttons or fields, but also for graphics objects like lines, rectangles, etc that as you know requires more accuracy. Never thought when I wrote this script that it could be integrated to a biggest project. I'm really honored, thank you. 8) It's now yours and the property of all the community. You can make it follow the destiny that you want. ;) Since, I have integrated a feature to stop the resize when the bottom right corner is not within the limits of the card. Just a line in fact. ;) You're welcome 8) - Zryip TheSlug - wish you the best 8) 2009/12/16 Richard Gaskin > Nicely done. Limiting the resizing to the left and bottom removes the > ambiguity I was wondering about in terms of which sides gets adjusted. > > I think I'll add this to my copy of the MC IDE, and have cc'd the MC > discussion list here in hopes that the crew agrees it would be useful to add > to the master version. > > It's a nice compliment to the Shift key modifier, which moves the objects > by 10-pixel increments. With Option added for resizing, it really rounds > out the arrow key use quite well. > > Thanks for the script - useful stuff. From jacque at hyperactivesw.com Wed Dec 16 16:34:42 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 16 Dec 2009 15:34:42 -0600 Subject: Shortcut for resizing a selected object ? In-Reply-To: <64bda6470912161330v3d580728pbcc1e92fc675c09e@mail.gmail.com> References: <4B29148B.20100@fourthworld.com> <64bda6470912161330v3d580728pbcc1e92fc675c09e@mail.gmail.com> Message-ID: <4B295272.9060201@hyperactivesw.com> zryip theSlug wrote: > Never thought when I wrote this script that > it could be integrated to a biggest project. I'm really honored, thank you. I don't think you should call yourself a slug any more. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Wed Dec 16 16:45:04 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 17 Dec 2009 07:45:04 +1000 Subject: A Rev Web Project and On-Rev working together? In-Reply-To: References: Message-ID: > I have a little rev project that I will eventually turn into ?a > webRevProject. I would like to have this little webRevProject project store > a line of text into an on-rev text file. I'm not quite getting it right... > > Here are the three parts that I have: > > 1. Rev Projects ?Script > > put theSentence & " ?-created in " & totalTime & " seconds" into theSentence > ? set the clipboardData["text"] to theSentence > ? put "sentence" & "=" & urlEncode(theSentence) into tMyPostData > ? post tMyPostData to URL "http://jpatten.on-rev.com/xmas/saveSentence.irev" > > 2. SaveSentence.irev > > > put $_POST["sentence"] & return after URL: "file:sentence.txt" > ?> > > > 3. sentence.txt ?(a blank text file waiting to be written to) Basically, this should work fine, but there are a couple of things which may be typos in your email, or may be causing problems. In Step 1, you post to saveSentence.irev, but in step 2, you say the irev file is called SaveSentence.irev. Servers are usually case-sensitive, so you need to make these 2 consistent. In step 2, you have: .... URL: "file:sentence.txt" but the colon after URL is not correct. For testing purposes, check "it" and "the result" after the "post" command to see if there is any error or returned value. In your irev file, have it write a log file showing all the $_POST variables to check what is arriving. HTH, Sarah From bvg at mac.com Wed Dec 16 16:45:14 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 16 Dec 2009 22:45:14 +0100 Subject: A Rev Web Project and On-Rev working together? In-Reply-To: References: Message-ID: <55466469-D402-4CFC-A032-DEF7DCE2B942@mac.com> A http server (like on-rev) needs to always return something. making that something (as in your case) be "" seems to be rather unusual and nondescript, but should work. still you might want to check "the result" in your rev stack, to make sure the script on the server actually works as expected. Also, you're missing validation and security. anyone can write anything into your text file, if he or she wants to, and sooner or later they will. If there are a lot of users (hundrets per second), you might also run into the problem of some text not being stored in the file, because another user overwrites the first change (competing file access). Note that there's script errors in your supplied example, so i guess you're missing those too. For example "URL:" in the irev file should of course be "URL", and probably i'm missing some too :) A file created by you might not be accessible to the process the web server runs at (unix user handling and file access restrictions). But this is more a "what if everything else is correct and it still fails unexpectedly" scenario. If things don't work, try to return stuff. for example putting the data into the text field might fail, and then "the result" would contain useful information so you might want to return that: put the result i think that setting the clipboard, without the user demanding it, is evil, and should never be done (ever). On 16 Dec 2009, at 22:06, John Patten wrote: > Hi All! > > I have a little rev project that I will eventually turn into a > webRevProject. I would like to have this little webRevProject > project store a line of text into an on-rev text file. I'm not quite > getting it right... > > Here are the three parts that I have: > > 1. Rev Projects Script > > put theSentence & " -created in " & totalTime & " seconds" into > theSentence > set the clipboardData["text"] to theSentence > put "sentence" & "=" & urlEncode(theSentence) into tMyPostData > post tMyPostData to URL "http://jpatten.on-rev.com/xmas/saveSentence.irev > " > > 2. SaveSentence.irev > > > put $_POST["sentence"] & return after URL: "file:sentence.txt" > ?> > > > > 3. sentence.txt (a blank text file waiting to be written to) > > > > Is there something I missed? > > Thank you! > > John Patten > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From zryip.theslug at gmail.com Wed Dec 16 17:17:21 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 16 Dec 2009 23:17:21 +0100 Subject: regex/HTMLText question In-Reply-To: References: <7322.8136146.385951f7@aol.com> Message-ID: <64bda6470912161417h15e312e3kd4f661f1b67ee12e@mail.gmail.com> Okay, I'm back with the end of maybe a full solution. To enclose a word without its punctuation you have to define also a list of substitute strings like this : -> the list of possible form " ",",",".",".",".." -> the substitute list " ",",",".",".",".." With this approach you'll be able to keep your punctuation alive. I'm sure it'll thank us 8) To create a list of possible form of whole word, you could: 1) Define the list of punctuation which could starts a word i.e. : colon,space,nothing,comma .... 2) Define the list of punctuation which could ends a word i.e. : -,colon,dot,comma ... 3) Then mix all possibilities by two imbricated loops (okay it's like cooking i'm presume 8)) So you'll obtain something like that : put "colon,space,comma,nothing,quote" into startCharsList put "colon,dot,comma,-" into endCharsList put "" into keyWord put "" into htmlTag put "" into wholeWordList put "" into substituteList -- Create the list of whole words and its substitute list repeat with startCharNum = 1 to number of items of startCharsList repeat with endCharNum = 1 to number of items of endCharsList put item startCharNum of startCharsList & keyWord & item endCharNum of endCharsList&"," after wholeWordList put item startCharNum of startCharsList & htmlTag & keyWord & htmlTag & item endCharNum of endCharsList&"," after substituteList end repeat end repeat -- Search and boxed one or a list of words repeat with aWord in wordList repeat with wholeWordForm in wholeWordList put replaceText(aRegex,"",aWord) into wholeWordForm -- replace the "" key in your pattern by the word that you need get fld "yourField" replace wholeWordForm with itSubstituteForm in it end repeat end repeat See how it could work ? However not sure of the time of processing... Give it a try and keep up informed ;) -Zryip TheSlug- wish you the best ! 8) From jacque at hyperactivesw.com Wed Dec 16 17:30:22 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 16 Dec 2009 16:30:22 -0600 Subject: Saving standalone substacks In-Reply-To: <49FB04E2-0EC2-4BE4-823B-EB875ED9706E@sbcglobal.net> References: <20091216180004.555E128818D@mail.runrev.com> <49FB04E2-0EC2-4BE4-823B-EB875ED9706E@sbcglobal.net> Message-ID: <4B295F7E.3030404@hyperactivesw.com> James Hurley wrote: > Things I didn't know: > > 1) I thought I would be saving to a substack. Substacks -- the ones embedded into a main stack -- become part of the standalone. Executables can't save data to themselves, no matter how many stacks they are composed of. So yeah, you need separate stacks on disk if you want to save them. > 2) I was unaware of the "shutDownRequest" handler. > > Another question or two. > > 1) How would "StackRunner" differ from using my own splash screen? > 2) How would "Revolution Player" differ from using my own splash screen? I don't think either of these would be much different. They are both basically splash standalones, though Rev's player has a few more restrictions I think. But with either of these, you'd need to put your saving instructions into each satellite stack, or else into a backscript that you insert when your first stack opens. That's because both of these are already built standalones, so to add any scripted behavior you have to use another stack to store the scripts in. > 3) If I use "save" verses "save as..." can I assume that the satellite > stack will be saved and the user will not be asked if he or she wants > to overwrite the existing file? Yes. Actually, you can use "save as" too without bothering the user. Both "save stack" and "save stack as " just write a file to disk. No dialog is presented unless your script puts one up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From zryip.theslug at gmail.com Wed Dec 16 17:41:35 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 16 Dec 2009 23:41:35 +0100 Subject: Shortcut for resizing a selected object ? In-Reply-To: <4B295272.9060201@hyperactivesw.com> References: <4B29148B.20100@fourthworld.com> <64bda6470912161330v3d580728pbcc1e92fc675c09e@mail.gmail.com> <4B295272.9060201@hyperactivesw.com> Message-ID: <64bda6470912161441u1910fb24t9b4d411c32e4f92@mail.gmail.com> Hi Jacqueline, In fact it's just a story about an anagram around my first name ;) A nickname that followed me to the track for a long time. 8) Finally I found it sticks well to the situation. I missed so many trains to reach you that I'm a bit late! 8) -Zryip TheSlug- wish you the best ! 8) 2009/12/16 J. Landman Gay > > > I don't think you should call yourself a slug any more. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From capellan2000 at gmail.com Wed Dec 16 19:24:37 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 16 Dec 2009 16:24:37 -0800 (PST) Subject: Recording user actions in the RevMedia IDE Message-ID: <1261009477798-965668.post@n4.nabble.com> Hi all, Last Monday, i took three hours showing RevMedia to some teachers. Besides the interface shock and the unique need to name each object that you create, it was the lack of multiple undo that raised most eyebrows. If you want experiment, then how could you recover your work if you lose it? Other programs, make this is possible with multiple undo. In fact, many software allows you to choose how many undo you want. My question is: How could we record every user action in the IDE, to revert any destructive (or simply blocking) change that users could make? Does this strategy (storing every user action) could actually works as a multiple undo replacement? Thanks in advance. Alejandro -- View this message in context: http://n4.nabble.com/Recording-user-actions-in-the-RevMedia-IDE-tp965668p965668.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Wed Dec 16 19:27:21 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 16 Dec 2009 16:27:21 -0800 (PST) Subject: The Tatty, Old Metacard icon. In-Reply-To: <4B294D5C.7080202@gmail.com> References: <4B294D5C.7080202@gmail.com> Message-ID: <1261009641248-965671.post@n4.nabble.com> Actually, i like the more recent version of the MetaCard icon, created by Scott Rossi. Richmond Mathewson-2 wrote: > > Now that RunRev has passed through its chrysalis stage and > emerged with shiny, new icons, maybe it is time that > Metacard did the same. > [snip] > -- View this message in context: http://n4.nabble.com/The-Tatty-Old-Metacard-icon-tp965553p965671.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Wed Dec 16 19:33:42 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 17 Dec 2009 08:33:42 +0800 Subject: Deriving an angle from three points In-Reply-To: <47EC45B9-5FB3-45E8-8996-10B2335E86DB@unil.ch> References: <4B288EDA.4090404@pdslabs.net> <6BAE1B16-A764-4E45-B532-0D37D5EC3471@unil.ch> <730EEBDB-474A-4513-A87B-FCE08D604C82@unil.ch> <47EC45B9-5FB3-45E8-8996-10B2335E86DB@unil.ch> Message-ID: On Wed, Dec 16, 2009 at 6:56 PM, Jacques Hausser wrote: > I really should re-read my mails before sending them :-( > I cannot copy and paste scripts directly into mails (I don't know why) so I > rewrite them... with bugs ! > > Now that Mark has his solution, this seems to be the next thing that needs solving. What platform are you on and which email client do you use? Are your scripts in Rev or tRev? Does it make a difference if you use your mouse and select Copy and Paste rather than using keyboard shortcuts? Can you Copy and Paste code from Rev into a text editor or other program, or from one Rev script to another Rev script, ie is the problem you can't Copy in Rev, you can Copy but it get's lost when going to some other programs, or Paste just never works outside of Rev? This was an intermitant problem with Rev way back and the usual cure was to manually select the menu commands. HTH From stephenREVOLUTION2 at barncard.com Wed Dec 16 19:55:25 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 16 Dec 2009 16:55:25 -0800 Subject: Recording user actions in the RevMedia IDE In-Reply-To: <1261009477798-965668.post@n4.nabble.com> References: <1261009477798-965668.post@n4.nabble.com> Message-ID: Trevor Devore has a framework and some ideas for the implementation of multiple undo in his "Application Framework" http://www.bluemangolearning.com/revolution/software/libraries/glx-application-framework/ ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/16 Alejandro Tejada > > Hi all, > > Last Monday, i took three hours showing > RevMedia to some teachers. > > Besides the interface shock and the unique > need to name each object that you create, > it was the lack of multiple undo that raised > most eyebrows. > > If you want experiment, then how could you > recover your work if you lose it? > > Other programs, make this is possible with > multiple undo. In fact, many software allows > you to choose how many undo you want. > > My question is: How could we record every > user action in the IDE, to revert any destructive > (or simply blocking) change that users could > make? Does this strategy (storing every user > action) could actually works as a multiple undo > replacement? > > Thanks in advance. > > Alejandro > > -- > View this message in context: > http://n4.nabble.com/Recording-user-actions-in-the-RevMedia-IDE-tp965668p965668.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From selander at tkf.att.ne.jp Wed Dec 16 20:00:42 2009 From: selander at tkf.att.ne.jp (Tim Selander) Date: Thu, 17 Dec 2009 10:00:42 +0900 Subject: Smoothly moving a jpeg In-Reply-To: <9C1F6C69-2042-4F0A-B0D9-5D94BFD59767@unil.ch> References: <459b22a90912080503s33c2b19ckb00e08bbf485765d@mail.gmail.com> <68F874EE-D2E2-46EA-BAE4-A3503ABEFB0E@dvcreators.net> <459b22a90912111815h3b674030y77277d1315c2815a@mail.gmail.com> <4B279F15.6040901@tkf.att.ne.jp> <6AB234D0-410C-4EB6-8497-4E5263318F9C@unil.ch> <9C1F6C69-2042-4F0A-B0D9-5D94BFD59767@unil.ch> Message-ID: <4B2982BA.4090000@tkf.att.ne.jp> Thanks to all who replied to my question on interrupting a loop with keyboard input, that was an interesting thread. The next thing I'm trying to do is take a jpeg of vertical, right to left Japanese text and move it smoothly across the window at reading speed for a teleprompter app. I'm using the "move image" command. The result is a little to jerky and stuttery. Does Rev have a smoother way to animate/move images on the screen? Tim Selander Tokyo, Japan From scott at tactilemedia.com Wed Dec 16 20:24:56 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 16 Dec 2009 17:24:56 -0800 Subject: Smoothly moving a jpeg In-Reply-To: <4B2982BA.4090000@tkf.att.ne.jp> Message-ID: Recently, Tim Selander wrote: > The next thing I'm trying to do is take a jpeg of vertical, right > to left Japanese text and move it smoothly across the window at > reading speed for a teleprompter app. I'm using the "move image" > command. The result is a little to jerky and stuttery. > > Does Rev have a smoother way to animate/move images on the screen? If the image spans the entire width and/or height of the screen, you may be hard pressed to move anything of that size smoothly -- Rev doesn't do so well moving large images. That said, I would try to repeatedly set the position of the image with short changes in distance in a tight "send..." loop. Here's a simple example: on mouseUp moveImage end mouseUp on moveImage if right of img 1 < 10 then exit moveImage set left of img 1 to (left of img 1 - 2) send "moveImage" to me in 5 millisecs end moveImage This makes for substantial processor use, but also makes for smoother move effects. Another option I would try is to move the physical position of the stack in which the image appears across the desktop, instead of moving the image within the stack. Sometimes movement of a stack window can appear smooth, perhaps because the system is responsible for blending the window with the desktop, I'm not sure. But if image movement doesn't work out well for you, I'd try moving the stack. Hope this helps. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From capellan2000 at gmail.com Wed Dec 16 20:36:03 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 16 Dec 2009 17:36:03 -0800 (PST) Subject: Web interface for executable software Message-ID: <1261013763734-965693.post@n4.nabble.com> Hi all, Recently i saw a functional web interface for a desktop application that runs as a server. Previously, i have seen the VLC player interface running in a browser, (Still think that an external for VLC could be an excellent alternative to Quicktime) also WinAmp and iTunes. How difficult could be to create such interface for our own apps? Thanks in advance. Alejandro -- View this message in context: http://n4.nabble.com/Web-interface-for-executable-software-tp965693p965693.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Wed Dec 16 20:42:27 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 17 Dec 2009 09:42:27 +0800 Subject: Saving standalone substacks In-Reply-To: <4B2924D2.6030101@hyperactivesw.com> References: <20091216084757.19DB728853A@mail.runrev.com> <4B2924D2.6030101@hyperactivesw.com> Message-ID: On Thu, Dec 17, 2009 at 2:20 AM, J. Landman Gay wrote: > > Assuming three stacks in the same folder as your standalone, with the > defaultfolder set to that directory: > > on shutdownRequest > repeat for each item i in "stack1.rev,stack2.rev,stack3.rev" > save stack i > close stack i > end repeat > pass shutdownRequest > end shutdownRequest > > Jim, Because I can never figure out the differences between Windows set ups and Mac set ups, to lazy to keep track of the defaultFolder or whether I should be using a specialFolder, and am sure that someone (me most likely) is inadvertantly going to move a data stack to another location other than where my splash stack expects it to be, I've gone for a univeral, seems to work everytime, calculate the file path exactly before you need it approach: put the long name of stack "myDataStack" into tFilePath --result is the full file path enclosed in quotes and preceded by the word stack --the first 7 char are: stack " --the last char is: " put char 8 to -2 of tFilePath into tFilePath --just the file path save stack "myDataStack" as tFilePath So if you have multiple data stacks, using Jacque's example above: on shutdownRequest repeat for each item i in "stack1.rev,stack2.rev,stack3.rev" put the long name of stack i into tFilePath put char 8 to -2 of tFilePath into tFilePath save stack i as tFilePath close stack i end repeat pass shutdownRequest end shutdownRequest adds only two lines of code here but seems to save me a whole lot of headscratching trying to deal with any other approach. HTH From selander at tkf.att.ne.jp Wed Dec 16 21:59:13 2009 From: selander at tkf.att.ne.jp (Tim Selander) Date: Thu, 17 Dec 2009 11:59:13 +0900 Subject: Smoothly moving a jpeg In-Reply-To: References: Message-ID: <4B299E81.4080002@tkf.att.ne.jp> Scott, Thanks - shortening the changes in distance helped a lot. So it appears Rev doesn't visibly move an image, it jumps it to the next location. If I move the image a pixel at a time, but tighten the loop to 2 or 3 milliseconds, things get pretty smooth. Now to test the reading speed with the on camera talent! Tim Selander Tokyo, Japan Scott Rossi wrote: snip > well moving large images. That said, I would try to repeatedly set the > position of the image with short changes in distance in a tight "send..." > loop. Here's a simple example: > > on mouseUp > moveImage > end mouseUp > > on moveImage > if right of img 1 < 10 then exit moveImage > set left of img 1 to (left of img 1 - 2) > send "moveImage" to me in 5 millisecs > end moveImage > > This makes for substantial processor use, but also makes for smoother move > effects. > > Another option I would try is to move the physical position of the stack in > which the image appears across the desktop, instead of moving the image snip From jacque at hyperactivesw.com Wed Dec 16 22:22:04 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 16 Dec 2009 21:22:04 -0600 Subject: Saving standalone substacks In-Reply-To: References: <20091216084757.19DB728853A@mail.runrev.com> <4B2924D2.6030101@hyperactivesw.com> Message-ID: <4B29A3DC.1050509@hyperactivesw.com> Kay C Lan wrote: > Because I can never figure out the differences between Windows set ups and > Mac set ups, to lazy to keep track of the defaultFolder or whether I should > be using a specialFolder, and am sure that someone (me most likely) is > inadvertantly going to move a data stack to another location other than > where my splash stack expects it to be, I've gone for a univeral, seems to > work everytime, calculate the file path exactly before you need it approach: Actually, I probably wasn't too clear. All that file path business was mostly for opening files, not for re-saving them. Once they're open from disk, the engine already knows the path, so "save this stack" is all you need. > > > put the long name of stack "myDataStack" into tFilePath > --result is the full file path enclosed in quotes and preceded by the word > stack > --the first 7 char are: stack " > --the last char is: " > put char 8 to -2 of tFilePath into tFilePath --just the file path > save stack "myDataStack" as tFilePath You can get "the filename of this stack" to find out the path on disk without any parsing. That said, I do usually use your method (with the filename variation) to find stacks whose relative locations are already known. I have a function that returns filenames based on the standalone's location. I should probably use the stackfiles property more than I do, it's an automated way to do the same thing with less scripting. Anyway, this is what I use. It goes into the standalone's mainstack script: function appPath -- path to application folder put the effective filename of me into tPath set the itemdel to slash return (item 1 to -2 of tPath) & slash -- on OS X this is INSIDE the app bundle end appPath And then when I need to open a satellite stack: go stack (appPath() & "stack1.rev") -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From johnpatten at mac.com Wed Dec 16 22:23:03 2009 From: johnpatten at mac.com (John Patten) Date: Wed, 16 Dec 2009 19:23:03 -0800 Subject: A Rev Web Project and On-Rev working together? In-Reply-To: <20091217003347.8400E2886B0@mail.runrev.com> References: <20091217003347.8400E2886B0@mail.runrev.com> Message-ID: <5C1FC357-AEC3-45EB-8A43-6CEA96FFB086@mac.com> Thanks Sarah and Bj?rnke! I had a funny feeling about the ":" colon after URL....however, I could of swore I lifted that script from one of the examples, and it had a colon in there... In any case I removed it and it worked fine :-) Bj?rnke, as for copying the sentence to the clipboard, is there a technical reason why this is a bad idea, it's not being written to the harddrive? Is it because the user might have been saving something else on the clipboard and that action replaces what they had previously saved? I was using the copy to clipboard as a kind of cheat. I'm going to embed the rev project into Drupal web page. Originally, I was hoping to figure out how to have the Rev app automatically post an anonymous comment to the Drupal page (the little rev app was embedded in.) But not sure how I actually would do it. Ultimately I was looking for a way the user would be able to share a sentence that they create by dragging a few words from some song lyrics.... I know it sounds a little lame, but I was just going to use it as example for some teachers as to what these tools can do all together. I was hoping to have the Rev project duplicate the process of the Drupal comment action, using the Rev interface instead of the Drupal interface...but still having the user's work show up in the comments section. As an alternative I may just load a new Drupal Module that pulls a static html file, ...one like Rev creates in my example here. That might work to if I move a way from having the user just past their comment off the clipboard. Thank you! John Patten On Dec 16, 2009, at 4:33 PM, use-revolution-request at lists.runrev.com wrote: > > ------------------------------ > > Message: 23 > Date: Thu, 17 Dec 2009 07:45:04 +1000 > From: Sarah Reichelt > Subject: Re: A Rev Web Project and On-Rev working together? > To: How to use Revolution > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > >> I have a little rev project that I will eventually turn into a >> webRevProject. I would like to have this little webRevProject project store >> a line of text into an on-rev text file. I'm not quite getting it right... >> >> Here are the three parts that I have: >> >> 1. Rev Projects Script >> >> put theSentence & " -created in " & totalTime & " seconds" into theSentence >> set the clipboardData["text"] to theSentence >> put "sentence" & "=" & urlEncode(theSentence) into tMyPostData >> post tMyPostData to URL "http://jpatten.on-rev.com/xmas/saveSentence.irev" >> >> 2. SaveSentence.irev >> >> >> > put $_POST["sentence"] & return after URL: "file:sentence.txt" >> ?> >> >> >> 3. sentence.txt (a blank text file waiting to be written to) > > > Basically, this should work fine, but there are a couple of things > which may be typos in your email, or may be causing problems. > > In Step 1, you post to saveSentence.irev, but in step 2, you say the > irev file is called SaveSentence.irev. Servers are usually > case-sensitive, so you need to make these 2 consistent. > > In step 2, you have: > .... URL: "file:sentence.txt" > but the colon after URL is not correct. > > > For testing purposes, check "it" and "the result" after the "post" > command to see if there is any error or returned value. > > In your irev file, have it write a log file showing all the $_POST > variables to check what is arriving. > > HTH, > Sarah > > > ------------------------------ > > Message: 24 > Date: Wed, 16 Dec 2009 22:45:14 +0100 > From: Bj?rnke von Gierke > Subject: Re: A Rev Web Project and On-Rev working together? > To: How to use Revolution > Message-ID: <55466469-D402-4CFC-A032-DEF7DCE2B942 at mac.com> > Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes > > A http server (like on-rev) needs to always return something. making > that something (as in your case) be "" seems to be rather > unusual and nondescript, but should work. still you might want to > check "the result" in your rev stack, to make sure the script on the > server actually works as expected. > > Also, you're missing validation and security. anyone can write > anything into your text file, if he or she wants to, and sooner or > later they will. If there are a lot of users (hundrets per second), > you might also run into the problem of some text not being stored in > the file, because another user overwrites the first change (competing > file access). > > Note that there's script errors in your supplied example, so i guess > you're missing those too. For example "URL:" in the irev file should > of course be "URL", and probably i'm missing some too :) > > A file created by you might not be accessible to the process the web > server runs at (unix user handling and file access restrictions). But > this is more a "what if everything else is correct and it still fails > unexpectedly" scenario. > > If things don't work, try to return stuff. for example putting the > data into the text field might fail, and then "the result" would > contain useful information so you might want to return that: > put the result > > i think that setting the clipboard, without the user demanding it, is > evil, and should never be done (ever). > > On 16 Dec 2009, at 22:06, John Patten wrote: > >> > > End of use-revolution Digest, Vol 75, Issue 34 > ********************************************** From lan.kc.macmail at gmail.com Wed Dec 16 23:04:59 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 17 Dec 2009 12:04:59 +0800 Subject: HTMLText question In-Reply-To: References: <6ea1.32380556.38594caf@aol.com> <37C40781-D3F9-4687-9623-39D8A7D1FEF6@byu.edu> Message-ID: On Thu, Dec 17, 2009 at 2:49 AM, Robert Brenstein wrote: > > A tad safer and more general technique is to > > put "" before word 2 of tHtml > put "" after word 2 of tHtml > > As other said, variable have htmltext property, just the content which can > be html, so you need to work with it directly. Html comes into effect when > such a content is put into a field and then displayed to user. > > Robert > I'm totally confused. I am not aware that variables have a htmlText property? When I try to access it I keep getting an error message. Secondly, using the keyword 'word' when dealing with htmlText doesn't seem to be a safe option to me at all, in fact it would be the last option I'd think of using. If a field contained multiple lines of words, formatted in all sorts of weird and wonderful ways, and the htmlText of one of those lines might look like this:

boink

If I were to use the keyword 'word', Rev considers

boink

putting "" and "" before and after any of these words will result in ill formed HTML. Granted, if you do a grep for >([^<]*)< you can extract just the content between the html tags and then using the 'word' keyword will work for you. But now that I appreciate that this original post is related to another post where I put forward the idea of using the 'token' keyword, I'll suggest it again. Doing grep and trying to keep track of where in a line of html text you are and what word needs to be replaced with what, plus needing to deal with all the punctuation marks that get included inside what Rev considers is a word, is very involved for this old brain and dare I say, unsafe or at least fraught with possible errors. Using token, there are only a few special characters you have to account for, you can then just run through every token and when you get a match: put "" & token tTokenCounter of tHtmlText & "" into token tTokenCounter of tHtmlText Probably not the fastest way, but relatively simple. HTH From scott at tactilemedia.com Wed Dec 16 23:21:37 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 16 Dec 2009 20:21:37 -0800 Subject: Smoothly moving a jpeg In-Reply-To: <4B299E81.4080002@tkf.att.ne.jp> Message-ID: Recently, Tim Selander wrote: > Thanks - shortening the changes in distance helped a lot. So it > appears Rev doesn't visibly move an image, it jumps it to the > next location. Well, really any move is a jump to a new location. In the case of Rev's move command, a move is based on several factors: moveSpeed, duration, and overall distance. The host computer's processing power, and the power of the graphics card, and monitor refresh can also be issues. You'll need to find a balance between the size of the jump and speed at which the jumps take place. > If I move the image a pixel at a time, but tighten the loop to 2 > or 3 milliseconds, things get pretty smooth. Now to test the > reading speed with the on camera talent! Great -- hope it works out for you. Best Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From lan.kc.macmail at gmail.com Wed Dec 16 23:28:06 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 17 Dec 2009 12:28:06 +0800 Subject: Saving standalone substacks In-Reply-To: <4B29A3DC.1050509@hyperactivesw.com> References: <20091216084757.19DB728853A@mail.runrev.com> <4B2924D2.6030101@hyperactivesw.com> <4B29A3DC.1050509@hyperactivesw.com> Message-ID: On Thu, Dec 17, 2009 at 11:22 AM, J. Landman Gay wrote: > > Actually, I probably wasn't too clear. All that file path business was > mostly for opening files, not for re-saving them. Once they're open from > disk, the engine already knows the path, so "save this stack" is all you > need. > > Is this true, the Dictionary says, under the save entry: If you specify a name but not a location, Revolution assumes the file is in the defaultFolder. I've always worried, as I do tinker with the defaultFolder, that I might get myself into a situation where the defaultFolder is not where I think it is so I always specify the path when saving my app. > > You can get "the filename of this stack" to find out the path on disk > without any parsing. > > Ah, I love this List. Another line of code eliminated. > Anyway, this is what I use. It goes into the standalone's mainstack script: > > function appPath -- path to application folder > put the effective filename of me into tPath > set the itemdel to slash > return (item 1 to -2 of tPath) & slash -- on OS X this is INSIDE the app > bundle > end appPath > > And then when I need to open a satellite stack: > > go stack (appPath() & "stack1.rev") > > Actually I see you use the 'effective filename' which I now appreciate solves any file path issues regarding substacks. Thanks. From mdswindell at cruzio.com Thu Dec 17 00:47:10 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Wed, 16 Dec 2009 21:47:10 -0800 Subject: Deriving an angle from three points In-Reply-To: <928E4FC4-6C9A-46F8-9342-7680C6E49713@sbcglobal.net> References: <20091216084757.19DB728853A@mail.runrev.com> <928E4FC4-6C9A-46F8-9342-7680C6E49713@sbcglobal.net> Message-ID: <3CEB9DD4-D059-43B4-8A77-2F4E86C4820D@cruzio.com> James, Thanks for this, but starting the Turtle stack did not allow me to calculate the angle. I got an error each time at "Start Turtle." Is there a trick to making the library accessible to other stacks? Mark On Dec 16, 2009, at 8:08 AM, James Hurley wrote: >> >> Message: 24 >> Date: Tue, 15 Dec 2009 22:21:47 -0800 >> From: Mark Swindell >> Subject: Deriving an angle from three points >> To: How to use Revolution >> Message-ID: >> Content-Type: text/plain; charset=us-ascii >> >> 40,116 >> 98,186 >> 132,118 >> >> How would one determine the angle created from three points, such as those above? >> >> Thanks, >> Mark >> > > Mark, > > Or even easier. Set the Turtle at the apex and get the angle of the other two points. > > > on mouseUp > startTurtle --Initiates the turtle graphics library > penup > setxy 98,186 --The vertex > put direction(40,116) into A > put direction(132,118) into B > put B-A into dA > put abs(dA) & cr & abs(180 - dA) into msg box > choose the browse tool > end mouseUP > > (Assuming your middle point is the apex of the angle you want.) > > To run this you will need the TG library. Run this in the msg box > > go url "http://www.jamesphurley.com/jhurleyFolder/TurtleGraphics.rev" > > Jim Hurley > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revdev at pdslabs.net Thu Dec 17 01:06:22 2009 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 16 Dec 2009 22:06:22 -0800 Subject: HTMLText question In-Reply-To: References: <6ea1.32380556.38594caf@aol.com> <37C40781-D3F9-4687-9623-39D8A7D1FEF6@byu.edu> Message-ID: <4B29CA5E.40505@pdslabs.net> On 12/16/09 8:04 PM, Kay C Lan wrote: > On Thu, Dec 17, 2009 at 2:49 AM, Robert Brenstein wrote: > > >> A tad safer and more general technique is to >> >> put "" before word 2 of tHtml >> put "" after word 2 of tHtml >> >> As other said, variable have htmltext property, just the content which can >> be html, so you need to work with it directly. Html comes into effect when >> such a content is put into a field and then displayed to user. >> >> Robert >> >> > I'm totally confused. I am not aware that variables have a htmlText > property? When I try to access it I keep getting an error message. > You're right. Variables don't have an "htmlText" property, only fields do. This agrees with the Rev docs description and is the way it really works. I think maybe Robert meant "variable DON'T have htmltext property", and was saying you can put the htmlText of a field into a variable, manipulate it, then set the htmlText of the field to the manipulated contents of the variable to display it in rendered form. > Secondly, using the keyword 'word' when dealing with htmlText doesn't seem > to be a safe option to me at all, in fact it would be the last option I'd > think of using. If a field contained multiple lines of words, formatted in > all sorts of weird and wonderful ways, and the htmlText of one of those > lines might look like this: > >

boink

> > If I were to use the keyword 'word', Rev considers > >

> to be the first word and the second word is > > color="#FF0000">boink

> > putting "" and"" before and after any of these words will result > in ill formed HTML. > > Granted, if you do a grep for>([^<]*)< you can extract just the content > between the html tags and then using the 'word' keyword will work for you. > But now that I appreciate that this original post is related to another post > where I put forward the idea of using the 'token' keyword, I'll suggest it > again. Doing grep and trying to keep track of where in a line of html text > you are and what word needs to be replaced with what, plus needing to deal > with all the punctuation marks that get included inside what Rev considers > is a word, is very involved for this old brain and dare I say, unsafe or at > least fraught with possible errors. Using token, there are only a few > special characters you have to account for, you can then just run through > every token and when you get a match: > > put ""& token tTokenCounter of tHtmlText& "" into token > tTokenCounter of tHtmlText > > Probably not the fastest way, but relatively simple. > > HTH > I'll take simple over snazzy any day of the week. That way, when I come back to it in six months I might be able to look at the code and immediately know what it's doing! I love it when that happens. Another approach I've taken is to reformat the htmlText into something more given to processing, then process it, then restore the original format. Like this: on mouseUp get withBoxTags(the htmlText of fld 1) put it -- so you can inspect the htmltext output set the htmlText of fld 1 to it end mouseUp function withBoxTags pHtmlText -- replace existing CRs with a char not found in pHtmlText replace cr with numToChar(250) in pHtmlText -- reformat the text for processing replace ">" with (">" & cr) in pHtmlText -- each ">" now ends a line replace "<" with (cr & "<") in pHtmlText -- each "<" now starts a line filter pHtmlText without empty -- remove blank lines -- insert "box" tags repeat for each line tLine in pHtmlText if char 1 of tLine = "<" -- not a 'data' line then put tLine & cr after tNewText else put "" & tLine & "" & cr after tNewText end repeat -- restore original format replace cr with empty in tNewText replace numToChar(250) with cr in tNewText -- return it to caller return tNewText end withBoxTags The above code may not accomplish exactly what you're trying to do, but it illustrates the idea. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From mdswindell at cruzio.com Thu Dec 17 01:13:50 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Wed, 16 Dec 2009 22:13:50 -0800 Subject: Deriving an angle from three points In-Reply-To: References: Message-ID: Colin, Thanks, this appears to be a very succinct solution. Very much appreciated. Mark On Dec 16, 2009, at 8:01 AM, Colin Holgate wrote: > > On Dec 16, 2009, at 1:21 AM, Mark Swindell wrote: > >> 40,116 >> 98,186 >> 132,118 >> >> How would one determine the angle created from three points, such as those above? > > > All of the suggested scripts seem quite long. Try putting this script into three buttons. The script uses the Other Mark's way of dragging the button around (and it doesn't hilite the button as he claims): > > on mouseDown > repeat until the mouse is up with messages > set the loc of me to the mouseLoc > wait 0 millisecs with messages > end repeat > put 180 - angler(loc of btn 1,loc of btn 2,loc of btn 3)/pi*180 > end mouseDown > function angler p1, p2, p3 > put atan2(item 2 of p2-item 2 of p1,item 1 of p2 - item 1 of p1) into angle1 > put atan2(item 2 of p3-item 2 of p2,item 1 of p3 - item 1 of p2) into angle2 > return abs(angle2-angle1) > end angler > > The bit that calculates the angle could be done in a single line: > > put 180 - (atan2(item 2 of p3-item 2 of p2,item 1 of p3 - item 1 of p2)-atan2(item 2 of p2-item 2 of p1,item 1 of p2 - item 1 of p1))/pi*180 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mdswindell at cruzio.com Thu Dec 17 01:22:47 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Wed, 16 Dec 2009 22:22:47 -0800 Subject: Deriving an angle from three points In-Reply-To: <1260957441057-965051.post@n4.nabble.com> References: <21572561703.20091216010204@ahsoftware.net> <1260957441057-965051.post@n4.nabble.com> Message-ID: <3F5C9CD0-7268-4578-AB6B-0C17190F27F4@cruzio.com> Thank you to all who provided code suggestions and insight into solving this problem (James, Colin, Mark W. gMc, Pierre, Jacques, Phil). I'd have taken forever to figure this out without such a helpful (and clever) bunch of allies. Mark On Dec 16, 2009, at 1:57 AM, gmccarthy wrote: > > What about getting the angle from point B to A, then the angle from point B > to C, then getting the difference: > > on mouseUp > put cd fld "A" into pointA > put cd fld "B" into pointB -- assumed center of angle > put cd fld "C" into pointC > -- > put fGetAngle(pointB, pointA) into angleA > put fGetAngle(pointB, pointC) into angleC > if angleC > angleA then > put angleC - angleA into cd fld "AngleABC" > else > put angleA - angleC into cd fld "AngleABC" > end if > end mouseUp > > function fGetAngle pPoint1, pPoint2 > --angle anticlockwise from X axis > return atan2(item 2 of pPoint2 - item 2 of pPoint1,item 1 of pPoint2 - > item 1 of pPoint1) * 180 / pi > end fGetAngle > > > See atan2 in the dictionary. > By the way, this gives 66.209226 for the angle. > > As a test for known angles, try > 250,250 > 200,200 > 100,373 > This is for angles of 45 degrees and 120 degrees. > you should get 75 degrees as your answer. > -- > View this message in context: http://n4.nabble.com/Deriving-an-angle-from-three-points-tp964930p965051.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Thu Dec 17 01:27:39 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 16 Dec 2009 22:27:39 -0800 Subject: The Tatty, Old Metacard icon. In-Reply-To: <1261009641248-965671.post@n4.nabble.com> Message-ID: Hey, I'd happy to take the credit, but I don't think it was me. My brain may have lost too many functioning cells, but I only recall creating a splash screen for MC under Scott Raney and some answer dialog icons for MC under Richard Gaskin. I think it's about time Klaus Major changed the splash screen to a banana. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Recently, Alejandro Tejada wrote: > Actually, i like the more recent version of the > MetaCard icon, created by Scott Rossi. > > > Richmond Mathewson-2 wrote: >> >> Now that RunRev has passed through its chrysalis stage and >> emerged with shiny, new icons, maybe it is time that >> Metacard did the same. >> [snip] From shaosean at wehostmacs.com Thu Dec 17 02:29:24 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Thu, 17 Dec 2009 02:29:24 -0500 Subject: Smoothly moving a jpeg Message-ID: Did you look at Animation Engine? Might be overkill for what you need to do, but he does have some pretty slick smooth moving in there (even on this old machine).. From ___BG___ at VirginBroadband.com.au Thu Dec 17 02:55:23 2009 From: ___BG___ at VirginBroadband.com.au (Brent Summerton) Date: Thu, 17 Dec 2009 18:25:23 +1030 Subject: Blank Page printed with RevPrintField command Message-ID: <7EB1B74C-E06D-480D-9A34-D5635919A258@VirginBroadband.com.au> Using a Mac 10.6.2 RevPrintField function prints page within application being design all okay - but not when exported as a standalone application and used on a PC running Vista. It is only printing a BLANK page then. My Script is: On Mouseup RevShowPrintDialog true, false RevPrintField the long id of field "Results" End Mouseup I am using the $500 Enterprise 4.0.0 Edition. When instructed to placed the "answer the result" after the printing commands - It returns a blank dialogue box which does little to help make the cause of error clear. By the way.... I have checked under General that the print feature is selected to export with standalone windows application. Is there any format to the field that I should be aware of? Locked/ Unlocked/ Disabled, Font? Is this a glitch when designing on Mac, exporting to Windows standalone? Brent Summerton. From ___BG___ at VirginBroadband.com.au Thu Dec 17 03:01:07 2009 From: ___BG___ at VirginBroadband.com.au (Brent Summerton) Date: Thu, 17 Dec 2009 18:31:07 +1030 Subject: RevMail Does not load Mail Program on Windows Message-ID: Using a Mac 10.6.2 RevMail function loads Email Program within application being design all okay - but not when exported as a standalone application and using a PC running Vista. It will ONLY load the Email program if the field I am wanting to send is empty. Im wanting to send the data in the field! On EmailResults --Send an email using your email client? Put field "Results" into TheMessageBody revMail "smerrylees at ach.org.au","mgraves at ach.org.au","Food Handling Credential", TheMessageBody End EmailResults I am using the $500 Enterprise 4.0.0 Edition. I have checked under General that the Internet feature is selected to export with standalone windows application. Is there any format to the field that I should be aware of? Locked/ Unlocked/ Disabled, Font? Is this a glitch when designing on Mac, exporting to Windows standalone? Brent Summerton. From sarah.reichelt at gmail.com Thu Dec 17 03:18:36 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 17 Dec 2009 18:18:36 +1000 Subject: RevMail Does not load Mail Program on Windows In-Reply-To: References: Message-ID: On Thu, Dec 17, 2009 at 6:01 PM, Brent Summerton <___BG___ at virginbroadband.com.au> wrote: > Using a Mac 10.6.2 ?RevMail function loads Email Program within application being design all okay - but not when exported as a standalone application and using a PC running Vista. ?It will ONLY load the Email program if the field I am wanting to send is empty. ?Im wanting to send the data in the field! > > On EmailResults > ?--Send an email using your email client? > ? Put field "Results" into TheMessageBody > ? revMail "smerrylees at ach.org.au","mgraves at ach.org.au","Food Handling Credential", TheMessageBody > End EmailResults I seem to remember having problems if the email text contained any accented characters. Would this apply in your case? Cheers, Sarah From jacques.hausser at unil.ch Thu Dec 17 05:16:10 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 17 Dec 2009 11:16:10 +0100 Subject: copying scripts [was: Deriving an angle from three points] In-Reply-To: References: <4B288EDA.4090404@pdslabs.net> <6BAE1B16-A764-4E45-B532-0D37D5EC3471@unil.ch> <730EEBDB-474A-4513-A87B-FCE08D604C82@unil.ch> <47EC45B9-5FB3-45E8-8996-10B2335E86DB@unil.ch> Message-ID: Le 17 d?c. 2009 ? 01:33, Kay C Lan a ?crit : > On Wed, Dec 16, 2009 at 6:56 PM, Jacques Hausser wrote: > >> I really should re-read my mails before sending them :-( >> I cannot copy and paste scripts directly into mails (I don't know why) so I >> rewrite them... with bugs ! >> > > Now that Mark has his solution, this seems to be the next thing that needs > solving. Hi Kay, It is rather rare that I try to copy scripts and paste them on mails, so I didn't care for a solution. I can live without - as long as I do not post bugs ;o). After reading your post this morning, I checked the process just after opening Rev... and it works OK ! When I tried yesterday, I was editing and testing scripts for some hours, using relatively large amounts of memory (12 megapixel images). I didn't copy or paste them, however. I try to answer your questions as far as I remember: > What platform are you on and which email client do you use? Are your scripts > in Rev or tRev? Mac OS 10.6.2 - Apple's Mail - Rev Enterprise > Does it make a difference if you use your mouse and select Copy and Paste > rather than using keyboard shortcuts? Not sure - I probably used the shortcut. "Paste" was dimmed in Mail. But not in TextEdit (see below) ! > Can you Copy and Paste code from Rev into a text editor or other program, or > from one Rev script to another Rev script, ie is the problem you can't Copy > in Rev, you can Copy but it get's lost when going to some other programs, or > Paste just never works outside of Rev? Yes, I tried after sending my last mail - scripts pasted in TextEdit without problems, either in txt or in RTF. It seems it was something not recognized by Mail in the clipboard... I didn't check other programs. Last precision: the default format for my Mail is set to text only. > This was an intermitant problem with Rev way back and the usual cure was to > manually select the menu commands. I remember too well - specially boring for cmd E ! Well, I'll check again after some hours on RunRev... but still, it is not a vital problem ! Jacques ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From bvg at mac.com Thu Dec 17 07:54:32 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 17 Dec 2009 13:54:32 +0100 Subject: Web interface for executable software In-Reply-To: <1261013763734-965693.post@n4.nabble.com> References: <1261013763734-965693.post@n4.nabble.com> Message-ID: Making a bare-bone http server is not very. Andre has made html servers using runrev stacks. He tends to add dozens of features tho, probably to confuse people and make them think it's very hard ;) basically you need to accept stuff on port x (normally 80), and then follow the http protocol specification: http://www.w3.org/Protocols/rfc2616/rfc2616.html Have fun Bj?rnke On 17 Dec 2009, at 02:36, Alejandro Tejada wrote: > > Hi all, > > Recently i saw a functional web interface > for a desktop application that runs as > a server. > > Previously, i have seen the VLC player > interface running in a browser, > (Still think that an external for VLC could be > an excellent alternative to Quicktime) > also WinAmp and iTunes. > > How difficult could be to create such > interface for our own apps? > > Thanks in advance. > > Alejandro > > -- > View this message in context: http://n4.nabble.com/Web-interface-for-executable-software-tp965693p965693.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bvg at mac.com Thu Dec 17 08:04:13 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 17 Dec 2009 14:04:13 +0100 Subject: A Rev Web Project and On-Rev working together? In-Reply-To: <5C1FC357-AEC3-45EB-8A43-6CEA96FFB086@mac.com> References: <20091217003347.8400E2886B0@mail.runrev.com> <5C1FC357-AEC3-45EB-8A43-6CEA96FFB086@mac.com> Message-ID: <8F0E19FB-97A8-4E8E-AE49-1CDA5ECE134C@mac.com> On 17 Dec 2009, at 04:23, John Patten wrote: > Bj?rnke, as for copying the sentence to the clipboard... > > Is it because the user might have been saving something else on the clipboard and that action replaces what they had previously saved? Yes. And deleting the users data is a very bad idea. On my first week of my IT-Apprentice, I was tasked to install something on the mac (mac os 8) of the Boss of the company. I went there, downloaded the installer from the server, ran it, and then moved it to the trash. then i emptied the trash. The boss was kindly explaining to me that i shouldn't have done that, because his workflow was to trash stuff (same for his real world paper trash), and then reassess if he might need it later on... I was scared shitless at that moment, but with time i found out that he was an easy going chap. As for your idea of interacting with drupal, can't you access drupal by going to urls, using some kind of third party communication protocol? If not, you can just "fake" the forms, by sending post or put with parameters (similar to your example), to the correct drupal files. I'm sure there's documentation to do that, somewhere on the net. Have fun Bj?rnke -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From andre at andregarzia.com Thu Dec 17 08:09:02 2009 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 17 Dec 2009 11:09:02 -0200 Subject: Web interface for executable software In-Reply-To: References: <1261013763734-965693.post@n4.nabble.com> Message-ID: <7c87a2a10912170509k657fe632sfce8d8f3bc5779@mail.gmail.com> lol Mr. B.... I don't add that much features! I have some HTTP servers in here, I will pack and share them again, as Bj?rnke said, it is quite easy. One easy and nice reading, which is more human readable than the RFC is "HTTP Made Really Easy" available at http://www.jmarshall.com/easy/http/ Cheers andre 2009/12/17 Bj?rnke von Gierke > Making a bare-bone http server is not very. > > Andre has made html servers using runrev stacks. He tends to add dozens of > features tho, probably to confuse people and make them think it's very hard > ;) > > basically you need to accept stuff on port x (normally 80), and then follow > the http protocol specification: > > http://www.w3.org/Protocols/rfc2616/rfc2616.html > > Have fun > Bj?rnke > > On 17 Dec 2009, at 02:36, Alejandro Tejada wrote: > > > > > Hi all, > > > > Recently i saw a functional web interface > > for a desktop application that runs as > > a server. > > > > Previously, i have seen the VLC player > > interface running in a browser, > > (Still think that an external for VLC could be > > an excellent alternative to Quicktime) > > also WinAmp and iTunes. > > > > How difficult could be to create such > > interface for our own apps? > > > > Thanks in advance. > > > > Alejandro > > > > -- > > View this message in context: > http://n4.nabble.com/Web-interface-for-executable-software-tp965693p965693.html > > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at 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. From toolbook at kestner.de Thu Dec 17 08:57:36 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 17 Dec 2009 14:57:36 +0100 Subject: Path name to CD drive Message-ID: <6E1F818E331C4D1583514E0793DE833C@Kestner.local> Hello, if I want to get the path to an inserted CD, with name "foo" I can check on Mac "the drives", if my disk is inserted. But actually the full path is "/Volumes/foo/myfile" Not having so much experience on Mac I would like to know, if I can always set "/Volumes/" as a prefix before my disk name or is the name "Volumes" customizable on different Macs? Or is there another straight way to get the path to a known file on a known CD? Thanks Tiemo From klaus at major.on-rev.com Thu Dec 17 09:40:39 2009 From: klaus at major.on-rev.com (Klaus Major) Date: Thu, 17 Dec 2009 15:40:39 +0100 Subject: Path name to CD drive In-Reply-To: <6E1F818E331C4D1583514E0793DE833C@Kestner.local> References: <6E1F818E331C4D1583514E0793DE833C@Kestner.local> Message-ID: <68F53721-701C-40DA-9B68-692B2340900F@major.on-rev.com> Hi Tiemo, > Hello, > > if I want to get the path to an inserted CD, with name "foo" I can check on > Mac "the drives", if my disk is inserted. But actually the full path is > "/Volumes/foo/myfile" > > Not having so much experience on Mac I would like to know, if I can always > set "/Volumes/" as a prefix before my disk name Yes. > or is the name "Volumes" customizable on different Macs? No. > Or is there another straight way to get the path to a known file on a known > CD? Not that I knew :-) > Thanks > > Tiemo Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From toolbook at kestner.de Thu Dec 17 09:50:30 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 17 Dec 2009 15:50:30 +0100 Subject: AW: Path name to CD drive In-Reply-To: <68F53721-701C-40DA-9B68-692B2340900F@major.on-rev.com> Message-ID: <3508243D77884A678C8D68C14174285E@Kestner.local> Hi Klaus, your kind of straight forward answers is always very welcome, no unnecessary words :) Frohe Weihnachten and a Happy New Year Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Klaus Major > Gesendet: Donnerstag, 17. Dezember 2009 15:41 > An: How to use Revolution > Betreff: Re: Path name to CD drive > > Hi Tiemo, > > > Hello, > > > > if I want to get the path to an inserted CD, with name "foo" I can check > on > > Mac "the drives", if my disk is inserted. But actually the full path is > > "/Volumes/foo/myfile" > > > > Not having so much experience on Mac I would like to know, if I can > always > > set "/Volumes/" as a prefix before my disk name > > Yes. > > > or is the name "Volumes" customizable on different Macs? > > No. > > > Or is there another straight way to get the path to a known file on a > known > > CD? > > Not that I knew :-) > > > Thanks > > > > Tiemo > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From cmsheffield at gmail.com Thu Dec 17 10:18:52 2009 From: cmsheffield at gmail.com (Chris Sheffield) Date: Thu, 17 Dec 2009 08:18:52 -0700 Subject: regex question in matchChunk function In-Reply-To: <4B280F1A.40403@hyperactivesw.com> References: <1AF00F21-CF79-4F03-BCB5-D0917F743513@gmail.com> <4B280F1A.40403@hyperactivesw.com> Message-ID: Thanks to all who replied and offered suggestions. I ended up using the "find" command on my field in order to accomplish what I need. While probably not super speedy, it seems to be working well. Fortunately the story passages are not too long, so the decreased speed is really not that noticeable. Thanks again, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From dunbarx at aol.com Thu Dec 17 10:27:19 2009 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 17 Dec 2009 10:27:19 EST Subject: Can't Paste? (Was copying scripts/Deriving an angle from three points) Message-ID: <2b56.135b8d5c.385ba7d7@aol.com> You can't paste? Is it that the pasted text comes over with all its styles? (the script editor is filled with color) If so, the size of the mail increases dramatically, and it is stopped by Rev's own defences. I always change copied scripts to plain old text before pasting: function plainText tText repeat for each char theChar in tText put numToChar(charToNum(theChar)) after temp end repeat return temp end plainText I set up a functionKey to process anything already in the clipboard. So I copy, Fkey and paste. Or is it something more sinister? I mean, pasting, already. That is like breathing. Anyone have a better way? You cannot set the textStyle or HTMLText of a string in a variable. Craig Newman In a message dated 12/17/09 5:16:57 AM, jacques.hausser at unil.ch writes: > I cannot copy and paste scripts directly into mails (I don't know why) so > I > >> rewrite them... with bugs ! > From ambassador at fourthworld.com Thu Dec 17 10:50:42 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 17 Dec 2009 07:50:42 -0800 Subject: Web interface for executable software Message-ID: <4B2A5352.2050607@fourthworld.com> Bj?rnke wrote: > On 17 Dec 2009, at 02:36, Alejandro Tejada wrote: >> >> Recently i saw a functional web interface >> for a desktop application that runs as >> a server. ... >> How difficult could be to create such >> interface for our own apps? > > Making a bare-bone http server is not very. To help get you started you can use Scott Raney's demo stack for making a simple web server, mchttpd: Andre's variants are much more feature-rich, but Raney's mchttp may be a useful starting point because of its simplicity, designed as a demo rather than a complete production environment. Once you get the hang of how it works, you could tailor it for your needs or move up to Andre's libs for more features. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From rjb at robelko.com Thu Dec 17 11:25:09 2009 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 17 Dec 2009 17:25:09 +0100 Subject: HTMLText question In-Reply-To: <4B29CA5E.40505@pdslabs.net> References: <6ea1.32380556.38594caf@aol.com> <37C40781-D3F9-4687-9623-39D8A7D1FEF6@byu.edu> <4B29CA5E.40505@pdslabs.net> Message-ID: On 16.12.2009 at 22:06 Uhr -0800 Phil Davis apparently wrote: >>I'm totally confused. I am not aware that variables have a htmlText >>property? When I try to access it I keep getting an error message. >> > >You're right. Variables don't have an "htmlText" property, only >fields do. This agrees with the Rev docs description and is the way >it really works. > >I think maybe Robert meant "variable DON'T have htmltext property", >and was saying you can put the htmlText of a field into a variable, >manipulate it, then set the htmlText of the field to the manipulated >contents of the variable to display it in rendered form. Thanx Phil for correction. Yes, indeed, this is what I meant. Robert From rjb at robelko.com Thu Dec 17 11:33:11 2009 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 17 Dec 2009 17:33:11 +0100 Subject: HTMLText question In-Reply-To: References: <6ea1.32380556.38594caf@aol.com> <37C40781-D3F9-4687-9623-39D8A7D1FEF6@byu.edu> Message-ID: On 17.12.2009 at 12:04 Uhr +0800 Kay C Lan apparently wrote: >Secondly, using the keyword 'word' when dealing with htmlText doesn't seem >to be a safe option to me at all, in fact it would be the last option I'd >think of using. If a field contained multiple lines of words, formatted in >all sorts of weird and wonderful ways, and the htmlText of one of those >lines might look like this: Yes, using words is not a general approach. I was referring here to the case presented by the original poster which apparently operated on words with his content. I dare say that there is no really general approach that works always. Content massaging needs to be tailored for any given situation. For example, for content that is already html or xml, it is often (but not always) handy to set the item delimiter to < and work with items. Robert From martyknapp at comcast.net Thu Dec 17 11:35:53 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 17 Dec 2009 08:35:53 -0800 Subject: PasteKey Bug? In-Reply-To: <7EB1B74C-E06D-480D-9A34-D5635919A258@VirginBroadband.com.au> References: <7EB1B74C-E06D-480D-9A34-D5635919A258@VirginBroadband.com.au> Message-ID: <4B2A5DE9.8030603@comcast.net> I'm having trouble with the pasteKey message not being caught (I understand that it does not function in the IDE without suspending the development tools). I tried this twice - make 2 identical stacks, each with a field. In the field script I put: on pasteKey answer "No pasting allowed" end pasteKey Then take one of the stacks and install a menubar with the default settings. Script the cut - copy - paste commands with cut, copy & paste respectively. Then suspend development tools, copy some text from somewhere and try to paste into the 2 stacks. The stack without the menubar catches the pasteKey message, but the stack with the menubar does not and the text is pasted. Is this a bug, or am I not understanding something? (This has been driving me crazy for a while) Marty From m.schonewille at economy-x-talk.com Thu Dec 17 13:12:29 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 17 Dec 2009 19:12:29 +0100 Subject: PasteKey Bug? In-Reply-To: <4B2A5DE9.8030603@comcast.net> References: <7EB1B74C-E06D-480D-9A34-D5635919A258@VirginBroadband.com.au> <4B2A5DE9.8030603@comcast.net> Message-ID: Hi Marty, I don't know whether this is a bug or not, but I have no problem with calling the same handler from the pasteKey and the menuPick handler. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Full PayPal integration and automation in web site or (Revolution/ SuperCard/other) software. Contact me for a quote http://economy-x-talk.com/contact.html Op 17 dec 2009, om 17:35 heeft Marty Knapp het volgende geschreven: > I'm having trouble with the pasteKey message not being caught (I > understand that it does not function in the IDE without suspending > the development tools). > > I tried this twice - make 2 identical stacks, each with a field. In > the field script I put: > > on pasteKey > answer "No pasting allowed" > end pasteKey > > Then take one of the stacks and install a menubar with the default > settings. Script the cut - copy - paste commands with cut, copy & > paste respectively. Then suspend development tools, copy some text > from somewhere and try to paste into the 2 stacks. The stack without > the menubar catches the pasteKey message, but the stack with the > menubar does not and the text is pasted. > > Is this a bug, or am I not understanding something? (This has been > driving me crazy for a while) > > Marty From jhurley0305 at sbcglobal.net Thu Dec 17 14:18:51 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Thu, 17 Dec 2009 11:18:51 -0800 Subject: Deriving an angle from three points In-Reply-To: <20091217152744.C58D92886F2@mail.runrev.com> References: <20091217152744.C58D92886F2@mail.runrev.com> Message-ID: <6B199FB7-17F2-4E3D-96E2-06790F8FA655@sbcglobal.net> > > Message: 12 > Date: Wed, 16 Dec 2009 21:47:10 -0800 > From: Mark Swindell > Subject: Re: Deriving an angle from three points > To: How to use Revolution > Message-ID: <3CEB9DD4-D059-43B4-8A77-2F4E86C4820D at cruzio.com> > Content-Type: text/plain; charset=us-ascii > > James, > > Thanks for this, but starting the Turtle stack did not allow me to > calculate the angle. I got an error each time at "Start Turtle." > Is there a trick to making the library accessible to other stacks? > > Mark Mark, I think the problem might be that you may have used "Start Turtle" instead of "StartTurtle" There should be no spaces. Try just copying and pasting the script into a button on the Turtle Graphics stack. If you use it outside of the Turtle Graphics stack, you will need to do a "Start Using stack..." Hope this helps. Jim Hurley > > On Dec 16, 2009, at 8:08 AM, James Hurley wrote: > >>> >>> Message: 24 >>> Date: Tue, 15 Dec 2009 22:21:47 -0800 >>> From: Mark Swindell >>> Subject: Deriving an angle from three points >>> To: How to use Revolution >>> Message-ID: >>> Content-Type: text/plain; charset=us-ascii >>> >>> 40,116 >>> 98,186 >>> 132,118 >>> >>> How would one determine the angle created from three points, such >>> as those above? >>> >>> Thanks, >>> Mark >>> >> >> Mark, >> >> Or even easier. Set the Turtle at the apex and get the angle of the >> other two points. >> >> >> on mouseUp >> startTurtle --Initiates the turtle graphics library >> penup >> setxy 98,186 --The vertex >> put direction(40,116) into A >> put direction(132,118) into B >> put B-A into dA >> put abs(dA) & cr & abs(180 - dA) into msg box >> choose the browse tool >> end mouseUP >> >> (Assuming your middle point is the apex of the angle you want.) >> >> To run this you will need the TG library. Run this in the msg box >> >> go url "http://www.jamesphurley.com/jhurleyFolder/TurtleGraphics.rev" >> >> Jim Hurley >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > From martyknapp at comcast.net Thu Dec 17 14:25:16 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 17 Dec 2009 11:25:16 -0800 Subject: PasteKey Bug? In-Reply-To: References: <7EB1B74C-E06D-480D-9A34-D5635919A258@VirginBroadband.com.au> <4B2A5DE9.8030603@comcast.net> Message-ID: <4B2A859C.1000703@comcast.net> Thanks Mark for taking the time to try this, I'm on an Intel iMac running OS 10.5.8 and the latest version of Rev Studio. My menuPick handler for Paste is just "paste". This is 100% repeatable for me, so far. Any other thoughts? Thanks, Marty Knapp > Hi Marty, > > I don't know whether this is a bug or not, but I have no problem with > calling the same handler from the pasteKey and the menuPick handler. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Full PayPal integration and automation in web site or > (Revolution/SuperCard/other) software. Contact me for a quote > http://economy-x-talk.com/contact.html > > Op 17 dec 2009, om 17:35 heeft Marty Knapp het volgende geschreven: > >> I'm having trouble with the pasteKey message not being caught (I >> understand that it does not function in the IDE without suspending >> the development tools). >> >> I tried this twice - make 2 identical stacks, each with a field. In >> the field script I put: >> >> on pasteKey >> answer "No pasting allowed" >> end pasteKey >> >> Then take one of the stacks and install a menubar with the default >> settings. Script the cut - copy - paste commands with cut, copy & >> paste respectively. Then suspend development tools, copy some text >> from somewhere and try to paste into the 2 stacks. The stack without >> the menubar catches the pasteKey message, but the stack with the >> menubar does not and the text is pasted. >> >> Is this a bug, or am I not understanding something? (This has been >> driving me crazy for a while) >> >> Marty From m.schonewille at economy-x-talk.com Thu Dec 17 14:31:30 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 17 Dec 2009 20:31:30 +0100 Subject: PasteKey Bug? In-Reply-To: <4B2A859C.1000703@comcast.net> References: <7EB1B74C-E06D-480D-9A34-D5635919A258@VirginBroadband.com.au> <4B2A5DE9.8030603@comcast.net> <4B2A859C.1000703@comcast.net> Message-ID: <979EE8E3-16FF-4CB3-A659-D7B7591F9617@economy-x-talk.com> Hi Marty, Your menuPick handler should call a handler named pasteIt and the pasteKey handler should do the same. Your pasteIt handler should do exactly the same what currently your pasteKey handler does. Apparently, sometimes you want to be able to paste and sometimes you don't. For this, you need to adjust your pasteIt handler, for example something like: on pasteIt if the short name of the selectedField is "Forbidden Field" then beep answer error "Paste not allowed" else paste end if end pasteIt If this isn't what you're trying to do, please explain more. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Full PayPal integration and automation in web site or (Revolution/ SuperCard/other) software. Contact me for a quote http://economy-x-talk.com/contact.html Op 17 dec 2009, om 20:25 heeft Marty Knapp het volgende geschreven: > Thanks Mark for taking the time to try this, > > I'm on an Intel iMac running OS 10.5.8 and the latest version of Rev > Studio. My menuPick handler for Paste is just "paste". This is 100% > repeatable for me, so far. Any other thoughts? > > Thanks, > Marty Knapp From mdswindell at cruzio.com Thu Dec 17 14:32:00 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 17 Dec 2009 11:32:00 -0800 Subject: Deriving an angle from three points In-Reply-To: <6B199FB7-17F2-4E3D-96E2-06790F8FA655@sbcglobal.net> References: <20091217152744.C58D92886F2@mail.runrev.com> <6B199FB7-17F2-4E3D-96E2-06790F8FA655@sbcglobal.net> Message-ID: <78265E31-9000-44F4-AC6E-BA42C7DB179E@cruzio.com> Thanks. I neglected to include the "start using" command. Mark On Dec 17, 2009, at 11:18 AM, James Hurley wrote: >> >> Message: 12 >> Date: Wed, 16 Dec 2009 21:47:10 -0800 >> From: Mark Swindell >> Subject: Re: Deriving an angle from three points >> To: How to use Revolution >> Message-ID: <3CEB9DD4-D059-43B4-8A77-2F4E86C4820D at cruzio.com> >> Content-Type: text/plain; charset=us-ascii >> >> James, >> >> Thanks for this, but starting the Turtle stack did not allow me to calculate the angle. I got an error each time at "Start Turtle." Is there a trick to making the library accessible to other stacks? >> >> Mark > > Mark, > > I think the problem might be that you may have used "Start Turtle" instead of "StartTurtle" > > There should be no spaces. Try just copying and pasting the script into a button on the Turtle Graphics stack. If you use it outside of the Turtle Graphics stack, you will need to do a "Start Using stack..." > > Hope this helps. > > Jim Hurley >> >> On Dec 16, 2009, at 8:08 AM, James Hurley wrote: >> >>>> >>>> Message: 24 >>>> Date: Tue, 15 Dec 2009 22:21:47 -0800 >>>> From: Mark Swindell >>>> Subject: Deriving an angle from three points >>>> To: How to use Revolution >>>> Message-ID: >>>> Content-Type: text/plain; charset=us-ascii >>>> >>>> 40,116 >>>> 98,186 >>>> 132,118 >>>> >>>> How would one determine the angle created from three points, such as those above? >>>> >>>> Thanks, >>>> Mark >>>> >>> >>> Mark, >>> >>> Or even easier. Set the Turtle at the apex and get the angle of the other two points. >>> >>> >>> on mouseUp >>> startTurtle --Initiates the turtle graphics library >>> penup >>> setxy 98,186 --The vertex >>> put direction(40,116) into A >>> put direction(132,118) into B >>> put B-A into dA >>> put abs(dA) & cr & abs(180 - dA) into msg box >>> choose the browse tool >>> end mouseUP >>> >>> (Assuming your middle point is the apex of the angle you want.) >>> >>> To run this you will need the TG library. Run this in the msg box >>> >>> go url "http://www.jamesphurley.com/jhurleyFolder/TurtleGraphics.rev" >>> >>> Jim Hurley >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Thu Dec 17 14:33:54 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 17 Dec 2009 21:33:54 +0200 Subject: Problems with Flashers Message-ID: <4B2A87A2.1080803@gmail.com> [ No, before you ask, not THAT kind . . . :) ] I have a palette that has to be emptied as it is opened, so I have this in the script of the button that opens the palette: on mouseUp set the lockscreen to true open stack "XYZ" put empty into fld "FEELD" of stack "XYZ" palette "XYZ" set the lockscreen to false end mouseUp I had hoped that until the lockscreen was set to false end-users would see nothing; but, 'tis not so - there is a disconcerting flash just after clicking on the button where the stack, with the fld's previous contents are visible for a split-second. Of course I could empty the field prior to closing it so that it is sitting empty for the next time it is opened (and that is what I shall do - no time like the present), but that is not the point. From martyknapp at comcast.net Thu Dec 17 14:39:00 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 17 Dec 2009 11:39:00 -0800 Subject: PasteKey Bug? In-Reply-To: <979EE8E3-16FF-4CB3-A659-D7B7591F9617@economy-x-talk.com> References: <7EB1B74C-E06D-480D-9A34-D5635919A258@VirginBroadband.com.au> <4B2A5DE9.8030603@comcast.net> <4B2A859C.1000703@comcast.net> <979EE8E3-16FF-4CB3-A659-D7B7591F9617@economy-x-talk.com> Message-ID: <4B2A88D4.2040705@comcast.net> That will do the trick for me. Sometimes I want to disallow pasting or check the contents of the clipboard before pasting (rather than testing the content of the field on exitfield). Thanks again Mark! > Hi Marty, > > Your menuPick handler should call a handler named pasteIt and the > pasteKey handler should do the same. Your pasteIt handler should do > exactly the same what currently your pasteKey handler does. > > Apparently, sometimes you want to be able to paste and sometimes you > don't. For this, you need to adjust your pasteIt handler, for example > something like: > > on pasteIt > if the short name of the selectedField is "Forbidden Field" then > beep > answer error "Paste not allowed" > else > paste > end if > end pasteIt > > If this isn't what you're trying to do, please explain more. > > -- > Best regards, > > Mark Schonewille From mdswindell at cruzio.com Thu Dec 17 14:43:16 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 17 Dec 2009 11:43:16 -0800 Subject: Problems with Flashers In-Reply-To: <4B2A87A2.1080803@gmail.com> References: <4B2A87A2.1080803@gmail.com> Message-ID: <0D64094F-BFC0-4598-B743-A5E1F5A9B695@cruzio.com> Could you empty the contents on the substack's preopen stack handler (though that would only work the first time it was opened, I think) You might also open it off screen and then relocate it. Mark On Dec 17, 2009, at 11:33 AM, Richmond Mathewson wrote: > [ No, before you ask, not THAT kind . . . :) ] > > I have a palette that has to be emptied as it is opened, > so I have this in the script of the button that opens > the palette: > > on mouseUp > set the lockscreen to true > open stack "XYZ" > put empty into fld "FEELD" of stack "XYZ" > palette "XYZ" > set the lockscreen to false > end mouseUp > > I had hoped that until the lockscreen was set to false > end-users would see nothing; but, 'tis not so - > there is a disconcerting flash just after clicking on the button > where the stack, with the fld's previous contents are > visible for a split-second. > > Of course I could empty the field prior to closing it > so that it is sitting empty for the next time it is > opened (and that is what I shall do - no time like the > present), but that is not the point. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From gbrackett at luceatlux.com Thu Dec 17 14:46:54 2009 From: gbrackett at luceatlux.com (George C Brackett) Date: Thu, 17 Dec 2009 14:46:54 -0500 Subject: Problems with Flashers In-Reply-To: <4B2A87A2.1080803@gmail.com> References: <4B2A87A2.1080803@gmail.com> Message-ID: <055219D6-9872-4C90-80CE-761AA3429508@luceatlux.com> Would using 'open invisible' on your palette help? That is, open it invisible, clear the field, palette-ize it and then show it? George On Dec 17, 2009, at 2:33 PM, Richmond Mathewson wrote: [ No, before you ask, not THAT kind . . . :) ] I have a palette that has to be emptied as it is opened, so I have this in the script of the button that opens the palette: on mouseUp set the lockscreen to true open stack "XYZ" put empty into fld "FEELD" of stack "XYZ" palette "XYZ" set the lockscreen to false end mouseUp I had hoped that until the lockscreen was set to false end-users would see nothing; but, 'tis not so - there is a disconcerting flash just after clicking on the button where the stack, with the fld's previous contents are visible for a split-second. Of course I could empty the field prior to closing it so that it is sitting empty for the next time it is opened (and that is what I shall do - no time like the present), but that is not the point. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From josh at dvcreators.net Thu Dec 17 14:55:18 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 17 Dec 2009 11:55:18 -0800 Subject: Data Grid deployment question In-Reply-To: <6E4ABC90-C3FC-46FD-A74C-A6992525B929@leapingbrain.com> References: <6E4ABC90-C3FC-46FD-A74C-A6992525B929@leapingbrain.com> Message-ID: Here's our situation: We have a product that uses a "splash" standalone that checks our server for updates in the secondary stack (the secondary stack is actually the real app) and downloads the updated secondary stack if it's newer. We just, for the first time, put a data grid in the secondary stack. So the question is, how do we deploy the "revdatagridlibrary.rev" library in this situation? Do we just make "revdatagridlibrary.rev" a substack of the secondary stack, and put a "start using" in the preOpenStack of the secondary stack? I thought I should ask before we started experimenting. (Obviously we don't want to make thousands of users re-download a standalone.) From mwieder at ahsoftware.net Thu Dec 17 14:55:04 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 17 Dec 2009 11:55:04 -0800 Subject: Problems with Flashers In-Reply-To: <4B2A87A2.1080803@gmail.com> References: <4B2A87A2.1080803@gmail.com> Message-ID: <67698141218.20091217115504@ahsoftware.net> Richmond- A couple of ideas: 1: open invisible stack "XYZ" -- fiddle about show stack "XYZ" 2: set the loc of stack "XYZ" to -1000,-1000 -- fiddle about set the loc of stack "XYZ" to the screenloc -- -Mark Wieder mwieder at ahsoftware.net From jacques.hausser at unil.ch Thu Dec 17 15:05:05 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 17 Dec 2009 21:05:05 +0100 Subject: Problems with Flashers In-Reply-To: <4B2A87A2.1080803@gmail.com> References: <4B2A87A2.1080803@gmail.com> Message-ID: Hello Richmond, If xou reduce your script to: on mouseUp palette "XYZ" end mouseUp and put on preOpenStack put empty in fld "FEELD" end preOpenStack in the stack script of "XYZ" it's just splendidly... Jacques and use the preopenStack in the card script for the original setting... Jacques Le 17 d?c. 2009 ? 20:33, Richmond Mathewson a ?crit : > [ No, before you ask, not THAT kind . . . :) ] > > I have a palette that has to be emptied as it is opened, > so I have this in the script of the button that opens > the palette: > > on mouseUp > set the lockscreen to true > open stack "XYZ" > put empty into fld "FEELD" of stack "XYZ" > palette "XYZ" > set the lockscreen to false > end mouseUp > > I had hoped that until the lockscreen was set to false > end-users would see nothing; but, 'tis not so - > there is a disconcerting flash just after clicking on the button > where the stack, with the fld's previous contents are > visible for a split-second. > > Of course I could empty the field prior to closing it > so that it is sitting empty for the next time it is > opened (and that is what I shall do - no time like the > present), but that is not the point. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From johnpatten at mac.com Thu Dec 17 15:07:35 2009 From: johnpatten at mac.com (John Patten) Date: Thu, 17 Dec 2009 12:07:35 -0800 Subject: A Rev Web Project and On-Rev working together? In-Reply-To: <20091217180004.4D8EE2886F9@mail.runrev.com> References: <20091217180004.4D8EE2886F9@mail.runrev.com> Message-ID: <6B0912B6-A5EA-4CE8-8CED-10B7B46171EB@mac.com> Hi All... I finished my little Rev web application example. It is still a little rough, but I hope it sparks some conversations with those interested on how it was done :-) I'm going to send out to our teachers and administrators tomorrow. So if you do see anything that's buggy or suggestions for making it better ( in know there are probably plenty) :-) It is accessible at: http://jpatten.on-rev.com/xmas/ Cheers & Happy Holidays! John Patten From lists at mangomultimedia.com Thu Dec 17 15:08:05 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 17 Dec 2009 15:08:05 -0500 Subject: Data Grid deployment question In-Reply-To: References: <6E4ABC90-C3FC-46FD-A74C-A6992525B929@leapingbrain.com> Message-ID: On Dec 17, 2009, at 2:55 PM, Josh Mellicker wrote: > Here's our situation: > > We have a product that uses a "splash" standalone that checks our > server for updates in the secondary stack (the secondary stack is > actually the real app) and downloads the updated secondary stack if > it's newer. > > We just, for the first time, put a data grid in the secondary stack. > > So the question is, how do we deploy the "revdatagridlibrary.rev" > library in this situation? Do we just make "revdatagridlibrary.rev" > a substack of the secondary stack, and put a "start using" in the > preOpenStack of the secondary stack? I thought I should ask before > we started experimenting. I would either a) Bundle the library with the splash stack using the directions in this lesson: or b) Include the revDataGridLibrary.rev stack as a stack file in your application distribution. You need load this stack in memory before ANY of your application stacks open up or the behavior property of the Data Grid's won't resolve properly. You could potentially include the stack as a substack to your stack but Rev would complain when you opened the stack in the IDE and had two versions of revDataGridLibrary in memory. > (Obviously we don't want to make thousands of users re-download a > standalone.) You might want to consider updating the executable when you auto- update though. The reason is that the executable has the version, created on and modified on information. If you don't update the exe (on Windows at least, you could meddle with the info.plist file on Mac) then people using Windows Explorer to see which version of your app they have will see the wrong information. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From richmondmathewson at gmail.com Thu Dec 17 15:09:54 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 17 Dec 2009 22:09:54 +0200 Subject: Problems with Flashers In-Reply-To: <67698141218.20091217115504@ahsoftware.net> References: <4B2A87A2.1080803@gmail.com> <67698141218.20091217115504@ahsoftware.net> Message-ID: <4B2A9012.1020203@gmail.com> Thank you George and Mark, The visibility trick seems to be the best way to avoid the flash. From richmondmathewson at gmail.com Thu Dec 17 15:12:26 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 17 Dec 2009 22:12:26 +0200 Subject: Problems with Flashers In-Reply-To: References: <4B2A87A2.1080803@gmail.com> Message-ID: <4B2A90AA.30707@gmail.com> On 17/12/2009 22:05, Jacques Hausser wrote: > Hello Richmond, > > If xou reduce your script to: > > on mouseUp > palette "XYZ" > end mouseUp > > and put > > on preOpenStack > put empty in fld "FEELD" > end preOpenStack > > in the stack script of "XYZ" > > it's just splendidly... > > Jacques > > Possiblement, mais J'ai eu des problems avec le Pre-Open avec des autres stacks. From jacques.hausser at unil.ch Thu Dec 17 15:22:52 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 17 Dec 2009 21:22:52 +0100 Subject: Problems with Flashers In-Reply-To: <4B2A90AA.30707@gmail.com> References: <4B2A87A2.1080803@gmail.com> <4B2A90AA.30707@gmail.com> Message-ID: Well, if you don't want to use PreOpenStack, IF your "XYZ" stack is already in memory (it is the case if it is a substract of your mainstack) you can use on mouseUp put empty into fld "FEELD" of stack "XYZ" palette "XYZ" end mouseUp Simply empties your field before opening the stack - works as well Jacques Le 17 d?c. 2009 ? 21:12, Richmond Mathewson a ?crit : > On 17/12/2009 22:05, Jacques Hausser wrote: >> Hello Richmond, >> >> If xou reduce your script to: >> >> on mouseUp >> palette "XYZ" >> end mouseUp >> >> and put >> >> on preOpenStack >> put empty in fld "FEELD" >> end preOpenStack >> >> in the stack script of "XYZ" >> >> it's just splendidly... >> >> Jacques >> >> > Possiblement, mais J'ai eu des problems avec le > Pre-Open avec des autres stacks. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From josh at dvcreators.net Thu Dec 17 15:57:31 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 17 Dec 2009 12:57:31 -0800 Subject: Data Grid deployment question In-Reply-To: References: <6E4ABC90-C3FC-46FD-A74C-A6992525B929@leapingbrain.com> Message-ID: Hi Trevor, and thanks for the quick answer! On Dec 17, 2009, at 12:08 PM, Trevor DeVore wrote: > On Dec 17, 2009, at 2:55 PM, Josh Mellicker wrote: > >> Here's our situation: >> >> We have a product that uses a "splash" standalone that checks our server for updates in the secondary stack (the secondary stack is actually the real app) and downloads the updated secondary stack if it's newer. >> >> We just, for the first time, put a data grid in the secondary stack. >> >> So the question is, how do we deploy the "revdatagridlibrary.rev" library in this situation? Do we just make "revdatagridlibrary.rev" a substack of the secondary stack, and put a "start using" in the preOpenStack of the secondary stack? I thought I should ask before we started experimenting. > > I would either > > a) Bundle the library with the splash stack using the directions in this lesson: > > We don't want to do this, for a few reasons: 1. if there are improvements in the datagrid library we are stuck with an old version, 2. we want to avoid making users re-download an executable when we have such a slick, behind-the-scenes updater :-) > > or > > b) Include the revDataGridLibrary.rev stack as a stack file in your application distribution. You need load this stack in memory before ANY of your application stacks open up or the behavior property of the Data Grid's won't resolve properly. If we say: start using stack "revdatagridlibrary.rev" in the PreOpenStack of the stack that has a data grid, is that acceptable? Or would it be better to have an intermediary stack that opens libraries, then launches a third stack which is actually the real program? Also, is it better, when using a library, to say "start using", or "insert the script of... into back"? > > You could potentially include the stack as a substack to your stack but Rev would complain when you opened the stack in the IDE and had two versions of revDataGridLibrary in memory. Strangely, we have not seen that message yet! > >> (Obviously we don't want to make thousands of users re-download a standalone.) > > You might want to consider updating the executable when you auto-update though. The reason is that the executable has the version, created on and modified on information. If you don't update the exe (on Windows at least, you could meddle with the info.plist file on Mac) then people using Windows Explorer to see which version of your app they have will see the wrong information. True... but when we do tech support, we always have people use the "About..." menu, which is easier for them anyway. > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From zryip.theslug at gmail.com Thu Dec 17 15:58:09 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 17 Dec 2009 21:58:09 +0100 Subject: regex question in matchChunk function In-Reply-To: References: <1AF00F21-CF79-4F03-BCB5-D0917F743513@gmail.com> <4B280F1A.40403@hyperactivesw.com> Message-ID: <64bda6470912171258ha4cb149vfde6b6db02838180@mail.gmail.com> It seems that I have missed the good tread. Apologizes if it's a double message ;) To enclose a word without its punctuation you have to define a list of substitute strings like this : -> the list of possible form " ",",",".",".",".." -> the substitute list " ",",",".",".",".." With this approach you'll be able to keep your punctuation alive. I'm sure it'll thank us 8) To create a list of possible form of whole word, you could: 1) Define the list of punctuation which could starts a word i.e. : colon,space,nothing,comma .... 2) Define the list of punctuation which could ends a word i.e. : -,colon,dot,comma ... 3) Then mix all possibilities by two imbricated loops (okay it's like cooking i'm presume 8)) So you'll obtain something like that : put "colon,space,comma,nothing,quote" into startCharsList put "colon,dot,comma,-" into endCharsList put "" into keyWord put "" into htmlTag put "" into wholeWordList put "" into substituteList -- Create the list of whole words and its substitute list repeat with startCharNum = 1 to number of items of startCharsList repeat with endCharNum = 1 to number of items of endCharsList put item startCharNum of startCharsList & keyWord & item endCharNum of endCharsList&"," after wholeWordList put item startCharNum of startCharsList & htmlTag & keyWord & htmlTag & item endCharNum of endCharsList&"," after substituteList end repeat end repeat -- Search and boxed one or a list of words repeat with aWord in wordList repeat with wholeWordForm in wholeWordList put replaceText(wholeWordForm,"",aWord) into wholeWordForm -- replace the "" key in your pattern by the word that you need get fld "yourField" replace wholeWordForm with itSubstituteForm in it end repeat end repeat See how it could work ? However not sure of the time of processing... Not tested but it's a possibility. Anyway you've already found your way and that is the main, so try this if you would ;) -Zryip TheSlug- wish you the best ! 8) 2009/12/17 Chris Sheffield > Thanks to all who replied and offered suggestions. I ended up using the > "find" command on my field in order to accomplish what I need. While > probably not super speedy, it seems to be working well. Fortunately the > story passages are not too long, so the decreased speed is really not that > noticeable. > > Thanks again, > Chris > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lists at mangomultimedia.com Thu Dec 17 15:59:40 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 17 Dec 2009 15:59:40 -0500 Subject: Data Grid deployment question In-Reply-To: References: <6E4ABC90-C3FC-46FD-A74C-A6992525B929@leapingbrain.com> Message-ID: <3DC0BE10-1D4C-4813-A294-C42701E47322@mangomultimedia.com> On Dec 17, 2009, at 3:57 PM, Josh Mellicker wrote: >> b) Include the revDataGridLibrary.rev stack as a stack file in your >> application distribution. You need load this stack in memory before >> ANY of your application stacks open up or the behavior property of >> the Data Grid's won't resolve properly. > > If we say: > > start using stack "revdatagridlibrary.rev" revDataGridLibrary is not a library stack. It just needs to be in memory. > in the PreOpenStack of the stack that has a data grid, is that > acceptable? No. You need to load the stack in memory before your stack that has the data grid is opened in memory. At least that is what I've seen in my tests. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From jhurley0305 at sbcglobal.net Thu Dec 17 16:03:09 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Thu, 17 Dec 2009 13:03:09 -0800 Subject: Saving standalone substacks In-Reply-To: <20091217003347.740612886AF@mail.runrev.com> References: <20091217003347.740612886AF@mail.runrev.com> Message-ID: > > Message: 26 > Date: Wed, 16 Dec 2009 16:30:22 -0600 > From: "J. Landman Gay" > Subject: Re: Saving standalone substacks > To: How to use Revolution > Message-ID: <4B295F7E.3030404 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > James Hurley wrote: > >> Things I didn't know: >> >> 1) I thought I would be saving to a substack. > > Substacks -- the ones embedded into a main stack -- become part of the > standalone. Executables can't save data to themselves, no matter how > many stacks they are composed of. So yeah, you need separate stacks on > disk if you want to save them. > >> 2) I was unaware of the "shutDownRequest" handler. >> >> Another question or two. >> >> 1) How would "StackRunner" differ from using my own splash screen? >> 2) How would "Revolution Player" differ from using my own splash >> screen? > > I don't think either of these would be much different. They are both > basically splash standalones, though Rev's player has a few more > restrictions I think. But with either of these, you'd need to put your > saving instructions into each satellite stack, or else into a > backscript > that you insert when your first stack opens. That's because both of > these are already built standalones, so to add any scripted behavior > you > have to use another stack to store the scripts in. > > (snip) > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > Jacque, Thanks again. I put all of this to good use and it all seems to be working. But I foresee one problem. I am setting up a utility for a local volunteer group. There will surely be occasion for upgrades and bug fixes down the road. And all of this after they have made additional data entries in the stand alone. It would be possible for me to incorporate a means of extracting all the data entry work they have performed, make changes in the original satellite stack in the RunRev IDE, repopulate the fields with saved data and return it to them for further use. What would be soooo much easier if I would have access to the satellite stack itself. All the data would be intact and I could easily make the changes in the IDE and send it back as a stand alone. There would seem to be an advantage to using StackRunner or the RunRev Player in that the satellite stack is still intact and more easily modified. Is there some was in the stand alone to make a clone of the satellite stack, or in some other way recreate the stack as a dot rev and available to the IDE? Jim Hurley From josh at dvcreators.net Thu Dec 17 16:16:43 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 17 Dec 2009 13:16:43 -0800 Subject: Data Grid deployment question In-Reply-To: <3DC0BE10-1D4C-4813-A294-C42701E47322@mangomultimedia.com> References: <6E4ABC90-C3FC-46FD-A74C-A6992525B929@leapingbrain.com> <3DC0BE10-1D4C-4813-A294-C42701E47322@mangomultimedia.com> Message-ID: On Dec 17, 2009, at 12:59 PM, Trevor DeVore wrote: > On Dec 17, 2009, at 3:57 PM, Josh Mellicker wrote: > >>> b) Include the revDataGridLibrary.rev stack as a stack file in your application distribution. You need load this stack in memory before ANY of your application stacks open up or the behavior property of the Data Grid's won't resolve properly. >> >> If we say: >> >> start using stack "revdatagridlibrary.rev" > > revDataGridLibrary is not a library stack. It just needs to be in memory. So, would one of these be better? go invisible stack "revdatagridlibrary.rev"? or just open stack "revdatagridlibrary.rev"? > >> in the PreOpenStack of the stack that has a data grid, is that acceptable? > > No. You need to load the stack in memory before your stack that has the data grid is opened in memory. At least that is what I've seen in my tests. It seems to be working now with "start using" in preOpenStack... are there any problems we should be looking out for in particular? Or is it as simple as the data grid just won't work? > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Thu Dec 17 16:19:29 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 17 Dec 2009 16:19:29 -0500 Subject: Data Grid deployment question In-Reply-To: References: <6E4ABC90-C3FC-46FD-A74C-A6992525B929@leapingbrain.com> <3DC0BE10-1D4C-4813-A294-C42701E47322@mangomultimedia.com> Message-ID: <39EF45AA-D80E-403A-9599-57157333D582@mangomultimedia.com> On Dec 17, 2009, at 4:16 PM, Josh Mellicker wrote: >> revDataGridLibrary is not a library stack. It just needs to be in >> memory. > > So, would one of these be better? > > go invisible stack "revdatagridlibrary.rev"? > > or just > > open stack "revdatagridlibrary.rev"? I prefer: put there is a stack "revdatagridlibrary.rev" into theStackIsNowInMemory This loads the stack without issuing any messages to it or opening it. >> No. You need to load the stack in memory before your stack that has >> the data grid is opened in memory. At least that is what I've seen >> in my tests. > > It seems to be working now with "start using" in preOpenStack... are > there any problems we should be looking out for in particular? Or is > it as simple as the data grid just won't work? The Data Grid will not work. If you have everything working then you are good to go (just switch to loading the stack in memory rather than using it as a library). -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From jacque at hyperactivesw.com Thu Dec 17 16:47:57 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 17 Dec 2009 15:47:57 -0600 Subject: Saving standalone substacks In-Reply-To: References: <20091217003347.740612886AF@mail.runrev.com> Message-ID: <4B2AA70D.7000202@hyperactivesw.com> James Hurley wrote: > What would be soooo much easier if I would have access to the satellite > stack itself. All the data would be intact and I could easily make the > changes in the IDE and send it back as a stand alone. > There would seem to be an advantage to using StackRunner or the RunRev > Player in that the satellite stack is still intact and more easily > modified. They all work the same way as a splash stack. When you save a satellite stack with new data, it gets altered on disk, no matter what vehicle the engine is attached to. There isn't a way around that, except to separate the data from the stacks entirely (which is generally the recommended approach anyway, for just these reasons.) > > Is there some was in the stand alone to make a clone of the satellite > stack, or in some other way recreate the stack as a dot rev and > available to the IDE? You don't really need to. Satellite stacks are just plain rev stacks. You can open them at any time in the IDE. They aren't part of the standalone, they are just documents sitting in the same folder that the standalone engine opens. You can grab them, open them in the IDE, edit, and save them back to their permanent location. That's one of the nice things about these files. A standalone is just a copy of the engine with at least one stack attached. You can't save data to that attached stack, but if the standalone opens a separate stack file (your satellite stacks,) then it's exactly like opening it in the IDE, only without the editing tools. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhurley0305 at sbcglobal.net Thu Dec 17 17:08:15 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Thu, 17 Dec 2009 14:08:15 -0800 Subject: Saving standalone stacks In-Reply-To: <20091217180004.302B12886F8@mail.runrev.com> References: <20091217180004.302B12886F8@mail.runrev.com> Message-ID: > James Hurley wrote: > > > What would be soooo much easier if I would have access to the > satellite > > stack itself. All the data would be intact and I could easily make > the > > changes in the IDE and send it back as a stand alone. > > There would seem to be an advantage to using StackRunner or the > RunRev > > Player in that the satellite stack is still intact and more easily > > modified. > > They all work the same way as a splash stack. When you save a > satellite > stack with new data, it gets altered on disk, no matter what vehicle > the > engine is attached to. There isn't a way around that, except to > separate > the data from the stacks entirely (which is generally the recommended > approach anyway, for just these reasons.) > > > > > Is there some was in the stand alone to make a clone of the > satellite > > stack, or in some other way recreate the stack as a dot rev and > > available to the IDE? > > You don't really need to. Satellite stacks are just plain rev stacks. > You can open them at any time in the IDE. They aren't part of the > standalone, they are just documents sitting in the same folder that > the > standalone engine opens. You can grab them, open them in the IDE, > edit, > and save them back to their permanent location. That's one of the nice > things about these files. > > A standalone is just a copy of the engine with at least one stack > attached. You can't save data to that attached stack, but if the > standalone opens a separate stack file (your satellite stacks,) then > it's exactly like opening it in the IDE, only without the editing > tools. Jacque, Ah, I found it. It is in the package contents. Beautiful. Just as I had hoped. Thanks, Jim From capellan2000 at gmail.com Thu Dec 17 20:32:55 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 17 Dec 2009 17:32:55 -0800 (PST) Subject: Web interface for executable software In-Reply-To: <4B2A5352.2050607@fourthworld.com> References: <1261013763734-965693.post@n4.nabble.com> <4B2A5352.2050607@fourthworld.com> Message-ID: <1261099975211-974502.post@n4.nabble.com> Great pointers to start experimenting. :-D Many thanks for your helpful answers! Alejandro -- View this message in context: http://n4.nabble.com/Web-interface-for-executable-software-tp965693p974502.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Thu Dec 17 20:39:30 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 17 Dec 2009 17:39:30 -0800 (PST) Subject: [VOTE] Tool Palette dissapear randomly Report #8500 Message-ID: <1261100370964-974505.post@n4.nabble.com> Today, while teaching how to use RevMedia 4.00 v950 to a group of teachers, the tool palette dissapear and sometimes reappear when users click at the open stack. Sometimes, the tool palette completely dissapears and it was necessary to close the IDE and restart RevMedia to use again the palette. Fortunately, no stack was lost, but it's a real problem that this bug happens when you are teaching how to use RevMedia. I saw this bug in computer's students running Windows XP and MacOS X alike. Vote for Report #8500 if you use RevMedia or want to introduce RevMedia to someone that you know. http://quality.runrev.com/qacenter/show_bug.cgi?id=8500 Thanks in advance. Alejandro -- View this message in context: http://n4.nabble.com/VOTE-Tool-Palette-dissapear-randomly-Report-8500-tp974505p974505.html Sent from the Revolution - User mailing list archive at Nabble.com. From revolution at derbrill.de Thu Dec 17 20:42:14 2009 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Fri, 18 Dec 2009 02:42:14 +0100 Subject: datagrids in revLets on Win (Vista / 7) In-Reply-To: <20091217152745.2C5DB2886F4@mail.runrev.com> References: <20091217152745.2C5DB2886F4@mail.runrev.com> Message-ID: <96BD07C7-A492-401C-B02B-463202AE3604@derbrill.de> Hi there, was happiely coding away on a web project. Build the revlet, works fine on the mac. On Win Vista and 7 it fails with the following error (on setting the dgText of the datagrid to empty.: 682,119,17 465,119,1 587,117,1 253,113,1 241,113,1,_Initialize 353,0,0,button id 1005 of bkgnd id 1004 of stack "revDataGridLibrary" of stack "webmon" 573,4512,18 253,4512,1 241,4512,1,dgData 353,0,0,button id 1005 of bkgnd id 1004 of stack "revDataGridLibrary" of stack "webmon" 90,3205,36 449,3205,5 535,3205,1 241,3205,1,_table.SetText Anybody got an idea what could cause this? Cheers, Malte From revolution at derbrill.de Thu Dec 17 20:43:33 2009 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Fri, 18 Dec 2009 02:43:33 +0100 Subject: put put In-Reply-To: <20091217152745.2C5DB2886F4@mail.runrev.com> References: <20091217152745.2C5DB2886F4@mail.runrev.com> Message-ID: <94D237F1-D757-47B3-87B5-2834BFAAD379@derbrill.de> Just for the record: It was a server side problem. The server required connection: keep alive in the http headers to fully download the pdf file. Thanks for the help though. All the best, Malte From jacque at hyperactivesw.com Thu Dec 17 20:56:23 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 17 Dec 2009 19:56:23 -0600 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <1261100370964-974505.post@n4.nabble.com> References: <1261100370964-974505.post@n4.nabble.com> Message-ID: <4B2AE147.9090500@hyperactivesw.com> Alejandro Tejada wrote: > Today, while teaching how to use RevMedia 4.00 v950 > to a group of teachers, the tool palette dissapear > and sometimes reappear when users click at the > open stack. Sometimes, the tool palette completely > dissapears and it was necessary to close the IDE and > restart RevMedia to use again the palette. > > Fortunately, no stack was lost, but it's a real problem > that this bug happens when you are teaching how to > use RevMedia. > > I saw this bug in computer's students running Windows XP > and MacOS X alike. Look in the preferences, in the Script Editor pane, to make sure that the palettes are not hidden when the script editor is open. The default setting is to hide them. When you click on the stack, they come back. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at mangomultimedia.com Thu Dec 17 21:26:15 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 17 Dec 2009 21:26:15 -0500 Subject: datagrids in revLets on Win (Vista / 7) In-Reply-To: <96BD07C7-A492-401C-B02B-463202AE3604@derbrill.de> References: <20091217152745.2C5DB2886F4@mail.runrev.com> <96BD07C7-A492-401C-B02B-463202AE3604@derbrill.de> Message-ID: On Dec 17, 2009, at 8:42 PM, Malte Pfaff-Brill wrote: > was happiely coding away on a web project. Build the revlet, works > fine on the mac. On Win Vista and 7 it fails with the following > error (on setting the dgText of the datagrid to empty.: > > 682,119,17 > 465,119,1 > 587,117,1 > 253,113,1 > 241,113,1,_Initialize > 353,0,0,button id 1005 of bkgnd id 1004 of stack > "revDataGridLibrary" of stack "webmon" > 573,4512,18 > 253,4512,1 > 241,4512,1,dgData > 353,0,0,button id 1005 of bkgnd id 1004 of stack > "revDataGridLibrary" of stack "webmon" > 90,3205,36 > 449,3205,5 > 535,3205,1 > 241,3205,1,_table.SetText Line 119 of the Data Grid button script is (edit script of btn "Data Grid" of stack "revDataGridLibrary": put queryregistry("HKEY_CURRENT_USER\Control Panel\Colors \HilightText") into sSystemA["hilited text color"] My guess is the revLet doesn't like to have the registry queried. You can probably update the switch statement in the _Initialize handler with following. I'm just wrapping the queryRegistry calls with a check to see if the code is running in the browser: switch the platform case "Win32" if the environment is not "browser" then put queryregistry("HKEY_CURRENT_USER\Control Panel \Colors\HilightText") into sSystemA["hilited text color"] if sSystemA["hilited text color"] is not empty then replace space with comma in sSystemA["hilited text color"] end if put queryregistry("HKEY_CURRENT_USER\Control Panel \Desktop\WindowMetrics\ScollWidth") into theValue if theValue is an integer then put abs(theValue/15) into sSystemA["scrollbarWidth"] end if end if break end switch -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From katir at hindu.org Thu Dec 17 22:59:16 2009 From: katir at hindu.org (Sivakatirswami) Date: Thu, 17 Dec 2009 17:59:16 -1000 Subject: A Rev Web Project and On-Rev working together? In-Reply-To: <8F0E19FB-97A8-4E8E-AE49-1CDA5ECE134C@mac.com> References: <20091217003347.8400E2886B0@mail.runrev.com> <5C1FC357-AEC3-45EB-8A43-6CEA96FFB086@mac.com> <8F0E19FB-97A8-4E8E-AE49-1CDA5ECE134C@mac.com> Message-ID: <4B2AFE14.7060706@hindu.org> ? wrote: > On 17 Dec 2009, at 04:23, John Patten wrote: > >> Bj?rnke, as for copying the sentence to the clipboard... >> >> Is it because the user might have been saving something else on the clipboard and that action replaces what they had previously saved? > > Yes. And deleting the users data is a very bad idea. OTOH: Most of my xTalk work through the years has revolved around building in house production applications that do all kinds of "work". In many instances putting data on the clipboard is part of an otherwise tedious work flow that, clipping for them saves the user the "burden" of using the mouse to hit a button or remove hands from he keyboard to mouse to a field and drag of click and shift clic to select text and hitting cmd-C prior to switch to another app that needs to have that text pasted into to proceed. Additionally it prevent user error where they hit cmd-X by mistake and wipe out what they are trying to copy. My users are *very* appreciative of this added tool selecting text for them and consider it a "cool" feature and RunRev gets added points... Just make sure the users know that this is the behavior. Typically my Help or "Getting started" will explain this, and I always put a tool tip saying this will happen where the object is that triggers it. And I usually have status field (not a dialog box, which again requires the user to interrupt work and dismiss) that indicates: "The member ID you need is now on your clipboard" just before activating the other program. For the most part everyone thinks this behavior is really helpful. > Have fun > Bj?rnke > From capellan2000 at gmail.com Fri Dec 18 09:26:04 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Dec 2009 06:26:04 -0800 (PST) Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <4B2AE147.9090500@hyperactivesw.com> References: <1261100370964-974505.post@n4.nabble.com> <4B2AE147.9090500@hyperactivesw.com> Message-ID: <1261146364672-974804.post@n4.nabble.com> I will check if settings that preference solves this problem. Many thanks for your answer! :-) Alejandro -- View this message in context: http://n4.nabble.com/VOTE-Tool-Palette-dissapear-randomly-Report-8500-tp974505p974804.html Sent from the Revolution - User mailing list archive at Nabble.com. From gbrackett at luceatlux.com Fri Dec 18 09:39:26 2009 From: gbrackett at luceatlux.com (George C Brackett) Date: Fri, 18 Dec 2009 09:39:26 -0500 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <1261100370964-974505.post@n4.nabble.com> References: <1261100370964-974505.post@n4.nabble.com> Message-ID: <96DC48B4-8BAF-429F-9FB3-F4A8AA44A8FB@luceatlux.com> Just voted. The absolute worst thing for a technology teacher is to have the technology fail in class! George On Dec 17, 2009, at 8:39 PM, Alejandro Tejada wrote: Today, while teaching how to use RevMedia 4.00 v950 to a group of teachers, the tool palette dissapear and sometimes reappear when users click at the open stack. Sometimes, the tool palette completely dissapears and it was necessary to close the IDE and restart RevMedia to use again the palette. Fortunately, no stack was lost, but it's a real problem that this bug happens when you are teaching how to use RevMedia. I saw this bug in computer's students running Windows XP and MacOS X alike. Vote for Report #8500 if you use RevMedia or want to introduce RevMedia to someone that you know. http://quality.runrev.com/qacenter/show_bug.cgi?id=8500 Thanks in advance. Alejandro -- View this message in context: http://n4.nabble.com/VOTE-Tool-Palette-dissapear-randomly-Report-8500-tp974505p974505.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From capellan2000 at gmail.com Fri Dec 18 10:10:14 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 18 Dec 2009 07:10:14 -0800 (PST) Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <96DC48B4-8BAF-429F-9FB3-F4A8AA44A8FB@luceatlux.com> References: <1261100370964-974505.post@n4.nabble.com> <96DC48B4-8BAF-429F-9FB3-F4A8AA44A8FB@luceatlux.com> Message-ID: <1261149014218-974831.post@n4.nabble.com> Hi George, Not only that, but i could testify how some scripts suddenly stopped working and stacks refused to compile in any of the computers available... Really weird. Later that day, when i received these stacks via email, i was able to run, test and compile them without problem. Hopefully, this strange event will not repeat elsewhere, anytime soon. Alejandro George C Brackett wrote: > > Just voted. The absolute worst thing for a technology teacher > is to have the technology fail in class! > -- View this message in context: http://n4.nabble.com/VOTE-Tool-Palette-dissapear-randomly-Report-8500-tp974505p974831.html Sent from the Revolution - User mailing list archive at Nabble.com. From Kresten.Bjerg at psy.ku.dk Fri Dec 18 10:15:54 2009 From: Kresten.Bjerg at psy.ku.dk (Kresten Bjerg) Date: Fri, 18 Dec 2009 16:15:54 +0100 Subject: ANSWER FILE in Rev 4.0.0 problem Message-ID: <7A47FC91544BDC44B54C6807E6995019015C863B@ibtmail1.ibt.ku.dk.ad> I have hit into a new problem, which I had solved in using previous rev-versions, but seems more complicated in rev.4.0.0(Enterprise) I am working with a substack, extending over 3072 x 2304 = 9 different 1024x768 windows This complicates the use of ask and answer dialogues, because their loc is automatically set at the center of stack surface, and thus invisible from most windows on the stack card. I have previously solved this problem by programming the ask and answer dialog stacks to open at 400,400. This still works for ask dialogs and answer (folder) dialog. But when it comes to answer file (txt) and answer file (app) I hit into the problem, that they are not using the answer dialog of the IDE but those of the systems, respectively mac and windows, - and they do not obey my scripting of the answer-dialog. I wonder, how this worked before. Experimenting, I found what looked like a solution: setting the system File selector property to false, I can get a locatable rev built in dialog box. It is however problematic, because I have to set its default source , -but to make the desktop available I seem to have to specify something like "Users/krestenbjerg/desktop", so that wont go for standalones to other users" I am not too happy to use the rev fileselector at all, so even if their is a solution to generalizing it (it has to be simple, for novices), I am of course hoping for a solution which will make the familiar well programmed system file selection of Mac and Win operable, i e. located at something like 400,400. Any solutions in sight? Hopefully Kresten From rjb at robelko.com Fri Dec 18 10:39:54 2009 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 18 Dec 2009 16:39:54 +0100 Subject: ANSWER FILE in Rev 4.0.0 problem In-Reply-To: <7A47FC91544BDC44B54C6807E6995019015C863B@ibtmail1.ibt.ku.dk.ad> References: <7A47FC91544BDC44B54C6807E6995019015C863B@ibtmail1.ibt.ku.dk.ad> Message-ID: On 18.12.2009 at 16:15 Uhr +0100 Kresten Bjerg apparently wrote: > But when it comes to answer file (txt) and answer file (app) I hit into >the problem, that they are not using the > > answer dialog of the IDE but those of the systems, respectively mac and >windows, > > - and they do not obey my scripting of the answer-dialog. > > I wonder, how this worked before. > I don't how it worked before but you may try opening a tiny, empty stack invisibly in the middle of the screen just before calling the answer file. In my experience, the dialog centers over that invisible stack. Then you just close that stack immediately. Never tried this with Rev4, though. It is actually not quite a proper behavior, so it could have been fixed. r From alex at a2technology.com Fri Dec 18 11:37:35 2009 From: alex at a2technology.com (Alex Adams) Date: Fri, 18 Dec 2009 08:37:35 -0800 Subject: FW: BLOBs - from files to code to DB and back In-Reply-To: Message-ID: I need some guidance in accomplishing the following: - Read the binary contents of a file into a variable - Put the variable into a database BLOB field and update the database - Read from a database BLOB field into a variable - Recreate the file on any OS I could diddle around with this for a while and come up with methods of doing this, but a lot of you guys have more experience with rev than I do and you?re probably better programmers to boot. All help is appreciated, -- Alex Adams hawkVision ? tools for solving Wicked Problems (a)2 Technology Partners, Inc. 831-726-8013 alex at a2tecnology.com www.a2technology.com www.promisstudio.com universalconnector.wordpress.com From mwieder at ahsoftware.net Fri Dec 18 11:45:12 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 18 Dec 2009 08:45:12 -0800 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <1261149014218-974831.post@n4.nabble.com> References: <1261100370964-974505.post@n4.nabble.com> <96DC48B4-8BAF-429F-9FB3-F4A8AA44A8FB@luceatlux.com> <1261149014218-974831.post@n4.nabble.com> Message-ID: <100773149453.20091218084512@ahsoftware.net> Alejandro- Friday, December 18, 2009, 7:10:14 AM, you wrote: > Not only that, but i could testify how some scripts > suddenly stopped working and stacks refused to > compile in any of the computers available... > Really weird. Later that day, when i received these > stacks via email, i was able to run, test and compile > them without problem. > Hopefully, this strange event will not repeat elsewhere, > anytime soon. This is a known problem. Anytime you try to demonstrate any software it will fail randomly, unexpectedly, and without apparent logical reason. Recipe: 1. take known working application 2. demonstrate for prospective clients -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Dec 18 11:49:09 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 18 Dec 2009 10:49:09 -0600 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <96DC48B4-8BAF-429F-9FB3-F4A8AA44A8FB@luceatlux.com> References: <1261100370964-974505.post@n4.nabble.com> <96DC48B4-8BAF-429F-9FB3-F4A8AA44A8FB@luceatlux.com> Message-ID: <4B2BB285.3050707@hyperactivesw.com> George C Brackett wrote: > Just voted. The absolute worst thing for a technology teacher is to > have the technology fail in class! Have you experienced the problem yourself? The team would like only those people who actually have the problem to vote on it, and those people should also add a comment to the report giving more info about their own experience. That gives the team a good idea of how widespread the problem is and helps to pinpoint the issue. If you haven't seen the bug yourself, best not to vote, since that reduces the validity of the count and the report database becomes a popularity contest rather than a legitimate indication of the bug's severity. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Fri Dec 18 12:58:36 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 18 Dec 2009 19:58:36 +0200 Subject: Feeling a bit "NumToCharred"... Message-ID: <4B2BC2CC.3070001@gmail.com> I popped this in a button: on mouseEnter set the useunicode to true set the unicodeText of fld "GUFF" to numToChar(43) end mouseEnter and I get a '+' in fld "GUFF" - exactly as wanted. BUT . . . on mouseEnter set the useunicode to true set the unicodeText of fld "GUFF" to numToChar(7749) && numToChar(43) end mouseEnter does not give me char 7749, a space and a '+'; it only gives me char 7749 and a space I wonder why? Probably my syntax is incorrect . . . From bdrunrev at gmail.com Fri Dec 18 13:00:48 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 18 Dec 2009 18:00:48 +0000 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <4B2BB285.3050707@hyperactivesw.com> References: <1261100370964-974505.post@n4.nabble.com> <96DC48B4-8BAF-429F-9FB3-F4A8AA44A8FB@luceatlux.com> <4B2BB285.3050707@hyperactivesw.com> Message-ID: Jacqueline, I understand your point, and wouldn't be voting for this 'bug' anyway (it might be the case that Alejandro was caught out by the behaviour of IDEs that were operating with defaults that he does not see in his own IDE). But from what you're saying it seems to me that the voting system is being re-purposed. If it had been the intention that people only vote for a bug that they've seen, then surely we would only be allowed to assign 1 vote to a bug rather than 1-5? Also, it doesn't make sense with regard to enhancement 'bugs' (maybe assigning more than 1 vote for those does make sense). I suspect that less than 1% of Rev users actually vote on bugs anyway, so it's very likely that the whole voting process is completely skewed. For example, there are 1961 open actual bugs (i.e. excluding enhancement requests), but only 947 bugs/enhancements that have 1 or more votes. About half of that 947 are enhancements rather than actual bugs, and about 30% of the 947 are listed as 'fixed' but still have votes attached to them. So the vast majority of open bug reports (roughly 85%) don't have any votes assigned to them. And we all know that only a small subset of users ever bother to report bugs. Maybe it's time that RQCC was overhauled. Bernard On Fri, Dec 18, 2009 at 4:49 PM, J. Landman Gay wrote: > If you haven't seen the bug yourself, best not to vote, since that reduces > the validity of the count and the report database becomes a popularity > contest rather than a legitimate indication of the bug's severity. From stephenREVOLUTION2 at barncard.com Fri Dec 18 13:13:37 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 18 Dec 2009 10:13:37 -0800 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: References: <1261100370964-974505.post@n4.nabble.com> <96DC48B4-8BAF-429F-9FB3-F4A8AA44A8FB@luceatlux.com> <4B2BB285.3050707@hyperactivesw.com> Message-ID: I find that fact disappointing. > that only a small subset of users ever bother to report bugs. > > > From revdev at pdslabs.net Fri Dec 18 13:43:30 2009 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 18 Dec 2009 10:43:30 -0800 Subject: datagrids in revLets on Win (Vista / 7) In-Reply-To: <96BD07C7-A492-401C-B02B-463202AE3604@derbrill.de> References: <20091217152745.2C5DB2886F4@mail.runrev.com> <96BD07C7-A492-401C-B02B-463202AE3604@derbrill.de> Message-ID: <4B2BCD52.6010002@pdslabs.net> Using a straight queryRegistry() call here and without involving a dataGrid, on Win 7 I got: * failure when relying on "auto-detect" security settings in the SA settings panel * success when I manually checked "registry (read) in same So it seems the 'auto-detect' feature doesn't always detect everything? Phil Davis On 12/17/09 5:42 PM, Malte Pfaff-Brill wrote: > Hi there, > > was happiely coding away on a web project. Build the revlet, works fine on the mac. On Win Vista and 7 it fails with the following error (on setting the dgText of the datagrid to empty.: > > 682,119,17 > 465,119,1 > 587,117,1 > 253,113,1 > 241,113,1,_Initialize > 353,0,0,button id 1005 of bkgnd id 1004 of stack "revDataGridLibrary" of stack "webmon" > 573,4512,18 > 253,4512,1 > 241,4512,1,dgData > 353,0,0,button id 1005 of bkgnd id 1004 of stack "revDataGridLibrary" of stack "webmon" > 90,3205,36 > 449,3205,5 > 535,3205,1 > 241,3205,1,_table.SetText > > Anybody got an idea what could cause this? > > Cheers, > > Malte_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From jerry.daniels at me.com Fri Dec 18 13:52:40 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Fri, 18 Dec 2009 12:52:40 -0600 Subject: [ANN] tRev Feature Friday: lotsa stuff PLUS Easter Egg Alert! Message-ID: <1F5845CF-CC26-4BE0-A238-9DE5EF5D60D7@me.com> Feature Friday Freaks, VIDEO: http://reveditor.com/feature-friday-lotsa-stuff-plus-easter-egg-al OVERVIEW Handlers - new column buttons for Handler list: Sorted, Rename and Delete - new menu items Rename Handler/Folder and Delete Handler/Folder for Handlers menu - dragging handlers/folders works same whether Sorted is on or not: insertion line is shown Code - selecting a folder comment in code now selects its folder name in handlers list - can now insert custom properties in your code via menu item under Edit (cmd+shift+u) Browser - thousands of cards can now show in the cards column; no lines of code count tho, if lines > 100 - same for controls; hundreds can be shown quickly now Snaps - when showing/hiding headers, footers, tooltips, control selected in snap remains selected Easter Egg! - please email me if you find the Easter Egg as it will be part of next Feature Friday Christmas - BIG Feature Friday on Christmas (Dec 25th)! 10AM CST/US. Don't miss it. Best, Jerry Daniels http://reveditor.com Want to edit something? We can help! From jacque at hyperactivesw.com Fri Dec 18 14:07:57 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 18 Dec 2009 13:07:57 -0600 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: References: <1261100370964-974505.post@n4.nabble.com> <96DC48B4-8BAF-429F-9FB3-F4A8AA44A8FB@luceatlux.com> <4B2BB285.3050707@hyperactivesw.com> Message-ID: <4B2BD30D.6080401@hyperactivesw.com> Bernard Devlin wrote: > But from what you're saying it seems to me > that the voting system is being re-purposed. Not exactly. I was basing it on a discussion I had with Mark Waddingham, who bemoaned the fact that votes don't give him much indication of what to work on next. The voting system hasn't really changed, but people haven't been using it as intended. This makes it hard for the engineers to triage the bug fixes. They can't fix everything immediately, so they use several different ways to determine what to prioritize. One of those things (but not the only thing) is how many people are actually affected by an issue. Crashes always get top priority, but after that they need to figure out how widespread the impact of a bug is. Votes were intended to give them some indication of that. Feature requests are probably a little different. Votes on those show how many people would like and use the proposed new feature. But even so, the team would prefer that you vote on feature requests only if you're pretty sure it would make a difference in the type of work you do. I'm guessing that there's more flexibility here; we don't always know what a future project may need. But if your work is mostly with databases, for example, and a feature request involves, say, animation, maybe you shouldn't necesarily vote on that one regardless of how good a feature it might be. Basically what he was saying was that if the voting system doesn't reflect the user experience, the votes don't give them much to go on. He's also concerned that people might vote because someone asks them to, which skews the count even more. A list member may be able to gather a number of votes for a pet bug, all from people who were never affected by it, but who want to support a friend. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Fri Dec 18 14:16:47 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 18 Dec 2009 21:16:47 +0200 Subject: Feeling a bit "NumToCharred"... In-Reply-To: <4B2BC2CC.3070001@gmail.com> References: <4B2BC2CC.3070001@gmail.com> Message-ID: <4B2BD51F.2070205@gmail.com> Wl, here I go again; replying to my own message: On 18/12/2009 19:58, Richmond Mathewson wrote: > I popped this in a button: > > on mouseEnter > set the useunicode to true > set the unicodeText of fld "GUFF" to numToChar(43) > end mouseEnter > > and I get a '+' in fld "GUFF" - exactly as wanted. > > BUT . . . > > on mouseEnter > set the useunicode to true > set the unicodeText of fld "GUFF" to numToChar(7749) && numToChar(43) > end mouseEnter > > does not give me char 7749, a space and a '+'; it only gives me char > 7749 and a space > > I wonder why? > > Probably my syntax is incorrect . . . ---------------------------------- useUnicode throws a tantrum with "&&", as it does with " ", so everything (which is incredibly tedious) has to be down the numToChar way (i.e. no mixt forms): on mouseEnter set the useunicode to true set the unicodeText of fld "GUFF" to numToChar(7749) & numToChar(32) & numToChar(43) end mouseEnter ------------------------------- What a pain in the bum! To my mind a mixt syntax, whereby characters accessible only via numToChar could be mixt with those directly accessible via the keyboard would be more intuitive. Compare: set the unicodeText of fld "GUFF" to numToChar(7749) && "a b c d." to set the unicodeText of fld "GUFF" to numToChar(7749) && "a" && "b" && "c" && "d" & "." to set the unicodeText of fld "GUFF" to numToChar(7749) & numToChar(32) & numToChar . . . . . . . . . . . . frankly cannot even be bothered to work it out . . . time for some coffee . . . z z z --------------------------- A mixt syntax would save me (even if no-one else) hours and hours of typing, fiddling around with unicode numbers for trivial characters, and merry repetitive stress injury. From mwieder at ahsoftware.net Fri Dec 18 14:31:22 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 18 Dec 2009 11:31:22 -0800 Subject: Feeling a bit "NumToCharred"... In-Reply-To: <4B2BD51F.2070205@gmail.com> References: <4B2BC2CC.3070001@gmail.com> <4B2BD51F.2070205@gmail.com> Message-ID: <35783119437.20091218113122@ahsoftware.net> Richmond- Friday, December 18, 2009, 11:16:47 AM, you wrote: > useUnicode throws a tantrum with "&&", as it does with " ", so > everything (which is incredibly tedious) has to be down the > numToChar way (i.e. no mixt forms): > on mouseEnter > set the useunicode to true > set the unicodeText of fld "GUFF" to numToChar(7749) & numToChar(32) > & numToChar(43) > end mouseEnter You should report this as a bug. The doc comments for setting the unicodeText of a field state that any non-Unicode chars are converted to single-byte chars to save storage, and this is obviously not happening. -- -Mark Wieder mwieder at ahsoftware.net From m.schonewille at economy-x-talk.com Fri Dec 18 15:02:10 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 18 Dec 2009 21:02:10 +0100 Subject: Feeling a bit "NumToCharred"... In-Reply-To: <4B2BD51F.2070205@gmail.com> References: <4B2BC2CC.3070001@gmail.com> <4B2BD51F.2070205@gmail.com> Message-ID: <6A8ABA91-D946-4869-A7F5-66BA70CB2F9A@economy-x-talk.com> Hi Richmond, If you use uniencode(space) or numToChar(32), it is solved. I'm not sure that this is a bug. If you want to use space as a delimiter in a binary stream consisting of uniencoded bytes, you might have a problem if && suddenly equals a uniencoded space. Of course, one might as well use a different delimiter --and one probably should. I think I would do something like the following: function toUnicode set the useUnicode to true repeat with x = 1 to the paramCount if param(x) is a number then put numToChar(param(x)) after myUnicode else put uniencode(param(x)) after myUnicode end if end repeat return myUnicode end toUnicode You can call the function as follows: set the unicodeText of fld "Foo" to toUnicode(7749," a b c d") I haven't tested this particular script, but such a solution might work, is quite easy to use and doesn't slow down things much. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Full PayPal integration and automation in web site or (Revolution/ SuperCard/other) software. Contact me for a quote before 1 Jan 2010 and we'll charge (reduced) 2009 prices. http://economy-x-talk.com/contact.html Op 18 dec 2009, om 20:16 heeft Richmond Mathewson het volgende geschreven: > Wl, here I go again; replying to my own message: > > useUnicode throws a tantrum with "&&", as it does with " ", so > everything (which is incredibly tedious) has to be down the > numToChar way (i.e. no mixt forms): > > on mouseEnter > set the useunicode to true > set the unicodeText of fld "GUFF" to numToChar(7749) & > numToChar(32) & numToChar(43) > end mouseEnter > > ------------------------------- > > What a pain in the bum! > > To my mind a mixt syntax, whereby characters accessible only via > numToChar could > be mixt with those directly accessible via the keyboard would be > more intuitive. > > Compare: > > set the unicodeText of fld "GUFF" to numToChar(7749) && "a b c d." > > to > > set the unicodeText of fld "GUFF" to numToChar(7749) && "a" && "b" > && "c" && "d" & "." > > to > > set the unicodeText of fld "GUFF" to numToChar(7749) & numToChar(32) > & numToChar . . . . . . . . . . . . frankly cannot > even be bothered to work it out . . . time for some coffee . . . z z z > > --------------------------- > > A mixt syntax would save me (even if no-one else) hours and hours of > typing, fiddling around with unicode numbers > for trivial characters, and merry repetitive stress injury. From stephenREVOLUTION2 at barncard.com Fri Dec 18 15:28:37 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 18 Dec 2009 12:28:37 -0800 Subject: custom slider control In-Reply-To: References: Message-ID: This should be easy, but I'm having a bit of trouble wrapping my head around the clockworks for a simple custom vertical fader control. I want to change the look to a more life-like representation. Basic start, end and thumbposition properties, like the stock one. I mainly want to change the look of the knob. Anyone have a recipe ? The fake scrollbar examples have a lot of features I don't need, and are a bit complex to try and modify if one hasn't written it. Thanks in advance, sqb ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev From martyknapp at comcast.net Fri Dec 18 15:33:37 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Fri, 18 Dec 2009 12:33:37 -0800 Subject: custom slider control In-Reply-To: References: Message-ID: <4B2BE721.5070103@comcast.net> You might check out my "Marty's Sliders" in RevOnline. Marty Knapp > This should be easy, but I'm having a bit of trouble wrapping my head around > the clockworks for a simple custom vertical fader control. I want to change > the look to a more life-like representation. Basic start, end and > thumbposition properties, like the stock one. I mainly want to change the > look of the knob. > > Anyone have a recipe ? The fake scrollbar examples have a lot of features I > don't need, and are a bit complex to try and modify if one hasn't written > it. > > > Thanks in advance, > sqb > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From stephenREVOLUTION2 at barncard.com Fri Dec 18 15:40:48 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 18 Dec 2009 12:40:48 -0800 Subject: custom slider control In-Reply-To: <4B2BE721.5070103@comcast.net> References: <4B2BE721.5070103@comcast.net> Message-ID: thanks Marty ------------------------- Stephen Barncard From jperryl at ecs.fullerton.edu Fri Dec 18 15:54:21 2009 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 18 Dec 2009 12:54:21 -0800 (PST) Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <100773149453.20091218084512@ahsoftware.net> References: <1261100370964-974505.post@n4.nabble.com> <96DC48B4-8BAF-429F-9FB3-F4A8AA44A8FB@luceatlux.com> <1261149014218-974831.post@n4.nabble.com> <100773149453.20091218084512@ahsoftware.net> Message-ID: Confirmed here! Judy On Fri, 18 Dec 2009, Mark Wieder wrote: > This is a known problem. > > Anytime you try to demonstrate any software it will fail randomly, > unexpectedly, and without apparent logical reason. > > Recipe: > 1. take known working application > 2. demonstrate for prospective clients From sanke at hrz.uni-kassel.de Fri Dec 18 16:32:44 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 18 Dec 2009 22:32:44 +0100 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 Message-ID: <4B2BF4FC.7010104@hrz.uni-kassel.de> On Thu Dec 17, 2009, J. Landman Gay jacque at hyperactivesw.com wrote: > Alejandro Tejada wrote: > > Today, while teaching how to use RevMedia 4.00 v950 > > to a group of teachers, the tool palette dissapear > > and sometimes reappear when users click at the > > open stack. Sometimes, the tool palette completely > > dissapears and it was necessary to close the IDE and > > restart RevMedia to use again the palette. > > Look in the preferences, in the Script Editor pane, to make sure that > the palettes are not hidden when the script editor is open. The default > setting is to hide them. When you click on the stack, they come back. > > -- > Jacqueline Landman Gay Jacque, you had mentioned this possibility to solve this annoyance by setting the behavior in preferences also when responding to my contribution to thread "Rev IDE vs MetaCard IDE" of Dec 15 - including the advice to change preferences for multiple script windows if needed. Question is, should the default behavior in both cases not be the other way round? What is really gained by hiding the tools palette when the script editor comes up - and it seems to me to be not only a matter of preferences, but a real bug, that the tools palette does not reappear when closing the editor via the close icon? Both presently existing defaults are cases where the workflow is needlessly interrupted, and could be taken as examples for needlessly increasing the complexity of the Rev IDE. Best regards, Wilhelm Sanke From richmondmathewson at gmail.com Fri Dec 18 16:36:16 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 18 Dec 2009 23:36:16 +0200 Subject: Feeling a bit "NumToCharred"... In-Reply-To: <6A8ABA91-D946-4869-A7F5-66BA70CB2F9A@economy-x-talk.com> References: <4B2BC2CC.3070001@gmail.com> <4B2BD51F.2070205@gmail.com> <6A8ABA91-D946-4869-A7F5-66BA70CB2F9A@economy-x-talk.com> Message-ID: <4B2BF5D0.4060605@gmail.com> On 18/12/2009 22:02, Mark Schonewille wrote: > Hi Richmond, > > If you use uniencode(space) or numToChar(32), it is solved. I'm not > sure that this is a bug. I wasn't aware it might be a bug until Mark Weider pointed it out; more, one of the many differences between the documentation and the RAD . . . :) What I am a bit cheesed-off about is that if I want to put characters I can access with my standard keyboard (U.S. extended) into a unicode 'sentence' in a field I have to encode those indivdually (including the spaces) using numToChar rather that just typing '+' or 'Q', as in: set the useUnicode to true set the unicodeText of fld "GUFF" to numToChar(9012) & " this whole things gets on my nerves" which is CONSIDERABLY easier than: set the unicodeText of numToChar of fld "GUFF" to numToChar(9012) & numToChar(32) & numToChar(funnyNumber) & numToChar(funnyNumber2) & numToChar(funnyNumber3) & numToChar(funnyNumber4) ad nauseam From gbrackett at luceatlux.com Fri Dec 18 16:45:05 2009 From: gbrackett at luceatlux.com (George C Brackett) Date: Fri, 18 Dec 2009 16:45:05 -0500 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <4B2BB285.3050707@hyperactivesw.com> References: <1261100370964-974505.post@n4.nabble.com> <96DC48B4-8BAF-429F-9FB3-F4A8AA44A8FB@luceatlux.com> <4B2BB285.3050707@hyperactivesw.com> Message-ID: <131275BB-3394-41ED-8370-B50F843A28B6@luceatlux.com> Goodness. I apologize, since I haven't seen the bug myself. I'll un-vote if that's possible. I may have transgressed in the past, too. I guess I was voting on the question, "Is this an important bug to check out?" rather than "Is this a bug that's causing you fits and ought to be fixed?" Seems to me those might both be useful questions to be voted on. George On Dec 18, 2009, at 11:49 AM, J. Landman Gay wrote: George C Brackett wrote: > Just voted. The absolute worst thing for a technology teacher is to > have the technology fail in class! Have you experienced the problem yourself? The team would like only those people who actually have the problem to vote on it, and those people should also add a comment to the report giving more info about their own experience. That gives the team a good idea of how widespread the problem is and helps to pinpoint the issue. If you haven't seen the bug yourself, best not to vote, since that reduces the validity of the count and the report database becomes a popularity contest rather than a legitimate indication of the bug's severity. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Fri Dec 18 17:08:27 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 18 Dec 2009 14:08:27 -0800 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 Message-ID: <4B2BFD5B.9020208@fourthworld.com> Wilhelm wrote: > What is really gained by hiding the tools palette when the script editor > comes up - and it seems to me to be not only a matter of preferences, > but a real bug, that the tools palette does not reappear when closing > the editor via the close icon? > > Both presently existing defaults are cases where the workflow is > needlessly interrupted, and could be taken as examples for needlessly > increasing the complexity of the Rev IDE. One man's lost productivity is another man's productivity gained. :) My custom script editor hides palettes when it opens a script because those palettes aren't used in scripting and just obscure the scripting window I'm now in. It never occurred to me to add a preference to that (though with only about half a dozen users right now it doesn't get much feedback ). I agree that things are best made into prefs when possible, but in this case there are two very different modes at play: most of Rev's tool palettes are used in layout tasks, but when scripting you're in a different space, both physically in terms of the windows and mentally in terms of what you're doing. So in my own editor I have all sorts of things useful for scripting, and everything for layout goes away. But of course once the script editor is closed or minimized, all those layout tools need to come back reliably. I just briefly tested Rev 4 and when I closed the script editor from the close box it brought back the tool palettes. I may have missed a step to reproduce that, and of course if you can post a reproducible recipe to the RQCC it should be fixed ASAP (it probably won't take long to do). But as for the preference, given the very different modes of scripting and layout I don't see a problem with having the default be to hide anything that might get in the way of scripting once the script editor has focus. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bvg at mac.com Fri Dec 18 17:58:07 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 18 Dec 2009 23:58:07 +0100 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <131275BB-3394-41ED-8370-B50F843A28B6@luceatlux.com> References: <1261100370964-974505.post@n4.nabble.com> <96DC48B4-8BAF-429F-9FB3-F4A8AA44A8FB@luceatlux.com> <4B2BB285.3050707@hyperactivesw.com> <131275BB-3394-41ED-8370-B50F843A28B6@luceatlux.com> Message-ID: It's not your job to make your bug voting habit the way runrev wants it to be. it's runrevs task to make the vote system work in a way that is useful to them. If the current system is not useful to them, then: a.) your votes are superfluous, as they ignore votes, or use them only in border cases, and you should vote for whatever you want (or not at all if that's your thing). b.) you should vote for things you want to vote for, because at least then the votes are useful to you c.) or they should change it to work as they intend, and until then, you can use it to vote on things you find important or maybe it does work as they want it to, in which case you should vote as you see fit ;) But then, maybe you shouldn't listen to strangers on the internet... On 18 Dec 2009, at 22:45, George C Brackett wrote: > Goodness. I apologize, since I haven't seen the bug myself. I'll un-vote if that's possible. I may have transgressed in the past, too. I guess I was voting on the question, "Is this an important bug to check out?" rather than "Is this a bug that's causing you fits and ought to be fixed?" Seems to me those might both be useful questions to be voted on. > > George > > On Dec 18, 2009, at 11:49 AM, J. Landman Gay wrote: > > George C Brackett wrote: >> Just voted. The absolute worst thing for a technology teacher is to >> have the technology fail in class! > > Have you experienced the problem yourself? The team would like only those people who actually have the problem to vote on it, and those people should also add a comment to the report giving more info about their own experience. That gives the team a good idea of how widespread the problem is and helps to pinpoint the issue. > > If you haven't seen the bug yourself, best not to vote, since that reduces the validity of the count and the report database becomes a popularity contest rather than a legitimate indication of the bug's severity. -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From scott at tactilemedia.com Fri Dec 18 18:12:43 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 18 Dec 2009 15:12:43 -0800 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: Message-ID: Recently, Bj?rnke von Gierke wrote: > It's not your job to make your bug voting habit the way runrev wants it to be. > it's runrevs task to make the vote system work in a way that is useful to > them. So wait, is this a vote FOR or AGAINST voting? :-) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From mwieder at ahsoftware.net Fri Dec 18 18:10:19 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 18 Dec 2009 15:10:19 -0800 Subject: Feeling a bit "NumToCharred"... In-Reply-To: <4B2BF5D0.4060605@gmail.com> References: <4B2BC2CC.3070001@gmail.com> <4B2BD51F.2070205@gmail.com> <6A8ABA91-D946-4869-A7F5-66BA70CB2F9A@economy-x-talk.com> <4B2BF5D0.4060605@gmail.com> Message-ID: <29796256000.20091218151019@ahsoftware.net> Richmond- Friday, December 18, 2009, 1:36:16 PM, you wrote: > I wasn't aware it might be a bug until Mark Weider pointed it out; I suppose whether or not it's a bug is a matter of POV, but to me the docs seem to more than imply that non-double-byte chars will be converted as part of the "set the unicodetext" process. Reporting an error would also be ok. Ignoring the "standard" xTalk catenation syntax seems like a bug. I'm happy to do the honors if nobody else wants it. -- -Mark Wieder mwieder at ahsoftware.net From mdswindell at cruzio.com Fri Dec 18 18:39:58 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 18 Dec 2009 15:39:58 -0800 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: References: Message-ID: I vote against voting for for, and I vote. On Dec 18, 2009, at 3:12 PM, Scott Rossi wrote: > Recently, Bj?rnke von Gierke wrote: > >> It's not your job to make your bug voting habit the way runrev wants it to be. >> it's runrevs task to make the vote system work in a way that is useful to >> them. > > So wait, is this a vote FOR or AGAINST voting? > > :-) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From josh at dvcreators.net Fri Dec 18 18:48:46 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 18 Dec 2009 15:48:46 -0800 Subject: Data Grid deployment question In-Reply-To: <39EF45AA-D80E-403A-9599-57157333D582@mangomultimedia.com> References: <6E4ABC90-C3FC-46FD-A74C-A6992525B929@leapingbrain.com> <3DC0BE10-1D4C-4813-A294-C42701E47322@mangomultimedia.com> <39EF45AA-D80E-403A-9599-57157333D582@mangomultimedia.com> Message-ID: <3ED776D7-76B6-4E28-B6E0-0217E49E9539@dvcreators.net> On Dec 17, 2009, at 1:19 PM, Trevor DeVore wrote: >>> >>> revDataGridLibrary is not a library stack. It just needs to be in memory. >> >> So, would one of these be better? >> >> go invisible stack "revdatagridlibrary.rev"? >> >> or just >> >> open stack "revdatagridlibrary.rev"? > > I prefer: > > put there is a stack "revdatagridlibrary.rev" into theStackIsNowInMemory > > This loads the stack without issuing any messages to it or opening it. Interesting... will Rev also find the stack if it's not a substack (as you suggested)? In this case we would need the local filepath I assume? > > >>> No. You need to load the stack in memory before your stack that has the data grid is opened in memory. At least that is what I've seen in my tests. >> >> It seems to be working now with "start using" in preOpenStack... are there any problems we should be looking out for in particular? Or is it as simple as the data grid just won't work? > > The Data Grid will not work. If you have everything working then you are good to go (just switch to loading the stack in memory rather than using it as a library). Thanks. So the difference (this question for anybody I guess) between 1. put there is a stack "revdatagridlibrary.rev" into theStackIsNowInMemory and 2. start using is that #1 doesn't open it so it's more memory-efficient? From lfredricks at proactive-intl.com Fri Dec 18 19:32:48 2009 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 18 Dec 2009 16:32:48 -0800 Subject: Special Reports Offering from Paradigma + Franklin 3D and Valentina DB Megabundle Codes Message-ID: For those who are waiting for the method to get Franklin 3D and Valentina DB for the Megabundle, check your mailbox (and spam walls) as detailed instructions were sent out to our updated list from Runtime. A few have bounced because of "I don't know you" filtering and we also got a few holiday out of offices - so if you are one who uses either of these, its worth logging into your email (from home of course). Paradigma Software is also running a special offer on Valentina Reports. Buy a new or upgrade license of Valentina DB, and get the corresponding Valentina Reports for free. The megabundle email covers several of the details, also here for everyone else: http://valentina-db.com/index.php/en/company/news/1-latest-news/226-valentin a-reports-free-in-december-2009 The best deal for Megabundle folks is to upgrade to ADK+, which gets you Valentina DB for Linux (Revolution), Valentina Reports (all three platforms) and a licensed copy of Valentina Studio Pro. It is normally a $600 step, but costs only $200. Yes, it also applies if you upgrade to VDN. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From zryip.theslug at gmail.com Fri Dec 18 19:50:21 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 19 Dec 2009 01:50:21 +0100 Subject: FW: BLOBs - from files to code to DB and back In-Reply-To: References: Message-ID: <64bda6470912181650l53c03d7cndd1e9ac0f41e9cae@mail.gmail.com> Hi Alex, To read the binary contents of a file into a variable you need some tricks 1) open the file into binary read 2) read the file to the end 3) endode it in base64 To update the dataBase 4) use the name of the variable which contains your file instead of the data itself You'll obtain something like this : answer file "Please select a file..." put it into lFileToRead -- Read the binary contents of a file into a variable open file lFileToRead for binary read read from file lFileToRead until end put base64Encode(it) into lBinaryFile close file lFileToRead put revOpenDatabase("mysql", "localhost", "myDB", "root", "") into lDBConnector put "INSERT INTO fileTable (title,myBlob) VALUES ('My blob',:1)" into lSQLQuery -- :1, :2, etc will be replace by the content of the respective variables passed to the revExecuteSQL command. i.e. the lBinaryFile variable. revExecuteSQL lDBConnector,lSQLQuery,"lBinaryFile" revCloseDatabase lDBConnector Now to read the blob in the database and to restore it in a file you need : 1) open file for binary write 2) decode the blob field put revOpenDatabase("mysql", "127.0.0.1", "myDB", "root", "") into lDBConnector put theID into lRecordID put "SELECT?myBlob?FROM?fileTable?WHERE id = :1" into lSQLQuery put revQueryDatabase(lDBConnector,lSQLQuery,"lRecordID") into lTheRecord put revDatabaseColumnNamed(lTheRecord,"myBlob") into lBinaryFile ask file "Extract file from the DB as..." put it into lFileToOpen open file lFileToOpen for binary write write base64decode(lBinaryFile) to file lFileToOpen close file lFileToOpen revCloseCursor lTheRecord revCloseDatabase lDBConnector In your database don't forget to choose the correct type for your blob field (at least mediumblob, I board longblob) Hope this helps. -Zryip TheSlug- which you the best ! 8) 2009/12/18 Alex Adams > > I need some guidance in accomplishing the following: > > - Read the binary contents of a file into a variable > - Put the variable into a database BLOB field and update the database > - Read from a database BLOB field into a variable > - Recreate the file on any OS > > I could diddle around with this for a while and come up with methods of > doing this, but a lot of you guys have more experience with rev than I do > and you?re probably better programmers to boot. > > All help is appreciated, > -- > Alex Adams > > hawkVision ? tools for solving Wicked Problems > > (a)2 Technology Partners, Inc. > 831-726-8013 > alex at a2tecnology.com > www.a2technology.com > www.promisstudio.com > universalconnector.wordpress.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at a2technology.com Fri Dec 18 20:18:49 2009 From: alex at a2technology.com (Alex Adams) Date: Fri, 18 Dec 2009 17:18:49 -0800 Subject: BLOBs - from files to code to DB and back In-Reply-To: <64bda6470912181650l53c03d7cndd1e9ac0f41e9cae@mail.gmail.com> Message-ID: Thank you very much. That seems clear and concise. I'll let you know how it comes out. -- Alex Adams hawkVision ? tools for solving Wicked Problems (a)2 Technology Partners, Inc. 831-726-8013 alex at a2tecnology.com www.a2technology.com www.promisstudio.com universalconnector.wordpress.com > From: zryip theSlug > Reply-To: How to use Revolution > Date: Sat, 19 Dec 2009 01:50:21 +0100 > To: How to use Revolution > Subject: Re: FW: BLOBs - from files to code to DB and back > > Hi Alex, > To read the binary contents of a file into a variable you need some tricks > 1) open the file into binary read > 2) read the file to the end > 3) endode it in base64 > To update the dataBase > 4) use the name of the variable which contains your file instead of > the data itself > You'll obtain something like this : > > answer file "Please select a file..." > put it into lFileToRead > > -- Read the binary contents of a file into a variable > open file lFileToRead for binary read > read from file lFileToRead until end > put base64Encode(it) into lBinaryFile > close file lFileToRead > put revOpenDatabase("mysql", "localhost", "myDB", "root", "") into > lDBConnector > put "INSERT INTO fileTable (title,myBlob) VALUES ('My blob',:1)" into > lSQLQuery -- :1, :2, etc will be replace by the content of the > respective variables passed to the revExecuteSQL command. i.e. the > lBinaryFile variable. > revExecuteSQL lDBConnector,lSQLQuery,"lBinaryFile" > revCloseDatabase lDBConnector > > > Now to read the blob in the database and to restore it in a file you need : > 1) open file for binary write > 2) decode the blob field > > put revOpenDatabase("mysql", "127.0.0.1", "myDB", "root", "") into > lDBConnector > put theID into lRecordID > put "SELECT?myBlob?FROM?fileTable?WHERE id = :1" into lSQLQuery > put revQueryDatabase(lDBConnector,lSQLQuery,"lRecordID") into lTheRecord > put revDatabaseColumnNamed(lTheRecord,"myBlob") into lBinaryFile > ask file "Extract file from the DB as..." > put it into lFileToOpen > open file lFileToOpen for binary write > write base64decode(lBinaryFile) to file lFileToOpen > close file lFileToOpen > revCloseCursor lTheRecord > revCloseDatabase lDBConnector > > In your database don't forget to choose the correct type for your blob > field (at least mediumblob, I board longblob) > > Hope this helps. > > -Zryip TheSlug- which you the best ! 8) > > 2009/12/18 Alex Adams >> >> I need some guidance in accomplishing the following: >> >> - Read the binary contents of a file into a variable >> - Put the variable into a database BLOB field and update the database >> - Read from a database BLOB field into a variable >> - Recreate the file on any OS >> >> I could diddle around with this for a while and come up with methods of >> doing this, but a lot of you guys have more experience with rev than I do >> and you?re probably better programmers to boot. >> >> All help is appreciated, >> -- >> Alex Adams >> >> hawkVision ? tools for solving Wicked Problems >> >> (a)2 Technology Partners, Inc. >> 831-726-8013 >> alex at a2tecnology.com >> www.a2technology.com >> www.promisstudio.com >> universalconnector.wordpress.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Fri Dec 18 23:08:16 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 18 Dec 2009 20:08:16 -0800 Subject: Run App from DMG? Message-ID: Hi List: Is it reasonable to have users run an app from a DMG volume on OS X, as opposed to copying the app to their drive? I have a colleague who wants to distribute an app in an easily launched compressed format. On Windows one can create a self-expanding ZIP that, when double-clicked, automatically decompresses and launches the contained EXE. I'm wondering if a DMG file could serve the same purpose on OS X. I assume the DMG volume is not writable, but I don't think it matters in this case since the files are a bunch of media (Flash movies, PDF, etc). Thanks for any advice here. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From stephenREVOLUTION2 at barncard.com Sat Dec 19 00:13:21 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 18 Dec 2009 21:13:21 -0800 Subject: custom slider control In-Reply-To: <4B2BE721.5070103@comcast.net> References: <4B2BE721.5070103@comcast.net> Message-ID: Marty, this is exactly what I needed. Very nicely done. thanks so much... sqb ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/18 Marty Knapp > You might check out my "Marty's Sliders" in RevOnline. > > Marty Knapp > >> This should be easy, but I'm having a bit of trouble wrapping my head >> around >> the clockworks for a simple custom vertical fader control. I want to >> change >> the look to a more life-like representation. Basic start, end and >> thumbposition properties, like the stock one. I mainly want to change the >> look of the knob. >> >> Anyone have a recipe ? The fake scrollbar examples have a lot of features >> I >> don't need, and are a bit complex to try and modify if one hasn't written >> it. >> >> >> Thanks in advance, >> sqb >> ------------------------- >> Stephen Barncard >> San Francisco >> http://houseofcubes.com/disco.irev >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From support at ahsomme.com Sat Dec 19 00:37:07 2009 From: support at ahsomme.com (Paul Looney) Date: Fri, 18 Dec 2009 21:37:07 -0800 Subject: Run App from DMG? In-Reply-To: References: Message-ID: Scott, I don't know about running an app from a DMG but I regularly use them for data I read AND write. So it should work for your purposes. Paul Looney On Dec 18, 2009, at 8:08 PM, Scott Rossi wrote: > Hi List: > > Is it reasonable to have users run an app from a DMG volume on OS > X, as > opposed to copying the app to their drive? > > I have a colleague who wants to distribute an app in an easily > launched > compressed format. On Windows one can create a self-expanding ZIP > that, > when double-clicked, automatically decompresses and launches the > contained > EXE. I'm wondering if a DMG file could serve the same purpose on > OS X. I > assume the DMG volume is not writable, but I don't think it matters > in this > case since the files are a bunch of media (Flash movies, PDF, etc). > > Thanks for any advice here. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From martyknapp at comcast.net Sat Dec 19 00:42:32 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Fri, 18 Dec 2009 21:42:32 -0800 Subject: custom slider control In-Reply-To: References: <4B2BE721.5070103@comcast.net> Message-ID: <4B2C67C8.6050004@comcast.net> Hey Stephen - you're welcome, glad it worked out for you. Marty > Marty, this is exactly what I needed. Very nicely done. thanks so much... > > sqb > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > > > 2009/12/18 Marty Knapp > > >> You might check out my "Marty's Sliders" in RevOnline. >> >> Marty Knapp From sims at ezpzapps.com Sat Dec 19 00:48:18 2009 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 19 Dec 2009 06:48:18 +0100 Subject: Run App from DMG? In-Reply-To: References: Message-ID: On Dec 19, 2009, at 5:08 AM, Scott Rossi wrote: > I > assume the DMG volume is not writable I use dropDMG for putting together DMGs, adding background images to the DMG folder, EULA text, etc. You can set the DMG as writable or non as you use dropDMG. First I put it togther as writable and add a bg image etc and then re-save (re- do?) as non-writable for the finished DMG. Took me a while to figure out the interface btw, some bits seem not very well explained but your mileage may vary when using it. dropDMG is quite useful sims From mdswindell at cruzio.com Sat Dec 19 01:19:06 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 18 Dec 2009 22:19:06 -0800 Subject: Move to the points of an oval? Message-ID: Is it possible to move an object along the points of an oval? If not, is it possible to copy an exact oval with the curve tool (and move along that)? Thanks Mark From jacque at hyperactivesw.com Sat Dec 19 01:36:06 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Dec 2009 00:36:06 -0600 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <131275BB-3394-41ED-8370-B50F843A28B6@luceatlux.com> References: <1261100370964-974505.post@n4.nabble.com> <96DC48B4-8BAF-429F-9FB3-F4A8AA44A8FB@luceatlux.com> <4B2BB285.3050707@hyperactivesw.com> <131275BB-3394-41ED-8370-B50F843A28B6@luceatlux.com> Message-ID: <4B2C7456.8070104@hyperactivesw.com> George C Brackett wrote: > Goodness. I apologize, since I haven't seen the bug myself. I'll > un-vote if that's possible. I may have transgressed in the past, too. Nah, I wouldn't worry about it. And I apologize for sounding harsh. When I wrote, the voice in my head sounded so matter of fact. And then when I saw it quoted back at me, it read like an irritated criticism. I hate when that happens. I didn't mean it that way, honest. The Drongo -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 19 01:41:16 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Dec 2009 00:41:16 -0600 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <4B2BF4FC.7010104@hrz.uni-kassel.de> References: <4B2BF4FC.7010104@hrz.uni-kassel.de> Message-ID: <4B2C758C.4050903@hyperactivesw.com> Wilhelm Sanke wrote: > What is really gained by hiding the tools palette when the script editor > comes up - and it seems to me to be not only a matter of preferences, > but a real bug, that the tools palette does not reappear when closing > the editor via the close icon? Mostly it gains space on the monitor, which is useful for those working on laptops. But that preference is always the first thing I turn off, since I work mostly on a larger screen. The palettes are supposed to come back when the script editor loses focus. If that doesn't happen, then it's a bug. I just tried it though, and they seem to come back okay for me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 19 01:54:16 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Dec 2009 00:54:16 -0600 Subject: Run App from DMG? In-Reply-To: References: Message-ID: <4B2C7898.3040005@hyperactivesw.com> Scott Rossi wrote: > I'm wondering if a DMG file could serve the same purpose on OS X. I > assume the DMG volume is not writable, but I don't think it matters in this > case since the files are a bunch of media (Flash movies, PDF, etc). A client of mine has customers who don't know any better, and run his app all the time from the .dmg. So I guess it works okay, even though we didn't intend it to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sat Dec 19 03:53:35 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 19 Dec 2009 10:53:35 +0200 Subject: Feeling a bit "NumToCharred"... In-Reply-To: <29796256000.20091218151019@ahsoftware.net> References: <4B2BC2CC.3070001@gmail.com> <4B2BD51F.2070205@gmail.com> <6A8ABA91-D946-4869-A7F5-66BA70CB2F9A@economy-x-talk.com> <4B2BF5D0.4060605@gmail.com> <29796256000.20091218151019@ahsoftware.net> Message-ID: <4B2C948F.80205@gmail.com> On 19/12/2009 01:10, Mark Wieder wrote: > Richmond- > > Friday, December 18, 2009, 1:36:16 PM, you wrote: > > >> I wasn't aware it might be a bug until Mark Weider pointed it out; >> > I suppose whether or not it's a bug is a matter of POV, but to me > the docs seem to more than imply that non-double-byte chars will be > converted as part of the "set the unicodetext" process. Reporting an > error would also be ok. Ignoring the "standard" xTalk catenation > syntax seems like a bug. I'm happy to do the honors if nobody else > wants it. > > I would be most grateful if you could do that. From scott at tactilemedia.com Sat Dec 19 04:07:46 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 19 Dec 2009 01:07:46 -0800 Subject: Move to the points of an oval? In-Reply-To: Message-ID: Recently, Mark Swindell wrote: > Is it possible to move an object along the points of an oval? > > If not, is it possible to copy an exact oval with the curve tool (and move > along that)? Mark, the following stack doesn't use a physical oval graphic, but moves an object around an oval-shaped path, which you can define -- maybe it will work for you. In your message box: go url "http://www.tactilemedia.com/download/circler.rev" Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From sanke at hrz.uni-kassel.de Sat Dec 19 05:23:58 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat, 19 Dec 2009 11:23:58 +0100 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 Message-ID: <4B2CA9BE.2020106@hrz.uni-kassel.de> On Fri, 18 Dec 2009, Richard Gaskin wrote: > Wilhelm wrote: > > > What is really gained by hiding the tools palette when the script > editor > > > comes up - and it seems to me to be not only a matter of preferences, > > > but a real bug, that the tools palette does not reappear when closing > > > the editor via the close icon? > > > > > > Both presently existing defaults are cases where the workflow is > > > needlessly interrupted, and could be taken as examples for needlessly > > > increasing the complexity of the Rev IDE. > > One man's lost productivity is another man's productivity gained. :) This may apply in cases, but probably not generally. > My custom script editor hides palettes when it opens a script because > those palettes aren't used in scripting and just obscure the scripting > window I'm now in. On my medium-sized screen there is ample room besides the Rev tools stack to accommodate two open script editor windows side by side, so there is really no need to hide the tools stack in the default preferences settings. Instead of hiding the tools palette, a better way to deal with this issue (in those rare cases where a visible tools palette could be considered as obstructive) would be to set the systemwindow property of the tools stack to false, which would enable the script editor window to be placed on a layer above the tools palette. > But of course once the script editor is closed or minimized, all those > layout tools need to come back reliably. As Alejandro Tejado has stated when he started this thread, this is apparently not the case, those layout tools *need* to, but actually do not come back reliably > I just briefly tested Rev 4 and when I closed the script editor from the > close box it brought back the tool palettes. I may have missed a step > to reproduce that, and of course if you can post a reproducible recipe > to the RQCC it should be fixed ASAP (it probably won't take long to do). > -- > Richard Gaskin I had indicated the reproducible steps in my post of Dec 15 (thread "Rev IDE vs MetaCard IDE" ): "- If you edit a script and close the editor with the close icon - instead of the compile button - the tools palette (which disappears when you open the script editor) will not re-appear.", i.e. after you have made a change to the script and then do *not* use the "compile" button, but the close box instead.-- I still think the default preference settings for using the script editor should be exactly the other way round: Leaving the palettes in their place and allowing multiple open script windows. Best regards, Wilhelm Sanke From lan.kc.macmail at gmail.com Sat Dec 19 06:34:45 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 19 Dec 2009 19:34:45 +0800 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <4B2CA9BE.2020106@hrz.uni-kassel.de> References: <4B2CA9BE.2020106@hrz.uni-kassel.de> Message-ID: On Sat, Dec 19, 2009 at 6:23 PM, Wilhelm Sanke wrote: > I had indicated the reproducible steps in my post of Dec 15 (thread "Rev > IDE vs MetaCard IDE" ): > > "- If you edit a script and close the editor with the close icon - instead > of the compile button - the tools palette (which disappears when you open > the script editor) will not re-appear.", > > i.e. after you have made a change to the script and then do *not* use the > "compile" button, but the close box instead.-- > > I still think the default preference settings for using the script editor > should be exactly the other way round: Leaving the palettes in their place > and allowing multiple open script windows. > > > Whilst it's nice of you to post that info here, I hope you have included it in a post to the RQCC, maybe as a comment to Alejandro's #8500 bug. Will be fixed much quicker that way. From sanke at hrz.uni-kassel.de Sat Dec 19 06:53:55 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat, 19 Dec 2009 12:53:55 +0100 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 Message-ID: <4B2CBED3.6090901@hrz.uni-kassel.de> Kay C Lan lan.kc.macmail at gmail.com wrote: > > "- If you edit a script and close the editor with the close icon - > instead > > of the compile button - the tools palette (which disappears when you > open > > the script editor) will not re-appear.", > > > > i.e. after you have made a change to the script and then do *not* > use the > > "compile" button, but the close box instead.-- > > > > I still think the default preference settings for using the script > editor > > should be exactly the other way round: Leaving the palettes in their > place > > and allowing multiple open script windows. > > > > > Whilst it's nice of you to post that info here, I hope you have > included it > in a post to the RQCC, maybe as a comment to Alejandro's #8500 bug. > Will be > fixed much quicker that way. Done. Regards, Wilhelm Sanke From wow at together.net Sat Dec 19 07:56:51 2009 From: wow at together.net (Richard Miller) Date: Sat, 19 Dec 2009 07:56:51 -0500 Subject: Any chance a Rev app or revlet could run on this? In-Reply-To: References: Message-ID: <4B2CCD93.8020909@together.net> I realize the answer to this is probably, "not anytime soon", but I can be hopeful: http://www.slashgear.com/notion-ink-tegra-android-smartpad-uses-pixel-qi-display-1866308/ Thanks. Richard Miller From lan.kc.macmail at gmail.com Sat Dec 19 08:13:01 2009 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 19 Dec 2009 21:13:01 +0800 Subject: [OT] Politically Incorrect - Sorry List Mum Message-ID: Gentle folk, The donkey's packed and it's time to leave for Bethlehem to be taxed. Actually I paid my taxes the day before yesterday, we're headed to a place just north of Eden and the donkey's branded Toyota. The thing is that this is the last internet I'll have until the New Year so before I become Listless I'd just like to take this opportunity to wish you all the very best for Christmas and the most Revolutionary New Year. To those who are neither Christian or celebrate the New Year based on the Gregorian calendar, my wishes extend to you as well as I would hope the world would become more like this List, blind to race, creed, sex, religion, political bent or whacky opinion. Thanks to all those who've been so patient to answer my mundane questions, to gentle point me in the correct direction when I've strayed a little off track, and politely allowed me to throw what little I know into the ring when I've plucked up the courage to mix it with a few of the real experts on this List. Until 2010, to you and your families, the best of health, the best of times, be your best for them, KCL PS. Sorry List Mum, I guess I'm not suppose to mention religion on this List but I just LOVE CHRISTMAS TIME :-) From jacques.hausser at unil.ch Sat Dec 19 08:38:51 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sat, 19 Dec 2009 14:38:51 +0100 Subject: Move to the points of an oval? In-Reply-To: References: Message-ID: <05DE8F9D-A888-4297-957D-2D3736325809@unil.ch> Le 19 d?c. 2009 ? 07:19, Mark Swindell a ?crit : > Is it possible to move an object along the points of an oval? > > If not, is it possible to copy an exact oval with the curve tool (and move along that)? > Hi Mark a suggestion: command Orbite theObject ax,bx,centerX,centerY -- theObject: long name of the object to be rotated (so you can use any kind of object) -- ax,bx: half length of the horizontal and the vertical axes of the orbite (if equal, the move will be circular) -- centerX,centerY: center of rotation repeat forever if the mouse is down then exit repeat -- or any other exit test repeat with i = 0 to 90 put round(ax*sin(4*i*pi/180))+centerx, round(bx*cos(4*i*pi/180)) + centery into laloc set the loc of theobject to laloc wait 5 millisecond -- can be tuned for speed and softness of the move end repeat end repeat end Orbite Could be improved, for example with the definition of a starting point. If left as it is, the starting point will always be the bottom point of the orbit. Jacques ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From jacques.hausser at unil.ch Sat Dec 19 08:53:26 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sat, 19 Dec 2009 14:53:26 +0100 Subject: [OT] Politically Incorrect - Sorry List Mum In-Reply-To: References: Message-ID: <983FF59C-8FD4-45A2-990D-71CDAB7D37AE@unil.ch> Kay wrote, far better as I could do, exactly what I feel for List Mum and family. I hope he'll allow me to join my wishes to every of you Jacques PS: I really love chrismas time too, even if my liver somewhat disagree... Le 19 d?c. 2009 ? 14:13, Kay C Lan a ?crit : > Gentle folk, > > The donkey's packed and it's time to leave for Bethlehem to be taxed. > > Actually I paid my taxes the day before yesterday, we're headed to a place > just north of Eden and the donkey's branded Toyota. > > The thing is that this is the last internet I'll have until the New Year so > before I become Listless I'd just like to take this opportunity to wish you > all the very best for Christmas and the most Revolutionary New Year. > > To those who are neither Christian or celebrate the New Year based on the > Gregorian calendar, my wishes extend to you as well as I would hope the > world would become more like this List, blind to race, creed, sex, religion, > political bent or whacky opinion. > > Thanks to all those who've been so patient to answer my mundane questions, > to gentle point me in the correct direction when I've strayed a little off > track, and politely allowed me to throw what little I know into the ring > when I've plucked up the courage to mix it with a few of the real experts on > this List. > > Until 2010, to you and your families, the best of health, the best of times, > be your best for them, > > KCL > PS. Sorry List Mum, I guess I'm not suppose to mention religion on this List > but I just LOVE CHRISTMAS TIME :-) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From revolution at derbrill.de Sat Dec 19 09:49:10 2009 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Sat, 19 Dec 2009 15:49:10 +0100 Subject: datagrids in revLets on Win (Vista / 7) In-Reply-To: <20091219054826.D74FD2881EE@mail.runrev.com> References: <20091219054826.D74FD2881EE@mail.runrev.com> Message-ID: <659B545E-F440-4DC8-A44E-30972E4EE321@derbrill.de> Thanks a heap Trevor! Will patch the lib I guess. Phil: That is also my experience. Auto detection does not seem the most reliable thing on the planet. All the best, Malte From richmondmathewson at gmail.com Sat Dec 19 10:13:07 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 19 Dec 2009 17:13:07 +0200 Subject: [OT] Politically Incorrect - Sorry List Mum In-Reply-To: References: Message-ID: <4B2CED83.8090605@gmail.com> On 19/12/2009 15:13, Kay C Lan wrote: > Gentle folk, > > The donkey's packed and it's time to leave for Bethlehem to be taxed. > > Actually I paid my taxes the day before yesterday, we're headed to a place > just north of Eden and the donkey's branded Toyota. > > The thing is that this is the last internet I'll have until the New Year so > before I become Listless I'd just like to take this opportunity to wish you > all the very best for Christmas and the most Revolutionary New Year. > > To those who are neither Christian or celebrate the New Year based on the > Gregorian calendar, my wishes extend to you as well as I would hope the > world would become more like this List, blind to race, creed, sex, religion, > political bent or whacky opinion. > > Thanks to all those who've been so patient to answer my mundane questions, > to gentle point me in the correct direction when I've strayed a little off > track, and politely allowed me to throw what little I know into the ring > when I've plucked up the courage to mix it with a few of the real experts on > this List. > > Until 2010, to you and your families, the best of health, the best of times, > be your best for them, > > KCL > PS. Sorry List Mum, I guess I'm not suppose to mention religion on this List > but I just LOVE CHRISTMAS TIME :-) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > That doesn't strike me as offensively religious; quite the reverse in fact; after all, if we would just take the time to strip away the all-too-human accretions of our respective religions we would find that all of them would have absolutely no problem with Kay's message: "my wishes extend to you as well as I would hope the world would become more like this List, blind to race, creed, sex, religion, political bent or whacky opinion." I would like to echo those sentiments exactly. sincerely, Richmond Mathewson. From bvlahos at mac.com Sat Dec 19 10:16:30 2009 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 19 Dec 2009 07:16:30 -0800 Subject: Run App from DMG? In-Reply-To: References: Message-ID: <20FCBAEB-98A1-4763-8ECA-DA75B1BBEA9D@mac.com> Yes. It is perfectly fine to run from a DMG although it would be a 2 step process. 1. Double-click the DMG file to open it and 2. Double-click the application icon. It will be read-only. Your users will be left with the open DMG image which looks like a drive volume that they will have to "Eject" when they are done. Bill On Dec 18, 2009, at 8:08 PM, Scott Rossi wrote: > Hi List: > > Is it reasonable to have users run an app from a DMG volume on OS X, as > opposed to copying the app to their drive? > > I have a colleague who wants to distribute an app in an easily launched > compressed format. On Windows one can create a self-expanding ZIP that, > when double-clicked, automatically decompresses and launches the contained > EXE. I'm wondering if a DMG file could serve the same purpose on OS X. I > assume the DMG volume is not writable, but I don't think it matters in this > case since the files are a bunch of media (Flash movies, PDF, etc). > > Thanks for any advice here. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rene.micout at numericable.com Sat Dec 19 10:59:46 2009 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 19 Dec 2009 16:59:46 +0100 Subject: [OT] Politically Incorrect - Sorry List Mum In-Reply-To: References: Message-ID: <116C0EE2-A87C-4A79-B286-A16B7F9BA279@numericable.com> Je souhaite ? tous de bonnes f?tes de No?l et une bonne et heureuse nouvelle ann?e ! In english (shortly) : I wish you a merry chrismas ans a happy new year ! Ren? de Paris Le 19 d?c. 2009 ? 14:13, Kay C Lan a ?crit : > Gentle folk, > > The donkey's packed and it's time to leave for Bethlehem to be taxed. > > Actually I paid my taxes the day before yesterday, we're headed to a place > just north of Eden and the donkey's branded Toyota. > > The thing is that this is the last internet I'll have until the New Year so > before I become Listless I'd just like to take this opportunity to wish you > all the very best for Christmas and the most Revolutionary New Year. > > To those who are neither Christian or celebrate the New Year based on the > Gregorian calendar, my wishes extend to you as well as I would hope the > world would become more like this List, blind to race, creed, sex, religion, > political bent or whacky opinion. > > Thanks to all those who've been so patient to answer my mundane questions, > to gentle point me in the correct direction when I've strayed a little off > track, and politely allowed me to throw what little I know into the ring > when I've plucked up the courage to mix it with a few of the real experts on > this List. > > Until 2010, to you and your families, the best of health, the best of times, > be your best for them, > > KCL > PS. Sorry List Mum, I guess I'm not suppose to mention religion on this List > but I just LOVE CHRISTMAS TIME :-) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From yvescoppe at skynet.be Sat Dec 19 11:07:20 2009 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 19 Dec 2009 17:07:20 +0100 Subject: [OT] Politically Incorrect - Sorry List Mum In-Reply-To: <116C0EE2-A87C-4A79-B286-A16B7F9BA279@numericable.com> References: <116C0EE2-A87C-4A79-B286-A16B7F9BA279@numericable.com> Message-ID: <84B73557-9EFF-46B3-88F7-9E5F5B00BD57@skynet.be> Le 19-d?c.-09 ? 16:59, Ren? Micout a ?crit : > Je souhaite ? tous de bonnes f?tes de No?l et une bonne et heureuse > nouvelle ann?e ! > In english (shortly) : I wish you a merry chrismas ans a happy new > year ! > Ren? de Paris > Hi, Ren? Bonjour de Belgique ! Merci de tes voeux et bonnes f?tes de fin d'ann?e ! Amicalement. Yves COPPE yvescoppe at skynet.be From mwieder at ahsoftware.net Sat Dec 19 11:58:48 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 19 Dec 2009 08:58:48 -0800 Subject: Feeling a bit "NumToCharred"... In-Reply-To: <4B2C948F.80205@gmail.com> References: <4B2BC2CC.3070001@gmail.com> <4B2BD51F.2070205@gmail.com> <6A8ABA91-D946-4869-A7F5-66BA70CB2F9A@economy-x-talk.com> <4B2BF5D0.4060605@gmail.com> <29796256000.20091218151019@ahsoftware.net> <4B2C948F.80205@gmail.com> Message-ID: <57860364937.20091219085848@ahsoftware.net> Richmond- Right, then. It's BZ #8504. -- -Mark Wieder mwieder at ahsoftware.net From rene.micout at numericable.com Sat Dec 19 12:40:59 2009 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 19 Dec 2009 18:40:59 +0100 Subject: Horizontal slider, is it a bug ? Message-ID: <30DAACE1-D26F-4F14-9DB6-EFF412A29195@numericable.com> Hello, RunRev 4.0, Mac OS X 10.6.2 I create an hozirontal slider with the tools palette. Start value = 1 End value = 32 I have 33 marks of value (the good word ?) Is it a bug ? Bons souvenirs de Paris Ren? From jacque at hyperactivesw.com Sat Dec 19 13:30:42 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Dec 2009 12:30:42 -0600 Subject: [OT] Politically Incorrect - Sorry List Mum In-Reply-To: References: Message-ID: <4B2D1BD2.3080707@hyperactivesw.com> Kay C Lan wrote: > I would hope the > world would become more like this List, blind to race, creed, sex, religion, > political bent or whacky opinion. This is so well said. I add my best wishes to everyone on this list. It's so much like home here and I'm so fond of you all. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Dec 19 13:41:42 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 19 Dec 2009 10:41:42 -0800 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 Message-ID: <4B2D1E66.6060403@fourthworld.com> Wilhelm wrote: > On my medium-sized screen there is ample room besides the Rev tools > stack to accommodate two open script editor windows side by side, so > there is really no need to hide the tools stack in the default > preferences settings. At the heart of this issue is the question: What would one expect to do with layout tools while in a script editor? That an IDE would dynamically provide progressive disclosure of features specific to the task at hand isn't a bad thing, IMO. But most importantly, as you noted, if it does it must do so reliably. I appreciate your contribution to the RQCC on this. If I used Rev's script editor I'd toss a few votes toward it, but alas my 100 votes are allocated to things I need in my own workflow. Just the same, this type of reliability is so important (scripting being as central to the user experience in Rev as it is), I would encourage anyone affected by this to consider adding a vote for it. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From jhurley0305 at sbcglobal.net Sat Dec 19 14:50:35 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sat, 19 Dec 2009 11:50:35 -0800 Subject: Move to the points of an oval? In-Reply-To: <20091219180005.76309288121@mail.runrev.com> References: <20091219180005.76309288121@mail.runrev.com> Message-ID: <51541C18-289B-4BFC-846A-2BCA55CF7548@sbcglobal.net> > > Message: 1 > Date: Fri, 18 Dec 2009 22:19:06 -0800 > From: Mark Swindell > Subject: Move to the points of an oval? > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=us-ascii > > Is it possible to move an object along the points of an oval? > > If not, is it possible to copy an exact oval with the curve tool > (and move along that)? > > Thanks > Mark > > ------------------------------ Mark, Here is a stack I was playing around with some time ago. It moves things (arrows, line segments, footballs) along circles, ellipses, and bezier lines. Run this line in the message box: go url "http://www.jamesphurley.on-rev.com/OffOnAtangent.rev " Jim Hurley From jerry.daniels at me.com Sat Dec 19 16:05:35 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Sat, 19 Dec 2009 15:05:35 -0600 Subject: [ANN] Poll for tRev users Message-ID: tRev users, We have an interesting poll you can take. It regards the option (alt) inspection feature and its keyboard activation sequence. http://reveditor.com/trev-users-who-use-option-alt-key-inspection Cast your votes, now! Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-lotsa-stuff-plus-easter-egg-al From zryip.theslug at gmail.com Sat Dec 19 17:40:16 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 19 Dec 2009 23:40:16 +0100 Subject: Blank Page printed with RevPrintField command In-Reply-To: <7EB1B74C-E06D-480D-9A34-D5635919A258@VirginBroadband.com.au> References: <7EB1B74C-E06D-480D-9A34-D5635919A258@VirginBroadband.com.au> Message-ID: <64bda6470912191440l32ffcc98vf95cc6dc503691c6@mail.gmail.com> Hi Brent, The blank result means that RR did detected any problem. So you need to isolate the problem by testing different possibility. If necessary send the results of your tests in a dialog box and then rebuild your application for windows. - It is possible that the field is not found: test the existence of the field "Results" - It is possible that your printing is done in white. Test the font color printing. Fix the color to black before printing - This could be a font not existing in windows. Verify that the font used in your field exists in your Windows configuration. - Check the font size when printing under windows. May be your font is to small or to big. - Try to print with another printer or with a pdf driver (like pdf creator). Maybe it's a problem with the printer or with its driver. I am not yet familiar with the RR impressions. Just a few ideas;) -Zryip TheSlug- wish you the best ! 8) 2009/12/17 Brent Summerton <___BG___ at virginbroadband.com.au>: > Using a Mac 10.6.2 ?RevPrintField function prints page within application being design all okay - but not when exported as a standalone application and used on a PC running Vista. ?It is only printing a BLANK page then. > > My Script is: > On Mouseup > RevShowPrintDialog true, false > RevPrintField the long id of field "Results" > End Mouseup > > I am using the $500 Enterprise 4.0.0 Edition. ?When instructed to placed the "answer the result" after the printing commands - It returns a blank dialogue box which does little to help make the cause of error clear. ?By the way.... ?I have checked under General that the print feature is selected to export with standalone windows application. > > Is there any format to the field that I should be aware of? Locked/ Unlocked/ Disabled, Font? Is this a glitch when designing on Mac, exporting to Windows standalone? From mickclns at mac.com Sat Dec 19 18:09:55 2009 From: mickclns at mac.com (Mick Collins) Date: Sat, 19 Dec 2009 18:09:55 -0500 Subject: Move to the points of an (tilted) oval? Message-ID: <1675A804-49C0-431E-A350-F63DE771A2BC@mac.com> Here is a modification of Jacques Hausser's handler to allow an oval (ellipse) tilted by thetaDeg degrees and repeating once or many times (or 4000000000 for forever, around 125 years if you wanna get picky) on dotest put 30 into stepSize repeat with i = 0 to 360 step stepSize Orbite the long name of grc "laGrc", 130, 40, 250, 250, i, 1 end repeat end dotest command Orbite theObject, ax,bx,centerX,centerY,thetaDeg,nRepeat -- theObject: long name of the object to be rotated (so you can use any kind of object) -- ax,bx: half length of the horizontal and the vertical axes of the orbite (if equal, the move will be circular) -- centerX,centerY: center of rotation put thetaDeg *pi/180 into thetaRad put cos(thetaRad) into cosT put sin(thetaRad) into sinT repeat nRepeat times if the mouse is down then exit repeat -- or any other exit test repeat with i = 0 to 90 put round(ax*cos(4*i*pi/180)*cosT-bx*sin(4*i*pi/180)*sinT) +centerx, round(bx*sin(4*i*pi/180)*cosT+ax*cos(4*i*pi/180)*sinT) + centery into laloc set the loc of theobject to laloc wait 5 millisecond -- can be tuned for speed and softness of the move end repeat end repeat end Orbite From stephenREVOLUTION2 at barncard.com Sat Dec 19 18:15:41 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 19 Dec 2009 15:15:41 -0800 Subject: [ANN] Poll for tRev users In-Reply-To: References: Message-ID: clever enterprise, the web based polling system ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/19 Jerry Daniels > tRev users, > > We have an interesting poll you can take. It regards the option (alt) > inspection feature and its keyboard activation sequence. > > http://reveditor.com/trev-users-who-use-option-alt-key-inspection > > Cast your votes, now! > > Best, > > Jerry Daniels > > The latest Rev Editor Video: > http://reveditor.com/feature-friday-lotsa-stuff-plus-easter-egg-al > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jhurley0305 at sbcglobal.net Sat Dec 19 18:20:02 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sat, 19 Dec 2009 15:20:02 -0800 Subject: EASY way to add n days to a date? In-Reply-To: <20091219180005.76309288121@mail.runrev.com> References: <20091219180005.76309288121@mail.runrev.com> Message-ID: <22263A85-EFEC-49DB-8762-89F5C6487E0F@sbcglobal.net> In FileMaker it is possible to add n (an integer) to a date to get a new date n days hence. Is there an EASY way to do this in Rev? (I don't mean setting the idemdel to "/" and fussing with the day/month/year digits.) Jim Hurley From jacques.hausser at unil.ch Sat Dec 19 18:35:46 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sun, 20 Dec 2009 00:35:46 +0100 Subject: EASY way to add n days to a date? In-Reply-To: <22263A85-EFEC-49DB-8762-89F5C6487E0F@sbcglobal.net> References: <20091219180005.76309288121@mail.runrev.com> <22263A85-EFEC-49DB-8762-89F5C6487E0F@sbcglobal.net> Message-ID: <4E846685-55A3-492C-B4B4-88DDE278E732@unil.ch> Le 20 d?c. 2009 ? 00:20, James Hurley a ?crit : > In FileMaker it is possible to add n (an integer) to a date to get a new date n days hence. > > Is there an EASY way to do this in Rev? (I don't mean setting the idemdel to "/" and fussing with the day/month/year digits.) > Something like: function addDays mydate,ndays convert mydate [from short system date] to seconds add ndays * 86400 to mydate convert mydate from seconds to [short, abbreviated...] system date return mydate end addDays Jacques ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From jacques.hausser at unil.ch Sat Dec 19 18:44:05 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sun, 20 Dec 2009 00:44:05 +0100 Subject: EASY way to add n days to a date? In-Reply-To: <4E846685-55A3-492C-B4B4-88DDE278E732@unil.ch> References: <20091219180005.76309288121@mail.runrev.com> <22263A85-EFEC-49DB-8762-89F5C6487E0F@sbcglobal.net> <4E846685-55A3-492C-B4B4-88DDE278E732@unil.ch> Message-ID: Jim Afterthough: for details about options, look at "convert" and "date" in the dictionary ! Jacques Le 20 d?c. 2009 ? 00:35, Jacques Hausser a ?crit : > > Le 20 d?c. 2009 ? 00:20, James Hurley a ?crit : > >> In FileMaker it is possible to add n (an integer) to a date to get a new date n days hence. >> >> Is there an EASY way to do this in Rev? (I don't mean setting the idemdel to "/" and fussing with the day/month/year digits.) >> > > > Something like: > > function addDays mydate,ndays > convert mydate [from short system date] to seconds > add ndays * 86400 to mydate > convert mydate from seconds to [short, abbreviated...] system date > return mydate > end addDays > > Jacques > > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel/fax: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.hausser at unil.ch > ******************************************* > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From martyknapp at comcast.net Sat Dec 19 18:52:39 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 19 Dec 2009 15:52:39 -0800 Subject: EASY way to add n days to a date? In-Reply-To: <22263A85-EFEC-49DB-8762-89F5C6487E0F@sbcglobal.net> References: <20091219180005.76309288121@mail.runrev.com> <22263A85-EFEC-49DB-8762-89F5C6487E0F@sbcglobal.net> Message-ID: <4B2D6747.8090007@comcast.net> You can convert your date to dateItems. Then alter item 3 (day of the month) by adding to it, then convert back to whatever date format you want. Marty Knapp > In FileMaker it is possible to add n (an integer) to a date to get a > new date n days hence. > > Is there an EASY way to do this in Rev? (I don't mean setting the > idemdel to "/" and fussing with the day/month/year digits.) > > Jim Hurley From jacque at hyperactivesw.com Sat Dec 19 18:56:34 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Dec 2009 17:56:34 -0600 Subject: EASY way to add n days to a date? In-Reply-To: <22263A85-EFEC-49DB-8762-89F5C6487E0F@sbcglobal.net> References: <20091219180005.76309288121@mail.runrev.com> <22263A85-EFEC-49DB-8762-89F5C6487E0F@sbcglobal.net> Message-ID: <4B2D6832.50406@hyperactivesw.com> James Hurley wrote: > In FileMaker it is possible to add n (an integer) to a date to get a new > date n days hence. > > Is there an EASY way to do this in Rev? (I don't mean setting the > idemdel to "/" and fussing with the day/month/year digits.) convert tDate to dateitems add numDays to item 3 of tDate convert tDate to short date -- or other format The nice thing about the convert command is that you can add any number of days and it will figure out the right date anyway, changing the month and/or year as necessary. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jimaultwins at yahoo.com Sat Dec 19 19:14:54 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 19 Dec 2009 16:14:54 -0800 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <4B2D1E66.6060403@fourthworld.com> References: <4B2D1E66.6060403@fourthworld.com> Message-ID: <35C76332-0E69-40EF-B1CD-ACD57BACFAAF@yahoo.com> > Wilhelm wrote: >> On my medium-sized screen there is ample room besides the Rev tools >> stack to accommodate two open script editor windows side by side, so >> there is really no need to hide the tools stack in the default >> preferences settings. I use the Rev 3.5 IDE editor for my development (single pane, multi- tabbed) Most all of my programming is scripting (and not layout or GUI work), so I only need the tool bar on rare occasions. I prefer it to hide when the script editor is open, but always show the message box. (as a debugging tool) The option of individual script editor windows would be *very* nice, as would split pane controls. My answer to this is to paste the handler(s) into BBEdit, make changes, then paste back into Rev. This also helps when editing scripts that are on different computers that need to communicate with each other. Jim Ault Las Vegas From jacque at hyperactivesw.com Sat Dec 19 19:32:32 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 19 Dec 2009 18:32:32 -0600 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <35C76332-0E69-40EF-B1CD-ACD57BACFAAF@yahoo.com> References: <4B2D1E66.6060403@fourthworld.com> <35C76332-0E69-40EF-B1CD-ACD57BACFAAF@yahoo.com> Message-ID: <4B2D70A0.7030008@hyperactivesw.com> Jim Ault wrote: > The option of individual script editor windows would be *very* nice, This is a prefs setting too. Change it in the Script Editor pane and new editor windows will open for each script. You can also right-click on any tab in the editor to move that script to its own window. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From zryip.theslug at gmail.com Sat Dec 19 19:40:12 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 20 Dec 2009 01:40:12 +0100 Subject: EASY way to add n days to a date? In-Reply-To: <4B2D6832.50406@hyperactivesw.com> References: <20091219180005.76309288121@mail.runrev.com> <22263A85-EFEC-49DB-8762-89F5C6487E0F@sbcglobal.net> <4B2D6832.50406@hyperactivesw.com> Message-ID: <64bda6470912191640s34e37070p17ebae8b99181a70@mail.gmail.com> A conversion function really handy! Not totally in the subject: An easy trick to know the end date of one month without creating complex script to test the number of days in the months, years leap, etc.. Take the first date of the month, then add one month and substract one day, like this : on mouseUp put "12/01/2009" into lMyDate answer addToDate(lMyDate,0,1,-1) end mouseUp function addToDate pStartDate,pAddToYear,pAddToMonth,pAddToDay convert pStartDate to dateitems add pAddToYear to item 1 of pStartDate add pAddToMonth to item 2 of pStartDate add pAddToDay to item 3 of pStartDate convert pStartDate to short date return pStartDate end addToDate -Zryip TheSlug wish you the best ! 8) > convert tDate to dateitems > add numDays to item 3 of tDate > convert tDate to short date -- or other format > > The nice thing about the convert command is that you can add any number of > days and it will figure out the right date anyway, changing the month and/or > year as necessary. > > -- > Jacqueline Landman Gay ? ? ? ? | ? ? jacque at hyperactivesw.com > HyperActive Software ? ? ? ? ? | ? ? http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jimaultwins at yahoo.com Sat Dec 19 19:42:17 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 19 Dec 2009 16:42:17 -0800 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <4B2D70A0.7030008@hyperactivesw.com> References: <4B2D1E66.6060403@fourthworld.com> <35C76332-0E69-40EF-B1CD-ACD57BACFAAF@yahoo.com> <4B2D70A0.7030008@hyperactivesw.com> Message-ID: Thanks for the tip... obviously I have not spent time exploring the differences between 2.9 and 3.5. On Dec 19, 2009, at 4:32 PM, J. Landman Gay wrote: > Jim Ault wrote: > >> The option of individual script editor windows would be *very* nice, > > This is a prefs setting too. Change it in the Script Editor pane and > new editor windows will open for each script. You can also right- > click on any tab in the editor to move that script to its own window. > > -- > Jacqueline Landman Gay Jim Ault Las Vegas From katir at hindu.org Sat Dec 19 20:02:07 2009 From: katir at hindu.org (Sivakatirswami) Date: Sat, 19 Dec 2009 15:02:07 -1000 Subject: [OT] Politically Incorrect - Sorry List Mum In-Reply-To: <4B2D1BD2.3080707@hyperactivesw.com> References: <4B2D1BD2.3080707@hyperactivesw.com> Message-ID: <4B2D778F.7020007@hindu.org> J. Landman Gay wrote: > Kay C Lan wrote: >> I would hope the >> world would become more like this List, blind to race, creed, sex, >> religion, >> political bent or whacky opinion. > > This is so well said. I add my best wishes to everyone on this list. > It's so much like home here and I'm so fond of you all. > Echo that from Kauai's Hindu Monastery. There is so much talk about interfaith, We are part of the local "Interfaith Roundtable of Kauai" and a team from Hinduism Today has just returned from the Parliament of the World's Religions in Australia. It was considered such a big deal. In reality, on the ground, outside of conferences, or meetings, there is not much collaboration or real dialog or "co-creation." I've often wished I could go to a RunRev Live conference just to say that, romantic as it sounds, that this list despite being all about code and a niche software application, fulfills, in a microcosmic way, the higher objectives we would all wish for humanity as a whole: people working together, regardless of differences, to help each other and create a better world. Some people talk about it, RunRev Revolutionaries do their best to actually do it. And it is happening not only here but on many internet collaboration sites. (If you were a draftsman using VectorWorks you would find another such community.) The "digital fires" of software development is helping to melt down the icy walls put up by those of a by-gone age. Wishing everyone the best for the solstice (very special this year as there is a conjunction of the earth with the sun and the galactic center) and a joyful prosperous 2010. Sivakatirswami From coiin at verizon.net Sat Dec 19 20:16:33 2009 From: coiin at verizon.net (Colin Holgate) Date: Sat, 19 Dec 2009 20:16:33 -0500 Subject: [OT] Politically Incorrect - Sorry List Mum In-Reply-To: <4B2D778F.7020007@hindu.org> References: <4B2D1BD2.3080707@hyperactivesw.com> <4B2D778F.7020007@hindu.org> Message-ID: On Dec 19, 2009, at 8:02 PM, Sivakatirswami wrote: > Wishing everyone the best for the solstice (very special this year as there is a conjunction of the earth with the sun and the galactic center) and a joyful prosperous 2010. While we're drifting off topic... I'm on some astronomy lists, and this month has a few interesting alignments (some are past already). Here's a list: December 6th ? Moon near Mars December 10th ? Moon near Saturn December 13th/14th ? Maximum of Geminid Meteor Shower December 18th ? Mercury at Greatest Eastern Elongation; Crescent Moon nearby December 20th/21st ? Jupiter/Neptune Conjunction December 21st ? Moon near Jupiter and Neptune December 21st ? Winter Solstice (17.47 GMT) December 31st ? Partial Eclipse of the Moon (18.52-19.54 GMT) The Jupiter/Neptine ones interest me the most, because I've seen firsthand seven planets (Mercury, Venus, Earth - by looking downwards, Mars, Jupiter, Saturn, and Uranus - through my telescope), so Neptune is the only official planet I haven't seen. Having Jupiter nearby should help to track it down, assuming the NYC snow clouds are gone by then. From jerry.daniels at me.com Sat Dec 19 22:58:01 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Sat, 19 Dec 2009 21:58:01 -0600 Subject: [ANN] Poll for tRev users aka help me free the option key In-Reply-To: References: Message-ID: <1331394F-ED7C-457E-8309-0C94617218D0@me.com> Stephen, et al... This polling system we use have really helped us get the ball in from the ten yard line. Sometimes I reach a cross-roads with a feature and need user feedback to be very specific and easy to track. This polling mechanism has been great for us. I could probably think of another metaphor to describe it, but I think I'll leave it at that. I encourage all the tRev users out there to check in and cast their votes. Help me free the option key and make our inspection features even more powerful. http://reveditor.com/trev-users-who-use-option-alt-key-inspection Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-lotsa-stuff-plus-easter-egg-al On Dec 19, 2009, at 5:15 PM, stephen barncard wrote: > clever enterprise, the web based polling system > > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > > > 2009/12/19 Jerry Daniels > >> tRev users, >> >> We have an interesting poll you can take. It regards the option (alt) >> inspection feature and its keyboard activation sequence. >> >> http://reveditor.com/trev-users-who-use-option-alt-key-inspection >> >> Cast your votes, now! >> >> Best, >> >> Jerry Daniels >> >> The latest Rev Editor Video: >> http://reveditor.com/feature-friday-lotsa-stuff-plus-easter-egg-al >> >> >> >> >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Sun Dec 20 00:55:13 2009 From: katir at hindu.org (Sivakatirswami) Date: Sat, 19 Dec 2009 19:55:13 -1000 Subject: Slideshows in iRev Message-ID: <4B2DBC41.6090406@hindu.org> while waiting for the plug-in to settle down ( I can't deploy revlets until the update function is working) I've been playing with iRev engine. Here's a slide show that uses an iRev template in an iFrame. http://www.himalayanacademy.com/resources/lexicon/images/backgrounds/ this code is generated by iRev functions to set up links behind the previous and next buttons, where the buttons post the next slide and previous slide numbers and path to the irev page which then returns the slide with a new set of update buttons. I'm not really worried about the round trip to the server because the html here is so small, the CSS (not shown) is cached and you have to fetch the photos anyway, a little more html text is hardly an issue. Now, I'm wondering if there is a way to make this thing drive itself, so the user does not have to click the next button, using iRev code. I suspect I can't really do that with iRev but will need some Javascript (which I don't know at all.)
Word of the Day Background Contributions
insights? Sivakatirswami From briany at qldlearning.com Sun Dec 20 01:29:46 2009 From: briany at qldlearning.com (Brian Yennie) Date: Sat, 19 Dec 2009 22:29:46 -0800 Subject: Slideshows in iRev In-Reply-To: <4B2DBC41.6090406@hindu.org> References: <4B2DBC41.6090406@hindu.org> Message-ID: <9E717F44-40D6-4392-9362-C7F9BE1F8FAA@qldlearning.com> If you don't mind messing with a little Javascript, it could be as simple as this: This would go to the next slide in 5 seconds after the current page is loaded. You could of course right more elegant JavaScript functions around this, but if you want to minimize your JavaScript exposure, this one-liner should work. It just creates a 5 second timer, and then changes the URL of the current page. HTH > while waiting for the plug-in to settle down ( I can't deploy > revlets until the update function is working) > > I've been playing with iRev engine. > > Here's a slide show that uses an iRev template in an iFrame. > > http://www.himalayanacademy.com/resources/lexicon/images/backgrounds/ > > this code is generated by iRev functions to set up links behind the > previous and next buttons, where the buttons post the next slide and > previous slide numbers and path to the irev page which then returns > the slide with a new set of update buttons. I'm not really worried > about the round trip to the server because the html here is so > small, the CSS (not shown) is cached and you have to fetch the > photos anyway, a little more html text is hardly an issue. > > Now, I'm wondering if there is a way to make this thing drive > itself, so the user does not have to click the next button, using > iRev code. > > I suspect I can't really do that with iRev but will need some > Javascript (which I don't know at all.) > > >
> >
> Word of the Day Background Contributions
>
> >
>
>
> >
> > > > insights? > > Sivakatirswami From sarah.reichelt at gmail.com Sun Dec 20 02:01:40 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 20 Dec 2009 17:01:40 +1000 Subject: Slideshows in iRev In-Reply-To: <4B2DBC41.6090406@hindu.org> References: <4B2DBC41.6090406@hindu.org> Message-ID: On Sun, Dec 20, 2009 at 3:55 PM, Sivakatirswami wrote: > while waiting for the plug-in to settle down ( I can't deploy revlets until > the update function is working) > > I've been playing with iRev engine. > > Here's a slide show that uses an iRev template in an iFrame. > > http://www.himalayanacademy.com/resources/lexicon/images/backgrounds/ > > this code is generated by iRev functions to set up links behind the previous > and next buttons, where the buttons post the next slide and previous slide > numbers and path to the irev page which then returns the slide with a new > set of update buttons. I'm not really worried about the round trip to the > server because the html here is so small, the CSS (not shown) is cached and > you have to fetch the photos anyway, a little more html text is hardly an > issue. > > Now, I'm wondering if there is a way to make this thing drive itself, so the > user does not have to click the next button, using iRev code. > > I suspect I can't really do that with iRev but will need some Javascript > (which I don't know at all.) Have a look at where I use JavaScript & AJAX to do this. The JavaScript sets up a timer and every 5 seconds, this sends an AJAX request to another irev file returns the html to display a random image. This link will show you the script of the secondary file HTH, Sarah From sarah.reichelt at gmail.com Sun Dec 20 02:04:07 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 20 Dec 2009 17:04:07 +1000 Subject: [OT] Politically Incorrect - Sorry List Mum In-Reply-To: References: Message-ID: > To those who are neither Christian or celebrate the New Year based on the > Gregorian calendar, my wishes extend to you as well as I would hope the > world would become more like this List, blind to race, creed, sex, religion, > political bent or whacky opinion. > > Thanks to all those who've been so patient to answer my mundane questions, > to gentle point me in the correct direction when I've strayed a little off > track, and politely allowed me to throw what little I know into the ring > when I've plucked up the courage to mix it with a few of the real experts on > this List. > > Until 2010, to you and your families, the best of health, the best of times, > be your best for them, > Ditto :-) And thanks for expressing it so well Kay. Best wishes to you all, Sarah From richmondmathewson at gmail.com Sun Dec 20 03:33:10 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 20 Dec 2009 10:33:10 +0200 Subject: RunRev 4 on Mac OS 10.3 Message-ID: <4B2DE146.4080505@gmail.com> Has anybody got RunRev 4 running on Mac OS 10.3 (Panther)? sincerely, Richmond Mathewson. From m.schonewille at economy-x-talk.com Sun Dec 20 03:44:42 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 20 Dec 2009 09:44:42 +0100 Subject: RunRev 4 on Mac OS 10.3 In-Reply-To: <4B2DE146.4080505@gmail.com> References: <4B2DE146.4080505@gmail.com> Message-ID: What problems are you having, Richmond? Here, the 3.5 updater crashes on 10.3 :-( -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Full PayPal integration and automation in web site or (Revolution/ SuperCard/other) software. Contact me for a quote before 1 Jan 2010 and we'll charge (reduced) 2009 prices. http://economy-x-talk.com/contact.html Op 20 dec 2009, om 09:33 heeft Richmond Mathewson het volgende geschreven: > Has anybody got RunRev 4 running on Mac OS 10.3 (Panther)? > > sincerely, Richmond Mathewson. From Andre.Bisseret at inria.fr Sun Dec 20 03:46:35 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Sun, 20 Dec 2009 09:46:35 +0100 Subject: Horizontal slider, is it a bug ? In-Reply-To: <30DAACE1-D26F-4F14-9DB6-EFF412A29195@numericable.com> References: <30DAACE1-D26F-4F14-9DB6-EFF412A29195@numericable.com> Message-ID: Le 19 d?c. 09 ? 18:40, Ren? Micout a ?crit : > Hello, > RunRev 4.0, Mac OS X 10.6.2 > I create an hozirontal slider with the tools palette. > Start value = 1 > End value = 32 > I have 33 marks of value (the good word ?) > Is it a bug ? > Bons souvenirs de Paris > Ren?_______________________________________________ Bonjour Ren?, Here (RunRev 4.0, Mac OS X 10.5.8) ; I just tried the same: I get 32 marks (positions ?) Bien cordialement Andr? From stephenREVOLUTION2 at barncard.com Sun Dec 20 04:44:19 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 20 Dec 2009 01:44:19 -0800 Subject: Slideshows in iRev In-Reply-To: <4B2DBC41.6090406@hindu.org> References: <4B2DBC41.6090406@hindu.org> Message-ID: you can do the automatic advance in html using the REFRESH meta tag I've built photo galleries around a lot of html pages and refresh tags. Depreciated by the W3C for redirects, but works like a champ for this purpose. Place inside to refresh page after 5 seconds: Redirect to http://example.com/ after 5 seconds: Redirect to http://example.com/ immediately: . 2009/12/19 Sivakatirswami > while waiting for the plug-in to settle down ( I can't deploy revlets until > the update function is working) > > > Now, I'm wondering if there is a way to make this thing drive itself, so > the user does not have to click the next button, using iRev code. > > From m.schonewille at economy-x-talk.com Sun Dec 20 04:48:13 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 20 Dec 2009 10:48:13 +0100 Subject: RunRev 4 on Mac OS 10.3 In-Reply-To: References: <4B2DE146.4080505@gmail.com> Message-ID: <3F5E3FD7-F558-410A-9DD7-A855EB9C1164@economy-x-talk.com> Richmond, it took two attempts, but I got Rev 4 running on 10.3.9. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Full PayPal integration and automation in web site or (Revolution/ SuperCard/other) software. Contact me for a quote before 1 Jan 2010 and we'll charge (reduced) 2009 prices. http://economy-x-talk.com/contact.html Op 20 dec 2009, om 09:44 heeft Mark Schonewille het volgende geschreven: > What problems are you having, Richmond? Here, the 3.5 updater > crashes on 10.3 :-( > From david at dvglasgow.wanadoo.co.uk Sun Dec 20 05:06:02 2009 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Sun, 20 Dec 2009 10:06:02 +0000 Subject: Imagesource of char not working as expected in Windows In-Reply-To: <20091217152744.A3BA82886F0@mail.runrev.com> References: <20091217152744.A3BA82886F0@mail.runrev.com> Message-ID: <2FA3088C-F04A-4ABF-AB9B-21DEB075661A@dvglasgow.wanadoo.co.uk> RevRunners I capture, save and display within a scrolling field ("results") a series of screenshots as follows: put specialfolderpath("temporary") & "/evapics/image" & the secs & ".png" into tdest export snapshot from rect trect to file tdest as PNG set the imagesource of char 1 of last line of field "results" to "binfile:/" & tdest The character referred to is a tilde (~ or wiggleworm, if you prefer common usage) placed in the field a tad earlier. On OSX , this works OK. However, testing a standalone on Vista produces a results field displaying tildes but no images. The images are being save to the temporary folder, so the path looks good and I am not falling into the virtualisation heffalump trap. I have studio for Mac, so can't debug this. Any suggestions re what might be going on? David Glasgow From rene.micout at numericable.com Sun Dec 20 05:15:22 2009 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 20 Dec 2009 11:15:22 +0100 Subject: Horizontal slider, is it a bug ? In-Reply-To: References: <30DAACE1-D26F-4F14-9DB6-EFF412A29195@numericable.com> Message-ID: <814190CE-916A-421C-8308-B10CBA5B824F@numericable.com> Merci Andr?, Is 10.6.2 the explanation ? I have 33 marks (positions, yes) Bizarre ! Bonnes f?tes Ren? Le 20 d?c. 2009 ? 09:46, Andre.Bisseret a ?crit : > > Le 19 d?c. 09 ? 18:40, Ren? Micout a ?crit : > >> Hello, >> RunRev 4.0, Mac OS X 10.6.2 >> I create an hozirontal slider with the tools palette. >> Start value = 1 >> End value = 32 >> I have 33 marks of value (the good word ?) >> Is it a bug ? >> Bons souvenirs de Paris >> Ren?_______________________________________________ > > Bonjour Ren?, > > Here (RunRev 4.0, Mac OS X 10.5.8) ; > I just tried the same: > > I get 32 marks (positions ?) > > Bien cordialement > > Andr? > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From liste.revo at medard.on-rev.com Sun Dec 20 05:41:50 2009 From: liste.revo at medard.on-rev.com (Medard) Date: Sun, 20 Dec 2009 11:41:50 +0100 Subject: EASY way to add n days to a date? In-Reply-To: <64bda6470912191640s34e37070p17ebae8b99181a70@mail.gmail.com> Message-ID: <1jb0tfr.crdewi1d37k8fM%liste.revo@medard.on-rev.com> zryip theSlug wrote: > An easy trick to know the end date of one month without creating > complex script to test the number of days in the months, years > leap, etc.. clever -- but that doesn't work on "foreign" systems i.e. non english languages ;-) it is still funny to see Revolution to declare some parameter to be "not a date" as you prior performed a "put the system" date into fld "xxx" ;-> so, the starting date MUST be an "english" one, I mean a "US" date, according to the yyyy/dd/mm scheme my "system date" is yyyy-mm-dd (avoiding the slash, used in Unix as file/folder delimitor) Anyway, after sticking to those caveats, the provided code gives exactly what it is intended for, i.e. the date a month minus a day ahead -- not the end of the month ;-)) From sanke at hrz.uni-kassel.de Sun Dec 20 05:43:40 2009 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sun, 20 Dec 2009 11:43:40 +0100 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 Message-ID: <4B2DFFDC.30301@hrz.uni-kassel.de> Richard Gaskin ambassador at fourthworld.com wrote: > Wilhelm wrote: > > On my medium-sized screen there is ample room besides the Rev tools > > stack to accommodate two open script editor windows side by side, so > > there is really no need to hide the tools stack in the default > > preferences settings. > > At the heart of this issue is the question: What would one expect to do > with layout tools while in a script editor? > > That an IDE would dynamically provide progressive disclosure of features > specific to the task at hand isn't a bad thing, IMO. > > But most importantly, as you noted, if it does it must do so reliably. > -- > Richard Gaskin and Jim Ault wrote: > I use the Rev 3.5 IDE editor for my development (single pane, multi- > tabbed) > Most all of my programming is scripting (and not layout or GUI work), > so I only need the tool bar on rare occasions. I prefer it to hide > when the script editor is open, but always show the message box. (as a > debugging tool) I agree that the matter of individual programming habits also plays a role in our discussion - and that there may be only rare occasions to use layout tools at the same time you edit a script, but the tools palette also contains the two buttons to switch between browse and pointer tool. In some situations I like to test immediately the effects of a changed script - leaving the script editor open while testing. To do this I usually switch to the browse tool with one click on the icon on top of the tools stacks - being conditioned additionally to such a procedure by mostly using the Metacard IDE. As I have found out now, in case the tools stack has been hidden, I could also switch to browse tool using the "tools" menu in the menubar, although with *two* clicks - and I also could bring back the tools stack at once clicking on the tools menu. What I like less about these niceties added with version 3.5, i.e. hiding the tools palette when the script editor comes up and allowing only one script editor in the default preference settings, is that these changes again increase the complexity of the Rev IDE, providing more opportunities for programming errors and bugs which may necessitate new workarounds and bug fixes - and also may add to the relatively slow "responsivness" of the Rev IDE (as I have pointed out in an earlier post). If at least the default settings for the script editor preferences would be exactly the other way round ( I repeat myself here), Alejandro Tejado would probably never have run into that embarrasing situation while he tried to promote the revolutionary achievements of our preferred programming environment during his teacher workshop. To come back to individual programming styles. I personally would have missed really nothing when the discussed IDE changes had not been added, and I suppose that most of us haven't missed them either during the last ten years (although I have to concede here that this is not a progressive and totally compelling argument, because it could rule out possible and real improvements). Best regards, Wilhelm Sanke From zryip.theslug at gmail.com Sun Dec 20 06:19:19 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 20 Dec 2009 12:19:19 +0100 Subject: Horizontal slider, is it a bug ? In-Reply-To: <814190CE-916A-421C-8308-B10CBA5B824F@numericable.com> References: <30DAACE1-D26F-4F14-9DB6-EFF412A29195@numericable.com> <814190CE-916A-421C-8308-B10CBA5B824F@numericable.com> Message-ID: <64bda6470912200319g6c9bca5cw96708e8d6741dde@mail.gmail.com> Hi Ren?, I'm using RR on 10.6.2 and it's work fine for me. I have only 32 positions as expected. 2009/12/20 Ren? Micout : > Merci Andr?, > Is 10.6.2 the explanation ? I have 33 marks (positions, yes) > Bizarre ! > Bonnes f?tes > Ren? > > Le 20 d?c. 2009 ? 09:46, Andre.Bisseret a ?crit : > >> >> Le 19 d?c. 09 ? 18:40, Ren? Micout a ?crit : >> >>> Hello, >>> RunRev 4.0, Mac OS X 10.6.2 >>> I create an hozirontal slider with the tools palette. >>> Start value = 1 >>> End value = 32 >>> I have 33 marks of value (the good word ?) >>> Is it a bug ? >>> Bons souvenirs de Paris >>> Ren?_______________________________________________ >> >> Bonjour Ren?, >> >> Here (RunRev 4.0, Mac OS X 10.5.8) ; >> I just tried the same: >> >> I get 32 marks (positions ?) >> >> Bien cordialement >> >> Andr? >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rene.micout at numericable.com Sun Dec 20 08:21:09 2009 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 20 Dec 2009 14:21:09 +0100 Subject: Horizontal slider, is it a bug ? In-Reply-To: <64bda6470912200319g6c9bca5cw96708e8d6741dde@mail.gmail.com> References: <30DAACE1-D26F-4F14-9DB6-EFF412A29195@numericable.com> <814190CE-916A-421C-8308-B10CBA5B824F@numericable.com> <64bda6470912200319g6c9bca5cw96708e8d6741dde@mail.gmail.com> Message-ID: Bonjour, Create a slider with a width = 1000, with "Show value", with Start value = 1, End value = 100 and count the graduations (-) there is more than 100 graduations (you must count "manually" and not read the numeric value) there is a difference around graduation 20... because a little gap (1 pixel) for each graduation... Do you see ? I see that because I am an interface "nit-picker"... Bons souvenirs de Paris Ren? Le 20 d?c. 2009 ? 12:19, zryip theSlug a ?crit : > Hi Ren?, > > I'm using RR on 10.6.2 and it's work fine for me. I have only 32 > positions as expected. > > 2009/12/20 Ren? Micout : >> Merci Andr?, >> Is 10.6.2 the explanation ? I have 33 marks (positions, yes) >> Bizarre ! >> Bonnes f?tes >> Ren? >> >> Le 20 d?c. 2009 ? 09:46, Andre.Bisseret a ?crit : >> >>> >>> Le 19 d?c. 09 ? 18:40, Ren? Micout a ?crit : >>> >>>> Hello, >>>> RunRev 4.0, Mac OS X 10.6.2 >>>> I create an hozirontal slider with the tools palette. >>>> Start value = 1 >>>> End value = 32 >>>> I have 33 marks of value (the good word ?) >>>> Is it a bug ? >>>> Bons souvenirs de Paris >>>> Ren?_______________________________________________ >>> >>> Bonjour Ren?, >>> >>> Here (RunRev 4.0, Mac OS X 10.5.8) ; >>> I just tried the same: >>> >>> I get 32 marks (positions ?) >>> >>> Bien cordialement >>> >>> Andr? >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Sun Dec 20 08:33:57 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 20 Dec 2009 15:33:57 +0200 Subject: RunRev 4 on Mac OS 10.3 In-Reply-To: <3F5E3FD7-F558-410A-9DD7-A855EB9C1164@economy-x-talk.com> References: <4B2DE146.4080505@gmail.com> <3F5E3FD7-F558-410A-9DD7-A855EB9C1164@economy-x-talk.com> Message-ID: <4B2E27C5.3000500@gmail.com> On 20/12/2009 11:48, Mark Schonewille wrote: > Richmond, it took two attempts, but I got Rev 4 running on 10.3.9. > Thank you. I am flying over to Britain for about 2 weeks to see Mum and Dad; I have a tray-loading G3 iMac there that runs Panther. I am hoping to be able to do some work while I am there. From liste.revo at medard.on-rev.com Sun Dec 20 09:06:09 2009 From: liste.revo at medard.on-rev.com (Medard) Date: Sun, 20 Dec 2009 15:06:09 +0100 Subject: EASY way to add n days to a date? In-Reply-To: <1jb0tfr.crdewi1d37k8fM%liste.revo@medard.on-rev.com> Message-ID: <1jb138r.1kqegut5v1tzvM%liste.revo@medard.on-rev.com> Medard wrote: > Anyway, after sticking to those caveats, the provided code gives exactly > what it is intended for, i.e. the date a month minus a day ahead -- not > the end of the month ;-)) Sorry, I didn't paid attention to "the first day of the month" ;-)) From zryip.theslug at gmail.com Sun Dec 20 10:04:47 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 20 Dec 2009 16:04:47 +0100 Subject: EASY way to add n days to a date? In-Reply-To: <1jb0tfr.crdewi1d37k8fM%liste.revo@medard.on-rev.com> References: <64bda6470912191640s34e37070p17ebae8b99181a70@mail.gmail.com> <1jb0tfr.crdewi1d37k8fM%liste.revo@medard.on-rev.com> Message-ID: <64bda6470912200704l3ce1e178xbb238d8eb1db93c@mail.gmail.com> Hi M?dard, You've terribly right. Sorry to have forgot non-english systems. Thankfully a quick solution exists. By using the useSystemDate property you'll be able to force RR to use the date settings of your system. 8) Note that the scope of this property is the current handler only. I believe that I was not clear about the calculating itself. To obtain the last day of a month, you need to pass the first date of the month as first parameter to the addToDate function. To make amends here is the function that should be useful regardless of the language of your system. 8) Try it and tell us if it works fine for you ;): on mouseUp local lMyDate set useSystemDate to true -- Use the system settings instead of the RR natural english date put the date into lMyDate answer addToDate(firstDateInMonth(lMyDate),0,1,-1) end mouseUp function firstDateInMonth pStartDate -- Return the first day in a month set useSystemDate to true convert pStartDate to dateitems put 1 into item 3 of pStartDate convert pStartDate to short date return pStartDate end firstDateInMonth function addToDate pStartDate,pAddToYear,pAddToMonth,pAddToDay -- Allows you to manipulate a date in a single pass set useSystemDate to true convert pStartDate to dateitems add pAddToYear to item 1 of pStartDate add pAddToMonth to item 2 of pStartDate add pAddToDay to item 3 of pStartDate convert pStartDate to short date return pStartDate end addToDate 2009/12/20 Medard : > zryip theSlug wrote: > >> An easy trick to know the end date of one month without creating >> complex script to test the number of days in the months, years >> leap, etc.. > > clever -- but that doesn't work on "foreign" systems > i.e. non english languages ;-) > > it is still funny to see Revolution to declare some parameter to be "not > a date" as you prior performed a "put the system" date into fld "xxx" > ;-> > > so, the starting date MUST be an "english" one, I mean a "US" date, > according to the yyyy/dd/mm scheme > > my "system date" is yyyy-mm-dd > (avoiding the slash, used in Unix as file/folder delimitor) > > Anyway, after sticking to those caveats, the provided code gives exactly > what it is intended for, i.e. the date a month minus a day ahead -- not > the end of the month ;-)) From jhurley0305 at sbcglobal.net Sun Dec 20 10:17:28 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sun, 20 Dec 2009 07:17:28 -0800 Subject: EASY way to add n days to a date? And a Christmas Card In-Reply-To: <20091220101527.C111928822E@mail.runrev.com> References: <20091220101527.C111928822E@mail.runrev.com> Message-ID: Many thanks to all. I knew that Run Rev would have an easy way to add days to the date, and so your solutions have subtracted days of effort for me. And, in the spirit of Jacque's Christmas message, I have put up a Run Rev Christmas card to all you generous Revolutionaries. Merry Christmas: go to url "http://www.jamesphurley.on-rev.com/ChristmasCard.rev" Feel free to add you own ornaments to the tree and recirculate. Jim Hurley From Andre.Bisseret at inria.fr Sun Dec 20 11:04:50 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Sun, 20 Dec 2009 17:04:50 +0100 Subject: Horizontal slider, is it a bug ? In-Reply-To: References: <30DAACE1-D26F-4F14-9DB6-EFF412A29195@numericable.com> <814190CE-916A-421C-8308-B10CBA5B824F@numericable.com> <64bda6470912200319g6c9bca5cw96708e8d6741dde@mail.gmail.com> Message-ID: <6C961826-D301-4631-B275-B69064DF06F9@inria.fr> re bonjour Ren?, There is a normal difference between the number of marks (or positions, enfin bon "tirets verticaux" ;-)) and the number of intervals With the end value at 32, indeed, there is 33 "tirets" but only 32 intervals ;-)) As for this matter, the slider is correct. But as for the behavior of the blue cursor, seems you are right : the blue cursor is progressively going too far (and more and more so). Here, with a slider width set at 1000 and an end value set at 100, when the current value is 21, the blue cursor is already on the twenty- second mark (position tiret vertical)!!! When the current value is 40 the cursor is on the forty-second mark. I did not count further, but I am quite sure that it's going from bad to worse! bien cordialement de Grenoble Andr? Le 20 d?c. 09 ? 14:21, Ren? Micout a ?crit : > Bonjour, > Create a slider with a width = 1000, with "Show value", with Start > value = 1, End value = 100 and count the graduations (-) there is > more than 100 graduations (you must count "manually" and not read > the numeric value) there is a difference around graduation 20... > because a little gap (1 pixel) for each graduation... > Do you see ? > I see that because I am an interface "nit-picker"... > Bons souvenirs de Paris > Ren? > > Le 20 d?c. 2009 ? 12:19, zryip theSlug a ?crit : > >> Hi Ren?, >> >> I'm using RR on 10.6.2 and it's work fine for me. I have only 32 >> positions as expected. >> >> 2009/12/20 Ren? Micout : >>> Merci Andr?, >>> Is 10.6.2 the explanation ? I have 33 marks (positions, yes) >>> Bizarre ! >>> Bonnes f?tes >>> Ren? >>> >>> Le 20 d?c. 2009 ? 09:46, Andre.Bisseret a ?crit : >>> >>>> >>>> Le 19 d?c. 09 ? 18:40, Ren? Micout a ?crit : >>>> >>>>> Hello, >>>>> RunRev 4.0, Mac OS X 10.6.2 >>>>> I create an hozirontal slider with the tools palette. >>>>> Start value = 1 >>>>> End value = 32 >>>>> I have 33 marks of value (the good word ?) >>>>> Is it a bug ? >>>>> Bons souvenirs de Paris >>>>> Ren?_______________________________________________ >>>> >>>> Bonjour Ren?, >>>> >>>> Here (RunRev 4.0, Mac OS X 10.5.8) ; >>>> I just tried the same: >>>> >>>> I get 32 marks (positions ?) >>>> >>>> Bien cordialement >>>> >>>> Andr? >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Sun Dec 20 11:06:24 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 20 Dec 2009 18:06:24 +0200 Subject: Edinburgh Conference DVDs Message-ID: <4B2E4B80.5070906@gmail.com> ???? Interestingly enough everything has gone very quiet, maybe somebody is hoping we will forget about these. From Andre.Bisseret at inria.fr Sun Dec 20 11:56:47 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Sun, 20 Dec 2009 17:56:47 +0100 Subject: Horizontal slider, is it a bug ? In-Reply-To: References: <30DAACE1-D26F-4F14-9DB6-EFF412A29195@numericable.com> <814190CE-916A-421C-8308-B10CBA5B824F@numericable.com> <64bda6470912200319g6c9bca5cw96708e8d6741dde@mail.gmail.com> Message-ID: <170E2EE6-F7B5-4906-B9B0-10D2E77B425E@inria.fr> Ren?, J'ai pris mon courage ? deux mains et j'ai compt? les tirets verticaux : sur la "slider" d'une largeur de 1000 avec une valeur finale de 100 il y a 105 tirets. La valeur finale (100) s'affiche lorsque le curseur arrive sur le 105?me tiret ;-o))) Rigolo ! non ? Courageously I just counted the number of marked positions : on the slider whose width is 1000 and the end value set to 100, I found 105 marked positions. The end value (100) is reached when on this last marked position (105). funny! isn't it? Best regards from Grenoble Andr? Le 20 d?c. 09 ? 14:21, Ren? Micout a ?crit : > Bonjour, > Create a slider with a width = 1000, with "Show value", with Start > value = 1, End value = 100 and count the graduations (-) there is > more than 100 graduations (you must count "manually" and not read > the numeric value) there is a difference around graduation 20... > because a little gap (1 pixel) for each graduation... > Do you see ? > I see that because I am an interface "nit-picker"... > Bons souvenirs de Paris > Ren? > > Le 20 d?c. 2009 ? 12:19, zryip theSlug a ?crit : > >> Hi Ren?, >> >> I'm using RR on 10.6.2 and it's work fine for me. I have only 32 >> positions as expected. >> >> 2009/12/20 Ren? Micout : >>> Merci Andr?, >>> Is 10.6.2 the explanation ? I have 33 marks (positions, yes) >>> Bizarre ! >>> Bonnes f?tes >>> Ren? >>> >>> Le 20 d?c. 2009 ? 09:46, Andre.Bisseret a ?crit : >>> >>>> >>>> Le 19 d?c. 09 ? 18:40, Ren? Micout a ?crit : >>>> >>>>> Hello, >>>>> RunRev 4.0, Mac OS X 10.6.2 >>>>> I create an hozirontal slider with the tools palette. >>>>> Start value = 1 >>>>> End value = 32 >>>>> I have 33 marks of value (the good word ?) >>>>> Is it a bug ? >>>>> Bons souvenirs de Paris >>>>> Ren?_______________________________________________ >>>> >>>> Bonjour Ren?, >>>> >>>> Here (RunRev 4.0, Mac OS X 10.5.8) ; >>>> I just tried the same: >>>> >>>> I get 32 marks (positions ?) >>>> >>>> Bien cordialement >>>> >>>> Andr? >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From rene.micout at numericable.com Sun Dec 20 12:39:37 2009 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 20 Dec 2009 18:39:37 +0100 Subject: Horizontal slider, is it a bug ? In-Reply-To: <170E2EE6-F7B5-4906-B9B0-10D2E77B425E@inria.fr> References: <30DAACE1-D26F-4F14-9DB6-EFF412A29195@numericable.com> <814190CE-916A-421C-8308-B10CBA5B824F@numericable.com> <64bda6470912200319g6c9bca5cw96708e8d6741dde@mail.gmail.com> <170E2EE6-F7B5-4906-B9B0-10D2E77B425E@inria.fr> Message-ID: <3A9C53B6-705C-4D8E-A94A-D0C1A7178B75@numericable.com> Andr?, That's what thought, there seems to be a bug. If the first indent corresponds to 1, 2nd to 2, 3rd to 3 ... 100th to 100, there should be as much as indent value (start value 1 and end value 100), and there are 99 intervals... If the first value is zero is obviously different ... I solved my problem by hiding values and drawing the dashes myself and I used the following handler: on scrollbarDrag pPos set the pageInc of me to the endValue of me / (the endValue of me + 1) end scrollbarDrag on mouseUp set the thumbPos of me to the thumbPos of me end mouseUp But I lost the sight of the slider button (I find myself with a ball while I prefer a "tick mark" (as AHIG). Merci pour ton aide et bonnes f?tes, j'avais une r?ponse plus compl?te en fran?ais mais je d?passais la limite des 15K (casse-pieds par moment !) Ren? Le 20 d?c. 2009 ? 17:56, Andre.Bisseret a ?crit : > Courageously I just counted the number of marked positions : > on the slider whose width is 1000 and the end value set to 100, I found 105 marked positions. > The end value (100) is reached when on this last marked position (105). > > funny! isn't it? > > Best regards from Grenoble > Andr? From liste.revo at medard.on-rev.com Sun Dec 20 13:02:19 2009 From: liste.revo at medard.on-rev.com (Medard) Date: Sun, 20 Dec 2009 19:02:19 +0100 Subject: EASY way to add n days to a date? In-Reply-To: <64bda6470912200704l3ce1e178xbb238d8eb1db93c@mail.gmail.com> Message-ID: <1jb1dx8.1f6j61b55uix7M%liste.revo@medard.on-rev.com> zryip theSlug wrote: > You've terribly right. Sorry to have forgot non-english systems. > Thankfully a quick solution exists. By using the useSystemDate > property you'll be able to force RR to use the date settings of your > system. 8) Note that the scope of this property is the current handler > only. As for me, I omitted to set this local var ;-) Your scripts work now like a charm And RR no longer claims that "it is not a date" ;-> From jacque at hyperactivesw.com Sun Dec 20 13:34:59 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 20 Dec 2009 12:34:59 -0600 Subject: Slideshows in iRev In-Reply-To: References: <4B2DBC41.6090406@hindu.org> Message-ID: <4B2E6E53.5060807@hyperactivesw.com> stephen barncard wrote: > you can do the automatic advance in html using the REFRESH meta > tag That's how I do it here: This presents a slideshow. If you need the iRev code (which doesn't show up when you view source) let me know. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Sun Dec 20 14:15:08 2009 From: katir at hindu.org (Sivakatirswami) Date: Sun, 20 Dec 2009 09:15:08 -1000 Subject: Slideshows in iRev In-Reply-To: <9E717F44-40D6-4392-9362-C7F9BE1F8FAA@qldlearning.com> References: <4B2DBC41.6090406@hindu.org> <9E717F44-40D6-4392-9362-C7F9BE1F8FAA@qldlearning.com> Message-ID: <4B2E77BC.1020406@hindu.org> Aloha, Brian (we're in Hawaii) No I don't mind messing a bit with JS. Setting aside "value" judgements about obtuse nature of the language, it's is clearly a valuable technology -- I'm not really trying to "minimize my exposure" its more about time, learning curve where my "creative coding" is very much a sideline in an otherwise very busy day full of admin and publication work. I could go on at length here about how revTalk "slides easily" into that mind stream because of its' English like nature and squeezing JavaScript or PHP into that mind flow never quite works or sticks...(I tried with PHP and just got fed up... such a waste of time to get the smallest things done) but that would be a digressing into the nature of consciousness as it relates to linguistics and that core value of revTalk that is a bit deeper than one might think. i.e. it's not just "english like" but is also "dances well with the way you think most of your day." So, thank you! and Sarah too for the JS snippets and if I knew where to go to find "more elegant JS functions" related to this I would check it out. Cheers from Kauai Sivakatirwami Brian Yennie wrote: > If you don't mind messing with a little Javascript, it could be as > simple as this: > > > > This would go to the next slide in 5 seconds after the current page is > loaded. You could of course right more elegant JavaScript functions > around this, but if you want to minimize your JavaScript exposure, > this one-liner should work. It just creates a 5 second timer, and then > changes the URL of the current page. > > HTH > > >> while waiting for the plug-in to settle down ( I can't deploy revlets >> until the update function is working) >> >> I've been playing with iRev engine. >> >> Here's a slide show that uses an iRev template in an iFrame. >> >> http://www.himalayanacademy.com/resources/lexicon/images/backgrounds/ >> >> this code is generated by iRev functions to set up links behind the >> previous and next buttons, where the buttons post the next slide and >> previous slide numbers and path to the irev page which then returns >> the slide with a new set of update buttons. I'm not really worried >> about the round trip to the server because the html here is so small, >> the CSS (not shown) is cached and you have to fetch the photos >> anyway, a little more html text is hardly an issue. >> >> Now, I'm wondering if there is a way to make this thing drive itself, >> so the user does not have to click the next button, using iRev code. >> >> I suspect I can't really do that with iRev but will need some >> Javascript (which I don't know at all.) >> >> >> >> >> >> >> insights? >> >> Sivakatirswami > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Sun Dec 20 14:23:39 2009 From: katir at hindu.org (Sivakatirswami) Date: Sun, 20 Dec 2009 09:23:39 -1000 Subject: Slideshows in iRev In-Reply-To: References: <4B2DBC41.6090406@hindu.org> Message-ID: <4B2E79BB.6080805@hindu.org> Stephen barncard wrote: Oh! that one... yes I remember when (circa 1998) I went through our old web sites and removed all these redirects (very bad strategy from a CMS point of view, a nightmare in fact) and I put all the redirects into a single matrix file with a Rev cgi to drive 404's to other pages. (I still use it today... very sweet and easy to maintain and fast) But I can see the utility here. No sure if there are pros or cons to using this vs Javascript. One could add a button on the interface to post "run" to the iRev page and then the iRev page would start inserting this into the head... with the URL for the next slide updated on each round. If the user clicks a "stop" button then the iRev page removes this from the head and reverts to manual drive buttons.... I'll try it. Thanks! > you can do the automatic advance in html using the REFRESH meta > tag > > I've built photo galleries around a lot of html pages and refresh tags. > > Depreciated by the W3C for redirects, but works like a champ for this > purpose. > > Place inside to refresh page after 5 seconds: > > > > Redirect to http://example.com/ after 5 seconds: > > > > Redirect to http://example.com/ immediately: > . > > > 2009/12/19 Sivakatirswami > > >> while waiting for the plug-in to settle down ( I can't deploy revlets until >> the update function is working) >> >> >> Now, I'm wondering if there is a way to make this thing drive itself, so >> the user does not have to click the next button, using iRev code. >> >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From zryip.theslug at gmail.com Sun Dec 20 16:07:08 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 20 Dec 2009 22:07:08 +0100 Subject: EASY way to add n days to a date? In-Reply-To: <1jb1dx8.1f6j61b55uix7M%liste.revo@medard.on-rev.com> References: <64bda6470912200704l3ce1e178xbb238d8eb1db93c@mail.gmail.com> <1jb1dx8.1f6j61b55uix7M%liste.revo@medard.on-rev.com> Message-ID: <64bda6470912201307o5f4cf473k9de474c7712841ce@mail.gmail.com> Great ! I love to set a clock right ;) 2009/12/20 Medard : > zryip theSlug wrote: > >> You've terribly right. Sorry to have forgot non-english systems. >> Thankfully a quick solution exists. By using the useSystemDate >> property you'll be able to force RR to use the date settings of your >> system. 8) Note that the scope of this property is the current handler >> only. > > As for me, I omitted to set this local var ;-) > > Your scripts work now like a charm > > And RR no longer claims that "it is not a date" ;-> From bvlahos at mac.com Sun Dec 20 16:32:03 2009 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 20 Dec 2009 13:32:03 -0800 Subject: How do I paste into a different app? Message-ID: <5B380495-84F0-4633-BE0E-5D30D1BABCCB@mac.com> Is there a way to paste text from my stack to the text insertion point of a different program? I can create a floating window (system window) which floats above all other windows. The idea is that the user would click on a field in the target window (say a password field in a web browser) and then click a button on the floating window that will paste the password into it. I've tried the "type" and "paste" commands but they don't do anything outside of the stack. Is there a way to remotely issue a paste command or simulate typing? Thanks, Bill Vlahos From stephenREVOLUTION2 at barncard.com Sun Dec 20 17:35:28 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 20 Dec 2009 14:35:28 -0800 Subject: Slideshows in iRev In-Reply-To: <4B2E79BB.6080805@hindu.org> References: <4B2DBC41.6090406@hindu.org> <4B2E79BB.6080805@hindu.org> Message-ID: Years ago I had a Hypercard app that took the file-list of a bunch of photos in a folder and stitched them together in a gallery. I had one index.html, a thumbs.html, and two sets of html detail documents (two for each photo), one used the 'refresh' tag and the other didn't - thereby the user could choose which set to use to 'autoplay' or not. I had a flashing red dot gif to indicate 'running' when using the auto mode. I batch-generated the reductions and thumbnails with GraphicConverter. I could build a photo gallery for the web in about a minute. Back in 2001 javascript was to be avoided at all costs - it caused crashing and incompatibilities everywhere. A lot of text files, but it got the job done. This was used for years on the Crosby, Stills and Nash sites. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/20 Sivakatirswami > Stephen barncard wrote: > > Oh! that one... yes I remember when (circa 1998) I went through our old > web sites and removed all these redirects (very bad strategy from a CMS > point of view, a nightmare in fact) and I put all the redirects into a > single matrix file with a Rev cgi to drive 404's to other pages. (I still > use it today... very sweet and easy to maintain and fast) > > But I can see the utility here. No sure if there are pros or cons to using > this vs Javascript. One could add a button on the interface to post "run" to > the iRev page and then the iRev page would start inserting this into the > head... with the URL for the next slide updated on each round. If the user > clicks a "stop" button then the iRev page removes this from the head and > reverts to manual drive buttons.... > > I'll try it. Thanks! > > > > you can do the automatic advance in html using the REFRESH meta >> tag >> >> I've built photo galleries around a lot of html pages and refresh tags. >> >> Depreciated by the W3C for redirects, but works like a champ for this >> purpose. >> >> Place inside to refresh page after 5 seconds: >> >> >> >> Redirect to http://example.com/ after 5 seconds: >> >> >> >> Redirect to http://example.com/ immediately: >> . >> >> >> 2009/12/19 Sivakatirswami >> >> >> >>> while waiting for the plug-in to settle down ( I can't deploy revlets >>> until >>> the update function is working) >>> >>> >>> Now, I'm wondering if there is a way to make this thing drive itself, so >>> the user does not have to click the next button, using iRev code. >>> >>> >>> >>> >> _______________________________________________ >> >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Sun Dec 20 21:16:53 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 20 Dec 2009 18:16:53 -0800 Subject: [teaser] Mac OS X external In-Reply-To: <117615941140.20090920190650@ahsoftware.net> References: <792FF94B-122B-421B-9121-38262717CDFC@wehostmacs.com> <117615941140.20090920190650@ahsoftware.net> Message-ID: <74980250390.20091220181653@ahsoftware.net> Mark- Sunday, September 20, 2009, 6:06:50 PM, I wrote: > So I'm curious... does anyone use profiles, and if so, what for? It's been three months without a reply, which is pretty much what I figured. -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Sun Dec 20 21:22:40 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 20 Dec 2009 18:22:40 -0800 Subject: [teaser] Mac OS X external In-Reply-To: <74980250390.20091220181653@ahsoftware.net> References: <792FF94B-122B-421B-9121-38262717CDFC@wehostmacs.com> <117615941140.20090920190650@ahsoftware.net> <74980250390.20091220181653@ahsoftware.net> Message-ID: Hi Mark, No tutorial? How is one supposed to use these? Are they like an overall rev property that changes all other rev properties at once of an object to a saved state? ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/20 Mark Wieder > Mark- > > Sunday, September 20, 2009, 6:06:50 PM, I wrote: > > > So I'm curious... does anyone use profiles, and if so, what for? > > It's been three months without a reply, which is pretty much what I > figured. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From curt at sonasoftware.com Sun Dec 20 21:41:53 2009 From: curt at sonasoftware.com (Curt Ford) Date: Sun, 20 Dec 2009 21:41:53 -0500 Subject: how to tell whether external file is unicode formatted or not Message-ID: <41E10580-59F9-445A-949C-018EAFA19C99@sonasoftware.com> My app reads in external files that are stored as plain text, but the encoding can vary. Is there a way to tell whether the encoding is Unicode or not, so I can tell how to process the text (without asking the user, who may not know)? thanks, Curt Curt Ford Sona Software LLC www.sonasoftware.com From troy_lists at rpsystems.net Sun Dec 20 22:16:24 2009 From: troy_lists at rpsystems.net (Troy Rollins) Date: Sun, 20 Dec 2009 22:16:24 -0500 Subject: [teaser] Mac OS X external In-Reply-To: <74980250390.20091220181653@ahsoftware.net> References: <792FF94B-122B-421B-9121-38262717CDFC@wehostmacs.com> <117615941140.20090920190650@ahsoftware.net> <74980250390.20091220181653@ahsoftware.net> Message-ID: <48033B8D-444C-4554-8C8D-029FD9F0B32D@rpsystems.net> On Dec 20, 2009, at 9:16 PM, Mark Wieder wrote: >> >> So I'm curious... does anyone use profiles, and if so, what for? > > It's been three months without a reply, which is pretty much what I > figured. Actually, I use them for platform specific interface adjustments. -- Troy RPSystems, Ltd. http://www.rpsystems.net From sarah.reichelt at gmail.com Sun Dec 20 22:23:07 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 21 Dec 2009 13:23:07 +1000 Subject: Slideshows in iRev In-Reply-To: <4B2E6E53.5060807@hyperactivesw.com> References: <4B2DBC41.6090406@hindu.org> <4B2E6E53.5060807@hyperactivesw.com> Message-ID: Hi Jacque, I would be very interested to see your code for this slideshow please. Cheers, Sarah On Mon, Dec 21, 2009 at 4:34 AM, J. Landman Gay wrote: > stephen barncard wrote: >> >> you can do the automatic advance in html using the REFRESH meta >> tag > > That's how I do it here: > > This presents a slideshow. If you need the iRev code (which doesn't show up > when you view source) let me know. From katir at hindu.org Mon Dec 21 00:07:17 2009 From: katir at hindu.org (Sivakatirswami) Date: Sun, 20 Dec 2009 19:07:17 -1000 Subject: Slideshows in iRev In-Reply-To: <4B2E6E53.5060807@hyperactivesw.com> References: <4B2DBC41.6090406@hindu.org> <4B2E6E53.5060807@hyperactivesw.com> Message-ID: <4B2F0285.5090307@hindu.org> J. Landman Gay wrote: > stephen barncard wrote: >> you can do the automatic advance in html using the REFRESH meta >> tag > > That's how I do it here: > > > This presents a slideshow. If you need the iRev code (which doesn't > show up when you view source) let me know. Aloha, Jacque: Yes i would love to see your iRev code.... thanks! Sivakatirswami > > From jacque at hyperactivesw.com Mon Dec 21 01:16:59 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 21 Dec 2009 00:16:59 -0600 Subject: Slideshows in iRev In-Reply-To: References: <4B2DBC41.6090406@hindu.org> <4B2E6E53.5060807@hyperactivesw.com> Message-ID: <4B2F12DB.40507@hyperactivesw.com> Sarah (and Sivakatirswami) wrote: > > I would be very interested to see your code for this slideshow please. Ok, but it's almost too easy to post. There's a folder called "cgiphotos" of flower images in the same directory as the irev page. Inside that folder is also a text file named "cgiphotos.txt", which contains a list of all the available photos. Each line of the list has a file name as item one and a description as item two, like this: daisies.jpg,Daisies columbine2.jpg,Columbine etc In the html where I want the slideshow image to display, I choose a random image and stuff that into the img src tag: And later at the bottom of the page where I want the description to appear: I just use the refresh directive in a header to reload the page every ten seconds: Pretty easy. If you wanted the slide show to be in a strict order, it would be harder. I think you'd need to either set up cookies, or write the current line to disk and read that for each reload, then update the counter in the text file with the next line number. Or if you didn't want to keep a text file, you could read the files in the directory and get the list that way too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon Dec 21 03:32:05 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 21 Dec 2009 10:32:05 +0200 Subject: RunRev 4 on Mac OS 10.3 In-Reply-To: <3F5E3FD7-F558-410A-9DD7-A855EB9C1164@economy-x-talk.com> References: <4B2DE146.4080505@gmail.com> <3F5E3FD7-F558-410A-9DD7-A855EB9C1164@economy-x-talk.com> Message-ID: <4B2F3285.3020701@gmail.com> I have just installed Mac OS 10.3 on a spare partition on my G4, followed by RunRev Studio 4, and everything went extremely smoothly. Let's hope that the trusty old iMac G3 tray-loader works as smoothly as that. I then built standalones of a basic stack for all the platforms RR 4 offers (except for the non-functioning Mac OS 9 choice) and everything seemed perfectly OK. Gosh; I really did not appreciate the cosmetic differences introduced by Tiger & Leopard until I saw Panther again! Oddly enough, I couldn't find anything about minimum Mac system requirements on the RunRev website. ---------------------------------------------------------------------------- Having a nasty streak running through me I won't let the opportunity slip to make noises about the Mac OS "Classic" (what an extremely stupid misuse of that word) possibilities in the standalone builder: either; sort the thing out so that it will build functioning Mac OS 8/9 standalones (this is what I would like as I have about 6 old Mac PPCs "waiting in the wings" which could be shipped over to Bulgaria from Scotland in the back of my car next summer to do some useful work rather than sitting in my attic for no good reason at all), or; remove the misleading option from the standalone settings stack. Of course a really generous thing would be for the Mac OS "Classic" standalone capability to be activated in RevMedia . . . . . . From m.schonewille at economy-x-talk.com Mon Dec 21 04:53:23 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 21 Dec 2009 10:53:23 +0100 Subject: how to tell whether external file is unicode formatted or not In-Reply-To: <41E10580-59F9-445A-949C-018EAFA19C99@sonasoftware.com> References: <41E10580-59F9-445A-949C-018EAFA19C99@sonasoftware.com> Message-ID: <3C309D8C-E038-42F7-8862-47B1E64F026D@economy-x-talk.com> Curt, The default way is to show an open-file dialog, asking the user to choose the file and select an option from a menu with encodings. You can use unicode signatures to determine the encoding, but UTF8 doesn't need a signature officially and UTF16 files may not have the signature either. Here's some information about unicode BOM signatures . -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Full PayPal integration and automation in web site or (Revolution/ SuperCard/other) software. Contact me for a quote before 1 Jan 2010 and we'll charge (reduced) 2009 prices. http://economy-x-talk.com/contact.html Op 21 dec 2009, om 03:41 heeft Curt Ford het volgende geschreven: > My app reads in external files that are stored as plain text, but > the encoding can vary. Is there a way to tell whether the encoding > is Unicode or not, so I can tell how to process the text (without > asking the user, who may not know)? > > thanks, > > Curt > > > Curt Ford > Sona Software LLC > www.sonasoftware.com > From bdrunrev at gmail.com Mon Dec 21 05:53:06 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 21 Dec 2009 10:53:06 +0000 Subject: [VOTE] Tool Palette dissapear randomly Report #8500 In-Reply-To: <4B2DFFDC.30301@hrz.uni-kassel.de> References: <4B2DFFDC.30301@hrz.uni-kassel.de> Message-ID: You can also use keyboard shortcuts to switch between the browse and pointer tools. ctrl/cmd +9 or ctrl/cmd +0 This is technique I use, and it mostly works. Bernard On Sun, Dec 20, 2009 at 10:43 AM, Wilhelm Sanke wrote: > ?As I have found out now, in case the tools stack has been hidden, I could > also switch to browse tool using the "tools" menu in the menubar, although > with *two* clicks - and ?I also could bring back the tools stack at once > clicking on the tools menu. From shaosean at wehostmacs.com Mon Dec 21 06:45:00 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 21 Dec 2009 06:45:00 -0500 Subject: data grid - changing the header hilite gradient Message-ID: why does the data grid insist on replacing the nice gradient colours i have chosen for the hilite colour? the colour pane for the data grid only allows us to replace the dark gradient with a single colour, so i work through all the issues of setting the gradient of all the header hilites and then it goes and replaces it on me.. not a happy panda :-( http://quality.runrev.com/qacenter/show_bug.cgi?id=8505 note: the background gradient for the header does not revert back to the default, just the graphic used for the hiliting.. From mcgrath3 at mac.com Mon Dec 21 08:34:55 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 21 Dec 2009 08:34:55 -0500 Subject: iRev How do I manage a different folder full of images Message-ID: <57CD194F-4A2E-4424-B7BE-C1E2D5FA0374@mac.com> Hello all and happy holidays to you all, I made an app for uploading photos remotely to a folder on on-rev. I also have another folder that feeds a mobile viewer app. What I would like to do is manage both of these folders. 1. When uploaded to folder A. after it reaches a predetermined amount like 10 then make a DUPLICATE of them to folder B.? 2. Be notified via an EMAIL that this has happened at certain TIMES. 2. When folder A. reaches say 150 then DELETE all images in Folder A. (MAKE SURE all have been moved to folder B. though) 2. Keep an eye on folder B. when it reaches say 100 images then MOVE the oldest photos to a new CREATED folder C. or if that is FULL than MOVE to a new folder D. etc. How/what is the best way to do this in iRev scripts??? Duplicating, Deleting, Moving and then Creating folders Time Checks and Email/notifications Thanks Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html From lists at mangomultimedia.com Mon Dec 21 09:09:52 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 21 Dec 2009 09:09:52 -0500 Subject: data grid - changing the header hilite gradient In-Reply-To: References: Message-ID: On Dec 21, 2009, at 6:45 AM, Shao Sean wrote: > why does the data grid insist on replacing the nice gradient colours > i have chosen for the hilite colour? Because you haven't set the Data Grid property relating to the header hilite color but rather tried to change the hilite color by brute force (changing a property of an internal Data Grid control directly). > the colour pane for the data grid only allows us to replace the dark > gradient with a single colour, so i work through all the issues of > setting the gradient of all the header hilites and then it goes and > replaces it on me.. not a happy panda :-( Panda's seeking happiness should set the dgProps["header background hilite color"] property. Although the property inspector only allows you to set a solid color you have additional options when setting the property by script. From the docs: header background hilite color -The background color of the header that is being sorted by. You set set to a solid color, a gradient (two colors, one per line) or an array containing the keys of the fillGradient property. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From lists at mangomultimedia.com Mon Dec 21 09:11:05 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 21 Dec 2009 09:11:05 -0500 Subject: data grid - changing the header hilite gradient In-Reply-To: References: Message-ID: <3068FB1D-94D8-4A1B-98BA-E9A2EC21B00D@mangomultimedia.com> On Dec 21, 2009, at 9:09 AM, Trevor DeVore wrote: > Panda's PIA (Please ignore apostrophe) -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From devin_asay at byu.edu Mon Dec 21 11:07:23 2009 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 21 Dec 2009 09:07:23 -0700 Subject: EASY way to add n days to a date? And a Christmas Card In-Reply-To: References: <20091220101527.C111928822E@mail.runrev.com> Message-ID: <814B134C-1BAA-45E8-BE6F-98DAE7397812@byu.edu> Fun stack, Jim! I feel all festive now. Regards, Devin On Dec 20, 2009, at 8:17 AM, James Hurley wrote: > Many thanks to all. I knew that Run Rev would have an easy way to add > days to the date, and so your solutions have subtracted days of effort > for me. > > And, in the spirit of Jacque's Christmas message, I have put up a Run > Rev Christmas card to all you generous Revolutionaries. > > Merry Christmas: > > go to url "http://www.jamesphurley.on-rev.com/ChristmasCard.rev" > > > Feel free to add you own ornaments to the tree and recirculate. > > > Jim Hurley > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution Devin Asay Humanities Technology and Research Support Center Brigham Young University From shaosean at wehostmacs.com Mon Dec 21 11:12:30 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 21 Dec 2009 11:12:30 -0500 Subject: data grid - changing the header hilite gradient Message-ID: <70448F12-E34F-4FA9-BFCC-3A5D7D34EFA4@wehostmacs.com> thank you for the prompt reply and instructions on what to do.. Personally I think Rev should add the documentation for the data grid into the documentation (makes sense, no?) this panda sees some bamboo up ahead, will she be happy or sad? ;-) From mikekann at yahoo.com Mon Dec 21 12:21:59 2009 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 21 Dec 2009 09:21:59 -0800 (PST) Subject: Standalone Only Works for Ten Minutes Message-ID: <628113.47858.qm@web56706.mail.re3.yahoo.com> I've sent this to runrev support, but I thought I'd ask on the list just in case somebody might help me out before Christmas. I'm making a standalone for a Christmas present. I downloaded 4.0.0 Buildnumber 950, working on XP Pro. I entered my Enterprise key. It still counts down the days (I have six left). It also limits the standalone to ten minutes. How might I persuade the IDE to not limit the standalone? I just get the digest, so please send any responses to my email. Thanks to everyone. Let's have a good 2010. Mike From mdswindell at cruzio.com Mon Dec 21 13:25:36 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Mon, 21 Dec 2009 10:25:36 -0800 Subject: Move to the points of an oval? In-Reply-To: <51541C18-289B-4BFC-846A-2BCA55CF7548@sbcglobal.net> References: <20091219180005.76309288121@mail.runrev.com> <51541C18-289B-4BFC-846A-2BCA55CF7548@sbcglobal.net> Message-ID: <1020DE5C-C6B7-4932-8BB7-50BC19456CE0@cruzio.com> Jim and Scott, Thank you very, very much for your example stacks. They have helped a lot. Mark On Dec 19, 2009, at 11:50 AM, James Hurley wrote: >> >> Message: 1 >> Date: Fri, 18 Dec 2009 22:19:06 -0800 >> From: Mark Swindell >> Subject: Move to the points of an oval? >> To: How to use Revolution >> Message-ID: >> Content-Type: text/plain; charset=us-ascii >> >> Is it possible to move an object along the points of an oval? >> >> If not, is it possible to copy an exact oval with the curve tool (and move along that)? >> >> Thanks >> Mark >> >> ------------------------------ > > Mark, > > Here is a stack I was playing around with some time ago. > It moves things (arrows, line segments, footballs) along circles, ellipses, and bezier lines. > Run this line in the message box: go url "http://www.jamesphurley.on-rev.com/OffOnAtangent.rev" > > > Jim Hurley > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From zryip.theslug at gmail.com Mon Dec 21 14:46:21 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 21 Dec 2009 20:46:21 +0100 Subject: iRev How do I manage a different folder full of images In-Reply-To: <57CD194F-4A2E-4424-B7BE-C1E2D5FA0374@mac.com> References: <57CD194F-4A2E-4424-B7BE-C1E2D5FA0374@mac.com> Message-ID: <64bda6470912211146r493fe91sadec08109af65255@mail.gmail.com> Hi Thomas ! Happy holidays to you too 8) If I understand well: 1) You have one folder used by your rev application. I'll name it the "main folder" 2) Each 10 files uploaded in the main folder you want mirroring those 10 files into another folder. I'll name it the "mirror folder". The mirror folder will be used by the mobile viewer application. 3) Each 150 files in the main folder you want to erase all the files in the main folder 4) Each 100 files in the mirror folder you want to move the 100 oldest files from the mirror folder to a new folder. I'll name this new folder a "backup folder" Constraints 1) Each backup folders can contain only 100 files 2) Steps 2 through 4 require that you be notified by email 3) You need to check your files after a mirror or a backup operation Is that correct ? -Zryip TheSlug- wish you the best ! 8) 2009/12/21 Thomas McGrath III : > Hello all and happy holidays to you all, > > I made an app for uploading photos remotely to a folder on on-rev. I also > have another folder that feeds a mobile viewer app. What I would like to do > is manage both of these folders. > > 1. When uploaded to folder A. after it reaches a predetermined amount like > 10 then make a DUPLICATE of them to folder B.? > 2. Be notified via an EMAIL that this has happened at certain TIMES. > 2. When folder A. reaches say 150 then DELETE all images in Folder A. (MAKE > SURE all have been moved to folder B. though) > 2. Keep an eye on folder B. when it reaches say 100 images then MOVE the > oldest photos to a new CREATED folder C. or if that is FULL than MOVE to a > new folder D. etc. > > How/what is the best way to do this in iRev scripts??? > > Duplicating, Deleting, Moving and then Creating folders > Time Checks and Email/notifications > > Thanks > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From zryip.theslug at gmail.com Mon Dec 21 15:21:52 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 21 Dec 2009 21:21:52 +0100 Subject: iRev How do I manage a different folder full of images In-Reply-To: <64bda6470912211146r493fe91sadec08109af65255@mail.gmail.com> References: <57CD194F-4A2E-4424-B7BE-C1E2D5FA0374@mac.com> <64bda6470912211146r493fe91sadec08109af65255@mail.gmail.com> Message-ID: <64bda6470912211221p42318367q2a8001010e57e4c3@mail.gmail.com> Sorry, I have to make this sentence more logical: 4) Each 100 files in the mirror folder you want to move the 100 oldest files from the mirror folder to a new folder. Like this: Each 100 files in the mirror folder you want to move the oldest files from the mirror folder to a new folder. How many oldest files? Because move 100 files among 100 files, it's not really useful... ;) Sounds better ;) -Zryip TheSlug- wish you the best ! 8) From howard.bornstein at gmail.com Mon Dec 21 18:01:16 2009 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Mon, 21 Dec 2009 15:01:16 -0800 Subject: Passing parameters from Rev to Applescript Message-ID: <3f07cc260912211501t6902fffepa2deca715c40638@mail.gmail.com> Hmmm, I thought this was straightforward but I can't seem to get this to work. I want to pass a value from Rev to an applescript. Here is a simplified version of what I'm trying to do: on mouseup Put "Pictures" into tWindowName do field 1 as Applescript end mouseup Field 1 contains the following: Set theWindow to tWindowName Tell application "Finder" get bounds of window theWindow end tell This results in an applescript execution error. If I substitute "Pictures" for tWindowName, it works properly. But rather than hard-coding the window name into the applescript I want to pass it as a parameter. How can I take a Rev variable and pass it into an applscript? -- Regards, Howard Bornstein ----------------------- www.designeq.com From mcgrath3 at mac.com Mon Dec 21 18:03:27 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 21 Dec 2009 18:03:27 -0500 Subject: iRev How do I manage a different folder full of images In-Reply-To: <64bda6470912211221p42318367q2a8001010e57e4c3@mail.gmail.com> References: <57CD194F-4A2E-4424-B7BE-C1E2D5FA0374@mac.com> <64bda6470912211146r493fe91sadec08109af65255@mail.gmail.com> <64bda6470912211221p42318367q2a8001010e57e4c3@mail.gmail.com> Message-ID: <7F5099AC-DBE4-417A-9E81-70EC0CA62EE0@mac.com> The exact numbers are not important yet because I don't know how many will be uploaded (could be thousands). So, the best way I know how to describe what I am doing is that the Main folder is used for a pre determined number of images to be viewed on the Main website as "Latest uploads". But I want to mirror them in another folder that can't handle more than 100 at a time since that folder is viewed from a special Mobile site via Pipho/Jaipho that can't handle downloading more than 100 at a time without a major slow down of download time. BUT I could move new images into the Remote folder IF I move the oldest into another folder until that folder fills up and then I need to do it again when that fills up. etc. I don't need them to move per image and was thinking that I can move them based on a chunk of time (week or month) instead - as long as the Remote folders don't have too much more than 100 at a time. I could name the remote folders based on dates etc. This seems best as only the first remote folder would need watched and when it reaches 100 then maybe then I could just dump them all into another folder. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 21, 2009, at 3:21 PM, zryip theSlug wrote: > Sorry, I have to make this sentence more logical: > > 4) Each 100 files in the mirror folder you want to move the 100 > oldest files > from the mirror folder to a new folder. > > Like this: > > Each 100 files in the mirror folder you want to move the oldest files > from the mirror folder to a new folder. How many oldest files? > > Because move 100 files among 100 files, it's not really useful... ;) > > Sounds better ;) > > -Zryip TheSlug- wish you the best ! 8) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcgrath3 at mac.com Mon Dec 21 18:17:04 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 21 Dec 2009 18:17:04 -0500 Subject: Passing parameters from Rev to Applescript In-Reply-To: <3f07cc260912211501t6902fffepa2deca715c40638@mail.gmail.com> References: <3f07cc260912211501t6902fffepa2deca715c40638@mail.gmail.com> Message-ID: <6B02B6C2-BC0F-4E46-B005-D96AD00AF23E@mac.com> Add something like this: put field 1 into tTemp replace "tWindowName" with "Pictures" in tTemp do tTemp as Applescript I usually do special tag around 'replaceable' items like in replace "" with pProperty in tTheScript do tTheScript as applescript HTHs Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 21, 2009, at 6:01 PM, Howard Bornstein wrote: > Hmmm, I thought this was straightforward but I can't seem to get > this to > work. > > I want to pass a value from Rev to an applescript. Here is a > simplified > version of what I'm trying to do: > > on mouseup > Put "Pictures" into tWindowName > do field 1 as Applescript > end mouseup > > Field 1 contains the following: > > Set theWindow to tWindowName > Tell application "Finder" > get bounds of window theWindow > end tell > > This results in an applescript execution error. If I substitute > "Pictures" > for tWindowName, it works properly. But rather than hard-coding the > window > name into the applescript I want to pass it as a parameter. > > How can I take a Rev variable and pass it into an applscript? > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From howard.bornstein at gmail.com Mon Dec 21 18:26:49 2009 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Mon, 21 Dec 2009 15:26:49 -0800 Subject: Passing parameters from Rev to Applescript In-Reply-To: <6B02B6C2-BC0F-4E46-B005-D96AD00AF23E@mac.com> References: <3f07cc260912211501t6902fffepa2deca715c40638@mail.gmail.com> <6B02B6C2-BC0F-4E46-B005-D96AD00AF23E@mac.com> Message-ID: <3f07cc260912211526t115968e4ka70abb57c4806a84@mail.gmail.com> Thanks Tom, This does work. So do I gather however, that you can't pass or intermix Rev parameters directly with Applescript parameters? In other words, if I have a variable in Rev called tColor which contains "Red", I can't ever use that directly in an Applescript statement? Variables always have to be plugged in to a hard-coded AS statement using the replace command or something similar? -- Regards, Howard Bornstein ----------------------- www.designeq.com On Mon, Dec 21, 2009 at 3:17 PM, Thomas McGrath III wrote: > Add something like this: > > put field 1 into tTemp > replace "tWindowName" with "Pictures" in tTemp > do tTemp as Applescript > > > I usually do special tag around 'replaceable' items like in > replace "" with pProperty in tTheScript > do tTheScript as applescript > > HTHs > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > > > > > > > On Dec 21, 2009, at 6:01 PM, Howard Bornstein wrote: > > Hmmm, I thought this was straightforward but I can't seem to get this to >> work. >> >> I want to pass a value from Rev to an applescript. Here is a simplified >> version of what I'm trying to do: >> >> on mouseup >> Put "Pictures" into tWindowName >> do field 1 as Applescript >> end mouseup >> >> Field 1 contains the following: >> >> Set theWindow to tWindowName >> Tell application "Finder" >> get bounds of window theWindow >> end tell >> >> This results in an applescript execution error. If I substitute "Pictures" >> for tWindowName, it works properly. But rather than hard-coding the window >> name into the applescript I want to pass it as a parameter. >> >> How can I take a Rev variable and pass it into an applscript? >> >> -- >> Regards, >> >> Howard Bornstein >> ----------------------- >> www.designeq.com >> > From mcgrath3 at mac.com Mon Dec 21 18:44:30 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 21 Dec 2009 18:44:30 -0500 Subject: Passing parameters from Rev to Applescript In-Reply-To: <3f07cc260912211526t115968e4ka70abb57c4806a84@mail.gmail.com> References: <3f07cc260912211501t6902fffepa2deca715c40638@mail.gmail.com> <6B02B6C2-BC0F-4E46-B005-D96AD00AF23E@mac.com> <3f07cc260912211526t115968e4ka70abb57c4806a84@mail.gmail.com> Message-ID: <6EBD291C-06C1-4594-A5FF-35989A59A6FC@mac.com> Unless things have changed this is the only way I have ever seen it done. They have made some changes to do so I would check that just in case. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 21, 2009, at 6:26 PM, Howard Bornstein wrote: > Thanks Tom, > > This does work. So do I gather however, that you can't pass or > intermix Rev > parameters directly with Applescript parameters? In other words, if > I have a > variable in Rev called tColor which contains "Red", I can't ever use > that > directly in an Applescript statement? Variables always have to be > plugged in > to a hard-coded AS statement using the replace command or something > similar? > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.com > > On Mon, Dec 21, 2009 at 3:17 PM, Thomas McGrath III > wrote: > >> Add something like this: >> >> put field 1 into tTemp >> replace "tWindowName" with "Pictures" in tTemp >> do tTemp as Applescript >> >> >> I usually do special tag around 'replaceable' items like in >> replace "" with pProperty in tTheScript >> do tTheScript as applescript >> >> HTHs >> >> Tom McGrath III >> Lazy River Software >> 3mcgrath at comcast.net >> >> iTunes Library Suite - libITS >> Information and download can be found on this page: >> http://www.lazyriversoftware.com/RevOne.html >> >> >> >> >> >> >> >> On Dec 21, 2009, at 6:01 PM, Howard Bornstein wrote: >> >> Hmmm, I thought this was straightforward but I can't seem to get >> this to >>> work. >>> >>> I want to pass a value from Rev to an applescript. Here is a >>> simplified >>> version of what I'm trying to do: >>> >>> on mouseup >>> Put "Pictures" into tWindowName >>> do field 1 as Applescript >>> end mouseup >>> >>> Field 1 contains the following: >>> >>> Set theWindow to tWindowName >>> Tell application "Finder" >>> get bounds of window theWindow >>> end tell >>> >>> This results in an applescript execution error. If I substitute >>> "Pictures" >>> for tWindowName, it works properly. But rather than hard-coding >>> the window >>> name into the applescript I want to pass it as a parameter. >>> >>> How can I take a Rev variable and pass it into an applscript? >>> >>> -- >>> Regards, >>> >>> Howard Bornstein >>> ----------------------- >>> www.designeq.com >>> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcgrath3 at mac.com Mon Dec 21 18:53:30 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 21 Dec 2009 18:53:30 -0500 Subject: Passing parameters from Rev to Applescript In-Reply-To: <6EBD291C-06C1-4594-A5FF-35989A59A6FC@mac.com> References: <3f07cc260912211501t6902fffepa2deca715c40638@mail.gmail.com> <6B02B6C2-BC0F-4E46-B005-D96AD00AF23E@mac.com> <3f07cc260912211526t115968e4ka70abb57c4806a84@mail.gmail.com> <6EBD291C-06C1-4594-A5FF-35989A59A6FC@mac.com> Message-ID: I think it comes down to the fact that you have the AS in a field. If it was all via code then you could just script it together revolution variables and AS code, but then you would have to splice multiple AS lines together in your code. I actually find that using custom properties is easiest and then use "" so that when you REPLACE the you still get the quotes where they belong in the AS script, etc. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 21, 2009, at 6:44 PM, Thomas McGrath III wrote: > Unless things have changed this is the only way I have ever seen it > done. They have made some changes to do so I would check that just > in case. > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > > On Dec 21, 2009, at 6:26 PM, Howard Bornstein wrote: > >> Thanks Tom, >> >> This does work. So do I gather however, that you can't pass or >> intermix Rev >> parameters directly with Applescript parameters? In other words, if >> I have a >> variable in Rev called tColor which contains "Red", I can't ever >> use that >> directly in an Applescript statement? Variables always have to be >> plugged in >> to a hard-coded AS statement using the replace command or something >> similar? >> >> -- >> Regards, >> >> Howard Bornstein >> ----------------------- >> www.designeq.com >> >> On Mon, Dec 21, 2009 at 3:17 PM, Thomas McGrath III >> wrote: >> >>> Add something like this: >>> >>> put field 1 into tTemp >>> replace "tWindowName" with "Pictures" in tTemp >>> do tTemp as Applescript >>> >>> >>> I usually do special tag around 'replaceable' items like in >>> replace "" with pProperty in tTheScript >>> do tTheScript as applescript >>> >>> HTHs >>> >>> Tom McGrath III >>> Lazy River Software >>> 3mcgrath at comcast.net >>> >>> iTunes Library Suite - libITS >>> Information and download can be found on this page: >>> http://www.lazyriversoftware.com/RevOne.html >>> >>> >>> >>> >>> >>> >>> >>> On Dec 21, 2009, at 6:01 PM, Howard Bornstein wrote: >>> >>> Hmmm, I thought this was straightforward but I can't seem to get >>> this to >>>> work. >>>> >>>> I want to pass a value from Rev to an applescript. Here is a >>>> simplified >>>> version of what I'm trying to do: >>>> >>>> on mouseup >>>> Put "Pictures" into tWindowName >>>> do field 1 as Applescript >>>> end mouseup >>>> >>>> Field 1 contains the following: >>>> >>>> Set theWindow to tWindowName >>>> Tell application "Finder" >>>> get bounds of window theWindow >>>> end tell >>>> >>>> This results in an applescript execution error. If I substitute >>>> "Pictures" >>>> for tWindowName, it works properly. But rather than hard-coding >>>> the window >>>> name into the applescript I want to pass it as a parameter. >>>> >>>> How can I take a Rev variable and pass it into an applscript? >>>> >>>> -- >>>> Regards, >>>> >>>> Howard Bornstein >>>> ----------------------- >>>> www.designeq.com >>>> >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jimaultwins at yahoo.com Mon Dec 21 18:54:37 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Mon, 21 Dec 2009 15:54:37 -0800 Subject: Passing parameters from Rev to Applescript In-Reply-To: <3f07cc260912211526t115968e4ka70abb57c4806a84@mail.gmail.com> References: <3f07cc260912211501t6902fffepa2deca715c40638@mail.gmail.com> <6B02B6C2-BC0F-4E46-B005-D96AD00AF23E@mac.com> <3f07cc260912211526t115968e4ka70abb57c4806a84@mail.gmail.com> Message-ID: <7EB0258C-FF75-48F6-ACEE-AF5BCF633432@yahoo.com> You can do a technique of setting application variables and reading them from another app that is running. This is rather advanced, and can be dangerous to your process integrity, but it works. Otherwise, just go with the basic method that uses strings (hard-coded as you say) as if from a command line. Another gotcha can occur with the definition of line endings in Applescript. Beware passing data strings that can contain cr's because Applescript uses those a script line ending characters. This can give you an error in an Applescript that seems to run just fine otherwise. So, Rev declares its own global, script local, and handler local variables, and so does Applescript. This makes sense because both apps use variables and variable scoping differently. Hope this helps. Jim Ault Las Vegas On Dec 21, 2009, at 3:26 PM, Howard Bornstein wrote: > Thanks Tom, > > This does work. So do I gather however, that you can't pass or > intermix Rev > parameters directly with Applescript parameters? In other words, if > I have a > variable in Rev called tColor which contains "Red", I can't ever use > that > directly in an Applescript statement? Variables always have to be > plugged in > to a hard-coded AS statement using the replace command or something > similar? > > -- > Regards, > > Howard Bornstein From jimaultwins at yahoo.com Mon Dec 21 18:57:25 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Mon, 21 Dec 2009 15:57:25 -0800 Subject: iRev How do I manage a different folder full of images In-Reply-To: <7F5099AC-DBE4-417A-9E81-70EC0CA62EE0@mac.com> References: <57CD194F-4A2E-4424-B7BE-C1E2D5FA0374@mac.com> <64bda6470912211146r493fe91sadec08109af65255@mail.gmail.com> <64bda6470912211221p42318367q2a8001010e57e4c3@mail.gmail.com> <7F5099AC-DBE4-417A-9E81-70EC0CA62EE0@mac.com> Message-ID: Why not build and maintain a catalog of the folders on On-Rev, then let it decide what needs to move or go away. Jim Ault Las Vegas On Dec 21, 2009, at 3:03 PM, Thomas McGrath III wrote: > The exact numbers are not important yet because I don't know how > many will be uploaded (could be thousands). > So, the best way I know how to describe what I am doing is that the > Main folder is used for a pre determined number of images to be > viewed on the Main website as "Latest uploads". But I want to mirror > them in another folder that can't handle more than 100 at a time > since that folder is viewed from a special Mobile site via Pipho/ > Jaipho that can't handle downloading more than 100 at a time without > a major slow down of download time. BUT I could move new images into > the Remote folder IF I move the oldest into another folder until > that folder fills up and then I need to do it again when that fills > up. etc. > > I don't need them to move per image and was thinking that I can move > them based on a chunk of time (week or month) instead - as long as > the Remote folders don't have too much more than 100 at a time. I > could name the remote folders based on dates etc. This seems best as > only the first remote folder would need watched and when it reaches > 100 then maybe then I could just dump them all into another folder. > > From mcgrath3 at mac.com Mon Dec 21 19:08:02 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 21 Dec 2009 19:08:02 -0500 Subject: iRev How do I manage a different folder full of images In-Reply-To: References: <57CD194F-4A2E-4424-B7BE-C1E2D5FA0374@mac.com> <64bda6470912211146r493fe91sadec08109af65255@mail.gmail.com> <64bda6470912211221p42318367q2a8001010e57e4c3@mail.gmail.com> <7F5099AC-DBE4-417A-9E81-70EC0CA62EE0@mac.com> Message-ID: <6AF5AAF7-4CFF-4E38-8A17-F00227AC5CEF@mac.com> Jim, Is this a cPanel thing? When I get home I will look into that if so... Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 21, 2009, at 6:57 PM, Jim Ault wrote: > Why not build and maintain a catalog of the folders on On-Rev, then > let it decide what needs to move or go away. > > Jim Ault > Las Vegas > > > > On Dec 21, 2009, at 3:03 PM, Thomas McGrath III wrote: > >> The exact numbers are not important yet because I don't know how >> many will be uploaded (could be thousands). >> So, the best way I know how to describe what I am doing is that the >> Main folder is used for a pre determined number of images to be >> viewed on the Main website as "Latest uploads". But I want to >> mirror them in another folder that can't handle more than 100 at a >> time since that folder is viewed from a special Mobile site via >> Pipho/Jaipho that can't handle downloading more than 100 at a time >> without a major slow down of download time. BUT I could move new >> images into the Remote folder IF I move the oldest into another >> folder until that folder fills up and then I need to do it again >> when that fills up. etc. >> >> I don't need them to move per image and was thinking that I can >> move them based on a chunk of time (week or month) instead - as >> long as the Remote folders don't have too much more than 100 at a >> time. I could name the remote folders based on dates etc. This >> seems best as only the first remote folder would need watched and >> when it reaches 100 then maybe then I could just dump them all into >> another folder. >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jmyepes at mac.com Mon Dec 21 19:08:46 2009 From: jmyepes at mac.com (JosepM) Date: Mon, 21 Dec 2009 16:08:46 -0800 (PST) Subject: MacToIso Message-ID: <1261440526844-976649.post@n4.nabble.com> Hi, I have a doubt about how define the conversion characters between Mac and Windows. Better store all in ISO into the database and the Mac version of the app use the MacToIso and IsoToMac? Using the arrays to load the datagrid, convert before load into de datagrid or exist any better solution? What is yours experiences dealing with this? Salut, Josep -- View this message in context: http://n4.nabble.com/MacToIso-tp976649p976649.html Sent from the Revolution - User mailing list archive at Nabble.com. From sarah.reichelt at gmail.com Mon Dec 21 19:39:25 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 22 Dec 2009 10:39:25 +1000 Subject: Slideshows in iRev In-Reply-To: <4B2F12DB.40507@hyperactivesw.com> References: <4B2DBC41.6090406@hindu.org> <4B2E6E53.5060807@hyperactivesw.com> <4B2F12DB.40507@hyperactivesw.com> Message-ID: On Mon, Dec 21, 2009 at 4:16 PM, J. Landman Gay wrote: > Sarah (and Sivakatirswami) wrote: >> >> I would be very interested to see your code for this slideshow please. > > Ok, but it's almost too easy to post. There's a folder called "cgiphotos" of > flower images in the same directory as the irev page. Inside that folder is > also a text file named "cgiphotos.txt", which contains a list of all the > available photos. Each line of the list has a file name as item one and a > description as item two, like this: > Thanks Jacque. The transition was so smooth that I didn't realise you were using the REFRESH directive. I too have wrestled with the idea of keeping the slide show in order instead of just randomising, but it all seems too much like hard work :-) Maybe next year.... Cheers, Sarah From sarah.reichelt at gmail.com Mon Dec 21 19:55:50 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 22 Dec 2009 10:55:50 +1000 Subject: iRev How do I manage a different folder full of images In-Reply-To: <57CD194F-4A2E-4424-B7BE-C1E2D5FA0374@mac.com> References: <57CD194F-4A2E-4424-B7BE-C1E2D5FA0374@mac.com> Message-ID: On Mon, Dec 21, 2009 at 11:34 PM, Thomas McGrath III wrote: > Hello all and happy holidays to you all, > > I made an app for uploading photos remotely to a folder on on-rev. I also > have another folder that feeds a mobile viewer app. What I would like to do > is manage both of these folders. > > 1. When uploaded to folder A. after it reaches a predetermined amount like > 10 then make a DUPLICATE of them to folder B.? > 2. Be notified via an EMAIL that this has happened at certain TIMES. > 2. When folder A. reaches say 150 then DELETE all images in Folder A. (MAKE > SURE all have been moved to folder B. though) > 2. Keep an eye on folder B. when it reaches say 100 images then MOVE the > oldest photos to a new CREATED folder C. or if that is FULL than MOVE to a > new folder D. etc. > > How/what is the best way to do this in iRev scripts??? > > Duplicating, Deleting, Moving and then Creating folders > Time Checks and Email/notifications All the folder creation, file moving & file deleting stuff is just the same as in normal Rev scripts, and if done by an irev script file, will work perfectly online without any privilege problems. Emails can also be sent by an irev file - I use a set of functions by Splash21 that do emails. You can see the script here: . The real issue is the trigger for these scripts to run. If you wan them to run at specific times, then you will need to set up a cron job using your cPanel. This link is down the bottom in the Advanced section. Choose the Standard interface, and enter the command to run as something like this: curl http://yourusername.on-rev.com/processPhotos.irev Then select the time intervals. However before you set this up, you need to make sure the irev script is doing it's job, so I would write a version that produced output into the browser that told you what it was doing as it did it. Once that is debugged, you can make a silent version and use it for the cron job. You can also set up the cron job to email you whenever it operates. This is useful at first to confirm the task is happening when scheduled and to make sure there are no errors, but once it is all happening as required, you probably won't want this happening every time. HTH, Sarah From kee at kagi.com Mon Dec 21 21:06:07 2009 From: kee at kagi.com (Kee Nethery) Date: Mon, 21 Dec 2009 18:06:07 -0800 Subject: Passing parameters from Rev to Applescript In-Reply-To: <3f07cc260912211501t6902fffepa2deca715c40638@mail.gmail.com> References: <3f07cc260912211501t6902fffepa2deca715c40638@mail.gmail.com> Message-ID: <4054352D-D008-460B-8C33-EE13EC0188AF@kagi.com> On Dec 21, 2009, at 3:01 PM, Howard Bornstein wrote: > Hmmm, I thought this was straightforward but I can't seem to get this to > work. > > I want to pass a value from Rev to an applescript. Here is a simplified > version of what I'm trying to do: > > on mouseup > Put "Pictures" into tWindowName > do field 1 as Applescript > end mouseup > > Field 1 contains the following: > > Set theWindow to tWindowName > Tell application "Finder" > get bounds of window theWindow > end tell > > This results in an applescript execution error. If I substitute "Pictures" > for tWindowName, it works properly. But rather than hard-coding the window > name into the applescript I want to pass it as a parameter. tWindowName is not a variable. When it is in a field, it is just text. Nothing special about it. If you want this to work, what you could do is replace the text of tWindowName with the data you want it to contain. For example: on mouseup Put "Pictures" into tWindowName put field 1 into whatToSend replace "tWindowName" with quote & tWindowName & quote in whatToSend -- doing this replaces the text with the data in the variable do whatToSend as Applescript end mouseup From tsj at unimelb.edu.au Mon Dec 21 22:16:58 2009 From: tsj at unimelb.edu.au (Terry Judd) Date: Tue, 22 Dec 2009 14:16:58 +1100 Subject: Passing parameters from Rev to Applescript In-Reply-To: <4054352D-D008-460B-8C33-EE13EC0188AF@kagi.com> Message-ID: The merge function is really useful here. put "Pictures" into tWindowName do merge(fld 1) as applescript Where fld 1 contains... tell application "Finder" to get bounds of window "[[tWindowName]]" Terry... On 22/12/09 1:06 PM, "Kee Nethery" wrote: > > On Dec 21, 2009, at 3:01 PM, Howard Bornstein wrote: > >> Hmmm, I thought this was straightforward but I can't seem to get this to >> work. >> >> I want to pass a value from Rev to an applescript. Here is a simplified >> version of what I'm trying to do: >> >> on mouseup >> Put "Pictures" into tWindowName >> do field 1 as Applescript >> end mouseup >> >> Field 1 contains the following: >> >> Set theWindow to tWindowName >> Tell application "Finder" >> get bounds of window theWindow >> end tell >> >> This results in an applescript execution error. If I substitute "Pictures" >> for tWindowName, it works properly. But rather than hard-coding the window >> name into the applescript I want to pass it as a parameter. > > tWindowName is not a variable. When it is in a field, it is just text. Nothing > special about it. If you want this to work, what you could do is replace the > text of tWindowName with the data you want it to contain. For example: > > on mouseup > Put "Pictures" into tWindowName > put field 1 into whatToSend > replace "tWindowName" with quote & tWindowName & quote in whatToSend > -- doing this replaces the text with the data in the variable > do whatToSend as Applescript > end mouseup > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Mon Dec 21 22:37:53 2009 From: katir at hindu.org (Sivakatirswami) Date: Mon, 21 Dec 2009 17:37:53 -1000 Subject: Slideshows in iRev In-Reply-To: References: <4B2DBC41.6090406@hindu.org> <4B2E6E53.5060807@hyperactivesw.com> <4B2F12DB.40507@hyperactivesw.com> Message-ID: <4B303F11.5030507@hindu.org> Sarah Reichelt wrote: > On Mon, Dec 21, 2009 at 4:16 PM, J. Landman Gay > wrote: > >> Sarah (and Sivakatirswami) wrote: >> >>> I would be very interested to see your code for this slideshow please. >>> >> Ok, but it's almost too easy to post. There's a folder called "cgiphotos" of >> flower images in the same directory as the irev page. Inside that folder is >> also a text file named "cgiphotos.txt", which contains a list of all the >> available photos. Each line of the list has a file name as item one and a >> description as item two, like this: >> >> > > > Thanks Jacque. The transition was so smooth that I didn't realise you > were using the REFRESH directive. > I too have wrestled with the idea of keeping the slide show in order > instead of just randomising, but it all seems too much like hard work > :-) Maybe next year.... > I solved that one, a bit convoluted. But here is how it works using next and previous buttons. And in a day or so I will have it auto run in order. Basic concept is that you update a number post variable with each refresh. In this case I'm using the "model" used by a Flash slide framework call SlideShowPro director (Cool Iris does the same thing) which is you have a single SWF file and you use that as a kind of template for pushing all slide shows thru. In my case I set up an iRev template. Called "slideshow.irev" and target and iFrame. You can pass the URL of any folder with images in it. And it will run. e.g. this targets any folder with only images in it and a single title.txt file. if there were adjacent text files for each one they would be used as captions/descriptions (watch for wraps) e.g. both use the same irev file: http://www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/slideshows/srilanka/2009/nallur-july/ http://www.himalayanacademy.com/slideshows/templates/slideshow.irev?path=/resources/lexicon/images/backgrounds/ if I update the template, both slide shows will change accordingly. Then if you embed the iFrame into a page, then you can add other things to that page, in this case, music http://www.himalayanacademy.com/resources/lexicon/images/backgrounds/ The slideshow.irev is too long to post here. if anyone is interested I will create a web page were you can see the code. Eventual goal will be have individual sound files attached to each slide.... or I may bail on this if the plug-in gets there before I do with iRev. It will be sooo much easier. Then just leave this frame work for simple photo shows. > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From katir at hindu.org Mon Dec 21 23:45:13 2009 From: katir at hindu.org (Sivakatirswami) Date: Mon, 21 Dec 2009 18:45:13 -1000 Subject: Slideshows in iRev In-Reply-To: References: <4B2DBC41.6090406@hindu.org> <4B2E79BB.6080805@hindu.org> Message-ID: <4B304ED9.8070606@hindu.org> OK well I've reduced it to a single iRev template that runs alone or can be passed to an iFrame: see http://www.himalayanacademy.com/runrev/iRev_slideshow.html for the irev code. soooo much easier now than doing this via rev cgi's! It will be easy to hide the "next" and "Previous" buttons and simply pass the integer to the next slide to the refresh tag. Then we will have slide shows that take as long as it takes to process and upload the files (no thumbs yet in this framework) Om Shanti Sivakatirswami Production Manager www.HinduismToday.com Web Coordinator www.HimalayanAcademy.com stephen barncard wrote: > Years ago I had a Hypercard app that took the file-list of a bunch of photos > in a folder and stitched them together in a gallery. I had one index.html, > a thumbs.html, and two sets of html detail documents (two for each photo), > one used the 'refresh' tag and the other didn't - thereby the user could > choose which set to use to 'autoplay' or not. I had a flashing red dot gif > to indicate 'running' when using the auto mode. > > I batch-generated the reductions and thumbnails with GraphicConverter. I > could build a photo gallery for the web in about a minute. Back in 2001 > javascript was to be avoided at all costs - it caused crashing and > incompatibilities everywhere. A lot of text files, but it got the job done. > > This was used for years on the Crosby, Stills and Nash sites. > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > > > 2009/12/20 Sivakatirswami > >> Stephen barncard wrote: >> >> Oh! that one... yes I remember when (circa 1998) I went through our old >> web sites and removed all these redirects (very bad strategy from a CMS >> point of view, a nightmare in fact) and I put all the redirects into a >> single matrix file with a Rev cgi to drive 404's to other pages. (I still >> use it today... very sweet and easy to maintain and fast) >> >> But I can see the utility here. No sure if there are pros or cons to using >> this vs Javascript. One could add a button on the interface to post "run" to >> the iRev page and then the iRev page would start inserting this into the >> head... with the URL for the next slide updated on each round. If the user >> clicks a "stop" button then the iRev page removes this from the head and >> reverts to manual drive buttons.... >> >> I'll try it. Thanks! >> >> >> >> you can do the automatic advance in html using the REFRESH meta >>> tag >>> >>> I've built photo galleries around a lot of html pages and refresh tags. >>> >>> Depreciated by the W3C for redirects, but works like a champ for this >>> purpose. >>> >>> Place inside to refresh page after 5 seconds: >>> >>> >>> >>> Redirect to http://example.com/ after 5 seconds: >>> >>> >>> >>> Redirect to http://example.com/ immediately: >>> . >>> >>> >>> 2009/12/19 Sivakatirswami >>> >>> >>> >>>> while waiting for the plug-in to settle down ( I can't deploy revlets >>>> until >>>> the update function is working) >>>> >>>> >>>> Now, I'm wondering if there is a way to make this thing drive itself, so >>>> the user does not have to click the next button, using iRev code. >>>> >>>> >>>> >>>> >>> _______________________________________________ >>> >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Tue Dec 22 00:13:28 2009 From: katir at hindu.org (Sivakatirswami) Date: Mon, 21 Dec 2009 19:13:28 -1000 Subject: Slideshows in iRev In-Reply-To: <4B304ED9.8070606@hindu.org> References: <4B2DBC41.6090406@hindu.org> <4B2E79BB.6080805@hindu.org> <4B304ED9.8070606@hindu.org> Message-ID: <4B305578.4060904@hindu.org> Sivakatirswami wrote: Turned out to be "too easy" I just commented out the navigation buttons and passed the value I was poking into the 'next" button into the refresh tag and it worked straight away: http://www.himalayanacademy.com/slideshows/templates/slideshow-auto.irev?path=/slideshows/srilanka/2009/nallur-july/ > OK well I've reduced it to a single iRev template that runs alone or > can be passed to an iFrame: > > see > > http://www.himalayanacademy.com/runrev/iRev_slideshow.html > > for the irev code. soooo much easier now than doing this via rev cgi's! > > It will be easy to hide the "next" and "Previous" buttons and simply > pass the integer to the next slide to the refresh tag. > > Then we will have slide shows that take as long as it takes to process > and upload the files (no thumbs yet in this framework) > > Om Shanti > Sivakatirswami > > Production Manager > www.HinduismToday.com > Web Coordinator > www.HimalayanAcademy.com > > > > > stephen barncard wrote: >> Years ago I had a Hypercard app that took the file-list of a bunch of >> photos >> in a folder and stitched them together in a gallery. I had one >> index.html, >> a thumbs.html, and two sets of html detail documents (two for each >> photo), >> one used the 'refresh' tag and the other didn't - thereby the user could >> choose which set to use to 'autoplay' or not. I had a flashing red >> dot gif >> to indicate 'running' when using the auto mode. >> >> I batch-generated the reductions and thumbnails with >> GraphicConverter. I >> could build a photo gallery for the web in about a minute. Back in 2001 >> javascript was to be avoided at all costs - it caused crashing and >> incompatibilities everywhere. A lot of text files, but it got the >> job done. >> >> This was used for years on the Crosby, Stills and Nash sites. >> ------------------------- >> Stephen Barncard >> San Francisco >> http://houseofcubes.com/disco.irev >> >> >> 2009/12/20 Sivakatirswami >> >>> Stephen barncard wrote: >>> >>> Oh! that one... yes I remember when (circa 1998) I went through our >>> old >>> web sites and removed all these redirects (very bad strategy from a CMS >>> point of view, a nightmare in fact) and I put all the redirects into a >>> single matrix file with a Rev cgi to drive 404's to other pages. (I >>> still >>> use it today... very sweet and easy to maintain and fast) >>> >>> But I can see the utility here. No sure if there are pros or cons to >>> using >>> this vs Javascript. One could add a button on the interface to post >>> "run" to >>> the iRev page and then the iRev page would start inserting this into >>> the >>> head... with the URL for the next slide updated on each round. If >>> the user >>> clicks a "stop" button then the iRev page removes this from the head >>> and >>> reverts to manual drive buttons.... >>> >>> I'll try it. Thanks! >>> >>> >>> >>> you can do the automatic advance in html using the REFRESH meta >>>> tag >>>> >>>> I've built photo galleries around a lot of html pages and refresh >>>> tags. >>>> >>>> Depreciated by the W3C for redirects, but works like a champ for this >>>> purpose. >>>> >>>> Place inside to refresh page after 5 seconds: >>>> >>>> >>>> >>>> Redirect to http://example.com/ after 5 seconds: >>>> >>>> >>>> >>>> Redirect to http://example.com/ immediately: >>>> . >>>> >>>> >>>> 2009/12/19 Sivakatirswami >>>> >>>> >>>> >>>>> while waiting for the plug-in to settle down ( I can't deploy revlets >>>>> until >>>>> the update function is working) >>>>> >>>>> >>>>> Now, I'm wondering if there is a way to make this thing drive >>>>> itself, so >>>>> the user does not have to click the next button, using iRev code. >>>>> >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> From jimaultwins at yahoo.com Tue Dec 22 01:01:12 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Mon, 21 Dec 2009 22:01:12 -0800 Subject: iRev How do I manage a different folder full of images In-Reply-To: <6AF5AAF7-4CFF-4E38-8A17-F00227AC5CEF@mac.com> References: <57CD194F-4A2E-4424-B7BE-C1E2D5FA0374@mac.com> <64bda6470912211146r493fe91sadec08109af65255@mail.gmail.com> <64bda6470912211221p42318367q2a8001010e57e4c3@mail.gmail.com> <7F5099AC-DBE4-417A-9E81-70EC0CA62EE0@mac.com> <6AF5AAF7-4CFF-4E38-8A17-F00227AC5CEF@mac.com> Message-ID: <8AF44BA0-2FCB-40D7-B27C-F7E5CCCDAA7A@yahoo.com> See Sarah's reply that discusses the most logical way to do the irev- script-call (cron job from cPanel). Actually, any way you can start the irev script that would look at the various folders on the various servers and hard drives would cause the update. When I was running a server at a real estate company about 10 years ago, I had an Applescript send me an email every five minutes so that I could tell if it was running, and if not, when it had stopped. This would be overkill for you, but an email a day could do the trick. All you would have to do is call the irev script from any computer. You could make a small app and have it do: on updateTrigger --running on your computer if button "ckbxRunning" is true then get url ("http://myaccount.on-rev.com/task/updateCatalog.irev") --this merely triggers the script to do its thing send "updateTrigger" to me in (60*60*12) seconds end if end updateTrigger Also, you could trigger the script from any browser or server that runs a script or displays a page using html. Jim Ault Las Vegas On Dec 21, 2009, at 4:08 PM, Thomas McGrath III wrote: > Jim, Is this a cPanel thing? When I get home I will look into that > if so... > > On Dec 21, 2009, at 6:57 PM, Jim Ault wrote: > >> Why not build and maintain a catalog of the folders on On-Rev, then >> let it decide what needs to move or go away. >> >> On Dec 21, 2009, at 3:03 PM, Thomas McGrath III wrote: >> >>> The exact numbers are not important yet because I don't know how >>> many will be uploaded (could be thousands). >>> So, the best way I know how to describe what I am doing is that >>> the Main folder is used for a pre determined number of images to >>> be viewed on the Main website as "Latest uploads". But I want to >>> mirror them in another folder that can't handle more than 100 at a >>> time since that folder is viewed from a special Mobile site via >>> Pipho/Jaipho that can't handle downloading more than 100 at a time >>> without a major slow down of download time. BUT I could move new >>> images into the Remote folder IF I move the oldest into another >>> folder until that folder fills up and then I need to do it again >>> when that fills up. etc. >>> >>> I don't need them to move per image and was thinking that I can >>> move them based on a chunk of time (week or month) instead - as >>> long as the Remote folders don't have too much more than 100 at a >>> time. I could name the remote folders based on dates etc. This >>> seems best as only the first remote folder would need watched and >>> when it reaches 100 then maybe then I could just dump them all >>> into another folder. >>> >>> From howard.bornstein at gmail.com Tue Dec 22 04:13:28 2009 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Tue, 22 Dec 2009 01:13:28 -0800 Subject: Passing parameters from Rev to Applescript In-Reply-To: References: <4054352D-D008-460B-8C33-EE13EC0188AF@kagi.com> Message-ID: <3f07cc260912220113y54150219r22608ae7be57ab49@mail.gmail.com> I wanted to thank everyone for their explanations and helpful solutions. I understand the issue now and have been able to make this work for my application. As usual, this group has come up with a variety of approaches and I am always amazed at alternative methods possible to accomplish a task, as well as the kindness and helpfulness of the members of this list. Thank you all. -- Regards, Howard Bornstein ----------------------- www.designeq.com From jimaultwins at yahoo.com Tue Dec 22 06:13:08 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 22 Dec 2009 03:13:08 -0800 Subject: Confused about my first irev file Message-ID: <4969C7C9-CABE-467A-8187-040C1DA124DC@yahoo.com> Using the script below, I get an error Can't find handler when executing the line with 'tempp' in it and the script stops. Why can't I set a variable to a value using put? ------------------ " put "num 1" into tempp put "tree leaves are green" ?> -----output is---------- line of something num 1 --------------------- Jim Ault Las Vegas From sarah.reichelt at gmail.com Tue Dec 22 06:32:46 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 22 Dec 2009 21:32:46 +1000 Subject: Confused about my first irev file In-Reply-To: <4969C7C9-CABE-467A-8187-040C1DA124DC@yahoo.com> References: <4969C7C9-CABE-467A-8187-040C1DA124DC@yahoo.com> Message-ID: On Tue, Dec 22, 2009 at 9:13 PM, Jim Ault wrote: > Using the script below, I get an error > ?Can't find handler > when executing the line with 'tempp' in it > and the script stops. > Why can't I set a variable to a value using put? > > ------------------ > > breakpoint > put "line of something" & "
" > put "num 1" into tempp > put "tree leaves are green" > ?> > > -----output is---------- > line of something > num 1 > --------------------- I copied your script into an irev file and it works perfectly Are you sure you don't have some weird characters in there? Are you using the On-Rev editor or something else - if something else, have you checked the line endings? Cheers, Sarah From jimaultwins at yahoo.com Tue Dec 22 07:25:27 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 22 Dec 2009 04:25:27 -0800 Subject: Confused about my first irev file In-Reply-To: References: <4969C7C9-CABE-467A-8187-040C1DA124DC@yahoo.com> Message-ID: <8FFB4BBB-9C2B-4092-9A10-88BB6C7E2873@yahoo.com> I am using the OnRev desktop editor/debugger Now that I have retyped the entire script, I don't get the error. It turns out that using the clipboard to move text from a note-taking program I have, then copy-paste into the OnRev desktop app window transferred junk white space. I use BBEdit in uinx LF mode, but that did not do the trick, since indents were set as tab chars. Mucho problems with white space, so I need to be careful of my workflow. Pasting in to a Rev 3.5 script window and compiling does not convert the white space. I will make a test factory cleaning program to convert line endings, tabs and spaces correctly. Thanks for the quick response. And now to finish my single-page-refresh sequential slideshow solution using irev. Jim Ault Las Vegas On Dec 22, 2009, at 3:32 AM, Sarah Reichelt wrote: > On Tue, Dec 22, 2009 at 9:13 PM, Jim Ault > wrote: >> Using the script below, I get an error >> Can't find handler >> when executing the line with 'tempp' in it >> and the script stops. >> Why can't I set a variable to a value using put? >> >> ------------------ >> >> > breakpoint >> put "line of something" & "
" >> put "num 1" into tempp >> put "tree leaves are green" >> ?> >> >> -----output is---------- >> line of something >> num 1 >> --------------------- > > > I copied your script into an irev file and it works perfectly > > Are you sure you don't have some weird characters in there? > Are you using the On-Rev editor or something else - if something else, > have you checked the line endings? > > Cheers, > Sarah From liste.revo at medard.on-rev.com Tue Dec 22 07:37:59 2009 From: liste.revo at medard.on-rev.com (Medard) Date: Tue, 22 Dec 2009 13:37:59 +0100 Subject: Confused about my first irev file In-Reply-To: <8FFB4BBB-9C2B-4092-9A10-88BB6C7E2873@yahoo.com> Message-ID: <1jb4ofh.1naqfdy1t8ojubM%liste.revo@medard.on-rev.com> Jim Ault wrote: > It turns out that using the clipboard to move text from a note-taking > program I have, then copy-paste into the OnRev desktop app window > transferred junk white space. I use BBEdit in uinx LF mode, but that > did not do the trick, since indents were set as tab chars. Seems weird. I am using TextWrangler (from the same merchant) and I didn't see those problems... By the way, I *had* problems using TextEdit on my iMac, due to charset and line endings differences! From jimaultwins at yahoo.com Tue Dec 22 07:54:42 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 22 Dec 2009 04:54:42 -0800 Subject: Confused about my first irev file In-Reply-To: <1jb4ofh.1naqfdy1t8ojubM%liste.revo@medard.on-rev.com> References: <1jb4ofh.1naqfdy1t8ojubM%liste.revo@medard.on-rev.com> Message-ID: <115BF282-56E5-48A0-9896-88A4338D41DF@yahoo.com> BBEdite was not the issue. My situation was handled by doing BBEdit convert to ascii detab.. to produce clean white space. The code source for me was note-taking software that has its own reasons for indenting, etc. Storing scripts for later use was the idea, and now I know how to document, store, and retrieve code in my workflow. Thanks for the help. Jim Ault Las Vegas On Dec 22, 2009, at 4:37 AM, Medard wrote: > Jim Ault wrote: > >> It turns out that using the clipboard to move text from a note-taking >> program I have, then copy-paste into the OnRev desktop app window >> transferred junk white space. I use BBEdit in uinx LF mode, but that >> did not do the trick, since indents were set as tab chars. > > Seems weird. > I am using TextWrangler (from the same merchant) and I didn't see > those > problems... > > By the way, I *had* problems using TextEdit on my iMac, due to charset > and line endings differences! From lists at mangomultimedia.com Tue Dec 22 08:14:35 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 22 Dec 2009 08:14:35 -0500 Subject: MacToIso In-Reply-To: <1261440526844-976649.post@n4.nabble.com> References: <1261440526844-976649.post@n4.nabble.com> Message-ID: On Dec 21, 2009, at 7:08 PM, JosepM wrote: > I have a doubt about how define the conversion characters between > Mac and > Windows. > > Better store all in ISO into the database and the Mac version of the > app use > the MacToIso and IsoToMac? > Using the arrays to load the datagrid, convert before load into de > datagrid > or exist any better solution? > > What is yours experiences dealing with this? In my projects I store data as UTF8 (in a database). This provides unicode support, allows me to view the data in a database application. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From jimaultwins at yahoo.com Tue Dec 22 09:58:44 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 22 Dec 2009 06:58:44 -0800 Subject: Slideshows in iRev In-Reply-To: <4B2F12DB.40507@hyperactivesw.com> References: <4B2DBC41.6090406@hindu.org> <4B2E6E53.5060807@hyperactivesw.com> <4B2F12DB.40507@hyperactivesw.com> Message-ID: <78195D89-2E41-4CFD-AE9B-BB052C1ABEAE@yahoo.com> > could be modified to pass a control parameter with each refresh of the same page. Use the form of the CONTENT parameter to include the same url of the page + one param -1- assume this page is "http://coolAccount.on-rev.com/slideShowParams.irev -2- the following irev code is added to the slideShowParams.irev document -3- while still in the head section of the page use this line: so that you are defining pImageNum as a number for the next slide of course, you could use any number, not just incrementing -4- caution to note the exact location of the quotation marks This line will also work using single quotes. Browsers honor both. This example is using the same page URL 10 seconds from now to reload the page and pass a parameter that will choose the next slide in sequence. If pImageNum is missing, empty, or not a number, we use 1. This is yet another way to get a slide show sequence in order. ((( my working IREV script will be in the next email ))) Working page for 10 second refresh is http://ampower.on-rev.com/slideshow/slideShowParams.irev Jim Ault Las Vegas On Dec 20, 2009, at 10:16 PM, J. Landman Gay wrote: > Sarah (and Sivakatirswami) wrote: >> I would be very interested to see your code for this slideshow >> please. > > Ok, but it's almost too easy to post. There's a folder called > "cgiphotos" of flower images in the same directory as the irev page. > Inside that folder is also a text file named "cgiphotos.txt", which > contains a list of all the available photos. Each line of the list > has a file name as item one and a description as item two, like this: > > daisies.jpg,Daisies > columbine2.jpg,Columbine > etc > > In the html where I want the slideshow image to display, I choose a > random image and stuff that into the img src tag: > > put any line of url ("file:cgiphotos/cgiphotos.txt") into tFlower > ?> > > height="240" border="1" /> > > And later at the bottom of the page where I want the description to > appear: > > > > I just use the refresh directive in a header to reload the page > every ten seconds: > > > > Pretty easy. If you wanted the slide show to be in a strict order, > it would be harder. I think you'd need to either set up cookies, or > write the current line to disk and read that for each reload, then > update the counter in the text file with the next line number. > > Or if you didn't want to keep a text file, you could read the files > in the directory and get the list that way too. From viktoras at ekoinf.net Tue Dec 22 10:43:34 2009 From: viktoras at ekoinf.net (viktoras d.) Date: Tue, 22 Dec 2009 15:43:34 +0000 Subject: [OT] dedicated server hosting in the UK, Australia and the USA In-Reply-To: <4969C7C9-CABE-467A-8187-040C1DA124DC@yahoo.com> References: <4969C7C9-CABE-467A-8187-040C1DA124DC@yahoo.com> Message-ID: <4B30E926.8020308@ekoinf.net> sorry for this off-topic. I am struggling to find out prices for dedicated hosting on virtualized Linux servers and many hosting websites seem to hide their prices. Many of them offer to fill up a questionnaire with server configuration settings so they can call back and negotiate the price. This is quite unusual for me as pricing plans in my own country are not usually treated as commercial secrets or something that is hidden from customer and look like this: plan D10 > 10 GB 256 MB > 3 Mbps 30% Xeon 29 Lt/m?n. (7.6 ?/month) D20 > 20 GB 512 MB > 5 Mbps 40% Xeon 39 Lt/m?n. (10.2 ?/month) D30 > 30 GB 768 MB > 7 Mbps 50% Xeon 49 Lt/m?n. (12.8 ?/month) D40 > 40 GB 1024 MB > 9 Mbps 60% Xeon 59 Lt/m?n. (15.5 ?/month) D60 > 60 GB 1536 MB > 12 Mbps 80% Xeon 79 Lt/m?n. (20.8 ?/month) D80 > 80 GB 2048 MB > 15 Mbps 100% Xeon 99 Lt/m?n. (26.05 ?/month) G100 > 100 GB 4 GB > 20 Mbps 2 x Xeon 299 Lt/m?n. (78.68 ?/month) G200 > 200 GB 8 GB > 40 Mbps 4 x Xeon 399 Lt/m?n. (105 ?/month) G300 > 300 GB 12 GB > 60 Mbps 6 x Xeon 499 Lt/m?n. (131.32 ?/month) G400 > 400 GB 16 GB > 80 Mbps 8 x Xeon 599 Lt/m?n. (157.63 ?/month) Can anyone tell what the prices are for anything like plans in between D80 and G200 in the UK, USA and Australia? Any names of the "most reliable" hosting service providers?.. Best wishes & Christmas Greetings! Viktoras From jmyepes at mac.com Tue Dec 22 10:49:51 2009 From: jmyepes at mac.com (JosepM) Date: Tue, 22 Dec 2009 07:49:51 -0800 (PST) Subject: MacToIso In-Reply-To: References: <1261440526844-976649.post@n4.nabble.com> Message-ID: This morning I tryed to use the unicode but all was errors in the data store and retrieved. In the datagrid how use the unicode? What is better, convert the array before to assing to the datagrid or use the unicode function in the "FillInData"? Also I haven't clear when encode or decode de unicode. Salut, Josep El 22/12/2009, a las 14:14, Trevor DeVore [via Runtime Revolution] escribi?: > On Dec 21, 2009, at 7:08 PM, JosepM wrote: > > > I have a doubt about how define the conversion characters between > > Mac and > > Windows. > > > > Better store all in ISO into the database and the Mac version of the > > app use > > the MacToIso and IsoToMac? > > Using the arrays to load the datagrid, convert before load into de > > datagrid > > or exist any better solution? > > > > What is yours experiences dealing with this? > > In my projects I store data as UTF8 (in a database). This provides > unicode support, allows me to view the data in a database application. > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com > _______________________________________________ > use-revolution mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > View message @ http://n4.nabble.com/MacToIso-tp976649p976970.html > To unsubscribe from MacToIso, click here. > -- View this message in context: http://n4.nabble.com/MacToIso-tp976649p977054.html Sent from the Revolution - User mailing list archive at Nabble.com. From lists at mangomultimedia.com Tue Dec 22 11:05:53 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 22 Dec 2009 11:05:53 -0500 Subject: MacToIso In-Reply-To: References: <1261440526844-976649.post@n4.nabble.com> Message-ID: <64093D6B-8C73-43D1-8226-DF2DA5063FB3@mangomultimedia.com> On Dec 22, 2009, at 10:49 AM, JosepM wrote: > This morning I tryed to use the unicode but all was errors in the data > store and retrieved. > In the datagrid how use the unicode? What is better, convert the array > before to assing to the datagrid or use the unicode function in the > "FillInData"? Personally I do the conversion in FillInData. If you are creating the array that you are assigning to the Data Grid by hand then you can convert at that point as well. I am usually fetching data from the database using SQL Yoga though. What If I Need to Work With htmlText, rtfText or unicodeText?: See the getprop/setprop handlers below. Using the handlers you can have code in FillInData that looks like this: on FillInData pData set the uUTF8Text of field "Name" of me to pData end FillInData > Also I haven't clear when encode or decode de unicode. You will need to convert when setting or getting the text of a field. I use the attached set/getProps for working with UTF8 text. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com ====================== CODE ====================== setprop uUTF8Text pText set the unicodetext of the target to uniencode(pText, "UTF8") end uUTF8Text getprop uUTF8Text return _UTF16ToUTF8(the unicodetext of the target) end uUTF8Text From stephenREVOLUTION2 at barncard.com Tue Dec 22 11:37:21 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 22 Dec 2009 08:37:21 -0800 Subject: [OT] dedicated server hosting in the UK, Australia and the USA In-Reply-To: <4B30E926.8020308@ekoinf.net> References: <4969C7C9-CABE-467A-8187-040C1DA124DC@yahoo.com> <4B30E926.8020308@ekoinf.net> Message-ID: Check out the offerings from Dreamhost: http://www.dreamhost.com/hosting-vps.html I'm starting my 6th year as a Dreamhost customer. I'm hoping they offer the Rev server product soon, and are one of the host that are the most likely to do so. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/22 viktoras d. > sorry for this off-topic. I am struggling to find out prices for dedicated > hosting on virtualized Linux servers and many hosting websites seem to hide > their prices. Many of them offer to fill up a questionnaire with server > configuration settings so they can call back and negotiate the price. This > is quite unusual for me as pricing plans in my own country are not usually > treated as commercial secrets or something that is hidden from customer and > look like this: > > plan > D10 > 10 GB 256 MB > 3 Mbps 30% Xeon 29 Lt/m?n. (7.6 ?/month) > D20 > 20 GB 512 MB > 5 Mbps 40% Xeon 39 Lt/m?n. (10.2 ?/month) > D30 > 30 GB 768 MB > 7 Mbps 50% Xeon 49 Lt/m?n. (12.8 ?/month) > D40 > 40 GB 1024 MB > 9 Mbps 60% Xeon 59 Lt/m?n. (15.5 ?/month) > D60 > 60 GB 1536 MB > 12 Mbps 80% Xeon 79 Lt/m?n. (20.8 ?/month) > D80 > 80 GB 2048 MB > 15 Mbps 100% Xeon 99 Lt/m?n. (26.05 ?/month) > G100 > 100 GB 4 GB > 20 Mbps 2 x Xeon 299 Lt/m?n. (78.68 ?/month) > G200 > 200 GB 8 GB > 40 Mbps 4 x Xeon 399 Lt/m?n. (105 ?/month) > G300 > 300 GB 12 GB > 60 Mbps 6 x Xeon 499 Lt/m?n. (131.32 ?/month) > G400 > 400 GB 16 GB > 80 Mbps 8 x Xeon 599 Lt/m?n. (157.63 ?/month) > > Can anyone tell what the prices are for anything like plans in between D80 > and G200 in the UK, USA and Australia? Any names of the "most reliable" > hosting service providers?.. > > Best wishes & Christmas Greetings! > Viktoras > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Tue Dec 22 12:04:42 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 22 Dec 2009 09:04:42 -0800 Subject: [OT] dedicated server hosting in the UK, Australia and the USA Message-ID: <4B30FC2A.5010107@fourthworld.com> stephen barncard wrote: > > Check out the offerings from Dreamhost: > > http://www.dreamhost.com/hosting-vps.html > > I'm starting my 6th year as a Dreamhost customer. I'm hoping they offer the > Rev server product soon, and are one of the host that are the most likely to > do so. I can second the vote of confidence for Dreamhost. I've been using them for about five years, and I've been so happy with them I've moved nearly all of my domains there, and many domains for my clients. My own needs are somewhat modest so I've been using only their shared hosting package, but their rates for dedicated servers are quite competitive. In my experience their infrastructure is at least as solid as any other host I've used, often more so, and their email support has been prompt with complete and helpful answers arriving within an hour or two at most. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From sims at ezpzapps.com Tue Dec 22 12:05:43 2009 From: sims at ezpzapps.com (jim sims) Date: Tue, 22 Dec 2009 18:05:43 +0100 Subject: button - ID number - image object - filename - folder of pngs and jpgs Message-ID: <75848368-94D5-4A32-B69F-21DAF5511756@ezpzapps.com> I've inherited some stacks that use the following method to display icon images for lots of buttons on OS X. A separate card in the stack contains hundreds of image objects, each of these have a filename set to a unique image which resides in a folder. For example, one such filename is ./Images/PageTitles/ classification.png These image objects are then referenced by lots of buttons which set their icons to the ID number of the image object on the above mentioned 'image card'. So, the icon ID of a button is set to an image objects ID number but that image object gets its image from a file in a folder that sits next to the standalone. Phew. As there are tons of these referenced objects using ID numbers, I am hesitant to change the system the person has put into place. The above system works alright in the IDE if the folder of images is placed correctly. My problem is when I make a standalone. The first time the standalone is run, none of the images (as explained above) appear in the buttons. However, the second time I open the standalone it all seems to work fine, all images appear as desired. If you are still reading this, I am in awe of your patience. ;-) What can I do to ensure that all these images work the first time the app is opened? sims From jerry.daniels at me.com Tue Dec 22 12:31:03 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 22 Dec 2009 11:31:03 -0600 Subject: [ANN] tRev Pre-holiday Update! Message-ID: Dear tRev fanciers, We have just posted a fairly significant pre-holiday update for tRev. We're making room for the revelation of our Easter Egg feature on Christmas day. No one has found the egg, btw. Below you'll see a link to a 4 minute video showing you our new Transparent Inspection feature. It has a much enhanced UI that does not require the use of the option key. This, in turn, has freed up the use of the option key. Details on the page to which this link points: http://reveditor.com/pre-holiday-update Best, Jerry Daniels http://reveditor.com Want to edit something? We can help. From jimaultwins at yahoo.com Tue Dec 22 13:17:14 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 22 Dec 2009 10:17:14 -0800 Subject: script - Slideshow in Rev using one page Message-ID: This uses Demo of Sequential Slide Show Using a Param<?title> <meta http-equiv='content-type' content='text/html; charset=utf-8' /> <?rev # using (html & javascript)-legal single quotes makes things easier put "slideShowParams" into thisPageName get "<meta HTTP-EQUIV='refresh' CONTENT='10; URL=" get IT & thisPageName get IT & ".irev?pImageNum=zNextImgNumberz'>" put IT into refreshTag --keep this string for later #Jacque's lists of copyrighted images (7) get "vinca.jpg thistleFluff.jpg pinkHoneysuckle2.jpg" get IT && "milkweed2.jpg lamiumClose2.jpg cosmos2.jpg clematis3.jpg" put IT into imageList put $_GET["pImageNum"] into pImageNum put "new $_GET[ pImageNum ] equals " & pImageNum #detect conditions and react try if pImageNum is not a number then put 1 into pImageNum catch errnum put 1 into pImageNum end try get the number of words in imageList if pImageNum > IT then put 1 into pImageNum end if put word pImageNum of imageList into tFlower --for this page put pImageNum + 1 into nextImgNumber --for next time replace "zNextImgNumberz" with nextImgNumber in refreshTag put refreshTag --write this line in the head section ?> </head> <body> <div > <p>Seven of Jacque's copyrighted images in sequence (looping)</p> <blockquote> <img src='<?rev put tFlower ?> ' width='320' height='240' border='1' /> </blockquote> </div> <?rev put "(this, next) equals.. (" & pImageNum &", " && nextImgNumber & ")" ?> </body> </html> --------------------------------- Working example running on a 10 second cycle. http://ampower.on-rev.com/slideshow/slideShowParams.irev Many variations possible. Hope this helps someone. Jim Ault Las Vegas From jacque at hyperactivesw.com Tue Dec 22 13:27:31 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Dec 2009 12:27:31 -0600 Subject: [OT] dedicated server hosting in the UK, Australia and the USA In-Reply-To: <4B30E926.8020308@ekoinf.net> References: <4969C7C9-CABE-467A-8187-040C1DA124DC@yahoo.com> <4B30E926.8020308@ekoinf.net> Message-ID: <4B310F93.1060806@hyperactivesw.com> viktoras d. wrote: > Can anyone tell what the prices are for anything like plans in between > D80 and G200 in the UK, USA and Australia? Any names of the "most > reliable" hosting service providers?.. I always recommend jaguarpc.com. I've been with them for almost 10 years and I really like them. Unlimited disk space, unlimited bandwidth, and very inexpensive. Some of the best tech support too, tickets are usually answered within a few minutes. If you pay a year at a time, price is under $7 U.S. per month. I needed to change to a private IP recently and it was only an extra dollar. They support Rev CGIs without any problem, I never had to contact them about it, all the libraries Rev needs are already installed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 22 13:50:45 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Dec 2009 12:50:45 -0600 Subject: Interface question Message-ID: <4B311505.3000708@hyperactivesw.com> I've got another interface problem I can't decide how to solve, maybe some of you have ideas. I have an app that creates various printouts. These are all hard-coded; i.e., the end user never sees the templates and can't change them. In the app's preferences, though, they are allowed to add custom header and footer text that will appear on each printout. This info is entered into fields in the prefs stack. They can also set the tabstops by moving little sliding arrows, so that they can control the text placement in each header or footer by adding and positioning tabs. Because the prefs stack is much smaller than the print template stacks, the text entry fields are also not as wide. To give the user a way to visualize how their tabstops will look, the textsize in the entry fields is very small. This gives the right ratio between field width and text size, so that they get a fairly accurate idea of the text placement in the header or footer as they slide the tabstops around. So now the client says the text is too small to read easily (which is true) and he'd like it legible. Problem is, if I increase the text size, the relative ratio of the tabstops will not be accurate and the fields will not display the relative text placement correctly. I need a clever idea on how to display accurate text positioning while maintaining legibility. I've thought of a few things, but nothing I like. Tooltips that show what the text says might be one way, but I don't really like that much. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Tue Dec 22 13:56:19 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 22 Dec 2009 10:56:19 -0800 Subject: Interface question In-Reply-To: <4B311505.3000708@hyperactivesw.com> References: <4B311505.3000708@hyperactivesw.com> Message-ID: <e5e009d70912221056k1701ad48y4701b55e9aac8cfe@mail.gmail.com> I've used a special, fixed font popup plain text field for entry. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/22 J. Landman Gay <jacque at hyperactivesw.com> > I've got another interface problem I can't decide how to solve, maybe some > of you have ideas. > > I have an app that creates various printouts. These are all hard-coded; > i.e., the end user never sees the templates and can't change them. In the > app's preferences, though, they are allowed to add custom header and footer > text that will appear on each printout. This info is entered into fields in > the prefs stack. They can also set the tabstops by moving little sliding > arrows, so that they can control the text placement in each header or footer > by adding and positioning tabs. > > Because the prefs stack is much smaller than the print template stacks, the > text entry fields are also not as wide. To give the user a way to visualize > how their tabstops will look, the textsize in the entry fields is very > small. This gives the right ratio between field width and text size, so that > they get a fairly accurate idea of the text placement in the header or > footer as they slide the tabstops around. > > So now the client says the text is too small to read easily (which is true) > and he'd like it legible. Problem is, if I increase the text size, the > relative ratio of the tabstops will not be accurate and the fields will not > display the relative text placement correctly. > > I need a clever idea on how to display accurate text positioning while > maintaining legibility. I've thought of a few things, but nothing I like. > Tooltips that show what the text says might be one way, but I don't really > like that much. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From devin_asay at byu.edu Tue Dec 22 13:56:52 2009 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 22 Dec 2009 11:56:52 -0700 Subject: Interface question In-Reply-To: <4B311505.3000708@hyperactivesw.com> References: <4B311505.3000708@hyperactivesw.com> Message-ID: <02548932-61FC-483D-A658-9DCAD4CA305A@byu.edu> On Dec 22, 2009, at 11:50 AM, J. Landman Gay wrote: > I've got another interface problem I can't decide how to solve, maybe > some of you have ideas. > > I have an app that creates various printouts. These are all hard- > coded; > i.e., the end user never sees the templates and can't change them. In > the app's preferences, though, they are allowed to add custom header > and > footer text that will appear on each printout. This info is entered > into > fields in the prefs stack. They can also set the tabstops by moving > little sliding arrows, so that they can control the text placement in > each header or footer by adding and positioning tabs. > > Because the prefs stack is much smaller than the print template > stacks, > the text entry fields are also not as wide. To give the user a way to > visualize how their tabstops will look, the textsize in the entry > fields > is very small. This gives the right ratio between field width and text > size, so that they get a fairly accurate idea of the text placement in > the header or footer as they slide the tabstops around. > > So now the client says the text is too small to read easily (which is > true) and he'd like it legible. Problem is, if I increase the text > size, > the relative ratio of the tabstops will not be accurate and the fields > will not display the relative text placement correctly. > > I need a clever idea on how to display accurate text positioning while > maintaining legibility. I've thought of a few things, but nothing I > like. Tooltips that show what the text says might be one way, but I > don't really like that much. Jacque, What about a "Show Full Size" button that would zoom the header/footer page to actual size in a separate, non-editable window. Seems like you could just figure out the proportional increase for the tab stops along with the proportionally-larger font. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From devin_asay at byu.edu Tue Dec 22 14:05:30 2009 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 22 Dec 2009 12:05:30 -0700 Subject: Plus sign in menu Message-ID: <2ECC96DE-950C-45DA-8556-19C3BA1183D2@byu.edu> Hello all, In lots of Mac apps, and probably some Windows apps, the way to increase and decrease font size in a document is with Cmd + and Cmd - (plus and minus signs). Both Safari and Mail work this way, for example. The menu shortcuts have a minus and plus sign in them. But you don't have to do Cmd-Shift for the increase size shortcut to work. I'm building an app in which I want to use this same approach, but if I set the shortcut key to Cmd and plus sign, the plus sign shows up in the menu alright, but I have to use Cmd-Shift-plus key to activate it. If I change the shortcut to Cmd and equal sign, the shortcut works the way I want, but the equal sign appears in the menu, not the plus sign. Anyone know how to trick the Rev menu routines so that a Cmd-equal appears as a Cmd-plus in the menu? Regards, and Happy Christmas to all. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From DunbarX at aol.com Tue Dec 22 14:02:47 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 22 Dec 2009 14:02:47 EST Subject: Interface question Message-ID: <bfe.73dc7f96.386271d7@aol.com> I recommend asking Jacque. She always knows what to do. Craig From stephenREVOLUTION2 at barncard.com Tue Dec 22 14:26:14 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 22 Dec 2009 11:26:14 -0800 Subject: Interface question In-Reply-To: <bfe.73dc7f96.386271d7@aol.com> References: <bfe.73dc7f96.386271d7@aol.com> Message-ID: <e5e009d70912221126o29b206eepc864ff6b37b3de9@mail.gmail.com> I sense recursion on this topic. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/22 <DunbarX at aol.com> > I recommend asking Jacque. She always knows what to do. > > From josh at dvcreators.net Tue Dec 22 14:31:38 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 22 Dec 2009 11:31:38 -0800 Subject: Data Grid success story [FYI] Message-ID: <0E501AC6-E920-4298-A188-820998EB6B26@dvcreators.net> We were using a scrolling group of nested groups that hit the Rev height limit once we went over 267 nested groups and caused a minor emergency, so we replaced the whole object with Trevor's Data Grid (form) and it now works like a dream. Super fast creation from arrays and scrolling as fast as you can move the cursor. Since we created the groups from a template the conversion was easy. Now deployed to thousands of end users with zero (reported) problems. The "under-the-hood" code that creates the groups on the fly as they are needed to be visually displayed is amazing and powerful. So FYI: if many of your projects use scrolling groups of groups (as ours do), and you have not yet replaced those with form-based Data Grids, I found the process smooth sailing and couldn't be happier. From calhorner at xtra.co.nz Tue Dec 22 14:58:47 2009 From: calhorner at xtra.co.nz (Cal Horner) Date: Wed, 23 Dec 2009 08:58:47 +1300 (New Zealand Daylight Time) Subject: $Global Variables Message-ID: <4B3124DE.000007.03672@CALS_BIG_PC> I just started using 4.0 and in most tests I'm happy. But like most developers I like to work in my own non-default environment and so.... I'm trying to clear up some of the unused clutter that appears during debug. I've found that the $(dollar sign) global variables that are owned by RunRev popup first on the variables list. Is there any way of turning off this feature(?), or am I stuck with it? I've unset the "show global's" switch in the script editor preferences and also turned off the "show RunRev UI elements in lists" to no avail. Please tell me that there is a simple solution for this irritation. Cal From jacque at hyperactivesw.com Tue Dec 22 15:05:20 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Dec 2009 14:05:20 -0600 Subject: Interface question In-Reply-To: <e5e009d70912221126o29b206eepc864ff6b37b3de9@mail.gmail.com> References: <bfe.73dc7f96.386271d7@aol.com> <e5e009d70912221126o29b206eepc864ff6b37b3de9@mail.gmail.com> Message-ID: <4B312680.7090905@hyperactivesw.com> stephen barncard wrote: > I sense recursion on this topic. It's true I have been known at times to be somewhat loopy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Tue Dec 22 15:17:41 2009 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 22 Dec 2009 13:17:41 -0700 Subject: Interface question In-Reply-To: <4B312680.7090905@hyperactivesw.com> References: <bfe.73dc7f96.386271d7@aol.com> <e5e009d70912221126o29b206eepc864ff6b37b3de9@mail.gmail.com> <4B312680.7090905@hyperactivesw.com> Message-ID: <2F8B1BC1-F259-41A8-A2E6-14A2EC0F69ED@byu.edu> On Dec 22, 2009, at 1:05 PM, J. Landman Gay wrote: > stephen barncard wrote: >> I sense recursion on this topic. > > It's true I have been known at times to be somewhat loopy. So is Jacque. Devin Asay Humanities Technology and Research Support Center Brigham Young University From mwieder at ahsoftware.net Tue Dec 22 15:27:04 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 22 Dec 2009 12:27:04 -0800 Subject: Interface question In-Reply-To: <2F8B1BC1-F259-41A8-A2E6-14A2EC0F69ED@byu.edu> References: <bfe.73dc7f96.386271d7@aol.com> <e5e009d70912221126o29b206eepc864ff6b37b3de9@mail.gmail.com> <4B312680.7090905@hyperactivesw.com> <2F8B1BC1-F259-41A8-A2E6-14A2EC0F69ED@byu.edu> Message-ID: <169694917368.20091222122704@ahsoftware.net> Devin- Tuesday, December 22, 2009, 12:17:41 PM, you wrote: > On Dec 22, 2009, at 1:05 PM, J. Landman Gay wrote: >> stephen barncard wrote: >>> I sense recursion on this topic. >> >> It's true I have been known at times to be somewhat loopy. > So is Jacque. I sense recursion on this topic. -- -Mark Wieder mwieder at ahsoftware.net From bdrunrev at gmail.com Tue Dec 22 15:30:54 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 22 Dec 2009 20:30:54 +0000 Subject: [OT] dedicated server hosting in the UK, Australia and the USA In-Reply-To: <4B30E926.8020308@ekoinf.net> References: <4969C7C9-CABE-467A-8187-040C1DA124DC@yahoo.com> <4B30E926.8020308@ekoinf.net> Message-ID: <edcc7e6b0912221230u10c4224aodbd0a8eaeadf7dd5@mail.gmail.com> Viktoras, you could also try looking at Linode.com. I've been using them for a couple of years now, with no problems, and very good support. They now have servers based in the UK as well as the US. They operate rather like Slicehost, in that you get to choose which distribution you wish to deploy. I think they work out slightly cheaper than Slicehost. Bernard On Tue, Dec 22, 2009 at 3:43 PM, viktoras d. <viktoras at ekoinf.net> wrote: > sorry for this off-topic. I am struggling to find out prices for dedicated > hosting on virtualized Linux servers and many hosting websites seem to hide > their prices. From jacque at hyperactivesw.com Tue Dec 22 15:33:33 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 22 Dec 2009 14:33:33 -0600 Subject: Plus sign in menu In-Reply-To: <2ECC96DE-950C-45DA-8556-19C3BA1183D2@byu.edu> References: <2ECC96DE-950C-45DA-8556-19C3BA1183D2@byu.edu> Message-ID: <4B312D1D.8080605@hyperactivesw.com> Devin Asay wrote: > Hello all, > > In lots of Mac apps, and probably some Windows apps, the way to increase > and decrease font size in a document is with Cmd + and Cmd - (plus and > minus signs). Both Safari and Mail work this way, for example. The menu > shortcuts have a minus and plus sign in them. But you don't have to do > Cmd-Shift for the increase size shortcut to work. > > I'm building an app in which I want to use this same approach, but if I > set the shortcut key to Cmd and plus sign, the plus sign shows up in the > menu alright, but I have to use Cmd-Shift-plus key to activate it. If I > change the shortcut to Cmd and equal sign, the shortcut works the way I > want, but the equal sign appears in the menu, not the plus sign. Anyone > know how to trick the Rev menu routines so that a Cmd-equal appears as a > Cmd-plus in the menu? Maybe the new menu tagging option would work. See "menu-item tagging" in the engine change log. I think you could use a hyphen as the tag and the plus as the accelerator: Menu-item tagging ~~~~~~~~~~~~~~~~~ The menu item specification has been extended to allow a tag to be specified. It is now of the form: <label> [ '/' [ <accelerator> ] [ '|' <tag> ] ] Note that the <tag> is optional as is the <accelerator> however, if you want an item with a tag but without the accelerator you need: <label> '/' '|' <tag> The <tag> must only be composed of characters from the ASCII character set. If a menu item has a <tag> then it is the tag string that is passed to menuPick rather than the <label>. This is useful for localization of menu items as you don't need to change the menuPick handler for each language supported. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jmyepes at mac.com Tue Dec 22 15:54:59 2009 From: jmyepes at mac.com (JosepM) Date: Tue, 22 Dec 2009 12:54:59 -0800 (PST) Subject: MacToIso In-Reply-To: <64093D6B-8C73-43D1-8226-DF2DA5063FB3@mangomultimedia.com> References: <1261440526844-976649.post@n4.nabble.com> <E29320E9-C7EE-4DE7-AAD1-373F0235BCFE@mangomultimedia.com> <C7683848-A828-43D2-B84B-A950DABED86F@mac.com> <64093D6B-8C73-43D1-8226-DF2DA5063FB3@mangomultimedia.com> Message-ID: <1261515299529-977335.post@n4.nabble.com> Hi Trevor, Personally I do the conversion in FillInData. If you are creating the array that you are assigning to the Data Grid by hand then you can convert at that point as well. I am usually fetching data from the database using SQL Yoga though. Yes. I fetching data using SQL Yoga and insert row manually to the datagrid, and after insert from the datagrid to the database with SQL Yoga, so if I understand well with on FillInData pData set the uUTF8Text of field "Name" of me to pData end FillInData Then encode to the datagrid is ok and don't worry for, isn't? But If I edit directly into the datagrid? I need do the same in the "closeEditor"? To fill the fields I read directly from the rows of the datagrid so the performance is better so I use a remote mysql. For this fields I have integrated your Placeholder Behavior that use some UTF actions. It's enough or I need to decode? I use the set uText of ... and put the uText of xxx into... To insert and update I move the data from these fields to the SQL Yoga record object. Here I must encode from the uText? To use this prop I suppose that I must create these prop for each field that not use Placeholder Behavior, isn't? ====================== CODE ====================== setprop uUTF8Text pText set the unicodetext of the target to uniencode(pText, "UTF8") end uUTF8Text getprop uUTF8Text return _UTF16ToUTF8(the unicodetext of the target) end uUTF8Text Salut, Josep -- View this message in context: http://n4.nabble.com/MacToIso-tp976649p977335.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Tue Dec 22 15:56:38 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 22 Dec 2009 12:56:38 -0800 Subject: Interface question In-Reply-To: <4B311505.3000708@hyperactivesw.com> Message-ID: <C7567286.46B2C%scott@tactilemedia.com> Recently, Jacque Landman Gay wrote: > I've got another interface problem I can't decide how to solve, maybe > some of you have ideas.... Jacque, maybe I'm not reading the description of your situation correctly, but if the fields into which the users enter text is scaled so small that the text is illegible, this seems like less-than-desirable usability. Could you have "normal" size text entry fields alongside the scaled down preview so that while text in the preview may not be legible, text in the entry fields is? You could make connections between the preview and the entry fields using color, lines, position, or a combination of these. Another option could be to keep the scaled down preview as is, but clicking on any text entry field temporarily displays a large proxy entry field (almost like being magnified); when the user hits return or enter, the proxy field disappears and the preview is updated. Again, it's not clear to me what's actually going on with your set up, so the above options may not work. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From lists at mangomultimedia.com Tue Dec 22 16:25:19 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 22 Dec 2009 16:25:19 -0500 Subject: MacToIso In-Reply-To: <1261515299529-977335.post@n4.nabble.com> References: <1261440526844-976649.post@n4.nabble.com> <E29320E9-C7EE-4DE7-AAD1-373F0235BCFE@mangomultimedia.com> <C7683848-A828-43D2-B84B-A950DABED86F@mac.com> <64093D6B-8C73-43D1-8226-DF2DA5063FB3@mangomultimedia.com> <1261515299529-977335.post@n4.nabble.com> Message-ID: <73D61843-E9AB-4A78-8377-A0545F93D497@mangomultimedia.com> On Dec 22, 2009, at 3:54 PM, JosepM wrote: > Yes. I fetching data using SQL Yoga and insert row manually to the > datagrid, > and after insert from the datagrid to the database with SQL Yoga, so > if I > understand well with > > on FillInData pData > set the uUTF8Text of field "Name" of me to pData > end FillInData > > Then encode to the datagrid is ok and don't worry for, isn't? But If > I edit > directly into the datagrid? I need do the same in the "closeEditor"? Yes, you need to update the default behavior for opening and saving text to the Data Grid field editor (I wish Rev worked with UTF8 natively). When opening the field editor in your column behavior you are already calling EditFieldText. The Data Grid is going to work with the 'text' property of the fields by default. You can override this by setting the dgTemplateFieldEditor["utf8text"] property (you can also pass in "htmltext", "rtftext", or "unicodetext") before calling dgTemplateFieldEditor. Setting the dgTemplateFieldEditor["utf8text"] property of the Data Grid will use the value you assign rather than the 'text' of the field. I haven't fully documented dgTemplateFieldEditor but there is an example in the lesson on aligning decimal columns. There really isn't much to it: <http://lessons.runrev.com/manuals/datagrid/lessons/7331> When closing the field editor you will need to extract the UTF8 text of the field editor. The example in the manual actually shows how to do this. Search for UTF8 on this page: How Do I Save Changes The User Makes In An Editor Field To An External Data Source?: <http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7337-How-Do-I-Save-Changes-The-User-Makes-In-An-Editor-Field-To-An-External-Data-Source- > > To fill the fields I read directly from the rows of the datagrid so > the > performance is better so I use a remote mysql. > > For this fields I have integrated your Placeholder Behavior that use > some > UTF actions. It's enough or I need to decode? I use the set uText > of ... and > put the uText of xxx into... Just remember: 1) Encode from UTF8 to UTF16 when assigning content TO a field. 2) Encode from UTF16 to UTF8 when retrieving content FROM a field. If you look at the uText definition for the Placeholder behavior it works on the text property of the field. The behavior also has uUTF8Text getProp/setProp handlers that you can use though. <http://lessons.runrev.com/buckets/784/lessons/6501> > To insert and update I move the data from these fields to the SQL Yoga > record object. Here I must encode from the uText? Just insert the uUTF8Text of the field into the Record object. > To use this prop I suppose that I must create these prop for each > field that > not use Placeholder Behavior, isn't? You don't need to create the props for any field. Just put the getProp/ setProp definitions in the message path. When you try to access the uUTF8Text property of an object or set the uUTF8Text property of an object the handlers will kick in. No custom property value is being stored in the field itself. > ====================== > CODE > ====================== > > setprop uUTF8Text pText > set the unicodetext of the target to uniencode(pText, "UTF8") > end uUTF8Text > > > getprop uUTF8Text > return _UTF16ToUTF8(the unicodetext of the target) > end uUTF8Text Oops, I forgot to include _UTF16ToUTF8. private function _UTF16ToUTF8 pText put unidecode(pText, "UTF8") into theText replace NULL with empty in theText ## why? Because a NULL crept in once return theText end _UTF16ToUTF8 -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From robert at rman.on-rev.com Tue Dec 22 16:44:17 2009 From: robert at rman.on-rev.com (Robert Man) Date: Tue, 22 Dec 2009 13:44:17 -0800 (PST) Subject: Edinburgh Conference DVDs In-Reply-To: <4B2E4B80.5070906@gmail.com> References: <4B2E4B80.5070906@gmail.com> Message-ID: <1261518257552-977373.post@n4.nabble.com> Indeed... I insert a reply so that this post does not sink to hell too soon, as a reminder. it would be "nice" if not fair from runrev to give some news to all of us who have "given" in, and are possibly waiting for... But I suspect we'll have to look for some other presents for Xmas! -- View this message in context: http://n4.nabble.com/Edinburgh-Conference-DVDs-tp975773p977373.html Sent from the Revolution - User mailing list archive at Nabble.com. From liste.revo at medard.on-rev.com Tue Dec 22 16:59:30 2009 From: liste.revo at medard.on-rev.com (Medard) Date: Tue, 22 Dec 2009 22:59:30 +0100 Subject: Confused about my first irev file In-Reply-To: <115BF282-56E5-48A0-9896-88A4338D41DF@yahoo.com> Message-ID: <1jb5edl.1ybbywrkcev31M%liste.revo@medard.on-rev.com> Jim Ault <jimaultwins at yahoo.com> wrote: > BBEdite was not the issue. OKay :-) From devin_asay at byu.edu Tue Dec 22 17:06:35 2009 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 22 Dec 2009 15:06:35 -0700 Subject: Plus sign in menu In-Reply-To: <4B312D1D.8080605@hyperactivesw.com> References: <2ECC96DE-950C-45DA-8556-19C3BA1183D2@byu.edu> <4B312D1D.8080605@hyperactivesw.com> Message-ID: <F961E088-CE66-4B28-84CB-661A6968DF42@byu.edu> On Dec 22, 2009, at 1:33 PM, J. Landman Gay wrote: > Devin Asay wrote: >> I'm building an app in which I want to use this same approach, but >> if I >> set the shortcut key to Cmd and plus sign, the plus sign shows up >> in the >> menu alright, but I have to use Cmd-Shift-plus key to activate it. >> If I >> change the shortcut to Cmd and equal sign, the shortcut works the >> way I >> want, but the equal sign appears in the menu, not the plus sign. >> Anyone >> know how to trick the Rev menu routines so that a Cmd-equal appears >> as a >> Cmd-plus in the menu? > > Maybe the new menu tagging option would work. See "menu-item > tagging" in > the engine change log. I think you could use a hyphen as the tag and > the > plus as the accelerator: Good suggestion, Jacque, but that didn't do it. Adding a tag just makes it so the menuPick message sends the tag as the parameter rather than the text of the menu item. I'm thinking about a workaround now where I use Cmd = as the accelerator, but handler Cmd + in a separate handler. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From userev at canelasoftware.com Tue Dec 22 17:59:50 2009 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 22 Dec 2009 14:59:50 -0800 Subject: [OT] dedicated server hosting in the UK, Australia and the USA In-Reply-To: <4B30E926.8020308@ekoinf.net> References: <4969C7C9-CABE-467A-8187-040C1DA124DC@yahoo.com> <4B30E926.8020308@ekoinf.net> Message-ID: <2326D47A-04C8-4FAA-AE31-96A30DAF6869@canelasoftware.com> On Dec 22, 2009, at 7:43 AM, viktoras d. wrote: > > Can anyone tell what the prices are for anything like plans in between D80 and G200 in the UK, USA and Australia? Any names of the "most reliable" hosting service providers?.. > We use mediatemple.net for all of our hosting. I have used JaguarPC and Dreamhost in the past as well. The reason I changed hosts was because we needed to find a hosting company that had high bandwidth services. Our FIOS connection allows 3MB up/down. The other hosts could not max out our connection. Only MediaTemple as been able to max out our connections every time. Since we regularly transfer files in the 450MB range speed was a major consideration for us. It costs a little bit more, but we finally found what we needed. $20/month for a tier 4 hosting company is a great value to us. Best regards, Mark Talluto http://www.canelasoftware.com From jmyepes at mac.com Tue Dec 22 18:36:18 2009 From: jmyepes at mac.com (JosepM) Date: Tue, 22 Dec 2009 15:36:18 -0800 (PST) Subject: MacToIso In-Reply-To: <73D61843-E9AB-4A78-8377-A0545F93D497@mangomultimedia.com> References: <1261440526844-976649.post@n4.nabble.com> <E29320E9-C7EE-4DE7-AAD1-373F0235BCFE@mangomultimedia.com> <C7683848-A828-43D2-B84B-A950DABED86F@mac.com> <64093D6B-8C73-43D1-8226-DF2DA5063FB3@mangomultimedia.com> <1261515299529-977335.post@n4.nabble.com> <73D61843-E9AB-4A78-8377-A0545F93D497@mangomultimedia.com> Message-ID: <1261524978730-977456.post@n4.nabble.com> Hi Trevor, > on FillInData pData > set the uUTF8Text of field "Name" of me to pData > end FillInData This will be also correct? set the unicodetext of me to uniencode(pData,"utf8") When opening the field editor in your column behavior you are already calling EditFieldText. The Data Grid is going to work with the 'text' property of the fields by default. You can override this by setting the dgTemplateFieldEditor["utf8text"] property (you can also pass in "htmltext", "rtftext", or "unicodetext") before calling dgTemplateFieldEditor. Setting the dgTemplateFieldEditor["utf8text"] property of the Data Grid will use the value you assign rather than the 'text' of the field. I put this but, to what value override the text? command EditValue set the dgTemplateFieldEditor["utf8text"] of the dgControl of me to ??? <-------- EditFieldText the long id of me, the dgIndex of me, the dgColumn of me end EditValue When closing the field editor you will need to extract the UTF8 text of the field editor. The example in the manual actually shows how to do this. Search for UTF8 on this page: How Do I Save Changes The User Makes In An Editor Field To An External Data Source?: <http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7337-How-Do-I-Save-Changes-The-User-Makes-In-An-Editor-Field-To-An-External-Data-Source- But If I want store into the datagrid I don't need it, isn't? Salut, Josep -- View this message in context: http://n4.nabble.com/MacToIso-tp976649p977456.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Tue Dec 22 18:41:22 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 22 Dec 2009 15:41:22 -0800 Subject: MacToIso In-Reply-To: <1261524978730-977456.post@n4.nabble.com> References: <1261440526844-976649.post@n4.nabble.com> <E29320E9-C7EE-4DE7-AAD1-373F0235BCFE@mangomultimedia.com> <C7683848-A828-43D2-B84B-A950DABED86F@mac.com> <64093D6B-8C73-43D1-8226-DF2DA5063FB3@mangomultimedia.com> <1261515299529-977335.post@n4.nabble.com> <73D61843-E9AB-4A78-8377-A0545F93D497@mangomultimedia.com> <1261524978730-977456.post@n4.nabble.com> Message-ID: <e5e009d70912221541t677c6f2rbd8d28058fcf6362@mail.gmail.com> true? ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/22 JosepM <jmyepes at mac.com> > > Hi Trevor, > > > > > on FillInData pData > > set the uUTF8Text of field "Name" of me to pData > > end FillInData > > > This will be also correct? > > set the unicodetext of me to uniencode(pData,"utf8") > > > When opening the field editor in your column behavior you are already > calling EditFieldText. The Data Grid is going to work with the 'text' > property of the fields by default. You can override this by setting > the dgTemplateFieldEditor["utf8text"] property (you can also pass in > "htmltext", "rtftext", or "unicodetext") before calling > dgTemplateFieldEditor. Setting the dgTemplateFieldEditor["utf8text"] > property of the Data Grid will use the value you assign rather than > the 'text' of the field. > > I put this but, to what value override the text? > > command EditValue > set the dgTemplateFieldEditor["utf8text"] of the dgControl of me to ??? > <-------- > EditFieldText the long id of me, the dgIndex of me, the dgColumn of me > end EditValue > > > > When closing the field editor you will need to extract the UTF8 text > of the field editor. The example in the manual actually shows how to > do this. Search for UTF8 on this page: > > How Do I Save Changes The User Makes In An Editor Field To An External > Data Source?: > < > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7337-How-Do-I-Save-Changes-The-User-Makes-In-An-Editor-Field-To-An-External-Data-Source- > > But If I want store into the datagrid I don't need it, isn't? > > Salut, > Josep > > > -- > View this message in context: > http://n4.nabble.com/MacToIso-tp976649p977456.html > Sent from the Revolution - User mailing list archive at Nabble.com. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mpease at lawandpolitics.com Tue Dec 22 18:45:38 2009 From: mpease at lawandpolitics.com (Michael) Date: Tue, 22 Dec 2009 15:45:38 -0800 Subject: Passing parameters from Rev to Applescript In-Reply-To: <20091222113252.2E00C48AAFE@mail.runrev.com> Message-ID: <C7569A22.67E98%mpease@lawandpolitics.com> Here's a quick FileMaker to Revolution via Applescript example. Uses FileMaker Pro 10, Revolution 3.5, and OS 10.5. tell application "FileMaker Pro" tell window 1 tell layout 1 set d1 to ((get data cell "theData1" of current record) as text) -- d1 now contains "tic" set d2 to ((get data cell "theData2" of current record) as text) -- d2 now contains "toe" -- specify field names on Rev card set fieldTarget1 to "t1" set fieldTarget2 to "t2" end tell end tell tell application "Revolution" activate do script ("put " & d1 & " & cr & " & "tac" & " into cd field " & fieldTarget1) -- result in field "t1" is two lines, "tic" and "tac" do script ("put " & d2 & " into cd field " & fieldTarget2) -- -- result in field "t2" is one line, "toe" -- do script ("put " & d2 & " into cd field id " & 1006) -- would also work using field id end tell end tell --m From jerry.daniels at me.com Tue Dec 22 18:48:27 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Tue, 22 Dec 2009 17:48:27 -0600 Subject: [ANN] Poll for tRev users In-Reply-To: <D73924DB-74F5-43F6-BC69-D10A2E2C00BF@me.com> References: <D73924DB-74F5-43F6-BC69-D10A2E2C00BF@me.com> Message-ID: <DB32D772-5063-487C-A3FB-63E6F79B90A4@me.com> tRev users, Thanks for participating in our Option Key Inspection poll. The results were extremely helpful in re-doing the workflow for the new Transparent Inspection feature! The poll has been removed from the site. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/pre-holiday-update On Dec 19, 2009, at 3:05 PM, Jerry Daniels wrote: > tRev users, > > We have an interesting poll you can take. It regards the option > (alt) inspection feature and its keyboard activation sequence. > > http://reveditor.com/trev-users-who-use-option-alt-key-inspection > > Cast your votes, now! > > Best, > > Jerry Daniels > > The latest Rev Editor Video: > http://reveditor.com/feature-friday-lotsa-stuff-plus-easter-egg-al > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From Roger.E.Eller at sealedair.com Tue Dec 22 18:51:06 2009 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue, 22 Dec 2009 18:51:06 -0500 Subject: web tables 2 rev tables Message-ID: <OF00E82410.AA8C402A-ON85257694.0081CA3C-85257694.008304F6@sealedair.com> What is the most direct way to convert the data in an html table into data to fill a 'basic table field' (not a dataGrid)? I have tried stripping away tags and plucking data from between <table><tr><td>cell data</td></tr></table>. This is tedious, and I'm sure there must be a better way. Thanks. ~Roger --- Roger Eller <roger.e.eller at sealedair.com> From zryip.theslug at gmail.com Tue Dec 22 18:54:54 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 23 Dec 2009 00:54:54 +0100 Subject: Interface question In-Reply-To: <4B311505.3000708@hyperactivesw.com> References: <4B311505.3000708@hyperactivesw.com> Message-ID: <64bda6470912221554o3842df83k1b608caeb1a5be7b@mail.gmail.com> Hi Jacque, Why not apply a lens effect on the text, like on iphone or ipod ? By using the mouseChunck function in a mouseMove handler and linking that with a transparent picture it could result a nice effect. Just a quick attempt to evaluate the rendering: local lPreviousChunk constant cStandardSize = 8 constant cZoomSize = 16 on mouseMove put the mouseChunk into tCurrentChunk if tCurrentChunk <> lPreviousChunk then if (lPreviousChunk is not empty) then set the textsize of lPreviousChunk to cStandardSize end if if (tCurrentChunk is not empty) then set the textsize of tCurrentChunk to cZoomSize put tCurrentChunk into lPreviousChunk end if end if end mouseMove on mouseEnter set the textHeight of the target to cZoomSize end mouseenter on mouseLeave set the fixedLineHeight of the target to true set the textSize of the target to cStandardSize end mouseleave -Zryip TheSlug- wish you the best! 8) 2009/12/22 J. Landman Gay <jacque at hyperactivesw.com>: > I've got another interface problem I can't decide how to solve, maybe some > of you have ideas. > > I have an app that creates various printouts. These are all hard-coded; > i.e., the end user never sees the templates and can't change them. In the > app's preferences, though, they are allowed to add custom header and footer > text that will appear on each printout. This info is entered into fields in > the prefs stack. They can also set the tabstops by moving little sliding > arrows, so that they can control the text placement in each header or footer > by adding and positioning tabs. > > Because the prefs stack is much smaller than the print template stacks, the > text entry fields are also not as wide. To give the user a way to visualize > how their tabstops will look, the textsize in the entry fields is very > small. This gives the right ratio between field width and text size, so that > they get a fairly accurate idea of the text placement in the header or > footer as they slide the tabstops around. > > So now the client says the text is too small to read easily (which is true) > and he'd like it legible. Problem is, if I increase the text size, the > relative ratio of the tabstops will not be accurate and the fields will not > display the relative text placement correctly. > > I need a clever idea on how to display accurate text positioning while > maintaining legibility. I've thought of a few things, but nothing I like. > Tooltips that show what the text says might be one way, but I don't really > like that much. > > -- > Jacqueline Landman Gay ? ? ? ? | ? ? jacque at hyperactivesw.com > HyperActive Software ? ? ? ? ? | ? ? http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION2 at barncard.com Tue Dec 22 19:10:31 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 22 Dec 2009 16:10:31 -0800 Subject: Interface question In-Reply-To: <64bda6470912221554o3842df83k1b608caeb1a5be7b@mail.gmail.com> References: <4B311505.3000708@hyperactivesw.com> <64bda6470912221554o3842df83k1b608caeb1a5be7b@mail.gmail.com> Message-ID: <e5e009d70912221610k3cccb456ubab605a41c288820@mail.gmail.com> But the problem is not just SEEING it but EDITING it. That's why another field is needed. One interface motif I am experimenting with is ONE special 'entry' field that is nearby and gets filled with the latest selected field data in the detail view listing of a record. Edit in that special field, even use tabs, returns. Hit enter and the data is inserted into the proper detail field. This field could change its size for content, appear in space in front of the hard-to-read real-size layout, then place its contents there. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/22 zryip theSlug <zryip.theslug at gmail.com> > Hi Jacque, > > Why not apply a lens effect on the text, like on iphone or ipod ? > By using the mouseChunck function in a mouseMove handler and linking > that with a transparent picture it could result a nice effect. > > Just a quick attempt to evaluate the rendering: > > local lPreviousChunk > constant cStandardSize = 8 > constant cZoomSize = 16 > > on mouseMove > put the mouseChunk into tCurrentChunk > if tCurrentChunk <> lPreviousChunk then > if (lPreviousChunk is not empty) then > set the textsize of lPreviousChunk to cStandardSize > end if > if (tCurrentChunk is not empty) then > set the textsize of tCurrentChunk to cZoomSize > put tCurrentChunk into lPreviousChunk > end if > end if > end mouseMove > > on mouseEnter > set the textHeight of the target to cZoomSize > end mouseenter > > on mouseLeave > set the fixedLineHeight of the target to true > set the textSize of the target to cStandardSize > end mouseleave > > > -Zryip TheSlug- wish you the best! 8) > > 2009/12/22 J. Landman Gay <jacque at hyperactivesw.com>: > > I've got another interface problem I can't decide how to solve, maybe > some > > of you have ideas. > > > > I have an app that creates various printouts. These are all hard-coded; > > i.e., the end user never sees the templates and can't change them. In the > > app's preferences, though, they are allowed to add custom header and > footer > > text that will appear on each printout. This info is entered into fields > in > > the prefs stack. They can also set the tabstops by moving little sliding > > arrows, so that they can control the text placement in each header or > footer > > by adding and positioning tabs. > > > > Because the prefs stack is much smaller than the print template stacks, > the > > text entry fields are also not as wide. To give the user a way to > visualize > > how their tabstops will look, the textsize in the entry fields is very > > small. This gives the right ratio between field width and text size, so > that > > they get a fairly accurate idea of the text placement in the header or > > footer as they slide the tabstops around. > > > > So now the client says the text is too small to read easily (which is > true) > > and he'd like it legible. Problem is, if I increase the text size, the > > relative ratio of the tabstops will not be accurate and the fields will > not > > display the relative text placement correctly. > > > > I need a clever idea on how to display accurate text positioning while > > maintaining legibility. I've thought of a few things, but nothing I like. > > Tooltips that show what the text says might be one way, but I don't > really > > like that much. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From zryip.theslug at gmail.com Tue Dec 22 19:32:03 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 23 Dec 2009 01:32:03 +0100 Subject: Interface question In-Reply-To: <e5e009d70912221610k3cccb456ubab605a41c288820@mail.gmail.com> References: <4B311505.3000708@hyperactivesw.com> <64bda6470912221554o3842df83k1b608caeb1a5be7b@mail.gmail.com> <e5e009d70912221610k3cccb456ubab605a41c288820@mail.gmail.com> Message-ID: <64bda6470912221632g3f28f06ch11990510d5bcb4a@mail.gmail.com> You can edit the field the better you see its content. The both are not incompatible;) 2009/12/23 stephen barncard <stephenREVOLUTION2 at barncard.com>: > But the problem is not just SEEING it but EDITING it. That's why another > field is needed. > > One interface motif I am experimenting with is ONE special 'entry' field > that is nearby and gets filled with the latest selected field data in the > detail view listing of a record. Edit in that special field, even use tabs, > returns. ?Hit enter and the data is inserted into the proper detail field. > ?This field could change its size for content, appear in space in front of > the hard-to-read real-size layout, then place its contents there. > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > > > 2009/12/22 zryip theSlug <zryip.theslug at gmail.com> > >> Hi Jacque, >> >> Why not apply a lens effect on the text, like on iphone or ipod ? >> By using the mouseChunck function in a mouseMove handler and linking >> that with a transparent picture it could result a nice effect. >> >> Just a quick attempt to evaluate the rendering: >> >> local lPreviousChunk >> constant cStandardSize = 8 >> constant cZoomSize = 16 >> >> on mouseMove >> ? put the mouseChunk into tCurrentChunk >> ? if tCurrentChunk <> lPreviousChunk then >> ? ? ?if (lPreviousChunk is not empty) then >> ? ? ? ? set the textsize of lPreviousChunk to cStandardSize >> ? ? ?end if >> ? ? ?if (tCurrentChunk is not empty) then >> ? ? ? ? set the textsize of tCurrentChunk to cZoomSize >> ? ? ? ? put tCurrentChunk into lPreviousChunk >> ? ? ?end if >> ? end if >> end mouseMove >> >> on mouseEnter >> ? set the textHeight of the target to cZoomSize >> end mouseenter >> >> on mouseLeave >> ? set the fixedLineHeight of the target to true >> ? set the textSize of the target to cStandardSize >> end mouseleave >> >> >> -Zryip TheSlug- wish you the best! 8) >> >> 2009/12/22 J. Landman Gay <jacque at hyperactivesw.com>: >> > I've got another interface problem I can't decide how to solve, maybe >> some >> > of you have ideas. >> > >> > I have an app that creates various printouts. These are all hard-coded; >> > i.e., the end user never sees the templates and can't change them. In the >> > app's preferences, though, they are allowed to add custom header and >> footer >> > text that will appear on each printout. This info is entered into fields >> in >> > the prefs stack. They can also set the tabstops by moving little sliding >> > arrows, so that they can control the text placement in each header or >> footer >> > by adding and positioning tabs. >> > >> > Because the prefs stack is much smaller than the print template stacks, >> the >> > text entry fields are also not as wide. To give the user a way to >> visualize >> > how their tabstops will look, the textsize in the entry fields is very >> > small. This gives the right ratio between field width and text size, so >> that >> > they get a fairly accurate idea of the text placement in the header or >> > footer as they slide the tabstops around. >> > >> > So now the client says the text is too small to read easily (which is >> true) >> > and he'd like it legible. Problem is, if I increase the text size, the >> > relative ratio of the tabstops will not be accurate and the fields will >> not >> > display the relative text placement correctly. >> > >> > I need a clever idea on how to display accurate text positioning while >> > maintaining legibility. I've thought of a few things, but nothing I like. >> > Tooltips that show what the text says might be one way, but I don't >> really >> > like that much. >> > >> > -- >> > Jacqueline Landman Gay ? ? ? ? | ? ? jacque at hyperactivesw.com >> > HyperActive Software ? ? ? ? ? | ? ? http://www.hyperactivesw.com >> > _______________________________________________ >> > use-revolution mailing list >> > use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From userev at canelasoftware.com Tue Dec 22 19:34:00 2009 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 22 Dec 2009 16:34:00 -0800 Subject: MetaCard links Message-ID: <D9D9B62A-8585-43DE-B48A-098666BCD8F6@canelasoftware.com> If anyone is interested in downloading archived versions of MetaCard, we finally created links to all the archived MetaCard downloads. http://www.canelasoftware.com/mc/metacard23/ http://www.canelasoftware.com/mc/metacard24/ http://www.canelasoftware.com/mc/metacard242/ http://www.canelasoftware.com/mc/metacard243/ http://www.canelasoftware.com/mc/metacard25/ Best regards, Mark Talluto http://www.canelasoftware.com From sarah.reichelt at gmail.com Tue Dec 22 20:00:29 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 23 Dec 2009 11:00:29 +1000 Subject: [OT] dedicated server hosting in the UK, Australia and the USA In-Reply-To: <4B30E926.8020308@ekoinf.net> References: <4969C7C9-CABE-467A-8187-040C1DA124DC@yahoo.com> <4B30E926.8020308@ekoinf.net> Message-ID: <f99b52860912221700s1f23ca49g4b24624ebf6a91c4@mail.gmail.com> > Can anyone tell what the prices are for anything like plans in between D80 > and G200 in the UK, USA and Australia? Any names of the "most reliable" > hosting service providers?.. In Australia, I had good service from Quadra <http://www.quadrahosting.com.au/>. They have various priced plans and servers in the US as well as Australia. But I never tried installing Rev CGIs as I always did that sort of stuff on an intranet, until On-Rev came into being. Cheers, Sarah From revdev at pdslabs.net Tue Dec 22 21:13:42 2009 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 22 Dec 2009 18:13:42 -0800 Subject: web tables 2 rev tables In-Reply-To: <OF00E82410.AA8C402A-ON85257694.0081CA3C-85257694.008304F6@sealedair.com> References: <OF00E82410.AA8C402A-ON85257694.0081CA3C-85257694.008304F6@sealedair.com> Message-ID: <4B317CD6.3060602@pdslabs.net> Hi Roger, It seems to me the bigger problem is the conversion of nested html tables, which are pretty common. That said, here is a button script that converts a 'simple' html table to a tab-delimited text file. From there the sky is the limit. ;-) NOTE: This code works with only the simplest of tables, but it gives you a starting point if you want to go this way. on mouseUp -- get the file answer file "Pick a file that contains an HTML table:" if it = empty then exit to top put url ("file:" & it) into tData -- make each html table start at the beginning of a line replace cr with empty in tData replace "<table>" with (cr & "<table>") in tData -- make each table end at the end of a line replace "</table>" with ("</table>" & cr) in tData -- remove all lines but those with complete html tables filter tData with "<table>*</table>" -- exit if there are no unnested tables if tData = empty then answer "No unnested tables found." exit to top end if -- convert tables to tab-delimited lines of data replace tab with empty in tData replace "</tr>" with cr in tData replace "</td>" with tab in tData replace (tab & cr) with cr in tData -- eliminate unused table tags replace "<table>" with empty in tData replace "</table>" with empty in tData replace "<tr>" with empty in tData replace "<td>" with empty in tData -- display the converted data put tData into fld 1 end mouseUp Here is the test data I used (in a file of its own): <table> <tr> <td>Table Cell</td> <td>Table Cell</td> </tr> <tr> <td>Table Cell</td> <td>Table Cell</td> </tr> </table> Merry Christmas! Phil Davis On 12/22/09 3:51 PM, Roger.E.Eller at sealedair.com wrote: > What is the most direct way to convert the data in an html table into data > to fill a 'basic table field' (not a dataGrid)? I have tried stripping > away tags and plucking data from between<table><tr><td>cell > data</td></tr></table>. This is tedious, and I'm sure there must be a > better way. > > Thanks. > ~Roger > > --- > Roger Eller<roger.e.eller at sealedair.com> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From josh at dvcreators.net Tue Dec 22 21:23:06 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 22 Dec 2009 18:23:06 -0800 Subject: View and print a PDF file from Rev In-Reply-To: <C6D434F3.4457C%scott@tactilemedia.com> References: <C6D434F3.4457C%scott@tactilemedia.com> Message-ID: <2A5E48CA-2605-48C5-8EA5-6FFCCEB844A0@dvcreators.net> On Sep 14, 2009, at 5:59 PM, Scott Rossi wrote: > > > I have some code for displaying PDF pages in a Rev player, but as far as I > know, the resolution is limited to the screen so I don't think this would be > useful for you for printing. Hi Scott, is the code anything different than "set the filename to"? Thanks Josh From Roger.E.Eller at sealedair.com Tue Dec 22 22:51:00 2009 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue, 22 Dec 2009 22:51:00 -0500 Subject: web tables 2 rev tables In-Reply-To: <4B317CD6.3060602@pdslabs.net> Message-ID: <OF145037D1.6A6802BE-ON85257695.00145040-85257695.001525AD@sealedair.com> Phil Davis <revdev at pdslabs.net> wrote: > Hi Roger, > > It seems to me the bigger problem is the conversion of nested html > tables, which are pretty common. That said, here is a button script that > converts a 'simple' html table to a tab-delimited text file. From there > the sky is the limit. ;-) NOTE: This code works with only the simplest > of tables, but it gives you a starting point if you want to go this way. That's a sweet script Phil! I only had to change one line because my html table tags included a few other other descriptors. CHANGED: replace "<table>" with (cr & "<table>") in tData TO: replace "<table border=1 cellpadding=3 cellspacing=1>" with (cr & "<table>") in tData Thank you, and Merry Christmas!!! --- Roger Eller <roger.e.eller at sealedair.com> From katir at hindu.org Wed Dec 23 00:10:57 2009 From: katir at hindu.org (Sivakatirswami) Date: Tue, 22 Dec 2009 19:10:57 -1000 Subject: Slideshows in iRev In-Reply-To: <78195D89-2E41-4CFD-AE9B-BB052C1ABEAE@yahoo.com> References: <4B2DBC41.6090406@hindu.org> <e5e009d70912200144k5abe2a9es8ffb01ffceaa4cb0@mail.gmail.com> <4B2E6E53.5060807@hyperactivesw.com> <f99b52860912201923ra7acb7fndbcfb6191b94497e@mail.gmail.com> <4B2F12DB.40507@hyperactivesw.com> <78195D89-2E41-4CFD-AE9B-BB052C1ABEAE@yahoo.com> Message-ID: <4B31A661.8030607@hindu.org> Jim Ault wrote: >> <meta HTTP-EQUIV="refresh" CONTENT="10"> > I think I'm pretty close to a final "product: Enjoy: http://himalayanacademy.com/slideshows/aadheenam/2009/iraivan_2009-May-June_Gold-Gilding/ The above folder has 180 photos, 1 index.html file and 1 title.txt file: source irev: (right click to download the code) http://www.himalayanacademy.com/slideshows/templates/slideshow-auto.irev index page to put into to the folder with the photos. http://www.himalayanacademy.com/slideshows/templates/Slideshow-Index-Template.html Sivakatirswami From lists at mangomultimedia.com Wed Dec 23 00:19:39 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 23 Dec 2009 00:19:39 -0500 Subject: MacToIso In-Reply-To: <1261524978730-977456.post@n4.nabble.com> References: <1261440526844-976649.post@n4.nabble.com> <E29320E9-C7EE-4DE7-AAD1-373F0235BCFE@mangomultimedia.com> <C7683848-A828-43D2-B84B-A950DABED86F@mac.com> <64093D6B-8C73-43D1-8226-DF2DA5063FB3@mangomultimedia.com> <1261515299529-977335.post@n4.nabble.com> <73D61843-E9AB-4A78-8377-A0545F93D497@mangomultimedia.com> <1261524978730-977456.post@n4.nabble.com> Message-ID: <692A5B6C-EEC0-4017-A28C-F98BF4A45C6E@mangomultimedia.com> On Dec 22, 2009, at 6:36 PM, JosepM wrote: >> on FillInData pData >> set the uUTF8Text of field "Name" of me to pData >> end FillInData > > This will be also correct? > > set the unicodetext of me to uniencode(pData,"utf8") Yes, that is correct. > When opening the field editor in your column behavior you are already > calling EditFieldText. The Data Grid is going to work with the 'text' > property of the fields by default. You can override this by setting > the dgTemplateFieldEditor["utf8text"] property (you can also pass in > "htmltext", "rtftext", or "unicodetext") before calling > dgTemplateFieldEditor. Setting the dgTemplateFieldEditor["utf8text"] > property of the Data Grid will use the value you assign rather than > the 'text' of the field. > > I put this but, to what value override the text? > > command EditValue > set the dgTemplateFieldEditor["utf8text"] of the dgControl of me > to ??? Set it to text that is encoded as UTF8. > When closing the field editor you will need to extract the UTF8 text > of the field editor. The example in the manual actually shows how to > do this. Search for UTF8 on this page: > > How Do I Save Changes The User Makes In An Editor Field To An External > Data Source?: > <http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7337-How-Do-I-Save-Changes-The-User-Makes-In-An-Editor-Field-To-An-External-Data-Source- > > But If I want store into the datagrid I don't need it, isn't? That is correct. If you are just storing the changes in the Data Grid you don't need to do anything. By setting the dgTemplateFieldEditor["utf8text"] property the Data Grid knows to store whatever text the user enters as UTF8 in the Data Grid array. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From jimaultwins at yahoo.com Wed Dec 23 01:10:39 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 22 Dec 2009 22:10:39 -0800 Subject: Slideshows in iRev In-Reply-To: <4B31A661.8030607@hindu.org> References: <4B2DBC41.6090406@hindu.org> <e5e009d70912200144k5abe2a9es8ffb01ffceaa4cb0@mail.gmail.com> <4B2E6E53.5060807@hyperactivesw.com> <f99b52860912201923ra7acb7fndbcfb6191b94497e@mail.gmail.com> <4B2F12DB.40507@hyperactivesw.com> <78195D89-2E41-4CFD-AE9B-BB052C1ABEAE@yahoo.com> <4B31A661.8030607@hindu.org> Message-ID: <E2880FBE-C96E-4F39-820F-586199209A9F@yahoo.com> For me, right clicking downloads the result of running the irev code, but not the <?rev ?> code itself. If you saved a version as .txt it would probably work. Looking forward to seeing your solution. I am building one that works with JQuery and is much more than a simple slide show. It is a specialized video library browser. Jim Ault Las Vegas On Dec 22, 2009, at 9:10 PM, Sivakatirswami wrote: > Jim Ault wrote: >>> <meta HTTP-EQUIV="refresh" CONTENT="10"> > > > I think I'm pretty close to a final "product: > > > Enjoy: > > http://himalayanacademy.com/slideshows/aadheenam/2009/iraivan_2009-May-June_Gold-Gilding/ > > The above folder has 180 photos, 1 index.html file and 1 title.txt > file: > > source irev: (right click to download the code) > > http://www.himalayanacademy.com/slideshows/templates/slideshow-auto.irev > > index page to put into to the folder with the photos. > > http://www.himalayanacademy.com/slideshows/templates/Slideshow-Index-Template.html > From jimaultwins at yahoo.com Wed Dec 23 01:15:07 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 22 Dec 2009 22:15:07 -0800 Subject: web tables 2 rev tables In-Reply-To: <OF145037D1.6A6802BE-ON85257695.00145040-85257695.001525AD@sealedair.com> References: <OF145037D1.6A6802BE-ON85257695.00145040-85257695.001525AD@sealedair.com> Message-ID: <2AFB4A11-1507-4716-B4D5-59E5346C9596@yahoo.com> It also works if you do a more general code replace "<table" with (cr & "<table") in tData since there is no other html tag that has the word 'table' in it to confuse your script Jim Ault Las Vegas On Dec 22, 2009, at 7:51 PM, Roger.E.Eller at sealedair.com wrote: > Phil Davis <revdev at pdslabs.net> wrote: >> Hi Roger, >> >> It seems to me the bigger problem is the conversion of nested html >> tables, which are pretty common. That said, here is a button script >> that >> converts a 'simple' html table to a tab-delimited text file. From >> there >> the sky is the limit. ;-) NOTE: This code works with only the >> simplest >> of tables, but it gives you a starting point if you want to go this >> way. > > That's a sweet script Phil! > I only had to change one line because my html table tags included a > few > other other descriptors. > > CHANGED: > replace "<table>" with (cr & "<table>") in tData > TO: > replace "<table border=1 cellpadding=3 cellspacing=1>" with (cr & > "<table>") in tData > > Thank you, and Merry Christmas!!! From sundown at pacifier.com Wed Dec 23 01:27:59 2009 From: sundown at pacifier.com (-= JB =-) Date: Tue, 22 Dec 2009 22:27:59 -0800 Subject: Slideshows in iRev In-Reply-To: <E2880FBE-C96E-4F39-820F-586199209A9F@yahoo.com> References: <4B2DBC41.6090406@hindu.org> <e5e009d70912200144k5abe2a9es8ffb01ffceaa4cb0@mail.gmail.com> <4B2E6E53.5060807@hyperactivesw.com> <f99b52860912201923ra7acb7fndbcfb6191b94497e@mail.gmail.com> <4B2F12DB.40507@hyperactivesw.com> <78195D89-2E41-4CFD-AE9B-BB052C1ABEAE@yahoo.com> <4B31A661.8030607@hindu.org> <E2880FBE-C96E-4F39-820F-586199209A9F@yahoo.com> Message-ID: <89E213DB-9A3E-40D3-8BC7-65478668510B@pacifier.com> I could not download the code either. I am using a Mac and a lot of times that right click stuff doesn't seem to do what you would expect. Would love the code if you make if available another way. Nice looking pictures by the way. -=>JB<=- On Dec 22, 2009, at 10:10 PM, Jim Ault wrote: > For me, right clicking downloads the result of running the irev > code, but not the <?rev ?> code itself. If you saved a version > as .txt it would probably work. Looking forward to seeing your > solution. > > I am building one that works with JQuery and is much more than a > simple slide show. It is a specialized video library browser. > > Jim Ault > Las Vegas > > On Dec 22, 2009, at 9:10 PM, Sivakatirswami wrote: > >> Jim Ault wrote: >>>> <meta HTTP-EQUIV="refresh" CONTENT="10"> >> >> >> I think I'm pretty close to a final "product: >> >> >> Enjoy: >> >> http://himalayanacademy.com/slideshows/aadheenam/2009/iraivan_2009- >> May-June_Gold-Gilding/ >> >> The above folder has 180 photos, 1 index.html file and 1 title.txt >> file: >> >> source irev: (right click to download the code) >> >> http://www.himalayanacademy.com/slideshows/templates/slideshow- >> auto.irev >> >> index page to put into to the folder with the photos. >> >> http://www.himalayanacademy.com/slideshows/templates/Slideshow- >> Index-Template.html >> > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From richmondmathewson at gmail.com Wed Dec 23 02:10:28 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 23 Dec 2009 09:10:28 +0200 Subject: Slideshows in iRev In-Reply-To: <4B31A661.8030607@hindu.org> References: <4B2DBC41.6090406@hindu.org> <e5e009d70912200144k5abe2a9es8ffb01ffceaa4cb0@mail.gmail.com> <4B2E6E53.5060807@hyperactivesw.com> <f99b52860912201923ra7acb7fndbcfb6191b94497e@mail.gmail.com> <4B2F12DB.40507@hyperactivesw.com> <78195D89-2E41-4CFD-AE9B-BB052C1ABEAE@yahoo.com> <4B31A661.8030607@hindu.org> Message-ID: <4B31C264.9010406@gmail.com> Lovely pictures and lovely music! Congratulations on such a wondrous building. sincerely, Richmond Mathewson. From scott at tactilemedia.com Wed Dec 23 02:10:47 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 22 Dec 2009 23:10:47 -0800 Subject: View and print a PDF file from Rev In-Reply-To: <2A5E48CA-2605-48C5-8EA5-6FFCCEB844A0@dvcreators.net> Message-ID: <C7570277.46B54%scott@tactilemedia.com> Recently, Josh Mellicker wrote: >> I have some code for displaying PDF pages in a Rev player, but as far as I >> know, the resolution is limited to the screen so I don't think this would be >> useful for you for printing. > > Hi Scott, > > is the code anything different than "set the filename to"? In terms of simply displaying the PDF, no. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From scott at tactilemedia.com Wed Dec 23 04:55:31 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 23 Dec 2009 01:55:31 -0800 Subject: button - ID number - image object - filename - folder of pngs and jpgs In-Reply-To: <75848368-94D5-4A32-B69F-21DAF5511756@ezpzapps.com> Message-ID: <C7572913.46B5E%scott@tactilemedia.com> Recently, jim sims wrote: > I've inherited some stacks that use the following method to display > icon images for lots of buttons on OS X. > ... > My problem is when I make a standalone. The first time the standalone > is run, none of the images (as explained above) appear in the buttons. > > However, the second time I open the standalone it all seems to work > fine, all images appear as desired. Is there some routine present that sets the defaultFolder or similar to an alternate path at startup or shutdown? Maybe try explicitly setting the defaultFolder yourself at startup. Or maybe run a loop that resets the filename of each image that has an external link. Something like: repeat with N = 1 to number of imgs of this cd put fileName of img N into origPath set fileName of img N to empty set fileName of img N to origPath end repeat Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From bdrunrev at gmail.com Wed Dec 23 04:58:31 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 23 Dec 2009 09:58:31 +0000 Subject: 4.0 engine as an executable shell/cgi Message-ID: <edcc7e6b0912230158t7fe173e8vfb2b5f3ba9d99c5c@mail.gmail.com> The 4.0 engine does not work from a command line at all i.e. as a shell script processor (at least I can get no output from it). Somewhere (maybe it was in the text file about the engine) it states that this new lack of functionality was a side-effect of enabling the engine to produce revlets. Seems like a strange explanation, but there you go... It means anyone who does use that kind of functionality should keep old copies of Rev around. And with Rev version 4+ it will no longer be possible to use Rev as a cgi program. Has the apache module been released so that Rev can be used on one's own server? Bernard From ambassador at fourthworld.com Wed Dec 23 07:52:00 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 23 Dec 2009 04:52:00 -0800 Subject: 4.0 engine as an executable shell/cgi Message-ID: <4B321270.5040909@fourthworld.com> Bernard wrote: > The 4.0 engine does not work from a command line at all i.e. as a > shell script processor (at least I can get no output from it). > Somewhere (maybe it was in the text file about the engine) it states > that this new lack of functionality was a side-effect of enabling the > engine to produce revlets. Seems like a strange explanation, but > there you go... > > It means anyone who does use that kind of functionality should keep > old copies of Rev around. And with Rev version 4+ it will no longer > be possible to use Rev as a cgi program. Has the apache module been > released so that Rev can be used on one's own server? The note was in the v4.0 Engine Change Log: ------------------------------------------------------ Standalone Building ~~~~~~~~~~~~~~~~~~~ The method by which standalone building is done has changed in this release. Standalones are now built in such a way that they behave much better as executable files on all three platforms. In particular, Revolution standalone executables can now: - be digitally signed using the various OS tools on Windows and Mac OS X - have arbitrarily sized document and application ICO files used on Windows - have their resources edited on Windows - be used with various third-party executable processing tools (such as compressors, trial run makers, network key wrappers etc.) In order to achieve this, it has been necessary to implement the core operation of standalone building in the (ide) engine. This means that the standalone engine provided in the distribution is no longer generally useful as anything other than the shell which is used to form the standalone. In particular, it cannot be used to build standalones using the method previously used nor can it be used as a generic command line engine. ------------------------------------------------------ Kevin has stated here his intention of providing a free engine for CGI use for v4 forward as has always been the case, but given the complexity of the RevWeb plugin I can understand the delay in delivering this. In the meantime I've continued using the v3.5 engine as a CGI, and given that most of the v4 changes affect things that don't come into play in a faceless mode I would imagine v3.5 would be suitable for most command line-driven projects. Is there something specific to v4 your project needs which would preclude using the v3.5 runtime engine? Maybe we can brainstorm a workaround to get you going. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From mcgrath3 at mac.com Wed Dec 23 08:09:54 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 23 Dec 2009 08:09:54 -0500 Subject: Slideshows in iRev In-Reply-To: <4B31A661.8030607@hindu.org> References: <4B2DBC41.6090406@hindu.org> <e5e009d70912200144k5abe2a9es8ffb01ffceaa4cb0@mail.gmail.com> <4B2E6E53.5060807@hyperactivesw.com> <f99b52860912201923ra7acb7fndbcfb6191b94497e@mail.gmail.com> <4B2F12DB.40507@hyperactivesw.com> <78195D89-2E41-4CFD-AE9B-BB052C1ABEAE@yahoo.com> <4B31A661.8030607@hindu.org> Message-ID: <E347CA02-FB33-4FFE-869D-D8ABDFFD5FE8@mac.com> WOW......... I mean like WOW..... This is such a great slideshow. I have watched it twice through now and I am in awe... Thank you Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 23, 2009, at 12:10 AM, Sivakatirswami wrote: > Jim Ault wrote: >>> <meta HTTP-EQUIV="refresh" CONTENT="10"> > > > I think I'm pretty close to a final "product: > > > Enjoy: > > http://himalayanacademy.com/slideshows/aadheenam/2009/iraivan_2009-May-June_Gold-Gilding/ > > The above folder has 180 photos, 1 index.html file and 1 title.txt > file: > > source irev: (right click to download the code) > > http://www.himalayanacademy.com/slideshows/templates/slideshow-auto.irev > > index page to put into to the folder with the photos. > > http://www.himalayanacademy.com/slideshows/templates/Slideshow-Index-Template.html > > Sivakatirswami > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bdrunrev at gmail.com Wed Dec 23 10:38:45 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 23 Dec 2009 15:38:45 +0000 Subject: 4.0 engine as an executable shell/cgi In-Reply-To: <4B321270.5040909@fourthworld.com> References: <4B321270.5040909@fourthworld.com> Message-ID: <edcc7e6b0912230738t2d9caccanf23c93d75bb34edc@mail.gmail.com> Hi Richard On Wed, Dec 23, 2009 at 12:52 PM, Richard Gaskin <ambassador at fourthworld.com> wrote: > In the meantime I've continued using the v3.5 engine as a CGI, and given > that most of the v4 changes affect things that don't come into play in a > faceless mode I would imagine v3.5 would be suitable for most command > line-driven projects. > > Is there something specific to v4 your project needs which would preclude > using the v3.5 runtime engine? ?Maybe we can brainstorm a workaround to get > you going. > > -- > ?Richard Gaskin I thought I'd read it in the log text files, but I wasn't at a computer with 4.0 installed when I wrote that. Thanks (as always) for your offer of help. Much appreciated. However, I found out that Rev 4.0 didn't work as a shell processor when I tried running some of my Rev shell scripts with 4.0. As I had 3.5 installed on that computer, I just switched to using that instead. But I thought it was important to raise this issue about the changes to the way Rev works in case other people were thinking to use Rev 4 in a cgi environment. In another thread yesterday Viktoras was asking about virtual servers hosts on the internet where he could install Rev. It was in this context that I wondered about the availability of the Apache module from on-Rev. Clearly it's been in use for months now, but I don't remember seeing that it been made publicly available. Regards, Bernard From richmondmathewson at gmail.com Wed Dec 23 10:40:55 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 23 Dec 2009 17:40:55 +0200 Subject: [OT] "The Perfect Time to Come Back" Message-ID: <4B323A07.7060000@gmail.com> Well it made me laugh (mind you I have a feeling that is not what I was meant to do) . . . What from? The dead, perhaps? Vegetarianism, perhaps (the roast turkey seemed to be saying something)? Homosexuality, perhaps (the attractive woman . . . )? other suggestions welcome . . . . . . From sims at ezpzapps.com Wed Dec 23 11:11:51 2009 From: sims at ezpzapps.com (Jim Sims) Date: Wed, 23 Dec 2009 17:11:51 +0100 Subject: [OT] "The Perfect Time to Come Back" In-Reply-To: <4B323A07.7060000@gmail.com> References: <4B323A07.7060000@gmail.com> Message-ID: <73DC49E6-4345-44A5-A3C1-36B835DC6A63@ezpzapps.com> On Dec 23, 2009, at 4:40 PM, Richmond Mathewson wrote: > Well it made me laugh (mind you I have a feeling > that is not what I was meant to do) . . . Didn't know I'd left. Didn't know you left either. Maybe we've had a memory lapse, group memory lapse? jeez sims From sims at ezpzapps.com Wed Dec 23 11:14:41 2009 From: sims at ezpzapps.com (Jim Sims) Date: Wed, 23 Dec 2009 17:14:41 +0100 Subject: button - ID number - image object - filename - folder of pngs and jpgs In-Reply-To: <C7572913.46B5E%scott@tactilemedia.com> References: <C7572913.46B5E%scott@tactilemedia.com> Message-ID: <D9F7C8E3-92AB-4BF1-8F3B-87F59E9F292A@ezpzapps.com> On Dec 23, 2009, at 10:55 AM, Scott Rossi wrote: > Maybe try explicitly setting the defaultFolder yourself at start Thanks Scott, turned out to be the right area to look. My mind was mistakenly on an OS glitch of some kind when I should have been thinking defaultFolder instead. sims From ambassador at fourthworld.com Wed Dec 23 11:27:21 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 23 Dec 2009 08:27:21 -0800 Subject: 4.0 engine as an executable shell/cgi Message-ID: <4B3244E9.7040309@fourthworld.com> Bernard Devlin wrote: > But I thought it was important to raise this issue about the changes > to the way Rev works in case other people were thinking to use Rev 4 > in a cgi environment. Agreed. I understand RunRev Ltd. is on holiday break at the moment, but I'm hoping when they get back they'll be in a position to move forward with the new server thang. > It was in this context that I wondered about the availability of the > Apache module from on-Rev. Clearly it's been in use for months now, > but I don't remember seeing that it been made publicly available. I don't think it's a module per se since it isn't stay-resident, which is a good thing IMO since most of us use shared hosting services and it's not easy getting admins to install a module their server for a single account. Behaviorally, it's very much like a CGI configured with .htaccess to run files ending in .irev through an enhanced merge function. At least that's how I've been able to approximate the behavior, as with the templates driving the blog at revJournal.com. While missing some of the syntactic sugar on-rev users enjoy (and without the great benefit of live debugging), it's been delightfully simple to drop RevTalk function calls in standard HTML pages and have them fill in the blanks from calls to a library stack. Merge is a beautiful thing. But as for the new server component, I'm not really sure what exactly it is. I'm told it's not a CGI, and it doesn't behave like a module. Whatever it is, I'm looking forward to getting my hands on it. :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From index at kenjikojima.com Wed Dec 23 11:42:58 2009 From: index at kenjikojima.com (Kenji Kojima) Date: Wed, 23 Dec 2009 11:42:58 -0500 Subject: Can I know the revWeb is installed? Message-ID: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com> Hi, Can I know the revWeb plugin is installed or not by a script? I want to make an application for desktop + web browser. And desktop version can detect a plugin. Thanks, -- Kenji Kojima http://kenjikojima.com/999ViewsRenga/ From insidepocket at gmail.com Wed Dec 23 12:52:35 2009 From: insidepocket at gmail.com (Brian Thomas) Date: Wed, 23 Dec 2009 09:52:35 -0800 Subject: free Rev game! - free Monks! Message-ID: <849418030912230952i47cb8373q39b73194e7f0b5ef@mail.gmail.com> 21 years after it began If Monks had Macs is ending, as all good media things must, with a remake. Hi, this is the author of If Monks had Macs. Jacqueline Landman Gay and I have been doing a remake of the last volume of Monks in preparation for the free release of what may be the longest running multimedia release in history. The final version of Monks was released for Windows and Macs with Revolution. *** I would like you recommendations of where to upload a free version of a 150 megabyte program *** You can download the remake of our philosophical game, Killing Time, here: http://rivertext.com/ Please report any bugs, problems or praise back to us here in this thread. I don?t know if a game about death is really in the Christmas spirit, but you can?t argue with the ?free? part. Killing Time is beautifully illustrated, quick and deep. -- Brian Thomas From m.schonewille at economy-x-talk.com Wed Dec 23 12:59:38 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 23 Dec 2009 18:59:38 +0100 Subject: free Rev game! - free Monks! In-Reply-To: <849418030912230952i47cb8373q39b73194e7f0b5ef@mail.gmail.com> References: <849418030912230952i47cb8373q39b73194e7f0b5ef@mail.gmail.com> Message-ID: <7EE8F383-3962-48A3-8785-6BB236EE6512@economy-x-talk.com> Hi Brian, Thanks, this is great news. You can use Rapidshare.com to share big files (max 200MB). You might want to use a combination of Rapidshare and a torrent file and let people choose what they prefer. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Full PayPal integration and automation in web site or (Revolution/ SuperCard/other) software. Contact me for a quote before 1 Jan 2010 and we'll charge (reduced) 2009 prices. http://economy-x-talk.com/contact.html Op 23 dec 2009, om 18:52 heeft Brian Thomas het volgende geschreven: > 21 years after it began If Monks had Macs is ending, as all good media > things must, with a remake. > > Hi, this is the author of If Monks had Macs. Jacqueline Landman Gay > and I > have been doing a remake of the last volume of Monks in preparation > for the > free release of what may be the longest running multimedia release in > history. The final version of Monks was released for Windows and > Macs with > Revolution. > > *** I would like you recommendations of where to upload a free > version of a > 150 megabyte program *** > > You can download the remake of our philosophical game, Killing Time, > here: > > http://rivertext.com/ > > Please report any bugs, problems or praise back to us here in this > thread. > > I don?t know if a game about death is really in the Christmas > spirit, but > you can?t argue with the ?free? part. > > Killing Time is beautifully illustrated, quick and deep. > > -- > Brian Thomas From insidepocket at gmail.com Wed Dec 23 13:06:59 2009 From: insidepocket at gmail.com (Brian Thomas) Date: Wed, 23 Dec 2009 10:06:59 -0800 Subject: free Rev game! - free Monks! In-Reply-To: <7EE8F383-3962-48A3-8785-6BB236EE6512@economy-x-talk.com> References: <849418030912230952i47cb8373q39b73194e7f0b5ef@mail.gmail.com> <7EE8F383-3962-48A3-8785-6BB236EE6512@economy-x-talk.com> Message-ID: <849418030912231006h164b5749g6110c1bca4eed55d@mail.gmail.com> Doesn't rapidshare make providers buy pro accounts or cancel the transmissions after a certain amount of time? On Wed, Dec 23, 2009 at 9:59 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Brian, > > Thanks, this is great news. > > You can use Rapidshare.com to share big files (max 200MB). You might want > to use a combination of Rapidshare and a torrent file and let people choose > what they prefer. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > > Full PayPal integration and automation in web site or > (Revolution/SuperCard/other) software. Contact me for a quote before 1 Jan > 2010 and we'll charge (reduced) 2009 prices. > http://economy-x-talk.com/contact.html > > Op 23 dec 2009, om 18:52 heeft Brian Thomas het volgende geschreven: > > > 21 years after it began If Monks had Macs is ending, as all good media >> things must, with a remake. >> >> Hi, this is the author of If Monks had Macs. Jacqueline Landman Gay and I >> have been doing a remake of the last volume of Monks in preparation for >> the >> free release of what may be the longest running multimedia release in >> history. The final version of Monks was released for Windows and Macs with >> Revolution. >> >> *** I would like you recommendations of where to upload a free version of >> a >> 150 megabyte program *** >> >> You can download the remake of our philosophical game, Killing Time, here: >> >> http://rivertext.com/ >> >> Please report any bugs, problems or praise back to us here in this thread. >> >> I don?t know if a game about death is really in the Christmas spirit, but >> you can?t argue with the ?free? part. >> >> Killing Time is beautifully illustrated, quick and deep. >> >> -- >> Brian Thomas >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Brian insidepocket at gmail.com From josh at dvcreators.net Wed Dec 23 13:27:49 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 23 Dec 2009 10:27:49 -0800 Subject: free Rev game! - free Monks! In-Reply-To: <849418030912230952i47cb8373q39b73194e7f0b5ef@mail.gmail.com> References: <849418030912230952i47cb8373q39b73194e7f0b5ef@mail.gmail.com> Message-ID: <C720C3AF-2FCE-496C-A887-B16A6A79ECCE@dvcreators.net> On Dec 23, 2009, at 9:52 AM, Brian Thomas wrote: > If Monks had Macs Couldn't resist posting this movie: http://dvcreators.net/media/misc/hindu_monastery.html that will offer a tiny glimpse into the extraordinary work being done at the media lab at the Hindu Monastery on Kauai, including Sivakatirswami who uses Revolution for many purposes. From insidepocket at gmail.com Wed Dec 23 13:42:03 2009 From: insidepocket at gmail.com (Brian Thomas) Date: Wed, 23 Dec 2009 10:42:03 -0800 Subject: free Rev game! - free Monks! In-Reply-To: <C720C3AF-2FCE-496C-A887-B16A6A79ECCE@dvcreators.net> References: <849418030912230952i47cb8373q39b73194e7f0b5ef@mail.gmail.com> <C720C3AF-2FCE-496C-A887-B16A6A79ECCE@dvcreators.net> Message-ID: <849418030912231042r17d4dfeam42f00c500fcd4802@mail.gmail.com> Wow, the monks posture was better than that of their Macintosh displays! I really liked seeing that film. I am about to write a letter about the game to the Monks of an ashram on the Ganges River in Rishikesh where I stayed last Christmas. I was hoping to get some positive feedback that everything is working here first. Let me just say that the game is SOLITAIRE FOR MONKS! On Wed, Dec 23, 2009 at 10:27 AM, Josh Mellicker <josh at dvcreators.net>wrote: > > On Dec 23, 2009, at 9:52 AM, Brian Thomas wrote: > > > If Monks had Macs > > > Couldn't resist posting this movie: > > http://dvcreators.net/media/misc/hindu_monastery.html > > that will offer a tiny glimpse into the extraordinary work being done at > the media lab at the Hindu Monastery on Kauai, including Sivakatirswami who > uses Revolution for many > purposes._______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Brian insidepocket at gmail.com From insidepocket at gmail.com Wed Dec 23 14:01:56 2009 From: insidepocket at gmail.com (Brian Thomas) Date: Wed, 23 Dec 2009 11:01:56 -0800 Subject: free Rev game! - free Monks! In-Reply-To: <849418030912231042r17d4dfeam42f00c500fcd4802@mail.gmail.com> References: <849418030912230952i47cb8373q39b73194e7f0b5ef@mail.gmail.com> <C720C3AF-2FCE-496C-A887-B16A6A79ECCE@dvcreators.net> <849418030912231042r17d4dfeam42f00c500fcd4802@mail.gmail.com> Message-ID: <849418030912231101l654a9ad9h59c6d02ab5b8a09e@mail.gmail.com> Ah, I didn't finish that last note before my finger hit the return. Let me just say that the game is SOLITAIRE FOR MONKS! Killing Time was born when the Voyager Company created an ad saying that were "games in If Monks had Macs because monks goofed off." I thought that was sort of disrespectful. So, I designed a game especially for monks. Also, I created a picture book while living in a Hindu ashram last Christmas. It is online here: http://rivertext.smugmug.com/Travel/This-is-India/7344740_RMt4r <http://rivertext.smugmug.com/Travel/This-is-India/7344740_RMt4r>Brian P.S. are these messages still archived on the web? I accidentally let my email address signature get posted in the last email. > > > From bvg at mac.com Wed Dec 23 14:12:11 2009 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 23 Dec 2009 20:12:11 +0100 Subject: [OT] "The Perfect Time to Come Back" In-Reply-To: <4B323A07.7060000@gmail.com> References: <4B323A07.7060000@gmail.com> Message-ID: <C5D07A87-A496-4FFD-A303-C1C871576EC2@mac.com> Targeted advertisement sucks... unless it goes wrong of course :D On 23 Dec 2009, at 16:40, Richmond Mathewson wrote: > Well it made me laugh (mind you I have a feeling > that is not what I was meant to do) . . . > > What from? > > The dead, perhaps? > > Vegetarianism, perhaps (the roast turkey seemed to be saying something)? > > Homosexuality, perhaps (the attractive woman . . . )? > > other suggestions welcome . . . . . . > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From troy_lists at rpsystems.net Wed Dec 23 14:30:39 2009 From: troy_lists at rpsystems.net (Troy Rollins) Date: Wed, 23 Dec 2009 14:30:39 -0500 Subject: Slideshows in iRev In-Reply-To: <E347CA02-FB33-4FFE-869D-D8ABDFFD5FE8@mac.com> References: <4B2DBC41.6090406@hindu.org> <e5e009d70912200144k5abe2a9es8ffb01ffceaa4cb0@mail.gmail.com> <4B2E6E53.5060807@hyperactivesw.com> <f99b52860912201923ra7acb7fndbcfb6191b94497e@mail.gmail.com> <4B2F12DB.40507@hyperactivesw.com> <78195D89-2E41-4CFD-AE9B-BB052C1ABEAE@yahoo.com> <4B31A661.8030607@hindu.org> <E347CA02-FB33-4FFE-869D-D8ABDFFD5FE8@mac.com> Message-ID: <090994A0-1BE4-43D5-B678-5A541D01EF64@rpsystems.net> On Dec 23, 2009, at 8:09 AM, Thomas McGrath III wrote: > WOW......... I mean like WOW..... +1 Fabulous. -- Troy RPSystems, Ltd. http://www.rpsystems.net From lfredricks at proactive-intl.com Wed Dec 23 14:46:53 2009 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 23 Dec 2009 11:46:53 -0800 Subject: December 2009 Only: Upgrade Valentina and Get Reports for Free Message-ID: <6BEE7B82F17E488DB291B30A2F009AAE@GATEWAY> Hello all, Just wanted to let you all know of a special deal we are offering in December 2009 only. All new and upgrade orders of Valentina through the valentina-db.com website includes the associated Valentina Reports module for free! This is a really great deal for the megabundle buyers through purchasing the ADK to ADK+ Upgrade. Normally, ADK to ADK+ WITH Reports runs $600, but this special offer brings the price down to $200. If you are a megabundle buyer, you will be getting also the Valentina DB ADK for Revolution (Linux), a license of Valentina Studio Pro, and all three deployment modules for Valentina Reports. http://valentina-db.com/index.php/en/component/virtuemart/?page=shop.product _details&flypage=flypage.tpl&product_id=41 You can also use this deal to upgrade to VDN which has deployable Valentina Embedded Server. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From ambassador at fourthworld.com Wed Dec 23 14:49:23 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 23 Dec 2009 11:49:23 -0800 Subject: free Rev game! - free Monks! Message-ID: <4B327443.9010300@fourthworld.com> Brian Thomas wrote: > 21 years after it began If Monks had Macs is ending, as all good media > things must, with a remake. > > Hi, this is the author of If Monks had Macs. Jacqueline Landman Gay and I > have been doing a remake of the last volume of Monks in preparation for the > free release of what may be the longest running multimedia release in > history. The final version of Monks was released for Windows and Macs with > Revolution. Congrats on the new release. > *** I would like you recommendations of where to upload a free version of a > 150 megabyte program *** I have plenty of space and bandwidth to make a section for it at revJournal.com. It would make a nice companion to the making-of article we have there: <http://www.revjournal.com/features/rivertext-monks.html> -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From bvlahos at mac.com Wed Dec 23 16:33:15 2009 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 23 Dec 2009 13:33:15 -0800 Subject: free Rev game! - free Monks! In-Reply-To: <849418030912230952i47cb8373q39b73194e7f0b5ef@mail.gmail.com> References: <849418030912230952i47cb8373q39b73194e7f0b5ef@mail.gmail.com> Message-ID: <ABEDFE65-2B8B-482D-9D27-DC2AA9389844@mac.com> Brian, It has been quite a journey. It is gratifying that you guys attended the San Gabriel Valley Macintosh Users Group in Southern California that I founded in 1984 (and is still running). The original If Monks Had Macs was truly revolutionary in so many ways and so well done. I was delighted to get the updated one made with Revolution a while back and that our paths crossed again. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) helps me remember the important details of my life. On Dec 23, 2009, at 9:52 AM, Brian Thomas wrote: > 21 years after it began If Monks had Macs is ending, as all good media > things must, with a remake. > > Hi, this is the author of If Monks had Macs. Jacqueline Landman Gay and I > have been doing a remake of the last volume of Monks in preparation for the > free release of what may be the longest running multimedia release in > history. The final version of Monks was released for Windows and Macs with > Revolution. > > *** I would like you recommendations of where to upload a free version of a > 150 megabyte program *** > > You can download the remake of our philosophical game, Killing Time, here: > > http://rivertext.com/ > > Please report any bugs, problems or praise back to us here in this thread. > > I don?t know if a game about death is really in the Christmas spirit, but > you can?t argue with the ?free? part. > > Killing Time is beautifully illustrated, quick and deep. > > -- > Brian Thomas > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From coiin at verizon.net Wed Dec 23 18:28:19 2009 From: coiin at verizon.net (Colin Holgate) Date: Wed, 23 Dec 2009 18:28:19 -0500 Subject: free Rev game! - free Monks! In-Reply-To: <849418030912230952i47cb8373q39b73194e7f0b5ef@mail.gmail.com> References: <849418030912230952i47cb8373q39b73194e7f0b5ef@mail.gmail.com> Message-ID: <BCA2FE63-06EE-4E6D-BDA5-9ACC46D424B6@verizon.net> On Dec 23, 2009, at 12:52 PM, Brian Thomas wrote: > 21 years after it began If Monks had Macs is ending, as all good media > things must, with a remake. I demand a free copy! Oh, it's free for everyone... well, that's ok then. From vokey at uleth.ca Wed Dec 23 20:04:01 2009 From: vokey at uleth.ca (Vokey, John) Date: Wed, 23 Dec 2009 18:04:01 -0700 Subject: large-file sharing In-Reply-To: <20091223180004.F14D9288726@mail.runrev.com> References: <20091223180004.F14D9288726@mail.runrev.com> Message-ID: <2FB6D3FC-A562-48C3-ABFC-CF173B6CF714@uleth.ca> On 2009-12-23, at 11:00 AM, use-revolution-request at lists.runrev.com wrote: > *** I would like you recommendations of where to upload a free version of a > 150 megabyte program *** Try Dropbox: <https://www.dropbox.com/home#/> -- Please avoid sending me Word or PowerPoint attachments. See <http://www.gnu.org/philosophy/no-word-attachments.html> From capellan2000 at gmail.com Wed Dec 23 22:15:12 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 23 Dec 2009 23:15:12 -0400 Subject: free Rev game! - free Monks! Message-ID: <3bbe202f0912231915j67706e86nf4a8abff5a0063ca@mail.gmail.com> Hi Mr. Thomas On Wed, 23 Dec 2009 09:52:35 -0800 Brian Thomas wrote: > Hi, this is the author of If Monks had Macs. Jacqueline Landman Gay and I > have been doing a remake of the last volume of Monks in preparation for the > free release of what may be the longest running multimedia release in > history. The final version of Monks was released for Windows and Macs with > Revolution. This a great christmas gift! Many Thanks, Mr. Thomas. > *** I would like you recommendations of where to upload a free version of a > 150 megabyte program *** My advice is to use the free services of MegaUpload, that behave better than many other free options. > You can download the remake of our philosophical game, Killing Time, here: > http://rivertext.com/ > Please report any bugs, problems or praise back to us here in this thread. > I don?t know if a game about death is really in the Christmas spirit, but > you can?t argue with the ?free? part. > Killing Time is beautifully illustrated, quick and deep. Downloading now :-) Wonderful gift. Thanks again! Alejandro From film2 at handheldfilm.com Thu Dec 24 12:13:04 2009 From: film2 at handheldfilm.com (Emmett Gray) Date: Thu, 24 Dec 2009 12:13:04 -0500 Subject: HC convert: help with text as graphic or rotated text Message-ID: <p0624081dc7594cc5cdad@[192.168.1.2]> I'm new to the list and this is my first post. I've done my first successful stack conversion from Hypercard so I'm up to speed on the basics. My next conversion project involves a custom CD C-card printer, which converts a CD premaster text file (with pq codes etc.) into what you want to see on the back of a CD jewel box sent for review or duplication. The HC stack copies the album title text, which appears in a field at the top of the back panel, and deletes the existing card picture, hides all fields and buttons, types that text as a graphic, draws a selection box around it and rotates it 90 degrees and positions it to form one spine of the CD,, and then duplicates and rotates 180 degrees and positions it for the other spine, then shows all fields and buttons again. If there is a way to rotate text in Rev I would have an easy solution. I didn't find it, nor can I find a text as graphic tool in Rev to do it the HC way... TIA for help. From mwieder at ahsoftware.net Thu Dec 24 12:44:14 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 24 Dec 2009 09:44:14 -0800 Subject: HC convert: help with text as graphic or rotated text In-Reply-To: <p0624081dc7594cc5cdad@[192\.168\.1\.2]> References: <p0624081dc7594cc5cdad@[192.168.1.2]> Message-ID: <13884627187.20091224094414@ahsoftware.net> Emmett- Hi and welcome to the list. Thursday, December 24, 2009, 9:13:04 AM, you wrote: > If there is a way to rotate text in Rev I would have an easy > solution. I didn't find it, nor can I find a text as graphic tool in > Rev to do it the HC way... TIA for help. Here's my attempt at it - this code in a button script will create a graphic from the text, then rotate it 90 degrees: on mouseUp pMouseBtnNo import snapshot from field "fldTextToRotate" set the angle of the last image to 90 end mouseUp -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Thu Dec 24 12:50:31 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 24 Dec 2009 09:50:31 -0800 Subject: HC convert: help with text as graphic or rotated text In-Reply-To: <p0624081dc7594cc5cdad@192.168.1.2> References: <p0624081dc7594cc5cdad@192.168.1.2> Message-ID: <e5e009d70912240950i78e9c303t168de920b094b1cd@mail.gmail.com> I've made many of these too, as no label program does what I want. I started the HC version almost 20 years ago, and carried it over to Rev about 5 years ago, continually adding functionality. I had to create an input parser for each kind of mastering rundown list; there is no standard. One can get these lists from iTunes by copy and paste, Jam makes a good rundown and has a signature for the file, but Waveburner does not make a file that has a constant signature, and the data is easily parsed. Sonic Solutions has their own format as well. As far as rotating text and having it print well, you are out of luck. There is just no real text rotation in rev and any rotation will involve creating a graphic, etc. You can do it but it will look cheesy. But I gave up long ago dealing with c-cards, and just do the disc lable. The most important thing about making CDRs after burning is to get a label on the disc right away. That disc with a printed label, coupled with a see-through front type sleeve, is all you really need to do the job. Focusing on the actual CD label rather than try to make a thing that fits into a plastic case makes the job much easier, and much greener. One can print a square-cut version of the same layout to insert into the sleeve to read while the CD is playing. I went crazy with this (personal) project because, as you have found, labels are the biggest PIA when one is making a lot of CDRs. I've added a whole editing functionality that allows the addition of graphics and text blocks that can be arranged as a template. All graphics are converted to text strings using Base64Encoding, and all the newly created label data can be stored as text with a filetype of .labl. But alas, since I made it for myself, the interface needs to go through a makeover if anyone else would want to try to use it. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/24 Emmett Gray <film2 at handheldfilm.com> > I'm new to the list and this is my first post. I've done my first > successful stack conversion from Hypercard so I'm up to speed on the basics. > My next conversion project involves a custom CD C-card printer, which > converts a CD premaster text file (with pq codes etc.) into what you want to > see on the back of a CD jewel box sent for review or duplication. The HC > stack copies the album title text, which appears in a field at the top of > the back panel, and deletes the existing card picture, hides all fields and > buttons, types that text as a graphic, draws a selection box around it and > rotates it 90 degrees and positions it to form one spine of the CD,, and > then duplicates and rotates 180 degrees and positions it for the other > spine, then shows all fields and buttons again. > > If there is a way to rotate text in Rev I would have an easy solution. I > didn't find it, nor can I find a text as graphic tool in Rev to do it the HC > way... TIA for help. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Thu Dec 24 14:18:11 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 24 Dec 2009 11:18:11 -0800 Subject: HC convert: help with text as graphic or rotated text In-Reply-To: <p0624081dc7594cc5cdad@[192.168.1.2]> Message-ID: <C758FE73.95%scott@tactilemedia.com> You can't physically rotate text, but you can create an image of text and rotate that. Here's one example of doing this. Execute the following in your Rev message box: go url "http://www.tactilemedia.com/site_files/downloads/textspinner.rev" If you want to print out the results, you could try creating your text at 4x the final size and then scaling down the imported text image/s to 25%. Kind of a pain to do but should give better print results. You could do all the manipulation in a hidden stack if necessary. Hope this helps. Scott Rossi Creative Director Tactile Media, Multimedia & Design On 12/24/09 9:13 AM, "Emmett Gray" <film2 at handheldfilm.com> wrote: > I'm new to the list and this is my first post. I've done my first > successful stack conversion from Hypercard so I'm up to speed on the > basics. My next conversion project involves a custom CD C-card > printer, which converts a CD premaster text file (with pq codes etc.) > into what you want to see on the back of a CD jewel box sent for > review or duplication. The HC stack copies the album title text, > which appears in a field at the top of the back panel, and deletes > the existing card picture, hides all fields and buttons, types that > text as a graphic, draws a selection box around it and rotates it 90 > degrees and positions it to form one spine of the CD,, and then > duplicates and rotates 180 degrees and positions it for the other > spine, then shows all fields and buttons again. > > If there is a way to rotate text in Rev I would have an easy > solution. I didn't find it, nor can I find a text as graphic tool in > Rev to do it the HC way... TIA for help. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From wow at together.net Thu Dec 24 14:25:56 2009 From: wow at together.net (Richard Miller) Date: Thu, 24 Dec 2009 14:25:56 -0500 Subject: Apple tablet + Rev In-Reply-To: <13884627187.20091224094414@ahsoftware.net> References: <p0624081dc7594cc5cdad@[192.168.1.2]> <13884627187.20091224094414@ahsoftware.net> Message-ID: <4B33C044.9080505@together.net> The news seems to be pointing to the release of an Apple tablet, end of January. Given the indications that it's designed to run all IPhone apps, but with more resolution to work with, anyone care to guess what the likelihood is that it could run some variation of a Rev app... or is a Rev cgi script through a browser about all we can expect? Thanks. Richard Miller From mdswindell at cruzio.com Thu Dec 24 14:35:25 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 24 Dec 2009 11:35:25 -0800 Subject: HC convert: help with text as graphic or rotated text In-Reply-To: <C758FE73.95%scott@tactilemedia.com> References: <C758FE73.95%scott@tactilemedia.com> Message-ID: <168CA586-DECA-44A0-A1A4-643510AEFBC0@cruzio.com> Does anyone know whether the Rev development team looking seriously at improving text management/manipulation in future releases? Mark On Dec 24, 2009, at 11:18 AM, Scott Rossi wrote: > You can't physically rotate text, but you can create an image of text and > rotate that. Here's one example of doing this. Execute the following in > your Rev message box: > go url "http://www.tactilemedia.com/site_files/downloads/textspinner.rev" > > If you want to print out the results, you could try creating your text at 4x > the final size and then scaling down the imported text image/s to 25%. Kind > of a pain to do but should give better print results. You could do all the > manipulation in a hidden stack if necessary. > > Hope this helps. > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > > On 12/24/09 9:13 AM, "Emmett Gray" <film2 at handheldfilm.com> wrote: > >> I'm new to the list and this is my first post. I've done my first >> successful stack conversion from Hypercard so I'm up to speed on the >> basics. My next conversion project involves a custom CD C-card >> printer, which converts a CD premaster text file (with pq codes etc.) >> into what you want to see on the back of a CD jewel box sent for >> review or duplication. The HC stack copies the album title text, >> which appears in a field at the top of the back panel, and deletes >> the existing card picture, hides all fields and buttons, types that >> text as a graphic, draws a selection box around it and rotates it 90 >> degrees and positions it to form one spine of the CD,, and then >> duplicates and rotates 180 degrees and positions it for the other >> spine, then shows all fields and buttons again. >> >> If there is a way to rotate text in Rev I would have an easy >> solution. I didn't find it, nor can I find a text as graphic tool in >> Rev to do it the HC way... TIA for help. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From briany at qldlearning.com Thu Dec 24 14:36:27 2009 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 24 Dec 2009 11:36:27 -0800 Subject: Apple tablet + Rev In-Reply-To: <4B33C044.9080505@together.net> References: <p0624081dc7594cc5cdad@[192.168.1.2]> <13884627187.20091224094414@ahsoftware.net> <4B33C044.9080505@together.net> Message-ID: <9C257BA0-CB31-4BB5-A910-14A625898BDA@qldlearning.com> I would think it depends on the specs. If the tablet "merges" the ability to run OS X apps and iPhone apps on the same machine, then we'd be in business. Or perhaps there is some sort of compatibility layer that Rev could be adapted to. If it's just an iPhone with a bigger screen, we're probably out of luck. > The news seems to be pointing to the release of an Apple tablet, end > of January. Given the indications that it's designed to run all > IPhone apps, but with more resolution to work with, anyone care to > guess what the likelihood is that it could run some variation of a > Rev app... or is a Rev cgi script through a browser about all we can > expect? > > Thanks. > Richard Miller > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Thu Dec 24 16:19:22 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 25 Dec 2009 07:19:22 +1000 Subject: Apple tablet + Rev In-Reply-To: <4B33C044.9080505@together.net> References: <p0624081dc7594cc5cdad@192.168.1.2> <13884627187.20091224094414@ahsoftware.net> <4B33C044.9080505@together.net> Message-ID: <f99b52860912241319x3f92a50dmdc8acb404d7de43a@mail.gmail.com> On Fri, Dec 25, 2009 at 5:25 AM, Richard Miller <wow at together.net> wrote: > The news seems to be pointing to the release of an Apple tablet, end of > January. Given the indications that it's designed to run all IPhone apps, > but with more resolution to work with, anyone care to guess what the > likelihood is that it could run some variation of a Rev app... or is a Rev > cgi script through a browser about all we can expect? > I am sure Apple want to leverage the power of the App store, so I am sure that any Apple tablet will run iPhone apps. But they always have made a great point of the fact that the iPhone is really running OS X. It would be fantastic if they could make a hybrid that would run iPhone & Mac apps, but if they have to choose, then I am afraid that going with iPhone apps only seems to make more business sense. Still, revServer would allow great things :-) Happy Christmas from Australia (where it is already Christmas Day), Sarah From userev at canelasoftware.com Fri Dec 25 02:19:15 2009 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 24 Dec 2009 23:19:15 -0800 Subject: Santa sighting Message-ID: <CFC173C0-085A-4156-8F5C-8C19DBD112A9@canelasoftware.com> Hi Everyone. Just thought I would share a rare picture of Santa leaving our home. I left my camera on motion detection which barely caught him on his speedy pass through our home. Thats my story and I am sticking to it. :) Merry Christmas from my family to all of you. http://www.canelasoftware.com/rev/santa_leaving.jpg Best regards, Mark Talluto http://www.canelasoftware.com From jacques.hausser at unil.ch Fri Dec 25 03:39:27 2009 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Fri, 25 Dec 2009 09:39:27 +0100 Subject: HC convert: help with text as graphic or rotated text In-Reply-To: <168CA586-DECA-44A0-A1A4-643510AEFBC0@cruzio.com> References: <C758FE73.95%scott@tactilemedia.com> <168CA586-DECA-44A0-A1A4-643510AEFBC0@cruzio.com> Message-ID: <13A4F41C-8869-49C5-A05F-64A415B4EBAD@unil.ch> Le 24 d?c. 2009 ? 20:35, Mark Swindell a ?crit : > Does anyone know whether the Rev development team looking seriously at improving text management/manipulation in future releases? > > Mark Recurrent question, since the beginning ! Typical case of selective deafness... A firm promise from Edinburgh would be a very nice Chrismas gift for everybody on this list. Happy Chrismas Jacques ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From richmondmathewson at gmail.com Fri Dec 25 08:04:52 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 25 Dec 2009 15:04:52 +0200 Subject: HC convert: help with text as graphic or rotated text In-Reply-To: <13A4F41C-8869-49C5-A05F-64A415B4EBAD@unil.ch> References: <C758FE73.95%scott@tactilemedia.com> <168CA586-DECA-44A0-A1A4-643510AEFBC0@cruzio.com> <13A4F41C-8869-49C5-A05F-64A415B4EBAD@unil.ch> Message-ID: <4B34B874.7010400@gmail.com> On 25/12/2009 10:39, Jacques Hausser wrote: > Le 24 d?c. 2009 ? 20:35, Mark Swindell a ?crit : > > >> Does anyone know whether the Rev development team looking seriously at improving text management/manipulation in future releases? >> >> Mark >> > Recurrent question, since the beginning ! Typical case of selective deafness... There seems to be an increasingly large amount of this. Either RunRev should demonstrably listen to their loyal customer base, fairly quickly and responsively; or they should stop pretending while sending out other signals. Of course the situation with the Edinburgh conference DVDs also gives a 'funny' impression. > A firm promise from Edinburgh would be a very nice Chrismas gift for everybody on this list. > > In the light of earlier 'promises' I am not entirely sure whether any future promises would have much value. Commercial companies ALWAYS cross their fingers behind their backs when making promises. Also; as I once discovered to my chagrin; RunRev, despite its "social" image, is a commercial company trying to make money. RunRev will bother about better text management/manipulation stuff when, either, enough financial pressure is brought to bear, or one of their big-time customers (???????) demands it. If you want to believe RunRev's propaganda, they are doing 'fine-and-dandy' right now with people trampling bodies in the streets just to get a copy of Studio or Enterprise; personally I don't believe that at all - the rather low level of attendance at the Edinburgh conference what a complete shock to me; as was the number of attendees (like myself) who can count the shillings they have made from using RunRev on the fingers of one hand. Many, many of Runtime Revolution's long-term users (and 'abusers' like myself) do a lot of FREE advertising for RunRev; they could, at the very least, demonstrate some sort of gratefulness for that by demonstrating that they really care about these users and their opinions. Supercard can do all sorts of things with text that RunRev cannot; now, it seems that RunRev look down their collective nose at Supercard because it is no doing all the "jazzy" things that RunRev is doing. One wonders why, when the text manipulation capabilities in Supercard are better than those in RunRev. For RunRev to really "better" than Supercard it has to have ALL the capabilites of Supercard and then all sorts of stuff that Supercard does not. The argument that RunRev can deploy on Mac, Win, Lin and all sorts of other "funny" platforms that most people have absolutely nothing to do with; while Supercard cannot, is not enough in and of itself to claim superiority over Supercard. I am sorry if my RANT upsets your post-festal digestion (whether Christmas, Pancha Ganapati, or Kwanza [ and, Please, do not take offence that I did not pop the name of your festival down here, just ascribe it to my ignorance and forgive me]), but on this topic I feel extremely strongly. ------------------------------------------------------------------------------------------ I wish everybody, regardless of persuasion, an Extremely Happy and Fruitful New Year. sincerely, Richmond Mathewson. From kevin at runrev.com Fri Dec 25 08:30:26 2009 From: kevin at runrev.com (Kevin Miller) Date: Fri, 25 Dec 2009 13:30:26 +0000 Subject: Merry Christmas and Happy Holidays Message-ID: <C75A6EF2.9709%kevin@runrev.com> Hi everyone, Just opened the computer for two minutes to send you a Christmas e-card. I hope everyone has a wonderful Christmas and New Year, and all the very best for 2010. http://www.youtube.com/watch?v=Hyu9PVaIfKo Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From film2 at handheldfilm.com Fri Dec 25 09:11:18 2009 From: film2 at handheldfilm.com (Emmett Gray) Date: Fri, 25 Dec 2009 09:11:18 -0500 Subject: HC convert: help with text as graphic or rotated text Message-ID: <p06240830c75a7145fa56@[192.168.1.2]> Thanks, Mark, your "attempt" works. Here's my functioning handler: on doSpine -- called on closing the field "Spine Text" and again when printing, to be safe set tool to pointer --to delete existing spine graphic click at 49,166 delete click at 455,166 delete set tool to browse select empty --to be sure source field is not selected, otherwise blue hilite border is included in snapshot import snapshot from field "Spine Text" set the angle of the last image to 90 move the last image to 49,166 in 1 ticks copy the last image paste set the angle of the last image to 270 move the last image to 455,166 in 1 ticks end doSpine The rotated text is a bit fuzzy but is perfectly adequate for the purpose. I'm very happy to be aboard this list and get such good and speedy help. RunRev is beginning to be fun to use. I bought a copy way way back when Rev had a special offer for HC users, paid good money for the package, gave up in frustration. Just last week I decided to have another go with the free version since SheepShaver has been getting on my nerves lately. In fact it crashed the whole machine last week... On Thu, 24 Dec 2009 09:44:14 -0800, Mark Wieder <mwieder at ahsoftware.net> wrote: >> If there is a way to rotate text in Rev I would have an easy >> solution. I didn't find it, nor can I find a text as graphic tool in >> Rev to do it the HC way... TIA for help. > >Here's my attempt at it - this code in a button script will create a >graphic from the text, then rotate it 90 degrees: > >on mouseUp pMouseBtnNo > import snapshot from field "fldTextToRotate" > set the angle of the last image to 90 >end mouseUp > From jim at visitrieve.com Fri Dec 25 09:59:46 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 25 Dec 2009 04:59:46 -1000 Subject: Happy Holidays! Message-ID: <004601ca8572$e6965be0$b3c313a0$@com> Dear Everyone, As I reflect back on this year, it is with a great sense of gratitude, appreciation and admiration, that I wish everyone on this list Mele Kalikimaka and Hau'oli Makahiki Hou! (Merry Christmas and Happy New Year!) Aloha from Hawaii Jim Bufalini From len-morgan at crcom.net Fri Dec 25 11:03:03 2009 From: len-morgan at crcom.net (Len Morgan) Date: Fri, 25 Dec 2009 10:03:03 -0600 Subject: [ANN] tRev Pre-holiday Update! In-Reply-To: <E2EA993C-4086-4038-873B-482139F3C709@me.com> References: <E2EA993C-4086-4038-873B-482139F3C709@me.com> Message-ID: <4B34E237.60002@crcom.net> Merry Christmas, Jerry! Where exactly are we supposed to "see" you this morning? Is it just going to be a video update or is this a "live" event? len Jerry Daniels wrote: > Dear tRev fanciers, > > We have just posted a fairly significant pre-holiday update for tRev. > We're making room for the revelation of our Easter Egg feature on > Christmas day. No one has found the egg, btw. > > Below you'll see a link to a 4 minute video showing you our new > Transparent Inspection feature. It has a much enhanced UI that does > not require the use of the option key. This, in turn, has freed up the > use of the option key. Details on the page to which this link points: > > http://reveditor.com/pre-holiday-update > > Best, > > Jerry Daniels > > http://reveditor.com > Want to edit something? We can help. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jerry.daniels at me.com Fri Dec 25 12:18:39 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Fri, 25 Dec 2009 11:18:39 -0600 Subject: [ANN] tRev Feature Friday: drag a handler to a new tab Message-ID: <BF11F838-CB25-410F-AC14-45D4815D2B79@me.com> Merry Christmas! That's right, we now have spring-loaded tabs in tRev! - Drag a handler over a tab and that tab opens. - Drop the handler wherever you like in the new tab's handler list. Watch this video to be amazed: http://reveditor.com/feature-friday-drag-a-handler-to-any-tab NOTE: tRev users do not need to update in order to use this feature. You have all had spring-loaded tabs for a week now. None of y'all found it, though! Bonus! - Dragging to a tab also works with folders. - You can copy (even folders)...by using option key. Use drag-to-a-tabs to extend your use of RevTalk: - Reuse: make a scrapbook "drag-from" stack of often-used handlers. - Inheritance: drag handlers up/down the message path for wider or selective use. The argument for switching to tRev has?over the last months?become quite compelling. What started as a modest, pre-release product has become a tool that extends the utility of the RevTalk language while simultaneously greatly improving developer productivity. We have 492 licenses sold, 26 Feature Fridays posted, and 86 posted articles on our site. Over 2,900 unique individual humans have visited our site, and they've viewed 15,400 pages. Why the interest in tRev? Here's why: - Handler links within scripts and across tabs - Search across all open tabs - Runs outside Revolution IDE (so what if Rev crashes?) - Decoder for modeless debugging (even dialogs!) - Seamlessly integrated Object Browser with inline name editing - Card snapshots within Browser - Drag and drop handlers within or across tabs - Drag and drop objects to relayer - Auto-complete - Folders for handlers - Transparent inspection (without leaving tRev!) - Chalkboard motif for sensitive eyes - Great interoperability with Revolution IDE - Auto-update components (often no restart!) - A spare, Zen mode without tooltips or headers/footers - Up to 20 scrollable tabs Excess tRev licenses situation... Those tRev users who--via the MegaBundle--find themselves with more than one license to tRev, should click the link above to learn about transferring your excess licenses to friends, colleagues, etc. We'd much rather have real users than just sales. Click the link above for details on this. It's toward the end of today's Feature Friday post. Thank you all for your business and interest. Best, Jerry Daniels http://reveditor.com Want to edit something? We can help! From jerry.daniels at me.com Fri Dec 25 12:24:20 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Fri, 25 Dec 2009 11:24:20 -0600 Subject: [ANN] tRev Pre-holiday Update! In-Reply-To: <4B34E237.60002@crcom.net> References: <E2EA993C-4086-4038-873B-482139F3C709@me.com> <4B34E237.60002@crcom.net> Message-ID: <7DC0B299-A27C-4B2E-AF6B-DC8B5872AA5A@me.com> Len, See my last post to the list. The goodies are on the site. See link below. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-a-handler-to-any-tab On Dec 25, 2009, at 10:03 AM, Len Morgan wrote: > Merry Christmas, Jerry! > > Where exactly are we supposed to "see" you this morning? Is it just > going to be a video update or is this a "live" event? > > len > > Jerry Daniels wrote: >> Dear tRev fanciers, >> >> We have just posted a fairly significant pre-holiday update for >> tRev. We're making room for the revelation of our Easter Egg >> feature on Christmas day. No one has found the egg, btw. >> >> Below you'll see a link to a 4 minute video showing you our new >> Transparent Inspection feature. It has a much enhanced UI that does >> not require the use of the option key. This, in turn, has freed up >> the use of the option key. Details on the page to which this link >> points: >> >> http://reveditor.com/pre-holiday-update >> >> Best, >> >> Jerry Daniels >> >> http://reveditor.com >> Want to edit something? We can help. >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From len-morgan at crcom.net Fri Dec 25 12:54:20 2009 From: len-morgan at crcom.net (Len Morgan) Date: Fri, 25 Dec 2009 11:54:20 -0600 Subject: [ANN] tRev Pre-holiday Update! In-Reply-To: <7DC0B299-A27C-4B2E-AF6B-DC8B5872AA5A@me.com> References: <E2EA993C-4086-4038-873B-482139F3C709@me.com> <4B34E237.60002@crcom.net> <7DC0B299-A27C-4B2E-AF6B-DC8B5872AA5A@me.com> Message-ID: <4B34FC4C.7040905@crcom.net> Got it. Looks cool. Just to let you know, it appears that tRev working on XP is now (unofficially) now longer possible. Don't get me wrong, SOMETHING is happening, and I still get a nice picture of tRevor in the upper right hand corner of my screen, and I even get the completely blank screen every time control is passed back and forth between tRev and the Rev IDE, but there is no tRev editor screen visible. Just thought you might like to know so you can post somewhere that tRev on (at least 1) XP system does not work. Let's hope there are some nice after Christmas sales at BestBuy so I can get a new machine and get my tRev back. R.I.P. XP :-( len Jerry Daniels wrote: > Len, > > See my last post to the list. The goodies are on the site. See link > below. > > Best, > > Jerry Daniels > > The latest Rev Editor Video: > http://reveditor.com/feature-friday-drag-a-handler-to-any-tab > > > On Dec 25, 2009, at 10:03 AM, Len Morgan wrote: > >> Merry Christmas, Jerry! >> >> Where exactly are we supposed to "see" you this morning? Is it just >> going to be a video update or is this a "live" event? >> >> len >> >> Jerry Daniels wrote: >>> Dear tRev fanciers, >>> >>> We have just posted a fairly significant pre-holiday update for >>> tRev. We're making room for the revelation of our Easter Egg feature >>> on Christmas day. No one has found the egg, btw. >>> >>> Below you'll see a link to a 4 minute video showing you our new >>> Transparent Inspection feature. It has a much enhanced UI that does >>> not require the use of the option key. This, in turn, has freed up >>> the use of the option key. Details on the page to which this link >>> points: >>> >>> http://reveditor.com/pre-holiday-update >>> >>> Best, >>> >>> Jerry Daniels >>> >>> http://reveditor.com >>> Want to edit something? We can help. >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From tim.lambert at addat.com Fri Dec 25 13:18:06 2009 From: tim.lambert at addat.com (Tim Lambert) Date: Sat, 26 Dec 2009 05:18:06 +1100 Subject: Pointers to Quicktime videos in Revlets Message-ID: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> Hi Could anyone point me to a 'How-to' to get QT vids to play from an uploaded revlet? The vids are in the same folder as the uploaded Revlet, but nowr happens. TIA. Tim From klaus at major.on-rev.com Fri Dec 25 13:22:32 2009 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 25 Dec 2009 19:22:32 +0100 Subject: Pointers to Quicktime videos in Revlets In-Reply-To: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> References: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> Message-ID: <F1A3207F-7E44-4CB0-B7A5-E9A6BD8C89D4@major.on-rev.com> Hi Tim, > Hi > Could anyone point me to a 'How-to' to get QT vids to play from an uploaded revlet? The vids are in the same folder as the uploaded Revlet, but nowr happens. I am not sure, but I think you will have to set the filename to the full URL like: http://www.server.com/movies/movie1.mov At least worth a try :-) Happy holidays! > TIA. > > Tim ___ Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From jerry.daniels at me.com Fri Dec 25 13:40:36 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Fri, 25 Dec 2009 12:40:36 -0600 Subject: [ANN] tRev Pre-holiday Update! In-Reply-To: <4B34FC4C.7040905@crcom.net> References: <E2EA993C-4086-4038-873B-482139F3C709@me.com> <4B34E237.60002@crcom.net> <7DC0B299-A27C-4B2E-AF6B-DC8B5872AA5A@me.com> <4B34FC4C.7040905@crcom.net> Message-ID: <E646ECF8-FBA7-4C51-AF84-4AB1102B7B82@me.com> As you know, Len, we have never officially supported XP (OS X, Vista/7 only), although we do have tRevers out there using XP. There are so many variants of XP and so much going on with screens and sockets, we decided from day one to avoid those headaches. Eager to have you back! Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-a-handler-to-any-tab On Dec 25, 2009, at 11:54 AM, Len Morgan wrote: > Got it. Looks cool. > > Just to let you know, it appears that tRev working on XP is now > (unofficially) now longer possible. Don't get me wrong, SOMETHING > is happening, and I still get a nice picture of tRevor in the upper > right hand corner of my screen, and I even get the completely blank > screen every time control is passed back and forth between tRev and > the Rev IDE, but there is no tRev editor screen visible. > > Just thought you might like to know so you can post somewhere that > tRev on (at least 1) XP system does not work. Let's hope there are > some nice after Christmas sales at BestBuy so I can get a new > machine and get my tRev back. > > R.I.P. XP :-( > > len > Jerry Daniels wrote: >> Len, >> >> See my last post to the list. The goodies are on the site. See link >> below. >> >> Best, >> >> Jerry Daniels >> >> The latest Rev Editor Video: >> http://reveditor.com/feature-friday-drag-a-handler-to-any-tab >> >> >> On Dec 25, 2009, at 10:03 AM, Len Morgan wrote: >> >>> Merry Christmas, Jerry! >>> >>> Where exactly are we supposed to "see" you this morning? Is it >>> just going to be a video update or is this a "live" event? >>> >>> len >>> >>> Jerry Daniels wrote: >>>> Dear tRev fanciers, >>>> >>>> We have just posted a fairly significant pre-holiday update for >>>> tRev. We're making room for the revelation of our Easter Egg >>>> feature on Christmas day. No one has found the egg, btw. >>>> >>>> Below you'll see a link to a 4 minute video showing you our new >>>> Transparent Inspection feature. It has a much enhanced UI that >>>> does not require the use of the option key. This, in turn, has >>>> freed up the use of the option key. Details on the page to which >>>> this link points: >>>> >>>> http://reveditor.com/pre-holiday-update >>>> >>>> Best, >>>> >>>> Jerry Daniels >>>> >>>> http://reveditor.com >>>> Want to edit something? We can help. >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From richmondmathewson at gmail.com Fri Dec 25 13:42:32 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 25 Dec 2009 20:42:32 +0200 Subject: Pointers to Quicktime videos in Revlets In-Reply-To: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> References: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> Message-ID: <4B350798.8050701@gmail.com> On 25/12/2009 20:18, Tim Lambert wrote: > Hi > Could anyone point me to a 'How-to' to get QT vids to play from an uploaded revlet? The vids are in the same folder as the uploaded Revlet, but nowr happens. > Well, unless they are socking-great "memory suckers" I would be inclined to embed them as one would in a 'normal' standalone. . . From jacque at hyperactivesw.com Fri Dec 25 14:02:04 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 25 Dec 2009 13:02:04 -0600 Subject: HC convert: help with text as graphic or rotated text In-Reply-To: <4B34B874.7010400@gmail.com> References: <C758FE73.95%scott@tactilemedia.com> <168CA586-DECA-44A0-A1A4-643510AEFBC0@cruzio.com> <13A4F41C-8869-49C5-A05F-64A415B4EBAD@unil.ch> <4B34B874.7010400@gmail.com> Message-ID: <4B350C2C.5040600@hyperactivesw.com> Richmond Mathewson wrote: > RunRev will bother about better text management/manipulation > stuff when, either, enough financial pressure is brought to bear, or one > of their big-time customers (???????) demands it. Or when they can work out how to provide seamless text capabilities across multiple operating systems, each with its own specs. This will require a complete rewrite of the field object. I've spoken to Mark Waddingham about this and believe me, it isn't a trival task. Rewriting the field object, which is indeed on their list of things to do, will also integrate unicode so that it works without any special commands or settings. When I asked Mark when this might happen, he told me to go read the 6,000 pages of the unicode specs and get back to him. The field object is one of the most complex and snarly bits of code in the entire engine. Raney called it "the beast" and I'd be surprised if privately the team didn't have even stronger words for it. > If you want to believe RunRev's propaganda, they are > doing 'fine-and-dandy' right now with people trampling bodies in the > streets just to get a copy of Studio or Enterprise; personally > I don't believe that at all - But you should. As a RevSelect vendor, I see how many new people are coming in and the response has been astounding. Most of the newcomers do not join the mailing list, some are on the forums instead. And many don't join either one. The current megabundle promotion has been one of the most successful in RR's history. Kudos to them for that. > the rather low level of > attendance at the Edinburgh conference what a complete shock to me It shouldn't have been. I almost didn't go myself. Scotland is far away and fairly costly to get to if you live in a distant country. > Supercard can do all sorts of things with text that RunRev cannot Yes. They only have to write for OS X, which has built-in hooks for all sort of text manipulation. Now multiply the effort by several operating systems, each of which does it differently. The scope of the endeavor is huge. Mark's been working out how to manage it for some time now. > The argument that RunRev can deploy on Mac, Win, Lin and all sorts of > other "funny" platforms > that most people have absolutely nothing to do with; while Supercard > cannot, is not enough > in and of itself to claim superiority over Supercard. RR supports OS X, three kinds of Windows, and Linux. Seems pretty standard to me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Fri Dec 25 14:12:58 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 25 Dec 2009 21:12:58 +0200 Subject: Pointers to Quicktime videos in Revlets In-Reply-To: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> References: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> Message-ID: <4B350EBA.8060607@gmail.com> On 25/12/2009 20:18, Tim Lambert wrote: > Hi > Could anyone point me to a 'How-to' to get QT vids to play from an uploaded revlet? The vids are in the same folder as the uploaded Revlet, but nowr happens. > > I wrote: "Well, unless they are socking-great "memory suckers" I would be inclined to embed them as one would in a 'normal' standalone. . ." too soon, i fear! Just embedded a movie of my older son "moshing" on his base guitar with friends and hived-off a revlet: No joy (mind you, his teenage music doesn't give me exactly 'joy' anyway); On both Safari 4 and Firefox (Mac PPC) I heard the noise (err . . . 'music'), but no picture at all. Tried a stack with an externally referenced movie: play "Volumes/HD3/Fixation.mov" at 500,350 nothing doing, even in the stack . . . however, by choosing a Quicktime Player and setting its Source via the preference palette the stack 'behaves' . . . now, let's see what happens if I hive-off a revlet: Well, well, well . . . (and this is strictly local - not from a distant server) revet loads with first frame of the movie (8.7 MB movie) and control bar; and then I end up with everybody's favourite spinning ball and the browsers cannot cope. From richmondmathewson at gmail.com Fri Dec 25 14:34:34 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 25 Dec 2009 21:34:34 +0200 Subject: HC convert: help with text as graphic or rotated text In-Reply-To: <4B350C2C.5040600@hyperactivesw.com> References: <C758FE73.95%scott@tactilemedia.com> <168CA586-DECA-44A0-A1A4-643510AEFBC0@cruzio.com> <13A4F41C-8869-49C5-A05F-64A415B4EBAD@unil.ch> <4B34B874.7010400@gmail.com> <4B350C2C.5040600@hyperactivesw.com> Message-ID: <4B3513CA.5060201@gmail.com> On 25/12/2009 21:02, J. Landman Gay wrote: > Richmond Mathewson wrote: >> RunRev will bother about better text management/manipulation >> stuff when, either, enough financial pressure is brought to bear, or >> one of their big-time customers (???????) demands it. > > Or when they can work out how to provide seamless text capabilities > across multiple operating systems, each with its own specs. This will > require a complete rewrite of the field object. I've spoken to Mark > Waddingham about this and believe me, it isn't a trivial task. Well, one would suppose both what you have written and what I have written will combine to a certain extent as motivating factors - I don't quite know why it seems rude to mention the fact that we live in a capitalist world and that Runtime Revolution is part of that world. > > Rewriting the field object, which is indeed on their list of things to > do, will also integrate unicode so that it works without any special > commands or settings. When I asked Mark when this might happen, he > told me to go read the 6,000 pages of the unicode specs and get back > to him. > > The field object is one of the most complex and snarly bits of code in > the entire engine. Raney called it "the beast" and I'd be surprised if > privately the team didn't have even stronger words for it. Why, Jacques, cannot all postings from "those in the know" be as informative as your are? Wow; integrating unicode would be marvellous. I have read about 300 pages of the unicode specs and can quite honestly say that I understood very little indeed. > >> If you want to believe RunRev's propaganda, they are >> doing 'fine-and-dandy' right now with people trampling bodies in the >> streets just to get a copy of Studio or Enterprise; personally > > I don't believe that at all - Well, as RunRev seem quite good at keeping some of the information you mention below close to their collective chest I can only go on what I see. > > But you should. As a RevSelect vendor, I see how many new people are > coming in and the response has been astounding. Most of the newcomers > do not join the mailing list, some are on the forums instead. And many > don't join either one. The current megabundle promotion has been one > of the most successful in RR's history. Kudos to them for that. I am very glad to hear it; as I am well aware of the very great difference between RR 2.6 (my previous version) and RR 4, and they can only have come about through a tremendous amount of work. It might behoove RunRev to announce the number of sales slap-bang in the middle of their website (lots of other companies do that); it would impress at least one person 'out here'. > >> the rather low level of >> attendance at the Edinburgh conference what a complete shock to me > > It shouldn't have been. I almost didn't go myself. Scotland is far > away and fairly costly to get to if you live in a distant country. I wonder whether RunRev wouldn't be better, in future, to have a North American conf. and a European conf. However, I suspect a European conf. wouldn't pay for itself. I am sad to see that a Scots Software company is not more supported on the Scots side of the pond. > >> Supercard can do all sorts of things with text that RunRev cannot > > Yes. They only have to write for OS X, which has built-in hooks for > all sort of text manipulation. Now multiply the effort by several > operating systems, each of which does it differently. The scope of the > endeavor is huge. Mark's been working out how to manage it for some > time now. I am well aware of that; I use RunRev because its advantages over Supercard well outweigh its disadvantages (which, as far as I am concerned are only the text aspects). > >> The argument that RunRev can deploy on Mac, Win, Lin and all sorts of >> other "funny" platforms >> that most people have absolutely nothing to do with; while Supercard >> cannot, is not enough >> in and of itself to claim superiority over Supercard. > > RR supports OS X, three kinds of Windows, and Linux. Seems pretty > standard to me. Very much so (at the moment); but . . . Um; Intel SPARC, SUN, Iris, UNIX . . . off in the boondocks, nicht? Thank you very much indeed for answering my 'onslaught' in a fairly comprehensive fashion, that, at least in my case, explains all sorts of things I was wondering about for ages and felt nobody had explained adequately. sincerely, Richmond Mathewson. From jacque at hyperactivesw.com Fri Dec 25 15:15:58 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 25 Dec 2009 14:15:58 -0600 Subject: HC convert: help with text as graphic or rotated text In-Reply-To: <4B3513CA.5060201@gmail.com> References: <C758FE73.95%scott@tactilemedia.com> <168CA586-DECA-44A0-A1A4-643510AEFBC0@cruzio.com> <13A4F41C-8869-49C5-A05F-64A415B4EBAD@unil.ch> <4B34B874.7010400@gmail.com> <4B350C2C.5040600@hyperactivesw.com> <4B3513CA.5060201@gmail.com> Message-ID: <4B351D7E.2010101@hyperactivesw.com> Richmond Mathewson wrote: > Well, as RunRev seem quite good at keeping some of the information you > mention below close to their collective chest > I can only go on what I see. Well, I didn't think that a field rewrite was a secret, but now I hope I haven't overstepped my NDA. Mostly I just wanted people to know that RR is aware of the necessity but it isn't easy to do and is going to take a lot of work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jimaultwins at yahoo.com Fri Dec 25 15:42:11 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 25 Dec 2009 12:42:11 -0800 Subject: HC convert: help with text as graphic or rotated text In-Reply-To: <4B351D7E.2010101@hyperactivesw.com> References: <C758FE73.95%scott@tactilemedia.com> <168CA586-DECA-44A0-A1A4-643510AEFBC0@cruzio.com> <13A4F41C-8869-49C5-A05F-64A415B4EBAD@unil.ch> <4B34B874.7010400@gmail.com> <4B350C2C.5040600@hyperactivesw.com> <4B3513CA.5060201@gmail.com> <4B351D7E.2010101@hyperactivesw.com> Message-ID: <3EA1939A-037F-40AA-AC5F-10D63DB4B269@yahoo.com> I think you were merely stating the obvious. I have no connection to RR and I use Rev every day to satisfy many client needs as well as my own. My guess is that there will be more than one field object, since many apps would not require an 'all singing all dancing' object in every project. This would mean that the programmer could check off a list of features to include depending on the project. Merry Christmas everyone. Jim Ault Las Vegas PS I will be working on a new internet business venture everyday for the next couple weeks that includes the On-Rev server, so see you on the list !! On Dec 25, 2009, at 12:15 PM, J. Landman Gay wrote: > Richmond Mathewson wrote: > >> Well, as RunRev seem quite good at keeping some of the information >> you mention below close to their collective chest >> I can only go on what I see. > > Well, I didn't think that a field rewrite was a secret, but now I > hope I haven't overstepped my NDA. Mostly I just wanted people to > know that RR is aware of the necessity but it isn't easy to do and > is going to take a lot of work. > > -- > Jacqueline From richmondmathewson at gmail.com Fri Dec 25 15:46:47 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 25 Dec 2009 22:46:47 +0200 Subject: HC convert: help with text as graphic or rotated text In-Reply-To: <4B351D7E.2010101@hyperactivesw.com> References: <C758FE73.95%scott@tactilemedia.com> <168CA586-DECA-44A0-A1A4-643510AEFBC0@cruzio.com> <13A4F41C-8869-49C5-A05F-64A415B4EBAD@unil.ch> <4B34B874.7010400@gmail.com> <4B350C2C.5040600@hyperactivesw.com> <4B3513CA.5060201@gmail.com> <4B351D7E.2010101@hyperactivesw.com> Message-ID: <4B3524B7.2030302@gmail.com> On 25/12/2009 22:15, J. Landman Gay wrote: > Richmond Mathewson wrote: > >> Well, as RunRev seem quite good at keeping some of the information >> you mention below close to their collective chest >> I can only go on what I see. > > Well, I didn't think that a field rewrite was a secret, but now I hope > I haven't overstepped my NDA. Mostly I just wanted people to know that > RR is aware of the necessity but it isn't easy to do and is going to > take a lot of work. > Well, I don't know about your NDA; mine is now used by my wife up at the University as an example of English-language legalese . . . I only hope the students don't find it as boring reading as I did . . . :) [Yes, I did read the thing!] Certainly at that meeting (to which the NDA refers) I have no memory of anything being said about text fields - mind you, come to think of it, I was so soaked by the Edinburgh rain that I can recall almost nothing at all; so, in my case at least, an NDA was completely unnecessary. After that meeting I 'escaped' as quickly as possible and headed back to my lodgings for a good long soak in a hot bath; where my mind was filled with thoughts about my family far more than what had been discussed . . . either my memory is as sieve-like as some people would have me believe, or nothing of any great moment was mentioned at the meeting. What ever, I wonder about your word 'necessity' and whether it might not be better replaced with 'need'. From wow at together.net Fri Dec 25 15:55:44 2009 From: wow at together.net (Richard Miller) Date: Fri, 25 Dec 2009 15:55:44 -0500 Subject: Pointers to Quicktime videos in Revlets In-Reply-To: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> References: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> Message-ID: <4B3526D0.4040406@together.net> Tim, Put "file:.///" before the actual location of the QT video. So if the video is here "c:/tim.mov", set the filename to: "file:///c:/tim.mov". If you're doing this on a Mac, be sure the actual location of the QT video starts with the name of your HD volume in the filename (but still following the "file:///" syntax). Best regards, Richard Miller Tim Lambert wrote: > Hi > Could anyone point me to a 'How-to' to get QT vids to play from an uploaded revlet? The vids are in the same folder as the uploaded Revlet, but nowr happens. > > TIA. > > Tim _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jacque at hyperactivesw.com Fri Dec 25 16:19:02 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 25 Dec 2009 15:19:02 -0600 Subject: Pointers to Quicktime videos in Revlets In-Reply-To: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> References: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> Message-ID: <4B352C46.2070300@hyperactivesw.com> Tim Lambert wrote: > Hi Could anyone point me to a 'How-to' to get QT vids to play from an > uploaded revlet? The vids are in the same folder as the uploaded > Revlet, but nowr happens. That's how I do it. The videos are in the same folder with the revlet, then the script references them like this: set the filename of player 1 to "http://www.domain.com/folder/movie.mov" I don't use the "file://" syntax, because a revlet is like a local stack, and a fully qualified URL is fine as a reference. The "file://" designation is only for files you want to retrieve from the user's local hard drive, not for those on your server. Unless it got fixed without my noticing, players in revlets only work reliably if the alwaysBuffer property is set to false. That may be the issue in your revlet. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From wow at together.net Fri Dec 25 16:30:54 2009 From: wow at together.net (Richard Miller) Date: Fri, 25 Dec 2009 16:30:54 -0500 Subject: Pointers to Quicktime videos in Revlets In-Reply-To: <4B352C46.2070300@hyperactivesw.com> References: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> <4B352C46.2070300@hyperactivesw.com> Message-ID: <4B352F0E.2050304@together.net> Tim, Jacqueline is right if the videos you are trying to access are on a remote server. It's not been my experience that the alwaysBuffer setting matters in a revlet. Seems they'll always default to "alwaysbuffer" is true. Richard J. Landman Gay wrote: > Tim Lambert wrote: >> Hi Could anyone point me to a 'How-to' to get QT vids to play from an >> uploaded revlet? The vids are in the same folder as the uploaded >> Revlet, but nowr happens. > > That's how I do it. The videos are in the same folder with the revlet, > then the script references them like this: > > set the filename of player 1 to "http://www.domain.com/folder/movie.mov" > > I don't use the "file://" syntax, because a revlet is like a local > stack, and a fully qualified URL is fine as a reference. The "file://" > designation is only for files you want to retrieve from the user's > local hard drive, not for those on your server. > > Unless it got fixed without my noticing, players in revlets only work > reliably if the alwaysBuffer property is set to false. That may be the > issue in your revlet. > From jacque at hyperactivesw.com Fri Dec 25 16:57:23 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 25 Dec 2009 15:57:23 -0600 Subject: Pointers to Quicktime videos in Revlets In-Reply-To: <4B352F0E.2050304@together.net> References: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> <4B352C46.2070300@hyperactivesw.com> <4B352F0E.2050304@together.net> Message-ID: <4B353543.1000609@hyperactivesw.com> Richard Miller wrote: > It's not been my experience that the alwaysBuffer setting matters in a > revlet. Seems they'll always default to "alwaysbuffer" is true. Oops, I had it backward. Seems that alwaysbuffer needs to be true -- or at least, it did. I just checked the QCC but I don't see anything about it in there so I'm not sure what the current status is. But if it works either way for you, then that's very good news. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From wow at together.net Fri Dec 25 16:58:27 2009 From: wow at together.net (Richard Miller) Date: Fri, 25 Dec 2009 16:58:27 -0500 Subject: Pointers to Quicktime videos in Revlets In-Reply-To: <4B352F0E.2050304@together.net> References: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> <4B352C46.2070300@hyperactivesw.com> <4B352F0E.2050304@together.net> Message-ID: <4B353583.1070208@together.net> Tim, One other point. Check to make sure the path to the video is case-proper. In my case, I often store videos on GoDaddy. I've found the filenames to be case-sensitive. Richard From nealk3nc at gmail.com Fri Dec 25 19:05:30 2009 From: nealk3nc at gmail.com (Neal Campbell) Date: Fri, 25 Dec 2009 19:05:30 -0500 Subject: Happy Holidays! In-Reply-To: <004601ca8572$e6965be0$b3c313a0$@com> References: <004601ca8572$e6965be0$b3c313a0$@com> Message-ID: <325413300912251605v476d26e5obf49407409a37cc6@mail.gmail.com> Say Hi to the Prez for me! Best wishes to everyone in 2010, I think we could all use a lift from these dark days! Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 242 0911 Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Fri, Dec 25, 2009 at 9:59 AM, Jim Bufalini <jim at visitrieve.com> wrote: > Dear Everyone, > > As I reflect back on this year, it is with a great sense of gratitude, > appreciation and admiration, that I wish everyone on this list Mele > Kalikimaka and Hau'oli Makahiki Hou! (Merry Christmas and Happy New Year!) > > Aloha from Hawaii > > Jim Bufalini > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Fri Dec 25 22:09:16 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 26 Dec 2009 13:09:16 +1000 Subject: Pointers to Quicktime videos in Revlets In-Reply-To: <4B352C46.2070300@hyperactivesw.com> References: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> <4B352C46.2070300@hyperactivesw.com> Message-ID: <f99b52860912251909o539676afuf56d14536d0e4243@mail.gmail.com> >> Hi Could anyone point me to a 'How-to' to get QT vids to play from an >> uploaded revlet? The vids are in the same folder as the uploaded >> Revlet, but nowr happens. > > That's how I do it. The videos are in the same folder with the revlet, then > the script references them like this: > > set the filename of player 1 to "http://www.domain.com/folder/movie.mov" Is there a way for the revlet to know where it is? I would prefer not to have to hard-wire the path, so that the revlet would work no matter where it was moved to, assuming that the media files were kept in the same relative location. Cheers, Sarah From capellan2000 at gmail.com Fri Dec 25 22:17:49 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 25 Dec 2009 23:17:49 -0400 Subject: Merry Christmas and Happy Holidays Message-ID: <3bbe202f0912251917k7de49ccgcb86e71b25d022f8@mail.gmail.com> on Date: Fri, 25 Dec 2009 13:30:26 +0000 Kevin Miller wrote: > Just opened the computer for two minutes to send you a Christmas e-card. I > hope everyone has a wonderful Christmas and New Year, and all the very best > for 2010. You are welcome! My great good wish for each member of RunRev Family is a 2010 blessed in every way. Many thanks to Runrev for jumpstart this platform in this 2009! Merry Christmas and Happy New Year! Alejandro From jim at visitrieve.com Fri Dec 25 23:15:43 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Fri, 25 Dec 2009 18:15:43 -1000 Subject: [ANN] tRev Pre-holiday Update! In-Reply-To: <E646ECF8-FBA7-4C51-AF84-4AB1102B7B82@me.com> References: <E2EA993C-4086-4038-873B-482139F3C709@me.com> <4B34E237.60002@crcom.net> <7DC0B299-A27C-4B2E-AF6B-DC8B5872AA5A@me.com> <4B34FC4C.7040905@crcom.net> <E646ECF8-FBA7-4C51-AF84-4AB1102B7B82@me.com> Message-ID: <000001ca85e2$17d4b700$477e2500$@com> Jerry Daniels wrote: > As you know, Len, we have never officially supported XP (OS X, Vista/7 > only), although we do have tRevers out there using XP. There are so > many variants of XP and so much going on with screens and sockets, we > decided from day one to avoid those headaches. > > Eager to have you back! > > > Best, > > Jerry Daniels > > The latest Rev Editor Video: > http://reveditor.com/feature-friday-drag-a-handler-to-any-tab > > On Dec 25, 2009, at 11:54 AM, Len Morgan wrote: > > > Got it. Looks cool. > > > > Just to let you know, it appears that tRev working on XP is now > > (unofficially) now longer possible. Don't get me wrong, SOMETHING > > is happening, and I still get a nice picture of tRevor in the upper > > right hand corner of my screen, and I even get the completely blank > > screen every time control is passed back and forth between tRev and > > the Rev IDE, but there is no tRev editor screen visible. > > > > Just thought you might like to know so you can post somewhere that > > tRev on (at least 1) XP system does not work. Let's hope there are > > some nice after Christmas sales at BestBuy so I can get a new > > machine and get my tRev back. > > > > R.I.P. XP :-( > > > > len For what it's worth, I have found that whenever something works on Vista/7 and not on XP (it's usually the other way around), greater than 9 times out of 10 it has nothing to do with versions of XP (Home Premium or Professional, etc.) or 64 bit or 32 bit, etc. It has to do with spaces in a file path. If you shell, or open process or pass a parameter to a process, it will work in Vista and not work in XP because of the spaces in the file path. Even if you are just writing to a user's Documents directory, in Vista this is *C:\Users\<username>\Documents\* (notice no spaces unless a user put a space in their user name). But, in XP it's C:\Documents and Settings\<userName>\My Documents\. See all those spaces in the file path in XP? They wreak havoc when passed as params, etc. This is the main reason MS renamed directories like *Documents and Settings* to *ProgramData* and *My Documents* to *Documents* and *All Users* to *Default*. The answer is just enclose any file paths in quotes. So do *quote & "C:\...." & quote*, and almost always your non-XP-working-Rev-app magically starts working on XP. Without this, it goes off into lala land. This just happened to me yesterday. I had something working perfectly in Vista but would not work on any XP machine. Luckily I remembered about spaces and quoting and got it working in short order. The other tip is even in Vista/7 avoid using directories that involve the user name as users will do things like firstName<space>lastName and this will cause the identical problem on Vista/7. It's why I recommend against using a user's Documents directory. Aloha from Hawaii, Jim Bufalini From jerry.daniels at me.com Fri Dec 25 23:27:34 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Fri, 25 Dec 2009 22:27:34 -0600 Subject: [ANN] tRev Pre-holiday Update! In-Reply-To: <000001ca85e2$17d4b700$477e2500$@com> References: <E2EA993C-4086-4038-873B-482139F3C709@me.com> <4B34E237.60002@crcom.net> <7DC0B299-A27C-4B2E-AF6B-DC8B5872AA5A@me.com> <4B34FC4C.7040905@crcom.net> <E646ECF8-FBA7-4C51-AF84-4AB1102B7B82@me.com> <000001ca85e2$17d4b700$477e2500$@com> Message-ID: <841932F2-7FB3-4BB2-82A6-3452C78B0007@me.com> Jim, I do the quote thing already. Happy holidays, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-a-handler-to-any-tab On Dec 25, 2009, at 10:15 PM, Jim Bufalini wrote: > Jerry Daniels wrote: > >> As you know, Len, we have never officially supported XP (OS X, >> Vista/7 >> only), although we do have tRevers out there using XP. There are so >> many variants of XP and so much going on with screens and sockets, we >> decided from day one to avoid those headaches. >> >> Eager to have you back! >> >> >> Best, >> >> Jerry Daniels >> >> The latest Rev Editor Video: >> http://reveditor.com/feature-friday-drag-a-handler-to-any-tab >> >> On Dec 25, 2009, at 11:54 AM, Len Morgan wrote: >> >>> Got it. Looks cool. >>> >>> Just to let you know, it appears that tRev working on XP is now >>> (unofficially) now longer possible. Don't get me wrong, SOMETHING >>> is happening, and I still get a nice picture of tRevor in the upper >>> right hand corner of my screen, and I even get the completely blank >>> screen every time control is passed back and forth between tRev and >>> the Rev IDE, but there is no tRev editor screen visible. >>> >>> Just thought you might like to know so you can post somewhere that >>> tRev on (at least 1) XP system does not work. Let's hope there are >>> some nice after Christmas sales at BestBuy so I can get a new >>> machine and get my tRev back. >>> >>> R.I.P. XP :-( >>> >>> len > > For what it's worth, I have found that whenever something works on > Vista/7 > and not on XP (it's usually the other way around), greater than 9 > times out > of 10 it has nothing to do with versions of XP (Home Premium or > Professional, etc.) or 64 bit or 32 bit, etc. It has to do with > spaces in a > file path. > > If you shell, or open process or pass a parameter to a process, it > will work > in Vista and not work in XP because of the spaces in the file path. > Even if > you are just writing to a user's Documents directory, in Vista this is > *C:\Users\<username>\Documents\* (notice no spaces unless a user put > a space > in their user name). But, in XP it's C:\Documents and Settings > \<userName>\My > Documents\. > > See all those spaces in the file path in XP? They wreak havoc when > passed as > params, etc. This is the main reason MS renamed directories like > *Documents > and Settings* to *ProgramData* and *My Documents* to *Documents* and > *All > Users* to *Default*. > > The answer is just enclose any file paths in quotes. So do *quote & > "C:\...." & quote*, and almost always your non-XP-working-Rev-app > magically > starts working on XP. Without this, it goes off into lala land. This > just > happened to me yesterday. I had something working perfectly in Vista > but > would not work on any XP machine. Luckily I remembered about spaces > and > quoting and got it working in short order. > > The other tip is even in Vista/7 avoid using directories that > involve the > user name as users will do things like firstName<space>lastName and > this > will cause the identical problem on Vista/7. It's why I recommend > against > using a user's Documents directory. > > Aloha from Hawaii, > > Jim Bufalini > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Sat Dec 26 01:45:05 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 26 Dec 2009 00:45:05 -0600 Subject: Pointers to Quicktime videos in Revlets In-Reply-To: <f99b52860912251909o539676afuf56d14536d0e4243@mail.gmail.com> References: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> <4B352C46.2070300@hyperactivesw.com> <f99b52860912251909o539676afuf56d14536d0e4243@mail.gmail.com> Message-ID: <4B35B0F1.10807@hyperactivesw.com> Sarah Reichelt wrote: > Is there a way for the revlet to know where it is? > I would prefer not to have to hard-wire the path, so that the revlet > would work no matter where it was moved to, assuming that the media > files were kept in the same relative location. The revlet thinks it's on the user's machine, so you need some kind of link back to your server. If you're putting the revlet on your on-rev site, then you could probably get the server variables to see what the REQUEST_URI is and get the page name from that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhurley0305 at sbcglobal.net Sat Dec 26 12:04:46 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sat, 26 Dec 2009 09:04:46 -0800 Subject: HC convert: help with text as graphic or rotated text In-Reply-To: <20091225180005.2A5AA288015@mail.runrev.com> References: <20091225180005.2A5AA288015@mail.runrev.com> Message-ID: <116849FF-6DEA-4044-AB72-3A07982E25C1@sbcglobal.net> > > Message: 1 > Date: Thu, 24 Dec 2009 11:18:11 -0800 > From: Scott Rossi <scott at tactilemedia.com> > Subject: Re: HC convert: help with text as graphic or rotated text > To: How to use Revolution <use-revolution at lists.runrev.com> > Message-ID: <C758FE73.95%scott at tactilemedia.com> > Content-Type: text/plain; charset="US-ASCII" > > You can't physically rotate text, but you can create an image of > text and > rotate that. Here's one example of doing this. Execute the > following in > your Rev message box: > go url "http://www.tactilemedia.com/site_files/downloads/textspinner.rev > " > > If you want to print out the results, you could try creating your > text at 4x > the final size and then scaling down the imported text image/s to > 25%. Kind > of a pain to do but should give better print results. You could do > all the > manipulation in a hidden stack if necessary. > > Hope this helps. > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > Scott, Thanks. This is a great utility. All the bells an whistles. I tried to add one more element: Disembodied text, i.e. a text field field with zero border width and opaque set to false. Unfortunately it crashes RunRev 4.0, build 950 on my Mac running 10.5.8 every time. Any thoughts? Jim Hurley From tim.lambert at addat.com Sat Dec 26 13:51:33 2009 From: tim.lambert at addat.com (Tim Lambert) Date: Sun, 27 Dec 2009 05:51:33 +1100 Subject: Pointers to Quicktime videos in Revlets Message-ID: <D4A49A3B-92EF-4683-BEF9-B220F5F6F0FB@addat.com> Many thanks to all who replied. AlwaysBuffer false and actually putting the full URL now works from my server. I appreciate everone's quick help Tim : > Hi Could anyone point me to a 'How-to' to get QT vids to play from an > uploaded revlet? The vids are in the same folder as the uploaded > Revlet, but nowr happens. That's how I do it. The videos are in the same folder with the revlet, then the script references them like this: set the filename of player 1 to "http://www.domain.com/folder/movie.mov" I don't use the "file://" syntax, because a revlet is like a local stack, and a fully qualified URL is fine as a reference. The "file://" designation is only for files you want to retrieve from the user's local hard drive, not for those on your server. Unless it got fixed without my noticing, players in revlets only work reliably if the alway From scott at tactilemedia.com Sat Dec 26 14:41:18 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 26 Dec 2009 11:41:18 -0800 Subject: HC convert: help with text as graphic or rotated text In-Reply-To: <116849FF-6DEA-4044-AB72-3A07982E25C1@sbcglobal.net> Message-ID: <C75BA6DE.9B%scott@tactilemedia.com> Recently, James Hurley wrote: >> go url "http://www.tactilemedia.com/site_files/downloads/textspinner.rev" > I tried to add one more element: Disembodied text, i.e. a text field > field with zero border width and opaque set to false. > > Unfortunately it crashes RunRev 4.0, build 950 on my Mac running > 10.5.8 every time. Works fine here (Rev 4, OS X 10.5.8 laptop) with the source field's opaque disabled and borderWidth set to zero. As an alternative, if you don't mind creating the text image on an unlocked screen, you might try importing a snapshot of the field to the card. Comment out the portions of the script that deal with the templateImage (lines 15 - 21), and use this: import snapshot from rect (rect of fld 1) of fld 1 set resizeQuality of last img to best set loc of last img to tLoc Remember you also need to comment out the lock screen command at the beginning of the script since import snapshot will fail if the screen is locked. Good luck. Scott Rossi Creative Director Tactile Media, Multimedia & Design From sarah.reichelt at gmail.com Sat Dec 26 19:16:02 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 27 Dec 2009 10:16:02 +1000 Subject: Pointers to Quicktime videos in Revlets In-Reply-To: <4B35B0F1.10807@hyperactivesw.com> References: <A237E79B-AEA1-4103-95BF-29F99969833C@addat.com> <4B352C46.2070300@hyperactivesw.com> <f99b52860912251909o539676afuf56d14536d0e4243@mail.gmail.com> <4B35B0F1.10807@hyperactivesw.com> Message-ID: <f99b52860912261616k7f2d867bwb7d67e709066a4ca@mail.gmail.com> On Sat, Dec 26, 2009 at 4:45 PM, J. Landman Gay <jacque at hyperactivesw.com> wrote: > Sarah Reichelt wrote: > >> Is there a way for the revlet to know where it is? >> I would prefer not to have to hard-wire the path, so that the revlet >> would work no matter where it was moved to, assuming that the media >> files were kept in the same relative location. > > The revlet thinks it's on the user's machine, so you need some kind of link > back to your server. If you're putting the revlet on your on-rev site, then > you could probably get the server variables to see what the REQUEST_URI is > and get the page name from that. I wanted a general way to do this, that did not rely on the page being hosted by On-Rev, so I worked out how to do this using PHP as well as On-Rev. You can check out the On-Rev version at <http://www.troz.net/rev/revweb.irev?revlet=System>. I edited the html produced by the standalone builder and added this line: pageLocation="<?rev put $_SERVER["SERVER_NAME"] & $_SERVER["REQUEST_URI"]; ?>" This was inserted into the <embed> tag, on the line just after the instanceID. In the revlet, I used this script to read the parameter: put the revletParams of this stack into tParams put tParams["pageLocation"] into tPageLocation Then I was able to format the string the way I wanted. It includes the page name at this stage e.g. "www.troz.net/rev/revweb.irev" so I set the itemDelimiter to slash, removed the last item, added the "http://" and then I was left with the containing folder. For the PHP equivalent, you will need to change the file extension of the html file to ".php" and instead of the irev line above, use this: pageLocation="<?php echo $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; ?>" This gives exactly the same data in exactly the same format, so the processing can be the same. So now I have a way to include media in a revlet, using relative addressing :-) Cheers, Sarah From mcgrath3 at mac.com Sat Dec 26 23:12:49 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 26 Dec 2009 23:12:49 -0500 Subject: Runrev video on youTube Message-ID: <7A745266-142C-4FF7-BD59-D51A89312501@mac.com> In case anyone missed this, it is a very funny video from the team at runrev: http://www.youtube.com/watch?v=Hyu9PVaIfKo Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html From peterwawood at gmail.com Sun Dec 27 01:23:29 2009 From: peterwawood at gmail.com (Peter W A Wood) Date: Sun, 27 Dec 2009 14:23:29 +0800 Subject: Rev 4.0 Enterprise Splash Stack - xmlerr, can't find element Message-ID: <0B55058A-BAA8-4301-BCD3-A538F0DC4AA5@gmail.com> I've just upgraded to Rev 4.0 Enterprise and get an XML error reported in the Splash Stack. The "Offers" tab is fine and downloads and shows its advert nicely. When I click on the Forums tab instead of a list of recent discussions, an "xmlerr, can't find element" message is displayed. Is it a bug or something that I need to setup? Peter From sarah.reichelt at gmail.com Sun Dec 27 03:41:37 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 27 Dec 2009 18:41:37 +1000 Subject: Can I know the revWeb is installed? In-Reply-To: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com> References: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com> Message-ID: <f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com> > Can I know the revWeb plugin is installed or not by a script? > I want to make an application for desktop + web browser. > And desktop version can detect a plugin. On the web page, you can use the JavaScript that comes with the sample html to detect the plugin. On the desktop, I guess the easiest way is to look in the expected location and see if you can find the files. On my Mac OS X system, I have this folder: /Users/sarah/Library/Internet Plug-Ins Inside the folder, I have "nprevweb.plugin" and "wkrevweb.plugin". So if you checked for the existence of those files, that would indicate the plugin was installed. Hopefully someone else can contribute the expected location of the plugin under Windows. Cheers, Sarah From mikekann at yahoo.com Sun Dec 27 09:27:36 2009 From: mikekann at yahoo.com (Michael Kann) Date: Sun, 27 Dec 2009 06:27:36 -0800 (PST) Subject: Megabundle Question Message-ID: <790579.58382.qm@web56702.mail.re3.yahoo.com> The Megabundle offer looks like a great deal. The add states that "We've included 32 productivity boosting products." It then describes 24 products. I'm just curious what the other eight are. Thanks From runrev260805 at m-r-d.de Sun Dec 27 09:43:33 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sun, 27 Dec 2009 14:43:33 +0000 Subject: Re-2: Can I know the revWeb is installed? Message-ID: <0003AB10.4B378049@the-office.us> Hi, under Windows Vista you can find the revWebPlayer in C:\Users\USERNAME\AppData\Local\RunRev\revWebPlayer under Windows 2003 and XP german under C:\Dokumente und Einstellungen\USERNAME\Lokale Einstellungen\Anwendungsdaten\RunRev\revWebPlayer and for english Windows i hope that my translation is correct for that: C:\Documents and Settings\USERNAME\Local Settings\Application Data\RunRev\revWebPlayer There are also 2 folders in it ( 'Database Drivers' and 'Stack Permissions'. There is also a registry entry for Mozilla Firefox at HKEY_CURRENT_USER\SOFTWARE\MozillaPlugins\@runrev.com/RevletPlayer, which points to the folder where the plugin is. Regards, Matthias -------- Original Message -------- Subject: Re: Can I know the revWeb is installed? (27-Dez-2009 9:46) From: Sarah Reichelt <sarah.reichelt at gmail.com> To: runrev260805 at m-r-d.de > > Can I know the revWeb plugin is installed or not by a script? > > I want to make an application for desktop + web browser. > > And desktop version can detect a plugin. > > On the web page, you can use the JavaScript that comes with the sample > html to detect the plugin. > > On the desktop, I guess the easiest way is to look in the expected > location and see if you can find the files. > On my Mac OS X system, I have this folder: > /Users/sarah/Library/Internet Plug-Ins > Inside the folder, I have "nprevweb.plugin" and "wkrevweb.plugin". > So if you checked for the existence of those files, that would > indicate the plugin was installed. > > Hopefully someone else can contribute the expected location of the > plugin under Windows. > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > To: use-revolution at lists.runrev.com From jacque at hyperactivesw.com Sun Dec 27 11:49:08 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 27 Dec 2009 10:49:08 -0600 Subject: Rev 4.0 Enterprise Splash Stack - xmlerr, can't find element In-Reply-To: <0B55058A-BAA8-4301-BCD3-A538F0DC4AA5@gmail.com> References: <0B55058A-BAA8-4301-BCD3-A538F0DC4AA5@gmail.com> Message-ID: <4B379004.5090706@hyperactivesw.com> Peter W A Wood wrote: > I've just upgraded to Rev 4.0 Enterprise and get an XML error > reported in the Splash Stack. The "Offers" tab is fine and downloads > and shows its advert nicely. When I click on the Forums tab instead > of a list of recent discussions, an "xmlerr, can't find element" > message is displayed. Is it a bug or something that I need to setup? Bug. You should probably report it at the QCC. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kee at kagi.com Sun Dec 27 12:07:05 2009 From: kee at kagi.com (Kee Nethery) Date: Sun, 27 Dec 2009 09:07:05 -0800 Subject: 4.0 not displaying text field changes In-Reply-To: <f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com> References: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com> <f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com> Message-ID: <87693791-AB74-49EA-8BCC-B058C1D4AAE7@kagi.com> This kind of thing worked fine in 2.9.x but does not in 4.0. I've got a new 4.0 stack that has a bunch of repeat loops within repeat loops. For a small example: repeat with w = 1 to 1000 repeat with x = 1 to 1000 repeat with y = 1 to 1000 repeat with z = 1 to 1000 put "A" && w && x && y && z into field "status" end repeat end repeat end repeat end repeat put "A done" into field "status" I'm not seeing field "status" change while it goes through the loops. What's up with that? I don't have any lock screen commands in the script. Is there some environment variable I'm supposed to set to have the field contents be displayed while a script is running? Suggestions welcome. Kee Nethery From m.schonewille at economy-x-talk.com Sun Dec 27 12:27:33 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 27 Dec 2009 18:27:33 +0100 Subject: 4.0 not displaying text field changes In-Reply-To: <87693791-AB74-49EA-8BCC-B058C1D4AAE7@kagi.com> References: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com> <f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com> <87693791-AB74-49EA-8BCC-B058C1D4AAE7@kagi.com> Message-ID: <4ED0B592-705E-4091-8A86-8D43FED1D5D6@economy-x-talk.com> Hi Kee, This changed when the graphics engine was made more efficient (I think). Try this: repeat with w = 1 to 1000 repeat with x = 1 to 1000 repeat with y = 1 to 1000 repeat with z = 1 to 1000 with messages put "A" && w && x && y && z into field "status" wait 0 millisec with messages end repeat end repeat end repeat end repeat put "A done" into field "status" I don't think it is necessary to change all repeat loops by adding "with messages", but if this doesn't work you might try that as well. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Full PayPal integration and automation in web site or (Revolution/ SuperCard/other) software. Contact me for a quote before 1 Jan 2010 and we'll charge (reduced) 2009 prices. http://economy-x-talk.com/contact.html Op 27 dec 2009, om 18:07 heeft Kee Nethery het volgende geschreven: > This kind of thing worked fine in 2.9.x but does not in 4.0. > > I've got a new 4.0 stack that has a bunch of repeat loops within > repeat loops. For a small example: > > repeat with w = 1 to 1000 > repeat with x = 1 to 1000 > repeat with y = 1 to 1000 > repeat with z = 1 to 1000 > put "A" && w && x && y && z into field "status" > end repeat > end repeat > end repeat > end repeat > put "A done" into field "status" > > I'm not seeing field "status" change while it goes through the > loops. What's up with that? I don't have any lock screen commands in > the script. > > Is there some environment variable I'm supposed to set to have the > field contents be displayed while a script is running? > > Suggestions welcome. From jhurley0305 at sbcglobal.net Sun Dec 27 13:08:56 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sun, 27 Dec 2009 10:08:56 -0800 Subject: HC convert: help with text as graphic or rotated text In-Reply-To: <20091227180005.2C96F48A803@mail.runrev.com> References: <20091227180005.2C96F48A803@mail.runrev.com> Message-ID: <9331A9D3-42E9-4D71-878D-0F8201446905@sbcglobal.net> > > Message: 2 > Date: Sat, 26 Dec 2009 11:41:18 -0800 > From: Scott Rossi <scott at tactilemedia.com> > Subject: Re: HC convert: help with text as graphic or rotated text > To: How to use Revolution <use-revolution at lists.runrev.com> > Message-ID: <C75BA6DE.9B%scott at tactilemedia.com> > Content-Type: text/plain; charset="US-ASCII" > > > Recently, James Hurley wrote: > >>> go url "http://www.tactilemedia.com/site_files/downloads/textspinner.rev >>> " > >> I tried to add one more element: Disembodied text, i.e. a text field >> field with zero border width and opaque set to false. >> >> Unfortunately it crashes RunRev 4.0, build 950 on my Mac running >> 10.5.8 every time. > > Works fine here (Rev 4, OS X 10.5.8 laptop) with the source field's > opaque > disabled and borderWidth set to zero. > > As an alternative, if you don't mind creating the text image on an > unlocked > screen, you might try importing a snapshot of the field to the card. > Comment out the portions of the script that deal with the > templateImage > (lines 15 - 21), and use this: > > import snapshot from rect (rect of fld 1) of fld 1 > set resizeQuality of last img to best > set loc of last img to tLoc > > Remember you also need to comment out the lock screen command at the > beginning of the script since import snapshot will fail if the > screen is > locked. > > Good luck. > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > Scott, I went back and stepped through your handler one line at time to see where it failed. Alas, it never did. And now it doesn't when running full bore in the IDE. There is indeed a "Ghost in the Machine." Sorry to put you to the extra effort. Thanks for humoring me, Jim Hurley From revolution at derbrill.de Sun Dec 27 13:19:31 2009 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Sun, 27 Dec 2009 19:19:31 +0100 Subject: Rev 4.0 Enterprise Splash Stack - xmlerr, can't find element In-Reply-To: <20091227180005.9C5F348A805@mail.runrev.com> References: <20091227180005.9C5F348A805@mail.runrev.com> Message-ID: <0C436189-5D29-4D47-81EA-7202FA77D13D@derbrill.de> Hi Peter, I am pretty sure the RSS feed broke, when the forum software was updated to the latest version. As Jacque mentioned already, this should go into quality.runrev.com Cheers, Malte From revolution at derbrill.de Sun Dec 27 13:46:53 2009 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Sun, 27 Dec 2009 19:46:53 +0100 Subject: Megabundle Question In-Reply-To: <20091227180005.9C5F348A805@mail.runrev.com> References: <20091227180005.9C5F348A805@mail.runrev.com> Message-ID: <6176D9C5-FED4-4E15-9C37-718538ECAF6A@derbrill.de> Hi Michael, the megabundle essentially is the all you can eat of revSelect + rev Enterprise + assurance pack, so IMHO yes, it is a very good deal. :-) As for 24 vs 32 products: Some of the offerings you see are packs in themselves, as for example the iconpeople icon packs or the audio stuff, which are usually sold seperately. Hope that clears up things a bit. If you are thinking of getting yourself a bundle, AFAIK the offer ends Dec. 31st. This is definetly the most bang for the buck offering we revSelecters and the mothership have cooked up in all the years we have been working together. And to all of those who got theirs already: First of all thank you. 2nd, you will get the next iteration of both animationEngine and chartsEngine included. And please let me know what you use them for either off- or on list. Every proud father wants to know what their kids are up to. :-) All the best, Malte From jiml at netrin.com Sun Dec 27 16:21:33 2009 From: jiml at netrin.com (Jim Lambert) Date: Sun, 27 Dec 2009 13:21:33 -0800 Subject: Setting Playloudness was Re: 4.0 not displaying text field changes In-Reply-To: <20091227180005.48D1B48A804@mail.runrev.com> References: <20091227180005.48D1B48A804@mail.runrev.com> Message-ID: <63D7F6A4-0E62-4A41-9C92-E090E051F6AE@netrin.com> Mark noted that it is now necessary under Rev >= 4.0 to insert > wait 0 millisec with messages into repeat loops in order to see any changes made to a field. I have found this is also needed when changing playloudness like this: on fadeSounds set the playloudness to cLoud wait 0 milliseconds with messages if the playloudness <1 then set the playloudness to gSaveLoudness play stop else send fadeloop to me in 10 ticks end if end fadeSounds Without the wait (either 0 milliseconds with messages or 1 millisecond), the 'set the playloudness' command is not executed. Note that this is needed when setting the general volume. I'm not sure whether it is necessary to add the 'wait' when setting individual player volumes. Anyone? Jim Lambert From mfstuart at cox.net Sun Dec 27 22:50:19 2009 From: mfstuart at cox.net (Mark Stuart) Date: Sun, 27 Dec 2009 19:50:19 -0800 (PST) Subject: Context menu for Header of DataGrid Message-ID: <1261972219691-989577.post@n4.nabble.com> Hi Trevor, I was wondering if there is a way to have 2 context menus for the DataGrid, 1 for the rows and one for the header? Where I'd like to have a different menu set for the header (pertinent to the DataGrid itself) and the rows context menu would be specific to the record itself. The header menu would be for DataGrid properties and the complete data set in the grid, like exporting to HTML or Excel. Regards, Mark Stuart -- View this message in context: http://n4.nabble.com/Context-menu-for-Header-of-DataGrid-tp989577p989577.html Sent from the Revolution - User mailing list archive at Nabble.com. From peterwawood at gmail.com Sun Dec 27 23:24:10 2009 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 28 Dec 2009 12:24:10 +0800 Subject: Rev 4.0 Enterprise Splash Stack - xmlerr, can't find element In-Reply-To: <0C436189-5D29-4D47-81EA-7202FA77D13D@derbrill.de> References: <20091227180005.9C5F348A805@mail.runrev.com> <0C436189-5D29-4D47-81EA-7202FA77D13D@derbrill.de> Message-ID: <A97E62CC-4213-4385-B4E7-9F2921E6A7FE@gmail.com> Jacque and Malte Thanks. I've entered into the QCC - #8512. Peter On 28 Dec 2009, at 02:19, Malte Pfaff-Brill wrote: > Hi Peter, > > I am pretty sure the RSS feed broke, when the forum software was updated to the latest version. As Jacque mentioned already, this should go into quality.runrev.com > > Cheers, > > Malte_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jbufalini at visitrieve.com Sun Dec 27 23:52:29 2009 From: jbufalini at visitrieve.com (Jim Bufalini) Date: Sun, 27 Dec 2009 18:52:29 -1000 Subject: Emulate an HTTP post in Rev Message-ID: <002b01ca8779$8fdedb20$af9c9160$@com> Hello, Can someone tell me how to emulate an HTTP post in Rev for a Revlet or Standalone? So... someone gives you an HTML code snippet to insert in a webpage. It looks like: <form action="[URL]" method="post"> <input type="hidden" name="[abc]" value="[123]"> <input type="hidden" name="[def]" value="[456]"> ... </form> I want to use *post* from Rev to emulate their button code. How do I structure the "data" string of a Rev Post command to emulate the above? And, do I need to change the httpHeaders Property to emulate it coming from a webpage? Thanks in advance. Aloha from Hawaii, Jim Bufalini From sarah.reichelt at gmail.com Mon Dec 28 02:37:42 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 28 Dec 2009 17:37:42 +1000 Subject: Emulate an HTTP post in Rev In-Reply-To: <002b01ca8779$8fdedb20$af9c9160$@com> References: <002b01ca8779$8fdedb20$af9c9160$@com> Message-ID: <f99b52860912272337s5c40531doe94be591ebd87522@mail.gmail.com> > Can someone tell me how to emulate an HTTP post in Rev for a Revlet or > Standalone? So... someone gives you an HTML code snippet to insert in a > webpage. It looks like: > > <form action="[URL]" method="post"> > <input type="hidden" name="[abc]" value="[123]"> > <input type="hidden" name="[def]" value="[456]"> > ... > </form> > > I want to use *post* from Rev to emulate their button code. How do I > structure the "data" string of a Rev Post command to emulate the above? And, > do I need to change the httpHeaders Property to emulate it coming from a > webpage? Try something like this: put "[abc]=" & urlEncode([123]) & "&[def]=" & urlEncode([456]) into tPostData post tPostData to URL [URL] HTH, Sarah From palcibiades-first at yahoo.co.uk Mon Dec 28 03:53:53 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 28 Dec 2009 00:53:53 -0800 (PST) Subject: More about hex and printing and gdi printers... In-Reply-To: <200912140943.30584.palcibiades-first@yahoo.co.uk> References: <200912140943.30584.palcibiades-first@yahoo.co.uk> Message-ID: <1261990433785-989668.post@n4.nabble.com> Just for the sake of completeness, something probably most people here know, but in case some other luckless amateur ends up struggling with this again, there is at least one other way of doing this. The first way was to edit a text file using a hex editor, then use a shell command that uses the Unix cat command to redirect the contents of the file to the printer, in our case lp0. A simpler method that clutters up the program directory a bit less, and maybe is less open to user errors, because you don't have to have mysterious text files lying around, is to use echo as in echo -e "\x1B\x64\x30" > /dev/usb/lp0 Presumably this works with OSX as well. What is happening is that the -e enables interpretation of the escaped character which follows, and the escaped character x signals that the following pair is a hex character. Anyway, do this with my particular printer, and the result is magic: the paper cutter operates! This is so simple, assuming you have the hex codes to do things, that one starts having fantasies of writing very simple printer drivers in Bash. No, that way madness lies! Peter -- View this message in context: http://n4.nabble.com/More-about-hex-and-printing-and-gdi-printers-tp963411p989668.html Sent from the Revolution - User mailing list archive at Nabble.com. From palcibiades-first at yahoo.co.uk Mon Dec 28 03:59:26 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 28 Dec 2009 00:59:26 -0800 (PST) Subject: More about hex and printing and gdi printers... In-Reply-To: <200912140943.30584.palcibiades-first@yahoo.co.uk> References: <200912140943.30584.palcibiades-first@yahoo.co.uk> Message-ID: <1261990766727-989671.post@n4.nabble.com> And by the way, one last thing. When you do this, permissions will stop ordinary users from addressing lp0. Which obviously you will tell by trying out the command from the terminal and discovering that it works with su but not as ordinary user. And putting the user into the lp group with usermod does not fix this, I don't know why. You could probably use suid, but the simplest way may be to install sudo (which Ubuntu will already have) and then edit the sudoers file to permit the user to use lp. Otherwise everything will be set up right, but it won't work. -- View this message in context: http://n4.nabble.com/More-about-hex-and-printing-and-gdi-printers-tp963411p989671.html Sent from the Revolution - User mailing list archive at Nabble.com. From jimaultwins at yahoo.com Mon Dec 28 04:14:53 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Mon, 28 Dec 2009 01:14:53 -0800 Subject: Emulate an HTTP post in Rev In-Reply-To: <002b01ca8779$8fdedb20$af9c9160$@com> References: <002b01ca8779$8fdedb20$af9c9160$@com> Message-ID: <5CC45B55-F75D-4162-8342-E2E229D19AC4@yahoo.com> On Dec 27, 2009, at 8:52 PM, Jim Bufalini wrote: > Hello, > > Can someone tell me how to emulate an HTTP post in Rev for a Revlet or > Standalone? So... someone gives you an HTML code snippet to insert > in a webpage. The key word is the POST command in the dictionary. Be sure to handle the issue of urlEncode-ing in your strings to avoid parsing errors in the destination script operations, especially if path names are sent. Examples: put urlEncode( "John" ) into tName put urlEncode( "Hello" ) into tMessage --now do key-value pairs get libUrlFormData("name", tName,"message", tMessage) post IT to url "http://www.someserver.com/cgi-bin/form.php" --In this case, the data posted to the url will look like this: name=John&message=Hello The function accepts variable numbers of parameters and treats them as key-value pairs. The first parameter is the name of the first form part, the second the value of the first part, the third is the name of the second part, and so on. Note: When using 'post' ... the Content-Type header is set to "Content- Type: application/x-www-form-urlencoded" by default. There is no need to set the httpHeaders unless you have previously set the Content-Type header to something else. In order to fully emulate a post command coming from a web page, you may need to set the headers to match by using libURLSetCustomHTTPHeaders Jim Ault Las Vegas On Dec 27, 2009, at 8:52 PM, Jim Bufalini wrote: > Hello, > > Can someone tell me how to emulate an HTTP post in Rev for a Revlet or > Standalone? So... someone gives you an HTML code snippet to insert > in a > webpage. It looks like: > > <form action="[URL]" method="post"> > <input type="hidden" name="[abc]" value="[123]"> > <input type="hidden" name="[def]" value="[456]"> > ... > </form> > > I want to use *post* from Rev to emulate their button code. How do I > structure the "data" string of a Rev Post command to emulate the > above? And, > do I need to change the httpHeaders Property to emulate it coming > from a > webpage? From jim at visitrieve.com Mon Dec 28 07:49:45 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Mon, 28 Dec 2009 02:49:45 -1000 Subject: Emulate an HTTP post in Rev In-Reply-To: <5CC45B55-F75D-4162-8342-E2E229D19AC4@yahoo.com> References: <002b01ca8779$8fdedb20$af9c9160$@com> <5CC45B55-F75D-4162-8342-E2E229D19AC4@yahoo.com> Message-ID: <003401ca87bc$3c2a7fa0$b47f7ee0$@com> Thanks Sarah and Jim. Both of your solutions work. :-) Aloha from Hawaii, Jim Bufalini From mikekann at yahoo.com Mon Dec 28 08:12:09 2009 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 28 Dec 2009 05:12:09 -0800 (PST) Subject: Searching for BitmapEffectsSampler.rev Message-ID: <484663.17855.qm@web56708.mail.re3.yahoo.com> I updated my IDE today and read the following in the changelog: For details of how to use the features as they currently stand, please see the BitmapEffectsSampler.rev stack that has been made available alongside the build. The stack must be in an obvious place, but I can't seem to locate it. Can anyone point me to it? Thanks From lists at mangomultimedia.com Mon Dec 28 11:51:51 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 28 Dec 2009 11:51:51 -0500 Subject: Context menu for Header of DataGrid In-Reply-To: <1261972219691-989577.post@n4.nabble.com> References: <1261972219691-989577.post@n4.nabble.com> Message-ID: <7AAC2A44-34D1-4386-B020-AB4F929196BF@mangomultimedia.com> On Dec 27, 2009, at 10:50 PM, Mark Stuart wrote: > I was wondering if there is a way to have 2 context menus for the > DataGrid, > 1 for the rows and one for the header? > Where I'd like to have a different menu set for the header > (pertinent to the > DataGrid itself) and the rows context menu would be specific to the > record > itself. > The header menu would be for DataGrid properties and the complete > data set > in the grid, like exporting to HTML or Excel. I just added two new lessons to the manual that show how to do determine if the user clicks in the header and how to display a contextual menu for a column header. You would just build off of the example and show a different contextual menu based on what the user clicked on. How Do I Determine If a User Clicks In The Table Header?: <http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/8410-How-Do-I-Determine-If-a-User-Clicks-In-The-Table-Header- > How Do I Display a Contextual Menu When the User Clicks on a Column Header?: <http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/8411-How-Do-I-Display-a-Contextual-Menu-When-the-User-Clicks-on-a-Column-Header- > Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From jacque at hyperactivesw.com Mon Dec 28 12:31:06 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 28 Dec 2009 11:31:06 -0600 Subject: Searching for BitmapEffectsSampler.rev In-Reply-To: <484663.17855.qm@web56708.mail.re3.yahoo.com> References: <484663.17855.qm@web56708.mail.re3.yahoo.com> Message-ID: <4B38EB5A.8020909@hyperactivesw.com> Michael Kann wrote: > I updated my IDE today and read the following in the changelog: > > For details of how to use the features as they currently stand, > please see the BitmapEffectsSampler.rev stack that has been made > available alongside the build. > > The stack must be in an obvious place, but I can't seem to locate it. > Can anyone point me to it? Thanks Urf. Looks like they forgot to put it in there. I don't see it either. I'm making a list of the things you're finding. :) If you go to RevOnline and search for Ben Beaumont, you'll see a list of all the (amazing) stacks he's done to demo the various capabilities of Rev's bitmap effects. The advanced multimedia one shows all the new effects added in Rev 4. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Dec 28 13:17:58 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 28 Dec 2009 10:17:58 -0800 Subject: MacTech magazine Message-ID: <114432251031.20091228101758@ahsoftware.net> All- For the next few days (through the end of the year) MacTech magazine is offering a special deal (as in free) for new subscribers if you pay the postage costs. This as part of their 25th anniversary celebration. https://www.mactech.com/phpq/fillsurvey.php?sid=128 -- -Mark Wieder mwieder at ahsoftware.net From film2 at handheldfilm.com Mon Dec 28 14:29:25 2009 From: film2 at handheldfilm.com (Emmett Gray) Date: Mon, 28 Dec 2009 14:29:25 -0500 Subject: Help with audio Message-ID: <p06240837c75e870ec247@[192.168.1.2]> I've converted another HC stack, a multi-timer which includes a metronome function. I'm having an issue with the audio: the "Click.wev" imported audioClip sounds awful and very often sounds different or has no sound at all. The original is a 48k 24-bit file and sounds fine in Rev if I access it instead of the imported one. I imported it using the import command. Do I need to downsample or change the bit rate or do something else before importing to make it sound OK in Rev? From jerry.daniels at me.com Mon Dec 28 15:06:01 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 28 Dec 2009 14:06:01 -0600 Subject: [ANN] The tRev Adoption Program Message-ID: <5842DD68-D329-43AD-BFD5-1448DEBF6E09@me.com> tRev users, If you already had tRev when you bought the RevSelect MegaBundle, you now have two licenses to tRev. What to do? You can put your extra license up for adoption. Someone who really wants it can then adopt it for $10. Those with extra licenses can read all about the adoption program here: http://twhez.com/ks59 Those who might otherwise not be able to afford the $50 retail price of tRev, but want sincerely to use it, read about adopting here: http://twhez.com/pJod Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-a-handler-to-any-tab From stephenREVOLUTION2 at barncard.com Mon Dec 28 15:18:58 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 28 Dec 2009 12:18:58 -0800 Subject: Help with audio In-Reply-To: <p06240837c75e870ec247@192.168.1.2> References: <p06240837c75e870ec247@192.168.1.2> Message-ID: <e5e009d70912281218s5061a99co531a2254b993a9e8@mail.gmail.com> Probably the 24 bit thing. Try using the player and quicktime and the file as an external source (set the filename of player 1 to xxxx) as opposed to being imbedded. Quicktime should properly handle 24 bit audio, but not sure about the native play component. If you need to imbed the sounds, then convert and dither the 24 bit files down to 16 bits with the same sample rate. Peak, Sound Studio, Audacity, quicktime should do this. Monkey Tools can do this in batches. If indeed the internal play command is 16 bit only we should know that. Thanks for reporting this. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/28 Emmett Gray <film2 at handheldfilm.com> > I've converted another HC stack, a multi-timer which includes a metronome > function. I'm having an issue with the audio: the "Click.wev" imported > audioClip sounds awful and very often sounds different or has no sound at > all. The original is a 48k 24-bit file and sounds fine in Rev if I access it > instead of the imported one. I imported it using the import command. Do I > need to downsample or change the bit rate or do something else before > importing to make it sound OK in Rev? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Mon Dec 28 15:32:03 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 28 Dec 2009 14:32:03 -0600 Subject: Help with audio In-Reply-To: <p06240837c75e870ec247@[192.168.1.2]> References: <p06240837c75e870ec247@[192.168.1.2]> Message-ID: <4B3915C3.5000509@hyperactivesw.com> Emmett Gray wrote: > I've converted another HC stack, a multi-timer which includes a > metronome function. I'm having an issue with the audio: the "Click.wev" > imported audioClip sounds awful and very often sounds different or has > no sound at all. The original is a 48k 24-bit file and sounds fine in > Rev if I access it instead of the imported one. I imported it using the > import command. Do I need to downsample or change the bit rate or do > something else before importing to make it sound OK in Rev? Rev can't use any compressed audio format, so in addition to what Stephen said, make sure when you convert the sound file that it isn't compressed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Mon Dec 28 15:58:07 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 28 Dec 2009 12:58:07 -0800 Subject: Help with audio In-Reply-To: <4B3915C3.5000509@hyperactivesw.com> References: <p06240837c75e870ec247@192.168.1.2> <4B3915C3.5000509@hyperactivesw.com> Message-ID: <e5e009d70912281258n2144b924vc2d87e8e6389ba62@mail.gmail.com> ALTHOUGH - when you use the 'set the filename to' and quicktime, you can play any file that quicktime handles, especially MP3 compression --- AND EVEN A LIVE MP3 STREAM.... there's a big gap between the two technologies here... regardless of the politics (and perceived reluctance) surrounding Quicktime, it's still the first and best technology for this purpose. They've been doing this for a long time. The new Quicktime is leaner and meaner, and should be an improvement. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/28 J. Landman Gay <jacque at hyperactivesw.com> > Emmett Gray wrote: > >> I've converted another HC stack, a multi-timer which includes a metronome >> function. I'm having an issue with the audio: the "Click.wev" imported >> audioClip sounds awful and very often sounds different or has no sound at >> all. The original is a 48k 24-bit file and sounds fine in Rev if I access it >> instead of the imported one. I imported it using the import command. Do I >> need to downsample or change the bit rate or do something else before >> importing to make it sound OK in Rev? >> > > Rev can't use any compressed audio format, so in addition to what Stephen > said, make sure when you convert the sound file that it isn't compressed. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Mon Dec 28 16:11:26 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 28 Dec 2009 15:11:26 -0600 Subject: Help with audio In-Reply-To: <e5e009d70912281258n2144b924vc2d87e8e6389ba62@mail.gmail.com> References: <p06240837c75e870ec247@192.168.1.2> <4B3915C3.5000509@hyperactivesw.com> <e5e009d70912281258n2144b924vc2d87e8e6389ba62@mail.gmail.com> Message-ID: <4B391EFE.8030606@hyperactivesw.com> stephen barncard wrote: > ALTHOUGH - when you use the 'set the filename to' and quicktime, you can > play any file that quicktime handles, especially MP3 compression --- AND > EVEN A LIVE MP3 STREAM.... Very true. I only mentioned the compression issue because the OP said he was importing a sound clip. I figured since it's just a "click" sound, using a player with an external file seemed like overkill. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jerry.daniels at me.com Mon Dec 28 16:18:03 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 28 Dec 2009 15:18:03 -0600 Subject: Help with audio In-Reply-To: <4B391EFE.8030606@hyperactivesw.com> References: <p06240837c75e870ec247@192.168.1.2> <4B3915C3.5000509@hyperactivesw.com> <e5e009d70912281258n2144b924vc2d87e8e6389ba62@mail.gmail.com> <4B391EFE.8030606@hyperactivesw.com> Message-ID: <988F72FA-BB54-4CAB-B7E9-03D1E05C4D71@me.com> Jacque, OP? Are Aunt Bee and Andy involved? Jerry On Dec 28, 2009, at 3:11 PM, J. Landman Gay wrote: > because the OP said he was importing a sound clip From stephenREVOLUTION2 at barncard.com Mon Dec 28 16:24:16 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 28 Dec 2009 13:24:16 -0800 Subject: Help with audio In-Reply-To: <988F72FA-BB54-4CAB-B7E9-03D1E05C4D71@me.com> References: <p06240837c75e870ec247@192.168.1.2> <4B3915C3.5000509@hyperactivesw.com> <e5e009d70912281258n2144b924vc2d87e8e6389ba62@mail.gmail.com> <4B391EFE.8030606@hyperactivesw.com> <988F72FA-BB54-4CAB-B7E9-03D1E05C4D71@me.com> Message-ID: <e5e009d70912281324v72189472mbc36e7bdbe5c4e0d@mail.gmail.com> no but the old sound stuff is very Gomer Plye and Barney Fife<http://www.youtube.com/watch?v=oBuPQgV8yBM> . ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/28 Jerry Daniels <jerry.daniels at me.com> > Jacque, > > OP? Are Aunt Bee and Andy involved? > > Jerry > > > On Dec 28, 2009, at 3:11 PM, J. Landman Gay wrote: > > because the OP said he was importing a sound clip >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Mon Dec 28 16:39:56 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 28 Dec 2009 15:39:56 -0600 Subject: Help with audio In-Reply-To: <988F72FA-BB54-4CAB-B7E9-03D1E05C4D71@me.com> References: <p06240837c75e870ec247@192.168.1.2> <4B3915C3.5000509@hyperactivesw.com> <e5e009d70912281258n2144b924vc2d87e8e6389ba62@mail.gmail.com> <4B391EFE.8030606@hyperactivesw.com> <988F72FA-BB54-4CAB-B7E9-03D1E05C4D71@me.com> Message-ID: <4B3925AC.60002@hyperactivesw.com> Jerry Daniels wrote: > Jacque, > > OP? Are Aunt Bee and Andy involved? You just don't read enough lists, Jerry. Clearly (any post that contains the word "clearly" is always true, you know...it's like, a rule) you haven't been around enough. OP = "original poster". Like the old Grateful Dead ones hanging down in the basement. The paper ones. Not the guys in the shackles. No smiley because you've banned the good ones. :) Oops, sorry. :/ Oops. I mean :P -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jerry.daniels at me.com Mon Dec 28 17:57:02 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 28 Dec 2009 16:57:02 -0600 Subject: Help with audio In-Reply-To: <4B3925AC.60002@hyperactivesw.com> References: <p06240837c75e870ec247@192.168.1.2> <4B3915C3.5000509@hyperactivesw.com> <e5e009d70912281258n2144b924vc2d87e8e6389ba62@mail.gmail.com> <4B391EFE.8030606@hyperactivesw.com> <988F72FA-BB54-4CAB-B7E9-03D1E05C4D71@me.com> <4B3925AC.60002@hyperactivesw.com> Message-ID: <35A3BC54-4A00-4AA3-8A12-E5737E478A48@me.com> Jacque, You went for the bait. Hehe. Been around awhile, I have (Yoda voice). Incidentally, I don't ban winks, only limit them on chats to 1 every 15 minutes. This is out of compassion. Your face could stay that way. Aunt Bee said so many times to OP. I think that was spelled "Opee" but I don't want to start a coagulated milk product discussion here. That does result in banning or suspension at least. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-a-handler-to-any-tab On Dec 28, 2009, at 3:39 PM, J. Landman Gay wrote: > Jerry Daniels wrote: >> Jacque, >> OP? Are Aunt Bee and Andy involved? > > You just don't read enough lists, Jerry. Clearly (any post that > contains the word "clearly" is always true, you know...it's like, a > rule) you haven't been around enough. OP = "original poster". Like > the old Grateful Dead ones hanging down in the basement. The paper > ones. Not the guys in the shackles. > > No smiley because you've banned the good ones. :) > > Oops, sorry. :/ Oops. I mean :P > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Mon Dec 28 18:12:19 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 28 Dec 2009 15:12:19 -0800 Subject: Help with audio In-Reply-To: <35A3BC54-4A00-4AA3-8A12-E5737E478A48@me.com> References: <p06240837c75e870ec247@192.168.1.2> <4B3915C3.5000509@hyperactivesw.com> <e5e009d70912281258n2144b924vc2d87e8e6389ba62@mail.gmail.com> <4B391EFE.8030606@hyperactivesw.com> <988F72FA-BB54-4CAB-B7E9-03D1E05C4D71@me.com> <4B3925AC.60002@hyperactivesw.com> <35A3BC54-4A00-4AA3-8A12-E5737E478A48@me.com> Message-ID: <e5e009d70912281512u3effed4dk649d1d7d0c91970@mail.gmail.com> Nope O P I E http://en.wikipedia.org/wiki/Opie_Taylor ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/28 Jerry Daniels <jerry.daniels at me.com> > Jacque, > > You went for the bait. Hehe. Been around awhile, I have (Yoda voice). > > Incidentally, I don't ban winks, only limit them on chats to 1 every 15 > minutes. This is out of compassion. Your face could stay that way. Aunt Bee > said so many times to OP. I think that was spelled "Opee" but I don't want > to start a coagulated milk product discussion here. That does result in > banning or suspension at least. > > Best, > > Jerry Daniels > > The latest Rev Editor Video: > http://reveditor.com/feature-friday-drag-a-handler-to-any-tab > > > On Dec 28, 2009, at 3:39 PM, J. Landman Gay wrote: > > Jerry Daniels wrote: >> >>> Jacque, >>> OP? Are Aunt Bee and Andy involved? >>> >> >> You just don't read enough lists, Jerry. Clearly (any post that contains >> the word "clearly" is always true, you know...it's like, a rule) you haven't >> been around enough. OP = "original poster". Like the old Grateful Dead ones >> hanging down in the basement. The paper ones. Not the guys in the shackles. >> >> No smiley because you've banned the good ones. :) >> >> Oops, sorry. :/ Oops. I mean :P >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jerry.daniels at me.com Mon Dec 28 18:15:27 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Mon, 28 Dec 2009 17:15:27 -0600 Subject: Help with audio In-Reply-To: <e5e009d70912281512u3effed4dk649d1d7d0c91970@mail.gmail.com> References: <p06240837c75e870ec247@192.168.1.2> <4B3915C3.5000509@hyperactivesw.com> <e5e009d70912281258n2144b924vc2d87e8e6389ba62@mail.gmail.com> <4B391EFE.8030606@hyperactivesw.com> <988F72FA-BB54-4CAB-B7E9-03D1E05C4D71@me.com> <4B3925AC.60002@hyperactivesw.com> <35A3BC54-4A00-4AA3-8A12-E5737E478A48@me.com> <e5e009d70912281512u3effed4dk649d1d7d0c91970@mail.gmail.com> Message-ID: <A998243C-3A76-4B8B-83A6-498774D1BDB4@me.com> Stephen, I fear that's too sophisticated for my Texas palette. A word like "Opie" is used here-abouts to show surprise at getting pie for dessert instead of pralines or flan. Best, Jerry Daniels The latest Rev Editor Video: http://reveditor.com/feature-friday-drag-a-handler-to-any-tab On Dec 28, 2009, at 5:12 PM, stephen barncard wrote: > Nope > > O P I E > > http://en.wikipedia.org/wiki/Opie_Taylor > > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > > > 2009/12/28 Jerry Daniels <jerry.daniels at me.com> > >> Jacque, >> >> You went for the bait. Hehe. Been around awhile, I have (Yoda voice). >> >> Incidentally, I don't ban winks, only limit them on chats to 1 >> every 15 >> minutes. This is out of compassion. Your face could stay that way. >> Aunt Bee >> said so many times to OP. I think that was spelled "Opee" but I >> don't want >> to start a coagulated milk product discussion here. That does >> result in >> banning or suspension at least. >> >> Best, >> >> Jerry Daniels >> >> The latest Rev Editor Video: >> http://reveditor.com/feature-friday-drag-a-handler-to-any-tab >> >> >> On Dec 28, 2009, at 3:39 PM, J. Landman Gay wrote: >> >> Jerry Daniels wrote: >>> >>>> Jacque, >>>> OP? Are Aunt Bee and Andy involved? >>>> >>> >>> You just don't read enough lists, Jerry. Clearly (any post that >>> contains >>> the word "clearly" is always true, you know...it's like, a rule) >>> you haven't >>> been around enough. OP = "original poster". Like the old Grateful >>> Dead ones >>> hanging down in the basement. The paper ones. Not the guys in the >>> shackles. >>> >>> No smiley because you've banned the good ones. :) >>> >>> Oops, sorry. :/ Oops. I mean :P >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Mon Dec 28 18:18:14 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 28 Dec 2009 17:18:14 -0600 Subject: Help with audio In-Reply-To: <A998243C-3A76-4B8B-83A6-498774D1BDB4@me.com> References: <p06240837c75e870ec247@192.168.1.2> <4B3915C3.5000509@hyperactivesw.com> <e5e009d70912281258n2144b924vc2d87e8e6389ba62@mail.gmail.com> <4B391EFE.8030606@hyperactivesw.com> <988F72FA-BB54-4CAB-B7E9-03D1E05C4D71@me.com> <4B3925AC.60002@hyperactivesw.com> <35A3BC54-4A00-4AA3-8A12-E5737E478A48@me.com> <e5e009d70912281512u3effed4dk649d1d7d0c91970@mail.gmail.com> <A998243C-3A76-4B8B-83A6-498774D1BDB4@me.com> Message-ID: <4B393CB6.9090307@hyperactivesw.com> Jerry Daniels wrote: > Stephen, > > I fear that's too sophisticated for my Texas palette. A word like "Opie" > is used here-abouts to show surprise at getting pie for dessert instead > of pralines or flan. But...but..."opee" looks like...oh, never mind. And BTW, Aunt Bee was right. My face did stick that way. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Dec 28 18:42:28 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 28 Dec 2009 15:42:28 -0800 Subject: Help with audio In-Reply-To: <4B3925AC.60002@hyperactivesw.com> References: <p06240837c75e870ec247@192.168.1.2> <4B3915C3.5000509@hyperactivesw.com> <e5e009d70912281258n2144b924vc2d87e8e6389ba62@mail.gmail.com> <4B391EFE.8030606@hyperactivesw.com> <988F72FA-BB54-4CAB-B7E9-03D1E05C4D71@me.com> <4B3925AC.60002@hyperactivesw.com> Message-ID: <4451720953.20091228154228@ahsoftware.net> Jacque- Monday, December 28, 2009, 1:39:56 PM, you wrote: > Grateful Dead ones hanging down in the basement. The paper ones. Not the > guys in the shackles. Cold iron shackles, ball and chain Listen to the whistle of the evenin' train -- -Mark Wieder mwieder at ahsoftware.net From kee at kagi.com Mon Dec 28 20:29:39 2009 From: kee at kagi.com (Kee Nethery) Date: Mon, 28 Dec 2009 17:29:39 -0800 Subject: 4.0 not displaying text field changes In-Reply-To: <4ED0B592-705E-4091-8A86-8D43FED1D5D6@economy-x-talk.com> References: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com> <f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com> <87693791-AB74-49EA-8BCC-B058C1D4AAE7@kagi.com> <4ED0B592-705E-4091-8A86-8D43FED1D5D6@economy-x-talk.com> Message-ID: <93D3F9B7-35E7-4E12-A8BA-A171A81F91B1@kagi.com> Thank you Mark! That was the secret to making the field changes appear. Kee On Dec 27, 2009, at 9:27 AM, Mark Schonewille wrote: > wait 0 millisec with messages ------------------------------------------------- I check email roughly 2 to 3 times per business day. Kagi main office: +1 (510) 550-1336 From kee at kagi.com Mon Dec 28 20:47:36 2009 From: kee at kagi.com (Kee Nethery) Date: Mon, 28 Dec 2009 17:47:36 -0800 Subject: local variables In-Reply-To: <4ED0B592-705E-4091-8A86-8D43FED1D5D6@economy-x-talk.com> References: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com> <f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com> <87693791-AB74-49EA-8BCC-B058C1D4AAE7@kagi.com> <4ED0B592-705E-4091-8A86-8D43FED1D5D6@economy-x-talk.com> Message-ID: <532C4410-79EB-4B14-8F31-A94CDC1C15A5@kagi.com> OK this is weird, also in 4.0. A local variable appears to be treated as a global variable. local x, y, myvariable on mouseup put empty into myvariable repeat with x = 1 to 1000 repeat with y = 1 to 1000 put x && somefunction(y) & return after myvariable end repeat end repeat end mouseup on somefunction y repeat with x = y down to 1 add 1 to y end repeat return y && x end somefunction In code that looks a lot like this, x in the mouseup gets reset to 1 after somefunction(y) is called. If x was a global, OK I'd expect that, but I have to declare x a local to use it and it is being treated as a global. Also, x appears twice in the variable section of the debug window. What should I be doing to get the behavior I used to get in 2.9? Thanks, Kee From stephenREVOLUTION2 at barncard.com Mon Dec 28 20:50:19 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 28 Dec 2009 17:50:19 -0800 Subject: local variables In-Reply-To: <532C4410-79EB-4B14-8F31-A94CDC1C15A5@kagi.com> References: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com> <f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com> <87693791-AB74-49EA-8BCC-B058C1D4AAE7@kagi.com> <4ED0B592-705E-4091-8A86-8D43FED1D5D6@economy-x-talk.com> <532C4410-79EB-4B14-8F31-A94CDC1C15A5@kagi.com> Message-ID: <e5e009d70912281750u4b8603b8l31c286b7be82378c@mail.gmail.com> You are using it as a script variable. It's a local variable that is available from any handler in the script. If you want true local, then put the declaration inside the desired handler.... sqb ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/28 Kee Nethery <kee at kagi.com> > OK this is weird, also in 4.0. A local variable appears to be treated as a > global variable. > > local x, y, myvariable > > on mouseup > put empty into myvariable > repeat with x = 1 to 1000 > repeat with y = 1 to 1000 > put x && somefunction(y) & return after myvariable > end repeat > end repeat > end mouseup > > on somefunction y > repeat with x = y down to 1 > add 1 to y > end repeat > return y && x > end somefunction > > In code that looks a lot like this, x in the mouseup gets reset to 1 after > somefunction(y) is called. If x was a global, OK I'd expect that, but I have > to declare x a local to use it and it is being treated as a global. Also, x > appears twice in the variable section of the debug window. What should I be > doing to get the behavior I used to get in 2.9? > > Thanks, Kee > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From kee at kagi.com Mon Dec 28 21:01:35 2009 From: kee at kagi.com (Kee Nethery) Date: Mon, 28 Dec 2009 18:01:35 -0800 Subject: local variables In-Reply-To: <e5e009d70912281750u4b8603b8l31c286b7be82378c@mail.gmail.com> References: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com> <f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com> <87693791-AB74-49EA-8BCC-B058C1D4AAE7@kagi.com> <4ED0B592-705E-4091-8A86-8D43FED1D5D6@economy-x-talk.com> <532C4410-79EB-4B14-8F31-A94CDC1C15A5@kagi.com> <e5e009d70912281750u4b8603b8l31c286b7be82378c@mail.gmail.com> Message-ID: <AC2CB7F5-9D51-4163-9514-31A3C541BA17@kagi.com> OK so there are locals that are local to a specific script, and locals to a specific handler. That's interesting. Thank you! Kee Nethery On Dec 28, 2009, at 5:50 PM, stephen barncard wrote: > You are using it as a script variable. It's a local variable that is > available from any handler in the script. If you want true local, then put > the declaration inside the desired handler.... > > sqb > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > > > 2009/12/28 Kee Nethery <kee at kagi.com> > >> OK this is weird, also in 4.0. A local variable appears to be treated as a >> global variable. >> >> local x, y, myvariable >> >> on mouseup >> put empty into myvariable >> repeat with x = 1 to 1000 >> repeat with y = 1 to 1000 >> put x && somefunction(y) & return after myvariable >> end repeat >> end repeat >> end mouseup >> >> on somefunction y >> repeat with x = y down to 1 >> add 1 to y >> end repeat >> return y && x >> end somefunction >> >> In code that looks a lot like this, x in the mouseup gets reset to 1 after >> somefunction(y) is called. If x was a global, OK I'd expect that, but I have >> to declare x a local to use it and it is being treated as a global. Also, x >> appears twice in the variable section of the debug window. What should I be >> doing to get the behavior I used to get in 2.9? >> >> Thanks, Kee >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ------------------------------------------------- I check email roughly 2 to 3 times per business day. Kagi main office: +1 (510) 550-1336 From mwieder at ahsoftware.net Mon Dec 28 21:00:52 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 28 Dec 2009 18:00:52 -0800 Subject: local variables In-Reply-To: <e5e009d70912281750u4b8603b8l31c286b7be82378c@mail.gmail.com> References: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com> <f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com> <87693791-AB74-49EA-8BCC-B058C1D4AAE7@kagi.com> <4ED0B592-705E-4091-8A86-8D43FED1D5D6@economy-x-talk.com> <532C4410-79EB-4B14-8F31-A94CDC1C15A5@kagi.com> <e5e009d70912281750u4b8603b8l31c286b7be82378c@mail.gmail.com> Message-ID: <50460024687.20091228180052@ahsoftware.net> Kee- Monday, December 28, 2009, 5:50:19 PM, you wrote: > You are using it as a script variable. It's a local variable that is > available from any handler in the script. If you want true local, then put > the declaration inside the desired handler.... Additionally, you're using "y" as both a script variable and a parameter passed to somefunction(). -- -Mark Wieder mwieder at ahsoftware.net From jhurley0305 at sbcglobal.net Mon Dec 28 23:48:34 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Mon, 28 Dec 2009 20:48:34 -0800 Subject: What cell in the data grid was clicked? In-Reply-To: <20091228180007.2EBAF288414@mail.runrev.com> References: <20091228180007.2EBAF288414@mail.runrev.com> Message-ID: <76D588F2-1AC7-4F89-9347-F0A253EECF52@sbcglobal.net> The user clicks on a data grid cell. What variables determine the row and column numbers of the cell? And the text of the cell? Thanks, Jim Hurley From mikekann at yahoo.com Tue Dec 29 06:52:14 2009 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 29 Dec 2009 03:52:14 -0800 (PST) Subject: What cell in the data grid was clicked? In-Reply-To: <76D588F2-1AC7-4F89-9347-F0A253EECF52@sbcglobal.net> Message-ID: <466218.8290.qm@web56708.mail.re3.yahoo.com> It doesn't seem like the datagrid commands made it into the dictionary I have. I foraged around on the runrev website and found some info. You might find what you need on the following links. As a warning, I don't know jack about datagrids, just trying to be helpful. Some links: http://lessons.runrev.com/spaces/lessons/manuals/datagrid http://lessons.runrev.com/spaces/lessons/manuals/datagrid_tips http://lessons.runrev.com/spaces/lessons/manuals/datagrid_tips/lessons/7349-How-Do-I-Find-Out-Which-Line-The-Mouse-Is-Over- http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7312-How-Do-I-Determine-The-Selected-Line- http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7313-How-Do-I-Get-Data-Associated-With-a-Row-or-Column- --- On Mon, 12/28/09, James Hurley <jhurley0305 at sbcglobal.net> wrote: > From: James Hurley <jhurley0305 at sbcglobal.net> > Subject: What cell in the data grid was clicked? > To: use-revolution at lists.runrev.com > Date: Monday, December 28, 2009, 10:48 PM > The user clicks on a data grid cell. > > What variables determine the row and column numbers of the > cell? > > And the text of the cell? > > Thanks, > > Jim Hurley > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at dvglasgow.wanadoo.co.uk Tue Dec 29 07:18:20 2009 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Tue, 29 Dec 2009 12:18:20 +0000 Subject: Imagesource of char not working as expected in Windows In-Reply-To: <20091220101527.5F4A428822B@mail.runrev.com> References: <20091220101527.5F4A428822B@mail.runrev.com> Message-ID: <4E56331C-0DB5-4603-A1FC-C5784A0371AA@dvglasgow.wanadoo.co.uk> I didn't get any on-list responses to this, but got a good steer from Richmond Mathewson (thanks!) off-list. In brief, my standalone (RR 4.0) takes screenshots and saves them to disk. They are also displayed in a field by appending a tilde to the field each time a snapshot is taken, and then setting the imagesource of the character to the url to which the image was saved. This works under OS X, but not Windows. I have wrestled with this and found out a little more, but still can't get the darned thing to work. I moved the save location to docs, just in case there was something weird about the temporary items location. I have tested on Vista and Win 7 with the same result. The snapshots are saved to a location such as C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36 AM]/graphics/image1.png C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39 AM]/graphics/image2.png A field called "snapshots" holds the list of URLs and is used like this: set the imageSource of char 1 of last line of field "resultsG" to line 1 of field "snapshots" In each case this script runs, the tilde disappears but is not replaced by anything. The imagesource of each tilde is correctly reported if requested. The fixed line height of the results field is set to false, and it has scrollbars. However many URLs are referenced, but do not appear, the scrollbar never becomes active, so it seems that no 'blank' image is being displayed. Setting the imagesource of any tilde to empty causes it to reappear, so something is happening to hide/show the character. I also use the URLs stored in field "snapshots" to print the graphics using this script to populate a printer stack with the images: put 1 into k repeat for each line j in field "snapshots" set the filename of image "pikcha" of card k of stack "grcprinter" to j put k+1 into k end repeat This works fine, so unless there is some Windows Ju-Ju I don't know about (entirely possible) it really does look as though something is broken in imagesource under Windows. Can anyone: 1/ Suggest where I am going wrong (if I am) 2/ Confirm that they do or do not have imagesource working under Windows 3/ Suggest a workaround This is a critical feature in an almost finished project , so I would really appreciate some help David Glasgow From eric.miclo at wanadoo.fr Tue Dec 29 07:30:49 2009 From: eric.miclo at wanadoo.fr (=?iso-8859-1?Q?=C9ric_Miclo?=) Date: Tue, 29 Dec 2009 13:30:49 +0100 Subject: Imagesource of char not working as expected in Windows In-Reply-To: <4E56331C-0DB5-4603-A1FC-C5784A0371AA@dvglasgow.wanadoo.co.uk> References: <20091220101527.5F4A428822B@mail.runrev.com> <4E56331C-0DB5-4603-A1FC-C5784A0371AA@dvglasgow.wanadoo.co.uk> Message-ID: <98806FBA-D561-415A-9030-9750214215CF@wanadoo.fr> Hello, I'm not sure it can help, but did you try to use an other char than a tilde? Best, ?rIC Le 29 d?c. 2009 ? 13:18, David Glasgow a ?crit : > > > I didn't get any on-list responses to this, but got a good steer from Richmond Mathewson (thanks!) off-list. > > In brief, my standalone (RR 4.0) takes screenshots and saves them to disk. They are also displayed in a field by appending a tilde to the field each time a snapshot is taken, and then setting the imagesource of the character to the url to which the image was saved. > > This works under OS X, but not Windows. I have wrestled with this and found out a little more, but still can't get the darned thing to work. I moved the save location to docs, just in case there was something weird about the temporary items location. I have tested on Vista and Win 7 with the same result. > > The snapshots are saved to a location such as > > C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36 AM]/graphics/image1.png > C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39 AM]/graphics/image2.png > > A field called "snapshots" holds the list of URLs and is used like this: > > set the imageSource of char 1 of last line of field "resultsG" to line 1 of field "snapshots" > > In each case this script runs, the tilde disappears but is not replaced by anything. The imagesource of each tilde is correctly reported if requested. The fixed line height of the results field is set to false, and it has scrollbars. However many URLs are referenced, but do not appear, the scrollbar never becomes active, so it seems that no 'blank' image is being displayed. Setting the imagesource of any tilde to empty causes it to reappear, so something is happening to hide/show the character. > > I also use the URLs stored in field "snapshots" to print the graphics using this script to populate a printer stack with the images: > > > put 1 into k > repeat for each line j in field "snapshots" > set the filename of image "pikcha" of card k of stack "grcprinter" to j > put k+1 into k > end repeat > > This works fine, so unless there is some Windows Ju-Ju I don't know about (entirely possible) it really does look as though something is broken in imagesource under Windows. > > Can anyone: > > 1/ Suggest where I am going wrong (if I am) > 2/ Confirm that they do or do not have imagesource working under Windows > 3/ Suggest a workaround > > This is a critical feature in an almost finished project , so I would really appreciate some help > > David Glasgow > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- My NeXT computer will Be a Mac too! -- From mikekann at yahoo.com Tue Dec 29 10:11:58 2009 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 29 Dec 2009 07:11:58 -0800 (PST) Subject: Imagesource of char not working as expected in Windows In-Reply-To: <4E56331C-0DB5-4603-A1FC-C5784A0371AA@dvglasgow.wanadoo.co.uk> Message-ID: <603973.47447.qm@web56703.mail.re3.yahoo.com> David, I'm on XP Pro so I can check it out for you. Is it working in the stack on Windows before you made the standalone. Or did you create the standalone from a stack on the Mac? In other words, is the fact that it is a standalone important? First, you might be tempting fate to use anything but vanilla flavored characters in a path name. Instead of C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36 AM]/graphics/image1.png I'd try C:/Users/DavidG/Documents/good/wonderful/graphics/image1.png Another thing to consider is the defaultFolder. You might try placing the images in the same folder as the standalone. --- On Tue, 12/29/09, David Glasgow <david at dvglasgow.wanadoo.co.uk> wrote: > From: David Glasgow <david at dvglasgow.wanadoo.co.uk> > Subject: Re: Imagesource of char not working as expected in Windows > To: use-revolution at lists.runrev.com > Date: Tuesday, December 29, 2009, 6:18 AM > > I didn't get any on-list responses to this, but got? a > good steer from Richmond Mathewson (thanks!) off-list. > > In brief, my standalone (RR 4.0) takes screenshots and > saves them to disk.? They are also displayed in a field > by appending a tilde to the field each time a snapshot is > taken, and then setting the imagesource of the character to > the url to which the image was saved. > > This works under OS X, but not Windows.? I have > wrestled with this and found out a little more, but still > can't get the darned thing to work.? I moved the save > location to docs, just in case there was something weird > about the temporary items location.? I have tested on > Vista and Win 7 with the same result. > > The snapshots are saved to a location such as > > C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36 > AM]/graphics/image1.png > C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39 > AM]/graphics/image2.png > > A field called "snapshots" holds the list of URLs and is > used like this: > > set the imageSource of char 1 of last line of field > "resultsG" to line 1 of field "snapshots" > > In each case this script runs, the tilde disappears but is > not replaced by anything.? The imagesource of each > tilde is correctly reported if requested.? The fixed > line height of the results field is set to false, and it has > scrollbars.? However many URLs are referenced, but do > not appear, the scrollbar never becomes active, so it seems > that no 'blank' image is being displayed.? Setting the > imagesource of any tilde to empty causes it to reappear, so > something is happening to hide/show the character. > > I also use the URLs stored in field "snapshots" to print > the graphics using this script to populate a printer stack > with the images: > > > put 1 into k > ???repeat for each line j in field > "snapshots" > ? ? ? set the filename of image "pikcha" of > card k of stack "grcprinter" to j > ? ? ? put k+1 into k > ???end repeat > > This works fine, so unless there is some Windows Ju-Ju I > don't know about (entirely possible) it really does look as > though something is broken in imagesource under > Windows.? > > Can anyone: > > 1/? Suggest where I am going wrong (if I am) > 2/? Confirm that they do or do not have imagesource > working under Windows > 3/? Suggest a workaround > > This is a critical feature in an almost finished project , > so I would really appreciate some help > > David Glasgow > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mikekann at yahoo.com Tue Dec 29 10:36:38 2009 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 29 Dec 2009 07:36:38 -0800 (PST) Subject: Imagesource of char not working as expected in Windows In-Reply-To: <4E56331C-0DB5-4603-A1FC-C5784A0371AA@dvglasgow.wanadoo.co.uk> Message-ID: <151013.13088.qm@web56706.mail.re3.yahoo.com> The following script works for me on Windows XP Pro in a stack. I'll build a standalone and see what happens. on mouseUp put "~" after fld "aFld" put "C:\Documents and Settings\zhangt\Desktop\imgFolder" into k set the defaultFolder to k set the imageSource of last char of fld "aFld" to "binfile:a.png" end mouseUp The image is only the height of the char it replaces. Can I assume that your first concern is to get something working rather than figuring out what might be wrong? E-mail off-list any time. I'm trying to learn RunRev and it's fun to learn together. --- On Tue, 12/29/09, David Glasgow <david at dvglasgow.wanadoo.co.uk> wrote: > From: David Glasgow <david at dvglasgow.wanadoo.co.uk> > Subject: Re: Imagesource of char not working as expected in Windows > To: use-revolution at lists.runrev.com > Date: Tuesday, December 29, 2009, 6:18 AM > > I didn't get any on-list responses to this, but got? a > good steer from Richmond Mathewson (thanks!) off-list. > > In brief, my standalone (RR 4.0) takes screenshots and > saves them to disk.? They are also displayed in a field > by appending a tilde to the field each time a snapshot is > taken, and then setting the imagesource of the character to > the url to which the image was saved. > > This works under OS X, but not Windows.? I have > wrestled with this and found out a little more, but still > can't get the darned thing to work.? I moved the save > location to docs, just in case there was something weird > about the temporary items location.? I have tested on > Vista and Win 7 with the same result. > > The snapshots are saved to a location such as > > C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36 > AM]/graphics/image1.png > C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39 > AM]/graphics/image2.png > > A field called "snapshots" holds the list of URLs and is > used like this: > > set the imageSource of char 1 of last line of field > "resultsG" to line 1 of field "snapshots" > > In each case this script runs, the tilde disappears but is > not replaced by anything.? The imagesource of each > tilde is correctly reported if requested.? The fixed > line height of the results field is set to false, and it has > scrollbars.? However many URLs are referenced, but do > not appear, the scrollbar never becomes active, so it seems > that no 'blank' image is being displayed.? Setting the > imagesource of any tilde to empty causes it to reappear, so > something is happening to hide/show the character. > > I also use the URLs stored in field "snapshots" to print > the graphics using this script to populate a printer stack > with the images: > > > put 1 into k > ???repeat for each line j in field > "snapshots" > ? ? ? set the filename of image "pikcha" of > card k of stack "grcprinter" to j > ? ? ? put k+1 into k > ???end repeat > > This works fine, so unless there is some Windows Ju-Ju I > don't know about (entirely possible) it really does look as > though something is broken in imagesource under > Windows.? > > Can anyone: > > 1/? Suggest where I am going wrong (if I am) > 2/? Confirm that they do or do not have imagesource > working under Windows > 3/? Suggest a workaround > > This is a critical feature in an almost finished project , > so I would really appreciate some help > > David Glasgow > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mikekann at yahoo.com Tue Dec 29 10:49:02 2009 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 29 Dec 2009 07:49:02 -0800 (PST) Subject: Imagesource of char not working as expected in Windows In-Reply-To: <4E56331C-0DB5-4603-A1FC-C5784A0371AA@dvglasgow.wanadoo.co.uk> Message-ID: <823926.18405.qm@web56706.mail.re3.yahoo.com> The following script works in a standalone created on Windows XP and running on Windows XP. on mouseUp put "~" after fld "aFld" put "C:\Documents and Settings\zhangt\Desktop\imgFolder" into k set the defaultFolder to k set the imageSource of last char of fld "aFld" to "binfile:a.png" end mouseUp Perhaps something gets undone when the script travels through the wormhole from the Mac universe to the Windows universe. Does Dr. Who frequent this forum? --- On Tue, 12/29/09, David Glasgow <david at dvglasgow.wanadoo.co.uk> wrote: > From: David Glasgow <david at dvglasgow.wanadoo.co.uk> > Subject: Re: Imagesource of char not working as expected in Windows > To: use-revolution at lists.runrev.com > Date: Tuesday, December 29, 2009, 6:18 AM > > I didn't get any on-list responses to this, but got? a > good steer from Richmond Mathewson (thanks!) off-list. > > In brief, my standalone (RR 4.0) takes screenshots and > saves them to disk.? They are also displayed in a field > by appending a tilde to the field each time a snapshot is > taken, and then setting the imagesource of the character to > the url to which the image was saved. > > This works under OS X, but not Windows.? I have > wrestled with this and found out a little more, but still > can't get the darned thing to work.? I moved the save > location to docs, just in case there was something weird > about the temporary items location.? I have tested on > Vista and Win 7 with the same result. > > The snapshots are saved to a location such as > > C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36 > AM]/graphics/image1.png > C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39 > AM]/graphics/image2.png > > A field called "snapshots" holds the list of URLs and is > used like this: > > set the imageSource of char 1 of last line of field > "resultsG" to line 1 of field "snapshots" > > In each case this script runs, the tilde disappears but is > not replaced by anything.? The imagesource of each > tilde is correctly reported if requested.? The fixed > line height of the results field is set to false, and it has > scrollbars.? However many URLs are referenced, but do > not appear, the scrollbar never becomes active, so it seems > that no 'blank' image is being displayed.? Setting the > imagesource of any tilde to empty causes it to reappear, so > something is happening to hide/show the character. > > I also use the URLs stored in field "snapshots" to print > the graphics using this script to populate a printer stack > with the images: > > > put 1 into k > ???repeat for each line j in field > "snapshots" > ? ? ? set the filename of image "pikcha" of > card k of stack "grcprinter" to j > ? ? ? put k+1 into k > ???end repeat > > This works fine, so unless there is some Windows Ju-Ju I > don't know about (entirely possible) it really does look as > though something is broken in imagesource under > Windows.? > > Can anyone: > > 1/? Suggest where I am going wrong (if I am) > 2/? Confirm that they do or do not have imagesource > working under Windows > 3/? Suggest a workaround > > This is a critical feature in an almost finished project , > so I would really appreciate some help > > David Glasgow > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lists at mangomultimedia.com Tue Dec 29 11:16:18 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 29 Dec 2009 11:16:18 -0500 Subject: What cell in the data grid was clicked? In-Reply-To: <76D588F2-1AC7-4F89-9347-F0A253EECF52@sbcglobal.net> References: <20091228180007.2EBAF288414@mail.runrev.com> <76D588F2-1AC7-4F89-9347-F0A253EECF52@sbcglobal.net> Message-ID: <B0E96C1C-D82E-4E6F-8347-4BAFFD7CE424@mangomultimedia.com> On Dec 28, 2009, at 11:48 PM, James Hurley wrote: > The user clicks on a data grid cell. > > What variables determine the row and column numbers of the cell? Jim, Each row in a Data Grid form/table and each column in a Data Grid table have custom properties that help you determine this information. Note that you use names to reference columns rather than numbers however. These properties include the dgLine or dgIndex and the dgColumn. I just updated the "How Do I Get Data Associated With a Row or Column?" lesson in the manual to provide some more useful examples. How Do I Get Data Associated With a Row or Column?: <http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7313-How-Do-I-Get-Data-Associated-With-a-Row-or-Column- > > And the text of the cell? The lesson also shows how to get the value associated with a cell using GetDataOfIndex. Look at the very last step in the lesson. Regards, -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From mikekann at yahoo.com Tue Dec 29 11:19:14 2009 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 29 Dec 2009 08:19:14 -0800 (PST) Subject: Imagesource of char not working as expected in Windows In-Reply-To: <4E56331C-0DB5-4603-A1FC-C5784A0371AA@dvglasgow.wanadoo.co.uk> Message-ID: <10059.37975.qm@web56701.mail.re3.yahoo.com> I think I've found the problem put C:\Documents and Settings\zhangt\Desktop\imgFolder\a.png into line 1 of fld "snapshots" Note in the script below you need a "binfile:" tacked on in front of the path. on mouseUp put line 1 of field "snapshots" into k put "binfile:" before k set the imageSource of char 1 of last line of field "resultsG" to k end mouseUp Maybe you can include all those spaces and exotic characters in your path after all. --- On Tue, 12/29/09, David Glasgow <david at dvglasgow.wanadoo.co.uk> wrote: > From: David Glasgow <david at dvglasgow.wanadoo.co.uk> > Subject: Re: Imagesource of char not working as expected in Windows > To: use-revolution at lists.runrev.com > Date: Tuesday, December 29, 2009, 6:18 AM > > I didn't get any on-list responses to this, but got? a > good steer from Richmond Mathewson (thanks!) off-list. > > In brief, my standalone (RR 4.0) takes screenshots and > saves them to disk.? They are also displayed in a field > by appending a tilde to the field each time a snapshot is > taken, and then setting the imagesource of the character to > the url to which the image was saved. > > This works under OS X, but not Windows.? I have > wrestled with this and found out a little more, but still > can't get the darned thing to work.? I moved the save > location to docs, just in case there was something weird > about the temporary items location.? I have tested on > Vista and Win 7 with the same result. > > The snapshots are saved to a location such as > > C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36 > AM]/graphics/image1.png > C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39 > AM]/graphics/image2.png > > A field called "snapshots" holds the list of URLs and is > used like this: > > set the imageSource of char 1 of last line of field > "resultsG" to line 1 of field "snapshots" > > In each case this script runs, the tilde disappears but is > not replaced by anything.? The imagesource of each > tilde is correctly reported if requested.? The fixed > line height of the results field is set to false, and it has > scrollbars.? However many URLs are referenced, but do > not appear, the scrollbar never becomes active, so it seems > that no 'blank' image is being displayed.? Setting the > imagesource of any tilde to empty causes it to reappear, so > something is happening to hide/show the character. > > I also use the URLs stored in field "snapshots" to print > the graphics using this script to populate a printer stack > with the images: > > > put 1 into k > ???repeat for each line j in field > "snapshots" > ? ? ? set the filename of image "pikcha" of > card k of stack "grcprinter" to j > ? ? ? put k+1 into k > ???end repeat > > This works fine, so unless there is some Windows Ju-Ju I > don't know about (entirely possible) it really does look as > though something is broken in imagesource under > Windows.? > > Can anyone: > > 1/? Suggest where I am going wrong (if I am) > 2/? Confirm that they do or do not have imagesource > working under Windows > 3/? Suggest a workaround > > This is a critical feature in an almost finished project , > so I would really appreciate some help > > David Glasgow > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lists at mangomultimedia.com Tue Dec 29 11:21:35 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 29 Dec 2009 11:21:35 -0500 Subject: What cell in the data grid was clicked? In-Reply-To: <76D588F2-1AC7-4F89-9347-F0A253EECF52@sbcglobal.net> References: <20091228180007.2EBAF288414@mail.runrev.com> <76D588F2-1AC7-4F89-9347-F0A253EECF52@sbcglobal.net> Message-ID: <07788C11-7AE6-47E4-B838-8A9731E0151D@mangomultimedia.com> On Dec 28, 2009, at 11:48 PM, James Hurley wrote: > The user clicks on a data grid cell. > > What variables determine the row and column numbers of the cell? > > And the text of the cell? One other lesson you might want to look at discusses how to define your own mouseDown handlers in a Data Grid. You have to make sure that the Data Grid is allowed to process the mouseDown message before your code does. How Do I Add a mouseDown Event To The Data Grid Without Breaking It?: <http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7316-How-Do-I-Add-a-mouseDown-Event-To-The-Data-Grid-Without-Breaking-It- > -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From mikekann at yahoo.com Tue Dec 29 11:26:09 2009 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 29 Dec 2009 08:26:09 -0800 (PST) Subject: Imagesource of char not working as expected in Windows In-Reply-To: <4E56331C-0DB5-4603-A1FC-C5784A0371AA@dvglasgow.wanadoo.co.uk> Message-ID: <152196.91184.qm@web56703.mail.re3.yahoo.com> Leaving out the binfile: prefix on Mac might be a forgivable offense that is punished on Windows. Is that the takehome lesson? We now must defer to the seasoned veterans of both platforms. --- On Tue, 12/29/09, David Glasgow <david at dvglasgow.wanadoo.co.uk> wrote: > From: David Glasgow <david at dvglasgow.wanadoo.co.uk> > Subject: Re: Imagesource of char not working as expected in Windows > To: use-revolution at lists.runrev.com > Date: Tuesday, December 29, 2009, 6:18 AM > > I didn't get any on-list responses to this, but got? a > good steer from Richmond Mathewson (thanks!) off-list. > > In brief, my standalone (RR 4.0) takes screenshots and > saves them to disk.? They are also displayed in a field > by appending a tilde to the field each time a snapshot is > taken, and then setting the imagesource of the character to > the url to which the image was saved. > > This works under OS X, but not Windows.? I have > wrestled with this and found out a little more, but still > can't get the darned thing to work.? I moved the save > location to docs, just in case there was something weird > about the temporary items location.? I have tested on > Vista and Win 7 with the same result. > > The snapshots are saved to a location such as > > C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36 > AM]/graphics/image1.png > C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39 > AM]/graphics/image2.png > > A field called "snapshots" holds the list of URLs and is > used like this: > > set the imageSource of char 1 of last line of field > "resultsG" to line 1 of field "snapshots" > > In each case this script runs, the tilde disappears but is > not replaced by anything.? The imagesource of each > tilde is correctly reported if requested.? The fixed > line height of the results field is set to false, and it has > scrollbars.? However many URLs are referenced, but do > not appear, the scrollbar never becomes active, so it seems > that no 'blank' image is being displayed.? Setting the > imagesource of any tilde to empty causes it to reappear, so > something is happening to hide/show the character. > > I also use the URLs stored in field "snapshots" to print > the graphics using this script to populate a printer stack > with the images: > > > put 1 into k > ???repeat for each line j in field > "snapshots" > ? ? ? set the filename of image "pikcha" of > card k of stack "grcprinter" to j > ? ? ? put k+1 into k > ???end repeat > > This works fine, so unless there is some Windows Ju-Ju I > don't know about (entirely possible) it really does look as > though something is broken in imagesource under > Windows.? > > Can anyone: > > 1/? Suggest where I am going wrong (if I am) > 2/? Confirm that they do or do not have imagesource > working under Windows > 3/? Suggest a workaround > > This is a critical feature in an almost finished project , > so I would really appreciate some help > > David Glasgow > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bonnmike at gmail.com Tue Dec 29 13:09:01 2009 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 29 Dec 2009 11:09:01 -0700 Subject: Imagesource of char not working as expected in Windows Message-ID: <7052a6740912291009u64c22b7cw69895a064662dd90@mail.gmail.com> Based on your test it looks like the comment about "vanilla characters" is probably correct. It works when using a string with no spaces for the directory. When you setup your string you used put "C:\Documents and Settings\zhangt\Desktop\imgFolder" into k For the real directory you wish to use change it to this. put quote & "C:\Documents and Settings\zhangt\Desktop\directory with spaces\ another with spaces" & quote into k > The following script works in a standalone created on Windows XP and > running on Windows XP. > > on mouseUp > put "~" after fld "aFld" > put "C:\Documents and Settings\zhangt\Desktop\imgFolder" into k > set the defaultFolder to k > set the imageSource of last char of fld "aFld" to "binfile:a.png" > end mouseUp > > Perhaps something gets undone when the script travels through the wormhole > from the Mac universe to the Windows universe. Does Dr. Who frequent this > forum? > > > > From film2 at handheldfilm.com Tue Dec 29 13:11:04 2009 From: film2 at handheldfilm.com (Emmett Gray) Date: Tue, 29 Dec 2009 13:11:04 -0500 Subject: Help with audio In-Reply-To: <20091229154912.71F002884D5@mail.runrev.com> References: <20091229154912.71F002884D5@mail.runrev.com> Message-ID: <p06240800c75fea6c0615@[192.168.1.2]> Opie here. I wrote: >file ... sounds fine in Rev if I access it instead of the imported one. I.e., playing the file in Rev by filepath results in the correct sound. So what's going on? Is QT actually doing the playing of external audio even though I'm not calling up the player, or is it the OS's native audio management? BTW the sound is not compressed, it's a standard mono WAV file, a sculptured click sampled from a CueLine ProCue 1M1. I converted it to 16 bit and reimported into the stack and it's OK now. Just to be sure, I reimported the 24-bit version and got the same original result. So it seems Rev chokes on 24bit audio. >Try using the player and quicktime and the file as an external source (set >the filename of player 1 to xxxx) as opposed to being imbedded. Quicktime >should properly handle 24 bit audio, but not sure about the native play >component. > >If you need to imbed the sounds, then convert and dither the 24 bit files >down to 16 bits with the same sample rate. Peak, Sound Studio, Audacity, >quicktime should do this. Monkey Tools can do this in batches. > >If indeed the internal play command is 16 bit only we should know that. >Thanks for reporting this. >------------------------- >Stephen Barncard >San Francisco >http://houseofcubes.com/disco.irev > > >2009/12/28 Emmett Gray <film2 at handheldfilm.com> > >> I've converted another HC stack, a multi-timer which includes a metronome >> function. I'm having an issue with the audio: the "Click.wev" imported >> audioClip sounds awful and very often sounds different or has no sound at > > all. The original is a 48k 24-bit file and sounds fine in Rev if >I access it > > instead of the imported one. I imported it using the import command. Do I >> need to downsample or change the bit rate or do something else before > > importing to make it sound OK in Rev? From mikekann at yahoo.com Tue Dec 29 13:16:37 2009 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 29 Dec 2009 10:16:37 -0800 (PST) Subject: Imagesource of char not working as expected in Windows In-Reply-To: <7052a6740912291009u64c22b7cw69895a064662dd90@mail.gmail.com> Message-ID: <319458.7884.qm@web56706.mail.re3.yahoo.com> I think that the "binfile:" prefix is also necessary. --- On Tue, 12/29/09, Mike Bonner <bonnmike at gmail.com> wrote: > From: Mike Bonner <bonnmike at gmail.com> > Subject: Re: Imagesource of char not working as expected in Windows > To: use-revolution at lists.runrev.com > Date: Tuesday, December 29, 2009, 12:09 PM > Based on your test it looks like the > comment about "vanilla characters" is > probably correct.? It works when using a string with > no spaces for the > directory.? When you setup your string you > used???put "C:\Documents and > Settings\zhangt\Desktop\imgFolder" into k > > For the real directory you wish to use change it to this. > ? put quote & "C:\Documents and > Settings\zhangt\Desktop\directory with > spaces\ another with spaces" & quote into k > > > > The following script works in a standalone created on > Windows XP and > > running on Windows XP. > > > > on mouseUp > >???put "~" after fld "aFld" > >???put "C:\Documents and > Settings\zhangt\Desktop\imgFolder" into k > >???set the defaultFolder to k > >???set the imageSource of last char of > fld "aFld" to "binfile:a.png" > > end mouseUp > > > > Perhaps something gets undone when the script travels > through the wormhole > > from the Mac universe to the Windows universe. Does > Dr. Who frequent this > > forum? > > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jimaultwins at yahoo.com Tue Dec 29 13:38:50 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 29 Dec 2009 10:38:50 -0800 Subject: Imagesource of char not working as expected in Windows In-Reply-To: <7052a6740912291009u64c22b7cw69895a064662dd90@mail.gmail.com> References: <7052a6740912291009u64c22b7cw69895a064662dd90@mail.gmail.com> Message-ID: <95E12800-A5CA-48EB-BC39-13DE16FAE931@yahoo.com> My rule about paths on any system... -1- avoid spaces in path names -2- avoid dates in file and folder names, such as "hearth jpgs 12/25/09" An operating system can allow characters because it knows the difference between literal name characters and the control characters. -3- When accessing files and folders, do a test before using data to be sure the path exists, has correct permissions, etc. such as if there is a folder "holidayFunPictures/" if there is a file "holidayFunShots/kids/snowFight.jpg" Also put binfile:a.png" into tempVariable if tempVariable is not empty then --we have data If your solution ever gets to the point of including shell commands, this adds another level testing to be sure of valid data processing. A standalone should always assume the users computer could have changes that prohibit access, such as user account changes and authorizations, operating system reinstalls, etc. Hope this helps Jim Ault Las Vegas On Dec 29, 2009, at 10:09 AM, Mike Bonner wrote: > Based on your test it looks like the comment about "vanilla > characters" is > probably correct. It works when using a string with no spaces for the > directory. When you setup your string you used put "C:\Documents > and > Settings\zhangt\Desktop\imgFolder" into k > > For the real directory you wish to use change it to this. > put quote & "C:\Documents and Settings\zhangt\Desktop\directory with > spaces\ another with spaces" & quote into k > > >> The following script works in a standalone created on Windows XP and >> running on Windows XP. >> >> on mouseUp >> put "~" after fld "aFld" >> put "C:\Documents and Settings\zhangt\Desktop\imgFolder" into k >> set the defaultFolder to k >> set the imageSource of last char of fld "aFld" to "binfile:a.png" >> end mouseUp >> >> Perhaps something gets undone when the script travels through the >> wormhole >> from the Mac universe to the Windows universe. Does Dr. Who >> frequent this >> forum? From jhurley0305 at sbcglobal.net Tue Dec 29 13:53:56 2009 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Tue, 29 Dec 2009 10:53:56 -0800 Subject: What cell in the data grid was clicked? In-Reply-To: <20091229180007.CF5FB288380@mail.runrev.com> References: <20091229180007.CF5FB288380@mail.runrev.com> Message-ID: <28B89D8D-E973-4721-9488-0624CA2D7C07@sbcglobal.net> > > Message: 1 > Date: Tue, 29 Dec 2009 11:16:18 -0500 > From: Trevor DeVore <lists at mangomultimedia.com> > Subject: Re: What cell in the data grid was clicked? > To: How to use Revolution <use-revolution at lists.runrev.com> > Message-ID: <B0E96C1C-D82E-4E6F-8347-4BAFFD7CE424 at mangomultimedia.com> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > On Dec 28, 2009, at 11:48 PM, James Hurley wrote: > >> The user clicks on a data grid cell. >> >> What variables determine the row and column numbers of the cell? > > Jim, > > Each row in a Data Grid form/table and each column in a Data Grid > table have custom properties that help you determine this information. > Note that you use names to reference columns rather than numbers > however. These properties include the dgLine or dgIndex and the > dgColumn. > > I just updated the "How Do I Get Data Associated With a Row or > Column?" lesson in the manual to provide some more useful examples. > > How Do I Get Data Associated With a Row or Column?: <http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7313-How-Do-I-Get-Data-Associated-With-a-Row-or-Column- >> > >> And the text of the cell? > > The lesson also shows how to get the value associated with a cell > using GetDataOfIndex. Look at the very last step in the lesson. > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > www.bluemangolearning.com - www.screensteps.com Trevor, Thanks once again. The GetDataOfIndex was the function I needed. Unfortunately I am trying to learn data grids the way I learned the rest of RunRev, by applying the "Necessity is the mother of discovery" method. There are too many bits and pieces of the data grid control for this. I need to exercise the discipline to go through your excellent tutorials. Sounds like a new year's resolution to me. Regards, Jim Hurley From jacque at hyperactivesw.com Tue Dec 29 14:04:26 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 29 Dec 2009 13:04:26 -0600 Subject: Help with audio In-Reply-To: <p06240800c75fea6c0615@[192.168.1.2]> References: <20091229154912.71F002884D5@mail.runrev.com> <p06240800c75fea6c0615@[192.168.1.2]> Message-ID: <4B3A52BA.90309@hyperactivesw.com> Emmett Gray wrote: > Opie here. LOL! Sorry we hijacked your thread. But I did want to say I remember you from the HC list and I'm so glad you made it over here. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Dec 29 18:22:52 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 29 Dec 2009 15:22:52 -0800 Subject: Help with audio In-Reply-To: <p06240800c75fea6c0615@[192.168.1.2]> Message-ID: <C75FCF4C.46C44%scott@tactilemedia.com> Recently, Emmett Gray wrote: > I converted it to 16 bit and reimported into the stack and it's OK > now. Just to be sure, I reimported the 24-bit version and got the > same original result. So it seems Rev chokes on 24bit audio. Rev's ability to play imported sound files is somewhat limited. These might help: http://article.gmane.org/gmane.comp.ide.revolution.user/121917/ http://article.gmane.org/gmane.comp.ide.revolution.user/6060/ Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From dlwild at gmail.com Tue Dec 29 21:52:30 2009 From: dlwild at gmail.com (dlwild at gmail) Date: Tue, 29 Dec 2009 21:52:30 -0500 Subject: bar code support In-Reply-To: <50460024687.20091228180052@ahsoftware.net> References: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com> <f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com> <87693791-AB74-49EA-8BCC-B058C1D4AAE7@kagi.com> <4ED0B592-705E-4091-8A86-8D43FED1D5D6@economy-x-talk.com> <532C4410-79EB-4B14-8F31-A94CDC1C15A5@kagi.com> <e5e009d70912281750u4b8603b8l31c286b7be82378c@mail.gmail.com> <50460024687.20091228180052@ahsoftware.net> Message-ID: <60D90470-63BE-4347-B66C-AEB93C41A01A@gmail.com> Hello (Merry Christmas and a Happy New Year in advance), Anyone know if RunRev 4.0 supports or if there is a way to create, print, read, regular bar codes or pdf417 bar codes (http://en.wikipedia.org/wiki/PDF417 ) in revolution or related software? All the best, Leonardo PS: I?m trying out another address as I?m suddenly unsure under which of my email addresses I?m registered with this group. If you end up seeing this twice, this is the reason. From katir at hindu.org Tue Dec 29 21:53:31 2009 From: katir at hindu.org (Sivakatirswami) Date: Tue, 29 Dec 2009 16:53:31 -1000 Subject: Slideshows in iRev In-Reply-To: <89E213DB-9A3E-40D3-8BC7-65478668510B@pacifier.com> References: <4B2DBC41.6090406@hindu.org> <e5e009d70912200144k5abe2a9es8ffb01ffceaa4cb0@mail.gmail.com> <4B2E6E53.5060807@hyperactivesw.com> <f99b52860912201923ra7acb7fndbcfb6191b94497e@mail.gmail.com> <4B2F12DB.40507@hyperactivesw.com> <78195D89-2E41-4CFD-AE9B-BB052C1ABEAE@yahoo.com> <4B31A661.8030607@hindu.org> <E2880FBE-C96E-4F39-820F-586199209A9F@yahoo.com> <89E213DB-9A3E-40D3-8BC7-65478668510B@pacifier.com> Message-ID: <4B3AC0AB.7060204@hindu.org> -= JB =- wrote: > I could not download the code either. I am using a Mac and a lot of times > that right click stuff doesn't seem to do what you would expect. > > Would love the code if you make if available another way. > > Nice looking pictures by the way. > > -=>JB<=- > OK I've been working on this every evening for a few days, tweaking things. I made a page with all the code. Thanks for everyone's input, I cobbled it all together. Updated iRev code is here: http://www.himalayanacademy.com/runrev/iRev_slideshow.html One useful bit you will find there is an embed for driving MP3's in almost any browser-platform: I took me hours to find that thing and it's been tested on Mac, Windows 7 Vista, EEPC, and HP Notebook running Windows. etc.. and so far everyone can hear the music. No Java Script yet, but I will probably break down sooner or later. What I love about this: I don't have to touch Flash, SWF template XML params, Action Script, there is no back end MySQL Dbase to hold the configurations and metadata, captions etc. (you would be amazed at some of the overhead in some slide show frameworks!) This CMS is the kind I like. How simple is this and scaleable 1 folder: photos and caption files 1 iRev template file! ( I have three templates now) 1 iFrame (if you want to embed) It allows for a) scale b) innovation c) content is not "buried" inside a maze so deep that you can never restructure or refactor your presentation without huge man hour overhead. Next "invention" will be adding voice over for each slide, where photo.jpg # is the image photo.txt # is the caption photo.mp3 # is the voice over. Caveats: 1) I never liked having captions "popup" over photos (the Flash-DHTML way) on the other hand I'm not sure I like scrolling divs (overflow css) with such a fat scroller on an HTML page, but it works. 2) without Javascript there are no transitions. But I'm working on the principle that "it's not the bells and whistles... its the content! If you have high quality [images, sound, video, music] then your viewers really don't care about the wrapper too much. 3) I'm still fishing for the "right rect" and worry that I may be making things a bit too big for the steadily growing world of small devices/screens. Sivakatirswami From mikekann at yahoo.com Tue Dec 29 22:00:39 2009 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 29 Dec 2009 19:00:39 -0800 (PST) Subject: bar code support In-Reply-To: <60D90470-63BE-4347-B66C-AEB93C41A01A@gmail.com> Message-ID: <341335.95926.qm@web56706.mail.re3.yahoo.com> http://revonline2.runrev.com/stack/348/Label-Generator --- On Tue, 12/29/09, dlwild at gmail <dlwild at gmail.com> wrote: > From: dlwild at gmail <dlwild at gmail.com> > Subject: bar code support > To: "How to use Revolution" <use-revolution at lists.runrev.com> > Date: Tuesday, December 29, 2009, 8:52 PM > Hello (Merry Christmas and a Happy > New Year in advance), > > Anyone know if RunRev 4.0 supports or if there is a way to > create, print, read, regular bar codes or pdf417 bar codes > (http://en.wikipedia.org/wiki/PDF417) in revolution or > related software? > > All the best, > > Leonardo > PS: I?m trying out another address as I?m suddenly unsure > under which of my email addresses I?m registered with this > group. If you end up seeing this twice, this is the > reason._______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION2 at barncard.com Tue Dec 29 22:10:46 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 29 Dec 2009 19:10:46 -0800 Subject: bar code support In-Reply-To: <60D90470-63BE-4347-B66C-AEB93C41A01A@gmail.com> References: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com> <f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com> <87693791-AB74-49EA-8BCC-B058C1D4AAE7@kagi.com> <4ED0B592-705E-4091-8A86-8D43FED1D5D6@economy-x-talk.com> <532C4410-79EB-4B14-8F31-A94CDC1C15A5@kagi.com> <e5e009d70912281750u4b8603b8l31c286b7be82378c@mail.gmail.com> <50460024687.20091228180052@ahsoftware.net> <60D90470-63BE-4347-B66C-AEB93C41A01A@gmail.com> Message-ID: <e5e009d70912291910l42b9aa0fg19fcdac62db7849d@mail.gmail.com> most readers output ascii characters through usb, so input should be easy. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/12/29 dlwild at gmail <dlwild at gmail.com> > Hello (Merry Christmas and a Happy New Year in advance), > > Anyone know if RunRev 4.0 supports or if there is a way to create, print, > read, regular bar codes or pdf417 bar codes ( > http://en.wikipedia.org/wiki/PDF417) in revolution or related software? > > All the best, > > Leonardo > PS: I?m trying out another address as I?m suddenly unsure under which of my > email addresses I?m registered with this group. If you end up seeing this > twice, this is the reason._______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lfredricks at proactive-intl.com Tue Dec 29 22:11:20 2009 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 29 Dec 2009 19:11:20 -0800 Subject: bar code support In-Reply-To: <60D90470-63BE-4347-B66C-AEB93C41A01A@gmail.com> References: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com><f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com><87693791-AB74-49EA-8BCC-B058C1D4AAE7@kagi.com><4ED0B592-705E-4091-8A86-8D43FED1D5D6@economy-x-talk.com><532C4410-79EB-4B14-8F31-A94CDC1C15A5@kagi.com><e5e009d70912281750u4b8603b8l31c286b7be82378c@mail.gmail.com><50460024687.20091228180052@ahsoftware.net> <60D90470-63BE-4347-B66C-AEB93C41A01A@gmail.com> Message-ID: <B67E1F071F2C4E38BB7C2539E5684D8E@GATEWAY> > Hello (Merry Christmas and a Happy New Year in advance), > > Anyone know if RunRev 4.0 supports or if there is a way to > create, print, read, regular bar codes or pdf417 bar codes > (http://en.wikipedia.org/wiki/PDF417 > ) in revolution or related software? Valentina Reports can print bar codes, but necessarily its working with data stored in Valentina DB. Valentina Reports is, however, being given away for free with any new or upgrade orders placed through the Paradigma Website through the end of December (so not long) - check it out at http://www.valentina-db.com. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From dlwild at gmail.com Tue Dec 29 22:12:26 2009 From: dlwild at gmail.com (dlwild at gmail) Date: Tue, 29 Dec 2009 22:12:26 -0500 Subject: bar code support In-Reply-To: <50460024687.20091228180052@ahsoftware.net> References: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com> <f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com> <87693791-AB74-49EA-8BCC-B058C1D4AAE7@kagi.com> <4ED0B592-705E-4091-8A86-8D43FED1D5D6@economy-x-talk.com> <532C4410-79EB-4B14-8F31-A94CDC1C15A5@kagi.com> <e5e009d70912281750u4b8603b8l31c286b7be82378c@mail.gmail.com> <50460024687.20091228180052@ahsoftware.net> Message-ID: <95168F83-BE8A-479F-BCA8-AE3205C4F172@gmail.com> Hello (Merry Christmas and a Happy New Year in advance), Anyone know if RunRev 4.0 supports or if there is a way to create, print, read, regular bar codes or pdf417 bar codes (http://en.wikipedia.org/wiki/PDF417 ) in revolution or related software? All the best, Leonardo PS: I?m trying out another address as I?m suddenly unsure under which of my email addresses I?m registered with this group. If you end up seeing this twice, this is the reason. From mcgrath3 at mac.com Tue Dec 29 23:04:58 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 29 Dec 2009 23:04:58 -0500 Subject: irev script to detect a mouseWithin or mouseclick Message-ID: <6F16B84D-ACDE-4E77-B251-5025BA520D5A@mac.com> Is it possible to detect a mouseWithin or mouseClick state in irev? Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html From dlwild at gmail.com Tue Dec 29 23:25:58 2009 From: dlwild at gmail.com (dlwild at gmail) Date: Tue, 29 Dec 2009 23:25:58 -0500 Subject: bar code support In-Reply-To: <341335.95926.qm@web56706.mail.re3.yahoo.com> References: <341335.95926.qm@web56706.mail.re3.yahoo.com> Message-ID: <96E6A6A6-2675-4554-BE05-0946902F90F3@gmail.com> Thanks for the info, Michael, will look into it. All the best, Leonardo On Dec 29, 2009, at 10:00 PM, Michael Kann wrote: > http://revonline2.runrev.com/stack/348/Label-Generator > > --- On Tue, 12/29/09, dlwild at gmail <dlwild at gmail.com> wrote: > >> From: dlwild at gmail <dlwild at gmail.com> >> Subject: bar code support >> To: "How to use Revolution" <use-revolution at lists.runrev.com> >> Date: Tuesday, December 29, 2009, 8:52 PM >> Hello (Merry Christmas and a Happy >> New Year in advance), >> >> Anyone know if RunRev 4.0 supports or if there is a way to >> create, print, read, regular bar codes or pdf417 bar codes >> (http://en.wikipedia.org/wiki/PDF417) in revolution or >> related software? >> >> All the best, >> >> Leonardo >> PS: I?m trying out another address as I?m suddenly unsure >> under which of my email addresses I?m registered with this >> group. If you end up seeing this twice, this is the >> reason._______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dlwild at gmail.com Tue Dec 29 23:27:24 2009 From: dlwild at gmail.com (dlwild at gmail) Date: Tue, 29 Dec 2009 23:27:24 -0500 Subject: bar code support In-Reply-To: <B67E1F071F2C4E38BB7C2539E5684D8E@GATEWAY> References: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com><f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com><87693791-AB74-49EA-8BCC-B058C1D4AAE7@kagi.com><4ED0B592-705E-4091-8A86-8D43FED1D5D6@economy-x-talk.com><532C4410-79EB-4B14-8F31-A94CDC1C15A5@kagi.com><e5e009d70912281750u4b8603b8l31c286b7be82378c@mail.gmail.com><50460024687.20091228180052@ahsoftware.net> <60D90470-63BE-4347-B66C-AEB93C41A01A@gmail.com> <B67E1F071F2C4E38BB7C2539E5684D8E@GATEWAY> Message-ID: <A504E767-7528-4AD6-A117-DB3778556907@gmail.com> Bar codes, great. I?m getting the 09 bundle so I?ll have Valentina, although I haven?t worked with it yet. Any idea about the pdf417 reading-writing capacity? All the best, Leonardo On Dec 29, 2009, at 10:11 PM, Lynn Fredricks wrote: >> Hello (Merry Christmas and a Happy New Year in advance), >> >> Anyone know if RunRev 4.0 supports or if there is a way to >> create, print, read, regular bar codes or pdf417 bar codes >> (http://en.wikipedia.org/wiki/PDF417 >> ) in revolution or related software? > > Valentina Reports can print bar codes, but necessarily its working > with data > stored in Valentina DB. > > Valentina Reports is, however, being given away for free with any > new or > upgrade orders placed through the Paradigma Website through the end of > December (so not long) - check it out at http://www.valentina-db.com. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Tue Dec 29 23:30:05 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 30 Dec 2009 14:30:05 +1000 Subject: irev script to detect a mouseWithin or mouseclick In-Reply-To: <6F16B84D-ACDE-4E77-B251-5025BA520D5A@mac.com> References: <6F16B84D-ACDE-4E77-B251-5025BA520D5A@mac.com> Message-ID: <f99b52860912292030p2de42fd8nb28ddbf8833baa0f@mail.gmail.com> On Wed, Dec 30, 2009 at 2:04 PM, Thomas McGrath III <mcgrath3 at mac.com> wrote: > Is it possible to detect a mouseWithin or mouseClick state in irev? > I don't think so. I reckon you would have to use JavaScript. Cheers, Sarah From ruslan_zasukhin at valentina-db.com Wed Dec 30 01:03:33 2009 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Wed, 30 Dec 2009 08:03:33 +0200 Subject: bar code support In-Reply-To: <A504E767-7528-4AD6-A117-DB3778556907@gmail.com> Message-ID: <C760B9D5.CE5C5%ruslan_zasukhin@valentina-db.com> On 12/30/09 6:27 AM, "dlwild at gmail" <dlwild at gmail.com> wrote: Hi Leonardo, > Bar codes, great. I?m getting the 09 bundle so I?ll have Valentina, > although I haven?t worked with it yet. Any idea about the pdf417 > reading-writing capacity? Valentina Reports can produce PDFs of course. Also PDFs with embedded XML. I don't know about PDF417. What is this? You always can add this as feature request. Reports do not have need to read PDFs AFAIK. > All the best, > > Leonardo > On Dec 29, 2009, at 10:11 PM, Lynn Fredricks wrote: > >>> Hello (Merry Christmas and a Happy New Year in advance), >>> >>> Anyone know if RunRev 4.0 supports or if there is a way to >>> create, print, read, regular bar codes or pdf417 bar codes >>> (http://en.wikipedia.org/wiki/PDF417 >>> ) in revolution or related software? >> >> Valentina Reports can print bar codes, but necessarily its working >> with data >> stored in Valentina DB. >> >> Valentina Reports is, however, being given away for free with any >> new or >> upgrade orders placed through the Paradigma Website through the end of >> December (so not long) - check it out at http://www.valentina-db.com. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From psahores at free.fr Wed Dec 30 03:40:32 2009 From: psahores at free.fr (Pierre Sahores) Date: Wed, 30 Dec 2009 09:40:32 +0100 Subject: irev script to detect a mouseWithin or mouseclick In-Reply-To: <6F16B84D-ACDE-4E77-B251-5025BA520D5A@mac.com> References: <6F16B84D-ACDE-4E77-B251-5025BA520D5A@mac.com> Message-ID: <1F3A547C-2609-469A-A0F9-12CDB3C845EF@free.fr> In short : No, because as long as an irev script acts as a server-side handler, it can only respond to get or post messages. In long : Yes, if you use an AJAX client side HTTPrequest object to catch the mouseWithin or mouseClick state before sending the adequate get or post message from it to the irev script. Best, Pierre Le 30 d?c. 09 ? 05:04, Thomas McGrath III a ?crit : > Is it possible to detect a mouseWithin or mouseClick state in irev? > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From dlwild at gmail.com Wed Dec 30 08:58:48 2009 From: dlwild at gmail.com (dlwild at gmail) Date: Wed, 30 Dec 2009 08:58:48 -0500 Subject: bar code support In-Reply-To: <C760B9D5.CE5C5%ruslan_zasukhin@valentina-db.com> References: <C760B9D5.CE5C5%ruslan_zasukhin@valentina-db.com> Message-ID: <E1145B32-7747-4A84-9FC3-8BFF49F17754@gmail.com> Hi Ruslan, Check out the links: http://en.wikipedia.org/wiki/PDF417 http://grandzebu.net/index.php?page=/informatique/codbar-en/pdf417.htm In short, a pdf417 is a stacked linear bar code, and my particular use would be for inventory management. For those who don?t want to follow the link, here is an excerpt: The PDF417 bar code (also called a symbol) consists of 3 to 90 rows, each of which is like a small linear bar code. Each row has: a quiet zone. This is a mandated minimum amount of white space before the bar code begins. a start pattern which identifies the format as PDF417. Every type of bar code symbology has a unique start and stop pattern. a "row left" codeword containing information about the row (such as row number and what error correction rate the row is using) 1 - 30 data codewords : Codewords are a group of bars and spaces representing one or more numbers, letters, or other symbols. All rows have the same number of codewords. Every codeword contains four bars and four spaces (where the 4 in the name comes from). The total width of a codeword is 17 times the width of the narrowest allowed vertical bar (the X dimension). This is where the 17 in the name comes from. Each codeword starts with a bar and ends with a space. There are 929 codewords to choose from, 900 for data, and 29 for special functions. Each codeword is printed using one of three distinct clusters: A cluster is a bar-space pattern for each of the 929 codewords No bar-space pattern is repeated between clusters The row number determines which cluster to use The cluster is the same for all codewords in a row. The purpose of clusters is to determine which row (mod 3) the codeword is in, allowing the scan to be skewed from the horizontal. For instance, the scan might start on row 6 at the start of the row, and be on row 10 at the end. A "row right" codeword with more information about the row. A stop pattern. A quiet zone. Along with the Data Matrix format, this symbolism can be used to generate postage accepted by the United States Postal Service. PDF417 is also selected by the airline industry's Bar Coded Boarding Pass standard (BCBP) as the 2D bar code symbolism for paper boarding passes. PDF417 is the standard selected by the Department of Homeland Security as the machine readable zone technology for RealID compliant driver licenses and state issued identification cards. The pdf 417 can encode up to 2700 bytes what explain its name of "Portable Document File". The encoding is done in two stages : first the datas are converted to "codeword" (High level encoding) then those are converted to bars and spaces patterns. (Low level encoding). Moreover an error correction system with several levels is included, it allows to reconstitute badly printed, erased, fuzzy or torn off datas. The pdf417 symbols can store much more data than the regular bar codes, and it can contain redundant information in case the surface scrubs, get dirty, or otherwise damaged. It?s worth looking into if you want to produce a machine-readable/printable symbol that has more than the regular information found on bar codes and may be exposed to wear and tear due to storage or transport conditions. All the best and thanks for the help, Leonardo On Dec 30, 2009, at 1:03 AM, Ruslan Zasukhin wrote: > On 12/30/09 6:27 AM, "dlwild at gmail" <dlwild at gmail.com> wrote: > > Hi Leonardo, > >> Bar codes, great. I?m getting the 09 bundle so I?ll have Valentina, >> although I haven?t worked with it yet. Any idea about the pdf417 >> reading-writing capacity? > > Valentina Reports can produce PDFs of course. > Also PDFs with embedded XML. > > I don't know about PDF417. What is this? > You always can add this as feature request. > > Reports do not have need to read PDFs AFAIK. > >> All the best, >> >> Leonardo >> On Dec 29, 2009, at 10:11 PM, Lynn Fredricks wrote: >> >>>> Hello (Merry Christmas and a Happy New Year in advance), >>>> >>>> Anyone know if RunRev 4.0 supports or if there is a way to >>>> create, print, read, regular bar codes or pdf417 bar codes >>>> (http://en.wikipedia.org/wiki/PDF417 >>>> ) in revolution or related software? >>> >>> Valentina Reports can print bar codes, but necessarily its working >>> with data >>> stored in Valentina DB. >>> >>> Valentina Reports is, however, being given away for free with any >>> new or >>> upgrade orders placed through the Paradigma Website through the >>> end of >>> December (so not long) - check it out at http://www.valentina- >>> db.com. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mikekann at yahoo.com Wed Dec 30 09:13:44 2009 From: mikekann at yahoo.com (Michael Kann) Date: Wed, 30 Dec 2009 06:13:44 -0800 (PST) Subject: bar code support In-Reply-To: <E1145B32-7747-4A84-9FC3-8BFF49F17754@gmail.com> Message-ID: <426419.92710.qm@web56705.mail.re3.yahoo.com> Might this help? http://www.runrev.com/products/related-software/quartam-reports/ Quartam Reports Improvements for Professional edition only: * Barcodes Another new feature in Quartam Reports 1.1 is the ability to add barcodes to your reports and label sets - currently supporting the industry standards EAN 8, EAN 13,UPC-A, Codabar, Interlaced 2 of 5 and Code 3 of 9, as well as Postnet. -------------------------------------------------------- --- On Wed, 12/30/09, dlwild at gmail <dlwild at gmail.com> wrote: > From: dlwild at gmail <dlwild at gmail.com> > Subject: Re: bar code support > To: "How to use Revolution" <use-revolution at lists.runrev.com> > Date: Wednesday, December 30, 2009, 7:58 AM > Hi Ruslan, > > Check out the links: > http://en.wikipedia.org/wiki/PDF417 > > http://grandzebu.net/index.php?page=/informatique/codbar-en/pdf417.htm > > In short, a pdf417 is a stacked linear bar code, and my > particular use would be for inventory management. For those > who don?t want to follow the link, here is an excerpt: > > The PDF417 bar code (also called a symbol) consists of 3 to > 90 rows, each of which is like a small linear bar code. Each > row has: > > a quiet zone. This is a mandated minimum amount of white > space before the bar code begins. > a start pattern which identifies the format as PDF417. > Every type of bar code symbology has a unique start and stop > pattern. > a "row left" codeword containing information about the row > (such as row number and what error correction rate the row > is using) > 1 - 30 data codewords : Codewords are a group of bars and > spaces representing one or more numbers, letters, or other > symbols. > All rows have the same number of codewords. > Every codeword contains four bars and four spaces (where > the 4 in the name comes from). > The total width of a codeword is 17 times the width of the > narrowest allowed vertical bar (the X dimension). This is > where the 17 in the name comes from. > Each codeword starts with a bar and ends with a space. > There are 929 codewords to choose from, 900 for data, and > 29 for special functions. > Each codeword is printed using one of three distinct > clusters: > A cluster is a bar-space pattern for each of the 929 > codewords > No bar-space pattern is repeated between clusters > The row number determines which cluster to use > The cluster is the same for all codewords in a row. > The purpose of clusters is to determine which row (mod 3) > the codeword is in, allowing the scan to be skewed from the > horizontal. For instance, the scan might start on row 6 at > the start of the row, and be on row 10 at the end. > A "row right" codeword with more information about the > row. > A stop pattern. > A quiet zone. > Along with the Data Matrix format, this symbolism can be > used to generate postage accepted by the United States > Postal Service. PDF417 is also selected by the airline > industry's Bar Coded Boarding Pass standard (BCBP) as the 2D > bar code symbolism for paper boarding passes. PDF417 is the > standard selected by the Department of Homeland Security as > the machine readable zone technology for RealID compliant > driver licenses and state issued identification cards. > > > The pdf 417 can encode up to 2700 bytes what explain its > name of "Portable Document File". The encoding is done in > two stages : first the datas are converted to "codeword" > (High level encoding) then those are converted to bars and > spaces patterns. (Low level encoding). Moreover an error > correction system with several levels is included, it allows > to reconstitute badly printed, erased, fuzzy or torn off > datas. > > The pdf417 symbols can store much more data than the > regular bar codes, and it can contain redundant information > in case the surface scrubs, get dirty, or otherwise damaged. > It?s worth looking into if you want to produce a > machine-readable/printable symbol that has more than the > regular information found on bar codes and may be exposed to > wear and tear due to storage or transport conditions. > > All the best and thanks for the help, > > Leonardo > > On Dec 30, 2009, at 1:03 AM, Ruslan Zasukhin wrote: > > > On 12/30/09 6:27 AM, "dlwild at gmail" <dlwild at gmail.com> > wrote: > > > > Hi Leonardo, > > > >> Bar codes, great. I?m getting the 09 bundle so > I?ll have Valentina, > >> although I haven?t worked with it yet. Any idea > about the pdf417 > >> reading-writing capacity? > > > > Valentina Reports can produce PDFs of course. > > Also PDFs with embedded XML. > > > > I don't know about PDF417. What is this? > > You always can add this as feature request. > > > > Reports do not have need to read PDFs AFAIK. > > > >> All the best, > >> > >> Leonardo > >> On Dec 29, 2009, at 10:11 PM, Lynn Fredricks > wrote: > >> > >>>> Hello (Merry Christmas and a Happy New > Year in advance), > >>>> > >>>> Anyone know if RunRev 4.0 supports or if > there is a way to > >>>> create, print, read, regular bar codes or > pdf417 bar codes > >>>> (http://en.wikipedia.org/wiki/PDF417 > >>>> ) in revolution or related software? > >>> > >>> Valentina Reports can print bar codes, but > necessarily its working > >>> with data > >>> stored in Valentina DB. > >>> > >>> Valentina Reports is, however, being given > away for free with any > >>> new or > >>> upgrade orders placed through the Paradigma > Website through the end of > >>> December (so not long) - check it out at http://www.valentina-db.com. > > > > --Best regards, > > > > Ruslan Zasukhin > > VP Engineering and New Technology > > Paradigma Software, Inc > > > > Valentina - Joining Worlds of Information > > http://www.paradigmasoft.com > > > > [I feel the need: the need for speed] > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dlwild at gmail.com Tue Dec 29 22:11:00 2009 From: dlwild at gmail.com (dlwild at gmail) Date: Tue, 29 Dec 2009 22:11:00 -0500 Subject: bar code support In-Reply-To: <50460024687.20091228180052@ahsoftware.net> References: <24BB7567-CCBE-44F0-BD7E-0AC2BD0DA0D3@kenjikojima.com> <f99b52860912270041x371172bcx9efdc6aaf369d593@mail.gmail.com> <87693791-AB74-49EA-8BCC-B058C1D4AAE7@kagi.com> <4ED0B592-705E-4091-8A86-8D43FED1D5D6@economy-x-talk.com> <532C4410-79EB-4B14-8F31-A94CDC1C15A5@kagi.com> <e5e009d70912281750u4b8603b8l31c286b7be82378c@mail.gmail.com> <50460024687.20091228180052@ahsoftware.net> Message-ID: <EB8C4946-916B-4F5B-A0A9-33E8B57ACC5A@gmail.com> Hello (Merry Christmas and a Happy New Year in advance), Anyone know if RunRev 4.0 supports or if there is a way to create, print, read, regular bar codes or pdf417 bar codes (http://en.wikipedia.org/wiki/PDF417 ) in revolution or related software? All the best, Leonardo PS: I?m trying out another address as I?m suddenly unsure under which of my email addresses I?m registered with this group. If you end up seeing this twice, this is the reason. From dlwild at gmail.com Wed Dec 30 10:06:54 2009 From: dlwild at gmail.com (dlwild at gmail) Date: Wed, 30 Dec 2009 10:06:54 -0500 Subject: bar code support In-Reply-To: <426419.92710.qm@web56705.mail.re3.yahoo.com> References: <426419.92710.qm@web56705.mail.re3.yahoo.com> Message-ID: <F6CF87BD-DA52-4433-B957-22542FC9C74B@gmail.com> Hi Michael, I?m acquired the bundle 09, so quartam will be included. I?ll see what I can generate with it. However, as you probably read in another post, I?m particularly interested in the possibility of creating a data input-output option using pdf417 type barcodes. I have a friend who knows how to program pdf417s but he doesn?t know how to use runrev, and I just started looking into it myself as I?ll have that need for my company. All the best, Leonardo On Dec 30, 2009, at 9:13 AM, Michael Kann wrote: > > Might this help? > > > http://www.runrev.com/products/related-software/quartam-reports/ > > Quartam Reports > > Improvements for Professional edition only: > > * Barcodes > Another new feature in Quartam Reports 1.1 is the ability to > add barcodes to your reports and label sets - currently supporting > the industry standards EAN 8, EAN 13,UPC-A, Codabar, Interlaced 2 of > 5 and Code 3 of 9, as well as Postnet. > > -------------------------------------------------------- > > --- On Wed, 12/30/09, dlwild at gmail <dlwild at gmail.com> wrote: > >> From: dlwild at gmail <dlwild at gmail.com> >> Subject: Re: bar code support >> To: "How to use Revolution" <use-revolution at lists.runrev.com> >> Date: Wednesday, December 30, 2009, 7:58 AM >> Hi Ruslan, >> >> Check out the links: >> http://en.wikipedia.org/wiki/PDF417 >> >> http://grandzebu.net/index.php?page=/informatique/codbar-en/ >> pdf417.htm >> >> In short, a pdf417 is a stacked linear bar code, and my >> particular use would be for inventory management. For those >> who don?t want to follow the link, here is an excerpt: >> >> The PDF417 bar code (also called a symbol) consists of 3 to >> 90 rows, each of which is like a small linear bar code. Each >> row has: >> >> a quiet zone. This is a mandated minimum amount of white >> space before the bar code begins. >> a start pattern which identifies the format as PDF417. >> Every type of bar code symbology has a unique start and stop >> pattern. >> a "row left" codeword containing information about the row >> (such as row number and what error correction rate the row >> is using) >> 1 - 30 data codewords : Codewords are a group of bars and >> spaces representing one or more numbers, letters, or other >> symbols. >> All rows have the same number of codewords. >> Every codeword contains four bars and four spaces (where >> the 4 in the name comes from). >> The total width of a codeword is 17 times the width of the >> narrowest allowed vertical bar (the X dimension). This is >> where the 17 in the name comes from. >> Each codeword starts with a bar and ends with a space. >> There are 929 codewords to choose from, 900 for data, and >> 29 for special functions. >> Each codeword is printed using one of three distinct >> clusters: >> A cluster is a bar-space pattern for each of the 929 >> codewords >> No bar-space pattern is repeated between clusters >> The row number determines which cluster to use >> The cluster is the same for all codewords in a row. >> The purpose of clusters is to determine which row (mod 3) >> the codeword is in, allowing the scan to be skewed from the >> horizontal. For instance, the scan might start on row 6 at >> the start of the row, and be on row 10 at the end. >> A "row right" codeword with more information about the >> row. >> A stop pattern. >> A quiet zone. >> Along with the Data Matrix format, this symbolism can be >> used to generate postage accepted by the United States >> Postal Service. PDF417 is also selected by the airline >> industry's Bar Coded Boarding Pass standard (BCBP) as the 2D >> bar code symbolism for paper boarding passes. PDF417 is the >> standard selected by the Department of Homeland Security as >> the machine readable zone technology for RealID compliant >> driver licenses and state issued identification cards. >> >> >> The pdf 417 can encode up to 2700 bytes what explain its >> name of "Portable Document File". The encoding is done in >> two stages : first the datas are converted to "codeword" >> (High level encoding) then those are converted to bars and >> spaces patterns. (Low level encoding). Moreover an error >> correction system with several levels is included, it allows >> to reconstitute badly printed, erased, fuzzy or torn off >> datas. >> >> The pdf417 symbols can store much more data than the >> regular bar codes, and it can contain redundant information >> in case the surface scrubs, get dirty, or otherwise damaged. >> It?s worth looking into if you want to produce a >> machine-readable/printable symbol that has more than the >> regular information found on bar codes and may be exposed to >> wear and tear due to storage or transport conditions. >> >> All the best and thanks for the help, >> >> Leonardo >> >> On Dec 30, 2009, at 1:03 AM, Ruslan Zasukhin wrote: >> >>> On 12/30/09 6:27 AM, "dlwild at gmail" <dlwild at gmail.com> >> wrote: >>> >>> Hi Leonardo, >>> >>>> Bar codes, great. I?m getting the 09 bundle so >> I?ll have Valentina, >>>> although I haven?t worked with it yet. Any idea >> about the pdf417 >>>> reading-writing capacity? >>> >>> Valentina Reports can produce PDFs of course. >>> Also PDFs with embedded XML. >>> >>> I don't know about PDF417. What is this? >>> You always can add this as feature request. >>> >>> Reports do not have need to read PDFs AFAIK. >>> >>>> All the best, >>>> >>>> Leonardo >>>> On Dec 29, 2009, at 10:11 PM, Lynn Fredricks >> wrote: >>>> >>>>>> Hello (Merry Christmas and a Happy New >> Year in advance), >>>>>> >>>>>> Anyone know if RunRev 4.0 supports or if >> there is a way to >>>>>> create, print, read, regular bar codes or >> pdf417 bar codes >>>>>> (http://en.wikipedia.org/wiki/PDF417 >>>>>> ) in revolution or related software? >>>>> >>>>> Valentina Reports can print bar codes, but >> necessarily its working >>>>> with data >>>>> stored in Valentina DB. >>>>> >>>>> Valentina Reports is, however, being given >> away for free with any >>>>> new or >>>>> upgrade orders placed through the Paradigma >> Website through the end of >>>>> December (so not long) - check it out at http://www.valentina-db.com >>>>> . >>> >>> --Best regards, >>> >>> Ruslan Zasukhin >>> VP Engineering and New Technology >>> Paradigma Software, Inc >>> >>> Valentina - Joining Worlds of Information >>> http://www.paradigmasoft.com >>> >>> [I feel the need: the need for speed] >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sundown at pacifier.com Wed Dec 30 10:42:33 2009 From: sundown at pacifier.com (-= JB =-) Date: Wed, 30 Dec 2009 07:42:33 -0800 Subject: Slideshows in iRev In-Reply-To: <4B3AC0AB.7060204@hindu.org> References: <4B2DBC41.6090406@hindu.org> <e5e009d70912200144k5abe2a9es8ffb01ffceaa4cb0@mail.gmail.com> <4B2E6E53.5060807@hyperactivesw.com> <f99b52860912201923ra7acb7fndbcfb6191b94497e@mail.gmail.com> <4B2F12DB.40507@hyperactivesw.com> <78195D89-2E41-4CFD-AE9B-BB052C1ABEAE@yahoo.com> <4B31A661.8030607@hindu.org> <E2880FBE-C96E-4F39-820F-586199209A9F@yahoo.com> <89E213DB-9A3E-40D3-8BC7-65478668510B@pacifier.com> <4B3AC0AB.7060204@hindu.org> Message-ID: <934AC562-4DFD-4043-A8B2-28FB4236BFB2@pacifier.com> Sivakatirswami, Thank you very much! Well done, informative and will definitely help me. One thing I noticed was Richard Matthewson mentioned he liked the music as well as the picts plus your code displays how to use music with the slideshow. But I have never heard any music even on your latest which I clicked the automatic slide show with music which you listed near the bottom of the page. For some reason I do not hear any music at all. thanks again, -=>JB<=- On Dec 29, 2009, at 6:53 PM, Sivakatirswami wrote: > -= JB =- wrote: >> I could not download the code either. I am using a Mac and a lot >> of times >> that right click stuff doesn't seem to do what you would expect. >> Would love the code if you make if available another way. >> Nice looking pictures by the way. >> -=>JB<=- > > > OK I've been working on this every evening for a few days, tweaking > things. > > I made a page with all the code. > > > Thanks for everyone's input, I cobbled it all together. > > Updated iRev code is here: > > http://www.himalayanacademy.com/runrev/iRev_slideshow.html > > One useful bit you will find there is an embed for driving MP3's in > almost any browser-platform: I took me hours to find that thing > and it's been tested on Mac, Windows 7 Vista, EEPC, and HP Notebook > running Windows. etc.. and so far everyone can hear the music. > > No Java Script yet, but I will probably break down sooner or later. > > What I love about this: I don't have to touch Flash, SWF template > XML params, Action Script, there is no back end MySQL Dbase to hold > the configurations and metadata, captions etc. (you would be > amazed at some of the overhead in some slide show frameworks!) > > This CMS is the kind I like. > > How simple is this and scaleable > > 1 folder: photos and caption files > 1 iRev template file! ( I have three templates now) > 1 iFrame (if you want to embed) > > It allows for a) scale b) innovation c) content is not "buried" > inside a maze so deep that you can never restructure or refactor > your presentation without huge man hour overhead. > > Next "invention" will be adding voice over for each slide, where > photo.jpg # is the image > photo.txt # is the caption > photo.mp3 # is the voice over. > > Caveats: > > 1) I never liked having captions "popup" over photos (the Flash- > DHTML way) on the other hand I'm not sure I like scrolling divs > (overflow css) with such a fat scroller on an HTML page, but it works. > > 2) without Javascript there are no transitions. But I'm working on > the principle that "it's not the bells and whistles... its the > content! If you have high quality [images, sound, video, music] > then your viewers really don't care about the wrapper too much. > > 3) I'm still fishing for the "right rect" and worry that I may be > making things a bit too big for the steadily growing world of small > devices/screens. > > Sivakatirswami > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From RevList at CreaTECHSol.com Wed Dec 30 11:42:34 2009 From: RevList at CreaTECHSol.com (RevList) Date: Wed, 30 Dec 2009 08:42:34 -0800 Subject: Compact SQLite database Message-ID: <fc.009867af001c922e009867af001c922e.1c9230@CreaTECHSol.com> Is there a way to compact a SQLite database from within a Rev application? I have an application that uses a SQLIte database and it grows in size as records are added. The nature of the application is that the database is often purged but the db size does not reduce. I can use a SQLite Manager application to compact the database, but I would rather do this within the application when the database is purged. Thanks in advance. Stewart Lynch -------------------------------------------------------------------------------------------------------------------- This message and any attachments are intended only for the use of the individual to whom they are addressed and it may contain information that is privileged or confidential. If you have received this communication by mistake, please notify us immediately. -------------------------------------------------------------------------------------------------------------------- From bdrunrev at gmail.com Wed Dec 30 11:46:28 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 30 Dec 2009 16:46:28 +0000 Subject: bar code support In-Reply-To: <F6CF87BD-DA52-4433-B957-22542FC9C74B@gmail.com> References: <426419.92710.qm@web56705.mail.re3.yahoo.com> <F6CF87BD-DA52-4433-B957-22542FC9C74B@gmail.com> Message-ID: <edcc7e6b0912300846i1381c6f0p355022ddac23ac51@mail.gmail.com> Leonardo, In case you are planning on your MegaBundle 09 solving your barcode issues. AFAIU a) it contains Quartam Reports (not Quartam Reports Professional, which has the barcode support) b) it contains Valentina 3.4 OS X & Windows - I belileve to get the free Valentina Reports you need to actually be buying/upgrading ADK through the Valentina website (or maybe through Mirye, etc). I don't mean to denigrate the MegaBundle, only to warn that it may not be the solution to your problem. Bernard On Wed, Dec 30, 2009 at 3:06 PM, dlwild at gmail <dlwild at gmail.com> wrote: > Hi Michael, > > I?m acquired the bundle 09, so quartam will be included. I?ll see what I can > generate with it. However, as you probably read in another post, I?m > particularly interested in the possibility of creating a data input-output > ?option using pdf417 type barcodes. I have a friend who knows how to program > pdf417s but he doesn?t know how to use runrev, and I just started looking > into it myself as I?ll have that need for my company. > > All the best, > > > Leonardo From ruslan_zasukhin at valentina-db.com Wed Dec 30 11:54:33 2009 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Wed, 30 Dec 2009 18:54:33 +0200 Subject: bar code support PDF417 - present in Valentina reports. In-Reply-To: <E1145B32-7747-4A84-9FC3-8BFF49F17754@gmail.com> Message-ID: <C7615269.CE629%ruslan_zasukhin@valentina-db.com> On 12/30/09 3:58 PM, "dlwild at gmail" <dlwild at gmail.com> wrote: Hi Leonardo, > Hi Ruslan, > > Check out the links: > http://en.wikipedia.org/wiki/PDF417 Okay I see now, that PDF417 is one of barcode formats. I have check this page of features of Valentina Reports, <http://valentina-db.com/dokuwiki/doku.php?id=valentina:features:vcomponents :vreport> And yes, you can see here PDF417 is supported. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From palcibiades-first at yahoo.co.uk Wed Dec 30 12:16:54 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 30 Dec 2009 17:16:54 +0000 Subject: put shell() and escaping quotes, how to do this? Message-ID: <200912301716.55088.palcibiades-first@yahoo.co.uk> How do you put quoted strings into a shell command? As in, for instance, put shell("echo -e [quoted string] > [some raw printer]") I have tried using double quotes, which the compiler won't accept, and single quotes, which do not seem to be passed through. This is once again in pursuit of sending hex characters to a port, so the command from the shell would be: echo -e "\x1C\x70x1" which works just fine, but when sent to the printer using put shel(), it prints the characters which are supposed to be sending a control message. The solution I have found is to use cat > file, which works. But the other should work as well surely? Peter From m.schonewille at economy-x-talk.com Wed Dec 30 12:23:30 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 30 Dec 2009 18:23:30 +0100 Subject: put shell() and escaping quotes, how to do this? In-Reply-To: <200912301716.55088.palcibiades-first@yahoo.co.uk> References: <200912301716.55088.palcibiades-first@yahoo.co.uk> Message-ID: <9AA70578-A223-4965-BF4B-3EDE63E77FF6@economy-x-talk.com> Peter, echo "hi how are \"you\"" --> hi how are "you" -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Full PayPal integration and automation in web site or (Revolution/ SuperCard/other) software. Contact me for a quote before 1 Jan 2010 and we'll charge (reduced) 2009 prices. http://economy-x-talk.com/contact.html Op 30 dec 2009, om 18:16 heeft Peter Alcibiades het volgende geschreven: > How do you put quoted strings into a shell command? > > As in, for instance, > > put shell("echo -e [quoted string] > [some raw printer]") > > I have tried using double quotes, which the compiler won't accept, and > single quotes, which do not seem to be passed through. This is once > again > in pursuit of sending hex characters to a port, so the command from > the > shell would be: > > echo -e "\x1C\x70x1" > > which works just fine, but when sent to the printer using put > shel(), it > prints the characters which are supposed to be sending a control > message. > > The solution I have found is to use cat > file, which works. But > the other > should work as well surely? > > Peter From hershrev at syp2u4c.com Wed Dec 30 12:28:24 2009 From: hershrev at syp2u4c.com (Hershel Fisch) Date: Wed, 30 Dec 2009 12:28:24 -0500 Subject: shell Message-ID: <C760F7E8.2192%hershrev@syp2u4c.com> Hi, I?d like to write an admin gui for hylafax+, any advise on how to issue remote shell commands? As well how to write multiple arguments via shell? Thanks, Hershel From hershrev at syp2u4c.com Wed Dec 30 12:28:57 2009 From: hershrev at syp2u4c.com (Hershel Fisch) Date: Wed, 30 Dec 2009 12:28:57 -0500 Subject: Opening a doc in a cd or fld Message-ID: <C760F809.2192%hershrev@syp2u4c.com> Hi, is there a way to open a document,doc, pages, pdf, xls and so on in a stack, card or fld? Thanks, Hershel From david_beck at rotundasoftware.com Wed Dec 30 13:08:12 2009 From: david_beck at rotundasoftware.com (David Beck) Date: Wed, 30 Dec 2009 10:08:12 -0800 Subject: put shell() and escaping quotes, how to do this? In-Reply-To: <20091230180006.4C06548BC3B@mail.runrev.com> References: <20091230180006.4C06548BC3B@mail.runrev.com> Message-ID: <4B3B970C.2020104@rotundasoftware.com> I could be misunderstanding, but if not I think you are looking for: put shell("echo -e "& quote& "[quoted string]"& quote& "> [some raw printer]") David Beck Rotunda Software On 12/30/2009 10:00 AM, Peter Alcibiades wrote: > How do you put quoted strings into a shell command? > > As in, for instance, > > put shell("echo -e [quoted string]> [some raw printer]") > > From chris at whitelotus.on-rev.com Wed Dec 30 13:09:11 2009 From: chris at whitelotus.on-rev.com (Christian Langers) Date: Wed, 30 Dec 2009 19:09:11 +0100 Subject: Compact SQLite database In-Reply-To: <fc.009867af001c922e009867af001c922e.1c9230@CreaTECHSol.com> References: <fc.009867af001c922e009867af001c922e.1c9230@CreaTECHSol.com> Message-ID: <4B3B9747.6010400@whitelotus.on-rev.com> Hi Stewart, this could answer your question : <http://www.sqlite.org/lang_vacuum.html> try somthing like this (if needed) : global gConID put "VACUUM" into tSQL get revdb_execute(gConID,tSQL) Hope this helps, Christian On 30/12/09 17:42, RevList wrote: > Is there a way to compact a SQLite database from within a Rev application? > I have an application that uses a SQLIte database and it grows in size as > records are added. The nature of the application is that the database is > often purged but the db size does not reduce. I can use a SQLite Manager > application to compact the database, but I would rather do this within the > application when the database is purged. > > Thanks in advance. > > Stewart Lynch > > -------------------------------------------------------------------------------------------------------------------- > This message and any attachments are intended only for the use of the > individual to whom they are addressed and it may contain information that > is privileged or confidential. If you have received this communication by > mistake, please notify us immediately. > -------------------------------------------------------------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From palcibiades-first at yahoo.co.uk Wed Dec 30 15:25:04 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 30 Dec 2009 12:25:04 -0800 (PST) Subject: put shell() and escaping quotes, how to do this? In-Reply-To: <4B3B970C.2020104@rotundasoftware.com> References: <200912301716.55088.palcibiades-first@yahoo.co.uk> <4B3B970C.2020104@rotundasoftware.com> Message-ID: <1262204704123-991139.post@n4.nabble.com> David, problem is, it will not let you use double quotes. So for instance put shell("echo -e "\x1C" > usb/dev/lp0") will not compile, because of the double quotes. Then if you replace the innermost double quotes with single quotes, it compiles fine, and it works fine from the shell, but when done from the message box, it prints the \x1C instead of escaping the x and treating it as a signal to the shell that we are in the land of hex. Mark thanks. I'll have a go with it. Mind boggling, that! Its like regular expressions, there always comes some point at which some simple thing makes the head hurt. Peter -- View this message in context: http://n4.nabble.com/put-shell-and-escaping-quotes-how-to-do-this-tp991042p991139.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvlahos at mac.com Wed Dec 30 17:55:03 2009 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 30 Dec 2009 14:55:03 -0800 Subject: How do I paste into a different app? In-Reply-To: <5B380495-84F0-4633-BE0E-5D30D1BABCCB@mac.com> References: <5B380495-84F0-4633-BE0E-5D30D1BABCCB@mac.com> Message-ID: <2D25B9AF-9931-453A-A1F9-6AAD6609FE19@mac.com> It looks like on the Mac you can get AppleScript to send keystrokes by telling the application "System Events". tell application "System Events" keystroke "x" end tell How can I tell Rev to execute this AppleScript code? Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) helps me remember the important details of my life. On Dec 20, 2009, at 1:32 PM, Bill Vlahos wrote: > Is there a way to paste text from my stack to the text insertion point of a different program? > > I can create a floating window (system window) which floats above all other windows. The idea is that the user would click on a field in the target window (say a password field in a web browser) and then click a button on the floating window that will paste the password into it. > > I've tried the "type" and "paste" commands but they don't do anything outside of the stack. Is there a way to remotely issue a paste command or simulate typing? > > Thanks, > Bill Vlahos > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Wed Dec 30 18:19:00 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 31 Dec 2009 09:19:00 +1000 Subject: How do I paste into a different app? In-Reply-To: <2D25B9AF-9931-453A-A1F9-6AAD6609FE19@mac.com> References: <5B380495-84F0-4633-BE0E-5D30D1BABCCB@mac.com> <2D25B9AF-9931-453A-A1F9-6AAD6609FE19@mac.com> Message-ID: <f99b52860912301519r53d3acedkd2ca0c6534499c75@mail.gmail.com> On Thu, Dec 31, 2009 at 8:55 AM, Bill Vlahos <bvlahos at mac.com> wrote: > It looks like on the Mac you can get AppleScript to send keystrokes by telling the application "System Events". > > tell application "System Events" > ? ? ? ?keystroke "x" > end tell > > How can I tell Rev to execute this AppleScript code? Store that script in a field or custom property, then when you need it, put it into a variable and use "do as AppleScript". e.g. put the cPasteAppleScript of this stack into tScript do tScript as AppleScript To emulate a paste command, you will need something like: keystroke "v" using command down However you probably want to make sure the correct app is frontmost before you paste. So you can use something like this as the first line of your AppleScript: tell application "TextEdit" to activate HTH, Sarah From jimaultwins at yahoo.com Wed Dec 30 18:26:10 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 30 Dec 2009 15:26:10 -0800 Subject: How do I paste into a different app? In-Reply-To: <2D25B9AF-9931-453A-A1F9-6AAD6609FE19@mac.com> References: <5B380495-84F0-4633-BE0E-5D30D1BABCCB@mac.com> <2D25B9AF-9931-453A-A1F9-6AAD6609FE19@mac.com> Message-ID: <13C26444-DBB4-4FD1-AC02-DA8D0286D155@yahoo.com> It may sound simple, but using the system clipboard to move data between programs automatically is very complex. The receiving app needs to be the frontmost app, its selection needs to be compatible with the incoming data, and formatting conversions may be difficult to control. One of the inescapable issues is that other programs and the user employ the system clipboard. As you use the clipboard, the previous contents are purged, which may not always be OK with the user. Search for 'applescript' in the Rev archives and you will see many examples and discussions of scripting. Do "applescript clipboard system windows" in google and read about some of the features and how to control them. Hope this helps Jim Ault Las Vegas On Dec 30, 2009, at 2:55 PM, Bill Vlahos wrote: > It looks like on the Mac you can get AppleScript to send keystrokes > by telling the application "System Events". > > tell application "System Events" > keystroke "x" > end tell > > How can I tell Rev to execute this AppleScript code? > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) helps me remember the > important details of my life. > > > On Dec 20, 2009, at 1:32 PM, Bill Vlahos wrote: > >> Is there a way to paste text from my stack to the text insertion >> point of a different program? >> >> I can create a floating window (system window) which floats above >> all other windows. The idea is that the user would click on a field >> in the target window (say a password field in a web browser) and >> then click a button on the floating window that will paste the >> password into it. >> >> I've tried the "type" and "paste" commands but they don't do >> anything outside of the stack. Is there a way to remotely issue a >> paste command or simulate typing? From mfstuart at cox.net Wed Dec 30 20:24:31 2009 From: mfstuart at cox.net (Mark Stuart) Date: Wed, 30 Dec 2009 17:24:31 -0800 Subject: Context menu for Header of DataGrid Message-ID: <001501ca89b8$0116f530$0138a8c0@stuart> >> Written by Trevor DeVore on Mon Dec 28, 2009 - 10:51 AM CST I just added two new lessons to the manual that show how to do determine if the user clicks in the header and how to display a contextual menu for a column header. You would just build off of the example and show a different contextual menu based on what the user clicked on. How Do I Determine If a User Clicks In The Table Header How Do I Display a Contextual Menu When the User Clicks on a Column Trevor DeVore << Hi Trevor, I followed your lessons with success. But now the mouseDown handler overrides any normal behavior of the DataGrid. That is, resizing of columns no longer works. Clicking on a column header no longer sorts a column. So it seems a "else - end if" section of script is needed to detect left mouse button, to complete normal behavior actions. Could you please amend the lesson to correct the missing behaviors? Thanx, Mark Stuart From dlwild at gmail.com Wed Dec 30 20:49:27 2009 From: dlwild at gmail.com (dlwild at gmail) Date: Wed, 30 Dec 2009 20:49:27 -0500 Subject: bar code support In-Reply-To: <edcc7e6b0912300846i1381c6f0p355022ddac23ac51@mail.gmail.com> References: <426419.92710.qm@web56705.mail.re3.yahoo.com> <F6CF87BD-DA52-4433-B957-22542FC9C74B@gmail.com> <edcc7e6b0912300846i1381c6f0p355022ddac23ac51@mail.gmail.com> Message-ID: <640037F4-80B5-4E87-8FF3-2770BB8A0CD7@gmail.com> Hi Bernard, Thanks for the clarification. The barcode issues were not meant to be solved by the bundle :-). In any case, your input comes at the right time, as I am looking for a solution for my near future needs of creating barcodes. I will see which of the PRO softwares will be best for this particular purpose, as I don't only want to print pdf417s, but also read them and integrate them into the software I'm the process of creating. Any further feedback, suggestion and such are welcome. Happy new year, Leonardo On Dec 30, 2009, at 11:46 AM, Bernard Devlin wrote: > Leonardo, > > In case you are planning on your MegaBundle 09 solving your barcode > issues. AFAIU > > a) it contains Quartam Reports (not Quartam Reports Professional, > which has the barcode support) > b) it contains Valentina 3.4 OS X & Windows - I belileve to get the > free Valentina Reports you need to actually be buying/upgrading ADK > through the Valentina website (or maybe through Mirye, etc). > > I don't mean to denigrate the MegaBundle, only to warn that it may not > be the solution to your problem. > > Bernard From josh at dvcreators.net Wed Dec 30 22:48:47 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 30 Dec 2009 19:48:47 -0800 Subject: View and print a PDF file from Rev In-Reply-To: <C7570277.46B54%scott@tactilemedia.com> References: <C7570277.46B54%scott@tactilemedia.com> Message-ID: <A9F4F997-56E1-4729-AB4F-C6EBF869F2C0@dvcreators.net> Just FYI, the Acrobat Developer FAQ says: How Can I Display a PDF File in an External Application Window? There are several ways to have the Acrobat program display a PDF file in an external application?s window. Acrobat must be installed on the system to view a PDF file in your own application?s window. Windows and Macintosh: ? The ExternalWindow sample plug-in demonstrates a live view of the PDF file in a window created by the plug-in. You can extend this to display PDF files in an external application window. So, it looks like an extension could be created that would allow for PDF display in Revolution. On Dec 22, 2009, at 11:10 PM, Scott Rossi wrote: > Recently, Josh Mellicker wrote: > >>> I have some code for displaying PDF pages in a Rev player, but as far as I >>> know, the resolution is limited to the screen so I don't think this would be >>> useful for you for printing. >> >> Hi Scott, >> >> is the code anything different than "set the filename to"? > > In terms of simply displaying the PDF, no. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bdrunrev at gmail.com Thu Dec 31 03:04:43 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 31 Dec 2009 08:04:43 +0000 Subject: put shell() and escaping quotes, how to do this? In-Reply-To: <1262204704123-991139.post@n4.nabble.com> References: <200912301716.55088.palcibiades-first@yahoo.co.uk> <4B3B970C.2020104@rotundasoftware.com> <1262204704123-991139.post@n4.nabble.com> Message-ID: <edcc7e6b0912310004l326e3062s18e68241693620f0@mail.gmail.com> Peter, put "echo -e [[tHex]] > usb/dev/lp0" into tCmd put quote & "\x1C" & quote into tHex put shell( merge ( tCmd ) ) It might look a little cumbersome, but hopefully less so than Mark's suggestion. The vernacular used above might also bear dividends when the shell commands get more complex than the example you give. Much as I love regex, I find that using merge() makes things much clearer to me than any other form of textual substitution. I find myself missing the simplicity and power of merge() in other languages. Hope that helps, Bernard On Wed, Dec 30, 2009 at 8:25 PM, Peter Alcibiades <palcibiades-first at yahoo.co.uk> wrote: > > David, problem is, it will not let you use double quotes. ?So for instance > > ? ? ? ? ?put shell("echo -e "\x1C" > usb/dev/lp0") > > will not compile, because of the double quotes. ?Then if you replace the > innermost double quotes with single quotes, it compiles fine, and it works > fine from the shell, but when done from the message box, it prints the \x1C > instead of escaping the x and treating it as a signal to the shell that we > are in the land of hex. > > Mark thanks. ?I'll have a go with it. ?Mind boggling, that! ?Its like > regular expressions, there always comes some point at which some simple > thing makes the head hurt. > > Peter From Andre.Bisseret at inria.fr Thu Dec 31 03:45:01 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Thu, 31 Dec 2009 09:45:01 +0100 Subject: Opening a doc in a cd or fld In-Reply-To: <C760F809.2192%hershrev@syp2u4c.com> References: <C760F809.2192%hershrev@syp2u4c.com> Message-ID: <B676381D-38D9-4043-B99A-3A72C2E304AC@inria.fr> Bonjour, Not sure I understand well what you want to do, but have a look at "launch" and "launch document" in the dictionnary one example there : launch document "/myProjects/myRevolutionProject/help.pdf" hope that help Best regards from Grenoble Andr? Le 30 d?c. 09 ? 18:28, Hershel Fisch a ?crit : > Hi, is there a way to open a document,doc, pages, pdf, xls and so on > in a > stack, card or fld? > Thanks, Hershel > _______________________________________________ From palcibiades-first at yahoo.co.uk Thu Dec 31 03:55:28 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 31 Dec 2009 00:55:28 -0800 (PST) Subject: put shell() and escaping quotes, how to do this? In-Reply-To: <edcc7e6b0912310004l326e3062s18e68241693620f0@mail.gmail.com> References: <200912301716.55088.palcibiades-first@yahoo.co.uk> <4B3B970C.2020104@rotundasoftware.com> <1262204704123-991139.post@n4.nabble.com> <edcc7e6b0912310004l326e3062s18e68241693620f0@mail.gmail.com> Message-ID: <1262249728778-991320.post@n4.nabble.com> Bernard, many thanks. Its a nice generalizable method. This was surprisingly tricky to do despite being very simple as a method. As well as this problem, there was also the problem of actually geting hex 7 into a text file, and it turned out that for some unclear reason, ghex would not do it. In the end I found another hex editor which was much better and did it without problems, but it took some time to accept that ghex was not going to do it. I ended up using the bless editor, which is an awful lot better than ghex. Ghex seems to suffer from the classic Gnome problem, taking stuff out which makes the application usable, with the alleged motive of making it easy to use and conforming to some rules some of them have written someplace. Every time you come on another of these idiotic politically correct roadblocks to actually using their stuff, its more irritating than the last. Peter Bernard Devlin-2 wrote: > > > put "echo -e [[tHex]] > usb/dev/lp0" into tCmd > put quote & "\x1C" & quote into tHex > put shell( merge ( tCmd ) ) > .... > > Bernard > > -- View this message in context: http://n4.nabble.com/put-shell-and-escaping-quotes-how-to-do-this-tp991042p991320.html Sent from the Revolution - User mailing list archive at Nabble.com. From palcibiades-first at yahoo.co.uk Thu Dec 31 04:18:32 2009 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 31 Dec 2009 09:18:32 +0000 Subject: bar codes Message-ID: <200912310918.32331.palcibiades-first@yahoo.co.uk> Sorry not to be able to find the thread on nabble. Anyway, this is what we use, and it does do pdf 417 with the appropriate backend. Here is the main site http://www.kbarcode.net/Home.4.0.html and backends http://www.kbarcode.net/Barcode-Backends.26.0.html Of course, you do have to be running Linux. But the price of commercial software for this stuff, the excellence of kbarcode, the cheapness of making another partition for the new OS, to me its a no brainer. Just about any bar code you want, and integrated label printing. And it works perfectly and is very easy to use. You would think, considering the commercial packages, that this was rocket science or heart surgery, but it really aint. Peter From m.schonewille at economy-x-talk.com Thu Dec 31 04:54:22 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 31 Dec 2009 10:54:22 +0100 Subject: [OT] Twitter Language List Message-ID: <83727AA7-4986-4CD6-816C-81892EA82CF0@economy-x-talk.com> Hi, If you're on Twitter, you might want to post the #code2009 tag and include RunRev. For an overview of most frequently posted languages: <http://www.ioncannon.net/projects/code2009/ > -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Full PayPal integration and automation in web site or (Revolution/ SuperCard/other) software. Contact me for a quote before 1 Jan 2010 and we'll charge (reduced) 2009 prices. http://economy-x-talk.com/contact.html From livfoss at mac.com Thu Dec 31 10:10:02 2009 From: livfoss at mac.com (Graham Samuel) Date: Thu, 31 Dec 2009 16:10:02 +0100 Subject: OT: Home wanted for If Monks Had Macs Message-ID: <393FC970-DC7B-4C5F-9D19-8157B294B77D@mac.com> I just picked this up from the Tidbits digest. It seems like a good cause and I wonder if any lister here might be able to help. Just a thought. Sorry if people think it's a waste of bandwidth. Graham > 4. post-commercial software - best way to give my If Monks had Macs away? > > Initial Message > Posted by: Brian Thomas Date: Dec 30, 2009. > > Hello, Happy New Year to all. > > I'm the author of If Monks had Macs, a classic CD-ROM that still interests folks today and that works in Snow Leopard (and on Windows as well). It might be the longest running multimedia project in history. However, Monks is 21 years old this winter and I think it's time it made its own way in the world. I would like to make it a free download, and I'm asking for suggestions for ways to do that. > > I can't afford to pay to give Monks away so I'm looking for suggestions or offers for free hosting. I have a mobileme account, but there is probably a better way than having folks log on to my public folder. It doesn't seem to allow regular downloads. > > Monks for Macs is 200 megabytes, the Windows version is about the same. However, they both share the same 150 mbs of art & audio. > > My regular website can't host the files. However, if you visit it you will see that to celebrate Monk's 21st birthday I have just quietly made available a free re-make for one of the games in Monks that I want. It is beautifully illustrated, quick and deep. And it is an excellent reminder or introduction to what Monks is. The remake of Killing Time will be formally announced with the release of the free Monks early next year: > > <http://rivertext.com/> > > Thanks, > > Brian Thomas > From bvlahos at mac.com Thu Dec 31 10:27:47 2009 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 31 Dec 2009 07:27:47 -0800 Subject: How do I paste into a different app? In-Reply-To: <f99b52860912301519r53d3acedkd2ca0c6534499c75@mail.gmail.com> References: <5B380495-84F0-4633-BE0E-5D30D1BABCCB@mac.com> <2D25B9AF-9931-453A-A1F9-6AAD6609FE19@mac.com> <f99b52860912301519r53d3acedkd2ca0c6534499c75@mail.gmail.com> Message-ID: <B04F2810-9A4D-49B0-A95E-66040F0EE80C@mac.com> Thanks Sarah. I figured it out and have it working on the Mac with AppleScript. I'm not using a paste function but the AppleScript "keystroke" function. It looks like the Windows API "keybd_event" can do the same type of thing. I don't really know anything about VBScripting. If I know what the VBScript commands for keybd_event can I do the same thing? How? Bill On Dec 30, 2009, at 3:19 PM, Sarah Reichelt wrote: > On Thu, Dec 31, 2009 at 8:55 AM, Bill Vlahos <bvlahos at mac.com> wrote: >> It looks like on the Mac you can get AppleScript to send keystrokes by telling the application "System Events". >> >> tell application "System Events" >> keystroke "x" >> end tell >> >> How can I tell Rev to execute this AppleScript code? > > > Store that script in a field or custom property, then when you need > it, put it into a variable and use "do as AppleScript". > e.g. > > put the cPasteAppleScript of this stack into tScript > do tScript as AppleScript > > To emulate a paste command, you will need something like: > keystroke "v" using command down > > However you probably want to make sure the correct app is frontmost > before you paste. > So you can use something like this as the first line of your AppleScript: > tell application "TextEdit" to activate > > HTH, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcgrath3 at mac.com Thu Dec 31 10:41:19 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 31 Dec 2009 10:41:19 -0500 Subject: iRev - Ajax - jQuery Message-ID: <EE1D910D-0F11-4D93-952E-F05123BB6FED@mac.com> I have just finished a marathon session integrating Ajax irev css html to build an image gallery with jQuery. WOW... what a pain in the ass to grok... And NO ONE should ever have to look at something like this again, let alone have to type it: put "<a href=" & quote & "photos/test/" & L & quote && " class=" & quote & "pirobox_gall" & quote & && " rel=" & quote & "lightbox" & quote & && " title=" & quote & L & quote & "><img src=" & quote & "photos/test/" & L & quote & " alt=" & quote & L & quote && tSizeSpec & "/></a>" into tImg I actually built around six versions of the image gallery and did not like any of them. The final one at 4:30 this AM is almost what I want. Anyway, a few things I am wishing for: 1. Never ever ever again to have to write & quote & again.......... 2. Something to VISUALLY put all of those & T & qoute && "<" & quote & together to see the finished result in On-rev editor (quickly) 3. To have just one app (or 2) to work on all of this instead of 6 (SIX) Rapid Weaver, Dream Weaver, On-rev, Text Wrangler, Dashcode and (Safari and Firefox. ) 4. A revolution to CSS convertor (like Interface Builder for iphone SDK) cause things like Absolute/Fixed/Relative hurt my head after awhile. and things like 'hidden' that don't really hide things but 'reformat' the layout instead cause dizziness. Work flow: Find iRev script that does something completely different than what I need. But since there is no where big to search for these yet this will have to do. (send email question to use list) Build theme in Rapid Weaver, load stacks or blocks and set up preferences. upload. (send email question to RW forum) Switch to Dreamweaver and download (for later use). (browse forums for helpful tips or hints) Set up iFrame for irev page. dynamic or fixed. Load in safari, load in firefox (to hell with IE) and decide that none of it looks right. (search internet for all new solution, get stuck on youTube) Find CSS load in pane in RW - upload check in Safari/Firefox. Almost like it.... open CSS in dashcode (easier to see) and make tweaks, save, upload in Dreamweaver. (it's now later) Looks good. Now find java script library that does what I need (4 hours later) Decide on one. Load in JS pane in RW. Load browser - nothing works. (go back to youTube and look up "fat kid falls on bicycle" get lost for awhile) Try five more slide show, light box, image gallery, jQuery, slimbox, pirobox, mootools etc. download install integrate into iRev integrate into RW download through Dreamweaver (for future use) - change page in RW back to stacks for this version since I need a button now. Simple iFrame only allows url. decide to just add as much JS and CSS as possible to iRev script since it will be easier to upload one file from one place (instead of - open in one app- save - open another app- upload - open another to view - loop) No easy way to save versions in on-rev editor. Add html to iRev page types. Add styles to top of iRev page, add JS next (mostly load libraries) - then build page elements with rev and html (and sometimes more JS) OK now - I don't mind learning and I don't mind hacking my way through. But Damn it.... I have such a jheadache now. That whole & quote & thing and readability thing needs to be addressed real soon. Maybe Jerry's thingy can do it??? maybe it can have all of these really cool plugins for building unbuilding these mosnters..... Had to just let it all out before the end of the year..... Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html From ambassador at fourthworld.com Thu Dec 31 11:03:54 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 31 Dec 2009 08:03:54 -0800 Subject: iRev - Ajax - jQuery Message-ID: <4B3CCB6A.5080409@fourthworld.com> Thomas McGrath III wrote: > Anyway, a few things I am wishing for: > > 1. Never ever ever again to have to write & quote & again.......... This will save at least a little typing: ... put "<a href="&q(tMyUrl)&">" into tLink ... function q s return quote&s"e end q I use this all the time, and my typing fingers are a little happier for it. :) -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From hershrev at syp2u4c.com Thu Dec 31 12:53:15 2009 From: hershrev at syp2u4c.com (Hershel Fisch) Date: Thu, 31 Dec 2009 12:53:15 -0500 Subject: Opening a doc in a cd or fld In-Reply-To: <B676381D-38D9-4043-B99A-3A72C2E304AC@inria.fr> Message-ID: <C7624F3B.2226%hershrev@syp2u4c.com> Thanks, this opens it up In it own window, my question if I could open in a rev stack? Hershel On 12/31/09 3:45 AM, "Andre.Bisseret" <Andre.Bisseret at inria.fr> wrote: > Bonjour, > Not sure I understand well what you want to do, but have a look at > "launch" and "launch document" in the dictionnary > > one example there : > launch document "/myProjects/myRevolutionProject/help.pdf" > > hope that help > > Best regards from Grenoble > > Andr? > > > Le 30 d?c. 09 ? 18:28, Hershel Fisch a ?crit : > >> Hi, is there a way to open a document,doc, pages, pdf, xls and so on >> in a >> stack, card or fld? >> Thanks, Hershel >> _______________________________________________ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From troy_lists at rpsystems.net Thu Dec 31 13:00:13 2009 From: troy_lists at rpsystems.net (Troy Rollins) Date: Thu, 31 Dec 2009 13:00:13 -0500 Subject: iRev - Ajax - jQuery In-Reply-To: <EE1D910D-0F11-4D93-952E-F05123BB6FED@mac.com> References: <EE1D910D-0F11-4D93-952E-F05123BB6FED@mac.com> Message-ID: <A7A3735A-802C-4226-B152-6FB5A9C8F2FF@rpsystems.net> On Dec 31, 2009, at 10:41 AM, Thomas McGrath III wrote: > I actually built around six versions of the image gallery and did > not like any of them. The final one at 4:30 this AM is almost what I > want. Anyway, a few things I am wishing for: I think you'll be happier if you ditch RapidWeaver and Dreamweaver. They both make you think it is easier to use them, but with the kind of stuff you are doing, they waste tons and tons of time, and are nothing but aggravation. Consider Espresso, Coda, or even Flux if you want to maintain the visual aspect of layout. -- Troy RPSystems, Ltd. http://www.rpsystems.net From troy_lists at rpsystems.net Thu Dec 31 13:01:40 2009 From: troy_lists at rpsystems.net (Troy Rollins) Date: Thu, 31 Dec 2009 13:01:40 -0500 Subject: OT: Home wanted for If Monks Had Macs In-Reply-To: <393FC970-DC7B-4C5F-9D19-8157B294B77D@mac.com> References: <393FC970-DC7B-4C5F-9D19-8157B294B77D@mac.com> Message-ID: <BD511EA6-1F5B-4733-B2DA-567C447D14DA@rpsystems.net> On Dec 31, 2009, at 10:10 AM, Graham Samuel wrote: > I just picked this up from the Tidbits digest. It seems like a good > cause and I wonder if any lister here might be able to help. Richard Gaskin has already offered (publicly) to host it on RevJournal. Seems the offer was ignored. -- Troy RPSystems, Ltd. http://www.rpsystems.net From Andre.Bisseret at inria.fr Thu Dec 31 13:21:03 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Thu, 31 Dec 2009 19:21:03 +0100 Subject: Opening a doc in a cd or fld In-Reply-To: <C7624F3B.2226%hershrev@syp2u4c.com> References: <C7624F3B.2226%hershrev@syp2u4c.com> Message-ID: <576CA31C-E89F-498C-A5B2-14084BF1224C@inria.fr> Le 31 d?c. 09 ? 18:53, Hershel Fisch a ?crit : > Thanks, this opens it up In it own window, my question if I could > open in a > rev stack? > Hershel > I think it is not possible to open a document.doc, pdf etc in a stack, strickly speaking. What is possible is to import the text of the document in a field of the stack See "read from file" in the dictionnary. This command allow something like the following : -- assume one stack "theStack" has a field "theField" and a document "theDocument.doc" in the same folder put the filename of stack "theStack" into tVar set the itemdel to "/" put "theDocument.doc" into last item of tVar open file tVar for read read from file tVar at 1 until EOF -- this pick up the whole text put it into fld "theField" close file tVar Andr? > > On 12/31/09 3:45 AM, "Andre.Bisseret" <Andre.Bisseret at inria.fr> wrote: > >> Bonjour, >> Not sure I understand well what you want to do, but have a look at >> "launch" and "launch document" in the dictionnary >> >> one example there : >> launch document "/myProjects/myRevolutionProject/help.pdf" >> >> hope that help >> >> Best regards from Grenoble >> >> Andr? >> >> >> Le 30 d?c. 09 ? 18:28, Hershel Fisch a ?crit : >> >>> Hi, is there a way to open a document,doc, pages, pdf, xls and so on >>> in a >>> stack, card or fld? >>> Thanks, Hershel >>> _______________________________________________ >> >> From mcgrath3 at mac.com Thu Dec 31 13:51:54 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 31 Dec 2009 13:51:54 -0500 Subject: iRev - Ajax - jQuery In-Reply-To: <4B3CCB6A.5080409@fourthworld.com> References: <4B3CCB6A.5080409@fourthworld.com> Message-ID: <FBB48B8F-225A-429E-82F2-00ADA7D06C43@mac.com> Richard, Pure genius... Tnks Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 31, 2009, at 11:03 AM, Richard Gaskin wrote: > Thomas McGrath III wrote: > >> Anyway, a few things I am wishing for: >> >> 1. Never ever ever again to have to write & quote & again.......... > > This will save at least a little typing: > > ... > put "<a href="&q(tMyUrl)&">" into tLink > ... > > function q s > return quote&s"e > end q > > I use this all the time, and my typing fingers are a little happier > for it. :) > > -- > Richard Gaskin > Fourth World > Rev training and consulting: http://www.fourthworld.com > Webzine for Rev developers: http://www.revjournal.com > revJournal blog: http://revjournal.com/blog.irv > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcgrath3 at mac.com Thu Dec 31 13:54:59 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 31 Dec 2009 13:54:59 -0500 Subject: iRev - Ajax - jQuery In-Reply-To: <EE1D910D-0F11-4D93-952E-F05123BB6FED@mac.com> References: <EE1D910D-0F11-4D93-952E-F05123BB6FED@mac.com> Message-ID: <042BDA2B-7374-45D9-A67E-BED1E0635B83@mac.com> For those interested in my progress here is the link to my site - it is a work in preparation for my iPhone app release in a couple weeks. All the images are mostly just test images. My first app creates these posters and my second app views ones that people using the first app have uploaded to my server. 1. I have a mini slide show on the Main page "DeMoted" using a simple jquery script in an html stack in Stack in RW that uses it's own folder for four preview images. 2. Then on the Demoted Viewer page is blocks page in RW (to allow the iframe to be on top of the iphone image) which loads the iRev slideshow.irev I stole from Troz and hacked the hell out of... It shows all of the most recently uploaded shots from my iPhone app as they are uploaded. 3. Then the Online Gallery uses an Offsite page to redirect to Recent Page which uses a stacks page with a dynamic iFrame set to scroll (to work with the lightbox) which points to an iRev Gallery script which loads a jQuery, CSS "Pirobox" image library mixed with iRev (But I also successfully integrated Slimbox, Lightbox, JBox etc. to work just not what I wanted) CLICK a photo and the light box opens. This access the uploaded images form the iPhone app directly. 4. Then Previous page shows 70 images that can scroll while previewing the lightbox of images. These I am moving manually to 'previous' folders for now until I can figure out an automatic script to create new folders and move recent images to the new ones and allow a menu to list them. 5. Support will have screenshots and FAQ on how to use the app. Lastly, from this page is the Contact form. 6. Then to support all of this is the page for JaiPho PiPho and iUi that is used in the Free Viewer App for viewing all of the User uploaded images on the iPhone but can be viewed online (optimized for iPhone though) The main site is at: http://demoted.lazyriver.on-rev.com/ and the online iPhone optimized page (Cool on the iphone but is viewable on the web too) is at: http://demoted.lazyriver.on-rev.com/DeMotedUploads/index.php Comments are welcome... Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 31, 2009, at 10:41 AM, Thomas McGrath III wrote: > I have just finished a marathon session integrating Ajax irev css > html to build an image gallery with jQuery. > > WOW... what a pain in the ass to grok... > > And NO ONE should ever have to look at something like this again, > let alone have to type it: > put "<a href=" & quote & "photos/test/" & L & quote && " class=" & > quote & "pirobox_gall" & quote & && " rel=" & quote & "lightbox" & > quote & && " title=" & quote & L & quote & "><img src=" & quote & > "photos/test/" & L & quote & " alt=" & quote & L & quote && > tSizeSpec & "/></a>" into tImg > > I actually built around six versions of the image gallery and did > not like any of them. The final one at 4:30 this AM is almost what I > want. Anyway, a few things I am wishing for: > > 1. Never ever ever again to have to write & quote & again.......... > 2. Something to VISUALLY put all of those & T & qoute && "<" & quote > & together to see the finished result in On-rev editor (quickly) > 3. To have just one app (or 2) to work on all of this instead of 6 > (SIX) Rapid Weaver, Dream Weaver, On-rev, Text Wrangler, Dashcode > and (Safari and Firefox. ) > 4. A revolution to CSS convertor (like Interface Builder for iphone > SDK) cause things like Absolute/Fixed/Relative hurt my head after > awhile. and things like 'hidden' that don't really hide things but > 'reformat' the layout instead cause dizziness. > > Work flow: > Find iRev script that does something completely different than what > I need. But since there is no where big to search for these yet this > will have to do. (send email question to use list) > > Build theme in Rapid Weaver, load stacks or blocks and set up > preferences. upload. (send email question to RW forum) > > Switch to Dreamweaver and download (for later use). (browse forums > for helpful tips or hints) > > Set up iFrame for irev page. dynamic or fixed. > > Load in safari, load in firefox (to hell with IE) and decide that > none of it looks right. (search internet for all new solution, get > stuck on youTube) > > Find CSS load in pane in RW - upload check in Safari/Firefox. Almost > like it.... > > open CSS in dashcode (easier to see) and make tweaks, save, upload > in Dreamweaver. (it's now later) > > Looks good. Now find java script library that does what I need (4 > hours later) Decide on one. > > Load in JS pane in RW. Load browser - nothing works. (go back to > youTube and look up "fat kid falls on bicycle" get lost for awhile) > > Try five more slide show, light box, image gallery, jQuery, slimbox, > pirobox, mootools etc. download install integrate into iRev > integrate into RW download through Dreamweaver (for future use) - > change page in RW back to stacks for this version since I need a > button now. Simple iFrame only allows url. > > decide to just add as much JS and CSS as possible to iRev script > since it will be easier to upload one file from one place (instead > of - open in one app- save - open another app- upload - open > another to view - loop) > > No easy way to save versions in on-rev editor. Add html to iRev page > types. Add styles to top of iRev page, add JS next (mostly load > libraries) - then build page elements with rev and html (and > sometimes more JS) > > OK now - I don't mind learning and I don't mind hacking my way > through. But Damn it.... I have such a jheadache now. That whole & > quote & thing and readability thing needs to be addressed real soon. > Maybe Jerry's thingy can do it??? maybe it can have all of these > really cool plugins for building unbuilding these mosnters..... > > Had to just let it all out before the end of the year..... > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcgrath3 at mac.com Thu Dec 31 13:57:44 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 31 Dec 2009 13:57:44 -0500 Subject: iRev - Ajax - jQuery In-Reply-To: <A7A3735A-802C-4226-B152-6FB5A9C8F2FF@rpsystems.net> References: <EE1D910D-0F11-4D93-952E-F05123BB6FED@mac.com> <A7A3735A-802C-4226-B152-6FB5A9C8F2FF@rpsystems.net> Message-ID: <BA82BEDB-08EF-48D1-9A97-FD9AFFDB76C0@mac.com> Troy, Thanks. I will check them out. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 31, 2009, at 1:00 PM, Troy Rollins wrote: > > On Dec 31, 2009, at 10:41 AM, Thomas McGrath III wrote: > >> I actually built around six versions of the image gallery and did >> not like any of them. The final one at 4:30 this AM is almost what >> I want. Anyway, a few things I am wishing for: > > I think you'll be happier if you ditch RapidWeaver and Dreamweaver. > They both make you think it is easier to use them, but with the kind > of stuff you are doing, they waste tons and tons of time, and are > nothing but aggravation. > > Consider Espresso, Coda, or even Flux if you want to maintain the > visual aspect of layout. > > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mikekann at yahoo.com Thu Dec 31 14:02:18 2009 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 31 Dec 2009 11:02:18 -0800 (PST) Subject: iRev - Ajax - jQuery In-Reply-To: <042BDA2B-7374-45D9-A67E-BED1E0635B83@mac.com> Message-ID: <533099.11306.qm@web56705.mail.re3.yahoo.com> Impressive. One little nitpick. I'm on Mozilla Firefox on Windows. When I look at the thumbnails the numbers (10 of 70) cover up the top part of the thumbnail. Is that what you had in mind? Here's the page I was looking at: http://demoted.lazyriver.on-rev.com/DeMotedUploads/gallery.php?gallery_id=test2#thumbs --- On Thu, 12/31/09, Thomas McGrath III <mcgrath3 at mac.com> wrote: > From: Thomas McGrath III <mcgrath3 at mac.com> > Subject: Re: iRev - Ajax - jQuery > To: "How to use Revolution" <use-revolution at lists.runrev.com> > Date: Thursday, December 31, 2009, 12:54 PM > For those interested in my progress > here is the link to my site - it is a work in preparation > for my iPhone app release in a couple weeks. All the images > are mostly just test images. My first app creates these > posters and my second app views ones that people using the > first app have uploaded to my server. > > 1. I have a mini slide show on the Main page "DeMoted" > using a simple jquery script in an html stack in Stack in RW > that uses it's own folder for four preview images. > > 2. Then on the Demoted Viewer page is blocks page in RW (to > allow the iframe to be on top of the iphone image) which > loads the iRev slideshow.irev I stole from Troz and hacked > the hell out of... It shows all of the most recently > uploaded shots from my iPhone app as they are uploaded. > > 3. Then the Online Gallery uses an Offsite page to redirect > to Recent Page which uses a stacks page with a dynamic > iFrame set to scroll (to work with the lightbox) which > points to an iRev Gallery script which loads a jQuery, CSS > "Pirobox" image library mixed with iRev (But I also > successfully integrated Slimbox, Lightbox, JBox etc. to work > just not what I wanted) CLICK a photo and the light box > opens. This access the uploaded images form the iPhone app > directly. > > 4. Then Previous page shows 70 images that can scroll while > previewing the lightbox of images. These I am moving > manually to 'previous' folders for now until I can figure > out an automatic script to create new folders and move > recent images to the new ones and allow a menu to list > them. > > 5. Support will have screenshots and FAQ on how to use the > app. Lastly, from this page is the Contact form. > > 6. Then to support all of this is the page for JaiPho PiPho > and iUi that is used in the Free Viewer App for viewing all > of the User uploaded images on the iPhone but can be viewed > online (optimized for iPhone though) > > The main site is at: > > http://demoted.lazyriver.on-rev.com/ > > and the online iPhone optimized page (Cool on the iphone > but is viewable on the web too) is at: > > http://demoted.lazyriver.on-rev.com/DeMotedUploads/index.php > > Comments are welcome... > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > > > > > > On Dec 31, 2009, at 10:41 AM, Thomas McGrath III wrote: > > > I have just finished a marathon session integrating > Ajax irev css html to build an image gallery with jQuery. > > > > WOW... what a pain in the ass to grok... > > > > And NO ONE should ever have to look at something like > this again, let alone have to type it: > > put "<a href=" & quote & > "photos/test/"? & L & quote && " > class=" & quote & "pirobox_gall" & quote & > && " rel=" & quote & "lightbox" & quote > & && " title=" & quote & L & quote > & "><img src=" & quote & "photos/test/" > & L & quote & " alt=" & quote & L & > quote && tSizeSpec &? "/></a>" > into tImg > > > > I actually built around six versions of the image > gallery and did not like any of them. The final one at 4:30 > this AM is almost what I want. Anyway, a few things I am > wishing for: > > > > 1. Never ever ever again to have to write & quote > & again.......... > > 2. Something to VISUALLY put all of those & T > & qoute && "<" & quote & together to > see the finished result in On-rev editor (quickly) > > 3. To have just one app (or 2) to work on all of this > instead of 6 (SIX) Rapid Weaver, Dream Weaver, On-rev, Text > Wrangler, Dashcode and (Safari and Firefox. ) > > 4. A revolution to CSS convertor (like Interface > Builder for iphone SDK) cause things like > Absolute/Fixed/Relative hurt my head after awhile. and > things like 'hidden' that don't really hide things but > 'reformat' the layout? instead cause dizziness. > > > > Work flow: > > Find iRev script that does something completely > different than what I need. But since there is no where big > to search for these yet this will have to do. (send email > question to use list) > > > > Build theme in Rapid Weaver, load stacks or blocks and > set up preferences. upload. (send email question to RW > forum) > > > > Switch to Dreamweaver and download (for later use). > (browse forums for helpful tips or hints) > > > > Set up iFrame for irev page. dynamic or fixed. > > > > Load in safari, load in firefox (to hell with IE) and > decide that none of it looks right. (search internet for all > new solution, get stuck on youTube) > > > > Find CSS load in pane in RW - upload check in > Safari/Firefox. Almost like it.... > > > > open CSS in dashcode (easier to see) and make tweaks, > save, upload in Dreamweaver. (it's now later) > > > > Looks good. Now find java script library that does > what I need (4 hours later) Decide on one. > > > > Load in JS pane in RW. Load browser - nothing works. > (go back to youTube and look up "fat kid falls on bicycle" > get lost for awhile) > > > > Try five more slide show, light box, image gallery, > jQuery, slimbox, pirobox, mootools etc. download install > integrate into iRev integrate into RW download through > Dreamweaver (for future use) - change page in RW back to > stacks for this version since I need a button now. Simple > iFrame only allows url. > > > > decide to just add as much JS and CSS as possible to > iRev script since it will be easier to upload one file from > one place (instead of - open in one app-? save - open > another app-? upload - open another to view - loop) > > > > No easy way to save versions in on-rev editor. Add > html to iRev page types. Add styles to top of iRev page, add > JS next (mostly load libraries) - then build page elements > with rev and html (and sometimes more JS) > > > > OK now - I don't mind learning and I don't mind > hacking my way through. But Damn it.... I have such a > jheadache now. That whole & quote & thing and > readability thing needs to be addressed real soon. Maybe > Jerry's thingy can do it??? maybe it can have all of these > really cool plugins for building unbuilding these > mosnters..... > > > > Had to just let it all out before the end of the > year..... > > > > Tom McGrath III > > Lazy River Software > > 3mcgrath at comcast.net > > > > iTunes Library Suite - libITS > > Information and download can be found on this page: > > http://www.lazyriversoftware.com/RevOne.html > > > > > > > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mikekann at yahoo.com Thu Dec 31 14:05:19 2009 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 31 Dec 2009 11:05:19 -0800 (PST) Subject: iRev - Ajax - jQuery In-Reply-To: <042BDA2B-7374-45D9-A67E-BED1E0635B83@mac.com> Message-ID: <597362.56198.qm@web56701.mail.re3.yahoo.com> Thomas, do the uploaders have to make up their own insults. It might be nice to have a catalog of insults to choose from. There used to be a bar in Chicago which was famous for insulting its customers. I assume it is still there. You could make a deal with the restaurant to insult all of their customers. --- On Thu, 12/31/09, Thomas McGrath III <mcgrath3 at mac.com> wrote: > From: Thomas McGrath III <mcgrath3 at mac.com> > Subject: Re: iRev - Ajax - jQuery > To: "How to use Revolution" <use-revolution at lists.runrev.com> > Date: Thursday, December 31, 2009, 12:54 PM > For those interested in my progress > here is the link to my site - it is a work in preparation > for my iPhone app release in a couple weeks. All the images > are mostly just test images. My first app creates these > posters and my second app views ones that people using the > first app have uploaded to my server. > > 1. I have a mini slide show on the Main page "DeMoted" > using a simple jquery script in an html stack in Stack in RW > that uses it's own folder for four preview images. > > 2. Then on the Demoted Viewer page is blocks page in RW (to > allow the iframe to be on top of the iphone image) which > loads the iRev slideshow.irev I stole from Troz and hacked > the hell out of... It shows all of the most recently > uploaded shots from my iPhone app as they are uploaded. > > 3. Then the Online Gallery uses an Offsite page to redirect > to Recent Page which uses a stacks page with a dynamic > iFrame set to scroll (to work with the lightbox) which > points to an iRev Gallery script which loads a jQuery, CSS > "Pirobox" image library mixed with iRev (But I also > successfully integrated Slimbox, Lightbox, JBox etc. to work > just not what I wanted) CLICK a photo and the light box > opens. This access the uploaded images form the iPhone app > directly. > > 4. Then Previous page shows 70 images that can scroll while > previewing the lightbox of images. These I am moving > manually to 'previous' folders for now until I can figure > out an automatic script to create new folders and move > recent images to the new ones and allow a menu to list > them. > > 5. Support will have screenshots and FAQ on how to use the > app. Lastly, from this page is the Contact form. > > 6. Then to support all of this is the page for JaiPho PiPho > and iUi that is used in the Free Viewer App for viewing all > of the User uploaded images on the iPhone but can be viewed > online (optimized for iPhone though) > > The main site is at: > > http://demoted.lazyriver.on-rev.com/ > > and the online iPhone optimized page (Cool on the iphone > but is viewable on the web too) is at: > > http://demoted.lazyriver.on-rev.com/DeMotedUploads/index.php > > Comments are welcome... > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > > > > > > On Dec 31, 2009, at 10:41 AM, Thomas McGrath III wrote: > > > I have just finished a marathon session integrating > Ajax irev css html to build an image gallery with jQuery. > > > > WOW... what a pain in the ass to grok... > > > > And NO ONE should ever have to look at something like > this again, let alone have to type it: > > put "<a href=" & quote & > "photos/test/"? & L & quote && " > class=" & quote & "pirobox_gall" & quote & > && " rel=" & quote & "lightbox" & quote > & && " title=" & quote & L & quote > & "><img src=" & quote & "photos/test/" > & L & quote & " alt=" & quote & L & > quote && tSizeSpec &? "/></a>" > into tImg > > > > I actually built around six versions of the image > gallery and did not like any of them. The final one at 4:30 > this AM is almost what I want. Anyway, a few things I am > wishing for: > > > > 1. Never ever ever again to have to write & quote > & again.......... > > 2. Something to VISUALLY put all of those & T > & qoute && "<" & quote & together to > see the finished result in On-rev editor (quickly) > > 3. To have just one app (or 2) to work on all of this > instead of 6 (SIX) Rapid Weaver, Dream Weaver, On-rev, Text > Wrangler, Dashcode and (Safari and Firefox. ) > > 4. A revolution to CSS convertor (like Interface > Builder for iphone SDK) cause things like > Absolute/Fixed/Relative hurt my head after awhile. and > things like 'hidden' that don't really hide things but > 'reformat' the layout? instead cause dizziness. > > > > Work flow: > > Find iRev script that does something completely > different than what I need. But since there is no where big > to search for these yet this will have to do. (send email > question to use list) > > > > Build theme in Rapid Weaver, load stacks or blocks and > set up preferences. upload. (send email question to RW > forum) > > > > Switch to Dreamweaver and download (for later use). > (browse forums for helpful tips or hints) > > > > Set up iFrame for irev page. dynamic or fixed. > > > > Load in safari, load in firefox (to hell with IE) and > decide that none of it looks right. (search internet for all > new solution, get stuck on youTube) > > > > Find CSS load in pane in RW - upload check in > Safari/Firefox. Almost like it.... > > > > open CSS in dashcode (easier to see) and make tweaks, > save, upload in Dreamweaver. (it's now later) > > > > Looks good. Now find java script library that does > what I need (4 hours later) Decide on one. > > > > Load in JS pane in RW. Load browser - nothing works. > (go back to youTube and look up "fat kid falls on bicycle" > get lost for awhile) > > > > Try five more slide show, light box, image gallery, > jQuery, slimbox, pirobox, mootools etc. download install > integrate into iRev integrate into RW download through > Dreamweaver (for future use) - change page in RW back to > stacks for this version since I need a button now. Simple > iFrame only allows url. > > > > decide to just add as much JS and CSS as possible to > iRev script since it will be easier to upload one file from > one place (instead of - open in one app-? save - open > another app-? upload - open another to view - loop) > > > > No easy way to save versions in on-rev editor. Add > html to iRev page types. Add styles to top of iRev page, add > JS next (mostly load libraries) - then build page elements > with rev and html (and sometimes more JS) > > > > OK now - I don't mind learning and I don't mind > hacking my way through. But Damn it.... I have such a > jheadache now. That whole & quote & thing and > readability thing needs to be addressed real soon. Maybe > Jerry's thingy can do it??? maybe it can have all of these > really cool plugins for building unbuilding these > mosnters..... > > > > Had to just let it all out before the end of the > year..... > > > > Tom McGrath III > > Lazy River Software > > 3mcgrath at comcast.net > > > > iTunes Library Suite - libITS > > Information and download can be found on this page: > > http://www.lazyriversoftware.com/RevOne.html > > > > > > > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mikekann at yahoo.com Thu Dec 31 14:16:24 2009 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 31 Dec 2009 11:16:24 -0800 (PST) Subject: OT: Home wanted for If Monks Had Macs In-Reply-To: <393FC970-DC7B-4C5F-9D19-8157B294B77D@mac.com> Message-ID: <890182.35517.qm@web56706.mail.re3.yahoo.com> Amazon S3 Web Services might be an appropriate retirement home for the Monks. Mark Smith is guru numero uno on that stuff: http://marksmith.on-rev.com/revstuff/index.html --- On Thu, 12/31/09, Graham Samuel <livfoss at mac.com> wrote: > From: Graham Samuel <livfoss at mac.com> > Subject: OT: Home wanted for If Monks Had Macs > To: "Rev Use-List" <use-revolution at lists.runrev.com> > Date: Thursday, December 31, 2009, 9:10 AM > I just picked this up from the > Tidbits digest. It seems like a good cause and I wonder if > any lister here might be able to help. Just a thought. Sorry > if people think it's a waste of bandwidth. > > Graham > > > 4. post-commercial software - best way to give my If > Monks had Macs away? > > > > Initial Message > > Posted by: Brian Thomas Date: Dec 30, 2009. > > > > Hello, Happy New Year to all. > > > > I'm the author of If Monks had Macs, a classic CD-ROM > that still interests folks today and that works in Snow > Leopard (and on Windows as well). It might be the longest > running multimedia project in history. However, Monks is 21 > years old this winter and I think it's time it made its own > way in the world. I would like to make it a free download, > and I'm asking for suggestions for ways to do that. > > > > I can't afford to pay to give Monks away so I'm > looking for suggestions or offers for free hosting. I have a > mobileme account, but there is probably a better way than > having folks log on to my public folder. It doesn't seem to > allow regular downloads. > > > > Monks for Macs is 200 megabytes, the Windows version > is about the same. However, they both share the same 150 mbs > of art & audio. > > > > My regular website can't host the files. However, if > you visit it you will see that to celebrate Monk's 21st > birthday I have just quietly made available a free re-make > for one of the games in Monks that I want. It is beautifully > illustrated, quick and deep. And it is an excellent reminder > or introduction to what Monks is. The remake of Killing Time > will be formally announced with the release of the free > Monks early next year: > > > > <http://rivertext.com/> > > > > Thanks, > > > > Brian Thomas > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From insidepocket at gmail.com Thu Dec 31 14:23:20 2009 From: insidepocket at gmail.com (Brian Thomas) Date: Thu, 31 Dec 2009 11:23:20 -0800 Subject: OT: Home wanted for If Monks Had Macs In-Reply-To: <890182.35517.qm@web56706.mail.re3.yahoo.com> References: <393FC970-DC7B-4C5F-9D19-8157B294B77D@mac.com> <890182.35517.qm@web56706.mail.re3.yahoo.com> Message-ID: <849418030912311123w73fada1vb62506471d0f1c30@mail.gmail.com> I appreciate all the suggestions and offers for distributing Monks. I am considering all of them as I prepare the files. this is the first that I have heard of RevJournal. I just googled it and it looks very interesting, Richard. On Thu, Dec 31, 2009 at 11:16 AM, Michael Kann <mikekann at yahoo.com> wrote: > Amazon S3 Web Services might be an appropriate retirement home for the > Monks. Mark Smith is guru numero uno on that stuff: > > > http://marksmith.on-rev.com/revstuff/index.html > > > > --- On Thu, 12/31/09, Graham Samuel <livfoss at mac.com> wrote: > > > From: Graham Samuel <livfoss at mac.com> > > Subject: OT: Home wanted for If Monks Had Macs > > To: "Rev Use-List" <use-revolution at lists.runrev.com> > > Date: Thursday, December 31, 2009, 9:10 AM > > I just picked this up from the > > Tidbits digest. It seems like a good cause and I wonder if > > any lister here might be able to help. Just a thought. Sorry > > if people think it's a waste of bandwidth. > > > > Graham > > > > > 4. post-commercial software - best way to give my If > > Monks had Macs away? > > > > > > Initial Message > > > Posted by: Brian Thomas Date: Dec 30, 2009. > > > > > > Hello, Happy New Year to all. > > > > > > I'm the author of If Monks had Macs, a classic CD-ROM > > that still interests folks today and that works in Snow > > Leopard (and on Windows as well). It might be the longest > > running multimedia project in history. However, Monks is 21 > > years old this winter and I think it's time it made its own > > way in the world. I would like to make it a free download, > > and I'm asking for suggestions for ways to do that. > > > > > > I can't afford to pay to give Monks away so I'm > > looking for suggestions or offers for free hosting. I have a > > mobileme account, but there is probably a better way than > > having folks log on to my public folder. It doesn't seem to > > allow regular downloads. > > > > > > Monks for Macs is 200 megabytes, the Windows version > > is about the same. However, they both share the same 150 mbs > > of art & audio. > > > > > > My regular website can't host the files. However, if > > you visit it you will see that to celebrate Monk's 21st > > birthday I have just quietly made available a free re-make > > for one of the games in Monks that I want. It is beautifully > > illustrated, quick and deep. And it is an excellent reminder > > or introduction to what Monks is. The remake of Killing Time > > will be formally announced with the release of the free > > Monks early next year: > > > > > > <http://rivertext.com/> > > > > > > Thanks, > > > > > > Brian Thomas > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Brian From ambassador at fourthworld.com Thu Dec 31 14:39:33 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 31 Dec 2009 11:39:33 -0800 Subject: OT: Home wanted for If Monks Had Macs Message-ID: <4B3CFDF5.50007@fourthworld.com> Brian Thomas wrote: > I appreciate all the suggestions and offers for distributing Monks. I am > considering all of them as I prepare the files. > > this is the first that I have heard of RevJournal. I just googled it and it > looks very interesting, Richard. Thanks, Brian. I have plenty of space and bandwidth available there, or we could host it on fourthworld.com where we currently have If Monks Had Macs' Sophie. -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.com/blog.irv From mcgrath3 at mac.com Thu Dec 31 15:35:21 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 31 Dec 2009 15:35:21 -0500 Subject: iRev - Ajax - jQuery In-Reply-To: <533099.11306.qm@web56705.mail.re3.yahoo.com> References: <533099.11306.qm@web56705.mail.re3.yahoo.com> Message-ID: <FE644D20-6215-4F15-A00B-12D85674BFE7@mac.com> Michael, Yeah that page looks normal and works normal on the actual iPhone in my app and in Mobile Safari. It was not meant to look good in a desktop browser. Also the 10 of 70 is timed to go away on the iphone and allow for swipes. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 31, 2009, at 2:02 PM, Michael Kann wrote: > Impressive. > > One little nitpick. I'm on Mozilla Firefox on Windows. When I look > at the thumbnails the numbers (10 of 70) cover up the top part of > the thumbnail. Is that what you had in mind? > > Here's the page I was looking at: > > http://demoted.lazyriver.on-rev.com/DeMotedUploads/gallery.php?gallery_id=test2#thumbs > From mcgrath3 at mac.com Thu Dec 31 15:36:15 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 31 Dec 2009 15:36:15 -0500 Subject: iRev - Ajax - jQuery In-Reply-To: <597362.56198.qm@web56701.mail.re3.yahoo.com> References: <597362.56198.qm@web56701.mail.re3.yahoo.com> Message-ID: <52E0B844-062E-499E-86E8-70A864E09415@mac.com> Yeah I have about 200 insults included. The restaurant idea is great... I'll look into it.... Thanks Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 31, 2009, at 2:05 PM, Michael Kann wrote: > Thomas, do the uploaders have to make up their own insults. It might > be nice to have a catalog of insults to choose from. > > There used to be a bar in Chicago which was famous for insulting its > customers. I assume it is still there. You could make a deal with > the restaurant to insult all of their customers. From mikekann at yahoo.com Thu Dec 31 15:41:01 2009 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 31 Dec 2009 12:41:01 -0800 (PST) Subject: iRev - Ajax - jQuery In-Reply-To: <FE644D20-6215-4F15-A00B-12D85674BFE7@mac.com> Message-ID: <830537.99664.qm@web56708.mail.re3.yahoo.com> I read more carefully and noticed that you do include insults to choose from. DeMote me! Can the people on the phone end call up a number to get the images or do they have to be on the Internet? --- On Thu, 12/31/09, Thomas McGrath III <mcgrath3 at mac.com> wrote: > From: Thomas McGrath III <mcgrath3 at mac.com> > Subject: Re: iRev - Ajax - jQuery > To: "How to use Revolution" <use-revolution at lists.runrev.com> > Date: Thursday, December 31, 2009, 2:35 PM > Michael, > > Yeah that page looks normal and works normal on the actual > iPhone in my app and in Mobile Safari. It was not meant to > look good in a desktop browser. Also the 10 of 70 is timed > to go away on the iphone and allow for swipes. > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > > On Dec 31, 2009, at 2:02 PM, Michael Kann wrote: > > > Impressive. > > > > One little nitpick. I'm on Mozilla Firefox on Windows. > When I look at the thumbnails the numbers (10 of 70) cover > up the top part of the thumbnail. Is that what you had in > mind? > > > > Here's the page I was looking at: > > > > http://demoted.lazyriver.on-rev.com/DeMotedUploads/gallery.php?gallery_id=test2#thumbs > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jimaultwins at yahoo.com Thu Dec 31 16:43:50 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 31 Dec 2009 13:43:50 -0800 Subject: iRev - Ajax - jQuery In-Reply-To: <EE1D910D-0F11-4D93-952E-F05123BB6FED@mac.com> References: <EE1D910D-0F11-4D93-952E-F05123BB6FED@mac.com> Message-ID: <9EEBA2CC-0F72-4F27-8C79-90F7E651E0F3@yahoo.com> I use a much cleaner system for 'mashing up' code for HTML and javascript Try a couple of these tips and see if the pain goes away. --// a couple notes about browsers --// html honors both quote types, ignores extra spaces --// javascript honors both quote types --build the Rev string without ANY ampersands --use single, not double quotes get " <a href='zhrefz' class='zclassz' rel='zrelz' title='ztitlez'>" put IT & "<img src='zsrcz/' alt='zaltz'/></a> " into tImg --now do the replacements so they are easily visible/editable replace "zhrefz" with "photos/test/" in tImg replace "zclassz" with "pirobox_gall" in tImg replace "zrelz" with "lightbox" in tIm replace "ztitlez" with "Best Photo" in tImg replace "zsrcz" with "photos/test/" in tImg replace "zaltz" with tSizeSpec in tImg --send to browser put tImg --the next level of factoring could be custom props --create an image link template get " <a href='zhrefz' class='zclassz' rel='zrelz' title='ztitlez'>" get IT & "<img src='zsrcz/' alt='zaltz'/></a> " set the cpImgLinkTmpl of this stack to IT save this stack --now use the image link template put the cpImgLinkTmpl of this stack into tImg replace "zhrefz" with "photos/test/" in tImg replace "zclassz" with "pirobox_gall" in tImg replace "zrelz" with "lightbox" in tIm replace "ztitlez" with "Best Photo" in tImg replace "zsrcz" with "photos/test/" in tImg replace "zaltz" with tSizeSpec in tImg --send to browser put tImg Hope this gives you some ideas. Jim Ault Las Vegas On Dec 31, 2009, at 7:41 AM, Thomas McGrath III wrote: > And NO ONE should ever have to look at something like this again, > let alone have to type it: > put "<a href=" & quote & "photos/test/" & L & quote && " class=" & > quote & "pirobox_gall" & quote & && " rel=" & quote & "lightbox" & > quote & && " title=" & quote & L & quote & "><img src=" & quote & > "photos/test/" & L & quote & " alt=" & quote & L & quote && > tSizeSpec & "/></a>" into tImg From mcgrath3 at mac.com Thu Dec 31 17:22:02 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 31 Dec 2009 17:22:02 -0500 Subject: iRev - Ajax - jQuery In-Reply-To: <830537.99664.qm@web56708.mail.re3.yahoo.com> References: <830537.99664.qm@web56708.mail.re3.yahoo.com> Message-ID: <272314A6-8D3C-4F73-A0C2-EEF584FA00CD@mac.com> The DeMoted Viewer works either over wifi or edge/3g network for viewing the shared images. Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 31, 2009, at 3:41 PM, Michael Kann wrote: > I read more carefully and noticed that you do include insults to > choose from. DeMote me! > > Can the people on the phone end call up a number to get the images > or do they have to be on the Internet? > > > --- On Thu, 12/31/09, Thomas McGrath III <mcgrath3 at mac.com> wrote: > >> From: Thomas McGrath III <mcgrath3 at mac.com> >> Subject: Re: iRev - Ajax - jQuery >> To: "How to use Revolution" <use-revolution at lists.runrev.com> >> Date: Thursday, December 31, 2009, 2:35 PM >> Michael, >> >> Yeah that page looks normal and works normal on the actual >> iPhone in my app and in Mobile Safari. It was not meant to >> look good in a desktop browser. Also the 10 of 70 is timed >> to go away on the iphone and allow for swipes. >> >> Tom McGrath III >> Lazy River Software >> 3mcgrath at comcast.net >> >> iTunes Library Suite - libITS >> Information and download can be found on this page: >> http://www.lazyriversoftware.com/RevOne.html >> >> >> On Dec 31, 2009, at 2:02 PM, Michael Kann wrote: >> >>> Impressive. >>> >>> One little nitpick. I'm on Mozilla Firefox on Windows. >> When I look at the thumbnails the numbers (10 of 70) cover >> up the top part of the thumbnail. Is that what you had in >> mind? >>> >>> Here's the page I was looking at: >>> >>> http://demoted.lazyriver.on-rev.com/DeMotedUploads/gallery.php?gallery_id=test2#thumbs >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcgrath3 at mac.com Thu Dec 31 17:26:59 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 31 Dec 2009 17:26:59 -0500 Subject: iRev - Ajax - jQuery In-Reply-To: <9EEBA2CC-0F72-4F27-8C79-90F7E651E0F3@yahoo.com> References: <EE1D910D-0F11-4D93-952E-F05123BB6FED@mac.com> <9EEBA2CC-0F72-4F27-8C79-90F7E651E0F3@yahoo.com> Message-ID: <C903EFCB-1D6E-4E81-8268-206C320903B5@mac.com> That is much less painful for sure, by an order of magnitude. I didn't know that the iRev environment can save it self as a stack? Is that right? And then of course if it is true then the custom props is possible too then? This is much easier. Thanks Jim Tom McGrath III Lazy River Software 3mcgrath at comcast.net iTunes Library Suite - libITS Information and download can be found on this page: http://www.lazyriversoftware.com/RevOne.html On Dec 31, 2009, at 4:43 PM, Jim Ault wrote: > I use a much cleaner system for 'mashing up' code for HTML and > javascript > Try a couple of these tips and see if the pain goes away. > > > --// a couple notes about browsers > --// html honors both quote types, ignores extra spaces > --// javascript honors both quote types > > --build the Rev string without ANY ampersands > --use single, not double quotes > get " <a href='zhrefz' class='zclassz' rel='zrelz' > title='ztitlez'>" > put IT & "<img src='zsrcz/' alt='zaltz'/></a> " into tImg > --now do the replacements so they are easily visible/editable > replace "zhrefz" with "photos/test/" in tImg > replace "zclassz" with "pirobox_gall" in tImg > replace "zrelz" with "lightbox" in tIm > replace "ztitlez" with "Best Photo" in tImg > replace "zsrcz" with "photos/test/" in tImg > replace "zaltz" with tSizeSpec in tImg > --send to browser > put tImg > > --the next level of factoring could be custom props > --create an image link template > get " <a href='zhrefz' class='zclassz' rel='zrelz' > title='ztitlez'>" > get IT & "<img src='zsrcz/' alt='zaltz'/></a> " > set the cpImgLinkTmpl of this stack to IT > save this stack > --now use the image link template > put the cpImgLinkTmpl of this stack into tImg > replace "zhrefz" with "photos/test/" in tImg > replace "zclassz" with "pirobox_gall" in tImg > replace "zrelz" with "lightbox" in tIm > replace "ztitlez" with "Best Photo" in tImg > replace "zsrcz" with "photos/test/" in tImg > replace "zaltz" with tSizeSpec in tImg > --send to browser > put tImg > > Hope this gives you some ideas. > > Jim Ault > Las Vegas > > > > On Dec 31, 2009, at 7:41 AM, Thomas McGrath III wrote: > >> And NO ONE should ever have to look at something like this again, >> let alone have to type it: >> put "<a href=" & quote & "photos/test/" & L & quote && " class=" & >> quote & "pirobox_gall" & quote & && " rel=" & quote & "lightbox" & >> quote & && " title=" & quote & L & quote & "><img src=" & quote & >> "photos/test/" & L & quote & " alt=" & quote & L & quote && >> tSizeSpec & "/></a>" into tImg > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Thu Dec 31 18:07:26 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 31 Dec 2009 17:07:26 -0600 Subject: iRev - Ajax - jQuery In-Reply-To: <C903EFCB-1D6E-4E81-8268-206C320903B5@mac.com> References: <EE1D910D-0F11-4D93-952E-F05123BB6FED@mac.com> <9EEBA2CC-0F72-4F27-8C79-90F7E651E0F3@yahoo.com> <C903EFCB-1D6E-4E81-8268-206C320903B5@mac.com> Message-ID: <4B3D2EAE.3000307@hyperactivesw.com> Thomas McGrath III wrote: > That is much less painful for sure, by an order of magnitude. > I didn't know that the iRev environment can save it self as a stack? Is > that right? No, I think Jim was talking about when you use a regular stack. But for the record, I use the template approach in almost all the web work I do. If you're using an irev page, then instead of storing the template as a stack property, store it as a text file on the server and retrieve it from there. I do that with the old-style CGIs too. > And then of course if it is true then the custom props is possible too > then? Nope. An irev page is just text. But I really liked his idea about using single quotes, too. I forgot that html honors those, and it would make my life a lot easier if I use them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sundown at pacifier.com Thu Dec 31 18:39:37 2009 From: sundown at pacifier.com (-= JB =-) Date: Thu, 31 Dec 2009 15:39:37 -0800 Subject: OT: Home wanted for If Monks Had Macs In-Reply-To: <393FC970-DC7B-4C5F-9D19-8157B294B77D@mac.com> References: <393FC970-DC7B-4C5F-9D19-8157B294B77D@mac.com> Message-ID: <C5703340-1951-464C-8401-163FF903DED8@pacifier.com> Macintosh Garden is a good place for Mac Software that is no longer being sold. http://www.macintoshgarden.org/ A lot of times they will link their larger files to be downloaded at http://www.megaupload.com/ and http://rapidshare.com/ I am sure they would love to post your program and the proper links since they are dedicated to saving old software and providing people with a way to download it. -=>JB<=- On Dec 31, 2009, at 7:10 AM, Graham Samuel wrote: > I just picked this up from the Tidbits digest. It seems like a good > cause and I wonder if any lister here might be able to help. Just a > thought. Sorry if people think it's a waste of bandwidth. > > Graham > >> 4. post-commercial software - best way to give my If Monks had >> Macs away? >> >> Initial Message >> Posted by: Brian Thomas Date: Dec 30, 2009. >> >> Hello, Happy New Year to all. >> >> I'm the author of If Monks had Macs, a classic CD-ROM that still >> interests folks today and that works in Snow Leopard (and on >> Windows as well). It might be the longest running multimedia >> project in history. However, Monks is 21 years old this winter and >> I think it's time it made its own way in the world. I would like >> to make it a free download, and I'm asking for suggestions for >> ways to do that. >> >> I can't afford to pay to give Monks away so I'm looking for >> suggestions or offers for free hosting. I have a mobileme account, >> but there is probably a better way than having folks log on to my >> public folder. It doesn't seem to allow regular downloads. >> >> Monks for Macs is 200 megabytes, the Windows version is about the >> same. However, they both share the same 150 mbs of art & audio. >> >> My regular website can't host the files. However, if you visit it >> you will see that to celebrate Monk's 21st birthday I have just >> quietly made available a free re-make for one of the games in >> Monks that I want. It is beautifully illustrated, quick and deep. >> And it is an excellent reminder or introduction to what Monks is. >> The remake of Killing Time will be formally announced with the >> release of the free Monks early next year: >> >> <http://rivertext.com/> >> >> Thanks, >> >> Brian Thomas >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jimaultwins at yahoo.com Thu Dec 31 18:52:53 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 31 Dec 2009 15:52:53 -0800 Subject: iRev - Ajax - jQuery In-Reply-To: <C903EFCB-1D6E-4E81-8268-206C320903B5@mac.com> References: <EE1D910D-0F11-4D93-952E-F05123BB6FED@mac.com> <9EEBA2CC-0F72-4F27-8C79-90F7E651E0F3@yahoo.com> <C903EFCB-1D6E-4E81-8268-206C320903B5@mac.com> Message-ID: <8BF4C07D-8BF1-413D-8EC6-E501D743C444@yahoo.com> On-Rev allows both irev and cgi to work on the same web page or web query. Mix and match depending on your combined environment. For pure irev scripts, you could use either text files or sql. In that case, you might want to factor another level or two to make coding simpler. ---- the following is probably more than you want to know at this moment so ignore it if you wish Now we are a short distance from the power of multidimensional arrays stored as a single text file, then use arrayDecode(allTemplates.txt) The irev script can call multiple Rev cgi (or PHP cgi) scripts that reside on any server. I am building a stack to run as cgi where each card has a web page format template that includes HTML, CSS, javascript, php, and jquery. Beyond that, it will also build a usage database for tracking a multi- site network of pages. Each card has its own custom properties, does not need a forest of text files, and parsing is all done inside Rev code. --- end of advanced ideas PS I own but don't use Rapidweaver & Dreamweaver as they mostly create more anomalies and head scratching than they solve. I do most all of my work in BBEdit (just like TextWrangler, same author), and use a very valuable tool - Firebug in FireFox To do the On-Rev desktop backup, build a little scanner app that archives the most recent file in the local folder, if it has changed since the last backup one minute ago. Have a good New Year's Eve !! Jim Ault Las Vegas On Dec 31, 2009, at 2:26 PM, Thomas McGrath III wrote: > That is much less painful for sure, by an order of magnitude. > I didn't know that the iRev environment can save it self as a stack? > Is that right? > And then of course if it is true then the custom props is possible > too then? > > This is much easier. Thanks Jim > > Tom McGrath III > Lazy River Software > 3mcgrath at comcast.net > > iTunes Library Suite - libITS > Information and download can be found on this page: > http://www.lazyriversoftware.com/RevOne.html > > > On Dec 31, 2009, at 4:43 PM, Jim Ault wrote: > >> I use a much cleaner system for 'mashing up' code for HTML and >> javascript >> Try a couple of these tips and see if the pain goes away. >> >> >> --// a couple notes about browsers >> --// html honors both quote types, ignores extra spaces >> --// javascript honors both quote types >> >> --build the Rev string without ANY ampersands >> --use single, not double quotes >> get " <a href='zhrefz' class='zclassz' rel='zrelz' >> title='ztitlez'>" >> put IT & "<img src='zsrcz/' alt='zaltz'/></a> " into tImg >> --now do the replacements so they are easily visible/editable >> replace "zhrefz" with "photos/test/" in tImg >> replace "zclassz" with "pirobox_gall" in tImg >> replace "zrelz" with "lightbox" in tIm >> replace "ztitlez" with "Best Photo" in tImg >> replace "zsrcz" with "photos/test/" in tImg >> replace "zaltz" with tSizeSpec in tImg >> --send to browser >> put tImg >> >> --the next level of factoring could be custom props >> --create an image link template >> get " <a href='zhrefz' class='zclassz' rel='zrelz' >> title='ztitlez'>" >> get IT & "<img src='zsrcz/' alt='zaltz'/></a> " >> set the cpImgLinkTmpl of this stack to IT >> save this stack >> --now use the image link template >> put the cpImgLinkTmpl of this stack into tImg >> replace "zhrefz" with "photos/test/" in tImg >> replace "zclassz" with "pirobox_gall" in tImg >> replace "zrelz" with "lightbox" in tIm >> replace "ztitlez" with "Best Photo" in tImg >> replace "zsrcz" with "photos/test/" in tImg >> replace "zaltz" with tSizeSpec in tImg >> --send to browser >> put tImg >> >> Hope this gives you some ideas. >> >> Jim Ault >> Las Vegas >> >> >> >> On Dec 31, 2009, at 7:41 AM, Thomas McGrath III wrote: >> >>> And NO ONE should ever have to look at something like this again, >>> let alone have to type it: >>> put "<a href=" & quote & "photos/test/" & L & quote && " class=" >>> & quote & "pirobox_gall" & quote & && " rel=" & quote & "lightbox" >>> & quote & && " title=" & quote & L & quote & "><img src=" & quote >>> & "photos/test/" & L & quote & " alt=" & quote & L & quote && >>> tSizeSpec & "/></a>" into tImg >> >> From zryip.theslug at gmail.com Thu Dec 31 20:01:49 2009 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 1 Jan 2010 02:01:49 +0100 Subject: [ANN] The Slug is on the road Message-ID: <64bda6470912311701r7fa68a8ev9c80426ecaaffb7@mail.gmail.com> Hi friends, First of all, I would like to wish everyone a Happy New Year. Full of successful projects both personally and professionally. This new year starts with the born of a new site devoted to RR. You could reach it at www.aslugontheroad.co.cc Enjoy! -Zryip TheSlug- wish you the best! 8) From nealk3nc at gmail.com Thu Dec 31 21:59:03 2009 From: nealk3nc at gmail.com (Neal Campbell) Date: Thu, 31 Dec 2009 21:59:03 -0500 Subject: iRev - Ajax - jQuery In-Reply-To: <8BF4C07D-8BF1-413D-8EC6-E501D743C444@yahoo.com> References: <EE1D910D-0F11-4D93-952E-F05123BB6FED@mac.com> <9EEBA2CC-0F72-4F27-8C79-90F7E651E0F3@yahoo.com> <C903EFCB-1D6E-4E81-8268-206C320903B5@mac.com> <8BF4C07D-8BF1-413D-8EC6-E501D743C444@yahoo.com> Message-ID: <325413300912311859x2d0af69ay1545c2787c8f1597@mail.gmail.com> Not meaning to stretch this way out of topic but I found a great tool for debugging (in addition to firebug) which is the Charles debugging proxy http://www.charlesproxy.com/ Shows the post actions, AMF messages for those of us that use Flex, etc. Really a value-packed utility for 40 bucks. Best wishes for the new year! Neal Campbell Abroham Neal Software www.abrohamnealsoftware.com (540) 242 0911 Amateur Radio: K3NC Blog: http://www.abrohamnealsoftware.com/blog/ DXBase bug reports: email to cases at dxbase.fogbugz.com Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/ On Thu, Dec 31, 2009 at 6:52 PM, Jim Ault <jimaultwins at yahoo.com> wrote: > On-Rev allows both irev and cgi to work on the same web page or web query. > Mix and match depending on your combined environment. > > For pure irev scripts, you could use either text files or sql. > In that case, you might want to factor another level or two to make coding > simpler. > > ---- the following is probably more than you want to > know at this moment > so ignore it if you wish > Now we are a short distance from the power of > multidimensional arrays stored as a single text file, > then use arrayDecode(allTemplates.txt) > > The irev script can call multiple Rev cgi (or PHP cgi) scripts that reside > on any server. > > I am building a stack to run as cgi where each card has a web page format > template that includes HTML, CSS, javascript, php, and jquery. Beyond that, > it will also build a usage database for tracking a multi-site network of > pages. Each card has its own custom properties, does not need a forest of > text files, and parsing is all done inside Rev code. > --- end of advanced ideas > > PS I own but don't use Rapidweaver & Dreamweaver as they mostly create > more anomalies and head scratching than they solve. > > I do most all of my work in BBEdit (just like TextWrangler, same author), > and use a very valuable tool - Firebug in FireFox > > To do the On-Rev desktop backup, build a little scanner app that archives > the most recent file in the local folder, if it has changed since the last > backup one minute ago. > > Have a good New Year's Eve !! > > Jim Ault > Las Vegas > > > On Dec 31, 2009, at 2:26 PM, Thomas McGrath III wrote: > > That is much less painful for sure, by an order of magnitude. >> I didn't know that the iRev environment can save it self as a stack? Is >> that right? >> And then of course if it is true then the custom props is possible too >> then? >> >> This is much easier. Thanks Jim >> >> Tom McGrath III >> Lazy River Software >> 3mcgrath at comcast.net >> >> iTunes Library Suite - libITS >> Information and download can be found on this page: >> http://www.lazyriversoftware.com/RevOne.html >> >> >> On Dec 31, 2009, at 4:43 PM, Jim Ault wrote: >> >> I use a much cleaner system for 'mashing up' code for HTML and javascript >>> Try a couple of these tips and see if the pain goes away. >>> >>> >>> --// a couple notes about browsers >>> --// html honors both quote types, ignores extra spaces >>> --// javascript honors both quote types >>> >>> --build the Rev string without ANY ampersands >>> --use single, not double quotes >>> get " <a href='zhrefz' class='zclassz' rel='zrelz' title='ztitlez'>" >>> put IT & "<img src='zsrcz/' alt='zaltz'/></a> " into tImg >>> --now do the replacements so they are easily visible/editable >>> replace "zhrefz" with "photos/test/" in tImg >>> replace "zclassz" with "pirobox_gall" in tImg >>> replace "zrelz" with "lightbox" in tIm >>> replace "ztitlez" with "Best Photo" in tImg >>> replace "zsrcz" with "photos/test/" in tImg >>> replace "zaltz" with tSizeSpec in tImg >>> --send to browser >>> put tImg >>> >>> --the next level of factoring could be custom props >>> --create an image link template >>> get " <a href='zhrefz' class='zclassz' rel='zrelz' title='ztitlez'>" >>> get IT & "<img src='zsrcz/' alt='zaltz'/></a> " >>> set the cpImgLinkTmpl of this stack to IT >>> save this stack >>> --now use the image link template >>> put the cpImgLinkTmpl of this stack into tImg >>> replace "zhrefz" with "photos/test/" in tImg >>> replace "zclassz" with "pirobox_gall" in tImg >>> replace "zrelz" with "lightbox" in tIm >>> replace "ztitlez" with "Best Photo" in tImg >>> replace "zsrcz" with "photos/test/" in tImg >>> replace "zaltz" with tSizeSpec in tImg >>> --send to browser >>> put tImg >>> >>> Hope this gives you some ideas. >>> >>> Jim Ault >>> Las Vegas >>> >>> >>> >>> On Dec 31, 2009, at 7:41 AM, Thomas McGrath III wrote: >>> >>> And NO ONE should ever have to look at something like this again, let >>>> alone have to type it: >>>> put "<a href=" & quote & "photos/test/" & L & quote && " class=" & >>>> quote & "pirobox_gall" & quote & && " rel=" & quote & "lightbox" & quote & >>>> && " title=" & quote & L & quote & "><img src=" & quote & "photos/test/" & L >>>> & quote & " alt=" & quote & L & quote && tSizeSpec & "/></a>" into tImg >>>> >>> >>> >>> > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Thu Dec 31 22:52:57 2009 From: katir at hindu.org (Sivakatirswami) Date: Thu, 31 Dec 2009 17:52:57 -1000 Subject: iRev - Ajax - jQuery In-Reply-To: <8BF4C07D-8BF1-413D-8EC6-E501D743C444@yahoo.com> References: <EE1D910D-0F11-4D93-952E-F05123BB6FED@mac.com> <9EEBA2CC-0F72-4F27-8C79-90F7E651E0F3@yahoo.com> <C903EFCB-1D6E-4E81-8268-206C320903B5@mac.com> <8BF4C07D-8BF1-413D-8EC6-E501D743C444@yahoo.com> Message-ID: <4B3D7199.805@hindu.org> I'll second Jim motion that because we have iRev now, doesn't meant that stacks on the web server accessed by CGI aren't still very powerful tools. Like he says: instead of a mess of text files you might call as includes, or HTML templates as separate files, just push these all into a single project stack. Then, think of your CGI as a "front script" or API you use from your iRev page. It has the advantage that you can push back 80% of the content/code into the stack and dev that in the IDE instead of on the iRev page. Then you just call it with a CGI and use a little POST or GET call in your iRev page to get your data. here is really simple example. In this case I have a single function I want to call from a big stack on the iRev page: put url "http://www.himalayanacademy.com/cgi-bin/getRandomLexiconWord.cgi" into tWordOfTheDay getRandomLexiconWord.cgi reads: #!/opt/web/bin/revolution -ui on startup start using stack "../public_html/resources/lexicon/lexicon.rev" put getRandomWord() into buffer put "Content-Type: text/plain" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer end startup so you could have quite a bit of code, content, custom props etc stored in a single "project" stack, then pull this via cgi into your iRev page. and it's lightening fast too. Other advantage: I can outsource "work" on the back end stack.. I send to an editor who uses a RunRev Player to open my stack, she can do edits, clean up text, make changes etc. and periodically, I just drop that stack back on the server and bingo, updated! Happy New Year! Sivakatirswami Jim Ault wrote: > On-Rev allows both irev and cgi to work on the same web page or web query. > Mix and match depending on your combined environment. > > For pure irev scripts, you could use either text files or sql. > In that case, you might want to factor another level or two to make > coding simpler. > > ---- the following is probably more than you want to > know at this moment > so ignore it if you wish > Now we are a short distance from the power of > multidimensional arrays stored as a single text file, > then use arrayDecode(allTemplates.txt) > > The irev script can call multiple Rev cgi (or PHP cgi) scripts that > reside on any server. > > I am building a stack to run as cgi where each card has a web page > format template that includes HTML, CSS, javascript, php, and jquery. > Beyond that, it will also build a usage database for tracking a > multi-site network of pages. Each card has its own custom properties, > does not need a forest of text files, and parsing is all done inside Rev > code. > --- end of advanced ideas > > PS I own but don't use Rapidweaver & Dreamweaver as they mostly create > more anomalies and head scratching than they solve. > > I do most all of my work in BBEdit (just like TextWrangler, same > author), and use a very valuable tool - Firebug in FireFox > > To do the On-Rev desktop backup, build a little scanner app that > archives the most recent file in the local folder, if it has changed > since the last backup one minute ago. > > Have a good New Year's Eve !! > > Jim Ault > Las Vegas > > On Dec 31, 2009, at 2:26 PM, Thomas McGrath III wrote: > >> That is much less painful for sure, by an order of magnitude. >> I didn't know that the iRev environment can save it self as a stack? >> Is that right? >> And then of course if it is true then the custom props is possible too >> then? >> >> This is much easier. Thanks Jim >> >> Tom McGrath III >> Lazy River Software >> 3mcgrath at comcast.net >> >> iTunes Library Suite - libITS >> Information and download can be found on this page: >> http://www.lazyriversoftware.com/RevOne.html >> >> >> On Dec 31, 2009, at 4:43 PM, Jim Ault wrote: >> >>> I use a much cleaner system for 'mashing up' code for HTML and >>> javascript >>> Try a couple of these tips and see if the pain goes away. >>> >>> >>> --// a couple notes about browsers >>> --// html honors both quote types, ignores extra spaces >>> --// javascript honors both quote types >>> >>> --build the Rev string without ANY ampersands >>> --use single, not double quotes >>> get " <a href='zhrefz' class='zclassz' rel='zrelz' title='ztitlez'>" >>> put IT & "<img src='zsrcz/' alt='zaltz'/></a> " into tImg >>> --now do the replacements so they are easily visible/editable >>> replace "zhrefz" with "photos/test/" in tImg >>> replace "zclassz" with "pirobox_gall" in tImg >>> replace "zrelz" with "lightbox" in tIm >>> replace "ztitlez" with "Best Photo" in tImg >>> replace "zsrcz" with "photos/test/" in tImg >>> replace "zaltz" with tSizeSpec in tImg >>> --send to browser >>> put tImg >>> >>> --the next level of factoring could be custom props >>> --create an image link template >>> get " <a href='zhrefz' class='zclassz' rel='zrelz' title='ztitlez'>" >>> get IT & "<img src='zsrcz/' alt='zaltz'/></a> " >>> set the cpImgLinkTmpl of this stack to IT >>> save this stack >>> --now use the image link template >>> put the cpImgLinkTmpl of this stack into tImg >>> replace "zhrefz" with "photos/test/" in tImg >>> replace "zclassz" with "pirobox_gall" in tImg >>> replace "zrelz" with "lightbox" in tIm >>> replace "ztitlez" with "Best Photo" in tImg >>> replace "zsrcz" with "photos/test/" in tImg >>> replace "zaltz" with tSizeSpec in tImg >>> --send to browser >>> put tImg >>> >>> Hope this gives you some ideas. >>> >>> Jim Ault >>> Las Vegas >>> >>> >>> >>> On Dec 31, 2009, at 7:41 AM, Thomas McGrath III wrote: >>> >>>> And NO ONE should ever have to look at something like this again, >>>> let alone have to type it: >>>> put "<a href=" & quote & "photos/test/" & L & quote && " class=" & >>>> quote & "pirobox_gall" & quote & && " rel=" & quote & "lightbox" & >>>> quote & && " title=" & quote & L & quote & "><img src=" & quote & >>>> "photos/test/" & L & quote & " alt=" & quote & L & quote && >>>> tSizeSpec & "/></a>" into tImg >>> >>> > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Thu Dec 31 23:00:11 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 31 Dec 2009 22:00:11 -0600 Subject: [ANN] The Slug is on the road In-Reply-To: <64bda6470912311701r7fa68a8ev9c80426ecaaffb7@mail.gmail.com> References: <64bda6470912311701r7fa68a8ev9c80426ecaaffb7@mail.gmail.com> Message-ID: <4B3D734B.5070003@hyperactivesw.com> zryip theSlug wrote: > Hi friends, > > First of all, I would like to wish everyone a Happy New Year. Full of > successful projects both personally and professionally. > > > This new year starts with the born of a new site devoted to RR. > You could reach it at www.aslugontheroad.co.cc This is great, Slug. I'm starting to really like you. :) I will look forward to seeing your site fill with examples of your progress. Happy New Year! And have a good road trip. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikekann at yahoo.com Thu Dec 31 23:58:04 2009 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 31 Dec 2009 20:58:04 -0800 (PST) Subject: Does Lock Moves Work on XP? In-Reply-To: <4B3D734B.5070003@hyperactivesw.com> Message-ID: <769302.39066.qm@web56707.mail.re3.yahoo.com> Can't get lock moves to work on XP? Is it me? lock moves move grc 1 to 300,300 in 2 secs move grc 3 to 300,300 in 2 secs unlock moves -- also tried set the lockmoves to true move -- move -- set the lockmoves to false grc 1 and grc 3 don't move together they move separately, but more quickly than they should