From jacque at hyperactivesw.com Sun Nov 1 01:17:48 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 01 Nov 2009 00:17:48 -0500 Subject: go first marked card command In-Reply-To: <1257026124220-360534.post@n4.nabble.com> References: <1257010079486-350565.post@n4.nabble.com> <4AEC7AE9.8070802@hyperactivesw.com> <4AEC7C28.7070208@hyperactivesw.com> <1257013776911-356837.post@n4.nabble.com> <4AECAEE8.5030309@hyperactivesw.com> <1257026124220-360534.post@n4.nabble.com> Message-ID: <4AED19FC.4040903@hyperactivesw.com> charles61 wrote: > Here is my question. Will Arial 12 pt fonts look okay on Windows XP in > checkboxes? I was concern about the width of Arial 12 pt fonts being > greater on XP than OSX. I often use this reference: Arial is very close on both platforms. I generally leave a few pixels extra width in each field to accomodate any differences. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lists at futilism.com Sun Nov 1 05:57:59 2009 From: lists at futilism.com (Mark Smith) Date: Sun, 1 Nov 2009 10:57:59 +0000 Subject: postgresql question In-Reply-To: <371046223890.20091031183816@ahsoftware.net> References: <1121038836671.20091031163509@ahsoftware.net> <9C67F59B-2B67-4AE8-A665-0311F0A20097@futilism.com> <451044523984.20091031180956@ahsoftware.net> <371046223890.20091031183816@ahsoftware.net> Message-ID: <52009B39-9A87-4586-8AD4-6183062D4050@futilism.com> It sounds like something that should probably be handled in the revDB library. Best, Mark On 1 Nov 2009, at 01:38, Mark Wieder wrote: > Mark- > > Saturday, October 31, 2009, 6:23:35 PM, you wrote: > >> Mark, this thread may help (I'm pretty sure I got details wrong in >> the last post) > >> http://archives.postgresql.org/pgsql-general/2002-06/msg00484.php > > Hmmm. Thanks. I had previously come across this one as well. > > http://www.postgresql.org/docs/8.0/interactive/sql-createuser.html > > So it looks like revOpenDatabase() isn't going to work unless I can > somehow create a callback to catch the salt value, create the md5 > value, and then call revOpenDatabase again. > > -- > -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 barryb at libero.it Sun Nov 1 08:03:49 2009 From: barryb at libero.it (barryb at libero.it) Date: Sun, 1 Nov 2009 14:03:49 +0100 (CET) Subject: Another "How to do this in a Revlet?" thread Message-ID: <9095320.1599071257080629177.JavaMail.defaultUser@defaultHost> Richard Gaskin wrote: >Anyone else here see this behavior? Yes, it happens to me too but if I cut and paste the url into the Location Bar it doesn't go anywhere! regards Barry Barber From jerry.daniels at me.com Sun Nov 1 08:42:01 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Sun, 1 Nov 2009 07:42:01 -0600 Subject: [ANN] tRev Easter Egg Alert! Message-ID: tRev-ers, This is an official tRev Easter Egg alert! There actually clues in Friday night's update. If you think you have found the egg, email me, but don't post anything about it here or on the tRev site (www.reveditor.com). It plays a starring role in our November 6th Feature Friday. I can say no more. Best, Jerry Daniels jerry at reveditor.com The latest tRev Video: http://reveditor.com/feature-friday-save-from-browser-and-color-pr From ambassador at fourthworld.com Sun Nov 1 10:06:52 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 01 Nov 2009 07:06:52 -0800 Subject: [Q] Windows compiled applications and the Task Bar Message-ID: <4AEDA40C.8010200@fourthworld.com> J. Landman Gay wrote: > Shao Sean wrote: >>> what was wrong with it? >> >> It used to be styled as a palette instead of a document window > > I guess I must have known that, but it left the building. Anyway, > modeless windows look just like toplevel windows now. The only > difference I can see is that you lose the asterisk after the stack name. On XP? In Rev 4? This has been a concern of mine as well, so I just tested it here and I got what I've always got, what Sean reported: modeless has an appearance almost identical to palettes, with shorter drag bar than normal, no window menu, just a small closebox without other window trimmings, and the title is drawn almost flush left in the title region, with almost no margin. Recipe: 1. Create a new stack 2. Run this in the Message Box: set the style of this stack to modeless No changes to decorations, no other steps needed. Very odd, almost certainly a long-overlooked bug. It's a drag because modeless windows would otherwise provide a great way to have auxiliary windows with normal layering which are not documents, leaving toplevel for document use. Such an arrangement can simplify a lot of coding in a document-based app, and is exactly what modeless windows provide on Mac. But because of this weird palette-looking appearance thing, I can't rely on modeless for any of my cross-platform apps. I did a brief search in the RQCC for this, and while I found a few loosely related things nothing reporting this specific rendering anomaly. Anyone here know if such a report has been filed? URL? -- 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 shaosean at wehostmacs.com Sun Nov 1 10:25:03 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Sun, 1 Nov 2009 10:25:03 -0500 Subject: [REQ] Windows tester right now Message-ID: Am looking for someone who can do some quick testing for me, but I need the testing done right away.. Should only take a few minutes of your time and you will be rewarded with a free copy ;-) Email me off-list < support AT shaosean DOT tk > From larsbrehmer at mac.com Sun Nov 1 10:31:00 2009 From: larsbrehmer at mac.com (Lars Brehmer) Date: Sun, 01 Nov 2009 17:31:00 +0200 Subject: Difference between XP and Vista/7? Message-ID: <5F81A29A-1C0A-4AC2-8EAA-3BF49306D1CA@mac.com> I have a standalone that is thoroughly tested in XP and I am now trying in Vista and Windows 7. I never bothered with Vista before, but Windows 7 will surely be adopted in far greater numbers than Vista was, so they are obviously extremely important now. This is a standalone that is a splashscreen with the actual program stacks in the package or program folder. Nothing unusual here - in OSX the program stacks have always been "savable." In XP as well, whether the stanalone is installed or is just a program folder sitting on the desktop containing the .exe and other program stacks. I don't use any installer for OSX, just dragging the application to the applications folder. When the free trial is launched for the first time, some custom properties which define the trial period are set in one of the stacks and saved. If the user buys the program, he receives an unlock code that also, among other things, sets some custom properties in one of the program stacks and saves it. In Vista this all works as expected in the Rev IDE and also works as a program folder with the .exe inside on the desktop. But when I actually install the program and launch it from the start menu, the necessary custom properties for defining the the trial period and then the unlocking process are not saved. I use the Inno setup compiler to create my Windows installers, and again, it always worked perfectly in XP. As you can see, I don't know a lot about Windows, I've only gotten pretty good at what it takes to get my standalones working in XP. So I guess the question is this; What is different about Vista that an installed applications works differently than one that isn't installed? Why won't it save some simple custom properties once the standalone is actually installed? Or does the problem lie in the Inno setup compiler? And is it the same for Windows 7? Any tips would be greatly appreciated! Cheers, Lars From shaosean at wehostmacs.com Sun Nov 1 10:36:26 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Sun, 1 Nov 2009 10:36:26 -0500 Subject: Difference between XP and Vista/7? Message-ID: In all operating systems you are not supposed to modify content in the application (program files) folders.. While most systems are pretty relaxed about it, if the user trying to use your software does not have privileges to modify the content of the directory your scheme stops working.. In Vista (and I am assuming Windows 7) there is the lovely virtual store which might be happening with your code seeing as it works when on the desktop but not installed in the Program Files directory.. Try saving your license stack to a safe folder (appdata) and see if that works better for you.. From m.schonewille at economy-x-talk.com Sun Nov 1 11:12:56 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 1 Nov 2009 17:12:56 +0100 Subject: [REQ] Windows tester right now In-Reply-To: References: Message-ID: <93DC0092-FF4C-4515-A6B9-A76418A9F0B9@economy-x-talk.com> Feel free to send me an e-mail off-list. I can turn on my PC for you. -- 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 On 1 nov 2009, at 16:25, Shao Sean wrote: > Am looking for someone who can do some quick testing for me, but I > need the testing done right away.. Should only take a few minutes of > your time and you will be rewarded with a free copy ;-) From m.schonewille at economy-x-talk.com Sun Nov 1 11:14:18 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 1 Nov 2009 17:14:18 +0100 Subject: Affiliate Settings Message-ID: <929983AA-D920-4BA4-92DD-E9E7E6C49265@economy-x-talk.com> Hi, What are the affiliate settings in the standalone settings window of Rev 4? -- 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 From toolbook at kestner.de Sun Nov 1 11:19:40 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sun, 1 Nov 2009 17:19:40 +0100 Subject: AW: Difference between XP and Vista/7? In-Reply-To: <5F81A29A-1C0A-4AC2-8EAA-3BF49306D1CA@mac.com> Message-ID: <7341CEBF69F3436388BC41ED054015C4@Kestner.local> Hi Lars, as Shao already pointed out, you may not write / update to the program dir, as far, as you haven't given full access for a normal user to your sub dir. The installer (inno) gets from vista once admin persmissions because of the name of the setup to allow him to write to the program dir. But your standalone may not. As Shoa told you, Vista, 7 and later will virtualize your files to the virtual store, if you attempt to write / update to the program dir (or sub dir of the program dir). Usually this happens completely transparent, so that it gives you a feeling, as if you HAVE updated your file in the program dir, but actually it was copied to the virtual store and will bring you into trouble in the future, because you have two files (read the posts in the archives "Vista virtualize", especially of Ken Ray: http://www.sonsothunder.com/devres/revolution/tips/env007.htm) So that is why I actually am unsure, what is going on in your case, when you say, the update of the preferences wasn't taken. Conclusion, as Shao also said, is you should put your files, which have to be updated in a writeable dir. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Lars Brehmer > Gesendet: Sonntag, 1. November 2009 16:31 > An: use-revolution at lists.runrev.com > Betreff: Difference between XP and Vista/7? > > I have a standalone that is thoroughly tested in XP and I am now > trying in Vista and Windows 7. I never bothered with Vista before, but > Windows 7 will surely be adopted in far greater numbers than Vista > was, so they are obviously extremely important now. > > This is a standalone that is a splashscreen with the actual program > stacks in the package or program folder. Nothing unusual here - in > OSX the program stacks have always been "savable." In XP as well, > whether the stanalone is installed or is just a program folder sitting > on the desktop containing the .exe and other program stacks. I don't > use any installer for OSX, just dragging the application to the > applications folder. > > When the free trial is launched for the first time, some custom > properties which define the trial period are set in one of the stacks > and saved. If the user buys the program, he receives an unlock code > that also, among other things, sets some custom properties in one of > the program stacks and saves it. > > In Vista this all works as expected in the Rev IDE and also works as a > program folder with the .exe inside on the desktop. But when I > actually install the program and launch it from the start menu, the > necessary custom properties for defining the the trial period and then > the unlocking process are not saved. > > I use the Inno setup compiler to create my Windows installers, and > again, it always worked perfectly in XP. As you can see, I don't know > a lot about Windows, I've only gotten pretty good at what it takes to > get my standalones working in XP. > > So I guess the question is this; What is different about Vista that an > installed applications works differently than one that isn't > installed? Why won't it save some simple custom properties once the > standalone is actually installed? Or does the problem lie in the Inno > setup compiler? And is it the same for Windows 7? > > Any tips would be greatly appreciated! > > Cheers, > > Lars > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 toolbook at kestner.de Sun Nov 1 11:20:44 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sun, 1 Nov 2009 17:20:44 +0100 Subject: AW: [REQ] Windows tester right now In-Reply-To: Message-ID: <4F67DE5A67394FEBB4F9FF7680540D65@Kestner.local> Could also give some assistance Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Shao Sean > Gesendet: Sonntag, 1. November 2009 16:25 > An: use-revolution at lists.runrev.com > Betreff: [REQ] Windows tester right now > > Am looking for someone who can do some quick testing for me, but I > need the testing done right away.. Should only take a few minutes of > your time and you will be rewarded with a free copy ;-) > > Email me off-list < support AT shaosean DOT tk > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Sun Nov 1 11:44:46 2009 From: coiin at verizon.net (Colin Holgate) Date: Sun, 01 Nov 2009 11:44:46 -0500 Subject: [REQ] Windows tester right now In-Reply-To: References: Message-ID: Mr. VMWare Fusion and Windows 7 is here if that would help. From ambassador at fourthworld.com Sun Nov 1 12:51:03 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 01 Nov 2009 09:51:03 -0800 Subject: Affiliate Settings Message-ID: <4AEDCA87.6020708@fourthworld.com> Mark Schonewille wrote: > What are the affiliate settings in the standalone settings window of > Rev 4? The presence of an "Affiliate ID" field suggests they're finally restarting their affiliate program. Nice. For those unfamiliar with affiliate programs, they allow tracking of links from your site to a vendor's so you can earn commissions on referred sales. Amazon has a great affiliate program, and most of my WebMerge customers are affiliate marketers (we even have our own affiliate program for WebMerge, an easy thing to set up with the Miva Merchant shopping cart). I just searched runrev.com for "affiliate" and came up empty, so I'm not completely certain that's what the "Affiliate ID" field is for - but I sure hope so. -- 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 mwieder at ahsoftware.net Sun Nov 1 13:28:40 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 1 Nov 2009 10:28:40 -0800 Subject: postgresql question In-Reply-To: <52009B39-9A87-4586-8AD4-6183062D4050@futilism.com> References: <1121038836671.20091031163509@ahsoftware.net> <9C67F59B-2B67-4AE8-A665-0311F0A20097@futilism.com> <451044523984.20091031180956@ahsoftware.net> <371046223890.20091031183816@ahsoftware.net> <52009B39-9A87-4586-8AD4-6183062D4050@futilism.com> Message-ID: <1851106847750.20091101102840@ahsoftware.net> Mark- Sunday, November 1, 2009, 2:57:59 AM, you wrote: > It sounds like something that should probably be handled in the revDB > library. Update and resolution: I sniffed the network traffic and found that the library is indeed handling the md5 encryption properly for me. I was trying to hand the revOpenDatabase command an encrypted password and the library was encrypting it again. So the following works whether the server is configured for "trust" or "md5": put revOpenDatabase("postgresql", kServer, kDB, kUser, kPassword) into tDB and looking at the network traffic shows that the library is encrypting the password based on the salt value received from the server. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sun Nov 1 13:40:08 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 01 Nov 2009 12:40:08 -0600 Subject: [Q] Windows compiled applications and the Task Bar In-Reply-To: <4AEDA40C.8010200@fourthworld.com> References: <4AEDA40C.8010200@fourthworld.com> Message-ID: <4AEDD608.5020206@hyperactivesw.com> Richard Gaskin wrote: > J. Landman Gay wrote: > >> Shao Sean wrote: >>>> what was wrong with it? >>> >>> It used to be styled as a palette instead of a document window >> >> I guess I must have known that, but it left the building. Anyway, >> modeless windows look just like toplevel windows now. The only >> difference I can see is that you lose the asterisk after the stack name. > > On XP? In Rev 4? Sorry, I only looked in OS X, so I guess it isn't fixed after all. Didn't mean to mislead. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cszasz at mac.com Sun Nov 1 13:59:09 2009 From: cszasz at mac.com (charles61) Date: Sun, 1 Nov 2009 10:59:09 -0800 (PST) Subject: Checking status of checkboxes Message-ID: <1257101949432-360614.post@n4.nabble.com> I have two sets of checkboxes. The first set consists of 11 checkboxes and the second set consists of 13 checkboxes. I want to script for the user to be able to go another marked card if one or more of the first set of checkboxes are checked AND if one or more of the second set of checkboxes are checked. In the following script I was able to set up the first condition for the first set of checkboxes so the user could go to a marked card: on mouseUp switch case (the hilite of button "check1" = true ) go first marked card break case (the hilite of button "check2" = true) go first marked card break case (the hilite of button "check3" = true) go first marked card break case (the hilite of button "check4" = true) go first marked card break case (the hilite of button "check5" = true) go first marked card break case (the hilite of button "check6" = true) go first marked card break case (the hilite of button "check7" = true) go first marked card break case (the hilite of button "check8" = true) go first marked card break case (the hilite of button "check9" = true) go first marked card break case (the hilite of button "check10" = true) go first marked card break case (the hilite of button "check11" = true) go first marked card break default answer information "Please check one of the disability areas." end switch end mouseUp My question is how do I add the second condition in my switch statements that one or more of the checkboxes are checked in the second set of checkboxes so that the user can go to the specify marked cards. By the way, the second set of checkboxes do not determine which marked cards the user can to. The second condition of the second checkboxes is only that one or more of the checkboxes are checked. -- View this message in context: http://n4.nabble.com/Checking-status-of-checkboxes-tp360614p360614.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sun Nov 1 14:18:34 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 1 Nov 2009 20:18:34 +0100 Subject: Checking status of checkboxes In-Reply-To: <1257101949432-360614.post@n4.nabble.com> References: <1257101949432-360614.post@n4.nabble.com> Message-ID: Hi charles61, Make a group of the first 11 checkboxes. Call this group "Marked". Group the remaining 13 checkboxes too and call this second group "Switch". Put the following script in your button: on mouseUp if the hilitedButton of grp "Marked" is 0 then beep answer error "Please, select a category first" else if the hilitedButton of grp "Switch" is 0 then beep answer error "Please check one of the disability areas." else go first marked cd end if end mouseUp -- 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 On 1 nov 2009, at 19:59, charles61 wrote: > > I have two sets of checkboxes. The first set consists of 11 > checkboxes and > the second set consists of 13 checkboxes. I want to script for the > user to > be able to go another marked card if one or more of the first set of > checkboxes are checked AND if one or more of the second set of > checkboxes > are checked. > > In the following script I was able to set up the first condition for > the > first set of checkboxes so the user could go to a marked card: > > on mouseUp > switch > case (the hilite of button "check1" = true ) > go first marked card > break > > case (the hilite of button "check2" = true) > go first marked card > break > > case (the hilite of button "check3" = true) > go first marked card > break > > case (the hilite of button "check4" = true) > go first marked card > break > > case (the hilite of button "check5" = true) > go first marked card > break > > case (the hilite of button "check6" = true) > go first marked card > break > > case (the hilite of button "check7" = true) > go first marked card > break > > case (the hilite of button "check8" = true) > go first marked card > break > > case (the hilite of button "check9" = true) > go first marked card > break > > case (the hilite of button "check10" = true) > go first marked card > break > > case (the hilite of button "check11" = true) > go first marked card > break > default > answer information "Please check one of the disability areas." > end switch > end mouseUp > > My question is how do I add the second condition in my switch > statements > that one or more of the checkboxes are checked in the second set of > checkboxes so that the user can go to the specify marked cards. By > the way, > the second set of checkboxes do not determine which marked cards the > user > can to. The second condition of the second checkboxes is only that > one or > more of the checkboxes are checked. From cszasz at mac.com Sun Nov 1 14:44:15 2009 From: cszasz at mac.com (charles61) Date: Sun, 1 Nov 2009 11:44:15 -0800 (PST) Subject: Checking status of checkboxes In-Reply-To: References: <1257101949432-360614.post@n4.nabble.com> Message-ID: <1257104655841-360619.post@n4.nabble.com> Mark, Thanks so much! I try your suggestion and it works beautifully! I have always use true instead of 0 in scripting checkboxes. So, I also learn more about scripting groups and checkboxes! I have thought of using groups but did not have an idea of how to do it. Mark Schonewille-3 wrote: > > Hi charles61, > > Make a group of the first 11 checkboxes. Call this group "Marked". > Group the remaining 13 checkboxes too and call this second group > "Switch". > > Put the following script in your button: > > on mouseUp > if the hilitedButton of grp "Marked" is 0 then > beep > answer error "Please, select a category first" > else if the hilitedButton of grp "Switch" is 0 then > beep > answer error "Please check one of the disability areas." > else > go first marked cd > end if > end mouseUp > > -- > 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 > > On 1 nov 2009, at 19:59, charles61 wrote: > >> >> I have two sets of checkboxes. The first set consists of 11 >> checkboxes and >> the second set consists of 13 checkboxes. I want to script for the >> user to >> be able to go another marked card if one or more of the first set of >> checkboxes are checked AND if one or more of the second set of >> checkboxes >> are checked. >> >> In the following script I was able to set up the first condition for >> the >> first set of checkboxes so the user could go to a marked card: >> >> on mouseUp >> switch >> case (the hilite of button "check1" = true ) >> go first marked card >> break >> >> case (the hilite of button "check2" = true) >> go first marked card >> break >> >> case (the hilite of button "check3" = true) >> go first marked card >> break >> >> case (the hilite of button "check4" = true) >> go first marked card >> break >> >> case (the hilite of button "check5" = true) >> go first marked card >> break >> >> case (the hilite of button "check6" = true) >> go first marked card >> break >> >> case (the hilite of button "check7" = true) >> go first marked card >> break >> >> case (the hilite of button "check8" = true) >> go first marked card >> break >> >> case (the hilite of button "check9" = true) >> go first marked card >> break >> >> case (the hilite of button "check10" = true) >> go first marked card >> break >> >> case (the hilite of button "check11" = true) >> go first marked card >> break >> default >> answer information "Please check one of the disability areas." >> end switch >> end mouseUp >> >> My question is how do I add the second condition in my switch >> statements >> that one or more of the checkboxes are checked in the second set of >> checkboxes so that the user can go to the specify marked cards. By >> the way, >> the second set of checkboxes do not determine which marked cards the >> user >> can to. The second condition of the second checkboxes is only that >> one or >> more of the checkboxes are checked. > > > _______________________________________________ > use-revolution mailing list > use-revolution 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/Checking-status-of-checkboxes-tp360614p360619.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at mac.com Sun Nov 1 14:45:16 2009 From: cszasz at mac.com (charles61) Date: Sun, 1 Nov 2009 11:45:16 -0800 (PST) Subject: Checking status of checkboxes In-Reply-To: References: <1257101949432-360614.post@n4.nabble.com> Message-ID: <1257104716284-360620.post@n4.nabble.com> Mark, Thanks so much! I tried your suggestions and they works beautifully! I have always use true instead of 0 in scripting checkboxes. So, I also learn more about scripting groups and checkboxes! I have thought of using groups but did not have an idea of how to do it. Charles Szasz cszasz at mac.com On Nov 1, 2009, at 2:18 PM, Mark Schonewille-3 [via Runtime Revolution] wrote: > Hi charles61, > > Make a group of the first 11 checkboxes. Call this group "Marked". > Group the remaining 13 checkboxes too and call this second group > "Switch". > > Put the following script in your button: > > on mouseUp > if the hilitedButton of grp "Marked" is 0 then > beep > answer error "Please, select a category first" > else if the hilitedButton of grp "Switch" is 0 then > beep > answer error "Please check one of the disability areas." > else > go first marked cd > end if > end mouseUp > > -- > 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 > > On 1 nov 2009, at 19:59, charles61 wrote: > > > > > I have two sets of checkboxes. The first set consists of 11 > > checkboxes and > > the second set consists of 13 checkboxes. I want to script for the > > user to > > be able to go another marked card if one or more of the first set of > > checkboxes are checked AND if one or more of the second set of > > checkboxes > > are checked. > > > > In the following script I was able to set up the first condition for > > the > > first set of checkboxes so the user could go to a marked card: > > > > on mouseUp > > switch > > case (the hilite of button "check1" = true ) > > go first marked card > > break > > > > case (the hilite of button "check2" = true) > > go first marked card > > break > > > > case (the hilite of button "check3" = true) > > go first marked card > > break > > > > case (the hilite of button "check4" = true) > > go first marked card > > break > > > > case (the hilite of button "check5" = true) > > go first marked card > > break > > > > case (the hilite of button "check6" = true) > > go first marked card > > break > > > > case (the hilite of button "check7" = true) > > go first marked card > > break > > > > case (the hilite of button "check8" = true) > > go first marked card > > break > > > > case (the hilite of button "check9" = true) > > go first marked card > > break > > > > case (the hilite of button "check10" = true) > > go first marked card > > break > > > > case (the hilite of button "check11" = true) > > go first marked card > > break > > default > > answer information "Please check one of the disability > areas." > > end switch > > end mouseUp > > > > My question is how do I add the second condition in my switch > > statements > > that one or more of the checkboxes are checked in the second set of > > checkboxes so that the user can go to the specify marked cards. By > > the way, > > the second set of checkboxes do not determine which marked cards the > > user > > can to. The second condition of the second checkboxes is only that > > one or > > more of the checkboxes are checked. > > > _______________________________________________ > 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/Checking-status-of-checkboxes-tp360614p360615.html > To unsubscribe from Checking status of checkboxes, click here. > -- View this message in context: http://n4.nabble.com/Checking-status-of-checkboxes-tp360614p360620.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sun Nov 1 14:53:45 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 1 Nov 2009 20:53:45 +0100 Subject: Checking status of checkboxes In-Reply-To: <1257104716284-360620.post@n4.nabble.com> References: <1257101949432-360614.post@n4.nabble.com> <1257104716284-360620.post@n4.nabble.com> Message-ID: Hi Charles, The number (0 in this case) doesn't mean that one particular button is unhilited. The 0 means that no buttons in that group are hilited. Please, read up on hilitedButton in the documentation. The docs contain essential information. -- 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 On 1 nov 2009, at 20:45, charles61 wrote: > > Mark, > > Thanks so much! I tried your suggestions and they works beautifully! I > have always use true instead of 0 in scripting checkboxes. So, I also > learn more about scripting groups and checkboxes! > > I have thought of using groups but did not have an idea of how to do > it. > > > Charles Szasz > cszasz at mac.com From larsbrehmer at mac.com Sun Nov 1 16:02:11 2009 From: larsbrehmer at mac.com (Lars Brehmer) Date: Sun, 01 Nov 2009 23:02:11 +0200 Subject: Difference between XP and Vista/7? Message-ID: Thanks Shao & Tiemo for the replies! I guess I didn't make myself very clear, or I don't completely understand your suggestions, which is of course very likely, as I am one of those weird Mac-based Rev users who only understand Macs and Rev and not much else, and certainly nothing about Windows. In the Rev IDE I have a stack - let's call it "splashScreen" that becomes the standalone application. There are also stacks "myData", "theApp", "appGraphics" and a couple of others. When I set the standalone application settings for the stack "splashScreen", in the stacks pane I then add the stacks "myData", "theApp" and "appGraphics" and the others. This gives me a standalone with the .exe and the added stacks in the program folder (Windows) or the application > Package > Contents > MacOS (OSX). All very basic. When the application opens, it opens the added stacks, which in my simple understanding ARE the program, that is, what the user actually uses. The splash screen app is just a construction to allow changes to the "actual" program stacks. I learned this 5 years ago from this very list and have been doing it this way ever since. There are hundreds of posts in the rev digest suggesting this - changes in a standalone application cannot be saved so make a splash screen the actual application and include the other stacks that might need to accept changes. So just now I found out the when I run the application "splashScreen" in Vista / 7 and want to do this; set the whatEver of stack "myData" to true save stack "myData" it isn't saved. But it isn't saved only when the application is installed via the installer I made with Inno. If the program folder is just sitting on the desktop, it does work as expected. Shao Sean wrote: > While most systems are pretty relaxed about it, if the user trying > to use your software does not have privileges to modify the content > of the directory your scheme stops working.. I have to say I don't understand this, but my natural question is how do you give the user such priveleges? Is it even possible? further; > In Vista (and I am assuming Windows 7) there is the lovely virtual > store which might be happening with your code seeing as it works > when on the desktop but not installed in the Program Files > directory.. Try saving your license stack to a safe folder (appdata) > and see if that works better for you.. I assume by "license stack " you mean what I called "myData". So how do I do this? How can I get that stack out of the program folder and into the Program Data folder? This question clearly shows how little I know and how dependent I am on the simplicity of RunRev - my standalones are 100% self contained - no databases, no writing to external files - just rev stacks and custom properties. Which al worked perfectly until Vista/7. Tiemo wrote; > as Shao already pointed out, you may not write / update to the > program dir,as far, as you haven't given full access for a normal > user to your sub dir. The installer (inno) gets from vista once > admin persmissions because of the name of the setup to allow him to > write to the program dir. But your standalone may not. again, how do I give that access to a user if it is at all possible? The problem for people like me is that what worked in MacOS, OSX and every version of Windows throught XP sp3 suddenly doesn't work anymore. And no mention by RunRev that saving changes to stacks included in the standalone no longer works, at least no mention that I have ever seen. I have been reading this digest for 5 years now for the great tips and ideas, but I don't recall seeing that the entire stack paradigm and the use of changeable custom properties changed completely when Vista was relased. True, I don't read every post as carefully as the ones that are directly applicable to my work, but I have to think that I would have noticed something this important! Then again maybe not ;-) Besides that, I am still using Rev 2.8. In newer versions does in mention in the sandalone settings that just adding stacks in Vista / 7 will not allow changes to those stacks? Does it put the added stacks somewhere else so that it does work? I am very confused at this point and would appreciate some more help. Cheers, Lars From shaosean at wehostmacs.com Sun Nov 1 16:08:29 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Sun, 1 Nov 2009 16:08:29 -0500 Subject: Difference between XP and Vista/7? Message-ID: Basically you cannot modify anything in the "Program Files" directory (or any sub-directories).. Vista does something called "virtualization" where it makes a fake copy of the "Program Files" for the use of your application when it is run.. It does this to trick your program into thinking it can still do the old XP thing of modifying the "Program Files" directory, sadly these changes are only temporary (once your program quits the changes are gone).. The best thing to do is to check the systemVersion and to use the AppData folder for Vista and greater.. You should also be doing this on Mac OS X (Application Data or Preference) as well as Linux.. Basically think like this "My program is set in stone in the application/program files directory" From runrev260805 at m-r-d.de Sun Nov 1 17:18:21 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sun, 1 Nov 2009 22:18:21 +0000 Subject: Re-2: Affiliate Settings Message-ID: <00039855.4AEE173B@the-office.us> There is also a "Be an Affiliate" menu entry under the help menu, where you can register for the affiliates programme. Regards, Matthias -------- Original Message -------- Subject: Re: Affiliate Settings (01-Nov-2009 18:57) From: Richard Gaskin To: runrev260805 at m-r-d.de > Mark Schonewille wrote: > > What are the affiliate settings in the standalone settings window of > > Rev 4? > > The presence of an "Affiliate ID" field suggests they're finally > restarting their affiliate program. Nice. > > For those unfamiliar with affiliate programs, they allow tracking of > links from your site to a vendor's so you can earn commissions on > referred sales. > > Amazon has a great affiliate program, and most of my WebMerge customers > are affiliate marketers (we even have our own affiliate program for > WebMerge, an easy thing to set up with the Miva Merchant shopping cart). > > I just searched runrev.com for "affiliate" and came up empty, so I'm not > completely certain that's what the "Affiliate ID" field is for - but I > sure hope so. > > -- > 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 > > > > > To: use-revolution at lists.runrev.com From m.schonewille at economy-x-talk.com Sun Nov 1 17:21:19 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 1 Nov 2009 23:21:19 +0100 Subject: Re-2: Affiliate Settings In-Reply-To: <00039855.4AEE173B@the-office.us> References: <00039855.4AEE173B@the-office.us> Message-ID: Thanks, Matthias. I had not seen that yet. I have registered and a dialog says I should receive an e-mail, but nothing yet so far. -- 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 On 1 nov 2009, at 23:18, runrev260805 at m-r-d.de wrote: > > There is also a "Be an Affiliate" menu entry under the help menu, > where you can register for the affiliates programme. > > Regards, > > Matthias > From runrev260805 at m-r-d.de Sun Nov 1 17:30:55 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sun, 1 Nov 2009 22:30:55 +0000 Subject: Re-4: Affiliate Settings Message-ID: <00039856.4AEE1A2E@the-office.us> I also registered (2 days ago), but did not receive any e-mail. Regards, Matthias -------- Original Message -------- Subject: Re: Re-2: Affiliate Settings (01-Nov-2009 23:22) From: Mark Schonewille To: runrev260805 at m-r-d.de > Thanks, Matthias. I had not seen that yet. I have registered and a > dialog says I should receive an e-mail, but nothing yet so far. > > -- > 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 > > On 1 nov 2009, at 23:18, runrev260805 at m-r-d.de wrote: > > > > > There is also a "Be an Affiliate" menu entry under the help menu, > > where you can register for the affiliates programme. > > > > Regards, > > > > Matthias > > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 davidocoker at gmail.com Sun Nov 1 17:50:52 2009 From: davidocoker at gmail.com (David Coker) Date: Sun, 01 Nov 2009 16:50:52 -0600 Subject: Question about combo boxes Message-ID: <4AEE10CC.4020108@gmail.com> Hello folks, I've just started a new project that will make use of several combo boxes. Some of these will be used only in a reporting function while others will determine how the processing is handled from a separate button in the stack. Question: Is there a way to extract the current item selected on any given combo box for use with the handler of a different control (button), without the use of global variables? I've tried several different ideas, none of which have worked for me. Regards, David C. From niconiko at gmail.com Sun Nov 1 17:56:34 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 2 Nov 2009 07:56:34 +0900 Subject: Question about combo boxes In-Reply-To: <4AEE10CC.4020108@gmail.com> References: <4AEE10CC.4020108@gmail.com> Message-ID: <1e91b2b70911011456t3d307a3bu8c46dca27759de3a@mail.gmail.com> I think what you want is: put the label of button "[button name]" This'll give you the actual words of the currently selected item. Another way is: put the menuhistory of button "[button name]" This'll give you the line number of the currently selected item. -- Nicolas Cueto From davidocoker at gmail.com Sun Nov 1 18:09:51 2009 From: davidocoker at gmail.com (David Coker) Date: Sun, 01 Nov 2009 17:09:51 -0600 Subject: Question about combo boxes In-Reply-To: <1e91b2b70911011456t3d307a3bu8c46dca27759de3a@mail.gmail.com> References: <4AEE10CC.4020108@gmail.com> <1e91b2b70911011456t3d307a3bu8c46dca27759de3a@mail.gmail.com> Message-ID: <4AEE153F.6050108@gmail.com> Nicolas Cueto wrote: > I think what you want is: > > put the label of button "[button name]" > > This'll give you the actual words of the currently selected item. > > Another way is: > > put the menuhistory of button "[button name]" > > This'll give you the line number of the currently selected item. Thank you Nicolas, ...I actually tried using the label property previously without any luck, so I'm guessing I must have had something else wrong in the script. Everything works like it should now. It's been almost a full year (if not longer) since the last time I did any coding with Rev, so I'm more than a little rusty. Much appreciated! David C. From alex at tweedly.net Sun Nov 1 18:17:19 2009 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 01 Nov 2009 23:17:19 +0000 Subject: on-rev.com Perl recipe In-Reply-To: <99237.63526.qm@web56701.mail.re3.yahoo.com> References: <99237.63526.qm@web56701.mail.re3.yahoo.com> Message-ID: <4AEE16FF.1060807@tweedly.net> Yes, after a few tries .... The script was simple : > #!/usr/bin/perl > > print "Content-type: text/html\n\n"; > print < > > A Simple Perl CGI > > >

A Simple Perl CGI

>

Hello World

> > HTML > exit; It's in http://www.alextweedly.on-rev.com/cgi-bin/hw.pl It's actually in /public_html/cgi-bin/hw.pl permissions is 755 The thing that took me a few tries was line endings - I initially transferred it with the on-rev client (from Windows), and that failed to convert the line endings (file was 210 bytes locally and on the server). I switched to transferring it with FileZille (setting the transfer type to ASCII, not leaaving it as auto - just to be safe). Now the file is 210 bytes on my laptop, but 196 on the server - and now it works. I had a similar problem (only took hours to solve it) when I tried using Python. So - any time I have a problem on on-rev, first thing I do is look at the line endings ... Good luck -- Alex. Michael Kann wrote: > I'm happy with how easy it is to get started with the on-rev website. I'm stuck, though, with trying to get a Perl script to work. Can anyone post a working setup recipe? I only need a feeble "hello" to get going. > > I guess I'll need: > > name of file > text of file > placement of file on server > extension on file > permissions on files and folders > > I've tried every permutation of the above and nothing has worked. > > Thanks in advance. > > Michael Kann > > > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Nov 1 20:37:16 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 2 Nov 2009 11:37:16 +1000 Subject: Question about combo boxes In-Reply-To: <4AEE153F.6050108@gmail.com> References: <4AEE10CC.4020108@gmail.com> <1e91b2b70911011456t3d307a3bu8c46dca27759de3a@mail.gmail.com> <4AEE153F.6050108@gmail.com> Message-ID: On Mon, Nov 2, 2009 at 9:09 AM, David Coker wrote: > Nicolas Cueto wrote: >> >> I think what you want is: >> >> ?put the label of button "[button name]" >> >> This'll give you the actual words of the currently selected item. >> >> Another way is: >> >> ?put the menuhistory of button "[button name]" >> >> This'll give you the line number of the currently selected item. > > Thank you Nicolas, > ...I actually tried using the label property previously without any luck, so > I'm guessing I must have had something else wrong in the script. Everything > works like it should now. You could also try getting "the selectedText". I always forget which is best as I don't think that all the menu-type buttons set the label when a different option is chosen. Cheers, Sarah From scott at elementarysoftware.com Mon Nov 2 03:59:00 2009 From: scott at elementarysoftware.com (Scott Morrow) Date: Mon, 2 Nov 2009 00:59:00 -0800 Subject: Difference between XP and Vista/7? In-Reply-To: References: Message-ID: <6A9DEC01-6BD8-4009-BDC6-54ACAEBC22B7@elementarysoftware.com> Hello Lars, Nothing new here, just another way of phrasing it. The previous posts have pointed out the importance of putting your writable files outside of the Programs folder and into a folder that the user has permission to write to. Under XP many (though not all) users and applications had permission to write to the Programs folder but under Vista the default setting is that they can't. On the Mac it is actually quite similar. While many home users DO have permission to write to the Applications folder, this is not always the case. Under managed user accounts (very common in business or education settings where IT manages the machines) the primary user may NOT be the administrator and so may not have write privileges to the Applications folder. One approach is to have the "Splash.app" start by making sure that there is a copy of the writable files in the user's < Library/Application Support > folder. If the files aren't there, it copies these files out of the Applications folder and into the user's writable directory before loading them. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ On Nov 1, 2009, at 1:02 PM, Lars Brehmer wrote: > Thanks Shao & Tiemo for the replies! > > I guess I didn't make myself very clear, or I don't completely > understand your suggestions, which is of course very likely, as I am > one of those weird Mac-based Rev users who only understand Macs and > Rev and not much else, and certainly nothing about Windows. > > In the Rev IDE I have a stack - let's call it "splashScreen" that > becomes the standalone application. There are also stacks "myData", > "theApp", "appGraphics" and a couple of others. When I set the > standalone application settings for the stack "splashScreen", in the > stacks pane I then add the stacks "myData", "theApp" and > "appGraphics" and the others. This gives me a standalone with > the .exe and the added stacks in the program folder (Windows) or the > application > Package > Contents > MacOS (OSX). All very basic. > When the application opens, it opens the added stacks, which in my > simple understanding ARE the program, that is, what the user > actually uses. The splash screen app is just a construction to allow > changes to the "actual" program stacks. I learned this 5 years ago > from this very list and have been doing it this way ever since. > There are hundreds of posts in the rev digest suggesting this - > changes in a standalone application cannot be saved so make a splash > screen the actual application and include the other stacks that > might need to accept changes. So just now I found out the when I run > the application "splashScreen" in Vista / 7 and want to do this; > > set the whatEver of stack "myData" to true > save stack "myData" > > it isn't saved. But it isn't saved only when the application is > installed via the installer I made with Inno. If the program folder > is just sitting on the desktop, it does work as expected. > > Shao Sean wrote: > >> While most systems are pretty relaxed about it, if the user trying >> to use your software does not have privileges to modify the >> content of the directory your scheme stops working.. > > > I have to say I don't understand this, but my natural question is > how do you give the user such priveleges? Is it even possible? > > further; > >> In Vista (and I am assuming Windows 7) there is the lovely virtual >> store which might be happening with your code seeing as it works >> when on the desktop but not installed in the Program Files >> directory.. Try saving your license stack to a safe folder >> (appdata) and see if that works better for you.. > > I assume by "license stack " you mean what I called "myData". So how > do I do this? How can I get that stack out of the program folder and > into the Program Data folder? This question clearly shows how little > I know and how dependent I am on the simplicity of RunRev - my > standalones are 100% self contained - no databases, no writing to > external files - just rev stacks and custom properties. Which al > worked perfectly until Vista/7. > > Tiemo wrote; > >> as Shao already pointed out, you may not write / update to the >> program dir,as far, as you haven't given full access for a normal >> user to your sub dir. The installer (inno) gets from vista once >> admin persmissions because of the name of the setup to allow him to >> write to the program dir. But your standalone may not. > > again, how do I give that access to a user if it is at all possible? > > The problem for people like me is that what worked in MacOS, OSX and > every version of Windows throught XP sp3 suddenly doesn't work > anymore. And no mention by RunRev that saving changes to stacks > included in the standalone no longer works, at least no mention that > I have ever seen. I have been reading this digest for 5 years now > for the great tips and ideas, but I don't recall seeing that the > entire stack paradigm and the use of changeable custom properties > changed completely when Vista was relased. True, I don't read every > post as carefully as the ones that are directly applicable to my > work, but I have to think that I would have noticed something this > important! Then again maybe not ;-) Besides that, I am still using > Rev 2.8. In newer versions does in mention in the sandalone settings > that just adding stacks in Vista / 7 will not allow changes to those > stacks? Does it put the added stacks somewhere else so that it does > work? I am very confused at this point and would appreciate some > more help. > > Cheers, > > Lars > _______________________________________________ > use-revolution mailing list > use-revolution 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 Nov 2 05:09:49 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 2 Nov 2009 20:09:49 +1000 Subject: on-rev.com Perl recipe In-Reply-To: <4AEE16FF.1060807@tweedly.net> References: <99237.63526.qm@web56701.mail.re3.yahoo.com> <4AEE16FF.1060807@tweedly.net> Message-ID: > So - any time I have a problem on on-rev, first thing I do is look at the > line endings ... I have to say that the On-Rev client and the On-Rev server both do a brilliant job of eliminating the line ending problems that plague standard CGI development. However if you use Perl scripts or any other CGI scripts, then this will be an issue. For Mac users, I recommend TextWrangler (the free version of BBEdit). If you choose Options while saving, you can specify the type of line endings to use. Cheers, Sarah From sarah.reichelt at gmail.com Mon Nov 2 05:14:22 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 2 Nov 2009 20:14:22 +1000 Subject: How do I check which field has the focus on / is active? In-Reply-To: References: Message-ID: Hope your tooth is better now. I think you need to use both solutions. Jan suggests setting the button's traversalOn to false so that it doesn't become the focusedObject when clicked. Klaus points out that you need to use the short name of the selectedField for your current script to work. If you put both these solutions together, then I think it should work, but if not, please post more details and we can trya gain. Cheers, Sarah On Fri, Oct 30, 2009 at 11:37 PM, William de Smet wrote: > Hi Jan & Klaus, > > None of your answers works for me :-) > Must be something else then that is bugging me. > Could be the dentist! Got to go there within the hour because of an > awful toothache. > > to be continued.... > > Greetings, > > William > > 2009/10/30 Klaus Major : >> Hi William, >> >>> Hi there all, >>> >>> How do I check which has the focus on / is the active one? >>> When I use: 'answer the selectedField' it shows me the correct field >>> but when I put the next code into a button it doesn't work anymore: >>> -- >>> on mouseUp >>> put the name of the selectedField into tData >>> >>> if tData = "number1" >>> then send mouseup to btn "check" >>> ... >>> end mouseUp >> >> ... >> put the name of the selectedField into tData >> ... >> >> If you look at the content of the variable "tDate" you will see something >> like this: >> FIELD "Name of field here..." >> !!! >> >> So if you change the line to: >> ... >> put the SHORT name of the selectedField into tData >> ... >> your script will run as exspected :-) >> >>> -- >>> Thanks! >>> Greetings, William >> >> 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 >> > _______________________________________________ > use-revolution mailing list > use-revolution 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 toolbook at kestner.de Mon Nov 2 05:33:17 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 2 Nov 2009 11:33:17 +0100 Subject: AW: Difference between XP and Vista/7? In-Reply-To: <6A9DEC01-6BD8-4009-BDC6-54ACAEBC22B7@elementarysoftware.com> Message-ID: Hi Lars, As Scott as said, from the system side, everything is said already. I think you have to deal with techniques, how to handle an app with different files at different locations, so that you can update your files, what you can't, if you store them in the program dir. You have to say goodbye to your technique of a one file standalone or a standalone at one place. For storing datas, which can be changed by the user there are a lot of different approaches. If you are using just another stack file or XML file or databases, or whatever, the common thing is the place where to store these updatable files, and that is what we have pointed to in the past posts. There are also a lot of threads to these topics. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Scott Morrow > Gesendet: Montag, 2. November 2009 09:59 > An: How to use Revolution > Betreff: Re: Difference between XP and Vista/7? > > Hello Lars, > > Nothing new here, just another way of phrasing it. The previous posts > have pointed out the importance of putting your writable files outside > of the Programs folder and into a folder that the user has permission > to write to. Under XP many (though not all) users and applications > had permission to write to the Programs folder but under Vista the > default setting is that they can't. > > On the Mac it is actually quite similar. While many home users DO > have permission to write to the Applications folder, this is not > always the case. Under managed user accounts (very common in business > or education settings where IT manages the machines) the primary user > may NOT be the administrator and so may not have write privileges to > the Applications folder. One approach is to have the "Splash.app" > start by making sure that there is a copy of the writable files in the > user's < Library/Application Support > folder. If the files aren't > there, it copies these files out of the Applications folder and into > the user's writable directory before loading them. > > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > ------------------------------------------------------ From toolbook at kestner.de Mon Nov 2 05:42:52 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 2 Nov 2009 11:42:52 +0100 Subject: AW: Difference between XP and Vista/7? In-Reply-To: Message-ID: <9E78250600344C5889CAFE176F7F47AD@Kestner.local> ...add: Probably you now have understood, why it is working, when you host your file on the desktop - because it is not the program dir.... The paradigm of runrev hasn't changed. It's not a matter of rev, so you won't find anything in the docs. It is a matter of the system. You have never had the rights to update a rev stack in a dir, without the user permissions on that dir. That was always ever, since the beginning. The only thing what has changed, as we already pointed out, is that MS has changed his paradigm, how to handle user rights on the program dir and others... HTH Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB > Gesendet: Montag, 2. November 2009 11:33 > An: 'How to use Revolution' > Betreff: AW: Difference between XP and Vista/7? > > Hi Lars, > > As Scott as said, from the system side, everything is said already. > I think you have to deal with techniques, how to handle an app with > different files at different locations, so that you can update your files, > what you can't, if you store them in the program dir. You have to say > goodbye to your technique of a one file standalone or a standalone at one > place. For storing datas, which can be changed by the user there are a lot > of different approaches. If you are using just another stack file or XML > file or databases, or whatever, the common thing is the place where to > store > these updatable files, and that is what we have pointed to in the past > posts. There are also a lot of threads to these topics. > Tiemo > > > -----Urspr?ngliche Nachricht----- > > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > > bounces at lists.runrev.com] Im Auftrag von Scott Morrow > > Gesendet: Montag, 2. November 2009 09:59 > > An: How to use Revolution > > Betreff: Re: Difference between XP and Vista/7? > > > > Hello Lars, > > > > Nothing new here, just another way of phrasing it. The previous posts > > have pointed out the importance of putting your writable files outside > > of the Programs folder and into a folder that the user has permission > > to write to. Under XP many (though not all) users and applications > > had permission to write to the Programs folder but under Vista the > > default setting is that they can't. > > > > On the Mac it is actually quite similar. While many home users DO > > have permission to write to the Applications folder, this is not > > always the case. Under managed user accounts (very common in business > > or education settings where IT manages the machines) the primary user > > may NOT be the administrator and so may not have write privileges to > > the Applications folder. One approach is to have the "Splash.app" > > start by making sure that there is a copy of the writable files in the > > user's < Library/Application Support > folder. If the files aren't > > there, it copies these files out of the Applications folder and into > > the user's writable directory before loading them. > > > > Scott Morrow > > > > Elementary Software > > (Now with 20% less chalk dust!) > > web http://elementarysoftware.com/ > > email scott at elementarysoftware.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 wow at together.net Mon Nov 2 06:43:35 2009 From: wow at together.net (Richard Miller) Date: Mon, 02 Nov 2009 06:43:35 -0500 Subject: RevWeb "ask" not working on my end In-Reply-To: <4AECAEA2.9070304@together.net> References: <1374639123.4609331256925706246.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <4AEB2C31.1070905@together.net> <4AECACEB.6000901@crcom.net> <4AECAEA2.9070304@together.net> Message-ID: <4AEEC5E7.2060301@together.net> Can anyone get an Ask dialog box to work through revweb in a browser? Tried on XP without success. Thanks. Richard Miller From davidocoker at gmail.com Mon Nov 2 07:26:25 2009 From: davidocoker at gmail.com (David Coker) Date: Mon, 02 Nov 2009 06:26:25 -0600 Subject: RevWeb "ask" not working on my end In-Reply-To: <4AEEC5E7.2060301@together.net> References: <1374639123.4609331256925706246.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <4AEB2C31.1070905@together.net> <4AECACEB.6000901@crcom.net> <4AECAEA2.9070304@together.net> <4AEEC5E7.2060301@together.net> Message-ID: <4AEECFF1.6060309@gmail.com> Richard Miller wrote: > Can anyone get an Ask dialog box to work through revweb in a browser? > Tried on XP without success. Hello Richard, I built a small stack on my Vista machine and yep, it appears to be broken at the moment. Regards, David C. From steve at theworcestersource.com Mon Nov 2 07:59:07 2009 From: steve at theworcestersource.com (Steve Checkley) Date: Mon, 2 Nov 2009 12:59:07 +0000 Subject: [ANN] Data Tree 0.9.8 beta Message-ID: <1AA20451-D1B0-49CC-B1AE-D11BFDEFF235@theworcestersource.com> Hi all, I've recently been beavering away on my Data Tree library for RunRev, which is a control that delivers platform compliant tree views for the Mac and Windows. With this latest version of the beta, I think that I'm not too far from launch. The aim is to make great looking trees that adjust their appearances when deployed to both the Mac and to Windows, yet be as easy as possible to work with. With the feedback that I've been receiving over the last month or so, I think I'm achieving that. The library comes with a help manual stack, showcasing what you can do with it. If you would like to try out the latest beta, you can find a download on the Downloads page of my site, www.theworcestersource.com . There is no longer any need to register with the site first. Best wishes, Steve www.theworcestersource.com From davidocoker at gmail.com Mon Nov 2 08:24:02 2009 From: davidocoker at gmail.com (David Coker) Date: Mon, 2 Nov 2009 07:24:02 -0600 (CST) Subject: Question about using the embedded browser Message-ID: <25571712.51257168241869.JavaMail.HAPPY-LAPPY$@happy-lappy> Hello folks, Obviously it is possible to load the browser with HTML content stored directly in the stack, but is it possible to include images stored in the stack? In particular, how does one insert an image into the HTML code in a way that the browser will look for it as a stack resource? Regards, David C. From rolf.kocherhans at id.uzh.ch Mon Nov 2 08:40:44 2009 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Mon, 2 Nov 2009 14:40:44 +0100 Subject: [ANN] Data Tree 0.9.8 beta In-Reply-To: <20091102132417.E803A48AC2E@mail.runrev.com> References: <20091102132417.E803A48AC2E@mail.runrev.com> Message-ID: Awesome ! Great Work ! Cheers Rolf Am 02.11.2009 um 14:24 schrieb use-revolution-request at lists.runrev.com: > Hi all, > > I've recently been beavering away on my Data Tree library for RunRev, > which is a control that delivers platform compliant tree views for the > Mac and Windows. With this latest version of the beta, I think that > I'm not too far from launch. > > The aim is to make great looking trees that adjust their appearances > when deployed to both the Mac and to Windows, yet be as easy as > possible to work with. With the feedback that I've been receiving over > the last month or so, I think I'm achieving that. The library comes > with a help manual stack, showcasing what you can do with it. > > If you would like to try out the latest beta, you can find a download > on the Downloads page of my site, www.theworcestersource.com . There > is no longer any need to register with the site first. > > Best wishes, > > > Steve > www.theworcestersource.com From shaosean at wehostmacs.com Mon Nov 2 09:06:03 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 2 Nov 2009 09:06:03 -0500 Subject: Question about using the embedded browser Message-ID: You need to embed the image inline as base64 data.. (note, the square brackets are part of the placeholders and should not appear in the final code) A quick break-down of the syntax -- standard html From davidocoker at gmail.com Mon Nov 2 09:22:31 2009 From: davidocoker at gmail.com (David Coker) Date: Mon, 2 Nov 2009 08:22:31 -0600 (CST) Subject: Question about using the embedded browser In-Reply-To: Message-ID: <32468740.91257171751132.JavaMail.HAPPY-LAPPY$@happy-lappy> ----- Original Message ----- You need to embed the image inline as base64 data.. (note, the square brackets are part of the placeholders and should not appear in the final code) A quick break-down of the syntax -- standard html -------------------------------------- Awesome explanation, thank you so much! ...now time to build a test stack and give it a whirl. Regards, David C. From david at dvglasgow.wanadoo.co.uk Mon Nov 2 09:36:49 2009 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Mon, 2 Nov 2009 14:36:49 +0000 Subject: Difference between XP and Vista/7? In-Reply-To: <20091102132417.4117548AC24@mail.runrev.com> References: <20091102132417.4117548AC24@mail.runrev.com> Message-ID: <861A2B3F-A917-4357-9252-F1552EFE86C3@dvglasgow.wanadoo.co.uk> On 2 Nov 2009, at 1:24 pm, Lars Brehmer wrote: > In newer versions does in mention in the sandalone settings that > just adding stacks in Vista / 7 will not allow changes to those > stacks? As far as I can tell about what you are reporting, this is a Vista Thing, not Rev Thing. In the old pre OS X days, the folder containing an App also tended to contain data, docs and whatnot. All users could run the Apps and save data in the enclosing folder. Apple then bought into the idea which had been around for a long time that all Apps should live in one place, all data somewhere else (where depending on the sort of data it was) - hence the docs folder and app folder. On Windows it has long been possible for a user to have the privilege to run exes, but not write to the folder containing the exe - and in these cases ether the save location or the privileges had to change. However, XP and earlier were kind of sloppy about this, and it was easier to fix privileges on a per user basis than stick to saving things where they 'ought' to be. Vista is not sloppy, but slippery. Rather than complaining that data can't be written, triggering an error or hanging your standalone, it will obligingly write your data to somewhere else, and pretend it has done what you ask. Your Rev program has no way of knowing where the data has gone, but it sure won't be there when you try to look for it later! What you will find is your original unchanged stack(s). So, you can save changes to stacks in Vista just don't try to do it in the Program directory. You can have the stacks initially load from the program directory, or from a custom property (see Klaus Majors recent post Re: Where to place (sub)stacks?) and you can use specialfolderpath to save elsewhere after the stacks have been changed. Often the script can be made to work the same cross platform, although depending on what it is you want to save, you might not find an entirely satisfactory place for it to go on Vista, and I assume Vista 2.0 errr... I mean Win 7. David Glasgow From JRARICK at hpsk12.net Mon Nov 2 09:42:22 2009 From: JRARICK at hpsk12.net (JACK RARICK) Date: Mon, 2 Nov 2009 09:42:22 -0500 Subject: Difference between XP and Vista/7? In-Reply-To: <861A2B3F-A917-4357-9252-F1552EFE86C3@dvglasgow.wanadoo.co.uk> References: <20091102132417.4117548AC24@mail.runrev.com> <861A2B3F-A917-4357-9252-F1552EFE86C3@dvglasgow.wanadoo.co.uk> Message-ID: And does this count for any text files being written to the same program folder? And ... sorry ... if the program is ran from outside of the program folder, on a flash drive for instance - is that allowed in vista/7 and will I be able to write a text file there? Sorry - trying to follow the link with only an XP machine to test on. Jack Rarick Braintree Athletic Systems -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of David Glasgow Sent: Monday, November 02, 2009 9:37 AM To: use-revolution at lists.runrev.com Subject: Re: Difference between XP and Vista/7? On 2 Nov 2009, at 1:24 pm, Lars Brehmer wrote: > In newer versions does in mention in the sandalone settings that > just adding stacks in Vista / 7 will not allow changes to those > stacks? As far as I can tell about what you are reporting, this is a Vista Thing, not Rev Thing. In the old pre OS X days, the folder containing an App also tended to contain data, docs and whatnot. All users could run the Apps and save data in the enclosing folder. Apple then bought into the idea which had been around for a long time that all Apps should live in one place, all data somewhere else (where depending on the sort of data it was) - hence the docs folder and app folder. On Windows it has long been possible for a user to have the privilege to run exes, but not write to the folder containing the exe - and in these cases ether the save location or the privileges had to change. However, XP and earlier were kind of sloppy about this, and it was easier to fix privileges on a per user basis than stick to saving things where they 'ought' to be. Vista is not sloppy, but slippery. Rather than complaining that data can't be written, triggering an error or hanging your standalone, it will obligingly write your data to somewhere else, and pretend it has done what you ask. Your Rev program has no way of knowing where the data has gone, but it sure won't be there when you try to look for it later! What you will find is your original unchanged stack(s). So, you can save changes to stacks in Vista just don't try to do it in the Program directory. You can have the stacks initially load from the program directory, or from a custom property (see Klaus Majors recent post Re: Where to place (sub)stacks?) and you can use specialfolderpath to save elsewhere after the stacks have been changed. Often the script can be made to work the same cross platform, although depending on what it is you want to save, you might not find an entirely satisfactory place for it to go on Vista, and I assume Vista 2.0 errr... I mean Win 7. 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 shaosean at wehostmacs.com Mon Nov 2 09:45:59 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 2 Nov 2009 09:45:59 -0500 Subject: Difference between XP and Vista/7? Message-ID: <13293E1D-9347-4449-B14E-D8358EBF0520@wehostmacs.com> Jack, you should be fine if the application is not in the "Program Files" directory (or "Applications" directory on Mac OS X).. From ambassador at fourthworld.com Mon Nov 2 10:36:46 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Nov 2009 07:36:46 -0800 Subject: Difference between XP and Vista/7? Message-ID: <4AEEFC8E.1070403@fourthworld.com> This article from the newsletter may help: Revolution and Vista: File and Registry Virtualization by Marcus van Houdt and Ken Ray -- 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 yvescoppe at skynet.be Mon Nov 2 12:51:23 2009 From: yvescoppe at skynet.be (Yves COPPE) Date: Mon, 2 Nov 2009 18:51:23 +0100 Subject: [ANN] Data Tree 0.9.8 beta In-Reply-To: <1AA20451-D1B0-49CC-B1AE-D11BFDEFF235@theworcestersource.com> References: <1AA20451-D1B0-49CC-B1AE-D11BFDEFF235@theworcestersource.com> Message-ID: <124FE51A-84B6-4254-888D-61D9477CD7DB@skynet.be> Le 2 nov. 09 ? 13:59, Steve Checkley a ?crit : > Hi all, > > I've recently been beavering away on my Data Tree library for > RunRev, which is a control that delivers platform compliant tree > views for the Mac and Windows. With this latest version of the beta, > I think that I'm not too far from launch. > > The aim is to make great looking trees that adjust their appearances > when deployed to both the Mac and to Windows, yet be as easy as > possible to work with. With the feedback that I've been receiving > over the last month or so, I think I'm achieving that. The library > comes with a help manual stack, showcasing what you can do with it. > > If you would like to try out the latest beta, you can find a > download on the Downloads page of my site, > www.theworcestersource.com . There is no longer any need to register > with the site first. > > Best wishes, > Re, fantastic Greetings. Yves COPPE yvescoppe at skynet.be From wow at together.net Mon Nov 2 13:26:36 2009 From: wow at together.net (Richard Miller) Date: Mon, 02 Nov 2009 13:26:36 -0500 Subject: Where is applications folder on OSX In-Reply-To: <13293E1D-9347-4449-B14E-D8358EBF0520@wehostmacs.com> References: <13293E1D-9347-4449-B14E-D8358EBF0520@wehostmacs.com> Message-ID: <4AEF245C.2090506@together.net> Is there a simple and reliable way to know where the primary Applications folder is under OSX? Is there a specialfolderpath() to it? Thanks. Richard Miller From devin_asay at byu.edu Mon Nov 2 13:30:13 2009 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 2 Nov 2009 11:30:13 -0700 Subject: Where is applications folder on OSX In-Reply-To: <4AEF245C.2090506@together.net> References: <13293E1D-9347-4449-B14E-D8358EBF0520@wehostmacs.com> <4AEF245C.2090506@together.net> Message-ID: On Nov 2, 2009, at 11:26 AM, Richard Miller wrote: > Is there a simple and reliable way to know where the primary > Applications folder is under OSX? Is there a specialfolderpath() to > it? Richard, Ken Ray has worked this all out and posted a great resource page on specialfolderpath(): http://www.sonsothunder.com/devres/revolution/tips/file010.htm Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From coiin at verizon.net Mon Nov 2 13:34:33 2009 From: coiin at verizon.net (Colin Holgate) Date: Mon, 02 Nov 2009 13:34:33 -0500 Subject: Where is applications folder on OSX In-Reply-To: <4AEF245C.2090506@together.net> References: <13293E1D-9347-4449-B14E-D8358EBF0520@wehostmacs.com> <4AEF245C.2090506@together.net> Message-ID: On Nov 2, 2009, at 1:26 PM, Richard Miller wrote: > Is there a simple and reliable way to know where the primary > Applications folder is under OSX? Is there a specialfolderpath() to > it? The help on specialfolderpath goes into great detail, and also points to this handy page: http://developer.apple.com/legacy/mac/library/documentation/Carbon/Reference/Folder_Manager/Reference/reference.html From that you can work out that this will give you the Applications path: put specialfolderpath("apps") From wow at together.net Mon Nov 2 13:37:58 2009 From: wow at together.net (Richard Miller) Date: Mon, 02 Nov 2009 13:37:58 -0500 Subject: Where is applications folder on OSX In-Reply-To: References: <13293E1D-9347-4449-B14E-D8358EBF0520@wehostmacs.com> <4AEF245C.2090506@together.net> Message-ID: <4AEF2706.5070005@together.net> So just use specialfolderpath("apps")? Is that the right syntax? Thanks. Devin Asay wrote: > > On Nov 2, 2009, at 11:26 AM, Richard Miller wrote: > >> Is there a simple and reliable way to know where the primary >> Applications folder is under OSX? Is there a specialfolderpath() to it? > > Richard, > > Ken Ray has worked this all out and posted a great resource page on > specialfolderpath(): > > http://www.sonsothunder.com/devres/revolution/tips/file010.htm > > 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 wow at together.net Mon Nov 2 13:38:22 2009 From: wow at together.net (Richard Miller) Date: Mon, 02 Nov 2009 13:38:22 -0500 Subject: Where is applications folder on OSX In-Reply-To: References: <13293E1D-9347-4449-B14E-D8358EBF0520@wehostmacs.com> <4AEF245C.2090506@together.net> Message-ID: <4AEF271E.3020204@together.net> Thanks. Colin Holgate wrote: > > On Nov 2, 2009, at 1:26 PM, Richard Miller wrote: > >> Is there a simple and reliable way to know where the primary >> Applications folder is under OSX? Is there a specialfolderpath() to it? > > The help on specialfolderpath goes into great detail, and also points > to this handy page: > > http://developer.apple.com/legacy/mac/library/documentation/Carbon/Reference/Folder_Manager/Reference/reference.html > > > From that you can work out that this will give you the Applications path: > > put specialfolderpath("apps") > > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Mon Nov 2 13:53:29 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 02 Nov 2009 20:53:29 +0200 Subject: Off-Line revlets? Message-ID: <4AEF2AA9.2040501@gmail.com> Maybe another of my goofy questions; not sure. Is it possible for an end-user to 'salvage' a revlet from a browser cache and thereby continue using it, effectively as a free-standing program, when not connected to the internet? AND; If this is, at least theoretically possible, is there a way to prevent it? From capellan2000 at gmail.com Mon Nov 2 14:04:53 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 2 Nov 2009 11:04:53 -0800 (PST) Subject: AVG antivirus version 9 flags Revolution.exe as a Virus Message-ID: <1257188693312-360823.post@n4.nabble.com> Hi all, AVG antivirus version 9, flags the archive: Revolution.exe (version 2.8.1) as a Virus named: Downloader.Swizzor This is a false positive, but stil i have not found a page to report this to AVG. If you know where to report this anomaly, please, send them a message about this error. Thanks in advance. Alejandro -- View this message in context: http://n4.nabble.com/AVG-antivirus-version-9-flags-Revolution-exe-as-a-Virus-tp360823p360823.html Sent from the Revolution - User mailing list archive at Nabble.com. From williamdesmet at gmail.com Mon Nov 2 14:11:51 2009 From: williamdesmet at gmail.com (William de Smet) Date: Mon, 2 Nov 2009 20:11:51 +0100 Subject: Off-Line revlets? In-Reply-To: <4AEF2AA9.2040501@gmail.com> References: <4AEF2AA9.2040501@gmail.com> Message-ID: Hi Richmond, There was a few days ago a thread called: RevMedia Question: Securing the revlet? Some answers were given but I didn't test it yet myself. greetings, William 2009/11/2 Richmond Mathewson : > Maybe another of my goofy questions; not sure. > > Is it possible for an end-user to 'salvage' a revlet from > a browser cache and thereby continue using it, effectively > as a free-standing program, when not connected to the internet? > > AND; > > If this is, at least theoretically possible, is there a way to prevent it? > _______________________________________________ > use-revolution mailing list > use-revolution 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 Mon Nov 2 14:12:09 2009 From: coiin at verizon.net (Colin Holgate) Date: Mon, 02 Nov 2009 14:12:09 -0500 Subject: Off-Line revlets? In-Reply-To: <4AEF2AA9.2040501@gmail.com> References: <4AEF2AA9.2040501@gmail.com> Message-ID: You can reasonably easily get the revlet file, and save the html, and run those locally. Renaming the revlet to be rev doesn't appear to give you a good stack, for what that's worth. From richmondmathewson at gmail.com Mon Nov 2 14:11:56 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 02 Nov 2009 21:11:56 +0200 Subject: AVG antivirus version 9 flags Revolution.exe as a Virus In-Reply-To: <1257188693312-360823.post@n4.nabble.com> References: <1257188693312-360823.post@n4.nabble.com> Message-ID: <4AEF2EFC.60307@gmail.com> Alejandro Tejada wrote: > Hi all, > > AVG antivirus version 9, flags the archive: > Revolution.exe (version 2.8.1) as a Virus > named: Downloader.Swizzor > > This is a false positive, but stil i have not > found a page to report this to AVG. > > If you know where to report this anomaly, > please, send them a message about this > error. > > Thanks in advance. > > Alejandro > Ugly! That reminds me of the time when any posting of mine to the use-list was flagged as "Virulent"; but, I digress . . . :) From devin_asay at byu.edu Mon Nov 2 14:17:36 2009 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 2 Nov 2009 12:17:36 -0700 Subject: Where is applications folder on OSX In-Reply-To: <4AEF2706.5070005@together.net> References: <13293E1D-9347-4449-B14E-D8358EBF0520@wehostmacs.com> <4AEF245C.2090506@together.net> <4AEF2706.5070005@together.net> Message-ID: <3227F0DB-2D6D-4EDB-8977-F19CE33C014A@byu.edu> On Nov 2, 2009, at 11:37 AM, Richard Miller wrote: > So just use specialfolderpath("apps")? Is that the right syntax? > > Thanks. I believe that's correct, yes. > > > Devin Asay wrote: >> >> On Nov 2, 2009, at 11:26 AM, Richard Miller wrote: >> >>> Is there a simple and reliable way to know where the primary >>> Applications folder is under OSX? Is there a specialfolderpath() >>> to it? >> >> Richard, >> >> Ken Ray has worked this all out and posted a great resource page on >> specialfolderpath(): >> >> http://www.sonsothunder.com/devres/revolution/tips/file010.htm >> >> 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 >> > > _______________________________________________ > use-revolution mailing list > use-revolution 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 capellan2000 at gmail.com Mon Nov 2 14:19:30 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 2 Nov 2009 11:19:30 -0800 (PST) Subject: Autocomplete field In-Reply-To: <2682A25F-4FC8-497B-AB8B-D9898FA97D37@gmail.com> References: <2682A25F-4FC8-497B-AB8B-D9898FA97D37@gmail.com> Message-ID: <1257189570992-360829.post@n4.nabble.com> Hi Peter, Many thanks again for posting the complete version of your handler. Works really great! :D I have posted in my site a new version of the stack with both handlers, working side by side. http://capellan2000.000space.com/autocomplete_names_v2.zip Have a nice weekend! Alejandro -- View this message in context: http://n4.nabble.com/Re-Autocomplete-field-tp326462p360829.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Mon Nov 2 14:21:08 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 02 Nov 2009 21:21:08 +0200 Subject: Off-Line revlets? In-Reply-To: References: <4AEF2AA9.2040501@gmail.com> Message-ID: <4AEF3124.10205@gmail.com> Colin Holgate wrote: > You can reasonably easily get the revlet file, and save the html, and > run those locally. Renaming the revlet to be rev doesn't appear to > give you a good stack, for what that's worth. > I am aware that renaming the revlet doesn't result in a stack as the build process pays put to that. However, after one h*ll of a lot of work I am about to deploy a web-based 'thing' which will be entirely FREE. Now,call me naive, call me 'Richmond' [in some quarters these are regarded as virtual synonyms . . . :) ], but I hope to pick up revenue by marketing both: 1. A standalone at a modest price (say $10) that has the same capabilities as the web-based 'thing'. and, at a later date, 2. A 'Premium' program (with expanded capabilities) for slightly more (say$100). I hope that the web-based 'thing' will act as a 'ramp' and pursuade a certain number of users to pay for either #1 or #2. Now, obviously, if the revlett is saveable, #1 is "down the kibosh". From williamdesmet at gmail.com Mon Nov 2 14:25:25 2009 From: williamdesmet at gmail.com (William de Smet) Date: Mon, 2 Nov 2009 20:25:25 +0100 Subject: How do I check which field has the focus on / is active? In-Reply-To: References: Message-ID: @ Jan, Klaus and Sarah: the dentist pulled my tooth (bummer) but your answer solved my little 'problem'. Must have been the tootache :-) Thanks! Greetings, William 2009/11/2 Sarah Reichelt : > Hope your tooth is better now. > > I think you need to use both solutions. > Jan suggests setting the button's traversalOn to false so that it > doesn't become the focusedObject when clicked. > Klaus points out that you need to use the short name of the > selectedField for your current script to work. > > If you put both these solutions together, then I think it should work, > but if not, please post more details and we can trya gain. > > Cheers, > Sarah > > > On Fri, Oct 30, 2009 at 11:37 PM, William de Smet > wrote: >> Hi Jan & Klaus, >> >> None of your answers works for me :-) >> Must be something else then that is bugging me. >> Could be the dentist! Got to go there within the hour because of an >> awful toothache. >> >> to be continued.... >> >> Greetings, >> >> William >> >> 2009/10/30 Klaus Major : >>> Hi William, >>> >>>> Hi there all, >>>> >>>> How do I check which has the focus on / is the active one? >>>> When I use: 'answer the selectedField' it shows me the correct field >>>> but when I put the next code into a button it doesn't work anymore: >>>> -- >>>> on mouseUp >>>> put the name of the selectedField into tData >>>> >>>> if tData = "number1" >>>> then send mouseup to btn "check" >>>> ... >>>> end mouseUp >>> >>> ... >>> put the name of the selectedField into tData >>> ... >>> >>> If you look at the content of the variable "tDate" you will see something >>> like this: >>> FIELD "Name of field here..." >>> !!! >>> >>> So if you change the line to: >>> ... >>> put the SHORT name of the selectedField into tData >>> ... >>> your script will run as exspected :-) >>> >>>> -- >>>> Thanks! >>>> Greetings, William >>> >>> 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 >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 Mon Nov 2 14:36:18 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 02 Nov 2009 21:36:18 +0200 Subject: How do I check which field has the focus on / is active? In-Reply-To: References: Message-ID: <4AEF34B2.8020000@gmail.com> William de Smet wrote: > @ Jan, Klaus and Sarah: the dentist pulled my tooth (bummer) but your > answer solved my little 'problem'. > Must have been the tootache :-) Thanks! > > Greetings, > > William > You lucky chap; some of us have almost no teeth left to pull out! ------------------------------------------------------------------------------ I wonder why this: if the traversalOn of fld "f5" is true then --send a message somewhere-- end if doesn't work? From davidocoker at gmail.com Mon Nov 2 14:40:44 2009 From: davidocoker at gmail.com (David Coker) Date: Mon, 2 Nov 2009 13:40:44 -0600 (CST) Subject: Off-Line revlets? In-Reply-To: <4AEF2AA9.2040501@gmail.com> Message-ID: <30769508.161257190838981.JavaMail.HAPPY-LAPPY$@happy-lappy> >Is it possible for an end-user to 'salvage' a revlet from >a browser cache and thereby continue using it, effectively >as a free-standing program, when not connected to the internet? >AND; >If this is, at least theoretically possible, is there a way to prevent it? Hello Richmond, Here is the solution that was given to my similar question a few days ago (Thanks Malte!): >this script executes a bit of javascript in the browser. The result >will then contain the URL your revLet has been launched from and you >can react accordingly. so you might want to do this on openstack for >example on openStack local tURL do "document.location.href;" in browser put the result into tURL if tURL <> "path/you/would/expect.html" then answer "You are using my revlet from an unknown location. Please use it from my site instead" -- do a redirect here if you wish or quit end if end openStack >Hope that sheds some light. >All the best, >Malte From runrev260805 at m-r-d.de Mon Nov 2 15:01:27 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Mon, 2 Nov 2009 20:01:27 +0000 Subject: Re-2: Off-Line revlets? Message-ID: <000398B6.4AEF48A6@the-office.us> Hi, i already tried that solution. It works without problems under Firefox here under Windows. But under IE8 i get no value back for "document.location.href;". Maybe due to security settings. I do not know. But that means, that IE users cannot run the revlet, although it is started from the "right" website. Regards, Matthias -------- Original Message -------- Subject: Re: Off-Line revlets? (02-Nov-2009 20:43) From: David Coker To: runrev260805 at m-r-d.de > > >Is it possible for an end-user to 'salvage' a revlet from > >a browser cache and thereby continue using it, effectively > >as a free-standing program, when not connected to the internet? > > >AND; > > >If this is, at least theoretically possible, is there a way to prevent it? > > > Hello Richmond, > Here is the solution that was given to my similar question a few days ago ( > Thanks Malte!): > > >this script executes a bit of javascript in the browser. The result > >will then contain the URL your revLet has been launched from and you > >can react accordingly. so you might want to do this on openstack for > >example > > on openStack > local tURL > do "document.location.href;" in browser > put the result into tURL > if tURL <> "path/you/would/expect.html" then > answer "You are using my revlet from an unknown location. Please use > it from my site instead" > -- do a redirect here if you wish or quit > end if > end openStack > > >Hope that sheds some light. > > >All the best, > > >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 > > > > > To: use-revolution at lists.runrev.com From briany at qldlearning.com Mon Nov 2 15:09:21 2009 From: briany at qldlearning.com (Brian Yennie) Date: Mon, 2 Nov 2009 12:09:21 -0800 Subject: Re-2: Off-Line revlets? In-Reply-To: <000398B6.4AEF48A6@the-office.us> References: <000398B6.4AEF48A6@the-office.us> Message-ID: Try: window.location.href I believe this should work for all browsers. > Hi, > > i already tried that solution. It works without problems under > Firefox here under Windows. But under IE8 i get no value back for > "document.location.href;". Maybe due to security settings. I do not > know. > > But that means, that IE users cannot run the revlet, although it is > started from the "right" website. > > Regards, > > Matthias > > -------- Original Message -------- > Subject: Re: Off-Line revlets? (02-Nov-2009 20:43) > From: David Coker > To: runrev260805 at m-r-d.de > >> >>> Is it possible for an end-user to 'salvage' a revlet from >>> a browser cache and thereby continue using it, effectively >>> as a free-standing program, when not connected to the internet? >> >>> AND; >> >>> If this is, at least theoretically possible, is there a way to >>> prevent it? >> >> >> Hello Richmond, >> Here is the solution that was given to my similar question a few >> days ago ( >> Thanks Malte!): >> >>> this script executes a bit of javascript in the browser. The result >>> will then contain the URL your revLet has been launched from and you >>> can react accordingly. so you might want to do this on openstack for >>> example >> >> on openStack >> local tURL >> do "document.location.href;" in browser >> put the result into tURL >> if tURL <> "path/you/would/expect.html" then >> answer "You are using my revlet from an unknown location. Please use >> it from my site instead" >> -- do a redirect here if you wish or quit >> end if >> end openStack >> >>> Hope that sheds some light. >> >>> All the best, >> >>> Malte From katir at hindu.org Mon Nov 2 15:25:57 2009 From: katir at hindu.org (Sivakatirswami) Date: Mon, 02 Nov 2009 10:25:57 -1000 Subject: Irev; Rev Cgi; stack as dBase: runs in iFrame in Word Press Message-ID: <4AEF4055.9060401@hindu.org> Thanks to a tip from Andre I have managed to use runRev in a word press blog. he says a revlet will also run too...I usually don't contribute much here because I feel I'm a "baby" compared to all the wizards ... but perhaps this will be useful to those interested in incorporating runRev in PHP CMS frameworks. In this case a Word Press mu blog. http://himalayanacademy.com/blog/taka/2009/11/02/words-to-ponder/ The "chain" of elements in the framework are interesting, as we use -- an iFrame -- Calls a .irev page -- .irev page calls a rev-cgi -- rev-cgi "starts using" a stack -- stack function digs for and returns the content -- results are posted back to word press. The thing of it is... it's so easy! and so fast... Total lines of code? 22? (spread over three different files and don't forget a 7MB stack is loaded on every instance...but there is no lag time) with one or two caveats. In case any one is interested here is the code: Word Press Post (# space and breaks at the beginning to give a little breathing room above the iFrame below the post title)  

## the css is needed to eliminate the border. iFrames will always "borderize" so just set the color of the border to the color of your background and it effectively disappears. # Assumes you have the wp plug in that allows for pasting html into the blog and this is set to "allow" RandomWord.irev # will be displayed into your iFrame, I suspect this could be a page that contains a revlet... Get Random Word

:

getRandomLexiconWord.cgi # it would be nice to be able to call stacks directly with the iRev engine and # I think that is on the roster of future for features but for now you need to # do a GET of a a rev-cgi that Starts Using a stack #!/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 in the stack "lexicon.rev" (a 7 MB stack with about 3500 cards) I have this function in the stack itself. function getRandomWord put (the number of cards of stack "Lexicon") into tCards put random(tCards) into tWord put (fld "word" of card tWord of stack "Lexicon") & "|"& \ (fld "definition" of card tWord of stack "Lexicon") into tOutput return tOutput end getRandomWord # Caveat on calling functions in stacks using rev-cgi: a rev.cgi has no stack context. There fore you need to declare explicitely the stack reference to any objects in your stack. If you are working on the desktop in the IDE of course you don't need this and then when you post the thing to the web it doesn['t work.. .I had gone thru this a few years back but for got about it and it was until I reviewed some old function in other web stack that I realize again that you must do this: put (the number of cards) into tCards # works in the desktop in an IDE or standalone; fails when invoked by cgi # this is required, for it to work when call by a CGI even though the function is in the stack "Lexicon": put (the number of cards of stack "Lexicon") into tCards Again: total lines of runRev code (not including html) 22 From wow at together.net Mon Nov 2 15:32:53 2009 From: wow at together.net (Richard Miller) Date: Mon, 02 Nov 2009 15:32:53 -0500 Subject: Where is applications folder on OSX In-Reply-To: References: <13293E1D-9347-4449-B14E-D8358EBF0520@wehostmacs.com> <4AEF245C.2090506@together.net> Message-ID: <4AEF41F5.40402@together.net> Not sure how to solve this. put specialfolderpath("apps") & "/videos" into mainfolder The above line does create the correct pathway to this folder in Applications. However, I then need to set the filename of a player to a video inside that folder. put mainfolder & "/test1.mov" into fname set the filename of player 1 to ("file:///" & fname) I need to use the "file:///" syntax because this is being done through revweb in a browser (which seems to require this syntax... unlike a regular player in a standalone). Using the above, the filename in the player will NOT be correct, however, because the player requires the users HD name to be right after "file:///". In other words: This doesn't work for the filename of the player: file:///Applications/videos/test1.mov This works: file:///Macintosh HD/Applications/videos/test1.mov I'm not sure how to correct this. None of the OSX specialfolderpath returned values contain the HD portion of the pathway. Suggestions? Thanks. Richard Miller Colin Holgate wrote: > > On Nov 2, 2009, at 1:26 PM, Richard Miller wrote: > >> Is there a simple and reliable way to know where the primary >> Applications folder is under OSX? Is there a specialfolderpath() to it? > > The help on specialfolderpath goes into great detail, and also points > to this handy page: > > http://developer.apple.com/legacy/mac/library/documentation/Carbon/Reference/Folder_Manager/Reference/reference.html > > > From that you can work out that this will give you the Applications path: > > put specialfolderpath("apps") > > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Nov 2 16:09:30 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Nov 2009 15:09:30 -0600 Subject: Irev; Rev Cgi; stack as dBase: runs in iFrame in Word Press In-Reply-To: <4AEF4055.9060401@hindu.org> References: <4AEF4055.9060401@hindu.org> Message-ID: <4AEF4A8A.1080503@hyperactivesw.com> Sivakatirswami wrote: > The "chain" of elements in the framework are interesting, as we use > > -- an iFrame > -- Calls a .irev page > -- .irev page calls a rev-cgi > -- rev-cgi "starts using" a stack > -- stack function digs for and returns the content > -- results are posted back to word press. > > The thing of it is... it's so easy! and so fast... I've put up some instructions on how to do something similar here: This shows how to use an old-style CGI that is integrated into an iRev page. It is, for now, the only way I could see to "start using" other stacks. And you're right, it's pretty easy. There is also a link on the sidebar on how to use more than one revlet on a single page, if anyone is interested. Look for "Dual Revlets". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revlist at azurevision.co.uk Mon Nov 2 16:47:16 2009 From: revlist at azurevision.co.uk (Ian Wood) Date: Mon, 2 Nov 2009 21:47:16 +0000 Subject: Where is applications folder on OSX In-Reply-To: <4AEF41F5.40402@together.net> References: <13293E1D-9347-4449-B14E-D8358EBF0520@wehostmacs.com> <4AEF245C.2090506@together.net> <4AEF41F5.40402@together.net> Message-ID: On 2 Nov 2009, at 20:32, Richard Miller wrote: > put specialfolderpath("apps") & "/videos" into mainfolder This is a bit OT, but why the bleep are video files being stored in the Applications folder instead of either ~/Movies or ~/Library/ Application Support/'insert name of appropriate app here'? Ian From runrev260805 at m-r-d.de Mon Nov 2 17:20:20 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Mon, 2 Nov 2009 22:20:20 +0000 Subject: Re-4: Off-Line revlets? Message-ID: <000398B9.4AEF6932@the-office.us> Hi, tried "window.location.hrev" also. In IE8 i get no value back. I tried the follwoing html file with javascript inside. ----- Test ----- Running this html file in IE8 opens both alert windows showing h the correct value. Only from within the revelt it seems that it does not work in IE8. I used the following code to test it in my revlet on openStack local tURL do "window.location.href;" in browser -- do "document.location.href;" in browser put the result into tURL answer tURL end openStack In IE8 i get an empty answer dialog. In Firefox i get the value displayed Is this a bug. Should i report this? Matthias -------- Original Message -------- Subject: Re: Re-2: Off-Line revlets? (02-Nov-2009 21:13) From: Brian Yennie To: runrev260805 at m-r-d.de > Try: > > window.location.href > > I believe this should work for all browsers. > > > Hi, > > > > i already tried that solution. It works without problems under > > Firefox here under Windows. But under IE8 i get no value back for > > "document.location.href;". Maybe due to security settings. I do not > > know. > > > > But that means, that IE users cannot run the revlet, although it is > > started from the "right" website. > > > > Regards, > > > > Matthias > > > > -------- Original Message -------- > > Subject: Re: Off-Line revlets? (02-Nov-2009 20:43) > > From: David Coker > > To: runrev260805 at m-r-d.de > > > >> > >>> Is it possible for an end-user to 'salvage' a revlet from > >>> a browser cache and thereby continue using it, effectively > >>> as a free-standing program, when not connected to the internet? > >> > >>> AND; > >> > >>> If this is, at least theoretically possible, is there a way to > >>> prevent it? > >> > >> > >> Hello Richmond, > >> Here is the solution that was given to my similar question a few > >> days ago ( > >> Thanks Malte!): > >> > >>> this script executes a bit of javascript in the browser. The result > >>> will then contain the URL your revLet has been launched from and you > >>> can react accordingly. so you might want to do this on openstack for > >>> example > >> > >> on openStack > >> local tURL > >> do "document.location.href;" in browser > >> put the result into tURL > >> if tURL <> "path/you/would/expect.html" then > >> answer "You are using my revlet from an unknown location. Please use > >> it from my site instead" > >> -- do a redirect here if you wish or quit > >> end if > >> end openStack > >> > >>> Hope that sheds some light. > >> > >>> All the best, > >> > >>> 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 > > > > > To: use-revolution at lists.runrev.com From runrev260805 at m-r-d.de Mon Nov 2 17:21:34 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Mon, 2 Nov 2009 22:21:34 +0000 Subject: Re-5: Off-Line revlets? Message-ID: <000398BA.4AEF697D@the-office.us> Of course i tried "window.location.href" ... Sorry for the typo. -------- Original Message -------- Subject: Re-4: Off-Line revlets? (02-Nov-2009 23:20) From: runrev260805 at m-r-d.de To: use-revolution at lists.runrev.com > Hi, > > tried "window.location.hrev" also. In IE8 i get no value back. > > I tried the follwoing html file with javascript inside. > ----- > Test > > > > ----- > Running this html file in IE8 opens both alert windows showing h the > correct value. > > > Only from within the revelt it seems that it does not work in IE8. > > I used the following code to test it in my revlet > > on openStack > local tURL > do "window.location.href;" in browser > -- do "document.location.href;" in browser > put the result into tURL > answer tURL > end openStack > > In IE8 i get an empty answer dialog. In Firefox i get the value displayed > > Is this a bug. Should i report this? > > Matthias > -------- Original Message -------- > Subject: Re: Re-2: Off-Line revlets? (02-Nov-2009 21:13) > From: Brian Yennie > To: runrev260805 at m-r-d.de > > > Try: > > > > window.location.href > > > > I believe this should work for all browsers. > > > > > Hi, > > > > > > i already tried that solution. It works without problems under > > > Firefox here under Windows. But under IE8 i get no value back for > > > "document.location.href;". Maybe due to security settings. I do not > > > know. > > > > > > But that means, that IE users cannot run the revlet, although it is > > > started from the "right" website. > > > > > > Regards, > > > > > > Matthias > > > > > > -------- Original Message -------- > > > Subject: Re: Off-Line revlets? (02-Nov-2009 20:43) > > > From: David Coker > > > To: runrev260805 at m-r-d.de > > > > > >> > > >>> Is it possible for an end-user to 'salvage' a revlet from > > >>> a browser cache and thereby continue using it, effectively > > >>> as a free-standing program, when not connected to the internet? > > >> > > >>> AND; > > >> > > >>> If this is, at least theoretically possible, is there a way to > > >>> prevent it? > > >> > > >> > > >> Hello Richmond, > > >> Here is the solution that was given to my similar question a few > > >> days ago ( > > >> Thanks Malte!): > > >> > > >>> this script executes a bit of javascript in the browser. The result > > >>> will then contain the URL your revLet has been launched from and you > > >>> can react accordingly. so you might want to do this on openstack for > > >>> example > > >> > > >> on openStack > > >> local tURL > > >> do "document.location.href;" in browser > > >> put the result into tURL > > >> if tURL <> "path/you/would/expect.html" then > > >> answer "You are using my revlet from an unknown location. Please use > > >> it from my site instead" > > >> -- do a redirect here if you wish or quit > > >> end if > > >> end openStack > > >> > > >>> Hope that sheds some light. > > >> > > >>> All the best, > > >> > > >>> 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 > > > > > > > > > > To: use-revolution at lists.runrev.com From sarah.reichelt at gmail.com Mon Nov 2 17:44:49 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 3 Nov 2009 08:44:49 +1000 Subject: RevWeb "ask" not working on my end In-Reply-To: <4AEEC5E7.2060301@together.net> References: <1374639123.4609331256925706246.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <4AEB2C31.1070905@together.net> <4AECACEB.6000901@crcom.net> <4AECAEA2.9070304@together.net> <4AEEC5E7.2060301@together.net> Message-ID: On Mon, Nov 2, 2009 at 9:43 PM, Richard Miller wrote: > Can anyone get an Ask dialog box to work through revweb in a browser? Tried > on XP without success. Cheers, Sarah From sarah.reichelt at gmail.com Mon Nov 2 18:02:34 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 3 Nov 2009 09:02:34 +1000 Subject: Where is applications folder on OSX In-Reply-To: <4AEF41F5.40402@together.net> References: <13293E1D-9347-4449-B14E-D8358EBF0520@wehostmacs.com> <4AEF245C.2090506@together.net> <4AEF41F5.40402@together.net> Message-ID: On Tue, Nov 3, 2009 at 6:32 AM, Richard Miller wrote: > Not sure how to solve this. > > ? put specialfolderpath("apps") & "/videos" into mainfolder > > The above line does create the correct pathway to this folder in > Applications. However, I then need to set the filename of a player to a > video inside that folder. > > ? put mainfolder & "/test1.mov" into fname > ? set the filename of player 1 to ("file:///" & fname) > > I need to use the "file:///" syntax because this is being done through > revweb in a browser (which seems to require this syntax... unlike a regular > player in a standalone). Using the above, the filename in the player will > NOT be correct, however, because the player requires the users HD name to be > right after "file:///". > > In other words: > > This doesn't work for the filename of the player: > > ? file:///Applications/videos/test1.mov > > This works: > > ? file:///Macintosh HD/Applications/videos/test1.mov > > I'm not sure how to correct this. None of the OSX specialfolderpath returned > values contain the HD portion of the pathway. I found with images, that setting the filename did not work. I had to use: put URL ("binfile:" & tFileName) into image "Pic" Maybe something similar would work for your videos. Cheers, Sarah From sarah.reichelt at gmail.com Mon Nov 2 18:12:09 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 3 Nov 2009 09:12:09 +1000 Subject: mouseRelease in Rev 4.0 In-Reply-To: References: Message-ID: On Tue, Sep 22, 2009 at 1:21 PM, Sarah Reichelt wrote: > I am working on an app that allows users to drag across a series of > controls in order to operate on each one in turn when the mouse button > comes up. > I build a list of the selected controls by checking the mouseMove > messages and on a mouseRelease (since the mouse pointer is no longer > over the object that received the mouseDown), I loop through the list > of selected controls and do what I need. > This is working perfectly in Rev 3.0 & 3.5. > In Rev 4.0, it's as if the mouseRelease message is only sent > sometimes. especially, it doesn't seem to happen if I move too fast, > but if I drag, then hover over the last control for a bit, then it > works. Yay - this is fixed in dp-6. Thanks to all at RunRev as it was very annoying but hard to describe. Cheers, Sarah From jiml at netrin.com Mon Nov 2 18:15:29 2009 From: jiml at netrin.com (Jim Lambert) Date: Mon, 2 Nov 2009 15:15:29 -0800 Subject: size restricted for on-rev hosted revlets? In-Reply-To: <20091102132417.9DA1C48AC29@mail.runrev.com> References: <20091102132417.9DA1C48AC29@mail.runrev.com> Message-ID: <65BB8610-ED48-44DA-8FD2-84E0633F5C30@netrin.com> Well, this is going to sound completely crazy. I don't believe it myself. Must be doing something wrong. I upload a revlet that's about 1200x800 and it's test.html to my on- rev account. In firefox OSX 10.6 only the topleft part of the revlet renders. Just about 900x600 appears. The rest is cut off. I upload the exact same files to another website and they render fine. The entire revlet is visible. Yes, I've cleared the cache and even restarted. Never seen anything like it. Ideas? Thanks, Jim Lambert From capellan2000 at gmail.com Mon Nov 2 18:42:27 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 2 Nov 2009 15:42:27 -0800 (PST) Subject: [VOTE] Mousedoubleup is not working in web plug-in Message-ID: <1257205347759-360867.post@n4.nabble.com> Please, vote for Report 8403, if this affects your work: Please visit this page that shows a revlet that uses Mousesdoubleup message to hide or "retract" the handles of the shapes that you draw. http://capellan2000.000space.com/test02.html To draw, please follow the directions at the bottom of the stack. After you draw an object, click on the Arrow pointer to edit the handles and point of the graphic. Now click on the graphic and notice that all handles and points are displayed. Double click on the graphic to retract or hide the handles... Nothing happens. Mousedoubleup message is not send. Notice that in previous versions of web plug-in this action of double clicking, to retract the handles of the graphics, worked as expected. Alejandro -- View this message in context: http://n4.nabble.com/VOTE-Mousedoubleup-is-not-working-in-web-plug-in-tp360867p360867.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Mon Nov 2 18:47:06 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 2 Nov 2009 15:47:06 -0800 (PST) Subject: Does topleft property appears inverted? Message-ID: <1257205626810-360868.post@n4.nabble.com> Hi all, Could you verify if, in the latest version of RevMedia, Topleft property appears inverted? That is, in the coordinate produced by this property, first appear left and second, top. Alejandro -- View this message in context: http://n4.nabble.com/Does-topleft-property-appears-inverted-tp360868p360868.html Sent from the Revolution - User mailing list archive at Nabble.com. From niconiko at gmail.com Mon Nov 2 18:47:39 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 3 Nov 2009 08:47:39 +0900 Subject: about Rev cgi and MySQL Message-ID: <1e91b2b70911021547v4302bac9wbe10ab13af18689e@mail.gmail.com> Just curious about something. But I don't know the technical vocabulary, so please forgive this verbose (and confusing?) explanation. I think it essentially has do with user queues. I have a Rev.cgi script on the On-Rev server that works in this 3-step sequence: (STEP 1) uses SELECT to retrieve data from a MySQL table (STEP 2) does stuff based on that retrieved data in order to alter it (STEP 3) uses UPDATE to put that now-altered data back into the same MySQL table My question is about data mishaps that could happen during STEP 2 -- specially if it happens to take a long time (a few seconds?) -- should it happen to come about that a new user calls a Rev.cgi which is still working on a previous user's call. The chaos sequence I have in mind is this: USER 1 : STEP 1 --> Rev.cgi retrieves data from SQL table at time X ( = tData) USER 1 : STEP 2 --> Rev.cgi works with tData to make tData_User1 (but no UPDATE yet) ... but during USER 1 : STEP 2 ... USER 2 : STEP 1 --> Rev.cgi retrieves data from SQL table at time X+1 (still = tData) USER 2 : STEP 2 --> Rev.cgi works on tData to make tData_User2 (but no UPDATE yet) USER 1 : STEP 3 --> updates SQL table with tData.User1 USER 2 : STEP 3 --> updates SQL table with tData.User2 In this chaos scenario of mine -- if indeed this is how things actually happen between servers, which I'm hoping it's not -- the problem is the state of tData at USER 2 : STEP2. It should not be tData but actually tData_User1. So, is there something in-built in SQL or Rev.cgi that handles queues in such a way that prevents this kind of queue chaos, whether it's 2 or 2 million users calling in at the "same" time Or do I have to take care of this myself somehow, by, say, proper scripting? Thank you. -- Nicolas Cueto From bvlahos at mac.com Mon Nov 2 18:51:50 2009 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 02 Nov 2009 15:51:50 -0800 Subject: How to remove repeating spaces Message-ID: I want to remove repeating spaces in a field. I can write a brute force method but before I do that I'd like to see if someone has already invented this wheel. Basically all I want to do is reduce all multiple instances of spaces in a field to a single space. There could be double, triple, or more spaces together and I want to reduce them all to just one. I can think of a repeating loop that replaces two spaces with one and just do it until there aren't any more or do a series of replaces four spaces with one, then three spaces with one, then two spaces with one but neither of these seem very elegant. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) helps me remember the important details of my life. From m.schonewille at economy-x-talk.com Mon Nov 2 18:54:45 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 3 Nov 2009 00:54:45 +0100 Subject: How to remove repeating spaces In-Reply-To: References: Message-ID: Bill: put replacetext(fld "Spaces","[ ]+"," ") into fld "Spaces" -- 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 On 3 nov 2009, at 00:51, Bill Vlahos wrote: > I want to remove repeating spaces in a field. I can write a brute > force method but before I do that I'd like to see if someone has > already invented this wheel. > > Basically all I want to do is reduce all multiple instances of > spaces in a field to a single space. There could be double, triple, > or more spaces together and I want to reduce them all to just one. > > I can think of a repeating loop that replaces two spaces with one > and just do it until there aren't any more or do a series of > replaces four spaces with one, then three spaces with one, then two > spaces with one but neither of these seem very elegant. > > Bill Vlahos From niconiko at gmail.com Mon Nov 2 18:55:38 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 3 Nov 2009 08:55:38 +0900 Subject: [VOTE] Mousedoubleup is not working in web plug-in In-Reply-To: <1257205347759-360867.post@n4.nabble.com> References: <1257205347759-360867.post@n4.nabble.com> Message-ID: <1e91b2b70911021555n57a520c9o9c73ab4c697596e4@mail.gmail.com> Alejandro, Sorry but your revlet is not loading (WinXP, Firefox 3.5.4). Just get a "Loading revWeb Content". However, other revlets, like Sarah Reichelt's "system info" revlet, do work. And according to Sarah's revlet, my plugin info is "revAppVersion 4.0.0-dp5 , build number 920". -- Nicolas Cueto From niconiko at gmail.com Mon Nov 2 19:02:53 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 3 Nov 2009 09:02:53 +0900 Subject: size restricted for on-rev hosted revlets? In-Reply-To: <65BB8610-ED48-44DA-8FD2-84E0633F5C30@netrin.com> References: <20091102132417.9DA1C48AC29@mail.runrev.com> <65BB8610-ED48-44DA-8FD2-84E0633F5C30@netrin.com> Message-ID: <1e91b2b70911021602t29f07820x96ed653912ef1cf0@mail.gmail.com> Jim, Both url views appear and function the same on my WinXP Firefox 3.5.4. In both views, there's a field large enough to require horizontal and vertical scrollbars in the browser window. And, using the hor/vert scrolls on the field itself, the bottom-right-most cell value in both views is 200. -- Nicolas Cueto From jimaultwins at yahoo.com Mon Nov 2 19:20:16 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Mon, 2 Nov 2009 16:20:16 -0800 Subject: How to remove repeating spaces In-Reply-To: References: Message-ID: <12E576AB-D012-424F-BF3C-AB054E1C459E@yahoo.com> On Nov 2, 2009, at 3:54 PM, Mark Schonewille wrote: > Bill: > put replacetext(fld "Spaces","[ ]+"," ") into fld "Spaces" > > Mark Schonewille > > On 3 nov 2009, at 00:51, Bill Vlahos wrote: > >> I want to remove repeating spaces in a field. I can write a brute >> force method but before I do that I'd like to see if someone has >> already invented this wheel. >> >> Basically all I want to do is reduce all multiple instances of >> spaces in a field to a single space. There could be double, triple, >> or more spaces together and I want to reduce them all to just one. >> >> I can think of a repeating loop that replaces two spaces with one >> and just do it until there aren't any more or do a series of >> replaces four spaces with one, then three spaces with one, then two >> spaces with one but neither of these seem very elegant. >> >> Bill Vlahos Additionally if you want to remove (trim) single spaces from either side of each line you could add get fld "Spaces" repeat for each line LNN in IT put word 1 to -1 of LNN & cr after newLines end repeat put replacetext( char 1 to -2 of newLines ,"[ ]+"," ") into fld "Spaces" Hope this helps, Jim Ault Las Vegas From jiml at netrin.com Mon Nov 2 19:27:11 2009 From: jiml at netrin.com (Jim Lambert) Date: Mon, 2 Nov 2009 16:27:11 -0800 Subject: size restricted for on-rev hosted revlets? In-Reply-To: <65BB8610-ED48-44DA-8FD2-84E0633F5C30@netrin.com> References: <20091102132417.9DA1C48AC29@mail.runrev.com> <65BB8610-ED48-44DA-8FD2-84E0633F5C30@netrin.com> Message-ID: <12671A40-AFC0-4A46-91ED-74078DACAA6F@netrin.com> Mon Nov 2 18:02:53 CST 2009, Nicolas Cueto wrote: > Jim, > > Both url views appear and function the same on my WinXP Firefox 3.5.4. > > In both views, there's a field large enough to require horizontal and > vertical scrollbars in the browser window. And, using the hor/vert > scrolls on the field itself, the bottom-right-most cell value in both > views is 200. > > -- > Nicolas Cueto Nicolas, Thanks. That's great to know that it renders correctly under WinXP. On Firefox 3.5.4 under OSX Snow Leopard the views are different. only 38 columns get rendered when served from on-rev. Thanks Again, Jim Lambert From revlist at azurevision.co.uk Mon Nov 2 19:31:46 2009 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 3 Nov 2009 00:31:46 +0000 Subject: Does topleft property appears inverted? In-Reply-To: <1257205626810-360868.post@n4.nabble.com> References: <1257205626810-360868.post@n4.nabble.com> Message-ID: <6A0A24EF-D27B-409A-AD12-0FA132E8A31F@azurevision.co.uk> On 2 Nov 2009, at 23:47, Alejandro Tejada wrote: > That is, in the coordinate produced by this > property, first appear left and second, top. That's how it is supposed to read, oddly enough! Ian From bvlahos at mac.com Mon Nov 2 19:42:17 2009 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 02 Nov 2009 16:42:17 -0800 Subject: How to remove repeating spaces In-Reply-To: <12E576AB-D012-424F-BF3C-AB054E1C459E@yahoo.com> References: <12E576AB-D012-424F-BF3C-AB054E1C459E@yahoo.com> Message-ID: <1DAD5F3A-CFAA-4535-95C7-7EE3C7DEF79D@mac.com> Mark and Jim, Awesome. I knew there had to be an elegant way to do this. Thank you, Bill Vlahos On Nov 2, 2009, at 4:20 PM, Jim Ault wrote: > On Nov 2, 2009, at 3:54 PM, Mark Schonewille wrote: > >> Bill: >> put replacetext(fld "Spaces","[ ]+"," ") into fld "Spaces" >> >> Mark Schonewille >> >> On 3 nov 2009, at 00:51, Bill Vlahos wrote: >> >>> I want to remove repeating spaces in a field. I can write a brute >>> force method but before I do that I'd like to see if someone has >>> already invented this wheel. >>> >>> Basically all I want to do is reduce all multiple instances of >>> spaces in a field to a single space. There could be double, >>> triple, or more spaces together and I want to reduce them all to >>> just one. >>> >>> I can think of a repeating loop that replaces two spaces with one >>> and just do it until there aren't any more or do a series of >>> replaces four spaces with one, then three spaces with one, then >>> two spaces with one but neither of these seem very elegant. >>> >>> Bill Vlahos > > > Additionally if you want to remove (trim) single spaces from either > side of each line you could add > > get fld "Spaces" > repeat for each line LNN in IT > put word 1 to -1 of LNN & cr after newLines > end repeat > put replacetext( char 1 to -2 of newLines ,"[ ]+"," ") into fld > "Spaces" > > > Hope this helps, > > 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 Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) helps me remember the important details of my life. From niconiko at gmail.com Mon Nov 2 19:46:19 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 3 Nov 2009 09:46:19 +0900 Subject: [VOTE] Mousedoubleup is not working in web plug-in In-Reply-To: <1e91b2b70911021555n57a520c9o9c73ab4c697596e4@mail.gmail.com> References: <1257205347759-360867.post@n4.nabble.com> <1e91b2b70911021555n57a520c9o9c73ab4c697596e4@mail.gmail.com> Message-ID: <1e91b2b70911021646q3df20d7br255af97b65e89124@mail.gmail.com> Alejandro, I wrote earlier that your revlet wasn't loading completely on my Firefox. Well, on my WinXP IE8 it does load. Odd. Both my IE8 and Firefox 3.5.4 use the revAppVersion 4.0.0-dp5 build 920 plugin. Anyway. You're right. The mouseDoubleUp does not work. -- Nicolas Cueto From niconiko at gmail.com Mon Nov 2 19:48:27 2009 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 3 Nov 2009 09:48:27 +0900 Subject: size restricted for on-rev hosted revlets? In-Reply-To: <12671A40-AFC0-4A46-91ED-74078DACAA6F@netrin.com> References: <20091102132417.9DA1C48AC29@mail.runrev.com> <65BB8610-ED48-44DA-8FD2-84E0633F5C30@netrin.com> <12671A40-AFC0-4A46-91ED-74078DACAA6F@netrin.com> Message-ID: <1e91b2b70911021648v23077637q3fe468a37abee7e@mail.gmail.com> Jim, Just FYI, both urls also work on WinXP IE8. -- Nicolas Cueto From wow at together.net Tue Nov 3 05:04:54 2009 From: wow at together.net (Richard Miller) Date: Tue, 03 Nov 2009 05:04:54 -0500 Subject: Where is applications folder on OSX In-Reply-To: References: <13293E1D-9347-4449-B14E-D8358EBF0520@wehostmacs.com> <4AEF245C.2090506@together.net> <4AEF41F5.40402@together.net> Message-ID: <4AF00046.8020303@together.net> Thanks, Sarah. However, I don't believe one can "put" a filename into a player object and still have it be a player, rather than a videoclip object. I've resolved the issue for now by combining "line 1 of the volumes" with specialfolderpath("apps") under OSX. Hopefully, this produces a reliable "long path" to a video. Richard Sarah Reichelt wrote: > On Tue, Nov 3, 2009 at 6:32 AM, Richard Miller wrote: > >> Not sure how to solve this. >> >> put specialfolderpath("apps") & "/videos" into mainfolder >> >> The above line does create the correct pathway to this folder in >> Applications. However, I then need to set the filename of a player to a >> video inside that folder. >> >> put mainfolder & "/test1.mov" into fname >> set the filename of player 1 to ("file:///" & fname) >> >> I need to use the "file:///" syntax because this is being done through >> revweb in a browser (which seems to require this syntax... unlike a regular >> player in a standalone). Using the above, the filename in the player will >> NOT be correct, however, because the player requires the users HD name to be >> right after "file:///". >> >> In other words: >> >> This doesn't work for the filename of the player: >> >> file:///Applications/videos/test1.mov >> >> This works: >> >> file:///Macintosh HD/Applications/videos/test1.mov >> >> I'm not sure how to correct this. None of the OSX specialfolderpath returned >> values contain the HD portion of the pathway. >> > > > I found with images, that setting the filename did not work. I had to use: > put URL ("binfile:" & tFileName) into image "Pic" > > Maybe something similar would work for your videos. > > 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 shaosean at wehostmacs.com Tue Nov 3 07:22:27 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Tue, 3 Nov 2009 07:22:27 -0500 Subject: Does topleft property appears inverted? Message-ID: From the documentation: "Important! The order of the top and left parameters is reversed compared to the property name: left comes first, then top." From richmondmathewson at gmail.com Tue Nov 3 08:08:16 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 03 Nov 2009 15:08:16 +0200 Subject: 8 days to go ? Message-ID: <4AF02B40.4010000@gmail.com> Gosh I hope so,as ,presumably, the Enterprise dp-5 contained something on top of dp-4; as a Studio chap that passed me by. Ubuntu always have a jazzy countdown 'thingy' on their website; but, Hey, they don't have elastic-sided GANTT charts. I am positively slobbering (what a horrible image) with (as, per, the Rocky Horror Picture Show) "anti . . .ci . . . pation"; although, sorry to disappoint you folks who depend on this, I will not be donning my fishnets and doing "the Tim Curry" to celebrate. [although, totally OT, Tim Curry did go to my school, as well as many other people with creepy tendencies.] I am, also, looking forward to my box of conference DVDs - I wonder when they will materialise? Some of the lectures (especially Ben Beaumont's ones) would be lovely to show to some of the kids who are fiddling around with RevMedia at hoe trying to make games. From Andre.Bisseret at inria.fr Tue Nov 3 08:26:32 2009 From: Andre.Bisseret at inria.fr (Andre.Bisseret) Date: Tue, 3 Nov 2009 14:26:32 +0100 Subject: How to avoid that, when double-clicked, a stack opens with the wrong standalone Message-ID: Bonjour, I just made a splash standalone (say CURRENTAPP). It launches a main stack with substacks. One substack is a model (invoice model) that can be clone to produce new stacks (individual invoices) which are completed and saved as independant stacks (not substacks) in a particular folder (say "My invoices"). The standalone CURRENTAPP, the main stack and the folder "My invoices" are at a same level (in a same folder, currently on the desktop). When I double click one of these independant stacks it is opened with an old standalone (say OLDAPP) I made 2 years ago and which is located in a completely different folder on my disk !!!! Actually, if I look at the informations pane for these substacks I see "open with OLDAPP" !!! It is the first time I get such a mess and I am completely confused. What am I doing wrong here ? Thanks a lot in advance for any help Best regards from Grenoble Andr? From janschenkel at yahoo.com Tue Nov 3 08:28:34 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 3 Nov 2009 05:28:34 -0800 (PST) Subject: about Rev cgi and MySQL In-Reply-To: <1e91b2b70911021547v4302bac9wbe10ab13af18689e@mail.gmail.com> Message-ID: <12470.34365.qm@web65412.mail.ac4.yahoo.com> This problem isn't unique to cgi-scripting - you have the same issues with a desktop application where concurrent updates need to be handled. There are 3 approaches to concurrent changes: - pessimistic locking (no one can change the record while somebody has it locked) - optimistic locking (essentially no locking, whoever makes the last update wins) - optimistic locking + versioning (again no locking, byut we use a version number to see if anyone else made a change) The first approach, pessimistic locking, doesn't scale very well and you risk locking out users when someone opens a record and goes out for lunch without closing the record. The second approach, optimistic locking without versioning, is just not an option in a serious business application; but it may fit the bill under other circumstances as it's the quickest. Which leaves us with the third option, optimistic locking + versioning. In this scenario, you add a 'version' column to each table, and when you update a record, you only update it if the version number is the same as when you read it. So when opening the record, you'd have: SELECT * FROM Customer WHERE cust_Id = 12345 Then you copy the version number for later use: put revDatabaseColumnNamed(tResultSetId, "cust_Version") into tVersion Let's assume for a second that the version number is 8. When you want to save the changes, you would use a query like: UPDATE Customer SET cust_Name = 'Jan', cust_Version = cust_Version + 1 WHERE cust_Id = 12345 AND cust_Version = 8 When you use the revExecuteSQL command, the result contains the number of records affected by your UPDATE query. If the result for the above query is 0, then no records were updated, which means that someone else incremented the version number. At this point, you could read the new version of the record and provide some sort of 'merge' functionality where the user picks the right fields. Important note: when using a 'version' field, make sure to extract non user-entry data our of the table ionto a separate table. For instance, if there's a field cust_Balance to hold the current balance of the cusztomer, you should move that out of the Customer table, so that the rest of your business logic can update that without worrying about a version number. Hope this helped, 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, 11/2/09, Nicolas Cueto wrote: > From: Nicolas Cueto > Subject: about Rev cgi and MySQL > To: "How to use Revolution" > Date: Monday, November 2, 2009, 3:47 PM > Just curious about something. But I > don't know the technical > vocabulary, so please forgive this verbose (and > confusing?) > explanation. > > I think it essentially has do with user queues. > > > I have a Rev.cgi script on the On-Rev server that works in > this 3-step sequence: > > (STEP 1) uses SELECT to retrieve data from a MySQL table > > (STEP 2) does stuff based on that retrieved data in order > to alter it > > (STEP 3) uses UPDATE to put that now-altered data back into > the same MySQL table > > > My question is about data mishaps that could happen during > STEP 2 -- > specially if it happens to take a long time (a few > seconds?) -- should > it happen to come about that a new user calls a Rev.cgi > which is still > working on a previous user's call. > > > The chaos sequence I have in mind is this: > > USER 1 : STEP 1 --> Rev.cgi retrieves data from SQL > table at time X ( = tData) > USER 1 : STEP 2 --> Rev.cgi works with tData to make > tData_User1 (but > no UPDATE yet) > > ... but during USER 1 : STEP 2 ... > > USER 2 : STEP 1 -->???Rev.cgi retrieves > data from SQL table at time > X+1 (still = tData) > USER 2 : STEP 2 --> Rev.cgi works on tData to make > tData_User2 (but no > UPDATE yet) > USER 1 : STEP 3 --> updates SQL table with tData.User1 > USER 2 : STEP 3 --> updates SQL table with tData.User2 > > In this chaos scenario of mine -- if indeed this is how > things > actually happen between servers, which I'm hoping it's not > -- the > problem is the state of tData at USER 2 : STEP2. It should > not be > tData but actually tData_User1. > > > So, is there something in-built in SQL or Rev.cgi that > handles queues > in such a way that prevents this kind of queue chaos, > whether it's 2 > or 2 million users calling in at the "same" time > > Or do I have to take care of this myself somehow, by, say, > proper scripting? > > Thank you. > > -- > 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 klaus at major.on-rev.com Tue Nov 3 09:40:35 2009 From: klaus at major.on-rev.com (Klaus Major) Date: Tue, 3 Nov 2009 15:40:35 +0100 Subject: QUIT in Revlets -> Bugreport Message-ID: <64C1CCAE-6357-4257-9F2D-FBC8211A482B@major.on-rev.com> Hi all, I just made an enhancement request to disable the QUIT command in the web plug in. Check this for three reasonable reasons :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From runrev260805 at m-r-d.de Tue Nov 3 09:48:05 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Tue, 3 Nov 2009 14:48:05 +0000 Subject: 8 days to go ? Message-ID: <0003991D.4AF050B4@the-office.us> Hi Richmond, > I am, also, looking forward to my box of conference DVDs - > I wonder when they will materialise? Some of the lectures > (especially Ben Beaumont's ones) would be lovely to show > to some of the kids who are fiddling around with RevMedia > at hoe trying to make games. Asked support some days ago, when the DVD set is shipped to the customers. The answer: "Thank you for your request. I'm sorry, I don't have any firm information yet." From claudi.c at fiberworld.nl Tue Nov 3 10:06:10 2009 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Tue, 3 Nov 2009 16:06:10 +0100 Subject: including a file on on-rev In-Reply-To: <12470.34365.qm@web65412.mail.ac4.yahoo.com> References: <12470.34365.qm@web65412.mail.ac4.yahoo.com> Message-ID: <97FE43F2-C482-4F17-B29E-21EBFA76EBB7@fiberworld.nl> Hi all, I finaly started getting to grips with on-rev and after some initial struggeling I start getting the hang of it. Very powerfull and very nice. However I am now again struggeling with a "simple" thing but I can't get it to work. I have a folder "lib" with obviously some irev files in it. this lib folder is at the root level in my public_html folder I need to include one of the files in this lib folder called "cc_PageStats" from other pages. As long as the calling page is on the root level I can include the file with: include "lib/cc_PageStats.irev" In that case everything works as expected. Now I have a page in another folder, called testing. This folder is on the root level, so I assumed I need to change the include statement to: include "../lib/cc_PageStats.irev" but this doesn't work. I get the error message in my on-Rev desktop app saying: "FTP error file "/testing/..//lib/cc_PageStats.irev" not present. (where does this 'testing' come from. I thought the 2 dots meant to go one level higher in the dir structure and start from there.) Whatever I try I can't get this file included. If anybody has a idea what I am doing wrong please let me know, for I am banging my head now for some time. Even better would be, preferably a one liner, so I can include the file from whatever dir the requested page is, without worring about the number of levels (I have been trying with a 'hard coded adress like "http://claudi.on-rev.com/lib/cc_Pagestats " and with $_SERVER["document_root"] and a couple of others but unfortunatly nothing.) All ideas or suggestions are greatly appreciated Claudi From harrison at all-auctions.com Tue Nov 3 10:10:41 2009 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 3 Nov 2009 10:10:41 -0500 Subject: about Rev cgi and MySQL In-Reply-To: <12470.34365.qm@web65412.mail.ac4.yahoo.com> References: <12470.34365.qm@web65412.mail.ac4.yahoo.com> Message-ID: <72F55E58-C5E1-4916-A9DC-ADC65F5CF777@all-auctions.com> Hi, There are some other compromising approaches to consider as well. Don't have the record open long at all in your processing. If it is a form, don't use the database field for your entry, use a variable for the entry, so the record isn't actually open. Once the user actually submits the information, then open your record, copy the information from the variables into the record, and perform your update. In this way you will use the least amount of time for your record locking technique. Use a record locking strategy where you can use a Date/Time stamp along with a session ID, or IP-Address, when the record was opened for updating. If the record isn't updated within a specified amount of time, let it time out, send a message to the user that the update timed out, and direct them to do it over. Close the record so someone else can update it. If someone else is trying to update the same record at the same time, have the program wait for a couple of seconds and try the update again. (You can loop this for several tries before giving up. If it still fails at this point you can send that user a record busy message, ask them to wait, or ask them to try again in a minute, or to cancel their update for later.) I hope this helps! Rick On Nov 3, 2009, at 8:28 AM, Jan Schenkel wrote: > This problem isn't unique to cgi-scripting - you have the same > issues with a desktop application where concurrent updates need to > be handled. > > There are 3 approaches to concurrent changes: > - pessimistic locking (no one can change the record while somebody > has it locked) > - optimistic locking (essentially no locking, whoever makes the last > update wins) > - optimistic locking + versioning (again no locking, byut we use a > version number to see if anyone else made a change) > ... > Hope this helped, > > 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 capellan2000 at gmail.com Tue Nov 3 10:23:52 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 3 Nov 2009 07:23:52 -0800 (PST) Subject: QUIT in Revlets -> Bugreport In-Reply-To: <64C1CCAE-6357-4257-9F2D-FBC8211A482B@major.on-rev.com> References: <64C1CCAE-6357-4257-9F2D-FBC8211A482B@major.on-rev.com> Message-ID: <1257261832253-361040.post@n4.nabble.com> Hi Klaus, On Quit, the web plug-in should unload the stack from the window revlet area and download a small stack from Runrev website, with a custom message with Runrev logo and a button that a) reload the stack from Hard Disk or b)download again from web. This should be the default behavior for Runrev web plugin. In this way, everytime that a revlet fails to load from some unreliable server, the web plug-in loads a stack from Runrev site and shows that Web plugin works fine when served from a reliable website. My two cents. Alejandro -- View this message in context: http://n4.nabble.com/QUIT-in-Revlets-Bugreport-tp361033p361040.html Sent from the Revolution - User mailing list archive at Nabble.com. From revolution at duncansoftware.on-rev.com Tue Nov 3 10:25:42 2009 From: revolution at duncansoftware.on-rev.com (revolution at duncansoftware.on-rev.com) Date: Tue, 3 Nov 2009 09:25:42 -0600 (CST) Subject: New Software Announcement Message-ID: <2490.209.226.189.182.1257261942.squirrel@thor.on-rev.com> Duncan Software, a developer of software for use in schools, has recently completed 11 new educational biology programs, the DryLab 3D 2D series, created with Rev. These programs include dissections (fetal pig, frog, perch, rat, earthworm, crayfish), ecology (4 programs), and cell biology at the electron microscope level. The programs meet most jurisdictions requirements for visual and auditory accessibility. All programs feature both 3D (red/blue or red/cyan glasses) and 2D photos. The dissection series also includes video of a complete dissection of the animal as well as labeled and unlabeled photos. Fully functioning demos are available through the website at www.duncansoftware.com. These are large files ranging from 100 to 300 MB. Special pricing for the Rev community: >From now through Dec 31 your school can purchase any of our new titles at a 50% discount. Please contact us through our web site to request a quote for this special pricing. Mention that you saw the special pricing on the Rev email list. From wow at together.net Tue Nov 3 10:28:43 2009 From: wow at together.net (Richard Miller) Date: Tue, 03 Nov 2009 10:28:43 -0500 Subject: set the defaultfolder to desktop... crashes revweb on XP In-Reply-To: <72F55E58-C5E1-4916-A9DC-ADC65F5CF777@all-auctions.com> References: <12470.34365.qm@web65412.mail.ac4.yahoo.com> <72F55E58-C5E1-4916-A9DC-ADC65F5CF777@all-auctions.com> Message-ID: <4AF04C2B.9090903@together.net> Can others verify this (on other platforms as well)? Has it perhaps been documented already? This sequence crashes RevMedia (in both the development and runtime environments) on my XP machine: set the defaultfolder to specialfolderpath("desktop") put the detailed files Thanks. Richard Miller From klaus at major.on-rev.com Tue Nov 3 10:30:46 2009 From: klaus at major.on-rev.com (Klaus Major) Date: Tue, 3 Nov 2009 16:30:46 +0100 Subject: QUIT in Revlets -> Bugreport In-Reply-To: <1257261832253-361040.post@n4.nabble.com> References: <64C1CCAE-6357-4257-9F2D-FBC8211A482B@major.on-rev.com> <1257261832253-361040.post@n4.nabble.com> Message-ID: Buenos dias Alejandro, > > Hi Klaus, > > On Quit, the web plug-in should unload the stack > from the window revlet area and download a small > stack from Runrev website, with a custom message > with Runrev logo and a button that > a) reload the stack from Hard Disk or > b)download again from web. > > This should be the default behavior for > Runrev web plugin. In this way, everytime > that a revlet fails to load from some unreliable > server, the web plug-in loads a stack from Runrev > site and shows that Web plugin works fine when > served from a reliable website. > > My two cents. > > Alejandro thanks for the info! Maybe that it SHOULD load a small stack from the Rev website after the user has "quit" but it DOESN'T :-D, so I filed this enhancement request. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From h at FlexibleLearning.com Tue Nov 3 11:25:09 2009 From: h at FlexibleLearning.com (Hugh Senior) Date: Tue, 3 Nov 2009 16:25:09 -0000 Subject: Help! Citrix, anyone? In-Reply-To: <20091005170004.ADCCE48AC97@mail.runrev.com> Message-ID: I am getting reports that a rev program crashes as soon as it opens in the Citrix environment with an 'Unexpected error' and no further details. Has anyone experienced problems with Citrix and Revolution? /H From rick-rice at shaw.ca Tue Nov 3 11:28:34 2009 From: rick-rice at shaw.ca (Rick Rice) Date: Tue, 3 Nov 2009 08:28:34 -0800 Subject: Stack conversion Message-ID: <3EF885A5-6164-4962-A11E-57F8B2D8CE79@shaw.ca> Is there any way to convert a Tool-Book stack, app, executable, I'm not sure what the correct description is, into a Rev stack? I know it can not be done directly like a MC, HC or SC stack but, is there some sort of hack which would at least make the conversion a little more computer friendly rather than paper hostile? I have access to the standalone and the original build. The material was built using a recent but, not the most current version of Tool-Book. Thanks Rick From stephenREVOLUTION2 at barncard.com Tue Nov 3 11:54:15 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 3 Nov 2009 08:54:15 -0800 Subject: Stack conversion In-Reply-To: <3EF885A5-6164-4962-A11E-57F8B2D8CE79@shaw.ca> References: <3EF885A5-6164-4962-A11E-57F8B2D8CE79@shaw.ca> Message-ID: Rev does things quite a bit differently and more efficiently than most other systems. There might be some similar functions in Toolbook, but most of us eschew the 'automatic' conversion anyway, even though there's an importing feature, and start again from scratch - it turns out to be easier to rethink the application in the light of the high-level coding options built in to Rev. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/11/3 Rick Rice > Is there any way to convert a Tool-Book stack, app, executable, I'm not > sure what the correct description is, into a Rev stack? > I know it can not be done directly like a MC, HC or SC stack but, is there > some sort of hack which would at least make the conversion a little more > computer friendly rather than paper hostile? I have access to the standalone > and the original build. The material was built using a recent but, not the > most current version of Tool-Book. > Thanks > Rick > > _______________________________________________ > use-revolution mailing list > use-revolution 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 toolbook at kestner.de Tue Nov 3 11:54:18 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 3 Nov 2009 17:54:18 +0100 Subject: AW: Stack conversion In-Reply-To: <3EF885A5-6164-4962-A11E-57F8B2D8CE79@shaw.ca> Message-ID: Hi Rick, I have never heard about such a converter, though it would be interesting for me. The paradigm is almost the same, though the naming is different (stack = book, card = page) but that would be easy to convert. And there are a lot of different details, which come from the splited development since the late 80th or beginning 90th. If there is a way at all, it can only be done with the original book, not the runtime (= standalone), because in the runtime mostly the scripts are actually removed (not only PW-protected as in rev) Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Rick Rice > Gesendet: Dienstag, 3. November 2009 17:29 > An: How to use Revolution > Betreff: Stack conversion > > Is there any way to convert a Tool-Book stack, app, executable, I'm > not sure what the correct description is, into a Rev stack? > I know it can not be done directly like a MC, HC or SC stack but, is > there some sort of hack which would at least make the conversion a > little more computer friendly rather than paper hostile? I have > access to the standalone and the original build. The material was > built using a recent but, not the most current version of Tool-Book. > Thanks > Rick > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Nov 3 12:07:32 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 3 Nov 2009 09:07:32 -0800 Subject: 8 days to go ? In-Reply-To: <0003991D.4AF050B4@the-office.us> References: <0003991D.4AF050B4@the-office.us> Message-ID: 16 hours of video is a PIA to edit render, duplicate and ship, if you've never done that before. It's a lot of work. Last year the DVDs were delayed for a long time, many times I assume due to presenters re-doing their live presentations for whatever reasons. Those re-recreations were pretty bad; stiff, and boring. A major attractor for me is the 'live' presentation, with the personality of the presenter coming through. ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/11/3 > Hi Richmond, > > > I am, also, looking forward to my box of conference DVDs - > > I wonder when they will materialise? Some of the lectures > > (especially Ben Beaumont's ones) would be lovely to show > > to some of the kids who are fiddling around with RevMedia > > at hoe trying to make games. > > Asked support some days ago, when the DVD set is shipped to the customers. > > The answer: > > "Thank you for your request. > > I'm sorry, I don't have any firm information yet." > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Tue Nov 3 12:11:42 2009 From: martyknapp at comcast.net (Marty Knapp) Date: Tue, 03 Nov 2009 09:11:42 -0800 Subject: Stack conversion In-Reply-To: <3EF885A5-6164-4962-A11E-57F8B2D8CE79@shaw.ca> References: <3EF885A5-6164-4962-A11E-57F8B2D8CE79@shaw.ca> Message-ID: <4AF0644E.1020608@comcast.net> Hello Rick, I don't know anything about ToolBook, but one thing I've done with some of my old WindowScript coding from my HyperCard days was to go in and copy the scripts (I used ResEdit I believe, as WindowScript was stored in the resource fork) and paste them into a text file with a quick note about where it came from (button, field, etc) then created a fresh Rev stack and pasted in the code from my text file. For me, most everything was fairly useful. Not a very elegant solution, but perhaps better than starting from scratch. FWIW, Marty Knapp > Is there any way to convert a Tool-Book stack, app, executable, I'm > not sure what the correct description is, into a Rev stack? > I know it can not be done directly like a MC, HC or SC stack but, is > there some sort of hack which would at least make the conversion a > little more computer friendly rather than paper hostile? I have access > to the standalone and the original build. The material was built using > a recent but, not the most current version of Tool-Book. > Thanks > Rick > > _______________________________________________ > use-revolution mailing list > use-revolution 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 rick-rice at shaw.ca Tue Nov 3 12:56:17 2009 From: rick-rice at shaw.ca (Rick Rice) Date: Tue, 3 Nov 2009 09:56:17 -0800 Subject: Stack conversion In-Reply-To: <3EF885A5-6164-4962-A11E-57F8B2D8CE79@shaw.ca> References: <3EF885A5-6164-4962-A11E-57F8B2D8CE79@shaw.ca> Message-ID: Thanks Stephen, Tiemo and Marty for your quick responses. My original question is proof that language is a poor form of communication (grin). What I'm after is the content (text and images) of the original Tool- Book "book". I do not want the actual code (script). I will redo the actual presentation code (script). Is there any way to actually get to the content? I have the original "book" as well as the runtime (standalone) and have been asked by the legal owners of the software to make the content available across platforms. Rick On Nov 3, 2009, at 8:28 AM, Rick Rice wrote: > Is there any way to convert a Tool-Book stack, app, executable, I'm > not sure what the correct description is, into a Rev stack? > I know it can not be done directly like a MC, HC or SC stack but, > is there some sort of hack which would at least make the conversion > a little more computer friendly rather than paper hostile? I have > access to the standalone and the original build. The material was > built using a recent but, not the most current version of Tool-Book. > Thanks > Rick > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Nov 3 13:24:48 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 3 Nov 2009 10:24:48 -0800 Subject: Stack conversion In-Reply-To: References: <3EF885A5-6164-4962-A11E-57F8B2D8CE79@shaw.ca> Message-ID: This is the fun part: to get the 'stuff' out it's probably best to write the export code using the source platform. Depressing, because one wants to move forward not backward, but recovering the data is one of the most important parts of your conversion. I had a project once to convert a hypercard stack into a MySQL database. I got Hypercard to work in Classic, wrote a handler to dump all the contents of thousands of cards to a tab-delimited text file. The data was not that clean, and required some removal of spaces and returns, etc. It's best to get your data cleaned at this stage, while you are at the source. It was strange being back in HC land. I tried to use 'repeat for each' twice in Hypertalk. oops. With images, this will be a bit harder, and will require some extra coding to save the graphic files. Perhaps a folder for each 'card' or record - each with all the associated graphics and a text file. Perhaps another way would be to grok the format of the original toolbook source file, and use Revolution to 'data-scrape' the information right out of the source. Then post the utility for others to use! ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/11/3 Rick Rice > Thanks Stephen, Tiemo and Marty for your quick responses. My original > question is proof that language is a poor form of communication (grin). > What I'm after is the content (text and images) of the original Tool-Book > "book". I do not want the actual code (script). I will redo the actual > presentation code (script). > Is there any way to actually get to the content? I have the original "book" > as well as the runtime (standalone) and have been asked by the legal owners > of the software to make the content available across platforms. > Rick > > > On Nov 3, 2009, at 8:28 AM, Rick Rice wrote: > > Is there any way to convert a Tool-Book stack, app, executable, I'm not >> sure what the correct description is, into a Rev stack? >> I know it can not be done directly like a MC, HC or SC stack but, is there >> some sort of hack which would at least make the conversion a little more >> computer friendly rather than paper hostile? I have access to the standalone >> and the original build. The material was built using a recent but, not the >> most current version of Tool-Book. >> Thanks >> Rick >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 pepetoo at cox.net Tue Nov 3 13:27:04 2009 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Tue, 3 Nov 2009 10:27:04 -0800 Subject: Stack conversion In-Reply-To: References: <3EF885A5-6164-4962-A11E-57F8B2D8CE79@shaw.ca> Message-ID: Any reason you can't just take screen shots of what ever it is you want? Then paste them into Rev images. Joe Lewis Wilkins On Nov 3, 2009, at 9:56 AM, Rick Rice wrote: > Is there any way to actually get to the content? I have the original > "book" as well as the runtime (standalone) and have been asked by > the legal owners of the software to make the content available > across platforms. > Rick > > On Nov 3, 2009, at 8:28 AM, Rick Rice wrote: > >> Is there any way to convert a Tool-Book stack, app, executable, I'm >> not sure what the correct description is, into a Rev stack? >> I know it can not be done directly like a MC, HC or SC stack but, >> is there some sort of hack which would at least make the conversion >> a little more computer friendly rather than paper hostile? I have >> access to the standalone and the original build. The material was >> built using a recent but, not the most current version of Tool-Book. >> Thanks >> Rick From jiml at netrin.com Tue Nov 3 13:41:00 2009 From: jiml at netrin.com (Jim Lambert) Date: Tue, 3 Nov 2009 10:41:00 -0800 Subject: size restricted for on-rev hosted revlets In-Reply-To: <20091103175719.2DAB948B048@mail.runrev.com> References: <20091103175719.2DAB948B048@mail.runrev.com> Message-ID: <88AF3349-5B1A-473F-8CFE-0FD13B7D4874@netrin.com> AH!! Just discovered this is related to the browser's ZOOM level. Changing the browser's Zoom resulted in rendering the full revlet. So this is NOT really a bug. But it is something to keep in mind, because apparently some browsers 'remember' the last zoom level for a site. That could result in part of your revlet appearing cut off. Thanks again to Nicolas & Jacque for trying the example urls! Jim Lambert From jacque at hyperactivesw.com Tue Nov 3 13:59:36 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Nov 2009 12:59:36 -0600 Subject: size restricted for on-rev hosted revlets In-Reply-To: <88AF3349-5B1A-473F-8CFE-0FD13B7D4874@netrin.com> References: <20091103175719.2DAB948B048@mail.runrev.com> <88AF3349-5B1A-473F-8CFE-0FD13B7D4874@netrin.com> Message-ID: <4AF07D98.80601@hyperactivesw.com> Jim Lambert wrote: > AH!! Just discovered this is related to the browser's ZOOM level. > Changing the browser's Zoom resulted in rendering the full revlet. > So this is NOT really a bug. I'm positive the team will be delighted to hear that. :) They are particularly fond of those "not a bug" bugs. > But it is something to keep in mind, because apparently some browsers > 'remember' the last zoom level for a site. > That could result in part of your revlet appearing cut off. I can think of two quick workarounds for that: 1. Always reset the zoom level before leaving the page. 2. Stop getting older so you don't need to zoom. The second solution is the preferable one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Nov 3 14:13:21 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 03 Nov 2009 21:13:21 +0200 Subject: 8 days to go ? In-Reply-To: References: <0003991D.4AF050B4@the-office.us> Message-ID: <4AF080D1.7010401@gmail.com> stephen barncard wrote: > 16 hours of video is a PIA Really, I didn't know Pakistani Airways were involved in the DVD production . . . :) [err, sorry, just couldn't resist that one.] > to edit render, duplicate and ship, if you've > never done that before. > Yes, I have done "that sort of thing"; at one rather 'tight' period in my life I was converting Scottish wedding VHS tapes into DVDs; and dealing with daft requests from wedding guests who didn't want too much of their wedding breakfast drunken antics preserved for posterity. Once you have seen 5 drunken yobboes in kilts you have seen them all . . . :) > It's a lot of work. Last year the DVDs were delayed for a long time, many > times I assume due to presenters re-doing their live presentations for > whatever reasons. That sounds pretty deadly. > Those re-recreations were pretty bad; stiff, and boring. A > major attractor for me is the 'live' presentation, with the personality of > the presenter coming through. > Frankly, if I never recieve the DVDs it is not the end of the world; I am much more keen on getting my sweaty paws on the final build of RunRev 4. From jim at visitrieve.com Tue Nov 3 14:16:34 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Tue, 3 Nov 2009 09:16:34 -1000 Subject: Help! Citrix, anyone? In-Reply-To: References: <20091005170004.ADCCE48AC97@mail.runrev.com> Message-ID: <014001ca5cba$290a3e10$7b1eba30$@com> Hi Hugh, > I am getting reports that a rev program crashes as soon as it opens in > the > Citrix environment with an 'Unexpected error' and no further details. > > Has anyone experienced problems with Citrix and Revolution? > I have tons of experience with Citrix going back to when they first launched on OS2. However, I have not worked with Citrix for probably 8-years now and no longer have a local Citrix server on which to run tests. However, I can tell you the Webinar software on which all the Rev webinars and Trevor's webinars is Citrix based. So maybe you can ask them to test the app. I highly doubt it is any rev program but probably the specific app that is making a call that can't be made from a Citrix server, or because of the way a specific Citrix server is configured. Citrix basically runs multiple virtualized copies of Windows and the apps load into these virtualized Windows environments and "think" they are running on a standalone desktop, when in fact they are running on a partition of the Citrix server or server farm. The remote user then has a very tiny client that allows remote control of one of the sessions. Usually, anything that runs under Windows will run under Citrix. But, you are going to need a lot more details on what the app does and how they have configured the Citrix server. What I would suggest is put together a very basic test app that does nothing and uses no externals, etc. and confirm that runs on their server. Then start to add in the elements of your app to see what part of it may be conflicting. If I wanted to take an absolutely wild guess, I would guess that it's a shared DLL or communications. Aloha from Hawaii, Jim Bufalini From ambassador at fourthworld.com Tue Nov 3 15:14:58 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Nov 2009 12:14:58 -0800 Subject: Stack conversion Message-ID: <4AF08F42.3010307@fourthworld.com> If there are a lot of objects you want to port, it may be worth the time writing the properties that describe them out to a file and then writing a routine in Rev to rebuild them from those properties. I wrote a couple such import/export thangs for SuperCard back in the day, but haven't had occasion to do the same for TB or I'd send your my code to get you started. It may seem a daunting process, but really most of the work is done in loops so the amount of code may be fewer than 200 lines, depending on how much fidelity you're after. But unless the project is quite large, it may be worth considering rewriting it from scratch in Rev, or making your export/import fairly lean so you're starting with just a skeleton of a framework rather than something that seems more complete. "Seems" is the operative word there: having done a LOT of porting between SC/HC/OMO and Rev, and having shipped a couple projects in TB, I've found that there are just enough differences in the object models between these tools to make a true port suboptimal. -- 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 jiml at netrin.com Tue Nov 3 15:27:53 2009 From: jiml at netrin.com (Jim Lambert) Date: Tue, 3 Nov 2009 12:27:53 -0800 Subject: size restricted for on-rev hosted revlets? In-Reply-To: <20091103175719.2DAB948B048@mail.runrev.com> References: <20091103175719.2DAB948B048@mail.runrev.com> Message-ID: Jacque wrote: > 1. Always reset the zoom level before leaving the page. > 2. Stop getting older so you don't need to zoom. > > The second solution is the preferable one. Amen! Tried approach #2; but for some reason I keep getting a recursion error. ;) Jim Lambert From jim at visitrieve.com Tue Nov 3 15:56:53 2009 From: jim at visitrieve.com (Jim Bufalini) Date: Tue, 3 Nov 2009 10:56:53 -1000 Subject: Help! Citrix, anyone? In-Reply-To: References: <20091005170004.ADCCE48AC97@mail.runrev.com> Message-ID: <014a01ca5cc8$2cd98d30$868ca790$@com> Hugh, > I am getting reports that a rev program crashes as soon as it opens in > the > Citrix environment with an 'Unexpected error' and no further details. > > Has anyone experienced problems with Citrix and Revolution? I just had another thought for you and maybe you should look at this first. Does your app position any visible stacks off-screen? Part of Citrix's patented technology and one of their claims to fame is very fast client screen updates by transmitting only the pixels of the screen that change, rather than full screen refreshes. Something we commonly do in Rev is to position stacks at like -10000,-10000 to hide them. I'm not sure how Citrix would handle this. Probably by throwing an exception. ;-) Aloha from Hawaii, Jim Bufalini From mwieder at ahsoftware.net Tue Nov 3 16:08:50 2009 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 3 Nov 2009 13:08:50 -0800 Subject: 8 days to go ? In-Reply-To: <4AF080D1.7010401@gmail.com> References: <0003991D.4AF050B4@the-office.us> <4AF080D1.7010401@gmail.com> Message-ID: <1281289264437.20091103130850@ahsoftware.net> Richmond- Tuesday, November 3, 2009, 11:13:21 AM, you wrote: > Once you have seen 5 drunken yobboes in kilts you have seen them all Not true. Definitely not true. I saw more than that in the Halfway House a couple of months ago... -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Tue Nov 3 16:29:55 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Nov 2009 15:29:55 -0600 Subject: size restricted for on-rev hosted revlets? In-Reply-To: References: <20091103175719.2DAB948B048@mail.runrev.com> Message-ID: <4AF0A0D3.4000904@hyperactivesw.com> Jim Lambert wrote: > Jacque wrote: >> 1. Always reset the zoom level before leaving the page. >> 2. Stop getting older so you don't need to zoom. >> >> The second solution is the preferable one. > Amen! > Tried approach #2; but for some reason I keep getting a recursion > error. ;) :) When I complained about having birthdays, my father used to say, "consider the alternative." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 3 16:31:23 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Nov 2009 15:31:23 -0600 Subject: 8 days to go ? In-Reply-To: <1281289264437.20091103130850@ahsoftware.net> References: <0003991D.4AF050B4@the-office.us> <4AF080D1.7010401@gmail.com> <1281289264437.20091103130850@ahsoftware.net> Message-ID: <4AF0A12B.3070708@hyperactivesw.com> Mark Wieder wrote: > Richmond- > > Tuesday, November 3, 2009, 11:13:21 AM, you wrote: > >> Once you have seen 5 drunken yobboes in kilts you have seen them all > > Not true. Definitely not true. I saw more than that in the Halfway > House a couple of months ago... > It wasn't an issue at RevLive. There was only one guy in a kilt there. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 3 16:40:57 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Nov 2009 15:40:57 -0600 Subject: including a file on on-rev In-Reply-To: <97FE43F2-C482-4F17-B29E-21EBFA76EBB7@fiberworld.nl> References: <12470.34365.qm@web65412.mail.ac4.yahoo.com> <97FE43F2-C482-4F17-B29E-21EBFA76EBB7@fiberworld.nl> Message-ID: <4AF0A369.3020904@hyperactivesw.com> Claudi Cornaz wrote: > I need to change the include statement to: > include "../lib/cc_PageStats.irev" > but this doesn't work. I have many pages at my on-rev site like that and it works fine. The "../" does mean "up one folder" and I often use it. > Even better would be, preferably a one liner, so I can include the file > from whatever dir the requested page is, > without worring about the number of levels > (I have been trying with a 'hard coded adress like > "http://claudi.on-rev.com/lib/cc_Pagestats" This works too. Did you use the include statement as a revTalk script? It has to be like this: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bdrunrev at gmail.com Tue Nov 3 17:33:44 2009 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 3 Nov 2009 22:33:44 +0000 Subject: Help! Citrix, anyone? In-Reply-To: References: <20091005170004.ADCCE48AC97@mail.runrev.com> Message-ID: It's almost a decade since I touched Citrix/Winframe. Can you explain something about how your program works. For example, does it look to the user's documents directory. Does it do any kinds of checks when it starts up? I thing I remember Monsieur X having considerable problems with Rev and Citrix. You might try sending any crash reports to RunRev. Bernard On Tue, Nov 3, 2009 at 4:25 PM, Hugh Senior wrote: > I am getting reports that a rev program crashes as soon as it opens in the > Citrix environment with an 'Unexpected error' and no further details. > > Has anyone experienced problems with Citrix and Revolution? > > /H From alex at tweedly.net Tue Nov 3 18:00:27 2009 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 03 Nov 2009 23:00:27 +0000 Subject: including a file on on-rev In-Reply-To: <4AF0A369.3020904@hyperactivesw.com> References: <12470.34365.qm@web65412.mail.ac4.yahoo.com> <97FE43F2-C482-4F17-B29E-21EBFA76EBB7@fiberworld.nl> <4AF0A369.3020904@hyperactivesw.com> Message-ID: <4AF0B60B.30502@tweedly.net> J. Landman Gay wrote: > Claudi Cornaz wrote: > >> I need to change the include statement to: >> include "../lib/cc_PageStats.irev" >> but this doesn't work. > > I have many pages at my on-rev site like that and it works fine. The > "../" does mean "up one folder" and I often use it. > This works for me too. But it does have the HUGE disadvantage that the source file must know where it is in the folder tree so it can have the correct number of "../"s). It would be better to have a form that would work from anywhere in the tree ... which leads us on to ... >> Even better would be, preferably a one liner, so I can include the >> file from whatever dir the requested page is, >> without worring about the number of levels >> (I have been trying with a 'hard coded adress like >> "http://claudi.on-rev.com/lib/cc_Pagestats" > > This works too. Indeed this works, and makes the include statement be independent of the source file location. BUT - (a) isn't it a lot of extra work ? Instead of opening a local file, the interpreter must open an http connection to the server and read the file over that. (b) isn't it a (minor) security issue ? I think I'd normally protect my include folder with a .htaccess file, so that random users can't access my include files, they can only access the web pages I want them to access. But that would (I think, haven't tested it) prevent this form of include being used. -- Alex. From jacque at hyperactivesw.com Tue Nov 3 18:32:30 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Nov 2009 17:32:30 -0600 Subject: including a file on on-rev In-Reply-To: <4AF0B60B.30502@tweedly.net> References: <12470.34365.qm@web65412.mail.ac4.yahoo.com> <97FE43F2-C482-4F17-B29E-21EBFA76EBB7@fiberworld.nl> <4AF0A369.3020904@hyperactivesw.com> <4AF0B60B.30502@tweedly.net> Message-ID: <4AF0BD8E.3010809@hyperactivesw.com> Alex Tweedly wrote: > BUT - > (a) isn't it a lot of extra work ? > Instead of opening a local file, the interpreter must open an http > connection to the server and read the file over that. > Yeah, this has been harrassing me. I'm pretty sure a path like this would work but I haven't tried it yet: ~/path/to/includeFile. I'm going to test it, that would be way easier. (b) isn't it a (minor) security issue ? No, because it's revTalk. The browser never sees the file path, only the contents of the file. To the outside, it looks like hard-coded html. > I think I'd normally protect my include folder with a .htaccess file, so > that random users can't access my include files, they can only access > the web pages I want them to access. But that would (I think, haven't > tested it) prevent this form of include being used. I don't think you'd have to, since the path is never sent to the browser. Alternately, I suppose you could store the includes outside the web folder. A path is a path, right? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Tue Nov 3 19:04:07 2009 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 04 Nov 2009 00:04:07 +0000 Subject: including a file on on-rev In-Reply-To: <4AF0BD8E.3010809@hyperactivesw.com> References: <12470.34365.qm@web65412.mail.ac4.yahoo.com> <97FE43F2-C482-4F17-B29E-21EBFA76EBB7@fiberworld.nl> <4AF0A369.3020904@hyperactivesw.com> <4AF0B60B.30502@tweedly.net> <4AF0BD8E.3010809@hyperactivesw.com> Message-ID: <4AF0C4F7.2050000@tweedly.net> J. Landman Gay wrote: > Yeah, this has been harrassing me. I'm pretty sure a path like this > would work but I haven't tried it yet: ~/path/to/includeFile. I'm > going to test it, that would be way easier. > No - already guesses that one and tried it. "File not found" > (b) isn't it a (minor) security issue ? > > No, because it's revTalk. The browser never sees the file path, only > the contents of the file. To the outside, it looks like hard-coded html. Different issue. I was concerned about simply guessing the directory name, and hence seeing the include files. Of course, since they are .irev files, you can't simply download them but you can see their names, guess their function, etc. and in some cases retrieving them will give some info about the internals of the site. And in a couple of cases I've just tried, there are other kinds of files in the includes (or inc) directory. (Apologies to anyone who notices me snooping around their site ;-) > >> I think I'd normally protect my include folder with a .htaccess file, >> so that random users can't access my include files, they can only >> access the web pages I want them to access. But that would (I think, >> haven't tested it) prevent this form of include being used. > > I don't think you'd have to, since the path is never sent to the > browser. Alternately, I suppose you could store the includes outside > the web folder. A path is a path, right? > I didn't think you can do this - but you can. And that's kind of scary. It means that a script error (or deliberate misuse) in any of your add-on domains can see and alter all files, including those in other add-on domains. I'm not sure this is a "feature", it feels more like a "bug" (or at least, a "problem"). -- Alex. From jacque at hyperactivesw.com Tue Nov 3 19:15:54 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Nov 2009 18:15:54 -0600 Subject: including a file on on-rev In-Reply-To: <4AF0C4F7.2050000@tweedly.net> References: <12470.34365.qm@web65412.mail.ac4.yahoo.com> <97FE43F2-C482-4F17-B29E-21EBFA76EBB7@fiberworld.nl> <4AF0A369.3020904@hyperactivesw.com> <4AF0B60B.30502@tweedly.net> <4AF0BD8E.3010809@hyperactivesw.com> <4AF0C4F7.2050000@tweedly.net> Message-ID: <4AF0C7BA.4070200@hyperactivesw.com> Alex Tweedly wrote: > J. Landman Gay wrote: >> Yeah, this has been harrassing me. I'm pretty sure a path like this >> would work but I haven't tried it yet: ~/path/to/includeFile. I'm >> going to test it, that would be way easier. >> > No - already guesses that one and tried it. "File not found" This works though: >> (b) isn't it a (minor) security issue ? >> >> No, because it's revTalk. The browser never sees the file path, only >> the contents of the file. To the outside, it looks like hard-coded html. > Different issue. I was concerned about simply guessing the directory > name, and hence seeing the include files. Of course, since they are > .irev files, you can't simply download them but you can see their names, > guess their function, etc. and in some cases retrieving them will give > some info about the internals of the site. And in a couple of cases I've > just tried, there are other kinds of files in the includes (or inc) > directory. (Apologies to anyone who notices me snooping around their > site ;-) Isn't that true of any site though? I've set my site not to display file listings, and anyone who tries should get a "forbidden" error page. It's an option in cPanel. Or you mean something else? >> I don't think you'd have to, since the path is never sent to the >> browser. Alternately, I suppose you could store the includes outside >> the web folder. A path is a path, right? >> > I didn't think you can do this - but you can. I know. It's pretty common I guess, I first read about it some years ago when researching something else. People writing to various forums sometimes recommend storing files there because outsiders can't see or download them. > And that's kind of scary. > It means that a script error (or deliberate misuse) in any of your > add-on domains can see and alter all files, including those in other > add-on domains. I'm not sure this is a "feature", it feels more like a > "bug" (or at least, a "problem"). If so, it's a problem for any site using any language. PHP could do the same thing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Tue Nov 3 19:34:43 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 4 Nov 2009 10:34:43 +1000 Subject: including a file on on-rev In-Reply-To: <4AF0B60B.30502@tweedly.net> References: <12470.34365.qm@web65412.mail.ac4.yahoo.com> <97FE43F2-C482-4F17-B29E-21EBFA76EBB7@fiberworld.nl> <4AF0A369.3020904@hyperactivesw.com> <4AF0B60B.30502@tweedly.net> Message-ID: >>> I need to change the include statement to: >>> include "../lib/cc_PageStats.irev" >>> but this doesn't work. >> >> I have many pages at my on-rev site like that and it works fine. The "../" >> does mean "up one folder" and I often use it. >> > This works for me too. ? But it does have the HUGE disadvantage that the > source file must know where it is in the folder tree so it can have the > correct number of "../"s). It would be better to have a form that would work > from anywhere in the tree ... which leads us on to ... And if you have include files that call other include files, they need to know where they are called from, rather than were the include file is. In HTML, if you have a path like "/images/pic.jpg" then the browser knows that this means to go to the root folder, find the images folder and use the pic.jpg file in there. Unfortunately, iRev doesn't work like this, so you have to be more specific. But this doesn't explain why Claudi is having problems. I think the On-Rev client is confused about where the lib file is going. Perhaps you should have a look using an FTP client or the FTP manager in cPanel. Cheers, Sarah From andre at andregarzia.com Tue Nov 3 20:59:38 2009 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 3 Nov 2009 23:59:38 -0200 Subject: 8 days to go ? In-Reply-To: References: <0003991D.4AF050B4@the-office.us> Message-ID: <7c87a2a10911031759kbfc14u33903cdb18fd575c@mail.gmail.com> I recreated some sessions for last year DVDs... mostly because the recording software broke on my laptop during the presentation so I lost all my screens which were valuable. I rerecorded it a lot, I tried four or five times till I could get the timing right but again, it was stiff and boring, it passed the message but it was not entertaining as I wish it could be. I went to the film school and those recreations would not pass by my own judgement. I plan to shoot some tutorials though... :D On Tue, Nov 3, 2009 at 3:07 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > 16 hours of video is a PIA to edit render, duplicate and ship, if you've > never done that before. > > It's a lot of work. Last year the DVDs were delayed for a long time, many > times I assume due to presenters re-doing their live presentations for > whatever reasons. Those re-recreations were pretty bad; stiff, and boring. > A > major attractor for me is the 'live' presentation, with the personality of > the presenter coming through. > ------------------------- > Stephen Barncard > San Francisco > http://houseofcubes.com/disco.irev > > > 2009/11/3 > > > Hi Richmond, > > > > > I am, also, looking forward to my box of conference DVDs - > > > I wonder when they will materialise? Some of the lectures > > > (especially Ben Beaumont's ones) would be lovely to show > > > to some of the kids who are fiddling around with RevMedia > > > at hoe trying to make games. > > > > Asked support some days ago, when the DVD set is shipped to the > customers. > > > > The answer: > > > > "Thank you for your request. > > > > I'm sorry, I don't have any firm information yet." > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution 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 Tue Nov 3 21:11:29 2009 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 4 Nov 2009 00:11:29 -0200 Subject: including a file on on-rev In-Reply-To: References: <12470.34365.qm@web65412.mail.ac4.yahoo.com> <97FE43F2-C482-4F17-B29E-21EBFA76EBB7@fiberworld.nl> <4AF0A369.3020904@hyperactivesw.com> <4AF0B60B.30502@tweedly.net> Message-ID: <7c87a2a10911031811q567c998dmbf0ed22e18c1b77@mail.gmail.com> Hi Folks, The defaultfolder is always the folder that the requested script is (unless you change it yourself). So what I do is on top of my scripts, I include a specific include file that changes the defaultfolder to some root place like /public_html/ and then all the other includes are in reference to that, makes easier to maintain. We need to have a mental map of the division between Apache and RevServer. Apache sees a url with a path and it will use all it's configuration madness, virtual server stuff, aliases and who knows what to pinpoint where it should actually find the resource. When using RevServer people tend to keep that Apache resolution in mind and think that a URL "binfile:/images/logo.png" will be pointing to the same place a would point. This is misleading, RevServer is Rev, and Rev will work with the filesystem and it will all be relative to the defaultfolder. When we use "include" we're asking for a file in the file system not a network resource. This means that we can hop to parent folder with "../" or access hard drive root at "/" and that file & user permissions are in effect. Another thing that trick users is line endings. RevServer is running on Linux, so you might need to convert line endings before trying to upload a file or it will give you execution errors. FTP clients such as interarchy can do it automatically for you. cheers, I am talkative due to sleeplessness :D From jimaultwins at yahoo.com Tue Nov 3 21:12:22 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 3 Nov 2009 18:12:22 -0800 Subject: including a file on on-rev In-Reply-To: References: <12470.34365.qm@web65412.mail.ac4.yahoo.com> <97FE43F2-C482-4F17-B29E-21EBFA76EBB7@fiberworld.nl> <4AF0A369.3020904@hyperactivesw.com> <4AF0B60B.30502@tweedly.net> Message-ID: <18AB7F62-B5FA-46DB-A697-9E3522C46822@yahoo.com> I am chiming in here to set a few admin basics that govern web hosting access. The OnRev server is running Linux operating system. Permissions for file and folder access are set by Linux. Linux has been setup to allow Apache to be designated as an owner of a file or folder. When you use command line for 'chown' or 'chmod' commands, you are talking to Linux and setting permissions. If Apache is an owner of a folder (eg. publicHtml/) it has access to that folder according to the Linux permission level (0-7). Apache can read and write files in a folder if it is the owner and the file access level is 6. Apache can execute a script if the access level of the script file is 7. Browsers talk to Apache and request various kind of information. Before Apache takes action, it looks in the folder to see if there is an htaccess file. If so, it reads it as a text file and follows the rules that have been put there by the web site admin. Linux does not know anything about htaccess rules. Apache always follows htaccess rules, if present. Access rules are very powerful and complex. One rule could be that any request for a file (eg. userInfo.txt) is honored by Apache by returning a different file (eg. notPermittedMsg.txt). Skilled web admins will use many htaccess files to keep users out of folders or from executing files. Do a Google for 'htaccess' to see some tutorials on this. Now getting to the FTP access (not the Linux computer operating system or the Apache program). This is governed by cPanel settings. You can setup several FTP user accounts and allow uploading/ downloading. Each account has a specified 'home' folder and typically cannot access any other folders outside that path. This allows web designers access to specific folders, and not all. Not all hosting systems are the same, and much depends on what the hosting company wants to allow. First: Claudi may be using an FTP account login:password that is set to "testing/", but not likely. Looking closely at the "FTP error file "/testing/..//lib/cc_PageStats.irev" not present. shows two "//" in the path, which will give an error. The word "testing" comes from the parent folder the 'page' requesting the include file. I am not sure why the double slash occurs without more info. Secondly: Alex said about access to all the folders on a hosting site... "I didn't think you can do this - but you can. And that's kind of scary. It means that a script error (or deliberate misuse) in any of your add-on domains can see and alter all files, including those in other add-on domains. I'm not sure this is a "feature", it feels more like a "bug" (or at least, a "problem"). Access to all the subdomain folders can be regulated, primarily using *group* permissions, and also by using htaccess files in each folder. Often there are libraries and databases that are used by several subdomains. For years the use of PHP globals was convenient, but allowed anyone to easily attack a server. No one uses these globals anymore. As I learn more about OnRev in the coming months, I will show examples of protecting a scripts, subdomains, and hazardous scripts. I have a couple utility scripts to deal with moving files into deeper folder levels and not having to rewrite the include paths. Basically, you call a script that builds the path for you. The gurus of web hosting should be able to add specifics and corrections, but this is a start. Hope this helps More to come. Jim Ault Las Vegas From stephenREVOLUTION2 at barncard.com Tue Nov 3 21:45:19 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 3 Nov 2009 18:45:19 -0800 Subject: 8 days to go ? In-Reply-To: <7c87a2a10911031759kbfc14u33903cdb18fd575c@mail.gmail.com> References: <0003991D.4AF050B4@the-office.us> <7c87a2a10911031759kbfc14u33903cdb18fd575c@mail.gmail.com> Message-ID: Andre - your informative, lively presentations are always a high point in my Rev conference experience! ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/11/3 Andre Garzia > I recreated some sessions for last year DVDs... mostly because the > recording > software broke on my laptop during the presentation so I lost all my > screens > which were valuable. > > I rerecorded it a lot, I tried four or five times till I could get the > timing right but again, it was stiff and boring, it passed the message but > it was not entertaining as I wish it could be. I went to the film school > and > those recreations would not pass by my own judgement. I plan to shoot some > tutorials though... > > :D > > On Tue, Nov 3, 2009 at 3:07 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > 16 hours of video is a PIA to edit render, duplicate and ship, if you've > > never done that before. > > > > It's a lot of work. Last year the DVDs were delayed for a long time, many > > times I assume due to presenters re-doing their live presentations for > > whatever reasons. Those re-recreations were pretty bad; stiff, and > boring. > > A > > major attractor for me is the 'live' presentation, with the personality > of > > the presenter coming through. > > ------------------------- > > Stephen Barncard > > San Francisco > > http://houseofcubes.com/disco.irev > > > > > > 2009/11/3 > > > > > Hi Richmond, > > > > > > > I am, also, looking forward to my box of conference DVDs - > > > > I wonder when they will materialise? Some of the lectures > > > > (especially Ben Beaumont's ones) would be lovely to show > > > > to some of the kids who are fiddling around with RevMedia > > > > at hoe trying to make games. > > > > > > Asked support some days ago, when the DVD set is shipped to the > > customers. > > > > > > The answer: > > > > > > "Thank you for your request. > > > > > > I'm sorry, I don't have any firm information yet." > > > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution 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 katir at hindu.org Tue Nov 3 22:09:45 2009 From: katir at hindu.org (Sivakatirswami) Date: Tue, 03 Nov 2009 17:09:45 -1000 Subject: Minute HTML control in iRev Message-ID: <4AF0F079.7050100@hindu.org> I have an interest in dynamically changing html code chunks based on conditionals This iFrame posted on a Word Press Blog will rotate the background on each refresh. But I want to take it one step further... if the definition is longer than 350 chars, then we want to insert an image into the html http://himalayanacademy.com/blog/taka/2009/11/02/words-to-ponder/ All this works beautifully, in fact it is so "light years" ahead of where we have been with revCGI in the past... its inspiring. But I sometimes ask for cheese from the moon, so here goes: I am wondering if there is an easier way to get iRev to decide to use a particular chunk of html where we don't have to actually build the html strings inside our iRev code... but instead have irev use or not use sections on the page in their "natural" html form. This works: 350 then put format ("
") put format ("") else put format ("
") end if ?>

:

but what would be "neat" easier and clearer would be (this is a fantasy chunk.. but gives you the idea...) 350 then ?> # then use this plain html div style=\"margin: 15px;padding:2px 15px 2px 15px;\"> img src="/resources/lexicon/images/backgrounds/EyeGlass.jpg" style="float:left; margin-right:12px;" /> # use this plain html instead

:

i.e. goal: based on conditionals, case statement etc. swap out entire chunks of html without having to build those strings in the code itself, but rather "talk" to the page as in: "Use this next section of html" or "skip this next section of html" Any ideas? Note: I do not know a single drop of javascript, Sivakatirswami From sarah.reichelt at gmail.com Tue Nov 3 22:23:44 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 4 Nov 2009 13:23:44 +1000 Subject: including a file on on-rev In-Reply-To: <7c87a2a10911031811q567c998dmbf0ed22e18c1b77@mail.gmail.com> References: <12470.34365.qm@web65412.mail.ac4.yahoo.com> <97FE43F2-C482-4F17-B29E-21EBFA76EBB7@fiberworld.nl> <4AF0A369.3020904@hyperactivesw.com> <4AF0B60B.30502@tweedly.net> <7c87a2a10911031811q567c998dmbf0ed22e18c1b77@mail.gmail.com> Message-ID: > The defaultfolder is always the folder that the requested script is (unless > you change it yourself). So what I do is on top of my scripts, I include a > specific include file that changes the defaultfolder to some root place like > /public_html/ and then all the other includes are in reference to that, > makes easier to maintain. That is a very neat idea. Then all file references can be made relative to the root folder which would save a lot of trouble. Thanks Andre. Cheers, Sarah From sarah.reichelt at gmail.com Tue Nov 3 22:28:49 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 4 Nov 2009 13:28:49 +1000 Subject: Minute HTML control in iRev In-Reply-To: <4AF0F079.7050100@hindu.org> References: <4AF0F079.7050100@hindu.org> Message-ID: > but what would be "neat" easier and clearer would be (this is a fantasy > chunk.. but gives you the idea...) > > > if len(tDefinition) > 350 then ?> > > # then use this plain html > > div style=\"margin: 15px;padding:2px 15px 2px 15px;\"> > img src="/resources/lexicon/images/backgrounds/EyeGlass.jpg" > style="float:left; margin-right:12px;" /> > > else > ?> > > # use this plain html instead > >
> > end if > ?> > >

?>:

>

>
> > i.e. goal: based on conditionals, case statement etc. swap out entire chunks > of html without having to build those strings in the code itself, but rather > "talk" to the page as in: "Use this next section of html" or "skip this next > section of html" Nothing "fantasy" about this. I do it all the time and I reckon it is a lot easier than trying to quote the html so it can go into a put statement. So:

x = 3

x <> 3

is perfectly valid iRev code. It can get a bit messy, but format as neatly as you can, indent and add blank lines so that it stays readable. Cheers, Sarah From katir at hindu.org Tue Nov 3 23:46:57 2009 From: katir at hindu.org (Sivakatirswami) Date: Tue, 03 Nov 2009 18:46:57 -1000 Subject: Minute HTML control in iRev In-Reply-To: References: <4AF0F079.7050100@hindu.org> Message-ID: <4AF10741.3010908@hindu.org> Sarah Reichelt wrote: >> but what would be "neat" easier and clearer would be (this is a fantasy >> chunk.. but gives you the idea...) >> >> > > > Nothing "fantasy" about this. I do it all the time and I reckon it is > a lot easier than trying to quote the html so it can go into a put > statement. So: > > >

x = 3

> >

x <> 3

> > > is perfectly valid iRev code. > It can get a bit messy, but format as neatly as you can, indent and > add blank lines so that it stays readable. > > Cheers, > Sarah Confirmed, it works... simply marvelous! 350 then ?>

:

From scott at tactilemedia.com Wed Nov 4 01:02:16 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 03 Nov 2009 22:02:16 -0800 Subject: 8 days to go ? In-Reply-To: <7c87a2a10911031759kbfc14u33903cdb18fd575c@mail.gmail.com> Message-ID: The Rev folks lost all audio in one of my presentations and asked me to recreate it. This was not something I wanted to do, but I spent 3 days, trying to figure out something close to what I said and trying to get the timing to match the recorded video. Quite an unpleasant and frustrating task when you know it was already done before. The result may have been stiff and boring, but given that the presentation was supposed to be somewhat informative, stiff and boring seems better than the alternative of silence. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Recently, Andre Garzia wrote: > I recreated some sessions for last year DVDs... mostly because the recording > software broke on my laptop during the presentation so I lost all my screens > which were valuable. > > I rerecorded it a lot, I tried four or five times till I could get the > timing right but again, it was stiff and boring, it passed the message but > it was not entertaining as I wish it could be. I went to the film school and > those recreations would not pass by my own judgement. I plan to shoot some > tutorials though... > > :D > > On Tue, Nov 3, 2009 at 3:07 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > >> 16 hours of video is a PIA to edit render, duplicate and ship, if you've >> never done that before. >> >> It's a lot of work. Last year the DVDs were delayed for a long time, many >> times I assume due to presenters re-doing their live presentations for >> whatever reasons. Those re-recreations were pretty bad; stiff, and boring. >> A >> major attractor for me is the 'live' presentation, with the personality of >> the presenter coming through. >> ------------------------- >> Stephen Barncard >> San Francisco >> http://houseofcubes.com/disco.irev From runrev260805 at m-r-d.de Wed Nov 4 01:48:05 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Wed, 4 Nov 2009 06:48:05 +0000 Subject: Re-2: Minute HTML control in iRev Message-ID: <0003997C.4AF131B4@the-office.us> Hi, i am an On-Rev user from the beginning, but it took about 4 months , before i realized that it is so much easier to do. I nearly broke my neck before to get the html stuff done in the irev code. Maybe Runrev should mention on their On-Rev side that this is possible. Regards, Matthias -------- Original Message -------- Subject: Re: Minute HTML control in iRev (04-Nov-2009 6:45) From: Sarah Reichelt To: runrev260805 at m-r-d.de > > but what would be "neat" easier and clearer would be (this is a fantasy > > chunk.. but gives you the idea...) > > > > > > > if len(tDefinition) > 350 then ?> > > > > # then use this plain html > > > > div style=\"margin: 15px;padding:2px 15px 2px 15px;\"> > > img src="/resources/lexicon/images/backgrounds/EyeGlass.jpg" > > style="float:left; margin-right:12px;" /> > > > > > else > > ?> > > > > # use this plain html instead > > > >
> > > > > end if > > ?> > > > >

> ?>:

> >

> >
> > > > i.e. goal: based on conditionals, case statement etc. swap out entire > > chunks > > of html without having to build those strings in the code itself, but > > rather > > "talk" to the page as in: "Use this next section of html" or "skip this > > next > > section of html" > > > Nothing "fantasy" about this. I do it all the time and I reckon it is > a lot easier than trying to quote the html so it can go into a put > statement. So: > > >

x = 3

> >

x <> 3

> > > is perfectly valid iRev code. > It can get a bit messy, but format as neatly as you can, indent and > add blank lines so that it stays readable. > > 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 richmondmathewson at gmail.com Wed Nov 4 02:47:11 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 04 Nov 2009 09:47:11 +0200 Subject: 8 days to go ? In-Reply-To: <4AF0A12B.3070708@hyperactivesw.com> References: <0003991D.4AF050B4@the-office.us> <4AF080D1.7010401@gmail.com> <1281289264437.20091103130850@ahsoftware.net> <4AF0A12B.3070708@hyperactivesw.com> Message-ID: <4AF1317F.4010103@gmail.com> J. Landman Gay wrote: > Mark Wieder wrote: >> Richmond- >> >> Tuesday, November 3, 2009, 11:13:21 AM, you wrote: >> >>> Once you have seen 5 drunken yobboes in kilts you have seen them all >> >> Not true. Definitely not true. I saw more than that in the Halfway >> House a couple of months ago... >> > > It wasn't an issue at RevLive. There was only one guy in a kilt there. ;) > It wasn't the yobbo in the kilt that made the loudest noise, was it madam? I must be crazy; in my upcoming revlet release of my Sanskrit typewriter Muzz Landman Gay is only one of 3 RunRev developers mentioned in my acknowledgements . . . mind you, in mildly abusive terms . . . :) Hope to have the RC1 'UP' by Friday night, at which point I will post the URL here. From toolbook at kestner.de Wed Nov 4 03:35:39 2009 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 4 Nov 2009 09:35:39 +0100 Subject: AW: Stack conversion In-Reply-To: Message-ID: Hi Rick, yes there is. But regardless if you are going to write an export script or do the export by hand, you'll need a copy of Toolbook to open the original book (write a custom export script) and export the content. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution- > bounces at lists.runrev.com] Im Auftrag von Rick Rice > Gesendet: Dienstag, 3. November 2009 18:56 > An: How to use Revolution > Betreff: Re: Stack conversion > > Thanks Stephen, Tiemo and Marty for your quick responses. My original > question is proof that language is a poor form of communication (grin). > What I'm after is the content (text and images) of the original Tool- > Book "book". I do not want the actual code (script). I will redo the > actual presentation code (script). > Is there any way to actually get to the content? I have the original > "book" as well as the runtime (standalone) and have been asked by the > legal owners of the software to make the content available across > platforms. > Rick > > On Nov 3, 2009, at 8:28 AM, Rick Rice wrote: > > > Is there any way to convert a Tool-Book stack, app, executable, I'm > > not sure what the correct description is, into a Rev stack? > > I know it can not be done directly like a MC, HC or SC stack but, > > is there some sort of hack which would at least make the conversion > > a little more computer friendly rather than paper hostile? I have > > access to the standalone and the original build. The material was > > built using a recent but, not the most current version of Tool-Book. > > Thanks > > Rick > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution 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 th.douez at sunnyrevcode.com Wed Nov 4 03:50:20 2009 From: th.douez at sunnyrevcode.com (Thierry D.) Date: Wed, 4 Nov 2009 09:50:20 +0100 Subject: revolution on linux with JWM Message-ID: <8804CF18-7030-4E4D-9E28-AD8751821D25@sunnyrevcode.com> Hi all, can someone confirm ( or not ) any success installing revolution on any linux box with the JWM window manager ? Thanks for any info or pointers. Regards, Thierry From mcdomi at free.fr Wed Nov 4 05:57:46 2009 From: mcdomi at free.fr (Dom) Date: Wed, 4 Nov 2009 11:57:46 +0100 Subject: Is RevWebPlayer *PPC* rotten?! NO MORE! In-Reply-To: <1j744hb.14rzpckyll9n4M%mcdomi@free.fr> Message-ID: <1j8nnkr.z3upfqdrcypgM%mcdomi@free.fr> Dom wrote: > It's in the title ;-) The plugin runs flawlessly on my iMac G5 :-) kudos to the developers who have re-engineered the plugin! -- Dom AKA Medard "on the web" http://medard.on-rev.com/ From richmondmathewson at gmail.com Wed Nov 4 05:58:17 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 04 Nov 2009 12:58:17 +0200 Subject: Sanskrit Typewriter RC1 Message-ID: <4AF15E49.50102@gmail.com> "Be there or be square" . . . :) http://andregarzia.on-rev.com/richmond/test.html Please try and break it and throw me any criticism and suggestions for improvement. sincerely, Richmond Mathewson. From mcdomi at free.fr Wed Nov 4 06:02:04 2009 From: mcdomi at free.fr (Dom) Date: Wed, 4 Nov 2009 12:02:04 +0100 Subject: size restricted for on-rev hosted revlets In-Reply-To: <4AF07D98.80601@hyperactivesw.com> Message-ID: <1j8no06.fn2dnk1hb6r26M%mcdomi@free.fr> J. Landman Gay wrote: > 2. Stop getting older so you don't need to zoom. ;-> + don't buy those huge screens with very high dpi rates ;-) From richmondmathewson at gmail.com Wed Nov 4 06:06:07 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 04 Nov 2009 13:06:07 +0200 Subject: size restricted for on-rev hosted revlets In-Reply-To: <1j8no06.fn2dnk1hb6r26M%mcdomi@free.fr> References: <1j8no06.fn2dnk1hb6r26M%mcdomi@free.fr> Message-ID: <4AF1601F.5020408@gmail.com> Dunno; just uploaded a 2.5 MB revlet to on-rev: seems OK. From williamdesmet at gmail.com Wed Nov 4 06:43:27 2009 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 4 Nov 2009 12:43:27 +0100 Subject: Sanskrit Typewriter RC1 In-Reply-To: <4AF15E49.50102@gmail.com> References: <4AF15E49.50102@gmail.com> Message-ID: Hi there Richmond, I quickly tested your Sanskrit Typewriter on Mac OSX 10.6 and I noticed the following things: - the background of the page and the writer (green) are not the same color. Should it be the same? - the background of confirmation dialog after exporting is also green. I don't think it's very nice and handy. - the fonts doesn't resize So far my first comment. Congratulations on your first RC! Greetings, William 2009/11/4 Richmond Mathewson > "Be there or be square" . . . :) > > http://andregarzia.on-rev.com/richmond/test.html > > Please try and break it and throw me any criticism > and suggestions for improvement. > > 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 claudi.c at fiberworld.nl Wed Nov 4 07:27:31 2009 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Wed, 4 Nov 2009 13:27:31 +0100 Subject: including a file on on-rev In-Reply-To: <18AB7F62-B5FA-46DB-A697-9E3522C46822@yahoo.com> References: <12470.34365.qm@web65412.mail.ac4.yahoo.com> <97FE43F2-C482-4F17-B29E-21EBFA76EBB7@fiberworld.nl> <4AF0A369.3020904@hyperactivesw.com> <4AF0B60B.30502@tweedly.net> <18AB7F62-B5FA-46DB-A697-9E3522C46822@yahoo.com> Message-ID: <46F1D4E6-2344-4C34-8234-BD8133CA26ED@fiberworld.nl> Thanks all for your ideas and responses What a great list this is. I still can't get the ../lib/cc_Pagestats working (strange) Jim the double slash in "/testing/..//lib/cc_PageStats.irev" was a typo from me in the email By the way thanks for the explanation about linux/apache. It sure helps in getting a overall picture. Setting the defaultFolder as Andre sugested on the other hand works like a charme. So that's the way to go for me. So I am off now to do some more coding and probably finding more problems/learnings on the way. Thanks all Claudi From mcgrath3 at mac.com Wed Nov 4 08:03:24 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 04 Nov 2009 08:03:24 -0500 Subject: Sanskrit Typewriter RC1 In-Reply-To: <4AF15E49.50102@gmail.com> References: <4AF15E49.50102@gmail.com> Message-ID: <8F86198B-71C5-4F9B-AB62-D347EC5F862E@mac.com> Richmond, I am getting square boxes instead of characters in the text field. Does this need a font included? 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 Nov 4, 2009, at 5:58 AM, Richmond Mathewson wrote: > "Be there or be square" . . . :) > > http://andregarzia.on-rev.com/richmond/test.html > > Please try and break it and throw me any criticism > and suggestions for improvement. > > 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 mcgrath3 at mac.com Wed Nov 4 08:05:26 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 04 Nov 2009 08:05:26 -0500 Subject: including a file on on-rev In-Reply-To: <46F1D4E6-2344-4C34-8234-BD8133CA26ED@fiberworld.nl> References: <12470.34365.qm@web65412.mail.ac4.yahoo.com> <97FE43F2-C482-4F17-B29E-21EBFA76EBB7@fiberworld.nl> <4AF0A369.3020904@hyperactivesw.com> <4AF0B60B.30502@tweedly.net> <18AB7F62-B5FA-46DB-A697-9E3522C46822@yahoo.com> <46F1D4E6-2344-4C34-8234-BD8133CA26ED@fiberworld.nl> Message-ID: <48D48720-3626-4960-A2BF-C75B5F87E74B@mac.com> Claudi, Can you post the different 'working' code in comparison to what your first attempt was? That would be great. 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 Nov 4, 2009, at 7:27 AM, Claudi Cornaz wrote: > > Thanks all for your ideas and responses > What a great list this is. > > I still can't get the ../lib/cc_Pagestats working (strange) > Jim the double slash in "/testing/..//lib/cc_PageStats.irev" was a > typo from me in the email > By the way thanks for the explanation about linux/apache. It sure > helps in getting a overall picture. > > Setting the defaultFolder as Andre sugested on the other hand works > like a charme. So that's the way to go for me. > > So I am off now to do some more coding and probably finding more > problems/learnings on the way. > > Thanks all > Claudi > _______________________________________________ > use-revolution mailing list > use-revolution 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 Wed Nov 4 08:44:44 2009 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 04 Nov 2009 08:44:44 -0500 Subject: revTalk - iRev - revWeb - PHP - iPhone and back again Message-ID: Overview: I have been plugging away at writing an iPhone application that manipulates photos and uploads them online (why I have been so silent on the list for awhile). And except for a major confusion working with the internal database (still unresolved) I have been able to get everything else working. What I can do so far is load a view on the iPhone and take a picture or use a picture from the camera/library on the iPhone, add a background, a frame and some text from a database. I can also edit the text in a table and save to a user file in the device. Lastly, I can email and SMS the final image to another phone or computer and NOW I can send the picture up to rev-online via a 'borrowed' PHP script. What I would like to do is have either iRev or a revWeb standalone 'know' when new images are uploaded and display them in the browser for users to see and show. I would also like to have iRev/revWeb send out a push notification to another iPhone application (the image viewer) so that viewers will know that other users have uploaded new pictures. I am studying up on the push notification on the iPhone side. The Problem: The problem is that I , like a lot of other revTalk developers, am clueless when it comes to PHP and iRev and the how's and why's and where's of how all of these tie together. What with learning from scratch all of the objective-c code I really haven't had the time to also learn PHP and even if I had, figuring out how to tie them all together for what I want is a daunting task. There are no books or videos or tutorials on how to accomplish these things. I am getting little tid-bits from this list like the great explanation recently on linux/apache. In the past I could just download a sample stack and tear it apart and 'see' how it all works but now there are so few examples of each of these "as they are related to each other" that I just don't know where to turn. We revver's have such a unique product line and being able to integrate this with HTML, CSS, PHP, Javascript, CGI, Wordpress, etc. and for my case being able to use iRev to handle incoming images from my iPhone application and then possibly sending/handling the push notification back, there is such opportunity for this if only we can put it all together. I just don't know any "HTML, CSS, PHP, Javascript, mySQL, SQLite, Javascript, CGI, Wordpress, Objective-C, C++, Apache, on-rev server, iRev RevTalking" experts. I think we are to be the first. I am willing to share what I have learned on the objective-c side (it is so cool being able to send an image to my own on-rev server from my own phone) and I need to get up to date on how the rest ties together. The bigger picture as it were but with enough details to work it out. I will eventually figure it out, but wouldn't it be great if we had a way to put it all together in one place. The shared expertise of all on this list directed towards individual multi-part objectives to be shared by all. The big picture. A sort of zoomQuilt for RevTalkers. Warmest regards, 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 runrev260805 at m-r-d.de Wed Nov 4 08:52:16 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Wed, 4 Nov 2009 13:52:16 +0000 Subject: Sanskrit Typewriter RC1 Message-ID: <0003997F.4AF1951E@the-office.us> Hi Richmond, tried it here under windows with Firefox and IE8. - Characters, which are shown directly after pressing the a key on the main page are displayed correctly. - But pressing a character , e.g. the first one of line 2 ( from above), opens a new keyboard. But pressing this character gives me just a square. This happens with all characters, which should be created through this kind of "sub"-keyboard. Sorry, i do not know how to explain better in english. Regards, Matthias -------- Original Message -------- Subject: Sanskrit Typewriter RC1 (04-Nov-2009 12:00) From: Richmond Mathewson To: runrev260805 at m-r-d.de > "Be there or be square" . . . :) > > http://andregarzia.on-rev.com/richmond/test.html > > Please try and break it and throw me any criticism > and suggestions for improvement. > > 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 > > > > > To: use-revolution at lists.runrev.com From shaosean at wehostmacs.com Wed Nov 4 09:45:56 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Wed, 4 Nov 2009 09:45:56 -0500 Subject: revTalk - iRev - revWeb - PHP - iPhone and back again Message-ID: <4ECF92F5-E35D-4C28-8968-D73BF769A436@wehostmacs.com> Not having used server-side rev yet (when will this be released for us to install on our own servers?) all I can tell you is that this is easy to do with Rev CGIs (or even a compiled Rev app running -ui) From coiin at verizon.net Wed Nov 4 09:50:14 2009 From: coiin at verizon.net (Colin Holgate) Date: Wed, 04 Nov 2009 09:50:14 -0500 Subject: Updater and mds Message-ID: <506C6E24-4C52-4BC7-8F1E-37255B3CB8A2@verizon.net> After I use Safari for the first time after a wake up or restart, a couple of processes start taking about 160% of my CPU, and my fans start running at full speed. Quitting Safari, and all apps come to that, doesn't stop those two processes, I have to use Activity Monitor to force quit the Updater one. If I do a Sample of what is going on, there seems to be a repeated use of something called revUpdateCheck, which makes me think that the plugin is doing an update check that never succeeds, and never gives up. Doesn't this seem wrong somehow? From eric.miclo at wanadoo.fr Wed Nov 4 10:21:05 2009 From: eric.miclo at wanadoo.fr (=?iso-8859-1?Q?=C9ric_Miclo?=) Date: Wed, 4 Nov 2009 16:21:05 +0100 Subject: Updater and mds In-Reply-To: <506C6E24-4C52-4BC7-8F1E-37255B3CB8A2@verizon.net> References: <506C6E24-4C52-4BC7-8F1E-37255B3CB8A2@verizon.net> Message-ID: Hello, Same thing here. Seems that something gets wrong. Best, ?rIC Le 4 nov. 2009 ? 15:50, Colin Holgate a ?crit : > > After I use Safari for the first time after a wake up or restart, a > couple of processes start taking about 160% of my CPU, and my fans > start running at full speed. Quitting Safari, and all apps come to > that, doesn't stop those two processes, I have to use Activity > Monitor to force quit the Updater one. > > If I do a Sample of what is going on, there seems to be a repeated > use of something called revUpdateCheck, which makes me think that > the plugin is doing an update check that never succeeds, and never > gives up. > > Doesn't this seem wrong somehow? > _______________________________________________ > use-revolution mailing list > use-revolution 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 runrev260805 at m-r-d.de Wed Nov 4 10:26:54 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Wed, 4 Nov 2009 15:26:54 +0000 Subject: Re-2: Sanskrit Typewriter RC1 Message-ID: <00039980.4AF1AB4C@the-office.us> Hi, please excuse. There was a typo in my report. It should be - Characters, which are shown directly after pressing a key on the main page are displayed correctly. - But pressing a character , e.g. the first one of line 2 ( from above), opens a new keyboard. But pressing a character on this "sub"-keyboard gives me just a square. This happens with all characters, which should be created through this kind of "sub"-keyboard. Sorry, i do not know how to explain better in english. Regards, Matthias -------- Original Message -------- Subject: Re: Sanskrit Typewriter RC1 (04-Nov-2009 14:56) From: runrev260805 at m-r-d.de To: runrev260805 at m-r-d.de > Hi Richmond, > > tried it here under windows with Firefox and IE8. > > - Characters, which are shown directly after pressing the a key on the main > page are displayed correctly. > > - But pressing a character , e.g. the first one of line 2 ( from above), > opens a new keyboard. But pressing this character gives me just a square. > This happens with all characters, which should be created through this kind > of "sub"-keyboard. Sorry, i do not know how to explain better in english. > > Regards, > > Matthias > > -------- Original Message -------- > Subject: Sanskrit Typewriter RC1 (04-Nov-2009 12:00) > From: Richmond Mathewson > To: runrev260805 at m-r-d.de > > > "Be there or be square" . . . :) > > > > http://andregarzia.on-rev.com/richmond/test.html > > > > Please try and break it and throw me any criticism > > and suggestions for improvement. > > > > 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 > > > > > > > > > > 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 > > > > > To: use-revolution at lists.runrev.com From richmondmathewson at gmail.com Wed Nov 4 10:56:31 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 04 Nov 2009 17:56:31 +0200 Subject: Dialogue boxes in Green? Message-ID: <4AF1A42F.1070109@gmail.com> William de Smet very kindly pointed out that the dialogue boxes of my Sanskrit Typewriter are green: http://andregarzia.on-rev.com/richmond/test.html So I set the stackColor to empty and went through colorizing the individual cards (*&X><*!), and uploaded RC "1.001" to now avail. I also reran revFontLoad to embed the Sanskrit2003 font . . . Help with dialogue boxes in revlets would be appreciated - if no joy, will have to "roll my own", and as no palettes are permitted they will have to be full-screen - Yuck. From richmondmathewson at gmail.com Wed Nov 4 10:59:58 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 04 Nov 2009 17:59:58 +0200 Subject: Sanskrit Typewriter RC1 In-Reply-To: <0003997F.4AF1951E@the-office.us> References: <0003997F.4AF1951E@the-office.us> Message-ID: <4AF1A4FE.2070605@gmail.com> runrev260805 at m-r-d.de wrote: > Hi Richmond, > > tried it here under windows with Firefox and IE8. > > - Characters, which are shown directly after pressing the a key on the main page are displayed correctly. > > - But pressing a character , e.g. the first one of line 2 ( from above), opens a new keyboard. But pressing this character gives me just a square. > This happens with all characters, which should be created through this kind of "sub"-keyboard. Sorry, i do not know how to explain better in english. > > Regards, > > Matthias > > Thanks Matthias; Sanskrit2003.ttf is a non-standard Unicode font that uses the Personal Use Area of the Basic Multilingual Plane. The basic glyphs (i.e. in the first keyboard ARE standard). I have just uploaded Rc "1.001" and have tried to use revFontLoad to embed the font . . . From jacque at hyperactivesw.com Wed Nov 4 13:37:22 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Nov 2009 12:37:22 -0600 Subject: 8 days to go ? In-Reply-To: <4AF1317F.4010103@gmail.com> References: <0003991D.4AF050B4@the-office.us> <4AF080D1.7010401@gmail.com> <1281289264437.20091103130850@ahsoftware.net> <4AF0A12B.3070708@hyperactivesw.com> <4AF1317F.4010103@gmail.com> Message-ID: <4AF1C9E2.6060106@hyperactivesw.com> Richmond Mathewson wrote: > It wasn't the yobbo in the kilt that made the loudest noise, was it madam? I'm not sure, but I did enjoy looking at your knees. And meeting you was a pleasure. I admit to being angry with you at first, but you've redeemed yourself over the years and I now think of you affectionately as "our" yobbo. I'm glad you stuck with us. > > I must be crazy; in my upcoming revlet release of my Sanskrit typewriter > Muzz Landman Gay is only one of 3 RunRev developers mentioned in my > acknowledgements . . . mind you, in mildly abusive terms . . . :) That made me go to the site and look. :) You've done a nice job. The keyboard works well, though I can't understand a thing I typed. I had no problem with the font (was using the newer update with the embedded font.) The only thing I noticed was that the characters which required 2 clicks always seemed to output the same boxed glyph. The ones that only required a single click did output different characters. I liked the large text review. Editing there tranferred successfully to the keyboard layout when I switched back. All the buttons I tried worked. Good for you. Congrats. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Nov 4 13:56:05 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 04 Nov 2009 20:56:05 +0200 Subject: revFont: probably missing something. Message-ID: <4AF1CE45.5020805@gmail.com> Can anybody tell me how (????) I make sure the revFont.bundle and the revFont.dll are rolled into a revlet? whether that is possible? and how it will help me? From shaosean at wehostmacs.com Wed Nov 4 16:30:46 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Wed, 4 Nov 2009 16:30:46 -0500 Subject: [ANN] ssMacWindows 1.1.0 Message-ID: <6DD92685-2545-47CF-A6CA-4ADEFA819CF3@wehostmacs.com> Just a small update that includes some nice features for game developers (and other developers who need these features too).. - Switch display resolution and colour depth - Fade the display over a period of time and with any colour When switching the display resolution the screen automatically fades to blue before the switch and then fades out from the blue to show you the new resolution. Resolution switching is also only temporary while your application is running (you can restore it automatically in your application or the system will automatically do it when your application quits). The four window transitions have been renamed to be a little more clear about what they do (the old command names still work and always will). More information and download link: < http://www.shaosean.tk/ssMacWindows.html > Thank you for all your support and if there is something you would like to see in a future build, please feel free to contact me off-list and I will see what I can do.. -Sean From m.schonewille at economy-x-talk.com Wed Nov 4 16:43:45 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 4 Nov 2009 22:43:45 +0100 Subject: [ANN] ssMacWindows 1.1.0 In-Reply-To: <6DD92685-2545-47CF-A6CA-4ADEFA819CF3@wehostmacs.com> References: <6DD92685-2545-47CF-A6CA-4ADEFA819CF3@wehostmacs.com> Message-ID: Thanks, Sean. Some of those features are what I have always missed in Revolution, such as bouncing in the dock. I'm sure I'll make good use of this application. -- 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 On 4 nov 2009, at 22:30, Shao Sean wrote: > Just a small update that includes some nice features for game > developers (and other developers who need these features too).. > > - Switch display resolution and colour depth > - Fade the display over a period of time and with any colour > > When switching the display resolution the screen automatically fades > to blue before the switch and then fades out from the blue to show > you the new resolution. > > Resolution switching is also only temporary while your application > is running (you can restore it automatically in your application or > the system will automatically do it when your application quits). > > > The four window transitions have been renamed to be a little more > clear about what they do (the old command names still work and > always will). > > > More information and download link: > < http://www.shaosean.tk/ssMacWindows.html > > > > Thank you for all your support and if there is something you would > like to see in a future build, please feel free to contact me off- > list and I will see what I can do.. > > -Sean From shaosean at wehostmacs.com Wed Nov 4 16:46:18 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Wed, 4 Nov 2009 16:46:18 -0500 Subject: [ANN] ssMacWindows 1.1.0 Message-ID: Glad you like it Mark, I am having lots of fun learning and writing it.. Am already hard at work on the next build (will try to add more than two features ;) From heather at runrev.com Wed Nov 4 17:00:31 2009 From: heather at runrev.com (Heather Nagey) Date: Wed, 4 Nov 2009 22:00:31 +0000 Subject: =?windows-1252?q?Runtime_Revolution_Presents=3A_=93Rev_4=2E0_Lau?= =?windows-1252?q?nch_Meet_=26_Greet=94?= Message-ID: Order tickets at EventBrite: http://gorev4usa.eventbrite.com/ Runtime Revolution Presents: ?Rev 4.0 Launch Meet & Greet? The RunRev team is headed over from Scotland to launch Rev 4.0 and host an event for customers, fans, developers, programmers, and the curious. Come join us at Varnish Fine Art and have a drink on us while we talk, demo, mingle, celebrate the launch, and join the next revolution in software creation. The party is at Varnish Fine Art, located at 77 Natoma Street (off Second St. between Howard and Minna) on November 11th from 5:30 pm to 9:30 pm. Bring a guest and come and see what makes Rev 4.0 the most exciting release in the company's history. The first drink is on the house, and we'll have great food, awesome door prizes, and free copies of RevEnterprise, RevStudio or OnRev every hour! One lucky winner will receive a Pogoplug, which turns your personal hard drive into an external cloud. Another lucky winner will receive the all-terrain, weather-proof DXG-125V HD camcorder. Are you on Twitter? Follow us at www.Twitter/@RunRev or join the discussion at #GoRev4. Please RSVP via the EventBrite link if you would like to attend, bring a guest and join the party. We look forward to seeing you all on the11th! http://gorev4usa.eventbrite.com/ Regards, Heather Heather Nagey Customer Services Manager http://www.runrev.com/ RunRev - Software construction for everyone follow me on twitter http://www.twitter.com/lainopik From alex at tweedly.net Wed Nov 4 17:20:58 2009 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 04 Nov 2009 22:20:58 +0000 Subject: revTalk - iRev - revWeb - PHP - iPhone and back again In-Reply-To: References: Message-ID: <4AF1FE4A.90108@tweedly.net> Thomas McGrath III wrote: > Overview: > I have been plugging away at writing an iPhone application that > manipulates photos and uploads them online (why I have been so silent > on the list for awhile). And except for a major confusion working with > the internal database (still unresolved) I have been able to get > everything else working. > > What I can do so far is load a view on the iPhone and take a picture > or use a picture from the camera/library on the iPhone, add a > background, a frame and some text from a database. I can also edit the > text in a table and save to a user file in the device. Lastly, I can > email and SMS the final image to another phone or computer and NOW I > can send the picture up to rev-online via a 'borrowed' PHP script. > When you say "rev-online" I take it you mean on-rev ? Sarah has an example on her wonderful on-rev samples page ( http://www.troz.net/onrev/ ) of a script to upload pictures. I'm not clear on how the iPhone sends the pictures via a borrowed PHP script - but it might be easy to convert this irev script to match it. (If you like, email me the PHP script and I'll have a look at an iRev equivalent to it). > What I would like to do is have either iRev or a revWeb standalone > 'know' when new images are uploaded and display them in the browser > for users to see and show. I would also like to have iRev/revWeb send > out a push notification to another iPhone application (the image > viewer) so that viewers will know that other users have uploaded new > pictures. I am studying up on the push notification on the iPhone side. > If you can convert the upload mechanism to iRev then you're (almost) done. If not, you could run a rev script periodically (say one per minute or once per 10 minutes) to check for the latest pictures, and then update or push data accordingly. You could do this, as Shao Sean suggested via a cgi or compiled rev app tun with -ui --- but that would be new territory for me. You could write an iRev script that checks for new photos (uploaded since the last time the script ran) and pushes them out (that's pretty easy). And then you could trigger that script periodically, using a cron job with curl. (cron is simply a Unix mechanism to run the same command line app or command at regular intervals, such as every so many minutes or hours (or days, months, ...)) To do this, go into cPanel, click on "cron jobs" in the "Advanced" section. Then click on "standard" for experience level, and fill in the (pretty obvious) values, with the "command to run:" line being curl http://www.mysitename.com/myscript.irev -- Alex. From sarah.reichelt at gmail.com Wed Nov 4 17:26:43 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 5 Nov 2009 08:26:43 +1000 Subject: revTalk - iRev - revWeb - PHP - iPhone and back again In-Reply-To: References: Message-ID: On Wed, Nov 4, 2009 at 11:44 PM, Thomas McGrath III wrote: > Overview: > I have been plugging away at writing an iPhone application that manipulates > photos and uploads them online (why I have been so silent on the list for > awhile). And except for a major confusion working with the internal database > (still unresolved) I have been able to get everything else working. > > What I can do so far is load a view on the iPhone and take a picture or use > a picture from the camera/library on the iPhone, add a background, a frame > and some text from a database. I can also edit the text in a table and save > to a user file in the device. Lastly, I can email and SMS the final image to > another phone or computer and NOW I can send the picture up to rev-online > via a 'borrowed' PHP script. Great work. I too have spent some months struggling with Objective-C. It's not bad as C goes - at least the IDE is nice to use - but it seems to take ages to do things which are so easy in Rev... > What I would like to do is have either iRev or a revWeb standalone 'know' > when new images are uploaded and display them in the browser for users to > see and show. Not quite sure what you have in mind here, but it doesn't sound too difficult. Did you want a web page that only shows the recent images? Or a web page that shows the last x images, but updates itself if there are new ones? Showing the most recent images is easy enough - you can use standard Rev commands to list the long files in the images folder and sort by date to get the new ones. A web page can be set to refresh periodically by including a REFRESH meta tag, but this is probably not what you want. I have a slideshow page that uses AJAX to ask an iRev file for the html to display next. The iRev file lists the images, picks one randomly, works out the size so it can construct a valid HTML img tag, then sends that tag back to the AJAX call. This uses JavaScript to set the innerHTML of a div tag to show the new image. There is a JavaScript timer so this happens every 5 seconds. It sounds worse than it is, but you can see it in action here: What you could do is have an iRev file that just returned true or false depending on whether there were any new images. If it returned false, the web page could just set up a new timer and wait. if it returned true, the web page could ask another iRev file for the details of the images to display and then display them. > I would also like to have iRev/revWeb send out a push > notification to another iPhone application (the image viewer) so that > viewers will know that other users have uploaded new pictures. I am studying > up on the push notification on the iPhone side. Sorry, I haven't done any investigations of the push mechanism yet. But if your uploading script can trigger an iRev script, I'm sure it can do whatever is needed to push data. I would not worry about PHP if I were you. iRev is a good replacement for server-side scripting which is what PHP does. You will need some JavaScript if you need any client-side scripting i.e. timers, reactions to clicks on the web page, AJAX etc. Please send more detail on what you really need and I'm sure we can start to work out some scripts. Cheers, Sarah From dr.alistair at gmail.com Wed Nov 4 18:54:22 2009 From: dr.alistair at gmail.com (planix) Date: Wed, 4 Nov 2009 15:54:22 -0800 (PST) Subject: Anyone know of a hue sort stack? Message-ID: <1257378862143-450542.post@n4.nabble.com> Hi, I am looking at turning this hue sort test; http://www.spectralcolor.com/game/huetest_kiosk into a standalone using runrev. The concept is pretty simple, so I don't think it is programmatically challenging. But, I would be interested in whether anyone has a stack, or knows of a stack, that does some or all (that'd be nice) of the types of actions demonstrated in the hue_test java code. My interest in this is it's use as a neuropsychological evaluation for acquired achromatosis. I have a patient who reports the symptoms so I will probably use the online test- since getting the Munsell hue sort is not possible in the time frame that I have. But, I would also be interested in using a standalone, or my own web version, to do some research. cheers A Campbell -- View this message in context: http://n4.nabble.com/Anyone-know-of-a-hue-sort-stack-tp450542p450542.html Sent from the Revolution - User mailing list archive at Nabble.com. From runrev260805 at m-r-d.de Wed Nov 4 19:06:32 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Thu, 5 Nov 2009 00:06:32 +0000 Subject: search for regular expression in text and put the results into an array Message-ID: <00039982.4AF22516@the-office.us> Hi, I am absolutely new to XML, so please forgive me for this question. I have an XML file which looks similar like this. blah blah bla blah blah blah The ... part is repeating many times, but with different content. i want to put the ...part into an array. So i get to know how often this part is in the xml file. I then want to extract some text of each of this .... section. My main problem is how to seperate each section. Do i have to use the XML library? Or is there another way? Regards, Matthias From m.schonewille at economy-x-talk.com Wed Nov 4 19:10:38 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 5 Nov 2009 01:10:38 +0100 Subject: Anyone know of a hue sort stack? In-Reply-To: <1257378862143-450542.post@n4.nabble.com> References: <1257378862143-450542.post@n4.nabble.com> Message-ID: A Campbell, You might use the Preucil Hue as described at . This should be easier than the Munsell hue. Then again, if you want to do exactly the same as the Java applet, all you need to do is sort the objects by their respective RGB-values -- unless the actual hue plays a role in your diagnosis. I did a few things with colour for Color Converter and for a few clients of mine. If you write me off-list, perhaps I might be of service. -- 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 On 5 nov 2009, at 00:54, planix wrote: > > Hi, > > I am looking at turning this hue sort test; > > http://www.spectralcolor.com/game/huetest_kiosk > > into a standalone using runrev. The concept is pretty simple, so I > don't > think it is programmatically challenging. But, I would be interested > in > whether anyone has a stack, or knows of a stack, that does some or all > (that'd be nice) of the types of actions demonstrated in the > hue_test java > code. > > My interest in this is it's use as a neuropsychological evaluation for > acquired achromatosis. I have a patient who reports the symptoms so > I will > probably use the online test- since getting the Munsell hue sort is > not > possible in the time frame that I have. But, I would also be > interested in > using a standalone, or my own web version, to do some research. > > cheers > > A Campbell From sarah.reichelt at gmail.com Wed Nov 4 19:54:12 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 5 Nov 2009 10:54:12 +1000 Subject: search for regular expression in text and put the results into an array In-Reply-To: <00039982.4AF22516@the-office.us> References: <00039982.4AF22516@the-office.us> Message-ID: > I have an XML file which looks similar like this. > > > > blah blah bla > ? blah blah blah > ? ? ? > > > The ... part is repeating many times, but with different content. > > i want to put the ...part ?into an array. So i get to know how often this part is in the xml file. I then want to extract some text of each of this .... section. My main problem is how to seperate each section. Do i have to use the XML library? Or is there another way? You can use the XML library, but for this case, it's probably just as easy to use standard chunking commands. Assuming you have the XML in a variable, you can loop through getting the offset of and the offset of and getting what is in between until there are no more to be found. Cheers, Sarah From sims at ezpzapps.com Wed Nov 4 22:16:15 2009 From: sims at ezpzapps.com (Jim Sims) Date: Thu, 5 Nov 2009 04:16:15 +0100 Subject: Anyone know of a hue sort stack? In-Reply-To: <1257378862143-450542.post@n4.nabble.com> References: <1257378862143-450542.post@n4.nabble.com> Message-ID: <6734F377-B070-4346-835B-5EBCCB94A892@ezpzapps.com> Dr. Campbell, As you state, the programming involved is not terribly complex. Perhaps I'd make use of "grab", "mousedown", checking position of objects. The scoring math should be easy to apply unless there is something not readily evident in the online example. I'm sure I could easily produce this for you for a minimal fee. I've worked on neurological testing applications before. I was the sole developer for an upper body orthopedic analysis application, featuring 15 video guided, standard medical tests (Apley's, Finkelstein's, Phalen's, etc.). The application used the results of the tests to assign preventative and rehabilitation exercises out of a set of 100 various video guided exercises. A very short reference on my experience is at: http://ezpzapps.com/sims/ I'm currently developing an application for a film director in the UK but am seeking additional work. Diverse portfolios and interests are good to have. I'm interested in long term business relationships with people who present interesting ideas that need to be developed and price my work accordingly. Please get in touch if you would like to discuss this or other projects. Regards, sims ----------- On Nov 5, 2009, at 12:54 AM, planix wrote: > > Hi, > > I am looking at turning this hue sort test; > > http://www.spectralcolor.com/game/huetest_kiosk > > into a standalone using runrev. The concept is pretty simple, so I > don't > think it is programmatically challenging. But, I would be interested > in > whether anyone has a stack, or knows of a stack, that does some or all > (that'd be nice) of the types of actions demonstrated in the > hue_test java > code. > > My interest in this is it's use as a neuropsychological evaluation for > acquired achromatosis. I have a patient who reports the symptoms so > I will > probably use the online test- since getting the Munsell hue sort is > not > possible in the time frame that I have. But, I would also be > interested in > using a standalone, or my own web version, to do some research. > > cheers > > A Campbell From jimaultwins at yahoo.com Wed Nov 4 23:46:00 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 4 Nov 2009 20:46:00 -0800 Subject: search for regular expression in text and put the results into an array In-Reply-To: <00039982.4AF22516@the-office.us> References: <00039982.4AF22516@the-office.us> Message-ID: <96B3D9EA-C0B7-46D6-89A6-65236DF89908@yahoo.com> I don't use the xml library to do the simple tag processing for three types of tags Chunk expressions are so fast that I get better speed and control of the data parsing. ------- Use these steps to get started---- on test replace cr with empty in xmlBlock replace quote with "'" in xmlBlock --(apostrophe ' char) --now you can use quote expressions without worries -- such as in the next line replace "" with (cr & "") in xmlBlock filter xmlBlock with "*" put 0 into statusCount repeat for each line statusArrLine in xmlBlock replace "" with (cr & "") in statusArrLine replace "" with ("" & cr) in statusArrLine filter statusArrLine with "*" repeat for each line statusTag in statusArrLine replace "" with empty in statusTag replace "" with empty in statusTag --now we have the data only, and on a single line add 1 to statusCount put statusTag into storArray[statusCount] end repeat end repeat --> statusCount = total --> storArray[num] = strings storage end test Hope this helps. Jim Ault Las Vegas On Nov 4, 2009, at 4:06 PM, runrev260805 at m-r-d.de wrote: > Hi, > > I am absolutely new to XML, so please forgive me for this question. > > I have an XML file which looks similar like this. > > > > blah blah bla > blah blah blah > > > > The ... part is repeating many times, but with > different content. > > i want to put the ...part into an array. So i get > to know how often this part is in the xml file. I then want to > extract some text of each of this .... section. My > main problem is how to seperate each section. > Do i have to use the XML library? Or is there another way? > > Regards, > > Matthias From klaus at major.on-rev.com Thu Nov 5 04:04:16 2009 From: klaus at major.on-rev.com (Klaus Major) Date: Thu, 5 Nov 2009 10:04:16 +0100 Subject: [ANN] ssMacWindows 1.1.0 In-Reply-To: <6DD92685-2545-47CF-A6CA-4ADEFA819CF3@wehostmacs.com> References: <6DD92685-2545-47CF-A6CA-4ADEFA819CF3@wehostmacs.com> Message-ID: <61779DA3-A278-4829-8640-DDE3080F191D@major.on-rev.com> Hi Sean, > Just a small update that includes some nice features for game > developers (and other developers who need these features too).. > - Switch display resolution and colour depth > - Fade the display over a period of time and with any colour > When switching the display resolution the screen automatically fades > to blue before the switch and then fades out from the blue to show > you the new resolution. > Resolution switching is also only temporary while your application > is running (you can restore it automatically in your application or > the system will automatically do it when your application quits). > > The four window transitions have been renamed to be a little more > clear about what they do (the old command names still work and > always will). > > More information and download link: > < http://www.shaosean.tk/ssMacWindows.html > > > Thank you for all your support and if there is something you would > like to see in a future build, please feel free to contact me off- > list and I will see what I can do.. not bad for your limited skills! :-D (Insider joke ;-) But maybe you could unify the names fo your commands like a prefix "ssWin_" or something so they will not possibly collide with the names of user handlers, e.g. I already have a custom handler named "fadeWindow", know what I mean? I think now is still time to change this. Anyway, a wonderful enhancement to Rev, thanks a LOT! > -Sean Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From dr.alistair at gmail.com Thu Nov 5 04:26:21 2009 From: dr.alistair at gmail.com (planix) Date: Thu, 5 Nov 2009 01:26:21 -0800 (PST) Subject: Anyone know of a hue sort stack? In-Reply-To: References: <1257378862143-450542.post@n4.nabble.com> Message-ID: <1257413181301-491861.post@n4.nabble.com> Mark Schonewille-3 wrote: > > > Then again, if you want to do exactly the same as the Java applet, all > you need to do is sort the objects by their respective RGB-values -- > unless the actual hue plays a role in your diagnosis. > > Thanks Mark, that's pretty much what I need to do- just provide colour objects to be drag/dropped by the user. The main thing will probably be determining how accurate the user's sort is. As the hue is determined by the RGB values, I guess I just need calculate how far away an individual object is from it's 'true' location by subtracting the object's RGB from the location's expected RGB- something like that. I am thinking to score using a single unit indicator of how many spots away from the 'true' location the object is placed. I'll just need to think about how to find out how many spots away it is given that hue varies across the 3 RGB values. cheers AC -- View this message in context: http://n4.nabble.com/Anyone-know-of-a-hue-sort-stack-tp450542p491861.html Sent from the Revolution - User mailing list archive at Nabble.com. From dr.alistair at gmail.com Thu Nov 5 04:32:49 2009 From: dr.alistair at gmail.com (planix) Date: Thu, 5 Nov 2009 01:32:49 -0800 (PST) Subject: Anyone know of a hue sort stack? In-Reply-To: <6734F377-B070-4346-835B-5EBCCB94A892@ezpzapps.com> References: <1257378862143-450542.post@n4.nabble.com> <6734F377-B070-4346-835B-5EBCCB94A892@ezpzapps.com> Message-ID: <1257413569381-492652.post@n4.nabble.com> Jim Sims wrote: > > > I'm sure I could easily produce this for you for a minimal fee. > > Thanks for this. I'd like to give it a go, but will keep you in mind. AC -- View this message in context: http://n4.nabble.com/Anyone-know-of-a-hue-sort-stack-tp450542p492652.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Thu Nov 5 04:44:39 2009 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 05 Nov 2009 01:44:39 -0800 Subject: Anyone know of a hue sort stack? In-Reply-To: <1257413181301-491861.post@n4.nabble.com> Message-ID: Recently, planix wrote: > The main thing will probably be determining how > accurate the user's sort is. As the hue is determined by the RGB values, I > guess I just need calculate how far away an individual object is from it's > 'true' location by subtracting the object's RGB from the location's expected > RGB- something like that. I am thinking to score using a single unit > indicator of how many spots away from the 'true' location the object is > placed. I'll just need to think about how to find out how many spots away it > is given that hue varies across the 3 RGB values. Perhaps you're overthinking this? If you create a gradient and divide it into 20 slices or whatever number you need, you simply need to number the slices from 1 to 20 and evaluate the slice order at runtime. The RGB values are essentially unnecessary. I may be missing something in your description, but it seems the app can be built quite simply. (BTW, I got 0 wrong on the Web test -- does this mean I'm sane or on the edge?) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design From dr.alistair at gmail.com Thu Nov 5 05:00:04 2009 From: dr.alistair at gmail.com (planix) Date: Thu, 5 Nov 2009 02:00:04 -0800 (PST) Subject: Anyone know of a hue sort stack? In-Reply-To: References: <1257378862143-450542.post@n4.nabble.com> <1257413181301-491861.post@n4.nabble.com> Message-ID: <1257415204566-494344.post@n4.nabble.com> Scott Rossi wrote: > > > Perhaps you're overthinking this? If you create a gradient and divide it > into 20 slices or whatever number you need, you simply need to number the > slices from 1 to 20 and evaluate the slice order at runtime. The RGB > values > are essentially unnecessary. I may be missing something in your > description, but it seems the app can be built quite simply. > You're right. I don't change the RBG values once they're set. I can then just assign an 'identity' to each colour patch (probably a button). Randomly distribute them at test start up and then record which position each one ends up in. BTW, I am wondering how I could set the 'true' location. I am thinking of having a row of button/patches which can be shifted on the horizontal axis only. Each button will detect when another button is over it and shift over to make room (a la the java script). But, do I need a hidden grid into which each patch falls? At score time the patch's number is subtracted from the grid number to accumulate to a score. No! More overthinking. Essentially this is an ordered list. doh! I just need to check whether 1 is in position 1, 2 in postion 2 and so forth. If any patch is out of position it will be out by it's identified location - the current position in the list. All can be done with properties of the patch/button > (BTW, I got 0 wrong on the Web test -- does this mean I'm sane or on the > edge?) > You have perfect colour vision. Good indication that your rods and cones are working as expected as is your occipital lobe. Want to try a memory test too? :-) The help this list gives is great. Thanks for listening to the whirring of my rusty cogs. AC -- View this message in context: http://n4.nabble.com/Anyone-know-of-a-hue-sort-stack-tp450542p494344.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Thu Nov 5 05:40:34 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 5 Nov 2009 11:40:34 +0100 Subject: [ANN] ssMacWindows 1.1.0 In-Reply-To: <61779DA3-A278-4829-8640-DDE3080F191D@major.on-rev.com> References: <6DD92685-2545-47CF-A6CA-4ADEFA819CF3@wehostmacs.com> <61779DA3-A278-4829-8640-DDE3080F191D@major.on-rev.com> Message-ID: <9134827D-3B4B-4BCC-B50B-83C5F5AC8C3E@economy-x-talk.com> Klaus, Sean, Please don't use a prefix with an underscore. It messes up my beautiful code and required me to type two keys extra. If you keep the names of the commands as short as possible, you reduce the total number of key presses by millions per year (assuming that RunRev has at least thousands of users). If you really need a prefix, just limit it so "ss" as you're already doing in the bundle names and some command and function names. -- 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 5 nov 2009, om 10:04 heeft Klaus Major het volgende geschreven: > Hi Sean, > >> Just a small update that includes some nice features for game >> developers (and other developers who need these features too).. >> - Switch display resolution and colour depth >> - Fade the display over a period of time and with any colour >> When switching the display resolution the screen automatically >> fades to blue before the switch and then fades out from the blue to >> show you the new resolution. >> Resolution switching is also only temporary while your application >> is running (you can restore it automatically in your application or >> the system will automatically do it when your application quits). >> >> The four window transitions have been renamed to be a little more >> clear about what they do (the old command names still work and >> always will). >> >> More information and download link: >> < http://www.shaosean.tk/ssMacWindows.html > >> >> Thank you for all your support and if there is something you would >> like to see in a future build, please feel free to contact me off- >> list and I will see what I can do.. > > not bad for your limited skills! :-D > (Insider joke ;-) > > But maybe you could unify the names fo your commands like a prefix > "ssWin_" or something > so they will not possibly collide with the names of user handlers, > e.g. I already have a custom > handler named "fadeWindow", know what I mean? > > I think now is still time to change this. > > Anyway, a wonderful enhancement to Rev, thanks a LOT! > >> -Sean > > Best > > Klaus From janschenkel at yahoo.com Thu Nov 5 05:57:39 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 5 Nov 2009 02:57:39 -0800 (PST) Subject: [ANN] ssMacWindows 1.1.0 In-Reply-To: <9134827D-3B4B-4BCC-B50B-83C5F5AC8C3E@economy-x-talk.com> Message-ID: <1987.23768.qm@web65403.mail.ac4.yahoo.com> To each their own coding style of course, but I prefer the prefix-and-underscore approach as it avoids conflicts between libraries from different origins, and allows me to quickly see what library my call is in. Such clues help compensate for having the memory of a goldfish ;-) 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 Thu, 11/5/09, Mark Schonewille wrote: > Klaus, Sean, > > Please don't use a prefix with an underscore. It messes up > my beautiful code and required me to type two keys extra. If > you keep the names of the commands as short as possible, you > reduce the total number of key presses by millions per year > (assuming that RunRev has at least thousands of users). If > you really need a prefix, just limit it so "ss" as you're > already doing in the bundle names and some command and > function names. > > -- > Best regards, > > Mark Schonewille > From m.schonewille at economy-x-talk.com Thu Nov 5 06:01:09 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 5 Nov 2009 12:01:09 +0100 Subject: [ANN] ssMacWindows 1.1.0 In-Reply-To: <1987.23768.qm@web65403.mail.ac4.yahoo.com> References: <1987.23768.qm@web65403.mail.ac4.yahoo.com> Message-ID: I'm very much against it. It is soooo not xTalk! -- 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 5 nov 2009, om 11:57 heeft Jan Schenkel het volgende geschreven: > To each their own coding style of course, but I prefer the prefix- > and-underscore approach as it avoids conflicts between libraries > from different origins, and allows me to quickly see what library my > call is in. > > Such clues help compensate for having the memory of a goldfish ;-) > > Jan Schenkel > ===== > Quartam Reports & PDF Library for Revolution > > From jimaultwins at yahoo.com Thu Nov 5 06:26:58 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 5 Nov 2009 03:26:58 -0800 Subject: [ANN] ssMacWindows 1.1.0 In-Reply-To: <9134827D-3B4B-4BCC-B50B-83C5F5AC8C3E@economy-x-talk.com> References: <6DD92685-2545-47CF-A6CA-4ADEFA819CF3@wehostmacs.com> <61779DA3-A278-4829-8640-DDE3080F191D@major.on-rev.com> <9134827D-3B4B-4BCC-B50B-83C5F5AC8C3E@economy-x-talk.com> Message-ID: Just a thought You could add the optional functionality of a 'hash table' so that an author could choose an alias to your library if they wish. The best speed for your library would be 'aliases off' Jim Ault Las Vegas On Nov 5, 2009, at 2:40 AM, Mark Schonewille wrote: > Klaus, Sean, > > Please don't use a prefix with an underscore. It messes up my > beautiful code and required me to type two keys extra. If you keep > the names of the commands as short as possible, you reduce the total > number of key presses by millions per year (assuming that RunRev has > at least thousands of users). If you really need a prefix, just > limit it so "ss" as you're already doing in the bundle names and > some command and function names. > > Mark Schonewille > Op 5 nov 2009, om 10:04 heeft Klaus Major het volgende geschreven: > >> Hi Sean, >> >>> Just a small update that includes some nice features for game >>> developers (and other developers who need these features too).. >>> - Switch display resolution and colour depth >>> - Fade the display over a period of time and with any colour >>> When switching the display resolution the screen automatically >>> fades to blue before the switch and then fades out from the blue >>> to show you the new resolution. >>> Resolution switching is also only temporary while your application >>> is running (you can restore it automatically in your application >>> or the system will automatically do it when your application quits). >>> >>> The four window transitions have been renamed to be a little more >>> clear about what they do (the old command names still work and >>> always will). >>> >>> More information and download link: >>> < http://www.shaosean.tk/ssMacWindows.html > >>> >>> Thank you for all your support and if there is something you would >>> like to see in a future build, please feel free to contact me off- >>> list and I will see what I can do.. >> >> not bad for your limited skills! :-D >> (Insider joke ;-) >> >> But maybe you could unify the names fo your commands like a prefix >> "ssWin_" or something >> so they will not possibly collide with the names of user handlers, >> e.g. I already have a custom >> handler named "fadeWindow", know what I mean? >> >> I think now is still time to change this. >> >> Anyway, a wonderful enhancement to Rev, thanks a LOT! >> >>> -Sean >> >> Best >> >> Klaus From wow at together.net Thu Nov 5 06:36:59 2009 From: wow at together.net (Richard Miller) Date: Thu, 05 Nov 2009 06:36:59 -0500 Subject: Creating a real-time magnifier In-Reply-To: <1257413569381-492652.post@n4.nabble.com> References: <1257378862143-450542.post@n4.nabble.com> <6734F377-B070-4346-835B-5EBCCB94A892@ezpzapps.com> <1257413569381-492652.post@n4.nabble.com> Message-ID: <4AF2B8DB.8090102@together.net> Any thoughts on how to magnify (by 2x) a 100x100 section of the screen in real time? I can't see how export snapshot could be used for this.... not in real time. Perhaps it involves manipulating screen/picture data, but I don't have the experience in doing this. I'd like the user to be able to move a 100x100 rectangle over the screen and have that section of the screen magnified to double and displayed in a rectangle in a corner. Thanks for any suggestions. Richard Miller From richmondmathewson at gmail.com Thu Nov 5 06:56:13 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 05 Nov 2009 13:56:13 +0200 Subject: Creating a real-time magnifier In-Reply-To: <4AF2B8DB.8090102@together.net> References: <1257378862143-450542.post@n4.nabble.com> <6734F377-B070-4346-835B-5EBCCB94A892@ezpzapps.com> <1257413569381-492652.post@n4.nabble.com> <4AF2B8DB.8090102@together.net> Message-ID: <4AF2BD5D.4050504@gmail.com> Richard Miller wrote: > Any thoughts on how to magnify (by 2x) a 100x100 section of the screen > in real time? I can't see how export snapshot could be used for > this.... not in real time. Perhaps it involves manipulating > screen/picture data, but I don't have the experience in doing this. > I'd like the user to be able to move a 100x100 rectangle over the > screen and have that section of the screen magnified to double and > displayed in a rectangle in a corner. > > Thanks for any suggestions. > 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 > As far as I recall, this was done in Hypercard . . . From richmondmathewson at gmail.com Thu Nov 5 07:02:15 2009 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 05 Nov 2009 14:02:15 +0200 Subject: Creating a real-time magnifier In-Reply-To: <4AF2B8DB.8090102@together.net> References: <1257378862143-450542.post@n4.nabble.com> <6734F377-B070-4346-835B-5EBCCB94A892@ezpzapps.com> <1257413569381-492652.post@n4.nabble.com> <4AF2B8DB.8090102@together.net> Message-ID: <4AF2BEC7.7060909@gmail.com> Richard Miller wrote: > Any thoughts on how to magnify (by 2x) a 100x100 section of the screen > in real time? I can't see how export snapshot could be used for > this.... not in real time. Perhaps it involves manipulating > screen/picture data, but I don't have the experience in doing this. > I'd like the user to be able to move a 100x100 rectangle over the > screen and have that section of the screen magnified to double and > displayed in a rectangle in a corner. > > Thanks for any suggestions. > 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 > I hope you can do something with this: I found it lurking in an old Metacard folder on my machine: http://mathewson.110mb.com/FILEZ/Magnify.rev.zip sincerely, Richmond. From shaosean at wehostmacs.com Thu Nov 5 07:13:50 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Thu, 5 Nov 2009 07:13:50 -0500 Subject: [ANN] ssMacWindows 1.1.0 Message-ID: <9E65BA17-1588-48A8-92FA-A470AF19B389@wehostmacs.com> > But maybe you could unify the names fo your commands like a prefix > "ssWin_" I had thought about doing this.. more to keep people from thinking that it was built-in and then wondering why it does not work when they go to another computer ;-) but I choose to make the commands a little easier to write.. seeing as it is a really simple matter to add additional aliases for the same commands in the external I could add "ss" to every command (and still leave the non-prefixed commands in there too).. > "fadeWindow", know what I mean? Well for this particular command there are now three ways to call it, so pick the one that does not collide with your custom command :D From wow at together.net Thu Nov 5 07:25:02 2009 From: wow at together.net (Richard Miller) Date: Thu, 05 Nov 2009 07:25:02 -0500 Subject: Creating a real-time magnifier In-Reply-To: <4AF2BEC7.7060909@gmail.com> References: <1257378862143-450542.post@n4.nabble.com> <6734F377-B070-4346-835B-5EBCCB94A892@ezpzapps.com> <1257413569381-492652.post@n4.nabble.com> <4AF2B8DB.8090102@together.net> <4AF2BEC7.7060909@gmail.com> Message-ID: <4AF2C41E.1070905@together.net> Richmond, Thanks for sending the stack, but I couldn't find much of anything in it. Looks like it lost some pieces. Richard Richmond Mathewson wrote: > Richard Miller wrote: >> Any thoughts on how to magnify (by 2x) a 100x100 section of the >> screen in real time? I can't see how export snapshot could be used >> for this.... not in real time. Perhaps it involves manipulating >> screen/picture data, but I don't have the experience in doing this. >> I'd like the user to be able to move a 100x100 rectangle over the >> screen and have that section of the screen magnified to double and >> displayed in a rectangle in a corner. >> >> Thanks for any suggestions. >> 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 >> > I hope you can do something with this: I found it lurking in an old > Metacard folder > on my machine: > > http://mathewson.110mb.com/FILEZ/Magnify.rev.zip > > sincerely, 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 > From th.douez at sunnyrevcode.com Thu Nov 5 07:32:44 2009 From: th.douez at sunnyrevcode.com (Thierry D.) Date: Thu, 5 Nov 2009 13:32:44 +0100 Subject: Creating a real-time magnifier In-Reply-To: <4AF2C41E.1070905@together.net> References: <1257378862143-450542.post@n4.nabble.com> <6734F377-B070-4346-835B-5EBCCB94A892@ezpzapps.com> <1257413569381-492652.post@n4.nabble.com> <4AF2B8DB.8090102@together.net> <4AF2BEC7.7060909@gmail.com> <4AF2C41E.1070905@together.net> Message-ID: >> Richard Miller wrote: >>> Any thoughts on how to magnify (by 2x) a 100x100 section of the >>> screen in real time? Hi Richard, May be you'll find this one interesting : http://www.sosmartsoftware.com/?r=telecharger&l=fr&arch=tutorials/ Magnifying%20images%20only.rev.zip HTH Thierry From rene.micout at numericable.com Thu Nov 5 07:45:52 2009 From: rene.micout at numericable.com (=?ISO-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 5 Nov 2009 13:45:52 +0100 Subject: Creating a real-time magnifier In-Reply-To: References: <1257378862143-450542.post@n4.nabble.com> <6734F377-B070-4346-835B-5EBCCB94A892@ezpzapps.com> <1257413569381-492652.post@n4.nabble.com> <4AF2B8DB.8090102@together.net> <4AF2BEC7.7060909@gmail.com> <4AF2C41E.1070905@together.net> Message-ID: Hello, There is a "Magnify glass" into Rev Guides Picker from http:// www.sosmartsoftware.com de notre regrett? Eric Chatonet Bons souvenirs de Paris Ren? Le 5 nov. 09 ? 13:32, Thierry D. a ?crit : > >>> Richard Miller wrote: >>>> Any thoughts on how to magnify (by 2x) a 100x100 section of the >>>> screen in real time? > > Hi Richard, > > > May be you'll find this one interesting : > > http://www.sosmartsoftware.com/?r=telecharger&l=fr&arch=tutorials/ > Magnifying%20images%20only.rev.zip > > HTH > > Thierry > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Nov 5 07:48:30 2009 From: wow at together.net (Richard Miller) Date: Thu, 05 Nov 2009 07:48:30 -0500 Subject: Creating a real-time magnifier In-Reply-To: References: <1257378862143-450542.post@n4.nabble.com> <6734F377-B070-4346-835B-5EBCCB94A892@ezpzapps.com> <1257413569381-492652.post@n4.nabble.com> <4AF2B8DB.8090102@together.net> <4AF2BEC7.7060909@gmail.com> <4AF2C41E.1070905@together.net> Message-ID: <4AF2C99E.1000605@together.net> Hi Thierry, That'll do it. It uses export snapshot in a mousemove loop, and it actually works quite fast enough. Rev's excellent performance speed has surprised me again. Thanks. Richard Thierry D. wrote: > >>> Richard Miller wrote: >>>> Any thoughts on how to magnify (by 2x) a 100x100 section of the >>>> screen in real time? > > Hi Richard, > > > May be you'll find this one interesting : > > http://www.sosmartsoftware.com/?r=telecharger&l=fr&arch=tutorials/Magnifying%20images%20only.rev.zip > > > HTH > > Thierry > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Thu Nov 5 08:20:20 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 5 Nov 2009 05:20:20 -0800 (PST) Subject: [ANN] ssMacWindows 1.1.0 In-Reply-To: Message-ID: <420333.55495.qm@web65412.mail.ac4.yahoo.com> Oh, I totally agree with you in principle; in fact, the one thing AppleScript got right, was the addition of prepositional parameters It would be agreat Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) --- On Thu, 11/5/09, Mark Schonewille wrote: > From: Mark Schonewille > Subject: Re: [ANN] ssMacWindows 1.1.0 > To: "How to use Revolution" > Date: Thursday, November 5, 2009, 3:01 AM > I'm very much against it. It is soooo > not xTalk! > > -- > 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 5 nov 2009, om 11:57 heeft Jan Schenkel het volgende > geschreven: > > > To each their own coding style of course, but I prefer > the prefix-and-underscore approach as it avoids conflicts > between libraries from different origins, and allows me to > quickly see what library my call is in. > > > > Such clues help compensate for having the memory of a > goldfish ;-) > > > > Jan Schenkel > > ===== > > Quartam Reports & PDF Library for 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 lists at mangomultimedia.com Thu Nov 5 08:21:11 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 5 Nov 2009 08:21:11 -0500 Subject: [ANN] ssMacWindows 1.1.0 In-Reply-To: <9E65BA17-1588-48A8-92FA-A470AF19B389@wehostmacs.com> References: <9E65BA17-1588-48A8-92FA-A470AF19B389@wehostmacs.com> Message-ID: <169ED4C0-6CA3-40AB-994A-8D764AFE446E@mangomultimedia.com> On Nov 5, 2009, at 7:13 AM, Shao Sean wrote: >> "fadeWindow", know what I mean? > Well for this particular command there are now three ways to call > it, so pick the one that does not collide with your custom command :D Your external command is most likely still in the message path and could be called instead of Klaus's. IMO If you want to distribute *libraries* (which an external is typically used as) to others in Revolution you really should consider a prefix. No, it isn't as pretty as the regular syntax but seeing as Revolution has no concept of namespaces for custom code library developers don't have a lot of options if they don't want their commands interfering with other code. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From janschenkel at yahoo.com Thu Nov 5 08:22:52 2009 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 5 Nov 2009 05:22:52 -0800 (PST) Subject: [ANN] ssMacWindows 1.1.0 In-Reply-To: Message-ID: <252928.58687.qm@web65412.mail.ac4.yahoo.com> Oh, I totally agree with you in principle; in fact, the one thing AppleScript got right, was the addition of prepositional parameters It would be a great day for xTalk when the RunRev team allows us to add natural syntax to both script and external commands and functions, and offer some sort of namespace protection while they're at it. But in the meantime, the prefix-and-underscore style works jsut as well now as it did back in the HyperCard days. 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 Thu, 11/5/09, Mark Schonewille wrote: > From: Mark Schonewille > Subject: Re: [ANN] ssMacWindows 1.1.0 > To: "How to use Revolution" > Date: Thursday, November 5, 2009, 3:01 AM > I'm very much against it. It is soooo > not xTalk! > > -- > 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 5 nov 2009, om 11:57 heeft Jan Schenkel het volgende > geschreven: > > > To each their own coding style of course, but I prefer > the prefix-and-underscore approach as it avoids conflicts > between libraries from different origins, and allows me to > quickly see what library my call is in. > > > > Such clues help compensate for having the memory of a > goldfish ;-) > > > > Jan Schenkel > > From mikekann at yahoo.com Thu Nov 5 10:18:31 2009 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 5 Nov 2009 07:18:31 -0800 (PST) Subject: search for regular expression in text and put the results into an array Message-ID: <61131.44906.qm@web56707.mail.re3.yahoo.com> Here's a script that you might find useful for the XML task. Put your raw data in fld "a" Your output will appear in fld "b" If it is what you need and it isn't perfectly clear how the script works just send me a note and I'll put in some comments. This is what I have in fld "a" : When talking about places to eat in Edinburgh Sam mentioned Fishers Bistro but Joe thought that Abstract was the superior eatery. No, Megan replied, Fishers Bistro is where I take all my friends when they visit. -- put this script in a btn-- on mouseUp -- put your raw text into fld "a" -- your output appears in fld "b" put fld "a" into v put empty into fld "b" put "" into aTag put "" into bTag replace return with "*" in v replace aTag with return in v replace bTag with "@" in v filter v with "*@*" set the itemDelimiter to "@" put zero into c repeat for each line curLine in v put item 1 of curLine into curTeam put c + 1 && curTeam & cr after original_order put c into teams_array[curTeam] add 1 to c end repeat delete last char of original_order put cr & "*** original order ***" & cr into h put h & cr & original_order & cr after fld "b" put cr & "*** frequency ***" & cr into h combine teams_array with cr and space sort teams_array numeric descending by last word of each put h & cr & teams_array & cr after fld "b" end mouseUp From shaosean at wehostmacs.com Thu Nov 5 10:19:24 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Thu, 5 Nov 2009 10:19:24 -0500 Subject: [ANN] ssMacWindows 1.1.0 Message-ID: > Your external command is most likely still in the message path Where do externals sit in the message path? I always thought they sat just before the engine therefore any custom command with the same name as the external would run instead of the external code.. From lists at mangomultimedia.com Thu Nov 5 10:54:07 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 5 Nov 2009 10:54:07 -0500 Subject: [ANN] ssMacWindows 1.1.0 In-Reply-To: References: Message-ID: On Nov 5, 2009, at 10:19 AM, Shao Sean wrote: >> Your external command is most likely still in the message path > > Where do externals sit in the message path? I always thought they > sat just before the engine therefore any custom command with the > same name as the external would run instead of the external code.. An external is attached to a particular stack. In order to make the externalCommands and externalFunctions of the stack available to all scripts the stack has to be put in use as a library. Wherever the library stack sits in the message path is where the externalCommands/ externalFunctions for the external reside. * If the Revolution IDE is loading an external at launch then the external is attached to the home stack. * When Revolution builds a standalone and you include an external a special substack named revExternalLibrary is created. The externals your standalone uses are attached to the stack and the stack is put in use. * If the developer is loading an external on their own then you don't know which stack/where in the message hierarchy it will appear. -- 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 Nov 5 11:06:28 2009 From: wow at together.net (Richard Miller) Date: Thu, 05 Nov 2009 11:06:28 -0500 Subject: "set the externals" routine for enchanced QT no longer working In-Reply-To: <61131.44906.qm@web56707.mail.re3.yahoo.com> References: <61131.44906.qm@web56707.mail.re3.yahoo.com> Message-ID: <4AF2F804.6090706@together.net> This process used to work for me, but no longer does. I don't know what's wrong with it. I don't believe I changed any code, but perhaps I'm missing something. It works perfectly in the development environment, but never makes it past the "qtinitialize" line as a standalone. I start with a fresh stack (under XP). I use the following to set a custom property, EQT: set the EQT of this stack to url "binfile:enhancedQT.dll" I then use this stack script: ---------------------------------------------- on openstack put "here" into url "file:checkit.txt" qtInitialize put "done" into url "file:checkit.txt" end openstack on preopenstack loadexternals end preopenstack ON loadExternals put the short name of this stack into tStack put the eqt of this stack into pExternals IF there is not a stack "myExternals" THEN reset templatestack set destroywindow of templatestack to true set destroystack of templatestack to true set visible of templatestack to false set externals of templatestack to pExternals create stack "myExternals" reset templatestack END IF go stack "myExternals" start using stack "myExternals" set the defaultstack to tStack END loadExternals ---------------------------------------------- It simply dies at QTInitialize. Any thoughts? Thanks. Richard Miller From JRARICK at hpsk12.net Thu Nov 5 11:10:34 2009 From: JRARICK at hpsk12.net (JACK RARICK) Date: Thu, 5 Nov 2009 11:10:34 -0500 Subject: "set the externals" routine for enchanced QT no longer working In-Reply-To: <4AF2F804.6090706@together.net> References: <61131.44906.qm@web56707.mail.re3.yahoo.com> <4AF2F804.6090706@together.net> Message-ID: Richard! I ran into this problem a lot a year ago and used EXACTLY what you're typing there. The only thing that seemed to help was after creating the standalone I would restart my computer. For some reason that cleaned up a lot of the mess. I am away from the rev code I used but I will check tonight when I get back to the office. Jack Rarick Braintree Athletic Systems -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Richard Miller Sent: Thursday, November 05, 2009 11:06 AM To: How to use Revolution Subject: "set the externals" routine for enchanced QT no longer working This process used to work for me, but no longer does. I don't know what's wrong with it. I don't believe I changed any code, but perhaps I'm missing something. It works perfectly in the development environment, but never makes it past the "qtinitialize" line as a standalone. I start with a fresh stack (under XP). I use the following to set a custom property, EQT: set the EQT of this stack to url "binfile:enhancedQT.dll" I then use this stack script: ---------------------------------------------- on openstack put "here" into url "file:checkit.txt" qtInitialize put "done" into url "file:checkit.txt" end openstack on preopenstack loadexternals end preopenstack ON loadExternals put the short name of this stack into tStack put the eqt of this stack into pExternals IF there is not a stack "myExternals" THEN reset templatestack set destroywindow of templatestack to true set destroystack of templatestack to true set visible of templatestack to false set externals of templatestack to pExternals create stack "myExternals" reset templatestack END IF go stack "myExternals" start using stack "myExternals" set the defaultstack to tStack END loadExternals ---------------------------------------------- It simply dies at QTInitialize. Any thoughts? 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 capellan2000 at gmail.com Thu Nov 5 11:15:51 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 5 Nov 2009 08:15:51 -0800 (PST) Subject: Does topleft property appears inverted? In-Reply-To: References: <1257205626810-360868.post@n4.nabble.com> Message-ID: <1257437751449-510161.post@n4.nabble.com> I am working in a few beginner tutorials or lessons for RevMedia, based in my experience of personal coaching to some fellow teachers. In these tutorials, i will try to answer many of their questions about RevMedia. Questions that i had not think about, because i have so long working in this platform, coming from HyperCard and MetaCard. Every one of them have their own expectations about the interface and functions that RevMedia should offer. Expectations based on their particular use of computers and their experience with software. Now, i have to finish the correction of the machine translation of RevMedia dictionary. If fellow teachers have the documentation in spanish, Could they learn by themselves? Let's see how this works... Alejandro Shao Sean-2 wrote: > > From the documentation: > > "Important! The order of the top and left parameters is reversed > compared to the property name: left comes first, then top." > -- View this message in context: http://n4.nabble.com/Does-topleft-property-appears-inverted-tp360868p510161.html Sent from the Revolution - User mailing list archive at Nabble.com. From shaosean at wehostmacs.com Thu Nov 5 11:27:38 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Thu, 5 Nov 2009 11:27:38 -0500 Subject: [Q] Externals - more and more Message-ID: Just a quick question.. As I learn more things to code in Carbon for externals, would you prefer a single external with all the commands or single purpose externals (similar tasks all in one external)? From lists at mangomultimedia.com Thu Nov 5 11:36:00 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 5 Nov 2009 11:36:00 -0500 Subject: "set the externals" routine for enchanced QT no longer working In-Reply-To: <4AF2F804.6090706@together.net> References: <61131.44906.qm@web56707.mail.re3.yahoo.com> <4AF2F804.6090706@together.net> Message-ID: <6B318477-D74C-41EB-93AF-EDBE0CAEE234@mangomultimedia.com> On Nov 5, 2009, at 11:06 AM, Richard Miller wrote: > I start with a fresh stack (under XP). I use the following to set a > custom property, EQT: > > set the EQT of this stack to url "binfile:enhancedQT.dll" You are loading binary data into a custom property here. > I then use this stack script: > > ---------------------------------------------- > on openstack > ... > put the eqt of this stack into pExternals Then you are putting this binary data into a variable. > IF there is not a stack "myExternals" THEN > reset templatestack > set destroywindow of templatestack to true > set destroystack of templatestack to true > set visible of templatestack to false > set externals of templatestack to pExternals Then you are setting a property of a stack that expects a path to a file to the binary data. Are you sure this worked before? -- 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 Nov 5 11:43:20 2009 From: wow at together.net (Richard Miller) Date: Thu, 05 Nov 2009 11:43:20 -0500 Subject: "set the externals" routine for enchanced QT no longer working In-Reply-To: <6B318477-D74C-41EB-93AF-EDBE0CAEE234@mangomultimedia.com> References: <61131.44906.qm@web56707.mail.re3.yahoo.com> <4AF2F804.6090706@together.net> <6B318477-D74C-41EB-93AF-EDBE0CAEE234@mangomultimedia.com> Message-ID: <4AF300A8.9020503@together.net> Used to work fine. But that's not important. What do you suggest I do to get it working now? I'd prefer to have one standalone file. That was the reason for putting the binary data into the custom property to begin with... to avoid a separate DLL file to download. Sounds like you are saying the below routine would work fine if I simply included the DLL as a separate file and avoided the custom property/variable approach. Thanks. Richard Trevor DeVore wrote: > On Nov 5, 2009, at 11:06 AM, Richard Miller wrote: > >> I start with a fresh stack (under XP). I use the following to set a >> custom property, EQT: >> >> set the EQT of this stack to url "binfile:enhancedQT.dll" > > You are loading binary data into a custom property here. > >> I then use this stack script: >> >> ---------------------------------------------- >> on openstack >> ... >> put the eqt of this stack into pExternals > > Then you are putting this binary data into a variable. > >> IF there is not a stack "myExternals" THEN >> reset templatestack >> set destroywindow of templatestack to true >> set destroystack of templatestack to true >> set visible of templatestack to false >> set externals of templatestack to pExternals > > Then you are setting a property of a stack that expects a path to a > file to the binary data. Are you sure this worked before? > From lists at mangomultimedia.com Thu Nov 5 11:54:25 2009 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 5 Nov 2009 11:54:25 -0500 Subject: "set the externals" routine for enchanced QT no longer working In-Reply-To: <4AF300A8.9020503@together.net> References: <61131.44906.qm@web56707.mail.re3.yahoo.com> <4AF2F804.6090706@together.net> <6B318477-D74C-41EB-93AF-EDBE0CAEE234@mangomultimedia.com> <4AF300A8.9020503@together.net> Message-ID: <9CDF14F9-1A79-484D-9B80-B93A7BA84C29@mangomultimedia.com> On Nov 5, 2009, at 11:43 AM, Richard Miller wrote: > Used to work fine. But that's not important. What do you suggest I > do to get it working now? I'd prefer to have one standalone file. > That was the reason for putting the binary data into the custom > property to begin with... to avoid a separate DLL file to download. I'm not sure how it could of worked unless the engine has an undocumented feature whereby it can load the binary data of an external. If it does then that would be very cool. I've never heard of that before though. > Sounds like you are saying the below routine would work fine if I > simply included the DLL as a separate file and avoided the custom > property/variable approach. You have to point 'the externals' property to a file on disk. You could try spitting out your binary data into a file in the temp directory and then assigning the externals property of the stack to that temp file. -- 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 Nov 5 11:56:29 2009 From: wow at together.net (Richard Miller) Date: Thu, 05 Nov 2009 11:56:29 -0500 Subject: "set the externals" routine for enhanced QT no longer working In-Reply-To: <9CDF14F9-1A79-484D-9B80-B93A7BA84C29@mangomultimedia.com> References: <61131.44906.qm@web56707.mail.re3.yahoo.com> <4AF2F804.6090706@together.net> <6B318477-D74C-41EB-93AF-EDBE0CAEE234@mangomultimedia.com> <4AF300A8.9020503@together.net> <9CDF14F9-1A79-484D-9B80-B93A7BA84C29@mangomultimedia.com> Message-ID: <4AF303BD.9080608@together.net> Thanks. Trevor DeVore wrote: > On Nov 5, 2009, at 11:43 AM, Richard Miller wrote: > >> Used to work fine. But that's not important. What do you suggest I do >> to get it working now? I'd prefer to have one standalone file. That >> was the reason for putting the binary data into the custom property >> to begin with... to avoid a separate DLL file to download. > > I'm not sure how it could of worked unless the engine has an > undocumented feature whereby it can load the binary data of an > external. If it does then that would be very cool. I've never heard of > that before though. > >> Sounds like you are saying the below routine would work fine if I >> simply included the DLL as a separate file and avoided the custom >> property/variable approach. > > You have to point 'the externals' property to a file on disk. You > could try spitting out your binary data into a file in the temp > directory and then assigning the externals property of the stack to > that temp file. > From R.Venzl-Schubert at macbay.de Thu Nov 5 12:37:09 2009 From: R.Venzl-Schubert at macbay.de (Reinhold Venzl-Schubert) Date: Thu, 5 Nov 2009 18:37:09 +0100 Subject: How to put unicode text into a field? Message-ID: <9073ACC3-D5C0-4FCC-A740-E90DAC8CB6BC@macbay.de> Hi! Learning polish I want to use unicode text in my stack. I have a lot of cds with polish vocabularies and now I want to list them in a table with this code: repeat with i = 1 to num of marked cds if fld "VocTable" of stack "VocListing" is empty then put fld "German" & TAB into fld "VocTable" of stack "VocListing" else put fld "German" & TAB after fld "VocTable" of stack "VocListing" end if put fld "Polish" & CR after fld "VocTable" of stack "VocListing" end repeat Although in my fields the polish text is well readable in the table the special polish letters are transformed to unreadable special charakters. I studied the stack "Unicode in Revolution: Taming the Beast" by Devin Asay but I only found the code: > set the unicodeText of fld "VocTable" to the unicodeText of of fld "Polish" < ... but the content of my table-field is compound of the contents of two or two hundred fields. Do anybody knows a solution? Thanks Reinhold From m.schonewille at economy-x-talk.com Thu Nov 5 13:00:43 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 5 Nov 2009 19:00:43 +0100 Subject: How to put unicode text into a field? In-Reply-To: <9073ACC3-D5C0-4FCC-A740-E90DAC8CB6BC@macbay.de> References: <9073ACC3-D5C0-4FCC-A740-E90DAC8CB6BC@macbay.de> Message-ID: <0A895BD4-5BB8-4AFD-BFCF-F8D6783385EC@economy-x-talk.com> Hi Reinhold, As an example, your line put fld "Polish" & CR after fld "VocTable" of stack "VocListing" should be set the unicodeText of fld "VocTable" of stack "VocListing" to \ the unicodeText of fld "Polish" & uniencode(cr) If your software runs on Intel processors only, you might also use cr & NULL -- 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 5 nov 2009, om 18:37 heeft Reinhold Venzl-Schubert het volgende geschreven: > Hi! > > Learning polish I want to use unicode text in my stack. > > I have a lot of cds with polish vocabularies and now I want to list > them in a table with this code: > > repeat with i = 1 to num of marked cds > if fld "VocTable" of stack "VocListing" is empty then > put fld "German" & TAB into fld "VocTable" of stack "VocListing" > else > put fld "German" & TAB after fld "VocTable" of stack "VocListing" > end if > put fld "Polish" & CR after fld "VocTable" of stack "VocListing" > end repeat > > Although in my fields the polish text is well readable in the table > the special polish letters are transformed to unreadable special > charakters. > > I studied the stack "Unicode in Revolution: Taming the Beast" by > Devin Asay > but I only found the code: > > > set the unicodeText of fld "VocTable" to the unicodeText of of fld > "Polish" < > > ... but the content of my table-field is compound of the contents of > two or two hundred fields. > > Do anybody knows a solution? > > Thanks > Reinhold From devin_asay at byu.edu Thu Nov 5 13:04:59 2009 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 5 Nov 2009 11:04:59 -0700 Subject: How to put unicode text into a field? In-Reply-To: <9073ACC3-D5C0-4FCC-A740-E90DAC8CB6BC@macbay.de> References: <9073ACC3-D5C0-4FCC-A740-E90DAC8CB6BC@macbay.de> Message-ID: <40421F58-CA73-4F99-B620-9B085F11352B@byu.edu> On Nov 5, 2009, at 10:37 AM, Reinhold Venzl-Schubert wrote: > Hi! > > Learning polish I want to use unicode text in my stack. > > I have a lot of cds with polish vocabularies and now I want to list > them in a table with this code: > > repeat with i = 1 to num of marked cds > if fld "VocTable" of stack "VocListing" is empty then > put fld "German" & TAB into fld "VocTable" of stack "VocListing" > else > put fld "German" & TAB after fld "VocTable" of stack "VocListing" > end if > put fld "Polish" & CR after fld "VocTable" of stack "VocListing" > end repeat > > Although in my fields the polish text is well readable in the table > the special polish letters are transformed to unreadable special > charakters. > > I studied the stack "Unicode in Revolution: Taming the Beast" by Devin > Asay > but I only found the code: > >> set the unicodeText of fld "VocTable" to the unicodeText of of fld > "Polish" < > > ... but the content of my table-field is compound of the contents of > two or two hundred fields. > > Do anybody knows a solution? > Hello Reinhold, Since my stack didn't help you much with this problem I'll suggest another approach. :-) One of the difficulties in using unicode in Rev comes when mixing ASCII and Unicode text. I can think of a couple of approaches you could try (not tested): 1. Use UTF-8 as a transitional encoding. So, using your example: repeat with i = 1 to the number of marked cds put unidecode(fld "German","utf8") into tGmn put unidecode(fld "Polish","utf8") into tPol if fld "vocTable" of stack "vocListening" is empty then put tGmn & tab & tPol into tCombined else put unidecode(fld "voctable","utf8") & tab & tCombined into tCombined end if set the unicodeText of fld "vocTable" to uniencode(tCombined,"utf8") end repeat 2. Use htmlText (not sure how or if this would work with table fields): repeat with i = 1 to the number of marked cds put the htmlText of fld "German" into tGmn put the htmlText of fld "Polish" into tPol if fld "vocTable" of stack "vocListening" is empty then put tGmn & tab & tPol into tCombined else put the htmlText of fld "voctable" & tab & tCombined into tCombined end if set the htmlText of fld "vocTable" to tCombined end repeat Hope this helps. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From bvlahos at mac.com Thu Nov 5 13:31:07 2009 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 05 Nov 2009 10:31:07 -0800 Subject: Progress Bar Updates Message-ID: <21F73F09-E701-436D-898D-26FEDC2BF35E@mac.com> I've successfully used libURLSetStatusCallback for getting the status when downloading from a web server and updating a progress bar. However, when I try it for opening a file from a file server it doesn't work. Below is the code for the file server open in a button. global vSyslogFile on mouseUp answer file "Open Syslog File:" if it is not empty then libURLSetStatusCallback "myProgress",the long ID of me show sb 1 -- progress bar put URL ("file:" & it) into vSyslogFile hide sb 1 end if end mouseUp on myProgress theURL,theStatus if "loading" is item 1 of theStatus then set the thumbpos of sb 1 to (item 2 of theStatus/item 3 of theStatus)*(the endvalue of sb 1- startvalue of sb 1) end myProgress Does this not work for these kinds of put URL commands? Bill Vlahos _________________ InfoWallet (http://www.infowallet.com): Remember the important details of life. From mcdomi at free.fr Thu Nov 5 13:38:10 2009 From: mcdomi at free.fr (Dom) Date: Thu, 5 Nov 2009 19:38:10 +0100 Subject: Revolution Media 4.x and Revolution Player 3.x Message-ID: <1j8q3p0.aqfy6o1u7p31yM%mcdomi@free.fr> As a former user of Revolution Media 3.x, I used Revolution Player to run stacks without launching the development environment... I am wondering if I still can use the old Revolution Player (3.x) to run stacks created with the new Revolution Media 4.x? From josh at dvcreators.net Thu Nov 5 14:25:51 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 5 Nov 2009 11:25:51 -0800 Subject: Data Grid: How to size the group to fit number of lines? Message-ID: <63F55958-17F9-4331-BC98-3DEEFCA72E52@dvcreators.net> With a simple Table Data Grid that varies between 3 to 6 lines, how would one resize the group only to show the populated lines? So that empty lines were never shown? Would you count the number of lines, multiply by row height, and use this as the "formatted grid height", and resize the height of the group to this number? From josh at dvcreators.net Thu Nov 5 14:30:34 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 5 Nov 2009 11:30:34 -0800 Subject: Data Grid: How to size the group to fit number of lines? - dgFormattedHeight! never mind! In-Reply-To: <63F55958-17F9-4331-BC98-3DEEFCA72E52@dvcreators.net> References: <63F55958-17F9-4331-BC98-3DEEFCA72E52@dvcreators.net> Message-ID: <14DA5552-BE9F-42DF-8F51-3E089544B4D0@dvcreators.net> dgFormattedHeight Never mind! On Nov 5, 2009, at 11:25 AM, Josh Mellicker wrote: > With a simple Table Data Grid that varies between 3 to 6 lines, how > would one resize the group only to show the populated lines? So that > empty lines were never shown? > > Would you count the number of lines, multiply by row height, and use > this as the "formatted grid height", and resize the height of the > group to this number? > _______________________________________________ > use-revolution mailing list > use-revolution 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 Nov 5 14:36:40 2009 From: mikekann at yahoo.com (Michael Kann) Date: Thu, 5 Nov 2009 11:36:40 -0800 (PST) Subject: search for regular expression in text and put the results into an array Message-ID: <314195.44495.qm@web56702.mail.re3.yahoo.com> The first script that got away didn't count the frequency correctly. This one I hope does so. I also noticed that the other one referred to teams in the scripts and restaurants in the data. I guess I got hungry halfway through the project. I also changed fld "a" to fld "input" and fld "b" to fld "output" I took out the part where it lists the restaurants as they appear in the raw data. Now you only get the frequency, which was the original intent. Sorry if I caused too much trouble with the last script. I'll be more careful in the future. on mouseUp put fld "input" into v put empty into fld "output" put "" into aTag put "" into bTag replace return with "*" in v replace aTag with return in v replace bTag with "@" in v filter v with "*@*" set the itemDelimiter to "@" repeat for each line curLine in v put item 1 of curLine into curRestaurant add 1 to frequencyRes[curRestaurant] end repeat put "restaurants and frequency" & cr into h combine frequencyRes with cr and space sort frequencyRes numeric descending by last word of each put h & cr & frequencyRes & cr after fld "output" end mouseUp From alex at tweedly.net Thu Nov 5 17:08:40 2009 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 05 Nov 2009 22:08:40 +0000 Subject: Progress Bar Updates In-Reply-To: <21F73F09-E701-436D-898D-26FEDC2BF35E@mac.com> References: <21F73F09-E701-436D-898D-26FEDC2BF35E@mac.com> Message-ID: <4AF34CE8.6080004@tweedly.net> Bill Vlahos wrote: > I've successfully used libURLSetStatusCallback for getting the status > when downloading from a web server and updating a progress bar. > However, when I try it for opening a file from a file server it > doesn't work. Below is the code for the file server open in a button. > > global vSyslogFile > > on mouseUp > answer file "Open Syslog File:" > if it is not empty then > libURLSetStatusCallback "myProgress",the long ID of me > show sb 1 -- progress bar > put URL ("file:" & it) into vSyslogFile > hide sb 1 > end if > end mouseUp > > on myProgress theURL,theStatus > if "loading" is item 1 of theStatus then set the thumbpos of sb 1 to > (item 2 of theStatus/item 3 of theStatus)*(the endvalue of sb > 1-startvalue of sb 1) > end myProgress > > Does this not work for these kinds of put URL commands? No, it doesn't. The docs for it say > Summary: > Sets up a callback message to be sent periodically during uploads and > downloads. When you do, e.g., put URL ("file:abc.txt") into temp control doesn't return to you until the put is complete. -- Alex. From runrev260805 at m-r-d.de Thu Nov 5 17:16:52 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Thu, 5 Nov 2009 22:16:52 +0000 Subject: Re-2: search for regular expression in text and put the results into an array Message-ID: <000399E7.4AF35CE3@the-office.us> Hi, first thanks to all for the suggestions. As i am unfamiliar with the offset function and i was a little in a hurry i used Jim?s script and extended it to my needs. @Jim Line 8 of your example should be filter xmlBlock without "*" shouldn?t it. Thanks again. Matthias -------- Original Message -------- Subject: Re: search for regular expression in text and put the results into an array (05-Nov-2009 6:41) From: Jim Ault To: runrev260805 at m-r-d.de > I don't use the xml library to do the simple tag processing for three > types of tags > Chunk expressions are so fast that I get better speed and control of > the data parsing. > > ------- Use these steps to get started---- > > on test > replace cr with empty in xmlBlock > replace quote with "'" in xmlBlock --(apostrophe ' char) > --now you can use quote expressions without worries > -- such as in the next line > replace "" with (cr & " type='array'>") in xmlBlock > filter xmlBlock with "*" > > put 0 into statusCount > repeat for each line statusArrLine in xmlBlock > replace "" with (cr & "") in statusArrLine > replace "" with ("" & cr) in statusArrLine > filter statusArrLine with "*" > > repeat for each line statusTag in statusArrLine > replace "" with empty in statusTag > replace "" with empty in statusTag > --now we have the data only, and on a single line > add 1 to statusCount > put statusTag into storArray[statusCount] > > end repeat > end repeat > > --> statusCount = total > --> storArray[num] = strings storage > end test > > Hope this helps. > > Jim Ault > Las Vegas > > On Nov 4, 2009, at 4:06 PM, runrev260805 at m-r-d.de wrote: > > > Hi, > > > > I am absolutely new to XML, so please forgive me for this question. > > > > I have an XML file which looks similar like this. > > > > > > > > blah blah bla > > blah blah blah > > > > > > > > The ... part is repeating many times, but with > > different content. > > > > i want to put the ...part into an array. So i get > > to know how often this part is in the xml file. I then want to > > extract some text of each of this .... section. My > > main problem is how to seperate each section. > > Do i have to use the XML library? Or is there another way? > > > > Regards, > > > > Matthias > > > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 runrev260805 at m-r-d.de Thu Nov 5 17:27:25 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Thu, 5 Nov 2009 22:27:25 +0000 Subject: [OT] Anyone using an ebook reader with the RunrevDictionary PDF? Message-ID: <000399E8.4AF35F5C@the-office.us> Hi, i am thinking of buying an ebook reader, either Sony PRS505, Sony PRS600 or Amazon Kindle. The main use would be, reading pdf documents with it. Now i heard that there could be problems with Pdfs on ebook readers. Does anyone on this list know, if there are problems with the pdf dictionary of Revolution on ebook readers. Regards, Matthias From coiin at verizon.net Thu Nov 5 17:38:05 2009 From: coiin at verizon.net (Colin Holgate) Date: Thu, 05 Nov 2009 17:38:05 -0500 Subject: [OT] Anyone using an ebook reader with the RunrevDictionary PDF? In-Reply-To: <000399E8.4AF35F5C@the-office.us> References: <000399E8.4AF35F5C@the-office.us> Message-ID: <6C21013F-5958-464F-9FCD-9D1014478125@verizon.net> I just emailed the PDF to my Kindle account (that's how you get PDFs onto the device). I'll let you know later on how it works out. From mpetrides at earthlink.net Thu Nov 5 17:39:30 2009 From: mpetrides at earthlink.net (Marian Petrides) Date: Thu, 5 Nov 2009 16:39:30 -0600 Subject: [OT] Anyone using an ebook reader with the RunrevDictionary PDF? In-Reply-To: <000399E8.4AF35F5C@the-office.us> References: <000399E8.4AF35F5C@the-office.us> Message-ID: <8CC0B851-46FE-46A0-922A-3FEA020FF006@earthlink.net> Matthias I have the Kindle 2, Kindle DX and used to have a Sony 505. I would recommend using the Kindle DX, since it will give you nearly full size display of your PDF (albeit as a graphic PDF, not a reflowed text PDF). I've tried the Sony 505 (same size screen as 600) but PDFs were so small I couldn't read them. Same problem would be present if the Kindle 2 were capable of native display of PDFs (without conversion to AZW)--and I can't recall offhand if it even can. Long story short, the only thing that does this adequately at present is the Kindle DX. The only downside to reading PDFs on the DX is that the page is displayed as a graphic not as reflowing text, so can not be highlighted or annotated. Marian On Nov 5, 2009, at 4:27 PM, runrev260805 at m-r-d.de wrote: > Hi, > > i am thinking of buying an ebook reader, either Sony PRS505, Sony > PRS600 or Amazon Kindle. The main use would be, reading pdf > documents with it. > > Now i heard that there could be problems with Pdfs on ebook readers. > > Does anyone on this list know, if there are problems with the pdf > dictionary of Revolution on ebook readers. > > Regards, > > Matthias > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Nov 5 17:49:48 2009 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 6 Nov 2009 08:49:48 +1000 Subject: Progress Bar Updates In-Reply-To: <21F73F09-E701-436D-898D-26FEDC2BF35E@mac.com> References: <21F73F09-E701-436D-898D-26FEDC2BF35E@mac.com> Message-ID: On Fri, Nov 6, 2009 at 4:31 AM, Bill Vlahos wrote: > I've successfully used libURLSetStatusCallback for getting the status when > downloading from a web server and updating a progress bar. However, when I > try it for opening a file from a file server it doesn't work. Have a look at this revLesson: Cheers, Sarah From runrev260805 at m-r-d.de Thu Nov 5 17:54:26 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Thu, 5 Nov 2009 22:54:26 +0000 Subject: Re-2: [OT] Anyone using an ebook reader with the RunrevDictionary PDF? Message-ID: <000399E9.4AF365B0@the-office.us> Hi Marian, thanks for the feedback. > Long story short, the only thing that does this adequately at present > is the Kindle DX. The only downside to reading PDFs on the DX is that > the page is displayed as a graphic not as reflowing text, so can not > be highlighted or annotated. So searching is also not possible, right? But anyway, Amazon only offers the Kindle2 with International wireless coverage. So the DX is not recommended for use in germany. Regards, Matthias > > Marian > > On Nov 5, 2009, at 4:27 PM, runrev260805 at m-r-d.de wrote: > > > Hi, > > > > i am thinking of buying an ebook reader, either Sony PRS505, Sony > > PRS600 or Amazon Kindle. The main use would be, reading pdf > > documents with it. > > > > Now i heard that there could be problems with Pdfs on ebook readers. > > > > Does anyone on this list know, if there are problems with the pdf > > dictionary of Revolution on ebook readers. > > > > Regards, > > > > Matthias > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution 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 > > > > > To: use-revolution at lists.runrev.com From runrev260805 at m-r-d.de Thu Nov 5 17:54:26 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Thu, 5 Nov 2009 22:54:26 +0000 Subject: Re-2: [OT] Anyone using an ebook reader with the RunrevDictionary PDF? Message-ID: <000399EA.4AF365B1@the-office.us> Colin, which model of the Kindle are you using? -------- Original Message -------- Subject: Re: [OT] Anyone using an ebook reader with the RunrevDictionary PDF? (05-Nov-2009 23:39) From: Colin Holgate To: runrev260805 at m-r-d.de > I just emailed the PDF to my Kindle account (that's how you get PDFs > onto the device). I'll let you know later on how it works out. > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 coiin at verizon.net Thu Nov 5 17:59:59 2009 From: coiin at verizon.net (Colin Holgate) Date: Thu, 05 Nov 2009 17:59:59 -0500 Subject: Re-2: [OT] Anyone using an ebook reader with the RunrevDictionary PDF? In-Reply-To: <000399EA.4AF365B1@the-office.us> References: <000399EA.4AF365B1@the-office.us> Message-ID: <38F45EA6-3E6C-4C1C-81A3-24D3ADF3F436@verizon.net> On Nov 5, 2009, at 5:54 PM, runrev260805 at m-r-d.de wrote: > > which model of the Kindle are you using? The first one. I have sent PDFs to it before, and it worked out ok. From mpetrides at earthlink.net Thu Nov 5 18:01:23 2009 From: mpetrides at earthlink.net (Marian Petrides) Date: Thu, 5 Nov 2009 17:01:23 -0600 Subject: Re-2: [OT] Anyone using an ebook reader with the RunrevDictionary PDF? In-Reply-To: <000399E9.4AF365B0@the-office.us> References: <000399E9.4AF365B0@the-office.us> Message-ID: Matthias, I have heard rumors (on the Kindle boards) that at an international Kindle DX will be announced soon--can't remember exactly when. Yes, I believe keyword searching is also not possible. I KNEW there was a reason I had my Rev Dox on the DX but wasn't using them much. Or maybe that's just because I haven't had time to use Rev at all lately. :-) Marian On Nov 5, 2009, at 4:54 PM, runrev260805 at m-r-d.de wrote: > Hi Marian, > > thanks for the feedback. >> Long story short, the only thing that does this adequately at present >> is the Kindle DX. The only downside to reading PDFs on the DX is >> that >> the page is displayed as a graphic not as reflowing text, so can not >> be highlighted or annotated. > > So searching is also not possible, right? > > But anyway, Amazon only offers the Kindle2 with International > wireless coverage. > So the DX is not recommended for use in germany. > > Regards, > > Matthias > > >> >> Marian >> >> On Nov 5, 2009, at 4:27 PM, runrev260805 at m-r-d.de wrote: >> >>> Hi, >>> >>> i am thinking of buying an ebook reader, either Sony PRS505, Sony >>> PRS600 or Amazon Kindle. The main use would be, reading pdf >>> documents with it. >>> >>> Now i heard that there could be problems with Pdfs on ebook >>> readers. >>> >>> Does anyone on this list know, if there are problems with the pdf >>> dictionary of Revolution on ebook readers. >>> >>> Regards, >>> >>> Matthias >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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 >> >> >> >> >> 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 jacque at hyperactivesw.com Thu Nov 5 18:19:25 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Nov 2009 17:19:25 -0600 Subject: [OT] Anyone using an ebook reader with the RunrevDictionary PDF? In-Reply-To: <000399E8.4AF35F5C@the-office.us> References: <000399E8.4AF35F5C@the-office.us> Message-ID: <4AF35D7D.2070208@hyperactivesw.com> runrev260805 at m-r-d.de wrote: > Hi, > > i am thinking of buying an ebook reader, either Sony PRS505, Sony > PRS600 or Amazon Kindle. The main use would be, reading pdf documents > with it. > > Now i heard that there could be problems with Pdfs on ebook readers. > > > Does anyone on this list know, if there are problems with the pdf > dictionary of Revolution on ebook readers. I have a Sony 700 and it reads PDFs. If the PDF is an image, you can resize it to any scale and then scroll it by moving the image around the screen. If the PDF has flowable text, then the text will display as pages on the screen without having to resize it. You can search and annotate with the Sony 700. You can also set the text size to your preference. The Sony eReader does not have an internet connection, but I've never missed it. I load all my books from my Mac using the free software Calibre, which will convert almost any format to any other format, including Sony's. It will also convert PDFs to native text documentation. I chose the 700 because I wanted a backlight, but the 505 is good if you read mostly in daylight. I don't know if the 505 accepts PDFs directly but Calibre supports the 505, so it can convert PDFs if you need to. I just tried converting the Rev User Guide from PDF to Sony's "lrf" format, and it worked fine. It would also have worked on the Sony without conversion. I've been using ebook readers for years, and I love them. My last one was worn down to the metal before I gave it up, I'd worn off all its skin. I'm a strong advocate for saving trees, and I like the convenience of being able to carry around hundreds of books in a device that is only a few ounces. From jacque at hyperactivesw.com Thu Nov 5 18:50:16 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Nov 2009 17:50:16 -0600 Subject: [OT] Anyone using an ebook reader with the RunrevDictionary PDF? In-Reply-To: <000399E8.4AF35F5C@the-office.us> References: <000399E8.4AF35F5C@the-office.us> Message-ID: <4AF364B8.1050809@hyperactivesw.com> Actually, since we're off-topic, anyone using any ebook reader should check out Calibre. It's really a marvel. Ditch your native software, Calibre does it all and is fully cross platform. It also has a built-in Stanza server for those who can't load books except via a wireless connection. My husband uses Calibre to load ebooks onto his iPod Touch. I'm not connected with them, I'm just a very enthusiastic user. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From runrev260805 at m-r-d.de Thu Nov 5 19:01:12 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 6 Nov 2009 00:01:12 +0000 Subject: Re-2: [OT] Anyone using an ebook reader with the RunrevDictionary PDF? Message-ID: <000399EB.4AF37556@the-office.us> I searched for calibre after reading your previous email. I already was afraid, that it just supports OS X, but it runs under windows also. I have already created a pdf to epub to read it on my iphone with Stanza. Really AMAZING. Thanks for sharing this with us. Matthias -------- Original Message -------- Subject: Re: [OT] Anyone using an ebook reader with the RunrevDictionary PDF? (06-Nov-2009 0:55) From: J. Landman Gay To: runrev260805 at m-r-d.de > Actually, since we're off-topic, anyone using any ebook reader should > check out Calibre. It's really a marvel. Ditch your native software, > Calibre does it all and is fully cross platform. It also has a built-in > Stanza server for those who can't load books except via a wireless > connection. My husband uses Calibre to load ebooks onto his iPod Touch. > > I'm not connected with them, I'm just a very enthusiastic user. > > > -- > 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 > > > > > To: use-revolution at lists.runrev.com From jacque at hyperactivesw.com Thu Nov 5 19:10:38 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Nov 2009 18:10:38 -0600 Subject: Re-2: [OT] Anyone using an ebook reader with the RunrevDictionary PDF? In-Reply-To: <000399EB.4AF37556@the-office.us> References: <000399EB.4AF37556@the-office.us> Message-ID: <4AF3697E.1030807@hyperactivesw.com> runrev260805 at m-r-d.de wrote: > I searched for calibre after reading your previous email. I already > was afraid, that it just supports OS X, but it runs under windows > also. And Linux. And it works with the command line on any OS, which gives you even more features, things that he can't squeeze into the GUI. > I have already created a pdf to epub to read it on my iphone with > Stanza. > > Really AMAZING. Thanks for sharing this with us. He doesn't beg for money either, so I gave him some. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From josh at dvcreators.net Thu Nov 5 19:42:17 2009 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 5 Nov 2009 16:42:17 -0800 Subject: Progress Bar Updates In-Reply-To: References: <21F73F09-E701-436D-898D-26FEDC2BF35E@mac.com> Message-ID: <9ACED8A9-5FA7-4958-B380-22DB625FDFD9@dvcreators.net> Although not at all as comprehensive as Sarah's, this code updates a human-readable time left and download speed status text under the bar: http://revcoders.org/calctimeremaining/ On Nov 5, 2009, at 2:49 PM, Sarah Reichelt wrote: > On Fri, Nov 6, 2009 at 4:31 AM, Bill Vlahos wrote: >> I've successfully used libURLSetStatusCallback for getting the >> status when >> downloading from a web server and updating a progress bar. However, >> when I >> try it for opening a file from a file server it doesn't work. > > > Have a look at this revLesson: > > > > 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 sims at ezpzapps.com Thu Nov 5 23:58:06 2009 From: sims at ezpzapps.com (jim sims) Date: Fri, 6 Nov 2009 05:58:06 +0100 Subject: command enableScrollbarIfNeeded pFldName Message-ID: In the dictionary user notes for formattedheight, the word "command" is used where "function" might be used. Can someone please explain the significance of that to me? Is it different from a function? ------- I use the formattedHeight property in a handy routine to turn on/off scrollbars as needed. Just call it every time you change the content of a field. command enableScrollbarIfNeeded pFldName if the formattedHeight of fld pFldName > the height of fld pFldName then set the vScrollbar of fld pFldName to true else set the vScrollbar of fld pFldName to false end if end enableScrollbarIfNeeded -------- TIA, sims From katir at hindu.org Fri Nov 6 00:12:34 2009 From: katir at hindu.org (Sivakatirswami) Date: Thu, 05 Nov 2009 19:12:34 -1000 Subject: Limit Photo Size on Upload Message-ID: <4AF3B042.4090404@hindu.org> Thanks to Sarah's wonderful example I'm building a little photo uploader. ( I don't understand all the parsing of the multipart form data, exactly, but enough to customize for my needs...) I'm worried about abuse... maybe too paranoid... I don't know, but I would like to limit file size of uploads to 2.5 MB photos. When do we do that? I don't think a file browser ( ) knows how big the file is to actually stop the upload... so you have to handle it *after* receiving the post, right? if $_POST_RAW is not empty then # includes headers and filename and caption of course but no need be too precise if len($_POST_RAW) > 2636822 then # exit out of processing the post # and return some response to the user "File Too Big." have I got this right? From ambassador at fourthworld.com Fri Nov 6 00:30:19 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Nov 2009 21:30:19 -0800 Subject: command enableScrollbarIfNeeded pFldName Message-ID: <4AF3B46B.6000400@fourthworld.com> sims wrote: > In the dictionary user notes for formattedheight, the word "command" > is used where "function" might be used. > > Can someone please explain the significance of that to me? Is it > different from a function? Functionally (all puns intended), "command" is synonymous with "on". "Command" was added to distinguish between message handlers and commands, though that distinction is stylistic; AFAIK they can be usdd interchangeably. -- 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 Fri Nov 6 00:48:44 2009 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 6 Nov 2009 06:48:44 +0100 Subject: command enableScrollbarIfNeeded pFldName In-Reply-To: <4AF3B46B.6000400@fourthworld.com> References: <4AF3B46B.6000400@fourthworld.com> Message-ID: On Nov 6, 2009, at 6:30 AM, Richard Gaskin wrote: > sims wrote: >> In the dictionary user notes for formattedheight, the word >> "command" is used where "function" might be used. >> Can someone please explain the significance of that to me? Is it >> different from a function? > > Functionally (all puns intended), "command" is synonymous with "on". > > "Command" was added to distinguish between message handlers and > commands, though that distinction is stylistic; AFAIK they can be > usdd interchangeably. Thanks... I was wondering if I was missing out on some new script goodies there. ;-) sims From ambassador at fourthworld.com Fri Nov 6 01:11:00 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Nov 2009 22:11:00 -0800 Subject: command enableScrollbarIfNeeded pFldName Message-ID: <4AF3BDF4.5020204@fourthworld.com> sims wrote: > On Nov 6, 2009, at 6:30 AM, Richard Gaskin wrote: > >> sims wrote: >>> In the dictionary user notes for formattedheight, the word >>> "command" is used where "function" might be used. >>> Can someone please explain the significance of that to me? Is it >>> different from a function? >> >> Functionally (all puns intended), "command" is synonymous with "on". >> >> "Command" was added to distinguish between message handlers and >> commands, though that distinction is stylistic; AFAIK they can be >> usdd interchangeably. > > Thanks... I was wondering if I was missing out on some new script > goodies there. ;-) Possibly one: have you started using the new "private" keyword? E.g.: private function EmpName return fld "FirstName" && fld "LastName" end EmpName By specifying a command or function as "private" means it can only be accessed by other handers in the same script. This has two benefits: 1. It helps keep some handlers from being called, things like internal utility functions in a library stack. 2. Speed: being available only to the local handler, they trim a fair bit of the message-passing overhead. While the time to call both a private and public handler is too small to be noticeable in a single call, access time to private handlers benchmark about 30% faster, so for frequently-accessed handlers it can be useful. -- 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 Fri Nov 6 01:35:40 2009 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 6 Nov 2009 07:35:40 +0100 Subject: command enableScrollbarIfNeeded pFldName In-Reply-To: <4AF3BDF4.5020204@fourthworld.com> References: <4AF3BDF4.5020204@fourthworld.com> Message-ID: <182E0F4E-DF21-428B-8AB0-F7399F799E7A@ezpzapps.com> On Nov 6, 2009, at 7:11 AM, Richard Gaskin wrote: >> Thanks... I was wondering if I was missing out on some new script >> goodies there. ;-) > > Possibly one: have you started using the new "private" keyword? In fact, the Most Excellent & Powerful Sarah ;-) has written an article about these topics: http://www.revjournal.com/tutorials/command-and-private.html Bet you've heard of that web site Richard. sims From claudi.c at fiberworld.nl Fri Nov 6 05:03:23 2009 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Fri, 6 Nov 2009 11:03:23 +0100 Subject: including a file on on-rev In-Reply-To: References: Message-ID: Hi Thomas, I just started with irev and mysql. I know how you must feel. I can program quite fluently in revtalk and if something doesn't work as expected, which happens fairly often, I always know at least 2 or more ways to tackle the problem or to solve it in a different way. But now I am getting on 'new' ground: irev, connections, ports, mysql, cgi, css, htm, etcl. And all these things need to work together aswell and suddenly I find myself looking all over the place to find 'trivial' things, that is, trivial once you know them. The first hurdle being where to look, where can you find what you need. Copying bits and pieces from code you find, trying to fit it all together. It's like walking through molasses, till you sudenly discover that you're no longer walking but somehow you've started swimming, and now that you look more closely it is not mollasses at all, but it's something like ... water. (and now that you're really taking attention you notice that you have turned into ... a fish) Well anyway here are some pieces of what I tried and failed. include "../lib/ccStats.irev" -- failed with "FTP error file "/ testing/..//lib/cc_PageStats.irev" not present. the include call was made from a page in the "testing" folder. Why that folders name is added I don't know include "http://claudi.on-rev.com/lib/cc_PageStats.irev" - fails I also tried: include "/home/claudi/public_html/lib/ cc_PageStats.irev" which for some reason first failed and later on it worked no idea why it first failed but I've been changing and trying all kinds of things which I don't all recall and in which order, so probably I first did something stupid. I also tried some more complicated crazy things to no avail but what those where, I don't know anymore. So it looks like I can use: include "/home/claudi/public_html/lib/ cc_PageStats.irev" or what I use now: set the defaultFolder to $_Server["DOCUMENT_ROOT"] include "lib/cc_PageStats.irev" I hope this helps Best wishes, Claudi From ambassador at fourthworld.com Fri Nov 6 08:12:32 2009 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 06 Nov 2009 05:12:32 -0800 Subject: command enableScrollbarIfNeeded pFldName Message-ID: <4AF420C0.9090706@fourthworld.com> sims wrote: > On Nov 6, 2009, at 7:11 AM, Richard Gaskin wrote: > >>> Thanks... I was wondering if I was missing out on some new script >>> goodies there. ;-) >> >> Possibly one: have you started using the new "private" keyword? > > In fact, the Most Excellent & Powerful Sarah ;-) has written an > article about these topics: > > http://www.revjournal.com/tutorials/command-and-private.html > > Bet you've heard of that web site Richard. I've seen it once or twice. ;) It's good to see someone else has too. -- 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 andre at andregarzia.com Fri Nov 6 08:15:26 2009 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 6 Nov 2009 11:15:26 -0200 Subject: including a file on on-rev In-Reply-To: References: Message-ID: <7c87a2a10911060515t3c2552dq1ec6caf1fc4da3dd@mail.gmail.com> Hi Claudi, The piece below will not work. RevServer include command works with the file system and has no knowledge of HTTP. Having a include command that worked over a network, could pose a security issue since it would open a bad secured server to cross site scripting. Yes in the desktop we can do go stack url and start using it which is basically the same thing but a standalone is in compiled form so it is harder to change the source in it. RevServer is scripting, text files, if someone manage to change a line there to include a remote file, all hell breaks loose... > include "http://claudi.on-rev.com/lib/cc_PageStats.irev" - > fails > Cheers andre -- http://www.andregarzia.com All We Do Is Code. From kevin at stallibrass.com Fri Nov 6 09:26:12 2009 From: kevin at stallibrass.com (Kevin Stallibrass) Date: Fri, 6 Nov 2009 14:26:12 -0000 Subject: atan2 help please Message-ID: <004501ca5eed$17d18e70$4774ab50$@com> Hi, I'm trying to convert an Excel formula to work in runrev but I have an issue with atan2 The excel formula is =DEGREES(ATAN2(5,10) which returns 63.43494882 (seems to be correct) In Rev, I'm using answer (atan2(5,10)*180/pi which returns 26.565051 I've tried removing the radians to degrees function { =(ATAN2(5,10) & answer atan2(5,10) but still have a big difference. When both arguments are the same (5,5) or 10,10), the result is same in both programs. So, is ATAN2 in Excel different to atan2 in RunRev? If so, how do I go about scripting the Excel formula? Kevin Stallibrass From kevin at stallibrass.com Fri Nov 6 09:33:26 2009 From: kevin at stallibrass.com (Kevin Stallibrass) Date: Fri, 6 Nov 2009 14:33:26 -0000 Subject: atan2 help please Message-ID: <004a01ca5eee$1ac78070$50568150$@com> OOPS! It always helps to send a mail to you guys, I then think of something else and find my own solution.. Turns out that the arguments are reversed between ATAN2 in Excel and atan2 in RunRev Sorry to have wasted your time Kevin Stallibrass From jimaultwins at yahoo.com Fri Nov 6 10:40:53 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 Nov 2009 07:40:53 -0800 Subject: Limit Photo Size on Upload In-Reply-To: <4AF3B042.4090404@hindu.org> References: <4AF3B042.4090404@hindu.org> Message-ID: <823DB19B-9F10-4298-8652-A31CC78FFDBD@yahoo.com> On Nov 5, 2009, at 9:12 PM, Sivakatirswami wrote: > Thanks to Sarah's wonderful example I'm building a little photo > uploader. > ( I don't understand all the parsing of the multipart form data, > exactly, but enough to customize > for my needs...) It is just like sending several params to a function, but in this case you need a boundary string that cannot be accidentally included in the data being transferred. The boundary string is the same as a comma in Rev. The another requirement is to tell the server which kind of data each part is, thus the server can call the right program to decode and handle image data, text, php script, After all, to send data to the server correctly, encoding has to be done, then decoded if necessary, or stored and decoded later. Email is done exactly the same way, but we don't see this since the email programs we use hide the ugly part with a fancy UI. If you understand how emails are encoded before hitting the internet, you get a little insight into using multipart form data. > > I'm worried about abuse... maybe too paranoid... I don't know, but I > would like to limit file size of uploads to 2.5 MB photos. > > When do we do that? I don't think a file browser > ( ) knows how big the > file is to actually stop the upload... > > so you have to handle it *after* receiving the post, right? > > if $_POST_RAW is not empty then > # includes headers and filename and caption of course but no need be > too precise > if len($_POST_RAW) > 2636822 then > # exit out of processing the post > # and return some response to the user "File Too Big." > > have I got this right? One solution is use form validation in the browser before sending. Here is a link to the Apple developer site showing a javascript example. http://developer.apple.com/internet/webcontent/validation.html Also, try Googling "html form validation" for hundreds of sites with info. If a Rev plugin is present, you could use Rev to check the size Jim Ault Las Vegas From jerry.daniels at me.com Fri Nov 6 11:21:32 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Fri, 6 Nov 2009 10:21:32 -0600 Subject: [ANN] tRev Feature Friday: Snaps! Message-ID: Rev coders... Now you can get to your code FASTER with a new feature of tRev! It's called Snaps and it makes your brain feel good. Here's the video link: http://reveditor.com/feature-friday-snaps-0 Here are the details: Visualize Your Controls - Snaps are snapshots of cards shown in tRev's Object Browser. - Snaps can be turned on or off via a Column Button called Snap. - Snap buttons are beneath the Object Browser's Cards and Controls columns Get to Editing Faster - Click a line item in Controls to place orange rect around the control in card's Snap. - Click a control in a Snap and its line item in Controls list hilites. - Double-click any control in the Snap to edit it in tRev. - Hold down shift to inspect its properties in Rev. Look, Mom?No Mouse! - Typing return or enter is the same as double-clicking a Snap's control. - Use the arrow keys to navigate the Controls list and work mouse-less. - Your mother will be proud. Fathers are harder to please. Safety, Power, Convenience - When you click on a Snap to select a control, it cannot be moved or altered?only edited. - Click an invisible control in the list and you will see its rect in the Snap. - Click an off-screen control in the list and you will see its rect in the Snap if it's nearby. - Click a disabled control in the Snap and it will become selected in the list. Gather Images for Documentation - Shift-click a Snap and it gets saved to your clipboard as a JPEG. - Entire image of the card is included with a gray 1 pixel border. - You'll get visual (flash) and aural (shutter sound) feedback indicating the card's image was clipped. Quick Keys - Single keystroke shortcuts for Object Browser are now called Quick Keys. - Quick Key for turning Snap on or off is p as in 'snap a picture' of a card. - Quick Key for Snap works when either Cards or Controls column is active. Your Brain on Snaps - With Snaps you can use both sides of your brain: spatial and analytical. - Anecdotal evidence indicate an effect approximating hedonic hypersynchrony. Best, Jerry Daniels Go ahead...you know you want to: http://runrev.com/products/related-software/trev-editor/ From troy_lists at rpsystems.net Fri Nov 6 12:11:19 2009 From: troy_lists at rpsystems.net (Troy Rollins) Date: Fri, 6 Nov 2009 12:11:19 -0500 Subject: [ANN] tRev Feature Friday: Snaps! In-Reply-To: References: Message-ID: On Nov 6, 2009, at 11:21 AM, Jerry Daniels wrote: > It's called Snaps and it makes your brain feel good. Awesome work Jerry! Lovin' the snaps. -- Troy RPSystems, Ltd. http://www.rpsystems.net From davidocoker at gmail.com Fri Nov 6 12:19:33 2009 From: davidocoker at gmail.com (David Coker) Date: Fri, 6 Nov 2009 11:19:33 -0600 (CST) Subject: [ANN] tRev Feature Friday: Snaps! In-Reply-To: Message-ID: <26381188.01257527969160.JavaMail.HAPPY-LAPPY$@happy-lappy> > It's called Snaps and it makes your brain feel good. > Awesome work Jerry! > Lovin' the snaps. Ditto! I've been using tRev for less than a week now and enjoy it very much... ...now it's even better! David C. From jerry.daniels at me.com Fri Nov 6 13:15:54 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Fri, 6 Nov 2009 12:15:54 -0600 Subject: [ANN] tRev Feature Friday: Snaps! In-Reply-To: References: Message-ID: Thanks, Troy! I think they're pretty solid. Hedonic hypersynchrony....got a kick outa that, myself. Best, Jerry Daniels The latest tRev Video: http://reveditor.com/feature-friday-column-buttons-better-clairvoy On Nov 6, 2009, at 11:11 AM, Troy Rollins wrote: > > On Nov 6, 2009, at 11:21 AM, Jerry Daniels wrote: > >> It's called Snaps and it makes your brain feel good. > > Awesome work Jerry! > > Lovin' the snaps. > > -- > 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 jerry.daniels at me.com Fri Nov 6 13:18:48 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Fri, 6 Nov 2009 12:18:48 -0600 Subject: [ANN] tRev Feature Friday: Snaps! In-Reply-To: <26381188.01257527969160.JavaMail.HAPPY-LAPPY$@happy-lappy> References: <26381188.01257527969160.JavaMail.HAPPY-LAPPY$@happy-lappy> Message-ID: <7E4CFD0A-81E0-407E-ABF2-B2D567DEF342@me.com> That's the whole idea...we are aiming for 1,000 happy-as-clams users! We're over 20% of the way there. MJ and I appreciate the support. Keep it coming...we'll do the same. Best, Jerry Daniels The latest tRev Video: http://reveditor.com/feature-friday-snaps-0 On Nov 6, 2009, at 11:19 AM, David Coker wrote: >> It's called Snaps and it makes your brain feel good. > >> Awesome work Jerry! > >> Lovin' the snaps. > > Ditto! > > I've been using tRev for less than a week now and enjoy it very > much... > ...now it's even better! > > 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 jimaultwins at yahoo.com Fri Nov 6 13:43:49 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 Nov 2009 10:43:49 -0800 Subject: Re-2: search for regular expression in text and put the results into an array In-Reply-To: <000399E7.4AF35CE3@the-office.us> References: <000399E7.4AF35CE3@the-office.us> Message-ID: On Nov 5, 2009, at 2:16 PM, runrev260805 at m-r-d.de wrote: > Hi, > first thanks to all for the suggestions. As i am unfamiliar with the > offset function and i was a little in a hurry i used Jim?s script > and extended it to my needs. > @Jim > Line 8 of your example should be > filter xmlBlock without "*" > shouldn?t it. Perhaps, since I just typed the script without testing in order to give the basic structure I use. However, the scheme was to make each line in the xmlBlock start with and include only those lines. "blah blah blahblah" "blah blah blahblah" "blah blah blahblah" "blah blah blahblah" Now the repeat loop will cycle through them and do the parsing. Glad it helped you move on to the next programming task. Jim Ault Las Vegas > -------- Original Message -------- > Subject: Re: search for regular expression in text and put the > results into an array (05-Nov-2009 6:41) > From: Jim Ault > To: runrev260805 at m-r-d.de > >> I don't use the xml library to do the simple tag processing for three >> types of tags >> Chunk expressions are so fast that I get better speed and control of >> the data parsing. >> >> ------- Use these steps to get started---- >> >> on test >> replace cr with empty in xmlBlock >> replace quote with "'" in xmlBlock --(apostrophe ' char) >> --now you can use quote expressions without worries >> -- such as in the next line >> replace "" with (cr & "> type='array'>") in xmlBlock >> filter xmlBlock with "*" >> >> put 0 into statusCount >> repeat for each line statusArrLine in xmlBlock >> replace "" with (cr & "") in statusArrLine >> replace "" with ("" & cr) in statusArrLine >> filter statusArrLine with "*" >> >> repeat for each line statusTag in statusArrLine >> replace "" with empty in statusTag >> replace "" with empty in statusTag >> --now we have the data only, and on a single line >> add 1 to statusCount >> put statusTag into storArray[statusCount] >> >> end repeat >> end repeat >> >> --> statusCount = total >> --> storArray[num] = strings storage >> end test >> >> Hope this helps. From rick-rice at shaw.ca Fri Nov 6 14:17:36 2009 From: rick-rice at shaw.ca (Rick Rice) Date: Fri, 6 Nov 2009 11:17:36 -0800 Subject: lineoffset In-Reply-To: References: <000399E7.4AF35CE3@the-office.us> Message-ID: <14A23953-DD74-420F-9F35-C1ABD08B534A@shaw.ca> I know there is something real easy I'm missing but; why doesn't this work? on mouseUp set itemdel to "|" get the clicktext put lineoffset (it, item 1 of cd field "storage") end mouseUp Thanks Rick From katir at hindu.org Fri Nov 6 14:46:41 2009 From: katir at hindu.org (Sivakatirswami) Date: Fri, 06 Nov 2009 09:46:41 -1000 Subject: Limit Photo Size on Upload In-Reply-To: <823DB19B-9F10-4298-8652-A31CC78FFDBD@yahoo.com> References: <4AF3B042.4090404@hindu.org> <823DB19B-9F10-4298-8652-A31CC78FFDBD@yahoo.com> Message-ID: <4AF47D21.3080900@hindu.org> Jim Ault wrote: > One solution is use form validation in the browser before sending. > Here is a link to the Apple developer site showing a javascript example. > http://developer.apple.com/internet/webcontent/validation.html > Also, try Googling "html form validation" for hundreds of sites with info. > > If a Rev plugin is present, you could use Rev to check the size > Though I try to stay away from JS as much as i can, looks very useful. Only thing is: I don't see a function there to check file size, and further research indicates that JS security constraints bar JS from reading the file size and one can only do this with an ActiveX thing in I.E. So, it's back to a server side input data check...or I'll be patient and wait until next week and implement as a revlet and then it will be easy. This will also constrain input from only those who trust us, which is an excellent "screening" that the revlet security provides. From jacque at hyperactivesw.com Fri Nov 6 14:48:31 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Nov 2009 13:48:31 -0600 Subject: Creating a real-time magnifier In-Reply-To: References: <1257378862143-450542.post@n4.nabble.com> <6734F377-B070-4346-835B-5EBCCB94A892@ezpzapps.com> <1257413569381-492652.post@n4.nabble.com> <4AF2B8DB.8090102@together.net> <4AF2BEC7.7060909@gmail.com> <4AF2C41E.1070905@together.net> Message-ID: <4AF47D8F.8060501@hyperactivesw.com> Thierry D. wrote: > >>> Richard Miller wrote: >>>> Any thoughts on how to magnify (by 2x) a 100x100 section of the >>>> screen in real time? I got curious about this so gave it a try. I was able to do it in 18 lines of script without the use of any snapshots. The basic idea is just to scroll a group containing a resized image so that its scroll corresponds to the location the mouse is over in the original image. I was surprised at how simple it is and I think it's easier on the engine than taking repeated snapshots at close intervals. I uploaded to Rev Online. Look for "Magnifying an image" under my name. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Fri Nov 6 14:58:49 2009 From: katir at hindu.org (Sivakatirswami) Date: Fri, 06 Nov 2009 09:58:49 -1000 Subject: tRev Jerry! Thanks for Snaps... Truly Remarkable... Message-ID: <4AF47FF9.6090306@hindu.org> It practically means, once the GUI is locked down, you could pretty much work on the back end of the project entirely from inside tRev! Thank you. Sivakatirswami From DunbarX at aol.com Fri Nov 6 15:03:35 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 6 Nov 2009 15:03:35 EST Subject: lineoffset Message-ID: Rick. This looks good to me. I pasted directly into a locked field. What is the error you get? Craig Newman In a message dated 11/6/09 2:18:53 PM, rick-rice at shaw.ca writes: > on mouseUp > ?? set itemdel to "|" > ?? get the clicktext > ?? put lineoffset (it, item 1 of cd field "storage") > end mouseUp > From jimaultwins at yahoo.com Fri Nov 6 15:05:22 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 Nov 2009 12:05:22 -0800 Subject: lineoffset In-Reply-To: <14A23953-DD74-420F-9F35-C1ABD08B534A@shaw.ca> References: <000399E7.4AF35CE3@the-office.us> <14A23953-DD74-420F-9F35-C1ABD08B534A@shaw.ca> Message-ID: <7FC1790E-5CF4-4D7C-84C8-1BE5EDC841E0@yahoo.com> On Nov 6, 2009, at 11:17 AM, Rick Rice wrote: > I know there is something real easy I'm missing but; > > why doesn't this work? > > on mouseUp > set itemdel to "|" > get the clicktext > put lineoffset (it, item 1 of cd field "storage") > end mouseUp Not knowing what is in the field, I will take a guess. Try set itemdel to "|" put item 1 of cd field "storage" into testValue breakpoint --now look at the string in testValue Also put lineoffset(it, item 1 of cd field "storage") -- -- no space after 'lineoffset' Also remember that an 'item' is considered a smaller chunk than a line, so that the following does not make sense to Rev put line 2 of item 4 of field "storage" What you would need to do to follow the rules is set the lineDel to "|" set the itemDel to cr put item 2 of line 4 of field "storage" -- now multiple visible lines in the field would be considered as items for the purposes of chunk expressions. By the way, cd field is not necessary in Rev, but works because of the compatibility routines that allow much of Hypercard to work in Rev. Hope this helps, Jim Ault Las Vegas From rick-rice at shaw.ca Fri Nov 6 15:06:23 2009 From: rick-rice at shaw.ca (Rick Rice) Date: Fri, 6 Nov 2009 12:06:23 -0800 Subject: lineoffset In-Reply-To: References: Message-ID: It looks to me like it should work and in fact I do not get any script error message when I enter the script and then close the script. No mater the clicktext it comes back with "0" Rick On Nov 6, 2009, at 12:03 PM, DunbarX at aol.com wrote: > Rick. > > This looks good to me. I pasted directly into a locked field. What > is the > error you get? > > Craig Newman > > In a message dated 11/6/09 2:18:53 PM, rick-rice at shaw.ca writes: > > >> on mouseUp >> set itemdel to "|" >> get the clicktext >> put lineoffset (it, item 1 of cd field "storage") >> 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 DunbarX at aol.com Fri Nov 6 15:13:10 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 6 Nov 2009 15:13:10 EST Subject: Creating a real-time magnifier Message-ID: Jacques. This blatant blowing of your own horn has to stop. It was only 16 lines. Craig From jacque at hyperactivesw.com Fri Nov 6 15:20:10 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Nov 2009 14:20:10 -0600 Subject: Creating a real-time magnifier In-Reply-To: References: Message-ID: <4AF484FA.70804@hyperactivesw.com> DunbarX at aol.com wrote: > Jacques. > > This blatant blowing of your own horn has to stop. It was only 16 lines. And if we don't count the "on" and "end" statements, it's only 12 lines. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jimaultwins at yahoo.com Fri Nov 6 15:41:26 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 Nov 2009 12:41:26 -0800 Subject: Limit Photo Size on Upload In-Reply-To: <4AF47D21.3080900@hindu.org> References: <4AF3B042.4090404@hindu.org> <823DB19B-9F10-4298-8652-A31CC78FFDBD@yahoo.com> <4AF47D21.3080900@hindu.org> Message-ID: You should be able to specify the max file size in the
before the image is posted. And this link is a PHP solution that handles several errors and user feedback -- lots of notes on each line so that you know what is going on -- remember the PHP engine is running on the web host -- there is a multi-image file upload version at the bottom of this page http://webdeveloper.com/forum/showthread.php?t=101466 Note the line in the html body thus a hidden value is sent to the server to limit the number of characters it will accept when the server creates the variable and loads the image data. The result of trying to upload a very large image is that only part of it will be stored in a 'tmp_name' array variable in web server RAM, // now let's move the file to its final location and allocate the new filename to it @move_uploaded_file($_FILES[$fieldname]['tmp_name'], $uploadFilename) or error('receiving directory insuffiecient permission', $uploadForm); and the user notified -- the PHP code directs the user to the page that outputs the error messages. // The following function is an error handler which is used // to output an HTML error page if the file upload fails function error($error, $location, $seconds = 5) At the top of the web page source is where the value of the PHP variable is set by: // set a max file size for the html upload form $max_file_size = 30000; // size in bytes When you are ready, you can use the download link to get the upload.zip or the multifileupload.zip from the author. I would prefer a PHP solution to a javascript one, but that is my preference Jim Ault Las Vegas On Nov 6, 2009, at 11:46 AM, Sivakatirswami wrote: > Jim Ault wrote: > >> One solution is use form validation in the browser before sending. >> Here is a link to the Apple developer site showing a javascript >> example. >> http://developer.apple.com/internet/webcontent/validation.html >> Also, try Googling "html form validation" for hundreds of sites >> with info. >> If a Rev plugin is present, you could use Rev to check the size > > Though I try to stay away from JS as much as i can, looks very > useful. Only thing is: I don't see a function there to check file > size, and further research indicates that JS security constraints > bar JS from reading the file size and one can only do this with an > ActiveX thing in I.E. > > So, it's back to a server side input data check...or > > I'll be patient and wait until next week and implement as a revlet > and then it will be easy. This will also constrain input from only > those who trust us, which is an excellent "screening" that the > revlet security provides. From jimaultwins at yahoo.com Fri Nov 6 15:55:30 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 Nov 2009 12:55:30 -0800 Subject: lineoffset In-Reply-To: <14A23953-DD74-420F-9F35-C1ABD08B534A@shaw.ca> References: <000399E7.4AF35CE3@the-office.us> <14A23953-DD74-420F-9F35-C1ABD08B534A@shaw.ca> Message-ID: <8478033B-9E29-488C-937D-56A917AC3D9B@yahoo.com> A second thought.... It looks like you might be thinking that you want to restrict the 'hit' to the first item of each line in the field. To do that you would need to do something like set the itemdel to "|" get cr & the clicktext & "|" put lineOffset( IT, (cr & field "storage")) thus the match can only occur if the clicktext is exactly the first item of a line Hope this helps, Jim Ault Las Vega On Nov 6, 2009, at 11:17 AM, Rick Rice wrote: > I know there is something real easy I'm missing but; > > why doesn't this work? > > on mouseUp > set itemdel to "|" > get the clicktext > put lineoffset (it, item 1 of cd field "storage") > end mouseUp From shaosean at wehostmacs.com Fri Nov 6 16:21:14 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Fri, 6 Nov 2009 16:21:14 -0500 Subject: lineoffset Message-ID: <50D858FB-03E7-4236-BA06-65C4234D25D1@wehostmacs.com> Jim, if I remember correctly from having to do something like this in the past, your solution will not get the first line because it does not start off with the CR from the previous line (unless I am missing something else in this thread in which case, ignore me like my mom does ;-) From shaosean at wehostmacs.com Fri Nov 6 16:24:29 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Fri, 6 Nov 2009 16:24:29 -0500 Subject: lineoffset Message-ID: <9C50906E-D5F2-48A1-A05A-265A8EBE47D0@wehostmacs.com> Rick, can you give us an example of the data in the field? If the text is something like "moo|cow" then the clickText will return the whole line "moo|cow" and not just the first item like it looks like you are trying to do.. From kevin at runrev.com Fri Nov 6 16:25:37 2009 From: kevin at runrev.com (Kevin Miller) Date: Fri, 06 Nov 2009 21:25:37 +0000 Subject: New build of the plugin Message-ID: Hi all, We?ve uploaded new plugin builds to revweb.runrev.com. The following issues have been fixed: IE not returning a result from do ... in browser Plugin not working on Windows x64 Plugin not working in Firefox on MacOS 10.3.9 8410 - mouseLoc issue when scrolling 8408 - crash on stack with metal texture 8407 - mouseclick doesn't work 8403 - mouseDoubleUp not working 8392 - backdrop in revlet doesn't work 8387 - clicking links to substacks causes crash 8386 - tooltips don't appear in webplugin 8383 - popup menus in the wrong place 8380 - popup/pull down menus don't work properly 8379 - revlets won't load from p/word protected folders in Safari Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone From DunbarX at aol.com Fri Nov 6 16:39:48 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 6 Nov 2009 16:39:48 EST Subject: lineoffset Message-ID: I made a "storage" field, and put text into it. The working field has similar text. When I click on text in the working field (with the mouseUp handler), the message box gives me the line number of the text in the "storage" field. No problem, no errors. And yes, it will give only the first instance, because that is how it is written. Getting others is another story, but your problem is getting it to work at all, correct? Craig Newman From runrev260805 at m-r-d.de Fri Nov 6 16:40:04 2009 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 6 Nov 2009 21:40:04 +0000 Subject: New build of the plugin Message-ID: <00039A49.4AF4A567@the-office.us> Thanks, thats good to know. Now its possible to use Maltes example to secure our revlets, so they can only be run from a specific website. Regards, Matthias -------- Original Message -------- Subject: New build of the plugin (06-Nov-2009 22:28) From: Kevin Miller To: runrev260805 at m-r-d.de > Hi all, > > We?ve uploaded new plugin builds to revweb.runrev.com. > > The following issues have been fixed: > > IE not returning a result from do ... in browser > Plugin not working on Windows x64 > Plugin not working in Firefox on MacOS 10.3.9 > 8410 - mouseLoc issue when scrolling > 8408 - crash on stack with metal texture > 8407 - mouseclick doesn't work > 8403 - mouseDoubleUp not working > 8392 - backdrop in revlet doesn't work > 8387 - clicking links to substacks causes crash > 8386 - tooltips don't appear in webplugin > 8383 - popup menus in the wrong place > 8380 - popup/pull down menus don't work properly > 8379 - revlets won't load from p/word protected folders in Safari > > 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 > > > > > To: improve-revolution at lists.runrev.com > use-revolution at lists.runrev.com > Cc: From harrison at all-auctions.com Fri Nov 6 16:47:36 2009 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 6 Nov 2009 16:47:36 -0500 Subject: Reading/Writing On-Rev Files In-Reply-To: <21F73F09-E701-436D-898D-26FEDC2BF35E@mac.com> References: <21F73F09-E701-436D-898D-26FEDC2BF35E@mac.com> Message-ID: <279FDB32-CE9C-4671-B535-3D0E96B020E8@all-auctions.com> Hi there, I have a standalone stack I have uploaded to On-Rev which is supposed to read in some external files which are also on On-Rev. Those files are located in the same folder as the standalone application on On-Rev. The problem is - what is the pathname to use? If I look at the default folder it is pointing to the user's desktop machine rev-plugin. I need the path to the On-Rev folders. Ideas? Suggestions? Thanks in advance, Rick From jacque at hyperactivesw.com Fri Nov 6 17:42:33 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Nov 2009 16:42:33 -0600 Subject: Reading/Writing On-Rev Files In-Reply-To: <279FDB32-CE9C-4671-B535-3D0E96B020E8@all-auctions.com> References: <21F73F09-E701-436D-898D-26FEDC2BF35E@mac.com> <279FDB32-CE9C-4671-B535-3D0E96B020E8@all-auctions.com> Message-ID: <4AF4A659.3000808@hyperactivesw.com> Rick Harrison wrote: > Hi there, > > I have a standalone stack I have uploaded to > On-Rev which is supposed to read in some > external files which are also on On-Rev. > Those files are located in the same folder > as the standalone application on On-Rev. > > The problem is - what is the pathname to use? Get the filename of your main stack, then parse it to replace the item after the last slash with the file you want to access. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jimaultwins at yahoo.com Fri Nov 6 17:50:26 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 Nov 2009 14:50:26 -0800 Subject: lineoffset In-Reply-To: <50D858FB-03E7-4236-BA06-65C4234D25D1@wehostmacs.com> References: <50D858FB-03E7-4236-BA06-65C4234D25D1@wehostmacs.com> Message-ID: <4ECDD1CB-8430-4B81-A334-1F1057B4AEED@yahoo.com> On Nov 6, 2009, at 1:21 PM, Shao Sean wrote: > Jim, if I remember correctly from having to do something like this > in the past, your solution will not get the first line because it > does not start off with the CR from the previous line (unless I am > missing something else in this thread in which case, ignore me like > my mom does ;-) The key is to make the IT variable start with a CR in order to include only hits at the beginning of a line and the search text beginning with a CR so that hits can only be true at the start of a line. thus... get ( cr & the clicktext & "|" ) --string to find put lineOffset( IT, (cr & fld "storage")) --text block to search -- so that the search text begins with a CR and the field does not have to . --- example text ------------ rainbow| clouds rain sunshine photo| rain rainbow lightning image| party balloon cake balloon| red float photo smile noise Clicking on any word will get the line number of 0 or > 0. "rainbow" will = 1, photo = 2, balloon = 4. Mom says hi. Jim Ault Las Vegas From rick-rice at shaw.ca Fri Nov 6 18:07:17 2009 From: rick-rice at shaw.ca (Rick Rice) Date: Fri, 6 Nov 2009 15:07:17 -0800 Subject: lineoffset In-Reply-To: <9C50906E-D5F2-48A1-A05A-265A8EBE47D0@wehostmacs.com> References: <9C50906E-D5F2-48A1-A05A-265A8EBE47D0@wehostmacs.com> Message-ID: <35D9A009-0417-4DD0-9EC4-2425C103756B@shaw.ca> Hey thanks Jim and Shao and Craig: What I have is a field "storage" in which detailed descriptions of various white blood cells is stored. Like this; Myeloblast|and now a detailed discussion of Myeloblast .............. Promyelocyte|and now a detailed discussion of Promyelocyte .............. Myelocyte|and now a detailed discussion of Myelocyte .............. Metamyelocyte|and now a detailed discussion of Metamyelocyte .............. In a list field in which I have the list of cells like this; Myeloblast Promyelocyte Myelocyte Metamyelocyte etc .... Then I have another field called "display" So in the list field script I have the script: > on mouseUp > set itemdel to "|" > get the clicktext > put lineoffset (it, item 1 of cd field "storage") and other stuff > end mouseUp What I want is for the student to click on a cell name in the list field. Take the name they clicked on and look for it as the first item in the storage field. Once it has found the line in the storage field then take item 2 of that line and put it into the display field. As I said, when I enter the script the editor accepts it and does not give any error but, it always returns 0 Rick On Nov 6, 2009, at 1:24 PM, Shao Sean wrote: > Rick, can you give us an example of the data in the field? If the > text is something like "moo|cow" then the clickText will return the > whole line "moo|cow" and not just the first item like it looks like > you are trying to do.. > _______________________________________________ > use-revolution mailing list > use-revolution 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 Nov 6 18:10:46 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 Nov 2009 15:10:46 -0800 Subject: lineoffset In-Reply-To: <4ECDD1CB-8430-4B81-A334-1F1057B4AEED@yahoo.com> References: <50D858FB-03E7-4236-BA06-65C4234D25D1@wehostmacs.com> <4ECDD1CB-8430-4B81-A334-1F1057B4AEED@yahoo.com> Message-ID: <3CBC8575-63A1-4114-A291-3913D7364688@yahoo.com> I suppose I should be a little more clear on why this works with lineOffset lineOffset finds the first match in a text block. If the string to find includes one or more cr's then it is a multiline match with the return value being the first line value. Eg. using these 4 lines ---------- rainbow| clouds rain sunshine photo| rain rainbow lightning image| party balloon cake balloon| red float photo smile noise lineOffset of ("cake balloon| red float photo smile noise") is 3 lineOffset of ("rainbow lightning image| party balloon cake balloon| red") is 2 Jim Ault Las Vegas From harrison at all-auctions.com Fri Nov 6 18:14:47 2009 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 6 Nov 2009 18:14:47 -0500 Subject: Reading/Writing On-Rev Files In-Reply-To: <4AF4A659.3000808@hyperactivesw.com> References: <21F73F09-E701-436D-898D-26FEDC2BF35E@mac.com> <279FDB32-CE9C-4671-B535-3D0E96B020E8@all-auctions.com> <4AF4A659.3000808@hyperactivesw.com> Message-ID: <6D6020E2-017D-4FEE-AEF2-3AF328CD9BE6@all-auctions.com> Hi Jacqueline, I used: put the filename of this stack into VarShowStackName answer "VarShowStackName = " & VarShowStackName It returns nothing in the standalone. As a desktop application it works fine. Am I missing some library? Suggestions? Rick On Nov 6, 2009, at 5:42 PM, J. Landman Gay wrote: > Rick Harrison wrote: >> Hi there, >> I have a standalone stack I have uploaded to >> On-Rev which is supposed to read in some >> external files which are also on On-Rev. >> Those files are located in the same folder >> as the standalone application on On-Rev. >> The problem is - what is the pathname to use? > > Get the filename of your main stack, then parse it to replace the > item after the last slash with the file you want to access. > > -- > 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 __________________________________ Rick Harrison You can buy my $10 music album "Funny Time Machine" digital CD on the iTunes Store Now! To visit the iTunes Store now to listen to samples of my CD please click on the following link. (Please note you must have iTunes installed on your computer for this link to work.) http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290 From jimaultwins at yahoo.com Fri Nov 6 18:24:34 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 Nov 2009 15:24:34 -0800 Subject: lineoffset In-Reply-To: <35D9A009-0417-4DD0-9EC4-2425C103756B@shaw.ca> References: <9C50906E-D5F2-48A1-A05A-265A8EBE47D0@wehostmacs.com> <35D9A009-0417-4DD0-9EC4-2425C103756B@shaw.ca> Message-ID: <640ECC89-9B09-44DC-A949-AA21AD98FA0F@yahoo.com> Like I said before, you need to answer the question: What is ( item 1 of field "storage" ) ? Use the variable watcher and breakpoint. This will show you why you would get 0 (not located) unless you clicked 'Myeloblast', and then you would get 1. Jim Ault Las Vegas What is the On Nov 6, 2009, at 3:07 PM, Rick Rice wrote: > Hey thanks Jim and Shao and Craig: > > What I have is a field "storage" in which detailed descriptions of > various white blood cells is stored. Like this; > Myeloblast|and now a detailed discussion of Myeloblast .............. > Promyelocyte|and now a detailed discussion of > Promyelocyte .............. > Myelocyte|and now a detailed discussion of Myelocyte .............. > Metamyelocyte|and now a detailed discussion of > Metamyelocyte .............. > > In a list field in which I have the list of cells like this; > Myeloblast > Promyelocyte > Myelocyte > Metamyelocyte > etc .... > > Then I have another field called "display" > > So in the list field script I have the script: >> on mouseUp >> set itemdel to "|" >> get the clicktext >> put lineoffset (it, item 1 of cd field "storage") > and other stuff >> end mouseUp > > What I want is for the student to click on a cell name in the list > field. Take the name they clicked on and look for it as the first > item in the storage field. Once it has found the line in the storage > field then take item 2 of that line and put it into the display field. > > As I said, when I enter the script the editor accepts it and does > not give any error but, it always returns 0 > > Rick > > > On Nov 6, 2009, at 1:24 PM, Shao Sean wrote: > >> Rick, can you give us an example of the data in the field? If the >> text is something like "moo|cow" then the clickText will return the >> whole line "moo|cow" and not just the first item like it looks like >> you are trying to do.. >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 Jim Ault jimaultwins at yahoo.com From DunbarX at aol.com Fri Nov 6 18:37:32 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 6 Nov 2009 18:37:32 EST Subject: lineoffset Message-ID: Rick. Silly us, I think. Your text in which to search is only the first item of the storage field: on mouseUp ?? set itemdel to "|" ?? get the clicktext ?? put lineoffset (it, item 1 of cd field "storage") end mouseUp You are trying to find the clicktext in the first item of that field. Probably not much text there. Test with text that you know is in that very first item. One of my first forays into rev was to rewrite Frederic Rinaldi's "fullFind", because I constantly need to find every instance of a word and its line numbers. If you are interested, try calling this and see if it gives any results. Or you might try your original script with very simple words. If it works, then you have spelling problems, or, more likely, hidden chars that are preventing the find from succeeding. on mouseUp set itemdel to "|" get the clicktext put revFullFind fld "storage",it,"lineNum","true" end mouseUp function revFullFind tText,tFind,form,exactly switch case exactly = "true" and form = "lineNum" repeat for each line tline in tText add 1 to counter if tFind = tline then put counter & return after temp22 end if end repeat break case exactly = "true" and form = "txt" repeat for each line tline in tText add 1 to counter if tFind = tline then put theLine & return after temp22 end if end repeat break case exactly = "false" and form = "lineNum" repeat for each line tline in tText add 1 to counter if tFind is in tline then put counter & return after temp22 end if end repeat break case exactly = "false" and form = "txt" repeat for each line tline in tText add 1 to counter if tFind is in tline then put theLine & return after temp22 end if end repeat break end switch return temp22 end revFullFind Craig Newman From DunbarX at aol.com Fri Nov 6 18:38:49 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 6 Nov 2009 18:38:49 EST Subject: lineoffset Message-ID: Jim. I just reread your post. I think you are saying the same thing, that there ain't much text in the first item of the search list. Craig In a message dated 11/6/09 6:24:48 PM, jimaultwins at yahoo.com writes: > Like I said before, you need to answer the question: > > What is ( item 1 of field "storage" ) ? > Use the variable watcher and breakpoint. > This will show you why you would get 0 (not located) > unless you clicked 'Myeloblast', and then you would get 1. > > Jim Ault > Las Vegas > From rick-rice at shaw.ca Fri Nov 6 18:55:19 2009 From: rick-rice at shaw.ca (Rick Rice) Date: Fri, 6 Nov 2009 15:55:19 -0800 Subject: lineoffset In-Reply-To: References: Message-ID: <9E272CE8-F8DD-455B-84A5-50B5B145D752@shaw.ca> Jim: You nailed it. Item 1 of field "storage" is in fact Myeloblast. If I click "Myeloblast" I get 1 if I click any other name the lineoffset returns 0 Craig: I tried the fullfind routine and this returned "revFullFind" Maybe what I should do is simply use a repeat loop and look at each item 1 of each line. If it matches the clicktext then I have the line number and can load item 2 of that line into the display field. Rick On Nov 6, 2009, at 3:38 PM, DunbarX at aol.com wrote: > Jim. > > I just reread your post. I think you are saying the same thing, > that there > ain't much text in the first item of the search list. > > Craig > > In a message dated 11/6/09 6:24:48 PM, jimaultwins at yahoo.com writes: > > >> Like I said before, you need to answer the question: >> >> What is ( item 1 of field "storage" ) ? >> Use the variable watcher and breakpoint. >> This will show you why you would get 0 (not located) >> unless you clicked 'Myeloblast', and then you would get 1. >> >> 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 katir at hindu.org Fri Nov 6 19:09:25 2009 From: katir at hindu.org (Sivakatirswami) Date: Fri, 06 Nov 2009 14:09:25 -1000 Subject: Limit Photo Size on Upload In-Reply-To: References: <4AF3B042.4090404@hindu.org> <823DB19B-9F10-4298-8652-A31CC78FFDBD@yahoo.com> <4AF47D21.3080900@hindu.org> Message-ID: <4AF4BAB5.7050104@hindu.org> I don't think we can include on a *.irev page.... at least not yet. But bottom line is: you are measuring input data *after* the user hits "submit" I may as well just measure the $_POST_RAW value before processing it. If some deranged person tries to upload a 100MB file, he will just be waiting forever. I don't think our server will care a whit about it. Once it's uploaded, the irev page will simply drop I could be sure by doing a "put empty" into the $_POST_RAW... I suppose there could be a RAM issue on the web server, but a linux machine, I believe will start using Virtual memory and nothing bad will happen (I hope) Perhaps the iRev engine has some hidden "agent" that can return a value for the amt of data that's been read "so far" before the complete post is received? If so, we could poll that and terminate, like the PHP thing does. skts Jim Ault wrote: > You should be able to specify the max file size in the before > the image is posted. > > And this link is a PHP solution that handles several errors and user > feedback > -- lots of notes on each line so that you know what is going on > -- remember the PHP engine is running on the web host > -- there is a multi-image file upload version at the bottom of this > page > > http://webdeveloper.com/forum/showthread.php?t=101466 > > Note the line in the html body > > > > thus a hidden value is sent to the server to limit the number of > characters it will accept when the server creates the variable and > loads the image data. The result of trying to upload a very large > image is that only part of it will be stored in a 'tmp_name' array > variable in web server RAM, > > // now let's move the file to its final location and allocate the new > filename to it > @move_uploaded_file($_FILES[$fieldname]['tmp_name'], $uploadFilename) > or error('receiving directory insuffiecient permission', > $uploadForm); > > and the user notified -- the PHP code directs the user to the page > that outputs the error messages. > > // The following function is an error handler which is used > // to output an HTML error page if the file upload fails > function error($error, $location, $seconds = 5) > > At the top of the web page source is where the value of the PHP > variable is set by: > > // set a max file size for the html upload form > $max_file_size = 30000; // size in bytes > > When you are ready, you can use the download link to get the > upload.zip or the multifileupload.zip from the author. > > I would prefer a PHP solution to a javascript one, but that is my > preference > > Jim Ault > Las Vegas > > On Nov 6, 2009, at 11:46 AM, Sivakatirswami wrote: > >> Jim Ault wrote: >> >>> One solution is use form validation in the browser before sending. >>> Here is a link to the Apple developer site showing a javascript >>> example. >>> http://developer.apple.com/internet/webcontent/validation.html >>> Also, try Googling "html form validation" for hundreds of sites with >>> info. >>> If a Rev plugin is present, you could use Rev to check the size >> >> Though I try to stay away from JS as much as i can, looks very >> useful. Only thing is: I don't see a function there to check file >> size, and further research indicates that JS security constraints bar >> JS from reading the file size and one can only do this with an >> ActiveX thing in I.E. >> >> So, it's back to a server side input data check...or >> >> I'll be patient and wait until next week and implement as a revlet >> and then it will be easy. This will also constrain input from only >> those who trust us, which is an excellent "screening" that the revlet >> security provides. > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Fri Nov 6 19:39:19 2009 From: mdswindell at cruzio.com (Mark Swindell) Date: Fri, 6 Nov 2009 16:39:19 -0800 Subject: [ANN] tRev Feature Friday: Snaps! In-Reply-To: <7E4CFD0A-81E0-407E-ABF2-B2D567DEF342@me.com> References: <26381188.01257527969160.JavaMail.HAPPY-LAPPY$@happy-lappy> <7E4CFD0A-81E0-407E-ABF2-B2D567DEF342@me.com> Message-ID: Jerry, What's the proper place to ask questions / offer suggestions about TRev? Is this the spot, or do you want private email? Is there a discussion forum on the TRev blog that I'm missing? Thanks, Mark On Nov 6, 2009, at 10:18 AM, Jerry Daniels wrote: > That's the whole idea...we are aiming for 1,000 happy-as-clams users! > > We're over 20% of the way there. MJ and I appreciate the support. > > Keep it coming...we'll do the same. > > Best, > > Jerry Daniels > > The latest tRev Video: > http://reveditor.com/feature-friday-snaps-0 > > On Nov 6, 2009, at 11:19 AM, David Coker wrote: > >>> It's called Snaps and it makes your brain feel good. >> >>> Awesome work Jerry! >> >>> Lovin' the snaps. >> >> Ditto! >> >> I've been using tRev for less than a week now and enjoy it very >> much... >> ...now it's even better! >> >> 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 > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Nov 6 19:39:40 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 Nov 2009 16:39:40 -0800 Subject: lineoffset In-Reply-To: <9E272CE8-F8DD-455B-84A5-50B5B145D752@shaw.ca> References: <9E272CE8-F8DD-455B-84A5-50B5B145D752@shaw.ca> Message-ID: > > Maybe what I should do is simply use a repeat loop and look at each > item 1 of each line. If it matches the clicktext then I have the > line number and can load item 2 of that line into the display field. Use this field script and it should work, plus a bit of error checking on mouseup set the itemdel to "|" get (cr & field "storage") put lineOffset( cr & the clicktext & "|", IT ) into theLineNum if theLineNum > 0 then put item 2 to -1 of line theLineNum of IT into fld "display" --note item 2 to -1 means item 2 to the last item in the line -- the reason is in case the text of the line uses a "|" char -- if that is true, then you would not display the entire line else put "Not found" into fld "display" end if end mouseup Jim Ault Las Vegas On Nov 6, 2009, at 3:55 PM, Rick Rice wrote: > Jim: > You nailed it. > Item 1 of field "storage" is in fact Myeloblast. > If I click "Myeloblast" I get 1 if I click any other name the > lineoffset returns 0 > > Craig: > I tried the fullfind routine and this returned "revFullFind" > > > Maybe what I should do is simply use a repeat loop and look at each > item 1 of each line. If it matches the clicktext then I have the > line number and can load item 2 of that line into the display field. > > Rick > > On Nov 6, 2009, at 3:38 PM, DunbarX at aol.com wrote: > >> Jim. >> >> I just reread your post. I think you are saying the same thing, >> that there >> ain't much text in the first item of the search list. >> >> Craig >> >> In a message dated 11/6/09 6:24:48 PM, jimaultwins at yahoo.com writes: >> >> >>> Like I said before, you need to answer the question: >>> >>> What is ( item 1 of field "storage" ) ? >>> Use the variable watcher and breakpoint. >>> This will show you why you would get 0 (not located) >>> unless you clicked 'Myeloblast', and then you would get 1. From rick-rice at shaw.ca Fri Nov 6 19:48:45 2009 From: rick-rice at shaw.ca (Rick Rice) Date: Fri, 6 Nov 2009 16:48:45 -0800 Subject: lineoffset In-Reply-To: References: <9E272CE8-F8DD-455B-84A5-50B5B145D752@shaw.ca> Message-ID: <6CD47C1F-D382-4C46-A24C-2E3F7E270F60@shaw.ca> Jim: It works eh! Had to make one slight change. Had to add 1 to theLineNum Thanks a bunch. Rick On Nov 6, 2009, at 4:39 PM, Jim Ault wrote: > on mouseup > set the itemdel to "|" > get (cr & field "storage") > put lineOffset( cr & the clicktext & "|", IT ) into theLineNum > if theLineNum > 0 then > put item 2 to -1 of line theLineNum of IT into fld "display" > > --note item 2 to -1 means item 2 to the last item in the line > -- the reason is in case the text of the line uses a "|" char > -- if that is true, then you would not display the entire line > else > put "Not found" into fld "display" > end if > end mouseup From stephenREVOLUTION2 at barncard.com Fri Nov 6 19:58:48 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 6 Nov 2009 16:58:48 -0800 Subject: Limit Photo Size on Upload In-Reply-To: <4AF4BAB5.7050104@hindu.org> References: <4AF3B042.4090404@hindu.org> <823DB19B-9F10-4298-8652-A31CC78FFDBD@yahoo.com> <4AF47D21.3080900@hindu.org> <4AF4BAB5.7050104@hindu.org> Message-ID: True, if the page is .irev then it's irev, javascript and html if the page is .php then it's php, javascript and html only ------------------------- Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/11/6 Sivakatirswami > I don't think we can include > > > #whatever code > > ?> > > on a *.irev page.... > > at least not yet. > > But bottom line is: you are measuring input data *after* the user hits > "submit" > > I may as well just measure the $_POST_RAW value before processing it. > > If some deranged person tries to upload a 100MB file, he will just be > waiting forever. I don't think our server will care a whit about it. Once > it's uploaded, the irev page will simply drop I could be sure by doing a > "put empty" into the $_POST_RAW... I suppose there could be a RAM issue on > the web server, but a linux machine, I believe will start using Virtual > memory and nothing bad will happen (I hope) > > Perhaps the iRev engine has some hidden "agent" that can return a value for > the amt of data that's been read "so far" before the complete post is > received? If so, we could poll that and terminate, like the PHP thing does. > > skts > > > > > > Jim Ault wrote: > >> You should be able to specify the max file size in the before the >> image is posted. >> >> And this link is a PHP solution that handles several errors and user >> feedback >> -- lots of notes on each line so that you know what is going on >> -- remember the PHP engine is running on the web host >> -- there is a multi-image file upload version at the bottom of this >> page >> >> http://webdeveloper.com/forum/showthread.php?t=101466 >> >> Note the line in the html body >> >> >> >> thus a hidden value is sent to the server to limit the number of >> characters it will accept when the server creates the variable and loads the >> image data. The result of trying to upload a very large image is that only >> part of it will be stored in a 'tmp_name' array variable in web server RAM, >> >> // now let's move the file to its final location and allocate the new >> filename to it >> @move_uploaded_file($_FILES[$fieldname]['tmp_name'], $uploadFilename) >> or error('receiving directory insuffiecient permission', $uploadForm); >> >> and the user notified -- the PHP code directs the user to the page that >> outputs the error messages. >> >> // The following function is an error handler which is used >> // to output an HTML error page if the file upload fails >> function error($error, $location, $seconds = 5) >> >> At the top of the web page source is where the value of the PHP variable >> is set by: >> >> // set a max file size for the html upload form >> $max_file_size = 30000; // size in bytes >> >> When you are ready, you can use the download link to get the >> upload.zip or the multifileupload.zip from the author. >> >> I would prefer a PHP solution to a javascript one, but that is my >> preference >> >> Jim Ault >> Las Vegas >> >> On Nov 6, 2009, at 11:46 AM, Sivakatirswami wrote: >> >> Jim Ault wrote: >>> >>> One solution is use form validation in the browser before sending. >>>> Here is a link to the Apple developer site showing a javascript example. >>>> http://developer.apple.com/internet/webcontent/validation.html >>>> Also, try Googling "html form validation" for hundreds of sites with >>>> info. >>>> If a Rev plugin is present, you could use Rev to check the size >>>> >>> >>> Though I try to stay away from JS as much as i can, looks very useful. >>> Only thing is: I don't see a function there to check file size, and further >>> research indicates that JS security constraints bar JS from reading the file >>> size and one can only do this with an ActiveX thing in I.E. >>> >>> So, it's back to a server side input data check...or >>> >>> I'll be patient and wait until next week and implement as a revlet and >>> then it will be easy. This will also constrain input from only those who >>> trust us, which is an excellent "screening" that the revlet security >>> provides. >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 harrison at all-auctions.com Fri Nov 6 20:05:59 2009 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 6 Nov 2009 20:05:59 -0500 Subject: Stack name Standalone bug? In-Reply-To: References: <9E272CE8-F8DD-455B-84A5-50B5B145D752@shaw.ca> Message-ID: In a desktop application the following works fine: put the filename of this stack into VarShowStackName answer "VarShowStackName = " & VarShowStackName It returns nothing in a Standalone on On-Rev. Am I missing some library, or is this a bug? Can anyone please confirm? Thanks, Rick From jimaultwins at yahoo.com Fri Nov 6 20:11:49 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 Nov 2009 17:11:49 -0800 Subject: lineoffset In-Reply-To: <6CD47C1F-D382-4C46-A24C-2E3F7E270F60@shaw.ca> References: <9E272CE8-F8DD-455B-84A5-50B5B145D752@shaw.ca> <6CD47C1F-D382-4C46-A24C-2E3F7E270F60@shaw.ca> Message-ID: <89FC4A46-21E2-4794-8BBF-9E6E0D8E5898@yahoo.com> Very curious why you would have to add 1 to the line number.. My script works here without it. Jim Ault Las Vegas On Nov 6, 2009, at 4:48 PM, Rick Rice wrote: > Jim: > It works eh! > Had to make one slight change. > Had to add 1 to theLineNum > Thanks a bunch. > Rick > > On Nov 6, 2009, at 4:39 PM, Jim Ault wrote: > >> on mouseup >> set the itemdel to "|" >> get (cr & field "storage") >> put lineOffset( cr & the clicktext & "|", IT ) into theLineNum >> if theLineNum > 0 then >> put item 2 to -1 of line theLineNum of IT into fld "display" >> >> --note item 2 to -1 means item 2 to the last item in the line >> -- the reason is in case the text of the line uses a "|" char >> -- if that is true, then you would not display the entire line >> else >> put "Not found" into fld "display" >> end if >> 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 Jim Ault jimaultwins at yahoo.com From jerry.daniels at me.com Fri Nov 6 20:15:14 2009 From: jerry.daniels at me.com (Jerry Daniels) Date: Fri, 6 Nov 2009 19:15:14 -0600 Subject: [ANN] tRev Feature Friday: Snaps! In-Reply-To: References: <26381188.01257527969160.JavaMail.HAPPY-LAPPY$@happy-lappy> <7E4CFD0A-81E0-407E-ABF2-B2D567DEF342@me.com> Message-ID: Mark, There is a link for reporting bugs on the right of site when you go there: http://reveditor.com You can post comments to the posts, on that site as well. And there's my tRev email: mailto:jerry at reveditor.com Best, Jerry Daniels The latest tRev Video: http://reveditor.com/feature-friday-snaps-0 On Nov 6, 2009, at 6:39 PM, Mark Swindell wrote: > Jerry, > > What's the proper place to ask questions / offer suggestions about > TRev? Is this the spot, or do you want private email? Is there a > discussion forum on the TRev blog that I'm missing? > > Thanks, > Mark > > On Nov 6, 2009, at 10:18 AM, Jerry Daniels wrote: > >> That's the whole idea...we are aiming for 1,000 happy-as-clams users! >> >> We're over 20% of the way there. MJ and I appreciate the support. >> >> Keep it coming...we'll do the same. >> >> Best, >> >> Jerry Daniels >> >> The latest tRev Video: >> http://reveditor.com/feature-friday-snaps-0 >> >> On Nov 6, 2009, at 11:19 AM, David Coker wrote: >> >>>> It's called Snaps and it makes your brain feel good. >>> >>>> Awesome work Jerry! >>> >>>> Lovin' the snaps. >>> >>> Ditto! >>> >>> I've been using tRev for less than a week now and enjoy it very >>> much... >>> ...now it's even better! >>> >>> 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 >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 cszasz at mac.com Fri Nov 6 21:08:54 2009 From: cszasz at mac.com (charles61) Date: Fri, 6 Nov 2009 18:08:54 -0800 (PST) Subject: Checking status of checkboxes In-Reply-To: References: <1257101949432-360614.post@n4.nabble.com> <1257104716284-360620.post@n4.nabble.com> Message-ID: <1257559734059-584346.post@n4.nabble.com> Hi Mark, I did check hilitedButton documentation in the dictionary. Thanks for bring me to my attention. I do have another but similar question related to option boxes. How can you check if the user has made a selection in an option box? Mark Schonewille-3 wrote: > > Hi Charles, > > The number (0 in this case) doesn't mean that one particular button is > unhilited. The 0 means that no buttons in that group are hilited. > Please, read up on hilitedButton in the documentation. The docs > contain essential information. > > -- > 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 > > On 1 nov 2009, at 20:45, charles61 wrote: > >> >> Mark, >> >> Thanks so much! I tried your suggestions and they works beautifully! I >> have always use true instead of 0 in scripting checkboxes. So, I also >> learn more about scripting groups and checkboxes! >> >> I have thought of using groups but did not have an idea of how to do >> it. >> >> >> Charles Szasz >> cszasz at mac.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 > > -- View this message in context: http://n4.nabble.com/Checking-status-of-checkboxes-tp360614p584346.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Fri Nov 6 21:18:24 2009 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 7 Nov 2009 03:18:24 +0100 Subject: Checking status of checkboxes In-Reply-To: <1257559734059-584346.post@n4.nabble.com> References: <1257101949432-360614.post@n4.nabble.com> <1257104716284-360620.post@n4.nabble.com> <1257559734059-584346.post@n4.nabble.com> Message-ID: <842EBF00-D073-4031-A37A-0BFE520AC57C@economy-x-talk.com> Hi Charles, That would be: put the menuHistory of btn "Your Menu Option Button" into myChoice Note that this returns the currently selected value, even if the user hasn't made a choice yet. You could also use the label property of the menu option button, with the same result. -- 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 nov 2009, om 03:08 heeft charles61 het volgende geschreven: > > Hi Mark, > > I did check hilitedButton documentation in the dictionary. Thanks > for bring > me to my attention. > > I do have another but similar question related to option boxes. How > can you > check if the user has made a selection in an option box? > > > Mark Schonewille-3 wrote: >> >> Hi Charles, >> >> The number (0 in this case) doesn't mean that one particular button >> is >> unhilited. The 0 means that no buttons in that group are hilited. >> Please, read up on hilitedButton in the documentation. The docs >> contain essential information. >> >> -- >> 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 >> >> On 1 nov 2009, at 20:45, charles61 wrote: >> >>> >>> Mark, >>> >>> Thanks so much! I tried your suggestions and they works >>> beautifully! I >>> have always use true instead of 0 in scripting checkboxes. So, I >>> also >>> learn more about scripting groups and checkboxes! >>> >>> I have thought of using groups but did not have an idea of how to do >>> it. >>> >>> >>> Charles Szasz >>> cszasz at mac.com From cszasz at mac.com Fri Nov 6 21:28:44 2009 From: cszasz at mac.com (charles61) Date: Fri, 6 Nov 2009 18:28:44 -0800 (PST) Subject: Checking status of checkboxes In-Reply-To: <842EBF00-D073-4031-A37A-0BFE520AC57C@economy-x-talk.com> References: <1257101949432-360614.post@n4.nabble.com> <1257104716284-360620.post@n4.nabble.com> <1257559734059-584346.post@n4.nabble.com> <842EBF00-D073-4031-A37A-0BFE520AC57C@economy-x-talk.com> Message-ID: <1257560924629-584351.post@n4.nabble.com> Mark, Thanks! I will try the label property. Charles Szasz cszasz at mac.com On Nov 6, 2009, at 9:20 PM, Mark Schonewille-3 [via Runtime Revolution] wrote: > Hi Charles, > > That would be: > put the menuHistory of btn "Your Menu Option Button" into myChoice > > Note that this returns the currently selected value, even if the user > hasn't made a choice yet. > > You could also use the label property of the menu option button, with > the same result. > > -- > 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 nov 2009, om 03:08 heeft charles61 het volgende geschreven: > > > > > Hi Mark, > > > > I did check hilitedButton documentation in the dictionary. Thanks > > for bring > > me to my attention. > > > > I do have another but similar question related to option boxes. How > > can you > > check if the user has made a selection in an option box? > > > > > > Mark Schonewille-3 wrote: > >> > >> Hi Charles, > >> > >> The number (0 in this case) doesn't mean that one particular button > >> is > >> unhilited. The 0 means that no buttons in that group are hilited. > >> Please, read up on hilitedButton in the documentation. The docs > >> contain essential information. > >> > >> -- > >> 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 > >> > >> On 1 nov 2009, at 20:45, charles61 wrote: > >> > >>> > >>> Mark, > >>> > >>> Thanks so much! I tried your suggestions and they works > >>> beautifully! I > >>> have always use true instead of 0 in scripting checkboxes. So, I > >>> also > >>> learn more about scripting groups and checkboxes! > >>> > >>> I have thought of using groups but did not have an idea of how > to do > >>> it. > >>> > >>> > >>> Charles Szasz > >>> [hidden email] > > _______________________________________________ > 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/Checking-status-of-checkboxes-tp360614p584349.html > To unsubscribe from Re: Checking status of checkboxes, click here. > -- View this message in context: http://n4.nabble.com/Checking-status-of-checkboxes-tp360614p584351.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Fri Nov 6 22:13:09 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Nov 2009 21:13:09 -0600 Subject: lineoffset In-Reply-To: <89FC4A46-21E2-4794-8BBF-9E6E0D8E5898@yahoo.com> References: <9E272CE8-F8DD-455B-84A5-50B5B145D752@shaw.ca> <6CD47C1F-D382-4C46-A24C-2E3F7E270F60@shaw.ca> <89FC4A46-21E2-4794-8BBF-9E6E0D8E5898@yahoo.com> Message-ID: <4AF4E5C5.5000603@hyperactivesw.com> Jim Ault wrote: > Very curious why you would have to add 1 to the line number.. > My script works here without it. >>> put lineOffset( cr & the clicktext & "|", IT ) into theLineNum Because the lineoffset is finding the preceding line with the cr, not the following line with the requested data. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From DunbarX at aol.com Fri Nov 6 22:16:33 2009 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 6 Nov 2009 22:16:33 EST Subject: lineoffset Message-ID: Rick. Sometimes certain chars seem to go missing (no parentheses). Not sure why. This is a function call, and should have read: on mouseUp ?? get the clicktext ?? put revFullFind(fld "storage",it,"lineNum","true") end mouseUp function revFullFind tText,tFind,form,exactly ?? switch ????? case exactly = "true" and form = "lineNum" ???????? repeat for each line tline in tText ??????????? add 1 to counter ??????????? if tFind = tline then ?????????????? put counter & return after temp22 ??????????? end if ???????? end repeat ???????? break ????? case exactly = "true" and form = "txt" ???????? repeat for each line tline in tText ??????????? add 1 to counter ??????????? if tFind = tline then ?????????????? put theLine & return after temp22 ??????????? end if ???????? end repeat ???????? break ????? case exactly = "false" and form = "lineNum" ???????? repeat for each line tline in tText ??????????? add 1 to counter ??????????? if tFind is in tline then ?????????????? put counter & return after temp22 ??????????? end if ???????? end repeat ???????? break ????? case? exactly = "false" and form = "txt" ???????? repeat for each line tline in tText ??????????? add 1 to counter ??????????? if tFind is in tline then ?????????????? put theLine & return after temp22 ??????????? end if ???????? end repeat ???????? break ?? end switch ?? return temp22 end revFullFind Craig Newman In a message dated 11/6/09 6:56:29 PM, rick-rice at shaw.ca writes: > > Craig: > I tried the fullfind routine and this returned "revFullFind" > From jimaultwins at yahoo.com Fri Nov 6 22:34:04 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 Nov 2009 19:34:04 -0800 Subject: lineoffset In-Reply-To: <4AF4E5C5.5000603@hyperactivesw.com> References: <9E272CE8-F8DD-455B-84A5-50B5B145D752@shaw.ca> <6CD47C1F-D382-4C46-A24C-2E3F7E270F60@shaw.ca> <89FC4A46-21E2-4794-8BBF-9E6E0D8E5898@yahoo.com> <4AF4E5C5.5000603@hyperactivesw.com> Message-ID: <9111C570-A949-4F93-A533-928CB511551D@yahoo.com> Correct. This has been such a long thread I did not look at the script in exactly Rick's set up. Doing the (-1) adjustment is necessary. Jim Ault Las Vegas On Nov 6, 2009, at 7:13 PM, J. Landman Gay wrote: > Jim Ault wrote: >> Very curious why you would have to add 1 to the line number.. >> My script works here without it. > > >>>> put lineOffset( cr & the clicktext & "|", IT ) into theLineNum > > Because the lineoffset is finding the preceding line with the cr, > not the following line with the requested data. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Nov 6 22:42:38 2009 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Nov 2009 21:42:38 -0600 Subject: Stack name Standalone bug? In-Reply-To: References: <9E272CE8-F8DD-455B-84A5-50B5B145D752@shaw.ca> Message-ID: <4AF4ECAE.6050005@hyperactivesw.com> Rick Harrison wrote: > > In a desktop application the following works fine: > > put the filename of this stack into VarShowStackName > answer "VarShowStackName = " & VarShowStackName > > It returns nothing in a Standalone on On-Rev. > > Am I missing some library, or is this a bug? > > Can anyone please confirm? Yes, you're right, I'm sorry I misled you. Revlets have no filename, though I could have sworn they did. That said, I can't think of a good generic way to get it. Since you presumably know the path on the server, you could issue a "get url" with the http address to your files. But that wouldn't scale very well. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rick-rice at shaw.ca Fri Nov 6 23:34:34 2009 From: rick-rice at shaw.ca (FREDRICK RICE) Date: Fri, 06 Nov 2009 20:34:34 -0800 Subject: lineoffset In-Reply-To: <9111C570-A949-4F93-A533-928CB511551D@yahoo.com> References: <9E272CE8-F8DD-455B-84A5-50B5B145D752@shaw.ca> <6CD47C1F-D382-4C46-A24C-2E3F7E270F60@shaw.ca> <89FC4A46-21E2-4794-8BBF-9E6E0D8E5898@yahoo.com> <4AF4E5C5.5000603@hyperactivesw.com> <9111C570-A949-4F93-A533-928CB511551D@yahoo.com> Message-ID: This has been a long thread indeed but, quite the learning experience. A great list, thanks to all. Rick ----- Original Message ----- From: Jim Ault Date: Friday, November 6, 2009 7:34 pm Subject: Re: lineoffset To: How to use Revolution > Correct. > This has been such a long thread I did not look at the script > in? > exactly Rick's set up. > > Doing the (-1) adjustment is necessary. > > Jim Ault > Las Vegas > > On Nov 6, 2009, at 7:13 PM, J. Landman Gay wrote: > > > Jim Ault wrote: > >> Very curious why you would have to add 1 to the line number.. > >> My script works here without it. > > > > > >>>>? put? lineOffset( cr & the clicktext & "|", IT ) > into theLineNum > > > > Because the lineoffset is finding the preceding line with the > cr,? > > not the following line with the requested data. > > > > -- > > 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 wow at together.net Sat Nov 7 05:37:51 2009 From: wow at together.net (Richard Miller) Date: Sat, 07 Nov 2009 05:37:51 -0500 Subject: New build of the plugin In-Reply-To: References: Message-ID: <4AF54DFF.7030709@together.net> I've reported these three bugs. Perhaps others can verify. I've only tested under XP and Firefox. ------------------------------------------------ This sequence will crash RevWeb: set the defaultfolder to specialfolderpath("desktop") put the detailed files ------------------------------------------------- This does not appear to work during runtime: click at 0,0 ------------------------------------------------ mousedoubledown requires 3 mouse clicks... not 2.... during runtime ----------------------------------------------- From wow at together.net Sat Nov 7 06:12:26 2009 From: wow at together.net (Richard Miller) Date: Sat, 07 Nov 2009 06:12:26 -0500 Subject: Where to store data under Windows In-Reply-To: <4AF4ECAE.6050005@hyperactivesw.com> References: <9E272CE8-F8DD-455B-84A5-50B5B145D752@shaw.ca> <4AF4ECAE.6050005@hyperactivesw.com> Message-ID: <4AF5561A.9080805@together.net> I know this topic has been talked about before.... where to store Rev stacks that will be frequently (and automatically) updated when running under Windosw. As a result, I've followed the general guidance of storing these stacks in the Documents folder. This seems to avoid any problems with the Windows "virtual folders" issue. I haven't actually tested this under Windows 7, but I assume it is still a valid and safe place. However, I'm running into a new issue. My program stores video files in this same location, as these videos are tightly integrated into the program. I wouldn't mind storing the videos elsewhere if there is a better location, provided Windows will not interfere with any deleting or modifying of the video data. The issue I have is that my users could easily be storing several GB's of video data... perhaps too much for their default C drive (where the Documents folder is). Right now, my program uses the specialfolderpath("documents") command to initially determine where to store the Rev stacks and videos. I wouldn't want to offer the user the option to choose a different location for the Rev stacks, as they could easily choose a location that is effected by the virtualization issue. My current thinking: 1. Keep storing the Rev stacks in Documents folder on the C drive, so these files don't take up much room. 2. Give the user the option to select where to put the video files... ASSUMING that no matter where they choose, Windows won't interfere with adding, deleting and modifying these files. I'm not sure that this assumption is correct. If it is not, where should I restrict them to placing these videos? Is it a good assumption that if they choose any location NOT on their C drive, Windows won't interfere? Thanks. Richard Miller From sims at ezpzapps.com Sat Nov 7 07:39:35 2009 From: sims at ezpzapps.com (Jim Sims) Date: Sat, 7 Nov 2009 13:39:35 +0100 Subject: Where to store data under Windows In-Reply-To: <4AF5561A.9080805@together.net> References: <9E272CE8-F8DD-455B-84A5-50B5B145D752@shaw.ca> <4AF4ECAE.6050005@hyperactivesw.com> <4AF5561A.9080805@together.net> Message-ID: <3D4C4FD6-F701-488D-B491-0DEEA0608FDC@ezpzapps.com> On Nov 7, 2009, at 12:12 PM, Richard Miller wrote: > I know this topic has been talked about before.... where to store > Rev stacks that will be frequently (and automatically) updated when > running under Windosw. As a result, I've followed the general > guidance of storing these stacks in the Documents folder. This seems > to avoid any problems with the Windows "virtual folders" issue. I > haven't actually tested this under Windows 7, but I assume it is > still a valid and safe place. > > However, I'm running into a new issue. My program stores video files > in this same location, as these videos are tightly integrated into > the program. I wouldn't mind storing the videos In the Dictionary, searching with specialfolderpath I find the following: For Windows systems, you can also specify a CSIDL number that identifies a special folder. Some Commonly used CSIDL values are: 0x001a: The user application data folder (e.g. "C:/Documents and settings/Fred/Application Data") 0x0023: The "all users" application data folder (e.g. "C:/ Documents and settings/all users/Application Data") 0x000d: The "My Music" folder 0x000e: The "My Videos" folder 0x0027: The "My Pictures" folder Is there any reason why 0x000e: The "My Videos" folder is a not considered? Seems like an appropriate choice. sims From wow at together.net Sat Nov 7 08:13:47 2009 From: wow at together.net (Richard Miller) Date: Sat, 07 Nov 2009 08:13:47 -0500 Subject: Where to store data under Windows In-Reply-To: <3D4C4FD6-F701-488D-B491-0DEEA0608FDC@ezpzapps.com> References: <9E272CE8-F8DD-455B-84A5-50B5B145D752@shaw.ca> <4AF4ECAE.6050005@hyperactivesw.com> <4AF5561A.9080805@together.net> <3D4C4FD6-F701-488D-B491-0DEEA0608FDC@ezpzapps.com> Message-ID: <4AF5728B.5060905@together.net> Hi Jim, The reason for not necessarily selecting the "My Videos" folder is that the user may not wish (or be able to) store several GB's of video data under that folder... which presumably is always on their C drive. They may want it on an external drive. I know for many somewhat older computers, disk space on the C drive is limited. Richard Jim Sims wrote: > > On Nov 7, 2009, at 12:12 PM, Richard Miller wrote: > >> I know this topic has been talked about before.... where to store Rev >> stacks that will be frequently (and automatically) updated when >> running under Windosw. As a result, I've followed the general >> guidance of storing these stacks in the Documents folder. This seems >> to avoid any problems with the Windows "virtual folders" issue. I >> haven't actually tested this under Windows 7, but I assume it is >> still a valid and safe place. >> >> However, I'm running into a new issue. My program stores video files >> in this same location, as these videos are tightly integrated into >> the program. I wouldn't mind storing the videos > > > In the Dictionary, searching with specialfolderpath I find the following: > > For Windows systems, you can also specify a CSIDL number that > identifies a special folder. Some Commonly used CSIDL values are: > 0x001a: The user application data folder (e.g. "C:/Documents > and settings/Fred/Application Data") > 0x0023: The "all users" application data folder (e.g. > "C:/Documents and settings/all users/Application Data") > 0x000d: The "My Music" folder > 0x000e: The "My Videos" folder > 0x0027: The "My Pictures" folder > > Is there any reason why 0x000e: The "My Videos" folder is a not > considered? Seems like an appropriate choice. > > 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 shaosean at wehostmacs.com Sat Nov 7 09:49:30 2009 From: shaosean at wehostmacs.com (Shao Sean) Date: Sat, 7 Nov 2009 09:49:30 -0500 Subject: Where to store data under Windows Message-ID: <4E24DC76-152B-4C63-BE0D-DE465B6194DA@wehostmacs.com> Have it default somewhere (like the "My Documents" folder) and give the user an option (preference) to move it to where they see fit.. Check if the user picks one of the no-no folders and inform them about the issues if they are not admin.. From r.venzl-schubert at macbay.de Sat Nov 7 11:33:42 2009 From: r.venzl-schubert at macbay.de (Reinhold Venzl-Schubert) Date: Sat, 7 Nov 2009 17:33:42 +0100 Subject: How to put unicode text into a field? In-Reply-To: <20091106131600.8DBB6288827@mail.runrev.com> References: <20091106131600.8DBB6288827@mail.runrev.com> Message-ID: <466464DC-588C-456F-B0A3-B723A86C3954@macbay.de> Hi Devin! thanks for your help. I tried it with unicode, also utf8, but I failed. I guess the problem is, that polish is not a complete other font. There are only some charakters that are different and not part of ANSI. Therefore a word contains unicode-charakters and ANSI-charakters. But I was successful in using HTML. I could not use it in a tablefield (no TAB possible), but with some sleight of hand I build my table-field with several simple fields. :-) Reinhold > Hello Reinhold, > > Since my stack didn't help you much with this problem I'll suggest > another approach. :-) > > One of the difficulties in using unicode in Rev comes when mixing > ASCII and Unicode text. I can think of a couple of approaches you > could try (not tested): > > 1. Use UTF-8 as a transitional encoding. So, using your example: > > repeat with i = 1 to the number of marked cds > put unidecode(fld "German","utf8") into tGmn > put unidecode(fld "Polish","utf8") into tPol > if fld "vocTable" of stack "vocListening" is empty then > put tGmn & tab & tPol into tCombined > else > put unidecode(fld "voctable","utf8") & tab & tCombined into > tCombined > end if > set the unicodeText of fld "vocTable" to uniencode(tCombined,"utf8") > end repeat > > 2. Use htmlText (not sure how or if this would work with table > fields): > repeat with i = 1 to the number of marked cds > put the htmlText of fld "German" into tGmn > put the htmlText of fld "Polish" into tPol > if fld "vocTable" of stack "vocListening" is empty then > put tGmn & tab & tPol into tCombined > else > put the htmlText of fld "voctable" & tab & tCombined into > tCombined > end if > set the htmlText of fld "vocTable" to tCombined > end repeat > > Hope this helps. > > Regards, > > Devin >> Hi! >> >> Learning polish I want to use unicode text in my stack. >> >> I have a lot of cds with polish vocabularies and now I want to list >> them in a table with this code: >> >> repeat with i = 1 to num of marked cds >> if fld "VocTable" of stack "VocListing" is empty then >> put fld "German" & TAB into fld "VocTable" of stack "VocListing" >> else >> put fld "German" & TAB after fld "VocTable" of stack "VocListing" >> end if >> put fld "Polish" & CR after fld "VocTable" of stack "VocListing" >> end repeat >> >> Although in my fields the polish text is well readable in the table >> the special polish letters are transformed to unreadable special >> charakters. >> >> I studied the stack "Unicode in Revolution: Taming the Beast" by >> Devin >> Asay >> but I only found the code: >> >>> set the unicodeText of fld "VocTable" to the unicodeText of of fld >> "Polish" < >> >> ... but the content of my table-field is compound of the contents of >> two or two hundred fields. >> >> Do anybody knows a solution? >> From eric.miclo at wanadoo.fr Sat Nov 7 12:03:17 2009 From: eric.miclo at wanadoo.fr (=?iso-8859-1?Q?=C9ric_Miclo?=) Date: Sat, 7 Nov 2009 18:03:17 +0100 Subject: New build of the plugin In-Reply-To: References: Message-ID: <99BC73CF-F70A-45F2-947B-A8D160B91CEF@wanadoo.fr> Hello, The installer bounces a very long time in the Dock and then its stalls and makes the fans of my MacBook Pro go crazy. I have to force quit the installer. Even if the plugins are first removed from the Internet plugins folder, nothing is installed. Best, ?rIC Le 6 nov. 2009 ? 22:25, Kevin Miller a ?crit : > > Hi all, > > We?ve uploaded new plugin builds to revweb.runrev.com. > > The following issues have been fixed: > > IE not returning a result from do ... in browser > Plugin not working on Windows x64 > Plugin not working in Firefox on MacOS 10.3.9 > 8410 - mouseLoc issue when scrolling > 8408 - crash on stack with metal texture > 8407 - mouseclick doesn't work > 8403 - mouseDoubleUp not working > 8392 - backdrop in revlet doesn't work > 8387 - clicking links to substacks causes crash > 8386 - tooltips don't appear in webplugin > 8383 - popup menus in the wrong place > 8380 - popup/pull down menus don't work properly > 8379 - revlets won't load from p/word protected folders in Safari > > 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 > -- My NeXT computer will Be a Mac too! -- From capellan2000 at gmail.com Sat Nov 7 14:26:04 2009 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 7 Nov 2009 15:26:04 -0400 Subject: New build of the plugin Message-ID: <3bbe202f0911071126m38eebbeap3316d162d9b715ed@mail.gmail.com> Many thanks for this new build! Effectively, this solves the mousedoubleup problem that i reported. Keep up your great good work on this landmarking release! Alejandro From katir at hindu.org Sat Nov 7 15:59:53 2009 From: katir at hindu.org (Sivakatirswami) Date: Sat, 07 Nov 2009 10:59:53 -1000 Subject: iRev on line Page Editor Message-ID: <4AF5DFC9.5020702@hindu.org> I'm wondering if anyone has already build a page editor, kind of like a wiki thing... where you are on an iRev page, you click a button and (in my case) you get the html content for
# all the content of the page minus fixed headers and footers etc. # the area to be edited
put that into a form field for editing, then send it back and update the page. I suspect someone has done this already and if so can you share your page code? From wow at together.net Sat Nov 7 16:22:52 2009 From: wow at together.net (Richard Miller) Date: Sat, 07 Nov 2009 16:22:52 -0500 Subject: Where to store data under Windows In-Reply-To: <4E24DC76-152B-4C63-BE0D-DE465B6194DA@wehostmacs.com> References: <4E24DC76-152B-4C63-BE0D-DE465B6194DA@wehostmacs.com> Message-ID: <4AF5E52C.2070402@together.net> Hi Shao, Yes... this is what I was planning. But exactly which are the "no-no" folders under Vista and Windows 7? Are there any such folders on any drive other than C? Thanks. Richard Shao Sean wrote: > Have it default somewhere (like the "My Documents" folder) and give > the user an option (preference) to move it to where they see fit.. > Check if the user picks one of the no-no folders and inform them about > the issues if they are not admin.. > _______________________________________________ > use-revolution mailing list > use-revolution 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 cszasz at mac.com Sat Nov 7 16:31:30 2009 From: cszasz at mac.com (charles61) Date: Sat, 7 Nov 2009 13:31:30 -0800 (PST) Subject: DataGrid Question In-Reply-To: References: Message-ID: <1257629490235-584542.post@n4.nabble.com> Chris, Thanks for your suggestion! I could not download the zipped file you uploaded to Nabble in your last e-mail. Could you e-mail it to me? ChrisWood wrote: > > Trevor, > > That is excellent, its cut the code I was using inhalf (and I learnt about > the dispatch command)! > > > > put "" into theNewRecord["First"] > put "" into theNewRecord["Last"] > put "" into theNewRecord["DOB"] > put "" into theNewRecord["Age"] > > put 1 into theLineNo > dispatch "AddData" to Group "dataGrid 1" with theNewRecord, theLineNo > > --Select the first cell to start editing > dispatch "EditCell" to Group "dataGrid 1" with "First", theLineNo > > <\code> > > Regards > > Chris > > -- View this message in context: http://n4.nabble.com/DataGrid-Question-tp347601p584542.html Sent from the Revolution - User mailing list archive at Nabble.com. From jimaultwins at yahoo.com Sat Nov 7 17:03:17 2009 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 7 Nov 2009 14:03:17 -0800 Subject: iRev on line Page Editor In-Reply-To: <4AF5DFC9.5020702@hindu.org> References: <4AF5DFC9.5020702@hindu.org> Message-ID: One of the tools that is really valuable to those doing web programming is: The free FireBug plugin for FIrefox. ( http://getfirebug.com/ ) Also a lite version for IE, Opera, and Safari This lets you drill down through all the parts of the web page being shown, and then make changes, or copy-paste, or... In the Firebug panel that pops up on the bottom half of the page, Go to 'html' tab, then right-click on "", choose 'Copy Html', then paste where you like The right click menu choices are Copy Html Copy Inner Html Copy XPath Log Events Scroll into View New Attribute... Inspect in DOM tab ---------------------- Tons of features and info This is a very well-supported plugin (add on) and used by most anyone serious about web design/management. Jim Ault Las Vegas On Nov 7, 2009, at 12:59 PM, Sivakatirswami wrote: > I'm wondering if anyone has already build a page editor, kind of > like a wiki thing... where you are on an iRev page, you click a > button and (in my case) you get the html content for > >
> > # all the content of the page minus fixed headers and footers etc. > # the area to be edited > >
> > put that into a form field for editing, then send it back and update > the page. > > I suspect someone has done this already and if so can you share your > page 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 Jim Ault jimaultwins at yahoo.com From katir at hindu.org Sat Nov 7 17:42:55 2009 From: katir at hindu.org (Sivakatirswami) Date: Sat, 07 Nov 2009 12:42:55 -1000 Subject: iRev on line Page Editor In-Reply-To: References: <4AF5DFC9.5020702@hindu.org> Message-ID: <4AF5F7EF.4040805@hindu.org> But Firebug does not actually save edits back to the web server...I've used it myself from time to time, but I don't see any place to enter FTP info for uploading edited content. FB is amazingly useful if you are trained.... but I'm looking for an interface for very naive users. Click, edit, save, like a wiki, but for an individual page, though they will face the "raw" html in the div where we let them work. Should be pretty easy to build in iRev and I'll do it myself later this week but I just did not want to re-invent this if someone else had done it already. Andre... you had a simple CMS right? Jim Ault wrote: > One of the tools that is really valuable to those doing web > programming is: > > The free FireBug plugin for FIrefox. > ( http://getfirebug.com/ ) > Also a lite version for IE, Opera, and Safari > > This lets you drill down through all the parts of the web page being > shown, and then make changes, or copy-paste, or... > > In the Firebug panel that pops up on the bottom half of the page, > Go to 'html' tab, then right-click on "", choose 'Copy Html', > then paste where you like > > The right click menu choices are > Copy Html > Copy Inner Html > Copy XPath > Log Events > Scroll into View > New Attribute... > Inspect in DOM tab > ---------------------- > Tons of features and info > > This is a very well-supported plugin (add on) and used by most anyone > serious about web design/management. > > Jim Ault > Las Vegas > > On Nov 7, 2009, at 12:59 PM, Sivakatirswami wrote: > >> I'm wondering if anyone has already build a page editor, kind of like >> a wiki thing... where you are on an iRev page, you click a button >> and (in my case) you get the html content for >> >>
>> >> # all the content of the page minus fixed headers and footers etc. >> # the area to be edited >> >>
>> >> put that into a form field for editing, then send it back and update >> the page. >> >> I suspect someone has done this already and if so can you share your >> page 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 > > Jim Ault > jimaultwins at yahoo.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 elementarysoftware.com Sat Nov 7 17:46:23 2009 From: scott at elementarysoftware.com (Scott Morrow) Date: Sat, 7 Nov 2009 14:46:23 -0800 Subject: Where to store data under Windows In-Reply-To: <4AF5E52C.2070402@together.net> References: <4E24DC76-152B-4C63-BE0D-DE465B6194DA@wehostmacs.com> <4AF5E52C.2070402@together.net> Message-ID: <00C0D52F-B60F-44C5-9BA3-0D50F1958146@elementarysoftware.com> Hello Richard, I often try writing a little text file to the location that they pick (and then delete it if successful.) If I can't create/write the text file then I know that they probably don't have sufficient permission and that I'm not going to be able to write anything else. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ On Nov 7, 2009, at 1:22 PM, Richard Miller wrote: > Hi Shao, > > Yes... this is what I was planning. But exactly which are the "no- > no" folders under Vista and Windows 7? Are there any such folders on > any drive other than C? > > Thanks. > Richard > > > Shao Sean wrote: >> Have it default somewhere (like the "My Documents" folder) and give >> the user an option (preference) to move it to where they see fit.. >> Check if the user picks one of the no-no folders and inform them >> about the issues if they are not admin.. >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 Sat Nov 7 17:57:55 2009 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 7 Nov 2009 14:57:55 -0800 Subject: iRev on line Page Editor In-Reply-To: <4AF5F7EF.4040805@hindu.org> References: <4AF5DFC9.5020702@hindu.org> <4AF5F7EF.4040805@hindu.org> Message-ID: Swami -- check out the incredible CKEditor 3.0 -- I am working with it at this very moment... it uses the CDATA form to substitute a custom rich text window for a