From revdev at pdslabs.net Fri Dec 1 00:09:15 2006 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 30 Nov 2006 21:09:15 -0800 Subject: Message Box appears In-Reply-To: <70027B83-66D9-4E70-8E1E-75D50A46497E@mac.com> References: <70027B83-66D9-4E70-8E1E-75D50A46497E@mac.com> Message-ID: <456FB8FB.1040505@pdslabs.net> Hi Charles - Charles Szasz wrote: > The following script works but each it works the Message Box appears > although there is nothing in the script to tell it to appear. After I > close the Message Box, it reappears again when I run the script. The > Message Box appears even when the Development Tools are suspended. > > I read sections of the Rev PDF Manual about the Message Box but I cannot > find anything to explain why the Message Box appears! > > on mouseUp > put 51 into tage > put tAge,field "subFld",field "rsFld" into theMatch > repeat for each line theMatch2 in the scaledScore["memoryforstories"] > of field "data1" Here's the line that makes the message box appear: > put the scaledScore["memoryforstories"] of field "data1" Any time (in the IDE) when you 'put' something without an 'into', it's going to go into the message box. (In standalone apps you don't see anything; the data is 'put' into the bit bucket.) HTH - Phil Davis > if item 1 to 3 of theMatch = item 1 to 3 of theMatch2 then > put item 4 of theMatch2 into field "ssFld" > put item 5 of theMatch2 into field "perFld" > exit repeat > end if > end repeat > end mouseUp > > Does anyone have an idea why the Message Box appears > > Charles Szasz > cszasz at mac.com From chipp at chipp.com Fri Dec 1 00:39:01 2006 From: chipp at chipp.com (Chipp Walters) Date: Thu, 30 Nov 2006 23:39:01 -0600 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <9b408d8e0611301031n3739544dm36089e18b1f49535@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <7aa52a210611300958r70720fbdjae4f7b7db0af38e3@mail.gmail.com> <9b408d8e0611301031n3739544dm36089e18b1f49535@mail.gmail.com> Message-ID: <7aa52a210611302139w88b1619rad9673c64211c6b3@mail.gmail.com> BTW, Talking with Chris today, he mentioned he checked a Morfik a bit, and wants to look at it further. He compared it to a web-based version of FileMaker or Access. He said it creates standalone .exe's and ALSO uploads files to existing web servers as well. He thought it was pretty interesting and he's not very easily impressed. I imagine he'll take the free version for a spin and I'll hear more about it. -Chipp From JimAultWins at yahoo.com Fri Dec 1 00:54:50 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 30 Nov 2006 21:54:50 -0800 Subject: Message Box appears In-Reply-To: <70027B83-66D9-4E70-8E1E-75D50A46497E@mac.com> Message-ID: On 11/30/06 7:32 PM, "Charles Szasz" wrote: > The following script works but each it works the Message Box appears > although there is nothing in the script to tell it to appear. ...excerpt of script > put the scaledScore["memoryforstories"] of field "data1" --is the same thing as put the scaledScore["memoryforstories"] of field "data1" into msg --which tells Rev to display using the msg box Jim Ault Las Vegas On 11/30/06 7:32 PM, "Charles Szasz" wrote: > The following script works but each it works the Message Box appears > although there is nothing in the script to tell it to appear. After I > close the Message Box, it reappears again when I run the script. The > Message Box appears even when the Development Tools are suspended. > > I read sections of the Rev PDF Manual about the Message Box but I > cannot find anything to explain why the Message Box appears! > > on mouseUp > put 51 into tage > put tAge,field "subFld",field "rsFld" into theMatch > repeat for each line theMatch2 in the scaledScore > ["memoryforstories"] of field "data1" > put the scaledScore["memoryforstories"] of field "data1" > if item 1 to 3 of theMatch = item 1 to 3 of theMatch2 then > put item 4 of theMatch2 into field "ssFld" > put item 5 of theMatch2 into field "perFld" > exit repeat > end if > end repeat > end mouseUp > > Does anyone have an idea why the Message Box appears From r.venzl-schubert at t-online.de Fri Dec 1 02:06:50 2006 From: r.venzl-schubert at t-online.de (Reinhold Venzl-Schubert) Date: Fri, 1 Dec 2006 08:06:50 +0100 Subject: A stack "file selector" is already in memory In-Reply-To: <20061130181924.74E07488DCE@mail.runrev.com> References: <20061130181924.74E07488DCE@mail.runrev.com> Message-ID: <62D27934-CA18-46EE-BE8E-044EBBF47E6D@t-online.de> >> Hi! >> >> I opened a metacard-stack xyz in Revolution and got this feedback: >> >> A stack "file selector" in file /Applications/Revolution >> Studio/2.7.4-gm-1/Toolset/revlibrary.rev is already in memory. The >> Revolution UI does not distinguish stacks which have identical >> names, so >> editing these stack files while both are in memory could result in >> data >> loss. >> >> I deleted the substack file selector of my stack xyz and saved it, >> but >> after restarting I got the same feedback. >> Before I opened the metacard-stack in Rev I tried to remove of >> ressources, but may be I have forgotten to remove the file selector. >> >> What can I do to delete the substack file selector finally? > > Hi Reinhold, > > Try this (no guarantees but it might work): > > set the cantDelete of stack "xyz" to false > set the cantDelete of stack "file selector" of stack "xyz" to > false > delete stack "file selector" of stack "xyz" > save stack "xyz" Hi Phil, it works ! :-) Thanks a lot Reinhold From dick.kriesel at mail.com Fri Dec 1 03:41:30 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 01 Dec 2006 00:41:30 -0800 Subject: Matchtext script results In-Reply-To: <456F641C.9070607@hyperactivesw.com> Message-ID: On 11/30/06 3:07 PM, "J. Landman Gay" wrote: > And that is what surprised me -- that no tinkering with arrays, or > matchtext, or anything else is faster than the most straightforward > Revolution syntax. At least that's true for your sample data. If the word list were very long, for example, some other technique(s) would win the contest. Thanks for publishing your findings. -- Dick From wjm at wjm.org Fri Dec 1 03:41:36 2006 From: wjm at wjm.org (Bill Marriott) Date: Fri, 1 Dec 2006 03:41:36 -0500 Subject: Fun Project: xTalk GUID Generator References: Message-ID: >> get shell("uuidgen") > > This works also with Windows XP (it's not in Win98)- but note that in OS > X, > the letters in the hexadecimals are uppercase, whereas in Windows they're > lowercase. I think you picked up this tool from installing Visual Studio; it's not included in the "stock" Windows XP, at least it does not seem available in my copy. Even if there were such a tool, I'd really like to see how this would be done in xTalk. > What does the word "bona-fide" mean in this context? I know what the > dictionary meaning is. Bona-fide in this context means strictly following the RFC guidelines for generating a GUID. From jc at spl21.net Fri Dec 1 04:16:29 2006 From: jc at spl21.net (John Craig) Date: Fri, 01 Dec 2006 09:16:29 +0000 Subject: Matchtext script results In-Reply-To: <456F641C.9070607@hyperactivesw.com> References: <456F641C.9070607@hyperactivesw.com> Message-ID: <456FF2ED.7060102@spl21.net> Jeez! Did the office lights dim and flicker when you ran the regex version? :-0 > > Mark Smith -- native syntax: 18 ticks. Found 2 matches > Mark Smith -- filter: 18 ticks. Found 2 matches > Mark Smith -- array: 15 ticks. Found 2 matches > Dick Kriesel -- array: 8 ticks. Found 1 match > John Craig -- regex: 242 ticks. Found 2 matches > Dick Kriesel -- array: 8 ticks. Found 2 matches > Brian Yennie -- arrays: 7 ticks; found 2 matches > Jim Ault -- filter: 5 ticks; found 5 matches (strings, not words) > Ken Ray -- regex: 15 ticks (first run),8 ticks (subsequent runs); > found 2 matches > Jacque Gay -- original Rev script: 4 ticks. Found 2 matches > From dave at looktowindward.com Fri Dec 1 06:36:03 2006 From: dave at looktowindward.com (Dave) Date: Fri, 1 Dec 2006 11:36:03 +0000 Subject: Message Box appears In-Reply-To: References: Message-ID: > put the scaledScore["memoryforstories"] of field "data1" into msg Has got me before now! They can be sooooo hard to find when you are writing lots of stuff to the message box for debugging, and then forget to delete just one of them! This is especially true in a library stack, I had a rouge "put xxx" in a library that took me ages to track down, I eventually found it in a in function a few levels away from the main API Call! I think an option that turned off the "put xxx" shortcut would be a good idea! All the Best Dave From mikeythek at gmail.com Fri Dec 1 07:29:08 2006 From: mikeythek at gmail.com (Mikey) Date: Fri, 1 Dec 2006 07:29:08 -0500 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <456F156E.5000304@hyperactivesw.com> References: <456BCB4F.3040203@fourthworld.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <456F156E.5000304@hyperactivesw.com> Message-ID: <9b408d8e0612010429u9108260j44601d26858dd8ab@mail.gmail.com> Jacque, > I'll agree with the first comparison, but have to disagree with the > second. MetaCard and Revolution are identical in every respect except > for the stacks that represent how the user interacts with the engine. Now I'm confused. I thought MetaCard didn't have all the gui niceties that RR does, and was more of a text engine. So since I apparently have no idea how we got where we are, can you expand a bit more on what MetaCard was? Was this just a simple case of RR saying "Hey, this is great, but we can make it better"? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From baleareninsel at gmx.net Fri Dec 1 07:43:07 2006 From: baleareninsel at gmx.net (baleareninsel at gmx.net) Date: Fri, 01 Dec 2006 13:43:07 +0100 Subject: revQueryDatabase / revCurrentRecord Message-ID: <20061201124213.50512488DBF@mail.runrev.com> Hol? everybody As a new member of the RunRev users I try to learn for buildng up a running Aplication. I?m using the actual Studio-version Since 3 weeks now I try to find out, how to get a field from a MySQL-Database into a variable without any success. Now I ask anybody of you to give me a helpfull hand. What I do is: Put rev_dbconnect ("mySQL", "localhost", "mytest_DB", "root",) into DB_ID put revQueryDatabase (DB_ID, "SELECT * from Table_1 where Number = 2") into var_1 ## Number is the first Field in the Table Table_1 which is ok Put revCurrentRecord (var_1) into var_2 ## Var_2 is always 0 (Zero) doesn?t matter which Number I select. Why??? Now I think next would be: put field_2 into Variable_1 ## field_2 is a field in the DB But that does not work. Please, for you it?s just a moment for me sonce now hours and days to solve this problem Thank you in advanced Horst Peters From mark at maseurope.net Fri Dec 1 07:52:27 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 1 Dec 2006 12:52:27 +0000 Subject: Message Box appears In-Reply-To: References: Message-ID: <59FA193F-9333-480F-99D9-2DB769DE8C7E@maseurope.net> Me too... Thinking aloud, as it were, would a handler like this work? on checkScript pScript repeat for each line L in pScript add 1 to lineCount if "put" is in L AND "into" is not in L then put lineCount & comma after possibleProblems end repeat put possibleProblems end checkScript I guess we'd need to consider "into msg" and "into message" etc... as well as "before", "after" and so on... If we had a completely reliable version, we could even have it comment out those lines. Or has anyone already done this? Mark On 1 Dec 2006, at 11:36, Dave wrote: >> put the scaledScore["memoryforstories"] of field "data1" into msg > > Has got me before now! They can be sooooo hard to find when you are > writing lots of stuff to the message box for debugging, and then > forget to delete just one of them! This is especially true in a > library stack, I had a rouge "put xxx" in a library that took me > ages to track down, I eventually found it in a in function a few > levels away from the main API Call! > > I think an option that turned off the "put xxx" shortcut would be a > good idea! > > All the Best > Dave > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Fri Dec 1 07:55:13 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 1 Dec 2006 12:55:13 +0000 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <9b408d8e0612010429u9108260j44601d26858dd8ab@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <456F156E.5000304@hyperactivesw.com> <9b408d8e0612010429u9108260j44601d26858dd8ab@mail.gmail.com> Message-ID: <9DDE7832-6981-4C97-BB2F-E08C272DFCB3@maseurope.net> On 1 Dec 2006, at 12:29, Mikey wrote: > > Now I'm confused. I thought MetaCard didn't have all the gui niceties > that RR does, and was more of a text engine. So since I apparently > have no idea how we got where we are, can you expand a bit more on > what MetaCard was? Was this just a simple case of RR saying "Hey, > this is great, but we can make it better"? > The Revolution engine is the Metacard engine...Revolution was originally just an alternative IDE, but along the way RunRev actually aquired the engine itself. I don't know the exact status of Metacard as a product now. best, Mark From scott at elementarysoftware.com Fri Dec 1 08:15:35 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 1 Dec 2006 05:15:35 -0800 Subject: [ANN] PingPop - made with 3rd party tools Message-ID: I just posted a freeware game called PingPop. (A proof-of-concept that got out of hand.) What just struck me was the number of 3rd party Made-With-Rev tools that I used while creating it. The scripting makes heavy use of Malte Brill's ArcadeEngine2. It was edited using Jerry Daniels' Galaxy with assistance from several Chipp Walters plug-ins. The audio comes from Scott Rossi's tm|audio collection. And the Windows installer is created with InstallGadget by Monte Goulding. Without this list I would probably have been unaware of these great tools. And if you need to waste a few minutes, check out the game. < http:// elementarysoftware.com/pingpop > -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- From revolution at derbrill.de Fri Dec 1 08:32:47 2006 From: revolution at derbrill.de (Malte Brill) Date: Fri, 1 Dec 2006 14:32:47 +0100 (MET) Subject: [ANN] PingPop - made with 3rd party tools In-Reply-To: <20061130181924.74E07488DCE@mail.runrev.com> References: <20061130181924.74E07488DCE@mail.runrev.com> Message-ID: <42FA5063-B981-4787-B42F-226896489DA5@derbrill.de> > And if you need to waste a few minutes, check out the game. Way cool Scott! Well done. I?m glad AE could assist a bit. All the best, Malte From m.schonewille at economy-x-talk.com Fri Dec 1 08:37:49 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 1 Dec 2006 14:37:49 +0100 Subject: [ANN] Errorlib 1.0.1 Message-ID: <3E33CE29-F626-4D79-9580-551002F3D1E9@economy-x-talk.com> Dear Revolution users, An ErrorLib user reported a problem with ErrorLib, which we have fixed. We have also added a new feature. ErrorLib is a shareware library which gives you control of execution errors. With ErrorLib, you decide whether errors are reported and how they are reported. Password protected stacks no longer hamper bug reports from your clients and you will get all error information Revolution can possibly provide. With errorLib, you have a simple light-weight set of scripts that you can include with your standalones and use in your IDE. The execution error dialog will no longer lock up your IDE if you use errorLib instead. You can easily parse error information and display the error, using either the built-in routines of errorLib or your own custom error dialog. New in this version: - a problem causing the error log files to be useless has been fixed - the log file now also includes information about platform and machine - errors were sometimes parsed as ?theParsedData? but are now parsed correctly You can download ErrorLib from the Developers section of the Economy- x-Talk homepage. Best regards, Mark Schonewille -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz From thierry.olive at univ-poitiers.fr Fri Dec 1 09:16:25 2006 From: thierry.olive at univ-poitiers.fr (Thierry) Date: Fri, 1 Dec 2006 15:16:25 +0100 Subject: Problem creating set of variables Message-ID: <514F8904-34D0-45DE-A020-9B91368006A8@univ-poitiers.fr> hi all, I submit you a strange problem I'm encountering. I want to create local variables with the following script: repeat with x = 1 to 3 put empty into ("Myvar" & x) end repeat Surprisingly, this does not work. In fact it opens the Error window which indicates: Type Chunck: bad destination Object button line put empty into ("Myvar" & x) hint ( Has someone an idea of what is happening? Thank, Thierry From m.schonewille at economy-x-talk.com Fri Dec 1 09:52:45 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 1 Dec 2006 15:52:45 +0100 Subject: Problem creating set of variables In-Reply-To: <514F8904-34D0-45DE-A020-9B91368006A8@univ-poitiers.fr> References: <514F8904-34D0-45DE-A020-9B91368006A8@univ-poitiers.fr> Message-ID: <9210AB60-6295-4415-B750-23B22806BE19@economy-x-talk.com> Hi Thierry, You cannot put one literal into another literal. In your case, you might want to use arrays: put empty into myVar[x] or a do statement: do "put empty into myVar" & x Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 1-dec-2006, om 15:16 heeft Thierry het volgende geschreven: > hi all, > > I submit you a strange problem I'm encountering. I want to create > local variables with the following script: > > repeat with x = 1 to 3 > put empty into ("Myvar" & x) > end repeat > > Surprisingly, this does not work. In fact it opens the Error window > which indicates: > > Type Chunck: bad destination > Object button > line put empty into ("Myvar" & x) > hint ( > > Has someone an idea of what is happening? > > Thank, > Thierry From revolution at derbrill.de Fri Dec 1 09:53:37 2006 From: revolution at derbrill.de (Malte Brill) Date: Fri, 1 Dec 2006 15:53:37 +0100 (MET) Subject: Problem creating set of variables In-Reply-To: <20061201090510.0818B488E4F@mail.runrev.com> References: <20061201090510.0818B488E4F@mail.runrev.com> Message-ID: <92D05B3C-C11F-43A4-BCBF-74E3C60CDF27@derbrill.de> Hi Thierry, I also would expect that to work, and it has bitten me sometimes already. However, to code around it use a do statement: repeat with x=1 to 3 do "put empty into myvar"&x end repeat Hope that helps, Malte From ambassador at fourthworld.com Fri Dec 1 10:28:26 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Dec 2006 07:28:26 -0800 Subject: USB Message-ID: <45704A1A.1040003@fourthworld.com> What's the final word on addressing USB devices in Rev? Searching the archives I found that some posts say it's possible to use open driver to address USB devices, others say only if the device is going through a hardware serial converter. Can we access USB devices in Rev? If not, anyone heard an ETA for when we might? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lists at mangomultimedia.com Fri Dec 1 10:57:06 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 1 Dec 2006 07:57:06 -0800 Subject: Fun Project: xTalk GUID Generator In-Reply-To: References: Message-ID: <1964C724-C648-44FF-A982-180D785EE941@mangomultimedia.com> On Dec 1, 2006, at 12:41 AM, Bill Marriott wrote: > Even if there were such a tool, I'd really like to see how this > would be > done in xTalk. I would love to see this in Transcript too. I wasn't aware of it until you posted the link but this would be very useful. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From bvlahos at mac.com Fri Dec 1 10:58:32 2006 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 1 Dec 2006 07:58:32 -0800 Subject: USB In-Reply-To: <45704A1A.1040003@fourthworld.com> References: <45704A1A.1040003@fourthworld.com> Message-ID: <8e8bd836b76be470e2576e66fb585a5f@mac.com> I just got an Asante router (24 port all gigabit layer 2, 3, 4 switch!) which has an interesting new feature. In addition to the regular DB9 serial port they have a USB port that they say can be used as the console port. When i tried using it with ZTerm on the Mac (or HyperTerminal in Windows) it didn't recognize the port so I asked them to tell me how to make it work. They sent me what looks like a generic USB driver and instructions on how to make it work on the Mac. I installed it but the port still didn't come up but I think something else was going on on my Mac that made it not work. I have not had time to work on it further. What was supposed to happen was ZTerm would simply recognize the port and be able to select it. If that is the case then this might be very good solution for us as we could use USB without having any additional hardware other than a USB cable (i.e. no USB to Serial adapter). I don't have the instructions for Windows yet but I don't believe Asante created the driver so perhaps someone has come up with a generic driver that we could use. I'll follow up when I get more information. Bill Vlahos On Dec 1, 2006, at 7:28 AM, Richard Gaskin wrote: > What's the final word on addressing USB devices in Rev? > > Searching the archives I found that some posts say it's possible to > use open driver to address USB devices, others say only if the device > is going through a hardware serial converter. > > Can we access USB devices in Rev? If not, anyone heard an ETA for > when we might? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.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 dave at looktowindward.com Fri Dec 1 11:11:49 2006 From: dave at looktowindward.com (Dave) Date: Fri, 1 Dec 2006 16:11:49 +0000 Subject: Message Box appears In-Reply-To: <59FA193F-9333-480F-99D9-2DB769DE8C7E@maseurope.net> References: <59FA193F-9333-480F-99D9-2DB769DE8C7E@maseurope.net> Message-ID: <49556CF7-CB83-4661-8F50-25FB6DDE38BD@looktowindward.com> Hi, Well, I was thinking leave the explicit forms as they are as at least you can do a global find on "msg" or "messagebox", but you can't search for the shorthand version without hitting every put in the whole stack(s). All the Best Dave On 1 Dec 2006, at 12:52, Mark Smith wrote: > Me too... > > Thinking aloud, as it were, would a handler like this work? > > on checkScript pScript > repeat for each line L in pScript > add 1 to lineCount > if "put" is in L AND "into" is not in L then put lineCount & > comma after possibleProblems > end repeat > put possibleProblems > end checkScript > > I guess we'd need to consider "into msg" and "into message" etc... > as well as "before", "after" and so on... > > If we had a completely reliable version, we could even have it > comment out those lines. > > Or has anyone already done this? > > Mark > > On 1 Dec 2006, at 11:36, Dave wrote: > >>> put the scaledScore["memoryforstories"] of field "data1" into msg >> >> Has got me before now! They can be sooooo hard to find when you >> are writing lots of stuff to the message box for debugging, and >> then forget to delete just one of them! This is especially true in >> a library stack, I had a rouge "put xxx" in a library that took me >> ages to track down, I eventually found it in a in function a few >> levels away from the main API Call! >> >> I think an option that turned off the "put xxx" shortcut would be >> a good idea! >> >> All the Best >> Dave >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 kray at sonsothunder.com Fri Dec 1 11:19:00 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 01 Dec 2006 10:19:00 -0600 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <9DDE7832-6981-4C97-BB2F-E08C272DFCB3@maseurope.net> Message-ID: >> Now I'm confused. I thought MetaCard didn't have all the gui niceties >> that RR does, and was more of a text engine. So since I apparently >> have no idea how we got where we are, can you expand a bit more on >> what MetaCard was? Was this just a simple case of RR saying "Hey, >> this is great, but we can make it better"? >> > > The Revolution engine is the Metacard engine...Revolution was > originally just an alternative IDE, but along the way RunRev actually > aquired the engine itself. I don't know the exact status of Metacard > as a product now. MetaCard is no longer a product. The IDE from the original MetaCard (i.e. pre-acquisition by RunRev) plus some minor enhancements/bug fixes is being maintained as open-source at: http://groups.yahoo.com/group/MC_IDE So basically the "Metacard engine" stopped being the "MetaCard engine" when the transfer to RunRev took place and became the "Revolution Engine". However, the Revolution engine now powers several IDEs - the Revolution IDE (plain), the Revolution IDE with Galaxy enhancements, and the MetaCard IDE. Clear as mud? ;-) Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mwieder at ahsoftware.net Fri Dec 1 11:22:08 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Dec 2006 08:22:08 -0800 Subject: Morfik In-Reply-To: <9b408d8e0611301304j3be2ecb4k1461b36e1b1d0da6@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <1382734772.20061130111934@ahsoftware.net> <9b408d8e0611301304j3be2ecb4k1461b36e1b1d0da6@mail.gmail.com> Message-ID: <15674890697.20061201082208@ahsoftware.net> Mikey- Thursday, November 30, 2006, 1:04:13 PM, you wrote: > Mark, > You'll second what - my comment or the one I'm responding to (oh crap > - am I wrong again?) Er... I was agreeing with your comment. Morfik's quite an impressive tool. -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Fri Dec 1 11:37:52 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 01 Dec 2006 10:37:52 -0600 Subject: Fun Project: xTalk GUID Generator In-Reply-To: Message-ID: On 12/1/06 2:41 AM, "Bill Marriott" wrote: >>> get shell("uuidgen") >> >> This works also with Windows XP (it's not in Win98)- but note that in OS >> X, >> the letters in the hexadecimals are uppercase, whereas in Windows they're >> lowercase. > > I think you picked up this tool from installing Visual Studio; it's not > included in the "stock" Windows XP, at least it does not seem available in > my copy. Ah - makes sense. I did some research, and it looks like the UUIDGEN tool is part of the Microsoft Win32 SDK, which is part of the VS install. However it seems to run on all platforms, and unless there is a licensing issue with including it with your app to run, you can always dump it out to disk and run it... > Even if there were such a tool, I'd really like to see how this would be > done in xTalk. Me too... generating the hex codes is easy; I get lost in the "low bit"/"high bit" stuff of the time stamp. Not sure what that means/how to get it from our current "time" function... Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From stephenREVOLUTION at barncard.com Fri Dec 1 11:37:48 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 1 Dec 2006 08:37:48 -0800 Subject: Morfik In-Reply-To: <7aa52a210611302139w88b1619rad9673c64211c6b3@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <7aa52a210611300958r70720fbdjae4f7b7db0af38e3@mail.gmail.com> <9b408d8e0611301031n3739544dm36089e18b1f49535@mail.gmail.com> <7aa52a210611302139w88b1619rad9673c64211c6b3@mail.gmail.com> Message-ID: Its not working with Safari at all and the $5000 price tag was all I had to see this wasn't for me. Also, as expected, the standalones are pc-only. In this day and age it's silly for a company to pretend the mac user base doesn't exist.. I mean their product should at least create SITES that Safari can render! >BTW, > >Talking with Chris today, he mentioned he checked a Morfik a bit, and wants >to look at it further. He compared it to a web-based version of FileMaker or >Access. He said it creates standalone .exe's and ALSO uploads files to >existing web servers as well. > >He thought it was pretty interesting and he's not very easily impressed. I >imagine he'll take the free version for a spin and I'll hear more about it. > >-Chipp -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From dave at looktowindward.com Fri Dec 1 11:39:19 2006 From: dave at looktowindward.com (Dave) Date: Fri, 1 Dec 2006 16:39:19 +0000 Subject: Message Box appears In-Reply-To: <59FA193F-9333-480F-99D9-2DB769DE8C7E@maseurope.net> References: <59FA193F-9333-480F-99D9-2DB769DE8C7E@maseurope.net> Message-ID: Hi, I've did some thinking too! It looks like (not sure if it can be relied on though) you can read back the last value written to the message box, as in: put msg into myMsgText Given that this is true, you could maybe have a utility that first write some "unlikely value" to the message box (maybe "!@ $FIND_MSG_BOX_PUT$@!". Then scan the script(s) "executing" each statement and checking the contents of the message box for the "unlikely value", if it has changed then the last statement wrote to the message box! Probably too hard to implement and maybe I don't have enough to think about today!!! All the Best and Have a GREAT Weekend! Dave On 1 Dec 2006, at 12:52, Mark Smith wrote: > Me too... > > Thinking aloud, as it were, would a handler like this work? > > on checkScript pScript > repeat for each line L in pScript > add 1 to lineCount > if "put" is in L AND "into" is not in L then put lineCount & > comma after possibleProblems > end repeat > put possibleProblems > end checkScript > > I guess we'd need to consider "into msg" and "into message" etc... > as well as "before", "after" and so on... > > If we had a completely reliable version, we could even have it > comment out those lines. > > Or has anyone already done this? > > Mark > > On 1 Dec 2006, at 11:36, Dave wrote: > >>> put the scaledScore["memoryforstories"] of field "data1" into msg >> >> Has got me before now! They can be sooooo hard to find when you >> are writing lots of stuff to the message box for debugging, and >> then forget to delete just one of them! This is especially true in >> a library stack, I had a rouge "put xxx" in a library that took me >> ages to track down, I eventually found it in a in function a few >> levels away from the main API Call! >> >> I think an option that turned off the "put xxx" shortcut would be >> a good idea! >> >> All the Best >> Dave >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 dave at looktowindward.com Fri Dec 1 11:46:41 2006 From: dave at looktowindward.com (Dave) Date: Fri, 1 Dec 2006 16:46:41 +0000 Subject: Default App for Rev Files on MacOS X Tiger In-Reply-To: <45704A1A.1040003@fourthworld.com> References: <45704A1A.1040003@fourthworld.com> Message-ID: Hi, I installed 2.7.x and tested it for 30 days, then got rid of it and went back to 2.6.6.152. Now all the .rev files won't open in 2.6.6.152. I just get an error message whenever I double-click them. If I change the default app on the file using the Finder Get Info command the start to open correctly again. Any ideas on how to fix it on ALL my .rev files? Thanks a lot All the Best Dave From mwieder at ahsoftware.net Fri Dec 1 11:56:06 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Dec 2006 08:56:06 -0800 Subject: Fun Project: xTalk GUID Generator In-Reply-To: References: Message-ID: <19576928477.20061201085606@ahsoftware.net> Bill- Thursday, November 30, 2006, 1:18:01 PM, you wrote: > Does any have handy, or would be interested in writing, a bona-fide GUID > generator? > http://www.ietf.org/rfc/rfc4122.txt > http://en.wikipedia.org/wiki/Globally_Unique_Identifier > It's probably simpler than I can comprehend from all the programmer-talk in > those pages. I doubt the Transcript code would be much simpler than the C# : System.Guid desiredGuid = System.Guid.NewGuid(); but I second Dar's concern over the "bona-fide" qualifier. Microsoft's implementation has been criticized as being unsecure - the MAC id can still be identified from the guid, and therefore documents can be trace to their owners - that's how the writer of the Melissa virus was found. The "standard" way of generating a guid involves the MAC id and a time string - are you looking for something more secure than that? -- -Mark Wieder mwieder at ahsoftware.net From dave at looktowindward.com Fri Dec 1 12:03:15 2006 From: dave at looktowindward.com (Dave) Date: Fri, 1 Dec 2006 17:03:15 +0000 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: <9210AB60-6295-4415-B750-23B22806BE19@economy-x-talk.com> References: <514F8904-34D0-45DE-A020-9B91368006A8@univ-poitiers.fr> <9210AB60-6295-4415-B750-23B22806BE19@economy-x-talk.com> Message-ID: <4CE502D1-A7BD-4F1E-812B-6278E940711F@looktowindward.com> Hi All, Does anyone know how I could pass a value back to RunRev from an AppleScript that is being run via the do myAppleScript as "AppleScript" command? I can pass back a return value, but this stops the script from running, I would like to pass something back but have the script continue to run. Thanks in Advance All the Best Dave From dave at looktowindward.com Fri Dec 1 12:04:38 2006 From: dave at looktowindward.com (Dave) Date: Fri, 1 Dec 2006 17:04:38 +0000 Subject: Fun Project: xTalk GUID Generator In-Reply-To: References: Message-ID: On 1 Dec 2006, at 16:37, Ken Ray wrote: > >> Even if there were such a tool, I'd really like to see how this >> would be >> done in xTalk. > > Me too... generating the hex codes is easy; I get lost in the "low > bit"/"high bit" stuff of the time stamp. Not sure what that means/ > how to get > it from our current "time" function... I'm sure the base function Built into RunRev would help here?? All the Best Dave From mwieder at ahsoftware.net Fri Dec 1 12:07:23 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Dec 2006 09:07:23 -0800 Subject: Fun Project: xTalk GUID Generator In-Reply-To: References: Message-ID: <14577606001.20061201090723@ahsoftware.net> Bill- Thursday, November 30, 2006, 1:18:01 PM, you wrote: I love this comment from the rfc: /* NT keeps time in FILETIME format which is 100ns ticks since Jan 1, 1601. UUIDs use time in 100ns ticks since Oct 15, 1582. The difference is 17 Days in Oct + 30 (Nov) + 31 (Dec) + 18 years and 5 leap days. */ Gotta love those Microsoft "standards", dontcha? -- -Mark Wieder mwieder at ahsoftware.net From mikeythek at gmail.com Fri Dec 1 12:15:08 2006 From: mikeythek at gmail.com (Mikey) Date: Fri, 1 Dec 2006 12:15:08 -0500 Subject: Morfik In-Reply-To: References: <456BCB4F.3040203@fourthworld.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <7aa52a210611300958r70720fbdjae4f7b7db0af38e3@mail.gmail.com> <9b408d8e0611301031n3739544dm36089e18b1f49535@mail.gmail.com> <7aa52a210611302139w88b1619rad9673c64211c6b3@mail.gmail.com> Message-ID: <9b408d8e0612010915p780ec0ebi61d504792d20bb2@mail.gmail.com> > Its not working with Safari at all and the $5000 price tag was all I > had to see this wasn't for me. Also, as expected, the standalones are > pc-only. 1) Apparently you haven't been following this thread but that's ok, it's getting long. Safari problem is a bug, it's on the bug list as you will see if you look at the bug list (I might have been the one who submitted it). I think that fix is scheduled for the next beta release, but I don't remember exactly. However, it works fine in FF on the Mac, unless they broke something in the last release (I haven't checked it against my Mac in a bit). 2) I think your statement about standalones is out of date. Do you have the latest release? Do you have the release schedule? I'm pretty sure the current release supports Linux builds. Maybe I'm wrong and it's the next release. 3) It. Doesn't. Cost. $5,000. When you buy something on rebate, and you take it back later, do they give you the list price? No? Why was that? Oh, right. BECAUSE YOU PAID THE SALE PRICE. Rant about the price when and if the price goes up. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mark at maseurope.net Fri Dec 1 12:22:02 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 1 Dec 2006 17:22:02 +0000 Subject: Fun Project: xTalk GUID Generator In-Reply-To: <19576928477.20061201085606@ahsoftware.net> References: <19576928477.20061201085606@ahsoftware.net> Message-ID: I think the spec has a 'type 4' which uses a pseudo-random number instead of the MAC address, and the UUIDs generated here (mac OS 10.4.7) by uuidgen seem to be of this type : D9201B74-B33E-4A72-8C06-3B33781F3396 where the first digit of the 3rd group indicates the type. Best, Mark On 1 Dec 2006, at 16:56, Mark Wieder wrote: > > but I second Dar's concern over the "bona-fide" qualifier. Microsoft's > implementation has been criticized as being unsecure - the MAC id can > still be identified from the guid, and therefore documents can be > trace to their owners - that's how the writer of the Melissa virus was > found. The "standard" way of generating a guid involves the MAC id and > a time string - are you looking for something more secure than that? > > -- > -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 kray at sonsothunder.com Fri Dec 1 12:35:17 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 01 Dec 2006 11:35:17 -0600 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: <4CE502D1-A7BD-4F1E-812B-6278E940711F@looktowindward.com> Message-ID: On 12/1/06 11:03 AM, "Dave" wrote: > Hi All, > > Does anyone know how I could pass a value back to RunRev from an > AppleScript that is being run via the do myAppleScript as > "AppleScript" command? > > I can pass back a return value, but this stops the script from > running, I would like to pass something back but have the script > continue to run. The only way I could think of would be to have AppleScript "tell" your application something in the middle of its processing using the "do script" command, but this would execute a handler in your code instead of just passing back a value... Just curious: What are you having AppleScript do that you want to get results back in the middle the executing AppleScript? Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From wjm at wjm.org Fri Dec 1 12:35:06 2006 From: wjm at wjm.org (Bill Marriott) Date: Fri, 1 Dec 2006 12:35:06 -0500 Subject: Fun Project: xTalk GUID Generator References: <14577606001.20061201090723@ahsoftware.net> Message-ID: And Rev's "the milliseconds" returns the total number of milliseconds since the "start of the eon" -- which is midnight GMT, January 1, 1970. Ticks is the same, but returns 1/60th of a second. I don't think we have a way of accessing nanoseconds (billionth of a second). "Mark Wieder" wrote in message news:14577606001.20061201090723 at ahsoftware.net... > Bill- > > Thursday, November 30, 2006, 1:18:01 PM, you wrote: > > I love this comment from the rfc: > > /* NT keeps time in FILETIME format which is 100ns ticks since > Jan 1, 1601. UUIDs use time in 100ns ticks since Oct 15, 1582. > The difference is 17 Days in Oct + 30 (Nov) + 31 (Dec) > + 18 years and 5 leap days. */ > > Gotta love those Microsoft "standards", dontcha? From JimAultWins at yahoo.com Fri Dec 1 12:36:37 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 01 Dec 2006 09:36:37 -0800 Subject: Problem creating set of variables In-Reply-To: <514F8904-34D0-45DE-A020-9B91368006A8@univ-poitiers.fr> Message-ID: On 12/1/06 6:16 AM, "Thierry" wrote: > I submit you a strange problem I'm encountering. I want to create > local variables with the following script: > > repeat with x = 1 to 3 > put empty into ("Myvar" & x) > end repeat > > Surprisingly, this does not work. In fact it opens the Error window > which indicates: > > Type Chunck: bad destination > Object button > line put empty into ("Myvar" & x) > hint ( > > Has someone an idea of what is happening? I think you are correlating put empty into fld ("myName" & x) --to-- put empty into ("myVar" & x) In both cases, Rev resolves the parens to a string, thus the second one does not make sense. Jim Ault Las Vegas From userev at canelasoftware.com Fri Dec 1 12:37:23 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 01 Dec 2006 09:37:23 -0800 Subject: Tablet PC becoming second monitor Message-ID: <2BE05671-5F57-4973-B021-046E5CFCA3ED@canelasoftware.com> Hello Everyone, Anyone know if it possible to force the tablet pc monitor to be monitor #2 when connected to a second monitor. I would like the second monitor to be monitor #1 for the time being. I have a customer that is stating that the tablet pc reverts back to it being #1 on its own. Any input on this would be helpful. Thanks! -Mark From scott at tactilemedia.com Fri Dec 1 12:48:04 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 01 Dec 2006 09:48:04 -0800 Subject: USB In-Reply-To: <45704A1A.1040003@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: > What's the final word on addressing USB devices in Rev? Not sure there is one. Last I saw, Chipp and Company stated it wouldn't be happening on their end as it was too difficult a project to undertake, and I haven't seen anyone else step up. Maybe this is a job for the Scots... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From m.schonewille at economy-x-talk.com Fri Dec 1 12:59:23 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 1 Dec 2006 18:59:23 +0100 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: <4CE502D1-A7BD-4F1E-812B-6278E940711F@looktowindward.com> References: <514F8904-34D0-45DE-A020-9B91368006A8@univ-poitiers.fr> <9210AB60-6295-4415-B750-23B22806BE19@economy-x-talk.com> <4CE502D1-A7BD-4F1E-812B-6278E940711F@looktowindward.com> Message-ID: <580EEEF9-DE1C-479A-A4D6-66FE78808322@economy-x-talk.com> Hi Dave, This is very easy: tell application "Whatever" -- do stuff here set myRslt to "A Value" end tell return myRslt If you keep this script in a variable myScript, you retrieve the variable result from the AppleScript script in the following way: do myScript as AppleScript put the result Above script puts "A Value" into the message box. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 1-dec-2006, om 18:03 heeft Dave het volgende geschreven: > Hi All, > > Does anyone know how I could pass a value back to RunRev from an > AppleScript that is being run via the do myAppleScript as > "AppleScript" command? > > I can pass back a return value, but this stops the script from > running, I would like to pass something back but have the script > continue to run. > > Thanks in Advance > All the Best > Dave From runrev at animabit.de Fri Dec 1 13:00:00 2006 From: runrev at animabit.de (runrev at animabit.de) Date: Fri, 1 Dec 2006 18:00:00 +0000 Subject: USB/Serial issue Message-ID: Hello, Working on windows. The function "put driverNames" is not usable on windows. => Where to get the driverName usable in runrev with the directive "open driver xyz"? Perhaps there is a solution for runrev on windows with the open driver syntax, but where can I get the driver name from? Regards, Franz Mit freundlichen Gr??en Franz B?hmisch boehmisch at animabit.de http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 Original Message processed by David InfoCenter Subject: USB/Serial issue (19-Nov-2006 3:15) From: J. Landman Gay To: use-revolution at lists.runrev.com Jean-Jacques Wagner can't seem to post to some of the lists he subscribes to, so has asked me to post this for him. He can read your answers, he just can't generate posts right now. I've told him Rev doesn't natively support USB access but it isn't clear to me what he is using as an interface, so maybe someone has comments about the post below. ==== Hi I use to write/read string through the USB Port using a FTDI device. It seems to me that the serial port write/read commands does not work as it should. a) write to USB open driver name for binary update write var to driver name (read from driver name until empty) close driver name ... From JimAultWins at yahoo.com Fri Dec 1 13:01:29 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 01 Dec 2006 10:01:29 -0800 Subject: Message Box appears In-Reply-To: Message-ID: On 12/1/06 3:36 AM, "Dave" wrote: > Has got me before now! They can be sooooo hard to find when you are > writing lots of stuff to the message box for debugging, and then > forget to delete just one of them! This is especially true in a > library stack, I had a rouge "put xxx" in a library that took me ages > to track down, I eventually found it in a in function a few levels > away from the main API Call! > > I think an option that turned off the "put xxx" shortcut would be a > good idea! Chipp Walters used to have something on his site that would do this. Took a quick look and did not find it. Check the archives, but I think the Altuit site has changed so much that old info will be obsolete. Perhaps Chipp may know where it is hiding. PS I always use 'into msg' or 'after msg' so I can find them later. For a short time I always added "!!" like put fld output & "!!" but got out of the habbit. Of course another way is to make your own lib handler putMsg "flag upperTier is "& fUpperTier on putMsg txtStr put txtStr end putMsg then turn off the 'put txtStr' line or find the putMsg lines Jim Ault Las Vegas From JimAultWins at yahoo.com Fri Dec 1 13:03:40 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 01 Dec 2006 10:03:40 -0800 Subject: Default App for Rev Files on MacOS X Tiger In-Reply-To: Message-ID: Click the button 'Change all...' in the get info window On 12/1/06 8:46 AM, "Dave" wrote: > > I installed 2.7.x and tested it for 30 days, then got rid of it and > went back to 2.6.6.152. Now all the .rev files won't open in > 2.6.6.152. I just get an error message whenever I double-click them. > If I change the default app on the file using the Finder Get Info > command the start to open correctly again. > > Any ideas on how to fix it on ALL my .rev files? From chipp at chipp.com Fri Dec 1 13:08:16 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 1 Dec 2006 12:08:16 -0600 Subject: USB In-Reply-To: References: <45704A1A.1040003@fourthworld.com> Message-ID: <7aa52a210612011008v743def09ka62001c2d32bb99e@mail.gmail.com> Hi Richard, Scott's right. Chris tells me it is too difficult to create an easy to use USB driver. The reason is the data you receive is binary and there is huge amounts of it. So, for each device, you would need to write your own bit parser and figure out the data stream, effectively doing a lot of the work. Someone like Chris could do it, but for us to put a 'USB driver' out there would certainly overwhelm us with support requests. best, Chipp On 12/1/06, Scott Rossi wrote: > > Recently, Richard Gaskin wrote: > > > What's the final word on addressing USB devices in Rev? > > Not sure there is one. > > Last I saw, Chipp and Company stated it wouldn't be happening on their end > as it was too difficult a project to undertake, and I haven't seen anyone > else step up. Maybe this is a job for the Scots... > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.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 stephenREVOLUTION at barncard.com Fri Dec 1 13:11:42 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 1 Dec 2006 10:11:42 -0800 Subject: USB in REV In-Reply-To: References: Message-ID: These guys were, at one time, 'Rev Partners' or something. http://www.bkohg.com/service/software_e.html They specialize in USB hardware interfaces. Although the software offerings might be partial to their products, they DO offer the C++ and other code on their site which might give some clues to how to do it, at least on the mac side... >Recently, Richard Gaskin wrote: > > > What's the final word on addressing USB devices in Rev? -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From JimAultWins at yahoo.com Fri Dec 1 13:25:49 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 01 Dec 2006 10:25:49 -0800 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: <4CE502D1-A7BD-4F1E-812B-6278E940711F@looktowindward.com> Message-ID: On 12/1/06 9:03 AM, "Dave" wrote: > Does anyone know how I could pass a value back to RunRev from an > AppleScript that is being run via the do myAppleScript as > "AppleScript" command? > > I can pass back a return value, but this stops the script from > running, I would like to pass something back but have the script > continue to run. I am not an expert in this area, but here are ideas and the last one I use in my daily operations on Win and Mac. ----- One way that should work is to compile the Applescript and run it as an app that stays open. Rev would trigger it to operate, the app would send a message to the System to trigger it again in 1 second, it then finishes a cycle, returning a value to Rev. ----- Another way, from the Rev side, you could repeatedly trigger the Applescript everytime a new value was received by Rev. ----- You could use shell and the environment variables to move data between apps. ------------------------- Perhaps simpler to implement is that the Applescript would write text files to a folder that Rev would scan and read. I use this everyday-all-day to move data from Rev to FoxPro, then back to Rev asynchronously. Rev -- (not the exact syntax) put "u/a/b/c/incomingAS/" into folderpath if there is a file (folderpath"dataForMe.txt") then put url ("file:"& folderpath&"dataForMe.txt") into incoming delete file ( folderpath&"dataForMe.txt") end if ---------------------- Not recommended -- using the clipboard between Rev and other apps. ----- Hope this gives you some options Jim Ault Las Vegas From userev at canelasoftware.com Fri Dec 1 13:37:27 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 01 Dec 2006 10:37:27 -0800 Subject: USB In-Reply-To: <45704A1A.1040003@fourthworld.com> References: <45704A1A.1040003@fourthworld.com> Message-ID: <29E341E5-8698-41C3-93C8-54B28B82EA22@canelasoftware.com> On Dec 1, 2006, at 7:28 AM, Richard Gaskin wrote: > What's the final word on addressing USB devices in Rev? > > Searching the archives I found that some posts say it's possible to > use open driver to address USB devices, others say only if the > device is going through a hardware serial converter. > > Can we access USB devices in Rev? If not, anyone heard an ETA for > when we might? I have had great success accessing USB devices using the serial converter by Keyspan. Dar Scott is a genius at working the details out. Does quality work if anyone needs it done. Works on both Mac and Win. Mark Talluto -- CANELA Software http://www.canelasoftware.com From mark at maseurope.net Fri Dec 1 13:40:01 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 1 Dec 2006 18:40:01 +0000 Subject: Fun Project: xTalk GUID Generator In-Reply-To: References: <14577606001.20061201090723@ahsoftware.net> Message-ID: From http://home.famkruithof.net/guid-uuid-timebased.html Generally a programmer does not get the current time in 100 nanosecond intervals since 15 October 1582, but for instance in millisecond precision since 1 January 1970. In this case, to come from milliseconds to nanoseconds precision multiply the time returned from the system by 10000 and to correct the start date add an offset of 122192928000000000. Best, Mark On 1 Dec 2006, at 17:35, Bill Marriott wrote: > And Rev's "the milliseconds" returns the total number of > milliseconds since > the "start of the eon" -- which is midnight GMT, January 1, 1970. > Ticks is > the same, but returns 1/60th of a second. I don't think we have a > way of > accessing nanoseconds (billionth of a second). > > > "Mark Wieder" wrote in > message news:14577606001.20061201090723 at ahsoftware.net... >> Bill- >> >> Thursday, November 30, 2006, 1:18:01 PM, you wrote: >> >> I love this comment from the rfc: >> >> /* NT keeps time in FILETIME format which is 100ns ticks since >> Jan 1, 1601. UUIDs use time in 100ns ticks since Oct 15, 1582. >> The difference is 17 Days in Oct + 30 (Nov) + 31 (Dec) >> + 18 years and 5 leap days. */ >> >> Gotta love those Microsoft "standards", dontcha? > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Fri Dec 1 13:46:39 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 01 Dec 2006 12:46:39 -0600 Subject: Fun Project: xTalk GUID Generator In-Reply-To: Message-ID: On 12/1/06 11:35 AM, "Bill Marriott" wrote: > And Rev's "the milliseconds" returns the total number of milliseconds since > the "start of the eon" -- which is midnight GMT, January 1, 1970. Ticks is > the same, but returns 1/60th of a second. I don't think we have a way of > accessing nanoseconds (billionth of a second). No, the closest we have is microseconds (a millionth of a second), by using the "long seconds" function. But keep in mind the note attached to it: "this value is not normally accurate past the third decimal place because of processor delays". :-) Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Fri Dec 1 13:47:58 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 01 Dec 2006 12:47:58 -0600 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: <580EEEF9-DE1C-479A-A4D6-66FE78808322@economy-x-talk.com> Message-ID: On 12/1/06 11:59 AM, "Mark Schonewille" wrote: > Hi Dave, > > This is very easy: > > tell application "Whatever" > -- do stuff here > set myRslt to "A Value" > end tell > return myRslt > > If you keep this script in a variable myScript, you retrieve the > variable result from the AppleScript script in the following way: > > do myScript as AppleScript > put the result > > Above script puts "A Value" into the message box. Yes, but the problem is, Mark, the Dave wanted a result back *in the middle* of running an AppleScript, not at the end... a bit more problematic... Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From briany at qldlearning.com Fri Dec 1 13:50:58 2006 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 1 Dec 2006 10:50:58 -0800 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> Message-ID: > This is very much like trying to compare XCode to Visual Studio, or > MetaCard and RR. They are nowhere near being similar. XCode and Visual Studio ARE similar. And MetaCard and RR are as close as it gets! Back to the original comparison, Google Web Toolkit and Morfik both provide frameworks to write AJAX apps in Java and export to HTML/Javascript. They are competing products... it has even been rumored that Google secretly stole Morfik's technology and will get sued. How can you possibly say they are not similar? How much more similar can you get when there is speculation that they are the same technology? Speculation that they might be even closer than we think: http://yro.slashdot.org/article.pl?sid=06/05/31/0353229 Google Web Toolkit is also free, no wonder the Morfik guys are panicking. Either Google stole from them, or just stole the market from them. > > As far as Morfik being a startup, and you aren't comfortable with > that, and you don't like the license, fine. I understand where you're > at. I just don't think your position is typical. Maybe I'm wrong. > It wouldn't be the first time. > OK, fair enough. I certainly can't certify my normalcy, but I have known many other startup owners and they tend to be risk adverse with their platform choices. Maybe it's just my circle. > >> There's no guarantee that next year will yield 1.5. In fact, anyone >> who's dealt with startup vendors over the years knows there is a good >> chance that there won't be any new versions if they don't start >> selling licenses ASAP. The fact that they are offering heavily >> discounted licenses tells me that they aren't out of the woods yet. > So you'd be more comfortable if they didn't have an introductory > offer? I don't get this. Stores and restaurants that have just > opened offer big discounts to get you in the door. Automakers offer > big rebates to sell you the financing. Every service company on the > planet from Comcast to Time Warner to Verizon to Vonage to SunRocket > to NetFlix have introductory offers to get you to try their service > out. You think that's a bad thing? I never said that an intro offer is a bad thing by itself. You are twisting my words (which are quoted above). I was just saying that it's another indicator that they aren't established yet - which implies risk. It tells me they might not be producing enough revenue yet to stay in business, which directly affects the chances of version 1.5 not happening. Nothing is for sure, I'm just estimating risk. >> The fact that Morfik apparently outputs a custom .exe file with the >> database and web server embedded sounds truly awful to me. So you're >> saying I can only run this on Windows, it won't scale, it won't >> conform to any normal Apache or Firebird documentation, I can't >> upgrade the web server or database without rebuilding my app, and I >> can't run this on 99% of the web hosts out there? > Three words: Flat. Out. False. I quote, from their website: "The output of the WebOS AppsBuilder - the WebOS application or XApp - refers to the tight integration of an embedded Web Server, Database Server, and the business logic of your application, all compiled into a single executable." Or are you arguing that web hosts DO typically allow you to run huge custom EXEs with embedded databases and web servers? Or that custom EXEs that merge web app, database, and web server in one file are scalable and/or upgradeable? What part do you object to and why? Sorry you are bored with this thread - I find it interesting. You seem to know something about Morfik, and so I'm happy to be corrected if I don't have some of my facts straight. - Brian From runrev at animabit.de Fri Dec 1 13:56:30 2006 From: runrev at animabit.de (runrev at animabit.de) Date: Fri, 1 Dec 2006 18:56:30 +0000 Subject: External Writing on win - external.h Message-ID: Hello, just checked the two Articles of Mark Waddingham concerning externals http://www.runrev.com/newsletter/november/issue13/newsletter5.php http://www.runrev.com/newsletter/november/issue14/newsletter3.php Just checked the external SDK and found the include library external.h ... In VisualBasic 6.0 and VisualBasic.Net you can create dlls. Is it possible to simulate the integrated wrapper functions of the external.h XClipsFunctionCall XClipsEval(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); XClipsAssertString in a visual basic application to design a dll for usage in runrev on windows? What conventions must the dll use for this task? Any further suggestions? Regards, Franz Mit freundlichen Gr??en Franz B?hmisch boehmisch at animabit.de http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 /* The layer between Revolution and CLIPS (external.h, external.c) is Copyright 2003 Alex Rice. All Rights reserved. No warranty of fitness or correctness or stability. Use at your own risk. Please be aware CLIPS and Revolution each have their respective licenses as well. */ /* #defines and prototypes for MetaCard/Runtime Revolution template external */ #include "clips.h" /* * DOToRev * converts a CLIPS data object into a revolution string object */ extern void RevMessageBox(char *msg1, char *msg2); /* * I/O Routers Glue. Does this obviate the need for the rest of these functions and handlers? */ extern int RevRouterFind(char *logicalName); extern int RevRouterPrint(char *logicalName, char *str); extern int RevRouterExit(int unused); extern void XClipsPrintRouter(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern int RevRouterStdinGetc(char *logicalName); extern int RevRouterStdinUngetc(int ch, char *logicalName); /* * Transcript Handlers */ extern void XClipsInit(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsClear(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsBuild(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsLoad(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsLoadFacts(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsAssertString(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsLoadFactsFromString(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsReset(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsFacts(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsSaveFacts(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsGetFactList(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsRun(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsEval(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); /* * Transcript Functions */ extern void XClipsFunctionCall(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsEval(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); extern void XClipsAssertString(char *args[], int nargs, char **retstring, Bool *pass, Bool *error); /* * I/O */ extern void XCabort(); extern Xternal Xtable[]; extern char Xname[]; From runrev at animabit.de Fri Dec 1 13:59:07 2006 From: runrev at animabit.de (runrev at animabit.de) Date: Fri, 1 Dec 2006 18:59:07 +0000 Subject: Re-2: USB in REV Message-ID: Thank you very much - but this only works on Mac. I use Windows (and the most companies in the measurement business do therefore the hardware manufacturers mostly offer dlls and visual basic tools ...) Regards, Franz Original Message processed by David InfoCenter Subject: Re: USB in REV (01-Dez-2006 19:11) From: Stephen Barncard To: use-revolution at lists.runrev.com These guys were, at one time, 'Rev Partners' or something. http://www.bkohg.com/service/software_e.html They specialize in USB hardware interfaces. From revdev at pdslabs.net Fri Dec 1 14:09:04 2006 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 01 Dec 2006 11:09:04 -0800 Subject: Message Box appears In-Reply-To: References: Message-ID: <45707DD0.2020301@pdslabs.net> Hi Jim and all, IMHO, you guys are making it too hard. I've intentionally developed a habit of always putting test info '& cr after msg'. Then when I'm done, I can easily find all occurrences of 'after msg' and delete'em. No, it's not infallible. And sometimes I cheat (like to clear msg at the start of a 'put after' sequence). But I make my living writing software with Revolution, and I don't have any self-inflicted misery from rogue 'puts'. To me that says something about the effectiveness of the approach. I admit that the 'habit thing' may not be sufficient for every situation. Most of the time I'm the only programmer on my projects, so I generally don't have to collaborate with others at the code level. Your mileage may vary. Ask your doctor if the Habit Way is right for you... :o) My $0.02... Thanks - Phil Davis Jim Ault wrote: > On 12/1/06 3:36 AM, "Dave" wrote: >> Has got me before now! They can be sooooo hard to find when you are >> writing lots of stuff to the message box for debugging, and then >> forget to delete just one of them! This is especially true in a >> library stack, I had a rouge "put xxx" in a library that took me ages >> to track down, I eventually found it in a in function a few levels >> away from the main API Call! >> >> I think an option that turned off the "put xxx" shortcut would be a >> good idea! > > Chipp Walters used to have something on his site that would do this. Took a > quick look and did not find it. Check the archives, but I think the Altuit > site has changed so much that old info will be obsolete. > > Perhaps Chipp may know where it is hiding. > > PS I always use 'into msg' or 'after msg' so I can find them later. > For a short time I always added "!!" like > > put fld output & "!!" > but got out of the habbit. > > Of course another way is to make your own lib handler > > putMsg "flag upperTier is "& fUpperTier > > on putMsg txtStr > put txtStr > end putMsg > > then turn off the 'put txtStr' line > or find the putMsg lines > > 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 stephenREVOLUTION at barncard.com Fri Dec 1 14:25:16 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 1 Dec 2006 11:25:16 -0800 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> Message-ID: Nice! Google Web Toolkit shows up in Safari, has mac support, and is free. > >Google Web Toolkit is also free, no wonder the Morfik guys are >panicking. Either Google stole from them, or just stole the market >from them. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From stephenREVOLUTION at barncard.com Fri Dec 1 14:28:24 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 1 Dec 2006 11:28:24 -0800 Subject: Message Box appears In-Reply-To: <45707DD0.2020301@pdslabs.net> References: <45707DD0.2020301@pdslabs.net> Message-ID: just for the record, Jerry Daniel's Galaxy has a feature where you put *put into the search field and it will find all the 'dangling puts'. Use it all the time. >Hi Jim and all, > >IMHO, you guys are making it too hard. > >I've intentionally developed a habit of always putting test info '& >cr after msg'. Then when I'm done, I can easily find all occurrences >of 'after msg' and delete'em. > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From m.schonewille at economy-x-talk.com Fri Dec 1 14:31:29 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 1 Dec 2006 20:31:29 +0100 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: References: Message-ID: Dave, Ken, Apologies. Here is the correct solution, all AppleScript: tell application "Revolution" do script "put \"Some Value\"" end tell You could run a script to send a message to a progress bar, for example. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 1-dec-2006, om 19:47 heeft Ken Ray het volgende geschreven: > On 12/1/06 11:59 AM, "Mark Schonewille" talk.com> > wrote: > > > Yes, but the problem is, Mark, the Dave wanted a result back *in > the middle* > of running an AppleScript, not at the end... a bit more problematic... > > Ken Ray > Sons of Thunder Software, Inc. > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > From briany at qldlearning.com Fri Dec 1 14:33:46 2006 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 1 Dec 2006 11:33:46 -0800 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> Message-ID: <4AC713FF-58A1-45A3-AB9A-F8C7A95C230A@qldlearning.com> > As far as Morfik being a startup, and you aren't comfortable with > that, and you don't like the license, fine. I understand where you're > at. I just don't think your position is typical. Maybe I'm wrong. > It wouldn't be the first time. Just to clarify: I've been speaking specifically as an owner of my *own* startup. Meaning I'm not comfortable pinning the hopes of my startup on another startup, which is much different from saying that nobody should. I do think my position is typical in that particular case - maybe not the general one. Regards, Brian From dick.kriesel at mail.com Fri Dec 1 14:34:35 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 01 Dec 2006 11:34:35 -0800 Subject: Fun Project: xTalk GUID Generator In-Reply-To: Message-ID: On 12/1/06 10:46 AM, "Ken Ray" wrote: > On 12/1/06 11:35 AM, "Bill Marriott" wrote: > >> And Rev's "the milliseconds" returns the total number of milliseconds since >> the "start of the eon" -- which is midnight GMT, January 1, 1970. Ticks is >> the same, but returns 1/60th of a second. I don't think we have a way of >> accessing nanoseconds (billionth of a second). > > No, the closest we have is microseconds (a millionth of a second), by using > the "long seconds" function. But keep in mind the note attached to it: "this > value is not normally accurate past the third decimal place because of > processor delays". Since no one will be converting GUIDs back to seconds, accuracy doesn't matter for this purpose, right? So functions "long seconds" and "random" can be used to fake nanoseconds. -- Dick From revlist at azurevision.co.uk Fri Dec 1 14:44:20 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 1 Dec 2006 19:44:20 +0000 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: References: Message-ID: <88526C1A-32DE-4FBD-8C12-239C78FC9767@azurevision.co.uk> On 1 Dec 2006, at 17:35, Ken Ray wrote: > Just curious: What are you having AppleScript do that you want to get > results back in the middle the executing AppleScript? Seconded. Is there a reason why you can't split it up into more than one script? Ian From mikeythek at gmail.com Fri Dec 1 14:49:37 2006 From: mikeythek at gmail.com (Mikey) Date: Fri, 1 Dec 2006 14:49:37 -0500 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: References: <456BCB4F.3040203@fourthworld.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> Message-ID: <9b408d8e0612011149rbb47465x29ebb039bd421cf3@mail.gmail.com> > XCode and Visual Studio ARE similar. And MetaCard and RR are as close > as it gets! Back to the original comparison, Google Web Toolkit and > Morfik both provide frameworks to write AJAX apps in Java and export > to HTML/Javascript. They are competing products... it has even been > rumored that Google secretly stole Morfik's technology and will get > sued. How can you possibly say they are not similar? How much more > similar can you get when there is speculation that they are the same > technology? The second comparison was bad (MC and RR). I was under the impression that MC was pretty junky, but I've never used it. However, in my experience XCode is significantly harder to use to build forms than VS is. So, how about this, because this is more like it: GWT is more like using a text editor to build web pages, and Morfik is more like using a RAD tool to build web pages. How's that? Google isn't as tied to the OS (one would assume that's deliberate), but it isn't as easy to use, either. I'll say it again as far as them being "similar". 1) Graphical form editor - Morfik only. 2) PDF report output - Morfik only (this is a bit unfair since you can't draw the forms in GWT anyway, but it's a very neat trick for me). 3) Languages - GWT is Java only, Morfik is Java, C#, Basic, and Pascal, and if I have my way some xTalk variation, but who am I? 4) Tightly integrated database design, interaction, and output - Morfik only. 5) Tightly integrated web server - Morfik only. 6) Cost - GWT - free as in beer, Morfik - Free for non-commercial use, $17xx until sometime (next March?), then $5,000 (at least that's what they're saying right now) As far as threatening suit, I'm relatively sure that Linux isn't very similar to Windoze, regardless of what you think of KDE or Gnome, yet M$ is claiming that Linux incorporates Windoze IP. How many suits have there been over iPods and other music players? Do you really think those competitors are the same thing? > Or are you arguing that web hosts DO typically allow you to run huge > custom EXEs with embedded databases and web servers? > Or that custom EXEs that merge web app, database, and web server in > one file are scalable and/or upgradeable? The sales pitch is simpler than the reality. You CAN tie it all together. However, you also have the option of using external data sources (that's discussed in the Professional literature, I believe), or cranking a server farm. The last one was detailed on somebody's web site recently. Salesforce? I don't remember whose. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From JimAultWins at yahoo.com Fri Dec 1 14:53:18 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 01 Dec 2006 11:53:18 -0800 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: <4CE502D1-A7BD-4F1E-812B-6278E940711F@looktowindward.com> Message-ID: On 12/1/06 9:03 AM, "Dave" wrote: > Does anyone know how I could pass a value back to RunRev from an > AppleScript that is being run via the do myAppleScript as > "AppleScript" command? > > I can pass back a return value, but this stops the script from > running, I would like to pass something back but have the script > continue to run. I am not an expert in this area, but here are ideas and the last one I use in my daily operations on Win and Mac. ----- One way that should work is to compile the Applescript and run it as an app that stays open. Rev would trigger it to operate, the app would send a message to the System to trigger it again in 1 second, it then finishes a cycle, returning a value to Rev. ----- Another way, from the Rev side, you could repeatedly trigger the Applescript everytime a new value was received by Rev. ----- You could use shell and the environment variables to move data between apps. ------------------------- Perhaps simpler to implement is that the Applescript would write text files to a folder that Rev would scan and read. I use this everyday-all-day to move data from Rev to FoxPro, then back to Rev asynchronously. Rev -- (not the exact syntax) put "u/a/b/c/incomingAS/" into folderpath if there is a file (folderpath"dataForMe.txt") then put url ("file:"& folderpath&"dataForMe.txt") into incoming delete file ( folderpath&"dataForMe.txt") end if ---------------------- Not recommended -- using the clipboard between Rev and other apps. ----- Hope this gives you some options Jim Ault Las Vegas From mark at maseurope.net Fri Dec 1 14:52:55 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 1 Dec 2006 19:52:55 +0000 Subject: Fun Project: xTalk GUID Generator In-Reply-To: References: Message-ID: From what I can dimly understand of the various versions of the spec, there are time-based, name-based and random-based versions. All of them are built from 1 x 60 bit value, 1 x 14 bit value and 1 x 48 bit value, plus 4 bits for the version id, and 2 bits for the 'variant' (I haven't worked out exactly what that is, but apparently it should be 1 0.) In the random version, each of these values (apart from the version and variant) is generated randomly, or pseudo-randomly. So my naive question is, for the random version, what would be wrong with simply generating a random sequence of 128 1s and 0s, sticking the version and variant bits in the right places, and then baseConverting the whole thing in groups of 4 to Hex digits. Add the formatting dashes, and it's done. This is probably very naive indeed, perhaps someone here understands the issues well enough to comment. Best, Mark From jacque at hyperactivesw.com Fri Dec 1 14:56:56 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 01 Dec 2006 13:56:56 -0600 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <9b408d8e0612010429u9108260j44601d26858dd8ab@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <456F156E.5000304@hyperactivesw.com> <9b408d8e0612010429u9108260j44601d26858dd8ab@mail.gmail.com> Message-ID: <45708908.4000107@hyperactivesw.com> Mikey wrote: > Jacque, > >> I'll agree with the first comparison, but have to disagree with the >> second. MetaCard and Revolution are identical in every respect except >> for the stacks that represent how the user interacts with the engine. > Now I'm confused. I thought MetaCard didn't have all the gui niceties > that RR does, That's right. > and was more of a text engine. So since I apparently > have no idea how we got where we are, can you expand a bit more on > what MetaCard was? Was this just a simple case of RR saying "Hey, > this is great, but we can make it better"? Pretty much, I think. Do you mean "test" engine? MC has sort of become that in a way. Since its IDE is so much simpler than Rev's, most bugs that are reproducible in MC are usually engine bugs, though not all. MetaCard was the original product until Runtime took over. Now it is just another alternate IDE, though as you mention, the GUI is less elaborate. But everything that can be done in Rev can also be done in MC because the engine is the same, and in some cases, the GUI is similar as well. They are more alike than different. I use both, all the time, for different things. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Dec 1 15:00:28 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 01 Dec 2006 14:00:28 -0600 Subject: Matchtext script results In-Reply-To: <456FF2ED.7060102@spl21.net> References: <456F641C.9070607@hyperactivesw.com> <456FF2ED.7060102@spl21.net> Message-ID: <457089DC.20403@hyperactivesw.com> John Craig wrote: > Jeez! Did the office lights dim and flicker when you ran the regex > version? No, but I was testing during the daytime so it was hard to tell. :) I am pretty sure it was slower because of the complex structure of the pattern, but it was still cool that you could write it. That's more than I can say for my regex capabilities. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikeythek at gmail.com Fri Dec 1 15:08:53 2006 From: mikeythek at gmail.com (Mikey) Date: Fri, 1 Dec 2006 15:08:53 -0500 Subject: Galaxy Install Message-ID: <9b408d8e0612011208g721c106ald7453d52c0979570@mail.gmail.com> So I managed to pull a complete brain-fart here and apparently Jerry is busy, as he hasn't responded to my request for some help yet. I was sent a username and password to download and install Galaxy, which I did. However, it appears that the only change in my setup is the addition of a "My Revolution Studio" folder in the "My Documents" folder. Did I miss something that I have to do to make this work? Thanks. Mike. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mikeythek at gmail.com Fri Dec 1 15:10:48 2006 From: mikeythek at gmail.com (Mikey) Date: Fri, 1 Dec 2006 15:10:48 -0500 Subject: Galaxy Value Proposition Message-ID: <9b408d8e0612011210t2515bc5dr813345071a5c673d@mail.gmail.com> Along with the attempt to toy with Galaxy, I sent a message to the group a week ago asking why Galaxy is worthwhile. Jerry responded with a trial username and password so I could mess with it, but I don't recall anywhere seeing the "this is why you HAVE to use Galaxy", so I was hoping that a couple of Galaxy Fanbois would talk about it. If nothing else I was hoping that Galaxy's script editor would make me stop wanting to hack RR's. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From wjm at wjm.org Fri Dec 1 15:17:01 2006 From: wjm at wjm.org (Bill Marriott) Date: Fri, 1 Dec 2006 15:17:01 -0500 Subject: Fun Project: xTalk GUID Generator References: Message-ID: Right... and the RFC I linked to specifically covers the issue of generating GUIDs when the resolution of the system clock is not as high. I just was countering the "standards" swipe someone made at Microsoft ;) Now, several posts later we still don't have an xTalk GUID generator! -LOL- Is anyone up to the task? Or at least able to translate all the language in that RFC? Dick Kriesel wrote > Since no one will be converting GUIDs back to seconds, accuracy doesn't > matter for this purpose, right? From mikeythek at gmail.com Fri Dec 1 15:32:50 2006 From: mikeythek at gmail.com (Mikey) Date: Fri, 1 Dec 2006 15:32:50 -0500 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <45708908.4000107@hyperactivesw.com> References: <456BCB4F.3040203@fourthworld.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <456F156E.5000304@hyperactivesw.com> <9b408d8e0612010429u9108260j44601d26858dd8ab@mail.gmail.com> <45708908.4000107@hyperactivesw.com> Message-ID: <9b408d8e0612011232m1b61cf7dj64422fefc62bfb91@mail.gmail.com> > MetaCard was the original product until Runtime took over. Now it is > just another alternate IDE, though as you mention, the GUI is less > elaborate. But everything that can be done in Rev can also be done in MC > because the engine is the same, and in some cases, the GUI is similar as > well. They are more alike than different. I use both, all the time, for > different things. Since I clearly know zero about MC, give me an example of why I would use MC instead of RR. I'm also assuming that the file formats are different, right? Also, isn't MC freeware now? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Fri Dec 1 15:46:32 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Dec 2006 12:46:32 -0800 Subject: Message Box appears Message-ID: <457094A8.8070408@fourthworld.com> Stephen Barncard wrote: > just for the record, Jerry Daniel's Galaxy has a feature where you put > > *put > > into the search field and it will find all the 'dangling puts'. Use > it all the time. And then there's always "Bang! What? Hmmm...": -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From chipp at chipp.com Fri Dec 1 15:58:13 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 1 Dec 2006 14:58:13 -0600 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <45708908.4000107@hyperactivesw.com> References: <456BCB4F.3040203@fourthworld.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <456F156E.5000304@hyperactivesw.com> <9b408d8e0612010429u9108260j44601d26858dd8ab@mail.gmail.com> <45708908.4000107@hyperactivesw.com> Message-ID: <7aa52a210612011258y6dabd331vbfcef6b30b48cbe3@mail.gmail.com> Mikey, and other lurkers. Here's a quick history on the whole MC vs RR thing. MetaCard originally owned all the technology. It basically breaks into 2 parts: the engine and the IDE. Unlike HyperCard and SuperEdit (not SuperCard), the MC IDE was completely written in Transcript (or at that time MetaTalk). Scott Raney (the original programmer and owner of MetaCard) decided to let users create their own add-ons to the brute simple MC IDE. He did this for a couple of reasons: 1) He knew he wasn't an interface designer and didn't really like to spend time working on GUI for the IDE when he could be adding functionality to the engine; 2) He wanted the IDE to be as simple as possible-- and therefore as bug-free as possible. In fact, Scott claimed he never would ship even a dot upgrade for MetaCard (engine and IDE) with ANY known bugs. To my knowledge, he accomplished this. To this day, the open source version of the MC IDE is still maintained, and very much alive. Many of the old-timers still use it, including Richard Gaskin, Ken Ray, Jaque Landman Gay, Klaus Major and Scott Rossi-- to name a few. Virtually all of them have crafted their own interfaces for it, inclucding Richard's own devolution: Along came CrossWorlds from Scotland. Kevin Miller, an ace MetaCard programmer, created a stunning IDE for it and secured some marketing rights for the MetaCard engine, bundled it all and called it Revolution. At the time, many of us owned both MetaCard and Rev. Kevin priced his version considerably less than MetaCard: $299 vs $999. He sold quite a few and also did a great job marketing it. He formed Runtime Revolution the company which sold Revolution the product. In the years since, RR purchased the IP for the engine from Scott, kept him on as a consultant and the rest is pretty much history. If any of this is incorrect, please- anyone- correct me. best, Chipp From ambassador at fourthworld.com Fri Dec 1 16:03:42 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Dec 2006 13:03:42 -0800 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 Message-ID: <457098AE.8020800@fourthworld.com> Regarding MetaCard, Mikey wrote: > I'm also assuming that the file formats are different, right? MetaCard was one the name used for the whole product, engine and IDE. Since RunRev Ltd. acquired the engine, the name "MetaCard" now only applies to the MetaCard IDE, which was donated to the community for continued maintenance under and open source license (X11). Any IDE us just a collection of stacks, and as such can have no control over the file format used by the engine. > Also, isn't MC freeware now? The MetaCard IDE stack files are indeed open source. MC's home is at: Like any other stack files, the MC IDE's license in no way affects the license of the Revolution engine needed to run it. So while the IDE is open source, the engine remains the proprietary property of RunRev Ltd., and is subject to the terms and conditions of their license. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From chipp at chipp.com Fri Dec 1 16:06:05 2006 From: chipp at chipp.com (Chipp Walters) Date: Fri, 1 Dec 2006 15:06:05 -0600 Subject: Morfik In-Reply-To: References: <456BCB4F.3040203@fourthworld.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <7aa52a210611300958r70720fbdjae4f7b7db0af38e3@mail.gmail.com> <9b408d8e0611301031n3739544dm36089e18b1f49535@mail.gmail.com> <7aa52a210611302139w88b1619rad9673c64211c6b3@mail.gmail.com> Message-ID: <7aa52a210612011306q352c677ak17cbebee4921741a@mail.gmail.com> Or... putting it another way... You'd think in this day and age, Apple would make Safari a compliant browser, especially since Mozilla Firefox is open source, works on Macs and complies to the latest standards (perhaps it may even be considered the standard at this point). Guess it depends upon one's viewpoint. ;-) On 12/1/06, Stephen Barncard wrote: > > > In this day and age it's silly for a company to pretend the mac user > base doesn't exist.. I mean their product should at least create > SITES that Safari can render! > > > From tg_lists at geistinteractive.com Fri Dec 1 16:08:36 2006 From: tg_lists at geistinteractive.com (Todd Geist) Date: Fri, 1 Dec 2006 13:08:36 -0800 Subject: Fun Project: xTalk GUID Generator In-Reply-To: References: Message-ID: On Dec 1, 2006, at 12:17 PM, Bill Marriott wrote: > > > Now, several posts later we still don't have an xTalk GUID > generator! -LOL- > Is anyone up to the task? Or at least able to translate all the > language in > that RFC? I know the point is to build one with xTalk, but you can doit with Shell on the mac and this VBS on the PC FUNCTION CreateGUID() set x = createobject("Scriptlet.TypeLib") CreateGUID=left(x.GUID,38) END FUNCTION Can you run a VBScript from Revolution? Todd -- Todd Geist ______________________________________ g e i s t i n t e r a c t i v e From eric.chatonet at sosmartsoftware.com Fri Dec 1 16:14:57 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 1 Dec 2006 22:14:57 +0100 Subject: Message Box appears In-Reply-To: References: <45707DD0.2020301@pdslabs.net> Message-ID: Hello, For all who don't have Galaxy, I have uploaded last year a stack on RevOnline: User: sosmartsoftware Stack: Smart Script Search Description: This utility parses all scripts in any open stack searching for lines of code where any string is present AND any another one is absent. Its main purpose, but it's configurable, is to find orphan puts... Best Regards from Paris, Eric Chatonet Le 1 d?c. 06 ? 20:28, Stephen Barncard a ?crit : > just for the record, Jerry Daniel's Galaxy has a feature where you put > > *put > > into the search field and it will find all the 'dangling puts'. Use > it all the time. > >> Hi Jim and all, >> >> IMHO, you guys are making it too hard. >> >> I've intentionally developed a habit of always putting test info >> '& cr after msg'. Then when I'm done, I can easily find all >> occurrences of 'after msg' and delete'em. ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From scott at tactilemedia.com Fri Dec 1 16:18:43 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 01 Dec 2006 13:18:43 -0800 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <9b408d8e0612011232m1b61cf7dj64422fefc62bfb91@mail.gmail.com> Message-ID: Recently, Mikey wrote: >> MetaCard was the original product until Runtime took over. Now it is >> just another alternate IDE, though as you mention, the GUI is less >> elaborate. But everything that can be done in Rev can also be done in MC >> because the engine is the same, and in some cases, the GUI is similar as >> well. They are more alike than different. I use both, all the time, for >> different things. > Since I clearly know zero about MC, give me an example of why I would > use MC instead of RR. The best reasons are those written about in the past: the simple, minimal interface, while perhaps not the most attractive, is functional, fast, and pretty much stays out of your way. It's a bare bones approach. Some have argued this allows you to focus more on stack development. > I'm also assuming that the file formats are different, right? No. Again, it's just an IDE, a means to edit stacks, that runs using the same engine as Revolution, just without the bells and whistles of Revolution's IDE. You can edit stacks in both environments, but Revolution's IDE employs some custom stack properties that MC ignores. Personally, the only reason I don't use MC now is because I develop stacks that need to coexist with Rev's IDE, so I need to deal. But as someone who started in "what-was-Revolution-before-there-ever-was-a-Revolution", I would say MC is a very useful front end for development. FWIW. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Fri Dec 1 16:25:06 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 01 Dec 2006 13:25:06 -0800 Subject: Problem creating set of variables In-Reply-To: Message-ID: Recently, Jim Ault wrote: > I think you are correlating > > put empty into fld ("myName" & x) > --to-- > put empty into ("myVar" & x) > > In both cases, Rev resolves the parens to a string, thus the second one does > not make sense. Just FYI... Jim's right: the latter doesn't work as written, but you can *make* it work using the do construct: do "put empty into myVar" & x Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From lists at mangomultimedia.com Fri Dec 1 16:27:12 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 1 Dec 2006 13:27:12 -0800 Subject: Galaxy Install In-Reply-To: <9b408d8e0612011208g721c106ald7453d52c0979570@mail.gmail.com> References: <9b408d8e0612011208g721c106ald7453d52c0979570@mail.gmail.com> Message-ID: <75990FA5-4171-4FA4-8F8B-48E7953B0A95@mangomultimedia.com> On Dec 1, 2006, at 12:08 PM, Mikey wrote: > However, it appears that the only change in my setup is > the addition of a "My Revolution Studio" folder in the "My Documents" > folder. Did I miss something that I have to do to make this work? Hi Mikey, Does the "My Revolution Studio" folder have anything in it after running the Galaxy installer? What you should get after running the installer is something like "./My Revolution Studio/plugins/Galaxy Studio Startup.rev". The actual path and Galaxy filename depend on what version of Rev you are running and what version of Galaxy you installed. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From mark at maseurope.net Fri Dec 1 16:40:08 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 1 Dec 2006 21:40:08 +0000 Subject: Fun Project: xTalk GUID Generator In-Reply-To: References: Message-ID: <58C8796C-B275-4D4D-B03C-EA3155EDB260@maseurope.net> On 1 Dec 2006, at 20:17, Bill Marriott wrote: > > Now, several posts later we still don't have an xTalk GUID > generator! -LOL- > Is anyone up to the task? Or at least able to translate all the > language in > that RFC? > This my type 4 generator, based on the idea that 122 random bits is no different to 60 + 14 + 48 random bits. function getRandomUUID repeat 128 put random(2) - 1 after tBits end repeat put "0100" into char 49 to 51 of tBits put "10" into char 79 to 80 of tBits repeat with n = 1 to 125 step 4 put baseConvert(char n to n+3 of tBits,2,16) after tHexString end repeat put "-" after char 20 of tHexString put "-" after char 16 of tHexString put "-" after char 12 of tHexString put "-" after char 8 of tHexString return tHexString end getRandomUUID I suspect it's not really bona-fide :) Mark From mwieder at ahsoftware.net Fri Dec 1 16:41:54 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Dec 2006 13:41:54 -0800 Subject: Galaxy Value Proposition In-Reply-To: <9b408d8e0612011210t2515bc5dr813345071a5c673d@mail.gmail.com> References: <9b408d8e0612011210t2515bc5dr813345071a5c673d@mail.gmail.com> Message-ID: <6694076615.20061201134154@ahsoftware.net> Mikey- Friday, December 1, 2006, 12:10:48 PM, you wrote: > If nothing else I was hoping that Galaxy's script editor would make me > stop wanting to hack RR's. Well, it got *me* to stop hacking the script editor... and the variable window... and the debugger... and the property editor... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Dec 1 16:47:04 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Dec 2006 13:47:04 -0800 Subject: Fun Project: xTalk GUID Generator In-Reply-To: References: Message-ID: <14994386049.20061201134704@ahsoftware.net> Bill- Friday, December 1, 2006, 12:17:01 PM, you wrote: > Right... and the RFC I linked to specifically covers the issue of generating > GUIDs when the resolution of the system clock is not as high. I just was > countering the "standards" swipe someone made at Microsoft ;) That would be me. And yes, as long a you can generate a long unique pseudorandom number, the algorithm doesn't much matter. Except in the case where it can be traced back to the originator, as in the case with the unsecure Microsoft guid generator. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Dec 1 17:11:31 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 01 Dec 2006 16:11:31 -0600 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <9b408d8e0612011232m1b61cf7dj64422fefc62bfb91@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <456F156E.5000304@hyperactivesw.com> <9b408d8e0612010429u9108260j44601d26858dd8ab@mail.gmail.com> <45708908.4000107@hyperactivesw.com> <9b408d8e0612011232m1b61cf7dj64422fefc62bfb91@mail.gmail.com> Message-ID: <4570A893.8010904@hyperactivesw.com> Mikey wrote: >> MetaCard was the original product until Runtime took over. Now it is >> just another alternate IDE, though as you mention, the GUI is less >> elaborate. But everything that can be done in Rev can also be done in MC >> because the engine is the same, and in some cases, the GUI is similar as >> well. They are more alike than different. I use both, all the time, for >> different things. > Since I clearly know zero about MC, give me an example of why I would > use MC instead of RR. Well, I'm guessing most people wouldn't use the MC IDE, since Rev is more polished and has more features to help newcomers, but I can give a few of my own reasons. Because the IDE is much simpler, it responds much faster. Appearance of palettes, help text, and dialogs is intantaneous. I use MC almost exclusively when laying out the objects in a new stack because I don't like waiting for Rev's property inspector to change panes and do its little resizing dance. I can click and set object properties in an instant in the MC IDE, and they seem better organized to me (but that's probably just what I'm used to.) The down side: only a few of the most commonly-used properties are in the MC property palettes. If you want the less common ones, you need to already know what those are and type the setting into the message box (or write your own inspector.) MC assumes a certain degree of familiarity with the language, so it isn't ideal for newcomers. When I need to edit or inspect every control on a card, I prefer MC's control browser, which is very simple and only displays the controls on the current card of the selected stack. It lets me change the layering of objects directly without accessing the property inspector (very handy.) Again, speed is a part of my preference here because accessing properties via the MC control browser is instant. The down side: there is no overall view of the stack's objects and hierarchy. You have to already know it. Sometimes I need one view, sometimes the other. I flip back and forth between MC and Rev for that. (See dangerous disclaimer below.) I use the MC IDE when I want to avoid all the front- and backscripts that Rev inserts. When I'm debugging, it is sometimes easier to just remove all the extra stuff and deal exclusively with my own scripts. Rev sends a constant stream of specialized messages in the background, and sometimes I don't want those. MC keeps the messaging to a minimum. Also, the debuggers respond slightly differently to some errors. Sometimes I can get more info debugging in MC than I can in Rev (or vice versa.) So if a particular bug hangs up the debugger in one, I switch to the other. The MC script editor is faster to type into and doesn't use any HTML at all. (On the other hand, it doesn't auto-complete for you.) It doesn't store a duplicate copy of my script as htmlText, but rather colorizes scripts on the fly when they open. I don't like how pasting into the Rev editor inserts styled text, which requires me to make a special trip to the font menu to remove the styling. The MC editor converts all my text to plain, unstyled text without me doing anything, which duplicates the HC experience for me and is what I'm used to. Some people prefer htmlText, so they wouldn't like this. One thing I miss in the MC editor is the ability to see the list of handlers in a convenient column. In MC, the handler list is in a menu, which is difficult to navigate in long scripts. I'd say the trade-off in the script editors is about 50/50 for me; Rev's feature set is more advanced, but MC's plain text and speed are better. The MC standalone builder is extremely minimal. I like Rev's much better, so I move to Rev to build standalones. To build a standalone in MC, you need to be responsible for all the details and it is a much more manual process. So points to Rev on this one. Basically, you'd like the MC IDE if you understand the language thoroughly, like being in complete control of how it behaves, and enjoy being a down in the dirt geek who likes speed and minimalism. After all, it was originally written by a unix geek, and that's sort of what they were all about. ;) > > I'm also assuming that the file formats are different, right? No, they are identical. They use the same engine and read/write the same files. I sometimes have the same stack open in both IDEs simultaneously (dangerous, don't try this at home.) I only mention my schizophrenia to show that the files are identical and can be used interchangeably in either app. > > Also, isn't MC freeware now? The MC IDE is open source and free, but you must have a licensed version of Revolution to use it. What you do is download the IDE (which is just a couple of stacks) and move a copy of your licensed Revolution engine into the IDE. In the past, you could not use the MC IDE without an Enterprise license. I don't know if this has changed, but I suspect that's still the case, which may make all this moot for you anyway if you are a Studio or Media user. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From janschenkel at yahoo.com Fri Dec 1 17:19:12 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 1 Dec 2006 14:19:12 -0800 (PST) Subject: revQueryDatabase / revCurrentRecord In-Reply-To: <20061201124213.50512488DBF@mail.runrev.com> Message-ID: <20061201221912.9102.qmail@web60511.mail.yahoo.com> --- baleareninsel at gmx.net wrote: > Hol? everybody > > As a new member of the RunRev users I try to learn > for buildng up a running Aplication. I?m using the > actual Studio-version > > Since 3 weeks now I try to find out, how to get a > field from a MySQL-Database into a variable without > any success. Now I ask anybody of you to give me a > helpfull hand. > > What I do is: > Put rev_dbconnect ("mySQL", "localhost", > "mytest_DB", "root",) into DB_ID > put revQueryDatabase (DB_ID, "SELECT * from Table_1 > where Number = 2") into var_1 ## Number is the first > Field in the Table Table_1 which is ok > Put revCurrentRecord (var_1) into var_2 ## Var_2 is > always 0 (Zero) doesn?t matter which Number I > select. Why??? > > Now I think next would be: > put field_2 into Variable_1 ## field_2 is a field in > the DB > > But that does not work. > > Please, for you it?s just a moment for me sonce now > hours and days to solve this problem > > Thank you in advanced > > Horst Peters > Hi Horst, You're on the right track but seem to make a few assumptions that make me think you're coming from a Filemaker or FoxPro background ;-) When you connect to the database, you receive a connection ID (good) that you can use to read data from the database or manipulate the data stored therein. There are two functions for getting information out of the database: 1) The first function is 'revDataFromQuery', which returns a single variable, with the selected fields of the records that fit the criteria in your SQL query. Example: ## put "SELECT cust_id,cust_name FROM Customers" into tQuery put revDataFromQuery(return,tab,tConnectionID,tQuery) into tData put tData into field "Table Field" ## You would have a return-and-tab-delimited list like this: 000001Jane Doe 000002Jeff Doe 000003John Doe ... This function is great if you're looking to display some data easily and quickly. But it would be hard to parse out individual fields, and that's where the next function comes to play. 2) The second function is 'revQueryDatabase', which executes the query and returns a cursor ID - this doesn't contain the data itself, but rather an identifier for a result set - a collection of records. To determine how many records there are and which is the current one - revNumberOfRecords() - revCurrentRecord() To navigate the records in the result set, you use the commands: - revMoveToFirstRecord - revMoveToPreviousRecord - revMoveToNextRecord - revMoveToLastRecord To determine what fields are in those records, you use: - revDatabaseColumnCount() - revDatabaseColumnNames() To fetch the individual fields of the current record, you use: - revDatabaseColumnNumbered(,) - revDatabaseColumnNamed(,) To release the result set from memory, you use: - revCloseCursor It is important to understand that Revolution is blissfully unaware of the data in record sets, and doesn't automatically map field names onto variable names So you'll have to use the last two functions to get the data from the current record and put it into a variable for further processing. So going back to the previous example: ## put "SELECT cust_id,cust_name FROM Customers" into tQuery put revQueryDatabase(tConnectionID,tQuery) into tCursorID put revDatabaseColumnNamed(tCursorID,"cust_id") into tCustID put revDatabaseColumnNamed(tCursorID,"cust_name") \ into tCustName answer "Customer ID:" && tCustID & return & \ "Customer Name:" && tCustName -- do various other things with the data in the cursor -- ... -- release the used resources revCloseCursor tCursorID ## After reading the two fields from the current record in the result set, you display an answer dialog box, which would display something like: Customer ID: 000001 Customer Name: Jane Doe -- Another important thing to note is that you cannot modify the records that are in the result set - you'll need to use separate INSERT, UPDATE and DELETE queries to modify what's in the database. To do that, you'll use the 'revExecuteSQL' command. For more information, the Revolution User Guide describes the intricacies of database interaction - starting on page 218. You can access the User Guide from the Revolution Documentation - it's a long PDF document well worth the time to read. The latest version of the guide can be downloaded from this URL: Of course, if anything is unclear, don't hesitate to ask your question on this mailing list or the forum. We're all here to help. Hope this helped, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com From kray at sonsothunder.com Fri Dec 1 17:32:51 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 01 Dec 2006 16:32:51 -0600 Subject: Fun Project: xTalk GUID Generator In-Reply-To: Message-ID: On 12/1/06 3:08 PM, "Todd Geist" wrote: > I know the point is to build one with xTalk, but you can doit with > Shell on the mac and this VBS on the PC > > FUNCTION CreateGUID() > set x = createobject("Scriptlet.TypeLib") > CreateGUID=left(x.GUID,38) > END FUNCTION > > Can you run a VBScript from Revolution? Absolutely! See: http://www.sonsothunder.com/devres/revolution/tips/iac002.htm About the middle of the page... The downside is that certain virus software (like Norton) will stop a VBS file from running if it thinks it's potentially going to do some damage. Anything that touches Scripting.FileSystemObject will trigger it, and it turns out that this triggers it as well. However, it can easily be wrapped in a VB DLL to bypass the trigger... Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From sarah.reichelt at gmail.com Fri Dec 1 19:31:00 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 2 Dec 2006 10:31:00 +1000 Subject: Galaxy Value Proposition In-Reply-To: <9b408d8e0612011210t2515bc5dr813345071a5c673d@mail.gmail.com> References: <9b408d8e0612011210t2515bc5dr813345071a5c673d@mail.gmail.com> Message-ID: On 12/2/06, Mikey wrote: > Along with the attempt to toy with Galaxy, I sent a message to the > group a week ago asking why Galaxy is worthwhile. Jerry responded > with a trial username and password so I could mess with it, but I > don't recall anywhere seeing the "this is why you HAVE to use Galaxy", > so I was hoping that a couple of Galaxy Fanbois would talk about it. > > If nothing else I was hoping that Galaxy's script editor would make me > stop wanting to hack RR's. There is so much in Galaxy that not everyone will agree with my estimation of what is most valuable, but here goes: Tabbed editing (scripts & properties) Editing everything in a single window Hypertext linking to Rev terms and to your own handlers Being able to alter the common properties from a contextual menu (you can set what appears in this menu) I think you really have to try it. It will change the way you work in Rev. Cheers, Sarah From sarah.reichelt at gmail.com Fri Dec 1 19:35:30 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 2 Dec 2006 10:35:30 +1000 Subject: USB/Serial issue In-Reply-To: References: Message-ID: Did you try "put the driverNames" Note the "the" in there to tell Rev you are looking for a property, not a variable. If that doesn't work (and I haven't tried it on Windows), then I think you can just try "COM1:", "COM2:" etc. Cheers, Sarah On 12/2/06, runrev at animabit.de wrote: > Hello, > > Working on windows. > The function "put driverNames" is not usable on windows. > => Where to get the driverName usable in runrev with the directive "open driver xyz"? > > Perhaps there is a solution for runrev on windows with the open driver syntax, but where can I get the driver name from? > > Regards, Franz > Mit freundlichen Gr??en > Franz B?hmisch From m.schonewille at economy-x-talk.com Fri Dec 1 19:51:58 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 2 Dec 2006 01:51:58 +0100 (MET) Subject: Passing Values to RunRev from an AppleScript In-Reply-To: <88526C1A-32DE-4FBD-8C12-239C78FC9767@azurevision.co.uk> References: <88526C1A-32DE-4FBD-8C12-239C78FC9767@azurevision.co.uk> Message-ID: <400E1EB4-507F-489D-BA86-1C7D22E37630@economy-x-talk.com> it is not necessary to split up a script, because you can send transcript commands from within AppleScript to Revolution, as I showed in an earlier mail Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 1-dec-2006, om 20:44 heeft Ian Wood het volgende geschreven: > > On 1 Dec 2006, at 17:35, Ken Ray wrote: > >> Just curious: What are you having AppleScript do that you want to get >> results back in the middle the executing AppleScript? > > Seconded. Is there a reason why you can't split it up into more > than one script? From mikeythek at gmail.com Fri Dec 1 19:53:02 2006 From: mikeythek at gmail.com (Mikey) Date: Fri, 1 Dec 2006 19:53:02 -0500 Subject: Morfik In-Reply-To: <7aa52a210612011306q352c677ak17cbebee4921741a@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <7aa52a210611300958r70720fbdjae4f7b7db0af38e3@mail.gmail.com> <9b408d8e0611301031n3739544dm36089e18b1f49535@mail.gmail.com> <7aa52a210611302139w88b1619rad9673c64211c6b3@mail.gmail.com> <7aa52a210612011306q352c677ak17cbebee4921741a@mail.gmail.com> Message-ID: <9b408d8e0612011653l5bd63b7fr5f00b8b76ca24336@mail.gmail.com> > You'd think in this day and age, Apple would make Safari a compliant > browser, especially since Mozilla Firefox is open source, works on Macs and > complies to the latest standards (perhaps it may even be considered the > standard at this point). Hey, Chipp, I don't know why Morfik doesn't work on Safari. They (Morfik) says it's a bug, but I don't know enough about it to comment one way or the other. Granted Safari is in a teeny-ish minority (I believe somewhere around 10% at last count, if I recall correctly), and Opera, FF, and IE (and I believe that BumperCar, Camino and iCab do, too, although I think BumperCar and Camino are both based on FF's codebase) all seem to work, but I guess without knowing why there is a problem I don't know if we can say one way or another that it's Apple's fault. You would think they would go out of their way to behave in a similar way to the others, but I'm not sure why they don't. There may be a really good design reason. Regardless, Morfik claims they're going to fix the Safari issue shortly. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mikeythek at gmail.com Fri Dec 1 20:01:20 2006 From: mikeythek at gmail.com (Mikey) Date: Fri, 1 Dec 2006 20:01:20 -0500 Subject: Galaxy Install In-Reply-To: <75990FA5-4171-4FA4-8F8B-48E7953B0A95@mangomultimedia.com> References: <9b408d8e0612011208g721c106ald7453d52c0979570@mail.gmail.com> <75990FA5-4171-4FA4-8F8B-48E7953B0A95@mangomultimedia.com> Message-ID: <9b408d8e0612011701y7f3cf841ra37d205254507abf@mail.gmail.com> Trevor, Yes, I have that. However, when I fire up Media or Studio, and open the script editor, nothing looks any different to me. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From userev at canelasoftware.com Fri Dec 1 20:04:34 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 01 Dec 2006 17:04:34 -0800 Subject: Galaxy Value Proposition In-Reply-To: <9b408d8e0612011210t2515bc5dr813345071a5c673d@mail.gmail.com> References: <9b408d8e0612011210t2515bc5dr813345071a5c673d@mail.gmail.com> Message-ID: <1F51E583-47BC-4CF1-82B5-ED7445C06589@canelasoftware.com> On Dec 1, 2006, at 12:10 PM, Mikey wrote: > Along with the attempt to toy with Galaxy, I sent a message to the > group a week ago asking why Galaxy is worthwhile. Jerry responded > with a trial username and password so I could mess with it, but I > don't recall anywhere seeing the "this is why you HAVE to use Galaxy", > so I was hoping that a couple of Galaxy Fanbois would talk about it. > > If nothing else I was hoping that Galaxy's script editor would make me > stop wanting to hack RR's. Here is what I like about the Galaxy: Finally we have a script editor that is functional and clean. It just works! Mark Talluto -- CANELA Software http://www.canelasoftware.com From mikeythek at gmail.com Fri Dec 1 20:35:40 2006 From: mikeythek at gmail.com (Mikey) Date: Fri, 1 Dec 2006 20:35:40 -0500 Subject: Galaxy Install In-Reply-To: <9b408d8e0612011701y7f3cf841ra37d205254507abf@mail.gmail.com> References: <9b408d8e0612011208g721c106ald7453d52c0979570@mail.gmail.com> <75990FA5-4171-4FA4-8F8B-48E7953B0A95@mangomultimedia.com> <9b408d8e0612011701y7f3cf841ra37d205254507abf@mail.gmail.com> Message-ID: <9b408d8e0612011735t1320c0eduac8521a39f528f24@mail.gmail.com> OK, I think I figured out how to get it to open (I had to manually open it, which is weird, but whatever). Anyway, what's the difference between the "free" and the "paid" versions? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mikeythek at gmail.com Fri Dec 1 20:43:14 2006 From: mikeythek at gmail.com (Mikey) Date: Fri, 1 Dec 2006 20:43:14 -0500 Subject: Uh oh, I think I Broke Something Message-ID: <9b408d8e0612011743o757bac7fr8f99c68798999666@mail.gmail.com> Continuing on my tour of adventure, I'm trying to use Galaxy. The only way that Galaxy seems to start is if I open the "Galaxy Studio Startup" stack manually. However, then it appears that clicking on the edit cursor icon or the box causes me to be in some sort of weird mode where I'm also editing the Galaxy stacks. I do not seem to be able to overcome this obstacle at this time. Suggestions? From briany at qldlearning.com Fri Dec 1 22:19:51 2006 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 1 Dec 2006 19:19:51 -0800 Subject: Morfik In-Reply-To: <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> Message-ID: <0E61D207-20E8-41BD-B277-AB13CAE694D9@qldlearning.com> What's with the Apple bashing, really? Mozilla is NOT the standard, the standard is the standard. Konqueror (on which Safari is based) is open source also, and no less compliant. Opera is probably the most compliant browser out there, and Safari was the first to pass the Acid2 test. There are no compliant browsers, period. Opera, FireFox and Safari all have high levels of compatibility but they aren't all the same. As a result, it still matters what browsers you test against. About the only certain thing is that you'll spend at least half of your time dealing with IE if you hope to be browser independent. Compliancy definitely has a lot of gray area because it's hideously complex to achieve, but saying that you'd expect Apple to produce something that nobody else has sounds like sour grapes. Even though it's a tired subject, it's also pretty hard to ignore the impact of IE pretty much destroying the efficiency of web developers seeking browser independence. > Or... > putting it another way... > > You'd think in this day and age, Apple would make Safari a compliant > browser, especially since Mozilla Firefox is open source, works on > Macs and > complies to the latest standards (perhaps it may even be considered > the > standard at this point). > > Guess it depends upon one's viewpoint. ;-) > From briany at qldlearning.com Fri Dec 1 22:30:15 2006 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 1 Dec 2006 19:30:15 -0800 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> Message-ID: > I'll say it again as far as them being "similar". 1) Graphical form > editor - Morfik only. 2) PDF report output - Morfik only (this is a > bit unfair since you can't draw the forms in GWT anyway, but it's a > very neat trick for me). 3) Languages - GWT is Java only, Morfik is > Java, C#, Basic, and Pascal, and if I have my way some xTalk > variation, but who am I? 4) Tightly integrated database design, > interaction, and output - Morfik only. 5) Tightly integrated web > server - Morfik only. 6) Cost - GWT - free as in beer, Morfik - Free > for non-commercial use, $17xx until sometime (next March?), then > $5,000 (at least that's what they're saying right now) No doubt they have different features. I'm just saying they are targeting the same market. I'm sure GWT has some features that Morfik doesn't as well, but maybe the distinction is that GWT is in fact more of a low-level tool then Morfik which is more RAD-oriented. I can buy that. > As far as threatening suit, I'm relatively sure that Linux isn't very > similar to Windoze, regardless of what you think of KDE or Gnome, yet > M$ is claiming that Linux incorporates Windoze IP. How many suits > have there been over iPods and other music players? Do you really > think those competitors are the same thing? I'm just commenting on the speculation that Google actually either a) stole their IP, or actually b) licensed the technology directly. Hey it's all speculation. All that is for sure is that Morfik is trying to patent their JWT technology, and much of the tech community sees it as frivolous and possibly desperate to keep Google out of the game. Neither of use know if there actually will be any lawsuits, or what relation exactly the technology has. But obviously a lot of people DO see them as competitors with similar technology. Are you telling me now that iPods and other MP3 players aren't actually similar products? > The sales pitch is simpler than the reality. You CAN tie it all > together. However, you also have the option of using external data > sources (that's discussed in the Professional literature, I believe), > or cranking a server farm. The last one was detailed on somebody's > web site recently. Salesforce? I don't remember whose. Sounds good. After much digging, you can find some vague references on the site to Linux and MacOS options in the future. Looks to me like Morfik really needs to improve the information on their site. It's nearly impossible to find any clear information, or else I'm just blind. And I'm not the only one- there are references all over the net to people turned off by the Windows-only appearance. So, the truth does sound much better to me. Totally improves my view of the product. If you're in their program, you might mention that people are having trouble figuring this stuff out from their website. Too many buzz words and no straight information! Regards, Brian From jerry at hytext.com Fri Dec 1 22:36:25 2006 From: jerry at hytext.com (Jerry Muelver) Date: Fri, 01 Dec 2006 21:36:25 -0600 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <7aa52a210612011258y6dabd331vbfcef6b30b48cbe3@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <456F156E.5000304@hyperactivesw.com> <9b408d8e0612010429u9108260j44601d26858dd8ab@mail.gmail.com> <45708908.4000107@hyperactivesw.com> <7aa52a210612011258y6dabd331vbfcef6b30b48cbe3@mail.gmail.com> Message-ID: <4570F4B9.9060507@hytext.com> Chipp Walters wrote: > Mikey, and other lurkers. > > Here's a quick history on the whole MC vs RR thing. MetaCard originally > owned all the technology. It basically breaks into 2 parts: the engine and > the IDE. Unlike HyperCard and SuperEdit (not SuperCard), the MC IDE was > completely written in Transcript (or at that time MetaTalk). > > Scott Raney (the original programmer and owner of MetaCard) decided to let > users create their own add-ons to the brute simple MC IDE. 1997, I think, I was doing MetaCard heavily. 3000 cards covering operator help and training support, 4 product lines, everything translated into 6 languages. I remember everything being clickety-bop fast and solid, lots of scripts going to HTML and off to Workbench (computer-aided translation) and back again, global reformatting to add a text panel to every card to replace the (bad idea) audio track with auto-extracted text from the narration script -- in each language. I got away from it in 2000, and came back in 2005 to find the Revolution version had taken hold, when back in my day Revolution was just an upstart extra-cost IDE I never really thought I'd need. It's all kind of like doing serious work in Turbo Pascal 1.0, and coming back to find JBuilder in its place. Gives me mixed emotions, like seeing your mother-in-law drive off a cliff in your new Cadillac.... ---- Jerry Muelver From briany at qldlearning.com Fri Dec 1 22:40:39 2006 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 1 Dec 2006 19:40:39 -0800 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> Message-ID: <1BF9AFE5-AE16-4A09-B7D3-6C23EE137B95@qldlearning.com> > 3) It. Doesn't. Cost. $5,000. When you buy something on rebate, > and you take it back later, do they give you the list price? No? Why > was that? Oh, right. BECAUSE YOU PAID THE SALE PRICE. Rant about > the price when and if the price goes up. $5k is the list price. Yes, they are running a promotion. We get that. However, when evaluating technology I can't just weigh it against the best promo price ever available. What happens if I don't end up buying before the end of the promotion? What about down the road when I need upgrades, or new licenses? You can bet that if you form a long term relationship with the tool, you are going to end up spending $5 on a seat at some point. We can rant about the price going up, because it's extremely likely that it will. They've already published the intended price - you really think they don't intend on using it? The promo is great, but I see absolutely nothing wrong with factoring the $5k price into your own evaluation of the product. Hey, if you personally have a project where you know you're just going to pay the $1,700 that's great - but it doesn't necessarily apply to everyone else. If you want another analogy, should I evaluate a Compaq computer system on the Walmart blowout prices after Thanksgiving? Since they were selling for $400 instead of the normal $700, would it have been wrong for me to compare the system to others based on the $700 price tag? Or should I have just pretended for 24 hours that it was a "$400 product", even if I wasn't necessarily going to buy one that day? - Brian From JimAultWins at yahoo.com Fri Dec 1 22:53:17 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 01 Dec 2006 19:53:17 -0800 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: Message-ID: Agreed, Mark your email encouraged me to revisit an old issue On 12/1/06 11:31 AM, "Mark Schonewille" wrote: > Dave, Ken, > Apologies. Here is the correct solution, all AppleScript: > > tell application "Revolution" > do script "put \"Some Value\"" > end tell > > You could run a script to send a message to a progress bar, for example. ------- > it is not necessary to split up a script, because you can send > transcript commands from within AppleScript to Revolution, as I > showed in an earlier mail --------- ------ (working scripts appear below )----------------------- I have not tried this in a long time since 'do script' sent to Rev used to work in 2.2.1, then got broken for 2.5 and 2.6. I used other ways to workaround DO SCRIPT not functioning. Just tried it in 2.7.2 and got it to work. Bugzilla shows that DO SCRIPT was FIXED , very good news :-) [however an old bug still remains >>> After editing a script and clicking Apply, you need to go to the tool bar and change the mode (browse>pointer>browse) to get the appleEvent handler to listen properly. Very odd, but I found this 2 years ago in 2.2.1 Now make a change in the [ on appleEvent ] script container, apply, and it no longer works. Even if all you add to the script container is one space, then apply, it does not listen (silent failure, no error). This does not happen 100% of the time, but most always. Another bug ? > get the scripts below running OK, then click in the lower message box, select all, backspace to clear it, then click on your stack to make it the frontmost, then run Script Editor => does not work (silence). [1a] clear the msg box, stops working [1b]Click pointer mode, browse mode, and it works again [2] clear the msg box, stops working [2b] Cmd-S to save the stack (although you made no changes), and it works again In my production work I have avoided any dependence on Rev's DO SCRIPT. Too much money at risk. [PS - I am submitting to Bugzilla tonight ] Jim Ault Las Vegas ------ WORKING SCRIPTS BELOW------------------------ -- FOR BOTH SCRIPT EDITOR AND REV STACK SCRIPT ----Script Editor --simple script tell application "Revolution" do script "testHandlerA" activate end tell ------- Script Editor --repeat loop --watch word wrap try tell application "Finder" to set the source_folder to (folder of the front window) as alias on error -- no open folder windows set the source_folder to path to desktop folder as alias end try set the item_list to list folder source_folder without invisibles set source_folder to source_folder as string repeat with i from 1 to number of items in the item_list set this_item to item i of the item_list set this_item to (source_folder & this_item) as alias set this_info to info for this_item set the current_name to the name of this_info set dataToSend to the current_name tell application "Revolution" to do script (dataToSend) end repeat beep 2 source_folder & dataToSend ----Revolution 2.7.2 OSX 10.4.7 --New Mainstack, stack script, no other stacks open --[2] handlers on appleEvent p1, p2, p3 put cr& "APPLE EVENT RECEIVED " after msg request AppleEvent data put cr & p1&& p2 && p3 && it after msg if p1&p2 is "miscdosc" then request AppleEvent data put it into tData try --do tData send tData to me in 500 milliseconds catch errorMsg answer error "Unable to execute handler '"&tData&"'..." exit appleEvent end try exit appleEvent end if pass appleEvent end appleEvent on testHandlerA put cr& "You got here via AS !!! another fine functionality" after msg end testHandlerA From briany at qldlearning.com Fri Dec 1 22:55:49 2006 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 1 Dec 2006 19:55:49 -0800 Subject: Fun Project: xTalk GUID Generator In-Reply-To: <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> Message-ID: I think what makes the GUID spec so bewildering is the fact that GUID needs are highly application-specific. Your point is actually right on target. GUID generation is non- perfect and probabilistic. Just generating random data isn't really conceptually any worse, it just gives a much higher probability of conflicts, since random number generators aren't pure and can be influenced by things like the random seed, different machines, system shutdowns, etc. What the GUID spec does is create a system in which it's practically impossible (as opposed to theoretically impossible) to generate the same GUID twice. In order to do this it basically calls on a handful of different unique data and mashes it all together. It also strives for variation (since checking the IP address has nothing to do with generating a random number, for example) so that there is no one point of failure. But in the end, it's just the difference between "unlikely" and "super super super super super unlikely", and really it's the application that is going to define how many "super"s you need =). For the vast majority of applications, an incrementing counter or timestamp with a little app logic is all you need to get unique IDs for your uses. > From what I can dimly understand of the various versions of the > spec, there are time-based, name-based and random-based versions. > > All of them are built from 1 x 60 bit value, 1 x 14 bit value and 1 x > 48 bit value, plus 4 bits for the version id, and 2 bits for the > 'variant' (I haven't worked out exactly what that is, but apparently > it should be 1 0.) > > In the random version, each of these values (apart from the version > and variant) is generated randomly, or pseudo-randomly. > > So my naive question is, for the random version, what would be wrong > with simply generating a random sequence of 128 1s and 0s, sticking > the version and variant bits in the right places, and then > baseConverting the whole thing in groups of 4 to Hex digits. Add the > formatting dashes, and it's done. > > This is probably very naive indeed, perhaps someone here understands > the issues well enough to comment. From mikeythek at gmail.com Fri Dec 1 23:33:32 2006 From: mikeythek at gmail.com (Mikey) Date: Fri, 1 Dec 2006 23:33:32 -0500 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: References: <456BCB4F.3040203@fourthworld.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> Message-ID: <9b408d8e0612012033u48156889i2b2f6a0fdb69d83f@mail.gmail.com> > but maybe the distinction is that GWT is in fact > more of a low-level tool then Morfik which is more RAD-oriented. I > can buy that. That's the point I'm trying to make. It isn't that it's a bad thing. I use text editors to work on HTML, CSS etc. files, and I use RAD tools to build pages. It doesn't make one any better than the other, but they aren't similar. > I'm just commenting on the speculation that Google actually either a) > stole their IP, or actually b) licensed the technology directly. Hey > it's all speculation. All that is for sure is that Morfik is trying > to patent their JWT technology, and much of the tech community sees > it as frivolous and possibly desperate to keep Google out of the game. That could be, but as the discussion you pointed out mentioned, GWT didn't come out until six months after the Google guys were at Morfik's demo at the Web 2.0 conference last year. I believe that is admissible as evidence at trial if Morfik is indeed granted the patent they applied for. > Neither of use know if there actually will be any lawsuits, or what > relation exactly the technology has. But obviously a lot of people DO > see them as competitors with similar technology. Are you telling me > now that iPods and other MP3 players aren't actually similar products? As a person who has owned several, that's exactly what I'm saying. The fact that both play music, and both have either flash or mini hard drives does not make them similar. The market seems to agree. > Sounds good. After much digging, you can find some vague references > on the site to Linux and MacOS options in the future. Looks to me > like Morfik really needs to improve the information on their site. > It's nearly impossible to find any clear information, or else I'm > just blind. And I'm not the only one- there are references all over > the net to people turned off by the Windows-only appearance. Are you in the Pioneers program? If you were then you would already have access to all of this. By the way, I didn't mean to spring this on anyone, but I checked earlier this evening on the cross-platform issues, so a) Safari is listed as a bug, and is in the to-do list b) OSX binary is listed as a bug and is in the to-do list, and the Linux compatibility issue listed as "lab test", whatever that means. I can't tell you more since I'm not on the inside. > So, the truth does sound much better to me. Totally improves my view > of the product. If you're in their program, you might mention that > people are having trouble figuring this stuff out from their website. > Too many buzz words and no straight information! I agree that the vocabulary is difficult. Both they and Google throw around the word "Compiler" in a way that is completely unfamiliar to me, and I've written a couple (for example). Bringing all of this back to the original discussion, I would really like to see RR establish some sort of AJAX functionality, and not with a bunch of strap-on external puppies either. However I'm afraid that will be a couple of years down the road first. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mwieder at ahsoftware.net Sat Dec 2 00:30:54 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Dec 2006 21:30:54 -0800 Subject: USB/Serial issue In-Reply-To: References: Message-ID: <112122216548.20061201213054@ahsoftware.net> Sarah- Friday, December 1, 2006, 4:35:30 PM, you wrote: > Did you try "put the driverNames" The "drivernames" is documented as being OSX-only. -- -Mark Wieder mwieder at ahsoftware.net From briany at qldlearning.com Sat Dec 2 01:18:37 2006 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 1 Dec 2006 22:18:37 -0800 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> Message-ID: > That could be, but as the discussion you pointed out mentioned, GWT > didn't come out until six months after the Google guys were at > Morfik's demo at the Web 2.0 conference last year. I believe that is > admissible as evidence at trial if Morfik is indeed granted the patent > they applied for. Yeah - who knows. I'm not partial to either side, but of course it all depends on whether Morfik actually tries to use a patent against Google. > As a person who has owned several, that's exactly what I'm saying. > The fact that both play music, and both have either flash or mini hard > drives does not make them similar. The market seems to agree. I love an iPod as much as the next guy (and have owned two), but they are still similar products to other MP3 players. Sure I agree they are better, but yes - two products with the same hardware, same features, and competing for the same customer are as similar as it gets. How much similar can you be? But we digress... > Are you in the Pioneers program? If you were then you would already > have access to all of this. By the way, I didn't mean to spring this > on anyone, but I checked earlier this evening on the cross-platform > issues, so a) Safari is listed as a bug, and is in the to-do list b) > OSX binary is listed as a bug and is in the to-do list, and the Linux > compatibility issue listed as "lab test", whatever that means. I > can't tell you more since I'm not on the inside. No, because I don't want to join the pioneer's program in order to decide whether I'm interested in the product. They should really put up some more documentation on their website for all to see, IMO. This is probably mute for a lot of people because they have a free trial of the software, but it's Windows-only so I'm out of luck. I also found this nugget: "Employees and affiliates of Morfik Technology's competitors are not eligible to access information or obtain materials pertaining to Morfik's WebOS AppsBuilder software, its testing, or applying for its testing, and disclosing and/or using such information in any way that compromises the confidentiality of Morfik's publicly announced information or compromises Morfik's competitive position. Violations of these conditions will be prosecuted to the maximum extent possible under the law." Yikes. Sounds like if I joined the program and then wrote a Revolution-based AJAX / RAD add-on, there is a good chance Morfik would take me to court. No way I'm going to agree to a non-compete in order to join their pioneer program. Guess I have to pay $5k after all =). > I agree that the vocabulary is difficult. Both they and Google throw > around the word "Compiler" in a way that is completely unfamiliar to > me, and I've written a couple (for example). Yep. I know Morfik isn't any worse than anyone else with the buzz words, I just universally hate them =). > Bringing all of this back to the original discussion, I would really > like to see RR establish some sort of AJAX functionality, and not with > a bunch of strap-on external puppies either. However I'm afraid that > will be a couple of years down the road first. I would too. I actually think it's a quite doable project. Not small, but doable. It doesn't hurt that we could live on top of the existing Rev IDE and object properties. So I guess we probably aren't going to agree on a lot of the Morfik points, but that's ok. Unfortunately if I work on a Revolution solution, it looks like we could end up in court if you help =P... - Brian From chris at altuit.com Sat Dec 2 01:33:24 2006 From: chris at altuit.com (chris bohnert) Date: Sat, 2 Dec 2006 00:33:24 -0600 Subject: Morfik In-Reply-To: <0E61D207-20E8-41BD-B277-AB13CAE694D9@qldlearning.com> References: <456BCB4F.3040203@fourthworld.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <0E61D207-20E8-41BD-B277-AB13CAE694D9@qldlearning.com> Message-ID: <2e0cf4750612012233t593ebcc1k3c87467b5803f84f@mail.gmail.com> Brian, JavascriptCore and DOM support in general are slow and unreliable. Its gotten better in the last 10 months but Apples Javascript implementation is still not up to snuff when compared to Firefox or even IE. This is clearly evident on the webkit list and amongst a myriad of AJAX toolkits that support Firefox and IE out of the shoot and don't add safari support till months later. ACID2 compliance is certainly a measure of achievement but its definetely not the only yard stick worth looking at when we're discussing AJAX application performance. -- cb On 12/1/06, Brian Yennie wrote: > > What's with the Apple bashing, really? Mozilla is NOT the standard, > the standard is the standard. Konqueror (on which Safari is based) is > open source also, and no less compliant. Opera is probably the most > compliant browser out there, and Safari was the first to pass the > Acid2 test. > > There are no compliant browsers, period. Opera, FireFox and Safari > all have high levels of compatibility but they aren't all the same. > As a result, it still matters what browsers you test against. About > the only certain thing is that you'll spend at least half of your > time dealing with IE if you hope to be browser independent. > > Compliancy definitely has a lot of gray area because it's hideously > complex to achieve, but saying that you'd expect Apple to produce > something that nobody else has sounds like sour grapes. Even though > it's a tired subject, it's also pretty hard to ignore the impact of > IE pretty much destroying the efficiency of web developers seeking > browser independence. > > > Or... > > putting it another way... > > > > You'd think in this day and age, Apple would make Safari a compliant > > browser, especially since Mozilla Firefox is open source, works on > > Macs and > > complies to the latest standards (perhaps it may even be considered > > the > > standard at this point). > > > > Guess it depends upon one's viewpoint. ;-) > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From chipp at chipp.com Sat Dec 2 01:38:16 2006 From: chipp at chipp.com (Chipp Walters) Date: Sat, 2 Dec 2006 00:38:16 -0600 Subject: Morfik In-Reply-To: <0E61D207-20E8-41BD-B277-AB13CAE694D9@qldlearning.com> References: <456BCB4F.3040203@fourthworld.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <0E61D207-20E8-41BD-B277-AB13CAE694D9@qldlearning.com> Message-ID: <7aa52a210612012238p24e58e8aie40b07d884cf6e1d@mail.gmail.com> Brian, Not necessary to get all worked up. I was just responding to Stephen's comment about not working with Safari. And yes, here at Altuit we do have LOTS OF EXPERIENCE WITH SAFARI and Macs. In fact, too much. Turns out every darn dot release, Apple changes WebKit another bit and throws poor Chris back into 'fix' mode. Whereas our IE version of altBrowser hardly ever needed updating. So, I guess you can say my particular view of Safari isn't all that great. -Chipp On 12/1/06, Brian Yennie wrote: > > What's with the Apple bashing, really? ...saying that you'd expect Apple > to produce > something that nobody else has sounds like sour grapes. From briany at qldlearning.com Sat Dec 2 03:29:49 2006 From: briany at qldlearning.com (Brian Yennie) Date: Sat, 2 Dec 2006 00:29:49 -0800 Subject: Morfik In-Reply-To: <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> Message-ID: <4EB3CD96-9596-469B-BA0A-31B7C3D763C4@qldlearning.com> Chipp, My apologies - I was a bit grumpier than necessary. With that said, I thought the thread was about standards compliance. I know exactly what you're talking about with WebKit, but Apple's developer API for embedding doesn't have much to do with the original issues, which was Morfik / Safari compatibility. Embedding and compliance are two totally different things. IE was designed to be embedded in everything, in fact that's a big part of Microsoft's legal troubles =)... I have no doubt Safari has been a pain in the you-know-what for altBrowser! > Brian, > > Not necessary to get all worked up. I was just responding to Stephen's > comment about not working with Safari. > > And yes, here at Altuit we do have LOTS OF EXPERIENCE WITH SAFARI > and Macs. > In fact, too much. Turns out every darn dot release, Apple changes > WebKit > another bit and throws poor Chris back into 'fix' mode. Whereas our IE > version of altBrowser hardly ever needed updating. > > So, I guess you can say my particular view of Safari isn't all that > great. > > -Chipp From geradamas at yahoo.com Sat Dec 2 04:13:22 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sat, 2 Dec 2006 09:13:22 +0000 (GMT) Subject: more clones of the hypercard... Message-ID: <20061202091322.1862.qmail@web37514.mail.mud.yahoo.com> I see that HyperNext has "come back from the dead": http://www.tigabyte.com/index.html sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ ___________________________________________________________ Try the all-new Yahoo! Mail. "The New Version is radically easier to use" ? The Wall Street Journal http://uk.docs.yahoo.com/nowyoucan.html From baleareninsel at gmx.net Sat Dec 2 06:14:06 2006 From: baleareninsel at gmx.net (baleareninsel at gmx.net) Date: Sat, 02 Dec 2006 12:14:06 +0100 Subject: revQueryDatabase/revCurrentRecord Message-ID: <20061202111303.C0C0C488D98@mail.runrev.com> Hallo Jan, first of all a big THANK YOU for writing such a long answer. You?re wrong, I?m comming NOT from FM or FoxPro, It?s AMBER, where I found my home... But the home is changing now... I downloaded the Usersguide before, but ... Puh... If thats the book of the books, there is still a lot to do to give the RunRev-beginners something helpfull in the hands Back to your Answer: Please give me a little time to figure out your answer. As a RunRev beginner with only a little english knowlidge it?s not sooooo easy, but i?ll fight. By the way I still did not find an "ANSWER" Button here on the list, so I hope, You?ll get the mail best regards and have a nice weekend Horst From baleareninsel at gmx.net Sat Dec 2 06:56:46 2006 From: baleareninsel at gmx.net (baleareninsel at gmx.net) Date: Sat, 02 Dec 2006 12:56:46 +0100 Subject: Debugging Message-ID: <20061202115541.B50EB488D98@mail.runrev.com> Hi there, I think, a typical Newby-question?! Why the Debug-mode does not work? Claro, the "red Point" and "Script debug mode" are set best regards and thanks in advance Horst From baleareninsel at gmx.net Sat Dec 2 07:42:48 2006 From: baleareninsel at gmx.net (baleareninsel at gmx.net) Date: Sat, 02 Dec 2006 13:42:48 +0100 Subject: revQueryDatabase/revCurrentRecord Message-ID: <20061202124144.220EE488E1A@mail.runrev.com> Hi Jan, Hey, I?ve got it!!! This was an effective and helpfull text, you?ve written! Hamdullilah Thanks a lot and best regards Horst From m.schonewille at economy-x-talk.com Sat Dec 2 07:48:39 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 2 Dec 2006 13:48:39 +0100 (MET) Subject: ScriptParsingError Message-ID: <5F172333-E20F-4DC7-9F73-141AB62A20D5@economy-x-talk.com> Hello, I am unable to catch the scriptParsingError message. I have tried backscripts, frontscripts and other places in the message hierarchy, with and without script debug mode turned on. I have even tried removing the scriptParsingError handler from Rev's front script. If I set the script of the object to the following handler on scriptParsingError theErr beep put "Error:" & cr & theErr end scriptParsingError and then try setting its script by executing on mouseUp set the script of btn id 1032 to "on mouseUp" & cr & " set the bla to foo" & cr & "end mouseUp" end mouseUp still nothing happens. The docs say about the scriptParsingError message: "Sent to an object when its script cannot be compiled." So, I assume this message should always be sent, regardless of the way the script of the object is set. Also, the message should be sent to the object and should then be passed up the message hierarchy, while it should not be caught by any front script. The docs don't mention any circumstances which cause the message not to be sent. Bugzilla says this has been fixed http://support.runrev.com/bugdatabase/show_bug.cgi?id=3162 but the problem persists in Rev 2.7.5-dp-2. Is there something I am missing? Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz From viktoras at ekoinf.net Sat Dec 2 08:00:28 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Sat, 2 Dec 2006 15:00:28 +0200 (FLE Standard Time) Subject: removing black edges References: <20061202115541.B50EB488D98@mail.runrev.com> Message-ID: <457178EB.000001.03324@MAZYTIS> Hi! I remember there was a similar topic on the list some time ago, but can't find it now... How is it possible to remove black edges that appear around images when they are rotated ? Viktoras From mark_powell at symantec.com Sat Dec 2 08:38:36 2006 From: mark_powell at symantec.com (Mark Powell) Date: Sat, 2 Dec 2006 05:38:36 -0800 Subject: Best Practices for licensing Message-ID: Open question for those on the list with commerical offerings for Windows: What are best practices for licensing of your RR-created applications? For example, how do you recommend generating the keys, how do you distribute them, and how do you store the bits locally etc? And in general, what are the problems to look out for. Thanks all, Mark From mark at maseurope.net Sat Dec 2 08:54:29 2006 From: mark at maseurope.net (Mark Smith) Date: Sat, 2 Dec 2006 13:54:29 +0000 Subject: Fun Project: xTalk GUID Generator In-Reply-To: References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> Message-ID: <5AA452EB-ED9C-49A2-889D-CEBB8A2D16FB@maseurope.net> So I've started a UUID library, but I have a question, that is not entirely specific to it. For a time-based UUID, it needs to maintain a single number in a file on disc. This file would be called something like 'libuuidclocksequence'. What I need to figure out is where such a file should be kept on the various OSes. For the moment, on my mac, I'm using the prefs folder, which is fine, but maybe there is a better choice? Any ideas? Best, Mark From bobwarren at howsoft.com Sat Dec 2 11:36:52 2006 From: bobwarren at howsoft.com (Robert John Warren) Date: Sat, 02 Dec 2006 14:36:52 -0200 Subject: [ANN] SpamGobbler for Linux Message-ID: <4571ABA4.3090901@howsoft.com> Dear Colleagues, Further to my communication a few days ago (see below), I have now extended the "Download and Release Notes" to show how quickly and easily SpamGobbler can be adapted to work on other Linux distros. There are now brief instructions and a screenshot of it running under the wonderfully portable Puppy Linux. Best regards, Bob Warren ---------------------------------------------------------------------------------------------------- The first version of SpamGobbler for Linux is now available. For a brief functional summary, please visit: http://www.howsoft.com/linux/ For screenshots and setup/operating instructions, see: http://www.howsoft.com/linux/spamgobbler/spamgobbler_download_and_release_notes.htm http://www.howsoft.com/linux/spamgobbler/ Even if you don't wish to download, you might be interested in the technical issues shown at: http://www.howsoft.com/linux/spamgobbler/spamgobbler_download_and_release_notes.htm From scott at cdroo.com Sat Dec 2 12:38:35 2006 From: scott at cdroo.com (Scott Kane) Date: Sun, 3 Dec 2006 04:38:35 +1100 Subject: Best Practices for licensing References: Message-ID: <005b01c71638$b31f48a0$0201010a@visualmicro> Hi Mark > Open question for those on the list with commerical offerings for Windows: >What are best practices for licensing of your RR-created applications? > For example, how do you recommend generating the keys, how do you >distribute them, and how do you store the bits locally etc? And in > general, what are the problems to look out for. I'm the moderator for the comp.software.shareware.* newsgroups. I'm also an ex ASP (Assoc of Shareware Authors) Vice President and a member of the Board of Directors (term expired). This is pertinent in that I can assure you there is no "best practice". The strongest protection tools use exe wrapping and I've found Rev app's break in every single one of them. The big names were Aramadillo and ASProtect. Both have now been well and truly cracked to the point where they are useless anyway. ExeCryptor is getting good press - but I believe it only works with .Net compiled code. You are going to get pirated. It's a fact of life. Use a protection scheme that keeps the honest people honest as you'll never get a sale out of a pirate regardless. You also won't get "the goods" from authors in public forums. Groups like AISIP and the ASP are private and developers are more open about what they do (but they don't give it all away) Resources I recommend: comp.software.shareware.authors (I'm moderator there) AISP http://www.aisip.com Very cool and private - lots of good info. Twenty odd bucks to join. I'm a founding member for this group ASP http://www.aspshareware.com $100 a year. OISV http://www.oisv.com Free membership. I'm a founding member of this site. A Rev application is a doddle to crack compared to some other compiled program code. There is a lot of text in there. If I was going to hide something in a Rev program I'd put it somewhere important (like a database stack - but not a preferences window) and have it checked from different parts at the program *randomly*. This drives hackers nuts. The second thing I would do is partial key validation. Basically I would create a 16 digit key code (different for each customer). When the customer "registers" the program you supply a key. But only check the first four digits. At 30 days (or whatever) post the entering of the key you according to the algorythm you have defined you check the last 12 digits. Doing this means the hacker cracks only part of the key. He gets the first four and thinks he's done it. However many days later your program checks the remaining digits. I know of many successful authors doing this technique. If the check reveals an invalid "full" key then politely pop up a web browser and direct it to your website where you explain their key is invalid and that if they have paid for their key they should request another and if not that they should buy one. A small note about pircacy tacked at the bottom. HTH Scott From wjm at wjm.org Sat Dec 2 13:31:13 2006 From: wjm at wjm.org (Bill Marriott) Date: Sat, 2 Dec 2006 13:31:13 -0500 Subject: Fun Project: xTalk GUID Generator References: <456BCB4F.3040203@fourthworld.com><8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com><9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com><10320318336.20061128144625@ahsoftware.net><9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com><816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com><9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com><93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com><9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com><9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <5AA452EB-ED9C-49A2-889D-CEBB8A2D16FB@maseurope.net> Message-ID: Hi Mark, > So I've started a UUID library Yay! :) > What I need to figure out is where such a file should be kept on the > various OSes. For the moment, on my mac, I'm using the prefs folder, > which is fine, but maybe there is a better choice? Windows has a Prefs folder; off the top of my head I think it's special folder #26. As for Linux, I had trouble with this in another stack I made; permissions, lack of standardization and all that. So I just stored it in the defaultfolder. From mwieder at ahsoftware.net Sat Dec 2 14:02:52 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 2 Dec 2006 11:02:52 -0800 Subject: ScriptParsingError In-Reply-To: <5F172333-E20F-4DC7-9F73-141AB62A20D5@economy-x-talk.com> References: <5F172333-E20F-4DC7-9F73-141AB62A20D5@economy-x-talk.com> Message-ID: <70170934480.20061202110252@ahsoftware.net> Mark- Saturday, December 2, 2006, 4:48:39 AM, you wrote: > Bugzilla says this has been fixed > http://support.runrev.com/bugdatabase/show_bug.cgi?id=3162 > but the problem persists in Rev 2.7.5-dp-2. > Is there something I am missing? I think the "fixed" in this case refers to fixing the documentation regarding the errorDialog handler. According to Mark Waddingham's note from October 2005 scriptParsingError no longer exists as a message. I think the thing to do here is to open a new enhancement request for the resurrection of the scriptParsingError message, so as not to confuse the documentation changes with an actual feature request. I, too, would make good use of this message. -- -Mark Wieder mwieder at ahsoftware.net From m.schonewille at economy-x-talk.com Sat Dec 2 14:19:14 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 2 Dec 2006 20:19:14 +0100 (MET) Subject: ScriptParsingError In-Reply-To: <70170934480.20061202110252@ahsoftware.net> References: <5F172333-E20F-4DC7-9F73-141AB62A20D5@economy-x-talk.com> <70170934480.20061202110252@ahsoftware.net> Message-ID: <36903B9D-4F31-4693-8AC2-2A9758F7356C@economy-x-talk.com> Thanks for your reply, Mark. I have submitted a feature request to Bugzilla. You can find it here: Feel free to vote. (Unfortunately, I have already used all my 100 votes for a number of bugs that have become oldtimers by now.) Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 2-dec-2006, om 20:02 heeft Mark Wieder het volgende geschreven: > Mark- > > I think the "fixed" in this case refers to fixing the documentation > regarding the errorDialog handler. According to Mark Waddingham's note > from October 2005 scriptParsingError no longer exists as a message. > > I think the thing to do here is to open a new enhancement request for > the resurrection of the scriptParsingError message, so as not to > confuse the documentation changes with an actual feature request. I, > too, would make good use of this message. > > -- > -Mark Wieder > mwieder at ahsoftware.net From jacque at hyperactivesw.com Sat Dec 2 15:56:23 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 02 Dec 2006 14:56:23 -0600 Subject: Debugging In-Reply-To: <20061202115541.B50EB488D98@mail.runrev.com> References: <20061202115541.B50EB488D98@mail.runrev.com> Message-ID: <4571E877.70406@hyperactivesw.com> baleareninsel at gmx.net wrote: > Hi there, > > I think, a typical Newby-question?! > > Why the Debug-mode does not work? > > Claro, the "red Point" and "Script debug mode" are set If your script contains an error that would cause a problem with the debugger, the debugger will not work and will exit the handler instead. This prevents an infinite loop that would otherwise lock up Revolution. It is sometimes hard to diagnose these errors. The best way is to set a breakpoint (red dot) at the first line of the handler and then step through one line at a time. If the debugger stops working and exits, then the problem is usually on the line where it stopped. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat Dec 2 16:34:43 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 2 Dec 2006 13:34:43 -0800 Subject: Completely OT: Bank of America song Message-ID: <96180045671.20061202133443@ahsoftware.net> All- Please tell me there won't be a runrev theme song... http://www.youtube.com/watch?v=0qAuqq1LFnU -- -Mark Wieder mwieder at ahsoftware.net From R.Venzl-Schubert at t-online.de Sat Dec 2 18:14:10 2006 From: R.Venzl-Schubert at t-online.de (Reinhold Venzl-Schubert) Date: Sun, 3 Dec 2006 00:14:10 +0100 Subject: How to fill out Database Query Builder fields Message-ID: <1678CF7E-AEEF-41D2-B27B-17492AA64CD2@t-online.de> Hi! I need some help in filling out the Database Query Builder correctly. This script connects my stack to my database: put revdb_connect("sqlite3","TestDB.db",,,,,"schubert at t- online.de","...xyz...") into tConID Therefore I filled out in that way: Name: Fragen Type: altSQLite3 Host: /Users/rvs/Documents/5-F?cher-Lernprogramm/5FLK-Rev SLQ Port: Database: TestDB User: schubert at t.online.de Password: ...xyz... When I try to connect I get this error message: There was an error in connecting to the database. Please check that the connection fields are correct. Revdb error: revdberr, invalid database type Where is the mistake? I got this message before I updated altSQLite3 to the Universal Binary Version (for IntelMac) May it be that the QueryBuilder do not work with the UB Version? Thanks Reinhold From byront at mac.com Sat Dec 2 18:33:45 2006 From: byront at mac.com (Byron Turner) Date: Sat, 2 Dec 2006 15:33:45 -0800 Subject: Opportunity to Promote Revolution (OT) In-Reply-To: <283116.6013.qm@web36514.mail.mud.yahoo.com> References: <283116.6013.qm@web36514.mail.mud.yahoo.com> Message-ID: Hey Folks, I?m looking for content creators to produce Rev tutorials. In case you haven?t heard of TeachMac and TeachIT, they are Mac and Windows client applications (made with Revolution) that provide access to a library of multimedia tutorials. In the 3 months since we released TeachMac, the library has quadrupled, mostly due to the just plain folks who are contributing. I?ve recently been getting many school inquiries. I think every high school computer class and club should know about Revolution, and here is an opportunity to both support those who use Revoution and show Rev to those who have never seen it. Tutorials can be of just about any length or complexity. Content in languages other than English is especially welcome. Note that we are a nonprofit education organization and 100% of the direct sale royalites go to the authors. We even share a portion of our subscription and site license sales with our authors. The process is as simple as some screenshots or video captures and our free Module Maker app. For more info visit the Module Authors page at www.teachmac.com. Download the TeachIT beta at www.teachitpc.com. Please feel free to contact me directly as well. Of course, I?l happily recieve proposals for non-rev related content as well. Best wishes to you all, Byron Turner byron at createdequal.com www.teachmac.com www.teachitpc.com www.createdequal.com From sarah.reichelt at gmail.com Sat Dec 2 19:38:45 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 3 Dec 2006 10:38:45 +1000 Subject: How to fill out Database Query Builder fields In-Reply-To: <1678CF7E-AEEF-41D2-B27B-17492AA64CD2@t-online.de> References: <1678CF7E-AEEF-41D2-B27B-17492AA64CD2@t-online.de> Message-ID: > This script connects my stack to my database: > > put revdb_connect("sqlite3","TestDB.db",,,,,"schubert at t- > online.de","...xyz...") into tConID > > Therefore I filled out in that way: > > Name: Fragen > Type: altSQLite3 > Host: /Users/rvs/Documents/5-F?cher-Lernprogramm/5FLK-Rev SLQ > Port: > Database: TestDB > User: schubert at t.online.de > Password: ...xyz... > In one part you use "sqlite3" and in another you use "altSQLite3" as the database type. I would see if changing this helps. Cheers, Sarah From ambassador at fourthworld.com Sat Dec 2 20:07:30 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 02 Dec 2006 17:07:30 -0800 Subject: ScriptParsingError Message-ID: <45722352.8000707@fourthworld.com> Mark Wieder wrote: > According to Mark Waddingham's note from October 2005 > scriptParsingError no longer exists as a message. Whiskey Tango Foxtrot? Without that, by what means can the IDE know to report that a script cannot be compiled due to a syntax error? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From chris at altuit.com Sat Dec 2 20:26:08 2006 From: chris at altuit.com (chris bohnert) Date: Sat, 2 Dec 2006 19:26:08 -0600 Subject: How to fill out Database Query Builder fields In-Reply-To: <1678CF7E-AEEF-41D2-B27B-17492AA64CD2@t-online.de> References: <1678CF7E-AEEF-41D2-B27B-17492AA64CD2@t-online.de> Message-ID: <2e0cf4750612021726g594aaed9r5950fe459fde1e3d@mail.gmail.com> Reinhold, The equivalent querybuilder parameters for your given connect string would be: Name: Fragen Type: altSQLite3 Host: TestDB.db Port:Database: TestDB.db User: schubert at t-online.de Password: ...xyz... I haven't seen any problems running querybuilder on the UB version. Does everything work correctly if you script the database commands with revdb? -- cb On 12/2/06, Reinhold Venzl-Schubert wrote: > > Hi! > > I need some help in filling out the Database Query Builder correctly. > > This script connects my stack to my database: > > put revdb_connect("sqlite3","TestDB.db",,,,,"schubert at t- > online.de","...xyz...") into tConID > > Therefore I filled out in that way: > > Name: Fragen > Type: altSQLite3 > Host: /Users/rvs/Documents/5-F?cher-Lernprogramm/5FLK-Rev SLQ > Port: > Database: TestDB > User: schubert at t.online.de > Password: ...xyz... > > When I try to connect I get this error message: > > There was an error in connecting to the > database. Please check that the connection > fields are correct. > Revdb error: revdberr, invalid database type > > Where is the mistake? > > I got this message before I updated altSQLite3 to the Universal > Binary Version (for IntelMac) > May it be that the QueryBuilder do not work with the UB Version? > > Thanks > Reinhold_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From m.schonewille at economy-x-talk.com Sat Dec 2 20:47:37 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 3 Dec 2006 02:47:37 +0100 (MET) Subject: ScriptParsingError In-Reply-To: <45722352.8000707@fourthworld.com> References: <45722352.8000707@fourthworld.com> Message-ID: <9F2BB94A-86F2-4F84-840F-7466F886A984@economy-x-talk.com> Hi Richard, It looks like the script editor checks the result and then emulates the old scriptParsinError message. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 3-dec-2006, om 2:07 heeft Richard Gaskin het volgende geschreven: > Whiskey Tango Foxtrot? > > Without that, by what means can the IDE know to report that a > script cannot be compiled due to a syntax error? From ambassador at fourthworld.com Sat Dec 2 21:30:02 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 02 Dec 2006 18:30:02 -0800 Subject: ScriptParsingError Message-ID: <457236AA.6080702@fourthworld.com> Mark Schonewille wrote: > Op 3-dec-2006, om 2:07 heeft Richard Gaskin het volgende geschreven: > >> Whiskey Tango Foxtrot? >> >> Without that, by what means can the IDE know to report that a >> script cannot be compiled due to a syntax error? > > It looks like the script editor checks the result and then emulates > the old scriptParsinError message. It worked reliably for years, so why ditch it and put in all the extra work reproducing the same thing in script? And how does that script work? Are there undocumented messages and/or functions at play? I look forward to the explanation which will change my impression of this from "disturbing" to "brilliant" -- or simply putting back the tried-and-true token and moving on to truly important changes.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From palcibiades-first at yahoo.co.uk Sun Dec 3 08:52:37 2006 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 3 Dec 2006 13:52:37 +0000 Subject: Galaxy requirements Message-ID: <200612031352.37996.palcibiades-first@yahoo.co.uk> Does Galaxy run on Revolution 2.6.1 Linux? Peter From m.schonewille at economy-x-talk.com Sun Dec 3 13:18:19 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 3 Dec 2006 19:18:19 +0100 (MET) Subject: Icon Menu Editor Message-ID: <0869A683-16CE-4EE2-9C12-F02B70BE12C8@economy-x-talk.com> Dear Revolution 2.7.x users, Economy-x-Talk has just updated Icon Menu Editor. Icon Menu Editor provides a graphical way to edit the icon menu. The icon menu appears in the dock (Mac OS X) or system tray (Windows XP) when you click on the application icon and keep the mouse button pressed. From now on, Icon Menu Editor works with Revolution 2.7.2 and later. We have also dropped the beta designation, making this officially version 1.0. It is completely free for private use. You can download the Icon Menu Editor plugin from the Developers section of the Economy-x-Talk homepage. Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz From jeff at siphonophore.com Sun Dec 3 13:23:21 2006 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Sun, 03 Dec 2006 13:23:21 -0500 Subject: Completely OT: Bank of America song In-Reply-To: <20061203180223.116A0488EB6@mail.runrev.com> References: <20061203180223.116A0488EB6@mail.runrev.com> Message-ID: My wife works in the credit card industry and this has been the biggest laugh riot all around. the line "we will make a lot of money while sticking to our core values" well to make a lot of money in that industry you can guess what your core values have to be! cheers, jeff On Dec 3, 2006, at 1:02 PM, use-revolution-request at lists.runrev.com wrote: > All- > > Please tell me there won't be a runrev theme song... > > http://www.youtube.com/watch?v=0qAuqq1LFnU > > -- > -Mark Wieder > mwieder at ahsoftware.net From jc at spl21.net Sun Dec 3 13:53:06 2006 From: jc at spl21.net (John Craig) Date: Sun, 03 Dec 2006 18:53:06 +0000 Subject: Image collision detection Message-ID: <45731D12.7030900@spl21.net> For anyone interested in image collisions, I have uploaded a demo to user space Jock_McTartan. I'll upload a library file shortly for using in your own projects. Feedback would be appreciated - IMHO it's pretty fast even with reasonably large images. Intended for use with PNG images, it has pixel level collisions and a transparency threshold setting to avoid collisions with object shadows, etc. JC From mwieder at ahsoftware.net Sun Dec 3 13:54:35 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Dec 2006 10:54:35 -0800 Subject: ScriptParsingError In-Reply-To: <36903B9D-4F31-4693-8AC2-2A9758F7356C@economy-x-talk.com> References: <5F172333-E20F-4DC7-9F73-141AB62A20D5@economy-x-talk.com> <70170934480.20061202110252@ahsoftware.net> <36903B9D-4F31-4693-8AC2-2A9758F7356C@economy-x-talk.com> Message-ID: <808949779.20061203105435@ahsoftware.net> Mark- Saturday, December 2, 2006, 11:19:14 AM, you wrote: > > Feel free to vote. (Unfortunately, I have already used all my 100 > votes for a number of bugs that have become oldtimers by now.) Votes cast. I had to free some votes from bugs that have been "resolved", but I'd like to get this some attention. -- -Mark Wieder mwieder at ahsoftware.net From jbv.silences at club-internet.fr Sun Dec 3 14:33:43 2006 From: jbv.silences at club-internet.fr (jbv) Date: Sun, 03 Dec 2006 20:33:43 +0100 Subject: revDataFromQuery and Rev cgi Message-ID: <4573268C.D62EC653@club-internet.fr> Hi list, Is there any buffer size limit when using revDataFromQuery with Rev cgi and mySQL ? I haven't found anything on this issue in the Rev docs, so I wonder if the mySQL settings are concerned... Actually I'm asking because I'm getting 500 errors when returning very large amounts of data from mySQL to my scripts... best, JB From david at openpartnership.net Sun Dec 3 14:13:22 2006 From: david at openpartnership.net (David Bovill) Date: Sun, 3 Dec 2006 14:13:22 -0500 Subject: Where Rev could be going...3D? In-Reply-To: <4565EC6A.2080108@hyperactivesw.com> References: <45654D67.000001.03352@MAZYTIS> <45657628.36F9D6F5@club-internet.fr> <7aa52a210611230922s59120cb4s358abf6f8a11e1eb@mail.gmail.com> <4565E029.72462FE9@club-internet.fr> <4565EC6A.2080108@hyperactivesw.com> Message-ID: On 23/11/06, J. Landman Gay wrote: > > jbv wrote: > > > hence my innocent (really) question : what makes users with an > Enterprise > > license more qualified to discuss Rev improvements ? > > It hasn't got much to do with qualifications, it's just an extra perk > for those who have an Enterprise license. In addition, Enterprise users > also get pre-release builds for testing and more direct feedback from > the development team. > > > And do contributions by other users posted on this use-revolution list > about > > possible improvements have any echo on the improve list ? In the old days I'd send suggestions for improvements direct to Mr Raney - since then and for no really good reason I have not sent in any suggestions - this list does not seem labled for that and well I am not on the improve list. I'd also agree with JB in general on the barriers to taking forwards extensions to Rev... in my oppinion these barriers do not really exist and are easy enough to break through if you are really determined - the problem is that the barrier is high enough to put off early steps of exploration when you are not really sure that it willl work out - such barriers kill community efforts. Without strong commercial incentives that is all we have and with that you can go a long way... From david at openpartnership.net Sun Dec 3 14:16:51 2006 From: david at openpartnership.net (David Bovill) Date: Sun, 3 Dec 2006 14:16:51 -0500 Subject: About me... (a bug) Message-ID: Like target me does not always work in refering to controls.... this one got me today: Placed in a fields script: getprop view_Text return the text of me end view_Text works if you are on the card but not if you are somewhere else. Changeing the script to: getprop view_Text put the long id of me into someField return the text of someField end view_Text Fixes the problem - IMHO this is a bug. Me should return a long id by default. From jc at spl21.net Sun Dec 3 14:29:15 2006 From: jc at spl21.net (John Craig) Date: Sun, 03 Dec 2006 19:29:15 +0000 Subject: Completely OT: Bank of America song In-Reply-To: References: <20061203180223.116A0488EB6@mail.runrev.com> Message-ID: <4573258B.30400@spl21.net> To add to the mirth... http://howtoprankatelemarketer.ytmnd.com/ Jeffrey Reynolds wrote: > My wife works in the credit card industry and this has been the > biggest laugh riot all around. > > the line "we will make a lot of money while sticking to our core > values" well to make a lot of money in that industry you can guess > what your core values have to be! > > cheers, > > jeff > > > On Dec 3, 2006, at 1:02 PM, use-revolution-request at lists.runrev.com > wrote: > >> All- >> >> Please tell me there won't be a runrev theme song... >> >> http://www.youtube.com/watch?v=0qAuqq1LFnU >> >> ---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 david at openpartnership.net Sun Dec 3 14:29:19 2006 From: david at openpartnership.net (David Bovill) Date: Sun, 3 Dec 2006 14:29:19 -0500 Subject: Image collision detection In-Reply-To: <45731D12.7030900@spl21.net> References: <45731D12.7030900@spl21.net> Message-ID: John what is an image collision - detecting edges of images based on imagedata? From jc at spl21.net Sun Dec 3 14:51:45 2006 From: jc at spl21.net (John Craig) Date: Sun, 03 Dec 2006 19:51:45 +0000 Subject: Image collision detection In-Reply-To: References: <45731D12.7030900@spl21.net> Message-ID: <45732AD1.2070105@spl21.net> Hi, David. Yes I'm using the image data (and alpha data) to decide if a collision has occurred. David Bovill wrote: > John what is an image collision - detecting edges of images based on > imagedata? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jc at spl21.net Sun Dec 3 14:53:26 2006 From: jc at spl21.net (John Craig) Date: Sun, 03 Dec 2006 19:53:26 +0000 Subject: Image collision detection In-Reply-To: References: <45731D12.7030900@spl21.net> Message-ID: <45732B36.3040105@spl21.net> In fact, it's more basic than that - it's whether opaque points in each image overlap. JC David Bovill wrote: > John what is an image collision - detecting edges of images based on > imagedata? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From wjm at wjm.org Sun Dec 3 15:03:39 2006 From: wjm at wjm.org (Bill Marriott) Date: Sun, 3 Dec 2006 15:03:39 -0500 Subject: About me... (a bug) References: Message-ID: Make sure you file it in Bugzlla then http://support.runrev.com/bugdatabase David Bovill writes: > [...] IMHO this is a bug. Me should return a long id by > default. From r.venzl-schubert at t-online.de Sun Dec 3 15:15:16 2006 From: r.venzl-schubert at t-online.de (Reinhold Venzl-Schubert) Date: Sun, 3 Dec 2006 21:15:16 +0100 Subject: How to fill out Database Query Builder fields In-Reply-To: <20061203180223.517F7488E99@mail.runrev.com> References: <20061203180223.517F7488E99@mail.runrev.com> Message-ID: <5E700E1C-AEF3-47C7-ACA6-52F71F70A97B@t-online.de> Chris, I changed as you suggested but invain. If you want to see my stack and my Database you find it here: http://venzl-schubert.macbay.de/Query-Test/QueryBuilderTest.zip On my computer the Database is in the same folder as Revolution! Maybe you can find the error. Reinhold > The equivalent querybuilder parameters for your given connect > string would > be: > > Name: Fragen > Type: altSQLite3 > Host: TestDB.db > Port:Database: TestDB.db > User: schubert at t-online.de > Password: ...xyz... > > I haven't seen any problems running querybuilder on the UB > version. Does > everything work correctly if you script the database commands with > revdb? > > -- > cb > > > On 12/2/06, Reinhold Venzl-Schubert > wrote: > >> >> Hi! >> >> I need some help in filling out the Database Query Builder correctly. >> >> This script connects my stack to my database: >> >> put revdb_connect("sqlite3","TestDB.db",,,,,"schubert at t- >> online.de","...xyz...") into tConID >> >> Therefore I filled out in that way: >> >> Name: Fragen >> Type: altSQLite3 >> Host: /Users/rvs/Documents/5-F?cher-Lernprogramm/5FLK- >> Rev SLQ >> Port: >> Database: TestDB >> User: schubert at t.online.de >> Password: ...xyz... >> >> When I try to connect I get this error message: >> >> There was an error in connecting to the >> database. Please check that the connection >> fields are correct. >> Revdb error: revdberr, invalid database type >> >> Where is the mistake? >> >> I got this message before I updated altSQLite3 to the Universal >> Binary Version (for IntelMac) >> May it be that the QueryBuilder do not work with the UB Version? > From mark at maseurope.net Sun Dec 3 15:32:52 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 3 Dec 2006 20:32:52 +0000 Subject: About me... (a bug) In-Reply-To: References: Message-ID: <0473F553-AA72-4723-B816-DCF1400A8C20@maseurope.net> David, you may want to have a look at the discussion on this list from about three weeks ago. The Thread was "Me, me, me" I think. And it's bug no. 3420 into bugzilla. Best, Mark On 3 Dec 2006, at 19:16, David Bovill wrote: > Like target me does not always work in refering to controls.... > this one got > me today: > > Placed in a fields script: > > getprop view_Text > return the text of me > end view_Text > > works if you are on the card but not if you are somewhere else. > Changeing > the script to: > > getprop view_Text > put the long id of me into someField > return the text of someField > end view_Text > > Fixes the problem - IMHO this is a bug. Me should return a long id by > default. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at derbrill.de Sun Dec 3 16:11:03 2006 From: revolution at derbrill.de (Malte Brill) Date: Sun, 3 Dec 2006 22:11:03 +0100 (MET) Subject: Image collision detection In-Reply-To: <20061202180433.2BDC9488DC2@mail.runrev.com> References: <20061202180433.2BDC9488DC2@mail.runrev.com> Message-ID: <515F6A3F-95DF-4839-902A-E73A6E7B68DB@derbrill.de> Hi JC, way cool. That one is VERY fast for large images. In fact, much faster than my version. Chapeau, Malte From mark at maseurope.net Sun Dec 3 17:08:41 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 3 Dec 2006 22:08:41 +0000 Subject: [ANN]libUUID Message-ID: <41BA6DD7-7AFA-4589-AEB4-F0F2445AD0E3@maseurope.net> I've uploaded a library that will generate UUIDs of types 1, 2 and 3 to RevOnline: Name: libUUID User: Mark Smith Category: Programming Any comments/criticism/suggestions welcome. Best Mark From david.bovill at gmail.com Sun Dec 3 17:21:20 2006 From: david.bovill at gmail.com (fortyfoxes) Date: Sun, 03 Dec 2006 22:21:20 -0000 Subject: libUUID In-Reply-To: <41BA6DD7-7AFA-4589-AEB4-F0F2445AD0E3@maseurope.net> References: <41BA6DD7-7AFA-4589-AEB4-F0F2445AD0E3@maseurope.net> Message-ID: <1165184480.180662.151870@n67g2000cwd.googlegroups.com> What are UUIDs when they are at home - a U3 thingy? From soapdog at mac.com Sun Dec 3 17:34:29 2006 From: soapdog at mac.com (Andre Garzia) Date: Sun, 3 Dec 2006 20:34:29 -0200 Subject: [ANN]libUUID In-Reply-To: <41BA6DD7-7AFA-4589-AEB4-F0F2445AD0E3@maseurope.net> References: <41BA6DD7-7AFA-4589-AEB4-F0F2445AD0E3@maseurope.net> Message-ID: Mark, thanks for that, I'll be adding that to my bag of tools right now. I always need UUID when working with sessions and cgis... andre On Dec 3, 2006, at 8:08 PM, Mark Smith wrote: > I've uploaded a library that will generate UUIDs of types 1, 2 and > 3 to RevOnline: > > Name: libUUID > User: Mark Smith > Category: Programming > > Any comments/criticism/suggestions welcome. > > Best > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From david.bovill at gmail.com Sun Dec 3 17:37:38 2006 From: david.bovill at gmail.com (fortyfoxes) Date: Sun, 03 Dec 2006 22:37:38 -0000 Subject: About me... (a bug) In-Reply-To: <0473F553-AA72-4723-B816-DCF1400A8C20@maseurope.net> References: <0473F553-AA72-4723-B816-DCF1400A8C20@maseurope.net> Message-ID: <1165185458.979749.293810@l12g2000cwl.googlegroups.com> OK - commented and voted for this. I"d encourage anyone else who is starting to use getprop and setprop handlers seriously to vote for this bug: http://support.runrev.com/bugdatabase/show_bug.cgi?id=3420 Which may be related to: http://support.runrev.com/bugdatabase/show_bug.cgi?id=3305 From mark at maseurope.net Sun Dec 3 17:39:42 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 3 Dec 2006 22:39:42 +0000 Subject: libUUID In-Reply-To: <1165184480.180662.151870@n67g2000cwd.googlegroups.com> References: <41BA6DD7-7AFA-4589-AEB4-F0F2445AD0E3@maseurope.net> <1165184480.180662.151870@n67g2000cwd.googlegroups.com> Message-ID: <7D93CA10-F696-4000-9416-89E0FE58782A@maseurope.net> Universally Unique Identifier, though perhaps better described as Universally extremely-likely-to-be-Unique Identifier. They're just numbers, in the end. Quite big numbers, that are formatted a particular way, and their use is to make it possible to tell one thing from another (similar thing). Best, Mark On 3 Dec 2006, at 22:21, fortyfoxes wrote: > What are UUIDs when they are at home - a U3 thingy? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From wjm at wjm.org Sun Dec 3 17:46:50 2006 From: wjm at wjm.org (Bill Marriott) Date: Sun, 3 Dec 2006 17:46:50 -0500 Subject: [ANN]libUUID References: <41BA6DD7-7AFA-4589-AEB4-F0F2445AD0E3@maseurope.net> Message-ID: Mark, Bravo! This is terrific stuff! Just proves anything worth doing can be done in xTalk ;) Thanks a bunch! Bill Mark Smith announced: > I've uploaded a library that will generate UUIDs of types 1, 2 and 3 to > RevOnline: > > Name: libUUID > User: Mark Smith > Category: Programming From david at openpartnership.net Sun Dec 3 17:52:51 2006 From: david at openpartnership.net (David Bovill) Date: Sun, 3 Dec 2006 17:52:51 -0500 Subject: About me... (a bug) In-Reply-To: <1165185458.979749.293810@l12g2000cwl.googlegroups.com> References: <0473F553-AA72-4723-B816-DCF1400A8C20@maseurope.net> <1165185458.979749.293810@l12g2000cwl.googlegroups.com> Message-ID: This bug effects text fields only not other properties of objects as far as I can tell. So the following work in all cases: getprop view_Label return the effective label of me end view_Label setprop view_Label someValue set the label of me to someValue end view_Label But the following fail if the properties are not set from the card containing the field: getprop view_Text return the text of me end view_Text setprop view_Text someValue set the text of me to someValue end view_Text This can be fixed by using: getprop view_Text put the long id of me into someField return the text of someField end view_Text setprop view_Text someValue put the long id of me into someField set the text of someField to someValue end view_Text From jc at spl21.net Sun Dec 3 17:53:47 2006 From: jc at spl21.net (John Craig) Date: Sun, 03 Dec 2006 22:53:47 +0000 Subject: [ANN]libUUID In-Reply-To: <41BA6DD7-7AFA-4589-AEB4-F0F2445AD0E3@maseurope.net> References: <41BA6DD7-7AFA-4589-AEB4-F0F2445AD0E3@maseurope.net> Message-ID: <4573557B.6010804@spl21.net> Nice one, Mark - this looks pretty comprehensive! JC Mark Smith wrote: > I've uploaded a library that will generate UUIDs of types 1, 2 and 3 > to RevOnline: > > Name: libUUID > User: Mark Smith > Category: Programming > > Any comments/criticism/suggestions welcome. > > Best > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at openpartnership.net Sun Dec 3 18:26:47 2006 From: david at openpartnership.net (David Bovill) Date: Sun, 3 Dec 2006 18:26:47 -0500 Subject: Playing MPEG2 (DVD's) in a player? Message-ID: Has anyone had any success playing DVD's directly in a player? I purchased Apples QuickTime extension for MPEG2 and can play the ideo tracks - but not linked to the sound... From r.venzl-schubert at t-online.de Sun Dec 3 18:30:29 2006 From: r.venzl-schubert at t-online.de (Reinhold Venzl-Schubert) Date: Mon, 4 Dec 2006 00:30:29 +0100 Subject: How to fill out Database Query Builder fields In-Reply-To: <20061203180223.517F7488E99@mail.runrev.com> References: <20061203180223.517F7488E99@mail.runrev.com> Message-ID: <28028258-5EA8-4D57-983E-29A7ED4D8B88@t-online.de> Hi Sarah, "altSQLite3" is the select of the QueryBuilder and The name "sqlite3" is necessary to connect to the Database. It is the script used in the SQlite3 Demo of Altuit. Reinhold >> This script connects my stack to my database: >> >> put revdb_connect("sqlite3","TestDB.db",,,,,"schubert at t- >> online.de","...xyz...") into tConID >> >> Therefore I filled out in that way: >> >> Name: Fragen >> Type: altSQLite3 >> Host: /Users/rvs/Documents/5-F?cher-Lernprogramm/5FLK- >> Rev SLQ >> Port: >> Database: TestDB >> User: schubert at t.online.de >> Password: ...xyz... >> > > In one part you use "sqlite3" and in another you use "altSQLite3" as > the database type. I would see if changing this helps. > > Cheers, > Sarah From chris at altuit.com Sun Dec 3 19:16:21 2006 From: chris at altuit.com (chris bohnert) Date: Sun, 3 Dec 2006 18:16:21 -0600 Subject: How to fill out Database Query Builder fields In-Reply-To: <28028258-5EA8-4D57-983E-29A7ED4D8B88@t-online.de> References: <20061203180223.517F7488E99@mail.runrev.com> <28028258-5EA8-4D57-983E-29A7ED4D8B88@t-online.de> Message-ID: <2e0cf4750612031616i6a421728i7a8ba5f5e5f1870f@mail.gmail.com> Reinhold, You should replace the line in your "Database Drivers.txt" file altSQlite3,dbsqlite3.bundle with sqlite3,dbsqlite3.bundle This combined witht he previous parameters and your test stack works fine on my machine running Rev 2.7.2 on 10.4.9 -- cb On 12/3/06, Reinhold Venzl-Schubert wrote: > > Hi Sarah, > > "altSQLite3" is the select of the QueryBuilder and > The name "sqlite3" is necessary to connect to the Database. > It is the script used in the SQlite3 Demo of Altuit. > > Reinhold > > > >> This script connects my stack to my database: > >> > >> put revdb_connect("sqlite3","TestDB.db",,,,,"schubert at t- > >> online.de","...xyz...") into tConID > >> > >> Therefore I filled out in that way: > >> > >> Name: Fragen > >> Type: altSQLite3 > >> Host: /Users/rvs/Documents/5-F?cher-Lernprogramm/5FLK- > >> Rev SLQ > >> Port: > >> Database: TestDB > >> User: schubert at t.online.de > >> Password: ...xyz... > >> > > > > In one part you use "sqlite3" and in another you use "altSQLite3" as > > the database type. I would see if changing this helps. > > > > 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 david at openpartnership.net Sun Dec 3 20:08:30 2006 From: david at openpartnership.net (David Bovill) Date: Sun, 3 Dec 2006 20:08:30 -0500 Subject: Bizarre? Group id = 0??? Message-ID: I am trying to track down a bug in some complex geometry managment - basically the wrong object is being moved. It works fine when you are on the card but when you are on anothr card - the wrong object gets moved. I am being very careful with how I refer to the objects and name them, and hav been trying to track this bug down for a couple of hours so help appreciated. The only clue I have got at the moment is that in the debugger I get an id reference that looks like: group id 0 of group id 2283 of group id 1231 of group id 1275 of card id 1002 of stack... Now there is no such id naturally, I am refering to these groups using an abstraction as follows: getprop date_Record return the long id of group "_dateCreated" of me end date_Record Which has never caused any problems before. Has anyone come across a similar problem? From mark at maseurope.net Sun Dec 3 21:02:06 2006 From: mark at maseurope.net (Mark Smith) Date: Mon, 4 Dec 2006 02:02:06 +0000 Subject: Bizarre? Group id = 0??? In-Reply-To: References: Message-ID: <770EFE93-7C45-48F7-99D8-1105241369E0@maseurope.net> Have you tried getprop date_Record return the long id of group "_dateCreated" of (the long id of me) end date_Record If that works then it may be another aspect of the previously discussed bug... Best, Mark On 4 Dec 2006, at 01:08, David Bovill wrote: > getprop date_Record > return the long id of group "_dateCreated" of me > end date_Record From lan.kc.macmail at gmail.com Sun Dec 3 23:10:28 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 4 Dec 2006 12:10:28 +0800 Subject: Uh oh, I think I Broke Something In-Reply-To: <9b408d8e0612011743o757bac7fr8f99c68798999666@mail.gmail.com> References: <9b408d8e0612011743o757bac7fr8f99c68798999666@mail.gmail.com> Message-ID: Yes, definitely sounds like you've broken something. I'd go for a completely new install of Rev into a different location - I understand you've hacked quite a bit of Rev so you can have one hacked version and one clean version:-) Then do another install of Galaxy, but this time point it to the new clean version of Rev. Hopefully when you start the clean version of Rev, Galaxy will start like it's suppose to and give you a proper indication of it's capabilities:-) HTH From lan.kc.macmail at gmail.com Sun Dec 3 23:30:40 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 4 Dec 2006 12:30:40 +0800 Subject: revQueryDatabase/revCurrentRecord In-Reply-To: <20061202111303.C0C0C488D98@mail.runrev.com> References: <20061202111303.C0C0C488D98@mail.runrev.com> Message-ID: On 12/2/06, baleareninsel at gmx.net wrote: > > > I downloaded the Usersguide before, but ... Puh... If thats the book of > the books, there is still a lot to do to give the RunRev-beginners something > helpfull in the hands You might find the inbuilt docs very helpful at this stage. With Rev running go to the Help menu and select Documentation? - that's for Mac, sorry I don't know the exact terms for Win but it will be very similar. A Rev stack will open, click on the A-Z Dictionary button. In the search field type 'database'. In the top half of the stack will be listed most (if not all) the Rev commands and functions that are applicable to Rev + Database. The lower half of the stack will give the syntax, examples, similar functions or commands and most importantly any notes for getting it to work. Best of all it's all hyperlinked, so if for instance you looked up 'revDatabaseColumnNamed' , one of the functions Jan pointed out, the 'See Also:' lists a whole heap of other functions that do similar things and might provide handy solutions, like the very similarly named 'revDatabaseColumnNames' which, if you clicked on it would take you it's description where you would learn that you don't have to type out the 100 column titles you have (and possible misspell one or two and create a troubleshooting nightmare) but can get Rev to collect them all for you! HTH From scott at elementarysoftware.com Mon Dec 4 00:12:53 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 3 Dec 2006 21:12:53 -0800 Subject: Image collision detection In-Reply-To: <45731D12.7030900@spl21.net> References: <45731D12.7030900@spl21.net> Message-ID: <0FC0448B-639C-432F-AB40-9912255527C4@elementarysoftware.com> The transparency threshold is great! -Scott Morrow Elementary Software On Dec 3, 2006, at 10:53 AM, John Craig wrote: > For anyone interested in image collisions, I have uploaded a demo > to user space Jock_McTartan. I'll upload a library file shortly > for using in your own projects. Feedback would be appreciated - > IMHO it's pretty fast even with reasonably large images. Intended > for use with PNG images, it has pixel level collisions and a > transparency threshold setting to avoid collisions with object > shadows, etc. > > JC > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Mon Dec 4 01:07:13 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 03 Dec 2006 22:07:13 -0800 Subject: ScriptParsingError Message-ID: <4573BB11.5010008@fourthworld.com> I've looked into this further, and I've come around on this. Mark Waddingham's comments in the BZ report spell it out well enough: checking the result after attempting to set a script provides everything that's needed to report script parsing errors. This would seem to provide an immediate notification -- so what's the benefit of also sending a separate message to provide the same info? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lan.kc.macmail at gmail.com Mon Dec 4 01:36:39 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 4 Dec 2006 14:36:39 +0800 Subject: [OT] Rev Online User Space Message-ID: I was just wondering what the * next a user name meant. New entry in the last xx days? From eric.chatonet at sosmartsoftware.com Mon Dec 4 04:10:50 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Dec 2006 10:10:50 +0100 Subject: [OT] Rev Online User Space In-Reply-To: References: Message-ID: <730DBFAF-F8DB-4EC5-A8F5-926F4B9BF658@sosmartsoftware.com> Hello, Le 4 d?c. 06 ? 07:36, Kay C Lan a ?crit : > I was just wondering what the * next a user name meant. New entry > in the > last xx days? "*" means stack(s) added since your last visit. If you don't find this very clear :-) you might be interested in "RevOnline Picker" and "RevOnline Watcher", a couple of free plugins available for my website. The first one displays all stacks available from RevOnline (by category, by date), allows searching by keywords in descriptions, sorting, etc. The second one informs you discretely about new stacks uploaded at Rev startup then open RevOnline or RevOnline Picker if you are interested in. Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From mark at maseurope.net Mon Dec 4 07:24:28 2006 From: mark at maseurope.net (Mark Smith) Date: Mon, 4 Dec 2006 12:24:28 +0000 Subject: Stdout and Shell commands Message-ID: Anyone know how to pass an argument to the shell on the standard output? There are some shell commands (openssl sha1, for example) that take their arguments from stdin or a file, but not the command line. While it's easy to write data to a file and pass the filepath to the shell, it's not very efficient if you want to do it many times in succession. I've tried open file stdout write "mark doesn't know how to do this" put shell("openssl sha1") into tDigest close file stdout but this doesn't work... Any ideas? best Mark From lan.kc.macmail at gmail.com Mon Dec 4 09:33:52 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 4 Dec 2006 22:33:52 +0800 Subject: [OT] Rev Online User Space In-Reply-To: <730DBFAF-F8DB-4EC5-A8F5-926F4B9BF658@sosmartsoftware.com> References: <730DBFAF-F8DB-4EC5-A8F5-926F4B9BF658@sosmartsoftware.com> Message-ID: On 12/4/06, Eric Chatonet wrote: > > > "*" means stack(s) added since your last visit. > > If you don't find this very clear :-) you might be interested in > "RevOnline Picker" and "RevOnline Watcher", a couple of free plugins > available for my website. Thanks Eric, I'll check them out:-) From m.schonewille at economy-x-talk.com Mon Dec 4 10:34:07 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 4 Dec 2006 16:34:07 +0100 (MET) Subject: ScriptParsingError In-Reply-To: <4573BB11.5010008@fourthworld.com> References: <4573BB11.5010008@fourthworld.com> Message-ID: <0D6E443C-85DC-48FF-9804-5AEF5955F89E@economy-x-talk.com> Richard, For example, it allows me to extend the errorLib plugin to show up if Rev's script editor encounters a compile error. It also allows me to automate error checking in scripts that temporarily change the script of an object in a standalone. I am sure this message could be used for some nice features in your Devolution and probably other stacks of yours. Of course, I can check the result after setting the script of an object, but by removing the message Revolution Ltd causes unnecessary additional work for me and others who used to use this message, which is my main point. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 4-dec-2006, om 7:07 heeft Richard Gaskin het volgende geschreven: > I've looked into this further, and I've come around on this. > > Mark Waddingham's comments in the BZ report spell it out well > enough: checking the result after attempting to set a script > provides everything that's needed to report script parsing errors. > > This would seem to provide an immediate notification -- so what's > the benefit of also sending a separate message to provide the same > info? > From mikeythek at gmail.com Mon Dec 4 10:47:38 2006 From: mikeythek at gmail.com (Mikey) Date: Mon, 4 Dec 2006 10:47:38 -0500 Subject: Uh oh, I think I Broke Something In-Reply-To: References: <9b408d8e0612011743o757bac7fr8f99c68798999666@mail.gmail.com> Message-ID: <9b408d8e0612040747w1fa0807fo20185e12fba7a3a1@mail.gmail.com> > I'd go for a completely new install of Rev into a different location - I > understand you've hacked quite a bit of Rev so you can have one hacked > version and one clean version:-) Actually, I haven't hacked Rev at all. I have been very careful to keep my hacking separate, going so far as to isolate everything I've been doing from the actual IDE. However, I will try to reinstall both and see if that helps. Mike. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jhonken at webdsp.com Mon Dec 4 11:43:52 2006 From: jhonken at webdsp.com (jhonken) Date: Mon, 4 Dec 2006 11:43:52 -0500 Subject: Convert Date Question Message-ID: <001001c717c3$657386c0$c80ab50a@DellLaptop> I'm trying to get the system date broken up into 3 variables. Year, Month, Date. I'm trying put the Date into it convert it to dateItems answer it put item 1 of it into TYear put item 2 of it into TMonth put char 3 of it into TDay answer TYear answer TMonth answer TDay I get an 2006,12,4,2,0,0,2 for the first answer then I get an "OK" then answer that are empty. Can someone please tell me where I'm erroring. From mwieder at ahsoftware.net Mon Dec 4 11:47:11 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 4 Dec 2006 08:47:11 -0800 Subject: [OT] Rev Online User Space In-Reply-To: <730DBFAF-F8DB-4EC5-A8F5-926F4B9BF658@sosmartsoftware.com> References: <730DBFAF-F8DB-4EC5-A8F5-926F4B9BF658@sosmartsoftware.com> Message-ID: <82571687.20061204084711@ahsoftware.net> Eric- Monday, December 4, 2006, 1:10:50 AM, you wrote: >> I was just wondering what the * next a user name meant. New entry >> in the >> last xx days? > "*" means stack(s) added since your last visit. Actually, it *does* mean "recently", whatever that means. I find your ROPicker plugin much more useful for finding things than the revonline interface. I'd really like it if revonline had accessibly date tags so I could find out how long ago a stack was posted. -- -Mark Wieder mwieder at ahsoftware.net From klaus at major-k.de Mon Dec 4 11:52:22 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 4 Dec 2006 17:52:22 +0100 (MET) Subject: Convert Date Question In-Reply-To: <001001c717c3$657386c0$c80ab50a@DellLaptop> References: <001001c717c3$657386c0$c80ab50a@DellLaptop> Message-ID: Hi, > I'm trying to get the system date broken up into 3 variables. Year, > Month, Date. I'm trying > > > put the Date into it > convert it to dateItems > answer it ### IT contains "OK" now, the name of the button you clicked in the dialog :-) ### Just put the items into the variables BEFORE you "answer it" and you're safe... > put item 1 of it into TYear > put item 2 of it into TMonth > put char 3 of it into TDay > > answer TYear > answer TMonth > answer TDay > > I get an 2006,12,4,2,0,0,2 for the first answer then I get an "OK" > then > answer that are empty. Can someone please tell me where I'm erroring. Regards Klaus Major klaus at major-k.de http://www.major-k.de From eric.chatonet at sosmartsoftware.com Mon Dec 4 11:57:54 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Dec 2006 17:57:54 +0100 Subject: Convert Date Question In-Reply-To: <001001c717c3$657386c0$c80ab50a@DellLaptop> References: <001001c717c3$657386c0$c80ab50a@DellLaptop> Message-ID: <213DE85E-0D73-4AA0-965C-2BC3102FF748@sosmartsoftware.com> Hi jhonken, The answer command places the label of the clicked button into the it variable. Then "it" has changed next time you use it. But your thinking about using dateItems is right ;-) local tDate,tYear,tMonth,tDay ----- put the short date into tDate convert tDate from short date to dateItems put item 1 of tDate into tYear put item 2 of tDate into tMonth put item 3 of tDate into tDay -- not char answer tYear & cr & tMonth & cr & tDay Best Regards from Paris, Eric Chatonet Le 4 d?c. 06 ? 17:43, jhonken a ?crit : > I'm trying to get the system date broken up into 3 variables. Year, > Month, Date. I'm trying > > > put the Date into it > convert it to dateItems > answer it > put item 1 of it into TYear > put item 2 of it into TMonth > put char 3 of it into TDay > > answer TYear > answer TMonth > answer TDay > > I get an 2006,12,4,2,0,0,2 for the first answer then I get an "OK" > then > answer that are empty. Can someone please tell me where I'm erroring. ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From eric.chatonet at sosmartsoftware.com Mon Dec 4 12:10:50 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Dec 2006 18:10:50 +0100 Subject: [OT] Rev Online User Space In-Reply-To: <82571687.20061204084711@ahsoftware.net> References: <730DBFAF-F8DB-4EC5-A8F5-926F4B9BF658@sosmartsoftware.com> <82571687.20061204084711@ahsoftware.net> Message-ID: <04286FA7-6541-4882-93CE-52BD874FCF57@sosmartsoftware.com> Hi Mark, Le 4 d?c. 06 ? 17:47, Mark Wieder a ?crit : > Eric- > I find your ROPicker plugin much more useful for finding things > than the revonline > interface. I'd really like it if revonline had accessibly date tags so > I could find out how long ago a stack was posted. > > -Mark Wieder Thanks for the kind words about RevOnline Picker. I think so too ;-) And to be frank it's the reason why I wrote this tiny plugin... But you are right: the only specific tag you can get is the fingerprint of a stack and it means nothing... May be a next version will provide this: follow my eyes ;-) Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From r.venzl-schubert at t-online.de Mon Dec 4 12:11:18 2006 From: r.venzl-schubert at t-online.de (Reinhold Venzl-Schubert) Date: Mon, 4 Dec 2006 18:11:18 +0100 Subject: How to fill out Database Query Builder fields In-Reply-To: <20061204153417.D623E488EEE@mail.runrev.com> References: <20061204153417.D623E488EEE@mail.runrev.com> Message-ID: <6D7A46E8-5BB5-4F6B-9167-FD243608360C@t-online.de> > Reinhold, > > You should replace the line in your "Database Drivers.txt" file > > altSQlite3,dbsqlite3.bundle > > with > > sqlite3,dbsqlite3.bundle > > This combined witht he previous parameters and your test stack > works fine on > my machine running Rev 2.7.2 on 10.4.9 > > -- > cb Hi Chris, I found 5 files "Database Drivers.txt" in the "2.7.4-gm-1"-Folder: 1. /2.7.4-gm-1/Externals/Database Drivers/Database Drivers.txt MySQL,dbmysql.bundle ODBC,dbodbc.bundle Oracle,dboracle.bundle PostgreSQL,dbpostgresql.bundle Valentina,VXCMD_macho.bundle altSQLite3,dbsqlite3.bundle <-- this I changed! 2. /2.7.4-gm-1/Runtime/Windows/x86-32/Externals/Database Drivers/ Database Drivers.txt MySQL,dbmysql.dll ODBC,dbodbc.dll Oracle,dboracle.dll PostgreSQL,dbpostgresql.dll Valentina,dbvalentina.dll,VXCMD.dll 3. /2.7.4-gm-1/Runtime/Mac OS/PowerPC-32/Externals/Database Drivers/ Database Drivers.txt MySQL,dbmysql.bundle ODBC,dbodbc.bundle Oracle,dboracle.bundle PostgreSQL,dbpostgresql.bundle Valentina,VXCMD_macho.bundle altSQLite3,dbsqlite3.bundle <-- this I changed! 4. /2.7.4-gm-1/Runtime/Mac OS/Universal/Externals/Database Drivers/ Database Drivers.txt MySQL,dbmysql.bundle ODBC,dbodbc.bundle Oracle,dboracle.bundle PostgreSQL,dbpostgresql.bundle Valentina,VXCMD_macho.bundle 5. /2.7.4-gm-1/Runtime/Mac OS/x86-32/External/Database Drivers/ Database Drivers.txt MySQL,dbmysql.bundle ODBC,dbodbc.bundle PostgreSQL,dbpostgresql.bundle Then I tried it again, but invain! I get the same error message. I am so frustrated and tired. I bought Revolution 2.7.1 and altSQLite3 to use a database but the QueryBuilder of rev 2.7.1 and 2.7.2 did not support altSQLite3. The I read, that rev 2.7.4 supports altSQLite3 and I bought rev 2.7.4 and the Universal Binary Version of altSQLite3. It waste my money and my time. Reinhold From jhonken at webdsp.com Mon Dec 4 12:21:29 2006 From: jhonken at webdsp.com (jhonken) Date: Mon, 4 Dec 2006 12:21:29 -0500 Subject: Convert Date Question In-Reply-To: <213DE85E-0D73-4AA0-965C-2BC3102FF748@sosmartsoftware.com> Message-ID: <000601c717c8$a3639920$c80ab50a@DellLaptop> That worked great. Thanks -----Original Message----- From: Eric Chatonet [mailto:eric.chatonet at sosmartsoftware.com] Sent: Monday, December 04, 2006 11:58 AM To: How to use Revolution Subject: Re: Convert Date Question Hi jhonken, The answer command places the label of the clicked button into the it variable. Then "it" has changed next time you use it. But your thinking about using dateItems is right ;-) local tDate,tYear,tMonth,tDay ----- put the short date into tDate convert tDate from short date to dateItems put item 1 of tDate into tYear put item 2 of tDate into tMonth put item 3 of tDate into tDay -- not char answer tYear & cr & tMonth & cr & tDay Best Regards from Paris, Eric Chatonet Le 4 d?c. 06 ? 17:43, jhonken a ?crit : > I'm trying to get the system date broken up into 3 variables. Year, > Month, Date. I'm trying > > > put the Date into it > convert it to dateItems > answer it > put item 1 of it into TYear > put item 2 of it into TMonth > put char 3 of it into TDay > > answer TYear > answer TMonth > answer TDay > > I get an 2006,12,4,2,0,0,2 for the first answer then I get an "OK" > then > answer that are empty. Can someone please tell me where I'm erroring. ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.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 chris at altuit.com Mon Dec 4 13:17:43 2006 From: chris at altuit.com (chris bohnert) Date: Mon, 4 Dec 2006 12:17:43 -0600 Subject: How to fill out Database Query Builder fields In-Reply-To: <6D7A46E8-5BB5-4F6B-9167-FD243608360C@t-online.de> References: <20061204153417.D623E488EEE@mail.runrev.com> <6D7A46E8-5BB5-4F6B-9167-FD243608360C@t-online.de> Message-ID: <2e0cf4750612041017w47586546w7f3dee118be0c9be@mail.gmail.com> Reinhold, Between 2.7.1 and 2.7.2 Runrev changed the configuration for revdb. As far as I know altSqlite and QueryBuilder have always worked when configured as necessary. Support for altSqlite, altBrowser and altFont have officially become part of Runrev as of Dec. 1st. They can be reached at support(at)runrev.com. I'd be happy to help you work through your configuration issues if you contact me off-list at chris(at)altuit.com -- cb On 12/4/06, Reinhold Venzl-Schubert wrote: > > > Reinhold, > > > > You should replace the line in your "Database Drivers.txt" file > > > > altSQlite3,dbsqlite3.bundle > > > > with > > > > sqlite3,dbsqlite3.bundle > > > > This combined witht he previous parameters and your test stack > > works fine on > > my machine running Rev 2.7.2 on 10.4.9 > > > > -- > > cb > > Hi Chris, > > I found 5 files "Database Drivers.txt" in the "2.7.4-gm-1"-Folder: > > 1. /2.7.4-gm-1/Externals/Database Drivers/Database Drivers.txt > MySQL,dbmysql.bundle > ODBC,dbodbc.bundle > Oracle,dboracle.bundle > PostgreSQL,dbpostgresql.bundle > Valentina,VXCMD_macho.bundle > altSQLite3,dbsqlite3.bundle <-- this I > changed! > > 2. /2.7.4-gm-1/Runtime/Windows/x86-32/Externals/Database Drivers/ > Database Drivers.txt > MySQL,dbmysql.dll > ODBC,dbodbc.dll > Oracle,dboracle.dll > PostgreSQL,dbpostgresql.dll > Valentina,dbvalentina.dll,VXCMD.dll > > 3. /2.7.4-gm-1/Runtime/Mac OS/PowerPC-32/Externals/Database Drivers/ > Database Drivers.txt > MySQL,dbmysql.bundle > ODBC,dbodbc.bundle > Oracle,dboracle.bundle > PostgreSQL,dbpostgresql.bundle > Valentina,VXCMD_macho.bundle > altSQLite3,dbsqlite3.bundle <-- this I > changed! > > 4. /2.7.4-gm-1/Runtime/Mac OS/Universal/Externals/Database Drivers/ > Database Drivers.txt > MySQL,dbmysql.bundle > ODBC,dbodbc.bundle > Oracle,dboracle.bundle > PostgreSQL,dbpostgresql.bundle > Valentina,VXCMD_macho.bundle > > 5. /2.7.4-gm-1/Runtime/Mac OS/x86-32/External/Database Drivers/ > Database Drivers.txt > MySQL,dbmysql.bundle > ODBC,dbodbc.bundle > PostgreSQL,dbpostgresql.bundle > > Then I tried it again, but invain! I get the same error message. > I am so frustrated and tired. > > I bought Revolution 2.7.1 and altSQLite3 to use a database but the > QueryBuilder of rev 2.7.1 and 2.7.2 did not support altSQLite3. > The I read, that rev 2.7.4 supports altSQLite3 and I bought rev 2.7.4 > and the Universal Binary Version of altSQLite3. > > It waste my money and my time. > > Reinhold > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From bill at bluewatermaritime.com Mon Dec 4 13:27:06 2006 From: bill at bluewatermaritime.com (Bill) Date: Mon, 04 Dec 2006 14:27:06 -0400 Subject: How to fill out Database Query Builder fields In-Reply-To: <6D7A46E8-5BB5-4F6B-9167-FD243608360C@t-online.de> Message-ID: Reinhold Don't give up. I use SQLite3 and it worked great with RunRev and the ALTSQL plug in. Now I upgraded to 2.7.4 and after moving my datafile (has to be in the same folder as RunRev main file) and putting the altsqlite plugins where they go it works fine .... But, I can't help you with the query builder connection fill-out I find that even though it works there is no pop-up for SQLite anymore and it is "MYSQL" that is chosen and which is working even though I'm using SQLite. In any case I highly recommend that you use Trever's library as much as possible instead of the query builder as the query builder behaves more like wine making than science. Trever's library also works faster and you never get weird errors like the "too many connections open" that you get with the query builder. The query builder is not really finished anyway as it does not allow you to insert a new record and the edit record feature doesn't always work (you enter data in a field and be sure to tab to the next field and then refresh to check it). Please try Trevor's library before you give up. Bill On 12/4/06 1:11 PM, "Reinhold Venzl-Schubert" wrote: >> Reinhold, >> >> You should replace the line in your "Database Drivers.txt" file >> >> altSQlite3,dbsqlite3.bundle >> >> with >> >> sqlite3,dbsqlite3.bundle >> >> This combined witht he previous parameters and your test stack >> works fine on >> my machine running Rev 2.7.2 on 10.4.9 >> >> -- >> cb > > Hi Chris, > > I found 5 files "Database Drivers.txt" in the "2.7.4-gm-1"-Folder: > > 1. /2.7.4-gm-1/Externals/Database Drivers/Database Drivers.txt > MySQL,dbmysql.bundle > ODBC,dbodbc.bundle > Oracle,dboracle.bundle > PostgreSQL,dbpostgresql.bundle > Valentina,VXCMD_macho.bundle > altSQLite3,dbsqlite3.bundle <-- this I changed! > > 2. /2.7.4-gm-1/Runtime/Windows/x86-32/Externals/Database Drivers/ > Database Drivers.txt > MySQL,dbmysql.dll > ODBC,dbodbc.dll > Oracle,dboracle.dll > PostgreSQL,dbpostgresql.dll > Valentina,dbvalentina.dll,VXCMD.dll > > 3. /2.7.4-gm-1/Runtime/Mac OS/PowerPC-32/Externals/Database Drivers/ > Database Drivers.txt > MySQL,dbmysql.bundle > ODBC,dbodbc.bundle > Oracle,dboracle.bundle > PostgreSQL,dbpostgresql.bundle > Valentina,VXCMD_macho.bundle > altSQLite3,dbsqlite3.bundle <-- this I changed! > > 4. /2.7.4-gm-1/Runtime/Mac OS/Universal/Externals/Database Drivers/ > Database Drivers.txt > MySQL,dbmysql.bundle > ODBC,dbodbc.bundle > Oracle,dboracle.bundle > PostgreSQL,dbpostgresql.bundle > Valentina,VXCMD_macho.bundle > > 5. /2.7.4-gm-1/Runtime/Mac OS/x86-32/External/Database Drivers/ > Database Drivers.txt > MySQL,dbmysql.bundle > ODBC,dbodbc.bundle > PostgreSQL,dbpostgresql.bundle > > Then I tried it again, but invain! I get the same error message. > I am so frustrated and tired. > > I bought Revolution 2.7.1 and altSQLite3 to use a database but the > QueryBuilder of rev 2.7.1 and 2.7.2 did not support altSQLite3. > The I read, that rev 2.7.4 supports altSQLite3 and I bought rev 2.7.4 > and the Universal Binary Version of altSQLite3. > > It waste my money and my time. > > Reinhold > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 2087 Rio Grande, PR 00745 From ambassador at fourthworld.com Mon Dec 4 15:10:47 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Dec 2006 12:10:47 -0800 Subject: ScriptParsingError Message-ID: <457480C7.1000401@fourthworld.com> Mark Schonewille wrote: > For example, it allows me to extend the errorLib plugin to show up if > Rev's script editor encounters a compile error. It also allows me to > automate error checking in scripts that temporarily change the script > of an object in a standalone. I am sure this message could be used > for some nice features in your Devolution and probably other stacks > of yours. > > Of course, I can check the result after setting the script of an > object, but by removing the message Revolution Ltd causes unnecessary > additional work for me and others who used to use this message, which > is my main point. I think you may be alone here. If I read Mark's comment correctly, Rev hasn't used that message in a long time, and looking through the MC IDE it seems it's been dormant there as well in favor of checking the result, since at least half a decade ago. It'll be tough to make a business case for reverting to the message after all this time, esp. given the convenient immediacy of just checking the result. Look at it this way: Sure, it's extra work, but you do it once, it only takes a few minutes, and it's done forever. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jerry at daniels-mara.com Mon Dec 4 16:30:58 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Mon, 4 Dec 2006 15:30:58 -0600 Subject: Galaxy requirements In-Reply-To: <200612031352.37996.palcibiades-first@yahoo.co.uk> References: <200612031352.37996.palcibiades-first@yahoo.co.uk> Message-ID: Not yet. No Linux at this time. Best, Jerry Daniels -------------- next part -------------- Tool makers for the 21st century http://www.daniels-mara.com Voice: 512.879.6286 Skype: jerry.daniels On Dec 3, 2006, at 7:52 AM, Peter Alcibiades wrote: > Does Galaxy run on Revolution 2.6.1 Linux? > > Peter > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From m.schonewille at economy-x-talk.com Mon Dec 4 16:51:49 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 4 Dec 2006 22:51:49 +0100 (MET) Subject: ScriptParsingError In-Reply-To: <457480C7.1000401@fourthworld.com> References: <457480C7.1000401@fourthworld.com> Message-ID: Which message is next? No Richard, I think that once a message is there, it should stick for all eternity. Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz > to the message after all this time, esp. given the convenient > immediacy of just checking the result. > > Look at it this way: Sure, it's extra work, but you do it once, it > only takes a few minutes, and it's done forever. From ambassador at fourthworld.com Mon Dec 4 17:43:28 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Dec 2006 14:43:28 -0800 Subject: v2.7 engine? Message-ID: <4574A490.9040909@fourthworld.com> I can only find engines through v2.6.1 at -- where are engines for v2.7.x obtained? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rjb at robelko.com Mon Dec 4 17:28:55 2006 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 4 Dec 2006 23:28:55 +0100 Subject: Plugin visibility In-Reply-To: References: <8F036CD3-E697-4730-B2B5-E5FE8ABAD6A4@swcp.com> <44D69AA7.8050803@pdslabs.net> Message-ID: >On Aug 6, 2006, at 7:43 PM, Phil Davis wrote: > >>The settings Mark mentioned are the ones I was referring to in my >>earlier response. I didn't see a message among them that tells the >>plugin when (start of session / mid-session) or how (auto / manual) >>it is being opened. I thought that's what you wanted - so the >>plugin to make up its own mind whether it should be visible or not. >>Maybe I missed what you were really asking? > >I don't think I thought this out. > >I wanted to tell whether started "Revolution starts up" or "Chosen >from Plugins menu", so the stack can override "invisible" for the >latter case. > >But that is only because there didn't seem to be a way to select >invisible for the first and not for the latter. It would be nice if >that was the case. > >After thinking about it, I don't think I want to override those settings. > >But maybe. After all, the tab editor does that. > >Dar I just found this thread in the list archives. Has anyone figured a solution? There is an old enhancement request in Bugzilla (Bug 1482) to address it, but... Robert From dsc at swcp.com Mon Dec 4 17:52:52 2006 From: dsc at swcp.com (Dar Scott) Date: Mon, 4 Dec 2006 15:52:52 -0700 Subject: Stdout and Shell commands In-Reply-To: References: Message-ID: On Dec 4, 2006, at 5:24 AM, Mark Smith wrote: > There are some shell commands (openssl sha1, for example) that take > their arguments from stdin or a file, but not the command line. > While it's easy to write data to a file and pass the filepath to > the shell, it's not very efficient if you want to do it many times > in succession. What you want is process i/o. See 'open process' etc. There are some problems. You have to do a half-close. That is, you need to close the pipe to the tool without closing the pipe from the tool. Revolution tries to do a half-close with a a control character (04, EOT, Control-D), but that doesn't work well. On OS X you cannot do a half-close with binary. This was done to fix a concern (bz 1770). On OS X this does do a half-close with text mode, but there seems to be something fishy with the line ends in text mode. Anybody know what is wrong with the line ends in this case? This needs a bz but I'm not sure what is up. I've tried this with sort and things don't get sorted. On XP it gets a little mixed up with ^X or ^Z, I forgot which. That is, Rev thinks it closed the pipe for ^D, but the application thinks it is still open. Maybe you can send ^X^Z^D and something will happen. I have some notes someplace but I don't think they were enough to bugzilla. As you can see, I'm not clear on this. We do need a half close command for open process and open socket. If the tool reads a fixed number of lines or characters, you might be OK. You don't have to do the half close. I do have some other bugs reported on process I/O and some bugs that are not ready for bz on process I/O. I'd go with the file for the input with shell() for now. If the output is binary, then you should use a file for output, too, on Windows. I have not had a problem with binary output on OS X. Note that passwords are often not input with stdin even though they look like it. Dar From jacque at hyperactivesw.com Mon Dec 4 17:55:08 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Dec 2006 16:55:08 -0600 Subject: v2.7 engine? In-Reply-To: <4574A490.9040909@fourthworld.com> References: <4574A490.9040909@fourthworld.com> Message-ID: <4574A74C.50801@hyperactivesw.com> Richard Gaskin wrote: > > I can only find engines through v2.6.1 at > -- where are > engines for v2.7.x obtained? > I usually just grab them from the downloads page on the web site. Or do you need a 2.7 version that isn't current? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Dec 4 17:59:12 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Dec 2006 14:59:12 -0800 Subject: v2.7 engine? Message-ID: <4574A840.8070304@fourthworld.com> J. Landman Gay wrote: > Richard Gaskin wrote: >> I can only find engines through v2.6.1 at >> -- where are >> engines for v2.7.x obtained? > > I usually just grab them from the downloads page on the web site. Or do > you need a 2.7 version that isn't current? I can only find complete installs there, and all I'm looking for is the runtime engine to make standalones with. The current version would be fine -- what's the URL? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Mon Dec 4 18:06:45 2006 From: dsc at swcp.com (Dar Scott) Date: Mon, 4 Dec 2006 16:06:45 -0700 Subject: Stdout and Shell commands In-Reply-To: References: Message-ID: <2F29829C-7F5D-4F90-86BD-C942D757F6DC@swcp.com> On Dec 4, 2006, at 3:52 PM, Dar Scott wrote: > If the tool reads a fixed number of lines or characters, you might > be OK. You don't have to do the half close. Actually, this would apply more often than not. I had some specific process I/O problems on my mind. Try it and see. (Other process I/O bugs might bite.) Dar From david at openpartnership.net Mon Dec 4 18:46:49 2006 From: david at openpartnership.net (David Bovill) Date: Mon, 4 Dec 2006 18:46:49 -0500 Subject: Bizarre? Group id = 0??? In-Reply-To: <770EFE93-7C45-48F7-99D8-1105241369E0@maseurope.net> References: <770EFE93-7C45-48F7-99D8-1105241369E0@maseurope.net> Message-ID: No that does not work. That is the script: getprop date_Record put the long id of me into myView return the long id of group "_dateCreated" of myView end date_Record Still returns: group id 0 of group id 3712 of group id 1231 of group id 1275 of card id 1002 of stack .... when called from anoher card. While giving: group id 3706 of group id 3698 of group id 1231 of group id 1275 of card id 1002 of stack .... when called from the current card. Further investigation reveals that this is an issue only for controls that have been created and not "loaded" by visiting the card they were created on. For my application a group is copied to another card and I refer to elements within that group with properties. This is what is not working. Visiting the card before getting a reference solves the problem - but is not really an option in my case as their are large videos on the card - and this is way too slow. There seems no way around this bug? As a hack I have moved the group to the first group which is what an id of 0 seems to refer to! I've added this info to the report to the bug 3420report: http://support.runrev.com/bugdatabase/show_bug.cgi?id=3420 From david at openpartnership.net Mon Dec 4 18:58:38 2006 From: david at openpartnership.net (David Bovill) Date: Mon, 4 Dec 2006 18:58:38 -0500 Subject: Bizarre? Group id = 0??? In-Reply-To: References: <770EFE93-7C45-48F7-99D8-1105241369E0@maseurope.net> Message-ID: Just a thought but does anyone know how to "load" / refresh a card without actually visiting it? Lock = unlock screen does not work - and as the current card has a nice big video on it I don"t want to have to go and come back? Ideas anyone? From m.schonewille at economy-x-talk.com Mon Dec 4 19:24:23 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 5 Dec 2006 01:24:23 +0100 (MET) Subject: Bizarre? Group id = 0??? In-Reply-To: References: <770EFE93-7C45-48F7-99D8-1105241369E0@maseurope.net> Message-ID: <7C42A7F5-FB13-4D38-8096-677706FD4B32@economy-x-talk.com> Hi, go invisible cd x but it would be better if you could avoid "going" there altogether. Can't you just read some properties like "the text of fld x of cd y"? Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 5-dec-2006, om 0:58 heeft David Bovill het volgende geschreven: > Just a thought but does anyone know how to "load" / refresh a card > without > actually visiting it? > > Lock = unlock screen does not work - and as the current card has a > nice big > video on it I don"t want to have to go and come back? Ideas anyone? From jperryl at ecs.fullerton.edu Mon Dec 4 19:29:48 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 4 Dec 2006 16:29:48 -0800 (PST) Subject: [OT] Rev Online User Space In-Reply-To: <730DBFAF-F8DB-4EC5-A8F5-926F4B9BF658@sosmartsoftware.com> Message-ID: Gee, I thought that it stood for "you idiot! you have more than one RevOnline space!!" ('cuz I noticed that one of my spaces had one; most assuredly not a comment on anyone else's). ;-) Judy On Mon, 4 Dec 2006, Eric Chatonet wrote: > Hello, > > Le 4 d?c. 06 ? 07:36, Kay C Lan a ?crit : > > > I was just wondering what the * next a user name meant. New entry > > in the > > last xx days? > > "*" means stack(s) added since your last visit. > > If you don't find this very clear :-) you might be interested in > "RevOnline Picker" and "RevOnline Watcher", a couple of free plugins > available for my website. > The first one displays all stacks available from RevOnline (by > category, by date), allows searching by keywords in descriptions, > sorting, etc. > The second one informs you discretely about new stacks uploaded at > Rev startup then open RevOnline or RevOnline Picker if you are > interested in. > > Best Regards from Paris, > Eric Chatonet > ------------------------------------------------------------------------ > ---------------------- > http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.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 sarah.reichelt at gmail.com Mon Dec 4 19:41:21 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 5 Dec 2006 10:41:21 +1000 Subject: v2.7 engine? In-Reply-To: <4574A74C.50801@hyperactivesw.com> References: <4574A490.9040909@fourthworld.com> <4574A74C.50801@hyperactivesw.com> Message-ID: On 12/5/06, J. Landman Gay wrote: > Richard Gaskin wrote: > > > > I can only find engines through v2.6.1 at > > -- where are > > engines for v2.7.x obtained? > > > > I usually just grab them from the downloads page on the web site. Or do > you need a 2.7 version that isn't current? > What engine should I be using for CGI stuff on OS X? At the moment I'm using the 2.1.2 Darwin engine as specified in Jacque's wonderful CGI tutorial, but I would love to change to 2.7 since I would not have to remember to save stacks in the old format all the time :-) Sarah From JimAultWins at yahoo.com Mon Dec 4 19:44:06 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 04 Dec 2006 16:44:06 -0800 Subject: Bizarre? Group id = 0??? In-Reply-To: Message-ID: > > There seems no way around this bug? As a hack I have moved the group to the > first group which is what an id of 0 seems to refer to! I would do a handler such as on closecard set the cpDateCreated of this card to the propIwantLater -- now it is available to any stack from any card -- in your case, -- to the long id of group "_dateCreated" -- further, I would put the actual info I want to retrieve into the custom properties to make things easier. end closecard Hopefully the bug will be fixed, but until then.... What I have described is not a hack, but another way Rev would allow you to set and access info. > Further investigation reveals that this is an issue only for controls that > have been created and not "loaded" by visiting the card they were created > on. For my application a group is copied to another card and I refer to > elements within that group with properties. This is what is not working. > Visiting the card before getting a reference solves the problem - but is not > really an option in my case as their are large videos on the card - and this > is way too slow. Do you 'copy' the group to the next card or 'place' the group on that card? And when is this done? (during development, or program operation)? On 12/4/06 3:46 PM, "David Bovill" wrote: > No that does not work. That is the script: > > getprop date_Record > put the long id of me into myView > return the long id of group "_dateCreated" of myView > end date_Record > > Still returns: > > group id 0 of group id 3712 of group id 1231 of group id 1275 of card id > 1002 of stack .... > > when called from anoher card. While giving: > > group id 3706 of group id 3698 of group id 1231 of group id 1275 of card > id 1002 of stack .... > > when called from the current card. Is there a group id 3712? If so, the group id 3698 seems to be the one you really want. > > Further investigation reveals that this is an issue only for controls that > have been created and not "loaded" by visiting the card they were created > on. For my application a group is copied to another card and I refer to > elements within that group with properties. This is what is not working. > Visiting the card before getting a reference solves the problem - but is not > really an option in my case as their are large videos on the card - and this > is way too slow. > > There seems no way around this bug? As a hack I have moved the group to the > first group which is what an id of 0 seems to refer to! Jim Ault Las Vegas From jacque at hyperactivesw.com Mon Dec 4 19:58:34 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Dec 2006 18:58:34 -0600 Subject: v2.7 engine? In-Reply-To: <4574A840.8070304@fourthworld.com> References: <4574A840.8070304@fourthworld.com> Message-ID: <4574C43A.4090601@hyperactivesw.com> Richard Gaskin wrote: > J. Landman Gay wrote: >> Richard Gaskin wrote: >>> I can only find engines through v2.6.1 at >>> -- where are >>> engines for v2.7.x obtained? >> >> I usually just grab them from the downloads page on the web site. Or >> do you need a 2.7 version that isn't current? > > I can only find complete installs there, and all I'm looking for is the > runtime engine to make standalones with. The current version would be > fine -- what's the URL? > I meant, I download the whole shebang and then grab the engine out of it. Check your copy of Enterprise to see if it already contains the Mac and Windows standalone engines. They are in mine. If you don't see them, just make a 1-card standalone and build for all available platforms, and they will show up in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 4 20:01:32 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Dec 2006 19:01:32 -0600 Subject: v2.7 engine? In-Reply-To: References: <4574A490.9040909@fourthworld.com> <4574A74C.50801@hyperactivesw.com> Message-ID: <4574C4EC.3080301@hyperactivesw.com> Sarah Reichelt wrote: > What engine should I be using for CGI stuff on OS X? > > At the moment I'm using the 2.1.2 Darwin engine as specified in > Jacque's wonderful CGI tutorial, but I would love to change to 2.7 > since I would not have to remember to save stacks in the old format > all the time :-) That's the last Darwin engine. I asked for a new one quite a while ago, but so far, no go. Hardly anyone needs it, so I bet they've forgotten I mentioned it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Dec 4 20:56:15 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Dec 2006 17:56:15 -0800 Subject: v2.7 engine? Message-ID: <4574D1BF.8000708@fourthworld.com> J. Landman Gay wrote: > Check your copy of Enterprise to see if it already contains the Mac and > Windows standalone engines. They are in mine. My Enterprise does too. Seems this is new for v2.7. What engines are included with Studio? > If you don't see them, just make a 1-card standalone and build for all > available platforms, and they will show up in there. Where would it get them from? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jc at spl21.net Mon Dec 4 20:58:09 2006 From: jc at spl21.net (John Craig) Date: Tue, 05 Dec 2006 01:58:09 +0000 Subject: Image collision detection In-Reply-To: <45731D12.7030900@spl21.net> References: <45731D12.7030900@spl21.net> Message-ID: <4574D231.8060109@spl21.net> Library is available at http://www.molekular.co.uk for anyone who wants it. :-) JC John Craig wrote: > For anyone interested in image collisions, I have uploaded a demo to > user space Jock_McTartan. I'll upload a library file shortly for > using in your own projects. Feedback would be appreciated - IMHO it's > pretty fast even with reasonably large images. Intended for use with > PNG images, it has pixel level collisions and a transparency threshold > setting to avoid collisions with object shadows, etc. > > JC > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Mon Dec 4 21:25:24 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Dec 2006 20:25:24 -0600 Subject: v2.7 engine? In-Reply-To: <4574D1BF.8000708@fourthworld.com> References: <4574D1BF.8000708@fourthworld.com> Message-ID: <4574D894.6020309@hyperactivesw.com> Richard Gaskin wrote: > J. Landman Gay wrote: >> Check your copy of Enterprise to see if it already contains the Mac >> and Windows standalone engines. They are in mine. > > My Enterprise does too. Seems this is new for v2.7. What engines are > included with Studio? I'm not sure, I have Enterprise and Media. Someone with Studio might look for us. > >> If you don't see them, just make a 1-card standalone and build for all >> available platforms, and they will show up in there. > > Where would it get them from? > It downloads them during the build as needed from the server. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Dec 4 21:52:50 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Dec 2006 18:52:50 -0800 Subject: v2.7 engine? Message-ID: <4574DF02.8000100@fourthworld.com> J. Landman Gay wrote: >>> If you don't see them, just make a 1-card standalone and build for all >>> available platforms, and they will show up in there. >> >> Where would it get them from? > > It downloads them during the build as needed from the server. Right. I gathered that from "download". :) URL? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lan.kc.macmail at gmail.com Mon Dec 4 22:36:52 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 5 Dec 2006 11:36:52 +0800 Subject: [OT] Rev Online User Space In-Reply-To: References: <730DBFAF-F8DB-4EC5-A8F5-926F4B9BF658@sosmartsoftware.com> Message-ID: On 12/5/06, Judy Perry wrote: > > Gee, I thought that it stood for "you idiot! you have more than one > RevOnline space!!" Oh good, now I don't feel as I'm the only one who didn't know:-) From lan.kc.macmail at gmail.com Mon Dec 4 22:51:51 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 5 Dec 2006 11:51:51 +0800 Subject: Convert Date Question In-Reply-To: <000601c717c8$a3639920$c80ab50a@DellLaptop> References: <213DE85E-0D73-4AA0-965C-2BC3102FF748@sosmartsoftware.com> <000601c717c8$a3639920$c80ab50a@DellLaptop> Message-ID: On 12/5/06, jhonken wrote: > > That worked great. Thanks I think in general many on this list would recommend that you never 'use' it. In those case where Rev places data into it, like 'answer', many will immediately 'put it into myVar' and then work with the variable. This will save you a lot of troubleshooting similar problems where 'it' will suddenly change on you. HTH From lan.kc.macmail at gmail.com Mon Dec 4 23:03:06 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 5 Dec 2006 12:03:06 +0800 Subject: v2.7 engine? In-Reply-To: <4574D894.6020309@hyperactivesw.com> References: <4574D1BF.8000708@fourthworld.com> <4574D894.6020309@hyperactivesw.com> Message-ID: On 12/5/06, J. Landman Gay wrote: > > > I'm not sure, I have Enterprise and Media. Someone with Studio might > look for us. In my Mac Studio edition I have 3 Mac Standalones (PPC-32,Universal, X86-32) and one Win (x86-32) HTH From mark at maseurope.net Mon Dec 4 23:05:59 2006 From: mark at maseurope.net (Mark Smith) Date: Tue, 5 Dec 2006 04:05:59 +0000 Subject: Stdout and Shell commands In-Reply-To: References: Message-ID: Thanks, Dar. I might play around with "process", but it sounds like the file route is the way to go for now. Best, Mark On 4 Dec 2006, at 22:52, Dar Scott wrote: > > On Dec 4, 2006, at 5:24 AM, Mark Smith wrote: > >> There are some shell commands (openssl sha1, for example) that >> take their arguments from stdin or a file, but not the command >> line. While it's easy to write data to a file and pass the >> filepath to the shell, it's not very efficient if you want to do >> it many times in succession. > > What you want is process i/o. See 'open process' etc. > > There are some problems. You have to do a half-close. That is, > you need to close the pipe to the tool without closing the pipe > from the tool. > > Revolution tries to do a half-close with a a control character (04, > EOT, Control-D), but that doesn't work well. > > On OS X you cannot do a half-close with binary. This was done to > fix a concern (bz 1770). > > On OS X this does do a half-close with text mode, but there seems > to be something fishy with the line ends in text mode. Anybody > know what is wrong with the line ends in this case? This needs a > bz but I'm not sure what is up. I've tried this with sort and > things don't get sorted. > > On XP it gets a little mixed up with ^X or ^Z, I forgot which. > That is, Rev thinks it closed the pipe for ^D, but the application > thinks it is still open. Maybe you can send ^X^Z^D and something > will happen. I have some notes someplace but I don't think they > were enough to bugzilla. > > As you can see, I'm not clear on this. We do need a half close > command for open process and open socket. > > If the tool reads a fixed number of lines or characters, you might > be OK. You don't have to do the half close. > > I do have some other bugs reported on process I/O and some bugs > that are not ready for bz on process I/O. > > > I'd go with the file for the input with shell() for now. If the > output is binary, then you should use a file for output, too, on > Windows. I have not had a problem with binary output on OS X. > > Note that passwords are often not input with stdin even though they > look like it. > > Dar > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Mon Dec 4 23:10:05 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Dec 2006 22:10:05 -0600 Subject: v2.7 engine? In-Reply-To: <4574DF02.8000100@fourthworld.com> References: <4574DF02.8000100@fourthworld.com> Message-ID: <4574F11D.8030000@hyperactivesw.com> Richard Gaskin wrote: > J. Landman Gay wrote: > >>>> If you don't see them, just make a 1-card standalone and build for all >>>> available platforms, and they will show up in there. >>> >>> Where would it get them from? >> >> It downloads them during the build as needed from the server. > > Right. I gathered that from "download". :) > > URL? > You don't understand. The standalone builder downloads the files automatically as needed. There is no public URL that I know of, it is all internal. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 4 23:13:12 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Dec 2006 22:13:12 -0600 Subject: v2.7 engine? In-Reply-To: References: <4574D1BF.8000708@fourthworld.com> <4574D894.6020309@hyperactivesw.com> Message-ID: <4574F1D8.4090508@hyperactivesw.com> Kay C Lan wrote: > On 12/5/06, J. Landman Gay wrote: >> >> >> I'm not sure, I have Enterprise and Media. Someone with Studio might >> look for us. > > > In my Mac Studio edition I have 3 Mac Standalones (PPC-32,Universal, > X86-32) > and one Win (x86-32) > > HTH Thanks for checking. So it looks like auto-download isn't needed any more, the distributions just ship with everything. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jc at spl21.net Tue Dec 5 04:09:27 2006 From: jc at spl21.net (John Craig) Date: Tue, 05 Dec 2006 09:09:27 +0000 Subject: Image collision detection In-Reply-To: <0FC0448B-639C-432F-AB40-9912255527C4@elementarysoftware.com> References: <45731D12.7030900@spl21.net> <0FC0448B-639C-432F-AB40-9912255527C4@elementarysoftware.com> Message-ID: <45753747.4070408@spl21.net> Thanks to everyone who emailed with feedback - it's really helpful. There is also a legacy version available now - just tried it on Linux / Rev 2.6.1. JC ---------------------------- download the library at http://molekular.co.uk/ Scott Morrow wrote: > The transparency threshold is great! > > -Scott Morrow > Elementary Software > > On Dec 3, 2006, at 10:53 AM, John Craig wrote: > >> For anyone interested in image collisions, I have uploaded a demo to >> user space Jock_McTartan. I'll upload a library file shortly for >> using in your own projects. Feedback would be appreciated - IMHO >> it's pretty fast even with reasonably large images. Intended for use >> with PNG images, it has pixel level collisions and a transparency >> threshold setting to avoid collisions with object shadows, etc. >> >> JC >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 revlist at azurevision.co.uk Tue Dec 5 05:55:19 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 5 Dec 2006 10:55:19 +0000 Subject: OT: Why you shouldn't give away your shareware for free Message-ID: <655D3BE8-D10C-46A5-BFE9-EB4D2B2221AE@azurevision.co.uk> Roughly paraphrased as: Hey buddy, can we give away 5,000 copies of your app for free? What? Why on Earth would I want to create an extra 5,000 potential customer support issues for no money, and piss off all my paying customers? Ian From alex at harryscollar.com Tue Dec 5 07:24:59 2006 From: alex at harryscollar.com (Alex Shaw) Date: Tue, 05 Dec 2006 22:24:59 +1000 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> Message-ID: <4575651B.8050201@harryscollar.com> Hi Re: Revolution browser plugin, has anyone tried OSA Kit? http://www.osakit.com regards alex From m.schonewille at economy-x-talk.com Tue Dec 5 07:31:51 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 5 Dec 2006 13:31:51 +0100 (MET) Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <4575651B.8050201@harryscollar.com> References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <4575651B.8050201@harryscollar.com> Message-ID: Hi Alex, Am I right that OSA Kit works on Windows only? Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 5-dec-2006, om 13:24 heeft Alex Shaw het volgende geschreven: > Hi > > Re: Revolution browser plugin, has anyone tried OSA Kit? > > http://www.osakit.com > > regards > alex From rjb at robelko.com Tue Dec 5 08:12:07 2006 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 5 Dec 2006 14:12:07 +0100 Subject: v2.7 engine? In-Reply-To: <4574C43A.4090601@hyperactivesw.com> References: <4574A840.8070304@fourthworld.com> <4574C43A.4090601@hyperactivesw.com> Message-ID: >I meant, I download the whole shebang and then grab the engine out of it. > >Check your copy of Enterprise to see if it already contains the Mac >and Windows standalone engines. They are in mine. If you don't see >them, just make a 1-card standalone and build for all available >platforms, and they will show up in there. > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com Wasn't lately a personality split introduced in engines which resulted in requiring a different engine for IDE and different for standalones? Robert From revlist at azurevision.co.uk Tue Dec 5 08:40:34 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 5 Dec 2006 13:40:34 +0000 Subject: v2.7 engine? In-Reply-To: References: <4574A840.8070304@fourthworld.com> <4574C43A.4090601@hyperactivesw.com> Message-ID: <9C3EC00D-2BFE-4561-B859-58831A720B0A@azurevision.co.uk> On 5 Dec 2006, at 13:12, Robert Brenstein wrote: > Wasn't lately a personality split introduced in engines which > resulted in requiring a different engine for IDE and different for > standalones? > > Robert There was an issue with the IDE and the engine having different version numbers. Ian From m.schonewille at economy-x-talk.com Tue Dec 5 08:42:58 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 5 Dec 2006 14:42:58 +0100 (MET) Subject: v2.7 engine? In-Reply-To: References: <4574A840.8070304@fourthworld.com> <4574C43A.4090601@hyperactivesw.com> Message-ID: <33473467-07BA-417E-AE2F-B2784B5A67A2@economy-x-talk.com> Robert, I think you're right. I think it would be very useful if RR Ltd created a download link on the index page of runrev.com, directly leading to all versions ever pulbished including the standalone engines. On one occasion, a client of mine called me in the middle of the night because he urgently needed a fresh copy of an older Revolution version, which was nowehere publicly available and he didn't know what to do. This would not have been necessary if RR Ltd didn't hide older versions. Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 5-dec-2006, om 14:12 heeft Robert Brenstein het volgende geschreven: > > > Wasn't lately a personality split introduced in engines which > resulted in requiring a different engine for IDE and different for > standalones? > > Robert From ambassador at fourthworld.com Tue Dec 5 09:32:59 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Dec 2006 06:32:59 -0800 Subject: OT: Why you shouldn't give away your shareware for free Message-ID: <4575831B.6030806@fourthworld.com> Ian Wood wrote: > your.html> > > Roughly paraphrased as: > Hey buddy, can we give away 5,000 copies of your app for free? > What? Why on Earth would I want to create an extra 5,000 potential > customer support issues for no money, and piss off all my paying > customers? A good, sane read, Ian. Thanks for posting that. On balance, there can be an argument with some products for working with magazines like those from Future Publishing to distribute older versions of an app you've since added some truly compelling features to. I've had a good response rate working with that company and others like in South America and Australasia, offering an old version for free with an attractive price to upgrade to the current one. But the key to that was a significant feature gap between the free version and the current product, which remains available for purchase only. Many people still find themselves attracted to novelty notions about economics, hoping to discover some magic formula by which the sum of everything humanity has collectively learned about business may be wrong. But just as the irrational exuberance of the dot-bomb era damaged the US economy with easily-manipulated (and hopefully since fired) fund managers listening to the advice of 20-somethings who said that profit was an obsolete idea, anyone buying the snake oil of "mindshare over money" risks running out of the latter. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at harryscollar.com Tue Dec 5 09:57:00 2006 From: alex at harryscollar.com (Alex Shaw) Date: Wed, 06 Dec 2006 00:57:00 +1000 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <4575651B.8050201@harryscollar.com> Message-ID: <457588BC.2050606@harryscollar.com> Hi Mark It mentions ActiveX (which is windows-only) in the faq but they claim to have a pro version (165k!) which works as a standard plugin for other browsers. I've sent a email of to them to see if they have plans to support other OS's. regards alex Mark Schonewille wrote: > Hi Alex, > > Am I right that OSA Kit works on Windows only? > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store software. > Download at http://www.salery.biz > > Op 5-dec-2006, om 13:24 heeft Alex Shaw het volgende geschreven: > >> Hi >> >> Re: Revolution browser plugin, has anyone tried OSA Kit? >> >> http://www.osakit.com >> >> regards >> alex > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > --No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.15.6/568 - Release Date: > 4/12/2006 3:20 PM > > From m.schonewille at economy-x-talk.com Tue Dec 5 10:34:14 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 5 Dec 2006 16:34:14 +0100 (MET) Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: <457588BC.2050606@harryscollar.com> References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <4575651B.8050201@harryscollar.com> <457588BC.2050606@harryscollar.com> Message-ID: Hi Alex, Yes, I have seen that browsers other than IE are supported on Windows, but haven't found information about other OS's. Please let us know their reply to your query. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 5-dec-2006, om 15:57 heeft Alex Shaw het volgende geschreven: > Hi Mark > > It mentions ActiveX (which is windows-only) in the faq but they > claim to have a pro version (165k!) which works as a standard > plugin for other browsers. > > I've sent a email of to them to see if they have plans to support > other OS's. > > regards > alex From alex at harryscollar.com Tue Dec 5 11:01:16 2006 From: alex at harryscollar.com (Alex Shaw) Date: Wed, 06 Dec 2006 02:01:16 +1000 Subject: Revolution and the Web, feedback wanted, Part 1 of 3 In-Reply-To: References: <456BCB4F.3040203@fourthworld.com> <8626AB96-D07A-4EFC-98B7-1F989FCFA567@mac.com> <9b408d8e0611281009i359f097dw9596dd090c0cc956@mail.gmail.com> <10320318336.20061128144625@ahsoftware.net> <9b408d8e0611281513k3e8b99f5ya5f2e019e0e6f6@mail.gmail.com> <816A1356-C759-42EB-88EB-48B22906E3AD@qldlearning.com> <9b408d8e0611282138q1da746c1ifaff51e4aa3f11e1@mail.gmail.com> <93494788-2D8F-4A9D-B9CE-0E81924FFD78@qldlearning.com> <9b408d8e0611290610k77963e3bs851acb34cc9fb1c2@mail.gmail.com> <9b408d8e0611300803i6538e73dj2d8579ef054b74e2@mail.gmail.com> <4575651B.8050201@harryscollar.com> <457588BC.2050606@harryscollar.com> Message-ID: <457597CC.50601@harryscollar.com> Hi Mark The reply.. Actually it is very early to tell about a OSX or Linux version! at least I have to wait after the coming update which will be a surprise :) Though you can use CrossOver Office to "emulate" the browser plugin and you will be able to use OSAKit in your Linux browser, Konqueror. .. For those interested following the actual thread it's here.. http://www.blitzmax.com/Community/posts.php?topic=65402 regards alex Mark Schonewille wrote: > Hi Alex, > > Yes, I have seen that browsers other than IE are supported on Windows, > but haven't found information about other OS's. Please let us know their > reply to your query. > > Best, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store software. > Download at http://www.salery.biz > > Op 5-dec-2006, om 15:57 heeft Alex Shaw het volgende geschreven: > >> Hi Mark >> >> It mentions ActiveX (which is windows-only) in the faq but they claim >> to have a pro version (165k!) which works as a standard plugin for >> other browsers. >> >> I've sent a email of to them to see if they have plans to support >> other OS's. >> >> regards >> alex > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > --No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.430 / Virus Database: 268.15.6/568 - Release Date: > 4/12/2006 3:20 PM > > From jacque at hyperactivesw.com Tue Dec 5 11:19:46 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Dec 2006 10:19:46 -0600 Subject: v2.7 engine? In-Reply-To: References: <4574A840.8070304@fourthworld.com> <4574C43A.4090601@hyperactivesw.com> Message-ID: <45759C22.3070206@hyperactivesw.com> Robert Brenstein wrote: >> I meant, I download the whole shebang and then grab the engine out of it. >> >> Check your copy of Enterprise to see if it already contains the Mac >> and Windows standalone engines. They are in mine. If you don't see >> them, just make a 1-card standalone and build for all available >> platforms, and they will show up in there. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com > > > > Wasn't lately a personality split introduced in engines which resulted > in requiring a different engine for IDE and different for standalones? Yes, as of version 2.7. The engines used to build standalones are different than the one the IDE uses. So if you grab the engine out of a distribution for building a standalone in a different IDE, make sure you use the ones in the "Runtime" folder. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 5 11:22:19 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Dec 2006 10:22:19 -0600 Subject: v2.7 engine? In-Reply-To: <33473467-07BA-417E-AE2F-B2784B5A67A2@economy-x-talk.com> References: <4574A840.8070304@fourthworld.com> <4574C43A.4090601@hyperactivesw.com> <33473467-07BA-417E-AE2F-B2784B5A67A2@economy-x-talk.com> Message-ID: <45759CBB.1020101@hyperactivesw.com> Mark Schonewille wrote: > Robert, > > I think you're right. I think it would be very useful if RR Ltd created > a download link on the index page of runrev.com, directly leading to all > versions ever pulbished including the standalone engines. > > On one occasion, a client of mine called me in the middle of the night > because he urgently needed a fresh copy of an older Revolution version, > which was nowehere publicly available and he didn't know what to do. > This would not have been necessary if RR Ltd didn't hide older versions. All the older distributions up through 2.6.1 are available at the ftp link Richard mentioned before: The latest 2.7 distribution can be downloaded directly from the "download" web page at the RR site. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lynn at paradigmasoft.com Tue Dec 5 11:31:48 2006 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Tue, 5 Dec 2006 08:31:48 -0800 Subject: Why you shouldn't give away your shareware for free In-Reply-To: <655D3BE8-D10C-46A5-BFE9-EB4D2B2221AE@azurevision.co.uk> Message-ID: <00f401c7188a$e991fa00$6501a8c0@lynn> > your.html> > > Roughly paraphrased as: > Hey buddy, can we give away 5,000 copies of your app for free? > What? Why on Earth would I want to create an extra 5,000 > potential customer support issues for no money, and piss off > all my paying customers? You can find my reply to this here: http://forums.runrev.com/phpBB2/viewtopic.php?p=1707 Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From bobwarren at howsoft.com Tue Dec 5 11:39:04 2006 From: bobwarren at howsoft.com (Robert John Warren) Date: Tue, 05 Dec 2006 14:39:04 -0200 Subject: OT: Why you shouldn't give away your shareware for free Message-ID: <4575A0A8.9030001@howsoft.com> Ian Wood wrote: Roughly paraphrased as: Hey buddy, can we give away 5,000 copies of your app for free? What? Why on Earth would I want to create an extra 5,000 potential customer support issues for no money, and piss off all my paying customers? ------------------------------------------------------ Within your business model (whatever it is), I cannot think of any reason at all why you would want to piss off all your paying customers. But not everybody "thinks Mac", that's all. Diversity is (or rather should be) the spirit of the modern world, and the kind of world where you cannot give stuff away without getting into trouble for it is not the kind of world I want to live in. With one tiny exception, all the software at my site is entirely free, and although downloads (and presumably usage) are constant, I have never had anything that I would define as a "support issue". Could it be because the software is relatively bug-free? Or is it that people feel awkward complaining about something which is free in the first place? I may never know the answer exactly. Of course, with the appearance and exponential growth of Linux (often mistakenly associated entirely with the free software movement), this is an issue that the Rev community is wrestling with (and apparently "ostriching" about, to use a word from Queen Elizabeth's vocabulary) and will eventually need to come to terms with. In line with the idea of the importance of diversity (and perhaps contradiction in a real living/livable world), even bearing in mind that I give away all my own software (though I can least afford it living in Brazil), I would not necessarily recommend for example that Rev/Linux should be offered free (as RealBasic have done), or that professional programming and earning a decent living as a result of developing Rev products is not an honourable and dignified thing to do. On the contrary. Live and let live is what I say. Regards, Bob Warren From m.schonewille at economy-x-talk.com Tue Dec 5 11:40:11 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 5 Dec 2006 17:40:11 +0100 (MET) Subject: v2.7 engine? In-Reply-To: <45759CBB.1020101@hyperactivesw.com> References: <4574A840.8070304@fourthworld.com> <4574C43A.4090601@hyperactivesw.com> <33473467-07BA-417E-AE2F-B2784B5A67A2@economy-x-talk.com> <45759CBB.1020101@hyperactivesw.com> Message-ID: And where are the versions later than 2.6.1 and earlier than the latest? It would be very useful if this were made public. Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 5-dec-2006, om 17:22 heeft J. Landman Gay het volgende geschreven: > > All the older distributions up through 2.6.1 are available at the > ftp link Richard mentioned before: > > > > The latest 2.7 distribution can be downloaded directly from the > "download" web page at the RR site. From revlist at azurevision.co.uk Tue Dec 5 12:28:06 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 5 Dec 2006 17:28:06 +0000 Subject: OT: Why you shouldn't give away your shareware for free In-Reply-To: <4575A0A8.9030001@howsoft.com> References: <4575A0A8.9030001@howsoft.com> Message-ID: <36AD4B5A-6B50-4A3C-897B-833D0F257F84@azurevision.co.uk> On 5 Dec 2006, at 16:39, Robert John Warren wrote: > Within your business model (whatever it is), I cannot think of any > reason at all why you would want to piss off all your paying > customers. But not everybody "thinks Mac", that's all. Diversity is > (or rather should be) the spirit of the modern world, and the kind > of world where you cannot give stuff away without getting into > trouble for it is not the kind of world I want to live in. The paraphrasing may have been a bit too brief... and hear hear for diversity! The biggest issue in this example, I think, is that it would have been free copies of the *current version* of a commercial application, which should only be done after a lot of careful analysis. Ian From ambassador at fourthworld.com Tue Dec 5 12:37:03 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Dec 2006 09:37:03 -0800 Subject: Why you shouldn't give away your shareware for free, > Lynn Fredricks lynn at paradigmasoft.com Message-ID: <4575AE3F.4080006@fourthworld.com> Lynn Fredricks wrote: >> > your.html> >> >> Roughly paraphrased as: >> Hey buddy, can we give away 5,000 copies of your app for free? >> What? Why on Earth would I want to create an extra 5,000 >> potential customer support issues for no money, and piss off >> all my paying customers? > > You can find my reply to this here: > http://forums.runrev.com/phpBB2/viewtopic.php?p=1707 For the convenience of those of you on this list who are on this list, I've taken the liberty of cross-posting Lynn's excellent reply in this venue where the thread began. Lynn's comments are worthwhile, and well qualified. It seems the bottom line is to avoid dogma: there is no single best "yes" or "no" answer to the question of whether to give away software for free. Like so many other things in life, it's not so much what you do as how you do it. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com -------------------------------------------------------- http://www.thinkmac.co.uk/blog/2006/11/why-you-shouldnt-give-away-your.html Ian Wood pointed out a this blog entry that slams the notion of product giveaways as a marketing action. Ive already replied to the blog itself but I think it warrants further discussion here. Free giveaways can work wonders for you, they can: 1. Increase upsell opportunity. Once you get users using your product and it provides significant value - keep adding value and you have yourself a paying customer. 2. Validation. If your user base remains a fraction of the a small group of early adopters, you will not get enough traction in the software industry media to get additional coverage. A lot of primary influencers in the software industry do no signficant research other than reading a few magazines. 3. Custom Work. If your company also offers services, you can gain the per sale validation (as under #2 above) as well as offers for customer/service work. Validation is the key here - its necessary to move out of being a weekend warrior shareware developer to a company if that is your goal. I've seen a great many excellent 1.0 releases that languish and are quickly eclipsed (if its a viable market, competition will come about quickly) by any competitor that is serious about product marketing. There is nothing wrong with giveaways but they have to be executed well in order to get good results. For example, if you purchase Beginning Programming for Dummies 4th Edition you can get a free, non-transferable copy of Runtime Revolution 2.2.1. This has had almost zero impact on user support (if managed right) and its creating creative investment on the part of new users that in turn results in a very high conversion rate in upgrades later. You can also find this reply on: http://www.digitalpilon.com/bb/viewtopic.php?p=74 _________________ Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From benbock at msn.com Tue Dec 5 13:28:00 2006 From: benbock at msn.com (Ben Bock) Date: Tue, 5 Dec 2006 10:28:00 -0800 Subject: Thank you for all of the help Message-ID: I wanted to say a heartfelt "Thank You" for the good-hearted support, sharp advice and incredibly instructive sample scripts, links, and trouble-shooting I received from the participants on this list. I completed a doctoral dissertation standalone ~36 stack Rev program in episodic eyewitness memory that administers, scores, and stores information from 25 separate questionnaires and psych tests and 5 video clips, and totals 88 MB in size. It runs smoothly and cleanly. Clerical errors should be nonexistant. It is divisible into components for follow-up research. The early scripts were bulky but functional, and the later scripts were lean and mean. It would have cost me many thousands of dollars to have someone make it for me, and probably would not have been right. I was especially helped by: David Bergun, Mark Chia, Eric Chatonet, Jim Ault, Sarah Reichelt, Klaus Major, Dennis Brown, Phil Davis, Robert Brenstein, Ken Ray, Rob Cozens, J. Landman Gay and a few others whose names I've lost. As I scroll through all my stored emails and clips from the user list, I see how much was built upon the help from these people. Thank you, and Best Regards, Ben Bock From eric.chatonet at sosmartsoftware.com Tue Dec 5 13:34:53 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Dec 2006 19:34:53 +0100 Subject: Thank you for all of the help In-Reply-To: References: Message-ID: Hi Ben, Heartwarming :-) That's the purpose of this list to help all: advanced users or beginners. We wait for your next posts ;-) Thanks. Le 5 d?c. 06 ? 19:28, Ben Bock a ?crit : > I wanted to say a heartfelt "Thank You" for the good-hearted > support, sharp advice and incredibly instructive sample scripts, > links, and trouble-shooting I received from the participants on > this list. I completed a doctoral dissertation standalone ~36 > stack Rev program in episodic eyewitness memory that administers, > scores, and stores information from 25 separate questionnaires and > psych tests and 5 video clips, and totals 88 MB in size. It runs > smoothly and cleanly. Clerical errors should be nonexistant. It > is divisible into components for follow-up research. The early > scripts were bulky but functional, and the later scripts were lean > and mean. > > It would have cost me many thousands of dollars to have someone > make it for me, and probably would not have been right. > > I was especially helped by: David Bergun, Mark Chia, Eric Chatonet, > Jim Ault, Sarah Reichelt, Klaus Major, Dennis Brown, Phil Davis, > Robert Brenstein, Ken Ray, Rob Cozens, J. Landman Gay and a few > others whose names I've lost. > > As I scroll through all my stored emails and clips from the user > list, I see how much was built upon the help from these people. > > Thank you, and Best Regards, > > Ben Bock Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From jacque at hyperactivesw.com Tue Dec 5 13:35:16 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Dec 2006 12:35:16 -0600 Subject: v2.7 engine? In-Reply-To: References: <4574A840.8070304@fourthworld.com> <4574C43A.4090601@hyperactivesw.com> <33473467-07BA-417E-AE2F-B2784B5A67A2@economy-x-talk.com> <45759CBB.1020101@hyperactivesw.com> Message-ID: <4575BBE4.9000802@hyperactivesw.com> Mark Schonewille wrote: > And where are the versions later than 2.6.1 and earlier than the latest? > It would be very useful if this were made public. They are in various ftp folders, but you need to know the exact file link to access them and you are right these URLs aren't public. You might want to ask Heather if they can be made so, or put a request into bugzilla for it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From janschenkel at yahoo.com Tue Dec 5 13:42:41 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 5 Dec 2006 10:42:41 -0800 (PST) Subject: v2.7 engine? In-Reply-To: <4575BBE4.9000802@hyperactivesw.com> Message-ID: <20061205184242.67203.qmail@web60513.mail.yahoo.com> --- "J. Landman Gay" wrote: > Mark Schonewille wrote: > > And where are the versions later than 2.6.1 and > earlier than the latest? > > It would be very useful if this were made public. > > They are in various ftp folders, but you need to > know the exact file > link to access them and you are right these URLs > aren't public. You > might want to ask Heather if they can be made so, or > put a request into > bugzilla for it. > > -- > Jacqueline Landman Gay > And while they're at it, can they bring back the engines for Revolution 1.1.1 ? In theory I should still be able to use that old version to build a standalone for Linux on PowerPC - for which support was dropped in Rev 2.0 But when I try to build a standalone with all the possible engines at once, I can't download the other engines anymore. Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com From mark at maseurope.net Tue Dec 5 13:43:15 2006 From: mark at maseurope.net (Mark Smith) Date: Tue, 5 Dec 2006 18:43:15 +0000 Subject: SHA1 Message-ID: I've implemented an SHA1 digest function in transcript. For those interested, it's reasonably quick on very small inputs, and dog - slow on big ones. I also doubt that it works right on an intel machine - I only have motorola macs, here. But it was an interesting challenge, and could be useful for some purposes. RevOnline: Category : programming User : Mark Smith Name : sha1Digest Best, Mark Smith From fmoyer at aol.com Tue Dec 5 10:58:24 2006 From: fmoyer at aol.com (Fred Moyer) Date: Tue, 5 Dec 2006 10:58:24 -0500 Subject: Delay before sound starts playing Message-ID: I'm trying to create a stack where the user can play a solo instrument along with a sound file that plays an accompaniment. At times in the music, the accompaniment stops for a while and the solo instrument needs to keep playing; at these places, I've had the sound file pause and wait for a mouseclick from the user at which point IMMEDIATELY the sound file must play again. I first made this stack back in the Hypercard days and it worked flawlessly. Then I tried to move it to Revolution, experienced problems but finally got it working with some "Rube Goldberg" solutions. Now something has changed (OSX?, Revolution?, Quicktime?) and it's not dependable. The problem is that if there's too long a delay with no input from the user, the computer's sound "system" seems to goes into some kind of hibernation mode so that when the user clicks the mouse, there is a delay before the music starts again. (I notice that there's even a delay in "beep" in Revolution if the computer has been silent for a while.) Has anyone else dealt with this issue? Any possible solutions? Thanks Fred Moyer From mikeythek at gmail.com Tue Dec 5 14:08:45 2006 From: mikeythek at gmail.com (Mikey) Date: Tue, 5 Dec 2006 14:08:45 -0500 Subject: Access Plugins Message-ID: <9b408d8e0612051108n2fbff45bj1fbb54eb7715b82c@mail.gmail.com> All, I have a really interesting project that I'm going to be starting here shortly, but it has a problem - I need to be able to generate Access database files as output (and then zip them). I'd love to be able to do this one in RR, because there will be a significant amount of parsing, and chunk expressions are SO perfect for that. However, if I can't use RR to (easily) generate .mdb files then I'm going to be forced to use one of the other tools at my disposal. Suggestions? Mike. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bill at bluewatermaritime.com Tue Dec 5 14:15:42 2006 From: bill at bluewatermaritime.com (Bill) Date: Tue, 05 Dec 2006 15:15:42 -0400 Subject: SHA1 In-Reply-To: Message-ID: It seems almost everyday that someone makes a cool library for RunRev that does something which I have no idea what is... On 12/5/06 2:43 PM, "Mark Smith" wrote: > I've implemented an SHA1 digest function in transcript. > For those interested, it's reasonably quick on very small inputs, and > dog - slow on big ones. I also doubt that it works right on an intel > machine - I only have motorola macs, here. But it was an interesting > challenge, and could be useful for some purposes. > > RevOnline: > Category : programming > User : Mark Smith > Name : sha1Digest > > Best, > > Mark Smith > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 2087 Rio Grande, PR 00745 From janschenkel at yahoo.com Tue Dec 5 14:27:29 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 5 Dec 2006 11:27:29 -0800 (PST) Subject: Access Plugins Message-ID: <20061205192729.3691.qmail@web60516.mail.yahoo.com> Hi Mikey, You can always connect to Access databases via ODBC - setup a DSN and open a connection to it. If you need to create new .mdb files, it's a little trickier as you'd have to create an empty .mdb file, duplicate that, create a DSN on the fly and then manipulate it from Revolution. Good luck, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ----- Original Message ---- From: Mikey To: How to use Revolution Sent: Tuesday, December 5, 2006 8:08:45 PM Subject: Access Plugins All, I have a really interesting project that I'm going to be starting here shortly, but it has a problem - I need to be able to generate Access database files as output (and then zip them). I'd love to be able to do this one in RR, because there will be a significant amount of parsing, and chunk expressions are SO perfect for that. However, if I can't use RR to (easily) generate .mdb files then I'm going to be forced to use one of the other tools at my disposal. Suggestions? Mike. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ____________________________________________________________________________________ Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index From ambassador at fourthworld.com Tue Dec 5 14:47:46 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Dec 2006 11:47:46 -0800 Subject: ScriptParsingError Message-ID: <4575CCE2.5050100@fourthworld.com> Mark Schonewille wrote: > Richard wrote: >> It'll be tough to make a business case for reverting to the >> message after all this time, esp. given the convenient immediacy >> of just checking the result. >> >> Look at it this way: Sure, it's extra work, but you do it once, it >> only takes a few minutes, and it's done forever. > > Which message is next? No Richard, I think that once a message is > there, it should stick for all eternity. In general I agree, but from time to time as the language grows I'd be willing to accept some deprecated tokens on a case-by-case basis if a better solution becomes available. Have you noticed the effective default value for the paintCompression global property was changed some time ago? To the best of my knowledge this has affected only one person, and it was just a one-liner to restore the old behavior. While I'm generally against token changes in principle, I must agree that the new setting makes more sense for more people. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mikeythek at gmail.com Tue Dec 5 14:57:10 2006 From: mikeythek at gmail.com (Mikey) Date: Tue, 5 Dec 2006 14:57:10 -0500 Subject: Access Plugins In-Reply-To: <20061205192729.3691.qmail@web60516.mail.yahoo.com> References: <20061205192729.3691.qmail@web60516.mail.yahoo.com> Message-ID: <9b408d8e0612051157p623492a0o2d1d3a3ecd1c384b@mail.gmail.com> Unfortunately that isn't a solution. This is going to be a project that is going to replace an embedded Access database, so access to Access is negatory. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From JimAultWins at yahoo.com Tue Dec 5 15:25:19 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 05 Dec 2006 12:25:19 -0800 Subject: Thank you for all of the help In-Reply-To: Message-ID: Cool !! So how did we all do on the psych test part? I would imagine highly schizophrenic with singular and multiple personality disorders. The Orderly Disagreement Quotient was probably up there as well. Hopefully your grade was excellent. Jim Ault Las Vegas On 12/5/06 10:28 AM, "Ben Bock" wrote: > I wanted to say a heartfelt "Thank You" for the good-hearted support, sharp > advice and incredibly instructive sample scripts, links, and trouble-shooting > I received from the participants on this list. I completed a doctoral > dissertation standalone ~36 stack Rev program in episodic eyewitness memory > that administers, scores, and stores information from 25 separate > questionnaires and psych tests and 5 video clips, and totals 88 MB in size. > It runs smoothly and cleanly. Clerical errors should be nonexistant. It is > divisible into components for follow-up research. The early scripts were > bulky but functional, and the later scripts were lean and mean. > > It would have cost me many thousands of dollars to have someone make it for > me, and probably would not have been right. > > I was especially helped by: David Bergun, Mark Chia, Eric Chatonet, Jim Ault, > Sarah Reichelt, Klaus Major, Dennis Brown, Phil Davis, Robert Brenstein, Ken > Ray, Rob Cozens, J. Landman Gay and a few others whose names I've lost. > > As I scroll through all my stored emails and clips from the user list, I see > how much was built upon the help from these people. > > Thank you, and Best Regards, > > Ben Bock > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From pevensen at siboneylg.com Tue Dec 5 15:43:32 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 05 Dec 2006 14:43:32 -0600 Subject: slide with multiples of x? Message-ID: <6.2.1.2.2.20061205144003.08ba2020@exchange.slg.com> Is there a built-in way to create a slider that only stops at increments of x (e.g., of 20, from 0 to 100, so 0, 20, 40, 60, 80, 100)? Thanks! Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From eric.chatonet at sosmartsoftware.com Tue Dec 5 15:46:33 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Dec 2006 21:46:33 +0100 Subject: slide with multiples of x? In-Reply-To: <6.2.1.2.2.20061205144003.08ba2020@exchange.slg.com> References: <6.2.1.2.2.20061205144003.08ba2020@exchange.slg.com> Message-ID: Hi Peter, The "How to Manage "Snap to" Scrollbars" tutorial might help you: How to manage a slider snap-to behavior to make sure that the indicator lines up with the ticks especially on Mac OS X. You will access this tutorial through "Tutorials Picker" a free plugin that interfaces with the So Smart Software website in order to display all available tutorials stacks directly from the web. You will find it by going to http://www.sosmartsoftware.com/. Revolution/Plugins or Tutorials section. Le 5 d?c. 06 ? 21:43, Peter T. Evensen a ?crit : > Is there a built-in way to create a slider that only stops at > increments of x (e.g., of 20, from 0 to 100, so 0, 20, 40, 60, 80, > 100)? > > Thanks! Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From dsc at swcp.com Tue Dec 5 16:13:20 2006 From: dsc at swcp.com (Dar Scott) Date: Tue, 5 Dec 2006 14:13:20 -0700 Subject: ScriptParsingError In-Reply-To: <4575CCE2.5050100@fourthworld.com> References: <4575CCE2.5050100@fourthworld.com> Message-ID: <065931CE-78B7-42E9-AF16-5E950380FB5F@swcp.com> On Dec 5, 2006, at 12:47 PM, Richard Gaskin wrote: > In general I agree, but from time to time as the language grows I'd > be willing to accept some deprecated tokens on a case-by-case basis > if a better solution becomes available. > > Have you noticed the effective default value for the > paintCompression global property was changed some time ago? > > To the best of my knowledge this has affected only one person, and > it was just a one-liner to restore the old behavior. And what about the person who said "huh, I thought this worked" and went off to use some other tool without looking into it? The depreciated and dropped should be publicized and changed in the dictionary. I have an old, old compiling checking stack someplace that probably would have been affected, though I thought it used try-catch so I may be thinking of something else. Or it didn't really work. Dar From pevensen at siboneylg.com Tue Dec 5 16:35:55 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 05 Dec 2006 15:35:55 -0600 Subject: slide with multiples of x? In-Reply-To: References: <6.2.1.2.2.20061205144003.08ba2020@exchange.slg.com> Message-ID: <6.2.1.2.2.20061205153354.082fc010@exchange.slg.com> Hi Eric, Thanks for the pointer. The one key I was missing is scrollbarDrag. I didn't know about that message. I implemented my own scrollbar value indicator that I move. Here's what I wound up with in my script. I haven't tried this on the Mac yet. I don't like the hard-coded numbers; the might not work on the Mac. I'll have to think to see if I can come up with anything better. on mouseUp set the thumbposition of me to NearestThumbPos(the thumbposition of me) AdjustLabelPosition end mouseUp on scrollbarDrag lock screen AdjustLabelPosition unlock screen end scrollbarDrag function NearestThumbPos pPos put pPos div 20 into tNumTwenties put pPos mod 20 into tRemainder if tRemainder >= 10 then add 1 to tNumTwenties end if return 20 * tNumTwenties end NearestThumbPos on AdjustLabelPosition put the thumbposition of me into tPos put NearestThumbPos(the thumbposition of me) into field "Thumb Pos" put (the width of me - 12) / the endValue of me into tPixelsPerValue put the left of me + 6 + tPixelsPerValue * tPos into tThumbLoc put the loc of field "Thumb Pos" into tFieldLoc put tThumbLoc into item 1 of tFieldLoc set the loc of field "Thumb Pos" to tFieldLoc end AdjustLabelPosition At 02:46 PM 12/5/2006, you wrote: >Hi Peter, > >The "How to Manage "Snap to" Scrollbars" tutorial might help you: >How to manage a slider snap-to behavior to make sure that the >indicator lines up with the ticks especially on Mac OS X. >You will access this tutorial through "Tutorials Picker" a free >plugin that interfaces with the So Smart Software website in order to >display all available tutorials stacks directly from the web. >You will find it by going to http://www.sosmartsoftware.com/. >Revolution/Plugins or Tutorials section. > >Le 5 d?c. 06 ? 21:43, Peter T. Evensen a ?crit : > >>Is there a built-in way to create a slider that only stops at >>increments of x (e.g., of 20, from 0 to 100, so 0, 20, 40, 60, 80, >>100)? >> >>Thanks! > > >Best Regards from Paris, >Eric Chatonet >------------------------------------------------------------------------ >---------------------- >http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.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 Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From martyknapp at comcast.net Tue Dec 5 16:43:34 2006 From: martyknapp at comcast.net (Marty Knapp) Date: Tue, 05 Dec 2006 13:43:34 -0800 Subject: slide with multiples of x? In-Reply-To: <6.2.1.2.2.20061205144003.08ba2020@exchange.slg.com> References: <6.2.1.2.2.20061205144003.08ba2020@exchange.slg.com> Message-ID: <4575E806.6040003@comcast.net> Hey Peter, I don't think there's a built-in way to do this. You'll have to roll your own. I did stack that might help you get started - it's called Marty's Sliders in my Rev Online space, under Marty Knapp. Maybe that will help some (it doesn't do incremental stops though). Marty Knapp > Is there a built-in way to create a slider that only stops at > increments of x (e.g., of 20, from 0 to 100, so 0, 20, 40, 60, 80, 100)? > > Thanks! > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-682-4588 From jacque at hyperactivesw.com Tue Dec 5 16:43:28 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Dec 2006 15:43:28 -0600 Subject: Thank you for all of the help In-Reply-To: References: Message-ID: <4575E800.1020409@hyperactivesw.com> Jim Ault wrote: > Cool !! > So how did we all do on the psych test part? I would imagine highly > schizophrenic with singular and multiple personality disorders. > > The Orderly Disagreement Quotient was probably up there as well. No it wasn't. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From eric.chatonet at sosmartsoftware.com Tue Dec 5 16:45:14 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Dec 2006 22:45:14 +0100 Subject: slide with multiples of x? In-Reply-To: <6.2.1.2.2.20061205153354.082fc010@exchange.slg.com> References: <6.2.1.2.2.20061205144003.08ba2020@exchange.slg.com> <6.2.1.2.2.20061205153354.082fc010@exchange.slg.com> Message-ID: <17386D1E-D26E-4D9E-9546-634BF496CFE7@sosmartsoftware.com> Hi Peter, You can achieve your goal more easily with a oneliner: on mouseUp set the thumbPos of me to the thumbPos of me end mouseUp Best Regards from Paris, Eric Chatonet Le 5 d?c. 06 ? 22:35, Peter T. Evensen a ?crit : > Hi Eric, > > Thanks for the pointer. The one key I was missing is > scrollbarDrag. I didn't know about that message. > > I implemented my own scrollbar value indicator that I move. > Here's what I wound up with in my script. I haven't tried this on > the Mac yet. I don't like the hard-coded numbers; the might not > work on the Mac. I'll have to think to see if I can come up with > anything better. > > on mouseUp > set the thumbposition of me to NearestThumbPos(the thumbposition > of me) > AdjustLabelPosition > end mouseUp > > on scrollbarDrag > lock screen > AdjustLabelPosition > unlock screen > end scrollbarDrag > > function NearestThumbPos pPos > put pPos div 20 into tNumTwenties > put pPos mod 20 into tRemainder > if tRemainder >= 10 then > add 1 to tNumTwenties > end if > return 20 * tNumTwenties > end NearestThumbPos > > on AdjustLabelPosition > put the thumbposition of me into tPos > put NearestThumbPos(the thumbposition of me) into field "Thumb Pos" > put (the width of me - 12) / the endValue of me into tPixelsPerValue > put the left of me + 6 + tPixelsPerValue * tPos into tThumbLoc > put the loc of field "Thumb Pos" into tFieldLoc > put tThumbLoc into item 1 of tFieldLoc > set the loc of field "Thumb Pos" to tFieldLoc > end AdjustLabelPosition > > > At 02:46 PM 12/5/2006, you wrote: >> Hi Peter, >> >> The "How to Manage "Snap to" Scrollbars" tutorial might help you: >> How to manage a slider snap-to behavior to make sure that the >> indicator lines up with the ticks especially on Mac OS X. >> You will access this tutorial through "Tutorials Picker" a free >> plugin that interfaces with the So Smart Software website in order to >> display all available tutorials stacks directly from the web. >> You will find it by going to http://www.sosmartsoftware.com/. >> Revolution/Plugins or Tutorials section. >> >> Le 5 d?c. 06 ? 21:43, Peter T. Evensen a ?crit : >> >>> Is there a built-in way to create a slider that only stops at >>> increments of x (e.g., of 20, from 0 to 100, so 0, 20, 40, 60, 80, >>> 100)? >>> >>> Thanks! > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-682-4588 > _______________________________________________ > use-revolution mailing list > use-revolution 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.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From pevensen at siboneylg.com Tue Dec 5 16:49:35 2006 From: pevensen at siboneylg.com (Peter T. Evensen) Date: Tue, 05 Dec 2006 15:49:35 -0600 Subject: slide with multiples of x? In-Reply-To: <17386D1E-D26E-4D9E-9546-634BF496CFE7@sosmartsoftware.com> References: <6.2.1.2.2.20061205144003.08ba2020@exchange.slg.com> <6.2.1.2.2.20061205153354.082fc010@exchange.slg.com> <17386D1E-D26E-4D9E-9546-634BF496CFE7@sosmartsoftware.com> Message-ID: <6.2.1.2.2.20061205154842.08ea1d60@exchange.slg.com> Eric, How does that make you go by 20s? I want the slider to go from 0 to 100 by 20s, so if you have the slider at position 25, it will snap back to 20. Am I missing something? At 03:45 PM 12/5/2006, you wrote: >Hi Peter, > >You can achieve your goal more easily with a oneliner: > >on mouseUp > set the thumbPos of me to the thumbPos of me >end mouseUp > >Best Regards from Paris, >Eric Chatonet > >Le 5 d?c. 06 ? 22:35, Peter T. Evensen a ?crit : > >>Hi Eric, >> >>Thanks for the pointer. The one key I was missing is >>scrollbarDrag. I didn't know about that message. >> >>I implemented my own scrollbar value indicator that I move. >>Here's what I wound up with in my script. I haven't tried this on >>the Mac yet. I don't like the hard-coded numbers; the might not >>work on the Mac. I'll have to think to see if I can come up with >>anything better. >> >>on mouseUp >> set the thumbposition of me to NearestThumbPos(the thumbposition >>of me) >> AdjustLabelPosition >>end mouseUp >> >>on scrollbarDrag >> lock screen >> AdjustLabelPosition >> unlock screen >>end scrollbarDrag >> >>function NearestThumbPos pPos >> put pPos div 20 into tNumTwenties >> put pPos mod 20 into tRemainder >> if tRemainder >= 10 then >> add 1 to tNumTwenties >> end if >> return 20 * tNumTwenties >>end NearestThumbPos >> >>on AdjustLabelPosition >> put the thumbposition of me into tPos >> put NearestThumbPos(the thumbposition of me) into field "Thumb Pos" >> put (the width of me - 12) / the endValue of me into tPixelsPerValue >> put the left of me + 6 + tPixelsPerValue * tPos into tThumbLoc >> put the loc of field "Thumb Pos" into tFieldLoc >> put tThumbLoc into item 1 of tFieldLoc >> set the loc of field "Thumb Pos" to tFieldLoc >>end AdjustLabelPosition >> >> >>At 02:46 PM 12/5/2006, you wrote: >>>Hi Peter, >>> >>>The "How to Manage "Snap to" Scrollbars" tutorial might help you: >>>How to manage a slider snap-to behavior to make sure that the >>>indicator lines up with the ticks especially on Mac OS X. >>>You will access this tutorial through "Tutorials Picker" a free >>>plugin that interfaces with the So Smart Software website in order to >>>display all available tutorials stacks directly from the web. >>>You will find it by going to http://www.sosmartsoftware.com/. >>>Revolution/Plugins or Tutorials section. >>> >>>Le 5 d?c. 06 ? 21:43, Peter T. Evensen a ?crit : >>> >>>>Is there a built-in way to create a slider that only stops at >>>>increments of x (e.g., of 20, from 0 to 100, so 0, 20, 40, 60, 80, >>>>100)? >>>> >>>>Thanks! >>Peter T. Evensen >>http://www.PetersRoadToHealth.com >>314-629-5248 or 888-682-4588 >>_______________________________________________ >>use-revolution mailing list >>use-revolution 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.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.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 Peter T. Evensen http://www.PetersRoadToHealth.com 314-629-5248 or 888-682-4588 From eric.chatonet at sosmartsoftware.com Tue Dec 5 16:56:59 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Dec 2006 22:56:59 +0100 Subject: slide with multiples of x? In-Reply-To: <6.2.1.2.2.20061205154842.08ea1d60@exchange.slg.com> References: <6.2.1.2.2.20061205144003.08ba2020@exchange.slg.com> <6.2.1.2.2.20061205153354.082fc010@exchange.slg.com> <17386D1E-D26E-4D9E-9546-634BF496CFE7@sosmartsoftware.com> <6.2.1.2.2.20061205154842.08ea1d60@exchange.slg.com> Message-ID: <4B6EE7FE-1A72-43A1-A168-FAB2DECE5E90@sosmartsoftware.com> Hi Peter, Depends on the fact you want values showing or not. If you show values: yes you have to script it as you did it. Otherwise it's enough to set the endValue appropriately and multiply the thumbpos value to use it if needed. Best Regards from Paris, Eric Chatonet Le 5 d?c. 06 ? 22:49, Peter T. Evensen a ?crit : > Eric, > > How does that make you go by 20s? > > I want the slider to go from 0 to 100 by 20s, so if you have the > slider at position 25, it will snap back to 20. Am I missing > something? > > At 03:45 PM 12/5/2006, you wrote: >> Hi Peter, >> >> You can achieve your goal more easily with a oneliner: >> >> on mouseUp >> set the thumbPos of me to the thumbPos of me >> end mouseUp >> >> Best Regards from Paris, >> Eric Chatonet >> >> Le 5 d?c. 06 ? 22:35, Peter T. Evensen a ?crit : >> >>> Hi Eric, >>> >>> Thanks for the pointer. The one key I was missing is >>> scrollbarDrag. I didn't know about that message. >>> >>> I implemented my own scrollbar value indicator that I move. >>> Here's what I wound up with in my script. I haven't tried this on >>> the Mac yet. I don't like the hard-coded numbers; the might not >>> work on the Mac. I'll have to think to see if I can come up with >>> anything better. >>> >>> on mouseUp >>> set the thumbposition of me to NearestThumbPos(the thumbposition >>> of me) >>> AdjustLabelPosition >>> end mouseUp >>> >>> on scrollbarDrag >>> lock screen >>> AdjustLabelPosition >>> unlock screen >>> end scrollbarDrag >>> >>> function NearestThumbPos pPos >>> put pPos div 20 into tNumTwenties >>> put pPos mod 20 into tRemainder >>> if tRemainder >= 10 then >>> add 1 to tNumTwenties >>> end if >>> return 20 * tNumTwenties >>> end NearestThumbPos >>> >>> on AdjustLabelPosition >>> put the thumbposition of me into tPos >>> put NearestThumbPos(the thumbposition of me) into field "Thumb >>> Pos" >>> put (the width of me - 12) / the endValue of me into >>> tPixelsPerValue >>> put the left of me + 6 + tPixelsPerValue * tPos into tThumbLoc >>> put the loc of field "Thumb Pos" into tFieldLoc >>> put tThumbLoc into item 1 of tFieldLoc >>> set the loc of field "Thumb Pos" to tFieldLoc >>> end AdjustLabelPosition >>> >>> >>> At 02:46 PM 12/5/2006, you wrote: >>>> Hi Peter, >>>> >>>> The "How to Manage "Snap to" Scrollbars" tutorial might help you: >>>> How to manage a slider snap-to behavior to make sure that the >>>> indicator lines up with the ticks especially on Mac OS X. >>>> You will access this tutorial through "Tutorials Picker" a free >>>> plugin that interfaces with the So Smart Software website in >>>> order to >>>> display all available tutorials stacks directly from the web. >>>> You will find it by going to http://www.sosmartsoftware.com/. >>>> Revolution/Plugins or Tutorials section. >>>> >>>> Le 5 d?c. 06 ? 21:43, Peter T. Evensen a ?crit : >>>> >>>>> Is there a built-in way to create a slider that only stops at >>>>> increments of x (e.g., of 20, from 0 to 100, so 0, 20, 40, 60, 80, >>>>> 100)? >>>>> >>>>> Thanks! >>> Peter T. Evensen >>> http://www.PetersRoadToHealth.com >>> 314-629-5248 or 888-682-4588 >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution 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.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.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 > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-682-4588 ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From bill at bluewatermaritime.com Tue Dec 5 17:02:10 2006 From: bill at bluewatermaritime.com (Bill) Date: Tue, 05 Dec 2006 18:02:10 -0400 Subject: Access Plugins In-Reply-To: <9b408d8e0612051157p623492a0o2d1d3a3ecd1c384b@mail.gmail.com> Message-ID: It would be nice if there was a way to convert access databases to SQLite. On 12/5/06 3:57 PM, "Mikey" wrote: > Unfortunately that isn't a solution. This is going to be a project > that is going to replace an embedded Access database, so access to > Access is negatory. | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 2087 Rio Grande, PR 00745 From rjb at robelko.com Tue Dec 5 18:33:57 2006 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 6 Dec 2006 00:33:57 +0100 Subject: v2.7 engine? In-Reply-To: <45759C22.3070206@hyperactivesw.com> References: <4574A840.8070304@fourthworld.com> <4574C43A.4090601@hyperactivesw.com> <45759C22.3070206@hyperactivesw.com> Message-ID: >All the older distributions up through 2.6.1 are available at the >ftp link Richard mentioned before: > > > >The latest 2.7 distribution can be downloaded directly from the >"download" web page at the RR site. > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com It would be nice if not only the older engines but also current engines were available through ftp, so they are all in one place for download. And earlier 2.7.x distributions do not seem to be readily available. Robert From durneybr at uvsc.edu Tue Dec 5 18:48:42 2006 From: durneybr at uvsc.edu (Brian Durney) Date: Tue, 5 Dec 2006 16:48:42 -0700 Subject: images don't scale when the stack changes size Message-ID: Hello, I am making a remote-controlled slide show program where a user uses a local machine to control a slide show stack on a remote machine. I want to make a thumbnail version of the slide show stack so that the user can see what's happening on the remote machine. I also want the user to be able to numerically specify a new size for the slide show stack. What I tried was putting an image on each card and locking the size and position. I set the Geometry to scale the image relative to the edges of the stack. Then I made a button to change the size of the stack to the thumbnail size by setting the width and height of the stack. I expected the image to scale when the stack size changed, but it didn't. When I drag the resize handle of the stack, the image scales. That doesn't help me, because I want to numerically specify the new size (e.g., 800x600), and I don't want the aspect ratio of the stack to change because then the images are distorted. I have also thought of writing a loop to go through the cards and scale the images, but I would rather use the Geometry if that will work for more complicated cards (e.g., cards that have polygons, labels, etc.). Please let me know if I'm missing something with the Geometry, or if there is another approach. Thanks, Brian Durney From m.schonewille at economy-x-talk.com Tue Dec 5 19:15:08 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 6 Dec 2006 01:15:08 +0100 (MET) Subject: images don't scale when the stack changes size In-Reply-To: References: Message-ID: Hi Brian, Your own scripts will probably be more reliable than the Geometry Manager, but since you have already done the work of setting all GM properties for your images, you can simply send "resizeStack" to the card or stack containing the images. Don't forget to pass the resizeStack message on to the higher levels in the message hierarchy. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 6-dec-2006, om 0:48 heeft Brian Durney het volgende geschreven: > Hello, > I am making a remote-controlled slide show program where a user > uses a local machine to control a slide show stack on a remote > machine. I want to make a thumbnail version of the slide show > stack so that the user can see what's happening on the remote > machine. I also want the user to be able to numerically specify a > new size for the slide show stack. > > What I tried was putting an image on each card and locking the size > and position. I set the Geometry to scale the image relative to > the edges of the stack. Then I made a button to change the size of > the stack to the thumbnail size by setting the width and height of > the stack. I expected the image to scale when the stack size > changed, but it didn't. > > When I drag the resize handle of the stack, the image scales. That > doesn't help me, because I want to numerically specify the new size > (e.g., 800x600), and I don't want the aspect ratio of the stack to > change because then the images are distorted. > > I have also thought of writing a loop to go through the cards and > scale the images, but I would rather use the Geometry if that will > work for more complicated cards (e.g., cards that have polygons, > labels, etc.). > > Please let me know if I'm missing something with the Geometry, or > if there is another approach. > Thanks, > Brian Durney From JimAultWins at yahoo.com Tue Dec 5 19:39:35 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 05 Dec 2006 16:39:35 -0800 Subject: slide with multiples of x? In-Reply-To: <6.2.1.2.2.20061205153354.082fc010@exchange.slg.com> Message-ID: Same result, just a little bit shorter and one less handler, but probably the same speed. > on mouseUp get the thumbposition of me set the thumbposition of me to ((it div 20)+( it mod 20 div 10))*20 > AdjustLabelPosition > end mouseUp You can do a quick test by pasting the following lines in the multi-line message box and hitting the enter key put empty into msg repeat with x = 1 to 109 get ((x div 20)+( x mod 20 div 10))*20 put msg &cr & x && it into msg end repeat and now your msg box is filled with 110 lines of results If you don't like the hard coded numbers try something like put 100/5 into incrm put ((it div incrm)+( it mod incrm div (incrm/2)))*incrm > I implemented my own scrollbar value indicator that I move. Here's what > I wound up with in my script. I haven't tried this on the Mac yet. I > don't like the hard-coded numbers; the might not work on the Mac. It runs on a Mac just fine. Jim Ault Las Vegas On 12/5/06 1:35 PM, "Peter T. Evensen" wrote: > Hi Eric, > > Thanks for the pointer. The one key I was missing is scrollbarDrag. I > didn't know about that message. > > I implemented my own scrollbar value indicator that I move. Here's what > I wound up with in my script. I haven't tried this on the Mac yet. I > don't like the hard-coded numbers; the might not work on the Mac. I'll > have to think to see if I can come up with anything better. > > on mouseUp > set the thumbposition of me to NearestThumbPos(the thumbposition of me) > AdjustLabelPosition > end mouseUp > > on scrollbarDrag > lock screen > AdjustLabelPosition > unlock screen > end scrollbarDrag > > function NearestThumbPos pPos > put pPos div 20 into tNumTwenties > put pPos mod 20 into tRemainder > if tRemainder >= 10 then > add 1 to tNumTwenties > end if > return 20 * tNumTwenties > end NearestThumbPos > > on AdjustLabelPosition > put the thumbposition of me into tPos > put NearestThumbPos(the thumbposition of me) into field "Thumb Pos" > put (the width of me - 12) / the endValue of me into tPixelsPerValue > put the left of me + 6 + tPixelsPerValue * tPos into tThumbLoc > put the loc of field "Thumb Pos" into tFieldLoc > put tThumbLoc into item 1 of tFieldLoc > set the loc of field "Thumb Pos" to tFieldLoc > end AdjustLabelPosition > > > At 02:46 PM 12/5/2006, you wrote: >> Hi Peter, >> >> The "How to Manage "Snap to" Scrollbars" tutorial might help you: >> How to manage a slider snap-to behavior to make sure that the >> indicator lines up with the ticks especially on Mac OS X. >> You will access this tutorial through "Tutorials Picker" a free >> plugin that interfaces with the So Smart Software website in order to >> display all available tutorials stacks directly from the web. >> You will find it by going to http://www.sosmartsoftware.com/. >> Revolution/Plugins or Tutorials section. >> >> Le 5 d?c. 06 ? 21:43, Peter T. Evensen a ?crit : >> >>> Is there a built-in way to create a slider that only stops at >>> increments of x (e.g., of 20, from 0 to 100, so 0, 20, 40, 60, 80, >>> 100)? >>> >>> Thanks! >> >> >> Best Regards from Paris, >> Eric Chatonet >> ------------------------------------------------------------------------ >> ---------------------- >> http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.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 > > Peter T. Evensen > http://www.PetersRoadToHealth.com > 314-629-5248 or 888-682-4588 > _______________________________________________ > use-revolution mailing list > use-revolution at 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 cdroo.com Tue Dec 5 21:07:49 2006 From: scott at cdroo.com (Scott Kane) Date: Wed, 6 Dec 2006 13:07:49 +1100 Subject: Thank you for all of the help References: Message-ID: <002301c718db$560a0470$0201010a@visualmicro> > So how did we all do on the psych test part? I would imagine highly > schizophrenic with singular and multiple personality disorders. Schizophrenia has ***nothing*** to do with multiple personality disorders. Forget "Sybil" it was a total joke and a lie. Think more "A beautiful Mind" which shows (one form) of schizophrenia - that of paranoid delusions. There are others - but multiple personality disorders do not in anyway portray symptoms of schizophrenia. Scott Kane From janselid at broadpark.no Tue Dec 5 22:05:21 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Wed, 06 Dec 2006 04:05:21 +0100 Subject: Back to button basics Message-ID: <000001c718e3$5e236810$1a6a3830$@no> Hi folks, I?m redesigning my buttons. it?s been a while since the last time. The autobehaviour drives me nuts. Can someone please tell me what to turn off and on in the following scenario: The buttons belongs to a group. There should be no radiobehaviour. They should all be transparent. No hilited border. Nothing. The only thing that changes is the icon on mouseup. I use a custom on/off state like this: On mouseup If the onstate of me is true Then Set the onstate of me to false Else Set the onstate of me to true End if End mouseup What I want to do is to just change the icon according to the state of onstate property. Should I use a visited icon or a hilited icon? No matter what I turn off or on I seem to get some additional behaviour. Like a border or the traversal border. I?m sorry that I have to bother you with this but my early days of lessons is just hidden under layers of other priorities. Sincerely Jan Selid From jacque at hyperactivesw.com Tue Dec 5 22:43:47 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Dec 2006 21:43:47 -0600 Subject: v2.7 engine? In-Reply-To: References: <4574A840.8070304@fourthworld.com> <4574C43A.4090601@hyperactivesw.com> <45759C22.3070206@hyperactivesw.com> Message-ID: <45763C73.2090909@hyperactivesw.com> Robert Brenstein wrote: > It would be nice if not only the older engines but also current engines > were available through ftp, so they are all in one place for download. > And earlier 2.7.x distributions do not seem to be readily available. I'll see what I can find out about this. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From JimAultWins at yahoo.com Tue Dec 5 22:46:22 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 05 Dec 2006 19:46:22 -0800 Subject: Thank you for all of the help In-Reply-To: <002301c718db$560a0470$0201010a@visualmicro> Message-ID: I meant both... schiz combined with the others.. I should have said personality disorders ***added in*** ....but it was a quick email for fun. I see your triple emphasis, and one of me understands the diff, and the other doesn't think it applies to him. Jim Ault Las Vegas On 12/5/06 6:07 PM, "Scott Kane" wrote: > >> So how did we all do on the psych test part? I would imagine highly >> schizophrenic with singular and multiple personality disorders. > > Schizophrenia has ***nothing*** to do with multiple personality disorders. > Forget "Sybil" it was a total joke and a lie. Think more "A beautiful Mind" > which shows (one form) of schizophrenia - that of paranoid delusions. There > are others - but multiple personality disorders do not in anyway portray > symptoms of schizophrenia. From josh at dvcreators.net Tue Dec 5 22:53:49 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 5 Dec 2006 19:53:49 -0800 Subject: best downloading architecture - vote 1, 2, 3 or 4 Message-ID: <15739DAD-E415-49ED-86C3-0E589769AAB0@dvcreators.net> Let's say you wanted to provide the user with a "splash" or "stub" app that downloaded a "Main Stack" from a server along with a a whole bunch of other files to be downloaded to various locations. There are a few options: ____________________________________________________________ 1. the "splash" app gets a whole list of files and downloads them all, then finally runs the Main Stack pros: simple cons: will take too long for the user to begin to be able to use the app ____________________________________________________________ 2. the "splash" app first downloads the Main Stack and runs it, but the "splash" app continues to download a whole list of files in the background This would be ideal, but is it feasible to set up a callback framework where the Main Stack code could check download status and make decisions based on whether certain files had downloaded yet? ____________________________________________________________ 3. the "splash" app downloads the Main Stack and runs it, then the Main Stack downloads all the other files keeps the "splash" app simple, but the Main Stack should use the same download library/handlers, right? ____________________________________________________________ 4. the "splash" app downloads a whole 'nother application and runs it, but continues to download a whole list of files in the background pros: two apps = true multithreaded operation? :-) cons: complication of the downloader app communicating with the Main App through sockets to monitor d/l status ____________________________________________________________ What is your vote? 1 2 3 4 5. none of the above From scott at cdroo.com Tue Dec 5 23:03:52 2006 From: scott at cdroo.com (Scott Kane) Date: Wed, 6 Dec 2006 15:03:52 +1100 Subject: Thank you for all of the help References: Message-ID: <00fb01c718eb$8c39fc20$0201010a@visualmicro> >I meant both... > schiz combined with the others.. I should have said > > personality disorders ***added in*** > ....but it was a quick email for fun. > > > I see your triple emphasis, and one of me understands the diff, and the > other doesn't think it applies to him. No worries, Jim. I'm touchy on the subject of understanding it. So few do and so many don't care to know. Scott From tereza at califex.com Wed Dec 6 00:30:28 2006 From: tereza at califex.com (Tereza Snyder) Date: Tue, 5 Dec 2006 23:30:28 -0600 Subject: Back to button basics In-Reply-To: <000001c718e3$5e236810$1a6a3830$@no> References: <000001c718e3$5e236810$1a6a3830$@no> Message-ID: <34213E3D-400F-4F87-95D1-739A62E6AB10@califex.com> On Dec 5, 2006, at 9:05 PM, Jan S?lid wrote: > ... > What I want to do is to just change the icon according to the state of > onstate property. Should I use a visited icon or a hilited icon? No > matter > what I turn off or on I seem to get some additional behaviour. Like > a border > or the traversal border. I?m sorry that I have to bother you with > this but > my early days of lessons is just hidden under layers of other > priorities. > If all the buttons do is signal a state change that will be acted on later, I would put the following script in the group: on mouseup set the hilite of the target to not (the hilite of the target) end mouseup I would set the hiliteIcon property to get my custom icon. I would set the autohilite of the buttons to false, and just to make sure I would set the hiliteborder and hilitefill of the buttons to false, too. If I didn't want a focus border (and I never do), I would set the showfocusborder of the buttons AND of the group to false (otherwise, in Windows, the dotted line focus border shows up on the buttons anyway). If I want rollover behavior, I would use the new hoverIcon property instead of the autoArm and armedIcon property; so I'd set autoArm of the buttons to false, and I would set the armBorder and armFill of the buttons to false too, for good measure. I'd set the traversalOn of the group and the buttons to true. I'd avoid the visitedIcon unless you really have a "visited" state you need to convey (i.e. this button has been clicked already but it's not disabled--I guess it's a Unix thing.) If I need to carry around the state of the buttons (assuming they record states), I'd do something like: repeat with N = 1 to the number of buttons of grp "states" put the hilite of btn N of grp "states" into \ tStateArray[the short name of btn N of grp "states"] end repeat ...and then later: if tStateArray["meaningfulButtonName"] then .... If it's against your religion to conflate a gui state with a program state, it's still easier and clearer when you avoid elaborate if statements, just to transfer Boolean values; that is, use: set the hilite of me to the onstate of me rather than: if the onState of me is true then set the hilite of me to true HTH, t -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From JimAultWins at yahoo.com Wed Dec 6 00:41:00 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 05 Dec 2006 21:41:00 -0800 Subject: best downloading architecture - vote 1, 2, 3 or 4 In-Reply-To: <15739DAD-E415-49ED-86C3-0E589769AAB0@dvcreators.net> Message-ID: On 12/5/06 7:53 PM, "Josh Mellicker" wrote: > > 2. the "splash" app first downloads the Main Stack and runs it, but > the "splash" app continues to download a whole list of files in the > background > > This would be ideal, but is it feasible to set up a callback > framework where the Main Stack code could check download status and > make decisions based on whether certain files had downloaded yet? Here is an example of a simple script I use for a stub-download-Main with output to follow: --field 2 log --field 3 pct ------------------------------------ on mouseup libURLSetLogField "field 2" libURLSetStatusCallback "setPercentage",(the long id of this card) --bunches of other stuff end mouseup on setPercentage urlDL, statusDL replace "/" with space in urlDL if statusDL contains "loading" then try put 100*item 2 of statusDL/item 3 of statusDL into pctDL end try put word -1 of urlDL &" %done...... "& pctDL & cr before field 3 else if statusDL contains "error" then --to be done later else put cr & "status of "& word -1 of urlDL & " is ... "& statusDL & cr before field 3 end if end setPercentage ----------------- LOG ---------------------------------- socket selected: 12.191.44.40:21|6928 220 ProFTPD 1.2.10 Server (ProFTPD Default Installation) [12.191.44.40] USER can1a2da3 331 Password required for whosit. PASS 230 User whosit logged in. 257 "/" is current directory. TYPE I 200 Type set to I SIZE /web/cardPrint004.rev 213 2118986 PASV 227 Entering Passive Mode (12,191,44,40,144,203). RETR /web/cardPrint004.rev 150 Opening BINARY mode data connection for /web/cardPrint004.rev (2118986 bytes) CLOSED 12.191.44.40:37067|6928 226 Transfer complete. QUIT 221 Goodbye. CLOSED 12.191.44.40:21|6928 CLOSED 12.191.44.40:21|6928 ------------2 Mb download in about 30 secs ------- ----written in reverse order ----------- status of cardPrint004.rev is ... downloaded cardPrint004.rev %done...... 100 cardPrint004.rev %done...... 99.771872 cardPrint004.rev %done...... 99.703537 cardPrint004.rev %done...... 99.635203 cardPrint004.rev %done...... 99.566868 cardPrint004.rev %done...... 99.498534 cardPrint004.rev %done...... 99.29353 cardPrint004.rev %done...... 99.156861 cardPrint004.rev %done...... 99.088526 cardPrint004.rev %done...... 98.951857 --snip -- cardPrint004.rev %done...... 1.64003 cardPrint004.rev %done...... 1.571695 cardPrint004.rev %done...... 1.435026 cardPrint004.rev %done...... 1.298357 cardPrint004.rev %done...... 1.161688 cardPrint004.rev %done...... 1.025019 cardPrint004.rev %done...... 0.888349 cardPrint004.rev %done...... 0.75168 cardPrint004.rev %done...... 0.683346 cardPrint004.rev %done...... 0.615011 cardPrint004.rev %done...... 0.546677 cardPrint004.rev %done...... 0.410007 cardPrint004.rev %done...... 0.341673 cardPrint004.rev %done...... 0.273338 cardPrint004.rev %done...... 0.205004 cardPrint004.rev %done...... 0.136669 status of cardPrint004.rev is ... requested status of cardPrint004.rev is ... contacted status of cardPrint004.rev is ... connected status of cardPrint004.rev is ... connecting From ambassador at fourthworld.com Wed Dec 6 01:25:35 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Dec 2006 22:25:35 -0800 Subject: best downloading architecture - vote 1, 2, 3 or 4 Message-ID: <4576625F.1000104@fourthworld.com> Josh Mellicker asked: > What is your vote? > > 1 > 2 > 3 > 4 > 5. none of the above 6: The application is installed with everything it needs to run. Updates can come in over the wire later, but once the installer has run it's ready to go, right then and there. You'd be surprised how many folks download installers and run them later, and later might be on a train or a plane or a spaceship to Mars. Why punish the affluent traveling customer when you could be catering to that desirable demographic instead, for the low cost of a convenient experience for everyone else. When updates are checked, all user interface elements are able to be updated. The splash screen is a user interface element, and as subject to change as anything else, so the only thing in the standalone is an error dialog which no one should ever see unless Something Very Bad happens during install, in which case the user won't be able to see anything other than the first card of the mainstack anyway -- might as well make it count. If boot goes well I can hide that and move on to load the rest of the components. No UI in the standalone means all UI can be updated. I guess if this needs a name we could call it "Complete Install with Anchor Stack". I'm sure there's a 7, 8, 43, 1544, and more, but #6 is just what I do. -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Wed Dec 6 01:34:33 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Dec 2006 22:34:33 -0800 Subject: Access Plugins In-Reply-To: <9b408d8e0612051108n2fbff45bj1fbb54eb7715b82c@mail.gmail.com> References: <9b408d8e0612051108n2fbff45bj1fbb54eb7715b82c@mail.gmail.com> Message-ID: <22138614006.20061205223433@ahsoftware.net> Mikey- Tuesday, December 5, 2006, 11:08:45 AM, you wrote: > All, > I have a really interesting project that I'm going to be starting here > shortly, but it has a problem - I need to be able to generate Access > database files as output (and then zip them). > I'd love to be able to do this one in RR, because there will be a > significant amount of parsing, and chunk expressions are SO perfect > for that. > However, if I can't use RR to (easily) generate .mdb files then I'm > going to be forced to use one of the other tools at my disposal. > Suggestions? Does it *have* to be Access, or can you generate some intermediate file (CSV, for example) that could then be imported into Access? That's the way I would go here if I could get a buyin. mdb files are a proprietary format, and there's precious little software around that will muck with them outside of an Access system. -- -Mark Wieder mwieder at ahsoftware.net From revdev at pdslabs.net Wed Dec 6 01:51:10 2006 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 05 Dec 2006 22:51:10 -0800 Subject: best downloading architecture - vote 1, 2, 3 or 4 In-Reply-To: <4576625F.1000104@fourthworld.com> References: <4576625F.1000104@fourthworld.com> Message-ID: <4576685E.6040800@pdslabs.net> I like this, Richard. It gets my vote. Thanks for sharing it. Phil Davis Richard Gaskin wrote: > Josh Mellicker asked: > >> What is your vote? >> >> 1 >> 2 >> 3 >> 4 >> 5. none of the above > > > 6: The application is installed with everything it needs to run. Updates > can come in over the wire later, but once the installer has run it's > ready to go, right then and there. You'd be surprised how many folks > download installers and run them later, and later might be on a train or > a plane or a spaceship to Mars. Why punish the affluent traveling > customer when you could be catering to that desirable demographic > instead, for the low cost of a convenient experience for everyone else. > > When updates are checked, all user interface elements are able to be > updated. The splash screen is a user interface element, and as subject > to change as anything else, so the only thing in the standalone is an > error dialog which no one should ever see unless Something Very Bad > happens during install, in which case the user won't be able to see > anything other than the first card of the mainstack anyway -- might as > well make it count. If boot goes well I can hide that and move on to > load the rest of the components. No UI in the standalone means all UI > can be updated. > > I guess if this needs a name we could call it "Complete Install with > Anchor Stack". > > I'm sure there's a 7, 8, 43, 1544, and more, but #6 is just what I do. > From scott at cdroo.com Wed Dec 6 02:26:41 2006 From: scott at cdroo.com (Scott Kane) Date: Wed, 6 Dec 2006 18:26:41 +1100 Subject: Access Plugins References: <9b408d8e0612051108n2fbff45bj1fbb54eb7715b82c@mail.gmail.com> <22138614006.20061205223433@ahsoftware.net> Message-ID: <003001c71907$e175aec0$0201010a@visualmicro> >> I'd love to be able to do this one in RR, because there will be a >> significant amount of parsing, and chunk expressions are SO perfect >> for that. One possibility is to generate a DLL (if this is on Windows) that has the Jet Engine interface built into it. I'm not knowledgeable about building plugins for Rev, but Delphi, C++ Builder and Visual C++ can all do this (with the right custom libraries and they aren't dear). Then call the dll as a plug-in I guess... Scott From janselid at broadpark.no Wed Dec 6 03:25:42 2006 From: janselid at broadpark.no (=?iso-8859-1?Q?Jan_S=E6lid?=) Date: Wed, 06 Dec 2006 09:25:42 +0100 Subject: Back to button basics In-Reply-To: <34213E3D-400F-4F87-95D1-739A62E6AB10@califex.com> References: <000001c718e3$5e236810$1a6a3830$@no> <34213E3D-400F-4F87-95D1-739A62E6AB10@califex.com> Message-ID: <000101c71910$1e96a9f0$5bc3fdd0$@no> Tereza, 6. desember 2006 06:30, you wrote >If all the buttons do is signal a state change that will be acted on >later, I would put the following script in the group: Fantistical, Not only did you help me out - you threw in some lessons too. I'm enlightened and my head is in order. What an absolutely tremendous reply. Big handshake, Jan --- Jan Selid janselid at broadpark.no From josh at dvcreators.net Wed Dec 6 03:28:39 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 6 Dec 2006 00:28:39 -0800 Subject: best downloading architecture - vote 1, 2, 3 or 4 In-Reply-To: <4576625F.1000104@fourthworld.com> References: <4576625F.1000104@fourthworld.com> Message-ID: Oops, I probably forgot to mention the app is delivered by download :-) So yes, the application will be installed with everything it needs to run, but it needs to download the stuff first. And with QT movies and separate files, I have a list of stuff to download, just trying to figure out the best way to structure it. Speaking of downloads, I probably posted this before, but I would like to offer a generous bounty for anyone who would like to either: 1. write a bittorrent client in Rev (or Rev external) 2. write or alter (license permitting) a "faceless" bittorrent client (in whatever language) that announces download status either in a text file or sockets On Dec 5, 2006, at 10:25 PM, Richard Gaskin wrote: > Josh Mellicker asked: > >> What is your vote? >> 1 >> 2 >> 3 >> 4 >> 5. none of the above > > > 6: The application is installed with everything it needs to run. > Updates can come in over the wire later, but once the installer has > run it's ready to go, right then and there. You'd be surprised how > many folks download installers and run them later, and later might > be on a train or a plane or a spaceship to Mars. Why punish the > affluent traveling customer when you could be catering to that > desirable demographic instead, for the low cost of a convenient > experience for everyone else. > > When updates are checked, all user interface elements are able to > be updated. The splash screen is a user interface element, and as > subject to change as anything else, so the only thing in the > standalone is an error dialog which no one should ever see unless > Something Very Bad happens during install, in which case the user > won't be able to see anything other than the first card of the > mainstack anyway -- might as well make it count. If boot goes well > I can hide that and move on to load the rest of the components. No > UI in the standalone means all UI can be updated. > > I guess if this needs a name we could call it "Complete Install > with Anchor Stack". > > I'm sure there's a 7, 8, 43, 1544, and more, but #6 is just what I do. > > -- > Richard Gaskin > Fourth World Media Corporation > Developer of WebMerge: Publish any database on any Web site > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.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 jc at spl21.net Wed Dec 6 04:10:41 2006 From: jc at spl21.net (John Craig) Date: Wed, 06 Dec 2006 09:10:41 +0000 Subject: slide with multiples of x? In-Reply-To: References: Message-ID: <45768911.6080107@spl21.net> Here's another similar wee snippet. on mouseUp set the thumbPos of me to round(the thumbPos of me / 20) * 20 end mouseUp :-) Jim Ault wrote: > Same result, just a little bit shorter and one less handler, but probably > the same speed. > > >> on mouseUp >> > get the thumbposition of me > set the thumbposition of me to ((it div 20)+( it mod 20 div 10))*20 > >> AdjustLabelPosition >> end mouseUp >> > > You can do a quick test by pasting the following lines in the multi-line > message box and hitting the enter key > > put empty into msg > repeat with x = 1 to 109 > get ((x div 20)+( x mod 20 div 10))*20 > put msg &cr & x && it into msg > end repeat > > and now your msg box is filled with 110 lines of results > > If you don't like the hard coded numbers try something like > put 100/5 into incrm > put ((it div incrm)+( it mod incrm div (incrm/2)))*incrm > > >> I implemented my own scrollbar value indicator that I move. Here's what >> I wound up with in my script. I haven't tried this on the Mac yet. I >> don't like the hard-coded numbers; the might not work on the Mac. >> > It runs on a Mac just fine. > > Jim Ault > Las Vegas > > On 12/5/06 1:35 PM, "Peter T. Evensen" wrote: > > >> Hi Eric, >> >> Thanks for the pointer. The one key I was missing is scrollbarDrag. I >> didn't know about that message. >> >> I implemented my own scrollbar value indicator that I move. Here's what >> I wound up with in my script. I haven't tried this on the Mac yet. I >> don't like the hard-coded numbers; the might not work on the Mac. I'll >> have to think to see if I can come up with anything better. >> >> on mouseUp >> set the thumbposition of me to NearestThumbPos(the thumbposition of me) >> AdjustLabelPosition >> end mouseUp >> >> on scrollbarDrag >> lock screen >> AdjustLabelPosition >> unlock screen >> end scrollbarDrag >> >> function NearestThumbPos pPos >> put pPos div 20 into tNumTwenties >> put pPos mod 20 into tRemainder >> if tRemainder >= 10 then >> add 1 to tNumTwenties >> end if >> return 20 * tNumTwenties >> end NearestThumbPos >> >> on AdjustLabelPosition >> put the thumbposition of me into tPos >> put NearestThumbPos(the thumbposition of me) into field "Thumb Pos" >> put (the width of me - 12) / the endValue of me into tPixelsPerValue >> put the left of me + 6 + tPixelsPerValue * tPos into tThumbLoc >> put the loc of field "Thumb Pos" into tFieldLoc >> put tThumbLoc into item 1 of tFieldLoc >> set the loc of field "Thumb Pos" to tFieldLoc >> end AdjustLabelPosition >> >> >> At 02:46 PM 12/5/2006, you wrote: >> >>> Hi Peter, >>> >>> The "How to Manage "Snap to" Scrollbars" tutorial might help you: >>> How to manage a slider snap-to behavior to make sure that the >>> indicator lines up with the ticks especially on Mac OS X. >>> You will access this tutorial through "Tutorials Picker" a free >>> plugin that interfaces with the So Smart Software website in order to >>> display all available tutorials stacks directly from the web. >>> You will find it by going to http://www.sosmartsoftware.com/. >>> Revolution/Plugins or Tutorials section. >>> >>> Le 5 d?c. 06 ? 21:43, Peter T. Evensen a ?crit : >>> >>> >>>> Is there a built-in way to create a slider that only stops at >>>> increments of x (e.g., of 20, from 0 to 100, so 0, 20, 40, 60, 80, >>>> 100)? >>>> >>>> Thanks! >>>> >>> Best Regards from Paris, >>> Eric Chatonet >>> ------------------------------------------------------------------------ >>> ---------------------- >>> http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.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 >>> >> Peter T. Evensen >> http://www.PetersRoadToHealth.com >> 314-629-5248 or 888-682-4588 >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 viktoras at ekoinf.net Wed Dec 6 05:11:34 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Wed, 6 Dec 2006 12:11:34 +0200 (FLE Standard Time) Subject: Access Plugins References: <003001c71907$e175aec0$0201010a@visualmicro> Message-ID: <45769756.000001.02044@MAZYTIS> try communicating with Access driver through js or vbs script. In both js and vbs there is a way to build a dsn-less connections to nearly any type of relational database. A while ago I worked with this from within hta apps, but now went multiplatform with Rev and start forgetting those things... For example this jscript function creates and uses dsn-less connection to execute SQL commands: function dbAccess(sql) { var dbrcd, cString, sql; // Creating ADO Recordset dbrcd = new ActiveXObject( "ADODB.Recordset" ); //Creating the connection string cString = "Driver={Microsoft Access Driver (*.mdb)};DBQ=Tables.mdb"; // Create SQL Statement //sql = "SELECT * from table1"; // Open connection to database dbrcd.Open( sql, cString, 1, 3); while( !dbrcd.EOF ) { // Loop through each field in this record // and add contents to variable for( i = 0; i < dbrcd.Fields.Count; i++ ) { record+= dbrcd(i) + " ";} //Move to the next record and loop dbrcd.MoveNext(); record+="\n"; } return (record); } Although I have never tried creating new database or defining schema with this, but maybe it can be useful in this regard too... Rev studio has open driver close driver handlers, although I have never tried to communicate with Access driver directly from within Rev, could this work ?.. Best regards Viktoras From luis at anachreon.co.uk Wed Dec 6 06:16:31 2006 From: luis at anachreon.co.uk (Luis) Date: Wed, 06 Dec 2006 11:16:31 +0000 Subject: Access Plugins In-Reply-To: <9b408d8e0612051108n2fbff45bj1fbb54eb7715b82c@mail.gmail.com> References: <9b408d8e0612051108n2fbff45bj1fbb54eb7715b82c@mail.gmail.com> Message-ID: <4576A68F.2040508@anachreon.co.uk> Don't know if this might be useful (calling it from Rev): http://sourceforge.net/projects/plane-disaster/ Can create new files, you can then zip them up with Rev. From the description: 'PlaneDisaster.NET is a .NET Database front end for JetSQL (Microsoft Access File Format) and sqLite. In addition to basic database browsing and querying, it can create new JetSQL and SQLite files as well as compact and repair JetSQL databases.' It's Windows only. Cheers, Luis. Mikey wrote: > All, > I have a really interesting project that I'm going to be starting here > shortly, but it has a problem - I need to be able to generate Access > database files as output (and then zip them). > > I'd love to be able to do this one in RR, because there will be a > significant amount of parsing, and chunk expressions are SO perfect > for that. > > However, if I can't use RR to (easily) generate .mdb files then I'm > going to be forced to use one of the other tools at my disposal. > > Suggestions? > Mike. > From baleareninsel at gmx.net Wed Dec 6 06:56:12 2006 From: baleareninsel at gmx.net (baleareninsel at gmx.net) Date: Wed, 06 Dec 2006 12:56:12 +0100 Subject: Forgotten variables Message-ID: <20061206115436.D1CDF488E47@mail.runrev.com> Hello everybody, Using RunRev 2.7.4, I declare on preopenstack ... ... global var1 var2 var3 var4 ... ... put "my variable" into var1 end preopenstack Now, in another card, I would like to use var1, but var1 is empty. Does someone know why? where is my fold? best regards and Thanks in advance Horst From m.schonewille at economy-x-talk.com Wed Dec 6 07:07:49 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 6 Dec 2006 13:07:49 +0100 Subject: Forgotten variables In-Reply-To: <20061206115436.D1CDF488E47@mail.runrev.com> References: <20061206115436.D1CDF488E47@mail.runrev.com> Message-ID: <7B7DAFEC-CE76-4ED8-8F73-B0443BE21E41@economy-x-talk.com> Hi Horst, If you use the global statement inside a handler, you have to repeat that in all handlers that use the declared variables. If you use global outside a handler, you still have to repeat it at the top of all scripts that use the declared variables. So, you could write global var1,var2,var3,var4 at the top of the card script to use these variables in all handlers of the card script. I've noticed that you use spaces instead of commas to separate variables. Does that work? Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 6-dec-2006, om 12:56 heeft baleareninsel at gmx.net het volgende geschreven: > Hello everybody, > > Using RunRev 2.7.4, > > I declare > > on preopenstack > ... > ... > global var1 var2 var3 var4 > ... > ... > put "my variable" into var1 > end preopenstack > > Now, in another card, I would like to use var1, but var1 is empty. > Does someone know why? where is my fold? > > best regards and Thanks in advance > > Horst From viktoras at ekoinf.net Wed Dec 6 07:11:00 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Wed, 6 Dec 2006 14:11:00 +0200 (FLE Standard Time) Subject: Forgotten variables References: <20061206115436.D1CDF488E47@mail.runrev.com> Message-ID: <4576B354.000001.00140@MAZYTIS> when declaring global variable, it should be declared as global in every handler or function it is used like this: on doThis global var1 put 1 into var1 end doThis on doThat global var1 #!!!! answer var1 end doThat otherwise handlers can not see var1 even if it is global in one of them, because the other assumes by default that it is local... Viktoras -------Original Message------- From: baleareninsel at gmx.net Date: 12/06/06 13:54:53 To: use-revolution at lists.runrev.com Subject: Forgotten variables Hello everybody, Using RunRev 2.7.4, I declare on preopenstack ... ... global var1 var2 var3 var4 ... ... put "my variable" into var1 end preopenstack Now, in another card, I would like to use var1, but var1 is empty. Does someone know why? where is my fold? best regards and Thanks in advance Horst _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Wed Dec 6 07:13:25 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Dec 2006 13:13:25 +0100 Subject: Forgotten variables In-Reply-To: <20061206115436.D1CDF488E47@mail.runrev.com> References: <20061206115436.D1CDF488E47@mail.runrev.com> Message-ID: <0593729F-E97B-4488-89A1-4275F1DC0B7F@sosmartsoftware.com> Hi Horst, To declare globals (or local) variables you may use: global gVar1 global gVar2 global gVar3 global gVar4 local tVar1 local tVar1 local tVar1 local tVar1 Declaring a variable per line. Or: global gVar1, gVar2, gVar3, gVar4 local tVar1, tVar2, tVar3, tVar4 Using a single line. Please note: When declaring multiple variables in a row, variables names appear always as a comma delimited list (space is up to you: it's not necessary) Variables names are prefixed to immediately notice in the code their status. Where to declare variables? 1. At the top of an object's script: locals will be script local variables, i.e. accessible by all handlers in the script and global will not need to be declared in any handler that use them in this script. 2. At the beginning of any handler: locals will be only accessible in this handler and globals will have to be declared in each handler that uses them. Hope this helps. Best Regards from Paris, Eric Chatonet Le 6 d?c. 06 ? 12:56, baleareninsel at gmx.net a ?crit : > Hello everybody, > > Using RunRev 2.7.4, > > I declare > > on preopenstack > ... > ... > global var1 var2 var3 var4 > ... > ... > put "my variable" into var1 > end preopenstack > > Now, in another card, I would like to use var1, but var1 is empty. > Does someone know why? where is my fold? > > best regards and Thanks in advance > > Horst ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From baleareninsel at gmx.net Wed Dec 6 08:41:17 2006 From: baleareninsel at gmx.net (baleareninsel at gmx.net) Date: Wed, 06 Dec 2006 14:41:17 +0100 Subject: Forgotten Variables - problem is fixed Message-ID: <20061206133939.2DED2488ECF@mail.runrev.com> Hi Mark, Victoras, Eric Thank you for your answers/infos. The problem seems to be fixed It?s always a problem reading and UNDERSTANDING a handbook even if you don?t use your own language :-)) But it?s clear now. have a nice day Horst From eric.chatonet at sosmartsoftware.com Wed Dec 6 10:15:12 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Dec 2006 16:15:12 +0100 Subject: Loading urls from a protected website Message-ID: <97B14839-1926-414A-8A71-83067E2ADFAC@sosmartsoftware.com> Hi all, To update an application from the web that requires downloading many files, I have built without any problem a process using the non blocking load command allowing to display a progress bar. Now I have protected access to the website folders (usual login and password). So I can no longer use "load": the command returns a 401 error (protected access). Normal. I must use ftp that allows to specify a username and a password but I am no longer able to display download progress :-( Your thinking will be welcome :-) Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From ambassador at fourthworld.com Wed Dec 6 10:25:14 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 06 Dec 2006 07:25:14 -0800 Subject: Loading urls from a protected website Message-ID: <4576E0DA.6030102@fourthworld.com> Eric Chatonet wrote: > To update an application from the web that requires downloading many > files, I have built without any problem a process using the non > blocking load command allowing to display a progress bar. > Now I have protected access to the website folders (usual login and > password). > So I can no longer use "load": the command returns a 401 error > (protected access). If it's protected with htaccess you should be able to embed the login in the URL as with FTP: http://:@www.mydomain.com -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From JimAultWins at yahoo.com Wed Dec 6 10:48:36 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 06 Dec 2006 07:48:36 -0800 Subject: Loading urls from a protected website In-Reply-To: <97B14839-1926-414A-8A71-83067E2ADFAC@sosmartsoftware.com> Message-ID: Here is something I use that generates the *progress data* with ftp and password: on mouseup libURLSetLogField "field 2" libURLSetStatusCallback "setPercentage",(the long id of this card) --bunches of other stuff put "trialStackForClient.rev" into FName put url ("ftp://user:pswd at client.testsite.com/web/" & FName) into \ stkToRun go stack stkToRun end mouseup Jim Ault Las Vegas On 12/6/06 7:15 AM, "Eric Chatonet" wrote: > Hi all, > > To update an application from the web that requires downloading many > files, I have built without any problem a process using the non > blocking load command allowing to display a progress bar. > Now I have protected access to the website folders (usual login and > password). > So I can no longer use "load": the command returns a 401 error > (protected access). > Normal. > I must use ftp that allows to specify a username and a password but I > am no longer able to display download progress :-( > Your thinking will be welcome :-) > From eric.chatonet at sosmartsoftware.com Wed Dec 6 11:28:45 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Dec 2006 17:28:45 +0100 Subject: Loading urls from a protected website In-Reply-To: References: Message-ID: <40DA4276-F0D5-4719-A254-70CBB02321F4@sosmartsoftware.com> Hello Richard and Jim, Thanks to both of you for your suggestions: Richard: trying to add the username and the password to an http url unfortunately does not work. Jim: I did not think of libURLSetLogField and libURLSetStatusCallback: good idea :-) Finally as I did not wanted to have too much code to modify... I ended by using load with a "ftp" form: put "ftp://" & tUserName & colon & tPassword & "@" & tAddress into tUrl load url tUrl -- DisplayProgress tUrl -- And it works like a charm. Best Regards from Paris, Eric Chatonet Le 6 d?c. 06 ? 16:25, Richard Gaskin a ?crit : > If it's protected with htaccess you should be able to embed the > login in the URL as with FTP: > > http://:@www.mydomain.com > > -- > Richard Gaskin > Managing Editor, revJournal Le 6 d?c. 06 ? 16:48, Jim Ault a ?crit : > Here is something I use that generates the *progress data* with ftp > and > password: > > on mouseup > > libURLSetLogField "field 2" > libURLSetStatusCallback "setPercentage",(the long id of this card) > --bunches of other stuff > put "trialStackForClient.rev" into FName > put url ("ftp://user:pswd at client.testsite.com/web/" & FName) into \ > stkToRun > go stack stkToRun > > end mouseup > > Jim Ault > Las Vegas > > > On 12/6/06 7:15 AM, "Eric Chatonet" > > wrote: > >> Hi all, >> >> To update an application from the web that requires downloading many >> files, I have built without any problem a process using the non >> blocking load command allowing to display a progress bar. >> Now I have protected access to the website folders (usual login and >> password). >> So I can no longer use "load": the command returns a 401 error >> (protected access). >> Normal. >> I must use ftp that allows to specify a username and a password but I >> am no longer able to display download progress :-( >> Your thinking will be welcome :-) ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From tereza at califex.com Wed Dec 6 11:30:12 2006 From: tereza at califex.com (Tereza Snyder) Date: Wed, 6 Dec 2006 10:30:12 -0600 Subject: Back to button basics In-Reply-To: <000101c71910$1e96a9f0$5bc3fdd0$@no> References: <000001c718e3$5e236810$1a6a3830$@no> <34213E3D-400F-4F87-95D1-739A62E6AB10@califex.com> <000101c71910$1e96a9f0$5bc3fdd0$@no> Message-ID: <25C46DEC-25E2-428A-A24D-DBC087CCA8B5@califex.com> On Dec 6, 2006, at 2:25 AM, Jan S?lid wrote: > > 6. desember 2006 06:30, you wrote >> If all the buttons do is signal a state change that will be acted on >> later, I would put the following script in the group: > > Fantistical, > > Not only did you help me out - you threw in some lessons too. I'm > enlightened and my head is in order. What an absolutely tremendous > reply. > > Big handshake, You're welcome! Normally I'm so slow on the uptake that by the time I type in a reply to anyone, there are already five responses on the list. Last night the speedy answer guys must have been busy (or asleep). After I sent off my reply, though, I thought of one more bit of info. You could avoid having the script in the group ("set the hilite of the target to not the hilite of the target") by using checkbox buttons to start with, because checkboxes inherently toggle hilites. Therefore, set their icon properties and leave their autohilite true. You can deal with the button names by hiding them (set their showName to false) or working with their textAlign property and margins. Glad to help, t -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From wdesmet at wanadoo.nl Wed Dec 6 11:58:00 2006 From: wdesmet at wanadoo.nl (William de Smet) Date: Wed, 6 Dec 2006 17:58:00 +0100 Subject: Starting iTunes from a Rev button In-Reply-To: References: Message-ID: Hi there, This works: on mouseUp open process "/Applications/iTunes.app" end mouseUp greetings, William de Smet 2006/12/6, Fredrick Maynor : > Hi, > > I just read your posting. > > http://lists.runrev.com/pipermail/use-revolution/2006-November/090776.html > > I am having a TERRIBLE time getting Revolution to launch an external > application. I have no idea what I am doing wrong. You seem to be doing this > successfully. Can you give me a quick couple of lines of code you used to do > this? > > Thanks, > > > Fredrick Maynor > Managing Director > x3009 > > ================================== > Clearlight Pictures > Integrated Media for Marketing and Communications > 11 Grumman Hill Road, Wilton, CT 06897 > 203-834-0538 > ================================== > http://www.clearlightpictures.com > > -- ICT-co?rdinator Herman Broerenschool 2612 SP Delft 015-2141066 http://www.hermanbroerenschool-delft.nl From JimAultWins at yahoo.com Wed Dec 6 13:04:52 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 06 Dec 2006 10:04:52 -0800 Subject: Loading urls from a protected website In-Reply-To: <40DA4276-F0D5-4719-A254-70CBB02321F4@sosmartsoftware.com> Message-ID: On 12/6/06 8:28 AM, "Eric Chatonet" wrote: > Hello Richard and Jim, > > Thanks to both of you for your suggestions: > > Richard: trying to add the username and the password to an http url > unfortunately does not work. > Jim: I did not think of libURLSetLogField and > libURLSetStatusCallback: good idea :-) > > Finally as I did not wanted to have too much code to modify... > I ended by using load with a "ftp" form: > > put "ftp://" & tUserName & colon & tPassword & "@" & tAddress into tUrl > load url tUrl -- > DisplayProgress tUrl -- > > And it works like a charm. > Glad you got your solution. My steps are meant to be blocking (code execution stops until complete download) since there is no reason to continue until the entire file is downloaded. In other cases, I use the same form so that the data gets put into a local variable that dies at the end of the handler, thus does not stay around in Rev memory. The 'load url someFileSomeWhere ' both continues to download in the background and builds the file in memory in order to cache it. Basically, it is a global that does not die until you quit Rev/the app, or unload url someFileSomeWhere I think of the file/web page cache as Rev downloading the data to memory and giving it a variable name of "someFileSomeWhere" Also, I think if you are accessing web pages, repeated 'load url' commands to the same url means Rev checks the cache first, and if something is there, it delivers that to your handler, rather than re-downloading. Therefore, the 'unload' is necessary before a 'load url' to be sure you are getting the updated version. Jim Ault Las Vegas > > Le 6 d?c. 06 ? 16:25, Richard Gaskin a ?crit : > >> If it's protected with htaccess you should be able to embed the >> login in the URL as with FTP: >> >> http://:@www.mydomain.com > Le 6 d?c. 06 ? 16:48, Jim Ault a ?crit : > >> Here is something I use that generates the *progress data* with ftp >> and >> password: >> >> on mouseup >> >> libURLSetLogField "field 2" >> libURLSetStatusCallback "setPercentage",(the long id of this card) >> --bunches of other stuff >> put "trialStackForClient.rev" into FName >> put url ("ftp://user:pswd at client.testsite.com/web/" & FName) into \ >> stkToRun >> go stack stkToRun >> >> end mouseup >> >> On 12/6/06 7:15 AM, "Eric Chatonet" >> >> wrote: >> >>> Hi all, >>> >>> To update an application from the web that requires downloading many >>> files, I have built without any problem a process using the non >>> blocking load command allowing to display a progress bar. >>> Now I have protected access to the website folders (usual login and >>> password). >>> So I can no longer use "load": the command returns a 401 error >>> (protected access). >>> Normal. >>> I must use ftp that allows to specify a username and a password but I >>> am no longer able to display download progress :-( >>> Your thinking will be welcome :-) > > > ------------------------------------------------------------------------ > ---------------------- > http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.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 eric.chatonet at sosmartsoftware.com Wed Dec 6 13:09:36 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Dec 2006 19:09:36 +0100 Subject: Loading urls from a protected website In-Reply-To: References: Message-ID: Jim, Your are completely right: Rev checks the cachedUrls and delivers it from cache if it's there. Anyway, unloading an url you no longer need is not so bad for memory use ;-) Le 6 d?c. 06 ? 19:04, Jim Ault a ?crit : > Also, I think if you are accessing web pages, repeated 'load url' > commands > to the same url means Rev checks the cache first, and if something > is there, > it delivers that to your handler, rather than re-downloading. > Therefore, > the 'unload' is necessary before a 'load url' to be sure you are > getting the > updated version. Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From jacque at hyperactivesw.com Wed Dec 6 13:15:18 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 06 Dec 2006 12:15:18 -0600 Subject: v2.7 engine? In-Reply-To: References: <4574A840.8070304@fourthworld.com> <4574C43A.4090601@hyperactivesw.com> <45759C22.3070206@hyperactivesw.com> Message-ID: <457708B6.6080905@hyperactivesw.com> Robert Brenstein wrote: >> All the older distributions up through 2.6.1 are available at the ftp >> link Richard mentioned before: >> >> >> >> The latest 2.7 distribution can be downloaded directly from the >> "download" web page at the RR site. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com > > > It would be nice if not only the older engines but also current engines > were available through ftp, so they are all in one place for download. > And earlier 2.7.x distributions do not seem to be readily available. I have checked on this now. There is no restriction or privacy rules about posting the 2.7.x URLs, and RR will try to get all the 2.7 versions uploaded to the FTP site soon. The person who does this is on vacation right now (or as they say across the pond, "on holiday") so it may be a week or two before it happens. In the mean time, the 2.7.x releases are freely available to anyone if you know the formula for constructing the correct URL. To do that, go to the downloads page on the web site. Navigate to the download page of the edition you want and copy the link to the posted edition (Media, Studio, or Enterprise.) Paste that into the location bar of your browser. Then all you need to do is change the version number in the link to the version you want to retrieve. For example, the current Studio link to the full download is: To get version 2.7.1, for example, just change all instances of 2.7.4 to 2.7.1, like this: Note that the version change you need to make exists in two places, both in the directory and the actual file name. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From viktoras at ekoinf.net Wed Dec 6 13:42:11 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Wed, 6 Dec 2006 20:42:11 +0200 (FLE Standard Time) Subject: preventing deletion of linefeds References: <457708B6.6080905@hyperactivesw.com> Message-ID: <45770F02.000001.02004@MAZYTIS> can anybody suggest a simple method to prevent users deleting linefeeds in a text field when pressing backspace or delete keys. It should allow deletion of any other symbol which is not "return" and should not use table object at all. What should be added into the handler below? Chunk expression (word 2 of the selectedchunk) > 1 does not work... on backspaceKey if ??? then pass backspaceKey end if end backspaceKey BW Viktoras From chris at altuit.com Wed Dec 6 13:45:54 2006 From: chris at altuit.com (chris bohnert) Date: Wed, 6 Dec 2006 12:45:54 -0600 Subject: best downloading architecture - vote 1, 2, 3 or 4 In-Reply-To: References: <4576625F.1000104@fourthworld.com> Message-ID: <2e0cf4750612061045g708826fft6c759d7bd4dac3c2@mail.gmail.com> Those interested in taking Josh up on his quest of producing a bittorrent external might check out the conspicuously named "libtorrent" from the guys at Rasterbar. I use their luabind library for all my lua external needs and it works great. http://www.rasterbar.com/products/libtorrent/ -- cb On 12/6/06, Josh Mellicker wrote: > > Oops, I probably forgot to mention the app is delivered by download :-) > > So yes, the application will be installed with everything it needs to > run, but it needs to download the stuff first. > > And with QT movies and separate files, I have a list of stuff to > download, just trying to figure out the best way to structure it. > > > Speaking of downloads, I probably posted this before, but I would > like to offer a generous bounty for anyone who would like to either: > > 1. write a bittorrent client in Rev (or Rev external) > > 2. write or alter (license permitting) a "faceless" bittorrent client > (in whatever language) that announces download status either in a > text file or sockets > > > > > On Dec 5, 2006, at 10:25 PM, Richard Gaskin wrote: > > > Josh Mellicker asked: > > > >> What is your vote? > >> 1 > >> 2 > >> 3 > >> 4 > >> 5. none of the above > > > > > > 6: The application is installed with everything it needs to run. > > Updates can come in over the wire later, but once the installer has > > run it's ready to go, right then and there. You'd be surprised how > > many folks download installers and run them later, and later might > > be on a train or a plane or a spaceship to Mars. Why punish the > > affluent traveling customer when you could be catering to that > > desirable demographic instead, for the low cost of a convenient > > experience for everyone else. > > > > When updates are checked, all user interface elements are able to > > be updated. The splash screen is a user interface element, and as > > subject to change as anything else, so the only thing in the > > standalone is an error dialog which no one should ever see unless > > Something Very Bad happens during install, in which case the user > > won't be able to see anything other than the first card of the > > mainstack anyway -- might as well make it count. If boot goes well > > I can hide that and move on to load the rest of the components. No > > UI in the standalone means all UI can be updated. > > > > I guess if this needs a name we could call it "Complete Install > > with Anchor Stack". > > > > I'm sure there's a 7, 8, 43, 1544, and more, but #6 is just what I do. > > > > -- > > Richard Gaskin > > Fourth World Media Corporation > > Developer of WebMerge: Publish any database on any Web site > > ___________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From JimAultWins at yahoo.com Wed Dec 6 14:31:40 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 06 Dec 2006 11:31:40 -0800 Subject: preventing deletion of linefeds In-Reply-To: <45770F02.000001.02004@MAZYTIS> Message-ID: On 12/6/06 10:42 AM, "Viktoras Didziulis" wrote: > can anybody suggest a simple method to prevent users deleting linefeeds in a > text field when pressing backspace or delete keys. It should allow deletion > of any other symbol which is not "return" and should not use table object at > all. > > What should be added into the handler below? > Chunk expression (word 2 of the selectedchunk) > 1 does not work... > > on backspaceKey > if ??? then > pass backspaceKey > end if > end backspaceKey Normally I think this is done using a combo box so that one line at a time is edited and the list is select-only (list behavior) If you do try to capture key strokes, you need to decide how would you stop multi-line user select, then a single delete... or multi-line user select, then pressing another key to replace 3 lines with one character. Then there is cut, copy, paste... Jim Ault Las Vegas From mwieder at ahsoftware.net Wed Dec 6 14:10:46 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 6 Dec 2006 11:10:46 -0800 Subject: Access Plugins In-Reply-To: <45769756.000001.02044@MAZYTIS> References: <003001c71907$e175aec0$0201010a@visualmicro> <45769756.000001.02044@MAZYTIS> Message-ID: <190183987189.20061206111046@ahsoftware.net> Viktoras- Wednesday, December 6, 2006, 2:11:34 AM, you wrote: > Although I have never tried creating new database or defining schema with > this, but maybe it can be useful in this regard too... Rev studio has open IIRC the Access driver doesn't support the "CREATE DATABASE" sql command. -- -Mark Wieder mwieder at ahsoftware.net From mikeythek at gmail.com Wed Dec 6 14:46:58 2006 From: mikeythek at gmail.com (Mikey) Date: Wed, 6 Dec 2006 14:46:58 -0500 Subject: Access Plugins In-Reply-To: <190183987189.20061206111046@ahsoftware.net> References: <003001c71907$e175aec0$0201010a@visualmicro> <45769756.000001.02044@MAZYTIS> <190183987189.20061206111046@ahsoftware.net> Message-ID: <9b408d8e0612061146w2e933472od3e7a355fd9153cb@mail.gmail.com> Well, a couple of things hre, 1) the plane-disaster only supports access97, so that's a bit of a problem. 2) Someone sent me a link to an application called xml-2-mdb, which solves the database creation problem. Now if I can just populate the tables I'm set, other than talking to the piece of hardware that I need to retrieve the data from... -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jc at spl21.net Wed Dec 6 14:48:16 2006 From: jc at spl21.net (John Craig) Date: Wed, 06 Dec 2006 19:48:16 +0000 Subject: preventing deletion of linefeds In-Reply-To: <45770F02.000001.02004@MAZYTIS> References: <457708B6.6080905@hyperactivesw.com> <45770F02.000001.02004@MAZYTIS> Message-ID: <45771E80.2040003@spl21.net> Viktoras, here's a handler that will stop the backspace and delete keys working in a text field. I hope I understand you correctly, because I was struggling to think of a use for this! Like Jim says, you may want to handle the cutKey message, etc. This handler blocks multi line selecting and then a keypress if the selection contains a return character. on rawKeyDown pCode if pCode is not among the items of "65288,65535" then pass rawKeyDown put word 2 of the selectedChunk into tStart put word 4 of the selectedChunk into tEnd if tStart <= tEnd then put char tStart to tEnd of me into tSelection if return is not among the chars of tSelection then pass rawKeyDown end if else if pCode = 65535 then put tStart into tPos else put tEnd into tPos end if if char tPos of me <> return then pass rawKeyDown end if end if end rawKeyDown JC Viktoras Didziulis wrote: > can anybody suggest a simple method to prevent users deleting linefeeds in a > text field when pressing backspace or delete keys. It should allow deletion > of any other symbol which is not "return" and should not use table object at > all. > > What should be added into the handler below? > Chunk expression (word 2 of the selectedchunk) > 1 does not work... > > on backspaceKey > if ??? then > pass backspaceKey > end if > end backspaceKey > > BW > Viktoras > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From geradamas at yahoo.com Wed Dec 6 15:20:24 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Wed, 6 Dec 2006 20:20:24 +0000 (GMT) Subject: Importing Cyrillic Text Message-ID: <752625.9603.qm@web37512.mail.mud.yahoo.com> One of my old chestnuts crops up again:- on mouseDown set the useUnicode to true answer file "CHOOSE A FILE TO IMPORT" if the result = "cancel" then exit mouseDown put it into NAMESTR open file NAMESTR for read read from file NAMESTR until EOF put it into the field "fENTER" end mouseDown open a Bulgarian .txt or .rtf file . . . and I get something (on Mac OS X and Win XP) that looks rather like ancient Egyptian heiroglyphs . . . so, obviously, I am going badly wrong help gratefully recieved, sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ ___________________________________________________________ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html From viktoras at ekoinf.net Wed Dec 6 15:24:15 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Wed, 6 Dec 2006 22:24:15 +0200 (FLE Standard Time) Subject: preventing deletion of linefeds References: <45771E80.2040003@spl21.net> Message-ID: <457726EF.000001.02248@MAZYTIS> Thanks! The story is that once I had lots (around 200 pages) of lengthy tables on marine species printed in old reports to be fed into a database. Used fine reader to scan those tables and convert to a tab delimited text. As the quality of image to text conversion output is not 100%, the task is to fix these tables. Some records are descriptive and quite lengthy, so I split the table line into pieces with returns and put them into a separate long field where each record can be easily seen and edited or merged with the previous one. I needed to trap deleteKey or backspaceKey messages to prevent accidental deletions, but allow them if they are explicitly selected. Thanks for your help :-) and all the best! Viktoras From vokey at uleth.ca Wed Dec 6 16:27:52 2006 From: vokey at uleth.ca (John Vokey) Date: Wed, 6 Dec 2006 14:27:52 -0700 Subject: Thank you for all of the help In-Reply-To: <20061206180004.77DE2488F91@mail.runrev.com> References: <20061206180004.77DE2488F91@mail.runrev.com> Message-ID: <77FCA2DD-1413-48C8-8D35-5CFE1D893C15@uleth.ca> Well, say what you want, but as a psychologist I am of two minds about schizophrenia. :-) On 6-Dec-06, at 11:00 AM, use-revolution-request at lists.runrev.com wrote: >> Schizophrenia has ***nothing*** to do with multiple personality >> disorders. >> Forget "Sybil" it was a total joke and a lie. Think more "A >> beautiful Mind" >> which shows (one form) of schizophrenia - that of paranoid >> delusions. There >> are others - but multiple personality disorders do not in anyway >> portray >> symptoms of schizophrenia. -- Please avoid sending me Word or PowerPoint attachments. See -Dr. John R. Vokey From soapdog at mac.com Wed Dec 6 17:35:54 2006 From: soapdog at mac.com (Andre Garzia) Date: Wed, 06 Dec 2006 14:35:54 -0800 Subject: Revolution and the Web, focus on IDE Add-ons Message-ID: <74FF8358-010F-1000-DFD5-839E308ACA54-Webmail-10008@mac.com> Hello folks, I've seen my little topic grew to the point of not being related to the thing I had in mind anymore. People here talking about morfik and about engine changes, I want again to try to focus on what can be done now by a group of volunteers by using nothing but revolution ide add-ons... no externals, no engine changes, no third party technologies (except maybe xsltproc which is standard on unix machines). Let us try to focus on a tool that picks a given stack, process it and exposes user selected methods as a RPC endpoint. The RPC system should be simple enough so that we can implement the other side of it in javascript. This alone will greatly help what we're doing. We're babies on web development, let us take baby steps. Objective of this first phase: * Create a Remote Procedure Call system that is able to expose revolution handlers or functions as something accesible by a networked client. Implement this as a selfcontained library, no magic stuff, just plain code. (possibly REST inspired) * Create a plugin thing to help with the RPC code, maybe allowing you to select methods on the topstack to be exposed and thus having the tool write the stubs for it. * Create the javascript library to access that RPC system. * Create a tool that writes glue code to match revolution exposed methods to javascript methods thus hiding the RPC side from the developer. I think those are reasonable objectives for a first experiment, what people here think? Cheers andre From devin_asay at byu.edu Wed Dec 6 17:43:11 2006 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 6 Dec 2006 15:43:11 -0700 Subject: Importing Cyrillic Text In-Reply-To: <752625.9603.qm@web37512.mail.mud.yahoo.com> References: <752625.9603.qm@web37512.mail.mud.yahoo.com> Message-ID: <74C95683-3380-44D2-8735-BA843308B02A@byu.edu> On Dec 6, 2006, at 1:20 PM, Richmond Mathewson wrote: > One of my old chestnuts crops up again:- The useUnicode property is a common trap, because scripters tend to think that it is more powerful than it actually is. It should really be called the useTwoByteCharsWithCharToNumAndNumToChar property, because it only affects the charToNum and numToChar functions, by having them look at two byte characters instead of single byte characters. > > on mouseDown > set the useUnicode to true > answer file "CHOOSE A FILE TO IMPORT" > if the result = "cancel" then exit mouseDown > put it into NAMESTR > open file NAMESTR for read > read from file NAMESTR until EOF > put it into the field "fENTER" > end mouseDown > > open a Bulgarian .txt or .rtf file . . . Here's what you want to do. First, you have to know how the text file is encoded. If it's an RTF file you can try using the rtfText property: answer file "Choose a RTF file." if it is empty then exit mouseUp set the RTFText of field "Stuff" to URL ("file:" & it) Let's assume it's in UTF-16, the most common unicode format, you would do something like this: answer file "Choose a unicode file to read in." if it is empty then exit mouseUp put "binfile:" & it into urlName set the unicodeText of fld "display" to url urlName If the text is UTF-8, a common format on the Web, you would have to encode it to utf-16 upon reading it, like this: answer file "Choose a UTF-8 file to read in." if it is empty then exit mouseUp put url ("binfile:" & it) into tRaw set the unicodetext of fld "display" to \ uniencode(tRaw,"UTF8") If it's in another encoding it get's dicier, but these techniques are reliable for unicode files. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From tereza at califex.com Wed Dec 6 19:42:07 2006 From: tereza at califex.com (Tereza Snyder) Date: Wed, 6 Dec 2006 18:42:07 -0600 Subject: best downloading architecture - vote 1, 2, 3 or 4 In-Reply-To: <2e0cf4750612061045g708826fft6c759d7bd4dac3c2@mail.gmail.com> References: <4576625F.1000104@fourthworld.com> <2e0cf4750612061045g708826fft6c759d7bd4dac3c2@mail.gmail.com> Message-ID: On Dec 6, 2006, at 12:45 PM, chris bohnert wrote: > Those interested in taking Josh up on his quest of producing a > bittorrent > external might check out the conspicuously named "libtorrent" from > the guys > at Rasterbar. I use their luabind library for all my lua external > needs and > it works great. Lua seems a very attractive language. What do you use it for? Any relation to your Rev work? I particularly appreciated the following (from ): Table as structure Tables are often used as structures (or objects) by using strings as keys. Because such use is very common, Lua features a special syntax for accessing such fields. Example: point = { x = 10, y = 20 } -- Create new table print( point["x"] ) -- Prints 10 print( point.x ) -- Has exactly the same meaning as line above Table as array By using a numerical key, the table resembles an array data type. A simple array of the strings: array = { "a", "b", "c", "d" } -- Indexes are assigned automatically print( array[2] ) -- Prints "b" An array of objects: function Point(x,y) -- "Point" object constructor return {x = x, y = y} -- Creates and returns a new object (table) end array = { Point(10,20), Point(30,40), Point(50,60) } -- Creates array of points print( array[2].y ) -- Prints 40 t -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From dick.kriesel at mail.com Wed Dec 6 20:24:14 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Wed, 06 Dec 2006 17:24:14 -0800 Subject: private handlers in a public library Message-ID: What are the best practices for hiding private handlers in a public library? I Googled "'private handler' site:lists.runrev.com" and similar terms without finding the answer. If the topic's been covered and I missed it, please excuse me. Here's a technique that uses the executionContexts: on privateHandlerInPublicLibrary if item 1 of line -2 of the executionContexts is long id of me then return the params && the long time -- i.e., "private" stuff else pass privateHandlerInPublicLibrary end privateHandlerInPublicLibrary function privateFunctionInLibrary if item 1 of line -2 of the executionContexts is long id of me then return the params && the long time -- i.e., "private" stuff else pass privateFunctionInLibrary end privateFunctionInLibrary getprop uPrivatePropertyInLibrary if item 1 of line -2 of the executionContexts is long id of me then return the params && the long time -- i.e., "private" stuff else pass uPrivatePropertyInLibrary end uPrivatePropertyInLibrary setprop uPrivatePropertyInLibrary if item 1 of line -2 of the executionContexts is long id of me then return the params && the long time -- i.e., "private" stuff else pass uPrivatePropertyInLibrary end uPrivatePropertyInLibrary Object backScripts would make it simpler, but what's best now? -- Dick From mark at maseurope.net Wed Dec 6 22:12:50 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 7 Dec 2006 03:12:50 +0000 Subject: private handlers in a public library In-Reply-To: References: Message-ID: <55381E91-6824-4E9E-B698-DF342C933ADB@maseurope.net> Depending on what you need to achieve, you can put data in script locals in your library, write some setter and getter handlers (an interface, if you like), and then the data is private... Other than that, you might hide the handlers in objects in the library stack, and use a lot of "sends". Seems like it would be a lot of trouble, your way seems better, but with the caveat that the execution contexts is 'unsupported' (private?) and might concievably change in the future, breaking your library. Of course, if you really want to hide things, you could password protect your library, and only tell it's users about the handlers you want them to know about. Best, Mark On 7 Dec 2006, at 01:24, Dick Kriesel wrote: > What are the best practices for hiding private handlers in a public > library? > > I Googled "'private handler' site:lists.runrev.com" and similar terms > without finding the answer. If the topic's been covered and I > missed it, > please excuse me. > > Here's a technique that uses the executionContexts: > > on privateHandlerInPublicLibrary > if item 1 of line -2 of the executionContexts is long id of me then > return the params && the long time -- i.e., "private" stuff > else pass privateHandlerInPublicLibrary > end privateHandlerInPublicLibrary > > function privateFunctionInLibrary > if item 1 of line -2 of the executionContexts is long id of me then > return the params && the long time -- i.e., "private" stuff > else pass privateFunctionInLibrary > end privateFunctionInLibrary > > getprop uPrivatePropertyInLibrary > if item 1 of line -2 of the executionContexts is long id of me then > return the params && the long time -- i.e., "private" stuff > else pass uPrivatePropertyInLibrary > end uPrivatePropertyInLibrary > > setprop uPrivatePropertyInLibrary > if item 1 of line -2 of the executionContexts is long id of me then > return the params && the long time -- i.e., "private" stuff > else pass uPrivatePropertyInLibrary > end uPrivatePropertyInLibrary > > Object backScripts would make it simpler, but what's best now? > > -- Dick > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Wed Dec 6 23:26:48 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 6 Dec 2006 20:26:48 -0800 Subject: Loading urls from a protected website In-Reply-To: <97B14839-1926-414A-8A71-83067E2ADFAC@sosmartsoftware.com> References: <97B14839-1926-414A-8A71-83067E2ADFAC@sosmartsoftware.com> Message-ID: On Dec 6, 2006, at 7:15 AM, Eric Chatonet wrote: > Now I have protected access to the website folders (usual login and > password). > So I can no longer use "load": the command returns a 401 error > (protected access). > Normal. > I must use ftp that allows to specify a username and a password but > I am no longer able to display download progress :-( > Your thinking will be welcome :-) Hi Eric, You should be able to use "load" with authorization callbacks. Look at Mark Waddingham's libAuth stack in RevOnline. The username is 36degrees. The stack script shows an example which hopefully will work for you. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From dsc at swcp.com Thu Dec 7 01:59:46 2006 From: dsc at swcp.com (Dar Scott) Date: Wed, 6 Dec 2006 23:59:46 -0700 Subject: private handlers in a public library In-Reply-To: References: Message-ID: On Dec 6, 2006, at 6:24 PM, Dick Kriesel wrote: > I Googled "'private handler' site:lists.runrev.com" and similar terms > without finding the answer. If the topic's been covered and I > missed it, > please excuse me. Some folks use a prefix for library command and function names and an extension of that for the private names. I think your checking method is pretty clever and can be handy. Though the cost of a couple lines and a few microseconds might be much for small handlers, this might work OK for larger handlers. You might be interested in feature request 1443 listed in Bugzilla. Dar Scott "Revolution is just the beginning." -- Rose Wilder Lane From dick.kriesel at mail.com Thu Dec 7 02:25:27 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Wed, 06 Dec 2006 23:25:27 -0800 Subject: private handlers in a public library In-Reply-To: Message-ID: On 12/6/06 10:59 PM, "Dar Scott" wrote: > You might be interested in feature request 1443 listed in Bugzilla. "Zarro Boogs found." I wonder why an old bug number's data would disappear. -- Dick From scott at tactilemedia.com Thu Dec 7 02:43:34 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 06 Dec 2006 23:43:34 -0800 Subject: Delay before sound starts playing In-Reply-To: Message-ID: Recently, Fred Moyer wrote: > I'm trying to create a stack where the user can play a solo > instrument along with a sound file that plays an accompaniment. > ... > The problem is that if there's too long a delay with no input from the > user, the computer's sound "system" seems to goes into some kind of > hibernation mode so that when the user clicks the mouse, there is a > delay before the music starts again. (I notice that there's even a > delay in "beep" in Revolution if the computer has been silent for a > while.) > > Has anyone else dealt with this issue? Any possible solutions? I've run into something like this a while ago. Is it possible that this is an older version of Mac OSX and/or an older version of Rev? In any event, I got sidetracked and never followed up on it, but I seem to recall thinking about trying to play "silence" sporadically to keep the audio busy -- maybe making a 1 second WAV file of silence to occupy the engine/system and playing it every so often. Silence might not be enough to keep the audio busy, but it's worth a try... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From runrev at animabit.de Thu Dec 7 02:51:28 2006 From: runrev at animabit.de (runrev at animabit.de) Date: Thu, 7 Dec 2006 07:51:28 +0000 Subject: Re-2: Importing Cyrillic Text Message-ID: Hi Save any language text in UTF8: put uniDecode(unicodetext of field "bibeltext","UTF8") into URL "file:C:/test.txt" Load any language text from a file encoded in UTF8 to a runrev field: set the unicodetext of field "bibeltext" to uniEncode(URL "file:C:/test.txt","UTF8") Save any language text from a field to a html-page for viewing in a browser works even with hebrew and arabic texts runrev cannot display correct but encodes internally correctly. put htmltext of field "bibeltext" into URL "file:C:/test.html" This should function in most cases Regards, Mit freundlichen Gr??en Franz B?hmisch boehmisch at animabit.de http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 From kray at sonsothunder.com Thu Dec 7 03:50:56 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 07 Dec 2006 02:50:56 -0600 Subject: private handlers in a public library In-Reply-To: Message-ID: On 12/7/06 12:59 AM, "Dar Scott" wrote: > > On Dec 6, 2006, at 6:24 PM, Dick Kriesel wrote: > >> I Googled "'private handler' site:lists.runrev.com" and similar terms >> without finding the answer. If the topic's been covered and I >> missed it, >> please excuse me. > > Some folks use a prefix for library command and function names and an > extension of that for the private names. That's what I do... handlers/functions that start with an underscore are private. Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Thu Dec 7 03:51:40 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 07 Dec 2006 02:51:40 -0600 Subject: private handlers in a public library In-Reply-To: Message-ID: On 12/7/06 1:25 AM, "Dick Kriesel" wrote: > On 12/6/06 10:59 PM, "Dar Scott" wrote: > >> You might be interested in feature request 1443 listed in Bugzilla. > > "Zarro Boogs found." I wonder why an old bug number's data would disappear. RunRev's in the process of working on a revised/updated Bugzilla as we speak so it may have something to do with that... Ken From dave at looktowindward.com Thu Dec 7 06:26:01 2006 From: dave at looktowindward.com (Dave) Date: Thu, 7 Dec 2006 11:26:01 +0000 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: References: Message-ID: On 1 Dec 2006, at 17:35, Ken Ray wrote: > On 12/1/06 11:03 AM, "Dave" wrote: > >> Hi All, >> >> Does anyone know how I could pass a value back to RunRev from an >> AppleScript that is being run via the do myAppleScript as >> "AppleScript" command? >> >> I can pass back a return value, but this stops the script from >> running, I would like to pass something back but have the script >> continue to run. > > The only way I could think of would be to have AppleScript "tell" your > application something in the middle of its processing using the "do > script" > command, but this would execute a handler in your code instead of just > passing back a value... > > Just curious: What are you having AppleScript do that you want to get > results back in the middle the executing AppleScript? Sorry for the late reply, I had to do some traveling and couldn't keep up with all the mail! I have a stack that is used to generate AppleScript's based on parameters entered by the user. Basically there is an AppleScript template and I substitute the right parameters and then execute it. The reason I would like to be able to pass back values from the Application Script to RunRev is so I could display a "trace" as to progress in the AppleScript and also as a debugging aid. I could easily do as you suggest and use "tell myApp", but I'm not quite sure how I would go about writing the RunRev handler. For instance how would I pass the message "Hello World" from an applescript and have it display this message at the end of a field in RunRev? Thanks a lot and All the Best Dave From m.schonewille at economy-x-talk.com Thu Dec 7 06:38:15 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 7 Dec 2006 12:38:15 +0100 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: References: Message-ID: <2278B295-44E5-4517-8E30-403E25DB685A@economy-x-talk.com> Hi Dave, As I wrote in an earlier mail to you, you can write tell application "Revolution" do script "put \"Some Value\"" end tell and if you want "Some Value" to be put after a field, you can use tell application "Revolution" do script "put \"Some Value\" after fld \"You Field\"" end tell Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 7-dec-2006, om 12:26 heeft Dave het volgende geschreven: > For instance how would I pass the message "Hello World" from an > applescript and have it display this message at the end of a field > in RunRev? > > Thanks a lot and All the Best > Dave From dave at looktowindward.com Thu Dec 7 06:35:30 2006 From: dave at looktowindward.com (Dave) Date: Thu, 7 Dec 2006 11:35:30 +0000 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: References: Message-ID: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> Hi, I'm using RunRev 2.6.6.152 under the latest version of PowerPC Tiger and I can't open the dictoinary using Script Editor, and I can't seem to find anything about RunRev's AppleScripting capabilities in the docs. Do you know where I can find information on this? One specific question: Do I need to change to the application referenced in the "tell" statement depending on whether I am running under the IDE or as a Standalone? Thanks a lot All the Best Dave On 1 Dec 2006, at 19:31, Mark Schonewille wrote: > Dave, Ken, > > Apologies. Here is the correct solution, all AppleScript: > > tell application "Revolution" > do script "put \"Some Value\"" > end tell > > You could run a script to send a message to a progress bar, for > example. > > Best, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store > software. Download at http://www.salery.biz > > Op 1-dec-2006, om 19:47 heeft Ken Ray het volgende geschreven: > >> On 12/1/06 11:59 AM, "Mark Schonewille" > talk.com> >> wrote: >> >> >> Yes, but the problem is, Mark, the Dave wanted a result back *in >> the middle* >> of running an AppleScript, not at the end... a bit more >> problematic... >> >> Ken Ray >> Sons of Thunder Software, Inc. >> Web site: http://www.sonsothunder.com/ >> Email: kray at sonsothunder.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 dave at looktowindward.com Thu Dec 7 07:08:48 2006 From: dave at looktowindward.com (Dave) Date: Thu, 7 Dec 2006 12:08:48 +0000 Subject: private handlers in a public library In-Reply-To: References: Message-ID: <686F3341-C900-439D-B0CC-92B1E87EB153@looktowindward.com> Hi, I use a different technique: local sgLibraryExecuteFlag --As a "Script Global" in PrivateFunctionOrHandler: if sgLibraryExecuteFlag <> kLibraryExecute then return ERROR In Public API functions/handlers: function LibXXXAPICall put kLibraryExecute into sgLibraryExecuteFlag -- Do whatever put empty into sgLibraryExecuteFlag return end LibXXXAPICall All the Best Dave On 7 Dec 2006, at 01:24, Dick Kriesel wrote: > What are the best practices for hiding private handlers in a public > library? > > I Googled "'private handler' site:lists.runrev.com" and similar terms > without finding the answer. If the topic's been covered and I > missed it, > please excuse me. > > Here's a technique that uses the executionContexts: > > on privateHandlerInPublicLibrary > if item 1 of line -2 of the executionContexts is long id of me then > return the params && the long time -- i.e., "private" stuff > else pass privateHandlerInPublicLibrary > end privateHandlerInPublicLibrary > > function privateFunctionInLibrary > if item 1 of line -2 of the executionContexts is long id of me then > return the params && the long time -- i.e., "private" stuff > else pass privateFunctionInLibrary > end privateFunctionInLibrary > > getprop uPrivatePropertyInLibrary > if item 1 of line -2 of the executionContexts is long id of me then > return the params && the long time -- i.e., "private" stuff > else pass uPrivatePropertyInLibrary > end uPrivatePropertyInLibrary > > setprop uPrivatePropertyInLibrary > if item 1 of line -2 of the executionContexts is long id of me then > return the params && the long time -- i.e., "private" stuff > else pass uPrivatePropertyInLibrary > end uPrivatePropertyInLibrary > > Object backScripts would make it simpler, but what's best now? > > -- Dick > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Thu Dec 7 07:46:06 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 7 Dec 2006 13:46:06 +0100 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> Message-ID: <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> Dave, There used to be an AppleScript dictionary for MetaCard. Revolution lost this somehow. It is possible to put it back. Adding the dictionary to the Revolution engine is discussed somewhere in the Use List archives. I wouldn't really recommend it if you don't explicitly state in the documentation that is distributed with your application that your application is scriptable. You can do pretty much everything with the do script statement. You need to change the application referenced in the "tell" statement to the name of your standalone, if applicable. Otherwise, you can use the name "Revolution". Note however that running multiple copies of Revolution or your standalone may cause unexpected results while running your script. I think there is a workaround for this by referencing to a process, but I don't know how this works. (Maybe someone else knows?) Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 7-dec-2006, om 12:35 heeft Dave het volgende geschreven: > Hi, > > I'm using RunRev 2.6.6.152 under the latest version of PowerPC > Tiger and I can't open the dictoinary using Script Editor, and I > can't seem to find anything about RunRev's AppleScripting > capabilities in the docs. Do you know where I can find information > on this? > > One specific question: > > Do I need to change to the application referenced in the "tell" > statement depending on whether I am running under the IDE or as a > Standalone? > > Thanks a lot > All the Best > Dave > > From klaus at major-k.de Thu Dec 7 07:50:49 2006 From: klaus at major-k.de (Klaus Major) Date: Thu, 7 Dec 2006 13:50:49 +0100 (MET) Subject: Passing Values to RunRev from an AppleScript In-Reply-To: <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> Message-ID: <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> Hi Mark and Dave, > Dave, > There used to be an AppleScript dictionary for MetaCard. Revolution > lost this somehow. It is possible to put it back. > ... This already came back with 2.7, at least in 2.7.4. The necessary file is named "Revolution.rsrc" and should be inside the app package in: "Revolution.app/Contents/Resources/Revolution.rsrc" > Best, > Mark > -- > Economy-x-Talk > >> Hi, >> >> I'm using RunRev 2.6.6.152 under the latest version of PowerPC >> Tiger and I can't open the dictoinary using Script Editor, and I >> can't seem to find anything about RunRev's AppleScripting >> capabilities in the docs. Do you know where I can find information >> on this? >> ... >> Thanks a lot >> All the Best >> Dave Regards Klaus Major klaus at major-k.de http://www.major-k.de From m.schonewille at economy-x-talk.com Thu Dec 7 08:28:05 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 7 Dec 2006 14:28:05 +0100 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> Message-ID: <6F71AD4F-527C-40D8-AC90-4EB2B4273AF9@economy-x-talk.com> Hi Klaus, You're right, I have found it. The only items in the dictionary are "do script" and "evaluate". Weren't there any more items in MC's AppleScript dictionary? Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 7-dec-2006, om 13:50 heeft Klaus Major het volgende geschreven: > Hi Mark and Dave, > > > This already came back with 2.7, at least in 2.7.4. > > The necessary file is named "Revolution.rsrc" and should be inside > the app package in: > "Revolution.app/Contents/Resources/Revolution.rsrc" > > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de From klaus at major-k.de Thu Dec 7 08:29:35 2006 From: klaus at major-k.de (Klaus Major) Date: Thu, 7 Dec 2006 14:29:35 +0100 (MET) Subject: Passing Values to RunRev from an AppleScript In-Reply-To: <6F71AD4F-527C-40D8-AC90-4EB2B4273AF9@economy-x-talk.com> References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> <6F71AD4F-527C-40D8-AC90-4EB2B4273AF9@economy-x-talk.com> Message-ID: <160C6AAB-9B36-4AE1-8A99-61D714D80C7D@major-k.de> Dag mark, > Hi Klaus, > > You're right, I have found it. The only items in the dictionary are > "do script" and "evaluate". Correct. > Weren't there any more items in MC's AppleScript dictionary? No :-) > Best, > > Mark Best Klaus Major klaus at major-k.de http://www.major-k.de From wow at together.net Thu Dec 7 08:56:17 2006 From: wow at together.net (Richard Miller) Date: Thu, 7 Dec 2006 08:56:17 -0500 Subject: Multi-standalone communication In-Reply-To: <160C6AAB-9B36-4AE1-8A99-61D714D80C7D@major-k.de> References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> <6F71AD4F-527C-40D8-AC90-4EB2B4273AF9@economy-x-talk.com> <160C6AAB-9B36-4AE1-8A99-61D714D80C7D@major-k.de> Message-ID: <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> Looking for suggestions on how to have 2 or 3 Rev standalones talk to one another (under Windows). These separate Rev apps cannot share the same engine. Perhaps it's quite easy and I'm just overlooking it. Thanks. Richard Miller imprinter Technologies From dave at looktowindward.com Thu Dec 7 09:00:18 2006 From: dave at looktowindward.com (Dave) Date: Thu, 7 Dec 2006 14:00:18 +0000 Subject: Multi-standalone communication In-Reply-To: <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> <6F71AD4F-527C-40D8-AC90-4EB2B4273AF9@economy-x-talk.com> <160C6AAB-9B36-4AE1-8A99-61D714D80C7D@major-k.de> <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> Message-ID: <2AE0C4C2-FBE2-43A4-BE52-047922E56EF3@looktowindward.com> Hi, My ISM module allows you to do this, the new version (available soon) will allow you to do this across a Network! If you'd like a demo and more information let me know offline and I'll send you a copy. All the Best Dave On 7 Dec 2006, at 13:56, Richard Miller wrote: > Looking for suggestions on how to have 2 or 3 Rev standalones talk > to one another (under Windows). These separate Rev apps cannot > share the same engine. Perhaps it's quite easy and I'm just > overlooking it. > > Thanks. > Richard Miller > imprinter Technologies > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Thu Dec 7 09:03:13 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 7 Dec 2006 14:03:13 +0000 Subject: Image question Message-ID: <550B919D-8A88-4CF1-9245-87E22803D60E@maseurope.net> Hi all, I am a complete ignoramus when it comes to handling images, icons and so-on. I've downloaded some good freeware icons (http://www.fasticon.com/ downloads.html) for an app I'm making, and they're in the form of folder icons ie. a bunch of empty folders which show their icons in the finder (I'm on OS X). If I "get info" and copy the icon from the the finder info window and then paste onto my stack using "paste image", I get an apparently empty image. If I use iconoghrapher to open the icon, and then copy it, and "import image as control" in Rev, I get the image, but it's background rectangle is white in some cases, or half the image is invisible in others. This is to do with masks and alpha data and stuff which I don't currently understand, I guess. Can anyone suggest the easiest way to get these icons into my stack such that they display properly? Thanks for any help, Mark From mark at maseurope.net Thu Dec 7 09:07:47 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 7 Dec 2006 14:07:47 +0000 Subject: Multi-standalone communication In-Reply-To: <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> <6F71AD4F-527C-40D8-AC90-4EB2B4273AF9@economy-x-talk.com> <160C6AAB-9B36-4AE1-8A99-61D714D80C7D@major-k.de> <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> Message-ID: I think your options are files (slow, and a pain if there's a lot of communication), sockets (datagram connections can make things a bit simpler), system variables (which I've never tried), and read/write to/from process (which I've also never tried). Best, Mark On 7 Dec 2006, at 13:56, Richard Miller wrote: > Looking for suggestions on how to have 2 or 3 Rev standalones talk > to one another (under Windows). These separate Rev apps cannot > share the same engine. Perhaps it's quite easy and I'm just > overlooking it. > > Thanks. > Richard Miller > imprinter Technologies > _______________________________________________ > use-revolution mailing list > use-revolution at 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-k.de Thu Dec 7 09:23:18 2006 From: klaus at major-k.de (Klaus Major) Date: Thu, 7 Dec 2006 15:23:18 +0100 (MET) Subject: Image question In-Reply-To: <550B919D-8A88-4CF1-9245-87E22803D60E@maseurope.net> References: <550B919D-8A88-4CF1-9245-87E22803D60E@maseurope.net> Message-ID: Hi Mark, > Hi all, I am a complete ignoramus when it comes to handling images, > icons and so-on. > > I've downloaded some good freeware icons (http://www.fasticon.com/ > downloads.html) for an app I'm making, and they're in the form of > folder icons ie. a bunch of empty folders which show their icons in > the finder (I'm on OS X). > > If I "get info" and copy the icon from the the finder info window > and then paste onto my stack using "paste image", I get an > apparently empty image. If I use iconoghrapher to open the icon, > and then copy it, and "import image as control" in Rev, I get the > image, but it's background rectangle is white in some cases, or > half the image is invisible in others. This is to do with masks and > alpha data and stuff which I don't currently understand, I guess. > > Can anyone suggest the easiest way to get these icons into my stack > such that they display properly? well, the trick here is to download the WINDOWS icon pack :-) That will contain a bunch of "*.ico" files but "Preview" can open them! The mac version contains "Adobe Photoshop Pict resource" files, as told by the "Info" window, but Photoshop cannot open them! Since there are several images in one file, open the drawer in "Preview" and click the expand arrow fo the image on top of the drawer. Select the icon you want to use by clicking/selecting it and choose "Save as..." from the file menu. Choose "PNG" as fileformat and check (if not already checked) "Alpha". NOW you can import the image into Rev without problems! A BIT tedious, but does work :-) Hope that helps. > Thanks for any help, > > Mark Regards Klaus Major klaus at major-k.de http://www.major-k.de From mark at maseurope.net Thu Dec 7 09:34:26 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 7 Dec 2006 14:34:26 +0000 Subject: Image question In-Reply-To: References: <550B919D-8A88-4CF1-9245-87E22803D60E@maseurope.net> Message-ID: <2251824D-E775-47DC-A708-CBE9BFC58AB1@maseurope.net> Klaus, that works perfectly. Thanks! Best Mark > well, the trick here is to download the WINDOWS icon pack :-) > That will contain a bunch of "*.ico" files but "Preview" can open > them! > > The mac version contains "Adobe Photoshop Pict resource" files, as > told by the "Info" window, > but Photoshop cannot open them! > > Since there are several images in one file, open the drawer in > "Preview" and click the > expand arrow fo the image on top of the drawer. > > Select the icon you want to use by clicking/selecting it and choose > "Save as..." from the file menu. > Choose "PNG" as fileformat and check (if not already checked) "Alpha". > > NOW you can import the image into Rev without problems! > A BIT tedious, but does work :-) > > Hope that helps. > >> Thanks for any help, >> >> Mark > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Thu Dec 7 10:24:05 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 07 Dec 2006 07:24:05 -0800 Subject: Passing Values to RunRev from an AppleScript Message-ID: <45783215.5080406@fourthworld.com> Mark Schonewille wrote: > The only items in the dictionary are "do script" and "evaluate". > Weren't there any more items in MC's AppleScript dictionary? IIRC, there were originally six: Required Events: oapp -- open application odoc -- open document pdoc -- print document quit -- quit Application Events: eval -- Evaluate an expression and return a value dosc -- Do script command Not sure why the four required events aren't in there. Maybe it's been so long now that Apple just expects applications to support those? Should they be there for AppleScripters? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From kray at sonsothunder.com Thu Dec 7 10:41:06 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 07 Dec 2006 09:41:06 -0600 Subject: Passing Values to RunRev from an AppleScript In-Reply-To: <45783215.5080406@fourthworld.com> Message-ID: On 12/7/06 9:24 AM, "Richard Gaskin" wrote: > Mark Schonewille wrote: > >> The only items in the dictionary are "do script" and "evaluate". >> Weren't there any more items in MC's AppleScript dictionary? > > IIRC, there were originally six: > > Required Events: > oapp -- open application > odoc -- open document > pdoc -- print document > quit -- quit > > Application Events: > eval -- Evaluate an expression and return a value > dosc -- Do script command And for the adventurous, you can add your own custom AppleScript commands to any MC/Rev application. I've done this on several occasions. In fact, for one client who was doing a lot of presentation-based work, there were commands like: swap show "MyOldShow" with show "MyNewShow" with logging on If anyone is interested in doing this, contact me offlist and I can provide instructions (which will eventually become a tip on my site). (BTW, this approach can be used to make Automator actions for an MC/Rev application, which I demonstrated at the last RevConWest.) > Not sure why the four required events aren't in there. Maybe it's been > so long now that Apple just expects applications to support those? > Should they be there for AppleScripters? Yes, they should, IMHO. It has to do with the actual dictionary resource file. The descriptions of these four weren't added to the file, although Rev's native code will respond to those events. Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From tg_lists at geistinteractive.com Thu Dec 7 10:54:55 2006 From: tg_lists at geistinteractive.com (Todd Geist) Date: Thu, 7 Dec 2006 07:54:55 -0800 Subject: Revolution and the Web, focus on IDE Add-ons In-Reply-To: <74FF8358-010F-1000-DFD5-839E308ACA54-Webmail-10008@mac.com> References: <74FF8358-010F-1000-DFD5-839E308ACA54-Webmail-10008@mac.com> Message-ID: Andre, It sounds good to me. I would like to help in any way that I can, but my Rev skills are fairly weak. At the very least I can be a stupid user tester :>) Todd On Dec 6, 2006, at 2:35 PM, Andre Garzia wrote: > Hello folks, > > I've seen my little topic grew to the point of not being related to > the thing I had in mind anymore. People here talking about morfik > and about engine changes, I want again to try to focus on what can > be done now by a group of volunteers by using nothing but > revolution ide add-ons... no externals, no engine changes, no third > party technologies (except maybe xsltproc which is standard on unix > machines). > > Let us try to focus on a tool that picks a given stack, process it > and exposes user selected methods as a RPC endpoint. The RPC system > should be simple enough so that we can implement the other side of > it in javascript. This alone will greatly help what we're doing. > We're babies on web development, let us take baby steps. > > Objective of this first phase: > > * Create a Remote Procedure Call system that is able to expose > revolution handlers or functions as something accesible by a > networked client. Implement this as a selfcontained library, no > magic stuff, just plain code. (possibly REST inspired) > * Create a plugin thing to help with the RPC code, maybe allowing > you to select methods on the topstack to be exposed and thus having > the tool write the stubs for it. > * Create the javascript library to access that RPC system. > * Create a tool that writes glue code to match revolution exposed > methods to javascript methods thus hiding the RPC side from the > developer. > > I think those are reasonable objectives for a first experiment, > what people here think? > > Cheers > andre -- Todd Geist ______________________________________ g e i s t i n t e r a c t i v e From jhonken at webdsp.com Thu Dec 7 10:55:42 2006 From: jhonken at webdsp.com (jhonken) Date: Thu, 7 Dec 2006 10:55:42 -0500 Subject: Creation of Database from Runrev Message-ID: <000401c71a18$2bb72a70$c80ab50a@DellLaptop> My application has a Sqlite database that I'd like to create from Runrev. The problem I've had in the past is that I can't execute a realllly long SQL statement within Rev. Is there some trick to it or is there another way? The limitations I've run into are: 1. It seems that the SQL statement likes to be on one line. 2. I've tried to use the continuation character in the statement in the past but the statement is so long it seems to choke. Does anyone have any ideas on how I can execute a long create statement? From eric.chatonet at sosmartsoftware.com Thu Dec 7 11:08:13 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Dec 2006 17:08:13 +0100 Subject: Loading urls from a protected website In-Reply-To: References: <97B14839-1926-414A-8A71-83067E2ADFAC@sosmartsoftware.com> Message-ID: Hi Trevor, Thanks for this pointer :-) The solution with which I have ended (see a previous post) works well. But I have to add that when I use: put "ftp://" & tUserName & colon & tPassword & "@" & tAddress into tUrl load url tUrl -- tAddress form is: /public_HTML/ / form does not work :-( So I have put an encrypted file on the server buried in the public area (then accessible by specifying the domain only) that allows the app to get the server IP address and all "paths" just in case all this would be changed. Best Regards from Paris, Eric Chatonet Le 7 d?c. 06 ? 05:26, Trevor DeVore a ?crit : > On Dec 6, 2006, at 7:15 AM, Eric Chatonet wrote: > >> Now I have protected access to the website folders (usual login >> and password). >> So I can no longer use "load": the command returns a 401 error >> (protected access). >> Normal. >> I must use ftp that allows to specify a username and a password >> but I am no longer able to display download progress :-( >> Your thinking will be welcome :-) > > Hi Eric, > > You should be able to use "load" with authorization callbacks. > Look at Mark Waddingham's libAuth stack in RevOnline. The username > is 36degrees. The stack script shows an example which hopefully > will work for you. > > -- > Trevor DeVore > Blue Mango Learning Systems - www.bluemangolearning.com > trevor at bluemangolearning.com ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From rcozens at pon.net Thu Dec 7 11:05:16 2006 From: rcozens at pon.net (Rob Cozens) Date: Thu, 7 Dec 2006 08:05:16 -0800 Subject: Multi-standalone communication In-Reply-To: References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> <6F71AD4F-527C-40D8-AC90-4EB2B4273AF9@economy-x-talk.com> <160C6AAB-9B36-4AE1-8A99-61D714D80C7D@major-k.de> <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> Message-ID: Mark, Richard, et al: >I think your options are files (slow, and a pain if there's a lot of >communication), sockets (datagram connections can make things a bit >simpler), system variables (which I've never tried), and read/write >to/from process (which I've also never tried). Two notes: 1. Read/write to/from process is limited to standalones running on the same computer (it doesn't support communication between standalones on different networked computers). 2. Jan Schenkel's exemplar socket communication library, lib_STAMP.rev, is available to subscribers to the revolution_ipc group: . -- Rob Cozens CCW, Serendipity Software Company "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From JimAultWins at yahoo.com Thu Dec 7 11:26:21 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 07 Dec 2006 08:26:21 -0800 Subject: Creation of Database from Runrev In-Reply-To: <000401c71a18$2bb72a70$c80ab50a@DellLaptop> Message-ID: On 12/7/06 7:55 AM, "jhonken" wrote: > My application has a Sqlite database that I'd like to create from > Runrev. The problem I've had in the past is that I can't execute a > realllly long SQL statement within Rev. Is there some trick to it or is > there another way? The limitations I've run into are: > > 1. It seems that the SQL statement likes to be on one line. > 2. I've tried to use the continuation character in the statement in the > past but the statement is so long it seems to choke. > > Does anyone have any ideas on how I can execute a long create statement? If you mean build a long string in a variable then there are a few ways Using the merge for SQL is my preference Some readable ways for SQL --that "do-it-all-in-one-line" --without using "replace" -- only one function call, merge() -- yet remain readable ------------------ one line (watch word wrap) put merge("DELETE FROM [[tmysqltableName]] Where [[tIDcolumnName]] = '[[tRecordID]]'") into theSQL -------------------- or another way = same result (watch word wrap) put merge("DELETE FROM [[tmysqltableName]] Where [[tIDcolumnName]] = '[[tRecordID]]'") \ into theSQL -------------------- yet another way = same result put merge("DELETE FROM [[tmysqltableName]] " & \ "Where [[tIDcolumnName]] = '[[tRecordID]]'") \ into theSQL -------------------- or another way to get a COMPLEX result put tRecordID + 1 into tRecordID2 put merge("" & \ "DELETE FROM [[tmysqltableName]] "& \ "Where ([[tIDcolumnName]] = '[[tRecordID]]' "& \ "OR [[tIDcolumnName]] = '[[tRecordID-1]]') "& \ "AND [[tIDcolumnName]] = '[[tRecordID2]]'" & \ "") into theSQL3 Fun with Rev Jim Ault Las Vegas From jhonken at webdsp.com Thu Dec 7 11:32:50 2006 From: jhonken at webdsp.com (jhonken) Date: Thu, 7 Dec 2006 11:32:50 -0500 Subject: Creation of Database from Runrev In-Reply-To: Message-ID: <000101c71a1d$59c4ec40$c80ab50a@DellLaptop> Jim, Thanks for the response. How do you execute the SQL that you've stored in "theSQL"? Jeff -----Original Message----- From: Jim Ault [mailto:JimAultWins at yahoo.com] Sent: Thursday, December 07, 2006 11:26 AM To: How to use Revolution Subject: Re: Creation of Database from Runrev On 12/7/06 7:55 AM, "jhonken" wrote: > My application has a Sqlite database that I'd like to create from > Runrev. The problem I've had in the past is that I can't execute a > realllly long SQL statement within Rev. Is there some trick to it or > is there another way? The limitations I've run into are: > > 1. It seems that the SQL statement likes to be on one line. 2. I've > tried to use the continuation character in the statement in the past > but the statement is so long it seems to choke. > > Does anyone have any ideas on how I can execute a long create > statement? If you mean build a long string in a variable then there are a few ways Using the merge for SQL is my preference Some readable ways for SQL --that "do-it-all-in-one-line" --without using "replace" -- only one function call, merge() -- yet remain readable ------------------ one line (watch word wrap) put merge("DELETE FROM [[tmysqltableName]] Where [[tIDcolumnName]] = '[[tRecordID]]'") into theSQL -------------------- or another way = same result (watch word wrap) put merge("DELETE FROM [[tmysqltableName]] Where [[tIDcolumnName]] = '[[tRecordID]]'") \ into theSQL -------------------- yet another way = same result put merge("DELETE FROM [[tmysqltableName]] " & \ "Where [[tIDcolumnName]] = '[[tRecordID]]'") \ into theSQL -------------------- or another way to get a COMPLEX result put tRecordID + 1 into tRecordID2 put merge("" & \ "DELETE FROM [[tmysqltableName]] "& \ "Where ([[tIDcolumnName]] = '[[tRecordID]]' "& \ "OR [[tIDcolumnName]] = '[[tRecordID-1]]') "& \ "AND [[tIDcolumnName]] = '[[tRecordID2]]'" & \ "") into theSQL3 Fun with Rev 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 mwieder at ahsoftware.net Thu Dec 7 11:43:31 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Dec 2006 08:43:31 -0800 Subject: Access Plugins In-Reply-To: <9b408d8e0612061146w2e933472od3e7a355fd9153cb@mail.gmail.com> References: <003001c71907$e175aec0$0201010a@visualmicro> <45769756.000001.02044@MAZYTIS> <190183987189.20061206111046@ahsoftware.net> <9b408d8e0612061146w2e933472od3e7a355fd9153cb@mail.gmail.com> Message-ID: <302245088.20061207084331@ahsoftware.net> Mikey- Wednesday, December 6, 2006, 11:46:58 AM, you wrote: > Well, a couple of things hre, > 1) the plane-disaster only supports access97, so that's a bit of a problem. > 2) Someone sent me a link to an application called xml-2-mdb, which > solves the database creation problem. > Now if I can just populate the tables I'm set, other than talking to > the piece of hardware that I need to retrieve the data from... Can you post the link? That sounds interesting. The way I populate an empty database is to construct the sql commands and save them as a text file, then execute the file. -- -Mark Wieder mwieder at ahsoftware.net From paolo.mazza at neol.it Thu Dec 7 11:45:15 2006 From: paolo.mazza at neol.it (paolo mazza) Date: Thu, 07 Dec 2006 17:45:15 +0100 Subject: v2.7 engine? In-Reply-To: <4574C4EC.3080301@hyperactivesw.com> References: <4574A490.9040909@fourthworld.com> < > <4574A74C.50801@hyperactivesw.com> <, > <,> <4574C4EC.3080301@hyperactivesw.com> Message-ID: I need the CGI engine for MACOSX too!!!! >Sarah Reichelt wrote: > >> What engine should I be using for CGI stuff on OS X? >> >> At the moment I'm using the 2.1.2 Darwin engine as specified in >> Jacque's wonderful CGI tutorial, but I would love to change to 2.7 >> since I would not have to remember to save stacks in the old format >> all the time :-) > >That's the last Darwin engine. I asked for a new one quite a while ago, >but so far, no go. Hardly anyone needs it, so I bet they've forgotten I >mentioned it. > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com ****************************************** Paolo Mazza NEOL SRL Societ? partecipata dall'Universit? di Padova via N. Tommaseo 84 35131 - Padova Tel 049- 2050147 www.neol.it From JimAultWins at yahoo.com Thu Dec 7 11:46:20 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 07 Dec 2006 08:46:20 -0800 Subject: Creation of Database from Runrev In-Reply-To: <000101c71a1d$59c4ec40$c80ab50a@DellLaptop> Message-ID: You need to look at the docs for the 'execute' or the 'query' command, depending on which SQL statement you are sending, and use 'theSQL' as the string to pass in the function. Jim Ault Las Vegas On 12/7/06 8:32 AM, "jhonken" wrote: > Jim, > Thanks for the response. How do you execute the SQL that you've > stored in "theSQL"? Jeff > > -----Original Message----- > From: Jim Ault [mailto:JimAultWins at yahoo.com] > Sent: Thursday, December 07, 2006 11:26 AM > To: How to use Revolution > Subject: Re: Creation of Database from Runrev > > > On 12/7/06 7:55 AM, "jhonken" wrote: > >> My application has a Sqlite database that I'd like to create from >> Runrev. The problem I've had in the past is that I can't execute a >> realllly long SQL statement within Rev. Is there some trick to it or >> is there another way? The limitations I've run into are: >> >> 1. It seems that the SQL statement likes to be on one line. 2. I've >> tried to use the continuation character in the statement in the past >> but the statement is so long it seems to choke. >> >> Does anyone have any ideas on how I can execute a long create >> statement? > > If you mean build a long string in a variable then there are a few ways > Using the merge for SQL is my preference > > Some readable ways for SQL > --that "do-it-all-in-one-line" > --without using "replace" > -- only one function call, merge() > -- yet remain readable > > ------------------ one line (watch word wrap) > put merge("DELETE FROM [[tmysqltableName]] Where [[tIDcolumnName]] = > '[[tRecordID]]'") into theSQL > > -------------------- or another way = same result (watch word wrap) > put merge("DELETE FROM [[tmysqltableName]] Where [[tIDcolumnName]] = > '[[tRecordID]]'") \ > into theSQL > > -------------------- yet another way = same result > put merge("DELETE FROM [[tmysqltableName]] " & \ > "Where [[tIDcolumnName]] = '[[tRecordID]]'") \ > into theSQL > > -------------------- or another way to get a COMPLEX result > put tRecordID + 1 into tRecordID2 > > put merge("" & \ > "DELETE FROM [[tmysqltableName]] "& \ > "Where ([[tIDcolumnName]] = '[[tRecordID]]' "& \ > "OR [[tIDcolumnName]] = '[[tRecordID-1]]') "& \ > "AND [[tIDcolumnName]] = '[[tRecordID2]]'" & \ > "") into theSQL3 > > Fun with Rev > > 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 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Thu Dec 7 11:57:02 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 07 Dec 2006 08:57:02 -0800 Subject: v2.7 engine? Message-ID: <457847DE.6050902@fourthworld.com> paolo mazza wrote: >Sarah Reichelt wrote: > >> What engine should I be using for CGI stuff on OS X? >> >> At the moment I'm using the 2.1.2 Darwin engine as specified in >> Jacque's wonderful CGI tutorial, but I would love to change to 2.7 >> since I would not have to remember to save stacks in the old format >> all the time :-) > > I need the CGI engine for MACOSX too!!!! Most of the changes in v2.7 have been for graphics, which don't come into play when running facelessly as a CGI. What v2.7-specific features do you need in a CGI? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mwieder at ahsoftware.net Thu Dec 7 12:39:03 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Dec 2006 09:39:03 -0800 Subject: UTCTime Message-ID: <955577399.20061207093903@ahsoftware.net> All- What I love about UTC time is the fact that it's not an acronym for anything, but a compromise that explicitly *doesn't* stand for anything, since the English and French twits in the ITC couldn't agree on whether it should be CUT or TUC. I recently had to convert local time to UTC time for an application, so I wrote a little function to do this for me and thought I'd share it in case someone else finds it useful. I needed the format line at the end to convert the result to the form the app needed - ignore it as necessary. ------------------------------------------------- -- UTCTime -- -- convert the local date/time to a UTC date/time -- returning it as YYYYMMDD-HH:MM:SS -- -- Usage: -- put UTCTime() into serverTime ------------------------------------------------ FUNCTION UTCTime local tDate local tUTCOffset local tLocalDate -- convert the local date to a UTC date put the internet date into tDate -- the last word is the offset of the local time from UTC time put the last word of tDate into tUTCOffset -- (offset as -0800) convert tDate to dateItems subtract trunc(tUTCOffset/ 100) from item 4 of tDate -- recalculate the dateItems convert tDate to dateItems put format ("%4d%02d%02d-%02d:%02d:%02d", \ item 1 of tDate, item 2 of tDate, item 3 of tDate, \ item 4 of tDate, item 5 of tDate, item 6 of tDate) into tLocalDate return tLocalDate END UTCTime -- -Mark Wieder mwieder at ahsoftware.net From jhonken at webdsp.com Thu Dec 7 12:57:41 2006 From: jhonken at webdsp.com (jhonken) Date: Thu, 7 Dec 2006 12:57:41 -0500 Subject: Creation of Database from Runrev In-Reply-To: Message-ID: <000201c71a29$47286740$c80ab50a@DellLaptop> Jim, Thank you for your help. Jeff -----Original Message----- From: Jim Ault [mailto:JimAultWins at yahoo.com] Sent: Thursday, December 07, 2006 11:46 AM To: How to use Revolution Subject: Re: Creation of Database from Runrev You need to look at the docs for the 'execute' or the 'query' command, depending on which SQL statement you are sending, and use 'theSQL' as the string to pass in the function. Jim Ault Las Vegas On 12/7/06 8:32 AM, "jhonken" wrote: > Jim, > Thanks for the response. How do you execute the SQL that you've > stored in "theSQL"? Jeff > > -----Original Message----- > From: Jim Ault [mailto:JimAultWins at yahoo.com] > Sent: Thursday, December 07, 2006 11:26 AM > To: How to use Revolution > Subject: Re: Creation of Database from Runrev > > > On 12/7/06 7:55 AM, "jhonken" wrote: > >> My application has a Sqlite database that I'd like to create from >> Runrev. The problem I've had in the past is that I can't execute a >> realllly long SQL statement within Rev. Is there some trick to it or >> is there another way? The limitations I've run into are: >> >> 1. It seems that the SQL statement likes to be on one line. 2. I've >> tried to use the continuation character in the statement in the past >> but the statement is so long it seems to choke. >> >> Does anyone have any ideas on how I can execute a long create >> statement? > > If you mean build a long string in a variable then there are a few > ways Using the merge for SQL is my preference > > Some readable ways for SQL > --that "do-it-all-in-one-line" > --without using "replace" > -- only one function call, merge() > -- yet remain readable > > ------------------ one line (watch word wrap) > put merge("DELETE FROM [[tmysqltableName]] Where [[tIDcolumnName]] = > '[[tRecordID]]'") into theSQL > > -------------------- or another way = same result (watch word wrap) > put merge("DELETE FROM [[tmysqltableName]] Where [[tIDcolumnName]] = > '[[tRecordID]]'") \ > into theSQL > > -------------------- yet another way = same result > put merge("DELETE FROM [[tmysqltableName]] " & \ > "Where [[tIDcolumnName]] = '[[tRecordID]]'") \ > into theSQL > > -------------------- or another way to get a COMPLEX result > put tRecordID + 1 into tRecordID2 > > put merge("" & \ > "DELETE FROM [[tmysqltableName]] "& \ > "Where ([[tIDcolumnName]] = '[[tRecordID]]' "& \ > "OR [[tIDcolumnName]] = '[[tRecordID-1]]') "& \ > "AND [[tIDcolumnName]] = '[[tRecordID2]]'" & \ > "") into theSQL3 > > Fun with Rev > > 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 > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 dsc at swcp.com Thu Dec 7 13:37:47 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 7 Dec 2006 11:37:47 -0700 Subject: private handlers in a public library In-Reply-To: References: Message-ID: <4E050966-C640-47E9-996F-629B1DA3E354@swcp.com> On Dec 7, 2006, at 12:25 AM, Dick Kriesel wrote: >> You might be interested in feature request 1443 listed in Bugzilla. > > "Zarro Boogs found." I wonder why an old bug number's data would > disappear. It's a conspiracy! Actually, this is probably the strange default for "Status". The default for "Status" does not include Unconfirmed, which half of the Enhancements are. (Revzilla probably fixes this, but it has been on my list for two years and my list is 3 years long, so I don't know what it does--something to do with bugs.) So, in Bugzilla, select all of the status, put in the bug number for "Only include bugs numbered", and then whack Search. (Maybe you should just click it, you don't want to knock the button off the page.) Dar From dsc at swcp.com Thu Dec 7 13:50:08 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 7 Dec 2006 11:50:08 -0700 Subject: Multi-standalone communication In-Reply-To: <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> <6F71AD4F-527C-40D8-AC90-4EB2B4273AF9@economy-x-talk.com> <160C6AAB-9B36-4AE1-8A99-61D714D80C7D@major-k.de> <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> Message-ID: On Dec 7, 2006, at 6:56 AM, Richard Miller wrote: > Looking for suggestions on how to have 2 or 3 Rev standalones talk > to one another (under Windows). These separate Rev apps cannot > share the same engine. Perhaps it's quite easy and I'm just > overlooking it. If the computer is set up with networking, then you can use UDP over 127.0.0.1 (sockets). You can also use files, maybe something like this. The sender, A, can write a file "tempAToB", wait until there is no "AToB" and then rename "tempAToB" to "AToB". The receiver, B, might look for the new "AToB", read it, and delete it. For very short messages, just rename the file and look for changes. You can also use multiple files as a queue in alphabetical order. Dar From dick.kriesel at mail.com Thu Dec 7 14:00:06 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Thu, 07 Dec 2006 11:00:06 -0800 Subject: private handlers in a public library In-Reply-To: <4E050966-C640-47E9-996F-629B1DA3E354@swcp.com> Message-ID: On 12/7/06 10:37 AM, "Dar Scott" wrote: > > On Dec 7, 2006, at 12:25 AM, Dick Kriesel wrote: >>> You might be interested in feature request 1443 listed in Bugzilla. >> >> "Zarro Boogs found." I wonder why an old bug number's data would >> disappear. > > It's a conspiracy! > > Actually, this is probably the strange default for "Status". The > default for "Status" does not include Unconfirmed, which half of the > Enhancements are. (Revzilla probably fixes this, but it has been on > my list for two years and my list is 3 years long, so I don't know > what it does--something to do with bugs.) > > So, in Bugzilla, select all of the status, put in the bug number for > "Only include bugs numbered", and then whack Search. (Maybe you > should just click it, you don't want to knock the button off the page.) > > Dar That worked. I voted. -- Dick From mikeythek at gmail.com Thu Dec 7 14:09:38 2006 From: mikeythek at gmail.com (Mikey) Date: Thu, 7 Dec 2006 14:09:38 -0500 Subject: Access Plugins In-Reply-To: <302245088.20061207084331@ahsoftware.net> References: <003001c71907$e175aec0$0201010a@visualmicro> <45769756.000001.02044@MAZYTIS> <190183987189.20061206111046@ahsoftware.net> <9b408d8e0612061146w2e933472od3e7a355fd9153cb@mail.gmail.com> <302245088.20061207084331@ahsoftware.net> Message-ID: <9b408d8e0612071109i5381c638v1714ce258960ec2a@mail.gmail.com> http://www.download.com/XML-2-MDB/3000-2210_4-10447327.html > The way I populate an empty database is to construct the sql commands > and save them as a text file, then execute the file. How are you going to do that without having Access installed? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From wow at together.net Thu Dec 7 14:21:19 2006 From: wow at together.net (Richard Miller) Date: Thu, 7 Dec 2006 14:21:19 -0500 Subject: Multi-standalone communication In-Reply-To: References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> <6F71AD4F-527C-40D8-AC90-4EB2B4273AF9@economy-x-talk.com> <160C6AAB-9B36-4AE1-8A99-61D714D80C7D@major-k.de> <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> Message-ID: <0850166A-8B21-4B2E-8F04-7395DC0226EC@together.net> The computer in question is not set up with networking. > > If the computer is set up with networking, then you can use UDP > over 127.0.0.1 (sockets). > > You can also use files, maybe something like this. The sender, A, > can write a file "tempAToB", wait until there is no "AToB" and then > rename "tempAToB" to "AToB". The receiver, B, might look for the > new "AToB", read it, and delete it. For very short messages, just > rename the file and look for changes. You can also use multiple > files as a queue in alphabetical order. Dar... I understand the plan here. My concern with this is the constant disk access that would need to take place. The information that needs to be exchanged between these two apps is directly connected to the users experience. So when the user presses a button on App A, they expect to see a rather immediate response. That response will be occurring in App B, but I need it to look like it's all one application. So App B needs to be polling every second or so, as does App A. Is this too much disk access or acceptable? I've played around a little with read/write - to/from processes, but can't get the hang of it yet. Having had no experience with those functions, it may take a bit of work to get that to go. Same goes for sockets... no experience with that either. And, of course... I'm really hoping to not spend a lot of hours on this issue. Rob.. I'll look into Jan's socket communication library. I'm assuming that it is accessible to anyone who signs up with that group. Is the use of that approach fairly straightforward? Also hoping to hear back from Dave on the ISM module. Thanks all. Richard From viktoras at ekoinf.net Thu Dec 7 15:14:51 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Thu, 7 Dec 2006 22:14:51 +0200 (FLE Standard Time) Subject: Multi-standalone communication References: <0850166A-8B21-4B2E-8F04-7395DC0226EC@together.net> Message-ID: <4578763B.000001.02544@MAZYTIS> One solution to speed-up the communication using files on disk is write/read to ramdrive which emulated in memory. For more info on ramdrives look here: http://cyberwizardpit.net/article3.htm Viktoras -------Original Message------- From: Richard Miller Date: 12/7/2006 9:21:37 PM To: How to use Revolution Subject: Re: Multi-standalone communication The computer in question is not set up with networking. > > If the computer is set up with networking, then you can use UDP > over 127.0.0.1 (sockets). > > You can also use files, maybe something like this. The sender, A, > can write a file "tempAToB", wait until there is no "AToB" and then > rename "tempAToB" to "AToB". The receiver, B, might look for the > new "AToB", read it, and delete it. For very short messages, just > rename the file and look for changes. You can also use multiple > files as a queue in alphabetical order. Dar... I understand the plan here. My concern with this is the constant disk access that would need to take place. The information that needs to be exchanged between these two apps is directly connected to the users experience. So when the user presses a button on App A, they expect to see a rather immediate response. That response will be occurring in App B, but I need it to look like it's all one application. So App B needs to be polling every second or so, as does App A. Is this too much disk access or acceptable? I've played around a little with read/write - to/from processes, but can't get the hang of it yet. Having had no experience with those functions, it may take a bit of work to get that to go. Same goes for sockets... no experience with that either. And, of course... I'm really hoping to not spend a lot of hours on this issue. Rob.. I'll look into Jan's socket communication library. I'm assuming that it is accessible to anyone who signs up with that group. Is the use of that approach fairly straightforward? Also hoping to hear back from Dave on the ISM module. Thanks all. Richard _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Thu Dec 7 15:26:01 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 07 Dec 2006 12:26:01 -0800 Subject: Multi-standalone communication Message-ID: <457878D9.4020306@fourthworld.com> Richard Miller wrote: > The computer in question is not set up with networking. I'm not sure if UDP on the same machine is prevented even without external networking enabled. Maybe someone here can explain. But if all you need is to pass some info from one app to another, depending on the frequency of the exchange you may find using a file isn't a bad option. While it's true that accessing a file's contents is relatively slow, that is relative. More importantly, checking for the existence of a file is much faster than checking its contents, in many cases quite acceptably so. You could conceivably have the listening app check a folder in specialFolderPath("temporary") for a file of a specific and unlikely-to-be-used name (e.g., "MySpecialDataFile34583895"), using a timer set for, say, once every half-second or so, depending on the frequency you need (could be less, could be more; the less often it checks the better of course). The sending app would write to that file any time it needs to send info to the other app, and the other app would see that it's there and if it is then it reads it, deletes the file, and does whatever it needs with the data: on ListenForData put (specialFolderPath("temporary")&"/MySpecialDataFile34583895" \ into tTempFile if there is a file tTempFile then put url ("file:"&tTempFile) into tMyData delete file tTempFile -- do something with the data here: end if send "ListenForData" to me in 500 millisecs -- half a second end ListenForData On a relatively slow Mac (1GHz G4) it takes about a quarter millisecond to get the file name using specialFolderPath and check its existence. If you get the file name only once and store it in a variable, the time to just check for its existence drops to only 0.0165 ms: local sTempFile on InitListening put (specialFolderPath("temporary")&"/MySpecialDataFile34583895" \ into sTempFile ListenForData end InitListening on ListenForData if there is a file sTempFile then put url ("file:"&sTempFile) into tMyData delete file sTempFile -- do something with the data here: end if send "ListenForData" to me in 500 millisecs end ListenForData -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jhonken at webdsp.com Thu Dec 7 15:48:28 2006 From: jhonken at webdsp.com (jhonken) Date: Thu, 7 Dec 2006 15:48:28 -0500 Subject: Progress bar Message-ID: <000401c71a41$10c01a50$c80ab50a@DellLaptop> I've put a Progress bar in my application. Can someone tell me how to set the "Current value" of it. It looks like runrev calls it a scrollbar and I've read about thumbposition but I'm not sure if thats whats used or not. It seems not to work when I try setting it. It errors. Any help would be greatly appreciated. From m.schonewille at economy-x-talk.com Thu Dec 7 16:00:40 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 7 Dec 2006 22:00:40 +0100 Subject: Progress bar In-Reply-To: <000401c71a41$10c01a50$c80ab50a@DellLaptop> References: <000401c71a41$10c01a50$c80ab50a@DellLaptop> Message-ID: Here is a simple demo that shows the use of startValue, endValue and thumbPos. on mouseUp repeat with x = (the startValue of scrollbar 1) to (the endValue of scrollbar 1) step 200 set the thumbPos of scrollbar 1 to x end repeat set the thumbPos of scrollbar 1 to the endValue of scrollbar 1 end mouseUp This works fine with a default scrollbar, but you probably will want to change the startValue and endValue in the property inspector and might then want to change the size of the steps. You can also entirely remove the steps. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 7-dec-2006, om 21:48 heeft jhonken het volgende geschreven: > I've put a Progress bar in my application. Can someone tell me how to > set the "Current value" of it. It looks like runrev calls it a > scrollbar > and I've read about thumbposition but I'm not sure if thats whats used > or not. It seems not to work when I try setting it. It errors. Any > help would be greatly appreciated. From wow at together.net Thu Dec 7 16:00:12 2006 From: wow at together.net (Richard Miller) Date: Thu, 7 Dec 2006 16:00:12 -0500 Subject: Multi-standalone communication In-Reply-To: <457878D9.4020306@fourthworld.com> References: <457878D9.4020306@fourthworld.com> Message-ID: <6F29F2E5-A863-4DCB-BD59-073AB80DB805@together.net> Thanks, Richard. This was along the lines I was thinking. I'll see how the performance works for our specific situation. We have a lot going on in the main application while this "conversation" is taking place between the two apps, but I think it will work fine. Richard On Dec 7, 2006, at 3:26 PM, Richard Gaskin wrote: > Richard Miller wrote: >> The computer in question is not set up with networking. > > I'm not sure if UDP on the same machine is prevented even without > external networking enabled. Maybe someone here can explain. > > But if all you need is to pass some info from one app to another, > depending on the frequency of the exchange you may find using a > file isn't a bad option. > > While it's true that accessing a file's contents is relatively > slow, that is relative. More importantly, checking for the > existence of a file is much faster than checking its contents, in > many cases quite acceptably so. > > You could conceivably have the listening app check a folder in > specialFolderPath("temporary") for a file of a specific and > unlikely-to-be-used name (e.g., "MySpecialDataFile34583895"), using > a timer set for, say, once every half-second or so, depending on > the frequency you need (could be less, could be more; the less > often it checks the better of course). > > The sending app would write to that file any time it needs to send > info to the other app, and the other app would see that it's there > and if it is then it reads it, deletes the file, and does whatever > it needs with the data: > > on ListenForData > put (specialFolderPath("temporary")&"/MySpecialDataFile34583895" \ > into tTempFile > if there is a file tTempFile then > put url ("file:"&tTempFile) into tMyData > delete file tTempFile > -- do something with the data here: > > end if > send "ListenForData" to me in 500 millisecs -- half a second > end ListenForData > > > On a relatively slow Mac (1GHz G4) it takes about a quarter > millisecond to get the file name using specialFolderPath and check > its existence. > > If you get the file name only once and store it in a variable, the > time to just check for its existence drops to only 0.0165 ms: > > > local sTempFile > > on InitListening > put (specialFolderPath("temporary")&"/MySpecialDataFile34583895" \ > into sTempFile > ListenForData > end InitListening > > > on ListenForData > if there is a file sTempFile then > put url ("file:"&sTempFile) into tMyData > delete file sTempFile > -- do something with the data here: > > end if > send "ListenForData" to me in 500 millisecs > end ListenForData > > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.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 mark at maseurope.net Thu Dec 7 16:00:21 2006 From: mark at maseurope.net (Mark Smith) Date: Thu, 7 Dec 2006 21:00:21 +0000 Subject: Progress bar In-Reply-To: <000401c71a41$10c01a50$c80ab50a@DellLaptop> References: <000401c71a41$10c01a50$c80ab50a@DellLaptop> Message-ID: <9D18CA2C-9B00-4A24-BCE0-B9043A103BDC@maseurope.net> A fairly typical way might be, in a repeat loop: set the endValue of sb "progress" to the number of lines in listToProcess set the thumbPos of sb "progress" to 0 put 0 into lineCount repeat for each line L in listToProcess doProcessing L add 1 to lineCount set the thumbPos of sb "progress" to lineCount end repeat set the thumbPos of sb "progress" to 0 best, Mark On 7 Dec 2006, at 20:48, jhonken wrote: > I've put a Progress bar in my application. Can someone tell me how to > set the "Current value" of it. It looks like runrev calls it a > scrollbar > and I've read about thumbposition but I'm not sure if thats whats used > or not. It seems not to work when I try setting it. It errors. Any > help would be greatly appreciated. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jhonken at webdsp.com Thu Dec 7 16:04:02 2006 From: jhonken at webdsp.com (jhonken) Date: Thu, 7 Dec 2006 16:04:02 -0500 Subject: Progress bar In-Reply-To: Message-ID: <001a01c71a43$3f33d140$c80ab50a@DellLaptop> Mark, That did the trick. Thanks -----Original Message----- From: Mark Schonewille [mailto:m.schonewille at economy-x-talk.com] Sent: Thursday, December 07, 2006 4:01 PM To: How to use Revolution Subject: Re: Progress bar Here is a simple demo that shows the use of startValue, endValue and thumbPos. on mouseUp repeat with x = (the startValue of scrollbar 1) to (the endValue of scrollbar 1) step 200 set the thumbPos of scrollbar 1 to x end repeat set the thumbPos of scrollbar 1 to the endValue of scrollbar 1 end mouseUp This works fine with a default scrollbar, but you probably will want to change the startValue and endValue in the property inspector and might then want to change the size of the steps. You can also entirely remove the steps. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 7-dec-2006, om 21:48 heeft jhonken het volgende geschreven: > I've put a Progress bar in my application. Can someone tell me how to > set the "Current value" of it. It looks like runrev calls it a > scrollbar > and I've read about thumbposition but I'm not sure if thats whats used > or not. It seems not to work when I try setting it. It errors. Any > help would be greatly appreciated. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Thu Dec 7 17:30:09 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 7 Dec 2006 15:30:09 -0700 Subject: Multi-standalone communication In-Reply-To: <457878D9.4020306@fourthworld.com> References: <457878D9.4020306@fourthworld.com> Message-ID: <375AD03E-1BF7-4D18-BCDF-94F839CC562B@swcp.com> On Dec 7, 2006, at 1:26 PM, Richard Gaskin wrote: > Richard Miller wrote: >> The computer in question is not set up with networking. > > I'm not sure if UDP on the same machine is prevented even without > external networking enabled. Maybe someone here can explain. Well, that had been the case, but I don't remember if I have tried that on XP. An imaginary LAN is a workaround, but that sounds like too much for Richard. Maybe not, but it does involve selecting it as an adaptor and installing the adaptor. I guess setting up a rev chat server might be tried to check these questions. That might also give the clues needed to implement the comm. I have wondered about named pipes. On Windows, they are not symmetrical and the creating end has to do something special. I think it might be possible with some sort of \\ file name to open the other end. The creation end might be made by some special command- line tool (Ken?) which is controlled by process I/O. Those with a weak heart should not read this paragraph. Maybe the registry can be used for communication. Process I/O can be possible for inter-rev-app comm under some circumstances. One standalone is the controlling app. The others are started and ended by the controlling app. All communication is to/from/through the controlling app. There are some gotchas in process I/O and in using stdin/stdout, but this discussion list is here. (The more general approach might be a tree including a chain.) It might be possible to share a file if one is open for read and the other is open for write. Comm is then done in the buffers. I don't think this can be done with Rev, but it might be worth the experiment. Renaming files or folders will still involve file I/O, but it might minimize that. I have seen virtual loopback serial drivers. That might mean buying something. Serial send blocks, but that might be for a very short time in this case. One can lock a resource (say, open a serial port) and unlock it and send messages by Morse code. I have tinkered with a more general send. Get an external made. Put a 1X1 pixel system window in the corner of the screen. Change the color. The other stack can take a snapshot of that and see what the color is. You can then have 4 senders and lots of receivers. I would still lean toward UDP (or TCP) or files or file names. Dar From JimAultWins at yahoo.com Thu Dec 7 18:19:58 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 07 Dec 2006 15:19:58 -0800 Subject: Multi-standalone communication In-Reply-To: <457878D9.4020306@fourthworld.com> Message-ID: On 12/7/06 12:26 PM, "Richard Gaskin" wrote: > Richard Miller wrote: >> The computer in question is not set up with networking. You can do a very quick UDP working test -- Download Alex Tweedly's companion stacks from Rev Online, UDP Echo Client & UDP-based Echo Server ...open both in one Rev IDE on either a Mac or Win and in three mouse clicks watch it work with client and server action. No internet or LAN required for same machine operation. I use this for same-machine and same-Local-network and wide-area-network. Basically it is like file writing --send from app A -- open datagram socket "127.0.0.4545" write "text for another app, from userEntry" to socket "127.0.0.4545" --listen in app B -- open datagram socket "4545" with message "gotSumtin" on gotSumtin host, socket, messageSent put messageSent -->( "text for another app, from userEntry") end gotSumtin LAN would need the IP of the listening machines WAN would need IP of the routers (static IP's) to send To send to more that one app on one machine open datagram socket "192.161.15.106:4666" write "text for another app" to socket "192.161.15.106:4666" open datagram socket "192.161.15.106:5556" write "text2 for another app" to socket "192.161.15.106:5556" Jim Ault Las Vegas From dsc at swcp.com Fri Dec 8 00:20:03 2006 From: dsc at swcp.com (Dar Scott) Date: Thu, 7 Dec 2006 22:20:03 -0700 Subject: Multi-standalone communication In-Reply-To: <0850166A-8B21-4B2E-8F04-7395DC0226EC@together.net> References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> <6F71AD4F-527C-40D8-AC90-4EB2B4273AF9@economy-x-talk.com> <160C6AAB-9B36-4AE1-8A99-61D714D80C7D@major-k.de> <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> <0850166A-8B21-4B2E-8F04-7395DC0226EC@together.net> Message-ID: <0B3A211E-055C-4C45-8D74-2DC2494EB549@swcp.com> On Dec 7, 2006, at 12:21 PM, Richard Miller wrote: > Dar... I understand the plan here. My concern with this is the > constant disk access that would need to take place. The information > that needs to be exchanged between these two apps is directly > connected to the users experience. So when the user presses a > button on App A, they expect to see a rather immediate response. > That response will be occurring in App B, but I need it to look > like it's all one application. So App B needs to be polling every > second or so, as does App A. Is this too much disk access or > acceptable? Richards suggestion of the checking existence of files or mine of checking file name changes might minimize that. You can use that for the data, or just as a way to allow polling to know there is data in the file. Depending on what you have in mind, I wouldn't worry too much about beating on the disk. If the computer has to weigh trucks of hogs day in and day out over years, then maybe. > I've played around a little with read/write - to/from processes, > but can't get the hang of it yet. Having had no experience with > those functions, it may take a bit of work to get that to go. Same > goes for sockets... no experience with that either. > > And, of course... I'm really hoping to not spend a lot of hours on > this issue. Yeah, that's why I mentioned earlier that fiddling with installing an adaptor to a virtual LAN might take more time than you were expecting. On the other hand, you might decide that getting into sockets is an investment that you want to make and reap the benefits beyond just this project. Dar From bridgeyman at gmail.com Fri Dec 8 00:50:58 2006 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Thu, 7 Dec 2006 22:50:58 -0700 Subject: Make an Object "Wander" Message-ID: <86ae76bb0612072150y21c6b03do11c733e72377ff41@mail.gmail.com> Hey, I am designing a program is the Tactical station for a Star Trek-type simulator. It has 10 of buttons in a grid. These buttons represent other ships outside of our ship. The kid working the station targets the contact by tracing the mouse over it for a while (not very difficult, it has to be operated by a 5th grader of any intelligence). Right now the target picks a random loc, moves there, then picks another loc. It is supposed to look like they are just drifting in space a little, but it looks really lame right now because they move in such perfectly straight lines. Does anybody have any ideas to make them randomly wander inside of the grid? I would like to have it run as a background task so the move command doesn't tie things up. It would also be cool if the speed they moved at varied a little. Much appreciated. TTFN Bridger From dan at shafermedia.com Fri Dec 8 01:09:12 2006 From: dan at shafermedia.com (Dan Shafer) Date: Thu, 7 Dec 2006 22:09:12 -0800 Subject: Revolution and the Web, focus on IDE Add-ons In-Reply-To: References: <74FF8358-010F-1000-DFD5-839E308ACA54-Webmail-10008@mac.com> Message-ID: <70ed6b130612072209x33349c8bw4816db29dcedffd2@mail.gmail.com> Andre, happy to do what I can on the JS side of things. Dan On 12/7/06, Todd Geist wrote: > > Andre, > > It sounds good to me. I would like to help in any way that I can, > but my Rev skills are fairly weak. At the very least I can be a > stupid user tester :>) > > Todd > > > > On Dec 6, 2006, at 2:35 PM, Andre Garzia wrote: > > > Hello folks, > > > > I've seen my little topic grew to the point of not being related to > > the thing I had in mind anymore. People here talking about morfik > > and about engine changes, I want again to try to focus on what can > > be done now by a group of volunteers by using nothing but > > revolution ide add-ons... no externals, no engine changes, no third > > party technologies (except maybe xsltproc which is standard on unix > > machines). > > > > Let us try to focus on a tool that picks a given stack, process it > > and exposes user selected methods as a RPC endpoint. The RPC system > > should be simple enough so that we can implement the other side of > > it in javascript. This alone will greatly help what we're doing. > > We're babies on web development, let us take baby steps. > > > > Objective of this first phase: > > > > * Create a Remote Procedure Call system that is able to expose > > revolution handlers or functions as something accesible by a > > networked client. Implement this as a selfcontained library, no > > magic stuff, just plain code. (possibly REST inspired) > > * Create a plugin thing to help with the RPC code, maybe allowing > > you to select methods on the topstack to be exposed and thus having > > the tool write the stubs for it. > > * Create the javascript library to access that RPC system. > > * Create a tool that writes glue code to match revolution exposed > > methods to javascript methods thus hiding the RPC side from the > > developer. > > > > I think those are reasonable objectives for a first experiment, > > what people here think? > > > > Cheers > > andre > > -- > > Todd Geist > ______________________________________ > g e i s t i n t e r a c t i v e > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dick.kriesel at mail.com Fri Dec 8 03:12:30 2006 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 08 Dec 2006 00:12:30 -0800 Subject: private handlers in a public library In-Reply-To: Message-ID: On 12/6/06 10:59 PM, "Dar Scott" wrote: > I think your checking method is pretty clever and can be handy. > Though the cost of a couple lines and a few microseconds might be > much for small handlers, this might work OK for larger handlers. When microseconds don't matter, it can be done in one line. -- on publicHandler privateHandler end publicHandler on privateHandler if trespass() then pass privateHandler -- private stuff end privateHandler -- same one liner for privateFunction and uPrivateProperty function trespass return item 1 of line -2 of the executionContexts is not \ item 1 of line -3 of the executionContexts end trespass -- Function "trespass" can instead reside in some other library. -- Dick From eric.chatonet at sosmartsoftware.com Fri Dec 8 03:29:45 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Dec 2006 09:29:45 +0100 Subject: Make an Object "Wander" In-Reply-To: <86ae76bb0612072150y21c6b03do11c733e72377ff41@mail.gmail.com> References: <86ae76bb0612072150y21c6b03do11c733e72377ff41@mail.gmail.com> Message-ID: <907E75EB-AD1E-49BB-8A90-A27F8BC88ADE@sosmartsoftware.com> Hi Bridger, You could probably move "without waiting" the button along the points of a bezier curve you would build on-the-fly (this curve would stay invisible of course). If such coding sounds a bit tricky, just let me know off-list: I'll send you a demo stack. Best Regards from Paris, Eric Chatonet Le 8 d?c. 06 ? 06:50, Bridger Maxwell a ?crit : > Hey, > I am designing a program is the Tactical station for a Star Trek-type > simulator. It has 10 of buttons in a grid. These buttons represent > other > ships outside of our ship. The kid working the station targets the > contact > by tracing the mouse over it for a while (not very difficult, it > has to be > operated by a 5th grader of any intelligence). Right now the > target picks a > random loc, moves there, then picks another loc. It is supposed to > look > like they are just drifting in space a little, but it looks really > lame > right now because they move in such perfectly straight lines. Does > anybody > have any ideas to make them randomly wander inside of the grid? I > would > like to have it run as a background task so the move command > doesn't tie > things up. It would also be cool if the speed they moved at varied a > little. Much appreciated. > > > TTFN > Bridger > ___________ ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From baleareninsel at gmx.net Fri Dec 8 06:14:46 2006 From: baleareninsel at gmx.net (baleareninsel at gmx.net) Date: Fri, 08 Dec 2006 12:14:46 +0100 Subject: Database Query builder Message-ID: <20061208111254.32F9C488DAD@mail.runrev.com> Hol? everybody, Working with RunRev 2.7.4 I have a table objekt which shows me selected adresses from a MySQL Database. #-> works fine in a field script I?m using the command: put the selectedtext of me into var1 set itemdel to tab put item 1 of var1 into Cstm_nrr #-> which is also correct and works fine But, and that?s the question: How to open a new (existing) Card to show the datas behind the customernumber I think I can?t mix SQL with "RunRev" variables otherwise I would say in the Database query builder: SELECT * from Customers where customernumber = Cstm_nr Thank you all for a helping hand Horst ____________________________________________________________________________________________________________________ From runrev260805 at m-r-d.de Fri Dec 8 06:32:32 2006 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 8 Dec 2006 11:32:32 +0000 Subject: how large in size can be the bodytext in revmail Message-ID: Hi, i?ve problems parsing the bodytext parameter to the revMail command. Either the text is not completely given to the email program or i get a .dll error. My system: Windows XPSP2 German, RevStudio 2.7.4. Does anyone know, how large the bodytext can be? Best regards, Matthias Rebbe From dave at looktowindward.com Fri Dec 8 07:40:32 2006 From: dave at looktowindward.com (Dave) Date: Fri, 8 Dec 2006 12:40:32 +0000 Subject: Multi-standalone communication In-Reply-To: <0850166A-8B21-4B2E-8F04-7395DC0226EC@together.net> References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> <6F71AD4F-527C-40D8-AC90-4EB2B4273AF9@economy-x-talk.com> <160C6AAB-9B36-4AE1-8A99-61D714D80C7D@major-k.de> <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> <0850166A-8B21-4B2E-8F04-7395DC0226EC@together.net> Message-ID: On 7 Dec 2006, at 19:21, Richard Miller wrote: > The computer in question is not set up with networking. >> >> If the computer is set up with networking, then you can use UDP >> over 127.0.0.1 (sockets). >> >> You can also use files, maybe something like this. The sender, A, >> can write a file "tempAToB", wait until there is no "AToB" and >> then rename "tempAToB" to "AToB". The receiver, B, might look for >> the new "AToB", read it, and delete it. For very short messages, >> just rename the file and look for changes. You can also use >> multiple files as a queue in alphabetical order. > > Dar... I understand the plan here. My concern with this is the > constant disk access that would need to take place. The information > that needs to be exchanged between these two apps is directly > connected to the users experience. So when the user presses a > button on App A, they expect to see a rather immediate response. > That response will be occurring in App B, but I need it to look > like it's all one application. So App B needs to be polling every > second or so, as does App A. Is this too much disk access or > acceptable? > > I've played around a little with read/write - to/from processes, > but can't get the hang of it yet. Having had no experience with > those functions, it may take a bit of work to get that to go. Same > goes for sockets... no experience with that either. > > And, of course... I'm really hoping to not spend a lot of hours on > this issue. > > Rob.. I'll look into Jan's socket communication library. I'm > assuming that it is accessible to anyone who signs up with that > group. Is the use of that approach fairly straightforward? > > Also hoping to hear back from Dave on the ISM module. I've sent you a demo. The new version of ISM basically has the UDP/ TCP link built into a library. There are Listen and Send functions in ISM that "route" high level commands to the correct place(s). Using the current version, depending on how you build your standalones you can achieve the same effect without the need for inter-application communication. If you use the model (as per the demo) of having one standalone "stub" that basically optionally contains a splash-screen but is really used just to load the Engine and Initialize the rest of the stacks, then you can get the impression of having separate applications just by calling up a different stack (.rev) file (you would of course need to switch the menu bar if you were using one). However if you want real inter-application communication (maybe across a network) then you'll need to the new version which I am presently working on. Hope this Helps Dave From dave at looktowindward.com Fri Dec 8 08:33:52 2006 From: dave at looktowindward.com (Dave) Date: Fri, 8 Dec 2006 13:33:52 +0000 Subject: Getting a Random Seed for the Random Number Generator In-Reply-To: <9b408d8e0612071109i5381c638v1714ce258960ec2a@mail.gmail.com> References: <003001c71907$e175aec0$0201010a@visualmicro> <45769756.000001.02044@MAZYTIS> <190183987189.20061206111046@ahsoftware.net> <9b408d8e0612061146w2e933472od3e7a355fd9153cb@mail.gmail.com> <302245088.20061207084331@ahsoftware.net> <9b408d8e0612071109i5381c638v1714ce258960ec2a@mail.gmail.com> Message-ID: Hi All, Anyone have any tricks for generating a random seed in RunRev? Thanks a lot, All the Best Dave From mark at maseurope.net Fri Dec 8 08:38:44 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 8 Dec 2006 13:38:44 +0000 Subject: Getting a Random Seed for the Random Number Generator In-Reply-To: References: <003001c71907$e175aec0$0201010a@visualmicro> <45769756.000001.02044@MAZYTIS> <190183987189.20061206111046@ahsoftware.net> <9b408d8e0612061146w2e933472od3e7a355fd9153cb@mail.gmail.com> <302245088.20061207084331@ahsoftware.net> <9b408d8e0612071109i5381c638v1714ce258960ec2a@mail.gmail.com> Message-ID: <01C368E8-F7B3-4B37-8F63-81C3D17B821C@maseurope.net> Maybe you could grab a "true random" number from http://www.random.org Best, Mark On 8 Dec 2006, at 13:33, Dave wrote: > Hi All, > > Anyone have any tricks for generating a random seed in RunRev? > > Thanks a lot, > All the Best > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Fri Dec 8 08:43:53 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Dec 2006 14:43:53 +0100 Subject: Getting a Random Seed for the Random Number Generator In-Reply-To: References: <003001c71907$e175aec0$0201010a@visualmicro> <45769756.000001.02044@MAZYTIS> <190183987189.20061206111046@ahsoftware.net> <9b408d8e0612061146w2e933472od3e7a355fd9153cb@mail.gmail.com> <302245088.20061207084331@ahsoftware.net> <9b408d8e0612071109i5381c638v1714ce258960ec2a@mail.gmail.com> Message-ID: <8AFB3C3F-9D63-4150-A322-A1FED6C83307@sosmartsoftware.com> Hi Dave, Does setting the randomseed when appropriate would be enough for your needs? Use the randomSeed property to ensure greater randomness when generating random numbers. Value: The randomSeed property is an integer. Comments: Changing the randomSeed property changes the pseudorandom numbers generated by the random function and used by the any keyword. Using the same seed creates the same sequence of pseudorandom values. For example, if you call the random function five times to generate a list of five numbers, then change the randomSeed to another value, the next five calls to the random function will produce a different list of five numbers. However, if you set the randomSeed back to its original value and call the random function five more times, the list of five numbers is the same as the first list you generated. Revolution uses a new randomSeed every time the application is started up. Le 8 d?c. 06 ? 14:33, Dave a ?crit : > Hi All, > > Anyone have any tricks for generating a random seed in RunRev? > > Thanks a lot, > All the Best > Dave Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From viktoras at ekoinf.net Fri Dec 8 09:13:30 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Fri, 8 Dec 2006 16:13:30 +0200 (FLE Standard Time) Subject: Getting a Random Seed for the Random Number Generator References: Message-ID: <4579730A.000001.03104@MAZYTIS> What about using clock drift detection algorithm like in this example: http://en.wikipedia.org/wiki/Clock_drift Viktoras -------Original Message------- From: Dave Date: 12/08/06 15:34:04 To: How to use Revolution Subject: Getting a Random Seed for the Random Number Generator Hi All, Anyone have any tricks for generating a random seed in RunRev? Thanks a lot, All the Best Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From wdesmet at wanadoo.nl Fri Dec 8 11:06:40 2006 From: wdesmet at wanadoo.nl (William de Smet) Date: Fri, 8 Dec 2006 17:06:40 +0100 Subject: Copy image from browser to image on stack Message-ID: Hi there, Is there a simple way to copy an image from your browser to an image on a stack? For text I simply use: put the clipboardData into field "tekst" I think I have to use clipboardData for an image as well but I don't know how. Who can help me with this? greetings, William de Smet From stephenREVOLUTION at barncard.com Fri Dec 8 11:23:12 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 8 Dec 2006 08:23:12 -0800 Subject: Patterns In-Reply-To: References: Message-ID: I've used a pattern to enhance a graphic object in a stack. In a standalone, the pattern disappears. What is the best way to move the pattern to a stack? Where are they located? The image library doesn't show patterns. sqb -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From eric.chatonet at sosmartsoftware.com Fri Dec 8 11:30:19 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Dec 2006 17:30:19 +0100 Subject: Patterns In-Reply-To: References: Message-ID: <1292B234-EB42-429E-8007-B81AEA4121FD@sosmartsoftware.com> Hi Stephen, 1. Show UI elements in lists 2. Go to the App browseer 3. Locate the revIcons stack that has a lot of substacks. 4. Two of them will interest you: revCompatibilityPatterns 1 and 2 :-) Le 8 d?c. 06 ? 17:23, Stephen Barncard a ?crit : > I've used a pattern to enhance a graphic object in a stack. In a > standalone, the pattern disappears. > > What is the best way to move the pattern to a stack? Where are they > located? The image library doesn't show patterns. > > > sqb > -- > stephen barncard > s a n f r a n c i s c o Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From klaus at major-k.de Fri Dec 8 11:31:44 2006 From: klaus at major-k.de (Klaus Major) Date: Fri, 8 Dec 2006 17:31:44 +0100 (MET) Subject: Copy image from browser to image on stack In-Reply-To: References: Message-ID: Dag William, > Hi there, > > Is there a simple way to copy an image from your browser to an > image on a stack? > For text I simply use: > put the clipboardData into field "tekst" > > I think I have to use clipboardData for an image as well but I > don't know how. > Who can help me with this? Try: ... put the clipboarddata["image"] into image "mooie beeldje" ... See the docs for more info about this syntax for "clipboarddata" > greetings, > > William de Smet Regards Klaus Major klaus at major-k.de http://www.major-k.de From wdesmet at wanadoo.nl Fri Dec 8 11:52:36 2006 From: wdesmet at wanadoo.nl (William de Smet) Date: Fri, 8 Dec 2006 17:52:36 +0100 Subject: Copy image from browser to image on stack In-Reply-To: References: Message-ID: Ht there Klaus, I checked the docs and I read your suggestion. When I put this code into a button it crashes Rev on my Mac. The docs say it only works with PNG images. But I want to use GIF's and JPEG's as well! It keeps crashing (on a PNG image) so I think this doesn't work. Any suggestions, anyone? William 2006/12/8, Klaus Major : > Dag William, > > > Hi there, > > > > Is there a simple way to copy an image from your browser to an > > image on a stack? > > For text I simply use: > > put the clipboardData into field "tekst" > > > > I think I have to use clipboardData for an image as well but I > > don't know how. > > Who can help me with this? > > Try: > ... > put the clipboarddata["image"] into image "mooie beeldje" > ... > > See the docs for more info about this syntax for "clipboarddata" > > > greetings, > > > > William de Smet > > Regards > > Klaus Major > klaus at major-k.de > http://www.major-k.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- ICT-co?rdinator Herman Broerenschool 2612 SP Delft 015-2141066 http://www.hermanbroerenschool-delft.nl From lynn at paradigmasoft.com Fri Dec 8 12:25:13 2006 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Fri, 8 Dec 2006 09:25:13 -0800 Subject: Paradigma Releases Valentina 2.5 Server and Developer Products Message-ID: <00ec01c71aed$df066ca0$6501a8c0@lynn> Paradigma Releases Valentina 2.5 Server and Developer Products New Data Analysis and Secure Networking Features Added to Ultra Fast Developer Database December 8, 2006. Beaverton, Oregon-based Paradigma Software, Inc announces the immediate availability of Valentina Technology Release 2.5 for all developer and business products. This upgrade adds significant new features to both Paradigma business products and developer products. All Valentina 2.5 products gain two new SQL syntax features for reducing complexity in SQL queries and greatly enhancing data analysis queries: * PIVOT, SQL Syntax. Create "virtual cross-tabs" of data results to greatly enhance data analysis capabilities of applications built around Valentina. * WITH-statement, SQL Syntax. A new Common Table Expression and similar to Views; the WITH statement acts much like a VIEW that is temporary to the query. All Valentina 2.5 business products gain both SSL and automatic network discovery features, with options available for Valentina Developer Network: * SSL Support. Built in SSL support for Valentina Office Server and Valentina Studio, allowing optionally adding secure communications or disabling non-SSL communications. An SSL Adapter is available for Valentina Developer Network for $99. * Bonjour Support. Built in Bonjour support (a form of zero-config) for Valentina Office Server and Valentina Studio. This allows automatic discovery of a database server on a network. A Bonjour Adapter is available for Valentina Developer Network for $99. * Redesigned Valentina Studio. The database creation, browser, query builder and server maintenance tool has a new, modern, tabbed interface. In addition to customer feedback, Paradigma Software also incorporated dozens of minor fixes and improvements. The technology upgrade is free for all licensees of Valentina 2.x products. The Bonjour and SSL Adapters cost $99 and are licensed so that VDN subscribers can incorporate them into their projects royalty free. Valentina Application Developer Kits allow developers utilizing Adobe Director, Runtime Revolution, REALbasic, any .net framework solution, any COM based solution, Delphi, MS Visual C++ or Apple xCode to power their applications with Valentina database technology. Valentina ADKs start at $149. Valentina Developer Network adds royalty free distribution of Valentina Embedded Server, allowing developers to save over $300 per deployment compared to competing solutions; Embedded Server can be deployed royalty free. Valentina Developer Network starts at $399 - during December 2006, new seats of VDN Platform are discounted by $100. About Paradigma Software, Inc Founded in 1998, Beaverton, Oregon-based Paradigma Software, Inc is the leading provider of incredibly fast and robust database solutions for business and development. Valentina 2 technology powers solutions as diverse as graphics applications from major Japanese electronics companies to solutions supporting US public schools. Paradigma Software solutions are available for every major development environment on the Windows and Macintosh platforms. From JimAultWins at yahoo.com Fri Dec 8 12:44:24 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 08 Dec 2006 09:44:24 -0800 Subject: Copy image from browser to image on stack In-Reply-To: Message-ID: On 12/8/06 8:52 AM, "William de Smet" wrote: > Ht there Klaus, > > I checked the docs and I read your suggestion. > When I put this code into a button it crashes Rev on my Mac. > The docs say it only works with PNG images. > But I want to use GIF's and JPEG's as well! > > It keeps crashing (on a PNG image) so I think this doesn't work. > Any suggestions, anyone? Checkout Eric Chatonet's #005 How to drag and drop and store images that uses drag and drop with 3 choices for the file handling (radio btns). Jim Ault Las Vegas From RGould8 at aol.com Fri Dec 8 12:45:13 2006 From: RGould8 at aol.com (RGould8 at aol.com) Date: Fri, 8 Dec 2006 12:45:13 EST Subject: OT: Would I need a content management system for this? Message-ID: Say, if I wanted to create a web-site that supports the following functionality, would I need a full-blown content management system like Drupal or Joomla!, or could I get away with something simpler like Contribute and some open-source modules? Needed features: 1) Message boards 2) Local search (searching through past articles that were displayed on the site) 3) Video streaming 4) Filtered rostering 5) Ability to allow 5-6 editors to update text/pictures on certain pages of the site. We're not talking a high-bandwidth site here either - - - could be 800 hits a day, for a non-profit. From dsc at swcp.com Fri Dec 8 12:51:13 2006 From: dsc at swcp.com (Dar Scott) Date: Fri, 8 Dec 2006 10:51:13 -0700 Subject: Getting a Random Seed for the Random Number Generator In-Reply-To: References: <003001c71907$e175aec0$0201010a@visualmicro> <45769756.000001.02044@MAZYTIS> <190183987189.20061206111046@ahsoftware.net> <9b408d8e0612061146w2e933472od3e7a355fd9153cb@mail.gmail.com> <302245088.20061207084331@ahsoftware.net> <9b408d8e0612071109i5381c638v1714ce258960ec2a@mail.gmail.com> Message-ID: <67D37A88-CACF-4365-898E-247C785EDCD6@swcp.com> On Dec 8, 2006, at 6:33 AM, Dave wrote: > Anyone have any tricks for generating a random seed in RunRev? If you just want to set the randomSeed for something like the start of a game, then use the milliseconds. IIRC, on one OS, I forgot which, you have to modify that to make sure it is in the right range. Unless you have some special need, your game will be fine with the initial value set by Revolution or any value left by the previous game depending on when the game starts. If you need better random bits, just ask! Dar From eric.chatonet at sosmartsoftware.com Fri Dec 8 12:57:56 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Dec 2006 18:57:56 +0100 Subject: Getting a Random Seed for the Random Number Generator In-Reply-To: <67D37A88-CACF-4365-898E-247C785EDCD6@swcp.com> References: <003001c71907$e175aec0$0201010a@visualmicro> <45769756.000001.02044@MAZYTIS> <190183987189.20061206111046@ahsoftware.net> <9b408d8e0612061146w2e933472od3e7a355fd9153cb@mail.gmail.com> <302245088.20061207084331@ahsoftware.net> <9b408d8e0612071109i5381c638v1714ce258960ec2a@mail.gmail.com> <67D37A88-CACF-4365-898E-247C785EDCD6@swcp.com> Message-ID: <92E79D5A-DC64-4709-9C19-9D2D10D0912A@sosmartsoftware.com> Hi Dar, Setting the randomSeed to the seconds is really clever ;-) As for me, and I apologize, I had not read Dave's question correctly... Le 8 d?c. 06 ? 18:51, Dar Scott a ?crit : > On Dec 8, 2006, at 6:33 AM, Dave wrote: > >> Anyone have any tricks for generating a random seed in RunRev? > > If you just want to set the randomSeed for something like the start > of a game, then use the milliseconds. IIRC, on one OS, I forgot > which, you have to modify that to make sure it is in the right range. > > Unless you have some special need, your game will be fine with the > initial value set by Revolution or any value left by the previous > game depending on when the game starts. > > If you need better random bits, just ask! > > Dar Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From dan at shafermedia.com Fri Dec 8 13:41:26 2006 From: dan at shafermedia.com (Dan Shafer) Date: Fri, 8 Dec 2006 10:41:26 -0800 Subject: OT: Would I need a content management system for this? In-Reply-To: References: Message-ID: <70ed6b130612081041m27014da8yf753d8c1409a2f05@mail.gmail.com> You would certanly not need a full-blown CMS for these tasks, but your question makes me wonder if you've perhaps taken a bit of a wrong-headed approach to what a CMS can do for you. Drupal, Joomlia, Plone, and a number of other such products don't only make it easier to permit people with little or no HTML coding experience to maintain certain aspects of a Web site, they also contain a bunch of built-in, tightly integrated modules that streamline and facilitate other functionality. Drupal is, at least in my experience, almost ridiculously easy to implement, customize and maintain and would give you either out of the box or in add-in modules all of the functionality you've listed here with little or no actual programming. The same can be said of the other open source CMS solutions. What I think I'm trying to say is that when I advise clients these days on the design and implementation of Web sites that are more than just brochureware, I encourage them to begin with a decent open source CMS and only move outside of it if there's some essential functionality they can't otherwise get. At least that's my 11 cents' worth. (Price of opinions has to keep pace with inflation, you know.) Dan On 12/8/06, RGould8 at aol.com wrote: > > Say, if I wanted to create a web-site that supports the following > functionality, would I need a full-blown content management system like > Drupal or > Joomla!, or could I get away with something simpler like Contribute and > some > open-source modules? > > Needed features: > > 1) Message boards > 2) Local search (searching through past articles that were displayed on > the > site) > 3) Video streaming > 4) Filtered rostering > 5) Ability to allow 5-6 editors to update text/pictures on certain pages > of > the site. > > We're not talking a high-bandwidth site here either - - - could be 800 > hits a > day, for a non-profit. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jhonken at webdsp.com Fri Dec 8 14:17:43 2006 From: jhonken at webdsp.com (jhonken) Date: Fri, 8 Dec 2006 14:17:43 -0500 Subject: Save Stack Locally Message-ID: <000201c71afd$8e1b2460$c80ab50a@DellLaptop> I'm trying to save a stack that I'm pulling from the internet locally. My code doesn't error it just doesn't save it. Am I using the wrong syntax? --> Launches Stack go stack URL "http://www.x12.com/x12provider.rev" --> Saves Stack save stack URL "http://www.x12.com/x12provider.rev" as x12provider.rev From ambassador at fourthworld.com Fri Dec 8 14:29:37 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 Dec 2006 11:29:37 -0800 Subject: Save Stack Locally Message-ID: <4579BD21.5040600@fourthworld.com> jhonken wrote: > I'm trying to save a stack that I'm pulling from the internet locally. > My code doesn't error it just doesn't save it. Am I using the wrong > syntax? > > --> Launches Stack > go stack URL "http://www.x12.com/x12provider.rev" > > --> Saves Stack > save stack URL "http://www.x12.com/x12provider.rev" as x12provider.rev I don't think the "as" option works with the save command; not sure why it doesn't error though. Try setting the stack's filename property before saving: go stack "http://www.x12.com/x12provider.rev" set the filename of this stack to "x12provider.rev" save this stack -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From FlexibleLearning at aol.com Fri Dec 8 14:36:17 2006 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 8 Dec 2006 14:36:17 EST Subject: Multi-standalone communication Message-ID: This is what the Scripter's Scrapbook uses in the IAC for third party add-ons and has the benefit of being inter-operably cross-platform. Build in a 'watched folder' with a polling timer and you're good to go. /H www.ssbk.co.uk Home of The Scripter's Scrapbook Dar wrote... You can also use files, maybe something like this. The sender, A, can write a file "tempAToB", wait until there is no "AToB" and then rename "tempAToB" to "AToB". The receiver, B, might look for the new "AToB", read it, and delete it. For very short messages, just rename the file and look for changes. You can also use multiple files as a queue in alphabetical order. From jhonken at webdsp.com Fri Dec 8 14:48:16 2006 From: jhonken at webdsp.com (jhonken) Date: Fri, 8 Dec 2006 14:48:16 -0500 Subject: Save Stack Locally In-Reply-To: <4579BD21.5040600@fourthworld.com> Message-ID: <002e01c71b01$d4154730$c80ab50a@DellLaptop> Richard, Thanks that worked great. Jeff -----Original Message----- From: Richard Gaskin [mailto:ambassador at fourthworld.com] Sent: Friday, December 08, 2006 2:30 PM To: How to use Revolution Subject: Re: Save Stack Locally jhonken wrote: > I'm trying to save a stack that I'm pulling from the internet locally. > My code doesn't error it just doesn't save it. Am I using the wrong > syntax? > > --> Launches Stack > go stack URL "http://www.x12.com/x12provider.rev" > > --> Saves Stack > save stack URL "http://www.x12.com/x12provider.rev" as x12provider.rev I don't think the "as" option works with the save command; not sure why it doesn't error though. Try setting the stack's filename property before saving: go stack "http://www.x12.com/x12provider.rev" set the filename of this stack to "x12provider.rev" save this stack -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.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 david at openpartnership.net Fri Dec 8 15:05:04 2006 From: david at openpartnership.net (David Bovill) Date: Fri, 8 Dec 2006 15:05:04 -0500 Subject: IP address of current computer.... Message-ID: Is there a simple way of obtaining the IP address of the current computer? From runrev260805 at m-r-d.de Fri Dec 8 15:31:12 2006 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 8 Dec 2006 20:31:12 +0000 Subject: IP address of current computer.... Message-ID: Hi, answer hostnametoaddress(the hostName) shows the ipdress. Best regards, Matthias -------- Original Message -------- Subject: IP address of current computer.... (08-Dez-2006 21:08) From: David Bovill To: runrev260805 at m-r-d.de > Is there a simple way of obtaining the IP address of the current computer? > _______________________________________________ > use-revolution mailing list > use-revolution 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 dsc at swcp.com Fri Dec 8 15:37:02 2006 From: dsc at swcp.com (Dar Scott) Date: Fri, 8 Dec 2006 13:37:02 -0700 Subject: Getting a Random Seed for the Random Number Generator In-Reply-To: <92E79D5A-DC64-4709-9C19-9D2D10D0912A@sosmartsoftware.com> References: <003001c71907$e175aec0$0201010a@visualmicro> <45769756.000001.02044@MAZYTIS> <190183987189.20061206111046@ahsoftware.net> <9b408d8e0612061146w2e933472od3e7a355fd9153cb@mail.gmail.com> <302245088.20061207084331@ahsoftware.net> <9b408d8e0612071109i5381c638v1714ce258960ec2a@mail.gmail.com> <67D37A88-CACF-4365-898E-247C785EDCD6@swcp.com> <92E79D5A-DC64-4709-9C19-9D2D10D0912A@sosmartsoftware.com> Message-ID: <85C595AD-37DD-43E7-A3B5-DE00B5EBDBF2@swcp.com> On Dec 8, 2006, at 10:57 AM, Eric Chatonet wrote: > Setting the randomSeed to the seconds is really clever ;-) > As for me, and I apologize, I had not read Dave's question > correctly... I'm sure your general information was helpful. We all answer the best we can and sometimes one of us hits upon the right question and the right level of answer. I find many answers very interesting even when it turns out they miss the question. Once in a while, even I come up with an answer that is not baffling to everybody. Dar From wdesmet at wanadoo.nl Fri Dec 8 15:44:01 2006 From: wdesmet at wanadoo.nl (William de Smet) Date: Fri, 8 Dec 2006 21:44:01 +0100 Subject: Copy image from browser to image on stack In-Reply-To: References: Message-ID: Hi Jim, I don't want drag and drop but copy/paste. And why does Rev (2.7.4 on OSX) quit on me while executing the code (put the clipboarddata["image"] into image "X") ? William 2006/12/8, Jim Ault : > > On 12/8/06 8:52 AM, "William de Smet" wrote: > > > Ht there Klaus, > > > > I checked the docs and I read your suggestion. > > When I put this code into a button it crashes Rev on my Mac. > > The docs say it only works with PNG images. > > But I want to use GIF's and JPEG's as well! > > > > It keeps crashing (on a PNG image) so I think this doesn't work. > > Any suggestions, anyone? > > Checkout Eric Chatonet's > #005 How to drag and drop and store images > that uses drag and drop with 3 choices for the file handling (radio btns). > > 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 > > -- ICT-co?rdinator Herman Broerenschool 2612 SP Delft 015-2141066 http://www.hermanbroerenschool-delft.nl From cszasz at mac.com Fri Dec 8 15:55:10 2006 From: cszasz at mac.com (Charles Szasz) Date: Fri, 8 Dec 2006 15:55:10 -0500 Subject: Return in entry fields Message-ID: <8E5BE20E-1A31-4010-BA99-8A3A652442A2@mac.com> I have the following script in fields where the user enter data. The script allows only two digits to be entered into fields. This works great with the user using the Tab key to move to the next field after data is entered. However, if the user enters two numbers and presses the Return key, the numbers are pushed aside in the entry field and you cannot see the numbers and the enter does not advance to the next field. How can I allow entry of two numbers using the Tab and Return key? ON keyDown whichKey IF whichKey is a number THEN IF the selection is not empty THEN delete the selection IF the length of me < 2 THEN pass keyDown ELSE beep -- or something to indicate longer number is prohibited END IF END IF END keyDown Charles Szasz cszasz at mac.com From dsc at swcp.com Fri Dec 8 15:56:15 2006 From: dsc at swcp.com (Dar Scott) Date: Fri, 8 Dec 2006 13:56:15 -0700 Subject: IP address of current computer.... In-Reply-To: References: Message-ID: On Dec 8, 2006, at 1:05 PM, David Bovill wrote: > Is there a simple way of obtaining the IP address of the current > computer? Yes. Oh, you want to know what it is? Since you say "the" IP address, I assume you are expecting a single address. Sarah mentioned this one and probably got it from someone who was perhaps inspired by my comments: function getLocalIPAddress put "255.255.255.255:6000" into tCheckAddress open datagram socket to tCheckAddress put the hostAddress of tCheckAddress into tMyIP close socket tCheckAddress return tMyIP end getLocalIPAddress A bug was introduced into OS X that causes an error if you try to write to a broadcast address, but that is not be needed. In special cases, a computer might have multiple IP addresses, as in the case of a firewall or a computer using dialup and a LAN at the same time. If you have multiple IP addresses on the computer, you can get the one that would be used to route to some address by using that address instead of 255.255.255.255, the broadcast address. For example, you can get the one for Internet by using a non private Internet address. Alternately, if your DHCP server's private IP address is known, you can use that to get to get the private IP address. The broadcast will get you the "primary" IP address, whatever that means. The ability to get the hostAddress was fixed on OS X at some point so this won't work in old versions. This does no communication. It is not intrusive. You can use some IP address without even touching the associated computer. That computer and your routers do not even have to be up. Dar From dsc at swcp.com Fri Dec 8 16:02:14 2006 From: dsc at swcp.com (Dar Scott) Date: Fri, 8 Dec 2006 14:02:14 -0700 Subject: IP address of current computer.... In-Reply-To: References: Message-ID: On Dec 8, 2006, at 1:31 PM, runrev260805 at m-r-d.de wrote: > answer hostnametoaddress(the hostName) This works on my OS X 10.4.8. I have a vague notion of this not working, perhaps on some OS or in older versions of Revolution or in my error. If this works across platforms, then this is better than what I suggested. Dar From david at openpartnership.net Fri Dec 8 16:06:35 2006 From: david at openpartnership.net (David Bovill) Date: Fri, 8 Dec 2006 16:06:35 -0500 Subject: IP address of current computer.... In-Reply-To: References: Message-ID: Great thanks that works a treat! NB in my situation here I am on a wireless network -- and from there attached to the internet. The function you posted returns the same as the preference panel - that is my (external?) ip address on MacOSX 10.4.8. Other machines on the wireless LAN can connect using this address - can any one out there test if you can connect to the following socket? IP: 172.20.169.23 Port: 4567 From david at openpartnership.net Fri Dec 8 16:08:56 2006 From: david at openpartnership.net (David Bovill) Date: Fri, 8 Dec 2006 16:08:56 -0500 Subject: IP address of current computer.... In-Reply-To: References: Message-ID: Something that I would like to clarify - if I want to get 2 way communication using datagrams do I need to have 2 servers on each machine and 2 pipes open - or can I send information back and forth both ways on the same datagram socket connection? From r.venzl-schubert at t-online.de Fri Dec 8 16:10:58 2006 From: r.venzl-schubert at t-online.de (Reinhold Venzl-Schubert) Date: Fri, 8 Dec 2006 22:10:58 +0100 Subject: How to fill out Database Query Builder fields In-Reply-To: <20061205122522.545E4488F46@mail.runrev.com> References: <20061205122522.545E4488F46@mail.runrev.com> Message-ID: <6BD531EA-0954-43C2-96C8-24378B0709D4@t-online.de> Hi Bill, thank you for your consolation. I switched off Revolution for 3 days and than I swore never to use any QueryBuilder in my life. Ok, I will use Trevors library, but how I have to put it? I found of a Change Log.txt, a folder docs with the files "bmm-cod.css", "Getting Started with libDatabase.pdf" and "libDatabase.html" and the file libDatabase.rev Reinhold Am 05.12.2006 um 13:25 schrieb use-revolution-request at lists.runrev.com: > Don't give up. I use SQLite3 and it worked great with RunRev and > the ALTSQL > plug in. Now I upgraded to 2.7.4 and after moving my datafile (has > to be in > the same folder as RunRev main file) and putting the altsqlite > plugins where > they go it works fine .... > > But, I can't help you with the query builder connection fill-out I > find that > even though it works there is no pop-up for SQLite anymore and it > is "MYSQL" > that is chosen and which is working even though I'm using SQLite. > > In any case I highly recommend that you use Trever's library as > much as > possible instead of the query builder as the query builder behaves > more like > wine making than science. Trever's library also works faster and > you never > get weird errors like the "too many connections open" that you get > with the > query builder. The query builder is not really finished anyway as > it does > not allow you to insert a new record and the edit record feature > doesn't > always work (you enter data in a field and be sure to tab to the > next field > and then refresh to check it). > > Please try Trevor's library before you give up. From jacque at hyperactivesw.com Fri Dec 8 16:21:53 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 Dec 2006 15:21:53 -0600 Subject: Copy image from browser to image on stack In-Reply-To: References: Message-ID: <4579D771.6020403@hyperactivesw.com> William de Smet wrote: > Hi Jim, > > I don't want drag and drop but copy/paste. > And why does Rev (2.7.4 on OSX) quit on me while executing the code > (put the clipboarddata["image"] into image "X") ? I've noticed a lot of crashes regarding images in 2.7.4. It's a bug. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bill at bluewatermaritime.com Fri Dec 8 16:32:08 2006 From: bill at bluewatermaritime.com (Bill) Date: Fri, 08 Dec 2006 17:32:08 -0400 Subject: How to fill out Database Query Builder fields In-Reply-To: <6BD531EA-0954-43C2-96C8-24378B0709D4@t-online.de> Message-ID: Start with reading the PDF. On 12/8/06 5:10 PM, "Reinhold Venzl-Schubert" wrote: > Hi Bill, > > thank you for your consolation. I switched off Revolution for 3 days > and than I swore never to use any QueryBuilder in my life. > > Ok, I will use Trevors library, but how I have to put it? > > I found of a Change Log.txt, > a folder docs with the files > "bmm-cod.css", > "Getting Started with libDatabase.pdf" and > "libDatabase.html" > and the file libDatabase.rev > > Reinhold > > > Am 05.12.2006 um 13:25 schrieb use-revolution-request at lists.runrev.com: > >> Don't give up. I use SQLite3 and it worked great with RunRev and >> the ALTSQL >> plug in. Now I upgraded to 2.7.4 and after moving my datafile (has >> to be in >> the same folder as RunRev main file) and putting the altsqlite >> plugins where >> they go it works fine .... >> >> But, I can't help you with the query builder connection fill-out I >> find that >> even though it works there is no pop-up for SQLite anymore and it >> is "MYSQL" >> that is chosen and which is working even though I'm using SQLite. >> >> In any case I highly recommend that you use Trever's library as >> much as >> possible instead of the query builder as the query builder behaves >> more like >> wine making than science. Trever's library also works faster and >> you never >> get weird errors like the "too many connections open" that you get >> with the >> query builder. The query builder is not really finished anyway as >> it does >> not allow you to insert a new record and the edit record feature >> doesn't >> always work (you enter data in a field and be sure to tab to the >> next field >> and then refresh to check it). >> >> Please try Trevor's library before you give up. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- http://www.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 2087 Rio Grande, PR 00745 From david at openpartnership.net Fri Dec 8 16:32:18 2006 From: david at openpartnership.net (David Bovill) Date: Fri, 8 Dec 2006 16:32:18 -0500 Subject: ZeroConf Message-ID: Alex - do you have an update to the ZeroConf exteral? I could not find it on http://mindlube.com/! I need a universal binary version! Thanks Or is there a way ow to do this usig a command line tool on OSX - I cannot find one out here? From wow at together.net Fri Dec 8 17:05:06 2006 From: wow at together.net (Richard Miller) Date: Fri, 8 Dec 2006 17:05:06 -0500 Subject: Multi-standalone communication In-Reply-To: References: Message-ID: <62F0499B-CF89-45D7-AC54-63C8FB313E9A@together.net> Now that I have three standalones talking to one another, I'm looking for a way to force any one of them (which would likely be operating in the background) to become the topmost window in Windows. The "toplevel stack" command doesn't seem to do it. Thanks. Richard Miller Imprinter Technologies From david at openpartnership.net Fri Dec 8 17:07:55 2006 From: david at openpartnership.net (David Bovill) Date: Fri, 8 Dec 2006 17:07:55 -0500 Subject: Multi-standalone communication In-Reply-To: <62F0499B-CF89-45D7-AC54-63C8FB313E9A@together.net> References: <62F0499B-CF89-45D7-AC54-63C8FB313E9A@together.net> Message-ID: Try the systemwindow property? From kray at sonsothunder.com Fri Dec 8 17:30:16 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 08 Dec 2006 16:30:16 -0600 Subject: Return in entry fields In-Reply-To: <8E5BE20E-1A31-4010-BA99-8A3A652442A2@mac.com> Message-ID: On 12/8/06 2:55 PM, "Charles Szasz" wrote: > I have the following script in fields where the user enter data. The > script allows only two digits to be entered into fields. This works > great with the user using the Tab key to move to the next field after > data is entered. However, if the user enters two numbers and presses > the Return key, the numbers are pushed aside in the entry field and > you cannot see the numbers and the enter does not advance to the next > field. > > How can I allow entry of two numbers using the Tab and Return key? Set the autoTab of the field to true - this causes the Return key to act like a tab and go to the next aailable control to get the focus (usually the next field in line). Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From JimAultWins at yahoo.com Fri Dec 8 17:30:30 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 08 Dec 2006 14:30:30 -0800 Subject: IP address of current computer.... In-Reply-To: Message-ID: On 12/8/06 1:08 PM, "David Bovill" wrote: > Something that I would like to clarify - if I want to get 2 way > communication using datagrams do I need to have 2 servers on each machine > and 2 pipes open - or can I send information back and forth both ways on the > same datagram socket connection? Basically app1 write "message string, hello, there" to socket "112.122.22.33:4567" --will do this and if there is an app at "112.122.22.33" listening on port 4567, it will receive the packet containing if app2 does write "valuable data" to socket "112.122.22.99:4666" -- need to have an app listening on port 4666 on the other computer located at "112.122.22.99" Provisions Routers and firewalls have to allow the port traffic between computers Only one app can receive packets on a single port number on the same computer. One app can listen to many ports on the same computer --- example open datagram socket 4567 with message "iGotPacketOn4567" open datagram socket 5589 with message "iGotPacketOn5589" open datagram socket 5600 with message "iGotPacketAsGeneralDelivery" open datagram socket 5601 with message "iGotPacketAsGeneralDelivery" open datagram socket 5602 with message "iGotPacketAsGeneralDelivery" --- It is not, as you said, 'on the same datagram socket connection' but rather when "app1 talks on which port is app2 configured to listen" Five apps can talk to app1 if they use the IP address and the correct port. app1 will handle the datagrams in the order received and the operating system on app1's computer will queue them to be sent to app1 when it is available. Hope this helps you get a better handle on things. It is a bit like a parcel service that delivers to your door, if is has the correct address and you are at home, listening for the door bell. Jim Ault Las Vegas From JimAultWins at yahoo.com Fri Dec 8 17:32:03 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 08 Dec 2006 14:32:03 -0800 Subject: Return in entry fields In-Reply-To: <8E5BE20E-1A31-4010-BA99-8A3A652442A2@mac.com> Message-ID: Click the 'Tab on Return' check box in the inspector palette. Should do the trick. Jim Ault Las Vegas On 12/8/06 12:55 PM, "Charles Szasz" wrote: > I have the following script in fields where the user enter data. The > script allows only two digits to be entered into fields. This works > great with the user using the Tab key to move to the next field after > data is entered. However, if the user enters two numbers and presses > the Return key, the numbers are pushed aside in the entry field and > you cannot see the numbers and the enter does not advance to the next > field. > > How can I allow entry of two numbers using the Tab and Return key? > > ON keyDown whichKey > IF whichKey is a number THEN > IF the selection is not empty THEN delete the selection > IF the length of me < 2 THEN > pass keyDown > ELSE > beep -- or something to indicate longer number is prohibited > END IF > END IF > END keyDown > From kray at sonsothunder.com Fri Dec 8 17:32:14 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 08 Dec 2006 16:32:14 -0600 Subject: Save Stack Locally In-Reply-To: <000201c71afd$8e1b2460$c80ab50a@DellLaptop> Message-ID: On 12/8/06 1:17 PM, "jhonken" wrote: > --> Saves Stack > save stack URL "http://www.x12.com/x12provider.rev" as x12provider.rev Although this would be a nice syntax addition to the language: save [{as|to} ] :-) Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From lmpeterson at mac.com Fri Dec 8 17:49:16 2006 From: lmpeterson at mac.com (Lynn Peterson) Date: Fri, 8 Dec 2006 14:49:16 -0800 Subject: Image question In-Reply-To: <20061207180004.C81254891A6@mail.runrev.com> References: <20061207180004.C81254891A6@mail.runrev.com> Message-ID: <8010C30B-DEC9-4B2C-B867-00FBC958393B@mac.com> I'm way late on responding to this, but in my experience, there is no need to choose the Windows *.ico files. Do your "get info" on the .icns file you want, then just choose "New from clipboard" from Preview's File menu (or Command-N). Then go ahead with rest of what Klaus suggested as to how to save the file (PNG/Alpha) and import into Rev. Still tedious... maybe a good job for AppleScript if it hasn't been done already . Happy Holidays ~ Lynn P. `````````````````` On Dec 7, 2006, Klaus Major wrote: > Hi Mark, > >> Hi all, I am a complete ignoramus when it comes to handling images, >> icons and so-on. >> >> I've downloaded some good freeware icons (http://www.fasticon.com/ >> downloads.html) for an app I'm making, and they're in the form of >> folder icons ie. a bunch of empty folders which show their icons in >> the finder (I'm on OS X). >> >> If I "get info" and copy the icon from the the finder info window >> and then paste onto my stack using "paste image", I get an >> apparently empty image. If I use iconoghrapher to open the icon, >> and then copy it, and "import image as control" in Rev, I get the >> image, but it's background rectangle is white in some cases, or >> half the image is invisible in others. This is to do with masks and >> alpha data and stuff which I don't currently understand, I guess. >> >> Can anyone suggest the easiest way to get these icons into my stack >> such that they display properly? > > well, the trick here is to download the WINDOWS icon pack :-) > That will contain a bunch of "*.ico" files but "Preview" can open > them! > > The mac version contains "Adobe Photoshop Pict resource" files, as > told by the "Info" window, > but Photoshop cannot open them! > > Since there are several images in one file, open the drawer in > "Preview" and click the > expand arrow fo the image on top of the drawer. > > Select the icon you want to use by clicking/selecting it and choose > "Save as..." from the file menu. > Choose "PNG" as fileformat and check (if not already checked) "Alpha". > > NOW you can import the image into Rev without problems! > A BIT tedious, but does work :-) > > Hope that helps. > >> Thanks for any help, >> >> Mark > > Regards > > Klaus Major From jiml at netrin.com Fri Dec 8 18:34:04 2006 From: jiml at netrin.com (Jim Lambert) Date: Fri, 8 Dec 2006 15:34:04 -0800 Subject: Multi-standalone communication In-Reply-To: <20061208163149.E1836489254@mail.runrev.com> Message-ID: Dar wrote: This has got me thinking (always dangerous). Some have lamented the lack of multi-threading in Rev, especially for serverside work. Might Dar's approach be the basis for rolling one's own multi-threaded app? Imagine a REV CGI that talks to the Internet. Based on the type of requests it gets, it can launch copies of itself, or other more-specialized Rev executables, to process those requests. Using the inter-app communication techniques previously discussed, the 'controlling app' manages those sister apps. Wouldn't the net effect (as it were!) be a kind of multi-threading? Jim Lambert From jsng at wayoflife.org Fri Dec 8 19:40:30 2006 From: jsng at wayoflife.org (Jesse Sng) Date: Sat, 9 Dec 2006 08:40:30 +0800 Subject: Multi-standalone communication In-Reply-To: <0B3A211E-055C-4C45-8D74-2DC2494EB549@swcp.com> References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> <6F71AD4F-527C-40D8-AC90-4EB2B4273AF9@economy-x-talk.com> <160C6AAB-9B36-4AE1-8A99-61D714D80C7D@major-k.de> <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> <0850166A-8B21-4B2E-8F04-7395DC0226EC@together.net> <0B3A211E-055C-4C45-8D74-2DC2494EB549@swcp.com> Message-ID: Hi, I've only been skimming through this discussion, but IF you are only running on the Mac, you might want to try using AppleEvents to communicate between the 2 apps in a peer to peer manner. You can design specific AE messages to mean certain things and then have the receiving app take appropriate action. You are able also to pass parameters and it need be, even have these 2 apps work across the network on different machines. I haven't had a chance to attempt all this on OS X, but since AppleEvents have been migrated over, it should pretty much just work with some minor modifications. Years back, I was able to even have this work across a LAN bridge that used a modem so that I could remotely control apps that were on a large fibre network, all from the comfort of home. Jesse From JimAultWins at yahoo.com Fri Dec 8 19:49:27 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 08 Dec 2006 16:49:27 -0800 Subject: Multi-standalone communication In-Reply-To: Message-ID: On 12/8/06 3:34 PM, "Jim Lambert" wrote: > Dar wrote: > circumstances. One standalone is the controlling app. The others > are started and ended by the controlling app. All communication is > to/from/through the controlling app. There are some gotchas in > process I/O and in using stdin/stdout, but this discussion list is > here. (The more general approach might be a tree including a chain.)> > > This has got me thinking (always dangerous). > Some have lamented the lack of multi-threading in Rev, especially for > serverside work. > > Might Dar's approach be the basis for rolling one's own multi-threaded app? > Imagine a REV CGI that talks to the Internet. Based on the type of requests > it gets, it can launch copies of itself, or other more-specialized Rev > executables, to process those requests. Using the inter-app communication > techniques previously discussed, the 'controlling app' manages those sister > apps. > > Wouldn't the net effect (as it were!) be a kind of multi-threading? > Yes, this has been discussed in the last couple months. The idea is that since operating systems are multi-threaded, using more that one app would create a parallel processing condition. I use this in my project where I need to listen to a low-speed UDP data stream and process it, and then do some heavy lifting with the good data. I am actually running 4 apps to achieve asynchronous looping, listening and separate control. I have had no crashes or slow downs due the the processes on this computer. All inter-app communication is done using UDP, but there are other methods. This is *not* a CGI-running-on-a-server installation, however. Jim Ault Las Vegas From JimAultWins at yahoo.com Fri Dec 8 20:04:05 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 08 Dec 2006 17:04:05 -0800 Subject: Multi-standalone communication In-Reply-To: Message-ID: On 12/8/06 4:40 PM, "Jesse Sng" wrote: > I've only been skimming through this discussion, but IF you are only > running on the Mac, you might want to try using AppleEvents to > communicate between the 2 apps in a peer to peer manner. > > You can design specific AE messages to mean certain things and then > have the receiving app take appropriate action. You are able also to > pass parameters and it need be, even have these 2 apps work across > the network on different machines. > > I haven't had a chance to attempt all this on OS X, but since > AppleEvents have been migrated over, it should pretty much just work > with some minor modifications. > > Years back, I was able to even have this work across a LAN bridge > that used a modem so that I could remotely control apps that were on > a large fibre network, all from the comfort of home. Since you brought it up, I will say that the previous message I send was describing 4 apps I am running on a Mac Mini Duo Intel processor with a clean system, except for Timbuktu running constantly. In my case, Applescript would be far too slow, since my messaging can be as many as 6-10 packets per second between the data service provider, 4 Rev apps local, and 6 Rev apps remote (and 3 of the remote apps are running on Windows) Two of the apps are running on the other side of the Atlantic on a Mac Mini Solo. Very smooth and I believe I have a lot of capacity to handle more traffic on all the computers. I am not an Applescript expert, but I cannot imagine any of my Applescripts keeping up such a pace, day after day, without failure. Glad you chimed in. Jim Ault Las Vegas From m.schonewille at economy-x-talk.com Fri Dec 8 22:08:46 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 9 Dec 2006 04:08:46 +0100 Subject: Getting a Random Seed for the Random Number Generator In-Reply-To: References: <003001c71907$e175aec0$0201010a@visualmicro> <45769756.000001.02044@MAZYTIS> <190183987189.20061206111046@ahsoftware.net> <9b408d8e0612061146w2e933472od3e7a355fd9153cb@mail.gmail.com> <302245088.20061207084331@ahsoftware.net> <9b408d8e0612071109i5381c638v1714ce258960ec2a@mail.gmail.com> Message-ID: <71C478BC-EC1A-4B84-8F18-77531922B4D3@economy-x-talk.com> Hi Dave, There is a simple, free library in the developers section of the Economy-x-Talk site. The library is called RndLib and connects to random.org and provides several ways to download true random numbers. Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 8-dec-2006, om 14:33 heeft Dave het volgende geschreven: > Hi All, > > Anyone have any tricks for generating a random seed in RunRev? > > Thanks a lot, > All the Best > Dave From cszasz at mac.com Fri Dec 8 23:39:34 2006 From: cszasz at mac.com (Charles Szasz) Date: Fri, 8 Dec 2006 23:39:34 -0500 Subject: Return In Field Message-ID: I appreciate Ken and Jim's help. However, I have autotab set to true but this does not help. I am using Galaxy Studio 1.5. Is this a bug in Galaxy Studio? Charles Szasz cszasz at mac.com From schaubeck at mac.com Fri Dec 8 23:42:08 2006 From: schaubeck at mac.com (Jim Schaubeck) Date: Fri, 08 Dec 2006 20:42:08 -0800 Subject: Multi-user stack question Message-ID: <5BDD1C64-010F-1000-EED3-AE29A5BCCB4E-Webmail-10008@mac.com> Folks, I'm writing a stack to build a database of customers for our Sales and System Engineering team. Will be much less than a couple thousand cards with about 100 or so various unique fields and pulldown buttons per card. I can do it easily with RunRev but I want the database or stack to be accessed and modifiable from multiple folks on a private network. I'm familiar with RunRev (prev Hypercard/Supercard stuff) but I am not familiar with using RunRev w/databases. Do I need to use a database (mysql,filemaker, etc) for this? Is the multi-user requirement the only reason for the separate database or can I use just RunRev AND multi-user? Thanks for any help, Jim From scott at cdroo.com Sat Dec 9 00:07:55 2006 From: scott at cdroo.com (Scott Kane) Date: Sat, 9 Dec 2006 16:07:55 +1100 Subject: Return In Field References: Message-ID: <000401c71b4f$fe259270$0201010a@visualmicro> > I am using Galaxy Studio 1.5. Is this a bug in Galaxy Studio? A long shot and the bleeing obvious - so no disrespect meant in the suggestion - but the List Behaviour checkbox isn't checked is it? Scott From cszasz at mac.com Sat Dec 9 00:18:48 2006 From: cszasz at mac.com (Charles Szasz) Date: Sat, 9 Dec 2006 00:18:48 -0500 Subject: Return In Field Message-ID: Scott, Thanks for your help but the list behavior is not set to true. Charles Szasz cszasz at mac.com From mwieder at ahsoftware.net Sat Dec 9 00:52:57 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Dec 2006 21:52:57 -0800 Subject: Multi-user stack question In-Reply-To: <5BDD1C64-010F-1000-EED3-AE29A5BCCB4E-Webmail-10008@mac.com> References: <5BDD1C64-010F-1000-EED3-AE29A5BCCB4E-Webmail-10008@mac.com> Message-ID: <24136011484.20061208215257@ahsoftware.net> Jim- Friday, December 8, 2006, 8:42:08 PM, you wrote: > Do I need to use a database (mysql,filemaker, etc) for this? You don't need to use a database for this, but for something that size I think you'll be happier with the result if you do. I have a smaller app that I just converted from being a card-based database system to using a mysql backend and it's now smaller and faster. The database linkage isn't hard to work out, but don't bother with the QueryBuilder junk - my advice would be to get Trevor DeVore's database library and start from there. -- -Mark Wieder mwieder at ahsoftware.net From lan.kc.macmail at gmail.com Sat Dec 9 01:38:58 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 9 Dec 2006 12:08:58 +0530 Subject: Multi-standalone communication In-Reply-To: <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> <6F71AD4F-527C-40D8-AC90-4EB2B4273AF9@economy-x-talk.com> <160C6AAB-9B36-4AE1-8A99-61D714D80C7D@major-k.de> <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> Message-ID: On 12/7/06, Richard Miller wrote: > > Looking for suggestions on how to have 2 or 3 Rev standalones talk to > one another (under Windows). These separate Rev apps cannot share the > same engine. Perhaps it's quite easy and I'm just overlooking it. OK, I'm a hobbyist I'll stick my head out, but all the solutions here seem to be overly complex for what appears to only require local processing at the speed of button clicking. I use a method that is easy and seems to be overlooked. I regularly send large amounts of data between 2 Standalones, you can: set the myCustomProp of stack "Standalone No 2" to tMyLargeAmountData -- if you just want the data to be available in Stack 2 for later use. If you want to start a process and send data to another stack it's pretty simple to: send hHandlerInAnotherStack tMyLargeAmountData to stack "Standalone 2" I only do this between two stacks, so specifying 'to stack "ABC" or 'to stack "DEF" is pretty easy, but I imagine that if you were working with 4 or 5 standalones it might be simpler to create a library stack, of which all 5 use, and then include 3 parameters with your handlers, the long Name of the Originating object, the long Name of the Destination object, the data The only problem with this is possible queuing conflicts. I don't know what will happen. In my case I click a button in Standalone 1 and in the background something happens in Standalone 2. If I go to Standalone 2 I can do things that change things in Standalone 1. If I click in Standalone 1 to start the process in Standalone 2, and then immediately go to Standalone 2 and it hasn't finished processing then I get the usual busy cursor. I can either click back to Standalone 1 and do something whilst Standalone 2 is crunching away or I can stay in Standalone 2 and wait for it to finish, then proceed. What I don't know is if you have 5 Standalones, and you click in Standalone 1 and it starts a process in Standalone 2 which runs a process in 3, which runs a process in 4, which runs a process in 5 which sends a message back to 1. If 1 is idle, it will be activated and everything will work. But if you commenced a Standalone 1 process and it is 'busy' and Standalone 5 sends a message to 1, I don't know if the queued message will be handled correctly. Actually I'm sure a couple of queued messages would be correctly dealt with, it is whether you have 100s of messages from different Standalones all queued whether they'll be handled correctly. I guess that's why everyone else has come up with more complex options, but depending on your needs, 'of stack "ABC" ' and 'send' maybe all you need:-) In my case I'm certainly no 'clicker at the speed of an sms sending teenager', so there is plenty of idle time in Standalone1 to catch 'send' from Standalone 2 and vica versa. I'm sure those in the know will tell me what other 'gotchas' exist with this method:-) From dsc at swcp.com Sat Dec 9 02:03:08 2006 From: dsc at swcp.com (Dar Scott) Date: Sat, 9 Dec 2006 00:03:08 -0700 Subject: IP address of current computer.... In-Reply-To: References: Message-ID: <1FD0B6DF-2F5C-4095-9849-D9E2EB6E1197@swcp.com> On Dec 8, 2006, at 2:06 PM, David Bovill wrote: > IP: 172.20.169.23 That's a private IP address. That would be visible only within your LAN. Your firewall might translate the IP address to another public IP address or translate the address and port to its address and a port. Some firewall have a "server" capability which allows you to assign a port on its public address to any computer and port in your LAN. So you might have 172.20.169.23 in your LAN but look like some other IP address out on the Internet. Dar From dsc at swcp.com Sat Dec 9 02:19:29 2006 From: dsc at swcp.com (Dar Scott) Date: Sat, 9 Dec 2006 00:19:29 -0700 Subject: Multi-standalone communication In-Reply-To: References: <35735DD6-FE55-492A-A204-0184015C0A84@looktowindward.com> <0DCB42F8-7B9A-43B0-911A-69D80C4B6331@economy-x-talk.com> <9F218B38-997A-4E1C-AD16-31E97D97AE8A@major-k.de> <6F71AD4F-527C-40D8-AC90-4EB2B4273AF9@economy-x-talk.com> <160C6AAB-9B36-4AE1-8A99-61D714D80C7D@major-k.de> <978C5B26-E21B-4545-95AB-2EFC705917D3@together.net> Message-ID: <5F4C41B6-5355-4D8E-9D92-07AB124AE0DE@swcp.com> On Dec 8, 2006, at 11:38 PM, Kay C Lan wrote: >> Looking for suggestions on how to have 2 or 3 Rev standalones talk to >> one another (under Windows). These separate Rev apps cannot share the >> same engine. Perhaps it's quite easy and I'm just overlooking it. > > > OK, I'm a hobbyist I'll stick my head out, but all the solutions > here seem > to be overly complex for what appears to only require local > processing at > the speed of button clicking. I use a method that is easy and seems > to be > overlooked. > > I regularly send large amounts of data between 2 Standalones, you can: > > set the myCustomProp of stack "Standalone No 2" to tMyLargeAmountData > -- if you just want the data to be available in Stack 2 for later > use. If > you want to start a process and send data to another stack it's pretty > simple to: > > send hHandlerInAnotherStack tMyLargeAmountData to stack "Standalone 2" In Revolution "standalone" has meant an application built from one or more stacks, a separate .exe or .app. Is that how you are using the term here? If so, this is very interesting. I have not seen this. I would like to learn more. If you are talking about several stacks in the Revolution IDE environment or run in the same standalone, then that bring up the good question of why use distinct applications. It might be that communication would be easier if all the stacks were in the same application. I have an old tutorial at my web site on "message mechanics" that allows an application to do several things at once. Dar -- ************************************** Dar Scott Dar Scott Consulting and Dar's Lab 8637 Horacio Place NE Albuquerque, NM 87111 Lab, office, home: +1 505 299 9497 Fax: call above first Skype: ask http://www.swcp.com/dsc dsc at swcp.com Computer programming ************************************** From kray at sonsothunder.com Sat Dec 9 02:39:04 2006 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 09 Dec 2006 01:39:04 -0600 Subject: Return In Field In-Reply-To: Message-ID: On 12/8/06 10:39 PM, "Charles Szasz" wrote: > I appreciate Ken and Jim's help. However, I have autotab set to true > but this does not help. Is there a keyDown/rawKeyDown/keyUp/rawKeyUp script in the field or in a frontScript? That might be intercepting the keystroke and doing something "funky" with it... > I am using Galaxy Studio 1.5. Is this a bug in Galaxy Studio? Jerry? ;-) Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From JimAultWins at yahoo.com Sat Dec 9 02:47:05 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 08 Dec 2006 23:47:05 -0800 Subject: Multi-standalone communication In-Reply-To: Message-ID: On 12/8/06 10:38 PM, "Kay C Lan" wrote: > OK, I'm a hobbyist I'll stick my head out, but all the solutions here seem > to be overly complex for what appears to only require local processing at > the speed of button clicking. I use a method that is easy and seems to be > overlooked. > > I regularly send large amounts of data between 2 Standalones, you can: > > set the myCustomProp of stack "Standalone No 2" to tMyLargeAmountData > -- if you just want the data to be available in Stack 2 for later use. If > you want to start a process and send data to another stack it's pretty > simple to: > > send hHandlerInAnotherStack tMyLargeAmountData to stack "Standalone 2" The original question related to a CGI solution and that Rev is not multi-threaded. Of particular concern is the number of hits a server can receive in the same few seconds (web or database) which would mean a single CGI app would be busy handling the first ping and not be able to keep up with multi-user environments or data query intense apps connecting to the CGI. Later in the thread, it became 2 or 3 apps on the same Windows computer. My required system is one of many tasks that need split-second timimg, thus UDP works well. In the past I used Applescript, text file writing, and even writing to an ftp folder/reading from that folder [in fact we still use 5% of that]. Another aspect of the UDP socket is that packets can be received and queued and performed(!) while I am stopping/debugging another script *in the same app* *in the same container*. That's right. I can step through variable watcher to see the data conversion repeat loop errors in one handler while the "gotNewPacket" handler gets triggered and stores the new data. I can then edit the handler I am in, apply, and everything keeps working. I mean, holy cow, I can test and recode my handlers on-the-fly!! Without this ability in Rev, my networking would still be on the workbench for repairs and debugging. The Rev message path keeps working so you can change the tires while your network is processing messages. Certainly this is above the hobbyist level, but is critical to my business venture, and would be an area of interest for CGI. Additionally I need apps running on different computers on different networks, so 'send' does not work. Glad you found and explored an easy 'send' method. I did not know that you could simply 'send' between two standalones. Does this really work on both Mac and Windows? or just Mac? Do you have any examples? My definition: Main stack >saved as > standalone.app or standalone.exe If all of my stacks could be in the same app on the same computer, life would be simple. Jim Ault Las Vegas ------------ Original email ------------------------------------------ > OK, I'm a hobbyist I'll stick my head out, but all the solutions here seem > to be overly complex for what appears to only require local processing at > the speed of button clicking. I use a method that is easy and seems to be > overlooked. > > I regularly send large amounts of data between 2 Standalones, you can: > > set the myCustomProp of stack "Standalone No 2" to tMyLargeAmountData > -- if you just want the data to be available in Stack 2 for later use. If > you want to start a process and send data to another stack it's pretty > simple to: > > send hHandlerInAnotherStack tMyLargeAmountData to stack "Standalone 2" > > I only do this between two stacks, so specifying 'to stack "ABC" or 'to > stack "DEF" is pretty easy, but I imagine that if you were working with 4 or > 5 standalones it might be simpler to create a library stack, of which all 5 > use, and then include 3 parameters with your handlers, the long Name of > the Originating object, the long Name of the Destination object, the data > > The only problem with this is possible queuing conflicts. I don't know what > will happen. In my case I click a button in Standalone 1 and in the > background something happens in Standalone 2. If I go to Standalone 2 I can > do things that change things in Standalone 1. If I click in Standalone 1 to > start the process in Standalone 2, and then immediately go to Standalone 2 > and it hasn't finished processing then I get the usual busy cursor. I can > either click back to Standalone 1 and do something whilst Standalone 2 is > crunching away or I can stay in Standalone 2 and wait for it to finish, then > proceed. > > What I don't know is if you have 5 Standalones, and you click in Standalone > 1 and it starts a process in Standalone 2 which runs a process in 3, which > runs a process in 4, which runs a process in 5 which sends a message back to > 1. If 1 is idle, it will be activated and everything will work. But if you > commenced a Standalone 1 process and it is 'busy' and Standalone 5 sends a > message to 1, I don't know if the queued message will be handled correctly. > Actually I'm sure a couple of queued messages would be correctly dealt with, > it is whether you have 100s of messages from different Standalones all > queued whether they'll be handled correctly. > > I guess that's why everyone else has come up with more complex options, but > depending on your needs, 'of stack "ABC" ' and 'send' maybe all you need:-) > In my case I'm certainly no 'clicker at the speed of an sms sending > teenager', so there is plenty of idle time in Standalone1 to catch 'send' > from Standalone 2 and vica versa. > > I'm sure those in the know will tell me what other 'gotchas' exist with this > method:-) From bridgeyman at gmail.com Sat Dec 9 02:51:14 2006 From: bridgeyman at gmail.com (Bridger Maxwell) Date: Sat, 9 Dec 2006 00:51:14 -0700 Subject: Lock Moves Bug? Message-ID: <86ae76bb0612082351x33be715dq65fb8dc2396bcdfd@mail.gmail.com> Hey, From the way the documentation reads, I would think that setting the lock moves to true, issuing a few move commands, and setting the lockmoves to false would start the move commands on all the objects at the same time. But I can't get it to work that way. Here is my script: lock moves set the lockMoves to true repeat with z = 1 to 10 put "Contact" & z into vObj ---Here is where I had a lot of script to calculate newLoc move btn vObj to newLoc end repeat unlock moves set the lockMoves to false When I run that they each move one after the other. They do not start at the same time. Not only that, but it takes up time as if it is moving, but I don't actually see the animation. I made a simpler test script with only two buttons and without a repeat loop and got the same result: on test if the loc of btn "Move1" is the line 1 of the tooltip of btn "Move1" then put the line 2 of the tooltip of btn "Move1" into loc1 else put the line 1 of the tooltip of btn "Move1" into loc1 end if if the loc of btn "Move2" is the line 1 of the tooltip of btn "Move2" then put the line 2 of the tooltip of btn "Move2" into loc2 else put the line 1 of the tooltip of btn "Move2" into loc2 end if lock moves move btn "Move1" to loc1 move btn "Move2" to loc2 unlock moves end test Because I can't use the lockmoves, I am just making it move without waiting. Does this mean there is a bug, or am I just doing it wrong? TTFN Bridger From klaus at major-k.de Sat Dec 9 04:33:22 2006 From: klaus at major-k.de (Klaus Major) Date: Sat, 9 Dec 2006 10:33:22 +0100 (MET) Subject: Copy image from browser to image on stack In-Reply-To: <4579D771.6020403@hyperactivesw.com> References: <4579D771.6020403@hyperactivesw.com> Message-ID: <00E4BFF6-6489-4E13-9810-2DDC4B743257@major-k.de> Hi Jaqueline and William, > William de Smet wrote: >> Hi Jim, >> I don't want drag and drop but copy/paste. >> And why does Rev (2.7.4 on OSX) quit on me while executing the code >> (put the clipboarddata["image"] into image "X") ? > > I've noticed a lot of crashes regarding images in 2.7.4. It's a bug. mabe this is related to bug nr. 4100, crash when dragging an image e.g. a video frame from QuickTime player to Rev. -> dragdata["image"] > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From viktoras at ekoinf.net Sat Dec 9 04:53:40 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Sat, 9 Dec 2006 11:53:40 +0200 (FLE Standard Time) Subject: Multi-standalone communication References: Message-ID: <457A87A3.000001.01024@MAZYTIS> Just wondering whether it would be possible/feasible to construct a feature (or maybe to bugzillae a feature request) of revolution engine, (or maybe a module or external), that would make different instances of rev engine running on same machine seeing each other and sharing their global variables Maybe such a module/feature could initially be implemented using sockets or environment variables or shared memory buffer for storing global values... The attractive side would be that if you declare global vComm in both instances of application, then the vComm will have same value in all. Hmmm, my 2 cnts... Viktoras -------Original Message------- From: Jim Ault Date: 12/9/2006 3:04:21 AM To: How to use Revolution Subject: Re: Multi-standalone communication On 12/8/06 4:40 PM, "Jesse Sng" wrote: > I've only been skimming through this discussion, but IF you are only > running on the Mac, you might want to try using AppleEvents to > communicate between the 2 apps in a peer to peer manner. > > You can design specific AE messages to mean certain things and then > have the receiving app take appropriate action. You are able also to > pass parameters and it need be, even have these 2 apps work across > the network on different machines. > > I haven't had a chance to attempt all this on OS X, but since > AppleEvents have been migrated over, it should pretty much just work > with some minor modifications. > > Years back, I was able to even have this work across a LAN bridge > that used a modem so that I could remotely control apps that were on > a large fibre network, all from the comfort of home. Since you brought it up, I will say that the previous message I send was describing 4 apps I am running on a Mac Mini Duo Intel processor with a clean system, except for Timbuktu running constantly. In my case, Applescript would be far too slow, since my messaging can be as many as 6-10 packets per second between the data service provider, 4 Rev apps local, and 6 Rev apps remote (and 3 of the remote apps are running on Windows) Two of the apps are running on the other side of the Atlantic on a Mac Mini Solo. Very smooth and I believe I have a lot of capacity to handle more traffic on all the computers. I am not an Applescript expert, but I cannot imagine any of my Applescripts keeping up such a pace, day after day, without failure. Glad you chimed in. 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 palcibiades-first at yahoo.co.uk Sat Dec 9 05:01:54 2006 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 9 Dec 2006 10:01:54 +0000 Subject: Beginning Programming for Dummies 4th edn Message-ID: <200612091001.54584.palcibiades-first@yahoo.co.uk> Well, based on the mentions here I popped over to Amazon and had a copy shipped over. Don't hold your breath for this to do any good for Revolution. Or Programming. Or even Computing. What we have is a series of topics, with the most sketchy illustrations imaginable, for each of the following platforms: Liberty Basic, RealBasic, C++, and Revolution. To give you a flavor, we get to p 175, which is about 'storing stuff in arrays' and by the end of p 193 we have covered static and dynamic arrays in C, multidimensional arrays, and 2D arrays in all of those platforms. Half or more of these pages are occupied by the simplest sorts of scripts - so simple that the differences between them are minimal. If any end user (or maybe anyone else) can read these pages and have the slightest idea how to write any useful program involving an array, they need not read Beginning Programming, because they will have an unusual ability to telepathically obtain howtos from the ether. If only! What would be a better approach? Get Dan Shafer's book revised for a third edition, some introductory parts slimmed down, a few more details on some of the topics, a few more detailed howtos, and put the CD with the express edition with it. Particularly expand the parts about storing, retrieving and deleting data. There's too much about the user interface, and too little about how to write stuff that deals with the data which is why the end user is writing the program in the first place. But, small criticisms aside, 'Software at the speed of thought' is really excellent for a first introduction for a sophisticated end user. It is everything that the Dummies book is not - it just needs to go a little further. And have the express edition packaged along with it. Get some detailed material on how to work with arrays, lists, and tables into the Revolution pdf. While at it, also get some account of how, given that I have sqlite installed already on my Etch machine, I get Revolution to talk to it.... After all, there are a host of free Linux apps starting with Kexi and Knoda and Rekall that do that. It seems to be the simplest way to get yourself an external data storage without having to fire up a database server. Oh dear, Revolution could have done so much better! Well, others may differ, but that was my reaction. I wouldn't even give this thing to the local charity shop, it could put someone off computing for life! Peter From paolo.mazza at neol.it Sat Dec 9 05:28:07 2006 From: paolo.mazza at neol.it (paolo mazza) Date: Sat, 09 Dec 2006 11:28:07 +0100 Subject: importing/exporting images with a transparent background In-Reply-To: <200612091001.54584.palcibiades-first@yahoo.co.uk> References: <200612091001.54584.palcibiades-first@yahoo.co.uk> Message-ID: Dear Friends... I got a problem importing images with a transparent background... can you help me on this? 1-I imported a picture (png file made by another program) into revolution 2-I modifyed the image with the eraser tool and I got an area with a trasparent backgroung (as expected) 3- I exported this image as png 4- I imported this emage again, and in MACOS the trasparent background is white and the in WINDOWS the transparent backgound is black. How can I fix this? In addition : - when I import images with trasnparent background made by other programs i get a white backgound - when I draw a picture in revolution with a transparent backgorund, export it and import it again.... It works fine ... I get a transparent background Thanks Paolo Mazza ****************************************** Paolo Mazza NEOL SRL Societ? partecipata dall'Universit? di Padova via N. Tommaseo 84 35131 - Padova Tel 049- 2050147 www.neol.it From jsng at wayoflife.org Sat Dec 9 05:47:03 2006 From: jsng at wayoflife.org (Jesse Sng) Date: Sat, 9 Dec 2006 18:47:03 +0800 Subject: Multi-standalone communication In-Reply-To: References: Message-ID: Hi Jim, >In my case, Applescript would be far too slow, since my messaging can be as >many as 6-10 packets per second between the data service provider, 4 Rev >apps local, and 6 Rev apps remote (and 3 of the remote apps are running on >Windows) >Two of the apps are running on the other side of the Atlantic on a Mac Mini >Solo. I wasn't talking about AppleScript, but AppleEvents. These are far simpler and much faster to send/receive and decode than AS. 6 to 10 per second is probably not a problem for AppleEvents given that back in the 90s, AppleEvents were used to process CGIs on webservers running on Mac OS 8 and 9. AE wasn't quite a fast back then and it has improved quite a bit on OS X. Basically, it would be used as a simple messaging mechanism that could incorporate the packaging of parameterized data. The OS would automatically queue the messages so that you can process it in sequence. The key advantage is that is is simpler to manage than packet sending/receiving while still retaining much of the speed advantage. Do a search on the online document for AppleEvent and also Send. There's a built in handler for receiving AppleEvents and also a way to extract data from an AE object. You can use the send command as follows (quoting the online doc): send "get field 3" to program "Corporate Zone:Other Mac:Revolution" send thisMessage to application "FileMaker" without reply send field ID 9 to program someProgram with "GURLGURL" If you notice the 1st example, it actually sends it across the network to a specific app on a specific machine. Jesse From eric.chatonet at sosmartsoftware.com Sat Dec 9 06:32:42 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Dec 2006 12:32:42 +0100 Subject: Lock Moves Bug? In-Reply-To: <86ae76bb0612082351x33be715dq65fb8dc2396bcdfd@mail.gmail.com> References: <86ae76bb0612082351x33be715dq65fb8dc2396bcdfd@mail.gmail.com> Message-ID: Hi Bridger, Have you tried to lock moves, move WITHOUT WAITING" and unlock moves. Not tested. Just a guess. Le 9 d?c. 06 ? 08:51, Bridger Maxwell a ?crit : > Hey, > From the way the documentation reads, I would think that setting > the lock > moves to true, issuing a few move commands, and setting the > lockmoves to > false would start the move commands on all the objects at the same > time. > But I can't get it to work that way. Here is my script: > > lock moves > set the lockMoves to true > repeat with z = 1 to 10 > put "Contact" & z into vObj > ---Here is where I had a lot of script to calculate newLoc > move btn vObj to newLoc > end repeat > unlock moves > set the lockMoves to false > > When I run that they each move one after the other. They do not > start at > the same time. Not only that, but it takes up time as if it is > moving, but > I don't actually see the animation. I made a simpler test script > with only > two buttons and without a repeat loop and got the same result: > > on test > if the loc of btn "Move1" is the line 1 of the tooltip of btn > "Move1" then > put the line 2 of the tooltip of btn "Move1" into loc1 > else > put the line 1 of the tooltip of btn "Move1" into loc1 > end if > if the loc of btn "Move2" is the line 1 of the tooltip of btn > "Move2" then > put the line 2 of the tooltip of btn "Move2" into loc2 > else > put the line 1 of the tooltip of btn "Move2" into loc2 > end if > > lock moves > move btn "Move1" to loc1 > move btn "Move2" to loc2 > unlock moves > end test > > > Because I can't use the lockmoves, I am just making it move without > waiting. Does this mean there is a bug, or am I just doing it wrong? > > TTFN > Bridger > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From adrian at clubtype.co.uk Sat Dec 9 07:26:11 2006 From: adrian at clubtype.co.uk (Adrian Williams) Date: Sat, 9 Dec 2006 12:26:11 +0000 Subject: Beginning Programming for Dummies 4th edn In-Reply-To: <200612091001.54584.palcibiades-first@yahoo.co.uk> References: <200612091001.54584.palcibiades-first@yahoo.co.uk> Message-ID: <6c7bf1c3ddfe4aaae50f4c871df841b8@clubtype.co.uk> Peter, As a new user of Revolution I agree with your analysis of Dummies. Small things can make a huge difference to beginners! For me 'Software At The Speed Of Thought' lacks an Index at the back which would make zeroing in on snippets *much* easier to locate. To counter this lack, I found myself having to use a highlighter pen on virtually every word of Courier (of current interest) set in the text. That's another thing. Typographically, the Times/Courier combination is not a good one. Important single words of Courier are hard to detect. One has to read the whole paragraph to encounter the Courier emphasized word. It does not have enough emphasis to make it stand out and contrast with Times. All 'Code' text in Courier Bold would have been better and easy to do. Yes, these comments are picky, but in a constructive way I hope and free advice from a Typeface Designer. Adrian On 9 Dec 2006, at 10:01, Peter Alcibiades wrote: > > Get Dan Shafer's book revised for a third edition, some introductory > parts > slimmed down, a few more details on some of the topics, a few more > detailed > howtos, and put the CD with the express edition with it. Particularly > expand > the parts about storing, retrieving and deleting data. There's too > much > about the user interface, and too little about how to write stuff that > deals > with the data which is why the end user is writing the program in the > first > place. > > But, small criticisms aside, 'Software at the speed of thought' is > really > excellent for a first introduction for a sophisticated end user. It is > everything that the Dummies book is not - it just needs to go a little > further. And have the express edition packaged along with it. > > Get some detailed material on how to work with arrays, lists, and > tables into > the Revolution pdf. > > > Peter From jerry at daniels-mara.com Sat Dec 9 08:24:49 2006 From: jerry at daniels-mara.com (Jerry Daniels) Date: Sat, 9 Dec 2006 07:24:49 -0600 Subject: Return In Field In-Reply-To: References: Message-ID: No. This is not the case. When in doubt, turn Galaxy off and try it. Best, Jerry Daniels Makers of Galaxy 1.5 http://www.daniels-mara.com/new_in_galaxy_1_5.htm On Dec 9, 2006, at 1:39 AM, Ken Ray wrote: > On 12/8/06 10:39 PM, "Charles Szasz" wrote: > >> I appreciate Ken and Jim's help. However, I have autotab set to true >> but this does not help. > > Is there a keyDown/rawKeyDown/keyUp/rawKeyUp script in the field or > in a > frontScript? That might be intercepting the keystroke and doing > something > "funky" with it... > >> I am using Galaxy Studio 1.5. Is this a bug in Galaxy Studio? > > Jerry? ;-) > > Ken Ray > Sons of Thunder Software, Inc. > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.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 mark at maseurope.net Sat Dec 9 10:58:38 2006 From: mark at maseurope.net (Mark Smith) Date: Sat, 9 Dec 2006 15:58:38 +0000 Subject: Save Stack Locally In-Reply-To: References: Message-ID: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> Er, from the dictionary: Syntax: save stack [as filePath] Examples: save stack "Targets" save this stack as "Backup" save stack "Treats" as "/Disk/Folder/File" This works on my system: Rev 2.7.4, Mac OS 10.4.7 Best, Mark On 8 Dec 2006, at 22:32, Ken Ray wrote: > On 12/8/06 1:17 PM, "jhonken" wrote: > >> --> Saves Stack >> save stack URL "http://www.x12.com/x12provider.rev" as >> x12provider.rev > > Although this would be a nice syntax addition to the language: > > save [{as|to} ] > > :-) > > Ken Ray > Sons of Thunder Software, Inc. > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.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 adrian at clubtype.co.uk Sat Dec 9 11:06:45 2006 From: adrian at clubtype.co.uk (Adrian Williams) Date: Sat, 9 Dec 2006 16:06:45 +0000 Subject: Save field text to file In-Reply-To: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> Message-ID: <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> On the subject of Saving... can anyone give me some pointers about how to Save text from a field into a file with the extension .txt for example? The docs don't explicitly have anything about 'Save'. Thanks, Adrian ______________________ Club Type http://www.clubtype.co.uk adrian at clubtype.co.uk From klaus at major-k.de Sat Dec 9 11:11:35 2006 From: klaus at major-k.de (Klaus Major) Date: Sat, 9 Dec 2006 17:11:35 +0100 (MET) Subject: Save field text to file In-Reply-To: <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> Message-ID: Hi Adrian, > On the subject of Saving... can anyone give me some pointers about > how to Save text from a field into a file with the extension .txt > for example? > The docs don't explicitly have anything about 'Save'. on mouseup put fld "your field here" into url("file:path/to/text_file.txt") end mouseup See the docs for "URL". > Thanks, > Adrian > ______________________ > Club Type > http://www.clubtype.co.uk > adrian at clubtype.co.uk Regards Klaus Major klaus at major-k.de http://www.major-k.de From schaubeck at mac.com Sat Dec 9 11:48:30 2006 From: schaubeck at mac.com (Jim Schaubeck) Date: Sat, 09 Dec 2006 08:48:30 -0800 Subject: Multi-user stack question In-Reply-To: <24136011484.20061208215257@ahsoftware.net> References: <5BDD1C64-010F-1000-EED3-AE29A5BCCB4E-Webmail-10008@mac.com> <24136011484.20061208215257@ahsoftware.net> Message-ID: <4422C366-010F-1000-9E8A-CE619EFFDA9F-Webmail-10023@mac.com> Mark, Thanks for responding! How do I get RunRev to be multi-user? (w/o using a DB) I started using mysql with Navicat to test and I found myself putting hours into figuring it out. If I could right a 100% RunRev app for everyone on my team that would be great. But, if I have to use a database to get the multi-user feature, in your opinion, which DB is the easiest to get going (windows based but I can run the db on mac if needed). Thanks Mark Jim... On Friday, December 08, 2006, at 09:53PM, "Mark Wieder" wrote: >Jim- > >Friday, December 8, 2006, 8:42:08 PM, you wrote: > >> Do I need to use a database (mysql,filemaker, etc) for this? > >You don't need to use a database for this, but for something that size >I think you'll be happier with the result if you do. I have a smaller >app that I just converted from being a card-based database system to >using a mysql backend and it's now smaller and faster. The database >linkage isn't hard to work out, but don't bother with the QueryBuilder >junk - my advice would be to get Trevor DeVore's database library and >start from there. > >-- >-Mark Wieder > mwieder at ahsoftware.net > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > From ambassador at fourthworld.com Sat Dec 9 12:16:35 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 09 Dec 2006 09:16:35 -0800 Subject: Multi-standalone communication Message-ID: <457AEF73.1030804@fourthworld.com> Jesse Sng wrote: > I wasn't talking about AppleScript, but AppleEvents. These are far > simpler and much faster to send/receive and decode than AS. > > 6 to 10 per second is probably not a problem for AppleEvents.... Yes, AE is MUCH faster than AS, but I wonder how they benchmark against checking for the existence of a file. One the one hand, the general rule of thumb is that any time you touch the disk you're slowing things down, but on the other hand checking the existence of a file will usually be working in the OS' cache after the first request, and even AE has quite a few layers of obverhead. Checking the existence of a file benchmarks here at 0.0165 ms on a 1GHz PB G4, running the second script I posted at . Anyone have time to run a comparative benchmark? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Sat Dec 9 12:18:33 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Dec 2006 11:18:33 -0600 Subject: Multi-standalone communication In-Reply-To: <457A87A3.000001.01024@MAZYTIS> References: <457A87A3.000001.01024@MAZYTIS> Message-ID: <457AEFE9.3040103@hyperactivesw.com> Viktoras Didziulis wrote: > Just wondering whether it would be possible/feasible to construct a feature > (or maybe to bugzillae a feature request) of revolution engine, (or maybe a > module or external), that would make different instances of rev engine > running on same machine seeing each other and sharing their global variables > Maybe such a module/feature could initially be implemented using sockets or > environment variables or shared memory buffer for storing global values... You can already set environment variables. Here is a quote from one of Mark Waddingham's posts: > You can both read and write to shell variables in Revolution. So the > following: > put foo into $FOO > put shell("echo $FOO") > Results in what you would expect in the message-box :o) This seems like an easy way to do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From JimAultWins at yahoo.com Sat Dec 9 12:27:52 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 09 Dec 2006 09:27:52 -0800 Subject: Multi-standalone communication In-Reply-To: Message-ID: On 12/9/06 2:47 AM, "Jesse Sng" wrote: > I wasn't talking about AppleScript, but AppleEvents. These are far > simpler and much faster to send/receive and decode than AS. > > 6 to 10 per second is probably not a problem for AppleEvents given > that back in the 90s, AppleEvents were used to process CGIs on > webservers running on Mac OS 8 and 9. AE wasn't quite a fast back > then and it has improved quite a bit on OS X. > > Basically, it would be used as a simple messaging mechanism that > could incorporate the packaging of parameterized data. The OS would > automatically queue the messages so that you can process it in > sequence. > > The key advantage is that is is simpler to manage than packet > sending/receiving while still retaining much of the speed advantage. I agree, AppleEvents are easier and faster than AppleScript. However, in my particular case, it was UDP I used. -1- I need both Win and Mac -2- the Rev 'do script' was broken until 2.7 When I was using 2.6 I could not be sure when this would be fixed and could not wait -3- the data service uses UDP to broadcast, not AppleEvents -4- low traffic rate for UDP is about 150 packets per second so that I do not have to worry about "not being able to receive fast enough", thus lost data is due to problems in my code Most programmers I know get confused with AppleEvents. I am not sure why but they think they are mysterious and give up on them. With the AppleScript language, however, I spend half of my time wondering why they came up with this syntax, and the other half trying to figure how to make it do simple things. It would be cool if you could make some useful example stacks that would show 3 apps using AppleEvents. I know Ken Ray has some good tips on his web site, which I have happily used. How would you use AppleEvents in your work flow? Jim Ault Las Vegas From jacque at hyperactivesw.com Sat Dec 9 12:37:11 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Dec 2006 11:37:11 -0600 Subject: Multi-standalone communication In-Reply-To: References: Message-ID: <457AF447.10203@hyperactivesw.com> Jim Ault wrote: > Glad you found and explored an easy 'send' method. > I did not know that you could simply 'send' between two standalones. > Does this really work on both Mac and Windows? or just Mac? Just Mac. It's a HyperCard compatibility command, and sends an appleEvent. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION at barncard.com Sat Dec 9 12:43:01 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sat, 9 Dec 2006 09:43:01 -0800 Subject: Multi-user stack question In-Reply-To: <4422C366-010F-1000-9E8A-CE619EFFDA9F-Webmail-10023@mac.com> References: <5BDD1C64-010F-1000-EED3-AE29A5BCCB4E-Webmail-10008@mac.com> <24136011484.20061208215257@ahsoftware.net> <4422C366-010F-1000-9E8A-CE619EFFDA9F-Webmail-10023@mac.com> Message-ID: Hey, Jim, I've had many false starts with client/server databases in Xtalks since the early 90's. All of them had to talk through ODBC which was horrible. We bought an SQL database called Butler that almost worked, but crashed all the time. Eventually we (like everyone else) ended up with Filemaker. I started using MySQL 3 years ago to automate stuff on some websites and it all came back to me. For my current project I looked at everything out there but had already gotten familiar with mySQL, so what the hell. First I checked out what Rev could do with its built in commands. Sarah's MSQL stacks at http://www.troz.net/Rev/tutorials.php got me started with that, and it worked beautifully, but the commands in native rev require a bit of housekeeping and other work - it looked and acted strangely when I would try to do my own code in it. And the builder stuff didn't really work very well. I just wanted to send the MYSQL commands out and get data back! Then I got Trevor's library, tried a couple of things, had an AHA moment, and it's all worked really well from here. I rely on it greatly. It abstracts the more complex revDB calls into much more simple handlers. If the data exchanged between the users in your app is important, I urge you to try some kind of client server architecture for major speed, performance, and security. I highly recommend a high quality server - it will solve all problems of where to put the data how to get it back how to quickly find, process, sort, collate and format how to control access, especially simultaneous access how to index, garbage collect, etc. Why reinvent? If you use anything but a database, you'll have to handle all of that yourself! So yes, a database is highly recommended. Then one can attack the unique problem of programming the data and the interface and not worry about storage! Although a single user versions of MySQL are available, it should be noted that professional use of mySQL is NOT free, and that perhapse even more Rev-friendly (and much more sophisticated) products are out there such at Valentina, who offer a nice office package with server and 5 deployments for a very reasonable price. And Valentina is faster than mySQL with more features, and reads standard SQL syntax with many more features. Oh, and Trevor's library will work with Valentina as well. contact Trevor Devore for further details about his lib. Trevor had the lib up online but they changed domain names and the old link doesn't work anymore. you can see a leftover page explaining how to use it, however this is for an earlier version - don't use this version 1.4.5 -- http://mangomultimedia.com/developer/revolution/libDatabase_article.html stephen barncard >Mark, >Thanks for responding! > >How do I get RunRev to be multi-user? (w/o using a DB) > >I started using mysql with Navicat to test and I found myself >putting hours into figuring it out. If I could right a 100% RunRev >app for everyone on my team that would be great. But, if I have to >use a database to get the multi-user feature, in your opinion, which >DB is the easiest to get going (windows based but I can run the db >on mac if needed). > >Thanks Mark > >Jim... > > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From dan at shafermedia.com Sat Dec 9 13:01:26 2006 From: dan at shafermedia.com (Dan Shafer) Date: Sat, 9 Dec 2006 10:01:26 -0800 Subject: Beginning Programming for Dummies 4th edn In-Reply-To: <6c7bf1c3ddfe4aaae50f4c871df841b8@clubtype.co.uk> References: <200612091001.54584.palcibiades-first@yahoo.co.uk> <6c7bf1c3ddfe4aaae50f4c871df841b8@clubtype.co.uk> Message-ID: <70ed6b130612091001h5975159dr97e986be9014c865@mail.gmail.com> Thanks to both of you for your comments on my book. I'm aware of the problems a lack of index can cause. All I can say by way of (admittedly somewhat weak) defense is that: (a) doing a proper index is a huge amount of work and requires skills I lack and couldn't afford to hire; and (b) I (perhaps mistakenlly) followed the time-honored tradition of using a monospaced font for code. I agree that there are some places -- though not a huge number, as far as I know -- where that font doesn't treat spacing very well. Also, I originally authored the book as an eBook where an index is much less useful (though not entirely useless) since indexing terms always results in the indexer puttng some things under terms the reader finds puzzling or opaque. When it became a print publication, I agree I should have figured out how to do that on some level at least. If I had it to do over again, I'd certainly try to find a volunteer to do an index and I'd do even more reformatting than the Courier font problem. Unfortunately, reality being what it is, I won't probably get a chance to do it over again. But I really appreciate the kind words and the criticisms. On 12/9/06, Adrian Williams wrote: > > Peter, > As a new user of Revolution I agree with your analysis of Dummies. > Small things can make a huge difference to beginners! > > For me 'Software At The Speed Of Thought' lacks an Index at the back > which would make zeroing in on snippets *much* easier to locate. > To counter this lack, I found myself having to use a highlighter pen on > virtually every word of Courier (of current interest) set in the text. > > That's another thing. Typographically, the Times/Courier combination is > not a good one. Important single words of Courier are hard to detect. > One has to read the whole paragraph to encounter the Courier emphasized > word. > It does not have enough emphasis to make it stand out and contrast with > Times. > All 'Code' text in Courier Bold would have been better and easy to do. > > Yes, these comments are picky, but in a constructive way I hope and > free advice from a Typeface Designer. > > Adrian > > On 9 Dec 2006, at 10:01, Peter Alcibiades wrote: > > > > Get Dan Shafer's book revised for a third edition, some introductory > > parts > > slimmed down, a few more details on some of the topics, a few more > > detailed > > howtos, and put the CD with the express edition with it. Particularly > > expand > > the parts about storing, retrieving and deleting data. There's too > > much > > about the user interface, and too little about how to write stuff that > > deals > > with the data which is why the end user is writing the program in the > > first > > place. > > > > But, small criticisms aside, 'Software at the speed of thought' is > > really > > excellent for a first introduction for a sophisticated end user. It is > > everything that the Dummies book is not - it just needs to go a little > > further. And have the express edition packaged along with it. > > > > Get some detailed material on how to work with arrays, lists, and > > tables into > > the Revolution pdf. > > > > > > Peter > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Sat Dec 9 13:09:49 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Dec 2006 10:09:49 -0800 Subject: Multi-user stack question In-Reply-To: <4422C366-010F-1000-9E8A-CE619EFFDA9F-Webmail-10023@mac.com> References: <5BDD1C64-010F-1000-EED3-AE29A5BCCB4E-Webmail-10008@mac.com> <24136011484.20061208215257@ahsoftware.net> <4422C366-010F-1000-9E8A-CE619EFFDA9F-Webmail-10023@mac.com> Message-ID: <49180223247.20061209100949@ahsoftware.net> Jim- Saturday, December 9, 2006, 8:48:30 AM, you wrote: > How do I get RunRev to be multi-user? (w/o using a DB) Not easy. RunRev launches a new instance of a stack for each user, and everything's in memory until you quit. You'd need a real client-server configuration to do this. Rob Cozens has a very nice database stack that's entirely in xtalk - no external database needed. It's called sdb (Serendipity DataBase), and he's got the client-server stuff in there. So if you want to stay native xtalk, I'd go with his implementation. I'm not sure where to download this from currently, but you might want to talk with him if he hasn't already chimed in on the list. rcozens at pon.net > I started using mysql with Navicat to test and I found myself > putting hours into figuring it out. If I could right a 100% RunRev > app for everyone on my team that would be great. But, if I have to > use a database to get the multi-user feature, in your opinion, which > DB is the easiest to get going (windows based but I can run the db > on mac if needed). Check out Sarah Reichelt's MySQL stacks - they were a big help to me in figuring out what needs to be done. http://www.troz.net/Rev/tutorials.php Normally I would say altSQLite would be a great choice for this app, but it's in limbo at the moment - runrev has bought it from altuit, so until it gets rolled out into the next release you can't get the driver. If your needs aren't urgent, you might do well to put off committing to a database right now until 2.7.5 comes out. Also, Trevor's database library handles both MySQL and altSQLite mostly transparently. http://www.mangomultimedia.com/developer/revolution/ -- -Mark Wieder mwieder at ahsoftware.net From JimAultWins at yahoo.com Sat Dec 9 13:18:16 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 09 Dec 2006 10:18:16 -0800 Subject: Multi-standalone communication In-Reply-To: <457AF447.10203@hyperactivesw.com> Message-ID: On 12/9/06 9:37 AM, "J. Landman Gay" wrote: > Jim Ault wrote: > >> Glad you found and explored an easy 'send' method. >> I did not know that you could simply 'send' between two standalones. >> Does this really work on both Mac and Windows? or just Mac? > > Just Mac. It's a HyperCard compatibility command, and sends an appleEvent. Thanks, and this will be better than UDP in one major category. UDP is limited to very small packets, thus not good for file transfer or large data blocks. The size is dependent on the network hardware, is not an exact science, and is usually around 8K. For my project, this works. TCP can do large data blocks but is about 10 times slower across the internet, but very fast on the same computer. Apps on the same Mac for most uses could make good use of the 'send'. Web servers would have to be Mac, so the original Rev CGI multi-thread idea gets back to this limitation. Are there any good example in RevOnline for this? Jim Ault Las Vegas From adrian at clubtype.co.uk Sat Dec 9 13:48:16 2006 From: adrian at clubtype.co.uk (Adrian Williams) Date: Sat, 9 Dec 2006 18:48:16 +0000 Subject: Beginning Programming for Dummies 4th edn In-Reply-To: <70ed6b130612091001h5975159dr97e986be9014c865@mail.gmail.com> References: <200612091001.54584.palcibiades-first@yahoo.co.uk> <6c7bf1c3ddfe4aaae50f4c871df841b8@clubtype.co.uk> <70ed6b130612091001h5975159dr97e986be9014c865@mail.gmail.com> Message-ID: Dan, I completely understand your circumstances and you already did a great job and its easy for others to be critical. Please don't beat yourself up about it. This rant is directed at any would-be training books authors out there. As a Type Designer its just so annoying to me that in general when Programming books are layed out showing Courier, Authors/Book designers don't put themselves in the position of the reader. For a seasoned programmer who reads code easily it may not present any challenge at all finding (the right) snippets of code when scanning the pages. For beginners, its the opposite. The ability to scan pages quickly referring to relevant code makes the business of learning far more fluid. There needs to be an additional emphasis on Courier text. Beginners and old hands would benefit if code they seek is more clearly emphasised. All words are important, but in programming, surely, it is the code itself that should take pride of place. Some books use a grey background patch for passages of code. This is not ideal either. Code in paragraph text needs to be emphasised in exactly the same manner as large passages to avoid confusion. Just a more contrasting set of fonts is really all thats needed. Like Times Roman and Verdana Bold for maximum contrast! If it must be a monospaced font, then I don't see anything on the market that fits the bill at the moment. I would gladly create and supply (gratis) a Courier-like font of 'Black' weight to anyone undertaking such a venture, so long as it's a Revolution trainer. I hope you do get chance to revisit the 'Speed..' book. Many page layout apps. InDesign and Quark XPress included have automatic Index makers. Yes, they catch-all instances, but judicial editing solves this. Perhaps an IndexOnly-eBook? Adrian On 9 Dec 2006, at 18:01, Dan Shafer wrote: > Thanks to both of you for your comments on my book. I'm aware of the > problems a lack of index can cause. All I can say by way of (admittedly > somewhat weak) defense is that: (a) doing a proper index is a huge > amount of > work and requires skills I lack and couldn't afford to hire; and (b) I > (perhaps mistakenlly) followed the time-honored tradition of using a > monospaced font for code. I agree that there are some places -- though > not a > huge number, as far as I know -- where that font doesn't treat spacing > very > well. > > Also, I originally authored the book as an eBook where an index is > much less > useful (though not entirely useless) since indexing terms always > results in > the indexer puttng some things under terms the reader finds puzzling or > opaque. When it became a print publication, I agree I should have > figured > out how to do that on some level at least. > > If I had it to do over again, I'd certainly try to find a volunteer to > do an > index and I'd do even more reformatting than the Courier font problem. > > Unfortunately, reality being what it is, I won't probably get a chance > to do > it over again. > > But I really appreciate the kind words and the criticisms. > > On 12/9/06, Adrian Williams wrote: >> >> Peter, >> As a new user of Revolution I agree with your analysis of Dummies. >> Small things can make a huge difference to beginners! >> >> For me 'Software At The Speed Of Thought' lacks an Index at the back >> which would make zeroing in on snippets *much* easier to locate. >> To counter this lack, I found myself having to use a highlighter pen >> on >> virtually every word of Courier (of current interest) set in the text. >> >> That's another thing. Typographically, the Times/Courier combination >> is >> not a good one. Important single words of Courier are hard to detect. >> One has to read the whole paragraph to encounter the Courier >> emphasized >> word. >> It does not have enough emphasis to make it stand out and contrast >> with >> Times. >> All 'Code' text in Courier Bold would have been better and easy to do. >> >> Yes, these comments are picky, but in a constructive way I hope and >> free advice from a Typeface Designer. >> >> Adrian >> >> On 9 Dec 2006, at 10:01, Peter Alcibiades wrote: >> > >> > Get Dan Shafer's book revised for a third edition, some introductory >> > parts >> > slimmed down, a few more details on some of the topics, a few more >> > detailed >> > howtos, and put the CD with the express edition with it. >> Particularly >> > expand >> > the parts about storing, retrieving and deleting data. There's too >> > much >> > about the user interface, and too little about how to write stuff >> that >> > deals >> > with the data which is why the end user is writing the program in >> the >> > first >> > place. >> > >> > But, small criticisms aside, 'Software at the speed of thought' is >> > really >> > excellent for a first introduction for a sophisticated end user. >> It is >> > everything that the Dummies book is not - it just needs to go a >> little >> > further. And have the express edition packaged along with it. >> > >> > Get some detailed material on how to work with arrays, lists, and >> > tables into >> > the Revolution pdf. >> > >> > >> > Peter >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 > > _______________________________________ Adrian Williams Design Ltd (trading as Club Type), 44 Mill Lane, Merstham, Redhill, Surrey RH1 3HQ, UK Telephone/Facsimile: 01737 643300 dFax (computer reception): 0870 0515681 International tel/fax (UK)+44 1737 643300 International dFax: (UK)+44 870 0515681 Email: adrian at clubtype.co.uk Website: http://www.clubtype.co.uk From dsc at swcp.com Sat Dec 9 14:15:36 2006 From: dsc at swcp.com (Dar Scott) Date: Sat, 9 Dec 2006 12:15:36 -0700 Subject: Multi-standalone communication In-Reply-To: <457AF447.10203@hyperactivesw.com> References: <457AF447.10203@hyperactivesw.com> Message-ID: <57283D8D-159D-49EF-A58A-91E9DC1CF1E6@swcp.com> On Dec 9, 2006, at 10:37 AM, J. Landman Gay wrote: >> Glad you found and explored an easy 'send' method. >> I did not know that you could simply 'send' between two standalones. >> Does this really work on both Mac and Windows? or just Mac? > > Just Mac. It's a HyperCard compatibility command, and sends an > appleEvent. This is starting to come back. I had completely forgotten this. No wonder I didn't understand Kay's comment. Actually, not much is coming back. I have been tinkering with a more general send. ...and I might be reinventing the wheel for OS X. How does this work? Dar From dan at shafermedia.com Sat Dec 9 14:47:02 2006 From: dan at shafermedia.com (Dan Shafer) Date: Sat, 9 Dec 2006 11:47:02 -0800 Subject: Beginning Programming for Dummies 4th edn In-Reply-To: References: <200612091001.54584.palcibiades-first@yahoo.co.uk> <6c7bf1c3ddfe4aaae50f4c871df841b8@clubtype.co.uk> <70ed6b130612091001h5975159dr97e986be9014c865@mail.gmail.com> Message-ID: <70ed6b130612091147m19e1e804vd5d4538342f39c93@mail.gmail.com> On 12/9/06, Adrian Williams wrote: I hope you do get chance to revisit the 'Speed..' book. > Many page layout apps. InDesign and Quark XPress included > have automatic Index makers. Yes, they catch-all instances, > but judicial editing solves this. Perhaps an IndexOnly-eBook? Microsoft Word, which is what I was using as my word processor when I wrote the book, does this, too, but you have to jump through so many hoops that it's tremendously simpler to do it manually. Besides which, of coure, a manual index is more flexible and more likely to be accurate and usefeul than any non-intellilgent indexing software (and probably even intelligent indexing software). :-) Dan From viktoras at ekoinf.net Sat Dec 9 14:12:24 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Sat, 9 Dec 2006 21:12:24 +0200 (FLE Standard Time) Subject: Multi-standalone communication References: <457AEFE9.3040103@hyperactivesw.com> Message-ID: <457B0A97.000001.02164@MAZYTIS> Unfortunately this does not work on Windows :-( only on MacOS and Unixes... Viktoras >You can already set environment variables. Here is a quote from one of >Mark Waddingham's posts: > You can both read and write to shell variables in Revolution. So the > following: > put foo into $FOO > put shell("echo $FOO") > Results in what you would expect in the message-box :o) >This seems like an easy way to do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Sat Dec 9 15:39:45 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Dec 2006 14:39:45 -0600 Subject: Multi-standalone communication In-Reply-To: <457B0A97.000001.02164@MAZYTIS> References: <457AEFE9.3040103@hyperactivesw.com> <457B0A97.000001.02164@MAZYTIS> Message-ID: <457B1F11.70206@hyperactivesw.com> Viktoras Didziulis wrote: > Unfortunately this does not work on Windows :-( only on MacOS and Unixes... I just tried it on WinXP and it worked here. From the message box: put "test string" into $foo When I look in the variable watcher, I see the variable and its contents. I didn't try a shell command though. > > Viktoras > > > >> You can already set environment variables. Here is a quote from one of >> Mark Waddingham's posts: > >> You can both read and write to shell variables in Revolution. So the >> following: >> put foo into $FOO >> put shell("echo $FOO") >> Results in what you would expect in the message-box :o) > >> This seems like an easy way to do it. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 9 16:10:11 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Dec 2006 15:10:11 -0600 Subject: Multi-standalone communication In-Reply-To: <457B0A97.000001.02164@MAZYTIS> References: <457AEFE9.3040103@hyperactivesw.com> <457B0A97.000001.02164@MAZYTIS> Message-ID: <457B2633.8050007@hyperactivesw.com> Viktoras Didziulis wrote: > Unfortunately this does not work on Windows :-( only on MacOS and Unixes... I just tried a shell test on WinXP and it looks like you need to do this for the shell command: put shell("set foo") So, what I did first was this: put "test string" into $foo That created the environment variable. Then to retrive it: put shell("set foo") Which gives: foo=test string Note that the "$" is omitted and the command is "set" instead of "echo". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From viktoras at ekoinf.net Sat Dec 9 16:15:50 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Sat, 9 Dec 2006 23:15:50 +0200 (FLE Standard Time) Subject: Multi-standalone communication References: <457B1F11.70206@hyperactivesw.com> Message-ID: <457B2786.000003.02488@MAZYTIS> I tried put "test_foo" into $FOO from within one instance of Revolution, then answer $FOO from within another. Answer is empty. Documentation also says that on Windows $ can be used to read parameters passed in a command line... While on Unix and MacOS this should modify environment variable... Viktoras -------Original Message------- From: J. Landman Gay Date: 12/9/2006 10:42:05 PM To: How to use Revolution Subject: Re: Multi-standalone communication Viktoras Didziulis wrote: > Unfortunately this does not work on Windows :-( only on MacOS and Unixes.. I just tried it on WinXP and it worked here. From the message box: put "test string" into $foo When I look in the variable watcher, I see the variable and its contents. I didn't try a shell command though. > > Viktoras > > > >> You can already set environment variables. Here is a quote from one of >> Mark Waddingham's posts: > >> You can both read and write to shell variables in Revolution. So the >> following: >> put foo into $FOO >> put shell("echo $FOO") >> Results in what you would expect in the message-box :o) > >> This seems like an easy way to do it. > -- 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 viktoras at ekoinf.net Sat Dec 9 16:22:32 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Sat, 9 Dec 2006 23:22:32 +0200 (FLE Standard Time) Subject: Multi-standalone communication References: <457B2633.8050007@hyperactivesw.com> Message-ID: <457B2918.000005.02488@MAZYTIS> Yes, doing shell("set foo") works, but this is a shell command , not the Rev . Viktoras -------Original Message------- From: J. Landman Gay Date: 12/9/2006 11:12:32 PM To: How to use Revolution Subject: Re: Multi-standalone communication Viktoras Didziulis wrote: > Unfortunately this does not work on Windows :-( only on MacOS and Unixes.. I just tried a shell test on WinXP and it looks like you need to do this for the shell command: put shell("set foo") So, what I did first was this: put "test string" into $foo That created the environment variable. Then to retrive it: put shell("set foo") Which gives: foo=test string Note that the "$" is omitted and the command is "set" instead of "echo". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Sat Dec 9 16:34:42 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 09 Dec 2006 13:34:42 -0800 Subject: Multi-standalone communication Message-ID: <457B2BF2.1050809@fourthworld.com> jacque wrote: >> Jim Ault wrote: >> >> Glad you found and explored an easy 'send' method. >> I did not know that you could simply 'send' between >> two standalones. Does this really work on both Mac >> and Windows? or just Mac? > > Just Mac. It's a HyperCard compatibility command, > and sends an appleEvent. Any Rev-based app can control and other Rev-based app? Without some restrictions it sounds like a potential security concern.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From m.schonewille at economy-x-talk.com Sat Dec 9 17:08:33 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 9 Dec 2006 23:08:33 +0100 Subject: Save field text to file In-Reply-To: <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> Message-ID: <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> Hi Adrian, Klaus has given useful advice already, but I want to add the following. You might want to set the filetype before saving a text file: set the filetype to "ttxtTEXT" put fld 1 into url "file:/~folder/file.txt" If you are making a small application or a stack of which you don't know whether it will include the internet library, you could also use the oldfashioned write statement: set the filetype to "XCELTEXT" put "~/folder/file.txt" into myFile open file myFile for write write fld 1 to file myFile close file myFile Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 9-dec-2006, om 17:06 heeft Adrian Williams het volgende geschreven: > On the subject of Saving... can anyone give me some pointers about > how to Save text from a field into a file with the extension .txt > for example? > The docs don't explicitly have anything about 'Save'. > > Thanks, > Adrian > ______________ From m.schonewille at economy-x-talk.com Sat Dec 9 17:28:50 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 9 Dec 2006 23:28:50 +0100 Subject: Lock Moves Bug? In-Reply-To: <86ae76bb0612082351x33be715dq65fb8dc2396bcdfd@mail.gmail.com> References: <86ae76bb0612082351x33be715dq65fb8dc2396bcdfd@mail.gmail.com> Message-ID: <5831F203-1F31-409D-BF09-DE121C9091D9@economy-x-talk.com> Hi Bridger, You don't need to lock moves and set the lockMoves as well. They do the same. I ran the following script: on mouseUp set the loc of graphic "Green" to 20,20 set the loc of graphic "Red" to 20,60 lock moves move graphic "Green" to 200,2 in 2 secs move graphic "Red" to 200,60 in 2 secs unlock moves end mouseUp and expected the two graphics to start moving at the same time, after executing the unlock moves command. This didn't happen. Instead, the first graphic moves after two seconds, then the script waited 2 seconds before moving the second graphic. The documentation says: "The time specifies a total time for the move to take from start to end, in milliseconds, seconds, or ticks." but this is definitely not what is happening. I am sure that this is a bug, either in the Rev engine or in the docs. Eric's suggestion to move without waiting works for me: move graphic "Green" to 200,2 without waiting move graphic "Red" to 200,60 without waiting Just make sure to set the moveSpeed if you want the graphics to move faster or slower. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 9-dec-2006, om 8:51 heeft Bridger Maxwell het volgende geschreven: > Hey, > From the way the documentation reads, I would think that setting > the lock > moves to true, issuing a few move commands, and setting the > lockmoves to > false would start the move commands on all the objects at the same > time. > But I can't get it to work that way. Here is my script: > > lock moves > set the lockMoves to true > repeat with z = 1 to 10 > put "Contact" & z into vObj > ---Here is where I had a lot of script to calculate newLoc > move btn vObj to newLoc > end repeat > unlock moves > set the lockMoves to false > > When I run that they each move one after the other. They do not > start at > the same time. Not only that, but it takes up time as if it is > moving, but > I don't actually see the animation. I made a simpler test script > with only > two buttons and without a repeat loop and got the same result: > > on test > if the loc of btn "Move1" is the line 1 of the tooltip of btn > "Move1" then > put the line 2 of the tooltip of btn "Move1" into loc1 > else > put the line 1 of the tooltip of btn "Move1" into loc1 > end if > if the loc of btn "Move2" is the line 1 of the tooltip of btn > "Move2" then > put the line 2 of the tooltip of btn "Move2" into loc2 > else > put the line 1 of the tooltip of btn "Move2" into loc2 > end if > > lock moves > move btn "Move1" to loc1 > move btn "Move2" to loc2 > unlock moves > end test > > > Because I can't use the lockmoves, I am just making it move without > waiting. Does this mean there is a bug, or am I just doing it wrong? > > TTFN > Bridger From shari at gypsyware.com Sat Dec 9 17:27:22 2006 From: shari at gypsyware.com (Shari) Date: Sat, 9 Dec 2006 17:27:22 -0500 Subject: Branding Message-ID: I've been approached by someone who desires a specially branded version of my software, Blackjack Gold. Are any of you doing this, and if so, how are you handling all the ins, outs, and monies? Blackjack Gold is currently shareware, which in itself creates an issue, as his version would need to be very particularly created with a completely different registration system. He wants some minor changes to the software itself. And wants to release his own brand of it as a demo, with the additional possibility of a web version (I'm not even qualified to create it as a web version), or as a version that casinos can distribute to their players for home play/practice. Whereas the initial works involved are fairly minor, the potentials he is hoping for could be major. For example, a CD version of the game in his brand, without my piracy protections, distributed for free by casinos, would presumably kill my software sales of my own brand. It sounds like a proposition with potential, however, it could also be fraught with pitfalls. Any thoughts? You can email me privately, if the list is too public for your ideas :-) Shari -- Gypsy King Software Mac and Windows shareware games http://www.gypsyware.com From jacque at hyperactivesw.com Sat Dec 9 18:09:13 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Dec 2006 17:09:13 -0600 Subject: Multi-standalone communication In-Reply-To: <457B2BF2.1050809@fourthworld.com> References: <457B2BF2.1050809@fourthworld.com> Message-ID: <457B4219.4020405@hyperactivesw.com> Richard Gaskin wrote: > jacque wrote: > > >> Jim Ault wrote: > >> > >> Glad you found and explored an easy 'send' method. > >> I did not know that you could simply 'send' between > >> two standalones. Does this really work on both Mac > >> and Windows? or just Mac? > > > > Just Mac. It's a HyperCard compatibility command, > > and sends an appleEvent. > > Any Rev-based app can control and other Rev-based app? No. > > Without some restrictions it sounds like a potential security concern.... > The "send" command just sends an appleEvent to another app -- it could be the Finder, or any other scriptable app. If the receiving program is a Rev standalone, it must have an appleEvent handler to manage the event message or nothing happens. The appleEvent handler will deal with any event it needs to and ignore those it doesn't. If it wants to return data to the first app, it uses the "reply" command to send back whatever data it has been programmed to respond with. It would be a security concern if someone were stupid enough to write an appleEvent handler that responded to any incoming "doscript" event with "do ". But that would be their own fault. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 9 18:23:10 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Dec 2006 17:23:10 -0600 Subject: Multi-standalone communication In-Reply-To: <57283D8D-159D-49EF-A58A-91E9DC1CF1E6@swcp.com> References: <457AF447.10203@hyperactivesw.com> <57283D8D-159D-49EF-A58A-91E9DC1CF1E6@swcp.com> Message-ID: <457B455E.9050700@hyperactivesw.com> Dar Scott wrote: > > On Dec 9, 2006, at 10:37 AM, J. Landman Gay wrote: > >>> Glad you found and explored an easy 'send' method. >>> I did not know that you could simply 'send' between two standalones. >>> Does this really work on both Mac and Windows? or just Mac? >> >> Just Mac. It's a HyperCard compatibility command, and sends an >> appleEvent. > > This is starting to come back. I had completely forgotten this. No > wonder I didn't understand Kay's comment. > > Actually, not much is coming back. > > I have been tinkering with a more general send. > > ...and I might be reinventing the wheel for OS X. > > How does this work? It is just the built-in xtalk system for sending and receiving appleEvents between scriptable apps. Like I mentioned in another post, you use "send" to send an appleEvent to any scriptable app. If the app is a Rev standalone, an appleEvent handler is required in order for it to receive the instruction and act on it. If the receiver wants to return a response to the sending app, it uses the "reply" command to do so. The default behavior for "send" is to wait for a reply until the timeout period is over (I forget what that is, but if I remember right, it is pretty long; I think it used to be 2 minutes on OS 9.) If the sender doesn't want to wait, it can use "without waiting" to just fire off an appleEvent and continue on its way. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From JimAultWins at yahoo.com Sat Dec 9 18:39:53 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 09 Dec 2006 15:39:53 -0800 Subject: Save Stack Locally In-Reply-To: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> Message-ID: On 12/9/06 7:58 AM, "Mark Smith" wrote: > Er, from the dictionary: > Syntax: save stack [as filePath] > Examples: > save stack "Targets" > save this stack as "Backup" > save stack "Treats" as "/Disk/Folder/File > > This works on my system: Rev 2.7.4, Mac OS 10.4.7 > On 8 Dec 2006, at 22:32, Ken Ray wrote: > >> On 12/8/06 1:17 PM, "jhonken" wrote: >> >>> --> Saves Stack >>> save stack URL "http://www.x12.com/x12provider.rev" as >>> x12provider.rev >> >> Although this would be a nice syntax addition to the language: >> >> save [{as|to} ] I think the disconnect here, is in trying the useage of save stack URL "http://www.x12.com/x12provider.rev" as " x12provider.rev" to Rev put URL ("http://www.x12.com/x12provider.rev") into tempVar means put the 20K of characters downloaded, which is the stack file content. whereas form > save stack "Treats" as "/Disk/Folder/File" translates to save stack (URL "http://www.x12.com/x12provider.rev") as "x12provider.rev" which becomes save stack ("20K string that *is* the stack...") as "x12provider.rev" which is not a valid stack name, instead of save stack ("stackname") as "x12provider.rev" So to work with it as a stack: go stack URL "http://www.x12.com/x12provider.rev" --opens the stack put the short name of this stack into tName save stack tName as "x12provider.rev" --which will be located in the defaultFolder Or to work with it as a file: put URL ("http://www.x12.com/x12provider.rev") into tempVar put tempVar into URL "binfile:x12provider.rev" Or a one-liner put URL ("http://www.x12.com/x12provider.rev") into URL "binfile:x12provider.rev" Jim Ault Las Vegas From jc at spl21.net Sat Dec 9 18:41:09 2006 From: jc at spl21.net (John Craig) Date: Sat, 09 Dec 2006 23:41:09 +0000 Subject: [ANN] Creating paths for animation Message-ID: <457B4995.1070608@spl21.net> I have uploaded 'Steam Roller' to user space Jock_McTartan. This plugin is for creating paths for sprites to follow in games, etc. I'll update the molLibSprite library shortly with some routines for using paths created with this plugin. Feedback welcome. Enjoy! JC From jsng at wayoflife.org Sat Dec 9 19:03:25 2006 From: jsng at wayoflife.org (Jesse Sng) Date: Sun, 10 Dec 2006 08:03:25 +0800 Subject: Multi-standalone communication In-Reply-To: References: Message-ID: >I agree, AppleEvents are easier and faster than AppleScript. >However, in my particular case, it was UDP I used. >-1- I need both Win and Mac >-2- the Rev 'do script' was broken until 2.7 When I was using 2.6 I could >not be sure when this would be fixed and could not wait >-3- the data service uses UDP to broadcast, not AppleEvents >-4- low traffic rate for UDP is about 150 packets per second so that I do >not have to worry about "not being able to receive fast enough", thus lost >data is due to problems in my code AppleEvents is managed by the OS and since it gets queued for you, you never have to worry about not being able to receive fast enough. Once your app is receive to process the next AE, it's there sitting in the queue. One advantage over the data file approach is that you don't have to poll the file system regularly to see if there's something for you or not. Granted it eventually gets cached, but you still need to hit the file system (in memory) all the time. With AE, you are now event driven and only need to respond when you receive such an event. Otherwise, your app is just sitting pretty. >It would be cool if you could make some useful example stacks that would >show 3 apps using AppleEvents. I know Ken Ray has some good tips on his web >site, which I have happily used. > >How would you use AppleEvents in your work flow? > >Jim Ault >Las Vegas In the past, I had 2 apps running on the system. This was an interactive kiosk app plus a controller app. The controller app was written in C++ and basically did most of the AE handling and the kiosk app had some rudimentary AE capabilities. I had a 3rd app (sysadmin's app) running from across the network that would send AppleEvents to the remote machine's controller app. This app could then shut down the kiosk app, while it puts up a full screen that simply had a message saying that the system was currently "under maintenance". It had the ability to then automatically download the latest version of the kiosk app (signalled by the sysadmin), update its local copy of the database and even reboot the machine if need be. The controller app also did other things like managed log files and it receives log data from the kiosk app to track what users did on the system. I can't remember how the log files were transmitted, but I think it was through AppleEvents across the network to the sysadmin's app (it's been at least 8 years or more). Once done, it would launch the kiosk app again. The kiosk app only needs to understand the "quit" AE, which is standard on the Mac and is sent everytime an app on OS X is required to quit itself. So basically the sysadmin's app did most of the sending, the controller app simply received AEs and responded and the kiosk app mostly did what it was designed to do and in addition, responded to the Quit AE and sent log data via AE to the controller app. Given the bandwidth limitations that I had back then (19.2kbps leased line modem connection bridging to a fibre network), it didn't make sense to use something like Timbuktu and I found this approach far more reliable. All this worked very nicely considering that we were running on OS 8.x without the kind of multitasking kernel that we have on OS X. My original inspiration for all this was the concept of remote debuggers where data was exchanged between the app being debugged and the debugger. I had hacked up a remote debugger for one of my server apps so that I could monitor the status via AE and grab information and this eventually morphed into the controller app that I used for networked kiosk management. Jesse From dsc at swcp.com Sat Dec 9 20:03:05 2006 From: dsc at swcp.com (Dar Scott) Date: Sat, 9 Dec 2006 18:03:05 -0700 Subject: Multi-standalone communication In-Reply-To: <457B455E.9050700@hyperactivesw.com> References: <457AF447.10203@hyperactivesw.com> <57283D8D-159D-49EF-A58A-91E9DC1CF1E6@swcp.com> <457B455E.9050700@hyperactivesw.com> Message-ID: On Dec 9, 2006, at 4:23 PM, J. Landman Gay wrote: >> How does this work? > > It is just the built-in xtalk system for sending and receiving > appleEvents between scriptable apps. Like I mentioned in another > post, you use "send" to send an appleEvent to any scriptable app. > If the app is a Rev standalone, an appleEvent handler is required > in order for it to receive the instruction and act on it. If the > receiver wants to return a response to the sending app, it uses the > "reply" command to do so. > > The default behavior for "send" is to wait for a reply until the > timeout period is over (I forget what that is, but if I remember > right, it is pretty long; I think it used to be 2 minutes on OS 9.) > If the sender doesn't want to wait, it can use "without waiting" to > just fire off an appleEvent and continue on its way. I was really confused, since the dictionary didn't say anything about this. Well, there is a separate entry in the dictionary under the name "send to program" that is separate from "send". Since the dictionary no longer has the "next entry" capability it is hard to see things like this when browsing. So, anyway I found "sent to program" and the "See Also:" items. Thanks! (I'll probably forget and ask again in a few months.) Dar From jerry at hytext.com Sat Dec 9 20:43:14 2006 From: jerry at hytext.com (Jerry Muelver) Date: Sat, 09 Dec 2006 19:43:14 -0600 Subject: Beginning Programming for Dummies 4th edn In-Reply-To: References: <200612091001.54584.palcibiades-first@yahoo.co.uk> <6c7bf1c3ddfe4aaae50f4c871df841b8@clubtype.co.uk> <70ed6b130612091001h5975159dr97e986be9014c865@mail.gmail.com> Message-ID: <457B6632.1030209@hytext.com> Adrian Williams wrote: > Beginners and old hands would benefit if code they seek is more > clearly emphasised. All words are important, but in programming, > surely, it is the code itself that should take pride of place. Some > books use a grey background patch for passages of code. > This is not ideal either. Code in paragraph text needs to be > emphasised in exactly the same manner as large passages to > avoid confusion. Just a more contrasting set of fonts is really > all thats needed. Like Times Roman and Verdana Bold for maximum > contrast! If it must be a monospaced font, then I don't see anything > on the market that fits the bill at the moment. I would gladly create > and supply (gratis) a Courier-like font of 'Black' weight to anyone > undertaking such a venture, so long as it's a Revolution trainer. Lucida Console or Bitstream Vera Sans (monospace) would be good starting points. And Demi rather than Black would be a good choice, I think. But I could live with the typographic limitations of "Revolution: Software at the Speed of Thought" if I had volumes II and III.... I still use the "MetaCard Users Guide", stuffed with print-outs of juicy, illuminating extracts from metacard-list at grot.com from around 1998, to clarify my thinking on occasion. I think I would also rely on Danny Goodman's HyperCard works as well, if only I had them. Still, to my mind, the xTalk paradigm of programming has never been well-enough presented to entice beginners into the fold, or experts to distill and extend their expertise. Only Squeak is less-usefully documented, and more deserving of the effort. A newcomer to Revolution should be able to learn all he or she needs to know to program a particular task, and not get involved with anything outside the dependency-chain of skills and techniques needed for that task, by threading a relevant path through the documentation. The lack of economic incentive to produce such a task-oriented documentation suite is puzzling, given the cost of the product and its placement in the upper echelons of programming power. The ultimate cost of NOT having the proper learning tools has to be staggeringly higher than the cost of developing them. ---- Jerry Muelver From dan at shafermedia.com Sat Dec 9 20:49:30 2006 From: dan at shafermedia.com (Dan Shafer) Date: Sat, 9 Dec 2006 17:49:30 -0800 Subject: Beginning Programming for Dummies 4th edn In-Reply-To: <457B6632.1030209@hytext.com> References: <200612091001.54584.palcibiades-first@yahoo.co.uk> <6c7bf1c3ddfe4aaae50f4c871df841b8@clubtype.co.uk> <70ed6b130612091001h5975159dr97e986be9014c865@mail.gmail.com> <457B6632.1030209@hytext.com> Message-ID: <70ed6b130612091749s67a5d89w15c26af66a03b4d4@mail.gmail.com> Jerry, On 12/9/06, Jerry Muelver wrote: The ultimate cost of NOT having > the proper learning tools has to be staggeringly higher than the cost of > developing them. > > > ---- Jerry Muelver > ______________ Apparently RR disagrees. Although I think they have been trying really hard with their latest round of in-house docs and they've been supportive of my efforts when I've made them. OH, and for Adrian's benefit: Vols II & III were killed a long time ago in favor of the release of smaller eBooks focused on specific topics. I've done four of these, started a fifth, and then got bogged down in honest-to-goodness paying work that doesn't involve programming or Rev. Maybe someday.... _________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jazu at comcast.net Sat Dec 9 20:57:29 2006 From: jazu at comcast.net (James Z) Date: Sat, 09 Dec 2006 17:57:29 -0800 Subject: Beginning Programming for Dummies 4th edn In-Reply-To: <457B6632.1030209@hytext.com> Message-ID: Amazon stocks The Complete HyperCard Handbbook, vols 1 and 2. You have to compare the order numbers to discern that you have the two different books James Z. On 12/9/06 5:43 PM, "Jerry Muelver" wrote: > I think I would also rely on > Danny Goodman's HyperCard works as well, if only I had them. > > ---- Jerry Muelver > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at hytext.com Sat Dec 9 21:35:28 2006 From: jerry at hytext.com (Jerry Muelver) Date: Sat, 09 Dec 2006 20:35:28 -0600 Subject: Beginning Programming for Dummies 4th edn In-Reply-To: <70ed6b130612091749s67a5d89w15c26af66a03b4d4@mail.gmail.com> References: <200612091001.54584.palcibiades-first@yahoo.co.uk> <6c7bf1c3ddfe4aaae50f4c871df841b8@clubtype.co.uk> <70ed6b130612091001h5975159dr97e986be9014c865@mail.gmail.com> <457B6632.1030209@hytext.com> <70ed6b130612091749s67a5d89w15c26af66a03b4d4@mail.gmail.com> Message-ID: <457B7270.8010605@hytext.com> Dan Shafer wrote: > Jerry, > > > On 12/9/06, Jerry Muelver wrote: > > The ultimate cost of NOT having >> the proper learning tools has to be staggeringly higher than the cost of >> developing them. >> >> >> ---- Jerry Muelver >> ______________ > > > Apparently RR disagrees. Although I think they have been trying really hard > with their latest round of in-house docs and they've been supportive of my > efforts when I've made them. > Dan, I was thinking more of the cost to the programmer, actually. Billing out at $60/hr, it doesn't take long to make back one's investment in programming guides and tutorials in terms of the time saved by not having to reinvent flint-chipping, or list-box displaying to choose a card from a stack. Still, programming book authoring may not be the shortcut to fame to and fortune that it's cracked up to be. My wife, after suffering with me through what we know refer to as "the book years", points out that J. K. Rowling has done quite well without dirtying her hands with coding examples and syntax formatting, and that the leap from computer languages to unabashed outright fiction is conceptually not really all that far, and a heckuva lot more lucrative.... ---- Jerry Muelver From katir at hindu.org Sat Dec 9 22:08:55 2006 From: katir at hindu.org (Sivakatirswami) Date: Sat, 09 Dec 2006 17:08:55 -1000 Subject: OT: Would I need a content management system for this? In-Reply-To: References: Message-ID: <457B7A47.80504@hindu.org> A little bit out of the box but: PMwiki is marvelous. www.pmwiki.org "Radical flexibility-extensibility" comes to mind Would do all this and more. Some set up required of course, but the community there is really super supportive, all kinds of cookbooks, recipes code snippets. Sivakatirswami www.himalayanacademy.com RGould8 at aol.com wrote: > Say, if I wanted to create a web-site that supports the following > functionality, would I need a full-blown content management system like Drupal or > Joomla!, or could I get away with something simpler like Contribute and some > open-source modules? > > Needed features: > > 1) Message boards > 2) Local search (searching through past articles that were displayed on the > site) > 3) Video streaming > 4) Filtered rostering > 5) Ability to allow 5-6 editors to update text/pictures on certain pages of > the site. > > We're not talking a high-bandwidth site here either - - - could be 800 hits a > day, for a non-profit. > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Dec 9 23:21:09 2006 From: cszasz at mac.com (Charles Szasz) Date: Sat, 9 Dec 2006 23:21:09 -0500 Subject: Return in Entry Fields Message-ID: The "Tab on Return" check box was checked. Any other suggestions? Charles Szasz cszasz at mac.com From jacque at hyperactivesw.com Sun Dec 10 01:23:15 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Dec 2006 00:23:15 -0600 Subject: Return in Entry Fields In-Reply-To: References: Message-ID: <457BA7D3.3010900@hyperactivesw.com> Charles Szasz wrote: > The "Tab on Return" check box was checked. Any other suggestions? Post your field script, maybe that will help. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From palcibiades-first at yahoo.co.uk Sun Dec 10 03:47:23 2006 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 10 Dec 2006 08:47:23 +0000 Subject: Programming for Dummies 4th Edition Message-ID: <200612100847.23703.palcibiades-first@yahoo.co.uk> It seems clear that if you want to go after the market of the sophisticated end user who is prepared to program - the kind of people who started out being interested in Hypercard way back - then the way to do it is a third edition, cover mounted express version, distributed through the usual retail outlets. I don't know whether that market exists any more, or is profitable. The cult of 'ease of use' may have wiped it out. Apple evidently concluded the contrary. But what it needs is this. And it needs to be expanded wiith recipes! There needs to be quite a lot of material on the lines of, you want to do this, this is what you use and this is how you put them together, and this is why, and this is what not to do. Its a significant indicator of the problem that Danny Goodman's books are being recommended. Think what that implies! Peter From geradamas at yahoo.com Sun Dec 10 05:55:55 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 10 Dec 2006 10:55:55 +0000 (GMT) Subject: Importing Cyriilic Text Message-ID: <20061210105555.46284.qmail@web37505.mail.mud.yahoo.com> Thanks for your recommendations, Devin Asay and Franz B?hmisch! BUT they don't work with my text . . . uploading a ZIP file containing an RTF file and a screenshot of that RTF file (so you can see what it is meant to contain) to: http://mail.maclaunch.com/richmond/Richmond.zip [apologies about the originality of the name of the file] (the Bulgarian reads: "Greetings from John") the font was "Charcoal CY" (a Mac OS 9 font that comes with the Bulgarian language kit: http://docs.info.apple.com/article.html?artnum=56865 the RTF file was authored on a Mac G4 running 10.4.8 in TextEdit. would be glad of further help, sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ Send instant messages to your online friends http://uk.messenger.yahoo.com From m.schonewille at economy-x-talk.com Sun Dec 10 06:13:36 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 10 Dec 2006 12:13:36 +0100 Subject: Importing Cyriilic Text In-Reply-To: <20061210105555.46284.qmail@web37505.mail.mud.yahoo.com> References: <20061210105555.46284.qmail@web37505.mail.mud.yahoo.com> Message-ID: <582C9D11-F805-4697-A61D-BBBA36F62B55@economy-x-talk.com> Hi Richmond, You should provide a unicode text file, not an rtf file. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 10-dec-2006, om 11:55 heeft Richmond Mathewson het volgende geschreven: > Thanks for your recommendations, Devin Asay and Franz > B?hmisch! > > BUT > > they don't work with my text . . . > > uploading a ZIP file containing an RTF file and a > screenshot of that RTF file (so you can see what it is > meant to contain) to: > > http://mail.maclaunch.com/richmond/Richmond.zip > > [apologies about the originality of the name of the > file] > > (the Bulgarian reads: "Greetings from John") > > the font was "Charcoal CY" (a Mac OS 9 font that comes > with the Bulgarian language kit: > > http://docs.info.apple.com/article.html?artnum=56865 > > the RTF file was authored on a Mac G4 running 10.4.8 > in TextEdit. > > would be glad of further help, > > sincerely, Richmond Mathewson From geradamas at yahoo.com Sun Dec 10 06:24:39 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 10 Dec 2006 11:24:39 +0000 (GMT) Subject: Importing Cyriilic Text Message-ID: <385509.96895.qm@web37508.mail.mud.yahoo.com> Thank you very much for your advice, Mark Schonewille. Have now enclosed UTF8 and UTF7 files in the archive (for some 'funny reason' Open Office doesn't seem to offer a UTF16 encoder - I might well be missing something) http://mail.maclaunch.com/richmond/Richmond.zip The silly message in the file is the same :) sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ ___________________________________________________________ All New Yahoo! Mail ? Tired of Vi at gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html From geradamas at yahoo.com Sun Dec 10 06:33:46 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 10 Dec 2006 11:33:46 +0000 (GMT) Subject: Importing Cyrillic Text - Ho Hum Message-ID: <491722.96665.qm@web37513.mail.mud.yahoo.com> Huh, Nothing new round here, Pussy-Cat: Richmond misses it, again: (quite apart from misspelling 'Cyrillic'!) archive now contains UTF16 encoded version [OOO lists 'Unicode', 'UTF8' and 'UTF7' - thick Richmond took a few minutes to work out that 'Unicode' means UTF16] http://mail.maclaunch.com/richmond/Richmond.zip sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ Send instant messages to your online friends http://uk.messenger.yahoo.com From geradamas at yahoo.com Sun Dec 10 07:14:47 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 10 Dec 2006 12:14:47 +0000 (GMT) Subject: Branding Message-ID: <296285.42937.qm@web37514.mail.mud.yahoo.com> Funny, I thought that 'Branding' was strictly for Cattle in corny Western movies :) Seriously; I have been approached by various 'types' to do the same sort of thing (admittedly on a smaller scale) - the latest being a Professor of Medicine at Plovdiv (Bulgaria) Medical Faculty who wants me to provide him with a do-it-yourself Multiple Choice Questionnaire builder (which, as such, is a day's work) for $10 - with a load of guff glorifying his name. I have told him that I will "knock out" MCQ tester standalones for each of his student quizzes at $5 a pop for the very simple reason that I would rather have $5 a month than $10 once. Also, I had a sneaky feeling the chap was going to start rolling out quiz programs for other clients of mine at a cheaper price. OOOOOOOOOOO ! I wouldn't touch the bloke in the shades, fedora hat and a loudspeaker playing music from the Godfather with a barge-pole as all he is doing is offering you a quick buck so he can, later, put you out of business and rake in the shekels himself. No need for this to go privately; I have nothing to hide re my opinion here. The small developer should never, never, get bulldozed by the heavy guys. sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ Send instant messages to your online friends http://uk.messenger.yahoo.com From geradamas at yahoo.com Sun Dec 10 07:47:09 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 10 Dec 2006 12:47:09 +0000 (GMT) Subject: Importing Cyrillic Text Message-ID: <620347.73438.qm@web37504.mail.mud.yahoo.com> Well, I owe apologies to both Devin Asay and Franz B?hmisch as their methods work very well. So . . . confession time . . . where did I go wrong? I thought, wrongly, that typing a spot of Bulgarian text into a TextEdit document and saving it as RTF on a Mac would yield a Unicode document. So, for all who would produce Unicode documents I would direct you to: http://www.openoffice.org/ for Windows and Linux users, and http://www.neooffice.org/ for Macintosh users. sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ ___________________________________________________________ Yahoo! Messenger - with free PC-PC calling and photo sharing. http://uk.messenger.yahoo.com From adrian at clubtype.co.uk Sun Dec 10 08:08:17 2006 From: adrian at clubtype.co.uk (Adrian Williams) Date: Sun, 10 Dec 2006 13:08:17 +0000 Subject: Save field text to file In-Reply-To: <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> Message-ID: <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> On 9 Dec 2006, at 22:08, Mark Schonewille wrote: > Hi Adrian, > > Klaus has given useful advice already, but I want to add the > following. You might want to set the filetype before saving a text > file: Mark, Thanks - this did work! So how do I know or how do I ensure the internet library will be included with my stack when made into an app. so I don't have to use the old fashioned open file for write etc? > > Best regards, > Mark > -- > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store software. > Download at http://www.salery.biz > > Op 9-dec-2006, om 17:06 heeft Adrian Williams het volgende geschreven: > >> On the subject of Saving... can anyone give me some pointers about >> how to Save text from a field into a file with the extension .txt for >> example? >> The docs don't explicitly have anything about 'Save'. >> >> Thanks, >> Adrian ______________________ Club Type http://www.clubtype.co.uk adrian at clubtype.co.uk From geradamas at yahoo.com Sun Dec 10 08:21:42 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 10 Dec 2006 13:21:42 +0000 (GMT) Subject: Unicode Text Import Message-ID: <11320.64680.qm@web37507.mail.mud.yahoo.com> Have just uploaded to RevOnline a "Text Importer" stack with 3 buttons using the code offered by Devin Asay and Franz B?hmisch. It may be used to demonstrate UTF-16 and UTF-16 import, and, additionally, how useless RTF import is! sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ ___________________________________________________________ Inbox full of spam? Get leading spam protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html From m.schonewille at economy-x-talk.com Sun Dec 10 08:41:49 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 10 Dec 2006 14:41:49 +0100 Subject: Save field text to file In-Reply-To: <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> Message-ID: <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> Adrian, Normally, when you build your standalone, you can turn on an option to have the standalone builder search for components that need to be included. It will include the internet library automatically. However, if you are using a password protected stack, you need to include the library yourself. On the General pane of the Standalone Application Settings, click on the radio button names Select inclusions for the standalone applications. Next, in the list of script libraries, make sure that Internet is hilighted. Now you can close the standalone builder and create your standalone. The internet library should now be included. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 10-dec-2006, om 14:08 heeft Adrian Williams het volgende geschreven: > On 9 Dec 2006, at 22:08, Mark Schonewille wrote: > >> Hi Adrian, >> >> Klaus has given useful advice already, but I want to add the >> following. You might want to set the filetype before saving a text >> file: > Mark, > Thanks - this did work! > So how do I know or how do I ensure the internet library will be > included > with my stack when made into an app. so I don't have to use the old > fashioned > open file for write etc? From adrian at clubtype.co.uk Sun Dec 10 10:16:54 2006 From: adrian at clubtype.co.uk (Adrian Williams) Date: Sun, 10 Dec 2006 15:16:54 +0000 Subject: Save field text to file In-Reply-To: <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> Message-ID: <3efccec1a112610479b073f495dc18c3@clubtype.co.uk> Mark, Thanks for that. Logical really. Just shows my newness to Rev! Your suggestion about filetype saves the text out to a file, but the file is Saved with the filename tFilePath. What's wrong with my code that "Untitled.txt" is not used? case "Save" ask file empty with "Untitled.txt" put URL tURLfile into URL ("file:" & tFilePath) set the filetype to "ttxtTEXT" put fld edtText into url ("file:" & tFilePath) break Many thanks, Adrian On 10 Dec 2006, at 13:41, Mark Schonewille wrote: > Adrian, > > Normally, when you build your standalone, you can turn on an option to > have the standalone builder search for components that need to be > included. It will include the internet library automatically. > > > However, if you are using a password protected stack, you need to > include the library yourself. On the General pane of the Standalone > Application Settings, click on the radio button names Select > inclusions for the standalone applications. Next, in the list of > script libraries, make sure that Internet is hilighted. Now you can > close the standalone builder and create your standalone. The internet > library should now be included. > > Best, > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store software. > Download at http://www.salery.biz > > Op 10-dec-2006, om 14:08 heeft Adrian Williams het volgende geschreven: > >> On 9 Dec 2006, at 22:08, Mark Schonewille wrote: >> >>> Hi Adrian, >>> >>> Klaus has given useful advice already, but I want to add the >>> following. You might want to set the filetype before saving a text >>> file: >> Mark, >> Thanks - this did work! >> So how do I know or how do I ensure the internet library will be >> included >> with my stack when made into an app. so I don't have to use the old >> fashioned >> open file for write etc? > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________ Adrian Williams Design Ltd (trading as Club Type), 44 Mill Lane, Merstham, Redhill, Surrey RH1 3HQ, UK Telephone/Facsimile: 01737 643300 dFax (computer reception): 0870 0515681 International tel/fax (UK)+44 1737 643300 International dFax: (UK)+44 870 0515681 Email: adrian at clubtype.co.uk Website: http://www.clubtype.co.uk From m.schonewille at economy-x-talk.com Sun Dec 10 11:16:13 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 10 Dec 2006 17:16:13 +0100 Subject: Save field text to file In-Reply-To: <3efccec1a112610479b073f495dc18c3@clubtype.co.uk> References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> <3efccec1a112610479b073f495dc18c3@clubtype.co.uk> Message-ID: Hi Adrian, The script should look like: case "Save" ask file empty with "Untitled.txt" -- now, the variable 'it' contains a file path or -- it is empty if the user pressed Cancel if it is not empty then put it into myFile -- set filetype before creating a file set the filetype to "ttxtTEXT" put fld "edtText" into url ("file:" & myFile) end if break Don't forget: thou shalt always use quotes around literals! The name edtText should be surrounded by quotes. Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 10-dec-2006, om 16:16 heeft Adrian Williams het volgende geschreven: > Mark, > Thanks for that. Logical really. Just shows my newness to Rev! > > Your suggestion about filetype saves the text out to a file, > but the file is Saved with the filename tFilePath. What's wrong > with my code that "Untitled.txt" is not used? > > case "Save" > ask file empty with "Untitled.txt" > put URL tURLfile into URL ("file:" & tFilePath) > > set the filetype to "ttxtTEXT" > put fld edtText into url ("file:" & tFilePath) > break > > Many thanks, > Adrian From adrian at clubtype.co.uk Sun Dec 10 11:49:18 2006 From: adrian at clubtype.co.uk (Adrian Williams) Date: Sun, 10 Dec 2006 16:49:18 +0000 Subject: Save field text to file In-Reply-To: References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> <3efccec1a112610479b073f495dc18c3@clubtype.co.uk> Message-ID: Thanks Mark, That works a treat. I still getting used to Rev doing stuff like "it" without me asking for "it"! The --comments REALLY help. Adrian On 10 Dec 2006, at 16:16, Mark Schonewille wrote: > case "Save" > ask file empty with "Untitled.txt" > -- now, the variable 'it' contains a file path or > -- it is empty if the user pressed Cancel > if it is not empty then > put it into myFile > -- set filetype before creating a file > set the filetype to "ttxtTEXT" > put fld "edtText" into url ("file:" & myFile) > end if > break > ______________________ Club Type http://www.clubtype.co.uk adrian at clubtype.co.uk From wow at together.net Sun Dec 10 12:07:42 2006 From: wow at together.net (Richard Miller) Date: Sun, 10 Dec 2006 12:07:42 -0500 Subject: Streaming video and Rev In-Reply-To: References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> <3efccec1a112610479b073f495dc18c3@clubtype.co.uk> Message-ID: I'd appreciate any thoughts on how best to incorporate streaming video into a Rev application. We have about 50 videos (320x240, 30 fps, 200-300 kbps typical data rate, averaging 5 minutes each) we'd like to make available to our customers. In any one session with our Rev application, they might need to watch one or two of these videos. Windows and Mac. We're looking for a straightforward solution.... something that can be tightly bundled into the Rev app. Options? Thanks. Richard Miller Imprinter Technologies From paolo.mazza at neol.it Sun Dec 10 13:39:48 2006 From: paolo.mazza at neol.it (paolo mazza) Date: Sun, 10 Dec 2006 19:39:48 +0100 Subject: exporting images with a transparent background In-Reply-To: <457B6632.1030209@hytext.com> References: <200612091001.54584.palcibiades-first@yahoo.co.uk> < > <6c7bf1c3ddfe4aaae50f4c871df841b8@clubtype.co.uk> < > <70ed6b130612091001h5975159dr97e986be9014c865@mail.gmail.com> <, > <,> <457B6632.1030209@hytext.com> Message-ID: Dear Friends... I got a problem importing images with a transparent background... can you help me on this? 1- I imported a picture (png file made by another program) into revolution 2-I modifyed the image with the eraser tool and I got an area with a trasparent backgroung (as expected) 3- I exported this image as png 4- I imported this emage again, and in MACOS the trasparent background is white and the in WINDOWS the transparent backgound is black. How can I fix this? In addition : - when I import images with trasnparent background made by other programs i get a white backgound - when I draw a picture in revolution with a transparent backgorund, export it and import it again.... It works fine ... I get a transparent background Thanks Paolo Mazza From revolution at jaedworks.com Sun Dec 10 13:42:43 2006 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sun, 10 Dec 2006 10:42:43 -0800 Subject: Streaming video and Rev In-Reply-To: References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> <3efccec1a112610479b073f495dc18c3@clubtype.co.uk> Message-ID: At 12:07 PM -0500 12/10/2006, Richard Miller wrote: >I'd appreciate any thoughts on how best to incorporate streaming >video into a Rev application. We have about 50 videos (320x240, 30 >fps, 200-300 kbps typical data rate, averaging 5 minutes each) we'd >like to make available to our customers. In any one session with our >Rev application, they might need to watch one or two of these >videos. Windows and Mac. > >We're looking for a straightforward solution.... something that can >be tightly bundled into the Rev app. Options? Are these in some format readable by QuickTime? If so, I think you can just use a player. Set the player's filename property to the URL of the video, then issue the command start player "My Player" to stream. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From Stgoldberg at aol.com Sun Dec 10 14:04:12 2006 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Sun, 10 Dec 2006 14:04:12 EST Subject: Problem opening two stacks at once Message-ID: Perhaps someone can help with the following problem: I have a stack titled "MM Inv 2006.rev" which I have used to create invoices for my company in 2006. It contains about 3000 invoice record cards and a number of substacks. It's worked out really well. Now that 2007 is near, I created an identical stack titled "MM Inv 2007.rev" minus the invoice record cards for a fresh start to 2007. While the 2007 stack is open, I'd like to also access the records from the 2006 stack. However, if I try to open the 2006 stack while the 2007 stack is open by clicking on the 2006 stack icon, I get the message "A stack with the same name as the one you are trying to load is already open" with the options to "Save", "Purge" (bad move as it removes all data from one of the stacks!!) or "Cancel". Right now the only way I can think of to access the records from both stacks is to close Revolution and then open Revolution again by clicking on the alternate stack. Is there a better way, without having to close Revolution? I'd prefer not to change the names of the main stack or substacks since they appear throughout the scripting and this would create confusion and likely mistakes in the scripting process. Any suggestions? Thanks. Steve Goldberg From geradamas at yahoo.com Sun Dec 10 15:29:05 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 10 Dec 2006 20:29:05 +0000 (GMT) Subject: Problem opening two stacks at once Message-ID: <562369.33350.qm@web37512.mail.mud.yahoo.com> You have probably saved your "MM Inv 2006.rev" stack as "MM Inv 2007.rev" but not renamed the stack internally! Look at the STACK INSPECTOR and I think you will find that "MM Inv 2007.rev" has the same NAME as "MM Inv 2006.rev" - Yes, I know that sounds daft, but try it: After all, it is perfectly possible to save a stack called (for instance) "STACK1" as "SLARTYBARTFAST" - however - when RR opens the file "SLARTYBARTFAST" it will 'see' "STACK1". Open the STACK INSPECTOR for "MM Inv 2007.rev" and change the 2006 to 2007, or something else 'earth-shattering' :) sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ ___________________________________________________________ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html From jp.poccard at neuf.fr Sun Dec 10 15:28:27 2006 From: jp.poccard at neuf.fr (Jean-Paul Poccard) Date: Sun, 10 Dec 2006 21:28:27 +0100 Subject: importing/exporting images with a transparent background In-Reply-To: <20061209180005.1C1604892EA@mail.runrev.com> References: <20061209180005.1C1604892EA@mail.runrev.com> Message-ID: <709a0226cf8bfba967161ac50c2798ea@NEUF.FR> > Le 9 d?c. 06, ? 19:00, Paolo Mazza a ?crit : > Dear Friends... I got a problem importing images with a transparent > background... can you help me on this? > > 1-I imported a picture (png file made by another program) into > revolution > > 2-I modifyed the image with the eraser tool and I got an area with a > trasparent backgroung (as expected) > > 3- I exported this image as png > > 4- I imported this emage again, and in MACOS the trasparent background > is > white and the in WINDOWS the transparent backgound is black. > I have got similar problems with PNG images and transparency. You can try this short experiment, , check if you get the same symptoms 1 (the paintcompression is set to PNG) 2 create any colored object 3 import a snapshot (of anything except the previous colored object ) and place it in front of the colored object 4 make a hole in the image, with the rubber for instance. Through the hole, a part of the previous object can be seen, (up to this point, no problem). 5 go to another card 6 come back to the card which contained the picture and its hole. Here a problem may arise if the image is larger than approximately one square centimeter On my mac computer , the image is completely opaque, the hole is closed, the rubbed out part of the image is now white. Strangely if the image is small enough, the transparency is still there ! this inconsistent behavior leads me to believe it is caused by a bug. If the compression is set to RLE, no problem. This is why I temporarily use only RLE compression, which is sufficient for my needs, as long as I don't use translucency and don't have to print the images. Cordialement, Jean-Paul. From wow at together.net Sun Dec 10 17:00:27 2006 From: wow at together.net (Richard Miller) Date: Sun, 10 Dec 2006 17:00:27 -0500 Subject: Streaming video and Rev In-Reply-To: References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> <3efccec1a112610479b073f495dc18c3@clubtype.co.uk> Message-ID: <60930DDA-BD73-40BD-BF48-4DF7A7304FB3@together.net> Sorry. My question wasn't clear. The issue is regarding the sending of the videos... not the receiving. What's involved in streaming the videos? Is there any role for Rev in that process... i.e., the actually streaming of the videos? If not, any recommendations on companies to approach for this? And yes.. it's all Quicktime format. Thanks. Richard On Dec 10, 2006, at 1:42 PM, Jeanne A. E. DeVoto wrote: > At 12:07 PM -0500 12/10/2006, Richard Miller wrote: >> I'd appreciate any thoughts on how best to incorporate streaming >> video into a Rev application. We have about 50 videos (320x240, 30 >> fps, 200-300 kbps typical data rate, averaging 5 minutes each) we'd >> like to make available to our customers. In any one session with our >> Rev application, they might need to watch one or two of these >> videos. Windows and Mac. >> >> We're looking for a straightforward solution.... something that can >> be tightly bundled into the Rev app. Options? > > > Are these in some format readable by QuickTime? If so, I think you > can just use a player. Set the player's filename property to the > URL of the video, then issue the command > start player "My Player" > to stream. > -- > jeanne a. e. devoto ~ revolution at jaedworks.com > http://www.jaedworks.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 stephenREVOLUTION at barncard.com Sun Dec 10 17:08:19 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 10 Dec 2006 14:08:19 -0800 Subject: Streaming video and Rev In-Reply-To: <60930DDA-BD73-40BD-BF48-4DF7A7304FB3@together.net> References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> <3efccec1a112610479b073f495dc18c3@clubtype.co.uk> <60930DDA-BD73-40BD-BF48-4DF7A7304FB3@together.net> Message-ID: >Sorry. My question wasn't clear. The issue is regarding the sending >of the videos... not the receiving. What's involved in streaming the >videos? Quicktime Broadcaster, a server and some bandwidth (if it's not local streaming) I haven't attempted this much yet, but I understand it can be done with standard Mac XSERVER software...it's the bandwidth, if it's on the net, that can get costly. the newer apple codecs can keep the costs down. > Is there any role for Rev in that process... i.e., the actually >streaming of the videos? I don't know... could it manage a simple live stream....Trevor? >If not, any recommendations on companies to approach for this? Apple, apple apple... http://www.apple.com/quicktime/broadcaster/ http://www.apple.com/quicktime/streamingserver/ good stuff. > >And yes.. it's all Quicktime format. > >Thanks. >Richard > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From sarah.reichelt at gmail.com Sun Dec 10 18:25:19 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 11 Dec 2006 09:25:19 +1000 Subject: Save field text to file In-Reply-To: References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> <3efccec1a112610479b073f495dc18c3@clubtype.co.uk> Message-ID: After getting a file name from the user, you might then want to check to make sure they didn't delete the ".txt" file extension if that is important. Cheers, Sarah On 12/11/06, Adrian Williams wrote: > Thanks Mark, > That works a treat. > I still getting used to Rev doing stuff like "it" without me asking for > "it"! > The --comments REALLY help. > Adrian > > On 10 Dec 2006, at 16:16, Mark Schonewille wrote: > > > case "Save" > > ask file empty with "Untitled.txt" > > -- now, the variable 'it' contains a file path or > > -- it is empty if the user pressed Cancel > > if it is not empty then > > put it into myFile > > -- set filetype before creating a file > > set the filetype to "ttxtTEXT" > > put fld "edtText" into url ("file:" & myFile) > > end if > > break > > > ______________________ > Club Type > http://www.clubtype.co.uk > adrian at clubtype.co.uk > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Sun Dec 10 21:01:59 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 10 Dec 2006 18:01:59 -0800 Subject: Branding Message-ID: <457CBC17.2010408@fourthworld.com> Shari wrote: > I've been approached by someone who desires a specially branded > version of my software, Blackjack Gold. Are any of you doing this, > and if so, how are you handling all the ins, outs, and monies? I've made two co-branded versions of one of my wares, but in both cases I remain the sole distributor. I charge nothing to the other companies, but coordinate marketing with them and help them promote the co-branded version at their site. I get new customers, they get a software product in their portfolio, and the dividing lines between us remain clear enough that we're both very happy. Your situation sounds more complex: > Blackjack Gold is currently shareware, which in itself creates an > issue, as his version would need to be very particularly created with > a completely different registration system. > > He wants some minor changes to the software itself. And wants to > release his own brand of it as a demo, with the additional > possibility of a web version (I'm not even qualified to create it as > a web version), or as a version that casinos can distribute to their > players for home play/practice. > > Whereas the initial works involved are fairly minor, the potentials > he is hoping for could be major. > > For example, a CD version of the game in his brand, without my piracy > protections, distributed for free by casinos, would presumably kill > my software sales of my own brand. Indeed it would. Where's the upside for you? What does this company bring to the table to make it worth your while? Is it unquestionably worth more than your lost sales? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mwieder at ahsoftware.net Sun Dec 10 22:02:42 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 Dec 2006 19:02:42 -0800 Subject: altSQLite variable substitution Message-ID: <6036196097.20061210190242@ahsoftware.net> Hmmm- I know this has come up on the list before, but I can't find a resolution for it. I keep getting a syntax error on trying variable substitution with the altSQLite driver. I've got it down to a simple case now, and according to my interpretation of the documentation this should work. Instead I get 'syntax error near ")"'. Here's the errant line: revExecuteSQL dbID, "INSERT INTO CDData(id) VALUES(:1)", "tSSN" and this one works: revExecuteSQL dbID, "INSERT INTO CDData(id) VALUES(" &tSSN& ")" so I know there's no problem with either the database format or the data. -- -Mark Wieder mwieder at ahsoftware.net From jperryl at ecs.fullerton.edu Sun Dec 10 22:32:33 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 10 Dec 2006 19:32:33 -0800 (PST) Subject: [ANN] Creating paths for animation In-Reply-To: <457B4995.1070608@spl21.net> Message-ID: John, Can't wait to try it out! This will be great for my students! Judy On Sat, 9 Dec 2006, John Craig wrote: > I have uploaded 'Steam Roller' to user space Jock_McTartan. This plugin > is for creating paths for sprites to follow in games, etc. I'll update > the molLibSprite library shortly with some routines for using paths > created with this plugin. Feedback welcome. > > Enjoy! > > JC > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dcragg at lacscentre.co.uk Mon Dec 11 02:28:55 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 11 Dec 2006 07:28:55 +0000 Subject: altSQLite variable substitution In-Reply-To: <6036196097.20061210190242@ahsoftware.net> References: <6036196097.20061210190242@ahsoftware.net> Message-ID: <4278263F-2566-413C-838B-3FA453F3F7F8@lacscentre.co.uk> On 11 Dec 2006, at 03:02, Mark Wieder wrote: > > Here's the errant line: > revExecuteSQL dbID, "INSERT INTO CDData(id) VALUES(:1)", "tSSN" > > and this one works: > revExecuteSQL dbID, "INSERT INTO CDData(id) VALUES(" &tSSN& ")" When using the ":1" variety, doesn't the variable have to be an array. I.e. the value you need should be in tSSN[1]. Or have I misunderstood? Cheers Dave From paolo.mazza at neol.it Mon Dec 11 03:59:17 2006 From: paolo.mazza at neol.it (paolo mazza) Date: Mon, 11 Dec 2006 09:59:17 +0100 Subject: importing/exporting images with a transparent background In-Reply-To: <709a0226cf8bfba967161ac50c2798ea@NEUF.FR> References: <20061209180005.1C1604892EA@mail.runrev.com> <709a0226cf8bfba967161ac50c2798ea@NEUF.FR> Message-ID: Thanks Jean-Paul . I think you are right. This has to be a bug.... and it is quite annoying one. I tryed this: I set the paintcompression to PNG I imported an image (png) I made a transparent hole with the eraser tool. I moved to another card....and come back IN MACOSX - the image is opaque and the hole is white IN WINDOWS - the image is opaque and the hole is black If I set the paintcompression to rle it works fine ... and Rev keeps the transparency. However, if I export this image to file as png I get the same problem. Thansparency has gone and the image is opaque with a white (MAC) of black (WINDOWS) hole! Any workaround for this? Thanks Paolo Mazza Le 9 d?c. 06, ? 19:00, Paolo Mazza a ?crit : >> Dear Friends... I got a problem importing images with a transparent >> background... can you help me on this? >> >> 1-I imported a picture (png file made by another program) into >> revolution >> >> 2-I modifyed the image with the eraser tool and I got an area with a >> trasparent backgroung (as expected) >> >> 3- I exported this image as png >> >> 4- I imported this emage again, and in MACOS the trasparent background >> is >> white and the in WINDOWS the transparent backgound is black. >> > I have got similar problems with PNG images and transparency. You can try this short experiment, , check if you get the same symptoms 1 (the paintcompression is set to PNG) 2 create any colored object 3 import a snapshot (of anything except the previous colored object ) and place it in front of the colored object 4 make a hole in the image, with the rubber for instance. Through the hole, a part of the previous object can be seen, (up to this point, no problem). 5 go to another card 6 come back to the card which contained the picture and its hole. Here a problem may arise if the image is larger than approximately one square centimeter On my mac computer , the image is completely opaque, the hole is closed, the rubbed out part of the image is now white. Strangely if the image is small enough, the transparency is still there ! this inconsistent behavior leads me to believe it is caused by a bug. If the compression is set to RLE, no problem. This is why I temporarily use only RLE compression, which is sufficient for my needs, as long as I don't use translucency and don't have to print the images. Cordialement, Jean-Paul. From adrian at clubtype.co.uk Mon Dec 11 03:58:39 2006 From: adrian at clubtype.co.uk (Adrian Williams) Date: Mon, 11 Dec 2006 08:58:39 +0000 Subject: Save field text to file In-Reply-To: References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> <3efccec1a112610479b073f495dc18c3@clubtype.co.uk> Message-ID: <1106df5b1df3126195a96218488a39d3@clubtype.co.uk> Thanks Sarah, Adrian On 10 Dec 2006, at 23:25, Sarah Reichelt wrote: > After getting a file name from the user, you might then want to check > to make sure they didn't delete the ".txt" file extension if that is > important. > > Cheers, > Sarah > > > On 12/11/06, Adrian Williams wrote: >> Thanks Mark, >> That works a treat. >> I still getting used to Rev doing stuff like "it" without me asking >> for >> "it"! >> The --comments REALLY help. >> Adrian >> >> On 10 Dec 2006, at 16:16, Mark Schonewille wrote: >> >> > case "Save" >> > ask file empty with "Untitled.txt" >> > -- now, the variable 'it' contains a file path or >> > -- it is empty if the user pressed Cancel >> > if it is not empty then >> > put it into myFile >> > -- set filetype before creating a file >> > set the filetype to "ttxtTEXT" >> > put fld "edtText" into url ("file:" & myFile) >> > end if >> > break >> > >> ______________________ >> Club Type >> http://www.clubtype.co.uk >> adrian at clubtype.co.uk >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 > > _______________________________________ Adrian Williams Design Ltd (trading as Club Type), 44 Mill Lane, Merstham, Redhill, Surrey RH1 3HQ, UK Telephone/Facsimile: 01737 643300 dFax (computer reception): 0870 0515681 International tel/fax (UK)+44 1737 643300 International dFax: (UK)+44 870 0515681 Email: adrian at clubtype.co.uk Website: http://www.clubtype.co.uk From scott at cdroo.com Mon Dec 11 04:01:17 2006 From: scott at cdroo.com (Scott Kane) Date: Mon, 11 Dec 2006 20:01:17 +1100 Subject: Custom Property Issue Message-ID: <001d01c71d02$ecdf0f50$0201010a@visualmicro> Hi, Not sure what I've got going wrong here but the code below works fine on the second execution but not the first. A stack is opened (sheet or modal according to OS) and the Stack has a Cancel and Save button. If the Save button in Clicked the Custom Property ModalResult is set to true and the Stack is send a Hide message from that button. The converse (set to False) if Cancel is clicked. The routine that shows the stack below works fine but I can't get it to retrieve the contents (see code below) as the Custom Property does not seem to be set. As I said - it works find on the second attempt (right after) the first attempt showing stack etc. Code is: on mouseUp set the Visible of Stack "StackDataEntry" to True if the platform is "MacOS" then Sheet Stack "StackDataEntry" else Modal Stack "StackDataEntry" end if if the ModalResult of Stack "StackDataEntry" = True then Put the fld "HistoryList" of Stack "StackDataEntry" into btn "Manufacturer" end if end mouseUp Cheers for any help Scott From dcragg at lacscentre.co.uk Mon Dec 11 04:21:38 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 11 Dec 2006 09:21:38 +0000 Subject: Custom Property Issue In-Reply-To: <001d01c71d02$ecdf0f50$0201010a@visualmicro> References: <001d01c71d02$ecdf0f50$0201010a@visualmicro> Message-ID: On 11 Dec 2006, at 09:01, Scott Kane wrote: > Hi, > > Not sure what I've got going wrong here but the code below works > fine on the second execution but not the first. A stack is opened > (sheet or modal according to OS) and the Stack has a Cancel and > Save button. If the Save button in Clicked the Custom Property > ModalResult is set to true and the Stack is send a Hide message > from that button. Scott, in addition to hiding the modal stack, do you also close the stack? This is necessary for the script that sent the modal/sheet message to resume. (However, I don't easily see how it would work the second time if you didn't close it. But I notice some weird behavior when you hide a sheet stack without closing it.) Cheers Dave From eric.chatonet at sosmartsoftware.com Mon Dec 11 04:23:27 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 11 Dec 2006 10:23:27 +0100 Subject: Custom Property Issue In-Reply-To: <001d01c71d02$ecdf0f50$0201010a@visualmicro> References: <001d01c71d02$ecdf0f50$0201010a@visualmicro> Message-ID: <15CD4D33-5561-4C3D-B8D7-702B1885F237@sosmartsoftware.com> Hi Scott, You could try a simpler code since you don't need to open invisible a stack then change its style (that is the same thing that reopening it again): on mouseUp set the dialogData to empty if the platform is "MacOS" then sheet stack "StackDataEntry" else modal stack "StackDataEntry" end if -- handler pauses here until the StackDataEntry stack is closed if the dialogData <> empty then end if end mouseUp In the Save button of your StackDataEntry stack: on mouseUp set the dialogData to close this stack end mouseUp And quite simply in the Cancel button of your StackDataEntry stack: on mouseUp close this stack end mouseUp See dialogData in docs. Hope this helps :-) Le 11 d?c. 06 ? 10:01, Scott Kane a ?crit : > Hi, > > Not sure what I've got going wrong here but the code below works > fine on the second execution but not the first. A stack is opened > (sheet or modal according to OS) and the Stack has a Cancel and > Save button. If the Save button in Clicked the Custom Property > ModalResult is set to true and the Stack is send a Hide message > from that button. The converse (set to False) if Cancel is > clicked. The routine that shows the stack below works fine but I > can't get it to retrieve the contents (see code below) as the > Custom Property does not seem to be set. As I said - it works find > on the second attempt (right after) the first attempt showing stack > etc. > > Code is: > > on mouseUp > set the Visible of Stack "StackDataEntry" to True > if the platform is "MacOS" then > Sheet Stack "StackDataEntry" else > Modal Stack "StackDataEntry" > end if > if the ModalResult of Stack "StackDataEntry" = True then > Put the fld "HistoryList" of Stack "StackDataEntry" into btn > "Manufacturer" > end if > end mouseUp > > Cheers for any help Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From scott at cdroo.com Mon Dec 11 05:02:34 2006 From: scott at cdroo.com (Scott Kane) Date: Mon, 11 Dec 2006 21:02:34 +1100 Subject: Custom Property Issue References: <001d01c71d02$ecdf0f50$0201010a@visualmicro> Message-ID: <002e01c71d0b$7c164af0$0201010a@visualmicro> > Scott, in addition to hiding the modal stack, do you also close the > stack? This is necessary for the script that sent the modal/sheet message > to resume. (However, I don't easily see how it would work the second > time if you didn't close it. But I notice some weird behavior when you > hide a sheet stack without closing it.) Ah - between your comment here and Eric's it's dawned on me what is happening here. :-) Thanks!! Scott From scott at cdroo.com Mon Dec 11 05:03:26 2006 From: scott at cdroo.com (Scott Kane) Date: Mon, 11 Dec 2006 21:03:26 +1100 Subject: Custom Property Issue References: <001d01c71d02$ecdf0f50$0201010a@visualmicro> <15CD4D33-5561-4C3D-B8D7-702B1885F237@sosmartsoftware.com> Message-ID: <003101c71d0b$9b65e320$0201010a@visualmicro> Hi Eric, > You could try a simpler code since you don't need to open invisible a > stack then change its style (that is the same thing that reopening it > again): Thanks for that! A rather obvious mistake when I see it written logically. Thanks! :-) Scott From runrev at animabit.de Mon Dec 11 05:48:22 2006 From: runrev at animabit.de (runrev at animabit.de) Date: Mon, 11 Dec 2006 10:48:22 +0000 Subject: Importing Cyrillic Text + UTF8 and the XML-library Message-ID: Hi Richmond, fine that your import works! Another question concerning UTF8: I use runrev 2.2.1 and got the experience that the runrev XML-library of runrev was not able to handle UTF8 encoded XML files with foreign texts in hebrew and greek. Did anyone check this in newer versions? Regards, Franz -------- Original Message -------- Subject: Importing Cyrillic Text (10-Dez-2006 13:47) From: Richmond Mathewson To: use-revolution at lists.runrev.com > Well, I owe apologies to both Devin Asay and Franz > B?hmisch as their methods work very well. ;-) From godhuman at hotmail.com Mon Dec 11 08:14:45 2006 From: godhuman at hotmail.com (chris raj) Date: Mon, 11 Dec 2006 21:14:45 +0800 Subject: I want money. In-Reply-To: Message-ID: Ok everyone wants money. I am not excluded. So what is the best way to earn money online? Any ideas? Please share. _________________________________________________________________ Get an advanced look at the new version of MSN Messenger. http://get.live.com/messenger/overview Try it now. From scott at cdroo.com Mon Dec 11 08:22:56 2006 From: scott at cdroo.com (Scott Kane) Date: Tue, 12 Dec 2006 00:22:56 +1100 Subject: I want money. References: Message-ID: <000401c71d27$79ac6620$0201010a@visualmicro> > Ok everyone wants money. I am not excluded. So what is the best way to > earn money online? Any ideas? Please share. Easy solution. Cancel your internet account and you'll save yourself whatever you are paying now. Scott Kane From godhuman at hotmail.com Mon Dec 11 08:30:26 2006 From: godhuman at hotmail.com (chris raj) Date: Mon, 11 Dec 2006 21:30:26 +0800 Subject: I want money. In-Reply-To: <000401c71d27$79ac6620$0201010a@visualmicro> Message-ID: Oh I am having free internet connections. :) >From: "Scott Kane" >Reply-To: How to use Revolution >To: "How to use Revolution" >Subject: Re: I want money. >Date: Tue, 12 Dec 2006 00:22:56 +1100 > >>Ok everyone wants money. I am not excluded. So what is the best way to >>earn money online? Any ideas? Please share. > >Easy solution. Cancel your internet account and you'll save yourself >whatever you are paying now. > >Scott Kane > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution _________________________________________________________________ Find singles online in your area with MSN Dating and Match.com! http://match.my.msn.com/match/mt.cfm?pg=channel&tcid=281206 From mark_powell at symantec.com Mon Dec 11 08:54:24 2006 From: mark_powell at symantec.com (Mark Powell) Date: Mon, 11 Dec 2006 05:54:24 -0800 Subject: Writing to $ALLUSERSPROFILE Message-ID: Working on a utility for Windows that writes to C:\Documents and Settings\All Users\Application Data but it occurs to me that this would not work for non-English operating systems. Three questions: - Can I use the environmental variable $ALLUSERSPROFILE with absolute confidence that it will resolve on all Windows operating systems? - How do I write into the "Application Data" subdirectory? (i.e. how do I anticipate the localized name?) - If I can't, then can I create a directory at the root of "All Users" with absolute confidence that I can do it on all systems? Thanks Mark Powell From eric.chatonet at sosmartsoftware.com Mon Dec 11 08:57:48 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 11 Dec 2006 14:57:48 +0100 Subject: Writing to $ALLUSERSPROFILE In-Reply-To: References: Message-ID: <9401941A-512B-419B-A6AB-EA0C60EAF7EE@sosmartsoftware.com> Hi Mark, Here I use Win XP home and Pro localized in French but as these folders are usually hidden, they keep here their English name. Can't tell more... May be Klaus could be tell you what happens in German? Le 11 d?c. 06 ? 14:54, Mark Powell a ?crit : > Working on a utility for Windows that writes to > > C:\Documents and Settings\All Users\Application Data > > but it occurs to me that this would not work for non-English operating > systems. Three questions: > > - Can I use the environmental variable $ALLUSERSPROFILE with absolute > confidence that it will resolve on all Windows operating systems? > - How do I write into the "Application Data" subdirectory? (i.e. > how do > I anticipate the localized name?) > - If I can't, then can I create a directory at the root of "All Users" > with absolute confidence that I can do it on all systems? > > Thanks > > Mark Powell Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From viktoras at ekoinf.net Mon Dec 11 08:58:07 2006 From: viktoras at ekoinf.net (Viktoras Didziulis) Date: Mon, 11 Dec 2006 15:58:07 +0200 (FLE Standard Time) Subject: I want money. References: Message-ID: <457D63EF.000001.03940@MAZYTIS> Its very simple :-) 1) new idea (and not the silly one, but something at least 20% of population will appreciate) 2) global market 3) you have to be the first with that idea once 1) 2) and 3) works and your site uses up all the allocated bandwidth you can sell pixels on your website for advertising say 10 USD per 1 pixel per month. Viktoras -------Original Message------- From: chris raj Date: 12/11/2006 3:15:16 PM To: use-revolution at lists.runrev.com Subject: I want money. Ok everyone wants money. I am not excluded. So what is the best way to earn money online? Any ideas? Please share. _________________________________________________________________ Get an advanced look at the new version of MSN Messenger. http://get.live.com/messenger/overview Try it now. _______________________________________________ use-revolution mailing list use-revolution at 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-k.de Mon Dec 11 09:00:36 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 11 Dec 2006 15:00:36 +0100 (MET) Subject: Writing to $ALLUSERSPROFILE In-Reply-To: References: Message-ID: <5D174477-1AA2-457C-85DF-55B25687544E@major-k.de> Hi Mark, > Working on a utility for Windows that writes to > > C:\Documents and Settings\All Users\Application Data this (and the correct names for every language!) will be returned by using specialfolderpath(35) > but it occurs to me that this would not work for non-English operating > systems. Three questions: > > - Can I use the environmental variable $ALLUSERSPROFILE with absolute > confidence that it will resolve on all Windows operating systems? No idea, sorry. > - How do I write into the "Application Data" subdirectory? (i.e. > how do > I anticipate the localized name?) See above. > - If I can't, then can I create a directory at the root of "All Users" > with absolute confidence that I can do it on all systems? See above :-) Hope that helps. > Thanks > > Mark Powell Regads Klaus Major klaus at major-k.de http://www.major-k.de From geradamas at yahoo.com Mon Dec 11 09:01:08 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 11 Dec 2006 14:01:08 +0000 (GMT) Subject: Importing Cyrillic Text + UTF8 and the XML-library Message-ID: <693725.67351.qm@web37514.mail.mud.yahoo.com> UTF8 seems to work perfectly well with DreamCard 2.6.1 and RevMedia 2.7.2 (not that I recommend that you buy it). sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ ___________________________________________________________ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html From geradamas at yahoo.com Mon Dec 11 09:04:05 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 11 Dec 2006 14:04:05 +0000 (GMT) Subject: [OT ] I want money. Message-ID: <20061211140405.6224.qmail@web37505.mail.mud.yahoo.com> Well, 'tis the silly season again . . . If all interested in this topic could send me $1, just as soon as I have collected $1 million I will let you know in a telegram from my tax-haven in the Bahamas :) sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ Send instant messages to your online friends http://uk.messenger.yahoo.com From klaus at major-k.de Mon Dec 11 09:07:38 2006 From: klaus at major-k.de (Klaus Major) Date: Mon, 11 Dec 2006 15:07:38 +0100 (MET) Subject: [OT ] I want money. In-Reply-To: <20061211140405.6224.qmail@web37505.mail.mud.yahoo.com> References: <20061211140405.6224.qmail@web37505.mail.mud.yahoo.com> Message-ID: Hi Richmond, > Well, 'tis the silly season again . . . > > If all interested in this topic could send me $1, just > as soon as I have collected $1 million I will let you > know in a telegram from my tax-haven in the Bahamas :) yeah, something like this might be the ultimate solution :-D > sincerely, Richmond Mathewson Regards Klaus Major klaus at major-k.de http://www.major-k.de From m.schonewille at economy-x-talk.com Mon Dec 11 09:15:01 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 11 Dec 2006 15:15:01 +0100 Subject: Writing to $ALLUSERSPROFILE In-Reply-To: References: Message-ID: <4B81E974-B7C1-4D65-8011-3F631194980C@economy-x-talk.com> Mark, Maybe, the problem is not that a system is localised but that the user on that particular localised system is logged in as user with limited permissions. You can probably write to that folder only if you are logged in as administrator. Not that I am 100% sure, but this seems a good theory to me. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 11-dec-2006, om 14:54 heeft Mark Powell het volgende geschreven: > Working on a utility for Windows that writes to > > C:\Documents and Settings\All Users\Application Data > > but it occurs to me that this would not work for non-English operating > systems. Three questions: > > - Can I use the environmental variable $ALLUSERSPROFILE with absolute > confidence that it will resolve on all Windows operating systems? > - How do I write into the "Application Data" subdirectory? (i.e. > how do > I anticipate the localized name?) > - If I can't, then can I create a directory at the root of "All Users" > with absolute confidence that I can do it on all systems? > > Thanks > > Mark Powell From yoursignup at yahoo.com Mon Dec 11 10:28:46 2006 From: yoursignup at yahoo.com (Jim Bufalini) Date: Mon, 11 Dec 2006 05:28:46 -1000 Subject: altSQLite variable substitution In-Reply-To: <6036196097.20061210190242@ahsoftware.net> Message-ID: Hi Mark, > Hmmm- > > I know this has come up on the list before, but I can't find a > resolution for it. I keep getting a syntax error on trying variable > substitution with the altSQLite driver. I've got it down to a simple > case now, and according to my interpretation of the documentation this > should work. Instead I get 'syntax error near ")"'. > > Here's the errant line: > revExecuteSQL dbID, "INSERT INTO CDData(id) VALUES(:1)", "tSSN" > > and this one works: > revExecuteSQL dbID, "INSERT INTO CDData(id) VALUES(" &tSSN& ")" > > so I know there's no problem with either the database format or the > data. > There are some peculiarities you need to be aware of using the current revdb.dll and the altSQLite driver. These apply to using the "bound" form of substitution, which is :1 etc. and a following variable reference. 1. Never reference a variable that is empty. Rev will crash. 2. Don't reference vars that have chars that can be interpreted as math symbols (dash, asterisk, plus, etc). They will cause Rev to crash. (I assume SSN stands for Social Security Number as in XXX-XX-XXXX? For some reason the drivers attempt to perform math with this eventhough it is "data" :-( Try this: 1. Type the SSN column as lower case "blob" (Not the standard BLOB) in the database. Chris uses lower case to let his driver know this a binary column. 2. Then use Rev's compress function to compress your data as: put compress(tSSN) into cSSN Then write your SQL statement like this: revExecuteSQL dbID, "INSERT INTO CDData(id) VALUES(:1)", "*bcSSN" This will work in 99% of cases. Always with dash anyway. But I have found there are some combinations of data which when compressed and referenced as a bound variable also cause the combination Rev/altSQLite drivers to crash Rev :-( I have not identified yet exactly what this data combo is yet. I have switched to ciphering the data instead of using compress, but this is much more complex as it requires cipher keys, etc. In your case the compress should work. Jim From luis at anachreon.co.uk Mon Dec 11 10:30:53 2006 From: luis at anachreon.co.uk (Luis) Date: Mon, 11 Dec 2006 15:30:53 +0000 Subject: I want money. In-Reply-To: <457D63EF.000001.03940@MAZYTIS> References: <457D63EF.000001.03940@MAZYTIS> Message-ID: <457D79AD.9000709@anachreon.co.uk> Viktoras Didziulis wrote: > once 1) 2) and 3) works and your site uses up all the allocated bandwidth > you can sell pixels on your website for advertising say 10 USD per 1 pixel > per month. That's been done already... Cheers, Luis. > > Viktoras > > -------Original Message------- > > From: chris raj > Date: 12/11/2006 3:15:16 PM > To: use-revolution at lists.runrev.com > Subject: I want money. > > Ok everyone wants money. I am not excluded. So what is the best way to earn > money online? Any ideas? Please share. > > _________________________________________________________________ > Get an advanced look at the new version of MSN Messenger. > http://get.live.com/messenger/overview Try it now. > > _______________________________________________ > use-revolution mailing list > use-revolution 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 shari at gypsyware.com Mon Dec 11 10:37:18 2006 From: shari at gypsyware.com (Shari) Date: Mon, 11 Dec 2006 10:37:18 -0500 Subject: Branding In-Reply-To: <457CBC17.2010408@fourthworld.com> References: <457CBC17.2010408@fourthworld.com> Message-ID: >Indeed it would. Where's the upside for you? What does this company >bring to the table to make it worth your while? > >Is it unquestionably worth more than your lost sales? > >-- > Richard Gaskin > Managing Editor, revJournal Thank you all for your thoughts and opinions, both public and private. I emailed the fellow back and pretty much said something to that effect. That based on my understanding of what he wanted, it could destroy my own software sales, and that I would not even consider such a proposition without a very large price tag attached. I actually did calculate such a price tag for my own benefit, but did not present any numbers to him. I do not expect to hear back from him, but you never know. Presumably he will move on to the next shareware developer and may have better luck. The formula I used was very simple: the amount of money that the software currently owes me for time invested and not yet paid for, plus the yearly income it produces times five. Would I sell rights to the software? At the right price, yes :-) Shari -- Gypsy King Software Mac and Windows shareware games http://www.gypsyware.com From lists at mangomultimedia.com Mon Dec 11 10:49:23 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 11 Dec 2006 07:49:23 -0800 Subject: Multi-user stack question In-Reply-To: References: <5BDD1C64-010F-1000-EED3-AE29A5BCCB4E-Webmail-10008@mac.com> <24136011484.20061208215257@ahsoftware.net> <4422C366-010F-1000-9E8A-CE619EFFDA9F-Webmail-10023@mac.com> Message-ID: <850FB3D7-134B-4DB5-98E6-35864AFE514D@mangomultimedia.com> On Dec 9, 2006, at 9:43 AM, Stephen Barncard wrote: > contact Trevor Devore for further details about his lib. Trevor had > the lib up online but they changed domain names and the old link > doesn't work anymore. The link to the developer section where I keep Revolution related stuff will be working again sometime today. I installed a new version of our website on Friday which changed how we did template includes so the developer section broke. I ran out of gas before I got around to updating those pages. I just made some changes so you can at least view the content now. The url is: www.bluemangolearning.com/developer/revolution -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From devin_asay at byu.edu Mon Dec 11 11:10:25 2006 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 11 Dec 2006 09:10:25 -0700 Subject: A problem with Return in a field In-Reply-To: <0C948157-E52A-4495-8778-D8E9320FD21C@mac.com> References: <0C948157-E52A-4495-8778-D8E9320FD21C@mac.com> Message-ID: <05DF0D70-A043-4C27-BCE0-ADC8F13B176E@byu.edu> Charles, (I've been following this discussion on the use-rev list, so I'm taking the liberty to post it there too.) I suspect your problem may be related to the fact that you have a keyDown handler in the field that may be blocking the return key. (Although it's not supposed to.) It should work if you force the return key to "tab" to the next field by including a returnInField handler: on returnInField get the number of me select the text of fld (it + 1) end returnInField Anybody know why the keyDown handler blocks the autoTab? Maybe a candidate for bugzilla? Devin On Dec 9, 2006, at 6:45 PM, Charles Szasz wrote: > Devin, > > I have been working on my project since June. I almost done but I > ran into an unexpected problem. When the user enters a raw score of > two digits in a field and presses the Tab key, the cursor goes to > the next edit field as it is supposed to do. When the user presses > the Return key after entry of a two digit number, the number is > pushed off to the left and the cursor remains in the field. This > happens despite the autotab being set to true and no list behavior > is checked. > > Here is a sample script from my project: > > > ON keyDown whichKey > IF whichKey is a number THEN > IF the selection is not empty THEN delete the selection > IF the length of me < 2 THEN > pass keyDown > ELSE > answer information "Numbers cannot be longer than two digits." > END IF > END IF > END keyDown > > ON closefield > IF field "yrFld" > 4 AND field "yrFld" < 12 AND fld "msFld" > > 62 THEN > answer information "The total raw score is incorrect for a > age of " && fld "yrFld" &" years!" > put empty into me > focus ON me > ELSE > IF field "yrFld" > 11 AND field "yrFld" < 20 AND fld > "msFld" > 63 THEN > answer information "The total raw score is incorrect > for a age of " && fld "yrFld" &" years!" > put empty into me > focus ON me > ELSE > IF field "yrFld" > 19 AND field "yrFld" <60 AND fld > "msFld" > 57 THEN > answer information "The total raw score is > incorrect for a age of " && fld "yrFld" &" years!" > put empty into me > focus ON me > END IF > END IF > END IF > END closefield > > > The first script limits the input of 2 digit numbers only. The > second script is flagging the possibility of an incorrect raw score > being entered for certain ages. Some of the fields have a raw score > limit based on the age of the child. For this example, children > aged 5 to 11 years, the total raw score can be only 62. for > students in the age range of 12 to 19, the total is 63 and for > adults (20 to 59 years) the total is 57. > > The questions remains is why does the Return key does not act as a > Tab key? > > Charles Szasz > cszasz at mac.com > > > Devin Asay Humanities Technology and Research Support Center Brigham Young University Devin Asay Humanities Technology and Research Support Center Brigham Young University From lists at mangomultimedia.com Mon Dec 11 11:12:11 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 11 Dec 2006 08:12:11 -0800 Subject: Streaming video and Rev In-Reply-To: References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> <3efccec1a112610479b073f495dc18c3@clubtype.co.uk> <60930DDA-BD73-40BD-BF48-4DF7A7304FB3@together.net> Message-ID: <075965EA-29BD-454A-83C6-0DD0E5C23373@mangomultimedia.com> On Dec 10, 2006, at 2:08 PM, Stephen Barncard wrote: >> Is there any role for Rev in that process... i.e., the actually >> streaming of the videos? > > I don't know... could it manage a simple live stream....Trevor? I have never done much with streaming content, only progressive download. For the streaming of content I'm pretty sure you would want to use a steaming server. I would think Rev could play some role in managing your streaming content though. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From ambassador at fourthworld.com Mon Dec 11 11:32:02 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 11 Dec 2006 08:32:02 -0800 Subject: I want money. Message-ID: <457D8802.6050305@fourthworld.com> godhuman wrote: > Ok everyone wants money. I am not excluded. So what is the best way to earn > money online? Any ideas? Please share. I hear partnering with people who have money tied up in dead relatives' accounts in Nigerian banks can be pretty lucrative. Let us know how it works out. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From soapdog at mac.com Mon Dec 11 11:37:56 2006 From: soapdog at mac.com (Andre Garzia) Date: Mon, 11 Dec 2006 14:37:56 -0200 Subject: I want money. In-Reply-To: <457D8802.6050305@fourthworld.com> References: <457D8802.6050305@fourthworld.com> Message-ID: you guys don't want to hear my ideas on getting money, right? one tricky is to create a social networking site such as MySpace and have all pages with really crapy annoying MIDI music files and get people with good sense to pay you to shut your site down... On Dec 11, 2006, at 2:32 PM, Richard Gaskin wrote: > godhuman wrote: >> Ok everyone wants money. I am not excluded. So what is the best >> way to earn money online? Any ideas? Please share. > > I hear partnering with people who have money tied up in dead > relatives' accounts in Nigerian banks can be pretty lucrative. Let > us know how it works out. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Mon Dec 11 11:54:30 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 11 Dec 2006 08:54:30 -0800 Subject: altSQLite variable substitution In-Reply-To: <4278263F-2566-413C-838B-3FA453F3F7F8@lacscentre.co.uk> References: <6036196097.20061210190242@ahsoftware.net> <4278263F-2566-413C-838B-3FA453F3F7F8@lacscentre.co.uk> Message-ID: <18586104091.20061211085430@ahsoftware.net> Dave- Sunday, December 10, 2006, 11:28:55 PM, you wrote: > When using the ":1" variety, doesn't the variable have to be an > array. I.e. the value you need should be in tSSN[1]. Or have I > misunderstood? The docs may be wrong about this, but my reading of them says that you can do this either way (a variable list or an array). -- -Mark Wieder mwieder at ahsoftware.net From herz at ucsd.edu Mon Dec 11 12:00:12 2006 From: herz at ucsd.edu (Richard K. Herz) Date: Mon, 11 Dec 2006 09:00:12 -0800 Subject: [OT] snowflakes for the season Message-ID: <457D8E9C.2090401@ucsd.edu> Check out http://snowflakes.lookandfeel.com/ Click "Make your own snowflake." Clever. Might give someone ideas for a Rev game. From mwieder at ahsoftware.net Mon Dec 11 12:16:54 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 11 Dec 2006 09:16:54 -0800 Subject: altSQLite variable substitution In-Reply-To: References: Message-ID: <18887448624.20061211091654@ahsoftware.net> Jim- Monday, December 11, 2006, 7:28:46 AM, you wrote: > There are some peculiarities you need to be aware of using the current > revdb.dll and the altSQLite driver. > These apply to using the "bound" form of substitution, which is :1 etc. and > a following variable reference. > 1. Never reference a variable that is empty. Rev will crash. Haven't come across this. I've been experimenting with empty variables and nonexistent variables and haven't had it crash yet. Have you Bugzillad this? > 2. Don't reference vars that have chars that can be interpreted as math > symbols (dash, asterisk, plus, etc). They will cause Rev to crash. (I assume > SSN stands for Social Security Number as in XXX-XX-XXXX? For some reason the > drivers attempt to perform math with this eventhough it is "data" :-( Right. I found that one, and I throw quotes around anything that might get executed. This really should be in the docs, or better yet, fixed. > Try this: > 1. Type the SSN column as lower case "blob" (Not the standard BLOB) in the > database. Chris uses lower case to let his driver know this a binary column. I originally had it as a "blob" type, but switched to varchar when that wasn't working in order to try to extract as simple example as possible. put "create table CDData(id integer primary key, Notes varchar)" into tSQL revExecuteSQL dbID, tSQL put "blahblahblah" into tNotes put "INSERT INTO CDData(id, Notes) VALUES(null,:1)" into tSQL RevExecuteSQL dbID, tSQL, "tNotes" which results in 'near ")": syntax error' Removing the variable substitution works. put "INSERT INTO CDData(id, Notes) VALUES(null,"&tNotes&")" into tSQL Thanks. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Mon Dec 11 12:17:39 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Dec 2006 11:17:39 -0600 Subject: A problem with Return in a field In-Reply-To: <05DF0D70-A043-4C27-BCE0-ADC8F13B176E@byu.edu> References: <0C948157-E52A-4495-8778-D8E9320FD21C@mac.com> <05DF0D70-A043-4C27-BCE0-ADC8F13B176E@byu.edu> Message-ID: <457D92B3.4030807@hyperactivesw.com> Devin Asay wrote: > Charles, > > (I've been following this discussion on the use-rev list, so I'm taking > the liberty to post it there too.) > > I suspect your problem may be related to the fact that you have a > keyDown handler in the field that may be blocking the return key. > (Although it's not supposed to.) It should work if you force the return > key to "tab" to the next field by including a returnInField handler: > > on returnInField > get the number of me > select the text of fld (it + 1) > end returnInField > > Anybody know why the keyDown handler blocks the autoTab? Maybe a > candidate for bugzilla? It doesn't. I just tried it with the above script and it works fine. I suspect his field is sized to include too many lines, so it accepts returns until it hits the last line. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Dec 11 12:24:26 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 11 Dec 2006 09:24:26 -0800 Subject: [OT ] I want money. In-Reply-To: <20061211140405.6224.qmail@web37505.mail.mud.yahoo.com> References: <20061211140405.6224.qmail@web37505.mail.mud.yahoo.com> Message-ID: <13987899953.20061211092426@ahsoftware.net> Richmond- Monday, December 11, 2006, 6:04:05 AM, you wrote: > If all interested in this topic could send me $1, just > as soon as I have collected $1 million I will let you > know in a telegram from my tax-haven in the Bahamas :) I emailed you $1 and have instructed my Nigerian friends to do the same to ensure this gets wide coverage and enable you to reach your goal as soon as possible. You should soon be receiving many more. I'm looking forward to my telegram. -- -Mark Wieder mwieder at ahsoftware.net From devin_asay at byu.edu Mon Dec 11 13:01:49 2006 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 11 Dec 2006 11:01:49 -0700 Subject: A problem with Return in a field In-Reply-To: <457D92B3.4030807@hyperactivesw.com> References: <0C948157-E52A-4495-8778-D8E9320FD21C@mac.com> <05DF0D70-A043-4C27-BCE0-ADC8F13B176E@byu.edu> <457D92B3.4030807@hyperactivesw.com> Message-ID: <26A0783B-5511-45FE-86B0-C7A932A27B55@byu.edu> On Dec 11, 2006, at 10:17 AM, J. Landman Gay wrote: > Devin Asay wrote: >> Charles, >> (I've been following this discussion on the use-rev list, so I'm >> taking the liberty to post it there too.) >> I suspect your problem may be related to the fact that you have a >> keyDown handler in the field that may be blocking the return key. >> (Although it's not supposed to.) It should work if you force the >> return key to "tab" to the next field by including a returnInField >> handler: >> on returnInField >> get the number of me >> select the text of fld (it + 1) >> end returnInField >> Anybody know why the keyDown handler blocks the autoTab? Maybe a >> candidate for bugzilla? > > It doesn't. I just tried it with the above script and it works fine. > > I suspect his field is sized to include too many lines, so it > accepts returns until it hits the last line. I keep learning new things about Rev after all these years. I didn't realize that autoTab checked the height of the field and inserted Return chars until the text reached the bottom of the field, and only then tabs to the next field. Very elegant. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From lynn at paradigmasoft.com Mon Dec 11 13:13:06 2006 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Mon, 11 Dec 2006 10:13:06 -0800 Subject: Branding In-Reply-To: <457CBC17.2010408@fourthworld.com> Message-ID: <01e501c71d50$0e873680$6501a8c0@lynn> > > Whereas the initial works involved are fairly minor, the > potentials he > > is hoping for could be major. > > > > For example, a CD version of the game in his brand, without > my piracy > > protections, distributed for free by casinos, would > presumably kill my > > software sales of my own brand. > > Indeed it would. Where's the upside for you? What does this > company bring to the table to make it worth your while Yes it would. What about giving him a free, limited version that unlocks to a Deluxe version and then there is profit sharing at that point? Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From josh at dvcreators.net Mon Dec 11 13:15:00 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 11 Dec 2006 10:15:00 -0800 Subject: Back to button basics In-Reply-To: <34213E3D-400F-4F87-95D1-739A62E6AB10@califex.com> References: <000001c718e3$5e236810$1a6a3830$@no> <34213E3D-400F-4F87-95D1-739A62E6AB10@califex.com> Message-ID: <750BE3F8-5E08-4240-98DE-08611D667EFD@dvcreators.net> hoverIcon is promising but has one bug: It reset icons to the normal "Icon" on mouseLeave, but alas, it does not reset changed buttons upon leaving the card. So, if you click a button that takes you to a different card, and your mouse is moving, whatever icons you are switching will stay "stuck" showing the hoverIcon. Upon returning to the card with the buttons, it looks strange indeed! With some buttons showing over states. I have sadly given up on hoverIcon and gone back to Chipp's idea of manually switching out icons, which works flawlessly. The only solution I can think of, is that upon going to a different card, Rev has to insert code that checks all icons on the card it's leaving, and resets any showing the hoverIcon to the regular Icon. Is this a Bugzillable issue? On Dec 5, 2006, at 9:30 PM, Tereza Snyder wrote: > If I want rollover behavior, I would use the new hoverIcon property > instead of the autoArm and armedIcon property From mwieder at ahsoftware.net Mon Dec 11 13:36:27 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 11 Dec 2006 10:36:27 -0800 Subject: I want money. In-Reply-To: References: <457D8802.6050305@fourthworld.com> Message-ID: <17092221547.20061211103627@ahsoftware.net> Andre- Monday, December 11, 2006, 8:37:56 AM, you wrote: > you guys don't want to hear my ideas on getting money, right? > one tricky is to create a social networking site such as MySpace and > have all pages with really crapy annoying MIDI music files and get > people with good sense to pay you to shut your site down... OK - it worked. I'm being proactive and emailing you some money in an effort to preempt your trying this. Let me know if you want more... -- -Mark Wieder mwieder at ahsoftware.net From soapdog at mac.com Mon Dec 11 13:39:18 2006 From: soapdog at mac.com (Andre Garzia) Date: Mon, 11 Dec 2006 16:39:18 -0200 Subject: I want money. In-Reply-To: <17092221547.20061211103627@ahsoftware.net> References: <457D8802.6050305@fourthworld.com> <17092221547.20061211103627@ahsoftware.net> Message-ID: <3828F412-A3C5-4D80-88AA-BE266AB3EA56@mac.com> wait till I remember how to use the maquee and blink html tags... I'll be so rich... ;-) On Dec 11, 2006, at 4:36 PM, Mark Wieder wrote: > Andre- > > Monday, December 11, 2006, 8:37:56 AM, you wrote: > >> you guys don't want to hear my ideas on getting money, right? > >> one tricky is to create a social networking site such as MySpace and >> have all pages with really crapy annoying MIDI music files and get >> people with good sense to pay you to shut your site down... > > OK - it worked. I'm being proactive and emailing you some money in an > effort to preempt your trying this. Let me know if you want more... > > -- > -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 kray at sonsothunder.com Mon Dec 11 14:24:23 2006 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 11 Dec 2006 13:24:23 -0600 Subject: Back to button basics In-Reply-To: <750BE3F8-5E08-4240-98DE-08611D667EFD@dvcreators.net> Message-ID: On 12/11/06 12:15 PM, "Josh Mellicker" wrote: > hoverIcon is promising but has one bug: > > It reset icons to the normal "Icon" on mouseLeave, but alas, it does > not reset changed buttons upon leaving the card. > > So, if you click a button that takes you to a different card, and > your mouse is moving, whatever icons you are switching will stay > "stuck" showing the hoverIcon. > > Upon returning to the card with the buttons, it looks strange indeed! > With some buttons showing over states. > > I have sadly given up on hoverIcon and gone back to Chipp's idea of > manually switching out icons, which works flawlessly. > > > The only solution I can think of, is that upon going to a different > card, Rev has to insert code that checks all icons on the card it's > leaving, and resets any showing the hoverIcon to the regular Icon. > > Is this a Bugzillable issue? Absolutely! And I'd recommend entering it NOW as they are working on fixing bugs for the 2.7.5 release and it would be great to get that fixed right away... Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From list at dreamscapesoftware.com Mon Dec 11 15:40:10 2006 From: list at dreamscapesoftware.com (Derek Bump) Date: Mon, 11 Dec 2006 14:40:10 -0600 Subject: Lost in Translation (or how I get people to understand File Type Associations) Message-ID: <457DC22A.4090105@dreamscapesoftware.com> I'm curious as to how other developers have approached the issue of File Type Associations on both Windows and the Macintosh. I'm working on a program that: 1. Asks the user if they would like to associate the file type with . (during Installation) 2. Asks the user if they would like to make the default editor. (after program is run) Upon a Yes answer from either questions the file types are associated with the program, and as such, our program is now the default program and the files look like they are associated with our program. The problem, of course, is that a user installed our software on his computer, said "Yes" to the first question, and flipped out when his files looked different... and used System Restore to fix the "problem". Obviously this is not good. Word of Mouth is a Killer in this business. So how do you get novice users to understand Associations, or, how do you work around the issue? Derek Bump Dreamscape Software ____________________________________________ Compress photos easily with JPEGCompress www.dreamscapesoftware.com From userev at canelasoftware.com Mon Dec 11 15:57:03 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 11 Dec 2006 12:57:03 -0800 Subject: Branding In-Reply-To: References: Message-ID: <9B2393C7-4A3D-4CF5-9E20-C9FD666AA224@canelasoftware.com> On Dec 9, 2006, at 2:27 PM, Shari wrote: > I've been approached by someone who desires a specially branded > version of my software, Blackjack Gold. Are any of you doing this, > and if so, how are you handling all the ins, outs, and monies? Hi Shari, I do this with one of my products with great success. Each branded version shares the same engine, but has a unique interface while others share a similar interface. My main thought is to be able to control the distribution. You do not have to be the one that moves the product, just the one that allows it to work. You can do this with your registration system. It sounds like it could all be controlled over the net. The end result should be a much larger distribution of your product with a larger amount being deposited into your account every month. I would not sell the rights to the product in your case. If I remember correctly, you have other game related products that could be used to tie into each other. Selling one of those will weaken the overall strategy to get your current user base to purchase your other (related) products. You might consider selling the whole enchilada. This is the strategy I went with concerning my education software. Like your gaming software, my ed software would sell each other over and over to existing customers. Selling off one at a time would only weaken the others. Good luck with this endeavor! Mark Talluto -- CANELA Software http://www.canelasoftware.com From jperryl at ecs.fullerton.edu Mon Dec 11 16:06:36 2006 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 11 Dec 2006 13:06:36 -0800 (PST) Subject: I want money. In-Reply-To: <3828F412-A3C5-4D80-88AA-BE266AB3EA56@mac.com> Message-ID: Be certain to do them in really large, red type. And don't forget the dancing hamsters on a blinding yellow patterned background. Judy On Mon, 11 Dec 2006, Andre Garzia wrote: > wait till I remember how to use the maquee and blink html tags... > I'll be so rich... > > ;-) > > > On Dec 11, 2006, at 4:36 PM, Mark Wieder wrote: > > > Andre- > > > > Monday, December 11, 2006, 8:37:56 AM, you wrote: > > > >> you guys don't want to hear my ideas on getting money, right? > > > >> one tricky is to create a social networking site such as MySpace and > >> have all pages with really crapy annoying MIDI music files and get > >> people with good sense to pay you to shut your site down... > > > > OK - it worked. I'm being proactive and emailing you some money in an > > effort to preempt your trying this. Let me know if you want more... > > > > -- > > -Mark Wieder > > mwieder at ahsoftware.net > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From soapdog at mac.com Mon Dec 11 16:45:06 2006 From: soapdog at mac.com (Andre Garzia) Date: Mon, 11 Dec 2006 19:45:06 -0200 Subject: I want money. In-Reply-To: References: Message-ID: <28390424-D266-4040-9310-E5F88EC52FCB@mac.com> you should see my macarena dancing pink hippo animated gif with only six frames!!! that will sure be a success! On Dec 11, 2006, at 7:06 PM, Judy Perry wrote: > Be certain to do them in really large, red type. And don't forget the > dancing hamsters on a blinding yellow patterned background. > > Judy > > On Mon, 11 Dec 2006, Andre Garzia wrote: > >> wait till I remember how to use the maquee and blink html tags... >> I'll be so rich... >> >> ;-) >> >> >> On Dec 11, 2006, at 4:36 PM, Mark Wieder wrote: >> >>> Andre- >>> >>> Monday, December 11, 2006, 8:37:56 AM, you wrote: >>> >>>> you guys don't want to hear my ideas on getting money, right? >>> >>>> one tricky is to create a social networking site such as MySpace >>>> and >>>> have all pages with really crapy annoying MIDI music files and get >>>> people with good sense to pay you to shut your site down... >>> >>> OK - it worked. I'm being proactive and emailing you some money >>> in an >>> effort to preempt your trying this. Let me know if you want more... >>> >>> -- >>> -Mark Wieder >>> mwieder at ahsoftware.net >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From userev at canelasoftware.com Mon Dec 11 16:45:52 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 11 Dec 2006 13:45:52 -0800 Subject: Streaming video and Rev In-Reply-To: References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> <3efccec1a112610479b073f495dc18c3@clubtype.co.uk> Message-ID: <49E65465-FCE8-4D01-80EC-27C8795E5852@canelasoftware.com> On Dec 10, 2006, at 9:07 AM, Richard Miller wrote: > I'd appreciate any thoughts on how best to incorporate streaming > video into a Rev application. We have about 50 videos (320x240, 30 > fps, 200-300 kbps typical data rate, averaging 5 minutes each) we'd > like to make available to our customers. In any one session with > our Rev application, they might need to watch one or two of these > videos. Windows and Mac. > > We're looking for a straightforward solution.... something that can > be tightly bundled into the Rev app. Options? Hi Richard, OS X Server comes with QT Streaming Server. It is what you are looking for. If you are going to use Rev as the client to play the videos, then you should be aware of bug: -Mark From cmsheffield at gmail.com Mon Dec 11 17:09:48 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon, 11 Dec 2006 15:09:48 -0700 Subject: binary vs. text? Message-ID: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> Does anyone have a sure fire way to determine if a file is binary or text? I have need to create an import utility that will import data from a text file (csv, tab-delimited, etc) into a database, but I'd like to check the file before doing anything else just to make sure it is in fact text and not binary. Any thoughts? Thanks, Chris ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From sarah.reichelt at gmail.com Mon Dec 11 17:14:31 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 12 Dec 2006 08:14:31 +1000 Subject: binary vs. text? In-Reply-To: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> References: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> Message-ID: On 12/12/06, Chris Sheffield wrote: > Does anyone have a sure fire way to determine if a file is binary or > text? > > I have need to create an import utility that will import data from a > text file (csv, tab-delimited, etc) into a database, but I'd like to > check the file before doing anything else just to make sure it is in > fact text and not binary. Just a guess here but how about reading the file twice: once as file: and once as binfile: If the two are identical, then I assume it's text only. I have no idea if this will work, but it's worth a try :-) Sarah From sunshine at public.kherson.ua Mon Dec 11 17:15:58 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue, 12 Dec 2006 00:15:58 +0200 Subject: binary vs. text? In-Reply-To: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> Message-ID: On 12/12/06 12:09 AM, "Chris Sheffield" wrote: Hi Chris, > Does anyone have a sure fire way to determine if a file is binary or > text? > > I have need to create an import utility that will import data from a > text file (csv, tab-delimited, etc) into a database, but I'd like to > check the file before doing anything else just to make sure it is in > fact text and not binary. > > Any thoughts? If file follow unicode rules, it have special signature on start I did not hear about such ability define kind of file.. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From cmsheffield at gmail.com Mon Dec 11 17:21:56 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon, 11 Dec 2006 15:21:56 -0700 Subject: binary vs. text? In-Reply-To: References: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> Message-ID: Thanks, Sarah. Very cool idea. Seems to work for me. Can anyone thing of any cases that this might fail? On Dec 11, 2006, at 3:14 PM, Sarah Reichelt wrote: > On 12/12/06, Chris Sheffield wrote: >> Does anyone have a sure fire way to determine if a file is binary or >> text? >> >> I have need to create an import utility that will import data from a >> text file (csv, tab-delimited, etc) into a database, but I'd like to >> check the file before doing anything else just to make sure it is in >> fact text and not binary. > > > Just a guess here but how about reading the file twice: once as file: > and once as binfile: > If the two are identical, then I assume it's text only. > > I have no idea if this will work, but it's worth a try :-) > 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 ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From sunshine at public.kherson.ua Mon Dec 11 17:22:04 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue, 12 Dec 2006 00:22:04 +0200 Subject: binary vs. text? In-Reply-To: Message-ID: On 12/12/06 12:15 AM, "Ruslan Zasukhin" wrote: > On 12/12/06 12:09 AM, "Chris Sheffield" wrote: > > Hi Chris, > >> Does anyone have a sure fire way to determine if a file is binary or >> text? >> >> I have need to create an import utility that will import data from a >> text file (csv, tab-delimited, etc) into a database, but I'd like to >> check the file before doing anything else just to make sure it is in >> fact text and not binary. >> >> Any thoughts? > > If file follow unicode rules, it have special signature on start > > I did not hear about such ability define kind of file.. Well, I think you can try next: 1) check unicode signature. if you have find it -- this is unicode textfile 2) ELSE you can scan the whole file or its part, byte for byte to see if you meat a ZERO byte. if YES - its a binary file. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From eric.chatonet at sosmartsoftware.com Mon Dec 11 17:23:32 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 11 Dec 2006 23:23:32 +0100 Subject: binary vs. text? In-Reply-To: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> References: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> Message-ID: Hi Chris, Sarah's answer sounds good (I mean fully reliable) but may appear unusable with heavy files you download from the internet. As for us we use another method based on statistics by checking charToNum's chars. On Windows, it appears that checking 60 chars and finding more than 3 chars the charToNum of which is less than 9 or greater than 175 gives an "almost" fully reliable result ;-) Le 11 d?c. 06 ? 23:09, Chris Sheffield a ?crit : > Does anyone have a sure fire way to determine if a file is binary > or text? > > I have need to create an import utility that will import data from > a text file (csv, tab-delimited, etc) into a database, but I'd like > to check the file before doing anything else just to make sure it > is in fact text and not binary. > > Any thoughts? Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From jacque at hyperactivesw.com Mon Dec 11 17:22:10 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Dec 2006 16:22:10 -0600 Subject: I want money. In-Reply-To: <28390424-D266-4040-9310-E5F88EC52FCB@mac.com> References: <28390424-D266-4040-9310-E5F88EC52FCB@mac.com> Message-ID: <457DDA12.4070507@hyperactivesw.com> Andre Garzia wrote: > you should see my macarena dancing pink hippo animated gif with only six > frames!!! that will sure be a success! I'm ahead of you. You'll want a monospaced font for this: Reason #173 to fear technology... o o o o o o ^|\ ^|^ v|^ v|v |/v |X| \| | /\ >\ /< >\ /< >\ /< >\ o> o o o o o o o \ x <\> <)> |\ /< >\ /< >\ /< >\ >> L Mr. Ascii does the Macarena. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From geir.myrestrand at falconstor.com Mon Dec 11 17:23:55 2006 From: geir.myrestrand at falconstor.com (Geir A. Myrestrand) Date: Mon, 11 Dec 2006 17:23:55 -0500 Subject: binary vs. text? In-Reply-To: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> References: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> Message-ID: <457DDA7B.1020504@falconstor.com> Chris Sheffield wrote: > Does anyone have a sure fire way to determine if a file is binary or text? There is no such thing as a sure fire way to determine if it is text or not, unless the definition of text can be clearly defined. > I have need to create an import utility that will import data from a > text file (csv, tab-delimited, etc) into a database, but I'd like to > check the file before doing anything else just to make sure it is in > fact text and not binary. > > Any thoughts? I would just assume it is text, and then handle "wrong" input gracefully. Trying to parse the contents first to verify it would just add overhead, and is unnecessary if you do the former. Consider my input as general, and not Revolution specific --my exposure to Revolution is modest, at least at this point... -- Geir A. Myrestrand From cmsheffield at gmail.com Mon Dec 11 17:29:47 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Mon, 11 Dec 2006 15:29:47 -0700 Subject: binary vs. text? In-Reply-To: References: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> Message-ID: <87B14985-6BE3-4375-ADCB-73994D333C49@gmail.com> Thanks, Eric. I shouldn't have a problem with Sarah's method since these files will not be downloaded from the internet at all. On Dec 11, 2006, at 3:23 PM, Eric Chatonet wrote: > Hi Chris, > > Sarah's answer sounds good (I mean fully reliable) but may appear > unusable with heavy files you download from the internet. > As for us we use another method based on statistics by checking > charToNum's chars. > On Windows, it appears that checking 60 chars and finding more than > 3 chars the charToNum of which is less than 9 or greater than 175 > gives an "almost" fully reliable result ;-) > > Le 11 d?c. 06 ? 23:09, Chris Sheffield a ?crit : > >> Does anyone have a sure fire way to determine if a file is binary >> or text? >> >> I have need to create an import utility that will import data from >> a text file (csv, tab-delimited, etc) into a database, but I'd >> like to check the file before doing anything else just to make >> sure it is in fact text and not binary. >> >> Any thoughts? > > > Best Regards from Paris, > Eric Chatonet > ---------------------------------------------------------------------- > ------------------------ > http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.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 ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From geir.myrestrand at falconstor.com Mon Dec 11 17:46:54 2006 From: geir.myrestrand at falconstor.com (Geir A. Myrestrand) Date: Mon, 11 Dec 2006 17:46:54 -0500 Subject: binary vs. text? In-Reply-To: References: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> Message-ID: <457DDFDE.9030408@falconstor.com> Sarah Reichelt wrote: > On 12/12/06, Chris Sheffield wrote: >> Does anyone have a sure fire way to determine if a file is binary or >> text? >> >> I have need to create an import utility that will import data from a >> text file (csv, tab-delimited, etc) into a database, but I'd like to >> check the file before doing anything else just to make sure it is in >> fact text and not binary. > > > Just a guess here but how about reading the file twice: once as file: > and once as binfile: > If the two are identical, then I assume it's text only. > > I have no idea if this will work, but it's worth a try :-) > Sarah The solution won't scale, and it also depends whether it would handle multi-byte characters (use for Kanji for example) and certain UNICODE formats that use the NULL character. If this is on a particular platform, then there are various ways to do this. On Linux/UNIX systems you can run `file ` in order to classify a file for example. -- Geir A. Myrestrand From soapdog at mac.com Mon Dec 11 17:50:51 2006 From: soapdog at mac.com (Andre Garzia) Date: Mon, 11 Dec 2006 20:50:51 -0200 Subject: I want money. In-Reply-To: <457DDA12.4070507@hyperactivesw.com> References: <28390424-D266-4040-9310-E5F88EC52FCB@mac.com> <457DDA12.4070507@hyperactivesw.com> Message-ID: <88C8877B-853F-48BC-9227-90D7A6853A39@mac.com> I am almost crying!!!! Jacque... this with ArcadeEngine will be on RevOnline soon... Reason #174 to fear technology: "Bored Brazilians + Coffee induced imagination + monospaced fonts." On Dec 11, 2006, at 8:22 PM, J. Landman Gay wrote: > Andre Garzia wrote: >> you should see my macarena dancing pink hippo animated gif with >> only six frames!!! that will sure be a success! > > I'm ahead of you. You'll want a monospaced font for this: > > Reason #173 to fear technology... > > > o o o o o o > ^|\ ^|^ v|^ v|v |/v |X| \| | > /\ >\ /< >\ /< >\ /< >\ > > o> o o o o o o o > \ x <\> <)> |\ > /< >\ /< >\ /< >\ >> L > > > Mr. Ascii does the Macarena. > > -- > 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 m.schonewille at economy-x-talk.com Mon Dec 11 17:54:45 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 11 Dec 2006 23:54:45 +0100 Subject: binary vs. text? In-Reply-To: References: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> Message-ID: Hi Sarah, You can't do that. Crlf is translated by Rev into linefeed on DOS cr is also translated into linefeed oin Mac OS 9, which means that a text file is never equal to its binary equivalent. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 11-dec-2006, om 23:14 heeft Sarah Reichelt het volgende geschreven: > Just a guess here but how about reading the file twice: once as file: > and once as binfile: > If the two are identical, then I assume it's text only. > > I have no idea if this will work, but it's worth a try :-) > Sarah From m.schonewille at economy-x-talk.com Mon Dec 11 17:55:51 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 11 Dec 2006 23:55:51 +0100 Subject: binary vs. text? In-Reply-To: References: Message-ID: <2DDC6B24-F4E6-468E-9782-EFDB9A176FB1@economy-x-talk.com> Ruslan, You can't do that, because there are about a dozen different unicode signatures and some streams have no unicode signature at all. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 11-dec-2006, om 23:15 heeft Ruslan Zasukhin het volgende geschreven: > > > If file follow unicode rules, it have special signature on start > > I did not hear about such ability define kind of file.. > > -- > Best regards, > > Ruslan Zasukhin From sunshine at public.kherson.ua Mon Dec 11 18:00:41 2006 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue, 12 Dec 2006 01:00:41 +0200 Subject: binary vs. text? In-Reply-To: <2DDC6B24-F4E6-468E-9782-EFDB9A176FB1@economy-x-talk.com> Message-ID: On 12/12/06 12:55 AM, "Mark Schonewille" wrote: > Ruslan, > > You can't do that, because there are about a dozen different unicode > signatures and some streams have no unicode signature at all. Hi Mark, We do this for Valentina studio. :-) Of course can be file without signature. It is optional ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From dcragg at lacscentre.co.uk Mon Dec 11 18:01:39 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 11 Dec 2006 23:01:39 +0000 Subject: binary vs. text? In-Reply-To: References: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> Message-ID: <2804D58E-C3A2-4AAC-A033-B5DD0DF3B857@lacscentre.co.uk> On 11 Dec 2006, at 22:21, Chris Sheffield wrote: > Thanks, Sarah. Very cool idea. Seems to work for me. Can anyone > thing of any cases that this might fail? I think this would only work if you can be sure that the line endings in the text files are unix style (numToChar(10)). If, for example, the file had crlf as line endings, they would be converted when opening as a file, but not as a binfile. The comparison would fail even though it was a text file. (Not tested, so please give it a try.) Cheers Dave From m.schonewille at economy-x-talk.com Mon Dec 11 18:03:01 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 12 Dec 2006 00:03:01 +0100 Subject: binary vs. text? In-Reply-To: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> References: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> Message-ID: <6D37E57F-0FC8-41D6-840D-63E616E2D9B0@economy-x-talk.com> Chris, When you import a file, you always want to do something with its contents. Just check to see if the text contents fits the destination. If not, it might be a binary file and you may need to handle it differently. There is another way. You could do a guess about the percentage of spaces, returns, and alphanumerical characters in a normal text file (nearly 100%) and in a binary file (significantly less). In those cases that the actual percentage is lower than some treshold value, assume it is a binary file. If the actual percentage is higher, assume it is a text file. If the actual percentage is approximately equal to the treshold value, ask the user. You can store a copy of (a part of) the data in another variable, use replaceText to remove all non-alfanumerical characters and calculate the percentage. If you have a really large file, you don't need to analyse the entire file. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 11-dec-2006, om 23:09 heeft Chris Sheffield het volgende geschreven: > Does anyone have a sure fire way to determine if a file is binary > or text? > > I have need to create an import utility that will import data from > a text file (csv, tab-delimited, etc) into a database, but I'd like > to check the file before doing anything else just to make sure it > is in fact text and not binary. > > Any thoughts? > > Thanks, > Chris From dcragg at lacscentre.co.uk Mon Dec 11 18:08:53 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 11 Dec 2006 23:08:53 +0000 Subject: altSQLite variable substitution In-Reply-To: <18586104091.20061211085430@ahsoftware.net> References: <6036196097.20061210190242@ahsoftware.net> <4278263F-2566-413C-838B-3FA453F3F7F8@lacscentre.co.uk> <18586104091.20061211085430@ahsoftware.net> Message-ID: On 11 Dec 2006, at 16:54, Mark Wieder wrote: > Dave- > > Sunday, December 10, 2006, 11:28:55 PM, you wrote: > >> When using the ":1" variety, doesn't the variable have to be an >> array. I.e. the value you need should be in tSSN[1]. Or have I >> misunderstood? > > The docs may be wrong about this, but my reading of them says that you > can do this either way (a variable list or an array). You're absolutely right. (Although reading the docs may be considered cheating in some circles. :-)) Sorry for any confusion. Cheers Dave From robmann at gp-racing.com Mon Dec 11 18:34:16 2006 From: robmann at gp-racing.com (Robert Mann) Date: Mon, 11 Dec 2006 18:34:16 -0500 Subject: standalone/mysql/database files Message-ID: Is there a way to build the standalone with mysql and the database files included in the build? What I have is a stack that starts and stops mysql using xampp, then I have a database within that the user will add too using the stack. If there is no way to have these files included in the standalone build what is the best way to include these files so that a user can not just remove the database file and open from phpadmin? this is all on a u3 drive and works fine, just looking to secure database files Thanks Robert Mann From dsc at swcp.com Mon Dec 11 18:48:20 2006 From: dsc at swcp.com (Dar Scott) Date: Mon, 11 Dec 2006 16:48:20 -0700 Subject: binary vs. text? In-Reply-To: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> References: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> Message-ID: <11FF3E41-D91F-4F51-81BE-A8529D795B85@swcp.com> On Dec 11, 2006, at 3:09 PM, Chris Sheffield wrote: > Does anyone have a sure fire way to determine if a file is binary > or text? > > I have need to create an import utility that will import data from > a text file (csv, tab-delimited, etc) into a database, but I'd like > to check the file before doing anything else just to make sure it > is in fact text and not binary. In general, there is no way. However, all is not lost. A text file is a special case of a binary file consisting of a sequence of characters whose representations are binary. For very short files, it is hard to tell. However, if you have some idea of the pattern you are expecting you can increase your confidence that some file is binary or text. Many file formats have magic words and header data that indicate the type. These provide a hint and an additional check can provide some confidence. For example, a magic word plus a required element can identify a .png file, that is, check to see whether it starts with this: format("\211PNG\r\n\032\n\000\000\000\015IHDR"). Unicode files often have BOM markers at the start, but they are not required in some cases and the BOM shouldn't be there in others. I have a function I use to differentiate among Unicode files, but that already assumes I know they are unicode and even then it has trouble with some perverse files. (It does get it right more often than Microsoft programs do.) UTF-8 files also have other limitations among the characters, so that can help. Text files should have certain patterns. For example, if the file is ASCII and is comma-delimited or tab-delimited, there are some indicators. You should see only certain control characters. You should see the expected delimiter. You should see either CR or LF or both. All characters have codes less than 128. You might want to require the same number of delimiters per line. So, given some specified pattern of what you expect in binary or text, you should be able to differentiate. However, an alternate approach would be to parse the file and if the file does not pass, then reject it no matter the form of the data. Dar From shari at gypsyware.com Mon Dec 11 19:48:58 2006 From: shari at gypsyware.com (Shari) Date: Mon, 11 Dec 2006 19:48:58 -0500 Subject: Branding In-Reply-To: <9B2393C7-4A3D-4CF5-9E20-C9FD666AA224@canelasoftware.com> References: <9B2393C7-4A3D-4CF5-9E20-C9FD666AA224@canelasoftware.com> Message-ID: Mark and Lynn, I think my original thoughts to him were something similar to this. This would have been doable. Apparently he has created a bIackjack variation that he wants to peddle to casinos. And he needs a medium to peddle it. A bIackjack game he can use to demonstrate the variation. Mine fits this model perfectly. But he also wants the casinos, if they wish, to be able to let their players downIoad the game to practice the variation. I'm not sure how this would translate into money for him, or me. I know of no casino charging for downIoads. They peddle free versions to mirror their real casino games, to entice folks to bet for real. And the way my game works regarding trial versus full version, is one of the things you get when you buy it is the ability to play the variations. So the ability to play variations and change the casino rules in the game is what entices people to buy it from me. Our goals would be at full odds against each other. I am still in dialog with the fella. If he can do this in such a way that my registration system retains it's integrity and I am in full charge of unlocking it, as both you and Lynn said, I would consider it. Shari >I do this with one of my products with great success. Each branded >version shares the same engine, but has a unique interface while >others share a similar interface. My main thought is to be able to >control the distribution. You do not have to be the one that moves >the product, just the one that allows it to work. You can do this >with your registration system. It sounds like it could all be >controlled over the net. > >Good luck with this endeavor! > >Mark Talluto -- Gypsy King Software Mac and Windows shareware games http://www.gypsyware.com From robmann at gp-racing.com Mon Dec 11 20:45:59 2006 From: robmann at gp-racing.com (Robert Mann) Date: Mon, 11 Dec 2006 20:45:59 -0500 Subject: revQueryDatabase Message-ID: I am having a problem with revQueryDatabase returning a number when it should not be I think? In the following sql statement if there is no wt_springcalc.year_model='" & gyearmodel & "' curID should not be a number? put "SELECT * FROM wt_springcalc WHERE wt_springcalc.year_model='" & gyearmodel & "' and wt_springcalc.company_id='1'" into theSQL put revQueryDatabase(dbID2, theSQL) into curID put curID into fld "curIDnum" IF curID is a number THEN put revDatabaseColumnNamed(curID,"fr_mx_multiplier") into fld "frmxm1" ELSE put curID into fld "error" exit mouseUp END IF What happens is curID is returned as a number then when the revDatabaseColumnNamed(curID,"fr_mx_multiplier") into fld "frmxm1" executes it puts ?revdberr,invalid column number? in the fld and then rev shuts down Not sure where I have gone wrong? Thanks Robert Mann From josh at dvcreators.net Mon Dec 11 20:51:32 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 11 Dec 2006 17:51:32 -0800 Subject: Back to button basics In-Reply-To: References: Message-ID: Okay, I have not yet bugzilled yet, and this is not as major as other issues... and there is a fine workaround for now, just so everyone knows, I have just been working with this and if to fix the "stuck over" button problem, just set the hoverIcon to 0 (to disable it), set the armedIcon to the same as the icon and swap out the icon number manually on mouseEnter, this works perfectly. On Dec 11, 2006, at 11:24 AM, Ken Ray wrote: > On 12/11/06 12:15 PM, "Josh Mellicker" wrote: > >> hoverIcon is promising but has one bug: >> >> It reset icons to the normal "Icon" on mouseLeave, but alas, it does >> not reset changed buttons upon leaving the card. >> >> So, if you click a button that takes you to a different card, and >> your mouse is moving, whatever icons you are switching will stay >> "stuck" showing the hoverIcon. >> >> Upon returning to the card with the buttons, it looks strange indeed! >> With some buttons showing over states. >> >> I have sadly given up on hoverIcon and gone back to Chipp's idea of >> manually switching out icons, which works flawlessly. >> >> >> The only solution I can think of, is that upon going to a different >> card, Rev has to insert code that checks all icons on the card it's >> leaving, and resets any showing the hoverIcon to the regular Icon. >> >> Is this a Bugzillable issue? > > Absolutely! And I'd recommend entering it NOW as they are working > on fixing > bugs for the 2.7.5 release and it would be great to get that fixed > right > away... > > > Ken Ray > Sons of Thunder Software, Inc. > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.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 shaosean at wehostmacs.com Mon Dec 11 22:13:20 2006 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 11 Dec 2006 22:13:20 -0500 Subject: [ANN] Sample Stacks Message-ID: <9e557c2d08f1f579ac4cac46912912b9@wehostmacs.com> I know that there has been discussion in the past about including sample stacks with Rev as the old HyperCard did, so I've started working on sample stacks that are relatively simple to use for newbies to look at and hopefully learn from. They are released into the Public Domain (I wash my hands clean of them ;-) but I am open to suggestions, fixes and other types of comments. The first such sample stack is based on the Address Book, but I've spruced it up a little (as much as I could without going overboard). http://www.shaosean.tk/ From jc at spl21.net Tue Dec 12 03:35:46 2006 From: jc at spl21.net (John Craig) Date: Tue, 12 Dec 2006 08:35:46 +0000 Subject: [ANN] Creating paths for animation In-Reply-To: References: Message-ID: <457E69E2.3060108@spl21.net> Hi, Judy - I hope it lives up to expectations! I've updated the library (v0.11) to let you script animations using the paths you create. The latest files are on http://www.molekular.co.uk/ - including a small demo stack. I've also updated Steam Roller as there was a bug when overwriting an existing path saved in a stack. JC Judy Perry wrote: > John, > > Can't wait to try it out! This will be great for my students! > > Judy > > On Sat, 9 Dec 2006, John Craig wrote: > > >> I have uploaded 'Steam Roller' to user space Jock_McTartan. This plugin >> is for creating paths for sprites to follow in games, etc. I'll update >> the molLibSprite library shortly with some routines for using paths >> created with this plugin. Feedback welcome. >> >> Enjoy! >> >> JC >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 trancepacific at gmail.com Tue Dec 12 05:35:10 2006 From: trancepacific at gmail.com (kevin) Date: Tue, 12 Dec 2006 02:35:10 -0800 Subject: Peculiarity with Animated GIF's Message-ID: Hi all, I've noticed a cumbersome little problem with animated GIF's in the Mac version of Rev 2.7.4. If I have an animated GIF as part of a group, and I set the visible of that group to false for a short time (I am guessing longer than the time taken for one animation cycle), and then I show the group, the animation seizes to play. I discovered a workaround which is to ungroup and then regroup the group with the screen locked and that seems to solve the issue but only in a roundabout way. Am I missing something here regarding the handling of animated GIF's? Any tips would be greatly appreciated. Cheers, Kevin From rjb at robelko.com Tue Dec 12 05:40:35 2006 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 12 Dec 2006 11:40:35 +0100 Subject: A problem with Return in a field Message-ID: On Dec 9, 2006, at 6:45 PM, Charles Szasz wrote: >I have been working on my project since June. I almost done but I >ran into an unexpected problem. When the user enters a raw score of >two digits in a field and presses the Tab key, the cursor goes to >the next edit field as it is supposed to do. When the user presses >the Return key after entry of a two digit number, the number is >pushed off to the left and the cursor remains in the field. This >happens despite the autotab being set to true and no list behavior >is checked. > >Here is a sample script from my project: > > >ON keyDown whichKey > IF whichKey is a number THEN > IF the selection is not empty THEN delete the selection > IF the length of me < 2 THEN > pass keyDown > ELSE > answer information "Numbers cannot be longer than two digits." > END IF > END IF >END keyDown > >ON closefield > IF field "yrFld" > 4 AND field "yrFld" < 12 AND fld "msFld" > 62 THEN > answer information "The total raw score is incorrect for a >age of " && fld "yrFld" &" years!" > put empty into me > focus ON me > ELSE > IF field "yrFld" > 11 AND field "yrFld" < 20 AND fld "msFld" > 63 THEN > answer information "The total raw score is incorrect for >a age of " && fld "yrFld" &" years!" > put empty into me > focus ON me > ELSE > IF field "yrFld" > 19 AND field "yrFld" <60 AND fld >"msFld" > 57 THEN > answer information "The total raw score is incorrect >for a age of " && fld "yrFld" &" years!" > put empty into me > focus ON me > END IF > END IF > END IF >END closefield > > >The first script limits the input of 2 digit numbers only. The >second script is flagging the possibility of an incorrect raw score >being entered for certain ages. Some of the fields have a raw score >limit based on the age of the child. For this example, children aged >5 to 11 years, the total raw score can be only 62. for students in >the age range of 12 to 19, the total is 63 and for adults (20 to 59 >years) the total is 57. > >The questions remains is why does the Return key does not act as a Tab key? > >Charles Szasz >cszasz at mac.com > Charles, If you want to trap return you need 4 handlers in your field on returnKey on enterKey on returnInField on enterInField They complent each other. The simplest is for them to call a common handler to simulate tabbing to the next field. I also wonder whether you really, really need the keyDown handler if you do input verification in closefield anyway. Just add a check for a valid number there before other checks. Robert From scott at tactilemedia.com Tue Dec 12 05:50:56 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 12 Dec 2006 02:50:56 -0800 Subject: Peculiarity with Animated GIF's In-Reply-To: Message-ID: Recently, kevin wrote: > I've noticed a cumbersome little problem with animated GIF's in the Mac > version of Rev 2.7.4. If I have an animated GIF as part of a group, and > I set the visible of that group to false for a short time (I am > guessing longer than the time taken for one animation cycle), and then > I show the group, the animation seizes to play. Was able to reproduce the behavior here. Try setting the repeatCount of the GIF to -1 when you show the group. Doing so works here. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From sarah.reichelt at gmail.com Tue Dec 12 05:53:30 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 12 Dec 2006 20:53:30 +1000 Subject: Peculiarity with Animated GIF's In-Reply-To: References: Message-ID: > I've noticed a cumbersome little problem with animated GIF's in the Mac > version of Rev 2.7.4. If I have an animated GIF as part of a group, and > I set the visible of that group to false for a short time (I am > guessing longer than the time taken for one animation cycle), and then > I show the group, the animation seizes to play. I discovered a > workaround which is to ungroup and then regroup the group with the > screen locked and that seems to solve the issue but only in a > roundabout way. Am I missing something here regarding the handling of > animated GIF's? Any tips would be greatly appreciated. I don't know why this happens, but i can offer you a less cumbersome workaround. if you set "the repeatCount" of the image to a negative number, then the animation will repeat indefinitely. Set it whenever the image is made visible, and you should be fine. Cheers, Sarah From wow at together.net Tue Dec 12 08:08:47 2006 From: wow at together.net (Richard Miller) Date: Tue, 12 Dec 2006 08:08:47 -0500 Subject: Streaming video and Rev In-Reply-To: <49E65465-FCE8-4D01-80EC-27C8795E5852@canelasoftware.com> References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> <3efccec1a112610479b073f495dc18c3@clubtype.co.uk> <49E65465-FCE8-4D01-80EC-27C8795E5852@canelasoftware.com> Message-ID: <40E2DD5E-A215-4829-ADE8-0620BC424EC2@together.net> Hi Mark, Thanks for the heads up on the Rev bugs pertaining to streaming video. That helped me work around them. I found an excellent firm to stream our videos for $25/month (streamhoster.com). Setup took 10 minutes. Rev was happily streaming the files shortly thereafter. Seems to work fine on Windows and Mac. Richard On Dec 11, 2006, at 4:45 PM, Mark Talluto wrote: > > On Dec 10, 2006, at 9:07 AM, Richard Miller wrote: > >> I'd appreciate any thoughts on how best to incorporate streaming >> video into a Rev application. We have about 50 videos (320x240, 30 >> fps, 200-300 kbps typical data rate, averaging 5 minutes each) >> we'd like to make available to our customers. In any one session >> with our Rev application, they might need to watch one or two of >> these videos. Windows and Mac. >> >> We're looking for a straightforward solution.... something that >> can be tightly bundled into the Rev app. Options? > > > Hi Richard, > > OS X Server comes with QT Streaming Server. It is what you are > looking for. If you are going to use Rev as the client to play the > videos, then you should be aware of bug: support.runrev.com/bugdatabase/show_bug.cgi?id=1239> > > > -Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From lan.kc.macmail at gmail.com Tue Dec 12 10:51:33 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 12 Dec 2006 23:51:33 +0800 Subject: Multi-standalone communication In-Reply-To: References: <457AF447.10203@hyperactivesw.com> <57283D8D-159D-49EF-A58A-91E9DC1CF1E6@swcp.com> <457B455E.9050700@hyperactivesw.com> Message-ID: I wish to apologise for my recent post which turned out to be, although correct in it's very general gist, more than misleading in some of the examples I gave. I offer the following as my excuse: 1) I was using a hotel business centre computer (my Rev loaded laptop not available) and so wrote purely from memory - bad move. 2) Yes, I'm only a Mac user so I didn't appreciate that my example wouldn't work for other platforms. 3) Yes, I'm a HC user from way back, so again some of the features that I used in HC that have thoughtfully been included in Rev I didn't appreciate didn't make it to xplatform. 4) Reusable code. It's been so long ago since I converted my HC stacks and created a little code snippet that helps me put together the 'commands/data' that I want to send to other Standalones that I completely forgot that it used the specific 'send to application' command, not the simple 'send' that I mentioned in my post. Sorry:-( In an attempt to correct this error, and more for the newbies or hobbyists, I wanted to upload to My User Space two standalones that demonstrated how easy it is to get two Mac standalones to talk to each other using 'send to application'. Unfortunately it appears that Revolution Online only allows stacks to be uploaded and not standalones. Is it possible to upload standalones, and if so, how? Thanks. From userev at canelasoftware.com Tue Dec 12 10:53:01 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 12 Dec 2006 07:53:01 -0800 Subject: Streaming video and Rev In-Reply-To: <40E2DD5E-A215-4829-ADE8-0620BC424EC2@together.net> References: <2FCA8E05-83AB-4100-81B9-C0A6814A3EF6@maseurope.net> <0e3cb9750a9788a3b46235565c653e1f@clubtype.co.uk> <23717AA1-A46E-43A2-95B6-8E3FC2D9F2C0@economy-x-talk.com> <8330dbeb012d57b81abbe94fb7a372c0@clubtype.co.uk> <2AF75114-596C-4A2E-AF74-9A9BE55BBBC0@economy-x-talk.com> <3efccec1a112610479b073f495dc18c3@clubtype.co.uk> <49E65465-FCE8-4D01-80EC-27C8795E5852@canelasoftware.com> <40E2DD5E-A215-4829-ADE8-0620BC424EC2@together.net> Message-ID: On Dec 12, 2006, at 5:08 AM, Richard Miller wrote: > Hi Mark, > > Thanks for the heads up on the Rev bugs pertaining to streaming > video. That helped me work around them. > > I found an excellent firm to stream our videos for $25/month > (streamhoster.com). Setup took 10 minutes. Rev was happily > streaming the files shortly thereafter. Seems to work fine on > Windows and Mac. > > Richard Hi Richard, I have not run my tests on 2.7.4 yet. Looks like I need to run my tests again. I will update Bugzilla with my findings. Glad it has all worked out well. -Mark From eric.chatonet at sosmartsoftware.com Tue Dec 12 10:56:20 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 12 Dec 2006 16:56:20 +0100 Subject: Multi-standalone communication In-Reply-To: References: <457AF447.10203@hyperactivesw.com> <57283D8D-159D-49EF-A58A-91E9DC1CF1E6@swcp.com> <457B455E.9050700@hyperactivesw.com> Message-ID: <1D5B8DFD-0F0D-4BE0-9F58-48A2D5A1E3D0@sosmartsoftware.com> Hi Kay, Unfortunately it's completely impossible to upload standalones to Revonline. The reason is simple: when you upload a stack a "fingerprint" custom prop is added to your stack in order to manage later actions. This would not be possible in a standalone. But you can put them on a website and provide the link on the list :-) Le 12 d?c. 06 ? 16:51, Kay C Lan a ?crit : > In an attempt to correct this error, and more for the newbies or > hobbyists, > I wanted to upload to My User Space two standalones that > demonstrated how > easy it is to get two Mac standalones to talk to each other using > 'send to > application'. Unfortunately it appears that Revolution Online only > allows > stacks to be uploaded and not standalones. > > Is it possible to upload standalones, and if so, how? Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From ambassador at fourthworld.com Tue Dec 12 11:00:23 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Dec 2006 08:00:23 -0800 Subject: Multi-standalone communication Message-ID: <457ED217.4040907@fourthworld.com> Kay C Lan wrote: > Unfortunately it appears that Revolution Online only > allows stacks to be uploaded and not standalones. 90% of the upload would be redundant, since we all have our own copies of the engine here. Why not just post the shell and let us bind it to the engine? Or better still, run it within multiple copies of Rev if we choose? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Tue Dec 12 11:46:19 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Dec 2006 10:46:19 -0600 Subject: A problem with Return in a field In-Reply-To: References: Message-ID: <457EDCDB.2090406@hyperactivesw.com> Robert Brenstein wrote: > If you want to trap return you need 4 handlers in your field > > on returnKey > on enterKey > on returnInField > on enterInField Actually, just to be picky, the returnKey and enterKey handlers aren't needed in fields. Only returnInField and enterInField are sent directly to fields. The other two will never trigger. That said, I had no problem running Charle's field script as long as the field was sized correctly. The keydown handler worked as expected when autoTab was set to true. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjb at robelko.com Tue Dec 12 12:44:30 2006 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 12 Dec 2006 18:44:30 +0100 Subject: A problem with Return in a field In-Reply-To: <457EDCDB.2090406@hyperactivesw.com> References: <457EDCDB.2090406@hyperactivesw.com> Message-ID: >Robert Brenstein wrote: > >>If you want to trap return you need 4 handlers in your field >> >>on returnKey >>on enterKey >>on returnInField >>on enterInField > >Actually, just to be picky, the returnKey and enterKey handlers >aren't needed in fields. Only returnInField and enterInField are >sent directly to fields. The other two will never trigger. > >That said, I had no problem running Charle's field script as long as >the field was sized correctly. The keydown handler worked as >expected when autoTab was set to true. > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com Ah, yes, Jacque is right as always :) -- the returnKey and enterKey handlers are called only when there is no explicit text selection, so their place is on the card. Robert From fde101 at fjrhome.net Mon Dec 11 16:58:37 2006 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Mon, 11 Dec 2006 16:58:37 -0500 Subject: [OT ] I want money. In-Reply-To: <13987899953.20061211092426@ahsoftware.net> References: <20061211140405.6224.qmail@web37505.mail.mud.yahoo.com> <13987899953.20061211092426@ahsoftware.net> Message-ID: My $1 is given below; feel free to make as many copies as you'd like: ____ _____ _ _ / __ \ | __ \ | | | | | | |_ __ ___ | | | | ___ | | | __ _ _ __ | | | | '_ \ / _ \ | | | |/ _ \| | |/ _` | '__| | |__| | | | | __/ | |__| | (_) | | | (_| | | \____/|_| |_|\___| |_____/ \___/|_|_|\__,_|_| On Dec 11, 2006, at 12:24 PM, Mark Wieder wrote: > Richmond- > > Monday, December 11, 2006, 6:04:05 AM, you wrote: > >> If all interested in this topic could send me $1, just >> as soon as I have collected $1 million I will let you >> know in a telegram from my tax-haven in the Bahamas :) > > I emailed you $1 and have instructed my Nigerian friends to do the > same to ensure this gets wide coverage and enable you to reach your > goal as soon as possible. You should soon be receiving many more. > > I'm looking forward to my telegram. > > -- > -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 cmsheffield at gmail.com Tue Dec 12 16:20:42 2006 From: cmsheffield at gmail.com (Chris Sheffield) Date: Tue, 12 Dec 2006 14:20:42 -0700 Subject: binary vs. text? In-Reply-To: <6D37E57F-0FC8-41D6-840D-63E616E2D9B0@economy-x-talk.com> References: <5A5257BE-AA6B-4851-9818-E0F9009B52F9@gmail.com> <6D37E57F-0FC8-41D6-840D-63E616E2D9B0@economy-x-talk.com> Message-ID: Thanks to everyone for your suggestions. I'll probably go with this one from Mark, even though Sarah's was very good. Since my files will have to be in a certain format anyway, it's easy for me just to verify the data. Chris On Dec 11, 2006, at 4:03 PM, Mark Schonewille wrote: > When you import a file, you always want to do something with its > contents. Just check to see if the text contents fits the > destination. If not, it might be a binary file and you may need to > handle it differently. ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From jhonken at webdsp.com Tue Dec 12 16:37:48 2006 From: jhonken at webdsp.com (jhonken) Date: Tue, 12 Dec 2006 16:37:48 -0500 Subject: embeded graphic Message-ID: <000001c71e35$cae7fe50$c80ab50a@DellLaptop> Is there a way to embed a .PNG file into the .rev file? I know I can use the graphic component but it seems to require the PNG file to be on the hard drive. I'd like to embed it into the .rev file if possible. From scott at tactilemedia.com Tue Dec 12 16:48:11 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 12 Dec 2006 13:48:11 -0800 Subject: embeded graphic In-Reply-To: <000001c71e35$cae7fe50$c80ab50a@DellLaptop> Message-ID: Recently, jhonken wrote: > Is there a way to embed a .PNG file into the .rev file? I know I can > use the graphic component but it seems to require the PNG file to be on > the hard drive. I'd like to embed it into the .rev file if possible. File > Import As Control > Image File.. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From m.schonewille at economy-x-talk.com Tue Dec 12 16:49:32 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 12 Dec 2006 22:49:32 +0100 Subject: embeded graphic In-Reply-To: <000001c71e35$cae7fe50$c80ab50a@DellLaptop> References: <000001c71e35$cae7fe50$c80ab50a@DellLaptop> Message-ID: Jeff, Use Import As Control... from the File menu. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 12-dec-2006, om 22:37 heeft jhonken het volgende geschreven: > Is there a way to embed a .PNG file into the .rev file? I know I can > use the graphic component but it seems to require the PNG file to > be on > the hard drive. I'd like to embed it into the .rev file if possible. From jhonken at webdsp.com Tue Dec 12 16:56:01 2006 From: jhonken at webdsp.com (jhonken) Date: Tue, 12 Dec 2006 16:56:01 -0500 Subject: embeded graphic In-Reply-To: Message-ID: <000001c71e38$51baffc0$c80ab50a@DellLaptop> Scott and Mark, Thanks that worked great. Jeff -----Original Message----- From: Scott Rossi [mailto:scott at tactilemedia.com] Sent: Tuesday, December 12, 2006 4:48 PM To: How to use Revolution Subject: Re: embeded graphic Recently, jhonken wrote: > Is there a way to embed a .PNG file into the .rev file? I know I can > use the graphic component but it seems to require the PNG file to be > on the hard drive. I'd like to embed it into the .rev file if > possible. File > Import As Control > Image File.. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.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 fde101 at fjrhome.net Tue Dec 12 17:38:20 2006 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 12 Dec 2006 17:38:20 -0500 Subject: Global Array? Message-ID: Can someone give me a hint as to how I can set up an array as a global variable? I know how to set up global scalars: global var But how can I do this for an array? Thank you! From userev at canelasoftware.com Tue Dec 12 17:48:26 2006 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 12 Dec 2006 14:48:26 -0800 Subject: Global Array? In-Reply-To: References: Message-ID: <7DDE441E-08CD-4621-BA35-FC8681B92307@canelasoftware.com> On Dec 12, 2006, at 2:38 PM, Frank D. Engel, Jr. wrote: > Can someone give me a hint as to how I can set up an array as a > global variable? > > I know how to set up global scalars: > > global var > > > But how can I do this for an array? Hi Frank, Same way as you do a variable. For example: myArray[x] global myArrary Mark Talluto -- CANELA Software http://www.canelasoftware.com From JimAultWins at yahoo.com Tue Dec 12 17:49:06 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 12 Dec 2006 14:49:06 -0800 Subject: Global Array? In-Reply-To: Message-ID: On 12/12/06 2:38 PM, "Frank D. Engel, Jr." wrote: > Can someone give me a hint as to how I can set up an array as a > global variable? > > I know how to set up global scalars: > > global var > > But how can I do this for an array? Exactly what do you mean by an array? The normal Rev definition is simply global gWhiz put "firetruck" into gWhiz["Tommy"] put "doll house" into gWhiz["Susan"] put "perfume" into gWhiz["Mom"] put "watch" into gWhiz["Dad"] Now the global gWhiz has gifts stored in an array structure of keys and elements. Jim Ault Las Vegas From lan.kc.macmail at gmail.com Tue Dec 12 18:41:17 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 13 Dec 2006 07:41:17 +0800 Subject: Multi-standalone communication In-Reply-To: <457ED217.4040907@fourthworld.com> References: <457ED217.4040907@fourthworld.com> Message-ID: On 12/13/06, Richard Gaskin wrote: 90% of the upload would be redundant, since we all have our own copies > of the engine here. Why not just post the shell and let us bind it to > the engine? Or better still, run it within multiple copies of Rev if we > choose? Yes I had thought about that but I was trying to do this for the newbie/hobbyist and therefore wanted to remove as many steps as possible - just download and click. There are gotcha's with these stacks, mainly that they 'send "myCustomMessage" to application "alreadyBuiltStandalone" ' so if you try running them in the IDE they don't do anything! Is there anyway to script saving a stack as a standalone? I note the messages 'standaloneSaved' and savingStandalone, but nothing like saveAsStandalone. Otherwise I guess I'll just add a dialog box indicating that running the stacks from the IDE won't produce the desired result. Then I guess I should add some simple instruction on how to build a standalone. As usual, only took 15min to whip up 'the core' of these 2 standalones but it'll take 3 times that long to 'add the extras' to make it workable for my target audience:-) From fde101 at fjrhome.net Tue Dec 12 18:40:20 2006 From: fde101 at fjrhome.net (Frank D. Engel, Jr.) Date: Tue, 12 Dec 2006 18:40:20 -0500 Subject: Global Array? In-Reply-To: References: Message-ID: <0CF8D3A7-6E5E-4074-A8C2-0955FAEFA402@fjrhome.net> For some reason, I thought I'd tried this and it didn't work. It's working now though... Strange. I must have been doing something weird then. Ok, Thank you! On Dec 12, 2006, at 5:49 PM, Jim Ault wrote: > On 12/12/06 2:38 PM, "Frank D. Engel, Jr." wrote: > >> Can someone give me a hint as to how I can set up an array as a >> global variable? >> >> I know how to set up global scalars: >> >> global var >> >> But how can I do this for an array? > Exactly what do you mean by an array? > > The normal Rev definition is simply > > global gWhiz > > put "firetruck" into gWhiz["Tommy"] > put "doll house" into gWhiz["Susan"] > put "perfume" into gWhiz["Mom"] > put "watch" into gWhiz["Dad"] > > Now the global gWhiz has gifts stored in an array structure of keys > and > elements. > > 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 cszasz at mac.com Tue Dec 12 19:43:25 2006 From: cszasz at mac.com (Charles Szasz) Date: Tue, 12 Dec 2006 19:43:25 -0500 Subject: Getting Variables from Option Men --CORRECTION Message-ID: I have set up two option menus. Each has a script that puts the label value into a variable: ON menuPick theItem IF theitem is "2006" THEN put "2006" into eYr ELSE IF theitem is "2007" THEN put "2007" into eYr ELSE IF theitem is "2008" THEN put "2008" into eYr ELSE IF theitem is "2009" THEN put "2009" into eYr ELSE IF theitem is "2010" THEN put "2010" into eYr END IF END menuPick The other Option Menu has the following script: on menuPick theItem if theitem is "2002" then put "2002" into bYr else if theitem is "2001" then put "2001" into bYr else if theitem is "2000" then put "2000" into bYr else if theitem is "1999" then put "1999" into bYr else if theitem is "1998" then put "1998" into bYr END IF END menuPick In a button I have the following script: ON mouseUp put (eYr - bYr) into fld "yrFld" END mouseUp I keep getting an error message that there is a problem with the left operant. I ran the debugger and found that neither variable, eYr or bYr had a value. What is wrong with this script? Charles Szasz cszasz at mac.com From programmer711 at gmail.com Tue Dec 12 19:53:02 2006 From: programmer711 at gmail.com (Brad Sampson) Date: Tue, 12 Dec 2006 17:53:02 -0700 Subject: Getting Variables from Option Men --CORRECTION In-Reply-To: References: Message-ID: <72bdb4b20612121653j738079c2mef7bd4e0b583c440@mail.gmail.com> Your problem is that you forgot to declare global eYr and global bYr at the beginning of each handler. Just curious, theres probably some good reason: Why didn't you just say: ON menuPick theItem global eYr put theItem into eYr END menuPick on menuPick theItem global bYr put theItem into bYr END menuPick Brad From cszasz at mac.com Tue Dec 12 20:44:08 2006 From: cszasz at mac.com (Charles Szasz) Date: Tue, 12 Dec 2006 20:44:08 -0500 Subject: Getting Variables from Option Menu Message-ID: <8094A2B1-5D25-4E1C-BFE5-F2FC6B3AEB19@mac.com> Brad, Thanks! Your scripts worked! Charles Szasz cszasz at mac.com From mwieder at ahsoftware.net Tue Dec 12 21:28:43 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Dec 2006 18:28:43 -0800 Subject: altSQLite variable substitution (partial solution) In-Reply-To: <6036196097.20061210190242@ahsoftware.net> References: <6036196097.20061210190242@ahsoftware.net> Message-ID: <148206957639.20061212182843@ahsoftware.net> All- My altSQLite problem is now partially solved, thanks to Chris Bohnert. Turns out I had an early (and buggy) version of the driver. Now that I've got the latest installed I can save blob data without a problem. Now... has anyone been able to get blob data *out* of an altSQLite database? I've tried both revQueryDatabaseBLOB and revDataFromQuery and they both return the encrypted data verbatim without decrypting it on the way out. The documentation for both these functions is wrong (surprise, eh?), so I'm not even sure why the data is getting encrypted on the way in. -- -Mark Wieder mwieder at ahsoftware.net From cszasz at mac.com Tue Dec 12 23:34:06 2006 From: cszasz at mac.com (Charles Szasz) Date: Tue, 12 Dec 2006 23:34:06 -0500 Subject: Determining When Option Menus Have Changed Message-ID: How can you determine if a new MenuPick message has been sent when any two of six option menus have changed? I am working on a script to sent a mouseUp message to trigger another script when two or more option menus have changed from six option menus. Charles Szasz cszasz at mac.com From programmer711 at gmail.com Wed Dec 13 00:36:44 2006 From: programmer711 at gmail.com (Brad Sampson) Date: Tue, 12 Dec 2006 22:36:44 -0700 Subject: Determining When Option Menus Have Changed In-Reply-To: References: Message-ID: <72bdb4b20612122136h4916556fr9d992bf97cafaf1f@mail.gmail.com> I'm not sure I understand what you're asking. Do you want to send the message if any combination of 2 option menus have been changed? You could just go through each menu and check if it is the original value. If it is, you add 1 to a variable. At the end, you check if the number is 2 or more. Like this: put 0 into vNum if the label of button "optionmenu1" is "defaultlabel" then add 1 to vNum if the label of button "optionmenu2" is "defaultlabel" then add 1 to vNum if the label of button "optionmenu3" is "defaultlabel" then add 1 to vNum if the label of button "optionmenu4" is "defaultlabel" then add 1 to vNum if the label of button "optionmenu5" is "defaultlabel" then add 1 to vNum if the label of button "optionmenu6" is "defaultlabel" then add 1 to vNum if vNum>=2 then dosomething This might not be the most efficient way to do it, but it works fine. Brad CMSEC From m.schonewille at economy-x-talk.com Wed Dec 13 04:10:21 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 13 Dec 2006 10:10:21 +0100 Subject: Getting Variables from Option Men --CORRECTION In-Reply-To: References: Message-ID: <881576F5-A9B3-48E6-8A15-F42DC2030ADB@economy-x-talk.com> Charles, Why variables? on mouseUp if the label of btn 1 is a number and ? the label of btn 2 is a number then put the label of btn 2 - the label of btn 1 into x -- do something with x end if end mouseUp No need for a script in the option menu buttons. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 13-dec-2006, om 1:43 heeft Charles Szasz het volgende geschreven: > > I have set up two option menus. Each has a script that puts the > label value into a variable: > > ON menuPick theItem > IF theitem is "2006" THEN > put "2006" into eYr > ELSE IF theitem is "2007" THEN > put "2007" into eYr > ELSE IF theitem is "2008" THEN > put "2008" into eYr > ELSE IF theitem is "2009" THEN > put "2009" into eYr > ELSE IF theitem is "2010" THEN > put "2010" into eYr > END IF > END menuPick > > The other Option Menu has the following script: > on menuPick theItem > if theitem is "2002" then > put "2002" into bYr > else if theitem is "2001" then > put "2001" into bYr > else if theitem is "2000" then > put "2000" into bYr > else if theitem is "1999" then > put "1999" into bYr > else if theitem is "1998" then > put "1998" into bYr > END IF > END menuPick > > > In a button I have the following script: > > ON mouseUp > put (eYr - bYr) into fld "yrFld" > END mouseUp > > I keep getting an error message that there is a problem with the > left operant. I ran the debugger and found that neither variable, > eYr or bYr had a value. What is wrong with this script? > > > Charles Szasz > cszasz at mac.com > From m.schonewille at economy-x-talk.com Wed Dec 13 04:41:42 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 13 Dec 2006 10:41:42 +0100 Subject: Determining When Option Menus Have Changed In-Reply-To: References: Message-ID: <16429200-3916-4A3C-8B41-43CC347394EA@economy-x-talk.com> Charles, local theOldLabel on mouseDown put the label of me into theOldLabel end mouseDown on menuPick theItem if theItem is theOldLabel then put "The same old thing" else put "Time for a change!" end if end menuPick Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 13-dec-2006, om 5:34 heeft Charles Szasz het volgende geschreven: > How can you determine if a new MenuPick message has been sent when > any two of six option menus have changed? I am working on a script > to sent a mouseUp message to trigger another script when two or > more option menus have changed from six option menus. > > > Charles Szasz > cszasz at mac.com > > From eric.chatonet at sosmartsoftware.com Wed Dec 13 04:46:20 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 13 Dec 2006 10:46:20 +0100 Subject: Determining When Option Menus Have Changed In-Reply-To: <16429200-3916-4A3C-8B41-43CC347394EA@economy-x-talk.com> References: <16429200-3916-4A3C-8B41-43CC347394EA@economy-x-talk.com> Message-ID: <2E822F14-057F-4A49-B92E-004C791564DD@sosmartsoftware.com> Charles and Mark, on menuPick pNewItem, pOldItem if pNewItem = pOldItem then put "The same old thing" else put "Time for a change!" end if end menuPick Best Regards from Paris, Eric Chatonet Le 13 d?c. 06 ? 10:41, Mark Schonewille a ?crit : > Charles, > > > local theOldLabel > > on mouseDown > put the label of me into theOldLabel > end mouseDown > > on menuPick theItem > if theItem is theOldLabel then > put "The same old thing" > else > put "Time for a change!" > end if > end menuPick > > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store > software. Download at http://www.salery.biz > > Op 13-dec-2006, om 5:34 heeft Charles Szasz het volgende geschreven: > >> How can you determine if a new MenuPick message has been sent when >> any two of six option menus have changed? I am working on a script >> to sent a mouseUp message to trigger another script when two or >> more option menus have changed from six option menus. >> >> >> Charles Szasz >> cszasz at mac.com ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From m.schonewille at economy-x-talk.com Wed Dec 13 05:06:53 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 13 Dec 2006 11:06:53 +0100 (MET) Subject: Determining When Option Menus Have Changed In-Reply-To: <2E822F14-057F-4A49-B92E-004C791564DD@sosmartsoftware.com> References: <16429200-3916-4A3C-8B41-43CC347394EA@economy-x-talk.com> <2E822F14-057F-4A49-B92E-004C791564DD@sosmartsoftware.com> Message-ID: Hi Eric, This doesn't work for me. Create a new option menu button and paste your script in it. It doesn't work. What else do I need to make this work? File a bug? Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 13-dec-2006, om 10:46 heeft Eric Chatonet het volgende geschreven: > Charles and Mark, > > on menuPick pNewItem, pOldItem > if pNewItem = pOldItem then > put "The same old thing" > else > put "Time for a change!" > end if > end menuPick > > Best Regards from Paris, > Eric Chatonet > From eric.chatonet at sosmartsoftware.com Wed Dec 13 05:12:15 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 13 Dec 2006 11:12:15 +0100 Subject: Determining When Option Menus Have Changed In-Reply-To: References: <16429200-3916-4A3C-8B41-43CC347394EA@economy-x-talk.com> <2E822F14-057F-4A49-B92E-004C791564DD@sosmartsoftware.com> Message-ID: <2B0FEDE2-85A0-4123-BC7D-370807C2D13A@sosmartsoftware.com> Hi Mark, I apologize: From the docs: This parameter is included only if the button's menuMode property is set to "tabbed". Anyway it could be a nice request :-) Best Regards from Paris, Eric Chatonet Le 13 d?c. 06 ? 11:06, Mark Schonewille a ?crit : > Hi Eric, > > This doesn't work for me. > > Create a new option menu button and paste your script in it. It > doesn't work. What else do I need to make this work? File a bug? > > Mark > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store > software. Download at http://www.salery.biz > > Op 13-dec-2006, om 10:46 heeft Eric Chatonet het volgende geschreven: > >> Charles and Mark, >> >> on menuPick pNewItem, pOldItem >> if pNewItem = pOldItem then >> put "The same old thing" >> else >> put "Time for a change!" >> end if >> end menuPick ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From baleareninsel at gmx.net Wed Dec 13 06:52:25 2006 From: baleareninsel at gmx.net (baleareninsel at gmx.net) Date: Wed, 13 Dec 2006 12:52:25 +0100 Subject: MySQL Using UPDATE for saving a picture Message-ID: <20061213115101.58EEB488DAE@mail.runrev.com> Hi everybody, Trying to save a picture (.jpg or .bmp) to mySQL Database. I Use put the imagedata of image "Foto_Image" into temp3 ## works put "UPDATE Customers SET Fomage = '"& temp3 & "' where kndnr =" & kundennummer into SQL_Befehl to_i In the Variable Watcher I can see the SQL_Befehl as: UPDATE knddaten SET Foto_image = ' --- here are crazy signs -- ' where kndnr = 3120 ## which looks ok The Error Message shown by the Message box is: You have an error in your SQL Syntax; check the manual that corresponds to your mySQL server version for the right syntax to use near ' ## the crazy signs, but not so much as there are in the picture The problem seems to be, that the image itself will not be transfered. The type of Table Customers and Field Foto_image is set to BLOB Again, I need a helpfull hand best regards and thank you Horst From JimCarwardine at OwnYourFuture-net.com Wed Dec 13 10:28:23 2006 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Wed, 13 Dec 2006 11:28:23 -0400 Subject: Creating reports from a Garmin 60CSX GPS... In-Reply-To: Message-ID: Hi Folks... There has been a few posts regarding passing information to/from a computer and a Palm-type device. I'd like to do the same for a GPS. There are GPS devices out there that do deliver reports calculating mileage and tracking start and end trip points from a street map database but they are all single purpose dash-mounted devices. I can't seem to find a hand-held GPS, that I can also carry into the woods, that produces these kinds of reports even though they connect to a PC or Mac via USB. My purpose is, of course, to be able to track my business mileage during the week and track my hiking routes during the weekend with the same device. The Garmin 60CSX is x-platform and does upload a file to the PC or Mac but the users guide does not describe a report package or indicate the possibility of creating reports. I want to assure myself I can produce mileage reports before I lay out the cash. Does anyone on this list have any experience with creating reports from an uploaded GPS file or know of a report package that is available? Thanks... Jim -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From godhuman at hotmail.com Wed Dec 13 10:35:51 2006 From: godhuman at hotmail.com (chris raj) Date: Wed, 13 Dec 2006 23:35:51 +0800 Subject: I want money. In-Reply-To: <457D63EF.000001.03940@MAZYTIS> Message-ID: I just thought of an idea. Create 1 million website with some 30 pages of content and place adsense. Lets say each website only produce USD1.00 in 1 year, I would have one million dollar :) How that sounds? If spoke to my friends about it. You know the problem is creating 1 million website. Even if you get a team of people and work together, it will take ages. But you know, the good thing about that idea is that even if I do it slowly let say I take 10 years to complete the project (creating 1 million website) , you would be a millionaire. Of course if you create a new domain name for each site its costly, so I figured maybe one can use sub domain name from one main domain. Just imagine if if you find a team of people and complete that project and each website reward you with a minimum of USD100 per year X 1m websites = 100 million dollar hahaha.. great eh :) I always thought to myself, a good business is a business that requires a very very super minimal investment yet can return super super maximum R.O.I :) >From: "Viktoras Didziulis" >Reply-To: How to use Revolution >To: "How to use Revolution" >Subject: Re: I want money. >Date: Mon, 11 Dec 2006 15:58:07 +0200 (FLE Standard Time) > >Its very simple :-) >1) new idea (and not the silly one, but something at least 20% of >population >will appreciate) >2) global market >3) you have to be the first with that idea > >once 1) 2) and 3) works and your site uses up all the allocated bandwidth >you can sell pixels on your website for advertising say 10 USD per 1 pixel >per month. > >Viktoras > >-------Original Message------- > >From: chris raj >Date: 12/11/2006 3:15:16 PM >To: use-revolution at lists.runrev.com >Subject: I want money. > >Ok everyone wants money. I am not excluded. So what is the best way to earn >money online? Any ideas? Please share. > >_________________________________________________________________ >Get an advanced look at the new version of MSN Messenger. >http://get.live.com/messenger/overview Try it now. > >_______________________________________________ >use-revolution mailing list >use-revolution 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 _________________________________________________________________ Search the Internet from any Web page with MSN Toolbar. http://toolbar.msn.com.my/ From ambassador at fourthworld.com Wed Dec 13 11:03:50 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 13 Dec 2006 08:03:50 -0800 Subject: Creating reports from a Garmin 60CSX GPS... Message-ID: <45802466.20001@fourthworld.com> Jim Carwardine wrote: > There are GPS devices out there > that do deliver reports calculating mileage and tracking start and end trip > points from a street map database but they are all single purpose > dash-mounted devices. I can't seem to find a hand-held GPS, that I can also > carry into the woods, that produces these kinds of reports even though they > connect to a PC or Mac via USB. I have a similar interest, but have been unable to find any definitive info on reading/writing to USB ports from Rev. Maybe someone in the know will chime in here. I understand USB is somewhat popular, so I'm guessing we're not the only two who could benefit from this.... -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From JimCarwardine at OwnYourFuture-net.com Wed Dec 13 11:12:50 2006 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Wed, 13 Dec 2006 12:12:50 -0400 Subject: Creating reports from a Garmin 60CSX GPS... In-Reply-To: <45802466.20001@fourthworld.com> Message-ID: Thanks, Richard. That Advantrack unit seems to have good reports and I'll bet they are OEM-ing and repackaging something from either Magellan or Garmin so maybe the existing reports package could be retooled to use the regular models... Jim on 12/13/06 12:03 PM, Richard Gaskin wrote: > Jim Carwardine wrote: >> There are GPS devices out there >> that do deliver reports calculating mileage and tracking start and end trip >> points from a street map database but they are all single purpose >> dash-mounted devices. I can't seem to find a hand-held GPS, that I can also >> carry into the woods, that produces these kinds of reports even though they >> connect to a PC or Mac via USB. > > I have a similar interest, but have been unable to find any definitive > info on reading/writing to USB ports from Rev. > > Maybe someone in the know will chime in here. I understand USB is > somewhat popular, so I'm guessing we're not the only two who could > benefit from this.... -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From JimCarwardine at OwnYourFuture-net.com Wed Dec 13 11:30:04 2006 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Wed, 13 Dec 2006 12:30:04 -0400 Subject: Creating reports from a Garmin 60CSX GPS... In-Reply-To: Message-ID: I just talked with the Advantrack support people and their report package was created in-house and he wouldn't say whether they were OEM-ing a generic brand. They can identify and isolate a way-point to a city block or range of addresses. We can then assign a name if, for instance, it's a frequently visited address, and the software will recognize the location then deliver the name in the reports. Their report package only supports a PC... Jim on 12/13/06 12:12 PM, Jim Carwardine wrote: > Thanks, Richard. That Advantrack unit seems to have good reports and I'll > bet they are OEM-ing and repackaging something from either Magellan or > Garmin so maybe the existing reports package could be retooled to use the > regular models... Jim > > > on 12/13/06 12:03 PM, Richard Gaskin wrote: > >> Jim Carwardine wrote: >>> There are GPS devices out there >>> that do deliver reports calculating mileage and tracking start and end trip >>> points from a street map database but they are all single purpose >>> dash-mounted devices. I can't seem to find a hand-held GPS, that I can also >>> carry into the woods, that produces these kinds of reports even though they >>> connect to a PC or Mac via USB. >> >> I have a similar interest, but have been unable to find any definitive >> info on reading/writing to USB ports from Rev. >> >> Maybe someone in the know will chime in here. I understand USB is >> somewhat popular, so I'm guessing we're not the only two who could >> benefit from this.... -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From dbrooks at unlserve.unl.edu Wed Dec 13 11:35:02 2006 From: dbrooks at unlserve.unl.edu (David Brooks) Date: Wed, 13 Dec 2006 10:35:02 -0600 Subject: Touchscreen Hardware In-Reply-To: <457DDA12.4070507@hyperactivesw.com> References: <28390424-D266-4040-9310-E5F88EC52FCB@mac.com> <457DDA12.4070507@hyperactivesw.com> Message-ID: <2B3BE00A-77DA-41CA-AA00-145BA18D0EE8@unlserve.unl.edu> Any information prior about touchscreen hardware experience will be appreciated. The task is to create four interactive centers at a local zoo where children will make observations of animals and make choices based upon those observations. Our plan is to run this with RunRev on Mac Minis, and to access (service) those computers using either bluetooth or rf mice and keyboards. The users will access only through screen touches. Essentially the entire Zoo audience is aged 18 months to 9 years plus mommies and daddies. We are expecting serious wear and tear. Thanks in advance for any information or advice. Dave Brooks From mikeythek at gmail.com Wed Dec 13 11:52:04 2006 From: mikeythek at gmail.com (Mikey) Date: Wed, 13 Dec 2006 11:52:04 -0500 Subject: Touchscreen Hardware In-Reply-To: <2B3BE00A-77DA-41CA-AA00-145BA18D0EE8@unlserve.unl.edu> References: <28390424-D266-4040-9310-E5F88EC52FCB@mac.com> <457DDA12.4070507@hyperactivesw.com> <2B3BE00A-77DA-41CA-AA00-145BA18D0EE8@unlserve.unl.edu> Message-ID: <9b408d8e0612130852i31de7045ge2d4a1cb5cf20ead@mail.gmail.com> I could have sworn I just answered this question. Maybe it was for a different development tool. Anyway, touchscreens today are durable and easy to use. The input typically plugs into the USB port of the machine. Occasionally they may require calibration. If you deploy iCab you can put it in Kiosk mode, and go that route, too, which has the advantage of being less prone to "oops". I'd strongly recommend that you avoid bluetooth. Turn it off and don't think about it. Otherwise the teenagers will pwn you. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From wow at together.net Wed Dec 13 12:27:23 2006 From: wow at together.net (Richard Miller) Date: Wed, 13 Dec 2006 12:27:23 -0500 Subject: Touchscreen Hardware In-Reply-To: <2B3BE00A-77DA-41CA-AA00-145BA18D0EE8@unlserve.unl.edu> References: <28390424-D266-4040-9310-E5F88EC52FCB@mac.com> <457DDA12.4070507@hyperactivesw.com> <2B3BE00A-77DA-41CA-AA00-145BA18D0EE8@unlserve.unl.edu> Message-ID: <361EE7B3-90A8-4DC6-BAA8-F7C3C3A40ACC@together.net> Dave, We use the Elo infrared touch screen technology (they call it CarrollTouch). We've tried many variations from numerous manufacturers. This infrared technology is very flexible, accepting stylus or finger touch, and can be easily adapted to different LCD's. On the LCD front, we use the Landmark sun-readable screens (landmarktek.com). They are the brightest and best LCD's for the money. Sunlight has little or no effect on their readability. Everything we do in terms of our kiosks is driven by Rev. We currently run under Windows, but there are Mac drivers available for the Elo controller boards and they work fine (we've tested them). You can contact me offline if you want any additional information in terms of hardware (sound enhancement, credit card processing, power requirements, long-distance wireless options, etc.). Richard Miller Imprinter Technologies On Dec 13, 2006, at 11:35 AM, David Brooks wrote: > Any information prior about touchscreen hardware experience will be > appreciated. > > The task is to create four interactive centers at a local zoo where > children will make observations of animals and make choices based > upon those observations. > > Our plan is to run this with RunRev on Mac Minis, and to access > (service) those computers using either bluetooth or rf mice and > keyboards. The users will access only through screen touches. > > Essentially the entire Zoo audience is aged 18 months to 9 years > plus mommies and daddies. We are expecting serious wear and tear. > > Thanks in advance for any information or advice. > > Dave Brooks > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Wed Dec 13 13:15:48 2006 From: cszasz at mac.com (Charles Szasz) Date: Wed, 13 Dec 2006 13:15:48 -0500 Subject: Determining When Option Menus Have Changed Message-ID: <56F3FF58-E136-41E2-B1B7-7AA2ACB34644@mac.com> Thanks to everybody for their suggestions! I have not tried them yet but I will when I get home from work. Charles Szasz cszasz at mac.com From lan.kc.macmail at gmail.com Wed Dec 13 14:19:57 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 14 Dec 2006 03:19:57 +0800 Subject: [ANN]Multi-standalone communication In-Reply-To: References: <457ED217.4040907@fourthworld.com> Message-ID: For newbies and hobbyist, and anyone else who is interested, I have uploaded two stacks to Rev Online that demonstrate standalone to standalone communication using the 'send myMessage to application myApp' command. NOTE Unfortunately the 'send myMessage to application myApp' is a Mac only command. IMPORTANT The stacks will not work correctly in the IDE, you have to build them as standalones for the Demo to work. If you have not built a standalone before there are some basic instructions that come with the stacks that should get you through the process - if not, ask this List:-) You will find them under user: lankc and are crypitcally named: Standalone to Standalone Comms pt 1 and pt 2. Hope someone finds them useful. From dbrooks at unlserve.unl.edu Wed Dec 13 15:24:39 2006 From: dbrooks at unlserve.unl.edu (David Brooks) Date: Wed, 13 Dec 2006 14:24:39 -0600 Subject: Touchscreen Hardware In-Reply-To: <361EE7B3-90A8-4DC6-BAA8-F7C3C3A40ACC@together.net> References: <28390424-D266-4040-9310-E5F88EC52FCB@mac.com> <457DDA12.4070507@hyperactivesw.com> <2B3BE00A-77DA-41CA-AA00-145BA18D0EE8@unlserve.unl.edu> <361EE7B3-90A8-4DC6-BAA8-F7C3C3A40ACC@together.net> Message-ID: <80DB0130-55C2-4F71-9E7F-AEF5AE8EA956@unlserve.unl.edu> Thank you VERY much!! Best, Dave B. On Dec 13, 2006, at 11:27 AM, Richard Miller wrote: > Dave, > > We use the Elo infrared touch screen technology (they call it > CarrollTouch). We've tried many variations from numerous > manufacturers. This infrared technology is very flexible, accepting > stylus or finger touch, and can be easily adapted to different > LCD's. On the LCD front, we use the Landmark sun-readable screens > (landmarktek.com). They are the brightest and best LCD's for the > money. Sunlight has little or no effect on their readability. > > Everything we do in terms of our kiosks is driven by Rev. We > currently run under Windows, but there are Mac drivers available > for the Elo controller boards and they work fine (we've tested them). > > You can contact me offline if you want any additional information > in terms of hardware (sound enhancement, credit card processing, > power requirements, long-distance wireless options, etc.). > > Richard Miller > Imprinter Technologies > > > On Dec 13, 2006, at 11:35 AM, David Brooks wrote: > >> Any information prior about touchscreen hardware experience will >> be appreciated. >> >> The task is to create four interactive centers at a local zoo >> where children will make observations of animals and make choices >> based upon those observations. >> >> Our plan is to run this with RunRev on Mac Minis, and to access >> (service) those computers using either bluetooth or rf mice and >> keyboards. The users will access only through screen touches. >> >> Essentially the entire Zoo audience is aged 18 months to 9 years >> plus mommies and daddies. We are expecting serious wear and tear. >> >> Thanks in advance for any information or advice. >> >> Dave Brooks >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 stephenREVOLUTION at barncard.com Wed Dec 13 18:36:39 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Wed, 13 Dec 2006 17:36:39 -0600 Subject: I want money. In-Reply-To: References: Message-ID: Just what the world needs, a million more crappy websites....!! :) >I just thought of an idea. Create 1 million website with some 30 >pages of content and place adsense. Lets say each website only >produce USD1.00 in 1 year, I would have one million dollar :) > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From shaosean at wehostmacs.com Wed Dec 13 20:10:29 2006 From: shaosean at wehostmacs.com (Shao Sean) Date: Wed, 13 Dec 2006 20:10:29 -0500 Subject: [UPD] Bitwise Library 1.1.0 Message-ID: Finally got around to updating the bit math library. Tested on Windows and Mac OS X 10.3.9 [PPC] The library allows Rev to do bit math on signed 32-bit integers. The four built-in Rev commands are replaced and there are four new commands: bitwiseAnd, bitwiseOr, bitwiseXor, bitwiseNot replace the built-in Rev commands bitwiseShiftLeft, bitwiseShiftRight, bitwiseShiftRightFill, bitwiseRotateLeft are new commands www.shaosean.tk/ From lan.kc.macmail at gmail.com Wed Dec 13 22:21:49 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 14 Dec 2006 11:21:49 +0800 Subject: Multi-user stack question In-Reply-To: <49180223247.20061209100949@ahsoftware.net> References: <5BDD1C64-010F-1000-EED3-AE29A5BCCB4E-Webmail-10008@mac.com> <24136011484.20061208215257@ahsoftware.net> <4422C366-010F-1000-9E8A-CE619EFFDA9F-Webmail-10023@mac.com> <49180223247.20061209100949@ahsoftware.net> Message-ID: On 12/10/06, Mark Wieder wrote: > > > Normally I would say altSQLite would be a great choice for this app, Are you sure about this.? I was under the impression that altSQLite ( I guess soon to be revSQLite) is an embedded 'single instance' database. How would you propose to handle the multi-user networked environment that Jim mentioned? Just wondering if there is more to altSQLite than I understand. Waiting for 2.7.5 and altSQLite might not get Jim any closer to a solution:-) From herndogy at sbcglobal.net Thu Dec 14 00:30:13 2006 From: herndogy at sbcglobal.net (Dave Herndon) Date: Wed, 13 Dec 2006 21:30:13 -0800 (PST) Subject: Help. How do you insert a custom icon into your standalone? Message-ID: <20061214053013.28712.qmail@web81809.mail.mud.yahoo.com> I have searched all over the internet and tried choosing an icon in the standalone settings screen but of all the hundreds of icons that I have found none have passed the criteria of Rev. Is there an easy way to choose an Icon so I don't have to use the blank square of an Icon I get from Rev ? There has to be an easy way to do this. Dave From scott at cdroo.com Thu Dec 14 00:46:42 2006 From: scott at cdroo.com (Scott Kane) Date: Thu, 14 Dec 2006 16:46:42 +1100 Subject: Help. How do you insert a custom icon into your standalone? References: <20061214053013.28712.qmail@web81809.mail.mud.yahoo.com> Message-ID: <010901c71f43$3d319d00$0201010a@visualmicro> > I have searched all over the internet and tried choosing an icon in the > standalone settings screen but of all the hundreds of icons that I have > found none have > passed the criteria of Rev. Is there an easy way to choose an Icon so I > don't have to use the blank square of an Icon I get from Rev ? There has > to be an easy > way to do this. I use and recommend Axialis if you are using Windows. Scott Kane From m.schonewille at economy-x-talk.com Thu Dec 14 01:03:34 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 14 Dec 2006 07:03:34 +0100 (MET) Subject: Help. How do you insert a custom icon into your standalone? In-Reply-To: <20061214053013.28712.qmail@web81809.mail.mud.yahoo.com> References: <20061214053013.28712.qmail@web81809.mail.mud.yahoo.com> Message-ID: <4FE607C0-6C04-4C33-A8CA-149FFFEACE09@economy-x-talk.com> Dave, An icon for an application is not the same as an icon for a web page. It has to be of a special format that contains a number of pictures, one for each resolution. For Mac, you can use Apple's Icon Composer, which you will find in the Applications folder of the Developer Tools folder, if you have installed that. For Windows, there is IcoFX . Before you buy a commercial tool, have a look at the free Icon Composer and IcoFX. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 14-dec-2006, om 6:30 heeft Dave Herndon het volgende geschreven: > I have searched all over the internet and tried choosing an icon in > the standalone settings screen but of all the hundreds of icons > that I have found none have passed the criteria of Rev. Is there > an easy way to choose an Icon so I don't have to use the blank > square of an Icon I get from Rev ? There has to be an easy way to > do this. > > Dave From steve.denney at bigpond.com Thu Dec 14 01:08:20 2006 From: steve.denney at bigpond.com (Steve Denney) Date: Thu, 14 Dec 2006 16:08:20 +1000 Subject: Help. How do you insert a custom icon into your standalone? In-Reply-To: <20061214053013.28712.qmail@web81809.mail.mud.yahoo.com> Message-ID: <20061214060831.ILKA5602.oaamta04sl.mx.bigpond.com@archersb8edfba> My understanding is that the standalone builder won't proceed until you've supplied icons in all the expected formats (this wasn't the case with earlier versions of rev). The easy way is to get a program that does this for you. Steve Denney -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dave Herndon Sent: Thursday, 14 December 2006 3:30 PM To: use-revolution at lists.runrev.com Subject: Help. How do you insert a custom icon into your standalone? I have searched all over the internet and tried choosing an icon in the standalone settings screen but of all the hundreds of icons that I have found none have passed the criteria of Rev. Is there an easy way to choose an Icon so I don't have to use the blank square of an Icon I get from Rev ? There has to be an easy way to do this. Dave _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Thu Dec 14 02:25:51 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 14 Dec 2006 08:25:51 +0100 Subject: Help. How do you insert a custom icon into your standalone? In-Reply-To: <20061214053013.28712.qmail@web81809.mail.mud.yahoo.com> References: <20061214053013.28712.qmail@web81809.mail.mud.yahoo.com> Message-ID: Hi Dave, You might be interested in two links: http://www.sonsothunder.com/devres/revolution/tips/dply002.htm http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm Ken and Chipp provide there amazing tutorials about how to create and install custom icons for each platform :-) Le 14 d?c. 06 ? 06:30, Dave Herndon a ?crit : > I have searched all over the internet and tried choosing an icon in > the standalone settings screen but of all the hundreds of icons > that I have found none have passed the criteria of Rev. Is there > an easy way to choose an Icon so I don't have to use the blank > square of an Icon I get from Rev ? There has to be an easy way to > do this. Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From shaosean at wehostmacs.com Thu Dec 14 03:55:01 2006 From: shaosean at wehostmacs.com (Shao Sean) Date: Thu, 14 Dec 2006 03:55:01 -0500 Subject: [UPD] SHA-1 Library 1.1.0 Message-ID: <184863ad27252bc1103d71df97efa573@wehostmacs.com> I wrote the original about a year ago, but it seems that it was broken on the Mac (sorry), well now that I finally have a Mac in my place it's easier to do the testing :-) This library now works on Mac OS X and Windows and uses the new bit math operators (as well as some corrections to the internal math). The bit math functions are included in this library so no need to have the bitwise library loaded. Mark Smith's library seems to be quicker (I'll have to dissect and find out why.. mwahaha ;-) www.shaosean.tk From yoursignup at yahoo.com Thu Dec 14 06:30:27 2006 From: yoursignup at yahoo.com (Jim Bufalini) Date: Thu, 14 Dec 2006 01:30:27 -1000 Subject: altSQLite variable substitution (partial solution) In-Reply-To: <148206957639.20061212182843@ahsoftware.net> Message-ID: Mark, > My altSQLite problem is now partially solved, thanks to Chris Bohnert. > Turns out I had an early (and buggy) version of the driver. Now that > I've got the latest installed I can save blob data without a problem. > > Now... has anyone been able to get blob data *out* of an altSQLite > database? I've tried both revQueryDatabaseBLOB and revDataFromQuery > and they both return the encrypted data verbatim without decrypting it > on the way out. The documentation for both these functions is wrong > (surprise, eh?), so I'm not even sure why the data is getting > encrypted on the way in. > Not sure what you mean by "encrypted." I suspect you are trying to write standard text data to a "blob" typed field. This won't work. The data you write has to be binary going in. See my previous suggestion of using Rev compress() before write. Then decompress() after read. If this doesn't work, have Chris send you the driver he sent me about a month ago. Jim From dcragg at lacscentre.co.uk Thu Dec 14 07:09:03 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 14 Dec 2006 12:09:03 +0000 Subject: Rev CGI and SQL injection attacks Message-ID: Tinfoil hat time. :-) I'm putting together some rev CGIs that will take input from web broswer forms, and then populate/retrieve data from a MySQL database. I'm just a little worried about the ability for smart and nasty people to inject some SQL in the web form that will produce undesirable results. In this case, I won't eventually have responsibility for the web forms themselves, so I'd like the CGI scripts to be reasonably secure. Bank level security is not required. It's an online quiz site, and the worst someone can do is probably put themselves in the number 1 position in the score rankings. However, some personal data is involved so there are minor privacy issues too. Any advice on best practices would be appreciated. My current thinking is that two steps are needed in the script to avoid problems. 1. Use "variable substitution" when constructing the SQL queries. For example, if you parse out the passed data from the request into an array named sCGIData, you can do something like this: put word 1 of sCGIData["id"] into tValues[1] put word 1 of sCGIData["whatever"] into tValues[2] put "SELECT * from users WHERE id = :1 AND otherfield = :2" into tQuery put revdb_querylist(,,sDBID,tQuery,"tValues") into tData I'm assuming that Rev's db handling will quote the values that get sent to MySQL. (I'm not sure how important this is. But it would be reassuring to know that Rev does things as you might expect.) (I tend to use "word 1 of sCGIData["id"]" to eliminate any spaces from data. No good, of course, where spaces are valid in the input.) 2. Escape any single quotes in the data. So the above would now read: put esq(word 1 of sCGIData["id"]) into tValues[1] put esq(word 1 of sCGIData["whatever"]) into tValues[2] function esq pString replace "'" with "\'" in pString return pString function Am I being naive in thinking this is enough? Any comments or suggestions welcome. Cheers Dave From wow at together.net Thu Dec 14 07:39:32 2006 From: wow at together.net (Richard Miller) Date: Thu, 14 Dec 2006 07:39:32 -0500 Subject: Storing credit card data In-Reply-To: <4FE607C0-6C04-4C33-A8CA-149FFFEACE09@economy-x-talk.com> References: <20061214053013.28712.qmail@web81809.mail.mud.yahoo.com> <4FE607C0-6C04-4C33-A8CA-149FFFEACE09@economy-x-talk.com> Message-ID: Looking for suggestions on how to safely store credit card data. It needs to be an automated process so that the card can be charged monthly and it needs to happen from within Rev (i.e. can't use a browser). Here's the scenario. 1. User enters their card number in our Rev app (from their home or work computer) 2. For most of our services, we securely process their service charge and immediately discard the card number. 3. We're now starting up an optional monthly service. We need to take that card number, store it, then bill the user each month. It should be a fully automated system, not requiring our staff to enter a password or anything else for the periodic charges to be billed. 4. We're using our own servers for data storage. Thanks. Richard Miller Imprinter Technologies From Andre.Bisseret at inria.fr Thu Dec 14 08:07:02 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q? Andr=E9.Bisseret ?=) Date: Thu, 14 Dec 2006 14:07:02 +0100 Subject: how to transfer icon from "metaCard comptatible icons" to "this stack" Message-ID: <7FC48C19-FC9E-4E88-93AD-E786D0AB2D3C@inria.fr> Hi, For navigation buttons in a stack I chose icons (arrows etc) in the inspector pane "MetaCard Compatible icons". All is OK with Runrev. But, the icons do not appear when I run the stack with Revolution player or StackRunner (and I suppose it would be the same with a standalone). I suppose the solution is to get these icon in the "This stack" pane, in order to be able to choose it from there, but I don't know how to export from "MetaCard Compatible icons" pane to the "This stack" pane. I thougt I just had to use copy and paste, but infortunately it seems not possible to select an icon in order to copy it ; the pane disappears as soon as I click on any icon (and the icon of the btn is set to it). How could I import icons from the metacard compatible icons (or standard icons) in the stack pane ? I searched the list' archives but I did not find any precise answer Thanks a lot in advance for a solution Best regards from Grenoble Andr? From eric.chatonet at sosmartsoftware.com Thu Dec 14 08:27:41 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 14 Dec 2006 14:27:41 +0100 Subject: Storing credit card data In-Reply-To: References: <20061214053013.28712.qmail@web81809.mail.mud.yahoo.com> <4FE607C0-6C04-4C33-A8CA-149FFFEACE09@economy-x-talk.com> Message-ID: <3F63540D-BD03-4225-ACDA-B72C7BE294F9@sosmartsoftware.com> Hi Richard, We have solved a similar problem. It supposes: . A text file in the public section of the website where are stored current login/password and main address to a private and protected part of the website using salted SSL encryption. . Actually login, password and main address (IP root address you can append to what you want) are never stored in the Rev client but only in RAM at request into a script local var that is immediately deleted when done. Then this allows to retrieve or post any data from the user place to the server. That's the first part. On the other hand it does not seem difficult to build a Rev app to handle data stored encrypted on your server. Hope this helps. If you need more info, write me off-list. Le 14 d?c. 06 ? 13:39, Richard Miller a ?crit : > Looking for suggestions on how to safely store credit card data. It > needs to be an automated process so that the card can be charged > monthly and it needs to happen from within Rev (i.e. can't use a > browser). Here's the scenario. > > 1. User enters their card number in our Rev app (from their home or > work computer) > > 2. For most of our services, we securely process their service > charge and immediately discard the card number. > > 3. We're now starting up an optional monthly service. We need to > take that card number, store it, then bill the user each month. It > should be a fully automated system, not requiring our staff to > enter a password or anything else for the periodic charges to be > billed. > > 4. We're using our own servers for data storage. > > Thanks. > Richard Miller > Imprinter Technologies Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From geradamas at yahoo.com Thu Dec 14 08:28:05 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Thu, 14 Dec 2006 13:28:05 +0000 (GMT) Subject: Importing data into standalones (and saving it) Message-ID: <19829.4670.qm@web37508.mail.mud.yahoo.com> I am trying to "knock up" a testing program for a client - the client will need to import a type of delimited text file into a field of the standalone, save that and then distribute the standalone with the loaded text; the client would like to do that repeatedly with a large number of text files. Help gratefully recieved, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ ___________________________________________________________ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html From eric.chatonet at sosmartsoftware.com Thu Dec 14 08:34:42 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 14 Dec 2006 14:34:42 +0100 Subject: how to transfer icon from "metaCard comptatible icons" to "this stack" In-Reply-To: <7FC48C19-FC9E-4E88-93AD-E786D0AB2D3C@inria.fr> References: <7FC48C19-FC9E-4E88-93AD-E786D0AB2D3C@inria.fr> Message-ID: <963D2262-902B-436E-803D-CF6869CBF958@sosmartsoftware.com> Bonjour Andr?, 1. Show UI elements in lists 2. Go to the App browseer 3. Locate the revIcons stack that has a lot of substacks. 4. Copy in your stack the ones you use from revCompatibilityIcons 1 :-) Le 14 d?c. 06 ? 14:07, Andr?.Bisseret a ?crit : > Hi, > For navigation buttons in a stack I chose icons (arrows etc) in the > inspector pane "MetaCard Compatible icons". All is OK with Runrev. > > But, the icons do not appear when I run the stack with Revolution > player or StackRunner (and I suppose it would be the same with a > standalone). > > I suppose the solution is to get these icon in the "This stack" > pane, in order to be able to choose it from there, but I don't know > how to export from "MetaCard Compatible icons" pane to the "This > stack" pane. > > I thougt I just had to use copy and paste, but infortunately it > seems not possible to select an icon in order to copy it ; the pane > disappears as soon as I click on any icon (and the icon of the btn > is set to it). > > How could I import icons from the metacard compatible icons (or > standard icons) in the stack pane ? > > I searched the list' archives but I did not find any precise answer > > Thanks a lot in advance for a solution > > Best regards from Grenoble > Andr? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From eric.chatonet at sosmartsoftware.com Thu Dec 14 08:37:41 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 14 Dec 2006 14:37:41 +0100 Subject: Importing data into standalones (and saving it) In-Reply-To: <19829.4670.qm@web37508.mail.mud.yahoo.com> References: <19829.4670.qm@web37508.mail.mud.yahoo.com> Message-ID: <4242ACCB-AF0E-4833-900C-17B51746BC66@sosmartsoftware.com> Hi Richard, You can't save a standalone. You are obliged to store the data you want to display in the field in another file: This one may be shipped with the app or, better, automatically retrieved from the internet where it may be specific for an app and updated if needed. Le 14 d?c. 06 ? 14:28, Richmond Mathewson a ?crit : > I am trying to "knock up" a testing program for a > client - the client will need to import a type of > delimited text file into a field of the standalone, > save that and then distribute the standalone with the > loaded text; the client would like to do that > repeatedly with a large number of text files. > > Help gratefully recieved, Richmond Mathewson Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From mdswindell at cruzio.com Thu Dec 14 10:03:05 2006 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 14 Dec 2006 07:03:05 -0800 Subject: Help. How do you insert a custom icon into your standalone? In-Reply-To: References: <20061214053013.28712.qmail@web81809.mail.mud.yahoo.com> Message-ID: Wouldn't it be nice if the standalone builder itself had the option of an icon field into which one simply dragged the image file that one wanted to use for the application icon and Rev itself, via whatever extension magic necessary, created icon sets for Windows, OS X, and Linux... on the fly? The creation of cross platform icons is really a formidable task and most amateur users don't have the expertise, time, patience, or experience to make it happen correctly. Mark On Dec 13, 2006, at 11:25 PM, Eric Chatonet wrote: > Hi Dave, > > You might be interested in two links: > > http://www.sonsothunder.com/devres/revolution/tips/dply002.htm > http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm > > Ken and Chipp provide there amazing tutorials about how to create > and install custom icons for each platform :-) > > Le 14 d?c. 06 ? 06:30, Dave Herndon a ?crit : > >> I have searched all over the internet and tried choosing an icon >> in the standalone settings screen but of all the hundreds of icons >> that I have found none have passed the criteria of Rev. Is there >> an easy way to choose an Icon so I don't have to use the blank >> square of an Icon I get from Rev ? There has to be an easy way to >> do this. > > > Best Regards from Paris, > Eric Chatonet > ---------------------------------------------------------------------- > ------------------------ > http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.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 Roger.E.Eller at sealedair.com Thu Dec 14 10:36:27 2006 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Thu, 14 Dec 2006 10:36:27 -0500 Subject: Help. How do you insert a custom icon into your standalone? Message-ID: On 12/14/2006 at 10:03 AM, Mark Swindell wrote: > Wouldn't it be nice if the standalone builder itself had the option > of an icon field into which one simply dragged the image file that > one wanted to use for the application icon and Rev itself, via > whatever extension magic necessary, created icon sets for Windows, OS > X, and Linux... on the fly? That would be a most excellent use of RunTime resources. Normally, eye-candy and similar features are 'last' on my list of wants/needs, but the creation and application of an icon for executables is a pain even with professional utilities. I would like to see an icon block in the standalone builder that we could just paste an image into (like Macs have for setting an icon). It would be preferable to have it work for all supported OSs. Roger Eller From ambassador at fourthworld.com Thu Dec 14 11:10:48 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Dec 2006 08:10:48 -0800 Subject: Storing credit card data Message-ID: <45817788.7030603@fourthworld.com> Richard Miller wrote: > Looking for suggestions on how to safely store credit card data. In a world where NORAD and every major bank has been hacked, the question of whether one can store CC info safely may vary depending on definitions of what constitutes "Safe", but is ultimately "no". Arguably a more prudent question is "Who do I want to be liable when the server is hacked?" For myself, I never store CC info on anything I control. I partner with firms who specialize in such systems, and let them assume the liability. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From kray at sonsothunder.com Thu Dec 14 11:30:37 2006 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 14 Dec 2006 10:30:37 -0600 Subject: Help. How do you insert a custom icon into your standalone? In-Reply-To: Message-ID: On 12/14/06 1:25 AM, "Eric Chatonet" wrote: > Hi Dave, > > You might be interested in two links: > > http://www.sonsothunder.com/devres/revolution/tips/dply002.htm > http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm > > Ken and Chipp provide there amazing tutorials about how to create and > install custom icons for each platform :-) Thanks for the plug, Eric, but it also made me realize that the tip is quite old and only talks about the 16 color icons that used to be necessary back in 2003. I need to update it for 2006/2007. :-) Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From Andre.Bisseret at inria.fr Thu Dec 14 11:49:32 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q? Andr=E9.Bisseret ?=) Date: Thu, 14 Dec 2006 17:49:32 +0100 Subject: how to transfer icon from "metaCard comptatible icons" to "this stack" In-Reply-To: <963D2262-902B-436E-803D-CF6869CBF958@sosmartsoftware.com> References: <7FC48C19-FC9E-4E88-93AD-E786D0AB2D3C@inria.fr> <963D2262-902B-436E-803D-CF6869CBF958@sosmartsoftware.com> Message-ID: <9AB2FEE2-7143-41C4-A2C5-798EEC9E48F7@inria.fr> Bonjour ?ric, Magnifique ! My knowledge of Rev is still too much about the surface layers. Appears to be a lot of nice ressources deeply ("sous les pav?s, la plage") Thank you very much for your always efficient and effective assistance. Best regards from Grenoble Andr? Le 14 d?c. 06 ? 14:34, Eric Chatonet a ?crit : > Bonjour Andr?, > > 1. Show UI elements in lists > 2. Go to the App browseer > 3. Locate the revIcons stack that has a lot of substacks. > 4. Copy in your stack the ones you use from revCompatibilityIcons 1 > > :-) > > Le 14 d?c. 06 ? 14:07, Andr?.Bisseret a ?crit : > >> Hi, >> For navigation buttons in a stack I chose icons (arrows etc) in >> the inspector pane "MetaCard Compatible icons". All is OK with >> Runrev. >> >> But, the icons do not appear when I run the stack with Revolution >> player or StackRunner (and I suppose it would be the same with a >> standalone). >> >> I suppose the solution is to get these icon in the "This stack" >> pane, in order to be able to choose it from there, but I don't >> know how to export from "MetaCard Compatible icons" pane to the >> "This stack" pane. >> >> I thougt I just had to use copy and paste, but infortunately it >> seems not possible to select an icon in order to copy it ; the >> pane disappears as soon as I click on any icon (and the icon of >> the btn is set to it). >> >> How could I import icons from the metacard compatible icons (or >> standard icons) in the stack pane ? >> >> I searched the list' archives but I did not find any precise answer >> >> Thanks a lot in advance for a solution >> >> Best regards from Grenoble >> Andr? >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > Best Regards from Paris, > Eric Chatonet > ---------------------------------------------------------------------- > ------------------------ > http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mwieder at ahsoftware.net Thu Dec 14 13:28:23 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 14 Dec 2006 10:28:23 -0800 Subject: altSQLite variable substitution (partial solution) In-Reply-To: References: Message-ID: <18350936920.20061214102823@ahsoftware.net> Jim- Thursday, December 14, 2006, 3:30:27 AM, you wrote: > Not sure what you mean by "encrypted." I suspect you are trying to write > standard text data to a "blob" typed field. This won't work. The data you > write has to be binary going in. See my previous suggestion of using Rev > compress() before write. Then decompress() after read. If this doesn't work, > have Chris send you the driver he sent me about a month ago. By "encrypted" I mean if you look at the data that's stored in the database field, it's not the same data that I put in. SQLite encodes blob data on the way in and out - there are api calls for this. Doesn't matter if it's text data or image data or whatever. At any rate, Chris sent me the proper driver and now all is well. Thanks. -- -Mark Wieder mwieder at ahsoftware.net From josh at dvcreators.net Thu Dec 14 13:51:25 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Thu, 14 Dec 2006 10:51:25 -0800 Subject: Storing credit card data In-Reply-To: References: <20061214053013.28712.qmail@web81809.mail.mud.yahoo.com> <4FE607C0-6C04-4C33-A8CA-149FFFEACE09@economy-x-talk.com> Message-ID: <26EE6E00-630F-4A06-9FFB-B5C8A5E86832@dvcreators.net> We opted to store customer credit card data in an encrypted text file on the users computer. That way, a hacker would have to break into every user's computer independently to get the numbers :-) On Dec 14, 2006, at 4:39 AM, Richard Miller wrote: > Looking for suggestions on how to safely store credit card data. It > needs to be an automated process so that the card can be charged > monthly and it needs to happen from within Rev (i.e. can't use a > browser). Here's the scenario. > > 1. User enters their card number in our Rev app (from their home or > work computer) > > 2. For most of our services, we securely process their service > charge and immediately discard the card number. > > 3. We're now starting up an optional monthly service. We need to > take that card number, store it, then bill the user each month. It > should be a fully automated system, not requiring our staff to > enter a password or anything else for the periodic charges to be > billed. > > 4. We're using our own servers for data storage. > > Thanks. > Richard Miller > Imprinter Technologies > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From devin_asay at byu.edu Thu Dec 14 14:49:28 2006 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 14 Dec 2006 12:49:28 -0700 Subject: how to transfer icon from "metaCard comptatible icons" to "this stack" In-Reply-To: <963D2262-902B-436E-803D-CF6869CBF958@sosmartsoftware.com> References: <7FC48C19-FC9E-4E88-93AD-E786D0AB2D3C@inria.fr> <963D2262-902B-436E-803D-CF6869CBF958@sosmartsoftware.com> Message-ID: Andr?, You may also do the following: Development Menu > Image Library. Select the Images tab. Click on the image you want in your stack. Click the Place Image button. Devin On Dec 14, 2006, at 6:34 AM, Eric Chatonet wrote: > Bonjour Andr?, > > 1. Show UI elements in lists > 2. Go to the App browseer > 3. Locate the revIcons stack that has a lot of substacks. > 4. Copy in your stack the ones you use from revCompatibilityIcons 1 > > :-) > > Le 14 d?c. 06 ? 14:07, Andr?.Bisseret a ?crit : > >> Hi, >> For navigation buttons in a stack I chose icons (arrows etc) in >> the inspector pane "MetaCard Compatible icons". All is OK with >> Runrev. >> >> But, the icons do not appear when I run the stack with Revolution >> player or StackRunner (and I suppose it would be the same with a >> standalone). >> >> I suppose the solution is to get these icon in the "This stack" >> pane, in order to be able to choose it from there, but I don't >> know how to export from "MetaCard Compatible icons" pane to the >> "This stack" pane. >> >> I thougt I just had to use copy and paste, but infortunately it >> seems not possible to select an icon in order to copy it ; the >> pane disappears as soon as I click on any icon (and the icon of >> the btn is set to it). >> >> How could I import icons from the metacard compatible icons (or >> standard icons) in the stack pane ? >> >> I searched the list' archives but I did not find any precise answer >> >> Thanks a lot in advance for a solution >> >> Best regards from Grenoble >> Andr? >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > Best Regards from Paris, > Eric Chatonet > ---------------------------------------------------------------------- > ------------------------ > http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.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 > Devin Asay Humanities Technology and Research Support Center Brigham Young University From wjm at wjm.org Thu Dec 14 16:52:30 2006 From: wjm at wjm.org (Bill Marriott) Date: Thu, 14 Dec 2006 16:52:30 -0500 Subject: Help. How do you insert a custom icon into your standalone? References: Message-ID: Oh, I'm not sure about that. If you look at the free and commercial icon editors mentioned, you'll see there's quite a bit to them beyond simply resizing a PNG. An embedded field where you could drag an image would be convenient, but it would probably result in poor-quality icons at the smaller sizes and bit depths. But, you might want to file the enhancement request in Bugzilla anyway :) wrote in message news:OF29E5E4BB.E4F8810F-ON85257244.0054E7EA at sealedair.com... > On 12/14/2006 at 10:03 AM, Mark Swindell wrote: >> Wouldn't it be nice if the standalone builder itself had the option >> of an icon field into which one simply dragged the image file that >> one wanted to use for the application icon and Rev itself, via >> whatever extension magic necessary, created icon sets for Windows, OS >> X, and Linux... on the fly? > > That would be a most excellent use of RunTime resources. Normally, > eye-candy and similar features are 'last' on my list of wants/needs, but > the creation and application of an icon for executables is a pain even > with professional utilities. I would like to see an icon block in the > standalone builder that we could just paste an image into (like Macs have > for setting an icon). It would be preferable to have it work for all > supported OSs. > > Roger Eller > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From shaosean at wehostmacs.com Thu Dec 14 17:53:28 2006 From: shaosean at wehostmacs.com (Shao Sean) Date: Thu, 14 Dec 2006 17:53:28 -0500 Subject: Rev CGI and SQL injection attacks Message-ID: <9b3d172fb8c073c9b5115eb05607ea56@wehostmacs.com> Make sure to escape the following characters as well: NULL (ascii 0) \n (newline) \r (carriage return) \ ' " CTRL-Z _ % You may also want to look at escaping [TAB] as well From mdswindell at cruzio.com Thu Dec 14 18:19:24 2006 From: mdswindell at cruzio.com (Mark Swindell) Date: Thu, 14 Dec 2006 15:19:24 -0800 Subject: Help. How do you insert a custom icon into your standalone? In-Reply-To: References: Message-ID: <46565E48-FFB7-430D-869B-55DAAB1BBFAE@cruzio.com> I don't know (and I can't emphasize that enough), but it would seem possible that there are particular algorithms that could shrink PNG's to the specific sizes required for the various OSes while retaining acceptable quality. What do the freeware guys use to do what they do? Maybe Rev could license their algorithms cheaply and incorporate them if they're not freely available. (I'm not trying to spend Rev's money, it's just a thought.) As I say, I'm clueless to all except the mysteries and inconvenience of creating x-platform icons, and it's not because I haven't tried to learn. Mark On Dec 14, 2006, at 1:52 PM, Bill Marriott wrote: > Oh, I'm not sure about that. If you look at the free and commercial > icon > editors mentioned, you'll see there's quite a bit to them beyond > simply > resizing a PNG. An embedded field where you could drag an image > would be > convenient, but it would probably result in poor-quality icons at the > smaller sizes and bit depths. > > But, you might want to file the enhancement request in Bugzilla > anyway :) > > wrote in message > news:OF29E5E4BB.E4F8810F-ON85257244.0054E7EA at sealedair.com... >> On 12/14/2006 at 10:03 AM, Mark Swindell wrote: >>> Wouldn't it be nice if the standalone builder itself had the option >>> of an icon field into which one simply dragged the image file that >>> one wanted to use for the application icon and Rev itself, via >>> whatever extension magic necessary, created icon sets for >>> Windows, OS >>> X, and Linux... on the fly? >> >> That would be a most excellent use of RunTime resources. Normally, >> eye-candy and similar features are 'last' on my list of wants/ >> needs, but >> the creation and application of an icon for executables is a pain >> even >> with professional utilities. I would like to see an icon block in the >> standalone builder that we could just paste an image into (like >> Macs have >> for setting an icon). It would be preferable to have it work for all >> supported OSs. >> >> Roger Eller >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Thu Dec 14 18:56:43 2006 From: cszasz at mac.com (Charles Szasz) Date: Thu, 14 Dec 2006 18:56:43 -0500 Subject: A Problem with Return in a Field Message-ID: <3F18140D-A404-476A-A44D-574FE0EED63C@mac.com> Despite the suggestions made to correct this problem, the problem still exists. I tried the suggestion of changing the field of the field so that only one line could fit. i changed the fields to a field height of 18 and a text height of 14 with and without Don't Wrap option turn on and off. But that only works on a sporadic basis. The numbers will disappear to the left and pressing the Return does nothing to restate the numbers or advance to the next field. You have to use the Delete to make the two digit number appear but pressing the Return again makes the number disappear again. This occurred in one of five edit fields with all having the same dimensions and options in the Inspector. This is the script: on keyDown whichKey if whichKey is a number then if the selection is not empty then delete the selection if the length of me < 2 then pass keyDown else beep end if end if end keyDown I also tried another suggestion that forces a Return to tab but that disable the script for allowing only two digits numbers in the script. So, it really lo Charles Szasz cszasz at mac.com From chipp at chipp.com Thu Dec 14 23:53:37 2006 From: chipp at chipp.com (Chipp Walters) Date: Thu, 14 Dec 2006 22:53:37 -0600 Subject: Help. How do you insert a custom icon into your standalone? In-Reply-To: References: <20061214053013.28712.qmail@web81809.mail.mud.yahoo.com> Message-ID: <7aa52a210612142053x69be5b7ei689ca370df167894@mail.gmail.com> On 12/14/06, Eric Chatonet wrote: > > Hi Dave, > > You might be interested in two links: > > http://www.sonsothunder.com/devres/revolution/tips/dply002.htm > http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm > > Ken and Chipp provide there amazing tutorials about how to create and > install custom icons for each platform :-) Thanks for the reminder, Eric. The better direct link is: < http://www.altuit.com/webs/altuit2/StandaloneBuilderTutorial/BuildingIconsforMacOSXandWindowsXP.htm > It is a very simple and fast method for creating cross platform icons for standalones. best, Chipp From Andre.Bisseret at inria.fr Fri Dec 15 03:27:26 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q? Andr=E9.Bisseret ?=) Date: Fri, 15 Dec 2006 09:27:26 +0100 Subject: how to transfer icon from "metaCard comptatible icons" to "this stack" In-Reply-To: References: <7FC48C19-FC9E-4E88-93AD-E786D0AB2D3C@inria.fr> <963D2262-902B-436E-803D-CF6869CBF958@sosmartsoftware.com> Message-ID: Yeaah ! very nice :-) ?ric and you make me feel that actually I should spend time exploring Rev more systematically ! But, you know, I tend to learn only when I get problems ! That's why this list is really vital for "amateurs" like me ! Thanks a lot Devin Best regards from Grenoble Andr? Le 14 d?c. 06 ? 20:49, Devin Asay a ?crit : > Andr?, > > You may also do the following: > > Development Menu > Image Library. > > Select the Images tab. > > Click on the image you want in your stack. > > Click the Place Image button. > > Devin > > On Dec 14, 2006, at 6:34 AM, Eric Chatonet wrote: > >> Bonjour Andr?, >> >> 1. Show UI elements in lists >> 2. Go to the App browseer >> 3. Locate the revIcons stack that has a lot of substacks. >> 4. Copy in your stack the ones you use from revCompatibilityIcons 1 >> >> :-) >> >> Le 14 d?c. 06 ? 14:07, Andr?.Bisseret a ?crit : >> >>> Hi, >>> For navigation buttons in a stack I chose icons (arrows etc) in >>> the inspector pane "MetaCard Compatible icons". All is OK with >>> Runrev. >>> >>> But, the icons do not appear when I run the stack with Revolution >>> player or StackRunner (and I suppose it would be the same with a >>> standalone). >>> >>> I suppose the solution is to get these icon in the "This stack" >>> pane, in order to be able to choose it from there, but I don't >>> know how to export from "MetaCard Compatible icons" pane to the >>> "This stack" pane. >>> >>> I thougt I just had to use copy and paste, but infortunately it >>> seems not possible to select an icon in order to copy it ; the >>> pane disappears as soon as I click on any icon (and the icon of >>> the btn is set to it). >>> >>> How could I import icons from the metacard compatible icons (or >>> standard icons) in the stack pane ? >>> >>> I searched the list' archives but I did not find any precise answer >>> >>> Thanks a lot in advance for a solution >>> >>> Best regards from Grenoble >>> Andr? >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> Best Regards from Paris, >> Eric Chatonet >> --------------------------------------------------------------------- >> ------------------------- >> http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.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 >> > > 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 runrev at animabit.de Fri Dec 15 04:44:45 2006 From: runrev at animabit.de (runrev at animabit.de) Date: Fri, 15 Dec 2006 09:44:45 +0000 Subject: Touchscreen Hardware Message-ID: Hi Dave, we used Touchscreen Hardware with toolbook and vb. Any Touchscreen driver I know maps the touch of the user on the screen to the mouse signal of the OS => the touch is like the click of the mouse (mousedown mouseup xpos and ypos) and your runrev program gets the signal like any mousesignal - this is my experience. In most cases you can use the touchscreen and the mouse simulaneous (but of course the last used gets the control). You just have to be careful about the accuracy of the users in clicking ( a tolerance of 30 pixel min in x and y direction should be handled through your program or the objects to touch on the screen (buttons ...) should be bigger than normal. Avoid to hyperlink small chunks of text as link in fields - very hard to use on touchscreens. Regards, Franz Mit freundlichen Gr??en Franz B?hmisch boehmisch at animabit.de http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 From wdesmet at wanadoo.nl Fri Dec 15 06:33:17 2006 From: wdesmet at wanadoo.nl (William de Smet) Date: Fri, 15 Dec 2006 12:33:17 +0100 Subject: A Problem with Return in a Field In-Reply-To: <3F18140D-A404-476A-A44D-574FE0EED63C@mac.com> References: <3F18140D-A404-476A-A44D-574FE0EED63C@mac.com> Message-ID: Hi Charles, I don't know if it solves your problem but I use: on returnInField put line 1 of me into me answer error "Only one word allowed!" with "OK" end returnInField on closeField if return is in me then returnInField end if pass closefield end closefield on keyDown pKey if charToNum(pKey) <> 32 then pass keydown answer error "Only one word allowed!" with "OK" end keyDown In this I force the user to use just one word! greetings, WIlliam de Smet 2006/12/15, Charles Szasz : > Despite the suggestions made to correct this problem, the problem > still exists. I tried the suggestion of changing the field of the > field so that only one line could fit. i changed the fields to a > field height of 18 and a text height of 14 with and without Don't > Wrap option turn on and off. But that only works on a sporadic basis. > The numbers will disappear to the left and pressing the Return does > nothing to restate the numbers or advance to the next field. You have > to use the Delete to make the two digit number appear but pressing > the Return again makes the number disappear again. This occurred in > one of five edit fields with all having the same dimensions and > options in the Inspector. > This is the script: > > on keyDown whichKey > if whichKey is a number then > if the selection is not empty then delete the selection > if the length of me < 2 then > pass keyDown > else > beep > end if > end if > end keyDown > > > I also tried another suggestion that forces a Return to tab but that > disable the script for allowing only two digits numbers in the > script. So, it really lo > > > 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 > > > -- ICT-co?rdinator Herman Broerenschool 2612 SP Delft 015-2141066 http://www.hermanbroerenschool-delft.nl From jbv.silences at club-internet.fr Fri Dec 15 10:23:09 2006 From: jbv.silences at club-internet.fr (jbv) Date: Fri, 15 Dec 2006 16:23:09 +0100 Subject: launch doc with app Message-ID: <4582BDDC.DE67F30E@club-internet.fr> Hi list, Is there a quick way to locate (from a Rev stack on a CD-Rom for instance) an application on a end-user HD (Acrobat Reader for instance) and to launch a pdf file on the CD-Rom with the app on the HD ? Thanks, JB From dcragg at lacscentre.co.uk Fri Dec 15 10:24:15 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 15 Dec 2006 15:24:15 +0000 Subject: Rev CGI and SQL injection attacks In-Reply-To: <9b3d172fb8c073c9b5115eb05607ea56@wehostmacs.com> References: <9b3d172fb8c073c9b5115eb05607ea56@wehostmacs.com> Message-ID: <44E225A7-D545-426E-95B2-4DF91F15AB81@lacscentre.co.uk> (A resend. I used the wrong address before.) On 14 Dec 2006, at 22:53, Shao Sean wrote: > Make sure to escape the following characters as well: > > NULL (ascii 0) > \n (newline) > \r (carriage return) > \ > ' > " > CTRL-Z > _ > % > > You may also want to look at escaping [TAB] as well Thanks for the list. I've been searching on the net too, and see a variety of techniques mentioned. I still don't fully understand why some characters need to be esacaped if you first escape "\" and then single quotes. Perhaps my mind isn't devious enough. :) Cheers Dave From soapdog at mac.com Fri Dec 15 10:27:40 2006 From: soapdog at mac.com (Andre Garzia) Date: Fri, 15 Dec 2006 13:27:40 -0200 Subject: Rev CGI and SQL injection attacks In-Reply-To: <9b3d172fb8c073c9b5115eb05607ea56@wehostmacs.com> References: <9b3d172fb8c073c9b5115eb05607ea56@wehostmacs.com> Message-ID: <13195C5A-B729-4EC9-92B8-AF8CBCF4D25F@mac.com> Shao Sean, thanks too, this list is also useful to me!!! cheers andre On Dec 14, 2006, at 8:53 PM, Shao Sean wrote: > Make sure to escape the following characters as well: > > NULL (ascii 0) > \n (newline) > \r (carriage return) > \ > ' > " > CTRL-Z > _ > % > > You may also want to look at escaping [TAB] as well > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Fri Dec 15 10:33:32 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Dec 2006 09:33:32 -0600 Subject: launch doc with app In-Reply-To: <4582BDDC.DE67F30E@club-internet.fr> Message-ID: On 12/15/06 9:23 AM, "jbv" wrote: > Hi list, > > Is there a quick way to locate (from a Rev stack on a CD-Rom > for instance) an application on a end-user HD (Acrobat Reader > for instance) and to launch a pdf file on the CD-Rom with the > app on the HD ? What platform(s) is this for? Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From geir.myrestrand at falconstor.com Fri Dec 15 10:53:48 2006 From: geir.myrestrand at falconstor.com (Geir A. Myrestrand) Date: Fri, 15 Dec 2006 10:53:48 -0500 Subject: launch doc with app In-Reply-To: <4582BDDC.DE67F30E@club-internet.fr> References: <4582BDDC.DE67F30E@club-internet.fr> Message-ID: <4582C50C.5040505@falconstor.com> jbv wrote: > Hi list, > > Is there a quick way to locate (from a Rev stack on a CD-Rom > for instance) an application on a end-user HD (Acrobat Reader > for instance) and to launch a pdf file on the CD-Rom with the > app on the HD ? > > Thanks, > JB You probably want to load the document with the application that is currently assigned to handle this type of documents. On Windows: start -or- On Linux with KDE: kfmclient exec This starts the appropriate KDE application for the 's MIME type. This follows the settings for that MIME-type in the KDE file associations config module. If you need it to open on a particular display, then pre-pend DISPLAY=:0 for example. Replace above with the path to the document you want to launch with the associated viewer. Use whatever mechanism Revolution provides to launch external commands. PS! Do not under any circumstances assume that Adobe Acrobat or Adobe Reader is used to view the PDF files. -- Geir A. Myrestrand From baleareninsel at gmx.net Fri Dec 15 11:33:07 2006 From: baleareninsel at gmx.net (Horst) Date: Fri, 15 Dec 2006 08:33:07 -0800 (PST) Subject: =?utf-8?q?Commands_out_of_sync=2C_you_can=C2=B4t_run_this_comman?= =?utf-8?q?d_now?= Message-ID: <7894721.post@talk.nabble.com> Hi There, Do you know this message? And if so, what does it mean? best regards Horst -- View this message in context: http://www.nabble.com/Commands-out-of-sync%2C-you-cant-run-this-command-now-tf2828066.html#a7894721 Sent from the Revolution - User mailing list archive at Nabble.com. From kray at sonsothunder.com Fri Dec 15 12:55:40 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Dec 2006 11:55:40 -0600 Subject: Commands out of sync, you can =?iso-8859-1?q?=B4?= t run this command now In-Reply-To: <7894721.post@talk.nabble.com> Message-ID: On 12/15/06 10:33 AM, "Horst" wrote: > > Hi There, > > Do you know this message? And if so, what does it mean? It's a message you get from SQL (I've seen it from mySQL). See: http://dev.mysql.com/doc/refman/5.0/en/commands-out-of-sync.html The only thing you can do (AFAIK) is close your connection to the server and then reopen it and try again. Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From baleareninsel at gmx.net Fri Dec 15 13:00:49 2006 From: baleareninsel at gmx.net (Horst) Date: Fri, 15 Dec 2006 10:00:49 -0800 (PST) Subject: =?utf-8?q?Re=3A_Commands_out_of_sync=2C_you_can_=C2=B4_t_run_thi?= =?utf-8?q?s_command_now?= In-Reply-To: References: <7894721.post@talk.nabble.com> Message-ID: <7896415.post@talk.nabble.com> Hi Ken, Thanks for answering :-)) You wrote: The only thing you can do (AFAIK) is close your connection to the server and then reopen it and try again. Well, that?s what I have done by closing RunRev. Than, I tried again, same message. So I uninstalled RunRev, deleted all RunRev Folders, to be sure, that nothing is working som ewhere behind. Installed RunRev again and... ... YES, the same message :-( Must be something else I think best regards Horst -- View this message in context: http://www.nabble.com/Commands-out-of-sync%2C-you-cant-run-this-command-now-tf2828066.html#a7896415 Sent from the Revolution - User mailing list archive at Nabble.com. From chris at altuit.com Fri Dec 15 13:05:05 2006 From: chris at altuit.com (chris bohnert) Date: Fri, 15 Dec 2006 12:05:05 -0600 Subject: =?iso-8859-1?q?Re=3A_Commands_out_of_sync=2C_you_can_=B4_t_run_t?= =?iso-8859-1?q?his_command_now?= In-Reply-To: <7896415.post@talk.nabble.com> References: <7894721.post@talk.nabble.com> <7896415.post@talk.nabble.com> Message-ID: <2e0cf4750612151005l451ae836i33cb6be04324865b@mail.gmail.com> Hi Horst, If you'll post some of the code you're having trouble with it will help track down your issue. I see this error message when trying to query a connection thats not open or to close one thats already closed. -- cb On 12/15/06, Horst wrote: > > > Hi Ken, > > Thanks for answering :-)) > > You wrote: > The only thing you can do (AFAIK) is close your connection to the server > and > then reopen it and try again. > > Well, that?s what I have done by closing RunRev. Than, I tried again, same > message. So I uninstalled RunRev, deleted all RunRev Folders, to be sure, > that nothing is working som ewhere behind. Installed RunRev again and... > ... YES, the same message :-( > > Must be something else I think > > best regards > Horst > > > -- > View this message in context: > http://www.nabble.com/Commands-out-of-sync%2C-you-cant-run-this-command-now-tf2828066.html#a7896415 > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From kray at sonsothunder.com Fri Dec 15 13:05:28 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Dec 2006 12:05:28 -0600 Subject: Commands out of sync, you can =?iso-8859-1?q?=B4_?= t run this command now In-Reply-To: <7896415.post@talk.nabble.com> Message-ID: On 12/15/06 12:00 PM, "Horst" wrote: > > Hi Ken, > > Thanks for answering :-)) > > You wrote: > The only thing you can do (AFAIK) is close your connection to the server and > then reopen it and try again. > > Well, that?s what I have done by closing RunRev. Than, I tried again, same > message. So I uninstalled RunRev, deleted all RunRev Folders, to be sure, > that nothing is working som ewhere behind. Installed RunRev again and... > ... YES, the same message :-( > > Must be something else I think I guess the only thing left to do is restart mySQL (either by restarting the server or at the command line) unless someone else has a better idea... Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From baleareninsel at gmx.net Fri Dec 15 13:50:20 2006 From: baleareninsel at gmx.net (Horst) Date: Fri, 15 Dec 2006 10:50:20 -0800 (PST) Subject: =?utf-8?q?Re=3A_Commands_out_of_sync=2C_you_can_=C2=B4_t_run_thi?= =?utf-8?q?s_command_now?= In-Reply-To: <2e0cf4750612151005l451ae836i33cb6be04324865b@mail.gmail.com> References: <7894721.post@talk.nabble.com> <7896415.post@talk.nabble.com> <2e0cf4750612151005l451ae836i33cb6be04324865b@mail.gmail.com> Message-ID: <7897154.post@talk.nabble.com> Hi friends, I do (as possible) what ever you want me to do! It happens here: on closefield GLOBAL kundennummer, DB_ID ########### Land Aendern ################# put the text of me into temp3 put "Select * from land_kz where Kfz_Kennz = '" & temp3 & "'" into SQL_Befehl revexecuteSQL DB_ID, SQL_Befehl ###################### I hope, it helps. best regards Horst -- View this message in context: http://www.nabble.com/Commands-out-of-sync%2C-you-cant-run-this-command-now-tf2828066.html#a7897154 Sent from the Revolution - User mailing list archive at Nabble.com. From revlist at azurevision.co.uk Fri Dec 15 15:54:05 2006 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 15 Dec 2006 20:54:05 +0000 Subject: EuroRevCon web gallery In-Reply-To: <3D225C32-CA13-40DF-B2A1-84C55CF52350@azurevision.co.uk> References: <3D225C32-CA13-40DF-B2A1-84C55CF52350@azurevision.co.uk> Message-ID: I've finally updated the conference gallery, including lots of photos from the tour afterwards, although there are a couple more panoramas to add. Ian From stephenREVOLUTION at barncard.com Fri Dec 15 16:11:20 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 15 Dec 2006 15:11:20 -0600 Subject: EuroRevCon web gallery In-Reply-To: References: <3D225C32-CA13-40DF-B2A1-84C55CF52350@azurevision.co.uk> Message-ID: nice photography. Like that W I D E angle lens. (I do that too for group shots.) The conference area looks so HUGE. sqb > > >I've finally updated the conference gallery, including lots of >photos from the tour afterwards, although there are a couple more >panoramas to add. > >Ian -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From baleareninsel at gmx.net Fri Dec 15 16:31:22 2006 From: baleareninsel at gmx.net (Horst) Date: Fri, 15 Dec 2006 13:31:22 -0800 (PST) Subject: =?utf-8?q?Re=3A_Commands_out_of_sync=2C_you_can_=C2=B4__t_run_th?= =?utf-8?q?is_command_now?= In-Reply-To: References: <7894721.post@talk.nabble.com> <7896415.post@talk.nabble.com> Message-ID: <7899560.post@talk.nabble.com> Hi Ken, You say: I guess the only thing left to do is restart mySQL (either by restarting the server or at the command line) unless someone else has a better idea... Ok, But How? shut down the PC and start again? Well, I?m happy, that mySQL is running and I never thought about restarting Thank you Horst -- View this message in context: http://www.nabble.com/Commands-out-of-sync%2C-you-cant-run-this-command-now-tf2828066.html#a7899560 Sent from the Revolution - User mailing list archive at Nabble.com. From kray at sonsothunder.com Fri Dec 15 16:46:46 2006 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 15 Dec 2006 15:46:46 -0600 Subject: Commands out of sync, you can =?iso-8859-1?q?=B4__?= t run this command now In-Reply-To: <7899560.post@talk.nabble.com> Message-ID: On 12/15/06 3:31 PM, "Horst" wrote: > > Hi Ken, > > You say: > > I guess the only thing left to do is restart mySQL (either by restarting the > server or at the command line) unless someone else has a better idea... > > Ok, But How? shut down the PC and start again? Yes, the PC that is actually running mySQL server (i.e. not a client PC that is simply *accessing* mySQL). Another way to do it is if you installed mySQL as a service under Windows that you can open up the Services application (Control Panel -> Administrative Tools -> Services), find the mySQL application in the list of services, right-click on it, and choose "Restart" from the context menu. Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mark_powell at symantec.com Fri Dec 15 18:02:45 2006 From: mark_powell at symantec.com (Mark Powell) Date: Fri, 15 Dec 2006 15:02:45 -0800 Subject: Help. How do you insert a custom icon into your standalone? Message-ID: Does building icons for XP automatically mean they are compatible with Windows 2000? Mark From ambassador at fourthworld.com Fri Dec 15 18:06:37 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Dec 2006 15:06:37 -0800 Subject: Toolbars: iCal and other "bottom feeders" Message-ID: <45832A7D.1050106@fourthworld.com> While Apple's HIG talks about toolbars being at the top of the window, I noticed that the toolbar in their iCal is at the bottom of the window. Not only do I like that position, but it's also easy for us Rev developers to do since we don't yet have true toolbar support in the engine (I know there are many clever workarounds, but you know what I mean). So I'm interested in taking a look at other apps that have their toolbars along the bottom of the window -- are there many? Which ones? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From robmann at gp-racing.com Fri Dec 15 18:33:06 2006 From: robmann at gp-racing.com (Robert Mann) Date: Fri, 15 Dec 2006 18:33:06 -0500 Subject: Bug with revQueryDatabase 2.7.4 build 291 Message-ID: I am having a problem with revQueryDatabase returning a number when it should not be I think? In the following sql statement if there is no data in column wt_springcalc.year_model='" & gyearmodel & "' curID should not be a number? and it is put "SELECT * FROM wt_springcalc WHERE wt_springcalc.year_model='" & gyearmodel & "' and wt_springcalc.company_id='1'" into theSQL put revQueryDatabase(dbID2, theSQL) into curID put curID into fld "curIDnum" IF curID is a number THEN put revDatabaseColumnNamed(curID,"fr_mx_multiplier") into fld "frmxm1" ELSE put curID into fld "error" exit mouseUp END IF can someone test a sql statement that they know should return on non-number to the revQueryDatabase and see what you get Thanks Robert Mann From mark at maseurope.net Fri Dec 15 18:34:42 2006 From: mark at maseurope.net (Mark Smith) Date: Fri, 15 Dec 2006 23:34:42 +0000 Subject: Toolbars: iCal and other "bottom feeders" In-Reply-To: <45832A7D.1050106@fourthworld.com> References: <45832A7D.1050106@fourthworld.com> Message-ID: <09BA9D31-9B28-4763-8E68-DC925B4671DC@maseurope.net> The Apple Address Book has buttons at the top and bottom, Garage Band at the bottom, also Google Earth. Best, Mark On 15 Dec 2006, at 23:06, Richard Gaskin wrote: > While Apple's HIG talks about toolbars being at the top of the > window, I noticed that the toolbar in their iCal is at the bottom > of the window. > > Not only do I like that position, but it's also easy for us Rev > developers to do since we don't yet have true toolbar support in > the engine (I know there are many clever workarounds, but you know > what I mean). > > So I'm interested in taking a look at other apps that have their > toolbars along the bottom of the window -- are there many? Which > ones? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.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 Kresten.Bjerg at psy.ku.dk Fri Dec 15 18:43:13 2006 From: Kresten.Bjerg at psy.ku.dk (Kresten Bjerg) Date: Sat, 16 Dec 2006 00:43:13 +0100 Subject: Is "../foldername" a sufficient reference Message-ID: <458341210200007300000773@mail.psy.ku.dk> I wonder, whether there is a simple short way scripting for a standalone in MacFAT & Linux ( where standalone consists of three files) to identify the parent folder, i.e. just naming it, without refering to grandparent and grandgrandparents etc -. We see " ../foldername". often in the documentation, but I dont know, if that supposes the scripter to fill in series of parents above, or the "../" can be used literally? Best regards Kresten From cszasz at mac.com Fri Dec 15 22:10:12 2006 From: cszasz at mac.com (Charles Szasz) Date: Fri, 15 Dec 2006 22:10:12 -0500 Subject: Setting the system date to Option fields Message-ID: I have three option menus: year, month (expressed in numerical form) and day expressed in numerical form). How can I set the date for the year, month and day to the system date? Charles Szasz cszasz at mac.com From revdev at pdslabs.net Sat Dec 16 02:22:41 2006 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 15 Dec 2006 23:22:41 -0800 Subject: getting U3 serial number on Mac OS X Message-ID: <45839EC1.9030409@pdslabs.net> Hi List, I decided to find a way to get a U3 drive's serial number on Mac (OS X only). Sorry, I don't have a method for Linux but would welcome anyone's contribution in this regard. Here's what I came up with: function u3SerialNumbers # Return a return-delimited list of all U3 device serial # numbers currently known to the system. switch the platform case "Win32" return $U3_DEVICE_SERIAL break case "MacOS" set the itemDelimiter to "." if the systemVersion < 10 then return empty -- prep put 0 into x put empty into tSerialNumberList put shell("system_profiler -detailLevel mini") into tProfile -- get U3 serial numbers repeat put lineOffset("U3 smart drive:",tProfile) into xStart if xStart = 0 then exit repeat put lineOffset("Serial Number:",tProfile,xStart) + xStart into xSerNum put last word of line xSerNum of tProfile & cr after tSerialNumberList delete line 1 to xSerNum of tProfile end repeat delete last char of tSerialNumberList return tSerialNumberList break default return empty break end switch end u3SerialNumbers Thanks - Phil Davis From baleareninsel at gmx.net Sat Dec 16 03:39:35 2006 From: baleareninsel at gmx.net (Horst) Date: Sat, 16 Dec 2006 00:39:35 -0800 (PST) Subject: =?utf-8?q?Re=3A_Commands_out_of_sync=2C_you_can_=C2=B4___t_run_t?= =?utf-8?q?his_command_now?= In-Reply-To: References: <7894721.post@talk.nabble.com> <7896415.post@talk.nabble.com> <7899560.post@talk.nabble.com> Message-ID: <7904307.post@talk.nabble.com> Good morning Ken, You wrote: > I guess the only thing left to do is restart mySQL (either by restarting > the > server or at the command line) unless someone else has a better idea... > > Ok, But How? shut down the PC and start again? >Yes, the PC that is actually running mySQL server (i.e. not a client PC that >is simply *accessing* mySQL). Well, That?s (Shutdown the PC) what I did a few minutes ago. The message is still the same. Anybody with another idea? Thank you and best regards Horst -- View this message in context: http://www.nabble.com/Commands-out-of-sync%2C-you-cant-run-this-command-now-tf2828066.html#a7904307 Sent from the Revolution - User mailing list archive at Nabble.com. From eric.chatonet at sosmartsoftware.com Sat Dec 16 04:08:48 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 16 Dec 2006 10:08:48 +0100 Subject: Setting the system date to Option fields In-Reply-To: References: Message-ID: <75A9CC6A-83DA-4FEF-9C48-AC527391CECC@sosmartsoftware.com> Hi Charles, Not sure I understand well what you want: If you want to select by script the three right items in your option menus, it's quite easy :-) local tDate ----- put the short date into tDate convert tDate from short date to dateItems select line lineOffset(item 1 of tDate, btn "Year" ) of btn "Year" set the menuHistory of btn "Month" to item 2 of tDate set the menuHistory of btn "Day" to item 3 of tDate Le 16 d?c. 06 ? 04:10, Charles Szasz a ?crit : > I have three option menus: year, month (expressed in numerical > form) and day expressed in numerical form). How can I set the date > for the year, month and day to the system date? > > Charles Szasz Best Regards from Paris, Eric Chatonet ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From mcdomi at free.fr Sat Dec 16 04:27:45 2006 From: mcdomi at free.fr (Dom) Date: Sat, 16 Dec 2006 10:27:45 +0100 Subject: EuroRevCon web gallery In-Reply-To: Message-ID: <1hqfojp.wccuvi1o27687M%mcdomi@free.fr> Ian Wood wrote: > funny to see all these photographers photographied ;-) anyway, a good mean to put a face on a name I forgot: great shots! From baleareninsel at gmx.net Sat Dec 16 05:16:08 2006 From: baleareninsel at gmx.net (Horst) Date: Sat, 16 Dec 2006 02:16:08 -0800 (PST) Subject: =?utf-8?q?Re=3A_Commands_out_of_sync=2C_you_can_=C2=B4___t_run_t?= =?utf-8?q?his_command_now_=3D_FIXED_NOW?= In-Reply-To: <7904307.post@talk.nabble.com> References: <7894721.post@talk.nabble.com> <7896415.post@talk.nabble.com> <7899560.post@talk.nabble.com> <7904307.post@talk.nabble.com> Message-ID: <7904882.post@talk.nabble.com> Hello everybody, I?m happy that I found the reason for the message. I just changed revexecuteSQL DB_ID, SQL_Befehl to get revQueryDatabase (DB_ID, ... That?s it Thank you all for your help Horst -- View this message in context: http://www.nabble.com/Commands-out-of-sync%2C-you-cant-run-this-command-now-tf2828066.html#a7904882 Sent from the Revolution - User mailing list archive at Nabble.com. From wow at together.net Sat Dec 16 08:57:23 2006 From: wow at together.net (Richard Miller) Date: Sat, 16 Dec 2006 08:57:23 -0500 Subject: Protecting key data In-Reply-To: <458341210200007300000773@mail.psy.ku.dk> References: <458341210200007300000773@mail.psy.ku.dk> Message-ID: <32603058-9C48-4A93-968A-46C7031A42B9@together.net> I'm wondering what folks are doing to protect certain key pieces of data in a stack from unauthorized use. More specifically: We're doing a lot of file transferring from our applications (which could be on any customer's computer) to and from our server. Hence, the IP address (and password) of our server needs to be in those applications. We need to protect that information. We're already setting the password of the main stack, so its script data is encrypted. But this main stack has more than 50 sub-stacks, and unless a password is set for every one of those stacks (which may be necessary), anyone can see the scripts of those stacks. So it would appear necessary to set a password for every substack that contains important data. A bigger problem is that we're putting the IP info into a global variable so it can be accessed throughout the application. That IP address is currently contained in a custom property in the main stack, which.... even though it is password protected... can be easily accessed through the message box, even before the password is entered. No security there. Seems one route is to put the IP address into the script of some object in the main stack. This way, there's no way to get at it without the password. But it becomes a bit of a pain to reference that IP throughout the application, other than the long way (put the script of object x of cd x of stack x.....). Is there a better approach? Thanks. Richard Miller Imprinter Technologies From ambassador at fourthworld.com Sat Dec 16 10:57:14 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 16 Dec 2006 07:57:14 -0800 Subject: Protecting key data Message-ID: <4584175A.5080709@fourthworld.com> Richard Miller wrote: > Seems one route is to put the IP address into the script of some > object in the main stack. This way, there's no way to get at it > without the password. But it becomes a bit of a pain to reference > that IP throughout the application, other than the long way (put the > script of object x of cd x of stack x.....). > > Is there a better approach? Using the built-in script encryption isn't bad, but if you need something especially strong why not use Rev's encryption library? With Blowfish and other industrial-strength algos available, it should more than cover what you need. If lightweight encryption is sufficient, the fwPack and fwUnpack handlers here are very easy to use, if not particularly strong: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From tereza at califex.com Sat Dec 16 11:03:02 2006 From: tereza at califex.com (Tereza Snyder) Date: Sat, 16 Dec 2006 10:03:02 -0600 Subject: Protecting key data In-Reply-To: <32603058-9C48-4A93-968A-46C7031A42B9@together.net> References: <458341210200007300000773@mail.psy.ku.dk> <32603058-9C48-4A93-968A-46C7031A42B9@together.net> Message-ID: <0160DB27-9151-4151-AE81-4E2531210819@califex.com> On Dec 16, 2006, at 7:57 AM, Richard Miller wrote: > We're already setting the password of the main stack, so its script > data is encrypted. But this main stack has more than 50 sub-stacks, > and unless a password is set for every one of those stacks (which > may be necessary), anyone can see the scripts of those stacks. So > it would appear necessary to set a password for every substack that > contains important data. > > A bigger problem is that we're putting the IP info into a global > variable so it can be accessed throughout the application. That IP > address is currently contained in a custom property in the main > stack, which.... even though it is password protected... can be > easily accessed through the message box, even before the password > is entered. No security there. > > Seems one route is to put the IP address into the script of some > object in the main stack. This way, there's no way to get at it > without the password. But it becomes a bit of a pain to reference > that IP throughout the application, other than the long way (put > the script of object x of cd x of stack x.....). > > Is there a better approach? > I have never dealt with this myself, but one approach that occurred to me is to store the data in a passworded script like so: constant kPassWord="MyPassWord", kIP="192.168.0.100" Access it in your application by providing, in the same script, a getprop handlers like so: getprop uPassWord return kPassWord end uPassWord getprop uIP return kIP end uIP ... which you invoke with statements like: put the uIP of stack "MyMainStack" into tIP put the uPassWord of stack "MyMainStack" into tPassWord -- do something with tIP and tPassWord If tIP and tPassWord are local to the handler in which they are used, they'll not be floating around in globals. You can exclude message box access by including, in the getprop handlers: if not( the target contains "message field" ) then ... I'm sure the security gurus have better answers, but I couln't hold myself back! t -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From bryan at deepfoo.com Sat Dec 16 11:06:14 2006 From: bryan at deepfoo.com (Bryan McCormick) Date: Sat, 16 Dec 2006 11:06:14 -0500 Subject: Problem with BinaryEncode and variable params Message-ID: <45841976.7070209@deepfoo.com> Folks, I am a bit baffled here. I have seen many sample scripts where variables are passed as parameter to binaryEncode (in my case, for imageData) but no matter how I try to pass the known numeric values, the compiler throws an error. For example: take a string of the form 0,206,0 as returned from the color picker, let's call this tColors Then I put each value into a separate param put item 1 of tColors+0 into c1 put item 2 of tColors+0 into c2 put item 3 of tColors+0 into c3 (I added the +0 to make sure the var was seen as a number, I tried it without as well with the same error) Then I call: put binaryEncode("CCCC",0,c1,c2,c3) into varNewImageData and it fails. I tried to pass all the params as a quoted string, concatenated, you name it I have tried it. It's likely dead simple. But for the life of me I cannot get it. This is in 2.7.4 From fmoyer at aol.com Sat Dec 16 11:13:55 2006 From: fmoyer at aol.com (Fred Moyer) Date: Sat, 16 Dec 2006 11:13:55 -0500 Subject: Midi and Revolution Message-ID: <3F8B54A2-84E8-49B7-A46E-70C4EC586D4D@aol.com> This is for anyone who knows about midi: 1) I need a midi file to trigger events in Revolution. Is putting the midi file into a player and then using callbacks the only way? If so, is there some formula where I can tell exactly what callback number is associated with what note? I am trying to figure it out using tempo in the midi file and timescale in the player. So if tempo is 60 beats per minute and the timescale of the player is 600, then at the end of the 60th beat, a minute should have passed and therefore the callback number would be 600 * 60 or 36000, but it isn't working out that perfectly. Maybe tempo in midi or callbacks in Revolution are not entirely exact? 2) Running midi in a player burns up the cpu. Just having a tiny 20K midi file in the player and not even playing spikes up Revolution's use of the cpu to 35% in Activity Monitor, the Apple applications in the Utilities folder. Then playing the midi file is also more intensive on the cpu than playing a sound file. The app that I am writing will be used with a laptop, often on battery power, so this is a crucial issue. What is the cpu doing with a dormant midi file that is so difficult and crucial so as to use 35% of the cpu? Is this a Quicktime bug, Revolution bug? 3) Is it always a midi FILE that has to play? One thing I need is a click that plays endlessly at a specific tempo. I am creating the click by making a midi file that uses one of the Drum instruments. But of course the file runs out eventually and I have to loop it and there is inevitably a jerk. Is there any way to not use a file at all and just play a note over and over at a certain tempo? (I know I could just skip midi altogether and play a tiny sound file over and over, but I'd like to stick to midi for some other reasons.) 4) I know very little about midi. Is there anyone out there who could help me with my project? Thanks Fred Moyer From baleareninsel at gmx.net Sat Dec 16 11:24:35 2006 From: baleareninsel at gmx.net (Horst) Date: Sat, 16 Dec 2006 08:24:35 -0800 (PST) Subject: Variables in DB Query Builder Message-ID: <7907686.post@talk.nabble.com> Hol? SQL-Professionals, I?m thinking, how to put a variable Part in the SQL-Message of the DB Query builder f.e. Select Landname, Landvorwahl from land_kz where Landname BETWEEN "A%" AND "?" ORDER BY Landname ASC; How to put the variable instead of "A%" witch makes by the way, no sense. Thanks for many good ideas and don?t let me alone :-) Best regards Horst -- View this message in context: http://www.nabble.com/Variables-in-DB-Query-Builder-tf2832420.html#a7907686 Sent from the Revolution - User mailing list archive at Nabble.com. From wjm at wjm.org Sat Dec 16 11:47:06 2006 From: wjm at wjm.org (Bill Marriott) Date: Sat, 16 Dec 2006 11:47:06 -0500 Subject: getting U3 serial number on Mac OS X References: <45839EC1.9030409@pdslabs.net> Message-ID: Very impressive. This reminds me ... back in October when I was complaining about Rev 2.7.x not installing under Windows Vista, someone mentioned that using a U3 drive to run it should work. U3 is currently broken under Vista, and so you can't run Rev that way. :( Sorry to interrupt the thread. "Phil Davis" wrote in message news:45839EC1.9030409 at pdslabs.net... > Hi List, > > I decided to find a way to get a U3 drive's serial number on Mac (OS X > only). Sorry, I don't have a method for Linux but would welcome anyone's > contribution in this regard. From wjm at wjm.org Sat Dec 16 12:02:50 2006 From: wjm at wjm.org (Bill Marriott) Date: Sat, 16 Dec 2006 12:02:50 -0500 Subject: Importing data into standalones (and saving it) References: <19829.4670.qm@web37508.mail.mud.yahoo.com> Message-ID: The standalone file itself cannot be modified or saved. But, - the standalone stack can create new stacks, and those can be written to & saved. - you can ship an uncompiled template stack side-by-side with your standalone stack - you can save/load data to disk in the usual ways. "Richmond Mathewson" wrote in message news:19829.4670.qm at web37508.mail.mud.yahoo.com... I am trying to "knock up" a testing program for a client - the client will need to import a type of delimited text file into a field of the standalone, save that and then distribute the standalone with the loaded text; the client would like to do that repeatedly with a large number of text files. Help gratefully recieved, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ ___________________________________________________________ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at knowledgeworks.plus.com Sat Dec 16 12:21:08 2006 From: revolution at knowledgeworks.plus.com (Bernard Devlin) Date: Sat, 16 Dec 2006 17:21:08 +0000 Subject: Problem with BinaryEncode and variable params Message-ID: <6B0ED3B9-7670-4731-B36C-4E436AD92469@knowledgeworks.plus.com> Bryan, put "0,1,0" into tColors put item 1 of tColors+0 into c1 put item 2 of tColors+0 into c2 put item 3 of tColors+0 into c3 put binaryEncode("CCCC",0,c1,c2,c3) into varNewImageData put varNewImageData works for me insofar as it will put some binary gibberish into the msgbox. Are you sure that at least 1 item in tColors is non-zero? I have never used imageData or binaryEncode, so maybe I am not appreciating your problem. Bernard From jacque at hyperactivesw.com Sat Dec 16 14:59:35 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 16 Dec 2006 13:59:35 -0600 Subject: Socket timeout interval Message-ID: <45845027.2070804@hyperactivesw.com> I have an app that downloads files, and it works fine for almost everyone except for one person who gets consistent socket timeout errors. What's a good setting for the socketTimeoutInterval for iffy connections like this one? Since there may be mulitple serial downloads, I'd like an interval that doesn't hang up the process too terribly long, but still waits long enough. Is there such a thing? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Sat Dec 16 15:56:41 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 16 Dec 2006 21:56:41 +0100 Subject: Problem with BinaryEncode and variable params In-Reply-To: <6B0ED3B9-7670-4731-B36C-4E436AD92469@knowledgeworks.plus.com> References: <6B0ED3B9-7670-4731-B36C-4E436AD92469@knowledgeworks.plus.com> Message-ID: <46D2440F-3284-4DE4-8199-9504C44576AB@economy-x-talk.com> Bernard's solution works. You could write C4 instead of CCCC and if you want to see some result, you could convert it to hex values, because you can't see NULL values without converting them. put "0,206,0" into tColors put item 1 of tColors into c1 put item 2 of tColors into c2 put item 3 of tColors into c3 put binaryEncode("C4",0,c1,c2,c3) into varNewImageData get binaryDecode("H*",varNewImageData,x) put x Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 16-dec-2006, om 18:21 heeft Bernard Devlin het volgende geschreven: > Bryan, > > put "0,1,0" into tColors > put item 1 of tColors+0 into c1 > put item 2 of tColors+0 into c2 > put item 3 of tColors+0 into c3 > put binaryEncode("CCCC",0,c1,c2,c3) into varNewImageData > put varNewImageData > > works for me insofar as it will put some binary gibberish into the > msgbox. Are you sure that at least 1 item in tColors is non-zero? > > I have never used imageData or binaryEncode, so maybe I am not > appreciating your problem. > > Bernard From mwieder at ahsoftware.net Sat Dec 16 16:40:07 2006 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 16 Dec 2006 13:40:07 -0800 Subject: Bug with revQueryDatabase 2.7.4 build 291 In-Reply-To: References: Message-ID: <10915667588.20061216134007@ahsoftware.net> Robert- Friday, December 15, 2006, 3:33:06 PM, you wrote: > put "SELECT * FROM wt_springcalc WHERE wt_springcalc.year_model='" & > gyearmodel & "' and wt_springcalc.company_id='1'" into theSQL > put revQueryDatabase(dbID2, theSQL) into curID > put curID into fld "curIDnum" This is actually correct behavior. What you're doing is returning a recordset id from which you can start to extract data. All the revQueryDatabase() function is doing is getting you that far, and you aren't getting any errors because you're connecting properly with your database and don't have any syntax errors in your SQL statement. The fact that the data represented by the recordset is empty is not relevant. You would see an error if you specified a field that didn't exist in the database or a if dbID2 didn't specify a currently open database or some other such error. If you use the recordset returned to you by the revQueryDatabase() function in a revDatabaseColumnNamed() function call you will see that it returns empty to you, but again no error. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Sat Dec 16 16:45:59 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 16 Dec 2006 13:45:59 -0800 Subject: U3 broken in Vista (was: getting U3 serial number on Mac OS X) Message-ID: <45846917.5030208@fourthworld.com> Bill Marriott wrote: > U3 is currently broken under Vista, and so you can't run Rev that way. Any details on what's broken, and when it's expected to be fixed? Or has Vista gone the way of Apple and decided that auto-launchers are a security risk? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lynn at paradigmasoft.com Sat Dec 16 18:31:34 2006 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Sat, 16 Dec 2006 15:31:34 -0800 Subject: U3 broken in Vista (was: getting U3 serial number on Mac OS X) In-Reply-To: <45846917.5030208@fourthworld.com> Message-ID: <007001c7216a$60a95ab0$6501a8c0@lynn> > > U3 is currently broken under Vista, and so you can't run > Rev that way. > > Any details on what's broken, and when it's expected to be > fixed? Or has Vista gone the way of Apple and decided that > auto-launchers are a security risk? Ive heard that a Vista compatible launchpad is on its way - just not an eta yet. Best regards, Lynn Fredricks Worldwide Business Operations Runtime Revolution, Ltd From mark at maseurope.net Sat Dec 16 20:20:27 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 17 Dec 2006 01:20:27 +0000 Subject: Problem with BinaryEncode and variable params In-Reply-To: <45841976.7070209@deepfoo.com> References: <45841976.7070209@deepfoo.com> Message-ID: <82F7A0CA-4707-4E76-9865-65E99241F896@maseurope.net> Bryan, for the purposes of encoding image data (1-byte unsigned integers), the numToChar function works just as well: repeat for each item i in tList put numToChar(i) after tBinaryString end repeat Otherwise, "C4" (rather than "CCCC") has always worked for me... Best, Mark On 16 Dec 2006, at 16:06, Bryan McCormick wrote: > Folks, > > I am a bit baffled here. I have seen many sample scripts where > variables are passed as parameter to binaryEncode (in my case, for > imageData) but no matter how I try to pass the known numeric > values, the compiler throws an error. > > For example: > > take a string of the form 0,206,0 as returned from the color > picker, let's call this tColors > > Then I put each value into a separate param > > put item 1 of tColors+0 into c1 > > put item 2 of tColors+0 into c2 > > put item 3 of tColors+0 into c3 > > (I added the +0 to make sure the var was seen as a number, I tried > it without as well with the same error) > > > Then I call: > > put binaryEncode("CCCC",0,c1,c2,c3) into varNewImageData > > > and it fails. > > I tried to pass all the params as a quoted string, concatenated, > you name it I have tried it. > > It's likely dead simple. But for the life of me I cannot get it. > > This is in 2.7.4 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Sat Dec 16 20:42:59 2006 From: mark at maseurope.net (Mark Smith) Date: Sun, 17 Dec 2006 01:42:59 +0000 Subject: Midi and Revolution In-Reply-To: <3F8B54A2-84E8-49B7-A46E-70C4EC586D4D@aol.com> References: <3F8B54A2-84E8-49B7-A46E-70C4EC586D4D@aol.com> Message-ID: > 1) I need a midi file to trigger events in Revolution. Is putting > the midi file into a player and then using callbacks the only way? > If so, is there some formula where I can tell exactly what callback > number is associated with what note? I am trying to figure it out > using tempo in the midi file and timescale in the player. So if > tempo is 60 beats per minute and the timescale of the player is > 600, then at the end of the 60th beat, a minute should have passed > and therefore the callback number would be 600 * 60 or 36000, but > it isn't working out that perfectly. Maybe tempo in midi or > callbacks in Revolution are not entirely exact? How accurate do you need this to be? I'd imagine the quicktime midi player to be decently accurate in it's timing, so I'd think the inaccuracies you're seeing are more likely to be with the callback mechanism. > 3) Is it always a midi FILE that has to play? One thing I need is a > click that plays endlessly at a specific tempo. I am creating the > click by making a midi file that uses one of the Drum instruments. > But of course the file runs out eventually and I have to loop it > and there is inevitably a jerk. Is there any way to not use a file > at all and just play a note over and over at a certain tempo? (I > know I could just skip midi altogether and play a tiny sound file > over and over, but I'd like to stick to midi for some other reasons.) It's fairly easy to use the 'beep' command to make a reasonably consistent click, using 'send in time'. Alternatively, you could make a looping sound file, and use the 'playRate' to adjust the tempo. > is there some formula where I can tell exactly what callback number > is associated with what note? I don't know if you can get at individual midi events (such as notes) using callbacks, though I doubt it. Again, depending on how accurate you need it to be, you might be able to actually parse the midi file, and trigger events at the right time, again, using 'send in time'. I've not played around with midi files (though I've used midi a great deal), but I'd imagine something like this would be doable. If you need millisecond accuracy, though, I doubt that this would be good enough. Best, Mark On 16 Dec 2006, at 16:13, Fred Moyer wrote: > This is for anyone who knows about midi: > > 1) I need a midi file to trigger events in Revolution. Is putting > the midi file into a player and then using callbacks the only way? > If so, is there some formula where I can tell exactly what callback > number is associated with what note? I am trying to figure it out > using tempo in the midi file and timescale in the player. So if > tempo is 60 beats per minute and the timescale of the player is > 600, then at the end of the 60th beat, a minute should have passed > and therefore the callback number would be 600 * 60 or 36000, but > it isn't working out that perfectly. Maybe tempo in midi or > callbacks in Revolution are not entirely exact? > > 2) Running midi in a player burns up the cpu. Just having a tiny > 20K midi file in the player and not even playing spikes up > Revolution's use of the cpu to 35% in Activity Monitor, the Apple > applications in the Utilities folder. Then playing the midi file is > also more intensive on the cpu than playing a sound file. The app > that I am writing will be used with a laptop, often on battery > power, so this is a crucial issue. What is the cpu doing with a > dormant midi file that is so difficult and crucial so as to use 35% > of the cpu? Is this a Quicktime bug, Revolution bug? > > 3) Is it always a midi FILE that has to play? One thing I need is a > click that plays endlessly at a specific tempo. I am creating the > click by making a midi file that uses one of the Drum instruments. > But of course the file runs out eventually and I have to loop it > and there is inevitably a jerk. Is there any way to not use a file > at all and just play a note over and over at a certain tempo? (I > know I could just skip midi altogether and play a tiny sound file > over and over, but I'd like to stick to midi for some other reasons.) > > 4) I know very little about midi. Is there anyone out there who > could help me with my project? > > Thanks > Fred Moyer > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revolution at jaedworks.com Sun Dec 17 01:59:01 2006 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sat, 16 Dec 2006 22:59:01 -0800 Subject: Is "../foldername" a sufficient reference In-Reply-To: <458341210200007300000773@mail.psy.ku.dk> References: <458341210200007300000773@mail.psy.ku.dk> Message-ID: At 12:43 AM +0100 12/16/2006, Kresten Bjerg wrote: >I wonder, whether there is a simple short way scripting for a >standalone in MacFAT & Linux ( where standalone consists of three >files) to identify the parent folder, i.e. just naming it, without >refering to grandparent and grandgrandparents etc -. We see " >../foldername". often in the documentation, but I dont know, if >that supposes the scripter to fill in series of parents above, or >the "../" can be used literally? Yes, it can be used literally. "../" means the parent of the defaultFolder, "../../" means the parent of that folder (the grandparent of the defaultFolder), and so on. This actually is in the docs, in the article "About filename specifications and file paths" - but I'm not sure where what used to be the Encyclopedia has been placed in the current version of the docs... -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From palcibiades-first at yahoo.co.uk Sun Dec 17 03:45:41 2006 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 17 Dec 2006 08:45:41 +0000 Subject: Fonts Message-ID: <200612170845.41391.palcibiades-first@yahoo.co.uk> Hi. Hope this is not too silly a question. Does Revolution use the system fonts, or does it ship with its own, and if so, where are they? And if it uses system fonts, where does it expect to find them? There are three reasons for asking. (1) When you create (eg) a button, the font sizes offered from the properties dialogue are fewer than those offered from the text menu, and fewer than those offered by other applications. But they do at least all work. (2) From the text menu, there is a larger choice of sizes, but not all the sizes you can pick actually work - if you pick too large a font, it reverts to a standard small point one. (3) In any case, the fonts offered are in both cases far fewer than those installed on the system, and fewer than those all the other applications make available with no problems or configuration. The Revolution program folder doesn't seem to have any fonts in it, and I can't find anything in the documentation about where it looks or how to set where it looks for fonts. This is 2.6.1 (Linux) running on Etch AMD64. Am I missing something blindingly obvious? Regards Peter From scott at cdroo.com Sun Dec 17 03:59:05 2006 From: scott at cdroo.com (Scott Kane) Date: Sun, 17 Dec 2006 19:59:05 +1100 Subject: Fonts References: <200612170845.41391.palcibiades-first@yahoo.co.uk> Message-ID: <00dd01c721b9$9c297ee0$0201010a@visualmicro> > This is 2.6.1 (Linux) running on Etch AMD64. Am I missing something > blindingly obvious? I believe Chipp Walters and Co have a tool (add in) to work with fonts. http://www.altuit.com Cheers Scott From m.schonewille at economy-x-talk.com Sun Dec 17 04:22:30 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 17 Dec 2006 10:22:30 +0100 Subject: Fonts In-Reply-To: <200612170845.41391.palcibiades-first@yahoo.co.uk> References: <200612170845.41391.palcibiades-first@yahoo.co.uk> Message-ID: <91E44C8C-E4A9-416D-B54D-8B655493CFCF@economy-x-talk.com> Hi Peter, The difference in availability of font sizes is a coincidence, although it would probably be much more of a coincidence if the available font sizes would have been the same. The person who created the property inspector simply had a view different from the person who created the menu bar. It would be a good thing if RR Ltd could pay attention to this kind of details. There isn't really "too large a font". What exactly are you doing, choosing a font or a size? Is there anything special about the font you choose, is it a truetype font or could it be an old bitmap font? Does this problem occur with all fonts? To find out which fonts are available to Revolution, type "put the fontnames" in the messge box and type enter. Is there anything special about the fonts that are not included in the list returned by the fontnames? Revolution doesn't come with its own fonts. As a default font, it uses Geneva on Mac OS Classic, Lucida Grande on Mac OS X and Arial on Windows. I can imagine that your Linux distribution doesn't include the font that Revolution wants to use as the default font. It might be picking an alternative, but if it does, it may display sizes and styles incorrectly. E.g. if the font of an object has been set to Lucida Grande, while this font is unavailable under Windows, Revolution will always display a 12 points text size instead of the text size that you specified. I don't have a clear-cut solution for you, but I hope this helps you to track down the problem. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 17-dec-2006, om 9:45 heeft Peter Alcibiades het volgende geschreven: > Hi. Hope this is not too silly a question. > > Does Revolution use the system fonts, or does it ship with its own, > and if so, > where are they? And if it uses system fonts, where does it expect > to find > them? There are three reasons for asking. > (1) When you create (eg) a button, the font sizes offered from the > properties > dialogue are fewer than those offered from the text menu, and fewer > than > those offered by other applications. But they do at least all work. > (2) From the text menu, there is a larger choice of sizes, but not > all the > sizes you can pick actually work - if you pick too large a font, it > reverts > to a standard small point one. > (3) In any case, the fonts offered are in both cases far fewer than > those > installed on the system, and fewer than those all the other > applications make > available with no problems or configuration. > > The Revolution program folder doesn't seem to have any fonts in it, > and I > can't find anything in the documentation about where it looks or > how to set > where it looks for fonts. > > This is 2.6.1 (Linux) running on Etch AMD64. Am I missing something > blindingly obvious? > > Regards > > Peter From runrev260805 at m-r-d.de Sun Dec 17 05:52:34 2006 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Sun, 17 Dec 2006 10:52:34 +0000 Subject: Socket timeout interval Message-ID: Hi, i had a similar problem a few days ago. Changed it to 40 sec, as the ftp server to which was connected was terribly slow at the login process. > I'd like an interval that doesn't hang up the process too terribly long, > but still waits long enough. Is there such a thing? why not including a preference settings for that in menu, so the customer itself can change the default interval. Best regards, Matthias Rebbe From palcibiades-first at yahoo.co.uk Sun Dec 17 07:13:06 2006 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 17 Dec 2006 12:13:06 +0000 Subject: Fonts Message-ID: <200612171213.06387.palcibiades-first@yahoo.co.uk> Thank you both so much for replying. I've actually posted to bugzilla about this, but then had the second thought that maybe the list will have a simple answer. Yes, there is something odd about the font list as revealed by put. Which is the same incidentally as the font list offered by the text menu. It has: courier 10 pitch bitsream charter lucida typewriter lucida bright lucida times new century schoolbook helvetica clean fixed. Now, this is about 10% of the total system fonts. I have used both gedit and firefox to check what fonts other apps can see. They can both see all 100 installed fonts. They can also display them at any size I pick. OpenOffice does also, but this is not the best guide since it has its own peculiarities about how it handles fonts. Gedit however just uses the X11 fonts as installed, as far as I know. What I'm doing to generate the size problem (or the selection problem) is this. I take an object, say a field, and place it on a new card. I type in some text, select it. I can select any of the above fonts, but only those, and they display properly at the default size. I then either use the text menu or the properties menu and try to make the font size bigger. Up to 24 point all goes well, the size increases as expected, and displays as expected. I then pick 36, which is the next size up in the menu. The text immediately reverts to something like 12, maybe smaller. So there are two things happening which seem like they shouldn't be - at least, they don't happen like this in any other application. One is that you can't pick a lot of the fonts which other applications can see and pick. The second is that even for the ones you can pick, I can't seem to use any size over 24. The thing I can't figure out is, where Revolution is getting its font list from, and how to either point it someplace else or put the other fonts there. But its equally mysterious why it will only allow some sizes and not others for the ones it sees! And it really would be nice to be able to use wingdings or symbol or whatever.... Peter From bryan at deepfoo.com Sun Dec 17 11:12:19 2006 From: bryan at deepfoo.com (Bryan McCormick) Date: Sun, 17 Dec 2006 11:12:19 -0500 Subject: Problem with BinaryEncode and variable params Message-ID: <45856C63.5040503@deepfoo.com> Mark, Thanks for the work around, however it would be nice if we could get to the bottom of this and figure out why binaryEncode isn't taking the variable as it should. It ought to work, there are examples out there which did work seemingly in the past using this method. To be clear it is binaryEncode which is throwing the error of "wrong data type". See previous first post where it is pretty clear that binaryEncode should be seeing the vars as numbers. Thanks all. From jacque at hyperactivesw.com Sun Dec 17 12:18:41 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 17 Dec 2006 11:18:41 -0600 Subject: Fonts In-Reply-To: <200612171213.06387.palcibiades-first@yahoo.co.uk> References: <200612171213.06387.palcibiades-first@yahoo.co.uk> Message-ID: <45857BF1.9060706@hyperactivesw.com> Peter Alcibiades wrote: > So there are two things happening which seem like they shouldn't be - at > least, they don't happen like this in any other application. One is that you > can't pick a lot of the fonts which other applications can see and pick. The > second is that even for the ones you can pick, I can't seem to use any size > over 24. The Revolution unix engine is tied to the old X11 font system, and will only point to fonts recognized by that. What I think is happening is that you only have a small subset of fonts compatible with X11, so those are the only ones that show up in the menu. I am very hazy on this, but if X11 is a bitmap structure rather than a scaling font structure (which I think it is) then only those fonts that have particular bitmap sizes will work. If there is no corresponding bitmap size to the one you choose, it looks like the engine substitutes a default size (apparently 12 point.) The sizes listed in the text menu are hard-coded in, and do not necessarily represent sizes you actually have installed. That's why you can choose them, but they fail. > The thing I can't figure out is, where Revolution is getting its font list > from, and how to either point it someplace else or put the other fonts there. > But its equally mysterious why it will only allow some sizes and not others > for the ones it sees! And it really would be nice to be able to use > wingdings or symbol or whatever.... There isn't much you can do until the engine is rewritten to use a more modern font system. You could look for X11-compatible versions of the fonts you want to use, as a workaround for now. If you haven't already, an enhancement request in Bugzilla (or even a bug report, as it seems like a significant problem to me) would be in order, the sooner the better. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Dec 17 12:22:10 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 17 Dec 2006 11:22:10 -0600 Subject: Socket timeout interval In-Reply-To: References: Message-ID: <45857CC2.6090109@hyperactivesw.com> runrev260805 at m-r-d.de wrote: > Hi, > > i had a similar problem a few days ago. Changed it to 40 sec, as the > ftp server to which was connected was terribly slow at the login > process. That seems a little high for what I'm doing, since the user may want to download many files in sequence. But I'll experiment. > >> I'd like an interval that doesn't hang up the process too terribly >> long, but still waits long enough. Is there such a thing? > > why not including a preference settings for that in menu, so the > customer itself can change the default interval. That's a very good idea. Thanks for the suggestion. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at elementarysoftware.com Sun Dec 17 14:50:17 2006 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 17 Dec 2006 11:50:17 -0800 Subject: no default printer Message-ID: <763303FC-890E-4F4F-A6EE-2B329DDC4F57@elementarysoftware.com> I seem to remember reading about this some while back but haven't been able to dredge it up in BugZilla or the UseList. If a default printer is not selected in the OS, does this cause trouble when when trying to print or use formatForPrinting ? I was having a problem with the IDE quiting in XP and am suspicious this might have been the reason. If so, is there a way to determine whether a default printer is assigned? I'm developing this on 2.6.1 currently. -Scott Morrow Elementary Software From cszasz at mac.com Sun Dec 17 16:21:03 2006 From: cszasz at mac.com (Charles Szasz) Date: Sun, 17 Dec 2006 16:21:03 -0500 Subject: Radio Button Question Message-ID: <2EFA4EA5-ACE0-4382-8052-7E998DB3B639@mac.com> I have three radio buttons on the second card of a two card project. Each radio button has a script. I used the following script in a button on the first card: on mouseUp set the hilited of button "radio1" to false set the hilited of button "radio2" to false set the hilited of button "radio3" to true send mouseUP to button "radio3" end mouseUp I used the mouseUp command because my script for radio button "radio3" was NOT being executed despite setting the hilite property to true. Is there a better way to do this without using the moueUp command? Charles Szasz cszasz at mac.com From m.schonewille at economy-x-talk.com Sun Dec 17 16:25:21 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 17 Dec 2006 22:25:21 +0100 Subject: Radio Button Question In-Reply-To: <2EFA4EA5-ACE0-4382-8052-7E998DB3B639@mac.com> References: <2EFA4EA5-ACE0-4382-8052-7E998DB3B639@mac.com> Message-ID: Hi Charles, Probably, your script didn't work because the autoHilite of the button is set to true. Why don't you forget about this script and simply group your radio buttons? In the property inspector of that group, select "Hilite one radio button at a time". This sets the radioBehavior to true. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 17-dec-2006, om 22:21 heeft Charles Szasz het volgende geschreven: > I have three radio buttons on the second card of a two card > project. Each radio button has a script. I used the following > script in a button on the first card: > > on mouseUp > set the hilited of button "radio1" to false > set the hilited of button "radio2" to false > set the hilited of button "radio3" to true > send mouseUP to button "radio3" > end mouseUp > > I used the mouseUp command because my script for radio button > "radio3" was NOT being executed despite setting the hilite property > to true. > > Is there a better way to do this without using the moueUp command? > > > Charles Szasz > cszasz at mac.com From cszasz at mac.com Sun Dec 17 18:16:25 2006 From: cszasz at mac.com (Charles Szasz) Date: Sun, 17 Dec 2006 18:16:25 -0500 Subject: Radio Button Question Message-ID: <4232EA6A-96FA-44E8-821D-E41B74645CEF@mac.com> Mark, I did group my three buttons. I also tried setting the autoHilite to false for each of the buttons, which cause only radio button 3 to be selected and highlighted. But after you click on either radio button 1 or 2, they would not highlite despite running their scripts. Charles Szasz cszasz at mac.com From m.schonewille at economy-x-talk.com Sun Dec 17 18:19:20 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 18 Dec 2006 00:19:20 +0100 Subject: Radio Button Question In-Reply-To: <4232EA6A-96FA-44E8-821D-E41B74645CEF@mac.com> References: <4232EA6A-96FA-44E8-821D-E41B74645CEF@mac.com> Message-ID: <3E344A93-2AE4-42F7-A411-2EF21D9BC92D@economy-x-talk.com> Delete the scripts, then do as I wrote in my previous e-mail. Turn on autoHilite again. Should work. Good luck, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 18-dec-2006, om 0:16 heeft Charles Szasz het volgende geschreven: > Mark, > > I did group my three buttons. I also tried setting the autoHilite > to false for each of the buttons, which cause only radio button 3 > to be selected and highlighted. But after you click on either radio > button 1 or 2, they would not highlite despite running their scripts. > > > Charles Szasz > cszasz at mac.com From sarah.reichelt at gmail.com Sun Dec 17 18:35:45 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 18 Dec 2006 09:35:45 +1000 Subject: Socket timeout interval In-Reply-To: <45857CC2.6090109@hyperactivesw.com> References: <45857CC2.6090109@hyperactivesw.com> Message-ID: On 12/18/06, J. Landman Gay wrote: > runrev260805 at m-r-d.de wrote: > > Hi, > > > > i had a similar problem a few days ago. Changed it to 40 sec, as the > > ftp server to which was connected was terribly slow at the login > > process. > > That seems a little high for what I'm doing, since the user may want to > download many files in sequence. But I'll experiment. > > > >> I'd like an interval that doesn't hang up the process too terribly > >> long, but still waits long enough. Is there such a thing? > > > > why not including a preference settings for that in menu, so the > > customer itself can change the default interval. > > That's a very good idea. Thanks for the suggestion. > What sort of connection does this person have? Rather than asking them to enter a number which may mean nothing to them, if you ask them to select their approximate connection speed from a popup menu, you can adjust the timeout accordingly. You can also tell them to try altering this, if they have problems at any time. Sarah From sarah.reichelt at gmail.com Sun Dec 17 18:38:59 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 18 Dec 2006 09:38:59 +1000 Subject: Radio Button Question In-Reply-To: <2EFA4EA5-ACE0-4382-8052-7E998DB3B639@mac.com> References: <2EFA4EA5-ACE0-4382-8052-7E998DB3B639@mac.com> Message-ID: On 12/18/06, Charles Szasz wrote: > I have three radio buttons on the second card of a two card project. > Each radio button has a script. I used the following script in a > button on the first card: > > on mouseUp > set the hilited of button "radio1" to false > set the hilited of button "radio2" to false > set the hilited of button "radio3" to true > send mouseUP to button "radio3" > end mouseUp > > I used the mouseUp command because my script for radio button > "radio3" was NOT being executed despite setting the hilite property > to true. > > Is there a better way to do this without using the moueUp command? Setting the hilite will not automatically send a mouseUp, however if the radio buttons are grouped, you could use: click at the loc of button "radio3" which will set all the hilites correctly and do the mouseUp. A shorter way of setting all the hilites in a group is to say: set the hilitedButtonName of group "whatever" to "radio3" but again, this will not trigger the mouseUp message. HTH, Sarah From mark at maseurope.net Sun Dec 17 19:48:52 2006 From: mark at maseurope.net (Mark Smith) Date: Mon, 18 Dec 2006 00:48:52 +0000 Subject: Problem with BinaryEncode and variable params In-Reply-To: <45856C63.5040503@deepfoo.com> References: <45856C63.5040503@deepfoo.com> Message-ID: <31D50734-AEAB-4116-9987-19AE4E5A7C17@maseurope.net> Bryan, on my system, (Rev 2.7.4, Mac OS X 10.4.7, Pbook G4) on mouseUp put 12 into c1 put 121 into c2 put 76 into c3 put binaryEncode("CCCC",0,c1,c2,c3) into tBin put empty into b0 put empty into b1 put empty into b2 put empty into b3 get binaryDecode("CCCC",tBin,b0,b1,b2,b3) put b0 && b1 && b2 && b3 end mouseUp puts "0 12 121 76" into the message box, without any error, exactly as you'd expect.... So I'm as baffled as you are, I'm afraid. I don't really consider the numToChar method a workaround, it's just how I have usually dealt with manipulating imageData. Best, Mark On 17 Dec 2006, at 16:12, Bryan McCormick wrote: > Mark, > > Thanks for the work around, however it would be nice if we could > get to the bottom of this and figure out why binaryEncode isn't > taking the variable as it should. It ought to work, there are > examples out there which did work seemingly in the past using this > method. > > To be clear it is binaryEncode which is throwing the error of > "wrong data type". See previous first post where it is pretty clear > that binaryEncode should be seeing the vars as numbers. > > > Thanks all. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Sun Dec 17 20:03:34 2006 From: mark at maseurope.net (Mark Smith) Date: Mon, 18 Dec 2006 01:03:34 +0000 Subject: CGI Message-ID: <8C6E1BAF-7C52-4695-A8C9-07C7C6D534BD@maseurope.net> I'm trying make a really simple text-file cgi (on OS X)., which I've done in the past without difficulty. I create a new document in textEdit. I copy the script from "echo.mt" (the script that comes with the Rev installation, I think) into my new textEdit document. I save it as "hello.mt". in the CGI-Executables folder. I chmod it's permissions to 755. I type "http://localhost/cgi-bin/hello.mt" into the Safari URL field. I get "Internal Server Error". I type "http://localhost/cgi-bin/echo.mt" into Safari URL field. I get the expected listing of globals. When I get "the detailed files" from the CGI-Executables folder, I can see that the permissions for "hello.mt" are indeed 755. So, I simply duplicate the "echo.mt" file, and rename it to "hello.mt". I type "http://localhost/cgi-bin/hello.mt" into the Safari URL field. I get the expected listing of globals. I am now completely baffled. What have I missed out? Can anyone shed some light? Thanks, Mark From dan at shafermedia.com Sun Dec 17 20:07:01 2006 From: dan at shafermedia.com (Dan Shafer) Date: Sun, 17 Dec 2006 17:07:01 -0800 Subject: CGI In-Reply-To: <8C6E1BAF-7C52-4695-A8C9-07C7C6D534BD@maseurope.net> References: <8C6E1BAF-7C52-4695-A8C9-07C7C6D534BD@maseurope.net> Message-ID: <70ed6b130612171707m3d617feem47f3cfbe7c704cd1@mail.gmail.com> Mark, Any of several things could cause what you're seeing. My first guess in such situations is always that the line endings in the file you create in TextEdit are not set to Unix-style line endings but are rather Mac line endings. That's one of many reasons I use BBEdit for such files rather than TextEdit. I assume you have TextEdit set to create text rather than RTF but even if you do, I think TextEdit does not normally produce Unix-style line endings. If that's not the problem, post a reply and we can do some further detective work. Dan On 12/17/06, Mark Smith wrote: > > I'm trying make a really simple text-file cgi (on OS X)., which I've > done in the past without difficulty. > > I create a new document in textEdit. I copy the script from > "echo.mt" (the script that comes with the Rev installation, I think) > into my new textEdit document. > I save it as "hello.mt". in the CGI-Executables folder. I chmod it's > permissions to 755. > > I type "http://localhost/cgi-bin/hello.mt" into the Safari URL field. > I get "Internal Server Error". > I type "http://localhost/cgi-bin/echo.mt" into Safari URL field. I > get the expected listing of globals. > > When I get "the detailed files" from the CGI-Executables folder, I > can see that the permissions for "hello.mt" are indeed 755. > > So, I simply duplicate the "echo.mt" file, and rename it to "hello.mt". > I type "http://localhost/cgi-bin/hello.mt" into the Safari URL field. > I get the expected listing of globals. > > I am now completely baffled. What have I missed out? > Can anyone shed some light? > > Thanks, > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mark at maseurope.net Sun Dec 17 20:14:13 2006 From: mark at maseurope.net (Mark Smith) Date: Mon, 18 Dec 2006 01:14:13 +0000 Subject: CGI In-Reply-To: <70ed6b130612171707m3d617feem47f3cfbe7c704cd1@mail.gmail.com> References: <8C6E1BAF-7C52-4695-A8C9-07C7C6D534BD@maseurope.net> <70ed6b130612171707m3d617feem47f3cfbe7c704cd1@mail.gmail.com> Message-ID: <29FCFB5C-4EC5-47CF-83FA-3CDFDFB90D8F@maseurope.net> Thank you, Dan. That's the problem. And now you've reminded me, I remember that it caught me out before... Thanks again. Mark On 18 Dec 2006, at 01:07, Dan Shafer wrote: > Mark, > > Any of several things could cause what you're seeing. My first > guess in such > situations is always that the line endings in the file you create in > TextEdit are not set to Unix-style line endings but are rather Mac > line > endings. That's one of many reasons I use BBEdit for such files > rather than > TextEdit. I assume you have TextEdit set to create text rather than > RTF but > even if you do, I think TextEdit does not normally produce Unix- > style line > endings. > > If that's not the problem, post a reply and we can do some further > detective > work. > > Dan > > On 12/17/06, Mark Smith wrote: >> >> I'm trying make a really simple text-file cgi (on OS X)., which I've >> done in the past without difficulty. >> >> I create a new document in textEdit. I copy the script from >> "echo.mt" (the script that comes with the Rev installation, I think) >> into my new textEdit document. >> I save it as "hello.mt". in the CGI-Executables folder. I chmod it's >> permissions to 755. >> >> I type "http://localhost/cgi-bin/hello.mt" into the Safari URL field. >> I get "Internal Server Error". >> I type "http://localhost/cgi-bin/echo.mt" into Safari URL field. I >> get the expected listing of globals. >> >> When I get "the detailed files" from the CGI-Executables folder, I >> can see that the permissions for "hello.mt" are indeed 755. >> >> So, I simply duplicate the "echo.mt" file, and rename it to >> "hello.mt". >> I type "http://localhost/cgi-bin/hello.mt" into the Safari URL field. >> I get the expected listing of globals. >> >> I am now completely baffled. What have I missed out? >> Can anyone shed some light? >> >> Thanks, >> >> Mark >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dan at shafermedia.com Sun Dec 17 20:25:39 2006 From: dan at shafermedia.com (Dan Shafer) Date: Sun, 17 Dec 2006 17:25:39 -0800 Subject: CGI In-Reply-To: <29FCFB5C-4EC5-47CF-83FA-3CDFDFB90D8F@maseurope.net> References: <8C6E1BAF-7C52-4695-A8C9-07C7C6D534BD@maseurope.net> <70ed6b130612171707m3d617feem47f3cfbe7c704cd1@mail.gmail.com> <29FCFB5C-4EC5-47CF-83FA-3CDFDFB90D8F@maseurope.net> Message-ID: <70ed6b130612171725w12872a09y2e6dab1d606a6a6e@mail.gmail.com> It gets a lot of folks. Glad it worked out. Dan On 12/17/06, Mark Smith wrote: > > Thank you, Dan. That's the problem. And now you've reminded me, I > remember that it caught me out before... > > Thanks again. > > Mark > > On 18 Dec 2006, at 01:07, Dan Shafer wrote: > > > Mark, > > > > Any of several things could cause what you're seeing. My first > > guess in such > > situations is always that the line endings in the file you create in > > TextEdit are not set to Unix-style line endings but are rather Mac > > line > > endings. That's one of many reasons I use BBEdit for such files > > rather than > > TextEdit. I assume you have TextEdit set to create text rather than > > RTF but > > even if you do, I think TextEdit does not normally produce Unix- > > style line > > endings. > > > > If that's not the problem, post a reply and we can do some further > > detective > > work. > > > > Dan > > > > On 12/17/06, Mark Smith wrote: > >> > >> I'm trying make a really simple text-file cgi (on OS X)., which I've > >> done in the past without difficulty. > >> > >> I create a new document in textEdit. I copy the script from > >> "echo.mt" (the script that comes with the Rev installation, I think) > >> into my new textEdit document. > >> I save it as "hello.mt". in the CGI-Executables folder. I chmod it's > >> permissions to 755. > >> > >> I type "http://localhost/cgi-bin/hello.mt" into the Safari URL field. > >> I get "Internal Server Error". > >> I type "http://localhost/cgi-bin/echo.mt" into Safari URL field. I > >> get the expected listing of globals. > >> > >> When I get "the detailed files" from the CGI-Executables folder, I > >> can see that the permissions for "hello.mt" are indeed 755. > >> > >> So, I simply duplicate the "echo.mt" file, and rename it to > >> "hello.mt". > >> I type "http://localhost/cgi-bin/hello.mt" into the Safari URL field. > >> I get the expected listing of globals. > >> > >> I am now completely baffled. What have I missed out? > >> Can anyone shed some light? > >> > >> Thanks, > >> > >> Mark > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > _______________________________________________ > > use-revolution mailing list > > use-revolution 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 revdev at pdslabs.net Sun Dec 17 20:28:16 2006 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 17 Dec 2006 17:28:16 -0800 Subject: getting U3 serial number on Mac OS X In-Reply-To: <45839EC1.9030409@pdslabs.net> References: <45839EC1.9030409@pdslabs.net> Message-ID: <4585EEB0.4030603@pdslabs.net> Phil Davis wrote: > Hi List, > > I decided to find a way to get a U3 drive's serial number on Mac (OS X > only). Sorry, I don't have a method for Linux but would welcome anyone's > contribution in this regard. > > Here's what I came up with: I did a little more homework and decided to make one small change. The system_profiler option (parameter) as originally coded doesn't work as expected on my PowerPC Mac running 10.3.9; it has to be entered in an older format to work. But more important, a parameter that asks system_profiler for USB-only info makes it run between 2x and 7x faster (roughly) depending on the state of the USB drive (mounted/unmounted/removed). So here's the updated function, ready for action on PowerPC or Intel Mac: function u3SerialNumbers # Return the serial numbers of all U3 drives currently known to the OS. switch the platform case "Win32" return $U3_DEVICE_SERIAL break case "MacOS" set the itemDelimiter to "." if the systemVersion < 10 then return empty -- system is not OS X -- prep put 0 into x put empty into tSerialNumberList put shell("system_profiler SPUSBDataType") into tProfile -- get U3 serial numbers repeat put lineOffset("U3 smart drive:",tProfile) into xStart if xStart = 0 then exit repeat -- no U3 drive was found put lineOffset("Serial Number:",tProfile,xStart) + xStart into xSerNum put last word of line xSerNum of tProfile & cr after tSerialNumberList delete line 1 to xSerNum of tProfile end repeat delete last char of tSerialNumberList return tSerialNumberList break default return empty break end switch end u3SerialNumbers Thanks - Phil Davis From lynn at paradigmasoft.com Sun Dec 17 20:42:53 2006 From: lynn at paradigmasoft.com (Lynn Fredricks) Date: Sun, 17 Dec 2006 17:42:53 -0800 Subject: Valentina for Revolution 2.5.1 Released Message-ID: <00ed01c72245$e3014eb0$6501a8c0@lynn> Paradigma Software released a minor update to all database products, including Valentina Office Server, Valentina Application Developer kits for creating standalone database applications, and Valentina Embedded Server, a part of Valentina Developer Network. Developer solutions are available for the following platforms: Adobe Director, Runtime Revolution, REAL Software's REALbasic, Apple xCode (C++ and pure Cocoa), COM, .net and Windows-based C++ libraries. The release included numerous fixes and improvements requested by developers plus introduced a new way to set and get date information. Valentina 2.5 incorporated several new major features. All Valentina 2.5 products gain two new SQL syntax features for reducing complexity in SQL queries and greatly enhancing data analysis queries: * PIVOT, SQL Syntax. Create "virtual cross-tabs" of data results to greatly enhance data analysis capabilities of applications built around Valentina. * WITH-statement, SQL Syntax. A new Common Table Expression and similar to Views; the WITH statement acts much like a VIEW that is temporary to the query. All Valentina 2.5 business products gain both SSL and automatic network discovery features, with options available for Valentina Developer Network: * SSL Support. Built in SSL support for Valentina Office Server and Valentina Studio, allowing optionally adding secure communications or disabling non-SSL communications. An SSL Adapter is available for Valentina Developer Network for $99. * Bonjour Support. Built in Bonjour support (a form of zero-config) for Valentina Office Server and Valentina Studio. This allows automatic discovery of a database server on a network. A Bonjour Adapter is available for Valentina Developer Network for $99. * Redesigned Valentina Studio. The database creation, browser, query builder and server maintenance tool has a new, modern, tabbed interface. For more information, visit their website at http://www.valentina-db.com. From bryan at deepfoo.com Sun Dec 17 20:50:56 2006 From: bryan at deepfoo.com (Bryan McCormick) Date: Sun, 17 Dec 2006 20:50:56 -0500 Subject: BinaryEncode issues Message-ID: <4585F400.8050205@deepfoo.com> Mark, Bernard Many thanks for taking the time to try this out. Oddly, your solutions work fine in the context discussed. The failure seems to be being caused (for no clearly obvious reason to me) by the nature of the entire script. How this can be I am not yet sure on, but I will let you know when I have it licked. From mark at maseurope.net Sun Dec 17 20:55:37 2006 From: mark at maseurope.net (Mark Smith) Date: Mon, 18 Dec 2006 01:55:37 +0000 Subject: BinaryEncode issues In-Reply-To: <4585F400.8050205@deepfoo.com> References: <4585F400.8050205@deepfoo.com> Message-ID: <6C248200-D7F4-4880-B9EC-206EBDEB94B8@maseurope.net> Could it be that some non-numerical values are getting in there somehow? Best, Mark On 18 Dec 2006, at 01:50, Bryan McCormick wrote: > Mark, Bernard > > Many thanks for taking the time to try this out. Oddly, your > solutions work fine in the context discussed. The failure seems to > be being caused (for no clearly obvious reason to me) by the > nature of the entire script. How this can be I am not yet sure on, > but I will let you know when I have it licked. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From Stgoldberg at aol.com Sun Dec 17 20:57:34 2006 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Sun, 17 Dec 2006 20:57:34 EST Subject: Problem with slow opening of standalones on Windows Message-ID: I know this issue has been raised in the past, but bring it up once more with the hope that someone may have a resolution. The problem is that after using my Mac to create a standalone and then transferring the Windows standalone version to a Windows computer, the intial opening screen may open in a reasonable time, but on trying to go to the next card with a simple "Go Next" command, there is a significant delay in going to that card. After going to that second card, the program performs quickly in going from card to card. Why is there this delay and how can it be avoided? It doesn't seen related to whether or not there are any substacks, since the problem exists when there are no substacks and also exists when the size of the stack is relatively small. It has been suggested that perhaps it takes some time for the program to fully load. However, I tried the following unsuccessfully: a. I tried waiting some time before clicking on the "Go Next" button, but there still was a delay in going to that second card. b. Considering that there may be a delay in loading the program fully until one makes the move to that second card, I wrote the following script: On openStack set lockscreen to true go next go prev set lockscreen to false end openStack However, the delay persists. Any ideas? Thanks. Steve Goldberg From katir at hindu.org Sun Dec 17 21:05:46 2006 From: katir at hindu.org (Sivakatirswami) Date: Sun, 17 Dec 2006 16:05:46 -1000 Subject: Giant File Uploads With Rev CGI Message-ID: <4585F77A.2010802@hindu.org> This is a call for comments, guidance, best practice advice, "gotchas" to watch out for etc. for large file uploads by general users to a web server. I don't think we well do anything big, like youTube of Flicker, but I still need the same user friendly upload facility for "naive" users who know nothing about FTP. As we are moving forward with "Rich Media" development and we want to open a pipeline for people to easily send us video and sound files. I see Google is Distributing it's own standalone app for uploading video. Of course we have the hold html form upload file option too, which I would use on a .htaccess protected page.
Enter filename of the video to upload:
with a Revolution back end CGI to save the data. The form will also need to have the usual info to attend any upload: email: _____ Name: ______ Description of media being upload. (text area) My experience so far with Rev CGI has been good, but limited to small amounts of data from form input fields, rarely longer than 150 chars in a comment field of something like a guestbook form. I *did* have some problem with tests to try pasting large amts of text into an input textarea field (like a long text article submitted by a reporter) ... the text got truncated. But I'm not sure the blame for that can be placed on the Revolution CGI. You all know the drill: we simply split the urlDecoded data into a little array and take it from there. I'm not sure that model work for receiving large binary http POST uploads. Is anyone already doing this successfully with Rev CGI? Can share your html form and CGI code that works? (we could be accepting uploads as big as 100 meg video files....) We are running Rev 2.6 on Linux Fedora Core 3 on web server at the moment. Sivakatirswami www.himalayanacademy.com Get Hinduism Today Digital Edition. It's Free! http://www.hinduismtoday.com/digital/ From ambassador at fourthworld.com Sun Dec 17 21:21:42 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 17 Dec 2006 18:21:42 -0800 Subject: getting U3 serial number on Mac OS X Message-ID: <4585FB36.8070409@fourthworld.com> Phil Davis wrote: > I did a little more homework and decided to make one small change. The > system_profiler option (parameter) as originally coded doesn't work as > expected on my PowerPC Mac running 10.3.9; it has to be entered in an > older format to work. But more important, a parameter that asks > system_profiler for USB-only info makes it run between 2x and 7x > faster (roughly) depending on the state of the USB drive > (mounted/unmounted/removed). Thanks Phil! Good work. It's one thing to craft a useful handler, and another to refine and optimize it. That's a very helpful contribution to the community. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com > So here's the updated function, ready for action on PowerPC or Intel Mac: > > > > function u3SerialNumbers > # Return the serial numbers of all U3 drives currently known to the OS. > > switch the platform > > case "Win32" > return $U3_DEVICE_SERIAL > break > > case "MacOS" > set the itemDelimiter to "." > if the systemVersion < 10 then return empty -- system is not OS X > > -- prep > put 0 into x > put empty into tSerialNumberList > put shell("system_profiler SPUSBDataType") into tProfile > > -- get U3 serial numbers > repeat > put lineOffset("U3 smart drive:",tProfile) into xStart > if xStart = 0 then exit repeat -- no U3 drive was found > > put lineOffset("Serial Number:",tProfile,xStart) + xStart into xSerNum > put last word of line xSerNum of tProfile & cr after tSerialNumberList > delete line 1 to xSerNum of tProfile > end repeat > > delete last char of tSerialNumberList > return tSerialNumberList > break > > default > return empty > break > end switch > end u3SerialNumbers > From Kresten.Bjerg at psy.ku.dk Sun Dec 17 22:16:24 2006 From: Kresten.Bjerg at psy.ku.dk (Kresten Bjerg) Date: Mon, 18 Dec 2006 04:16:24 +0100 Subject: Wanted: Ideas to over-size pointer& Insertionbar tools for demo Message-ID: <45861618020000730000078E@mail.psy.ku.dk> Trying to develop a demovideo of complicated program. Found that the movements of the mousepointer, as swift as their natural use would be and shifts to the insertionbars' arrival and movement in textfield became almost impossible for novices to recognize, find and follow. So for that purpose, I would like to produce the demo-video or slides with e.g. at fat red oversize pointing finger/hand instead of the discrete arrow, and a much more attention-drawing insertion-bar, perhaps also colored. I would be happy, if anybody could offer solutions for this. Thanks to the list, for extremely useful replies to earlier questions Kresten Bjerg From revolution at duncansoftware.com Sun Dec 17 22:31:17 2006 From: revolution at duncansoftware.com (revolution at duncansoftware.com) Date: Sun, 17 Dec 2006 19:31:17 -0800 Subject: From Lingo to Transcript Message-ID: <20061218033117.13F1634022@sitemail.siteprotect.ca> I have an existing program created in Director that I am porting to Revolution. At a certain point in the program, data is posted to a CGI script which sends out 2 emails. One of the emails gets its addresses from the CGI script itself. They are hard coded into the script. The other email gets its addresses and data from the info that is posted. It works fine in the Director version, but I am having trouble getting the port to work. Here is the functioning Lingo version: vto = "jdoe at 123.com" vfrom = "jsmith at xyz.com" vsubject "Quiz Results" vbody = "Your Quiz Results" propList = [#vto: vto, #vfrom: vfrom, #vsubject: vsubject, #vbody: vbody] thisNetId = postNetText (thisURL, propList) Here is my nonfunctional Transcript version: put "jdoe at 123.com" into vto put "jsmith at xyz.com" into vfrom put "Quiz Results" into vsubject put "Your Quiz Results" into vbody post (vto && vfrom && vsubject && vbody) to URL "http://www.mysite.com/cgi-bin/mailer.cgi" put it The "it" variable comes back with "No recipient addresses found in header". The error, I expect, is in the format that I am sending the string in the post command. The command is reaching the cgi script because the hard coded email is being sent but the second with the posted data is not. Sorry for all of the pseudo data in the scripts, I have signed a bucket of NDAs. Stu From jacque at hyperactivesw.com Sun Dec 17 22:44:36 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 17 Dec 2006 21:44:36 -0600 Subject: Socket timeout interval In-Reply-To: References: <45857CC2.6090109@hyperactivesw.com> Message-ID: <45860EA4.1020303@hyperactivesw.com> Sarah Reichelt wrote: > On 12/18/06, J. Landman Gay wrote: >> runrev260805 at m-r-d.de wrote: >> > Hi, >> > >> > i had a similar problem a few days ago. Changed it to 40 sec, as the >> > ftp server to which was connected was terribly slow at the login >> > process. >> >> That seems a little high for what I'm doing, since the user may want to >> download many files in sequence. But I'll experiment. >> > >> >> I'd like an interval that doesn't hang up the process too terribly >> >> long, but still waits long enough. Is there such a thing? >> > >> > why not including a preference settings for that in menu, so the >> > customer itself can change the default interval. >> >> That's a very good idea. Thanks for the suggestion. >> > > What sort of connection does this person have? Rather than asking them > to enter a number which may mean nothing to them, if you ask them to > select their approximate connection speed from a popup menu, you can > adjust the timeout accordingly. You can also tell them to try altering > this, if they have problems at any time. It's a DSL connection. He's not a novice so entering a number wouldn't be too much problem for him (thouugh it might be for some other users.) Apparently his line was flakey for a while and he had the DSL provider out to repair it recently. I thought that would solve the problem (which has been very long-standing,) but it still times out on him even so. Of course, anything I do for this person probably won't generalize to anyone else, but I was sort of hoping I could come close. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Dec 17 23:01:19 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 17 Dec 2006 22:01:19 -0600 Subject: Problem with slow opening of standalones on Windows In-Reply-To: References: Message-ID: <4586128F.7020802@hyperactivesw.com> Stgoldberg at aol.com wrote: > I know this issue has been raised in the past, but bring it up once more with > the hope that someone may have a resolution. The problem is that after > using my Mac to create a standalone and then transferring the Windows standalone > version to a Windows computer, the intial opening screen may open in a > reasonable time, but on trying to go to the next card with a simple "Go Next" command, > there is a significant delay in going to that card. After going to that > second card, the program performs quickly in going from card to card. Why is > there this delay and how can it be avoided? > It doesn't seen related to whether or not there are any substacks, since the > problem exists when there are no substacks and also exists when the size of > the stack is relatively small. > It has been suggested that perhaps it takes some time for the program to > fully load. However, I tried the following unsuccessfully: > a. I tried waiting some time before clicking on the "Go Next" button, but > there still was a delay in going to that second card. > b. Considering that there may be a delay in loading the program fully until > one makes the move to that second card, I wrote the following script: > > On openStack > set lockscreen to true > go next > go prev > set lockscreen to false > end openStack > > However, the delay persists. Any ideas? Thanks. What's on card 2? Big movie, or image? It might take a long time to load if you have it set to always buffer. And if the screen is locked when you first go there, it won't load at all because it isn't displayed (at least, that's true for images. Not sure about movies, but I suspect it would be the same.) One test would be to try going immediately to a card you know has little content on it. If that happens quickly, but going to card 2 still happens slowly, then something about the content in card 2 is hanging things up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Mon Dec 18 01:29:12 2006 From: chipp at chipp.com (Chipp Walters) Date: Mon, 18 Dec 2006 00:29:12 -0600 Subject: Problem with slow opening of standalones on Windows In-Reply-To: References: Message-ID: <7aa52a210612172229s285ad1edq104c2522f6bc48c1@mail.gmail.com> Do you have any buttons on cd 2 which reference images on other cards? If so, you might try caching them the same way.. -Chipp From m.schonewille at economy-x-talk.com Mon Dec 18 04:35:17 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 18 Dec 2006 10:35:17 +0100 Subject: Problem with BinaryEncode and variable params In-Reply-To: <45841976.7070209@deepfoo.com> References: <45841976.7070209@deepfoo.com> Message-ID: Bryan, Do you know that item 1 of 0,0,0+1 doesn't make much sense and is the same as item 1 of 0,0,1 which will return 0? Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 16-dec-2006, om 17:06 heeft Bryan McCormick het volgende geschreven: > Folks, > > I am a bit baffled here. I have seen many sample scripts where > variables are passed as parameter to binaryEncode (in my case, for > imageData) but no matter how I try to pass the known numeric > values, the compiler throws an error. > > For example: > > take a string of the form 0,206,0 as returned from the color > picker, let's call this tColors > > Then I put each value into a separate param > > put item 1 of tColors+0 into c1 > > put item 2 of tColors+0 into c2 > > put item 3 of tColors+0 into c3 > > (I added the +0 to make sure the var was seen as a number, I tried > it without as well with the same error) > > > Then I call: > > put binaryEncode("CCCC",0,c1,c2,c3) into varNewImageData > > > and it fails. > > I tried to pass all the params as a quoted string, concatenated, > you name it I have tried it. > > It's likely dead simple. But for the life of me I cannot get it. > > This is in 2.7.4 > From m.schonewille at economy-x-talk.com Mon Dec 18 04:40:31 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 18 Dec 2006 10:40:31 +0100 Subject: Problem with BinaryEncode and variable params In-Reply-To: <45856C63.5040503@deepfoo.com> References: <45856C63.5040503@deepfoo.com> Message-ID: If I execute the following put "0,0,1" into x put x+0 I get the error Type: Operator (+: error in left operand) Object: button id 1003 of card id 1002 of stack "Untitled 1" Object name: Button Line: put x+0 (row 3 col 7) Hint: Here, x is a string rather than a number and you can't do calculations on it. I bet a similar problem causes your data type error. Can you check what is in the variable before you execute binaryEncode? Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 17-dec-2006, om 17:12 heeft Bryan McCormick het volgende geschreven: > Mark, > > Thanks for the work around, however it would be nice if we could > get to the bottom of this and figure out why binaryEncode isn't > taking the variable as it should. It ought to work, there are > examples out there which did work seemingly in the past using this > method. > > To be clear it is binaryEncode which is throwing the error of > "wrong data type". See previous first post where it is pretty clear > that binaryEncode should be seeing the vars as numbers. > > > Thanks all. From m.schonewille at economy-x-talk.com Mon Dec 18 04:46:48 2006 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 18 Dec 2006 10:46:48 +0100 Subject: Wanted: Ideas to over-size pointer& Insertionbar tools for demo In-Reply-To: <45861618020000730000078E@mail.psy.ku.dk> References: <45861618020000730000078E@mail.psy.ku.dk> Message-ID: <5B181293-083F-46A3-8760-C4C9BD3A3708@economy-x-talk.com> Hi Kresten, You could make a nice picture of a mouse or a kind of magnifying glass with a round whole in the middle of 20 pixels wide. Set the window shape of a palette stack to the picture and set the loc of the palette to the mouseLoc on mouseMove. Keep mouseMove in a frontscript and don't forget to include "pass mouseMove". Hide the palette and don't change its location whenever your application is in the background. On resume, set the loc of the palette to the mouseLoc first and then show it. Btw did you read the feedback to Feanolog, which was sent to this list several months ago? I think you never replied, although I may also have missed a few messages. Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 18-dec-2006, om 4:16 heeft Kresten Bjerg het volgende geschreven: > Trying to develop a demovideo of complicated program. > Found that the movements of the mousepointer, > as swift as their natural use would be > and shifts to the insertionbars' arrival and movement in textfield > became almost impossible for novices to recognize, find and follow. > So for that purpose, I would like to produce the demo-video or > slides with > e.g. at fat red oversize pointing finger/hand instead of the discrete > arrow, and a much more attention-drawing insertion-bar, perhaps also > colored. > I would be happy, if anybody could offer solutions for this. > > Thanks to the list, for extremely useful replies to earlier questions > > Kresten Bjerg From jbv.silences at club-internet.fr Mon Dec 18 05:44:35 2006 From: jbv.silences at club-internet.fr (jbv) Date: Mon, 18 Dec 2006 11:44:35 +0100 Subject: Giant File Uploads With Rev CGI References: <4585F77A.2010802@hindu.org> Message-ID: <45867110.DB8F614A@club-internet.fr> Sivakatirswami, I have some limited experience in this domain. For uploading amounts of data up to 200 Kb I've successfully used HTML forms. For larger volumes of data (up to 1 or 2 Mb) I've used a dedicated app made with Rev (with Rev cgi on the server side). The main thing to take care of is to adjust the sockettimeoutinterval so that the client app doesn't stop the connection with the server before the upload is complete (this might happen if the server is busy or / and if the end user has a low bw). I usually set that parameter to 30000 or 45000 (30 or 45 sec). I have no experience with larger files, but I guess I would go for a dedicated app (not a HTML form) and I would use FastCGI on the server side. JB > This is a call for comments, guidance, best practice advice, "gotchas" to > watch out for etc. for large file uploads by general users to a web server. > > I don't think we well do anything big, like youTube of Flicker, but > I still need the same user friendly upload facility for "naive" users who > know nothing about FTP. As we are moving forward with > "Rich Media" development and we want to open a pipeline for > people to easily send us video and sound files. > > I see Google is Distributing it's own standalone app for uploading video. > > Of course we have the hold html form upload file option too, > which I would use on a .htaccess protected page. > >
action=/cgi-bin/acceptUploads.cgi> > Enter filename of the video to upload: >
> >
> > with a Revolution back end CGI to save the data. > > The form will also need to have the usual info to > attend any upload: > > email: _____ > Name: ______ > Description of media being upload. (text area) > > My experience so far with Rev CGI has been good, but limited > to small amounts of data from form input fields, rarely longer than 150 > chars > in a comment field of something like a guestbook form. > > I *did* have some problem with tests to try pasting large amts of text > into an input textarea field (like a long text article submitted by a > reporter) > ... the text got truncated. > > But I'm not sure the blame for that can be placed on the Revolution CGI. > You all know the drill: we simply split the urlDecoded data into a > little array and take it from there. > I'm not sure that model work for receiving large binary http POST uploads. > > Is anyone already doing this successfully with Rev CGI? Can share your > html form and CGI code that works? (we could be accepting uploads > as big as 100 meg video files....) > > We are running Rev 2.6 on Linux Fedora Core 3 on web server at the moment. > > Sivakatirswami > www.himalayanacademy.com > > Get Hinduism Today Digital Edition. It's Free! > http://www.hinduismtoday.com/digital/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: From lan.kc.macmail at gmail.com Mon Dec 18 05:55:48 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 18 Dec 2006 18:55:48 +0800 Subject: CGI In-Reply-To: <70ed6b130612171707m3d617feem47f3cfbe7c704cd1@mail.gmail.com> References: <8C6E1BAF-7C52-4695-A8C9-07C7C6D534BD@maseurope.net> <70ed6b130612171707m3d617feem47f3cfbe7c704cd1@mail.gmail.com> Message-ID: On 12/18/06, Dan Shafer wrote: > > That's one of many reasons I use BBEdit for such files rather than > TextEdit. For those who don't want to buy BBEdit just to get Unix text endings, the free TextWrangler, by the same company, is way better than TextEdit and can be downloaded from here: http://www.barebones.com/products/textwrangler/download.shtml HTH From mark at maseurope.net Mon Dec 18 06:27:49 2006 From: mark at maseurope.net (Mark Smith) Date: Mon, 18 Dec 2006 11:27:49 +0000 Subject: From Lingo to Transcript In-Reply-To: <20061218033117.13F1634022@sitemail.siteprotect.ca> References: <20061218033117.13F1634022@sitemail.siteprotect.ca> Message-ID: Stu, perhaps you need to format the data you're sending as an http form (name/value pairs)? so put urlEncode("vto=" & "jdoe at 123.com") & "&" into tFormData put urlencode("vfrom=" & "jsmith at xyz.com") & "& after tFormData etc....... which you could split out to a function: function makeFormData pInputArray repeat for each line K in the keys of pInputArray put urlEncode(K) & "=" & urlEncode(pInputArray[K]) & "&" after tFormData end repeat delete char -1 of tFormData -- get rid of trailing "&" return tFormData end makeFormData so in your script: put "jdoe at 123.com" into tFormArray["vto"] put "jsmith at xyz.com" into tFormArray["vfrom"] put "Quiz Results" into tFormArray["vsubject"] put "Your Quiz Results" into tFormArray["vbody"] post (makeFormData(tFormArray)) to URL "http://www.mysite.com/cgi-bin/ mailer.cgi" put it Best, Mark On 18 Dec 2006, at 03:31, wrote: > I have an existing program created in Director that I am porting to > Revolution. > > At a certain point in the program, data is posted to a CGI script > which sends out 2 emails. One of the emails gets its addresses > from the CGI script itself. They are hard coded into the script. > The other email gets its addresses and data from the info that is > posted. It works fine in the Director version, but I am having > trouble getting the port to work. > > Here is the functioning Lingo version: > > vto = "jdoe at 123.com" > vfrom = "jsmith at xyz.com" > vsubject "Quiz Results" > vbody = "Your Quiz Results" > propList = [#vto: vto, #vfrom: vfrom, #vsubject: vsubject, #vbody: > vbody] > thisNetId = postNetText (thisURL, propList) > > Here is my nonfunctional Transcript version: > > put "jdoe at 123.com" into vto > put "jsmith at xyz.com" into vfrom > put "Quiz Results" into vsubject > put "Your Quiz Results" into vbody > post (vto && vfrom && vsubject && vbody) to URL "http:// > www.mysite.com/cgi-bin/mailer.cgi" > put it > > The "it" variable comes back with "No recipient addresses found in > header". > > The error, I expect, is in the format that I am sending the string > in the post command. The command is reaching the cgi script > because the hard coded email is being sent but the second with the > posted data is not. > > Sorry for all of the pseudo data in the scripts, I have signed a > bucket of NDAs. > > Stu > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From Stgoldberg at aol.com Mon Dec 18 07:37:10 2006 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Mon, 18 Dec 2006 07:37:10 EST Subject: Problem with slow opening of card 2 Message-ID: In a message dated 12/18/06 6:29:08 AM, use-revolution-request at lists.runrev.com writes: > > I know this issue has been raised in the past, but bring it up once more > with > > the hope that someone may have a resolution.?? The problem is that after > > using my Mac to create a standalone and then transferring the Windows > standalone > > version to a Windows computer, the intial opening screen may open in a > > reasonable time, but on trying to go to the next card with a simple "Go > Next" command, > > there is a significant delay in going to that card.?? After going to that > > second card, the program performs quickly in going from card to card.?? > Why is > > there this delay and how can it be avoided? > > It doesn't seen related to whether or not there are any substacks, since > the > > problem exists when there are no substacks and also exists when the size > of > > the stack is relatively small. > > It has been suggested that perhaps it takes some time for the program to > > fully load.?? However, I tried the following unsuccessfully: > > a. I tried waiting some time before clicking on the "Go Next" button, but > > there still was a delay in going to that second card. > > b.?? Considering that there may be a delay in loading the program fully > until > > one makes the move to that second card, I wrote the following script: > > > > On openStack > > set lockscreen to true > > go next > > go prev > > set lockscreen to false > > end openStack > > > > However, the delay persists.?? Any ideas??? Thanks. > My problem does not seem related to whether there are images or sounds on card 2. It is the same problem even if there are no images or sounds within the standalone. Also, I cannot see it being specific to any other content on card 2 since the problem exists in a variety of standalones which are quite different. Is this a known problem in Revolution? If not, perhaps it's something about my Windows computer (which tends to run slowly in general) rather than Revolution. My concern is that I need to distribute these standalones to Windows users and it can be frustrating waiting for that second card to open. I've tried to alleviate the problem partially by setting the cursor to watch until the second card loads. Steve Goldberg From saxtell at megavision.com Mon Dec 18 08:02:33 2006 From: saxtell at megavision.com (Steven Axtell) Date: Mon, 18 Dec 2006 07:02:33 -0600 Subject: Problem with slow opening of card 2 References: Message-ID: <001d01c722a4$cc498660$39cef9d0@axtell> Steve, I have seen the same issue as well using Windows 2000. I haven't been able to identify the cause. Steve Axtell > > In a message dated 12/18/06 6:29:08 AM, > use-revolution-request at lists.runrev.com writes: > > > > > I know this issue has been raised in the past, but bring it up once more > > with > > > the hope that someone may have a resolution. The problem is that after > > > using my Mac to create a standalone and then transferring the Windows > > standalone > > > version to a Windows computer, the intial opening screen may open in a > > > reasonable time, but on trying to go to the next card with a simple "Go > > Next" command, > > > there is a significant delay in going to that card. After going to that > > > second card, the program performs quickly in going from card to card. > > Why is > > > there this delay and how can it be avoided? > > > It doesn't seen related to whether or not there are any substacks, since > > the > > > problem exists when there are no substacks and also exists when the size > > of > > > the stack is relatively small. > > > It has been suggested that perhaps it takes some time for the program to > > > fully load. However, I tried the following unsuccessfully: > > > a. I tried waiting some time before clicking on the "Go Next" button, but > > > there still was a delay in going to that second card. > > > b. Considering that there may be a delay in loading the program fully > > until > > > one makes the move to that second card, I wrote the following script: > > > > > > On openStack > > > set lockscreen to true > > > go next > > > go prev > > > set lockscreen to false > > > end openStack > > > > > > However, the delay persists. Any ideas? Thanks. > > > My problem does not seem related to whether there are images or sounds on > card 2. It is the same problem even if there are no images or sounds within the > standalone. Also, I cannot see it being specific to any other content on card > 2 since the problem exists in a variety of standalones which are quite > different. Is this a known problem in Revolution? If not, perhaps it's > something about my Windows computer (which tends to run slowly in general) rather > than Revolution. My concern is that I need to distribute these standalones to > Windows users and it can be frustrating waiting for that second card to open. > I've tried to alleviate the problem partially by setting the cursor to watch > until the second card loads. > Steve Goldberg > _______________________________________________ > use-revolution mailing list > use-revolution at 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 cdroo.com Mon Dec 18 07:59:50 2006 From: scott at cdroo.com (Scott Kane) Date: Mon, 18 Dec 2006 23:59:50 +1100 Subject: Problem with slow opening of card 2 References: Message-ID: <016501c722a4$68be2060$0201010a@visualmicro> ----- Original Message ----- From: To: Sent: Monday, December 18, 2006 11:37 PM Subject: Problem with slow opening of card 2 I've had the same problem. Once the second card is initialized the stack and it's cards are very quick - just that initial first delay. Scott From FlexibleLearning at aol.com Mon Dec 18 08:24:11 2006 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Mon, 18 Dec 2006 08:24:11 EST Subject: getting U3 serial number on Mac OS X Message-ID: Nice piece of work, Phil. Small syntax error... case "MacOS" set the itemDelimiter to "." if the systemVersion < 10 then return empty -- system is not OS X should be... case "MacOS" set the itemDelimiter to "." if item 1 of the systemVersion < 10 then return empty -- system is not OS X /H From soapdog at mac.com Mon Dec 18 08:27:11 2006 From: soapdog at mac.com (Andre Garzia) Date: Mon, 18 Dec 2006 11:27:11 -0200 Subject: Giant File Uploads With Rev CGI In-Reply-To: <4585F77A.2010802@hindu.org> References: <4585F77A.2010802@hindu.org> Message-ID: Sivakatirswami, The code for processing "file" uploads is different. We can't use the routines we normally use to split stdin. It's a mime enclosure. maybe that's what is getting the array wrong. I have the routines in a library if you want, and they are working for me. I'll setup a little demo of file and text upload and then you can just change it to suit our needs. Andre On Dec 18, 2006, at 12:05 AM, Sivakatirswami wrote: > This is a call for comments, guidance, best practice advice, > "gotchas" to > watch out for etc. for large file uploads by general users to a web > server. > > I don't think we well do anything big, like youTube of Flicker, but > I still need the same user friendly upload facility for "naive" > users who > know nothing about FTP. As we are moving forward with > "Rich Media" development and we want to open a pipeline for > people to easily send us video and sound files. > > I see Google is Distributing it's own standalone app for uploading > video. > > Of course we have the hold html form upload file option too, > which I would use on a .htaccess protected page. > >
acceptUploads.cgi> > Enter filename of the video to upload: >
> >
> > with a Revolution back end CGI to save the data. > > The form will also need to have the usual info to > attend any upload: > > email: _____ > Name: ______ > Description of media being upload. (text area) > > My experience so far with Rev CGI has been good, but limited > to small amounts of data from form input fields, rarely longer than > 150 chars > in a comment field of something like a guestbook form. > > I *did* have some problem with tests to try pasting large amts of text > into an input textarea field (like a long text article submitted by > a reporter) > ... the text got truncated. > > But I'm not sure the blame for that can be placed on the Revolution > CGI. > You all know the drill: we simply split the urlDecoded data into a > little array and take it from there. > I'm not sure that model work for receiving large binary http POST > uploads. > > Is anyone already doing this successfully with Rev CGI? Can share > your > html form and CGI code that works? (we could be accepting uploads > as big as 100 meg video files....) > > We are running Rev 2.6 on Linux Fedora Core 3 on web server at the > moment. > > Sivakatirswami > www.himalayanacademy.com > > Get Hinduism Today Digital Edition. It's Free! > http://www.hinduismtoday.com/digital/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Mon Dec 18 09:29:42 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Dec 2006 06:29:42 -0800 Subject: CGI Message-ID: <4586A5D6.5050904@fourthworld.com> Kay C Lan wrote: > On 12/18/06, Dan Shafer wrote: >> >> That's one of many reasons I use BBEdit for such files rather than >> TextEdit. > > > For those who don't want to buy BBEdit just to get Unix text endings, the > free TextWrangler, by the same company, is way better than TextEdit and can > be downloaded from here: > > http://www.barebones.com/products/textwrangler/download.shtml And then there's Revolution: The script editor gives you automatic formatting, and the built-in FTP makes it a snap to instantly upload to test. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From henk at iglow-media.nl Mon Dec 18 10:09:28 2006 From: henk at iglow-media.nl (Henk van der Velden) Date: Mon, 18 Dec 2006 16:09:28 +0100 Subject: Copy group to new stack In-Reply-To: <20061218112756.41EAE488DF5@mail.runrev.com> References: <20061218112756.41EAE488DF5@mail.runrev.com> Message-ID: <277BAC0C-586C-41E0-B429-349A0D1390ED@iglow-media.nl> Good day all, Here is a link to a stack that creates a new stack, creates an extra card in that stack and then copies a group of text fields into that new card. Something strange happens: the contents of an editable field are not copied. As you can see in this stack, all works OK if you don't create an extra card. But as soon as you create one, the copying fails. Can anyone tell me what's going on here? The stack can be downloaded here: http://www.iglow-media.nl/xchange/ CopyToNewStack.zip Kind regards, Henk -------------------------- Henk v.d. Velden iGlow Media Magda Janssenslaan 36 3584 GR UTRECHT Netherlands 0031 (0)6 16 024 337 www.iglow-media.nl From Andre.Bisseret at inria.fr Mon Dec 18 10:24:33 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q? Andr=E9.Bisseret ?=) Date: Mon, 18 Dec 2006 16:24:33 +0100 Subject: Copy group to new stack In-Reply-To: <277BAC0C-586C-41E0-B429-349A0D1390ED@iglow-media.nl> References: <20061218112756.41EAE488DF5@mail.runrev.com> <277BAC0C-586C-41E0-B429-349A0D1390ED@iglow-media.nl> Message-ID: Hi Henk, Not sure to understand precisely your problem ; seems to be that you should group your fld "fld_conclusion" and set it to "behave like a background". So your fid would be there on the second card. just one first idea Best regards from Grenoble Andr? Le 18 d?c. 06 ? 16:09, Henk van der Velden a ?crit : > Good day all, > > Here is a link to a stack that creates a new stack, creates an > extra card in that stack and then copies a group of text fields > into that new card. > Something strange happens: the contents of an editable field are > not copied. > > As you can see in this stack, all works OK if you don't create an > extra card. But as soon as you create one, the copying fails. > Can anyone tell me what's going on here? > > The stack can be downloaded here: http://www.iglow-media.nl/xchange/ > CopyToNewStack.zip > > Kind regards, > > Henk > -------------------------- > Henk v.d. Velden > iGlow Media > Magda Janssenslaan 36 > 3584 GR UTRECHT > Netherlands > > 0031 (0)6 16 024 337 > www.iglow-media.nl > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From henk at iglow-media.nl Mon Dec 18 10:47:17 2006 From: henk at iglow-media.nl (Henk van der Velden) Date: Mon, 18 Dec 2006 16:47:17 +0100 Subject: copy group to new stack In-Reply-To: <20061218112756.41EAE488DF5@mail.runrev.com> References: <20061218112756.41EAE488DF5@mail.runrev.com> Message-ID: <77137AC3-1B93-47DA-83BB-FB29BAC55033@iglow-media.nl> Hi Andr?, The stack is a stripped down version of a print function. I want to print a number of groups from a stack to different pages. In the stack all these groups are on one and the same card. So I create an invisible stack, create the number of cards that is needed and copy the groups to these cards. Now it turns out that the contents of certain fields are not copied. It took me some time to find out why that happened. I think I have pinpointed the problem to this one factor: if I create a stack, then create new cards in that stack, and then copy fields to it, the text is not copied (at least the text of editable fields). If I create a stack, but don't create new cards in that stack, than the copying works fine. Henk > Hi Henk, > Not sure to understand precisely your problem ; seems to be that you > should group your fld "fld_conclusion" and set it to "behave like a > background". So your fid would be there on the second card. > > just one first idea > > Best regards from Grenoble > Andr? > > Le 18 d?c. 06 ? 16:09, Henk van der Velden a ?crit : > > > Good day all, > > > > Here is a link to a stack that creates a new stack, creates an > > extra card in that stack and then copies a group of text fields > > into that new card. > > Something strange happens: the contents of an editable field are > > not copied. > > > > As you can see in this stack, all works OK if you don't create an > > extra card. But as soon as you create one, the copying fails. > > Can anyone tell me what's going on here? > > > > The stack can be downloaded here: > http://www.iglow-media.nl/xchange/CopyToNewStack.zip > > > From lists at mangomultimedia.com Mon Dec 18 11:52:22 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 18 Dec 2006 08:52:22 -0800 Subject: Socket timeout interval In-Reply-To: <45860EA4.1020303@hyperactivesw.com> References: <45857CC2.6090109@hyperactivesw.com> <45860EA4.1020303@hyperactivesw.com> Message-ID: <628DDD80-5927-42FE-AD05-442A5642C51F@mangomultimedia.com> On Dec 17, 2006, at 7:44 PM, J. Landman Gay wrote: > It's a DSL connection. He's not a novice so entering a number > wouldn't be too much problem for him (thouugh it might be for some > other users.) Apparently his line was flakey for a while and he had > the DSL provider out to repair it recently. I thought that would > solve the problem (which has been very long-standing,) but it still > times out on him even so. Of course, anything I do for this person > probably won't generalize to anyone else, but I was sort of hoping > I could come close. I haven't read all of the posts on this so maybe this was asked already but have you tried just connecting again a couple of times when a timeout occurs up to a maximum number? I made my download library a while ago but I seem to remember that just trying to reconnect again worked for those rare occasions when a timeout occurred. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From lists at mangomultimedia.com Mon Dec 18 11:57:46 2006 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 18 Dec 2006 08:57:46 -0800 Subject: CGI In-Reply-To: <4586A5D6.5050904@fourthworld.com> References: <4586A5D6.5050904@fourthworld.com> Message-ID: <2A977044-DA69-448A-ACC5-E8852B9FEC96@mangomultimedia.com> On Dec 18, 2006, at 6:29 AM, Richard Gaskin wrote: > Kay C Lan wrote: > >> On 12/18/06, Dan Shafer wrote: >>> >>> That's one of many reasons I use BBEdit for such files rather than >>> TextEdit. >> For those who don't want to buy BBEdit just to get Unix text >> endings, the >> free TextWrangler, by the same company, is way better than >> TextEdit and can >> be downloaded from here: >> http://www.barebones.com/products/textwrangler/download.shtml > > And then there's Revolution: The script editor gives you automatic > formatting, and the built-in FTP makes it a snap to instantly > upload to test. You can't use SFTP with Rev though can you? I don't like to send the connection info to my servers in the clear. Programs like BBEdit (and probably TextWrangler though I haven't used it) allow secure FTP connections. -- Trevor DeVore Blue Mango Learning Systems - www.bluemangolearning.com trevor at bluemangolearning.com From revdev at pdslabs.net Mon Dec 18 13:04:04 2006 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 18 Dec 2006 10:04:04 -0800 Subject: getting U3 serial number on Mac OS X In-Reply-To: References: Message-ID: <4586D814.4040307@pdslabs.net> Thanks Hugh - good catch! Thanks for the very gracious reference to my oversight as a "syntax error". :o) Phil FlexibleLearning at aol.com wrote: > Nice piece of work, Phil. Small syntax error... > > case "MacOS" > set the itemDelimiter to "." > if the systemVersion < 10 then return empty -- system is not OS X > > should be... > > case "MacOS" > set the itemDelimiter to "." > if item 1 of the systemVersion < 10 then return empty -- system is not OS X > > /H From henk at iglow-media.nl Mon Dec 18 13:38:21 2006 From: henk at iglow-media.nl (Henk van der Velden) Date: Mon, 18 Dec 2006 19:38:21 +0100 Subject: copy group to new stack In-Reply-To: <20061218180004.75CE1488E37@mail.runrev.com> References: <20061218180004.75CE1488E37@mail.runrev.com> Message-ID: I did some further testing to find out what is the simplest way to reproduce this behaviour (I sort of consider it to be a bug). Essentially it comes down to this: 1. there are two stacks, A and B 2. in stack A a command is issued, consisting of: 2a: create a new card in stack B 2b: copy an editable text field from stack A to stack B It turns out that the text of the editable text field is not copied to stack B, only the (empty) field. If you skip step 2a, both the editable field and its content are copied to stack B. Any opinions on this? Henk > Hi Andr?, > > The stack is a stripped down version of a print function. > > I want to print a number of groups from a stack to different pages. > In the stack all these groups are on one and the same card. > So I create an invisible stack, create the number of cards that is > needed and copy the groups to these cards. Now it turns out that the > contents of certain fields are not copied. > > It took me some time to find out why that happened. > I think I have pinpointed the problem to this one factor: if I create > a stack, then create new cards in that stack, and then copy fields to > it, the text is not copied (at least the text of editable fields). If > I create a stack, but don't create new cards in that stack, than the > copying works fine. > > Henk > > > Hi Henk, > > Not sure to understand precisely your problem ; seems to be that you > > should group your fld "fld_conclusion" and set it to "behave > like a > > background". So your fid would be there on the second card. > > > > just one first idea > > > > Best regards from Grenoble > > Andr? > > > > Le 18 d?c. 06 ? 16:09, Henk van der Velden a ?crit : > > > > > Good day all, > > > > > > Here is a link to a stack that creates a new stack, creates an > > > extra card in that stack and then copies a group of text fields > > > into that new card. > > > Something strange happens: the contents of an editable field are > > > not copied. > > > > > > As you can see in this stack, all works OK if you don't create an > > > extra card. But as soon as you create one, the copying fails. > > > Can anyone tell me what's going on here? > > > > > > The stack can be downloaded here: > > http://www.iglow-media.nl/xchange/CopyToNewStack.zip > > > > > > From geradamas at yahoo.com Mon Dec 18 14:19:57 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 18 Dec 2006 19:19:57 +0000 (GMT) Subject: Fun with Icons on Linux Message-ID: <261123.9238.qm@web37512.mail.mud.yahoo.com> Not much fun at all, really. So have just uploaded a silly little stack called "Free Icons" (no prizes for originality there) to RevOnline - contains fairly obvious stuff that is FREE. Will "pull my socks up" in the New Year and contribute something of more lasting value. sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ Send instant messages to your online friends http://uk.messenger.yahoo.com From jbv.silences at club-internet.fr Mon Dec 18 15:28:16 2006 From: jbv.silences at club-internet.fr (jbv) Date: Mon, 18 Dec 2006 21:28:16 +0100 Subject: launch doc with app References: Message-ID: <4586F9DF.B0FD2BE1@club-internet.fr> Hi list, I tried start on Windows XP Pro with Rev 2.5 but I get an error... anything I might be missing ? any other clue ? Thanks, JB > ---------- > De?: "Geir A. Myrestrand" > Soci?t??: FalconStor Software, Inc. > R?pondre ??: How to use Revolution > Date?: Fri, 15 Dec 2006 10:53:48 -0500 > ??: How to use Revolution > Objet?: Re: launch doc with app > > jbv wrote: > > Hi list, > > > > Is there a quick way to locate (from a Rev stack on a CD-Rom > > for instance) an application on a end-user HD (Acrobat Reader > > for instance) and to launch a pdf file on the CD-Rom with the > > app on the HD ? > > > > Thanks, > > JB > > You probably want to load the document with the application that is > currently assigned to handle this type of documents. > > On Windows: > > start > > -or- > > > From Andre.Bisseret at inria.fr Mon Dec 18 15:09:24 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q? Andr=E9.Bisseret ?=) Date: Mon, 18 Dec 2006 21:09:24 +0100 Subject: copy group to new stack In-Reply-To: References: <20061218180004.75CE1488E37@mail.runrev.com> Message-ID: Hi Henk, I looked a bit further at your stack (I did not look at the scripts before). I think I understand what you want to do. I made some trials with one new stack "'stackOne" with one group on it : a button "label" and a fld with a phrase in it (named groupToBeCopied) I put in the script of the field the following simple handler : on mouseUp create stack "stackTwo" go to stack "stackTwo" -- not sure that'is necessary create cd copy group "groupToBeCopied" of stack "stackOne" to cd 1 of stack "stackTwo" end mouseUp Seems that it works, but ONLY if the" share Text" property of the field is set to true I don't exactly understand why ?? but I can go further right now Could be a way toward a solution ? Best regards from Grenoble Andr? Le 18 d?c. 06 ? 19:38, Henk van der Velden a ?crit : > I did some further testing to find out what is the simplest way to > reproduce this behaviour (I sort of consider it to be a bug). > Essentially it comes down to this: > > 1. there are two stacks, A and B > 2. in stack A a command is issued, consisting of: > 2a: create a new card in stack B > 2b: copy an editable text field from stack A to stack B > > It turns out that the text of the editable text field is not copied > to stack B, only the (empty) field. > If you skip step 2a, both the editable field and its content are > copied to stack B. > > Any opinions on this? > > Henk > >> Hi Andr?, >> >> The stack is a stripped down version of a print function. >> >> I want to print a number of groups from a stack to different pages. >> In the stack all these groups are on one and the same card. >> So I create an invisible stack, create the number of cards that is >> needed and copy the groups to these cards. Now it turns out that the >> contents of certain fields are not copied. >> >> It took me some time to find out why that happened. >> I think I have pinpointed the problem to this one factor: if I create >> a stack, then create new cards in that stack, and then copy fields to >> it, the text is not copied (at least the text of editable fields). If >> I create a stack, but don't create new cards in that stack, than the >> copying works fine. >> >> Henk >> >> > Hi Henk, >> > Not sure to understand precisely your problem ; seems to be that >> you >> > should group your fld "fld_conclusion" and set it to "behave >> like a >> > background". So your fid would be there on the second card. >> > >> > just one first idea >> > >> > Best regards from Grenoble >> > Andr? >> > >> > Le 18 d?c. 06 ? 16:09, Henk van der Velden a ?crit : >> > >> > > Good day all, >> > > >> > > Here is a link to a stack that creates a new stack, creates an >> > > extra card in that stack and then copies a group of text fields >> > > into that new card. >> > > Something strange happens: the contents of an editable field are >> > > not copied. >> > > >> > > As you can see in this stack, all works OK if you don't create an >> > > extra card. But as soon as you create one, the copying fails. >> > > Can anyone tell me what's going on here? >> > > >> > > The stack can be downloaded here: >> > http://www.iglow-media.nl/xchange/CopyToNewStack.zip >> > > >> > >> > _______________________________________________ > use-revolution mailing list > use-revolution at 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 Mon Dec 18 15:17:58 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 18 Dec 2006 12:17:58 -0800 (PST) Subject: launch doc with app In-Reply-To: <4586F9DF.B0FD2BE1@club-internet.fr> Message-ID: <325386.58042.qm@web60521.mail.yahoo.com> --- jbv wrote: > Hi list, > > I tried > start > on Windows XP Pro with Rev 2.5 but I get an error... > > anything I might be missing ? > any other clue ? > > Thanks, > JB > Hi JB, Did you try it with the 'shell' function? ## get shell("start" && tFilePath) ## If the filepath contains spaces, you may have to put quotes around it. Hope this helped, Jan Schenkel Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From scott at tactilemedia.com Mon Dec 18 15:21:05 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Dec 2006 12:21:05 -0800 Subject: getting U3 serial number on Mac OS X In-Reply-To: <4586D814.4040307@pdslabs.net> Message-ID: Never mind U3. Make sure your apps are compatible with this: http://www.g69t.it/public/Scimitar/G69T_DBNP564_L.jpg (mod-ed Athlon machine that took 2 years to complete) The hard part: getting a test system. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From janschenkel at yahoo.com Mon Dec 18 15:25:50 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 18 Dec 2006 12:25:50 -0800 (PST) Subject: Copy group to new stack In-Reply-To: <277BAC0C-586C-41E0-B429-349A0D1390ED@iglow-media.nl> Message-ID: <20061218202550.92451.qmail@web60511.mail.yahoo.com> --- Henk van der Velden wrote: > Good day all, > > Here is a link to a stack that creates a new stack, > creates an extra > card in that stack and then copies a group of text > fields into that > new card. > Something strange happens: the contents of an > editable field are not > copied. > > As you can see in this stack, all works OK if you > don't create an > extra card. But as soon as you create one, the > copying fails. > Can anyone tell me what's going on here? > > The stack can be downloaded here: > http://www.iglow-media.nl/xchange/ > CopyToNewStack.zip > > Kind regards, > > Henk > Hi Henk, Without having looked at your stack, I remember having the odd problem with background fields and their content not getting copied over when copying the field. This has to do with the 'text' property being split among cards (unless your field has the 'sharedText' property set to true, in which case the text is the same on all cards that share the field). You'll have to explicitly go to the card befor copying it to your other stack. The same goes for using the 'value' function to pick up data from a field in a background group. See also bugzilla #1836 and #3827. Hope this helped, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From janschenkel at yahoo.com Mon Dec 18 15:40:07 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 18 Dec 2006 12:40:07 -0800 (PST) Subject: Variables in DB Query Builder In-Reply-To: <7907686.post@talk.nabble.com> Message-ID: <151118.59022.qm@web60524.mail.yahoo.com> --- Horst wrote: > > Hol? SQL-Professionals, > > I?m thinking, how to put a variable Part in the > SQL-Message of the DB Query > builder > > f.e. > Select Landname, Landvorwahl from land_kz where > Landname BETWEEN "A%" AND > "?" ORDER BY Landname ASC; > How to put the variable instead of "A%" witch makes > by the way, no sense. > > Thanks for many good ideas and don?t let me alone > :-) > > Best regards > > Horst > Hi Horst, The automated database queries don't currently provide for a method to place 'variables' inside the SQL query. For now the easiest way to achieve dynamic queries is to save a template query somewhere, and fill in the dynamic parts, then update the SQL of the query using the undocumented command "'revSetSQLOfQuery ,". An example : ## on mouseUp put "123456" into tCustomerID # or some field data put "SELECT * FROM orders WHERE customerid='" & \ tCustomerID & "'" into tSQLStatement revSetSQLOfQuery "orders",tSQLStatement end mouseUp ## Hope this helped, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From janschenkel at yahoo.com Mon Dec 18 15:52:21 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 18 Dec 2006 12:52:21 -0800 (PST) Subject: MySQL Using UPDATE for saving a picture In-Reply-To: <20061213115101.58EEB488DAE@mail.runrev.com> Message-ID: <20061218205221.67375.qmail@web60519.mail.yahoo.com> --- baleareninsel at gmx.net wrote: > Hi everybody, > > Trying to save a picture (.jpg or .bmp) to mySQL > Database. > > I Use > put the imagedata of image "Foto_Image" into temp3 > ## works > put "UPDATE Customers SET Fomage = '"& temp3 & "' > where kndnr =" & kundennummer into SQL_Befehl > to_i > In the Variable Watcher I can see the SQL_Befehl as: > > UPDATE knddaten SET Foto_image = ' --- here are > crazy signs -- ' where kndnr = 3120 ## which looks > ok > > The Error Message shown by the Message box is: > You have an error in your SQL Syntax; check the > manual that corresponds to your mySQL server version > for the right syntax to use near ' ## the crazy > signs, but not so much as there are in the picture > > The problem seems to be, that the image itself will > not be transfered. > > The type of Table Customers and Field Foto_image is > set to BLOB > > Again, I need a helpfull hand > > best regards and thank you > > Horst > Hi Horst, I'm not sure if this has been mentioned yet, but one way to ensure nothing messes up the query is by encoding the image data in a safe format on the way to the database, and decoding it when ypu get it back out of the database. The easiest solution for that is undoubtedly 'base64' encoding. See the 'base64encode' and 'base64decode' functions. The result of encoding binary data using base64 is a longer string, but it doesn't contain any of the unsafe characters that will mess up the query. As an example: ## on mouseUp global gConnectionID put base64encode(image "foobar") into tBase64ImgData put 123456 into tImgID put "UPDATE img_table SET img_data = :1 WHERE img_id = :2" \ into tQuery revExecuteSQL gConnectionID, tQuery, "tBase64ImgData","tImgID" end mouseUp ## And when you get the data back, you'll do something like: ## on mouseUp global gConnectionID put 123456 into tID put "SELECT * FROM img_table WHERE img_id = :1" into tQuery put revQueryDatabaseBlob(gConnectionID,tQuery,"tImgID") \ into tCursorID put revDatabaseColumnNamed(tCursorID,"img_data") into tData put base64decode(tData) into image "foobar" revCloseCursor tCursorID end mouseUp Hope this helped, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From janschenkel at yahoo.com Mon Dec 18 16:04:24 2006 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 18 Dec 2006 13:04:24 -0800 (PST) Subject: revQueryDatabase In-Reply-To: Message-ID: <20061218210424.72921.qmail@web60521.mail.yahoo.com> --- Robert Mann wrote: > I am having a problem with revQueryDatabase > returning a number when it > should not be I think? > In the following sql statement if there is no > wt_springcalc.year_model='" & > gyearmodel & "' curID should not be a number? > > > put "SELECT * FROM wt_springcalc WHERE > wt_springcalc.year_model='" & > gyearmodel & "' and wt_springcalc.company_id='1'" > into theSQL > put revQueryDatabase(dbID2, theSQL) into curID > put curID into fld "curIDnum" > > IF curID is a number THEN > put revDatabaseColumnNamed(curID,"fr_mx_multiplier") > into fld "frmxm1" > > ELSE > put curID into fld "error" > exit mouseUp > > END IF > > > What happens is curID is returned as a number then > when the > revDatabaseColumnNamed(curID,"fr_mx_multiplier") > into fld "frmxm1" executes > it puts ?revdberr,invalid column number? in the fld > and then rev shuts down > > Not sure where I have gone wrong? > > > Thanks > Robert Mann > Hi Robert, The above looks correct to me, and I've used this approach for ages to fetch data and extract individual columns. And the RevDB library should definitely not crash Revolution. A few things to check: - did you use the correct column name? (use the function 'revDatabaseColumnNames' to display a list) - are there any results in your record set? (use the function 'revNumberOfRecords' to find out - beware that this doesn't work for ODBC databases at the moment) You may want to file a bugzilla report that this leads to a crash. Make sure to send along the crash report so they can try and figure it out. Hope this helped, Jan Schenkel. Quartam Reports for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Stgoldberg at aol.com Mon Dec 18 16:36:10 2006 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Mon, 18 Dec 2006 16:36:10 EST Subject: Problem with slow opening of card 2 Message-ID: I've found a workaround to the problem of slow opening of card 2, as follows: a. Originally, card 1 (the opening screen) had a "Start" button with the script going next to card 2 b. Make this opening screen card 2 c. Make card 1 a dummy card d. Add to the stack script: on openStack set lockcursor to true set cursor to watch go to card 2 set lockcursor to false end openStack This seems to do the trick, but admittedly it's a roundabout way that does not explain the original problem. Steve Goldberg In a message dated 12/18/06 1:00:47 PM, use-revolution-request at lists.runrev.com writes: > > > > I know this issue has been raised in the past, but bring it up once more > > with > > > the hope that someone may have a resolution.?? The problem is that after > > > using my Mac to create a standalone and then transferring the Windows > > standalone > > > version to a Windows computer, the intial opening screen may open in a > > > reasonable time, but on trying to go to the next card with a simple "Go > > Next" command, > > > there is a significant delay in going to that card.?? After going to > that > > > second card, the program performs quickly in going from card to card.?? > > Why is > > > there this delay and how can it be avoided? > > > It doesn't seen related to whether or not there are any substacks, since > > the > > > problem exists when there are no substacks and also exists when the size > > of > > > the stack is relatively small. > > > It has been suggested that perhaps it takes some time for the program to > > > fully load.?? However, I tried the following unsuccessfully: > > > a. I tried waiting some time before clicking on the "Go Next" button, > but > > > there still was a delay in going to that second card. > > > b.?? Considering that there may be a delay in loading the program fully > > until > > > one makes the move to that second card, I wrote the following script: > > > > > > On openStack > > > set lockscreen to true > > > go next > > > go prev > > > set lockscreen to false > > > end openStack > > > > > > However, the delay persists.?? Any ideas??? Thanks. > > > My problem does not seem related to whether there are images or sounds on > card 2. It is the same problem even if there are no images or sounds within > the > standalone.?? Also, I cannot see it being specific to any other content on > card > 2 since the problem exists?? in a variety of standalones which are quite > different.?? Is this a known problem in Revolution??? If not, perhaps it's > something about my Windows computer (which tends to run slowly in general) > rather > than Revolution.?? My concern is that I need to distribute these standalones > to > Windows users and it can be frustrating waiting for that second card to > open.?? > I've tried to alleviate the problem partially by setting the cursor to watch > until the second card loads. > Steve Goldberg > > From stephenREVOLUTION at barncard.com Mon Dec 18 16:44:16 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 18 Dec 2006 15:44:16 -0600 Subject: getting U3 serial number on Mac OS X In-Reply-To: References: Message-ID: Looks like a jukebox. What's the point of this thing? Speed? >Never mind U3. Make sure your apps are compatible with this: > >http://www.g69t.it/public/Scimitar/G69T_DBNP564_L.jpg > >(mod-ed Athlon machine that took 2 years to complete) > >The hard part: getting a test system. > >Regards, > >Scott Rossi -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jacque at hyperactivesw.com Mon Dec 18 16:50:05 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Dec 2006 15:50:05 -0600 Subject: Socket timeout interval In-Reply-To: <628DDD80-5927-42FE-AD05-442A5642C51F@mangomultimedia.com> References: <45857CC2.6090109@hyperactivesw.com> <45860EA4.1020303@hyperactivesw.com> <628DDD80-5927-42FE-AD05-442A5642C51F@mangomultimedia.com> Message-ID: <45870D0D.6010303@hyperactivesw.com> Trevor DeVore wrote: > On Dec 17, 2006, at 7:44 PM, J. Landman Gay wrote: > >> It's a DSL connection. He's not a novice so entering a number wouldn't >> be too much problem for him (thouugh it might be for some other >> users.) Apparently his line was flakey for a while and he had the DSL >> provider out to repair it recently. I thought that would solve the >> problem (which has been very long-standing,) but it still times out on >> him even so. Of course, anything I do for this person probably won't >> generalize to anyone else, but I was sort of hoping I could come close. > > I haven't read all of the posts on this so maybe this was asked already > but have you tried just connecting again a couple of times when a > timeout occurs up to a maximum number? I made my download library a > while ago but I seem to remember that just trying to reconnect again > worked for those rare occasions when a timeout occurred. That's something I could try. Thanks for the idea. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Mon Dec 18 17:47:43 2006 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 18 Dec 2006 14:47:43 -0800 Subject: getting U3 serial number on Mac OS X In-Reply-To: References: Message-ID: <45871A8F.9040306@pdslabs.net> Wow. I think U3 is less scary-looking. But I recently saw a thing in Popular Science mag (Jan-07 p.77) that tells how to replace the plastic housing on your flash drive with a DIY custom one, made with a generous coat of spray-on plastic. With that option, there's no telling what a U3 drive could look like. Maybe just as scary! Phil Davis Scott Rossi wrote: > Never mind U3. Make sure your apps are compatible with this: > > http://www.g69t.it/public/Scimitar/G69T_DBNP564_L.jpg > > (mod-ed Athlon machine that took 2 years to complete) > > The hard part: getting a test system. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com From scott at tactilemedia.com Mon Dec 18 18:17:22 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Dec 2006 15:17:22 -0800 Subject: [ANN] Name Generator Message-ID: You've heard of a random number generator? Here's a stack for anyone who wants to generate one or more random *names* of people. Execute in your message box: go url "http://www.tactilemedia.com/download/namegen.rev" The stack randomly combines one of 1,219 male first names or 4,275 female first names, with one of 13,501 last names. The names are collected from documents on name frequency compiled in 2005 by the US Census Bureau. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Mon Dec 18 18:37:31 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Dec 2006 15:37:31 -0800 Subject: getting U3 serial number on Mac OS X In-Reply-To: Message-ID: Recently, Stephen Barncard wrote: >> Never mind U3. Make sure your apps are compatible with this: >> >> http://www.g69t.it/public/Scimitar/G69T_DBNP564_L.jpg > Looks like a jukebox. What's the point of this thing? Speed? Um, insane creativity? Custom-machined aluminum case and parts, almost down the screws. The two watercooling reservoirs on the bottom have spinning plexiglass fins that create vortexes while the machine is operating. A Windows box to end all Windows boxes. Sorry, I thought it was pretty amazing. Bit-Tech.net is holding a a Mod of the Year contest for 2006 -- the above is one of the entries and is documented with a 93 page project log. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From stephenREVOLUTION at barncard.com Mon Dec 18 18:49:51 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 18 Dec 2006 17:49:51 -0600 Subject: getting U3 serial number on Mac OS X In-Reply-To: References: Message-ID: Makes me proud to be a mac guy!! > A >Windows box to end all Windows boxes. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From kray at sonsothunder.com Mon Dec 18 20:01:16 2006 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 18 Dec 2006 19:01:16 -0600 Subject: getting U3 serial number on Mac OS X In-Reply-To: Message-ID: On 12/18/06 5:37 PM, "Scott Rossi" wrote: > Recently, Stephen Barncard wrote: > >>> Never mind U3. Make sure your apps are compatible with this: >>> >>> http://www.g69t.it/public/Scimitar/G69T_DBNP564_L.jpg > >> Looks like a jukebox. What's the point of this thing? Speed? > > Um, insane creativity? Custom-machined aluminum case and parts, almost down > the screws. The two watercooling reservoirs on the bottom have spinning > plexiglass fins that create vortexes while the machine is operating. A > Windows box to end all Windows boxes. > > Sorry, I thought it was pretty amazing. Looks cool, Scott! I especially like the sword motif... :-) Ken Ray Sons of Thunder Software, Inc. Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From tereza at califex.com Mon Dec 18 19:31:59 2006 From: tereza at califex.com (Tereza Snyder) Date: Mon, 18 Dec 2006 18:31:59 -0600 Subject: [ANN] Name Generator In-Reply-To: References: Message-ID: <4CDF6F6B-FE54-43A2-8E8F-77E8D587D44C@califex.com> On Dec 18, 2006, at 5:17 PM, Scott Rossi wrote: > go url "http://www.tactilemedia.com/download/namegen.rev" I believe I'll sign a random name to every post from now on! Thanks! Ron Buzzard -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From mark at maseurope.net Mon Dec 18 20:42:47 2006 From: mark at maseurope.net (Mark Smith) Date: Tue, 19 Dec 2006 01:42:47 +0000 Subject: [ANN] Name Generator In-Reply-To: <4CDF6F6B-FE54-43A2-8E8F-77E8D587D44C@califex.com> References: <4CDF6F6B-FE54-43A2-8E8F-77E8D587D44C@califex.com> Message-ID: <7E3CE5D2-4DA7-47B2-AB37-CC47F8CBC36B@maseurope.net> A little bit of time on your hands, Scott? Best, Shaquana Schoonover :) On 19 Dec 2006, at 00:31, Tereza Snyder wrote: > > On Dec 18, 2006, at 5:17 PM, Scott Rossi wrote: > >> go url "http://www.tactilemedia.com/download/namegen.rev" > > > I believe I'll sign a random name to every post from now on! > > Thanks! > > Ron Buzzard > > > -- > Tereza Snyder > > Califex Software, Inc. > www.califexsoftware.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 revdev at pdslabs.net Mon Dec 18 21:19:59 2006 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 18 Dec 2006 18:19:59 -0800 Subject: getting U3 serial number on Mac OS X In-Reply-To: References: Message-ID: <45874C4F.20503@pdslabs.net> Scott Rossi wrote: > Recently, Stephen Barncard wrote: > >>> Never mind U3. Make sure your apps are compatible with this: >>> >>> http://www.g69t.it/public/Scimitar/G69T_DBNP564_L.jpg > >> Looks like a jukebox. What's the point of this thing? Speed? > > Um, insane creativity? Custom-machined aluminum case and parts, almost down > the screws. The two watercooling reservoirs on the bottom have spinning > plexiglass fins that create vortexes while the machine is operating. A > Windows box to end all Windows boxes. > > Sorry, I thought it was pretty amazing. Very amazing. The guy did that in Photoshop, right? :o) (I meant my earlier 'scary-looking' assessment in a lighthearted way, but I probably should have used smilies to make the tongue-in-cheekness of it more pronounced.) Ellis Buster aka Phil Davis From scott at tactilemedia.com Mon Dec 18 21:22:46 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Dec 2006 18:22:46 -0800 Subject: [ANN] Name Generator In-Reply-To: <4CDF6F6B-FE54-43A2-8E8F-77E8D587D44C@califex.com> Message-ID: Recently, Tereza Snyder wrote: > I believe I'll sign a random name to every post from now on! OK, you only have 74,174,494 names to go. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Mon Dec 18 21:26:09 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Dec 2006 18:26:09 -0800 Subject: [ANN] Name Generator In-Reply-To: <7E3CE5D2-4DA7-47B2-AB37-CC47F8CBC36B@maseurope.net> Message-ID: Recently, Mark Smith wrote: > A little bit of time on your hands, Scott? Not really -- I needed a way to populate a buddy list for some UI mockups I'm doing and I dislike trying to come up with the names myself. Plus I need custom signatures for all my Nigerian email scams. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From JimCarwardine at OwnYourFuture-net.com Mon Dec 18 22:05:28 2006 From: JimCarwardine at OwnYourFuture-net.com (Jim Carwardine) Date: Mon, 18 Dec 2006 23:05:28 -0400 Subject: [OT] SheepShaver and printing... In-Reply-To: <45817788.7030603@fourthworld.com> Message-ID: Ken Ray, I have another question about running SheepShaver. I needed to install a printer driver for my printer (Canon I860 USB inkjet), so I downloaded the OS 9 driver from the Canon web site using Explorer from inside SheepShaver. After I installed it, I could see it in the Chooser but when I selected it, it couldn't find a port. Nothing showed on the right hand side of the Chooser window. When I select Page Setup, it shows the i860 dialogue but when I close the dialogue box, it tells me that I need to choose a printer from the Chooser. When I installed OS 9 in SheepShaver, I used OS 9.0 but it still can handle USB. Is there something special I need to do to allow USB access? I also have a Brother MFC 7820N laser printer that is networked to my computer. Would that be a better choice because I might then use one of the already installed Apple printer drivers to run it? Jim -- www.TalentSeeker.ca www.HiringSmart.ca/ns www.KeepingTheBest.ca/ns Own Your Future Consulting Services Limited, 23 Shoal Cove Road, Seabright, Nova Scotia, Canada. B3Z 3A9 Phone: 902-823-2339. Fax: 902-823-2139 From lan.kc.macmail at gmail.com Mon Dec 18 22:52:57 2006 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 19 Dec 2006 11:52:57 +0800 Subject: CGI In-Reply-To: <2A977044-DA69-448A-ACC5-E8852B9FEC96@mangomultimedia.com> References: <4586A5D6.5050904@fourthworld.com> <2A977044-DA69-448A-ACC5-E8852B9FEC96@mangomultimedia.com> Message-ID: On 12/19/06, Trevor DeVore wrote: > > > You can't use SFTP with Rev though can you? I don't like to send the > connection info to my servers in the clear. Programs like BBEdit > (and probably TextWrangler though I haven't used it) allow secure FTP > connections. >From the BareBones site: TextWrangler is: *A Unix and server administrator's tool*, with the ability to open and save files in a variety of line-ending formats, open and save text files located on remote FTP and SFTP servers, authenticated saves (you can modify files not owned by you, provided that you are an administrative user), and the ability to integrate TextWrangler with Unix tools and scripts, by means of the "edit" command-line tool. Best Freeware product out there:-) From katir at hindu.org Tue Dec 19 00:03:02 2006 From: katir at hindu.org (Sivakatirswami) Date: Mon, 18 Dec 2006 19:03:02 -1000 Subject: Geometry No Longer Supported? Message-ID: <45877286.8040003@hindu.org> Is the Geometry Editor no long supported? I used to do my own geometry and then tried using rev's Geometry and thought it was pretty "cool" and did a few stacks with that as my tool. Now I see it doesn't appear in the 2.7 menus. Then in Galaxy it appears the custom prop with Rev Geometry got clobbered and my stack controls are "all over the place" and I'm stuck... how do I clear that? if it's no longer supported, fine, I'll write my own handlers but for the moment I just need to get the current "went insane" geometry out of the stack. I turned on Rev show rev props in the UI, but all I see is something called "Master" in the custom props set to "true" I deleted that... after removing Galaxy I used rev application broswer to select objects (now sent way off screen to crazy locations like top=2012...) So I have everything back in the main window of the card, but some objects are still resizing in ways I am unable to edit or control... I would revert to an earlier version, but I put a lot of work into an upgrade today... Help! Thanks Sivakatirswami From palcibiades-first at yahoo.co.uk Tue Dec 19 02:07:48 2006 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 19 Dec 2006 07:07:48 +0000 Subject: Fun with Icons on Linux Message-ID: <200612190707.49115.palcibiades-first@yahoo.co.uk> This may not mean a whole lot if you are not using RR for Linux, because you probably have all the artwork and fonts in the world to choose from and are wondering what on earth the problem could be! There are two problems, and they are identical whether you use the MC or the RR IDE. The first is the icons supplied are miniscule and don't apparently scale. So you can make your buttons bigger, but they still have tiny artwork in them. You also cannot seem to get rid of minimum 10 point font text under the artwork, which displaces the icons upwards. You can only replace it with a space, which increases the ratio of white space to artwork on your buttons. This means that if you want one of the old scaleable forward/backward arrows that used to come with Hypercard, you have to either dig out the old diskettes - or make your own from scratch. Hence Richmond's generous gesture. The second problem is that there are two and only two fonts that will permit the use of larger than 24 point sizes. These are bitstream charter and courier 10 point. However, they, like the others, do not render properly, so they look pretty terrible. The font issue seems to occur because RR uses a now obsolete method for getting fonts, and so does not have access to the system wide fonts used by the other applications - and presumably this is the rendering issue as well. The good news is, the font issue is to be fixed in the next release. One can see this is a difficult decision for RR. I don't know how many copies of the Linux version have been sold, but would guess fairly few. The market envirnonment is different. Unlike for other platforms, there are lots of excellent free open source development competitors. For instance, in the Python based lot, there is PythonCard, PyQT, TKinter, WXPython, the whole K development environment. Free database front ends/rapid developement applications are springing up like weeds. FlameRobin, Glom, Dabo, Kexi, Knoda, Rekall - and that's only a few. OO Base is probably going to improve and will ship with every Linux distro. So its not clear, even if the Linux version is cleaned up and totally slick, how many copies will realistically sell at a few hundred a copy. There is also nothing like the old Hypercard user base to sell into, as you have in long term Mac users. In addition, the database functionality offered by Valentina doesn't come in a Linux version. All the usual suspects in databases are automatic installs on Linux - you will have Mysql, Sqlite and so on at the touch of a button, along with ODBC drivers, so probably there is not much of a premium to be had in the Linux world from altsqlite. The database packages above come with connectors to all the database servers you could ever want. Knoda is particularly rich. And finally, the Linux development people don't seem, my casual impression, to be very oriented towards RR type stuff. They are much more hard core. Whenever you read the FAQ on the rapid development packages, they always seem to start out by noting key contrasts with C. So its not clear if there is an appropriate RR Linux developer market. It is difficult. That said however, if one is going to sell it and ship it at all, the fonts do have to work.... The good new is, they are going to. Peter Peter From eric.chatonet at sosmartsoftware.com Tue Dec 19 02:39:39 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 19 Dec 2006 08:39:39 +0100 Subject: Geometry No Longer Supported? In-Reply-To: <45877286.8040003@hindu.org> References: <45877286.8040003@hindu.org> Message-ID: <83348146-0B2F-445E-8C8F-02FA38044108@sosmartsoftware.com> Hi Sivakatirswami, 1. You are right when you hesitate to trust the Geometry Manager and prefer to run your own code ;-) 2. The Geometry Manager is only available in the Rev IDE but not in Galaxy: see the Geometry pane in the props palette for any control. 3. Have a nice evening. Best Regards from Paris, Eric Chatonet Le 19 d?c. 06 ? 06:03, Sivakatirswami a ?crit : > Is the Geometry Editor no long supported? > > I used to do my own geometry and then tried using rev's Geometry and > thought it was pretty "cool" and did a few stacks with that as my > tool. > Now I see it doesn't appear in the 2.7 menus. > > Then in Galaxy it appears the custom prop with Rev Geometry got > clobbered and my stack controls are "all over the place" and I'm > stuck... how do I clear that? if it's no longer supported, fine, I'll > write my own handlers but for the moment I just need to get the > current > "went insane" geometry out of the stack. > > I turned on Rev show rev props in the UI, but all I see is something > called "Master" in the custom props set to "true" > > I deleted that... after removing Galaxy I used rev application > broswer to > select objects (now sent way off screen to crazy locations like > top=2012...) So I have everything back in the main window of the card, > but some objects are still resizing in ways I am unable to edit or > control... I would revert to an earlier version, but I put a lot of > work > into an upgrade today... > > Help! > > Thanks > > Sivakatirswami ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From katir at hindu.org Tue Dec 19 05:57:06 2006 From: katir at hindu.org (Sivakatirswami) Date: Tue, 19 Dec 2006 00:57:06 -1000 Subject: Internet Enabled Desktop Apps Alive and Well Message-ID: <4587C582.5050303@hindu.org> This is a holiday stocking gift for Richard, who can say: "I told you so..." (smile) Nothing new, but worth noting: We just got a new Nikon Cool Pix camera that takes video, has a steady cam, macro and tons more features. Half an inch thick... hold it in the palm of your hand. Delivers .mov clips by wireless to your desk top ready to open in iMovie...Amazing. I could not resist sharing here that when I installed their download software... Nikon made a decision that instead of driving people to the browser, they would deposit on the users HD an internet enabled Desktop application they call the "Nikon Message Center," which looks for all the world like a really ugly Rev app that talks to their main server about updates, product lists etc. I can hear the discussion in Tokyo: "Aso!, let's forget about building browser based web applications... what a pain in our Japanese ** , let's just make our own UI to talk to our servers.... it's so *easy* and user friendly." Could they wipe out my hard drive? Yes. Am I worried, No.... They could have at least hired Tereza to put a few cherry blossoms on the GUI... Happy Solstice Celebrations! Sivakatirswami www.himalayanacademy.com From geradamas at yahoo.com Tue Dec 19 06:19:34 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Tue, 19 Dec 2006 11:19:34 +0000 (GMT) Subject: Fun with fonts on Linux Message-ID: <999908.3973.qm@web37502.mail.mud.yahoo.com> Peter Alcibiades statement about Fonts and Linux strikes me as rather odd. "The second problem is that there are two and only two fonts that will permit the use of larger than 24 point sizes. These are bitstream charter and courier 10 point. However, they, like the others, do not render properly, so they look pretty terrible." I make stacks on a Macintosh machine and then move them over to a number of Linux boxes - at that point I have to select the font for each text-field (a bit tedious) - however, once I have selected a Linux font the size that was set on the Mac returns - regardless of which font I select. Unfortunately, if one just sets the font for the stack or card the text-fields don't seem to inherit properly. I am using an old version (5.04) of Ubuntu on the PCs in my school - maybe Ubuntu handles fonts rather differently to other Linux distros. I made a font inside the user-home called .fonts (the . at the start is necessary) and popped all sorts of TTF fonts in there from all sorts of places - including from other font folders lurking in my Ubuntu systems. There are lots of good TTF fonts freely available on the internet. sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ ___________________________________________________________ Try the all-new Yahoo! Mail. "The New Version is radically easier to use" ? The Wall Street Journal http://uk.docs.yahoo.com/nowyoucan.html From mark at maseurope.net Tue Dec 19 06:20:03 2006 From: mark at maseurope.net (Mark Smith) Date: Tue, 19 Dec 2006 11:20:03 +0000 Subject: Geometry No Longer Supported? In-Reply-To: <45877286.8040003@hindu.org> References: <45877286.8040003@hindu.org> Message-ID: Sivakatirswami, this sounds like bug #3693. Please feel free to add some votes. Best, Mark On 19 Dec 2006, at 05:03, Sivakatirswami wrote: > Is the Geometry Editor no long supported? > > I used to do my own geometry and then tried using rev's Geometry and > thought it was pretty "cool" and did a few stacks with that as my > tool. > Now I see it doesn't appear in the 2.7 menus. > > Then in Galaxy it appears the custom prop with Rev Geometry got > clobbered and my stack controls are "all over the place" and I'm > stuck... how do I clear that? if it's no longer supported, fine, I'll > write my own handlers but for the moment I just need to get the > current > "went insane" geometry out of the stack. > > I turned on Rev show rev props in the UI, but all I see is something > called "Master" in the custom props set to "true" > > I deleted that... after removing Galaxy I used rev application > broswer to > select objects (now sent way off screen to crazy locations like > top=2012...) So I have everything back in the main window of the card, > but some objects are still resizing in ways I am unable to edit or > control... I would revert to an earlier version, but I put a lot of > work > into an upgrade today... > > Help! > > Thanks > > Sivakatirswami > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From palcibiades-first at yahoo.co.uk Tue Dec 19 08:20:04 2006 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 19 Dec 2006 13:20:04 +0000 Subject: Fun with fonts on Linux Message-ID: <200612191320.04237.palcibiades-first@yahoo.co.uk> I can only report what actually happens. Are we doing the same thing? I am running 2.6.1 IDE and engine on Linux - specifically on AMD64, Etch. I can't test compiling a stack on another platform, but with Linux as the target, not having a Windows or Mac installation that will do that. The results might well be different. This is running the engine and IDE in 'native mode'. I too have a file /home/peter/.fonts, and it has around 350 fonts in it. But none of these fonts seem to be available either to the MC or RR IDEs, and it makes no difference if the RR installation is in /opt or in /home/peter or /home/peter/Desktop. They are however available to every other application I've tried. I'd love to be told I'm doing something idiotic and there is an easy fix! Peter From gregory.lypny at videotron.ca Tue Dec 19 08:23:18 2006 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 19 Dec 2006 08:23:18 -0500 Subject: Report Builder Message-ID: <6054990E-347D-4436-A317-6CBB37E0784B@videotron.ca> Hello Everyone, Revolution's built-in help tells me that there's something called a Report Builder under the Tools menu. I have only a Menu Builder and a Database Query Builder. Does the Report Builder exist? From the help documents Definition: Part of the Revolution development environment, the window where you create settings for a printed report. To display the Report Builder, choose Tools menu Report Builder. Regards, Gregory From jbv.silences at club-internet.fr Tue Dec 19 08:44:54 2006 From: jbv.silences at club-internet.fr (jbv) Date: Tue, 19 Dec 2006 14:44:54 +0100 Subject: PDF and Rev Message-ID: <4587ECCD.B1CC3123@club-internet.fr> Hi list, In my quest for a way to open a PDF file from a Rev script, I've found a freeware that converts PDF files into executables : PDF2EXE (http://www.pdf2exe.com). Then it becomes easy to launch the executable with a single line of code in a script. I thought some of you might find this useful... Best, JB From mark at maseurope.net Tue Dec 19 09:08:33 2006 From: mark at maseurope.net (Mark Smith) Date: Tue, 19 Dec 2006 14:08:33 +0000 Subject: [ANN] possible RPC mechanism for rev Message-ID: <7F548966-C2A3-4B77-8685-FEF102EF666D@maseurope.net> I've been thinking about Andres excellent post on the subject of revolution and the web etc. He suggested that to start off, we need a few basic elements, one of which would be an rpc mechanism, so I've come up with one. It's at a very early stage, but includes a stack/ tool for managing sets of rpc libraries. I have only Mac OS X to work with, so a few assumptions about paths and so-on would have to be tweaked to work on other OSes :( I've made a zip archive of it, along with a 'read-me' that describes what I've done, available for download at http://www.futility.co.uk/futsoft/revolutionstuff.html named simply "RPC". Anyone who's interested and would care to comment on it, please do so, either on or off list. Best, Mark From stephenREVOLUTION at barncard.com Tue Dec 19 09:21:44 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 19 Dec 2006 08:21:44 -0600 Subject: Fun with Icons on Linux Message-ID: But we Enterprise users like to know we can deploy to Unix if needed and we get it with the package.I did not plan on any Unix apps, but I might 'fool around' with it. I'll probably never use the Windows part either. >and will ship with every Linux distro. So its not clear, even if the Linux >version is cleaned up and totally slick, how many copies will realistically >sell at a few hundred a copy. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From stephenREVOLUTION at barncard.com Tue Dec 19 09:25:01 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 19 Dec 2006 08:25:01 -0600 Subject: PDF and Rev In-Reply-To: <4587ECCD.B1CC3123@club-internet.fr> References: <4587ECCD.B1CC3123@club-internet.fr> Message-ID: Why would this be useful? Isn't the idea of a PDF to be a cross-platform document? EXEs lock it into a platform again. >Hi list, > >In my quest for a way to open a PDF file from a Rev script, >I've found a freeware that converts PDF files into executables : >PDF2EXE (http://www.pdf2exe.com). >Then it becomes easy to launch the executable with a single >line of code in a script. > >I thought some of you might find this useful... > >Best, >JB -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From tereza at califex.com Tue Dec 19 09:27:49 2006 From: tereza at califex.com (Tereza Snyder) Date: Tue, 19 Dec 2006 08:27:49 -0600 Subject: Internet Enabled Desktop Apps Alive and Well In-Reply-To: <4587C582.5050303@hindu.org> References: <4587C582.5050303@hindu.org> Message-ID: <3B1408DB-BC5F-45E6-951F-03DE36727F8E@califex.com> On Dec 19, 2006, at 4:57 AM, Sivakatirswami wrote: > > They could have at least hired Tereza to put a few cherry blossoms > on the GUI... > > Happy Solstice Celebrations! Solstice salutations! I blush! t (Giovanni Dowd) -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From stephenREVOLUTION at barncard.com Tue Dec 19 09:48:41 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 19 Dec 2006 08:48:41 -0600 Subject: Solstice salutations! In-Reply-To: <3B1408DB-BC5F-45E6-951F-03DE36727F8E@califex.com> References: <4587C582.5050303@hindu.org> <3B1408DB-BC5F-45E6-951F-03DE36727F8E@califex.com> Message-ID: That is SO much better than the generic "Happy Holidays"! thanks. >Solstice salutations! > >I blush! > > >t > > >(Giovanni Dowd) > >-- >Tereza Snyder > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From bobwarren at howsoft.com Tue Dec 19 09:54:32 2006 From: bobwarren at howsoft.com (Robert John Warren) Date: Tue, 19 Dec 2006 12:54:32 -0200 Subject: Fun with Icons on Linux Message-ID: <4587FD28.8080904@howsoft.com> Peter Alcibiades wrote: >And finally, the Linux development people don't seem, my casual impression, to be very oriented towards RR type stuff. They are much more hard core. Whenever you read the FAQ on the rapid development packages, they always seem to start out by noting key contrasts with C. So its not clear if there is an appropriate RR Linux developer market. ----------------------------------------------------------------------- A static way of looking at markets is to consider what they ARE. A more positive way of looking at markets is to realize that they are also MADE. To launch an important and promising RAD system for Linux which is riddled with bugs is NOT the way to MAKE a market. To neglect it for years on end is also NOT the way to MAKE a market. The highly expert programmers who helped create Linux probably don't need RAD solutions like Rev very much. Ordinary people (i.e. the new Linux users) DO need RAD solutions, and Rev is the best one I know - by far. That's why its neglect is so tragic. Regards, Bob Warren From stephenREVOLUTION at barncard.com Tue Dec 19 09:58:10 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 19 Dec 2006 08:58:10 -0600 Subject: Fun with Icons on Linux In-Reply-To: <4587FD28.8080904@howsoft.com> References: <4587FD28.8080904@howsoft.com> Message-ID: And why I anticipate the upcoming Unix release of REV. I want to try it with UBUNTU. >The highly expert programmers who helped create Linux probably don't >need RAD solutions like Rev very much. Ordinary people (i.e. the new >Linux users) DO need RAD solutions, and Rev is the best one I know - >by far. That's why its neglect is so tragic. >Regards, >Bob Warren -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From jbv.silences at club-internet.fr Tue Dec 19 10:23:34 2006 From: jbv.silences at club-internet.fr (jbv) Date: Tue, 19 Dec 2006 16:23:34 +0100 Subject: PDF and Rev References: <4587ECCD.B1CC3123@club-internet.fr> Message-ID: <458803E9.F0C8EB94@club-internet.fr> Stephen, Your remark makes sense, but let me know how to open a PDF document in Acrobat Reader from a Rev script... For the moment I'm using Rev 2.5 and am in a hurry to complete a small app for a client that will run on Windows only and needs to open a PDf file... If anyone happens to be in a similar situation, then PDF2EXE is useful... JB > Why would this be useful? Isn't the idea of a PDF to be a > cross-platform document? EXEs lock it into a platform again. > > >Hi list, > > > >In my quest for a way to open a PDF file from a Rev script, > >I've found a freeware that converts PDF files into executables : > >PDF2EXE (http://www.pdf2exe.com). > >Then it becomes easy to launch the executable with a single > >line of code in a script. > > > >I thought some of you might find this useful... > > > >Best, > >JB > From eric.chatonet at sosmartsoftware.com Tue Dec 19 10:10:01 2006 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 19 Dec 2006 16:10:01 +0100 Subject: PDF and Rev In-Reply-To: <458803E9.F0C8EB94@club-internet.fr> References: <4587ECCD.B1CC3123@club-internet.fr> <458803E9.F0C8EB94@club-internet.fr> Message-ID: Hi JB, In order to master the process completely in Rev, you might be interested in Chipp's really fine AltBrowser: We use it to open hundreds of pdfs directly in a Rev viewer stack that is a part of a Rev app. Works really well without any extra exe. Best Regards from Paris, Eric Chatonet Le 19 d?c. 06 ? 16:23, jbv a ?crit : > Stephen, > > Your remark makes sense, but let me know how to open a > PDF document in Acrobat Reader from a Rev script... > > For the moment I'm using Rev 2.5 and am in a hurry to > complete a small app for a client that will run on Windows > only and needs to open a PDf file... If anyone happens to > be in a similar situation, then PDF2EXE is useful... > > JB > >> Why would this be useful? Isn't the idea of a PDF to be a >> cross-platform document? EXEs lock it into a platform again. >> >>> Hi list, >>> >>> In my quest for a way to open a PDF file from a Rev script, >>> I've found a freeware that converts PDF files into executables : >>> PDF2EXE (http://www.pdf2exe.com). >>> Then it becomes easy to launch the executable with a single >>> line of code in a script. >>> >>> I thought some of you might find this useful... >>> >>> Best, >>> JB ------------------------------------------------------------------------ ---------------------- http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/ From geir.myrestrand at falconstor.com Tue Dec 19 10:24:04 2006 From: geir.myrestrand at falconstor.com (Geir A. Myrestrand) Date: Tue, 19 Dec 2006 10:24:04 -0500 Subject: PDF and Rev In-Reply-To: <458803E9.F0C8EB94@club-internet.fr> References: <4587ECCD.B1CC3123@club-internet.fr> <458803E9.F0C8EB94@club-internet.fr> Message-ID: <45880414.5080904@falconstor.com> jbv wrote: > > Stephen, > > Your remark makes sense, but let me know how to open a > PDF document in Acrobat Reader from a Rev script... > > For the moment I'm using Rev 2.5 and am in a hurry to > complete a small app for a client that will run on Windows > only and needs to open a PDf file... If anyone happens to > be in a similar situation, then PDF2EXE is useful... > > JB This was discussed on the list a few days ago under the topic "launch doc with app". It should be something like this: get shell("start" && tFilePath) You need to wrap quotes around the path if it contains spaces. You should not force the use of Adobe Acrobat or Adobe Reader, just let the OS handle the application used to view the PDF file. The Windows shell will launch the associated application if you execute "start " or just "" where is the document you want to launch. -- Geir A. Myrestrand From baleareninsel at gmx.net Tue Dec 19 10:26:37 2006 From: baleareninsel at gmx.net (Horst) Date: Tue, 19 Dec 2006 07:26:37 -0800 (PST) Subject: Variables in DB Query Builder In-Reply-To: <151118.59022.qm@web60524.mail.yahoo.com> References: <7907686.post@talk.nabble.com> <151118.59022.qm@web60524.mail.yahoo.com> Message-ID: <7948998.post@talk.nabble.com> Hola Jan, thanks for answering! You wrote: For now the easiest way to achieve dynamic queries is to save a template query somewhere, and fill in the dynamic parts, then update the SQL of the query using the undocumented command "'revSetSQLOfQuery ,". An example : ## on mouseUp put "123456" into tCustomerID # or some field data put "SELECT * FROM orders WHERE customerid='" & \ tCustomerID & "'" into tSQLStatement revSetSQLOfQuery "orders",tSQLStatement end mouseUp ## ------------------------------------------------- Well, but what does this do? I don?t understand that. What to do with revSetSQLOfQuery "orders",tSQLStatement best regards Horst -- View this message in context: http://www.nabble.com/Variables-in-DB-Query-Builder-tf2832420.html#a7948998 Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Tue Dec 19 10:55:10 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Dec 2006 07:55:10 -0800 Subject: Fun with Icons on Linux Message-ID: <45880B5E.2030607@fourthworld.com> Robert John Warren wrote: > To launch an important and promising RAD system for Linux > which is riddled with bugs is NOT the way to MAKE a market. > To neglect it for years on end is also NOT the way to MAKE > a market. If tens of millions of dollars from IBM and another billion from Wall Street can't make a market for Linux, I doubt there's much more that a handful of developers from Edinburgh could do. Look at all the other development systems already available for Linux, and look at Linux' dismal market share on the desktop after all these years. Oh, there's a problem alright, but it isn't a lack of development tools. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mswindel at santacruz.k12.ca.us Tue Dec 19 11:08:37 2006 From: mswindel at santacruz.k12.ca.us (Mark Swindell) Date: Tue, 19 Dec 2006 08:08:37 -0800 Subject: Saving stack changes under Player Message-ID: <9F30D83B-0A1B-44CE-A0D4-247290BBCDAB@santacruz.k12.ca.us> Is it possible to save changes made to stacks when run under the Player? If so, what is the mechanism? At this point I just want field text changes to be retained between sessions. But what about adding cards and such as that? Thanks Mark From jacque at hyperactivesw.com Tue Dec 19 12:08:15 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Dec 2006 11:08:15 -0600 Subject: Fun with Icons on Linux In-Reply-To: <200612190707.49115.palcibiades-first@yahoo.co.uk> References: <200612190707.49115.palcibiades-first@yahoo.co.uk> Message-ID: <45881C7F.9080809@hyperactivesw.com> Peter Alcibiades wrote: > There are two problems, and they are identical whether you use the MC or the > RR IDE. > > The first is the icons supplied are miniscule and don't apparently scale. So > you can make your buttons bigger, but they still have tiny artwork in them. This is not a Linux problem, this is just how it works across all platforms. All icons are bitmapped art. They will appear smaller at large screen resolutions, and will appear larger when the screen resolution is less. > You also cannot seem to get rid of minimum 10 point font text under the > artwork, which displaces the icons upwards. You can, but there is no interface in the inspector for it. Just set the textfont/size/style of the button to whatever you want, via the message box or a script. You can also set margins to nudge the icon to the position you want. Again, not a Linux problem. Just how it works. > You can only replace it with a > space, which increases the ratio of white space to artwork on your buttons. Or you can just turn off the "showName" property of the button which will remove the label entirely. Then set the bottomMargin to whatever you want. > This means that if you want one of the old scaleable forward/backward arrows > that used to come with Hypercard, you have to either dig out the old > diskettes - or make your own from scratch. HyperCard didn't have scalable icons either, they were bitmapped artwork like all the others. However, if you want to scale an icon, just import the icon image into the stack and then scale that image. Whatever size you have scaled it to will be reflected in your button icon. Note that since all icons are bitmapped art, scaling to a large size can cause jagged edges. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 19 12:43:31 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Dec 2006 11:43:31 -0600 Subject: [ANN] Name Generator In-Reply-To: References: Message-ID: <458824C3.5060009@hyperactivesw.com> Scott Rossi wrote: > You've heard of a random number generator? Here's a stack for anyone who > wants to generate one or more random *names* of people. I bet you did stuff like this on purpose: Rocky Baskett Conception Big What a riot. Anyway, thanks for this. I'm late coming to the party but it's still a fun one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 19 13:12:32 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Dec 2006 12:12:32 -0600 Subject: CPU timings Message-ID: <45882B90.4090605@hyperactivesw.com> I am trying to estimate the different timings between CPUs so I can adjust some animation scripts accordingly. My available hardware for testing is limited though. I have a Mac PowerBook G4 that runs at 864 MHz. I want to know how this would compare to a Pentium III running at 800 MHz. I think Pentiums are a little faster than Motorola chips, but in general, do you think they'd run at about the same speed? Or close? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Dec 19 13:24:52 2006 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 19 Dec 2006 10:24:52 -0800 Subject: CPU timings In-Reply-To: <45882B90.4090605@hyperactivesw.com> Message-ID: Recently, J. Landman Gay wrote: > I have a Mac PowerBook G4 that runs at 864 MHz. I want to know how this > would compare to a Pentium III running at 800 MHz. I think Pentiums are > a little faster than Motorola chips, but in general, do you think they'd > run at about the same speed? Or close? IMO, I would say there may not be any "real" way to know. If your stack has any kind of visual component to it, then the capabilities of the graphics cards can affect performance as well, or at least perceived performance. If your stack is processing only, then perhaps the systems may be close, but someone else may have a better answer. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From JimAultWins at yahoo.com Tue Dec 19 14:01:46 2006 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 19 Dec 2006 11:01:46 -0800 Subject: CPU timings In-Reply-To: <45882B90.4090605@hyperactivesw.com> Message-ID: On 12/19/06 10:12 AM, "J. Landman Gay" wrote: > I am trying to estimate the different timings between CPUs so I can > adjust some animation scripts accordingly. My available hardware for > testing is limited though. > > I have a Mac PowerBook G4 that runs at 864 MHz. I want to know how this > would compare to a Pentium III running at 800 MHz. I think Pentiums are > a little faster than Motorola chips, but in general, do you think they'd > run at about the same speed? Or close? You could build a little test stack that did some operations and stored a baseline value for these, then in the operating environ, trigger these, get the new values and prorate. For example (typed and not tested) on authorTime get the ticks repeat 3000 add 1 to tempp end repeat set the cp3KBaseline of this stack to the ticks - it div 3000 get the ticks runIntro set the cpIntroBaseline of this stack to the ticks - it save this stack end authorTime on openstack if the filename of this stack contains the cpAuthor of this stack then authorTime get the ticks repeat 3000 add 1 to tempp end repeat get the ticks - it div 3000 set the cp3KRate of this stack to it/the cp3KBaseline of this stack get the ticks runIntro get the ticks - it set the cpIntroRate of this stack to it/the cpIntroBaseline of this stack put "cp3KRate = " & the cp3KRate of this stack & \ " cpIntroRate = " & the cpIntroRate of this stack into msg end openstack ___and now you have two ratios that can be used in animation or other timing calcs. This is just an idea, but it should get you in the ball park. If you are running the stack on your computer, then both ratios should be 1.00000 Now have someone run the stack and let you know their ratios. Hope this helps in some way Jim Ault Las Vegas From stephenREVOLUTION at barncard.com Tue Dec 19 14:19:55 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 19 Dec 2006 13:19:55 -0600 Subject: PDF and Rev In-Reply-To: <458803E9.F0C8EB94@club-internet.fr> References: <4587ECCD.B1CC3123@club-internet.fr> <458803E9.F0C8EB94@club-internet.fr> Message-ID: Launch? Launch document? These are native rev calls. These don't work? in MacOS of course there's applescript. >Stephen, > >Your remark makes sense, but let me know how to open a >PDF document in Acrobat Reader from a Rev script... > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From stephenREVOLUTION at barncard.com Tue Dec 19 14:30:00 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 19 Dec 2006 13:30:00 -0600 Subject: PDF and Rev In-Reply-To: References: <4587ECCD.B1CC3123@club-internet.fr> <458803E9.F0C8EB94@club-internet.fr> Message-ID: >Launch document? This was added in Rev 2.7.1 Just tested, this works in Rev 2.7.4gm Mac (without word wrap): launch document "/Applications Third Party/PROGRAMMING/REVOLUTION/Revolution Enterprise/2.7.1-gm-1/Documentation/pdf/users_guide/all.pdf" > >These are native rev calls. These don't work for you? > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From geradamas at yahoo.com Tue Dec 19 14:37:06 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Tue, 19 Dec 2006 19:37:06 +0000 (GMT) Subject: [OT] Fun with icons on Linux Message-ID: <860856.48307.qm@web37513.mail.mud.yahoo.com> Richard Gaskin wrote: "Oh, there's a problem alright, but it isn't a lack of development tools." For what its worth - my few thoughts: 1. Microsoft Windows has, for better or worse, successfully dominated the desktop market. 2. Linux, being a diffuse, amorphous "thing" (unlike a tightly centred organisation like Microsoft) has not pumped big bucks into an advertising campaign to put some of the myths promoted by Microsoft in perspective. 3. People are suspicious of a free lunch. 4. Runtime Revolution for Linux is not up to scratch. But why would a commercial organisation bother to invest vast amounts of effort in developing something for an operating system that is largely used by "wierdos" with no financial clout? The answer to this is rather like the answer I recieved when I queried a version of Runtime Revolution for RISC OS - nothing at all, because anybody with a few more business-like braincells than me would have realised that nobody was going to buy it. My feeling about this is that if you want to develop childish language teaching tools for Linux (which is what I do) then RR is absolutely super - and the Novell 2.2.1 version suffices. But if you want to develop the sort of more sophisticated stuff that other people are developing with RR for Mac and Windows on Linux you should use a different RAD, or, perish the thought, an "old-fashioned" computer language. sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ ___________________________________________________________ Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html From katir at hindu.org Tue Dec 19 06:13:17 2006 From: katir at hindu.org (Sivakatirswami) Date: Tue, 19 Dec 2006 01:13:17 -1000 Subject: international Date Message-ID: <4587C94D.4030802@hindu.org> Am I the only one who continues to be perplexed as to why the international date format is not a standard engine function? Hypenated: YYYY-MM-DD, zero padded comes standard with SQL but in Rev we have to do little dances like: FUNCTION internationalDate tDate convert tDate to dateitems IF len(item 2 of tDate<2) THEN put "0" before item 2 of tDate IF len(item 3 of tDate<2) THEN put "0" before item 2 of tDate return (item 1 of tDate &"-" & item 2 of tDate &"-" & item 3 of tDate) END internationalDate ?? am I missing something? Worthy of a feature request? Sivakatirswami www.himalayanacademy.com From katir at hindu.org Tue Dec 19 14:52:48 2006 From: katir at hindu.org (Sivakatirswami) Date: Tue, 19 Dec 2006 09:52:48 -1000 Subject: Geometry No Longer Supported? In-Reply-To: References: <45877286.8040003@hindu.org> Message-ID: <45884310.9050503@hindu.org> OK, right 3693 yes, looks like similar same issue... some fields with left point anchored had their right point way off card and a few tool buttons running along the bottom of the card dropped out of sight into nether worlds below along with a verticle field list whose top was anchored.. the bottom also dropped out of sight. I was able to solve it by re-installing Galaxy, but using Rev' props pane for changing everyones size back to 20 pixel wide so everything popped back onto the card, and *then* resetting the geometry for each object by clicking the red connector in the Geometry panel and removing geometry for each object, resizing and re-positioning all the objects then adding the geometry back to each one then saving again. (Wheh!) Was able to create my distribution stack and send it off to users.. Meanwhile on next iteration I will probably write my own geometry handlers for this one. Question remains: let's say you just want to "wipe out Rev Geometry" .... clean it out of the stack entirely what do you do? I note in the docs I should be able to find some revGroup and delete that... anything else? Mark Smith wrote: > Sivakatirswami, this sounds like bug #3693. Please feel free to add > some votes. > > Best, > > Mark > > On 19 Dec 2006, at 05:03, Sivakatirswami wrote: > >> Is the Geometry Editor no long supported? >> >> I used to do my own geometry and then tried using rev's Geometry >> and thought it was pretty "cool" and did a few stacks with that as >> my tool. Now I see it doesn't appear in the 2.7 menus. >> >> Then in Galaxy it appears the custom prop with Rev Geometry got >> clobbered and my stack controls are "all over the place" and I'm >> stuck... how do I clear that? if it's no longer supported, fine, >> I'll write my own handlers but for the moment I just need to get >> the current "went insane" geometry out of the stack. >> >> I turned on Rev show rev props in the UI, but all I see is >> something called "Master" in the custom props set to "true" >> >> I deleted that... after removing Galaxy I used rev application >> broswer to select objects (now sent way off screen to crazy >> locations like top=2012...) So I have everything back in the main >> window of the card, but some objects are still resizing in ways I >> am unable to edit or control... I would revert to an earlier >> version, but I put a lot of work into an upgrade today... >> >> Help! >> >> Thanks >> >> Sivakatirswami >> >> _______________________________________________ use-revolution >> mailing list use-revolution at lists.runrev.com Please visit this url >> to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ use-revolution > mailing list use-revolution at lists.runrev.com Please visit this url to > subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Andre.Bisseret at inria.fr Tue Dec 19 14:58:01 2006 From: Andre.Bisseret at inria.fr (=?ISO-8859-1?Q? Andr=E9.Bisseret ?=) Date: Tue, 19 Dec 2006 20:58:01 +0100 Subject: Saving stack changes under Player In-Reply-To: <9F30D83B-0A1B-44CE-A0D4-247290BBCDAB@santacruz.k12.ca.us> References: <9F30D83B-0A1B-44CE-A0D4-247290BBCDAB@santacruz.k12.ca.us> Message-ID: <9D7E6383-EB88-4161-A25B-0A90F29512E8@inria.fr> Le 19 d?c. 06 ? 17:08, Mark Swindell a ?crit : > Is it possible to save changes made to stacks when run under the > Player? If so, what is the mechanism? At this point I just want > field text changes to be retained between sessions. But what about > adding cards and such as that? > > Thanks > Mark Yes it is possible, with a handler in the script of the stack on saveStack save this stack (or save stack "suchStack" end saveStack and a button (where you want) the script of which could be : on mouseUp saveStack end mouseUp If you want you could have a handler to allow the user to choose in case he is trying to close ; something like : on closeStackRequest answer "Save this stack ?" with "Yes" or "No" or "Cancel" if it is "Yes" then saveStack if it is "No" then close this stack exit closeStackRequest end if if it is "cancel" then exit closeStackRequest pass closeStackRequest end closeStackRequest Best regards from Grenoble Andr? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jbv.silences at club-internet.fr Tue Dec 19 15:20:18 2006 From: jbv.silences at club-internet.fr (jbv) Date: Tue, 19 Dec 2006 21:20:18 +0100 Subject: PDF and Rev References: <4587ECCD.B1CC3123@club-internet.fr> <458803E9.F0C8EB94@club-internet.fr> Message-ID: <45884982.BADF3B28@club-internet.fr> Stephen, I'm using Rev 2.5... > >Launch document? > > This was added in Rev 2.7.1 > > Just tested, this works in Rev 2.7.4gm Mac (without word wrap): > > launch document "/Applications Third > Party/PROGRAMMING/REVOLUTION/Revolution > Enterprise/2.7.1-gm-1/Documentation/pdf/users_guide/all.pdf" > > > > >These are native rev calls. These don't work for you? > > From FlexibleLearning at aol.com Tue Dec 19 15:07:27 2006 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Tue, 19 Dec 2006 15:07:27 EST Subject: Solstice salutations! Message-ID: <530.15b1fabf.32b9a07f@aol.com> >Solstice salutations! >>That is SO much better than the generic "Happy Holidays"! >>thanks. I concur, and perhaps the best we can hope for in these hyper-sensitive, criticism-aware times. But *please* don't get me started on that! /H From jacque at hyperactivesw.com Tue Dec 19 15:14:59 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Dec 2006 14:14:59 -0600 Subject: CPU timings In-Reply-To: References: Message-ID: <45884843.3080004@hyperactivesw.com> Jim Ault wrote: > On 12/19/06 10:12 AM, "J. Landman Gay" wrote: > >> I am trying to estimate the different timings between CPUs so I can >> adjust some animation scripts accordingly. My available hardware for >> testing is limited though. >> >> I have a Mac PowerBook G4 that runs at 864 MHz. I want to know how this >> would compare to a Pentium III running at 800 MHz. I think Pentiums are >> a little faster than Motorola chips, but in general, do you think they'd >> run at about the same speed? Or close? > > You could build a little test stack that did some operations and stored a > baseline value for these, then in the operating environ, trigger these, get > the new values and prorate. I've done this in the past and maybe I'll have to do it again. Was hoping to avoid it. ;( -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 19 15:17:39 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Dec 2006 14:17:39 -0600 Subject: CPU timings In-Reply-To: References: Message-ID: <458848E3.1050204@hyperactivesw.com> Scott Rossi wrote: > Recently, J. Landman Gay wrote: > >> I have a Mac PowerBook G4 that runs at 864 MHz. I want to know how this >> would compare to a Pentium III running at 800 MHz. I think Pentiums are >> a little faster than Motorola chips, but in general, do you think they'd >> run at about the same speed? Or close? > > IMO, I would say there may not be any "real" way to know. If your stack has > any kind of visual component to it, then the capabilities of the graphics > cards can affect performance as well, or at least perceived performance. If > your stack is processing only, then perhaps the systems may be close, but > someone else may have a better answer. I think you're probably right, but I was hoping. I guess Jim's test method is the one I'll have to use. Isn't a Pentium III/800Mhz a pretty old machine? Anyone know what's "average" out there in PC land? That is, if you were going to aim for a generic speed, what hardware would you use as a best-guess value? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobwarren at howsoft.com Tue Dec 19 15:47:48 2006 From: bobwarren at howsoft.com (Robert John Warren) Date: Tue, 19 Dec 2006 18:47:48 -0200 Subject: Fun with Icons on Linux Message-ID: <45884FF4.10507@howsoft.com> Robert John Warren wrote: > > To launch an important and promising RAD system for Linux > > which is riddled with bugs is NOT the way to MAKE a market. > > To neglect it for years on end is also NOT the way to MAKE > > a market. > Richard Gaskin Managing Editor, revJournal wrote: >If tens of millions of dollars from IBM and another billion from Wall Street can't make a market for Linux, I doubt there's much more that a handful of developers from Edinburgh could do. Look at all the other development systems already available for Linux, and look at Linux' dismal market share on the desktop after all these years. Oh, there's a problem alright, but it isn't a lack of development tools. ------------------------------------------------------------ I agree there is a problem, and you have just demonstrated it very clearly. Thanks for the insight. Best regards, Bob From sarah.reichelt at gmail.com Tue Dec 19 16:22:51 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 20 Dec 2006 07:22:51 +1000 Subject: Report Builder In-Reply-To: <6054990E-347D-4436-A317-6CBB37E0784B@videotron.ca> References: <6054990E-347D-4436-A317-6CBB37E0784B@videotron.ca> Message-ID: On 12/19/06, Gregory Lypny wrote: > Hello Everyone, > > Revolution's built-in help tells me that there's something called a > Report Builder under the Tools menu. I have only a Menu Builder and > a Database Query Builder. Does the Report Builder exist? > Not any more. There was a report builder in earlier versions, but it wasn't much good and has now been removed. Sarah From sarah.reichelt at gmail.com Tue Dec 19 16:25:12 2006 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 20 Dec 2006 07:25:12 +1000 Subject: Saving stack changes under Player In-Reply-To: <9F30D83B-0A1B-44CE-A0D4-247290BBCDAB@santacruz.k12.ca.us> References: <9F30D83B-0A1B-44CE-A0D4-247290BBCDAB@santacruz.k12.ca.us> Message-ID: On 12/20/06, Mark Swindell wrote: > Is it possible to save changes made to stacks when run under the > Player? If so, what is the mechanism? At this point I just want > field text changes to be retained between sessions. But what about > adding cards and such as that? > I seem to remember hearing about some setting that needed to be changed first, is it "secureMode"? It prevents file access and stack saving and I think it may be set to true by default in the player. HTH, Sarah From tereza at califex.com Tue Dec 19 16:29:27 2006 From: tereza at califex.com (Tereza Snyder) Date: Tue, 19 Dec 2006 15:29:27 -0600 Subject: international Date In-Reply-To: <4587C94D.4030802@hindu.org> References: <4587C94D.4030802@hindu.org> Message-ID: On Dec 19, 2006, at 5:13 AM, Sivakatirswami wrote: > Hypenated: YYYY-MM-DD, zero padded comes standard with SQL > but in Rev we have to do little dances like: > > FUNCTION internationalDate tDate > convert tDate to dateitems > IF len(item 2 of tDate<2) THEN put "0" before item 2 of tDate > IF len(item 3 of tDate<2) THEN put "0" before item 2 of tDate > return (item 1 of tDate &"-" & item 2 of tDate &"-" & item 3 of > tDate) > END internationalDate > > ?? am I missing something? For the padding problem, look up the format function, especially this bit : Note: If a zero is included immediately before the charLength parameter in any formatting incantation that allows padding, the resulting value is padded (if necessary) with zeroes instead of spaces. For example, the incantation %03s transforms "H" to "00H". > > Worthy of a feature request? It would be fun to have something like: set the dateFormat to "YYYY-MM-DD" put the formattedDate and set the timeFormat to "HH:MM" put the formattedTime where I could even specify: set the timeFormat to "H hours and M minutes" and have the formattedTime return "03 hours and 55 minutes" or something similar. Though with format() and merge() you can pretty much get the same thing : FUNCTION internationalDate tDate constant k4pad="%04d", k2pad="%02d" constant kDateStr="[[ format(k4pad,item 1 of tDate) ]]-[[format (k2pad, item 2 of tDate) ]]-[[format(k2pad, item 3 of tDate) ]]" convert tDate to dateitems return merge(kDateStr) end internationalDate Which you can customize for different formats. t (Alfredo Dawes) -- Tereza Snyder Califex Software, Inc. www.califexsoftware.com From geradamas at yahoo.com Tue Dec 19 16:29:37 2006 From: geradamas at yahoo.com (Richmond Mathewson) Date: Tue, 19 Dec 2006 21:29:37 +0000 (GMT) Subject: Solstice salutations! Message-ID: <552666.92277.qm@web37501.mail.mud.yahoo.com> I really believe the people who are really "hyper-sensitive, criticism-aware" are those with some sort of slightly unpleasant axes to grind. As I am not particularly insecure or worried that other people's points of view are going to dent my belief system I can take all the "Happy Ramadans", "Happy Diwalis" "Happy Christmases", "Happy Janmashtamis" and so on that are wished to me - and in every case I take it as I assume it is delivered; in a spirit of love and genuine good wishes. (And, if these wishes are delivered in a spirit other than that of love and so on, that is surely a problem for the wisher and not for me). For various rather complicated reasons (which I am neither going to explain nor justify) I think that Jesus was "a good egg" and, as such would like to extend (admittedly 6 days early) my best wishes to one and all on one of the days on which people celebrate his birthday. And for those who cannot fathom what I mean by that: Happy Christmas! sincerely, Richmond Mathewson ____________________________________________________________ "Its time to do Philosophy and stop worrying about what dead men said." Mathewson 2006 ____________________________________________________________ Send instant messages to your online friends http://uk.messenger.yahoo.com From stephenREVOLUTION at barncard.com Tue Dec 19 16:47:11 2006 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 19 Dec 2006 15:47:11 -0600 Subject: Solstice salutations! In-Reply-To: <552666.92277.qm@web37501.mail.mud.yahoo.com> References: <552666.92277.qm@web37501.mail.mud.yahoo.com> Message-ID: I too will refrain from any sectarian comments and just state what we can agree on; Jesus was a great guru among the other major gurus and we can celebrate his birthday without the politics ... and a lot of people can get off work and have a well deserved holiday with their loved ones! Merry Christmas and REV 2.75 for the new year!! >I really believe the people who are really > >For various rather complicated reasons (which I am >neither going to explain nor justify) I think that >Jesus was "a good egg" and, as such would like to >extend (admittedly 6 days early) my best wishes to one >and all on one of the days on which people celebrate >his birthday. > >And for those who cannot fathom what I mean by that: > >Happy Christmas! > >sincerely, Richmond Mathewson -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From ambassador at fourthworld.com Tue Dec 19 17:23:52 2006 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Dec 2006 14:23:52 -0800 Subject: Solstice salutations! Message-ID: <45886678.3070305@fourthworld.com> Stephen Barncard wrote: > I too will refrain from any sectarian comments and just state what we > can agree on; Jesus was a great guru among the other major gurus and > we can celebrate his birthday without the politics ... and a lot of > people can get off work and have a well deserved holiday with their > loved ones! First you say you'll refrain from sectrian comment and then you launch an attack against those who prefer making their employees work rather than fritter away time with their families. Are you anti-capitalism? Why do you hate freedom? Bah! - Ebeneezer From mdswindell at cruzio.com Tue Dec 19 18:24:44 2006 From: mdswindell at cruzio.com (Mark Swindell) Date: Tue, 19 Dec 2006 15:24:44 -0800 Subject: Saving stack changes under Player In-Reply-To: <9D7E6383-EB88-4161-A25B-0A90F29512E8@inria.fr> References: <9F30D83B-0A1B-44CE-A0D4-247290BBCDAB@santacruz.k12.ca.us> <9D7E6383-EB88-4161-A25B-0A90F29512E8@inria.fr> Message-ID: <80715794-B9FD-4B54-BE0C-652557762C25@cruzio.com> Thank you. Pretty complex stuff. :-) Mar On Dec 19, 2006, at 11:58 AM, Andr?.Bisseret wrote: > on saveStack > save this stack > end saveStack From mdswindell at cruzio.com Tue Dec 19 18:42:42 2006 From: mdswindell at cruzio.com (Mark Swindell) Date: Tue, 19 Dec 2006 15:42:42 -0800 Subject: Saving stack changes under Player In-Reply-To: References: <9F30D83B-0A1B-44CE-A0D4-247290BBCDAB@santacruz.k12.ca.us> Message-ID: <93087FAF-471E-40E1-A882-55934F53C11D@cruzio.com> Sarah, It seemed to work without changing modes. Thanks for the heads up, though. I've saved it in the event something comes up. Mark On Dec 19, 2006, at 1:25 PM, Sarah Reichelt wrote: > On 12/20/06, Mark Swindell wrote: >> Is it possible to save changes made to stacks when run under the >> Player? If so, what is the mechanism? At this point I just want >> field text changes to be retained between sessions. But what about >> adding cards and such as that? >> > > I seem to remember hearing about some setting that needed to be > changed first, is it "secureMode"? It prevents file access and stack > saving and I think it may be set to true by default in the player. > > HTH, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From programmer711 at gmail.com Tue Dec 19 19:01:10 2006 From: programmer711 at gmail.com (Brad Sampson) Date: Tue, 19 Dec 2006 17:01:10 -0700 Subject: playSelection problems Message-ID: <72bdb4b20612191601m18cb9df8uf6b5d4cd3f9de10b@mail.gmail.com> I am having a problem. I am using the playSelection property because I want my movie to end at the endTime. However, the playStopped message doesn't seem to be sent. What is the problem? Is there a way to make it be sent, or do I have to use a repeat loop that constantly checks if the currentTime is past the endTime? Thanks Brad CMSEC From josh at dvcreators.net Tue Dec 19 19:09:07 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 19 Dec 2006 16:09:07 -0800 Subject: international Date In-Reply-To: <4587C94D.4030802@hindu.org> References: <4587C94D.4030802@hindu.org> Message-ID: Just in the remote chance this is at all helpful to anyone, here are my SQL date/time conversion routines, I'm sure they could be streamlined... Also, HAPPY HANNUKAH AND XMAS EVERYONE!!! ------------------------------------------------- -- NowSQLTimeStamp ------------------------------------------------- FUNCTION NowSQLTimeStamp return (convert2SQLDate(the english date) && convert2SQLTime(the english time)) END NowSQLTimeStamp ------------------------------------------------- -- RegDateFromSQL ------------------------------------------------- FUNCTION RegDateFromSQL pInDate set the itemdelimiter to "-" put item 2 of pInDate & "/" & item 3 of pInDate & "/" & char 3 to 4 of item 1 of pInDate into tRegDate set the itemdelimiter to "/" IF char 1 of item 1 of tRegDate = 0 THEN delete char 1 of item 1 of tRegDate IF char 1 of item 2 of tRegDate = 0 THEN delete char 1 of item 2 of tRegDate IF tRegDate = "//" THEN put empty into tRegDate return tRegDate END RegDateFromSQL ------------------------------------------------- -- RegTimeFromSQL ------------------------------------------------- FUNCTION RegTimeFromSQL pInTime set the itemdelimiter to ":" delete the last item of pInTime IF item 1 of pInTime > 12 THEN put item 1 of pInTime - 12 into item 1 of pInTime put " PM" after pInTime ELSE IF item 1 of pInTime = 12 THEN put " PM" after pInTime ELSE put " AM" after pInTime IF char 1 to 2 of pInTime = "00" THEN put "12" into char 1 to 2 of pInTime ELSE IF char 1 of pInTime = 0 THEN delete char 1 of pInTime END IF END IF IF pInTime = " AM" THEN put empty into pInTime return pInTime END RegTimeFromSQL ------------------------------------------------- -- Convert2SQLDate ------------------------------------------------- FUNCTION Convert2SQLDate pOldDate IF pOldDate = "" THEN put "" into tNewDate ELSE set the itemdel to "/" IF the number of chars of item 1 of pOldDate = 1 THEN put "0" before pOldDate IF the number of chars of item 2 of pOldDate = 1 THEN put "0" before item 2 of pOldDate IF the number of chars of item 3 of pOldDate = 2 THEN put "20" before item 3 of pOldDate put item 3 of pOldDate & "-" & item 1 of pOldDate & "-" & item 2 of pOldDate into tNewDate END IF return tNewDate END Convert2SQLDate ------------------------------------------------- -- Convert2SQLTime ------------------------------------------------- FUNCTION Convert2SQLTime pOldTime set the itemdel to ":" IF the last word of pOldTime = "PM" AND (item 1 of pOldTime <> "12") THEN add 12 to item 1 of pOldTime END IF IF the last word of pOldTime = "AM" AND (item 1 of pOldTime = "12") THEN put "00" into item 1 of pOldTime END IF IF the number of chars of item 1 of pOldTime = 1 THEN put "0" before pOldTime delete the last word of pOldTime put ":00" after pOldTime IF pOldTime = ":00" THEN put empty into pOldTime END IF return pOldTime END Convert2SQLTime ------------------------------------------------- -- DateAndTimeFromSQL ------------------------------------------------- FUNCTION DateAndTimeFromSQL pSQLDateAndTime put word 1 of pSQLDateAndTime into tDate IF tDate = "0000-00-00" THEN put "" into tDate put word 2 of pSQLDateAndTime into tTime IF tTime = "00:00:00" THEN put "" into tTime IF tDate & tTime = "" THEN --return "" ELSE put RegDateFromSQL(tDate) && RegTimeFromSQL(tTime) into tReturn END IF return tReturn END DateAndTimeFromSQL On Dec 19, 2006, at 3:13 AM, Sivakatirswami wrote: > Am I the only one who continues to be perplexed as to why the > international date format is not a standard engine function? > > Hypenated: YYYY-MM-DD, zero padded comes standard with SQL > but in Rev we have to do little dances like: > > FUNCTION internationalDate tDate > convert tDate to dateitems > IF len(item 2 of tDate<2) THEN put "0" before item 2 of tDate > IF len(item 3 of tDate<2) THEN put "0" before item 2 of tDate > return (item 1 of tDate &"-" & item 2 of tDate &"-" & item 3 of > tDate) > END internationalDate > > ?? am I missing something? > > Worthy of a feature request? > > Sivakatirswami > www.himalayanacademy.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 josh at dvcreators.net Tue Dec 19 19:10:21 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 19 Dec 2006 16:10:21 -0800 Subject: Report Builder In-Reply-To: <6DA163C5-8BA3-4BEE-8801-67D8D8342935@mac.com> References: <6DA163C5-8BA3-4BEE-8801-67D8D8342935@mac.com> Message-ID: <4C878E27-EF95-47C1-B108-32CE4A49D143@dvcreators.net> This might be helpful: http://www.quartam.com/ On Mar 17, 2006, at 4:22 AM, liamlambert wrote: > How do I add Report Builder to the tool menu in 2.7 > It is there in a file ToolSet but does not show up in the > tool menu > thanks > Liam Lambert > liamlambert at mac.com > IRELAND > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From josh at dvcreators.net Tue Dec 19 19:15:27 2006 From: josh at dvcreators.net (Josh Mellicker) Date: Tue, 19 Dec 2006 16:15:27 -0800 Subject: Internet Enabled Desktop Apps Alive and Well In-Reply-To: <3B1408DB-BC5F-45E6-951F-03DE36727F8E@califex.com> References: <4587C582.5050303@hindu.org> <3B1408DB-BC5F-45E6-951F-03DE36727F8E@califex.com> Message-ID: On Dec 19, 2006, at 6:27 AM, Tereza Snyder wrote: > > Solstice salutations! I am highly offended. Worship of the seasons is associated with unwholesome pagan ritual and witchcraft, and threatens our American way of... never mind, I can't even finish this sentence with a straight face. ;-) Back atcha Tereza, you are the only one who appreciated my Fireworks import stack. :'-( lol From dcragg at lacscentre.co.uk Tue Dec 19 19:45:21 2006 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 20 Dec 2006 00:45:21 +0000 Subject: international Date In-Reply-To: <4587C94D.4030802@hindu.org> References: <4587C94D.4030802@hindu.org> Message-ID: On 19 Dec 2006, at 11:13, Sivakatirswami wrote: > Am I the only one who continues to be perplexed as to why the > international date format is not a standard engine function? > > > Worthy of a feature request? Go for it! For what it's worth, if you only have to insert into a MySQL datetime field (not sure about other SQL databases), it will accept any delimeter in the formatting, including commas. So you can use item 1 to 6 of a dateitems variable and use it directly without any conversion. Happy Day Before Boxing Day. Cheers Dave (aka Sebastian Boyette) From macstacks at earthlink.net Tue Dec 19 21:44:21 2006 From: macstacks at earthlink.net (Bruce A. Pokras) Date: Tue, 19 Dec 2006 21:44:21 -0500 Subject: PDF and Rev In-Reply-To: <45884982.BADF3B28@club-internet.fr> References: <4587ECCD.B1CC3123@club-internet.fr> <458803E9.F0C8EB94@club-internet.fr> <45884982.BADF3B28@club-internet.fr> Message-ID: >Stephen, > >I'm using Rev 2.5... > >> >Launch document? >> >> This was added in Rev 2.7.1 >> >> Just tested, this works in Rev 2.7.4gm Mac (without word wrap): >> >> launch document "/Applications Third >> Party/PROGRAMMING/REVOLUTION/Revolution >> Enterprise/2.7.1-gm-1/Documentation/pdf/users_guide/all.pdf" >> >> > >> >These are native rev calls. These don't work for you? > > > JB, Here are some shell scripts that were actually posted a long while ago, so they might work under Rev 2.5. They will launch the default browser, PDF reader or text editor (depending upon the type of file it is you are trying to launch). I have them in an app of mine, and they seem to work fine. Bruce Pokras mac-stacks at kagi.com Blazing Dawn Software www.blazingdawn.com on DisplayFile launchFile -- launchFile is the full path to the file if the platform is "MacOS" and char 1 of the systemVersion is "1" then openMac launchfile -- if there is not going to be a Classic version, there's no need to test for the systemVersion else if the platform is "Win32" then get the shortFilePath of launchFile replace "/" with "\" in it if the systemVersion contains "Windows 4" then openWin4 it else if the systemversion contains "NT" then openWin5 it end if end if end displayFile on openMac theDoc get shell("/usr/bin/open '" & theDoc & "'" ) end openMac on openWin4 theDoc set the hideConsoleWindows to true get shell("cmd /c" && theDoc ) end openWin4 on openWin5 theDoc set the hideConsoleWindows to true put shell("start" && theDoc ) end openWin5 From jacque at hyperactivesw.com Tue Dec 19 23:15:07 2006 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 19 Dec 2006 22:15:07 -0600 Subject: playSelection problems In-Reply-To: <72bdb4b20612191601m18cb9df8uf6b5d4cd3f9de10b@mail.gmail.com> References: <72bdb4b20612191601m18cb9df8uf6b5d4cd3f9de10b@mail.gmail.com> Message-ID: <4588B8CB.9090205@hyperactivesw.com> Brad Sampson wrote: > I am having a problem. I am using the playSelection property because > I want my movie to end at the endTime. However, the playStopped > message doesn't seem to be sent. What is the problem? Is there a way > to make it be sent, or do I have to use a repeat loop that constantly > checks if the currentTime is past the endTime? See "bug": When a selection is set, you get a "playPaused" message instead of a "playStopped". I've seen the same problem when NO selection is set, though. If I remember right, it works okay in Windows but playStopped isn't sent in OS X. I ended up having to run a "send in