From ludovic.thebault at laposte.net Sun Sep 1 07:13:01 2002 From: ludovic.thebault at laposte.net (Ludovic Th=?ISO-8859-1?Q?=E9?=bault) Date: Sun Sep 1 07:13:01 2002 Subject: get the thumbnail of an eps file ? Message-ID: <20020901140958.5E873%00000000@laposte.net> Hello, i want to get the thumbnail of an eps file. On MacOs files i can, i pickup the PICT resource. With pc files, i get the binarydata but i don't know how to convert it in image. I try "imagedata" but it doesn't work. Someone can help me ? Thanks. PS : With the next release of rev, it will possible to view eps file on rev ? -- Ludovic THEBAULT (Sorry for my poooor english :-) From bvg at mac.com Sun Sep 1 08:41:01 2002 From: bvg at mac.com (Bjoernke von Gierke) Date: Sun Sep 1 08:41:01 2002 Subject: An observation Message-ID: <4441170.1030887594960.JavaMail.bvg@mac.com> I was using Runrev to format a list which I copied from my browser. As Mozilla copied the List as text, and neither tab nor return delimeted it, I had to find another way to read it. Instead of tabs the text had fortunately multiple spaces, so I could use that as basis, and then count the items until a return had to show up. I first used multiple "for each chunktype" loops. Then I remembered the "replace chunk with chunk", and used that in a new version. afterwards i compared speed, and found out, that the "replace" command was almost twice as fast! That will probably not speed up many scripts, but I think it is good to know what command is faster/the fastest for a certain task (especially as there are that many diffrent things that do the same!), so I tought maybe others want to know this too... Below are the two scripts I used for the speed comparision. I striped the part which included the returns, as it was the same in both scripts (it didn't change the speed compared to each other tough). I repeat the "replace" 10 times, to get rid of all aditional spaces. Below these two scripts is the script which I used to compare the time they each need. on MouseUp put field "Input" into theInput repeat for each char theChar in theInput if theChar = oldChar and theChar = space then add one to spacecount else if spaceCount <> 0 then put tab after theResult put 0 into spaceCount end if put theChar after theResult end if put theChar into oldChar end repeat put word 1 to -1 of theResult into field "Output" end MouseUp on MouseUp put field "Input" into theInput repeat for 10 times replace " " with " " in theInput end repeat replace " " with tab in theInput put theInput into field "Output" end MouseUp on mouseUp repeat for 200 times put the Ticks into Ticki send mouseUp to button (field "Name") put the Ticks - Ticki & "," after myresult end repeat put sum(myresult) end mouseUp From kee at kagi.com Sun Sep 1 09:18:02 2002 From: kee at kagi.com (Kee Nethery) Date: Sun Sep 1 09:18:02 2002 Subject: platform() = MacOS (9 with ascii(13) or X with ascii(10))? In-Reply-To: <006801c25119$47e24a80$6601a8c0@mckinley.dom> References: <00f201c2504a$aa82b550$6601a8c0@mckinley.dom> <001201c25101$65e6d900$6601a8c0@mckinley.dom> <006801c25119$47e24a80$6601a8c0@mckinley.dom> Message-ID: > >> > > "if char 1 of systemVersion() < 7", >> > >> >If Rev doesn't run on systems < 7, how can you get the code above to even >> >run? >> >> Hi Ken, >> >> Precisely because Rev doesn't run on systems < 7, if the first >> character of systemVersion() < 7 then OS X or higher is running: >> >> function notClassicMac -- after testing platform is Mac >> return (char 1 of systemVersion() < 7) >> end notClassicMac > > -- > > The purpose of the identifying the platform function was to be able to choose the correct Revolution line endings for that platform. Correct me if I am wrong but I believe I have been informed that on all platforms inside a Revolution text field the proper line ending is ascii(10). The proper Revolution line ending is the same on all platforms regardless whether the platform itself uses CRLF or LF or ascii(13) as it's native method of delineating line endings within a text file. Kee From katir at hindu.org Sun Sep 1 12:59:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sun Sep 1 12:59:01 2002 Subject: CGI engine on Darwin In-Reply-To: <200209011602.MAA06466@www.runrev.com> Message-ID: <4B528AFC-BDD4-11D6-8B1A-003065FB9830@hindu.org> On Sunday, September 1, 2002, at 06:02 AM, use-revolution-request at lists.runrev.com wrote: > 1. I've found out that my Web Hosting Provider uses Linux servers. > Accordingly I've downloaded the Linux Engine, untared/unzipped it and > uploaded it to the remote server. After changing the permissions, it > still > does not work. My guess is because I did this on a Mac instead of a > Unix > box, which I don't have. I suppose the same would apply to libUrl > library > and any other rev stacks that I upload to the server. mmm well, I've done it here... on my mac, for a solaris: make sure all your FTP transfers are binary... > 2. My local server scenario works with the exception of > > put URL "http://www.wahtever.com" > > even with the libURL stack in the CGI-Executables folder (permissions > set, > start using ... etc., set). Your suggestions above are useful, but > don't > address the specific advantages of the Put URL command (where you can > pull > specific chunks of html data from other web pages and massage them > into your > own cgi generated page, to cite just one example). Right... the libURL opens vast vistas.... assuming you do get the engine working all you need to do is put over a stack with the libURL in it... you don't need a unix machine. I think it could be as easy as making a copy of the revLibrary stack (to be safe). then cut the script out of the button: revLibURL and paste it into the stack script... delete all the other buttons and scripts and then FTP that to the site and call it with "start using." > I suppose I'm excited as many people on this list must be because not > knowing Perl and just using Transcript language to create custom back > end > solutions AND integrating that with databases is really something. > Indeed! > Tim From dan at clearvisiontech.com Sun Sep 1 13:02:01 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun Sep 1 13:02:01 2002 Subject: List Files Message-ID: Hi! My application creates files and I want to provide a way for the user to post these files to a website or file server. Uploading and Downloading the files is no problem. But, I want to list the files that are currently on the website or file server. How do you do this? I tried using the "files" and "folders" functions, but I can't get the defaultFolder property set to a non-local directory. For example: set the defaultFolder to "ftp://user:passowrd at ftp.webSite.com" returns "Can't open directory." Anyone have any suggestions? Thanks! Dan From ambassador at fourthworld.com Sun Sep 1 13:49:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Sep 1 13:49:01 2002 Subject: List Files In-Reply-To: Message-ID: Dan Friedman wrote: > My application creates files and I want to provide a way for the user to > post these files to a website or file server. Uploading and Downloading the > files is no problem. But, I want to list the files that are currently on > the website or file server. How do you do this? > > I tried using the "files" and "folders" functions, but I can't get the > defaultFolder property set to a non-local directory. For example: > > set the defaultFolder to "ftp://user:passowrd at ftp.webSite.com" returns > "Can't open directory." > > Anyone have any suggestions? Put "/" after the URL to denote a directory. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From monte at sweattechnologies.com Sun Sep 1 17:09:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Sep 1 17:09:01 2002 Subject: Icons on OS X Message-ID: Hi How do we associate icons with file types and standalones on OS X. I went through some archives and found a discussion on it including Troy and Tony but it seemed to give up. Rev does it and I'm sure others have done it by now so there must be a way. Perhaps Scott or Kevin might want to shed some light on this???? I'm using Rev 1.1.1. But have little Mac experience so a step by step instruction would be good. I have downloaded Iconographer is there a better tool? I tried ResEdit but it crashed. Thanks in advance Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile: (+61) 0421 138 274 From jperryl at ecs.fullerton.edu Sun Sep 1 18:14:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun Sep 1 18:14:01 2002 Subject: Where did all my images go?? In-Reply-To: Message-ID: Hi again, > I just tried your recipe and got a good result: > How different is this recipe from what you're doing? > --It's not. I think it's safe to say that it is far more likely that I did some dumb *ss thing such as move the images without thinking about it than that I alone have some weird problem. It's not my recollection, but I wouldn't want to base any mission-critical system on my memory. Still, when I move a copy of said graphic back to its original location, no picture. > You should. I've been doing it here for years. What does the script that's > not performing as you'd expect look like? Okay, here goes. On some card, I used the File -> Import as Control menu command to successively import the following: "gryffindor.gif", "slytherin.gif", "hufflepuff.gif", & the other one.. uh.. oh yeah, "ravenclaw.gif". I layer them on top of one another so that when they are to be made visible, they will occur in the correct (same) location. I then successively double-click each image to get its properties palette, unclick the "visible" property and rename each successively as "Gryffindor", "Slytherin", "Hufflepuff" and "Ravenclaw". I then open the card with this script: on openCard global theHouse if theHouse = "Gryffindor" then set the visible of image "Gryffindor" to true put "You belong in Gryffindor! Where dwell the brave at heart. Their daring, nerve and chivalry . Set Gryffindors apart. " into cd fld "HouseInfo" end if if theHouse = "Hufflepuff" then set the visible of image "Hufflepuff" to true put "You belong in Hufflepuff! Where they are just and loyal. Those patient Hufflepuffs are true, and unafraid of toil. " into cd fld "HouseInfo" end if if theHouse = "Ravenclaw" then set the visible of image "Ravenclaw" to true put "You belong in wise old Ravenclaw! If you've a ready mind! Where those of wit and learning, Will always find their kind. " into cd fld "HouseInfo" end if if theHouse = "Slytherin" then set the visible of image "Slytherin" to true put "You belong in Slytherin! You'll make you real friends. Those cunning folk use any means, To achieve their ends. " into cd fld "HouseInfo" end if end openCard on closeCard global theHouse put empty into cd fld "HouseInfo" if theHouse = "Slytherin" then set the visible of image "Slytherin" to false end if if theHouse = "Ravenclaw" then set the visible of image "Ravenclaw" to false end if if theHouse = "Hufflepuff" then set the visible of image "Hufflepuff" to false end if if theHouse ="Gryffindor" then set the visible of image "Gryffindor" to false end if end closeCard Okay, now I know I need to get with the program and use case statements/switch commands. Still... No pictures! I try to set the visible of each to true/false using the message box "set the visible of image "Gryffindor" to true/false". Doesn't work. However, if I instead use "set the visible of image "gryffindor.gif" to true/false", it works. Let me try once more just to ensure that I'm not smoking anything funny... Okay, it 'shows' a greyed-out block where the image should be but no image; similarly, it hides said block. I double-click this block and check under the "image" tab and see that it's trying to link to a file in a given (new) directory. I then check that directory. The image file is there. Mind you, I've also previously imported said file as a control and hidden it with a new name. I am getting dizzy chasing my tail... Okay, I just deleted the link to the external image, and sent openCard to that card. Bingo! Image. I manually changed theHouse and sent openCard again. Grey block for external image. Delete it. sent openCard again. Bingo again. Was it perhaps becoming confused (certainly as I was) by the two images, one internal and one external, both named, say, "Gryffindor"? Because, certainly each of the images *was* imported, and each of the links to the external file(s) should have linked to an image that *was* there. Is this to be filed under the category of "stupid user error"? Judy Perry From troy at rpsystems.net Sun Sep 1 18:15:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sun Sep 1 18:15:01 2002 Subject: Icons on OS X In-Reply-To: Message-ID: <7685B61C-BE00-11D6-AB0D-000393853D6C@rpsystems.net> On Sunday, September 1, 2002, at 06:07 PM, Monte Goulding wrote: > How do we associate icons with file types and standalones on OS X. I > went > through some > archives and found a discussion on it including Troy and Tony but it > seemed > to give up. Rev does it and I'm sure others have done it by now so there > must be a way. > > Perhaps Scott or Kevin might want to shed some light on this???? That would be great, Monte, since for my part the process fizzled out. I cannot seem to reliably get my documents to launch and open in their Rev parent applications. We have tried the Apple events route, and have not had 100% results. It seems a shame that one cannot assign document types in the builder (sort of the way RealBasic does.) But if it must be done manually, I'd love to get a sure-fire recipe. -- Troy RPSystems, LTD www.rpsystems.net From ambassador at fourthworld.com Sun Sep 1 18:35:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Sep 1 18:35:01 2002 Subject: Where did all my images go?? In-Reply-To: Message-ID: Thanks for posting the code. I think this may be worth trying: Set the alwaysbuffer of your image objects to true and let me know what happens. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From monte at sweattechnologies.com Sun Sep 1 18:38:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Sep 1 18:38:01 2002 Subject: Icons on OS X In-Reply-To: <7685B61C-BE00-11D6-AB0D-000393853D6C@rpsystems.net> Message-ID: > > How do we associate icons with file types and standalones on OS X. I > > went > > through some > > archives and found a discussion on it including Troy and Tony but it > > seemed > > to give up. Rev does it and I'm sure others have done it by now so there > > must be a way. > > > > Perhaps Scott or Kevin might want to shed some light on this???? > > That would be great, Monte, since for my part the process fizzled out. I > cannot seem to reliably get my documents to launch and open in their Rev > parent applications. We have tried the Apple events route, and have not > had 100% results. It seems a shame that one cannot assign document types > in the builder (sort of the way RealBasic does.) But if it must be done > manually, I'd love to get a sure-fire recipe. > Yes, I'm in a bit of a panic now as I have accepted a contract on the assumption that it can be done. It MUST be able to be done by the way because anything that Rev or MC do we can but the how is not always clear. I really think there needs to be more docs on building truly cross platform apps. I just found out yesterday that the option button on OS X will use any menu metachars that are in the button when the Windows one does not. The only way for me to get around the problem was to change to a list field for that interface. Don't get me started on the different sizes of tabs on tabbed buttons! Anyway I'm sure someone has some info on this it's just a matter on keeping our discussion going on long enough for Kevin or Scott or some other guru to notice it ;-) Cheers Monte From ambassador at fourthworld.com Sun Sep 1 18:43:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Sep 1 18:43:01 2002 Subject: Icons on OS X In-Reply-To: <7685B61C-BE00-11D6-AB0D-000393853D6C@rpsystems.net> Message-ID: Troy Rollins wrote: > > On Sunday, September 1, 2002, at 06:07 PM, Monte Goulding wrote: > >> How do we associate icons with file types and standalones on OS X. I >> went >> through some >> archives and found a discussion on it including Troy and Tony but it >> seemed >> to give up. Rev does it and I'm sure others have done it by now so there >> must be a way. >> >> Perhaps Scott or Kevin might want to shed some light on this???? > > That would be great, Monte, since for my part the process fizzled out. I > cannot seem to reliably get my documents to launch and open in their Rev > parent applications. We have tried the Apple events route, and have not > had 100% results. It seems a shame that one cannot assign document types > in the builder (sort of the way RealBasic does.) But if it must be done > manually, I'd love to get a sure-fire recipe. OS X associations are contained in a plist, which can either be a resource or part of a package. With the MC 2.4.2 engine and earlier (thus also Rev 1.1), modifying the resource of type 'plst" ("Property LiST") is the simplest way. The MC 2.4.3 engine requires working with packages, so be advised you'll need to update any automated build systems. The "Anatomy of a Bundle" article at Apple's dev site is useful: -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From monte at sweattechnologies.com Sun Sep 1 18:55:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Sep 1 18:55:01 2002 Subject: Icons on OS X In-Reply-To: Message-ID: > With the MC 2.4.2 engine and earlier (thus also Rev 1.1), modifying the > resource of type 'plst" ("Property LiST") is the simplest way. Thanks Richard My lack of Mac experience requires me to ask how to do this. I tried downloading ResEdit as advised by the Iconographer docs but it crashed on OS X 10.1.4 Any step by step instructions including apps needed would be most welcome. Cheers Monte > > The MC 2.4.3 engine requires working with packages, so be advised you'll > need to update any automated build systems. > > The "Anatomy of a Bundle" article at Apple's dev site is useful: > From ambassador at fourthworld.com Sun Sep 1 19:15:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Sep 1 19:15:01 2002 Subject: Icons on OS X In-Reply-To: Message-ID: Monte Goulding wrote: > My lack of Mac experience requires me to ask how to do this. I tried > downloading ResEdit as advised by the Iconographer docs but it crashed on OS > X 10.1.4 > Any step by step instructions including apps needed would be most welcome. Resolve the issue with Iconographer and that'll take care of the graphics part. To assign those graphics, just take a look at the 'plst' resource. Copy it to a text editor - it's a simple XML structure -- then just paste it back when you're done. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From troy at rpsystems.net Sun Sep 1 19:20:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sun Sep 1 19:20:01 2002 Subject: Icons on OS X In-Reply-To: Message-ID: <815D634D-BE09-11D6-B188-000393853D6C@rpsystems.net> On Sunday, September 1, 2002, at 07:53 PM, Monte Goulding wrote: > My lack of Mac experience requires me to ask how to do this. I tried > downloading ResEdit as advised by the Iconographer docs but it crashed > on OS > X 10.1.4 > Any step by step instructions including apps needed would be most > welcome. Richard's instructions are good, but I find it a real shame that as much as Rev does for you along the way - it leaves you in the lurch for this very crucial stage. You can do practically everything from within the environment - and then when it comes time to distribute, out comes the cryptic pList editor... ResEdit is NOT a good choice under OSX, it is REALLY showing it age now, and is ill prepared to deal with bundles. The plist editor supplied with apple development tools is OK for this, but something is still missing... perhaps a step by step recipe. Ken Ray gave us some good insights a while back, but unfortunately, once you start to tear apart the Rev build, it gets pretty ugly. The really sad part is that we found editing the Windows registry using the Transcript tools FAR easier than getting the same functions to work in OSX - but of course, Rev provides no real help there. -- Troy RPSystems, LTD www.rpsystems.net From monte at sweattechnologies.com Sun Sep 1 19:44:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Sep 1 19:44:01 2002 Subject: Icons on OS X In-Reply-To: <815D634D-BE09-11D6-B188-000393853D6C@rpsystems.net> Message-ID: Would it be possible to automate all this? I guess once you've done it once you can use the "copy resources from file" option in the Dist Builder???? > > ResEdit is NOT a good choice under OSX, it is REALLY showing it age now, > and is ill prepared to deal with bundles. The plist editor supplied with > apple development tools is OK for this, but something is still > missing... perhaps a step by step recipe. Ken Ray gave us some good > insights a while back, but unfortunately, once you start to tear apart > the Rev build, it gets pretty ugly. The really sad part is that we found > editing the Windows registry using the Transcript tools FAR easier than > getting the same functions to work in OSX - but of course, Rev provides > no real help there. > > -- > Troy > RPSystems, LTD > www.rpsystems.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From troy at rpsystems.net Sun Sep 1 19:58:03 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sun Sep 1 19:58:03 2002 Subject: Icons on OS X In-Reply-To: Message-ID: On Sunday, September 1, 2002, at 08:43 PM, Monte Goulding wrote: > Would it be possible to automate all this? I guess once you've done it > once > you can use the "copy resources from file" option in the Dist > Builder???? Great question. I hope someone knows the answer. I should think that once done for a project, you could indeed take that route - for THAT project. Yes, obviously automation of all of this would be ideal. I wish Rev had the capacity to handle that part in the distribution builder - assignment of an icns file, and in addition to setting creator code, setting "child" document type. Then all this external editing of the "finished" product wouldn't be required. Currently, it doesn't feel very "finished". Take a look at your standalone in "get info" - all that Version 1.1.1 stuff - huh? Gee, and we thought our program was version 1.0. Cause for yet another trip to the resource editor. :-( I'm seriously hoping that either there is a clear process for tidying this up, or that the next version patches some of these holes for us. -- Troy RPSystems, LTD www.rpsystems.net From ambassador at fourthworld.com Sun Sep 1 20:09:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Sep 1 20:09:01 2002 Subject: Icons on OS X In-Reply-To: <815D634D-BE09-11D6-B188-000393853D6C@rpsystems.net> Message-ID: Troy Rollins wrote: > Richard's instructions are good, but I find it a real shame that as much > as Rev does for you along the way - it leaves you in the lurch for this > very crucial stage. You can do practically everything from within the > environment - and then when it comes time to distribute, out comes the > cryptic pList editor... > > ResEdit is NOT a good choice under OSX, it is REALLY showing it age now, > and is ill prepared to deal with bundles. The plist editor supplied with > apple development tools is OK for this, but something is still > missing... perhaps a step by step recipe. Ken Ray gave us some good > insights a while back, but unfortunately, once you start to tear apart > the Rev build, it gets pretty ugly. The really sad part is that we found > editing the Windows registry using the Transcript tools FAR easier than > getting the same functions to work in OSX - but of course, Rev provides > no real help there. I wish it were in place right now as well, and I understand they're working on adding a more streamlined build process ASAP. Given that the resource fork is on the way out and that the 'plst' spec has already changed at least once, I'm patient. After all, the Windows registry has been around a long time, and the spec is stable and widely documented (even O'Reily has a good registry book), so we would expect the support for that to be more mature. It's not hard to modify the plst -- it's just text, in self-documenting XML. The only tool you need is Simpletext (or the OS X equivalent). If Apple's ResEdit is crashing on your system, could that be related to whatever's causing Iconographer to crash? I've had good luck with ResEdit in the penalty box - er, compatibiity layer. :) And if you really want to simplify things you could take a few minutes and write your own plst editor: on mouseUp answer file "Select an app:" if it is empty then exit to top put GetResource(it,"plst",0) end mouseUp There's also a corresponding SetResource to put the data back when you're done. I'm not suggesting that Rev forces you to write your own resource editor just to build a standalone. You can do it today using the tools Apple gives us for this interim method, and meanwhile Rev is working on a longer-term solution. For my own work, their priorities have been useful. The things I truly need from them are the things I can't do on my own; the rest are nice to have, but less essential to me. Everyone's mileage varies, of course, depending on the nature of their work. So until the Rev folks give me a one-click build for all platforms, I've found modifying the plst to be acceptably simple and quick: just use ResEdit and SimpleText; you just do it just once for each product version you make and don't think about it in between. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Sun Sep 1 20:09:06 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Sep 1 20:09:06 2002 Subject: Icons on OS X In-Reply-To: Message-ID: Monte Goulding wrote: > > Would it be possible to automate all this? I guess once you've done it once > you can use the "copy resources from file" option in the Dist Builder???? That's how most folk do it. You just change it once, keep it in your build rsource file, and you never need to thinbk about it again until your next version. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ambassador at fourthworld.com Sun Sep 1 20:15:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Sep 1 20:15:00 2002 Subject: Look Sidewards - Reports DataPro / Standard Protocols In-Reply-To: <20020826203432.76906.qmail@web11903.mail.yahoo.com> Message-ID: Jan Schenkel wrote: > Since you offered so nicely :-) > > One of the most common reports in an accountancy > program is the general accounts balance. > In the Belgian standardised Minimal General Account > System, the general accounts have number ranging from > 100000 to 799999 (six digits). > > What we need to print is: > 1) the account number > 2) the account name > 3) current period's total debit bookings > 4) current period's total credit bookings > 5) current period's balance (column 4 - 3) > 6) current financial year's total debit bookings > 7) current financial year's total credit bookings > 8) current financial year's balance (column 7 - 6) > > Subtotals would be required on digits 1 through 5. > Headers on every page, containing the company data. > Summary page with the parameters that were set in the > selection screen. > > All the data comes from a *SQL database and is ready > in a revdb_cursor. > > What I can see as an answer is: > > 1) clone an empty stack ; > > 2) set size to A4-landscape : > 2.1) 27.3 x 21 centimeters ; > 2.2) ~ 774 x 595 picles ; > > 3) make the headers : > 3.1) clone the fields ; > 3.2) populate with company data ; > > 4) go to the first element in the cursor ; > > 5) loop through the detail lines : > 5.1) see if a subtotal needs to be printed, > -> if so clone fields for subtotal line, populate with > subtotals, reset subtotal counters > -> check if another subtotal needs to be printed for a > 'higher' level > 5.2) clone 8 fields per detail line ; > 5.3) populate fields with data from cursor ; > 5.4) revdb_movenext ; > 5.5) if the distance between the bottom of the field > and the bottom of the card is too small to squeeze in > an extra line,, create new card and print header, > reset detail_counter_for_page > > 6) when we've reached the end of the cursor, clone a > bigger field, and put the parameters in there. > > The resulting stack could be used both for viewing > on-screen, and for printing to paper. > > Now for more technical depth, I'd say we could > implement the headers as a group with background > property, so that whenever we create a new card it's > there. > Cloning the other fields in the correct position is > feasible, if we keep track of the next 'top' to place > the fields at. > Printing subtotals means check from inside to outside > (digits 5 through 1) which has changed, and if it has > changed, clone the necessary fields for a subtotal > line; add the height of this line so we know the new > 'top' for the next line. > > This still needs work on number formatting and such, > but it's a basic framework on how a printinglib can be > accomplished. > I'm willing to admit that there are a few weaknesses > in the reasoning (eg new-page determination), and that > this could be accomplished by writing line after line > to a text field and using revPrintField. > But hard-coding such reports seldom guarantees > portability, and automated data grouping and subtotal > calculation takes away a lot of the headaches and > mistakes in such data processing. > > Hmm, I guess I'll stop rambling here and let other > people post their suggestions/remarks :-) How would you do all that in the HyperCard report engine? -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From sarahr at genesearch.com.au Sun Sep 1 20:52:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Sep 1 20:52:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: Message-ID: <57E296C2-BE16-11D6-8389-0003937A97B8@genesearch.com.au> The CR constant appears in my Transcript dictionary. If you can't find it under CR, try looking for "return". They are synonyms, so they both point to the same entry. The dictionary entry also explains about the cross-platform differences. Sarah On Saturday, August 31, 2002, at 03:49 am, Kee Nethery wrote: > Since CR as a constant is not documented anywhere that I can find in > my docs, I'm looking for someone on the various non-Mac OS X platforms > to run the following statement in their message box (on windows, on > Linux/Unix, on Mac OS 9) and return the results. Just want to make > sure CR really does vary with each platform. From sarahr at genesearch.com.au Sun Sep 1 20:54:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Sep 1 20:54:01 2002 Subject: strange indentation In-Reply-To: Message-ID: <983FF4A6-BE16-11D6-8389-0003937A97B8@genesearch.com.au> Sometimes, the automatic formatting gets a bit weird. Usually selecting Format from the script menu fixes it up. If that doesn't work, move the cursor to the incorrect lines and press Tab. This fixes color errors too. Sarah On Saturday, August 31, 2002, at 06:15 am, Brad Allen wrote: > On one of my stacks, running under Rev 1.1.1, I'm seeing some > strange indentation in the scripts assocatied with switch blocks. I've > seen this behavior on both Windows 2000 and Mac OS 10.1.5. Here is how > it looks (the first case looks fine, but the second case has irregular > indentation.) > From sarahr at genesearch.com.au Sun Sep 1 20:59:00 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Sep 1 20:59:00 2002 Subject: Can lineOffSet find last occurance? In-Reply-To: Message-ID: <56878B0C-BE17-11D6-8389-0003937A97B8@genesearch.com.au> I'm not sure if this is exactly what you want but here is a function I wrote to return all the line numbers containing some specific text. You could use this and then take the first & last line numbers to limit your processing. function findLines listToSearch, textToFind put empty into foundLines put 0 into startLine repeat put lineOffset(textToFind,listToSearch,startLine) into theLine if theLine = 0 then exit repeat else put (theLine+startLine) & cr after foundLines add theLine to startLine end if end repeat return foundLines end findLines Alternatively, how about finding the starting line, then using a repeat for each but doing exit repeat if the current line doesn't contain your text. The filter command is very fast too. I suggest some timing tests to see what is the best option for your data. Sarah On Saturday, August 31, 2002, at 04:28 am, Bill Vlahos wrote: > I need to process a subset of lines in a field which has been sorted. > All of the group of lines I want are together because of the sort. > What I'm doing now is using a repeat for each line command and > checking each line to see if it contains what I'm looking for. This > works fine but will eventually slow down with big data sets. I would > like to use the repeat for each feature which includes the starting > and ending lines. > > The lineOffSet command neatly finds the first line of what I want but > how can I find the last line? Can lineOffSet be made to start and the > end? > > I could leave the check for what I want and exit the handler after > starting at the offset but it should be faster if I could remove the > check. I am confident that the sorting will put what I want together. > > Another option would be to put the field into a variable and then > filter the variable and do the processing on what remains. I don't > know how much of a performance hit the putting and filtering would be. > This lineOffSet command seems pretty fast. > > Thanks, > Bill Vlahos > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Sun Sep 1 21:02:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Sep 1 21:02:01 2002 Subject: Two "type" in the same time ? In-Reply-To: Message-ID: You would have to use some "send" commands which could be cancelled by another handler. If you have a typeOne handler and a typeTwo handler, they both add one character to their specified field and then end in "send type--- to me in 1 tick". Your cancel handler would need to search the pendingMessages for the handler names and cancel any it finds. Sarah On Saturday, August 31, 2002, at 05:12 am, Ludovic Th?bault wrote: > hello, > > How simulate the "type" command ? > > I want to display two texts in the same time. The type command is not a > background process... (it's difficult to abort it !) > > Thanks. > -- > Ludovic THEBAULT > (Sorry for my poooor english :-) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Sun Sep 1 21:18:00 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Sep 1 21:18:00 2002 Subject: Icons on OS X In-Reply-To: Message-ID: > Given that the resource fork is on the way out and that the > 'plst' spec has > already changed at least once, I'm patient. After all, the Windows > registry has been around a long time, and the spec is stable and widely > documented (even O'Reily has a good registry book), so we would expect the > support for that to be more mature. > > It's not hard to modify the plst -- it's just text, in > self-documenting XML. > The only tool you need is Simpletext (or the OS X equivalent). OK ResEdit crashed the first time but not this time so I have edited the plst resource. Now how to I get my icons into IDs 128,129 and 130??? From tim11 at bellatlantic.net Sun Sep 1 22:34:01 2002 From: tim11 at bellatlantic.net (Tim) Date: Sun Sep 1 22:34:01 2002 Subject: CGI engine on Darwin In-Reply-To: <4B528AFC-BDD4-11D6-8B1A-003065FB9830@hindu.org> Message-ID: On 9/1/02 1:57 PM, "Sannyasin Sivakatirswami" wrote: > > On Sunday, September 1, 2002, at 06:02 AM, > use-revolution-request at lists.runrev.com wrote: > >> 1. I've found out that my Web Hosting Provider uses Linux servers. >> Accordingly I've downloaded the Linux Engine, untared/unzipped it and >> uploaded it to the remote server. After changing the permissions, it >> still >> does not work. My guess is because I did this on a Mac instead of a >> Unix >> box, which I don't have. I suppose the same would apply to libUrl >> library >> and any other rev stacks that I upload to the server. > > mmm well, I've done it here... on my mac, for a solaris: make sure all > your FTP transfers are binary... So you've downloaded the Solaris engine, unzipped it on your mac, uploaded it to your server, set up permissions and it worked? I've done all that but with Linux engine and it does not work. Do I have to modify any other files like httpdaccess? >> 2. My local server scenario works with the exception of >> >> put URL "http://www.wahtever.com" >> >> even with the libURL stack in the CGI-Executables folder (permissions >> set, >> start using ... etc., set). Your suggestions above are useful, but >> don't >> address the specific advantages of the Put URL command (where you can >> pull >> specific chunks of html data from other web pages and massage them >> into your >> own cgi generated page, to cite just one example). > > Right... the libURL opens vast vistas.... > > assuming you do get the engine working all you need to do is put over a > stack with the libURL in it... you don't need a unix machine. I think > it could be as easy as making a copy of the revLibrary stack (to be > safe). then cut the script out of the button: revLibURL and paste it > into the stack script... delete all the other buttons and scripts and > then FTP that to the site and call it with "start using." --- Let me confirm this, did you get this put URL command to work on your remote Solaris? Thanks again for your helpful replies, -- Tim From ambassador at fourthworld.com Sun Sep 1 22:53:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Sep 1 22:53:01 2002 Subject: Icons on OS X In-Reply-To: Message-ID: Monte Goulding wrote: >> Given that the resource fork is on the way out and that the >> 'plst' spec has >> already changed at least once, I'm patient. After all, the Windows >> registry has been around a long time, and the spec is stable and widely >> documented (even O'Reily has a good registry book), so we would expect the >> support for that to be more mature. >> >> It's not hard to modify the plst -- it's just text, in >> self-documenting XML. >> The only tool you need is Simpletext (or the OS X equivalent). > > OK ResEdit crashed the first time but not this time so I have edited the > plst resource. Now how to I get my icons into IDs 128,129 and 130??? These are incs resources. Iconographer can generate those. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From troy at rpsystems.net Sun Sep 1 23:07:00 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sun Sep 1 23:07:00 2002 Subject: Icons on OS X In-Reply-To: Message-ID: <31D7C135-BE29-11D6-A6CC-000393853D6C@rpsystems.net> On Sunday, September 1, 2002, at 11:49 PM, Richard Gaskin wrote: >> >> OK ResEdit crashed the first time but not this time so I have edited >> the >> plst resource. Now how to I get my icons into IDs 128,129 and 130??? > > These are incs resources. Iconographer can generate those. Iconographer has a nice feature, something like "save into file", under the file menu. It has the ability to place those resources into the file for you. You set up your icons, and then use it to save them directly into the file of your choice. Seems to work pretty well. -- Troy RPSystems, LTD www.rpsystems.net From monte at sweattechnologies.com Sun Sep 1 23:22:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Sep 1 23:22:01 2002 Subject: Icons on OS X In-Reply-To: <31D7C135-BE29-11D6-A6CC-000393853D6C@rpsystems.net> Message-ID: > > > > These are incs resources. Iconographer can generate those. > > Iconographer has a nice feature, something like "save into file", under > the file menu. It has the ability to place those resources into the file > for you. You set up your icons, and then use it to save them directly > into the file of your choice. Seems to work pretty well. Thanks guys The problem I seem to be having is that I can't get the generic document and application icons to go away. How do I remove them? Monte From Esa.Kivela at ncrc.fi Mon Sep 2 00:35:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Mon Sep 2 00:35:01 2002 Subject: VL: Stand alone via www-page? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D08@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Esa Kivel? > L?hetetty: 30. elokuuta 2002 18:30 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Stand alone via www-page? > > > ow I make one stadalone working from web page without that > browser don't start download it? > > I tried HTTP:// path and FLIE:// but in both cases browser > want to donload that exe.file > > If I use Open in browser its open it ok but it have to be > open via URL or somehow > > EsaK > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From webmaster at studioalice.se Mon Sep 2 00:59:01 2002 From: webmaster at studioalice.se (=?ISO-8859-1?Q?Magnus_von_Br=F6msen?=) Date: Mon Sep 2 00:59:01 2002 Subject: day and time fomat to European? In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6CFE@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: Hej I don't know if this helps, but set the useSystemDate to true (date and time is displayed the same way as the systems set-up.) on openStack set the useSystemDate to true end openStack then use: put the short system date into field "todayDate" And, I hope you get dots between the numbers. /magnus On fredag, aug 30, 2002, at 13:49 Europe/Stockholm, Esa Kivel? wrote: > Greetings again mates! :-) > > How I can change day formats from 8/30/02 to 30.8.02 wich format we > use here in Finland? > > Thansk at advance > > Yours > > EsaK > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From wlists at upstairsefx.com Mon Sep 2 01:53:01 2002 From: wlists at upstairsefx.com (Wally Rodriguez) Date: Mon Sep 2 01:53:01 2002 Subject: Stupid, Disastrous Newbie Error In-Reply-To: Message-ID: View->Application Overview Select your stack window Press go. Judy Perry wrote: > Didn't delete the file -- I can still *see* the file, but what did I do > and can it be fixed? Am trying to make a Harry Potter game for my nephew > (the one's available won't run on his machine) and am about to jump out a > window (well, not really, but...) > > Gratefully, > > Judy Perry Wally From pvanolinda at nyc.rr.com Mon Sep 2 01:53:12 2002 From: pvanolinda at nyc.rr.com (peter) Date: Mon Sep 2 01:53:12 2002 Subject: is the value of CR really platform dependant? In-Reply-To: Message-ID: Kee see the ASCII chart at http://www.jimprice.com/jim-asc.htm The chart is in Hex. The "A" , a decimal 10, is a LF the "D", a decimal 13, is a CR The notes say that on the LF " On Unix systems, moves to a new line AND all the way to the left." So on a Unix machines, a LF acts as a LF CR. I hope this is helpful. Peter on 8/30/02 12:36 PM, Kee Nethery at kee at kagi.com wrote: > Someone said that I should take all my line endings in a text field > and convert them to the constant CR because that will do the right > thing per platform. > > Before I release something I'd like to know if that is true given > that CR is not mentioned as a constant in my online docs nor in my > 1.1.1 printed docs. > > On Mac OS X I know that the constant CR (commonly known as carriage > return and commonly known as ascii(13) but not in revolution) = > ascii(10) a linefeed > > Does CR = CRLF = ascii(13) and ascii(10) on windows? > > Does CR = ascii(13) on Mac OS 9? > > Does CR = linefeed ascii(10) on unix/Linux platforms? > > Thanks, > Kee Nethery > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Mon Sep 2 03:39:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Sep 2 03:39:01 2002 Subject: Look Sidewards - Reports DataPro / Standard Protocols In-Reply-To: Message-ID: <20020902083723.46535.qmail@web11907.mail.yahoo.com> --- Richard Gaskin wrote: > Jan Schenkel wrote: > > > [a very length description of a report] > > How would you do all that in the HyperCard report > engine? > Hi Richard, Admittedly, this wouldn't have been an easy one in the HC report engine. It's been quite a while since I used it, and never to the same extent as when I started writing commercial applications in FoxBase/FoxPro (and in Progress in a former life) Off the top of my head, I think I would have had to handle the subtotals myself, but as the data to display is nearly the same as the detailed info, I could have put everything into one background, with those 8 fields. (That is, merrily skipping the part where I get all the data from a database and populate the card fields with it) Card 1: Field "Account number" : 100000 Field "Account name" : Invested capital Field "Period debit" : 0.00 Field "Period credit" : 0.00 Field "Period balance" : 0.00 Field "F.year debit" : 0.00 Field "F.year credit" : 15,500.00 Field "F.year balance" : 15,500.00 (...) Card : Field "Account number" : Field "Account name" : Total: 1----- Field "Period debit" : 1,200.00 Field "Period credit" : 5,600.00 Field "Period balance" : -4,400.00 Field "F.year debit" : 3,400.00 Field "F.year credit" : 27,500.00 Field "F.year balance" : -24,100.00 (...) Card : Field "Account number" : Parameters Field "Account name" : Only print accounts where balance <> 0 Field "Period debit" : Field "Period credit" : Field "Period balance" : Field "F.year debit" : Field "F.year credit" : Field "F.year balance" : This is a situation which indeed could have been handled by the standard HC report engine (the one we got with version 2.1, iirc), with some work on the part of the programmer. Having used different development environments, it is quite possible I've been spoiled by these dedicated database products. I've gotten used to making reports with data groups, calculated variables, printing conditions and a complete arsenal of expressions and formats. RunRev provides us with a set of very useful commands like 'clone', 'copy', 'paste' ; allowing us to write some very powerful and flexible solutions. Integration with data from revdb_cursors and other sources could be accomplished by providing an extra callback-parameter to a 'revPrintReport'-function, which is called after a detail-band is 'printed' (ie: created as a set of fields at the correct toplefts on the card). This 'getNextDetail' hook could call revdb_movenext, fetch additional data from arrays and put them in variables, etc. At least, that's what I had in mind when I studied the feasibility of writing our own report generator in RunRev, in case there was none in the forseeable future, by the time we would need it in our development process. Am I to conclude from your question that the RunRev report generator will be very similar to HC's ? To be honest with you, I haven't checked out the RunRev 1.5 beta, mainly because I lack the time. So I have no idea of whether or not a report generator is in there, nor what it could do were it scheduled for this next version. If you'd prefer to continue this discussion off-list, I'd be more than happy to oblige ; as I don't wish to make people think RunRev is lacking. RunRev is a _very_ powerful environment ; the built-in access to very diverse fields as multimedia, databases and so much more, is impressive to say the least. And I'm sure everybody has their wish-lists :-) Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From tim11 at bellatlantic.net Mon Sep 2 03:59:00 2002 From: tim11 at bellatlantic.net (Tim) Date: Mon Sep 2 03:59:00 2002 Subject: Database question Message-ID: Does anyone know of an ISP (web host) that would allow their customers to access their own MYSQL databases remotely? It seems many ISP's offer MYSQL, but only to be accessed locally, usually for PHP stuff. So using Rev to access your own remote MYSQL db would not be possible with these ISP's. -- Tim From g.castre at free.fr Mon Sep 2 04:13:01 2002 From: g.castre at free.fr (Guillaume CASTRE) Date: Mon Sep 2 04:13:01 2002 Subject: French tutorial In-Reply-To: Message-ID: <001b01c25260$90c590c0$6e01a8c0@Guillaume> Hello, The part 3 of the runrev french tutorial is available at : Bye. --- Message certifi? sans virus. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/2002 From Esa.Kivela at ncrc.fi Mon Sep 2 07:18:00 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Mon Sep 2 07:18:00 2002 Subject: same message twice at one text field?? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D15@ktk7.ad.kuluttajatutkimuskeskus.fi> Greetings again I tried to code oms quick messages palttform to our intranet but how I amke sure that user can't send same message twice or more in the text field? When user press "NEW MESSAGE button filed named "tekstit" appears and usre can type her/his messag in there. When usre press "SAVE MESSAGE" button the message displays in the field named "viestit". But how ceck that is same message all ready inside text filed "viestit" and then it can't send from field "tekstit" -> field "viestit" again? I tired <> and = thing betveen two variables but it won't work. I tried this: put the first line of filed "tekstit" into tekstit put the first line of filed "viestit" into viestit if viestit = tekstit then answer NO CAN DO! put empty into field "tekstit" end if Same with <> but won't work... Need litlle help with that please. I can't add that part of scrit ie into save button because that license limit :-/. Thanks at advance EsaK From Esa.Kivela at ncrc.fi Mon Sep 2 08:18:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Mon Sep 2 08:18:01 2002 Subject: event calendar? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D19@ktk7.ad.kuluttajatutkimuskeskus.fi> Greetings again :-) Does anyone make some kind of event calendar with Runtime Revolution? EsaK From bl1ng.bl1ng at gmx.net Mon Sep 2 10:02:01 2002 From: bl1ng.bl1ng at gmx.net (bl1ng.bl1ng at gmx.net) Date: Mon Sep 2 10:02:01 2002 Subject: Database question References: Message-ID: <3D737CD5.3040902@gmx.net> I find these continued questions about third party web hosting services baffling.... All you need is an old PC, a copy of Linux, and a dedicated fast access connection with a static IP address. Then you are in control. Tim wrote: > Does anyone know of an ISP (web host) that would allow their customers to > access their own MYSQL databases remotely? It seems many ISP's offer MYSQL, > but only to be accessed locally, usually for PHP stuff. So using Rev to > access your own remote MYSQL db would not be possible with these ISP's. From jperryl at ecs.fullerton.edu Mon Sep 2 10:59:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Sep 2 10:59:01 2002 Subject: Stupid, Disastrous Newbie Error In-Reply-To: Message-ID: Thanks, Wally. Got it fixed now. Judy On Mon, 26 Aug 2002, Wally Rodriguez wrote: > View->Application Overview > Select your stack window > Press go. From gary.rathbone at btclick.com Mon Sep 2 11:08:00 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Mon Sep 2 11:08:00 2002 Subject: Database question (OT) References: <3D737CD5.3040902@gmx.net> Message-ID: <009101c2529a$89333170$f62022d9@server> One word - Cost ! Its far cheaper to colocate and share a 'fat' line, rather than rent your own... "British Telecom's (BT) leased line prices are up to three times higher than they should be.. (snip)...For a 64Kbps capacity 5km circuit, the EC recommends a ceiling of 80 euros per month (excluding Vat). According to the EC's figures, in October BT's price for the same circuit was over 250 euros per month...(snip)...The EC's other price ceilings are 350 euros per month for a 2Mbps circuit (compared to BT's 600 euros) and 2600 euros for a 34Mbps circuit (compared to BT's 6000 euros)...(snip)." The price of monthly 'decent' colocation service is less than the cost of a single static IP address (never mind the line !) Regards Gary Rathbone ----- Original Message ----- From: To: Sent: Monday, September 02, 2002 3:59 PM Subject: Re: Database question > > I find these continued questions about third party web hosting services > baffling.... > > All you need is an old PC, a copy of Linux, and a dedicated fast access > connection with a static IP address. > > Then you are in control. > > > Tim wrote: > > Does anyone know of an ISP (web host) that would allow their customers to > > access their own MYSQL databases remotely? It seems many ISP's offer MYSQL, > > but only to be accessed locally, usually for PHP stuff. So using Rev to > > access your own remote MYSQL db would not be possible with these ISP's. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gary.rathbone at btclick.com Mon Sep 2 11:24:01 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Mon Sep 2 11:24:01 2002 Subject: Stand alone via www-page? References: <961D94BBE7448D4C8E4440CB7920D9E01B6D08@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <009901c2529c$caa238c0$f62022d9@server> What is it exactly you're trying to do ? 1. Do you want to use a web page to pass information to a Revolution stack, which sends a reply to appear in the browser window ? or 2. Do you want to distribute your Revolution stack via the web ? That is, a user goes to your web page, clicks on a link and the browser begins to download the Revolution stack ? If its the first I can email you a Revolution Web Server with examples (made from the MetaCard MCHTTP)... If its the second then put DOWNLOAD HERE into your web page. Where MyProgram.exe is the path to your application. The user clicks on DOWNLOAD HERE and it should start the download process. Regards Gary Rathbone ----- Original Message ----- > -----Alkuper?inen viesti----- > L?hett?j?: Esa Kivel? > L?hetetty: 30. elokuuta 2002 18:30 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Stand alone via www-page? > > > ow I make one stadalone working from web page without that > browser don't start download it? > > I tried HTTP:// path and FLIE:// but in both cases browser > want to donload that exe.file > > If I use Open in browser its open it ok but it have to be > open via URL or somehow > > EsaK > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From bl1ng.bl1ng at gmx.net Mon Sep 2 11:33:02 2002 From: bl1ng.bl1ng at gmx.net (bl1ng.bl1ng at gmx.net) Date: Mon Sep 2 11:33:02 2002 Subject: Database question (OT) References: <3D737CD5.3040902@gmx.net> <009101c2529a$89333170$f62022d9@server> Message-ID: <3D739231.8020304@gmx.net> Okay, so colo is a more cost effective approach. The main point I wanted to make -- only because it seems as if not everyone on the list understands this -- is that there are alternatives to third party _web hosting_ services. Gary Rathbone wrote: > One word - Cost ! Its far cheaper to colocate and share a 'fat' line, rather > than rent your own... > > "British Telecom's (BT) leased line prices are up to three times higher than > they should be.. (snip)...For a 64Kbps capacity 5km circuit, the EC > recommends a ceiling of 80 euros per month (excluding Vat). According to the > EC's figures, in October BT's price for the same circuit was over 250 euros > per month...(snip)...The EC's other price ceilings are 350 euros per month > for a 2Mbps circuit (compared to BT's 600 euros) and 2600 euros for a 34Mbps > circuit (compared to BT's 6000 euros)...(snip)." > > The price of monthly 'decent' colocation service is less than the cost of a > single static IP address (never mind the line !) > > Regards > > Gary Rathbone > > ----- Original Message ----- > From: > To: > Sent: Monday, September 02, 2002 3:59 PM > Subject: Re: Database question > > > >>I find these continued questions about third party web hosting services >>baffling.... >> >>All you need is an old PC, a copy of Linux, and a dedicated fast access >>connection with a static IP address. >> >>Then you are in control. >> >> >>Tim wrote: >> >>>Does anyone know of an ISP (web host) that would allow their customers >> > to > >>>access their own MYSQL databases remotely? It seems many ISP's offer >> > MYSQL, > >>>but only to be accessed locally, usually for PHP stuff. So using Rev to >>>access your own remote MYSQL db would not be possible with these ISP's. >> >> >> From diskot123 at juno.com Mon Sep 2 12:31:01 2002 From: diskot123 at juno.com (Tuviah M Snyder) Date: Mon Sep 2 12:31:01 2002 Subject: Database question Message-ID: <20020902.132812.1808.0.diskot123@juno.com> Try prohosting (www.prohosting.com). They offer inexpensive mysql, php, and webhosting. You can access the mysql database remotely from any system, I use it myself to test mysql access. Tuviah From gary.rathbone at btclick.com Mon Sep 2 12:43:01 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Mon Sep 2 12:43:01 2002 Subject: alignment of combo box label text References: Message-ID: <001301c252a7$d0ccbd50$f62022d9@server> I've been looking at the "margins" property in the Transcript dictionary which states "use the margins property to control how close text within a button can come to the objects edges..." Also, if you click the little blue arrow to the left of the 'Show Dimensions" label at the bottom of the button property box (basic tag), you can type in a comma list eg 8,12,16,24. Saying that I wrote a script to change the margins of a combo box and it didn't change anything... I'll keep playing... Regards Gary Rathbone ----- Original Message ----- From: "Brad Allen" To: Sent: Sunday, September 01, 2002 1:33 AM Subject: alignment of combo box label text > All my combo boxes look funny under Windows. The label text is > scrunched in the upper left of the button, making it difficult to > read. It looks a little better on the Mac, but I'd like to be able to > control the alignment of the label text of combo buttons. Is there > currently a way to do this? > > I tried the following, but it didn't work: set the textshift of > button "CPU Model" to 3 > > Most of the text properties of the button don't affect the label, so > I can't change the alignment or the spacing between the label and the > top of the button. However, for some reason the font size and style > do affect the label of the button. > > In Transcript, of course, it doesn't make sense to set the property > of a property, and a label is just a property, not an object unto > itself. Since the combo button uses labels instead of containing text > (like fields), some of the properties such as the textAlign don't > seem to apply. It wouldn't make sense to say "set the textAlign of > the label of button myButton", right? > > Thanks... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jameslewes at comcast.net Mon Sep 2 12:50:00 2002 From: jameslewes at comcast.net (james lewes) Date: Mon Sep 2 12:50:00 2002 Subject: alignment of combo box label text In-Reply-To: <001301c252a7$d0ccbd50$f62022d9@server> Message-ID: How can one build a search field to be usable in a standalone distribution similar to the supercard message window. > From: Gary Rathbone > Organization: Interfusion Ltd > Reply-To: use-revolution at lists.runrev.com > Date: Mon, 02 Sep 2002 18:40:23 +0100 > To: use-revolution at lists.runrev.com > Subject: Re: alignment of combo box label text > > I've been looking at the "margins" property in the Transcript dictionary > which states "use the margins property to control how close text within a > button can come to the objects edges..." > > Also, if you click the little blue arrow to the left of the 'Show > Dimensions" label at the bottom of the button property box (basic tag), you > can type in a comma list eg 8,12,16,24. > > Saying that I wrote a script to change the margins of a combo box and it > didn't change anything... I'll keep playing... > > Regards > > Gary Rathbone > > > ----- Original Message ----- > From: "Brad Allen" > To: > Sent: Sunday, September 01, 2002 1:33 AM > Subject: alignment of combo box label text > > >> All my combo boxes look funny under Windows. The label text is >> scrunched in the upper left of the button, making it difficult to >> read. It looks a little better on the Mac, but I'd like to be able to >> control the alignment of the label text of combo buttons. Is there >> currently a way to do this? >> >> I tried the following, but it didn't work: set the textshift of >> button "CPU Model" to 3 >> >> Most of the text properties of the button don't affect the label, so >> I can't change the alignment or the spacing between the label and the >> top of the button. However, for some reason the font size and style >> do affect the label of the button. >> >> In Transcript, of course, it doesn't make sense to set the property >> of a property, and a label is just a property, not an object unto >> itself. Since the combo button uses labels instead of containing text >> (like fields), some of the properties such as the textAlign don't >> seem to apply. It wouldn't make sense to say "set the textAlign of >> the label of button myButton", right? >> >> Thanks... >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jameslewes at comcast.net Mon Sep 2 12:52:01 2002 From: jameslewes at comcast.net (james lewes) Date: Mon Sep 2 12:52:01 2002 Subject: message box Message-ID: in supercard there was a way of building a message box into a standalone, how can one do the same thing in Revolution From lcamou3 at cox.net Mon Sep 2 12:59:00 2002 From: lcamou3 at cox.net (Luis Camou) Date: Mon Sep 2 12:59:00 2002 Subject: Telnet and Control break Key Message-ID: <006601c252aa$1c7edfb0$403c0244@myworksok> Hi all. Does anyone know what happened with the Telnet.mc? I have the need to use a telnet program that would do more than just telnet , doing a search i found out that MC had a program called telnet.mc that i thought i can use. Unfortunately is gone from their ftp site . Also does anybody had use a combination key ( like shift-ctrl-F3 ) in a program. How do you capture it ?and how do you send it? I am trying to figure it out because i need to send the break key to a router to get in ROM ( a special state of the router ) and do a password recovery. As you can figure it out i work with routers and I am trying to use Runrev to make my life easier ;-) Thanks Luis Camou lcamou3 at cox.net From dan at clearvisiontech.com Mon Sep 2 13:17:01 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon Sep 2 13:17:01 2002 Subject: List Files Message-ID: That did not solve the problem... Anyone else have a suggestion? -- Thanks! >> My application creates files and I want to provide a way for the user to >> post these files to a website or file server. Uploading and Downloading the >> files is no problem. But, I want to list the files that are currently on >> the website or file server. How do you do this? >> >> I tried using the "files" and "folders" functions, but I can't get the >> defaultFolder property set to a non-local directory. For example: >> >> set the defaultFolder to "ftp://user:passowrd at ftp.webSite.com" returns >> "Can't open directory." >> >> Anyone have any suggestions? > > Put "/" after the URL to denote a directory. From BradAllen at mac.com Mon Sep 2 14:08:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Mon Sep 2 14:08:01 2002 Subject: strange indentation In-Reply-To: <983FF4A6-BE16-11D6-8389-0003937A97B8@genesearch.com.au> References: <983FF4A6-BE16-11D6-8389-0003937A97B8@genesearch.com.au> Message-ID: Yes, I tried those things, but the indentation didn't clear up as it usually does. It's not really that important, but is slightly distracting. This is one area where Rev needs to catch up with HyperCard's script editor in terms of reliability and speed as well. (HyperCard's script editor is much snappier at handling indentation changes, and more consistent.) Overall, I find the Rev script editor a bit clumsy to deal with. Undo never seems to work, and sometimes it's hard to get the script editor window out of the way while trying to look at other windows within Rev (such as the Transcript dictionary). I hate to sound like I'm carping, because I really love Rev. It's better than HyperCard in so many ways, but it would be nice if the Rev script editor could pick up some of HyperCard's better virtues (like debug mode with the Variable Watcher!). >Sometimes, the automatic formatting gets a bit weird. Usually >selecting Format from the script menu fixes it up. If that doesn't >work, move the cursor to the incorrect lines and press Tab. This >fixes color errors too. > >Sarah > >On Saturday, August 31, 2002, at 06:15 am, Brad Allen wrote: > >> On one of my stacks, running under Rev 1.1.1, I'm seeing some >>strange indentation in the scripts assocatied with switch blocks. >>I've seen this behavior on both Windows 2000 and Mac OS 10.1.5. >>Here is how it looks (the first case looks fine, but the second >>case has irregular indentation.) >> > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From gary.rathbone at btclick.com Mon Sep 2 14:15:01 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Mon Sep 2 14:15:01 2002 Subject: List Files References: Message-ID: <004901c252b4$96c7e9b0$f62022d9@server> Dan Try this *exactly* in a button script.... on mouseup put "ftp://ftp.metacard.com/MetaCard/" into tUrl put url tUrl end mouseup this returns -rw-r--r-- 1 ftpuser ftpgroup 3429220 Aug 20 03:34 MacOS.sit -rw-r--r-- 1 ftpuser ftpgroup 2053629 Aug 20 03:35 MacOS68K.sit -rw-r--r-- 1 ftpuser ftpgroup 4275781 Aug 20 03:37 MacOSX.sit -rw-r--r-- 1 ftpuser ftpgroup 3317 Apr 17 01:31 README.1st etc... which you can then parse. I guess some servers won't return a directory listing due to the way they're configured... Regards Gary Rathbone ----- Original Message ----- From: "Dan Friedman" To: Sent: Monday, September 02, 2002 7:05 PM Subject: List Files > That did not solve the problem... Anyone else have a suggestion? -- Thanks! > > >> My application creates files and I want to provide a way for the user to > >> post these files to a website or file server. Uploading and Downloading the > >> files is no problem. But, I want to list the files that are currently on > >> the website or file server. How do you do this? > >> > >> I tried using the "files" and "folders" functions, but I can't get the > >> defaultFolder property set to a non-local directory. For example: > >> > >> set the defaultFolder to "ftp://user:passowrd at ftp.webSite.com" returns > >> "Can't open directory." > >> > >> Anyone have any suggestions? > > > > Put "/" after the URL to denote a directory. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gary.rathbone at btclick.com Mon Sep 2 14:21:01 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Mon Sep 2 14:21:01 2002 Subject: message box References: Message-ID: <005101c252b5$8a01fee0$f62022d9@server> Easiest way is to create a substack with the control features you need. You can send messages such as put "Operation Complete..." into fld "tmessage" of wd "MessageBox" If you wish to act on 'commands' the user types into the "MessageBox" then this can be done using either a 'Submit' button or 'on exitField' handler Regards Gary Rathbone ----- Original Message ----- From: "james lewes" To: Sent: Monday, September 02, 2002 6:50 PM Subject: message box > in supercard there was a way of building a message box into a standalone, > how can one do the same thing in Revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From BradAllen at mac.com Mon Sep 2 14:22:00 2002 From: BradAllen at mac.com (Brad Allen) Date: Mon Sep 2 14:22:00 2002 Subject: Rev on Mac OS 10.2 ("Jaguar") Message-ID: Has anyone spent any time using Rev under 10.2? I've yet to make the leap to 10.2 for a variety of reasons, wanting to make sure everything I depend on will work. I haven't seen any statements from the RunRev folks about 10.2 compatibility issues... From BradAllen at mac.com Mon Sep 2 14:36:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Mon Sep 2 14:36:01 2002 Subject: alignment of combo box label text In-Reply-To: <001301c252a7$d0ccbd50$f62022d9@server> References: <001301c252a7$d0ccbd50$f62022d9@server> Message-ID: >I've been looking at the "margins" property in the Transcript dictionary >which states "use the margins property to control how close text within a >button can come to the objects edges..." > >Also, if you click the little blue arrow to the left of the 'Show >Dimensions" label at the bottom of the button property box (basic tag), you >can type in a comma list eg 8,12,16,24. > >Saying that I wrote a script to change the margins of a combo box and it >didn't change anything... I'll keep playing... I had the same experience. The Margins property doesn't seem to do anything with combo buttons, but it turns out to be useful for placing the label text in standard buttons. This solves another frustration I was having, after digging through the Rev Development Guide trying to find some description of how to change the label placement on a button. Thanks for the tip. FYI, the documentation in the Transcript dictionary for Margins contains an error: set the margins of object to {pixels | top,left,bottom,right} should instead say set the margins of object to {pixels | left,top,right,bottom} From bvlahos at jpl.nasa.gov Mon Sep 2 14:37:00 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Mon Sep 2 14:37:00 2002 Subject: Rev on Mac OS 10.2 ("Jaguar") In-Reply-To: Message-ID: <16B62780-BEAB-11D6-BE19-003065EC5590@jpl.nasa.gov> Works OK for me. Others have reported the the Option key doesn't seem to work but it is OK on my iBook for both the IDE and standalones. Bill Vlahos On Monday, September 2, 2002, at 12:13 PM, Brad Allen wrote: > Has anyone spent any time using Rev under 10.2? I've yet to make the > leap to 10.2 for a variety of reasons, wanting to make sure everything > I depend on will work. > > I haven't seen any statements from the RunRev folks about 10.2 > compatibility issues... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Mon Sep 2 14:45:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 2 14:45:01 2002 Subject: Telnet and Control break Key In-Reply-To: <006601c252aa$1c7edfb0$403c0244@myworksok> Message-ID: <5698AA40-BEAC-11D6-947D-0050E4C0B205@swcp.com> On Monday, September 2, 2002, at 11:56 AM, Luis Camou wrote: > Also does anybody had use a combination key ( like shift-ctrl-F3 ) in a > program. How do you capture it ?and how do you send it? It might be easier to make a button to represent this than to capture it. A telnet break is 129, I think. Is that what you need? > I am trying to figure it out because i need to send the break key to a > router to get in ROM ( a special state of the router ) and do a > password > recovery. > > As you can figure it out i work with routers and I am trying to > use Runrev > to make my life easier ;-) Do you think you need a full telnet to talk to a router? Maybe you can get by with a simple tcp terminal (plus break). (BTW, my router won't let me recover from a lost password via tcp telnet; I have to use the serial connection.) Dar Scott From kee at kagi.com Mon Sep 2 14:51:01 2002 From: kee at kagi.com (Kee Nethery) Date: Mon Sep 2 14:51:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: <57E296C2-BE16-11D6-8389-0003937A97B8@genesearch.com.au> References: <57E296C2-BE16-11D6-8389-0003937A97B8@genesearch.com.au> Message-ID: >The CR constant appears in my Transcript dictionary. If you can't >find it under CR, try looking for "return". They are synonyms, so >they both point to the same entry. Weird. I am sure I searched for CR and did not get any hits. But, when I search for Return I see it and when I go to a different entry and then search for CR it returns me to the card that discusses it. Wish I could copy and paste the text out of the dictionary. Here is how I would change the existing dictionary entry. PS: [interesting that for the return variable, neither example uses "return" but instead the examples use the "proper" term "linefeed"] ------------------------------ I'd change the last paragraph in the dictionary entry to read: The line feed character is the standard end-of-line delimiter for text files on Unix systems. The end-of-line delimiter for text files on Mac OS systems is a carriage return, and the end-of-line delimiter for text files on Windows systems is a carriage return followed by a line feed. For all these operating systems, within a Revolution text field the end-of-line delimiter is always a line feed. For all these operating systems, when text from a field is saved into a text file, the end-of-line delimiter within Revolution is converted to the platform specific end-of-line delimiter for text files. Any math performed on the individual characters within a Revolution text field will not produce the same result when the text is saved into a text file on Mac OS or Windows because the end-of-line characters in the text file will differ from the end-of-line characters within the text field. (Assuming this is a correct synopsis) Kee Nethery > >The dictionary entry also explains about the cross-platform differences. > >Sarah > >On Saturday, August 31, 2002, at 03:49 am, Kee Nethery wrote: > >>Since CR as a constant is not documented anywhere that I can find >>in my docs, I'm looking for someone on the various non-Mac OS X >>platforms to run the following statement in their message box (on >>windows, on Linux/Unix, on Mac OS 9) and return the results. Just >>want to make sure CR really does vary with each platform. > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From tim11 at bellatlantic.net Mon Sep 2 14:55:01 2002 From: tim11 at bellatlantic.net (Tim) Date: Mon Sep 2 14:55:01 2002 Subject: Database question In-Reply-To: <20020902.132812.1808.0.diskot123@juno.com> Message-ID: On 9/2/02 1:28 PM, "Tuviah M Snyder" wrote: > Try prohosting (www.prohosting.com). They offer inexpensive mysql, php, > and webhosting. You can access the mysql database remotely from any > system, I use it myself to test mysql access. > > Tuviah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Thank you Tuviah. It looks like I'll be switching my ISP for the second time this year. Just out of curiosity, is it feasible to set up MYSQL in such a way as to have it accessed by remote clients (like Rev) and having permissions granted for every client (thus according to some ISP's, opening doors to hackers), or was MYSQL designed more for being accessed locally? I'm just trying to figure out the workflow, whether the Rev client should access the data remotely or communicate with a local version of itself already on the server? -- Tim From jameslewes at comcast.net Mon Sep 2 15:07:01 2002 From: jameslewes at comcast.net (james lewes) Date: Mon Sep 2 15:07:01 2002 Subject: message box In-Reply-To: <005101c252b5$8a01fee0$f62022d9@server> Message-ID: I am confused as to how to script such a substack and I would appreciate any help. James > From: Gary Rathbone > Organization: Interfusion Ltd > Reply-To: use-revolution at lists.runrev.com > Date: Mon, 02 Sep 2002 20:18:37 +0100 > To: use-revolution at lists.runrev.com > Subject: Re: message box > > Easiest way is to create a substack with the control features you need. You > can send messages such as > > put "Operation Complete..." into fld "tmessage" of wd "MessageBox" > > If you wish to act on 'commands' the user types into the "MessageBox" then > this can be done using either a 'Submit' button or 'on exitField' handler > > Regards > > Gary Rathbone > > > > ----- Original Message ----- > From: "james lewes" > To: > Sent: Monday, September 02, 2002 6:50 PM > Subject: message box > > >> in supercard there was a way of building a message box into a standalone, >> how can one do the same thing in Revolution >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Mon Sep 2 15:20:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 2 15:20:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: Message-ID: <221D652A-BEB1-11D6-947D-0050E4C0B205@swcp.com> These are good ideas, Kee! I think some clarification at the linefeed entry would be helpful, especially to those coming from some other background than another 'card. Perhaps your ideas will help RunRev folks in improving the docs. My nit-picking comments are below. On Monday, September 2, 2002, at 01:33 PM, Kee Nethery wrote: > I'd change the last paragraph in the dictionary entry to read: > > The line feed character is the standard end-of-line delimiter for > text files on Unix systems. The end-of-line delimiter for text > files on Mac OS systems is a carriage return, and the end-of-line > delimiter for text files on Windows systems is a carriage return > followed by a line feed. > For all these operating systems, within a Revolution text field > the end-of-line delimiter is always a line feed. (Virtually, so. That is, when we put to or from we see linefeed; we have no idea what's going on on the inside.) The use of linefeed is throughout all of Revolution, not just in fields. Generated text such as pendingMessages() may contain linefeeds. Chunks may be lines. These may never see a field. > > For all these operating systems, when text from a field is saved > into a text file, the end-of-line delimiter within Revolution is > converted to the platform specific end-of-line delimiter for text > files. I think "written" might be more Rev than "saved". Also, perhaps this should emphasize writing to a file opened in text _mode_. (If I write to a "text file" using binary mode, the conversion will not happen.) > Any math performed on the individual characters within a > Revolution text field will not produce the same result when the > text is saved into a text file on Mac OS or Windows because the > end-of-line characters in the text file will differ from the > end-of-line characters within the text field. Do you mean something like a checksum or digest or length? Dar Scott From kee at kagi.com Mon Sep 2 15:27:01 2002 From: kee at kagi.com (Kee Nethery) Date: Mon Sep 2 15:27:01 2002 Subject: Database question In-Reply-To: References: Message-ID: >On 9/2/02 1:28 PM, "Tuviah M Snyder" wrote: > >> Try prohosting (www.prohosting.com). They offer inexpensive mysql, php, >> and webhosting. You can access the mysql database remotely from any >> system, I use it myself to test mysql access. >> >> Tuviah >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > >Thank you Tuviah. It looks like I'll be switching my ISP for the second time >this year. Just out of curiosity, is it feasible to set up MYSQL in such a >way as to have it accessed by remote clients (like Rev) and having >permissions granted for every client (thus according to some ISP's, opening >doors to hackers), or was MYSQL designed more for being accessed locally? >I'm just trying to figure out the workflow, whether the Rev client should >access the data remotely or communicate with a local version of itself >already on the server? Your best bet is to build a secure tunnel from the ISP machine directly to your MySQL machine. I'm not technically knowledgeable to be able to tell you how to do this, but I can tell you that we use SSH between specific machines and sometime we use a VPN through firewalls when one set of machines needs to talk to another set of machines. The SSH tunnel should be transparent to the Rev to MySQL connection if it is set up correctly. I know it can be done, we do it. If you can install a firewall at the ISP, a VPN (Virtual Private Network) between two firewalls is very easy to configure. If they will not allow extra hardware and or you do not want to use hardware, use the SSH tunnel. The alternate solution is to use some encryption scheme such as 3DES or AES or Blowfish, etc and build an encryptor/decyptor that uses a private key. Then before you pass the data to MySQL, encrypt it, and when you catch the data at that machine, decrypt it, run it, then encrypt the results, etc. You could probably do that pretty easily with Rev on both ends. The Rev on the ISP server pretends to be MySQL and the Rev on the MySQL machine pretends to be the database client. Kee Nethery From kee at kagi.com Mon Sep 2 15:31:00 2002 From: kee at kagi.com (Kee Nethery) Date: Mon Sep 2 15:31:00 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: <221D652A-BEB1-11D6-947D-0050E4C0B205@swcp.com> References: <221D652A-BEB1-11D6-947D-0050E4C0B205@swcp.com> Message-ID: >These are good ideas, Kee! > >I think some clarification at the linefeed entry would be helpful, >especially to those coming from some other background than another >'card. > >Perhaps your ideas will help RunRev folks in improving the docs. > >My nit-picking comments are below. excellent comments, I am of course not an expert on how Revolution deals with line endings. > >On Monday, September 2, 2002, at 01:33 PM, Kee Nethery wrote: > >>I'd change the last paragraph in the dictionary entry to read: >> >>The line feed character is the standard end-of-line delimiter for >>text files on Unix systems. The end-of-line delimiter for text >>files on Mac OS systems is a carriage return, and the end-of-line >>delimiter for text files on Windows systems is a carriage return >>followed by a line feed. > >>For all these operating systems, within a Revolution text field the >>end-of-line delimiter is always a line feed. > >(Virtually, so. That is, when we put to or from we see linefeed; we >have no idea what's going on on the inside.) > >The use of linefeed is throughout all of Revolution, not just in >fields. Generated text such as pendingMessages() may contain >linefeeds. Chunks may be lines. These may never see a field. > >> >>For all these operating systems, when text from a field is saved >>into a text file, the end-of-line delimiter within Revolution is >>converted to the platform specific end-of-line delimiter for text >>files. > >I think "written" might be more Rev than "saved". Also, perhaps >this should emphasize writing to a file opened in text _mode_. (If >I write to a "text file" using binary mode, the conversion will not >happen.) > >>Any math performed on the individual characters within a Revolution >>text field will not produce the same result when the text is saved >>into a text file on Mac OS or Windows because the end-of-line >>characters in the text file will differ from the end-of-line >>characters within the text field. > >Do you mean something like a checksum or digest or length? yes. We do registration codes for people and in many cases, we do math operations on the text data for the three reasons you just mentioned. The numbers have to match for the reg code to work properly. Kee Nethery From BradAllen at mac.com Mon Sep 2 15:48:02 2002 From: BradAllen at mac.com (Brad Allen) Date: Mon Sep 2 15:48:02 2002 Subject: message box In-Reply-To: References: Message-ID: Well, here's a start: You could use the Transcript "do" command to execute any script the user enters, as in: on returnInField --put this handler into the script of the data entry field do line 1 of me end returnInField if you want to have a multiline message box, you could use: on enterInField do me end enterInField However, this doesn't have all the features of the message box. For instance, if you want the results to display in a field called "message output", you'd have to type: put "whatever" into field "message output" whereas with the message box, you can just type put "whatever" and it will appear in the message box output. Also, there's the problem of displaying syntax errors. The message box does that gracefully by displaying an error message in the message box output. I'm not sure how to capture that error message text. >I am confused as to how to script such a substack and I would appreciate any >help. > >James > >> From: Gary Rathbone >> Organization: Interfusion Ltd >> Reply-To: use-revolution at lists.runrev.com >> Date: Mon, 02 Sep 2002 20:18:37 +0100 >> To: use-revolution at lists.runrev.com >> Subject: Re: message box >> >> Easiest way is to create a substack with the control features you need. You >> can send messages such as >> >> put "Operation Complete..." into fld "tmessage" of wd "MessageBox" >> >> If you wish to act on 'commands' the user types into the "MessageBox" then >> this can be done using either a 'Submit' button or 'on exitField' handler >> >> Regards >> >> Gary Rathbone >> >> >> >> ----- Original Message ----- >> From: "james lewes" >> To: >> Sent: Monday, September 02, 2002 6:50 PM >> Subject: message box >> >> >>> in supercard there was a way of building a message box into a standalone, >>> how can one do the same thing in Revolution >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Mon Sep 2 15:49:00 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Sep 2 15:49:00 2002 Subject: Rev on Mac OS 10.2 ("Jaguar") In-Reply-To: <16B62780-BEAB-11D6-BE19-003065EC5590@jpl.nasa.gov> Message-ID: Apart from my own stupidity, it runs fine on my TiBook & 10.2. Judy > On Monday, September 2, 2002, at 12:13 PM, Brad Allen wrote: > > > Has anyone spent any time using Rev under 10.2? I've yet to make the > > leap to 10.2 for a variety of reasons, wanting to make sure everything > > I depend on will work. From drvaughan55 at mac.com Mon Sep 2 16:03:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Mon Sep 2 16:03:01 2002 Subject: Rev on Mac OS 10.2 ("Jaguar") In-Reply-To: <16B62780-BEAB-11D6-BE19-003065EC5590@jpl.nasa.gov> Message-ID: <349AA9A0-BEB7-11D6-8480-000393598038@mac.com> On Tuesday, Sep 3, 2002, at 05:35 Australia/Sydney, Bill Vlahos wrote: > Works OK for me. No problems here, either. Jaguar has also disposed of some other (non-Rev) glitches I was finding in 10.1.5. cheers David > > Others have reported the the Option key doesn't seem to work but it is > OK on my iBook for both the IDE and standalones. > > Bill Vlahos > > On Monday, September 2, 2002, at 12:13 PM, Brad Allen wrote: > >> Has anyone spent any time using Rev under 10.2? I've yet to make the >> leap to 10.2 for a variety of reasons, wanting to make sure >> everything I depend on will work. >> >> I haven't seen any statements from the RunRev folks about 10.2 >> compatibility issues... >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Mon Sep 2 19:06:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Mon Sep 2 19:06:01 2002 Subject: Telnet and Control break Key In-Reply-To: Message-ID: > Does anyone know what happened with the Telnet.mc? > I have the need to use a telnet program that would do more than just > telnet > , doing a search i found out that MC had a program called telnet.mc > that i > thought i can use. Unfortunately is gone from their ftp site . I don't know much about telnet, but you can connect to a POP or SMTP server by opening a socket to the correct IP address & port number. Then you can read & write to that socket. > > Also does anybody had use a combination key ( like shift-ctrl-F3 ) in a > program. How do you capture it ?and how do you send it? > I am trying to figure it out because i need to send the break key to a > router to get in ROM ( a special state of the router ) and do a > password > recovery. Use a functionKey handler to test for any function key press and then check for the modifiers e.g. on functionKey keyNum if keyNum = 3 and the shiftKey = down and the controlKey = down then -- do your stuff else pass functionKey end if end functionKey Cheers, Sarah From sarahr at genesearch.com.au Mon Sep 2 19:09:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Mon Sep 2 19:09:01 2002 Subject: Rev on Mac OS 10.2 ("Jaguar") In-Reply-To: Message-ID: <19C0747B-BED1-11D6-8389-0003937A97B8@genesearch.com.au> Rev is not completely compatible with Jaguar's Appearance Manager. If you select and deselect an object multiple times, Rev will probably quit. If you keep hopping from object to object, you should be OK but save frequently! If this gets too annoying, switch to Mac OS emulated look & feel. This cuts out the Appearance Manager and makes Rev very stable under Jaguar, but not as good looking. Sarah On Tuesday, September 3, 2002, at 05:31 am, Brad Allen wrote: > Has anyone spent any time using Rev under 10.2? I've yet to make the > leap to 10.2 for a variety of reasons, wanting to make sure everything > I depend on will work. > > I haven't seen any statements from the RunRev folks about 10.2 > compatibility issues... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Mon Sep 2 21:12:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Sep 2 21:12:01 2002 Subject: List Files References: <200209021856.OAA11857@www.runrev.com> Message-ID: <3D741A22.9050606@hyperactivesw.com> Dan Friedman wrote: > I tried using the "files" and "folders" functions, but I can't get the > defaultFolder property set to a non-local directory. For example: > > set the defaultFolder to "ftp://user:passowrd at ftp.webSite.com" returns > "Can't open directory." Try it without the user and password. The user/password is needed when actually accessing the contents of the folder on the server, but setting the default folder is internal to Rev and may need to be the actual folder path without anything extra. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lcamou3 at cox.net Mon Sep 2 22:01:01 2002 From: lcamou3 at cox.net (Luis Camou) Date: Mon Sep 2 22:01:01 2002 Subject: Telnet and Control break Key Message-ID: <000901c252f5$d64cd5a0$403c0244@myworksok> >It might be easier to make a button to represent this than to capture it. I thought about that, even though that means 36 buttons ( all the Function-Shift-Control keys combination) >A telnet break is 129, I think. Is that what you need? I'll try that. >Do you think you need a full telnet to talk to a router? Maybe you can get by with a simple tcp terminal (plus break). Yes! I need something very simple ( open port 23, send and receive data) , don't need terminal emulation ( like vt-100). >(BTW, my router won't let me recover from a lost password via tcp telnet; I have to use the serial connection.) I agree with you. I am sorry I did not phrase my questions right, I have the serial part working ... thanks to Sarah ( Serial test ) , what I need is the break key ( windows?) for the serial part to do the password recovery :-). Thank you Luis Camou lcamou3 at cox.net From dsc at swcp.com Tue Sep 3 00:10:00 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Sep 3 00:10:00 2002 Subject: Telnet and Control break Key In-Reply-To: <000901c252f5$d64cd5a0$403c0244@myworksok> Message-ID: <3CCC497E-BEFB-11D6-AD82-0050E4C0B205@swcp.com> On Monday, September 2, 2002, at 08:58 PM, Luis Camou wrote: > I agree with you. I am sorry I did not phrase my questions right, > I have > the serial part working ... thanks to Sarah ( Serial test ) , what > I need is > the break key ( windows?) for the serial part to do the password > recovery > :-). Hmm. "Break" may be ambiguous here. If you have been using a telnet client to talk out the serial port, you probably need the telnet break--byte code 129, I think. However, if you need an RS-232 break, that is something different. It is not a byte, but an action out-of-band. A serial line is either in the mark (1) or space (0) state. The serial line is normally held in a marking state (1). When a character is sent, a space (0) start bit is sent, then the data bits and then one or two mark (1) stop bits. A break is a space that is held longer than a character time, that is, past the expected mark stop bit. I don't know of a direct way to send this kind of break with Revolution. However, here is an idea that might work. Close the serial connection, open it again at a much lower bit rate, send a null, delay the break time, close the connection and reopen it at the original rate. (The handshake lines might drop; this probably won't be a problem, but it might be. You might need to change the serial cable wiring slightly.) I think your problem is tougher if this is what you need. I'd like to see how you do this if this is indeed your problem. Dar Scott From Esa.Kivela at ncrc.fi Tue Sep 3 00:29:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Tue Sep 3 00:29:01 2002 Subject: VS: Stand alone via www-page? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D1A@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Gary Rathbone [mailto:gary.rathbone at btclick.com] > L?hetetty: 2. syyskuuta 2002 19:21 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: Stand alone via www-page? > > > What is it exactly you're trying to do ? > 1. Do you want to use a web page to pass information to a > Revolution stack, > which sends a reply to appear in the browser window ? or > 2. Do you want to distribute your Revolution stack via the > web ? That is, a > user goes to your web page, clicks on a link and the browser begins to > download the Revolution stack ? We have intranet where in the main page is the box called "Quick messages". There users can sen messages like "hey all, coffee and my birthday cake is served at 6th floor!" or " meeting begins at 10:00 am at there and there...". Top is that box is a link where users press when they like to make new messages. When tehy have pressed it -> Revolution standalone called "Pikaviestit.exe" (= finnish = Quick messages.exe) pops up -> users type their messages and when usres press "Save message" button then messages appear into that box at intras main www page. Problem is that www-browser wants to donload it or run it at local. Is there any possibilities avoid that? EsaK From jeanne at runrev.com Tue Sep 3 02:35:03 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Sep 3 02:35:03 2002 Subject: Background in OS X In-Reply-To: Message-ID: At 8:14 PM -0700 8/29/2002, Monte Goulding wrote: >How do we get the correct default background on OS X. When I create a new >stack it's all white! White is correct (by the guidelines) for OS X document windows (i.e. topLevel stacks). If you make it a modal or modeless dialog or a palette, the stripes should show up. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From wlists at upstairsefx.com Tue Sep 3 03:09:05 2002 From: wlists at upstairsefx.com (Wally Rodriguez) Date: Tue Sep 3 03:09:05 2002 Subject: Rev on Mac OS 10.2 ("Jaguar") In-Reply-To: Message-ID: I've been running it for a few days now. I have noticed some weird crashing when working on one button and touching another to edit it. The software crashes out and has to be restarted. It then works for a while until the same problem occurs again. I have not been able to figure out what the trigger is. Workaround has been to save a lot more often. Brad Allen wrote: > Has anyone spent any time using Rev under 10.2? I've yet to make the > leap to 10.2 for a variety of reasons, wanting to make sure > everything I depend on will work. > > I haven't seen any statements from the RunRev folks about 10.2 > compatibility issues... From Doug_Ivers at lord.com Tue Sep 3 07:31:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Tue Sep 3 07:31:01 2002 Subject: XML Message-ID: <6150F6099DBED111852E0008C7241464049B3B36@NTSRV-CRD04> I've been trying to figure out how the xmltree-view.rev works (the XML demo that comes with 1.5A7). I don't understand the docID thing. The docID number seems arbitrary once the file is loaded. (I'm a beginner with XML, so I might be showing my ignorance -- I'm not sure what is Rev specific versus standard XML.) One thing I'd like to do is extract (or create from scratch) a field that displays an xml tree in outline form -- independent of anything else, as would be appropriate for a library object. Any suggestions, tips, insight? -- D From Roger.E.Eller at sealedair.com Tue Sep 3 08:35:01 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue Sep 3 08:35:01 2002 Subject: QuickTime Frame capture AND WinTV Message-ID: Hey, Is it possible to do the same or something similar using video input cards like WinTV (PC)? I have tried import snapshot, but the video field is replaced by a solid area that is magenta color (no picture). Roger Eller roger.e.eller at sealedair.com > Hi Ronald, > >> Does anyone know if it is possible to create a button that will copy >> the contents of the current displayed frame of an embedded QuickTime >> movie and then paste it as a graphic in the card? > > ....... > > Klaus Major > klaus.major at metascape.org > > ....... > > on mouseUp > import snapshot from rect(globalloc(the topleft of player 1), > globalloc(the bottomright of player 1)) > end mouseUp From kray at sonsothunder.com Tue Sep 3 08:40:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 3 08:40:01 2002 Subject: Background in OS X References: Message-ID: <002301c2534e$83dc90e0$6701a8c0@mckinley.dom> > At 8:14 PM -0700 8/29/2002, Monte Goulding wrote: > >How do we get the correct default background on OS X. When I create a new > >stack it's all white! > > White is correct (by the guidelines) for OS X document windows (i.e. > topLevel stacks). If you make it a modal or modeless dialog or a palette, > the stripes should show up. If for some reason you want the background to be striped for a document window, you can take a screen capture of the striped background, grab a portion of it, import it into Rev and then set the backgroundPattern of the stack to the imported image. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From rcozens at pon.net Tue Sep 3 09:58:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 3 09:58:01 2002 Subject: What Can Prevent a Window From Updating? Message-ID: Hi All, I have a problem where the stack window refuses to update even when lockScreen is false. I have a handler that displays two ask dialogs, creates a new card including info from the dialogs, and opens an empty field for input. This basic logic has been working for some time, but recently, although Rev says (via the message box) it is on the new card and I can see the cursor positioned where the field should be, the window image has not changed except that the portion that was under the ask dialogs is white. I can use the menubar to go to any card. I can ask via the message box where I am, and I am told I am at the right card; but the image in the stack window NEVER changes. If I run the handler starting from a card that is the same format as the new card, I can click on a button that is supposed to lock/unlock the input field and change it's own icon & toolTip in the process. When I click on the button, the field locks/unlocks and the toolTip changes (although the screen space beneath it does not refresh when the toolTip disappears) but the icon, though changed in the button's properties, does NOT change on the screen. In a nutshell, it looks as though the screen is locked, but the message box says lockScreen is false, and I can find no other global properties that might control this behavior...which occurs in both 1.1.1 & 1.5A7. Does anyone have any suggestions as to where to look for this bug? TIA, -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 Jedaniels at Evercom.net Tue Sep 3 10:48:01 2002 From: Jedaniels at Evercom.net (Jerry Daniels) Date: Tue Sep 3 10:48:01 2002 Subject: Database question Message-ID: <2EE5B9AA3AEFCA4299890DCF72A83BC601DA0B1F@mail_nt.evercom.net> Tim, Why not try using a three-tier architecture? Apache, PHP and MySQL? That way the database access is still local and web browsers could also access the data. You could use XML for the Apache-to-Rev return data, perhaps. Just an idea. Jerry -----Original Message----- From: Tim [mailto:tim11 at bellatlantic.net] Sent: Monday, September 02, 2002 2:53 PM To: use-revolution at lists.runrev.com Subject: Re: Database question On 9/2/02 1:28 PM, "Tuviah M Snyder" wrote: > Try prohosting (www.prohosting.com). They offer inexpensive mysql, php, > and webhosting. You can access the mysql database remotely from any > system, I use it myself to test mysql access. > > Tuviah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Thank you Tuviah. It looks like I'll be switching my ISP for the second time this year. Just out of curiosity, is it feasible to set up MYSQL in such a way as to have it accessed by remote clients (like Rev) and having permissions granted for every client (thus according to some ISP's, opening doors to hackers), or was MYSQL designed more for being accessed locally? I'm just trying to figure out the workflow, whether the Rev client should access the data remotely or communicate with a local version of itself already on the server? -- Tim _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From Jedaniels at Evercom.net Tue Sep 3 10:53:01 2002 From: Jedaniels at Evercom.net (Jerry Daniels) Date: Tue Sep 3 10:53:01 2002 Subject: What Can Prevent a Window From Updating? Message-ID: <2EE5B9AA3AEFCA4299890DCF72A83BC601DA0B23@mail_nt.evercom.net> Rob, I used to use "go to this card" to force updates in HyperCard. I would call it right after the result of the dialog was obtained. I haven't tested this with Revolution at this time. You might try that. Jerry -----Original Message----- From: Rob Cozens [mailto:rcozens at pon.net] Sent: Tuesday, September 03, 2002 9:56 AM To: use-revolution at lists.runrev.com Subject: What Can Prevent a Window From Updating? Hi All, I have a problem where the stack window refuses to update even when lockScreen is false. I have a handler that displays two ask dialogs, creates a new card including info from the dialogs, and opens an empty field for input. This basic logic has been working for some time, but recently, although Rev says (via the message box) it is on the new card and I can see the cursor positioned where the field should be, the window image has not changed except that the portion that was under the ask dialogs is white. I can use the menubar to go to any card. I can ask via the message box where I am, and I am told I am at the right card; but the image in the stack window NEVER changes. If I run the handler starting from a card that is the same format as the new card, I can click on a button that is supposed to lock/unlock the input field and change it's own icon & toolTip in the process. When I click on the button, the field locks/unlocks and the toolTip changes (although the screen space beneath it does not refresh when the toolTip disappears) but the icon, though changed in the button's properties, does NOT change on the screen. In a nutshell, it looks as though the screen is locked, but the message box says lockScreen is false, and I can find no other global properties that might control this behavior...which occurs in both 1.1.1 & 1.5A7. Does anyone have any suggestions as to where to look for this bug? TIA, -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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) _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jacque at hyperactivesw.com Tue Sep 3 11:16:00 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Sep 3 11:16:00 2002 Subject: List Files References: <200209030430.AAA21012@www.runrev.com> Message-ID: <3D74E00E.7020905@hyperactivesw.com> I wrote: > Dan Friedman wrote: > >>I tried using the "files" and "folders" functions, but I can't get the >>defaultFolder property set to a non-local directory. For example: >> >>set the defaultFolder to "ftp://user:passowrd at ftp.webSite.com" returns >>"Can't open directory." > > Try it without the user and password. The user/password is needed when > actually accessing the contents of the folder on the server, but setting > the default folder is internal to Rev and may need to be the actual > folder path without anything extra. My response above was a guess. I got curious and did some experimenting, and as far as I can see, "defaultfolder" doesn't support file paths over the net. It seems to be limited to drives that can be mounted on the local machine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rcozens at pon.net Tue Sep 3 11:22:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 3 11:22:00 2002 Subject: What Can Prevent a Window From Updating?--Answer In-Reply-To: References: Message-ID: >In a nutshell, it looks as though the screen is locked, but the >message box says lockScreen is false, and I can find no other global >properties that might control this behavior...which occurs in both >1.1.1 & 1.5A7. I should have looked at the stack properties as well as global properties: the stack's visible property was false. This is a database stack where most activity is initiated by Library handlers that "go invisible" to the database to file a new record. The handler causing the problem was running from inside the database stack, and needed a show stack statement following the call to the Library's record-filing handler. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 bvlahos at jpl.nasa.gov Tue Sep 3 12:00:02 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Tue Sep 3 12:00:02 2002 Subject: Can lineOffSet find last occurance? In-Reply-To: <56878B0C-BE17-11D6-8389-0003937A97B8@genesearch.com.au> Message-ID: <71B860B0-BF5E-11D6-819C-000393853DBC@jpl.nasa.gov> Thanks for all of the suggestions. What I ended up doing is simply put the data into a variable and then filtering it. This is very quick even for a lot of data. I did find where my performance bottleneck is. Apparently sorting by date is considerably slower than regular sorts and I do two of them. My data (tab delimited text log files) includes a date field and time field. The log files are created in chronological order so I normally wouldn't need to sort them. However, I have added the ability to keep appending log files together and can't assume the user will do them in chronological order. As a result, the initial processing of the log files takes a very long time. I'm not sure if I can improve the sort by date performance hit. Bill Vlahos On Sunday, September 1, 2002, at 06:57 PM, Sarah wrote: > Alternatively, how about finding the starting line, then using a > repeat for each but doing exit repeat if the current line doesn't > contain your text. The filter command is very fast too. I suggest some > timing tests to see what is the best option for your data. From shaosean at unitz.ca Tue Sep 3 14:49:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Tue Sep 3 14:49:01 2002 Subject: Can lineOffSet find last occurance? References: <71B860B0-BF5E-11D6-819C-000393853DBC@jpl.nasa.gov> Message-ID: <000701c25382$22e14e00$88b15bd1@lanfear> does your software create the log files? if so, why not store the date/time info as seconds and allow it to do the sort on that (an integer instead of date/time items).. use the convert function for the end display ----- Original Message ----- > I did find where my performance bottleneck is. Apparently sorting by > date is considerably slower than regular sorts and I do two of them. My > data (tab delimited text log files) includes a date field and time From harrison at all-auctions.com Tue Sep 3 15:19:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Tue Sep 3 15:19:01 2002 Subject: Can lineOffSet find last occurance? In-Reply-To: <000701c25382$22e14e00$88b15bd1@lanfear> Message-ID: Does anyone know how to write to the USB port on a Mac? I'm thinking of writing a simple driver program and I need to know if Revolution can do it or not. Thanks, Rick Harrison From harrison at all-auctions.com Tue Sep 3 15:21:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Tue Sep 3 15:21:01 2002 Subject: Write to Macintosh USB Port? In-Reply-To: Message-ID: Does anyone know how to write to the USB port on a Mac? I'm thinking of writing a simple driver program and I need to know if Revolution can do it or not. Thanks, Rick Harrison From katir at hindu.org Tue Sep 3 16:24:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue Sep 3 16:24:01 2002 Subject: Rev on Mac OS 10.2 ("Jaguar") In-Reply-To: <200209031601.MAA32128@www.runrev.com> Message-ID: <590A959E-BF83-11D6-B6BE-003065FB9830@hindu.org> We can confirm this in a near copy-cat scenario: click on a button... resize it... click off, click back on it (same button in this case)... crash... but not every time.... On Tuesday, September 3, 2002, at 06:01 AM, use-revolution-request at lists.runrev.com, Wally Rodriguez, wrote: > I've been running it for a few days now. I have noticed some weird > crashing > when working on one button and touching another to edit it. The > software > crashes out and has to be restarted. It then works for a while until > the > same problem occurs again. I have not been able to figure out what the > trigger is. Workaround has been to save a lot more often. Sivakatirswami From tim11 at bellatlantic.net Tue Sep 3 18:23:01 2002 From: tim11 at bellatlantic.net (Tim) Date: Tue Sep 3 18:23:01 2002 Subject: Database question In-Reply-To: <2EE5B9AA3AEFCA4299890DCF72A83BC601DA0B1F@mail_nt.evercom.net> Message-ID: On 9/3/02 11:44 AM, "Jerry Daniels" wrote: > Tim, > > Why not try using a three-tier architecture? Apache, PHP and MySQL? That way > the database access is still local and web browsers could also access the > data. You could use XML for the Apache-to-Rev return data, perhaps. > > Just an idea. > > Jerry > > -----Original Message----- > From: Tim [mailto:tim11 at bellatlantic.net] > Sent: Monday, September 02, 2002 2:53 PM > To: use-revolution at lists.runrev.com > Subject: Re: Database question > > On 9/2/02 1:28 PM, "Tuviah M Snyder" wrote: > >> Try prohosting (www.prohosting.com). They offer inexpensive mysql, php, >> and webhosting. You can access the mysql database remotely from any >> system, I use it myself to test mysql access. >> >> Tuviah >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > Thank you Tuviah. It looks like I'll be switching my ISP for the second time > this year. Just out of curiosity, is it feasible to set up MYSQL in such a > way as to have it accessed by remote clients (like Rev) and having > permissions granted for every client (thus according to some ISP's, opening > doors to hackers), or was MYSQL designed more for being accessed locally? > I'm just trying to figure out the workflow, whether the Rev client should > access the data remotely or communicate with a local version of itself > already on the server? That seems to be the way to go. Accessing MYSQL remotely is more of a hassle than it seems. -- Tim From sarahr at genesearch.com.au Tue Sep 3 20:34:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Tue Sep 3 20:34:01 2002 Subject: Rev on Mac OS 10.2 ("Jaguar") In-Reply-To: Message-ID: <9C6BCF5A-BF87-11D6-A302-0003937A97B8@genesearch.com.au> It's all due to Jaguar's Appearance Manager. Set the Look & Feel to Mac OS emulated during editing and you won't get these crashes. Presumably the next version of Rev will be updated to co-exist with the new version of Appearance Manager. Sarah On Wednesday, September 4, 2002, at 07:25 am, Sannyasin Sivakatirswami wrote: > We can confirm this in a near copy-cat scenario: > > click on a button... resize it... click off, click back on it (same > button in this case)... crash... but not every time.... > > > On Tuesday, September 3, 2002, at 06:01 AM, > use-revolution-request at lists.runrev.com, Wally Rodriguez, wrote: > >> I've been running it for a few days now. I have noticed some weird >> crashing >> when working on one button and touching another to edit it. The >> software >> crashes out and has to be restarted. It then works for a while until >> the >> same problem occurs again. I have not been able to figure out what the >> trigger is. Workaround has been to save a lot more often. > > Sivakatirswami > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Tue Sep 3 20:35:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Tue Sep 3 20:35:01 2002 Subject: XML In-Reply-To: Message-ID: The docID is just a label that gets assigned to your XML document once it is read. You can have more than one document open at a time, so this docID tells the command which document to use for each operation. Sarah On Tuesday, September 3, 2002, at 10:32 pm, Ivers, Doug E wrote: > I've been trying to figure out how the xmltree-view.rev works (the XML > demo that comes with 1.5A7). I don't understand the docID thing. The > docID number seems arbitrary once the file is loaded. (I'm a beginner > with XML, so I might be showing my ignorance -- I'm not sure what is > Rev specific versus standard XML.) > > One thing I'd like to do is extract (or create from scratch) a field > that displays an xml tree in outline form -- independent of anything > else, as would be appropriate for a library object. > > Any suggestions, tips, insight? > > > -- D > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Tue Sep 3 22:07:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Sep 3 22:07:01 2002 Subject: XML In-Reply-To: <6150F6099DBED111852E0008C7241464049B3B36@NTSRV-CRD04> Message-ID: Hi Doug Check out the libXMLtext.rev (co-authored by Chipp) library on my rev site sweattechnologies.com/rev. If enables every field with an XML tree or stylesheet type inheritance. All you need to do is: library "libXMLtext" set the xmlTree of fld "XMLtree" to true set the xmlText of fld "XMLtext" to myXML Cheers Monte > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ivers, Doug E > Sent: Tuesday, 3 September 2002 9:58 PM > To: use-revolution at lists.runrev.com > Subject: XML > > > I've been trying to figure out how the xmltree-view.rev works > (the XML demo that comes with 1.5A7). I don't understand the > docID thing. The docID number seems arbitrary once the file is > loaded. (I'm a beginner with XML, so I might be showing my > ignorance -- I'm not sure what is Rev specific versus standard XML.) > > One thing I'd like to do is extract (or create from scratch) a > field that displays an xml tree in outline form -- independent of > anything else, as would be appropriate for a library object. > > Any suggestions, tips, insight? > > > -- D > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From troy at rpsystems.net Tue Sep 3 23:29:00 2002 From: troy at rpsystems.net (Troy Rollins) Date: Tue Sep 3 23:29:00 2002 Subject: Moron OSX!! er... more on OSX, pLst and bundles Message-ID: In working with getting stuff configured for real OSX functionality, I find that it is currently a pain, regardless of Ken and Richard's helpful insights. And could use yet some additional help. The problems are these - 1) The bundles created by Rev appear as Classic apps regardless of their "prefer carbon" status, and therefore the "show package contents" is not available. The only resolution I've found to to use Resploder, and rip the package apart by the threads. 2) The pLst editor does not allow editing of some of the content which displays in the get info dialog. Particularly the version, etc. I personally don't like to put out an application where every version reports itself as 1.1.1 3) I still have not gotten my document files to properly associate with the creator application. The apple events seems particularly tenuous under OSX. Any additional thoughts or assistance are appreciated. I am strongly considering building my own pLst and resource editor under Rev. I know it can be done more elegantly than what I am seeing right now. -- Troy RPSystems, LTD www.rpsystems.net From monte at sweattechnologies.com Wed Sep 4 00:20:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 4 00:20:01 2002 Subject: Moron OSX!! er... more on OSX, pLst and bundles In-Reply-To: Message-ID: I share your frustration Troy. Whatever I work out I'll post to the list and maybe to my site. It's all getting rather urgent for me because I need to delive an app what has two file types and as yet all I can get is the default app icon and the default plain page document icon. I can't get rid of these with resEdit. I did find the plst XML quite simple though. It looks to me like you need to edit both the plst and vers resources to get the correct version number. > > In working with getting stuff configured for real OSX functionality, I > find that it is currently a pain, regardless of Ken and Richard's > helpful insights. And could use yet some additional help. > > The problems are these - > 1) The bundles created by Rev appear as Classic apps regardless of their > "prefer carbon" status, and therefore the "show package contents" is not > available. The only resolution I've found to to use Resploder, and rip > the package apart by the threads. > 2) The pLst editor does not allow editing of some of the content which > displays in the get info dialog. Particularly the version, etc. I > personally don't like to put out an application where every version > reports itself as 1.1.1 > 3) I still have not gotten my document files to properly associate with > the creator application. The apple events seems particularly tenuous > under OSX. > > Any additional thoughts or assistance are appreciated. > > I am strongly considering building my own pLst and resource editor under > Rev. I know it can be done more elegantly than what I am seeing right > now. > -- > Troy > RPSystems, LTD > www.rpsystems.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From webmaster at studioalice.se Wed Sep 4 01:16:01 2002 From: webmaster at studioalice.se (=?ISO-8859-1?Q?Magnus_von_Br=F6msen?=) Date: Wed Sep 4 01:16:01 2002 Subject: Typography problems in OS X In-Reply-To: Message-ID: <9B256956-BFCD-11D6-B865-003065CCBD1A@studioalice.se> Hi Peter Don't know if this can solve your problem (just a thought): where do you have your Verdana font? I have mine in Harddrive/Library/Fonts. And that works. (sorry for a late respond -- but my mailserver has been down =( On l?rdag, aug 31, 2002, at 10:19 Europe/Stockholm, Peter Lundh wrote: > Hi all- > > I want to use the system font "Verdana" in some fields in my Rev > application. For some reason when I apply it - either through the text > properties window or with the "set textFont" property command - > Revolution > applies a different nondescript font. Other fonts (system, or > non-system) > work well in Revolution. I can also use Verdana and all other installed > fonts in other applications, like MS Word X and Photoshop 7 without any > problems. I'm using the latest version of Revolution on Mac OS X > 10.1.5. > -- > Peter Lundh > Sweden > E: simran at teleline.es > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From lcamou at hotmail.com Wed Sep 4 02:44:01 2002 From: lcamou at hotmail.com (Luis Camou) Date: Wed Sep 4 02:44:01 2002 Subject: Telnet and Control Break Key Message-ID: Hi >I think your problem is tougher if this is what you need. I'd like to see how you do this if this is indeed your problem. I thought that a combination key might work since I am using a pc. What am looking i guess is a easy way out. :-) I was looking at Cisco's site http://www.Cisco.com/warp/public/701/61.html In their table at the end it seems that I can accomplish this by capturing the Ctrl-Break key and sending it through the serial port . They also describe how to do it with a lower speed and a spacekey combination to accomplish the same. The problem with this speed - spacekey combination is that it is unreliable ... sometimes works and some times it doesn't . Thank you Luis Camou lcamou3 at cox.net From rebecca at sweattechnologies.com Wed Sep 4 02:44:24 2002 From: rebecca at sweattechnologies.com (Rebecca Goulding) Date: Wed Sep 4 02:44:24 2002 Subject: Background in OS X In-Reply-To: Message-ID: Yes thanks, I worked thoug out after a little play but I still seem to have some modal dialogs showing up white. It's strange because the have the correct background when they are palette and modeless. Any idea's???? the colors of both the stack and card are empty. White is correct (by the guidelines) for OS X document windows (i.e. > topLevel stacks). If you make it a modal or modeless dialog or a palette, > the stripes should show up. > > -- > Jeanne A. E. DeVoto ~ jeanne at runrev.com > Runtime Revolution Limited - The Solution for Software Development > http://www.runrev.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Doug_Ivers at lord.com Wed Sep 4 08:09:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Wed Sep 4 08:09:01 2002 Subject: XML Message-ID: <6150F6099DBED111852E0008C7241464049B3B3C@NTSRV-CRD04> Looks like most of the functions require a docID as the first parameter. This seems a bit onerous if my stack never loads an external XML doc. To what extent is the loaded XML doc acting like a built-in Rev object -- on par with cards, fields, buttons, etc.? Is this the intent of the Rev/MetaCard programmers? -- D > -----Original Message----- > From: Sarah [mailto:sarahr at genesearch.com.au] > Sent: Tuesday, September 03, 2002 6:03 PM > To: use-revolution at lists.runrev.com > Subject: Re: XML > > > The docID is just a label that gets assigned to your XML > document once > it is read. You can have more than one document open at a > time, so this > docID tells the command which document to use for each operation. > > Sarah > > On Tuesday, September 3, 2002, at 10:32 pm, Ivers, Doug E wrote: > > > I've been trying to figure out how the xmltree-view.rev > works (the XML > > demo that comes with 1.5A7). I don't understand the docID > thing. The > > docID number seems arbitrary once the file is loaded. (I'm > a beginner > > with XML, so I might be showing my ignorance -- I'm not > sure what is > > Rev specific versus standard XML.) > > > > One thing I'd like to do is extract (or create from > scratch) a field > > that displays an xml tree in outline form -- independent of > anything > > else, as would be appropriate for a library object. > > > > Any suggestions, tips, insight? > > > > > > -- D > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sylvain.legourrierec at son-video.com Wed Sep 4 08:31:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Wed Sep 4 08:31:01 2002 Subject: pb with revdb_execute() Message-ID: <001101c25417$28dae3d0$0801a8c0@sylvain> hello, I have a field "MySQL_query_build" that contains : UPDATE catalogue SET videoprojecteur = 'non' WHERE ref = 'SONYVPLCS3'; UPDATE catalogue SET videoprojecteur = 'non' WHERE ref = 'POLAVIEW270'; UPDATE catalogue SET videoprojecteur = 'non' WHERE ref = 'EPSONEMP50'; etc. In a button, I have: on mouseUp put revdb_execute(the MySQL_id_connection of this card, field "MySQL_query_build") into field "MySQL_result" end mouseUp and the function return : You have an error in your SQL syntax near '; UPDATE catalogue SET videoprojecteur = 'non' WHERE ref = 'POLAVIEW270'; UPDATE' at line 1 Why? of course, the content of my field is a correct SQL query thanks Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution -------------- next part -------------- An HTML attachment was scrubbed... URL: From klaus.major at metascape.org Wed Sep 4 08:49:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Sep 4 08:49:01 2002 Subject: pb with revdb_execute() In-Reply-To: <001101c25417$28dae3d0$0801a8c0@sylvain> Message-ID: <53E1EFD6-C00C-11D6-9E4F-003065D52E8E@metascape.org> Bonjour Sylvain, ca va bien ? Since i have little experience with revdb-stuff and sql, the following is a (wild) guess ;-) Looks like revbd tries to execute the WHOLE field as ONE sql-statement. Can't work... Try this: delete the ending ; of each line and script this in your button ... repeat for each line l in field "MySQL_query_build" put revdb_execute(the MySQL_id_connection of this card, l)?into field "MySQL_result" ## or after fld ... end repeat ... Make sure each line is a REAL line (separated with CR) > hello, > ? > I have a field "MySQL_query_build"?that contains : > ? > UPDATE catalogue SET videoprojecteur = 'non' WHERE ref = 'SONYVPLCS3'; > UPDATE catalogue SET videoprojecteur = 'non' WHERE ref = 'POLAVIEW270'; > UPDATE catalogue SET videoprojecteur = 'non' WHERE ref = 'EPSONEMP50'; > etc. > ? > In a button, I have: > ? > on mouseUp > ?? put revdb_execute(the MySQL_id_connection of this card, field > "MySQL_query_build")?into field "MySQL_result" > end mouseUp > > and the function return : > ? > You have an error in your SQL syntax near '; > UPDATE catalogue SET videoprojecteur = 'non' WHERE ref = 'POLAVIEW270'; > UPDATE' at line 1 > > Why? > of course, the content of my field is a correct SQL query? > thanks > > Sylvain Le Gourri?rec? ??? d?veloppement? ?? son-video-distribution > Hope this helps. Au revoir Klaus Major klaus.major at metascape.org From klaus.major at metascape.org Wed Sep 4 08:49:09 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Sep 4 08:49:09 2002 Subject: pb with revdb_execute() In-Reply-To: <001101c25417$28dae3d0$0801a8c0@sylvain> Message-ID: <9E282576-C00C-11D6-9E4F-003065D52E8E@metascape.org> Bonjour Sylvain, ca va bien ? Since i have little experience with revdb-stuff and sql, the following is a (wild) guess ;-) Looks like revbd tries to execute the WHOLE field as ONE sql-statement. Can't work... Try this: delete the ending ; of each line and script this in your button ... repeat for each line l in field "MySQL_query_build" put revdb_execute(the MySQL_id_connection of this card, l)?into field "MySQL_result" ## or after fld ... end repeat ... Make sure each line is a REAL line (separated with CR) > hello, > ? > I have a field "MySQL_query_build"?that contains : > ? > UPDATE catalogue SET videoprojecteur = 'non' WHERE ref = 'SONYVPLCS3'; > UPDATE catalogue SET videoprojecteur = 'non' WHERE ref = 'POLAVIEW270'; > UPDATE catalogue SET videoprojecteur = 'non' WHERE ref = 'EPSONEMP50'; > etc. > ? > In a button, I have: > ? > on mouseUp > ?? put revdb_execute(the MySQL_id_connection of this card, field > "MySQL_query_build")?into field "MySQL_result" > end mouseUp > > and the function return : > ? > You have an error in your SQL syntax near '; > UPDATE catalogue SET videoprojecteur = 'non' WHERE ref = 'POLAVIEW270'; > UPDATE' at line 1 > > Why? > of course, the content of my field is a correct SQL query? > thanks > > Sylvain Le Gourri?rec? ??? d?veloppement? ?? son-video-distribution > Hope this helps. Au revoir Klaus Major klaus.major at metascape.org From sylvain.legourrierec at son-video.com Wed Sep 4 09:00:01 2002 From: sylvain.legourrierec at son-video.com (=?Windows-1252?Q?Sylvain_Le_Gourri=E9rec?=) Date: Wed Sep 4 09:00:01 2002 Subject: pb with revdb_execute() References: <9E282576-C00C-11D6-9E4F-003065D52E8E@metascape.org> Message-ID: <000401c2541b$33a00350$0801a8c0@sylvain> I understand, but I believed that it was more efficient to submit a whole set of SQL queries rather than submit plenty of queries. So, the function revdb_execute can't work with more than one query? thanks From klaus.major at metascape.org Wed Sep 4 09:06:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Sep 4 09:06:01 2002 Subject: pb with revdb_execute() In-Reply-To: <000401c2541b$33a00350$0801a8c0@sylvain> Message-ID: Bon jour Sylvain, > I understand, but I believed that it was more efficient to submit a > whole > set of SQL queries rather than submit plenty of queries. > > So, the function revdb_execute can't work with more than one query? Sorry, i don't have any idea. I will leave this quetion to someone with more revbd- and sql- experience. > thanks De rien ;-) Regards Klaus Major klaus.major at metascape.org From Roger.E.Eller at sealedair.com Wed Sep 4 09:32:00 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed Sep 4 09:32:00 2002 Subject: QuickTime Frame capture AND WinTV Message-ID: Does anybody at RunTime have an idea of how to use Revolution to capture a video field that is displaying on the desktop (as an image)? ~Roger > Hey, > > Is it possible to do the same or something similar using video input cards > like WinTV (PC)? I have tried import snapshot, but the video field is > replaced by a solid area that is magenta color (no picture). > > Roger Eller > roger.e.eller at sealedair.com > >> Hi Ronald, >> >>> Does anyone know if it is possible to create a button that will copy >>> the contents of the current displayed frame of an embedded QuickTime >>> movie and then paste it as a graphic in the card? >> >> ....... >> >> Klaus Major >> klaus.major at metascape.org >> >> ....... >> >> on mouseUp >> import snapshot from rect(globalloc(the topleft of player 1), >> globalloc(the bottomright of player 1)) >> end mouseUp From kee at kagi.com Wed Sep 4 10:23:01 2002 From: kee at kagi.com (Kee Nethery) Date: Wed Sep 4 10:23:01 2002 Subject: pb with revdb_execute() In-Reply-To: References: Message-ID: >Bon jour Sylvain, > >>I understand, but I believed that it was more efficient to submit a whole >>set of SQL queries rather than submit plenty of queries. >> >>So, the function revdb_execute can't work with more than one query? > >Sorry, i don't have any idea. > >I will leave this quetion to someone with more revbd- and sql- experience. It's been my experience that some SQL can be submitted multi-line and some cannot. Typically a set of stored procedures will not execute in multi-line fashion. That said, the SQL you have posted looks to me like it should go multi-line with no problems. I do that kind of multi-line execute all the time. The SQL I submit on Sybase does not end with ";" so I'm not familiar with that as an ending. Maybe the rev database commands don't want to see ";" at the end of each line? For the SQL I submit on Sybase, within my interface, each line is terminated with an ascii(13). Don't know if that would make a difference for you, probably not. I'm not sure what kind of magic rev does to the lines before it submits them to the database. Maybe there is some kind of binary mode or something weird like that to tell rev to do exactly what you have written without modification. Again, I don't know if you text is getting modified by rev. Perhaps wrap them in a begin tran and commit (or whatever your SQL database uses to wrap multi-line commands). Good luck. From kray at sonsothunder.com Wed Sep 4 10:31:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 4 10:31:00 2002 Subject: XML References: <6150F6099DBED111852E0008C7241464049B3B3C@NTSRV-CRD04> Message-ID: <002401c25427$2b07bba0$6f00a8c0@mckinley.dom> Doug, the ID is actually assigned to the XML *container* (data read from a file, or from a block of XML in a variable, etc. There has to be some "handle" to get a hold of the XML data, assuming and environment that can hold multiple "documents" (XML containers) in memory at the same time Since you're using 1.5, you might want to take a look at a scripted XML alternative for Rev and MC at http://www.sonsothunder.com/products/metacard/xmllib.htm. Once a document is read, each node is given a unique ID number, and you can just refer to the node by number. So here's an example of getting the name (tag) of all the child nodes from the root node of a bunch of XML that you have in a global (without error checking code for simplicity): on mouseUp global gMyXMLData -- holds the XML data you want to examine put XMLLoadData(gMyXMLData) into tDocNum put XMLGetRoot(tDocNum) into tRootNode put XMLGetChildren(tRootNode) into tKidNodeList put "" into tKids repeat for each line tKidNode in tKidLNodeList put XMLGetNodeName(tKidNode) & cr after tKids end repeat answer "The child nodes are: " & cr & tKids end mouseUp Just FYI, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Ivers, Doug E" To: Sent: Wednesday, September 04, 2002 8:05 AM Subject: RE: XML > Looks like most of the functions require a docID as the first parameter. This seems a bit onerous if my stack never loads an external XML doc. > > To what extent is the loaded XML doc acting like a built-in Rev object -- on par with cards, fields, buttons, etc.? Is this the intent of the Rev/MetaCard programmers? > > > -- D > > > > -----Original Message----- > > From: Sarah [mailto:sarahr at genesearch.com.au] > > Sent: Tuesday, September 03, 2002 6:03 PM > > To: use-revolution at lists.runrev.com > > Subject: Re: XML > > > > > > The docID is just a label that gets assigned to your XML > > document once > > it is read. You can have more than one document open at a > > time, so this > > docID tells the command which document to use for each operation. > > > > Sarah > > > > On Tuesday, September 3, 2002, at 10:32 pm, Ivers, Doug E wrote: > > > > > I've been trying to figure out how the xmltree-view.rev > > works (the XML > > > demo that comes with 1.5A7). I don't understand the docID > > thing. The > > > docID number seems arbitrary once the file is loaded. (I'm > > a beginner > > > with XML, so I might be showing my ignorance -- I'm not > > sure what is > > > Rev specific versus standard XML.) > > > > > > One thing I'd like to do is extract (or create from > > scratch) a field > > > that displays an xml tree in outline form -- independent of > > anything > > > else, as would be appropriate for a library object. > > > > > > Any suggestions, tips, insight? > > > > > > > > > -- D > > > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Wed Sep 4 10:34:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 4 10:34:01 2002 Subject: Telnet and Control Break Key In-Reply-To: Message-ID: <94D8AE9A-C01B-11D6-842E-0050E4C0B205@swcp.com> On Tuesday, September 3, 2002, at 07:54 PM, Luis Camou wrote: > I was looking at Cisco's site > http://www.Cisco.com/warp/public/701/61.html What they require is what I was afraid of. Are you wanting to do this in Revolution because you want to automate part of this or make part of the whole process easier? If you are simply needing a terminal, would Hyperterminal do? They list Hyperterminal as being able to send the break. > In their table at the end it seems that I can accomplish this by > capturing > the Ctrl-Break key and sending it through the serial port . The problem is that these do not correspond to a character. Each one causes some routine to do something special to wiggle that line as needed. How that is done may be different on each application. > They also > describe how to do it with a lower speed and a spacekey combination to > accomplish the same. The problem with this speed - spacekey > combination is > that it is unreliable ... sometimes works and some times it doesn't . I looked at this on the page you mentioned. I don't know why they have you hold down the space bar; that would only send multiples. The ASCII code for space is 20 hex, 00100000 binary. Since this is sent at quarter speed (1200 bps), the lower five zeros (in binary) will look like a break at 9600 bps. You need at least 10 unit times to make a break and this will generate 24 including the start bit. However, the upper 2 bits will look like 80 hex; it generates 2*4 zeros at 9600, but one is needed for the start. So holding down the space bar will send sets of break plus some non ascii character. The weird extra character may be related to the reliability problem. That might work better if you use their procedure but type control-@, that is, ctrl-shift-2, on a terminal program. Or write a null, numToChar(0), to the port in your own program. This will generate a single 36 unit break. You might want to check and see if this is more reliable. The reliability problem might be related to changes in the handshake lines when you close the port and reopen at the higher bit rate. You might want to look at what they say about cables. I have a feeling that they ignore them, though. If you want to automatically handle password recovery, you might need something like this in your scripts: open port at 9600 bps read repeatedly waiting for boot message wait some time until you are sure the router will see the break close port open port at 1200 bps repeat for number of breaks required by router send numToChar(0) wait 10 ms close port open port at 9600 recover password close port Or maybe there is some better method in Revolution that I don't know. Maybe someone will pipe up and tell us. Dar Scott From yvescoppe at skynet.be Wed Sep 4 11:56:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Wed Sep 4 11:56:01 2002 Subject: XML In-Reply-To: <002401c25427$2b07bba0$6f00a8c0@mckinley.dom> References: <6150F6099DBED111852E0008C7241464049B3B3C@NTSRV-CRD04> <002401c25427$2b07bba0$6f00a8c0@mckinley.dom> Message-ID: >Since you're using 1.5, you might want to take a look at a scripted XML >alternative for Rev and MC at >http://www.sonsothunder.com/products/metacard/xmllib.htm. Once a document is >read, each node is given a unique ID number, and you can just refer to the >node by number. So here's an example of getting the name (tag) of all the >child nodes from the root node of a bunch of XML that you have in a global >(without error checking code for simplicity): > I go to your website to take informations and I see we need Rev 1.5 Perhaps, I've missed one step, but I work with Rev 1.1.1 at this moment. On the website of RunRev, I don't see anywhere something about Rev 1.5 How can I upgrade ??? -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From kkaufman at snet.net Wed Sep 4 12:41:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed Sep 4 12:41:01 2002 Subject: Rev on Mac OS 10.2 ("Jaguar") Message-ID: <4FA20070-C02D-11D6-B6C0-00039348A1E6@snet.net> Sarah wrote: "...Presumably the next version of Rev will be updated to co-exist with the new version of Appearance Manager...." I've heard from quite a few programmers that Mac OS X remains a "moving target". I do not envy Revolution's engineers their task! -Kurt From rcozens at pon.net Wed Sep 4 12:46:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Sep 4 12:46:01 2002 Subject: XML In-Reply-To: References: <6150F6099DBED111852E0008C7241464049B3B3C@NTSRV-CRD04> <002401c25427$2b07bba0$6f00a8c0@mckinley.dom> Message-ID: >On the website of RunRev, I don't see anywhere something about Rev 1.5 > >How can I upgrade ??? Salut Yves, Rev 1.5 is still in testing. I have no clue when it will be officially released. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 tuviah at runrev.com Wed Sep 4 13:00:01 2002 From: tuviah at runrev.com (Tuviah Snyder) Date: Wed Sep 4 13:00:01 2002 Subject: pb with revdb_execute References: Message-ID: <003001c2543b$1d50e680$b1beaaac@user> Depends on the database. Oracle can parse multiline SQL statements, and PL/SQL. For most databases, it's better to call revdb_execute multiple times rather than pass multi-line sql statements. Tuviah Snyder Runtime Revolution Limited - The Solution for Software Development From chipp at chipp.com Wed Sep 4 13:24:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Wed Sep 4 13:24:01 2002 Subject: QT alwaysbuffer locks Rev when keyframes are far apart.... Message-ID: Using WinXP: Setting the alwaysbuffer to true of a player prevents any other mouseClicks from being heard on a different palette window. Any ideas why? This seems to only be the case with MPG movies or movies compressed with the Animation Codec where KEYFRAMES are set to a very high number. Any ideas or workarounds? I need alwaysbuffer because I'm getting mulitple flashes when setting the filename of a movie. thanks, Chipp From mcary at club-internet.fr Wed Sep 4 15:11:01 2002 From: mcary at club-internet.fr (Mickael Cary) Date: Wed Sep 4 15:11:01 2002 Subject: unsubscribe References: Message-ID: <013401c2544f$713bf6e0$a600a8c0@mshome.net> CARYlogiciels, trucs et astuces MAC/PC/4D ----- Original Message ----- From: "Chipp Walters" To: "Use-Revolution" Sent: Wednesday, September 04, 2002 8:22 PM Subject: QT alwaysbuffer locks Rev when keyframes are far apart.... > Using WinXP: > > Setting the alwaysbuffer to true of a player prevents any other mouseClicks > from being heard on a different palette window. Any ideas why? This seems to > only be the case with MPG movies or movies compressed with the Animation > Codec where KEYFRAMES are set to a very high number. Any ideas or > workarounds? > > I need alwaysbuffer because I'm getting mulitple flashes when setting the > filename of a movie. > > thanks, > > Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Wed Sep 4 15:57:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 4 15:57:01 2002 Subject: QT alwaysbuffer locks Rev when keyframes are far apart.... References: Message-ID: <005f01c25454$cda7d6b0$6f00a8c0@mckinley.dom> Chipp, What platform is this on? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Chipp Walters" To: "Use-Revolution" Sent: Wednesday, September 04, 2002 1:22 PM Subject: QT alwaysbuffer locks Rev when keyframes are far apart.... > Using WinXP: > > Setting the alwaysbuffer to true of a player prevents any other mouseClicks > from being heard on a different palette window. Any ideas why? This seems to > only be the case with MPG movies or movies compressed with the Animation > Codec where KEYFRAMES are set to a very high number. Any ideas or > workarounds? > > I need alwaysbuffer because I'm getting mulitple flashes when setting the > filename of a movie. > > thanks, > > Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Wed Sep 4 16:26:00 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed Sep 4 16:26:00 2002 Subject: Field height Adjuster Button Message-ID: <9FFD1D5E-C04B-11D6-B6BE-003065FB9830@hindu.org> Has anyone already scripted a button has the appearance of a "split window pane" heights adjuster that operates on two horizontally adjacent fields? I can start on this myself, but thought it might already be done. Visualize two fields, one above the other with the bottom of one field contiguous with the top of the one below it. In between , if you click down a button appears that indicates it can be dragged up or down and the relative height of the fields will change as well as (obviously) the top coordinate of the bottom field as the one above it grows or shrinks, the top field topLeft coordinates would be fixed, as well as the bottom field's left coordinate. The same algorithm could then be applied to the widths of two fields adjusted along their vertical contiguous border. What I need doesn't have to be a polished gem in terms of HIG, just functional. Sivakatirswami From chipp at chipp.com Wed Sep 4 16:46:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Wed Sep 4 16:46:00 2002 Subject: QT alwaysbuffer locks Rev when keyframes are far apart.... In-Reply-To: <005f01c25454$cda7d6b0$6f00a8c0@mckinley.dom> Message-ID: Ken, WinXP > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Ray > Sent: Wednesday, September 04, 2002 3:51 PM > To: use-revolution at lists.runrev.com > Subject: Re: QT alwaysbuffer locks Rev when keyframes are far apart.... > > > Chipp, > > What platform is this on? > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "Chipp Walters" > To: "Use-Revolution" > Sent: Wednesday, September 04, 2002 1:22 PM > Subject: QT alwaysbuffer locks Rev when keyframes are far apart.... > > > > Using WinXP: > > > > Setting the alwaysbuffer to true of a player prevents any other > mouseClicks > > from being heard on a different palette window. Any ideas why? > This seems > to > > only be the case with MPG movies or movies compressed with the Animation > > Codec where KEYFRAMES are set to a very high number. Any ideas or > > workarounds? > > > > I need alwaysbuffer because I'm getting mulitple flashes when > setting the > > filename of a movie. > > > > thanks, > > > > Chipp > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From rfarnold at bu.edu Wed Sep 4 16:48:00 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Wed Sep 4 16:48:00 2002 Subject: MacOS version support Message-ID: Dear Run Rev Users, I just heard from a user that my just released application isn't working on Macs running 8.6 (producing a "missing carbon lib" response). What Mac OS systems (how far back) does Rev's MacOS distribution builder support? Only 9+? Or, might this be related to PPC vs. "fat" code (The application is compiled for PPC only). Thanks for any/all help Bob Arnold -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 News: http://people.bu.edu/rfarnold/Announce.htm From sarahr at genesearch.com.au Wed Sep 4 17:01:02 2002 From: sarahr at genesearch.com.au (Sarah) Date: Wed Sep 4 17:01:02 2002 Subject: Field height Adjuster Button In-Reply-To: Message-ID: <98ECB658-C051-11D6-A302-0003937A97B8@genesearch.com.au> I did this, but I basically copied, then modified the script that Rev put in the Properties palette in the Custom section. There is a button in the middle that moves the divider between the fields up or down. If you use the Application Overview and show revolution stacks, you can get the script & icon ID for this button. Sarah On Thursday, September 5, 2002, at 07:28 am, Sannyasin Sivakatirswami wrote: > Has anyone already scripted a button has the appearance of a "split > window pane" heights adjuster that operates on two horizontally > adjacent fields? > > I can start on this myself, but thought it might already be done. > > Visualize two fields, one above the other with the bottom of one field > contiguous with the top of the one below it. In between , if you > click down a button appears that indicates it can be dragged up or > down and the relative height of the fields will change as well as > (obviously) the top coordinate of the bottom field as the one above it > grows or shrinks, the top field topLeft coordinates would be fixed, as > well as the bottom field's left coordinate. > > The same algorithm could then be applied to the widths of two fields > adjusted along their vertical contiguous border. > > What I need doesn't have to be a polished gem in terms of HIG, just > functional. > > Sivakatirswami > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Sep 4 17:05:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 4 17:05:01 2002 Subject: QT alwaysbuffer locks Rev when keyframes are far apart.... In-Reply-To: Message-ID: Chipp Walters wrote: > Setting the alwaysbuffer to true of a player prevents any other mouseClicks > from being heard on a different palette window. Any ideas why? This seems to > only be the case with MPG movies or movies compressed with the Animation > Codec where KEYFRAMES are set to a very high number. Any ideas or > workarounds? > > I need alwaysbuffer because I'm getting mulitple flashes when setting the > filename of a movie. You might try just setting it when changing the movie and then turn it off. MPEG is an inherently computationally-intesive format to decode in software, and with the overhead of QT's internal event loop you should expect some inefficiencies with the CPU time left over for all the stuff the Rev engine has to do. FWIW, more recent versions of the MC engine have had substantial improvements with QT playback performance, which should be reflected in Rev 1.5. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From raney at metacard.com Wed Sep 4 17:21:01 2002 From: raney at metacard.com (Scott Raney) Date: Wed Sep 4 17:21:01 2002 Subject: Background in OS X In-Reply-To: <200209041232.IAA24000@www.runrev.com> Message-ID: On Wed, 4 Sep 2002 "Rebecca Goulding" wrote: > Yes thanks, I worked thoug out after a little play but I still seem > to have some modal dialogs showing up white. It's strange because > the have the correct background when they are palette and > modeless. Any idea's???? the colors of both the stack and card are > empty. This is a bug in OS X 10.1.X. It's fixed in 10.2, although as people have pointed out other stuff got broken (e.g., the lack of blue color in default buttons is unfortunately an OS X bug too, which means we can't fix or work around it until at least the first update to 10.2). There is a partial workaround for 10.1.X: set the alwaysBuffer of the stack to true. I say partial because although you'll get the right background pattern, it doesn't match up properly with the pattern the OS draws on the left and right edges of modal dialogs (these edges also having been eliminated in 10.2). Ah well, two steps forward, one back... Regards, Scott > > White is correct (by the guidelines) for OS X document windows (i.e. > > topLevel stacks). If you make it a modal or modeless dialog or a palette, > > the stripes should show up. > > > > -- > > Jeanne A. E. DeVoto ~ jeanne at runrev.com > > Runtime Revolution Limited - The Solution for Software Development > > http://www.runrev.com/ ******************************************************** Scott Raney raney at metacard.com http://www.metacard.com MetaCard: You know, there's an easier way to do that... From rfarnold at bu.edu Wed Sep 4 17:33:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Wed Sep 4 17:33:01 2002 Subject: Mac OS Version support Message-ID: Answering my own question, apparently, one must make the MacOS stand-alone build using the "classic" version of RR, not the OSX version, otherwise, the carbon lib will be necessary to run the stand alone MacOS application. This is very unfortunate and extremely counter-intuitive and counter-productive. The Distribution Builder appears to be cross-platform, and thus if building a MacOS stand-alone (and NOT an OSX stand alone) when using the OSX compatible version of RR (which runs carbon under OS9) the stand-alone SHOULD NOT require the carbon-lib. As it says in the RR documentation, a MacOS standalone should run under any MacOS down to 7.1 but it doesn't say, that it must be built using the classic RR app. I hope few of my customers are using older than system 9. If you're listening RR, this is a serious complaint. Bob -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 News: http://people.bu.edu/rfarnold/Announce.htm From bvlahos at jpl.nasa.gov Wed Sep 4 17:46:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Wed Sep 4 17:46:01 2002 Subject: Mac OS Version support In-Reply-To: Message-ID: Are you sure? You should be able from OS X to build PPC, 68k, or fat (which includes both PPC and 68k) versions which don't require the CarbonLib. That is what those check boxes are for. Bill Vlahos On Wednesday, September 4, 2002, at 03:30 PM, Bob Arnold wrote: > Answering my own question, apparently, one must make the MacOS > stand-alone > build using the "classic" version of RR, not the OSX version, > otherwise, the > carbon lib will be necessary to run the stand alone MacOS application. > This > is very unfortunate and extremely counter-intuitive and > counter-productive. > The Distribution Builder appears to be cross-platform, and thus if > building > a MacOS stand-alone (and NOT an OSX stand alone) when using the OSX > compatible version of RR (which runs carbon under OS9) the stand-alone > SHOULD NOT require the carbon-lib. As it says in the RR documentation, > a > MacOS standalone should run under any MacOS down to 7.1 but it doesn't > say, > that it must be built using the classic RR app. > > I hope few of my customers are using older than system 9. > > If you're listening RR, this is a serious complaint. > > Bob > -- > Robert Arnold > Associate Professor of Film > Boston University > Tel (617) 353-7735 Fax (617) 353-1084 > News: http://people.bu.edu/rfarnold/Announce.htm > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Wed Sep 4 18:23:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 4 18:23:01 2002 Subject: MacOS version support In-Reply-To: Message-ID: Bob Arnold wrote: > I just heard from a user that my just released application isn't working on > Macs running 8.6 (producing a "missing carbon lib" response). > > What Mac OS systems (how far back) does Rev's MacOS distribution builder > support? Only 9+? Or, might this be related to PPC vs. "fat" code (The > application is compiled for PPC only). Are you sure you're using the right engine for that build? It's my understanding that the CarbonLib is only required by the Rev engine for OS X. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From revlists at canelasoftware.com Wed Sep 4 18:50:01 2002 From: revlists at canelasoftware.com (Mark Talluto) Date: Wed Sep 4 18:50:01 2002 Subject: Icons on OS X In-Reply-To: <815D634D-BE09-11D6-B188-000393853D6C@rpsystems.net> Message-ID: On Sunday, September 1, 2002, at 05:18 PM, Troy Rollins wrote: >> My lack of Mac experience requires me to ask how to do this. I tried >> downloading ResEdit as advised by the Iconographer docs but it >> crashed on OS >> X 10.1.4 >> Any step by step instructions including apps needed would be most >> welcome. > > Richard's instructions are good, but I find it a real shame that as > much as Rev does for you along the way - it leaves you in the lurch > for this very crucial stage. You can do practically everything from > within the environment - and then when it comes time to distribute, > out comes the cryptic pList editor... > > ResEdit is NOT a good choice under OSX, it is REALLY showing it age > now, and is ill prepared to deal with bundles. The plist editor > supplied with apple development tools is OK for this, but something is > still missing... perhaps a step by step recipe. Ken Ray gave us some > good insights a while back, but unfortunately, once you start to tear > apart the Rev build, it gets pretty ugly. The really sad part is that > we found editing the Windows registry using the Transcript tools FAR > easier than getting the same functions to work in OSX - but of course, > Rev provides no real help there. > > -- > Troy I am getting into this a bit late, but here is my two cents. Doing the icons can be a pain the first time you are trying to get it all together. The next revision to Rev will change this over to the new Mach O format. The icons are done a bit differently. I believe it is actually easier now. I created a movie that anyone can watch that will show the process of setting the icons and their associations in an OS X app. If you would like to watch it, it is at: http://www.clearsoftware.com/iconmovie.mov Be forewarned that there is no sound to the movie. It is about 8MB in size but should start playing once you have enough downloaded. Best regards, Mark Talluto http://www.canelasoftware.com From dsc at swcp.com Wed Sep 4 20:16:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 4 20:16:01 2002 Subject: Telnet and Control Break Key In-Reply-To: <94D8AE9A-C01B-11D6-842E-0050E4C0B205@swcp.com> Message-ID: On Wednesday, September 4, 2002, at 09:32 AM, Dar Scott wrote: > The ASCII code for space is 20 hex, 00100000 binary. Since this > is sent at quarter speed (1200 bps), the lower five zeros (in > binary) will look like a break at 9600 bps. You need at least 10 > unit times to make a break and this will generate 24 including the > start bit. However, the upper 2 bits will look like 80 hex; it > generates 2*4 zeros at 9600, but one is needed for the start. So > holding down the space bar will send sets of break plus some non > ascii character. The weird extra character may be related to the > reliability problem. You may have noticed that 1200 is not a quarter of 9600. May brain slipped a cog. All of the above applies to 2400 bps instead of 1200. At 1200 each space looks like _two_ breaks to 9600, a long one and a short one. Sorry for adding to the confusion. Hey, Luis, maybe there is some way for your stack to use some other program for serial IO and somehow tell it to send a break. What platform are you needing this on? Dar Scott From rfarnold at bu.edu Wed Sep 4 20:16:35 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Wed Sep 4 20:16:35 2002 Subject: Mac OS Version Support Message-ID: > Message: 14 > Date: Wed, 4 Sep 2002 15:44:22 -0700 > Subject: Re: Mac OS Version support > From: Bill Vlahos > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Are you sure? You should be able from OS X to build PPC, 68k, or fat > (which includes both PPC and 68k) versions which don't require the > CarbonLib. > > That is what those check boxes are for. > > Bill Vlahos If I build a MacOS (not X) standalone (PPC or FAT) from the OSX Rev, the app will not run unless the carbon lib is present. If I build it from the "classic" version of Rev, the build is much larger and works without carbon lib, and presumably would work on earlier operating systems. I am unable to get the OSX version to make a stand alone app that will run without carbon support. One would certainly assume that that is indeed what those check boxes are for, but for some reason, the apparently aren't. Obviously, it isn't supposed to be this way, but it is. The checkbox in the OSX version of Rev should be labled "MacOS 9" not "MacOS". Thanks for the response Bob -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 News: http://people.bu.edu/rfarnold/Announce.htm From ambassador at fourthworld.com Wed Sep 4 20:54:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 4 20:54:01 2002 Subject: Moron OSX!! er... more on OSX, pLst and bundles In-Reply-To: Message-ID: Troy Rollins wrote: > The pLst editor does not allow editing of some of the content which > displays in the get info dialog. Particularly the version, etc. I > personally don't like to put out an application where every version > reports itself as 1.1.1 Don't bother with a plst editor. Just open the resource in ResEdit, copy it to a text editor, modify it, and paste it back. If your installation of ReEdit is crashing under OS X, try booting into 9 for this one-time task. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From monte at sweattechnologies.com Wed Sep 4 21:51:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 4 21:51:01 2002 Subject: Document folder on MacOS Message-ID: Hi All Just wondering if there is a way to get the Document folder on MacOS and OS X?????? Pity it was missed in the specialFolderPath spec. Cheers Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile: (+61) 0421 138 274 From katir at hindu.org Wed Sep 4 22:10:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Wed Sep 4 22:10:01 2002 Subject: Field height Adjuster Button Message-ID: Thanks Sarah for the tip: This was my first hack from the REV UI... Actually the need was much more simply implemented, but rev script provided the all important good example of a non-polling mousemove structure. Occasionally it nice to see some simple stuff amidst all the wizardry going on here... so... for newbies lurking: This script will track the movement of a small button adjusting the heights of two fields that are placed one above the other with the button between them with this script. (I used a small horizontal red square button.) In this case the fields are named "toDo' and "Calendar" ======== local lStartMoving on mouseDown put true into lStartMoving end mouseDown on mouseUp put false into lStartMoving end mouseUp on mouseRelease mouseUp end mouseRelease on mouseMove x,y if lStartMoving then lock screen set the top of me to y set the rect of fld "toDo" to item 1 to 3 of the rect of fld "toDo", y set the rect of fld "Calendar" to the left of fld "toDo",y,the bottomRight of fld "Calendar" unlock screen end if end mouseMove on mouseEnter set cursor to 201582 set the lockCursor to true end mouseEnter on mouseLeave set the lockCursor to false end mouseLeave From sarahr at genesearch.com.au Wed Sep 4 22:17:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Wed Sep 4 22:17:01 2002 Subject: Document folder on MacOS In-Reply-To: Message-ID: I was wondering about this too, but then I realised that in OS X, the user's Desktop folder is in the same place as their Documents folder, so you can use the following script: put specialFolderPath("Desktop") into fName set the itemDel to "/" put "Documents" into last item of fName -- fName now contains the path to the user's Documents folder -- if you want to know, item -2 of fName is the user's login name With OS 9, but it's probably easier to find the disk name and work from there. Sarah On Thursday, September 5, 2002, at 12:52 pm, Monte Goulding wrote: > Hi All > > Just wondering if there is a way to get the Document folder on MacOS > and OS > X?????? Pity it was missed in the specialFolderPath spec. > > Cheers > > Monte Goulding > B.App.Sc. (Hons.) > > Executive Director > Sweat Technologies > > email: monte at sweattechnologies.com > website: www.sweattechnologies.com > mobile: (+61) 0421 138 274 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Wed Sep 4 22:46:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 4 22:46:01 2002 Subject: Document folder on MacOS In-Reply-To: Message-ID: Can't the name be changed or something? Anyway I've now just added an option in the preferences dialog to set the folder with a default to a folder on the desktop on Mac and in My Documents on PC. I am still surprised it wasn't included in the specialFolderPath function as there must be an API to get it because there are quite a number of apps that use it to store user data. Perhaps appleScript? > > I was wondering about this too, but then I realised that in OS X, the > user's Desktop folder is in the same place as their Documents folder, > so you can use the following script: > > put specialFolderPath("Desktop") into fName > set the itemDel to "/" > put "Documents" into last item of fName > -- fName now contains the path to the user's Documents folder > -- if you want to know, item -2 of fName is the user's login name > > With OS 9, but it's probably easier to find the disk name and work from > there. > > Sarah > > > On Thursday, September 5, 2002, at 12:52 pm, Monte Goulding wrote: > > > Hi All > > > > Just wondering if there is a way to get the Document folder on MacOS > > and OS > > X?????? Pity it was missed in the specialFolderPath spec. > > > > Cheers > > > > Monte Goulding > > B.App.Sc. (Hons.) > > > > Executive Director > > Sweat Technologies > > > > email: monte at sweattechnologies.com > > website: www.sweattechnologies.com > > mobile: (+61) 0421 138 274 > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Wed Sep 4 23:33:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 4 23:33:01 2002 Subject: Mac OS Version Support In-Reply-To: Message-ID: Bob Arnold wrote: > If I build a MacOS (not X) standalone (PPC or FAT) from the OSX Rev, the app > will not run unless the carbon lib is present. If I build it from the > "classic" version of Rev, the build is much larger and works without carbon > lib, and presumably would work on earlier operating systems. I am unable to > get the OSX version to make a stand alone app that will run without carbon > support. The "much larger" engine is a "fat binary", which runs on 68k Macs as well as PowerPC. But the engines specific to each architecture are roughly the same size. > One would certainly assume that that is indeed what those check boxes are > for, but for some reason, the apparently aren't. Obviously, it isn't > supposed to be this way, but it is. The checkbox in the OSX version of Rev > should be labled "MacOS 9" not "MacOS". Yes, Apple's terminology for this is confusing. They commonly use "Mac OS" when they mean "Classic" specifically, and will probably keep referring to "OS X" long after version 11 and beyond. :) A little extra clarity from developers would help make up for this transitional nomemnclature thang. It's ironic that with less control over the motherboard spec Microsoft and Intel have been able to maintain greater consistency and backward compatibility than Apple -- just one Win32 engine is needed for Win95 through XP. First the switch from 68k to PPC, then from PPC to OS X -- next thing you know they'll have us all move from Motorola to Intel (see ). -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From sylvain.legourrierec at son-video.com Thu Sep 5 02:00:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Thu Sep 5 02:00:01 2002 Subject: pb with revdb_execute References: <003001c2543b$1d50e680$b1beaaac@user> Message-ID: <000701c254a9$9b0cd1b0$0801a8c0@sylvain> I use MySQL. What is the best for it? thanks. ----- Original Message ----- From: "Tuviah Snyder" To: Sent: Wednesday, September 04, 2002 7:47 PM Subject: Re: pb with revdb_execute > Depends on the database. Oracle can parse multiline SQL statements, and > PL/SQL. For most databases, it's better to call revdb_execute multiple times > rather than pass multi-line sql statements. > > > Tuviah Snyder > Runtime Revolution Limited - The Solution for Software Development > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jeanne at runrev.com Thu Sep 5 02:42:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Thu Sep 5 02:42:01 2002 Subject: QuickTime Frame capture AND WinTV In-Reply-To: Message-ID: At 7:31 AM -0700 9/4/2002, Roger.E.Eller at sealedair.com wrote: >Does anybody at RunTime have an idea of how to use Revolution to capture a >video field that is displaying on the desktop (as an image)? >> >> Is it possible to do the same or something similar using video input >cards >> like WinTV (PC)? I have tried import snapshot, but the video field is >> replaced by a solid area that is magenta color (no picture). If WinTV is bypassing the normal video routines and writing direct to the screen - and it sounds like that's what it's doing from the symptom you report - then there probably is no simple way to capture what it's displaying. (Some video programs do this as a copy-control measure to prevent people from making screen grabs.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Thu Sep 5 02:42:08 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Thu Sep 5 02:42:08 2002 Subject: Write to Macintosh USB Port? In-Reply-To: References: Message-ID: At 1:19 PM -0700 9/3/2002, Rick Harrison wrote: >Does anyone know how to write to the USB port on a Mac? >I'm thinking of writing a simple driver program >and I need to know if Revolution can do it or not. Check out the open driver command. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From sschofield at computing.dundee.ac.uk Thu Sep 5 04:34:01 2002 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Thu Sep 5 04:34:01 2002 Subject: Very easy question Message-ID: <31C6D68FA597D411B04D00E02965883BB14C66@mailhost> Hi, I'm totally new to scripting language. I want to switch but it always comes up "not registered". The if way works fine (though scripting does seem a very verbose way of coding so again any help on shortening my typing gratefully received). Also any hints on how best to learn scripting as I'm not finding it at all intuitive. I'm a windows Fortran/C++/VB bod. On mouseup --message box just to show I've picked out the correct property show message box put the text of the field "login" into message if the text of the field "login" is "susie" then put "hello susie" into field "MyMessage" else if the text of the field "login" is "ros" then put "hello ros" into field "MyMessage" else put "not registered" into field "MyMessage" end if -- switch the text of the field "login" -- case "susie" -- put "hello susie" into field "MyMessage" -- case "ros" -- put "hello ros" into field "MyMessage" -- default -- put "not registered" into field "MyMessage" -- end switch End mouseup Cheers From sschofield at computing.dundee.ac.uk Thu Sep 5 04:40:01 2002 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Thu Sep 5 04:40:01 2002 Subject: Very easy question Message-ID: <31C6D68FA597D411B04D00E02965883BB14C67@mailhost> Ha ha, forgot the breaks. Now why do I only notice that soon as I hit the send?Without the semicolons at the end of the lines I go into vb mode. Weak excuse I know! Rest of question, ie how to shorten script/learn script still applies -----Original Message----- From: sschofield [mailto:sschofield at computing.dundee.ac.uk] Sent: 05 September 2002 10:30 To: 'use-revolution at lists.runrev.com' Subject: Very easy question Hi, I'm totally new to scripting language. I want to switch but it always comes up "not registered". The if way works fine (though scripting does seem a very verbose way of coding so again any help on shortening my typing gratefully received). Also any hints on how best to learn scripting as I'm not finding it at all intuitive. I'm a windows Fortran/C++/VB bod. On mouseup --message box just to show I've picked out the correct property show message box put the text of the field "login" into message if the text of the field "login" is "susie" then put "hello susie" into field "MyMessage" else if the text of the field "login" is "ros" then put "hello ros" into field "MyMessage" else put "not registered" into field "MyMessage" end if -- switch the text of the field "login" -- case "susie" -- put "hello susie" into field "MyMessage" -- case "ros" -- put "hello ros" into field "MyMessage" -- default -- put "not registered" into field "MyMessage" -- end switch End mouseup Cheers _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Thu Sep 5 06:24:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 5 06:24:01 2002 Subject: Very easy question In-Reply-To: <31C6D68FA597D411B04D00E02965883BB14C67@mailhost> Message-ID: <20020905112241.7729.qmail@web11901.mail.yahoo.com> --- sschofield wrote: > Ha ha, forgot the breaks. Now why do I only notice > that soon as I hit the > send?Without the semicolons at the end of the lines > I go into vb mode. Weak > excuse I know! Rest of question, ie how to shorten > script/learn script > still applies Hi, and Welcome to the RunRev community :-) To learn scripting skills, you could download the MetaCard tutorial on the Metacard ftp-site. Goto: ftp://ftp.metacard.com/Metacard/ And download the files: mtp.mc mtpguide.mc Open mtp.mc from RunRev and go through the tutorials. That should get you a long way. As for your script, try this: on mouseUp switch (field "login") ## field "login" = the text of field "login" case "susie" put "hello susie" into field "MyMessage" break case "ros" put "hello ros" into field "MyMessage" break default put "not registered" into field "MyMessage" ## no break needed here, as it's the last one end switch end mouseUp Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From janschenkel at yahoo.com Thu Sep 5 06:45:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 5 06:45:01 2002 Subject: pb with revdb_execute In-Reply-To: <000701c254a9$9b0cd1b0$0801a8c0@sylvain> Message-ID: <20020905114316.8843.qmail@web11901.mail.yahoo.com> Hi Sylvain, If you're using MySQL and trying to read in a slew of data coming from a file, then you might want to have a look at its LOAD DATA command or the mysqlimport utility (which is essentially just a convenient front-end for the LOAD DATA command). The LOAD DATA syntax is: LOAD DATA [LOCAL] INFILE filename INTO TABLE tablename [FIELDS [TERMINATED BY 'char'] [ENCLOSED BY 'char']] [LINES TERMINATED BY 'char'] [IGNORE n LINES] [(column1, column2, ...)] Example: LOAD DATA LOCAL INFILE 'c:/temp/cust.txt' INTO TABLE customer FIELDS TERMINATED BY ',' (title, fname, lname, addressline, town, zipcode, phone) Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." --- Sylvain_Le_Gourri?rec wrote: > I use MySQL. What is the best for it? > > thanks. > > > ----- Original Message ----- > From: "Tuviah Snyder" > To: > Sent: Wednesday, September 04, 2002 7:47 PM > Subject: Re: pb with revdb_execute > > > > Depends on the database. Oracle can parse > multiline SQL statements, and > > PL/SQL. For most databases, it's better to call > revdb_execute multiple > times > > rather than pass multi-line sql statements. > > > > > > Tuviah Snyder > > > Runtime Revolution Limited - The Solution for > Software Development > > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From simran at teleline.es Thu Sep 5 07:55:01 2002 From: simran at teleline.es (Peter Lundh von Leithner) Date: Thu Sep 5 07:55:01 2002 Subject: Image bitDepth Message-ID: Hi all- After importing (as control) a folder of 24bit jpg images into a revStack I found that the pictures were displayed as mere 8bit ones (255 colors). How do I change this? Am I right inguessing that this is a stackProperty which needs to be modified? Many thanks in advance. -Peter -- Peter Lundh Sweden -------------- next part -------------- An HTML attachment was scrubbed... URL: From harrison at all-auctions.com Thu Sep 5 08:16:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Thu Sep 5 08:16:01 2002 Subject: Write to Macintosh USB Port? In-Reply-To: Message-ID: on 9/5/2002 3:38 AM, Jeanne A. E. DeVoto at jeanne at runrev.com wrote: > Check out the open driver command. Jeanne, There isn't one. Is this a new addition in the soon to be released version 1.5 of Rev, or are you thinking of some similar command? Rick Harrison From kevin at runrev.com Thu Sep 5 08:28:01 2002 From: kevin at runrev.com (Kevin Miller) Date: Thu Sep 5 08:28:01 2002 Subject: CGI question -REQUEST FOR RUNREV In-Reply-To: Message-ID: On 1/9/02 4:26 am, Tim wrote: > Can anyone at Runtime Revolution please post the libUrl library in the > Unix/Linux formats on the Rev site where the engines are. The engines alone > without the libUrl library functionality are pretty much useless. I don't > have a Unix machine to perform this feat. This is actually already available on our web site in the developer section - click the libURL Internet library link on the left. Or you can extract it from inside the Revolution development environment (its in the revLibrary stack). Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From sschofield at computing.dundee.ac.uk Thu Sep 5 08:46:01 2002 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Thu Sep 5 08:46:01 2002 Subject: crash Message-ID: <31C6D68FA597D411B04D00E02965883BB14C6D@mailhost> My revolution just crashed. On reopening, the code is very old (in terms of how many times I've run it). Does it keep an emergency back up? Is there a way of switching it on to save each time I run it (which I now realise doesn't happen, rats!) Cheers From webmaster at studioalice.se Thu Sep 5 08:52:01 2002 From: webmaster at studioalice.se (=?ISO-8859-1?Q?Magnus_von_Br=F6msen?=) Date: Thu Sep 5 08:52:01 2002 Subject: Rev on Mac OS 10.2 ("Jaguar") In-Reply-To: <9C6BCF5A-BF87-11D6-A302-0003937A97B8@genesearch.com.au> Message-ID: <537AC778-C0D6-11D6-B14F-003065CCBD1A@studioalice.se> I know that you should never ever ask this question to a software developer =): but when does the next version (with a fix) come? /magnus On tisdag, sep 3, 2002, at 23:53 Europe/Stockholm, Sarah wrote: > It's all due to Jaguar's Appearance Manager. Set the Look & Feel to > Mac OS emulated during editing and you won't get these crashes. > Presumably the next version of Rev will be updated to co-exist with > the new version of Appearance Manager. > > Sarah > > On Wednesday, September 4, 2002, at 07:25 am, Sannyasin > Sivakatirswami wrote: > >> We can confirm this in a near copy-cat scenario: >> >> click on a button... resize it... click off, click back on it (same >> button in this case)... crash... but not every time.... >> >> >> On Tuesday, September 3, 2002, at 06:01 AM, >> use-revolution-request at lists.runrev.com, Wally Rodriguez, wrote: >> >>> I've been running it for a few days now. I have noticed some weird >>> crashing >>> when working on one button and touching another to edit it. The >>> software >>> crashes out and has to be restarted. It then works for a while until >>> the >>> same problem occurs again. I have not been able to figure out what >>> the >>> trigger is. Workaround has been to save a lot more often. >> >> Sivakatirswami >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kevin at runrev.com Thu Sep 5 09:03:00 2002 From: kevin at runrev.com (Kevin Miller) Date: Thu Sep 5 09:03:00 2002 Subject: Moron OSX!! er... more on OSX, pLst and bundles In-Reply-To: Message-ID: On 4/9/02 6:18 am, Monte Goulding wrote: > I share your frustration Troy. Whatever I work out I'll post to the list and > maybe to my site. It's all getting rather urgent for me because I need to > delive an app what has two file types and as yet all I can get is the > default app icon and the default plain page document icon. I can't get rid > of these with resEdit. I did find the plst XML quite simple though. > > It looks to me like you need to edit both the plst and vers resources to get > the correct version number. Just to let you know that this problem is on our radar. Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From sschofield at computing.dundee.ac.uk Thu Sep 5 09:15:01 2002 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Thu Sep 5 09:15:01 2002 Subject: Using a database cursor Message-ID: <31C6D68FA597D411B04D00E02965883BB14C6E@mailhost> I've openend up a database connection and want to map the data. I've set up my cursor but how do I now use it? put "SELECT * FROM tblName WHERE tblName.Login = '" & field "login" & "'" into strSql get revdb_query(field "dbID",strSql) This seems to be fine, but I can only get it to return things like how many records. How do I get eg the first field of the first record in the cursor? I tried put item 1 of line 1 of it into field "MyMessage" But it didn't like that. Also, how do I rename the cursor? I tried rsLogin = get revdb_query(field "dbID",strSql) But no joy. (As you may have guessed by now, I'm trying to rewrite a VB on Access application). Also, any chance of right clicking the mouse bringing up copy/paste rather than a definition of the item? From trevor at mangomultimedia.com Thu Sep 5 09:43:01 2002 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Thu Sep 5 09:43:01 2002 Subject: Using a database cursor In-Reply-To: <31C6D68FA597D411B04D00E02965883BB14C6E@mailhost> Message-ID: On 9/5/02 sschofield at computing.dundee.ac.uk (sschofield) wrote >I've openend up a database connection and want to map the data. I've >set up my cursor but how do I now use it? > >put "SELECT * FROM tblName WHERE tblName.Login = '" & field "login" & >"'" into strSql get revdb_query(field "dbID",strSql) > >This seems to be fine, but I can only get it to return things like how >many records. How do I get eg the first field of the first record in >the cursor? I tried Try: put revdb_columnbyname(it, "Login") > >put item 1 of line 1 of it into field "MyMessage" > >But it didn't like that. Also, how do I rename the cursor? I tried > >rsLogin = get revdb_query(field "dbID",strSql) put revdb_query (field "dbID",strSql) into rsLogin Your cursor will now be called rsLogin. In addition, if you wanted to put the results returned from the database into an array as well as check that a record was returned you could do this: -- Create array if revdb_iseof(dbCursor) is false then put revdb_columnbyname(dbCursor, "YourDbField1") into dbArray["YourDbField1"] put revdb_columnbyname(dbCursor, "YourDbField2") into dbArray["YourDbField2"] put revdb_columnbyname(dbCursor, "YourDbField3") into dbArray["YourDbField3"] else put "No record found" end if Hope this helps, Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From sschofield at computing.dundee.ac.uk Thu Sep 5 09:47:01 2002 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Thu Sep 5 09:47:01 2002 Subject: Using a database cursor Message-ID: <31C6D68FA597D411B04D00E02965883BB14C6F@mailhost> ta -----Original Message----- From: Trevor DeVore [mailto:trevor at mangomultimedia.com] Sent: 05 September 2002 15:39 To: use-revolution at lists.runrev.com Subject: Re: Using a database cursor On 9/5/02 sschofield at computing.dundee.ac.uk (sschofield) wrote >I've openend up a database connection and want to map the data. I've >set up my cursor but how do I now use it? > >put "SELECT * FROM tblName WHERE tblName.Login = '" & field "login" & >"'" into strSql get revdb_query(field "dbID",strSql) > >This seems to be fine, but I can only get it to return things like how >many records. How do I get eg the first field of the first record in >the cursor? I tried Try: put revdb_columnbyname(it, "Login") > >put item 1 of line 1 of it into field "MyMessage" > >But it didn't like that. Also, how do I rename the cursor? I tried > >rsLogin = get revdb_query(field "dbID",strSql) put revdb_query (field "dbID",strSql) into rsLogin Your cursor will now be called rsLogin. In addition, if you wanted to put the results returned from the database into an array as well as check that a record was returned you could do this: -- Create array if revdb_iseof(dbCursor) is false then put revdb_columnbyname(dbCursor, "YourDbField1") into dbArray["YourDbField1"] put revdb_columnbyname(dbCursor, "YourDbField2") into dbArray["YourDbField2"] put revdb_columnbyname(dbCursor, "YourDbField3") into dbArray["YourDbField3"] else put "No record found" end if Hope this helps, Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jsilver at utmem.edu Thu Sep 5 10:07:01 2002 From: jsilver at utmem.edu (John Silver) Date: Thu Sep 5 10:07:01 2002 Subject: Vol 1 #663 2. Mac OS Version Support (Bob Arnold) Message-ID: <200209051406.KAA28281@www.runrev.com> There are definitely differences between the Classic and OSX RunRev application builders. I have resorted to using the Classic version for a couple of builds of OSX versions. I have a simple, fixed-size stack that Classic RunRev built as a fixed-size OSX application, and OSX RunRev built as a resizable OSX application. This was repeatable. Begone, o dread resize-tab! John T. Silver Multimedia Laboratory Coordinator Health Sciences Library and Biocommunications Center Room 210 Alexander Bldg 877 Madison Ave Memphis TN, 38163 (901) 448-6817 FAX: (901) 448-7235 jsilver at utmem.edu From trevor at mangomultimedia.com Thu Sep 5 10:10:01 2002 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Thu Sep 5 10:10:01 2002 Subject: Using a database cursor In-Reply-To: <31C6D68FA597D411B04D00E02965883BB14C6E@mailhost> Message-ID: I read your first email too quickly and didn't notice you wanted to use column numbers rather than column names. So if you wanted to map the results from a database query to an array in Rev then you could do something like this: put 1 into iteration repeat while revdb_iseof(dbCursor) is false put revdb_columnbynumber(dbResult, 1) into dbArray[iteration, "Name"] put revdb_columnbynumber(dbResult, 2) into dbArray[iteration, "Login"] get revdb_movenext(dbResult) add 1 to iteration end repeat If you go to Help -> Revolution Documentation -> Transcript Language Dictionary and select "Database" from the Show dropdown menu it shows all the database related functions which is really helpful. Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com >This seems to be fine, but I can only get it to return things like how >many records. How do I get eg the first field of the first record in >the cursor? I tried > >put item 1 of line 1 of it into field "MyMessage" > >But it didn't like that. Also, how do I rename the cursor? I tried > >rsLogin = get revdb_query(field "dbID",strSql) From sylvain.legourrierec at son-video.com Thu Sep 5 10:35:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Thu Sep 5 10:35:01 2002 Subject: exit pb Message-ID: <002001c254f1$9147ab80$0801a8c0@sylvain> hello, --------------------------------------------------- on myHandler exit myHandler beep 3 end myHandler -----------> it beeps! --------------------------------------------------- on myHandler do "exit myHandler" beep 3 end myHandler -----------> it does not beep! Why? Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution -------------> windows 2000 + runrev 1.1.1 + MySQL 3.23 + PHP 4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sschofield at computing.dundee.ac.uk Thu Sep 5 10:42:01 2002 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Thu Sep 5 10:42:01 2002 Subject: Using a database cursor Message-ID: <31C6D68FA597D411B04D00E02965883BB14C74@mailhost> Thanks again. I now have the results coming out of my database, yippee. You mention the documentation which I have indeed consulted, but I find the examples rather bald. They're never embedded in code. Eg. I'm now trying to find the recordcount so I can reject the login if recordcount < 0. but it doesn't seem to work. The example code is a bald revdb_recordcount(westCoastCustomers). put "SELECT * FROM tblName WHERE tblName.Login = '" & field "login" & "'" into strSql get revdb_query(field "dbID",strSql) put "Welcome " & revdb_columnbyname(it,"fname") into field "MyMessage" if revdb_recordcount(it) <= 0 then put "Sorry, no login for " & field "login" & " in the database" else put "Welcome " & revdb_columnbyname(it,"fname") into field "MyMessage" end if Both welcomes Sian (so obviously found a record) and gives message Sorry no login cos it claims recordcount(it) is -1. -----Original Message----- From: Trevor DeVore [mailto:trevor at mangomultimedia.com] Sent: 05 September 2002 16:08 To: use-revolution at lists.runrev.com Subject: Re: Using a database cursor I read your first email too quickly and didn't notice you wanted to use column numbers rather than column names. So if you wanted to map the results from a database query to an array in Rev then you could do something like this: put 1 into iteration repeat while revdb_iseof(dbCursor) is false put revdb_columnbynumber(dbResult, 1) into dbArray[iteration, "Name"] put revdb_columnbynumber(dbResult, 2) into dbArray[iteration, "Login"] get revdb_movenext(dbResult) add 1 to iteration end repeat If you go to Help -> Revolution Documentation -> Transcript Language Dictionary and select "Database" from the Show dropdown menu it shows all the database related functions which is really helpful. Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com >This seems to be fine, but I can only get it to return things like how >many records. How do I get eg the first field of the first record in >the cursor? I tried > >put item 1 of line 1 of it into field "MyMessage" > >But it didn't like that. Also, how do I rename the cursor? I tried > >rsLogin = get revdb_query(field "dbID",strSql) _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From sschofield at computing.dundee.ac.uk Thu Sep 5 11:16:01 2002 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Thu Sep 5 11:16:01 2002 Subject: Using a database cursor Message-ID: <31C6D68FA597D411B04D00E02965883BB14C7B@mailhost> -----Original Message----- From: sschofield [mailto:sschofield at computing.dundee.ac.uk] Sent: 05 September 2002 16:38 To: 'use-revolution at lists.runrev.com' Subject: RE: Using a database cursor Thanks again. I now have the results coming out of my database, yippee. You mention the documentation which I have indeed consulted, but I find the examples rather bald. They're never embedded in code. Eg. I'm now trying to find the recordcount so I can reject the login if recordcount < 0. but it doesn't seem to work. The example code is a bald revdb_recordcount(westCoastCustomers). put "SELECT * FROM tblName WHERE tblName.Login = '" & field "login" & "'" into strSql get revdb_query(field "dbID",strSql) put "Welcome " & revdb_columnbyname(it,"fname") into field "MyMessage" if revdb_recordcount(it) <= 0 then put "Sorry, no login for " & field "login" & " in the database" else put "Welcome " & revdb_columnbyname(it,"fname") into field "MyMessage" end if Both welcomes Sian (so obviously found a record) and gives message Sorry no login cos it claims recordcount(it) is -1. -----Original Message----- From: Trevor DeVore [mailto:trevor at mangomultimedia.com] Sent: 05 September 2002 16:08 To: use-revolution at lists.runrev.com Subject: Re: Using a database cursor I read your first email too quickly and didn't notice you wanted to use column numbers rather than column names. So if you wanted to map the results from a database query to an array in Rev then you could do something like this: put 1 into iteration repeat while revdb_iseof(dbCursor) is false put revdb_columnbynumber(dbResult, 1) into dbArray[iteration, "Name"] put revdb_columnbynumber(dbResult, 2) into dbArray[iteration, "Login"] get revdb_movenext(dbResult) add 1 to iteration end repeat If you go to Help -> Revolution Documentation -> Transcript Language Dictionary and select "Database" from the Show dropdown menu it shows all the database related functions which is really helpful. Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com >This seems to be fine, but I can only get it to return things like how >many records. How do I get eg the first field of the first record in >the cursor? I tried > >put item 1 of line 1 of it into field "MyMessage" > >But it didn't like that. Also, how do I rename the cursor? I tried > >rsLogin = get revdb_query(field "dbID",strSql) _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution -------------- next part -------------- A non-text attachment was scrubbed... Name: Login.rev Type: application/octet-stream Size: 8372 bytes Desc: not available URL: From trevor at mangomultimedia.com Thu Sep 5 11:21:00 2002 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Thu Sep 5 11:21:00 2002 Subject: Using a database cursor In-Reply-To: <31C6D68FA597D411B04D00E02965883BB14C74@mailhost> Message-ID: In the code below the phrase Welcome will appear every time because you have it appearing outside the if statement. If you are getting the Welcome message along with the "Sorry, no login for " message it means that revdb_recordcount is working. Just delete the line right after get revdb_query and then only the message that you expect will show up. Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com On 9/5/02 sschofield at computing.dundee.ac.uk (sschofield) wrote >Thanks again. I now have the results coming out of my database, yippee. You >mention the documentation which I have indeed consulted, but I find the >examples rather bald. They're never embedded in code. Eg. I'm now trying to >find the recordcount so I can reject the login if recordcount < 0. but it >doesn't seem to work. The example code is a bald >revdb_recordcount(westCoastCustomers). > > put "SELECT * FROM tblName WHERE tblName.Login = '" & field "login" & "'" >into strSql > get revdb_query(field "dbID",strSql) > put "Welcome " & revdb_columnbyname(it,"fname") into field "MyMessage" > > if revdb_recordcount(it) <= 0 then > put "Sorry, no login for " & field "login" & " in the database" > else > put "Welcome " & revdb_columnbyname(it,"fname") into field "MyMessage" > end if > >Both welcomes Sian (so obviously found a record) and gives message Sorry no >login cos it claims recordcount(it) is -1. From bvlahos at jpl.nasa.gov Thu Sep 5 11:26:02 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Thu Sep 5 11:26:02 2002 Subject: Icons on OS X In-Reply-To: Message-ID: <06690FC5-C0EC-11D6-AF57-000393853DBC@jpl.nasa.gov> A brain-dead but simple way to put an icon on a Mac application (X or 9) is: 1. find an icon or image you like 2. copy it to the clipboard 3. Get Info on your Rev application 4. click on the icon 5. paste the icon you want in This does not really change the icon in the "official way", but it looks that way to most users including the icon in the dock for OS X. Iconographer looks to be a pretty great program which does icons for Mac and Windows the "right way" and it is not expensive. Bill Vlahos On Wednesday, September 4, 2002, at 04:48 PM, Mark Talluto wrote: > > On Sunday, September 1, 2002, at 05:18 PM, Troy Rollins wrote: > >>> My lack of Mac experience requires me to ask how to do this. I tried >>> downloading ResEdit as advised by the Iconographer docs but it >>> crashed on OS >>> X 10.1.4 >>> Any step by step instructions including apps needed would be most >>> welcome. >> >> Richard's instructions are good, but I find it a real shame that as >> much as Rev does for you along the way - it leaves you in the lurch >> for this very crucial stage. You can do practically everything from >> within the environment - and then when it comes time to distribute, >> out comes the cryptic pList editor... >> >> ResEdit is NOT a good choice under OSX, it is REALLY showing it age >> now, and is ill prepared to deal with bundles. The plist editor >> supplied with apple development tools is OK for this, but something >> is still missing... perhaps a step by step recipe. Ken Ray gave us >> some good insights a while back, but unfortunately, once you start to >> tear apart the Rev build, it gets pretty ugly. The really sad part is >> that we found editing the Windows registry using the Transcript tools >> FAR easier than getting the same functions to work in OSX - but of >> course, Rev provides no real help there. >> >> -- >> Troy > > I am getting into this a bit late, but here is my two cents. Doing > the icons can be a pain the first time you are trying to get it all > together. The next revision to Rev will change this over to the new > Mach O format. The icons are done a bit differently. I believe it is > actually easier now. I created a movie that anyone can watch that > will show the process of setting the icons and their associations in > an OS X app. If you would like to watch it, it is at: > http://www.clearsoftware.com/iconmovie.mov > > Be forewarned that there is no sound to the movie. It is about 8MB in > size but should start playing once you have enough downloaded. > > > > Best regards, > Mark Talluto > > http://www.canelasoftware.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From soapdog at mac.com Thu Sep 5 11:39:01 2002 From: soapdog at mac.com (Andre Garzia) Date: Thu Sep 5 11:39:01 2002 Subject: Question about POST Message-ID: <4CE28881-C0ED-11D6-BDDE-00039387AE90@mac.com> Hi Comunity, i want to make an app that fill a web form using the post method, i found the post keyword in the transcript dictionary but how do i tell wich content go under wich var... my form is a little complex with many fields and the post keyword says post chunk to site, how do i order that data? if someone could please help.... just mail me some copy&paste code, i'll figure the rest... Tanx in advance. Andre Garzia ? 2002 imac2 ibook p100 e uma torradeira.... From kee at kagi.com Thu Sep 5 11:45:01 2002 From: kee at kagi.com (Kee Nethery) Date: Thu Sep 5 11:45:01 2002 Subject: I changed the name of a stack Message-ID: I'm told I sent this to the wrong address and that I should resend it. Sorry if you have seen it previously. ------------------------------------------- I changed the name of a stack in the properties and at the directory level. The properties name is (and was) different from the file name. Now when I open the stack from within the Revolution development environment most of the menus are greyed out. In the "Object" menu the only selectable menu items are "Colors and Patterns", "New Control" and "Alignment Palete". I cannot access the scripts or properties of the stack via the Object menu. I changed the name back to what it was but that doesn't seem to help. I can get to the scripts if I put it into debug mode and then press the edit script button but that is a kludge. What secret move do I need to do to be able to once again deal with this stack as a normal stack? Do I have to rebuild it from the ground up and use the debug edit kludge to grab all the scripts? Kee Nethery From rcozens at pon.net Thu Sep 5 12:26:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 5 12:26:00 2002 Subject: Just Curious Message-ID: Hi All, Does anyone know why, after calling a command that returns a card number in the result, get word x of the result go to card it works, but go to card (word x of the result) does not? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rfarnold at bu.edu Thu Sep 5 12:39:00 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Thu Sep 5 12:39:00 2002 Subject: Mac OS Version Support Message-ID: > Message: 8 > Date: Wed, 04 Sep 2002 19:08:13 -0700 > From: Richard Gaskin > Subject: Re: Mac OS Version Support > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > > Yes, Apple's terminology for this is confusing. They commonly use "Mac OS" > when they mean "Classic" specifically, and will probably keep referring to > "OS X" long after version 11 and beyond. :) And > Message: 10 > Date: Thu, 05 Sep 2002 10:05:53 -0500 > From: John Silver > Subject: Vol 1 #663 2. Mac OS Version Support (Bob Arnold) > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > There are definitely differences between the Classic and OSX RunRev > application builders. I have resorted to using the Classic version for > a couple of builds of OSX versions. I have a simple, fixed-size stack > that Classic RunRev built as a fixed-size OSX application, and OSX > RunRev built as a resizable OSX application. This was repeatable. > Begone, o dread resize-tab! Thank you both for verifying my problem. But is simply shouldn't be this way -- and it isn't Apple's problem it is RunRev's. The checkboxes in the distribution builders of the "classic" and OSX version of RunRev are identical -- they SHOULD therefore produce identical results (which I assumed they did) but they don't. All the RunRev documentation claims that MacOS compatibility extends down to system 7.1 -- but this IS NOT TRUE if the MacOS application is built using the OSX engine -- which creates an OS 9+ dependent carbon app. If the results are different, the options should be different (duh!). Why make a cross-platform distribution builder, which promises to make applications for any supported platform and version from any other supported platform, when one must use different version of RunRev to achieve true cross-platform (and system version) compatibility? I shouldn't have to have more than one version of RunRev loaded on my computer, should I? But apparently, I must. -- Robert Arnold Associate Professor of Film College of Communication Boston University 640 Commonwealth Avenue Boston, MA 02215 Tel: 617 353-7735 Fax: 617-353-1084 Email: rfarnold at bu.edu Http: people.bu.edu/rfarnold "Seeing is an art that has to be learned." M. Duras, Hiroshima mon Amour From rcozens at pon.net Thu Sep 5 13:12:02 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 5 13:12:02 2002 Subject: Just Curious In-Reply-To: References: Message-ID: >Does anyone know why, after calling a command that returns a card >number in the result, > > get word x of the result > go to card it > >works, but > > go to card (word x of the result) > >does not? Possible answer: (word x of the result) is interpreted as a character string containing the name of the card? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rcozens at pon.net Thu Sep 5 13:12:13 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 5 13:12:13 2002 Subject: A Word To The Wise Message-ID: I just spent considerable time and mental energy trying to find the solution to a problem I caused myself. I have found it is more efficient to maintain one mouseUp handler for a group of navigation buttons than to maintain handlers in the scripts of the individual buttons. This is easy enough to do using a switch control based on the short name of the target; so when it became necessary to add new functionality to mouseUp handlers in an old button group I consolidated the mouseUp handlers of the individual buttons into one handler in the group's script. When testing both the new and old functionality, I found myself in a situation where individual buttons were displayed as enabled/disabled but no enabled button would respond to mouseUp. When I put a trace in the group mouseUp script, the results showed that while I was clicking on an enabled button, the target of the mouseUp passed to the group was the card itself. To make a long story short, I found that I hand neglected to change "disable/enable me" in some of the imported button scripts to "disable/enable button (the short name of the target)". Even though some buttons were enabled, they would not respond to mouseUp because the group had disabled itself...with no visual indication this was so. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 heather at runrev.com Thu Sep 5 13:51:00 2002 From: heather at runrev.com (Heather Williams) Date: Thu Sep 5 13:51:00 2002 Subject: Posting attachments and list formatting In-Reply-To: <200209051517.LAA30847@www.runrev.com> Message-ID: Ahem. There was a regrettable attachment tagged on to that post... Please, don't post attachments to the list, and try not to use html formatting or MIME or any other decorative text enhancements. Plain text only, if at all possible. It gets scrambled and comes through as garbage for the digest listers, who make up the vast majority of the members on this list. With thanks for your kind attention to this matter, Your friendly Listmom, Heather > Message: 14 > From: sschofield > To: "'use-revolution at lists.runrev.com'" > Subject: RE: Using a database cursor > Date: Thu, 5 Sep 2002 17:12:21 +0100 > Reply-To: use-revolution at lists.runrev.com > > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_000_01C254F7.03E882E0 > Content-Type: text/plain > > > > -----Original Message----- > From: sschofield [mailto:sschofield at computing.dundee.ac.uk] > Sent: 05 September 2002 16:38 > To: 'use-revolution at lists.runrev.com' > Subject: RE: Using a database cursor > > > Thanks again. I now have the results coming out of my database, yippee. You > mention the documentation which I have indeed consulted, but I find the > examples rather bald. They're never embedded in code. Eg. I'm now trying to > find the recordcount so I can reject the login if recordcount < 0. but it > doesn't seem to work. The example code is a bald > revdb_recordcount(westCoastCustomers). -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution - The Solution From tuviah at runrev.com Thu Sep 5 14:08:01 2002 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Sep 5 14:08:01 2002 Subject: Using a database cursor Message-ID: <001c01c2550f$13b4c680$7b5c94ac@user> > put "SELECT * FROM tblName WHERE tblName.Login = '" & field "login" & "'" >into strSql > get revdb_query(field "dbID",strSql) > put "Welcome " & revdb_columnbyname(it,"fname") into field "MyMessage" > > if revdb_recordcount(it) <= 0 then > put "Sorry, no login for " & field "login" & " in the database" > else > put "Welcome " & revdb_columnbyname(it,"fname") into field "MyMessage" > end if > revdb_recordcount returns -1 for some databases (particularly MS Access), this is a bug in the database itself. A workaround is to fetch all the rows in the resultset until eof. RevDB does not do this because it could be very expensive for huge resultsets. repeat while revdb_iseof(tcursor) is true add 1 to recordcount end repeat Below find a modified script put "SELECT * FROM tblName WHERE tblName.Login = '" & field "login" & "'" into strSql get revdb_query(field "dbID",strSql) put "Welcome " & revdb_columnbyname(it,"fname") into field "MyMessage" if revdb_iseof(it) is true then put "Sorry, no login for " & field "login" & " in the database" #first record is eof..resultset is empty else put "Welcome " & revdb_columnbyname(it,"fname") into field "MyMessage" end if Tuviah Snyder Runtime Revolution Limited - The Solution for Software Development -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin at runrev.com Thu Sep 5 15:59:01 2002 From: kevin at runrev.com (Kevin Miller) Date: Thu Sep 5 15:59:01 2002 Subject: I changed the name of a stack In-Reply-To: Message-ID: On 5/9/02 5:42 pm, Kee Nethery wrote: > I changed the name of a stack in the properties and at the directory > level. The properties name is (and was) different from the file name. > Now when I open the stack from within the Revolution development > environment most of the menus are greyed out. In the "Object" menu > the only selectable menu items are "Colors and Patterns", "New > Control" and "Alignment Palete". What did you name it? Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Thu Sep 5 15:59:38 2002 From: kevin at runrev.com (Kevin Miller) Date: Thu Sep 5 15:59:38 2002 Subject: Using a database cursor In-Reply-To: <31C6D68FA597D411B04D00E02965883BB14C74@mailhost> Message-ID: On 5/9/02 4:38 pm, sschofield wrote: > doesn't seem to work. The example code is a bald > revdb_recordcount(westCoastCustomers). Did you take a look at the example database stacks in the Contributors Section of our web site? Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From cowhead at mac.com Thu Sep 5 16:28:01 2002 From: cowhead at mac.com (mark mitchell) Date: Thu Sep 5 16:28:01 2002 Subject: icons in OSX In-Reply-To: <200209051601.MAA01284@www.runrev.com> Message-ID: <3846C5C4-C116-11D6-9A17-0030656DAB8E@mac.com> Bill Vlahos wrote: > A brain-dead but simple way to put an icon on a Mac application (X or > 9) is: > 1. find an icon or image you like > 2. copy it to the clipboard > 3. Get Info on your Rev application > 4. click on the icon > 5. paste the icon you want in > Thank you Bill! That's just too cool. I AM rather brain dead, so I really needed this. mark mitchell Japan From katir at hindu.org Thu Sep 5 17:41:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu Sep 5 17:41:01 2002 Subject: Question about POST In-Reply-To: <200209051601.MAA01240@www.runrev.com> Message-ID: <528788B7-C120-11D6-B6BE-003065FB9830@hindu.org> Andre: Not sure if we understand you correctly but if your intent is to take data from a form in a Revolution card and send it to a CGI, using POST, then the normal method is to URLEncode that data. The following script encodes a simple form and sends it to the generic "formmail.pl" Perl script which is a CGI on a remote server. it wants just to get the persons name and address info plus comments. There is a very big caveat, though, related to spam and service attacks, if the CGI is hosted on a server that is not under your control: most servers and many CGI's that process incoming data will only accept data that is generated from forms that are resident on the same host system, or from authorized domains that are hard coded into the CGI script. In the formmail.pl script that was set to process the following data...after I set the "authorized domains" variable in [Matt's] formmail.pl on the host system (where our content is hosted on a virtual domain), the following failed if used in any standalone that was distributed... because, obviously, the standalone was posting the data through the ISP of the user that was using the standalone and thus appeared to the server that was running the CGI as a spam attack on the CGI from an outside, unauthorized domain. I was never able to resolve this one.. . I hesitated to remove the authorized domain variable from the formmail.pl, because our server logs clearly show attempts to spam "formmail" by hackers, and although the sys admin for the HOST is pretty soft on this one and has no global protection in place against it... there would be serious repercussions if one of my forms were the cause of the server going down.... I resorted to asking people in the stand alone to simply email us their name and address and contact information from their own email client... here the intent was to let them "register" as a user from within the standalone, Can anyone else comment on this? I could be missing something very simple here. Could one somehow keep the authorized domain list on the host machine's CGI and still create a mechanism on a publicly distributed standalone to post data to that CGI from an ISP other than the machine that hosted the CGI? Where the domain from which the POST was originating would be completely unknown? i suppose if I used a faceless xTalk CGI and configured it to accept only input from the standalone, that could also be another solution? Insights anyone? local tText put "a-email,j-subject,k-comments,i-country,b-firstname,c-lastname" into requiredFields repeat for each item z in requiredFields if fld z is empty then answer "Email, name, subject, country and comments are required.." select text of fld z exit to metacard end if end repeat set the cursor to watch put "to=" & fld "recipient" into tText put "CyberHall--" & fld "j-subject" into jai put "&sub="&urlEncode(jai) after tText put "&from="&urlEncode(fld "a-email") after tText put "&a-firstName="&urlEncode(fld "b-firstName") after tText put "&c-lastName="&urlEncode(fld "c-lastName") after tText put "&d-add1="&urlEncode(fld "d-add1") after tText put "&e-add2="&urlEncode(fld "e-add2") after tText put "&f-city="&urlEncode(fld "f-city") after tText put "&g-state="&urlEncode(fld "g-state") after tText put "&h-zip="&urlEncode(fld "h-zip") after tText put "&i-country="&urlEncode(fld "i-country") after tText put "&k-Comments="&urlEncode(fld "k-Comments") after tText post tText to url "http://www.somedomain.com/cgi-bin/formmail.pl" set the cursor to watch showreport it end mouseUp > > Message: 3 > Date: Thu, 5 Sep 2002 13:34:08 -0300 > Subject: Question about POST > From: Andre Garzia > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Hi Comunity, > > i want to make an app that fill a web form using the post method, i > found the post keyword in the transcript dictionary but how do i tell > wich content go under wich var... my form is a little complex with many > fields and the post keyword says post chunk to site, how do i order > that > data? if someone could please help.... just mail me some copy&paste > code, i'll figure the rest... Tanx in advance. > Andre Garzia ??? 2002 > imac2 ibook p100 e uma torradeira.... > > > --__--__-- > > Message: 4 > Date: Thu, 5 Sep 2002 09:42:23 -0700 > To: use-revolution at lists.runrev.com > From: Kee Nethery > Subject: I changed the name of a stack > Reply-To: use-revolution at lists.runrev.com > > I'm told I sent this to the wrong address and that I should resend > it. Sorry if you have seen it previously. > > ------------------------------------------- > > I changed the name of a stack in the properties and at the directory > level. The properties name is (and was) different from the file name. > Now when I open the stack from within the Revolution development > environment most of the menus are greyed out. In the "Object" menu > the only selectable menu items are "Colors and Patterns", "New > Control" and "Alignment Palete". > > I cannot access the scripts or properties of the stack via the Object > menu. I changed the name back to what it was but that doesn't seem to > help. > > I can get to the scripts if I put it into debug mode and then press > the edit script button but that is a kludge. > > What secret move do I need to do to be able to once again deal with > this stack as a normal stack? > > Do I have to rebuild it from the ground up and use the debug edit > kludge to grab all the scripts? > > Kee Nethery > > > --__--__-- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > End of use-revolution Digest > From kee at kagi.com Thu Sep 5 18:07:01 2002 From: kee at kagi.com (Kee Nethery) Date: Thu Sep 5 18:07:01 2002 Subject: I changed the name of a stack In-Reply-To: References: Message-ID: >On 5/9/02 5:42 pm, Kee Nethery wrote: > >> I changed the name of a stack in the properties and at the directory >> level. The properties name is (and was) different from the file name. >> Now when I open the stack from within the Revolution development >> environment most of the menus are greyed out. In the "Object" menu >> the only selectable menu items are "Colors and Patterns", "New >> Control" and "Alignment Palete". > >What did you name it? > >Kevin > >Kevin Miller >Runtime Revolution Limited - The Solution for Software Development >Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution Name in the properties was Revolution Online Customized Server Label was the same The file name was something like ROCS.rev The file name was webProcess.rev before I changed the file name. Kee From jamervini at crtholdings.com Thu Sep 5 18:11:01 2002 From: jamervini at crtholdings.com (Joe Mervini) Date: Thu Sep 5 18:11:01 2002 Subject: Pseudo-Terminal? Message-ID: <3D77E41E.8070004@crtholdings.com> Is there a way in RR to create a pseudo-terminal window capable accepting input. I have an old piece of code that I would like to use but is i/o intensive. Thanks in advance. Joe From bvlahos at jpl.nasa.gov Thu Sep 5 18:25:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Thu Sep 5 18:25:01 2002 Subject: Question about POST In-Reply-To: <528788B7-C120-11D6-B6BE-003065FB9830@hindu.org> Message-ID: <7B61F4F4-C126-11D6-9AD4-000393853DBC@jpl.nasa.gov> A simple solution around this would be to include another post parameter which the user does not enter. It would be automatically sent by your standalone. This would work like a password and the CGI would check for the correct entry. Someone would have to sniff the network traffic to obtain the "password" to find out what it is - which is probably unlikely. Since it would be embedded in your application and CGI you could make it really long and random and therefore virtually impossible to guess. The domain restriction could then go away because you have this additional level of authentication. Bill Vlahos On Thursday, September 5, 2002, at 03:39 PM, Sannyasin Sivakatirswami wrote: > I was never able to resolve this one.. . I hesitated to remove the > authorized domain variable from the formmail.pl, because our server > logs clearly show attempts to spam "formmail" by hackers, and > although the sys admin for the HOST is pretty soft on this one and has > no global protection in place against it... there would be serious > repercussions if one of my forms were the cause of the server going > down.... > > I resorted to asking people in the stand alone to simply email us > their name and address and contact information from their own email > client... here the intent was to let them "register" as a user from > within the standalone, > > Can anyone else comment on this? I could be missing something very > simple here. Could one somehow keep the authorized domain list on the > host machine's CGI and still create a mechanism on a publicly > distributed standalone to post data to that CGI from an ISP other than > the machine that hosted the CGI? Where the domain from which the POST > was originating would be completely unknown? i suppose if I used a > faceless xTalk CGI and configured it to accept only input from the > standalone, that could also be another solution? From sarahr at genesearch.com.au Thu Sep 5 19:35:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Thu Sep 5 19:35:01 2002 Subject: Pseudo-Terminal? In-Reply-To: Message-ID: <58F64DEE-C130-11D6-B8AE-0003937A97B8@genesearch.com.au> Terminal as in serial communications, or as in OS X's Terminal app? The answer to both is yes :-) but the OS X terminal would need Rev 1.5 to do shell commands. If you want a stack to do serial comms, have a look at my Serial test stack in the user contributions section of the RunRev site. That should get you started. Sarah On Friday, September 6, 2002, at 09:16 am, Joe Mervini wrote: > Is there a way in RR to create a pseudo-terminal window capable > accepting input. I have an old piece of code that I would like to use > but is i/o intensive. > > Thanks in advance. > > Joe > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From BradAllen at mac.com Thu Sep 5 21:16:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Thu Sep 5 21:16:01 2002 Subject: Just Curious In-Reply-To: References: Message-ID: >>Does anyone know why, after calling a command that returns a card >>number in the result, >> >> get word x of the result >> go to card it >> >>works, but >> >> go to card (word x of the result) >> >>does not? > >Possible answer: (word x of the result) is interpreted as a >character string containing the name of the card? >-- But you'd still expect that to work, right? In the first example, "it" contains the same character string. I don't know why it doesn't work in Rev. From tim11 at bellatlantic.net Thu Sep 5 21:17:00 2002 From: tim11 at bellatlantic.net (Tim) Date: Thu Sep 5 21:17:00 2002 Subject: icons in OSX In-Reply-To: <3846C5C4-C116-11D6-9A17-0030656DAB8E@mac.com> Message-ID: On 9/5/02 5:27 PM, "mark mitchell" wrote: > > Bill Vlahos wrote: > >> A brain-dead but simple way to put an icon on a Mac application (X or >> 9) is: >> 1. find an icon or image you like >> 2. copy it to the clipboard >> 3. Get Info on your Rev application >> 4. click on the icon >> 5. paste the icon you want in >> > > Thank you Bill! That's just too cool. I AM rather brain dead, so I > really needed this. > > mark mitchell > Japan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution That method doesn't work in Jaguar for me. -- Tim From drvaughan55 at mac.com Thu Sep 5 21:31:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Thu Sep 5 21:31:01 2002 Subject: exit pb In-Reply-To: <002001c254f1$9147ab80$0801a8c0@sylvain> Message-ID: <9B54C4C8-C11C-11D6-9E8D-000393598038@mac.com> On Friday, Sep 6, 2002, at 01:33 Australia/Sydney, Sylvain Le Gourri?rec wrote: > hello, > ? Sylvain > ? > --------------------------------------------------- > on myHandler > ? > ? exit myHandler > ? beep 3 > ? > end myHandler > ? > ----------->? it beeps! No, not when I tested it. > ? > ? > --------------------------------------------------- > on myHandler > ? > ? do "exit myHandler" > ? beep 3 > ? > end myHandler > ? > ----------->? it does not beep! It beeps for me (as Hemingway failed to write). The behaviours I saw are those you would expect. Can you check this again please, Sylvain? > regards David > ? > ? > ? > Why? > ? > ? > ? > ? > ? > ? > ? > Sylvain Le Gourri?rec? ??? d?veloppement? ?? son-video-distribution > ? > -------------> windows 2000 + runrev 1.1.1 + MySQL 3.23 + PHP 4 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1317 bytes Desc: not available URL: From lcamou3 at cox.net Thu Sep 5 23:07:01 2002 From: lcamou3 at cox.net (Luis Camou) Date: Thu Sep 5 23:07:01 2002 Subject: Telenet and Control Break Key Message-ID: <002501c2555a$8f0062e0$403c0244@myworksok> Thank you Dar =) Yes the numbers did not add up to ( 1/4 ~ 1/8 ) but still I will try this at a lower speed and with a null char. I think is more of a trial and error with the timing .=( I need to set this Break signal at different speeds, well actually 2 speeds 9 600 and 115 200 . I need the higher speed to upload a file into the router ( next project ... xmodem transfer and TFTP ). Well at least I will try =) >Hey, Luis, maybe there is some way for your stack to use some other program for serial IO and somehow tell it to send a break. What platform are you needing this on? The software is on windows. To accomplish this I would need to tell the other program to open a serial port, then to send a break signal and to close the port afterwards. The hardest part would be ( I think ) to tell this software to send a break signal . Well tomorrow I will try the break signal with runrev. I'll keep you posted if I succeed. Thank you Luis Camou lcamou3 at cox.net From sylvain.legourrierec at son-video.com Fri Sep 6 01:45:01 2002 From: sylvain.legourrierec at son-video.com (=?Windows-1252?Q?Sylvain_Le_Gourri=E9rec?=) Date: Fri Sep 6 01:45:01 2002 Subject: exit pb References: <9B54C4C8-C11C-11D6-9E8D-000393598038@mac.com> Message-ID: <004b01c25570$a08c42c0$0801a8c0@sylvain> sorry! I made a mistake: it is just the opposite : --------------------------------------------------- on myHandler exit myHandler beep 3 end myHandler -----------> it does not beep! --------------------------------------------------- on myHandler do "exit myHandler" beep 3 end myHandler -----------> it beeps! why the do command is not executed? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From monte at sweattechnologies.com Fri Sep 6 01:52:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Sep 6 01:52:01 2002 Subject: Moron OSX!! er... more on OSX, pLst and bundles In-Reply-To: Message-ID: > > Just to let you know that this problem is on our radar. > Thanks Kevin I think the main problem is that Rev is such a cool high level tool so when you need to do something that is a bit low level it can get hard to cope with. Anyway I'd like to thank Mark for the video. That helped heaps. I ended up realising that I had to choose the "Complete Icon" option on the Iconogropher menu DOH! Slap my forehead! That and I built the standalone with the latest version of MC instead of Rev 1.1.1. Cheers Monte From Esa.Kivela at ncrc.fi Fri Sep 6 02:22:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Sep 6 02:22:01 2002 Subject: Runtimes menus dissapear NEED HELP Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D55@ktk7.ad.kuluttajatutkimuskeskus.fi> Greetings again.. When I try to launch Runtime at Windows I can see only that tool palette. How I can see that Runtime windows and menus that I can open stacks and so on? EsaK From Esa.Kivela at ncrc.fi Fri Sep 6 02:27:00 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Sep 6 02:27:00 2002 Subject: Runtime menus dissapear need help Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D56@ktk7.ad.kuluttajatutkimuskeskus.fi> Greetings again Something odd happend: When I start Runtime I can only see that Tip window and tool palette but main window where is File menus and so on has dissapeared and I can't see that main window any way. How I can fix this? Yours EsaK From rcozens at pon.net Fri Sep 6 02:29:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Sep 6 02:29:00 2002 Subject: Just Curious In-Reply-To: References: Message-ID: >>Possible answer: (word x of the result) is interpreted as a >>character string containing the name of the card? >>-- > >But you'd still expect that to work, right? In the first example, >"it" contains the same character string. I don't know why it doesn't >work in Rev. Hi Brad, One could test my theory by changing the names of some cards in the stack to "1", "2", etc. and seeing what happens. Because Xtalk does variable typing "on the fly" it's sometimes difficult to know whether the interpreter sees "1" as a character or a digit. This is particularly true of "it", as its type can change from statement to statement. If I am correct, then replacing "(word x of the result)" with "value(word x of the result)" should also work; but I'd just as soon use an extra get statement rather than add a function call. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 sims at ezpzapps.com Fri Sep 6 02:53:01 2002 From: sims at ezpzapps.com (sims) Date: Fri Sep 6 02:53:01 2002 Subject: Moron OSX!! er... more on OSX, pLst and bundles In-Reply-To: References: Message-ID: > >Iconogropher menu DOH! Slap my forehead! That and I built the standalone >with the latest version of MC instead of Rev 1.1.1. I just tried turning a Rev 1.1.1 into a standalone using the MC 2.4.3 but where I had the hand cursor the arrow cursor appeared instead. I tried "set the tool to browse" in the card & stack script but had no luck. Did you have the same thing happen? atb sims ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From sschofield at computing.dundee.ac.uk Fri Sep 6 03:21:01 2002 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Fri Sep 6 03:21:01 2002 Subject: Posting attachments and list formatting Message-ID: <31C6D68FA597D411B04D00E02965883BB14C7D@mailhost> Sorry about that. I'd meant to post that to myself, not the group and seeing my email in the from box just automatically clicked on it to reply to myself. Sorry again S -----Original Message----- From: Heather Williams [mailto:heather at runrev.com] Sent: 05 September 2002 19:50 To: use-revolution at lists.runrev.com Subject: Posting attachments and list formatting Ahem. There was a regrettable attachment tagged on to that post... Please, don't post attachments to the list, and try not to use html formatting or MIME or any other decorative text enhancements. Plain text only, if at all possible. It gets scrambled and comes through as garbage for the digest listers, who make up the vast majority of the members on this list. With thanks for your kind attention to this matter, Your friendly Listmom, Heather > Message: 14 > From: sschofield > To: "'use-revolution at lists.runrev.com'" > > Subject: RE: Using a database cursor > Date: Thu, 5 Sep 2002 17:12:21 +0100 > Reply-To: use-revolution at lists.runrev.com > > This message is in MIME format. Since your mail reader does not > understand this format, some or all of this message may not be > legible. > > ------_=_NextPart_000_01C254F7.03E882E0 > Content-Type: text/plain > > > > -----Original Message----- > From: sschofield [mailto:sschofield at computing.dundee.ac.uk] > Sent: 05 September 2002 16:38 > To: 'use-revolution at lists.runrev.com' > Subject: RE: Using a database cursor > > > Thanks again. I now have the results coming out of my database, > yippee. You mention the documentation which I have indeed consulted, > but I find the examples rather bald. They're never embedded in code. > Eg. I'm now trying to find the recordcount so I can reject the login > if recordcount < 0. but it doesn't seem to work. The example code is a > bald revdb_recordcount(westCoastCustomers). -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution - The Solution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From sschofield at computing.dundee.ac.uk Fri Sep 6 03:26:00 2002 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Fri Sep 6 03:26:00 2002 Subject: Using a database cursor Message-ID: <31C6D68FA597D411B04D00E02965883BB14C7E@mailhost> Yep but everything seemed ot be renamed get DBQuery which wasn't in the data dictionary. I've now printed out the code of the example to look at. Btw, is there a way of printing out code? At the mo I'm cutting and pasting into a word document. -----Original Message----- From: Kevin Miller [mailto:kevin at runrev.com] Sent: 05 September 2002 21:58 To: use-revolution at lists.runrev.com Subject: Re: Using a database cursor On 5/9/02 4:38 pm, sschofield wrote: > doesn't seem to work. The example code is a bald > revdb_recordcount(westCoastCustomers). Did you take a look at the example database stacks in the Contributors Section of our web site? Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From sschofield at computing.dundee.ac.uk Fri Sep 6 03:44:01 2002 From: sschofield at computing.dundee.ac.uk (sschofield) Date: Fri Sep 6 03:44:01 2002 Subject: Using a database cursor Message-ID: <31C6D68FA597D411B04D00E02965883BB14C80@mailhost> i shall try this. i must say i'm very impressed at the help i've received so far on my queries. Trevor, the reason i've filled the my message outwith the if statement was just to check the sql was actually finding a record. I recollect an older version of VB where you had to go to the bof and eof to get the recordcount to work. But certainly in vb 6 you just use recordcount. Maybe something for future version of rev? -----Original Message----- From: Tuviah Snyder [mailto:tuviah at runrev.com] Sent: 05 September 2002 18:48 To: use-revolution at lists.runrev.com Subject: RE: Using a database cursor > put "SELECT * FROM tblName WHERE tblName.Login = '" & field "login" & "'" >into strSql > get revdb_query(field "dbID",strSql) > put "Welcome " & revdb_columnbyname(it,"fname") into field "MyMessage" > > if revdb_recordcount(it) <= 0 then > put "Sorry, no login for " & field "login" & " in the database" > else > put "Welcome " & revdb_columnbyname(it,"fname") into field "MyMessage" > end if > revdb_recordcount returns -1 for some databases (particularly MS Access), this is a bug in the database itself. A workaround is to fetch all the rows in the resultset until eof. RevDB does not do this because it could be very expensive for huge resultsets. repeat while revdb_iseof(tcursor) is true add 1 to recordcount end repeat Below find a modified script put "SELECT * FROM tblName WHERE tblName.Login = '" & field "login" & "'" into strSql get revdb_query(field "dbID",strSql) put "Welcome " & revdb_columnbyname(it,"fname") into field "MyMessage" if revdb_iseof(it) is true then put "Sorry, no login for " & field "login" & " in the database" #first record is eof..resultset is empty else put "Welcome " & revdb_columnbyname(it,"fname") into field "MyMessage" end if Tuviah Snyder > > Runtime Revolution Limited - The Solution for Software Development -------------- next part -------------- An HTML attachment was scrubbed... URL: From Esa.Kivela at ncrc.fi Fri Sep 6 04:03:02 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Sep 6 04:03:02 2002 Subject: Newbie: call subpraogram Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D57@ktk7.ad.kuluttajatutkimuskeskus.fi> Greetings to all I like to call subroutine in my progam but when I try Hyperradnd old style On Mainprogram valo (jumpu to sub) end Mainprogram On valo blaa blaaa end valo it won't work. Runtime tell "cant find the handler" How I can call subroutines in Runtime? EsaK From janschenkel at yahoo.com Fri Sep 6 04:29:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 6 04:29:00 2002 Subject: Runtimes menus dissapear NEED HELP In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6D55@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <20020906092758.31874.qmail@web11901.mail.yahoo.com> --- Esa_Kivel? wrote: > Greetings again.. > > When I try to launch Runtime at Windows I can see > only that tool palette. How I can see that Runtime > windows and menus that I can open stacks and so on? > > EsaK Hi Esa, Try changing the screen resolution. On my portable at home, I couldn't see the 'Message' window until I changed the resolution and moved the window up a bit. It could be the RunRev windows are somewhere 'off-screen'. Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From Esa.Kivela at ncrc.fi Fri Sep 6 04:33:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Sep 6 04:33:01 2002 Subject: VS: Runtimes menus dissapear NEED HELP Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D58@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Jan Schenkel [mailto:janschenkel at yahoo.com] > L?hetetty: 6. syyskuuta 2002 12:28 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: Runtimes menus dissapear NEED HELP > > > --- Esa_Kivel? wrote: > > Greetings again.. > > > > When I try to launch Runtime at Windows I can see > > only that tool palette. How I can see that Runtime > > windows and menus that I can open stacks and so on? > > > > EsaK > > Hi Esa, > > Try changing the screen resolution. On my portable at > home, I couldn't see the 'Message' window until I > changed the resolution and moved the window up a bit. > > It could be the RunRev windows are somewhere > 'off-screen'. > > Hope this helped, > > Jan Schenkel. Tried but won't help I have to reinstall hole Revolution and then its works ok. thanks anyway EsaK From janschenkel at yahoo.com Fri Sep 6 04:36:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 6 04:36:01 2002 Subject: exit pb In-Reply-To: <004b01c25570$a08c42c0$0801a8c0@sylvain> Message-ID: <20020906093435.32221.qmail@web11901.mail.yahoo.com> --- Sylvain_Le_Gourri?rec wrote: > sorry! > > I made a mistake: it is just the opposite : > > [snip] > > why the do command is not executed? > > thanks > Hi Sylvain, Actually, the 'do' command _is_ executed, but it doesn't cause myHandler to exit. Look at it this way: when you execute a 'do' command, the statements in the do are wrapped as a sub-routine. Sub-routines cannot exit the routines that call them. You _can_ do it if you change the statement to: do "exit to top" but that will end all the handlers in the call chain. Hope this cleared things up a bit, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From sylvain.legourrierec at son-video.com Fri Sep 6 04:50:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Fri Sep 6 04:50:01 2002 Subject: exit pb References: <20020906093435.32221.qmail@web11901.mail.yahoo.com> Message-ID: <002201c2558a$88d71500$0801a8c0@sylvain> thank you, I understood From dvk at dvkconsult.com.au Fri Sep 6 05:48:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri Sep 6 05:48:01 2002 Subject: Newbie: call subpraogram In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6D57@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: On Friday, Sep 6, 2002, at 19:00 Australia/Sydney, Esa Kivel? wrote: > Greetings to all > > I like to call subroutine in my progam but when I try Hyperradnd old > style > > On Mainprogram > > valo (jumpu to sub) > end Mainprogram > > On valo > blaa blaaa > end valo > > it won't work. Runtime tell "cant find the handler" > > How I can call subroutines in Runtime? Esa You are doing it correctly and it [almost always] works, unless the handler does not compile. I have found sometimes that Revolution silently fails to compile a handler and then produces the message you have seen when you try to run it, because there is no valid handler of that name. Open the script again, add and remove a space somewhere (or some other irrelevant edit) and recompile. This may catch it. Otherwise, quit and restart Revolution and then try a recompile. I am sure you will find a minor code bug. regards David > > EsaK > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Esa.Kivela at ncrc.fi Fri Sep 6 06:04:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Sep 6 06:04:01 2002 Subject: VS: Newbie: call subpraogram Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D59@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: David Vaughan [mailto:dvk at dvkconsult.com.au] > L?hetetty: 6. syyskuuta 2002 13:46 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: Newbie: call subpraogram > > > > On Friday, Sep 6, 2002, at 19:00 Australia/Sydney, Esa Kivel? wrote: > > > Greetings to all > > > > I like to call subroutine in my progam but when I try > Hyperradnd old > > style > > > > On Mainprogram > > > > valo (jumpu to sub) > > end Mainprogram > > > > On valo > > blaa blaaa > > end valo > > > > it won't work. Runtime tell "cant find the handler" > > > > How I can call subroutines in Runtime? > > Esa > > You are doing it correctly and it [almost always] works, unless the > handler does not compile. I have found sometimes that Revolution > silently fails to compile a handler and then produces the message you > have seen when you try to run it, because there is no valid > handler of > that name. > > Open the script again, add and remove a space somewhere (or > some other > irrelevant edit) and recompile. This may catch it. Otherwise, > quit and > restart Revolution and then try a recompile. I am sure you > will find a > minor code bug. > > regards > David Thanks I'll try that I just move Hypercard stack -> Revolution and in that stack lies that problem. I have longgggg time ago coded some LPCMUD room editor (when I studyied HyperTalk) and try to end that satck with Runtime with my pc. That editor is somekind drag&drop system where mosnters, weapons, doors can "drop" into room, click ie. monsters icon and its details pops up and there can conigure monsters status (ie name, exp, hp, etc.) also when inside monsters details there is a square where weapons, armours etc. can also drop AND monster really get those things in Mud :-). If somone play LPCMUDS and are intersted code that editor in Runtime please email me to esa.kivela at ncrc.fi. EsaK From k_major at os.surf2000.de Fri Sep 6 06:48:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Fri Sep 6 06:48:01 2002 Subject: Newbie: call subpraogram In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6D57@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: Hi Esa, just a thought: Make sure that the subroutine (valo) is somewhere in the message hierarchie, where the mainprogramm can find it. In the same script or in the stack-script, or somewhere UP in the message-path. If RR tells you "cant find the handler", it looks like this might be the problem. Regards Klaus Major k_major at os.surf2000.de > Greetings to all > I like to call subroutine in my progam but when I try Hyperradnd old > style > > On Mainprogram > > valo (jumpu to sub) > end Mainprogram > > On valo > blaa blaaa > end valo > > it won't work. Runtime tell "cant find the handler" > How I can call subroutines in Runtime? > > EsaK From kray at sonsothunder.com Fri Sep 6 08:06:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 6 08:06:01 2002 Subject: Moron OSX!! er... more on OSX, pLst and bundles References: Message-ID: <001201c255a5$6ffbe860$6601a8c0@mckinley.dom> You can fix this by setting the defaultCursor property. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "sims" To: Sent: Friday, September 06, 2002 2:52 AM Subject: RE: Moron OSX!! er... more on OSX, pLst and bundles > > > >Iconogropher menu DOH! Slap my forehead! That and I built the standalone > >with the latest version of MC instead of Rev 1.1.1. > > > I just tried turning a Rev 1.1.1 into a standalone using the MC 2.4.3 > but where I had the hand cursor the arrow cursor appeared instead. > I tried "set the tool to browse" in the card & stack script but had > no luck. Did you have the same thing happen? > > atb > > sims > > ___________________________________________ > > http://EZPZapps.com info at EZPZapps.com > Software - Internet Development - Consulting > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From cowhead at mac.com Fri Sep 6 09:12:01 2002 From: cowhead at mac.com (mark mitchell) Date: Fri Sep 6 09:12:01 2002 Subject: Mac OS Version Support In-Reply-To: <200209052212.SAA09689@www.runrev.com> Message-ID: <5564FF7E-C1A2-11D6-9F79-0030656DAB8E@mac.com> On Friday, September 6, 2002, at 07:12 AM, use-revolution- request at lists.runrev.com wrote: > Thank you both for verifying my problem. But is simply shouldn't be > this way > -- and it isn't Apple's problem it is RunRev's. The checkboxes in the > distribution builders of the "classic" and OSX version of RunRev are > identical -- they SHOULD therefore produce identical results (which I > assumed they did) but they don't. All the RunRev documentation claims > that > MacOS compatibility extends down to system 7.1 -- but this IS NOT TRUE > if > the MacOS application is built using the OSX engine -- which creates an > OS > 9+ dependent carbon app I have a different problem with my Dist builder for OSX, it just quit working on my G4 tower! (but not on the iMacs). It just stops after saying "copying file xxxx" and it makes a folder titled 'standalone xxxx" but this folder is empty. I've downloaded a 'fresh' version of Rev and run 'fsck -y' on the OS, but to no avail. I previously posted that this behaviour was due to a stack with really big 3D buttons slowing down the whole dev environment. It's true that big 3D buttons slow it down, buy it now seems my distribution builder probs are independant of that. Anyone else seen this behaviour? I have less than a GB of free space left on the HD, I don't know if that is relevant. But, a nice plus that we Mac users have is that we really have two machines in one now. If the OSX quits working, (as mine did) just switch to classic, which still builds fine OSX standalones! An added fail safe while we work things out. mark mitchell Japan From sims at ezpzapps.com Fri Sep 6 09:16:01 2002 From: sims at ezpzapps.com (sims) Date: Fri Sep 6 09:16:01 2002 Subject: Moron OSX!! er... more on OSX, pLst and bundles In-Reply-To: <001201c255a5$6ffbe860$6601a8c0@mckinley.dom> References: <001201c255a5$6ffbe860$6601a8c0@mckinley.dom> Message-ID: Thanks to Ken & Monte! atb sims >You can fix this by setting the defaultCursor property. > >Ken Ray >Sons of Thunder Software >Email: kray at sonsothunder.com >Web Site: http://www.sonsothunder.com/ > Monte said: > > >Iconogropher menu DOH! Slap my forehead! That and I built the standalone > > >with the latest version of MC instead of Rev 1.1.1. From bvlahos at jpl.nasa.gov Fri Sep 6 09:52:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Fri Sep 6 09:52:01 2002 Subject: icons in OSX In-Reply-To: Message-ID: It works for me in Jaguar. Are you sure you have clicked on the icon in the Get Info window? Bill On Thursday, September 5, 2002, at 07:14 PM, Tim wrote: > On 9/5/02 5:27 PM, "mark mitchell" wrote: > >> >> Bill Vlahos wrote: >> >>> A brain-dead but simple way to put an icon on a Mac application (X or >>> 9) is: >>> 1. find an icon or image you like >>> 2. copy it to the clipboard >>> 3. Get Info on your Rev application >>> 4. click on the icon >>> 5. paste the icon you want in >>> >> >> Thank you Bill! That's just too cool. I AM rather brain dead, so I >> really needed this. >> >> mark mitchell >> Japan >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > That method doesn't work in Jaguar for me. > -- > Tim > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From rcozens at pon.net Fri Sep 6 10:11:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Sep 6 10:11:01 2002 Subject: Mac OS Version Support In-Reply-To: <5564FF7E-C1A2-11D6-9F79-0030656DAB8E@mac.com> References: <5564FF7E-C1A2-11D6-9F79-0030656DAB8E@mac.com> Message-ID: >Anyone else seen this behaviour? Hi Mark, FWIW, since your first post I have been experimenting with building without updating the build info as I was before. So far I have NOT experienced the problem, though it has happened to me previously. If & when it fails, I'll try to locate the cause. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 kevin at runrev.com Fri Sep 6 10:52:01 2002 From: kevin at runrev.com (Kevin Miller) Date: Fri Sep 6 10:52:01 2002 Subject: I changed the name of a stack In-Reply-To: Message-ID: On 5/9/02 11:35 pm, Kee Nethery wrote: > Name in the properties was > Revolution Online Customized Server > > Label was the same > > The file name was something like > ROCS.rev > > The file name was webProcess.rev before I changed the file name. That?s a "feature" - read poor design decision on our part. You can't name a stack with the first three characters of the name starting with "rev" because that is how the development environment sorts out its own stacks to prevent editing them. Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kee at kagi.com Fri Sep 6 12:48:01 2002 From: kee at kagi.com (Kee Nethery) Date: Fri Sep 6 12:48:01 2002 Subject: I changed the name of a stack In-Reply-To: References: Message-ID: >On 5/9/02 11:35 pm, Kee Nethery wrote: > >> Name in the properties was >> Revolution Online Customized Server >> >> Label was the same >> >> The file name was something like >> ROCS.rev >> >> The file name was webProcess.rev before I changed the file name. > >That's a "feature" - read poor design decision on our part. You can't name >a stack with the first three characters of the name starting with "rev" >because that is how the development environment sorts out its own stacks to >prevent editing them. Oh! So if I just change the stack name all should be well? I was able to set the stack name via the message box and now all is well. Sounds like you need a warning when stack names want to be set to start with REV. Thank you. Kee From steve at messimercomputing.com Fri Sep 6 13:01:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Fri Sep 6 13:01:01 2002 Subject: re subroutine Message-ID: Esak, you said... > Greetings to all > > I like to call subroutine in my progam but when I try Hyperradnd old style > > On Mainprogram > > valo (jumpu to sub) > end Mainprogram > > On valo > blaa blaaa > end valo > > it won't work. Runtime tell "cant find the handler" > > How I can call subroutines in Runtime? > > EsaK When you send a message to an object if its handler is not in the msg hierarchy of the sending object, you need to specify its desitnation object and you need to preface it with the send cmd. try this ... On Mainprogram send valo to btn "otherButton" -- the msg can be sent to any other RR Object. If the btn is on another card you would use this instead -- send valo to btn "otherButton" of cd "otherCard" end Mainprogram On valo blaa blaaa end valo Send is not needed generally if the target handler is in the Objects path, So in the example above if the handler was in the card that owns the button the path looks like this btn:Card and you could send the valo msg w/o using the send command. valo cks the btn for a handler when it doesn't find one the msg is sent up the object hierarchy to the card on which the btn resides. If the on valo handler is in the cards script then it excutes the code. If the handler is in another btn on the same card the msg (valo) will not be trapped by the valo handler because you haven't told it where to go. Hope this helps Steve From jacque at hyperactivesw.com Fri Sep 6 16:35:00 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Sep 6 16:35:00 2002 Subject: Moron OSX!! er... more on OSX, pLst and bundles References: <200209060745.DAA19236@www.runrev.com> Message-ID: <3D791F4E.2000905@hyperactivesw.com> sims wrote: > > I just tried turning a Rev 1.1.1 into a standalone using the MC 2.4.3 > but where I had the hand cursor the arrow cursor appeared instead. > I tried "set the tool to browse" in the card & stack script but had > no luck. Did you have the same thing happen? Don't forget to move the cursors into the stack using MetaCard's "Resource Mover" before building the app. Cursors don't get moved automatically. If you are going to move the stack back to RR, you might want to work on a copy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Fri Sep 6 17:27:00 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Sep 6 17:27:00 2002 Subject: stackFiles on OS X In-Reply-To: <3D791F4E.2000905@hyperactivesw.com> Message-ID: Hi Is there any issue with stackfiles on OS X? I've got an app that works perfectly in MC then when I build it just opens the splash screen. The only thing I can think of is that the defaultFolder on OS X may be insite the bundle and therefore relative paths in my stackfiles property are busted?????? Anyone have any idea's??? HELP!!!!!!!!!!!!! Monte From speitel at hawaii.edu Fri Sep 6 18:55:00 2002 From: speitel at hawaii.edu (Thomas Speitel) Date: Fri Sep 6 18:55:00 2002 Subject: Lag after button click Message-ID: Help, I made a simple calculator in which buttons contain scripts such as on mouseUp put "1" after card field "data" end mouseUp If I click the button five times, I am lucky to see two or three characters appear. Happens in OS 10, 9, and Windows. Thanks in advance for your comments. Tom Speitel From chipp at chipp.com Fri Sep 6 20:59:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 6 20:59:00 2002 Subject: Tutorial tip: Creating Custom Icons for Standalone Windows apps. Message-ID: Over time, I've struggled a bit with this. I hate spending time learning the intricacies of the latest version of the coolest icon editor...especially because Rev and MC only use the 766 byte 32x32 16 color icon. Then for me, after creating it, I end up doing 3 or 4 distro builds only to find out the icon won't build with RR. So... Check out http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm to see a real quick way of using existing 32x32 bmp files to create valid .ico files for RR using a very small shareware program. While the program works just fine without purchasing it...if you use it a lot, consider supporting the author. There are also a couple of glossy photoshop tutorials at my home page: www.chipp.com You can use them to help you get ideas for icons. best, Chipp Walters,Altuit From monte at sweattechnologies.com Fri Sep 6 21:21:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Sep 6 21:21:01 2002 Subject: stackFiles on OS X In-Reply-To: Message-ID: There does seem to be a problem here. For now the workaround I have used is to set the directory to (the directory&"/data"). Perhaps it is a general bug with relative paths on this build? (MC 2.4.3) > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Monte > Goulding > Sent: Saturday, 7 September 2002 7:56 AM > To: use-revolution at lists.runrev.com > Subject: stackFiles on OS X > > > > Hi > > Is there any issue with stackfiles on OS X? I've got an app that works > perfectly in MC then when I build it just opens the splash > screen. The only > thing I can think of is that the defaultFolder on OS X may be insite the > bundle and therefore relative paths in my stackfiles property are > busted?????? Anyone have any idea's??? > > > HELP!!!!!!!!!!!!! > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Fri Sep 6 21:34:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 6 21:34:01 2002 Subject: Lag after button click References: Message-ID: <000e01c25616$34d097b0$6601a8c0@mckinley.dom> Thomas, The problem is that when you click twice, the second click is being treated as a double-click. So to get everything, do this: (BTW: In Rev you don't need to say "card field", you can just say "field".) on mouseUp put "1" after field "data" end mouseUp on mouseDoubleUp put "1" after field "data" -- If you want the same thing end mouseDoubleUp Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Thomas Speitel" To: Sent: Friday, September 06, 2002 6:53 PM Subject: Lag after button click > Help, > I made a simple calculator in which buttons contain scripts such as > > on mouseUp > put "1" after card field "data" > end mouseUp > > If I click the button five times, I am lucky to see two or three > characters appear. Happens in OS 10, 9, and Windows. > > Thanks in advance for your comments. > Tom Speitel > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dvk at dvkconsult.com.au Fri Sep 6 21:36:00 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri Sep 6 21:36:00 2002 Subject: Lag after button click In-Reply-To: Message-ID: <592D8048-C20A-11D6-AA3D-000393598038@dvkconsult.com.au> On Saturday, Sep 7, 2002, at 09:53 Australia/Sydney, Thomas Speitel wrote: > Help, > I made a simple calculator in which buttons contain scripts such as > > on mouseUp > put "1" after card field "data" > end mouseUp > > If I click the button five times, I am lucky to see two or three > characters appear. Happens in OS 10, 9, and Windows. Yes. To date I have just accepted this as a problem with Revolution. Even if you wait for each character appear before promptly clicking again, you still lose events. That wasn't much help, was it. cheers David > > Thanks in advance for your comments. > Tom Speitel > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jswitte at bloomington.in.us Fri Sep 6 21:37:01 2002 From: jswitte at bloomington.in.us (James Witte) Date: Fri Sep 6 21:37:01 2002 Subject: Getting "top level" stack In-Reply-To: Message-ID: I want to make a palette with a button to get the name of the top-level stack (i.e. the one that's active when the palette's button is clikced) I'm currently trying to use line 1 of the openStacks to do this, but when I click on the button, the palette itself activates. Is there any way to keep track of the top stack other than inserting an openStack message into the message chain? Jim Witte jswitte at bloomington.in.us From ambassador at fourthworld.com Fri Sep 6 21:53:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Sep 6 21:53:01 2002 Subject: Getting "top level" stack In-Reply-To: Message-ID: James Witte wrote: > I want to make a palette with a button to get the name of the top-level > stack (i.e. the one that's active when the palette's button is clikced) > I'm currently trying to use line 1 of the openStacks to do this, but > when I click on the button, the palette itself activates. Is there any > way to keep track of the top stack other than inserting an openStack > message into the message chain? Use the topstack function -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dvk at dvkconsult.com.au Fri Sep 6 21:54:00 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Fri Sep 6 21:54:00 2002 Subject: Lag after button click In-Reply-To: <000e01c25616$34d097b0$6601a8c0@mckinley.dom> Message-ID: On Saturday, Sep 7, 2002, at 12:28 Australia/Sydney, Ken Ray wrote: > Thomas, > > The problem is that when you click twice, the second click is being > treated > as a double-click. So to get everything, do this: > > (BTW: In Rev you don't need to say "card field", you can just say > "field".) > > on mouseUp > put "1" after field "data" > end mouseUp > > on mouseDoubleUp > put "1" after field "data" -- If you want the same thing > end mouseDoubleUp Ken I have mouse double-click rate set to maximum. My click rate was _much_ slower than required to highlight a word (for example) using a double-click, yet I can still lose clicks (or every third click, with your code) after waiting for the visual response before clicking again. This seems inconsistent with behaviour of other applications.. I can not create this problem in HC but presumably that is just getting more attention from the OS. regards David > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "Thomas Speitel" > To: > Sent: Friday, September 06, 2002 6:53 PM > Subject: Lag after button click > > >> Help, >> I made a simple calculator in which buttons contain scripts such as >> >> on mouseUp >> put "1" after card field "data" >> end mouseUp >> >> If I click the button five times, I am lucky to see two or three >> characters appear. Happens in OS 10, 9, and Windows. >> >> Thanks in advance for your comments. >> Tom Speitel >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From troy at rpsystems.net Fri Sep 6 22:08:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Sep 6 22:08:01 2002 Subject: Tutorial tip: Creating Custom Icons for Standalone Windows apps. In-Reply-To: Message-ID: On Friday, September 6, 2002, at 09:59 PM, Chipp Walters wrote: > Check out http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm to > see a > real quick way of using existing 32x32 bmp files to create valid .ico > files > for RR using a very small shareware program. While the program works > just > fine without purchasing it...if you use it a lot, consider supporting > the > author. > > There are also a couple of glossy photoshop tutorials at my home page: > www.chipp.com You can use them to help you get ideas for icons. Chipp, great job, thanks. I'd like to say that I use a different icon editor normally for software that I develop, and the icons it makes are not compatible with Rev's rather archaic limitations. 16 colors? Are we serious? Mac users knock off a star or even two at version tracker for an application that has a crappy icon - no matter how good the software is. With the advent of aqua an elegant icon is even more critical. This Windows limitation HAS to go away, or Rev based applications are going to get saddled with a stigma. I'm not even kidding, though I wish I was. Many users do judge a book by its cover - and in this case the cover is a 16 color icon. Blech! Ah well, rant over. Thanks for the tip and the mini-tutorial, anyhow. -- Troy RPSystems, LTD www.rpsystems.net From scott at tactilemedia.com Fri Sep 6 22:28:00 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Sep 6 22:28:00 2002 Subject: Tutorial tip: Creating Custom Icons for Standalone Windows apps. In-Reply-To: Message-ID: > I'd like to say that I use a different icon editor normally for software > that I develop, and the icons it makes are not compatible with Rev's > rather archaic limitations. 16 colors? Are we serious? Mac users knock > off a star or even two at version tracker for an application that has a > crappy icon - no matter how good the software is. With the advent of > aqua an elegant icon is even more critical. This Windows limitation HAS > to go away, or Rev based applications are going to get saddled with a > stigma. I'm not even kidding, though I wish I was. Many users do judge a > book by its cover - and in this case the cover is a 16 color icon. Blech! I, for one, heartily agree with this rant. However, folks who are absolutely desperate for a custom icon beyond 16 colors might try the following: create an alias/shortcut or launcher stack which serves as the visual "front end" representation of your application. The "real" application can be hidden in a folder and launched via file association. You can then assign a custom icon to the alias/shortcut/stack. While I personally haven't done this on OSX, I have used this technique on Windows via desktop shortcuts. Granted this just a workaround, not a solution, but it might be workable. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From chipp at chipp.com Fri Sep 6 23:56:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 6 23:56:01 2002 Subject: Tutorial tip: Creating Custom Icons for Standalone Windows apps. In-Reply-To: Message-ID: Troy, I understand completely. But I would add, I believe nice icons can be built using only 16 colors. You just have to be careful. Monochrome color schemes with healthy dithering can help. Or a more flat 'graphic' approach works well. I put some example icons up at: http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm to check out. While they're not the best, they were created fairly quickly and work pretty well....especially when rendered in the 16 x 16 mode. -Chipp From jeanne at runrev.com Sat Sep 7 01:19:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Sep 7 01:19:01 2002 Subject: Getting "top level" stack In-Reply-To: References: Message-ID: At 7:36 PM -0700 9/6/2002, James Witte wrote: > I want to make a palette with a button to get the name of the top-level >stack (i.e. the one that's active when the palette's button is clikced) >I'm currently trying to use line 1 of the openStacks to do this, but >when I click on the button, the palette itself activates. Is there any >way to keep track of the top stack other than inserting an openStack >message into the message chain? It sounds like the topStack function is what you need here, e.g. on mouseUp put the short name of the topStack into field "Stack" end mouseUp -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From chipp at chipp.com Sat Sep 7 01:35:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Sat Sep 7 01:35:00 2002 Subject: New Toolbar Starter Kit... Message-ID: I just put a starter kit stack up on my site with a toolbar (with my own icons) kinda like RRs. I actually used some of the same techniques they use. Feel free to download, dissect, and comment on. It's at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm -Chipp Walters, Altuit From matt.denton at limelight.com.au Sat Sep 7 07:46:01 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Sat Sep 7 07:46:01 2002 Subject: Lag after button click In-Reply-To: <200209070521.BAA08990@www.runrev.com> Message-ID: <8B47D33F-C25F-11D6-92BD-000393924880@limelight.com.au> Hey-ya David I just tested it, you need to set the doubleClickInterval to 0 (I'm sure someone else may have already sent this through, I'm on daily digest that I only seem to get a chance to read once a week!). I tested it with a little stack and my best manic A.D.D. style clicking and got perfect results. (Clicking like this takes me back to my long lost Defender and Robotron days :~) now available on MacMAME, plus the all time classic Marble Madness... enough raving). M@ Matt Denton matt.denton at limelight.com.au On Saturday, September 7, 2002, at 03:21 PM, David Vaughan wrote: > Ken > > I have mouse double-click rate set to maximum. My click rate was _much_ > slower than required to highlight a word (for example) using a > double-click, yet I can still lose clicks (or every third click, with > your code) after waiting for the visual response before clicking again. > This seems inconsistent with behaviour of other applications.. I can > not create this problem in HC but presumably that is just getting more > attention from the OS. > > regards > David From rfarnold at bu.edu Sat Sep 7 10:03:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Sat Sep 7 10:03:01 2002 Subject: Imported graphics question Message-ID: Hi again, I created a B&W splash screen image with a gradient background. I saved this image in Photoshop as an 8 bit grayscale jpg. With these settings, I can view this image in PS, or Quicktime Viewer on my Mac with the color depth set down at least as far as 256 colors, with no apparent banding in the gradient. When I import it as a control into my RR stack, however, the gradient will degrade at any monitor setting below the maximum (32 bit). What is RR doing to the picture on import? Converting the grayscale image into a color image? Is there any way to avoid this and maintain compatibility with the properties of the original image for better viewing under a variety of monitor settings? Thanks Bob Arnold -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 News: http://people.bu.edu/rfarnold/Announce.htm From switchedon at hsj.com Sat Sep 7 12:41:01 2002 From: switchedon at hsj.com (Bill Lynn) Date: Sat Sep 7 12:41:01 2002 Subject: RunRev Installer In-Reply-To: <200209071601.MAA14636@www.runrev.com> Message-ID: Has anyone come across an example of an installer program written in RunRev? I would like to pick it apart if one exists. Cheers... Bill Lynn Simtech Publications www.hsj.com From miscdas at anonymous.to Sat Sep 7 15:05:01 2002 From: miscdas at anonymous.to (misc das) Date: Sat Sep 7 15:05:01 2002 Subject: Privatizing Custom Properties Message-ID: <200209071646.g87Gkp120954@mail19.bigmailbox.com> Dan, I noted your remark: "The thing that's a little strange, syntactically, is the setProp handler. The docs define this as a "construct" rather than a handler..." I find it interesting that RR would define this as a "construct", when MC calls it a Handler. From the MC Help: "You can write a setprop handler to catch this message... Note that when you set an object's property from within a setprop handler, setprop messages are not sent." So, perhaps RR and MC take a different stance on where the setprop/getprop "constructs" belong in the grand scheme of things. miscdas ------------------------------------------------------------ This email was sent through the free email service at http://www.anonymous.to/ To report abuse, please visit our website and click 'Contact Us.' --------------------------------------------------------------------- Express yourself with a super cool email address from BigMailBox.com. Hundreds of choices. It's free! http://www.bigmailbox.com --------------------------------------------------------------------- From ambassador at fourthworld.com Sat Sep 7 15:38:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Sep 7 15:38:01 2002 Subject: Privatizing Custom Properties In-Reply-To: <200209071646.g87Gkp120954@mail19.bigmailbox.com> Message-ID: misc das wrote: > "The thing that's a little strange, syntactically, is the setProp > handler. The docs define this as a "construct" rather than a handler..." > > I find it interesting that RR would define this as a "construct", when MC > calls it a Handler. From the MC Help: > "You can write a setprop handler to catch this message... Note that when you > set an object's property from within a setprop handler, setprop messages are > not sent." > > So, perhaps RR and MC take a different stance on where the setprop/getprop > "constructs" belong in the grand scheme of things. Handlers begin with "on" (e.g., "on mouseUp"). GetProp is used very differently: "getProp myProperty". I don't know that there is a specific word for that. Generically it is a construct, but what isn't? Attempting to describe it as a handler stretches the rules a bit, but perhaps not inappropriately. What would you call it? -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dvk at dvkconsult.com.au Sat Sep 7 17:08:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Sat Sep 7 17:08:01 2002 Subject: Lag after button click In-Reply-To: <8B47D33F-C25F-11D6-92BD-000393924880@limelight.com.au> Message-ID: On Saturday, Sep 7, 2002, at 22:44 Australia/Sydney, Matt Denton wrote: > Hey-ya David > > I just tested it, you need to set the doubleClickInterval to 0 Thanks Matt. I had adjusted only the System Preferences. Your suggestion works perfectly for rapid clicking but it is a bit disconcerting to be unable to select text any longer ;-) and, as the Rev help says, it does not do to discombobulate the user. So, using your information, in an app where I often flick through cards looking at the latest status, I have added to the Prev and Next buttons mouseEnter and mouseLeave handlers which store the current state of doubleClickInterval in a local variable and restore the user's preference on exit. Very successful. (I trust this answers Thomas' original problem as well.) regards David From jeanne at runrev.com Sat Sep 7 17:32:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Sep 7 17:32:01 2002 Subject: Privatizing Custom Properties In-Reply-To: <200209071646.g87Gkp120954@mail19.bigmailbox.com> Message-ID: At 9:46 AM -0700 9/7/2002, misc das wrote: >I noted your remark: >"The thing that's a little strange, syntactically, is the setProp >handler. The docs define this as a "construct" rather than a handler..." > >I find it interesting that RR would define this as a "construct", when >MC calls it a Handler. From the MC Help: >"You can write a setprop handler to catch this message... Note that >when you set an object's property from within a setprop handler, >setprop messages are not sent." I try not to write that way. "Construct" is a verb, not a noun. A setProp handler is certainly one of the four handler types (along with getProp handlers, message ["on"] handlers, and function handlers). They are discussed in "About the Structure of a Script"; you can find this topic in the Development Guide in the main docs window, under "Writing Transcript Code". -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From raney at metacard.com Sat Sep 7 18:28:00 2002 From: raney at metacard.com (Scott Raney) Date: Sat Sep 7 18:28:00 2002 Subject: Imported graphics question In-Reply-To: <200209071601.MAA14636@www.runrev.com> Message-ID: On Sat, 07 Sep 2002 Bob Arnold wrote: > I created a B&W splash screen image with a gradient background. I saved this > image in Photoshop as an 8 bit grayscale jpg. With these settings, I can > view this image in PS, or Quicktime Viewer on my Mac with the color depth > set down at least as far as 256 colors, with no apparent banding in the > gradient. When I import it as a control into my RR stack, however, the > gradient will degrade at any monitor setting below the maximum (32 bit). > What is RR doing to the picture on import? Converting the grayscale image > into a color image? Yes, and then dithering down to a standard colormap, at least on 8 bit systems. It should work the same as any other app on a 16-bit system, which is to say pretty crappy because you've only got 5 bits (32 levels) of grayscale to work with on those. > Is there any way to avoid this and maintain > compatibility with the properties of the original image for better viewing > under a variety of monitor settings? IMHO requiring 32 bit depth is the correct solution to this problem, assuming you really need that image. There is no solution at all on 16-bit depth, but you might try setting the colormap property if the app must run on 8-bit systems. That'll seriously mess up the look of the rest of your app and any other applications running at the time, however. Regards, Scott > Thanks > > Bob Arnold > ******************************************************** Scott Raney raney at metacard.com http://www.metacard.com MetaCard: You know, there's an easier way to do that... From bmmeili at swissonline.ch Sun Sep 8 05:04:01 2002 From: bmmeili at swissonline.ch (meili) Date: Sun Sep 8 05:04:01 2002 Subject: QuickTime movies in a standalone Message-ID: hi I have converted an mp3-file to a QuickTime-movie. In combination with a player there is no problem to play the song in a stack. But, as soon as I build a standalone, problems with the path are coming up. How can I manage to build a standalone where the application itself finds the QuickTime-movie to be played? Martin From kkaufman at snet.net Sun Sep 8 08:03:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun Sep 8 08:03:01 2002 Subject: QuickTime movies in a standalone Message-ID: <223615E7-C32B-11D6-A3FF-00039348A1E6@snet.net> "...How can I manage to build a standalone where the application itself finds the QuickTime-movie to be played?..." I'm assuming that the app is pointed towards a folder in which to search for movies. Wouldn't you set and reference the defaultFolder property to handle situations like this? -KK From gary.rathbone at btclick.com Sun Sep 8 08:08:00 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Sun Sep 8 08:08:00 2002 Subject: Runtime menus dissapear need help References: <961D94BBE7448D4C8E4440CB7920D9E01B6D56@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <000901c25738$651b2ca0$77e822d9@server> Sounds strange... Try this... 1. Open revolution 2. Press "Ctrl" and "M" at the same time 3. You should see a message box 4. In the top of the message box type show stack "revmenubar" 5. Then press "Enter" on the bottom right of the keyboard (near the number pad) If the above doesn't work it may have been moved off screen in which case do everything as above apart from number 4 , type set the loc of stack "revmenubar" to 600,200 This should move the menubar stack to the centre of the screen. I guess if you used "revmenubar" as a name for one of your stacks then the scripts could be getting confused (?). Looking in the Revolution directory there are loads of stacks which start with "rev", therefore I'd suggest not starting *any* of your stack names with 'rev'. Hope this helps Regards Gary Rathbone ----- Original Message ----- From: "Esa Kivel?" To: Sent: Friday, September 06, 2002 8:24 AM Subject: Runtime menus dissapear need help > Greetings again > > Something odd happend: When I start Runtime I can only see that Tip window and tool palette but main window where is File menus and so on has dissapeared and I can't see that main window any way. > > How I can fix this? > > Yours > > EsaK > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gary.rathbone at btclick.com Sun Sep 8 09:06:00 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Sun Sep 8 09:06:00 2002 Subject: Stand alone via www-page? (OT) References: <961D94BBE7448D4C8E4440CB7920D9E01B6D1A@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <000701c25740$76de5180$77e822d9@server> I've marked this Off Topic (OT) as it appears to be a web issue rather than a revolution problem. Thanks for the further explantion. I think what you're trying to do is 1. Click on a link on a web page 2. This launches a local application on the users machine The main difficulty is that you can't specify a path name on the web page link as there's no way of knowing where the application is on the clients machine. However, as you state its an intranet I assume you've more control over the configuration than an internet scenario. I guess I'd approach it as follows... 1. Use the link to download a dummy file with a unique file extension. This could be an empty text document with an extention such as .esa (?) 2. When clicked the client machine probably wont know what to do with the link (as it won't recognise a .esa file - unless there's an app out there already that uses them ?) 3. Use Explorer 'File Helpers' to open your Rev app on receipt of a file ending in .esa, then just don't process the dummy file. This is like when you click on a .doc link it opens word, or a .pdf and it open Acrobat Reader. The above is simplified for explanation. Further details on how to do this can be found at http://www.library.wisc.edu/help/tech/launch_info.html Hope this helps. Regards Gary Rathbone ----- Original Message ----- From: "Esa Kivel?" To: Cc: Sent: Tuesday, September 03, 2002 6:27 AM Subject: VS: Stand alone via www-page? > -----Alkuper?inen viesti----- > L?hett?j?: Gary Rathbone [mailto:gary.rathbone at btclick.com] > L?hetetty: 2. syyskuuta 2002 19:21 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: Stand alone via www-page? > > > What is it exactly you're trying to do ? > 1. Do you want to use a web page to pass information to a > Revolution stack, > which sends a reply to appear in the browser window ? or > 2. Do you want to distribute your Revolution stack via the > web ? That is, a > user goes to your web page, clicks on a link and the browser begins to > download the Revolution stack ? We have intranet where in the main page is the box called "Quick messages". There users can sen messages like "hey all, coffee and my birthday cake is served at 6th floor!" or " meeting begins at 10:00 am at there and there...". Top is that box is a link where users press when they like to make new messages. When tehy have pressed it -> Revolution standalone called "Pikaviestit.exe" (= finnish = Quick messages.exe) pops up -> users type their messages and when usres press "Save message" button then messages appear into that box at intras main www page. Problem is that www-browser wants to donload it or run it at local. Is there any possibilities avoid that? EsaK _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From cowhead at mac.com Sun Sep 8 11:42:01 2002 From: cowhead at mac.com (mark mitchell) Date: Sun Sep 8 11:42:01 2002 Subject: many small or 1 big? In-Reply-To: <200209071601.MAA14636@www.runrev.com> Message-ID: I wonder if I might get the lists input on an overall design question. I've been making dozens of little applications. This comes from the hypercard mindset, wherein you have a single player and then you can have all the separate stacks you want. The problem with revolution was that stacks alone did not run so well without the development environment fired up. So as I made stacks, I converted them to standalones. This was working fine, but I had envisioned that I would one day make a single "table of contents" app, that could be used to organize, explain and launch all the little apps. As I went along however, I realized I sometimes had 4 or 5 of these little apps running, and they must each be using an identical engine and wasn't that silly when they could all be using the same? So I made a single 'table of contents' standalone and stuck all the former app data stacks in it. But now I'm not sure which was really better, this 1 big, or the previous many little? 1 Big conserves ram, as it only loads one engine, but now (and I'm putting my foot in my mouth here) I really DO have to worry about my globals meshing, don't I? With many little apps, I could use the same global names for each with narry a worry or care. Also, many littles seems like a nice fail-safe. If something goes wrong with one, the others are nice and isolated. This is not so important for me now, but in the future I may try to sell or license this package, and such a fail-safe would be nice in that event. I mean, if I was programming for the space-shuttle, I would definitely go with many littles. The savings in HD space for the 1 BIG method is laughable these days (I just bought an 80 GB HD for $150) and the savings in RAM is rapidly becoming laughable. Many littles also allows you to use Apple's DOC to switch between the apps, which can be nice. So what to do? 1 big with it's globals headaches and less safety, or many littles which sometimes seems silly? Thanks to all for any input on this, mark mitchell Japan From kray at sonsothunder.com Sun Sep 8 12:17:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 8 12:17:01 2002 Subject: many small or 1 big? References: Message-ID: <001f01c2575a$c031d680$6601a8c0@mckinley.dom> > So what to do? 1 big with it's > globals headaches and less safety, or many littles which sometimes seems > silly? Personally, if each of these apps can run independently and don't need to run with each other, or they are (by context) different apps, you could leave them all as separate standalones, but move all of your functions and handlers that are to be used by all the apps to a stack by itself that you could than have each little app "start using", thereby keeping all the code in one place. This means that if you want to update the code, you only need to update the "library" stack, and don't need to individually update all the standalones. You may still need to deal with global collisions, but you get sort of the benefits of both worlds. Now on the other hand, if these "mini-apps" are all intending on running together, I would make it a single app and deal with the global/safety issues. Just my $0.02, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From ambassador at fourthworld.com Sun Sep 8 12:57:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Sep 8 12:57:01 2002 Subject: many small or 1 big? In-Reply-To: Message-ID: mark mitchell wrote: > I wonder if I might get the lists input on an overall design question. > I've been making dozens of little applications. This comes from the > hypercard mindset, wherein you have a single player and then you can > have all the separate stacks you want. The problem with revolution was > that stacks alone did not run so well without the development > environment fired up. So as I made stacks, I converted them to > standalones. This was working fine, but I had envisioned that I would > one day make a single "table of contents" app, that could be used to > organize, explain and launch all the little apps. As I went along > however, I realized I sometimes had 4 or 5 of these little apps running, > and they must each be using an identical engine and wasn't that silly > when they could all be using the same? So I made a single 'table of > contents' standalone and stuck all the former app data stacks in it. > But now I'm not sure which was really better, this 1 big, or the > previous many little? If the apps are related, or if new ones may be added by downloading the, then the 1-Big option seems optimal. If they share no related functionality it may make more sense to ship them as separate apps. As for globals, if you use static vars (what the Rev docs call "script local") you completely avoid name-space conflicts. Sometimes you truly need a global, but most of the time the data is only shared among a few handlers and if these handlers resode is the same script then static vars would work great. Custom propeties are also useful for this, with the additional benefit of binding data to specific objects. Sounds like a good case for a Rev Player.... -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From miscdas at boxfrog.com Sun Sep 8 13:54:00 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Sun Sep 8 13:54:00 2002 Subject: many small or 1 big? In-Reply-To: References: Message-ID: <20020908185259.17580.qmail@www.boxfrog.com> This is OT from your request, but I think worth a philosophical comment. "The savings in HD space for the 1 BIG method is laughable these days (I just bought an 80 GB HD for $150) and the savings in RAM is rapidly becoming laughable." I believe that this kind of thinking can too easily lead one unwittingly down the path of poor programming. It becomes easy to do inefficient "quick-and-dirty" that works for a small program because the inefficiencies are "covered" by all the available RAM and disk space. Through habit, these sloppy methods become the norm, and when it's time to do a big project requiring utmost efficiency, we're at a serious disadvantage from not having learned the efficient methods on the small, easy programs. In a more general sense, it's like saying that the little things in life don't matter, when in fact, they really do. mark mitchell writes: > I wonder if I might get the lists input on an overall design question. > I've been making dozens of little applications. This comes from the > hypercard mindset, wherein you have a single player and then you can have > all the separate stacks you want. The problem with revolution was that > stacks alone did not run so well without the development environment fired > up. So as I made stacks, I converted them to standalones. This was > working fine, but I had envisioned that I would one day make a single > "table of contents" app, that could be used to organize, explain and > launch all the little apps. As I went along however, I realized I > sometimes had 4 or 5 of these little apps running, and they must each be > using an identical engine and wasn't that silly when they could all be > using the same? So I made a single 'table of contents' standalone and > stuck all the former app data stacks in it. But now I'm not sure which > was really better, this 1 big, or the previous many little? > > 1 Big conserves ram, as it only loads one engine, but now (and I'm putting > my foot in my mouth here) I really DO have to worry about my globals > meshing, don't I? With many little apps, I could use the same global > names for each with narry a worry or care. Also, many littles seems like > a nice fail-safe. If something goes wrong with one, the others are nice > and isolated. This is not so important for me now, but in the future I > may try to sell or license this package, and such a fail-safe would be > nice in that event. I mean, if I was programming for the space-shuttle, I > would definitely go with many littles. The savings in HD space for the 1 > BIG method is laughable these days (I just bought an 80 GB HD for $150) > and the savings in RAM is rapidly becoming laughable. Many littles also > allows you to use Apple's DOC to switch between the apps, which can be > nice. So what to do? 1 big with it's globals headaches and less safety, > or many littles which sometimes seems silly? > > Thanks to all for any input on this, > > mark mitchell > Japan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Sun Sep 8 15:55:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Sep 8 15:55:01 2002 Subject: "static" vs "script local" (was globals) In-Reply-To: Message-ID: <0DD8DCE4-C36D-11D6-9437-0050E4C0B205@swcp.com> On Tuesday, August 27, 2002, at 10:21 AM, Richard Gaskin wrote: >> The MetaCard engine recognizes a third type, locally-declared >> variables, whose values persist until the stack closes and are >> accessible to any handler in the script. > > This latter type is sorta halfway between what VB and other > languages call > "static variables" and what the OOP world calls "private > variables". It may > have been less confusing if MC had adopted a new "static" keyword > to reflect > this very different type of declaration. ... > Also, FWIW the revised Script Style Guide was updated to include > reference > to this new variable type: > > I have a few minor concerns with the terminology of "static" for "script local" variables in Revolution. I don't think one new to Revolution might always have heard of "static", "automatic", "dynamic", "scope", "extent" and the like in the jargon of computer science. I don't think we all would agree on the meanings. I probably misuse some. Also, it tends to focus on one aspect of the variable, so it, too, falls short as description. When a new script writer looks at "script local" and "handler local" variables, he or she can easily assume that the first is visible to all commands and function applications in the script and the latter is visible only to commands and function applications within the handler. This is true as far as it goes--it is a partial understanding, but it brings out the most important characteristics--well, those I think are most important for a new script writer. Because "script local" variables are visible to multiple handlers, for this to be meaningful and useful, the variable should have a long life. Indeed, if we assume that objects are created and script properties are set only at development, the life of the variable is the time from open/start until close/destroyStack (or similar--I'm probably missing some cases). No doubt, it is this property that is implied by "static". Yet as I mentioned, it is easily inferred. What about the life of the "handler local" variables. Well, it is possible to give these the same long life; many programming languages do. Not so in Revolution--handlers will forget the values of "handler local" variables as soon as they complete. What happens when handlers and functions call handlers and functions? If Revolution Transcript were a language like Logo, (with "dynamic" scope), the initial intuition of a command using a variable referring to one defined "script local" can be wrong. If Revolution worked like this the "handler local" variable used is that in the handler if any, or that in he calling handler if any, on up to that "script local" variable. The name "static" for "script local" provides no clue as to whether Transcript is like this. A programming coming from Logo might be surprised. What happens is that a new instance of the "handler local" variable is (virtually) created each time the handler or function is called. The word "static" for "script local" gives no clue for reasons given above. (The term "temporary" in the above mentioned web page, does a little.) In the execution of a handler commands refer to the instance created for that call, that is, that execution. New script writers run into this only whey they expect handlers to remember or they write (sometimes accidently) recursive routines. I have not sat down with two sets of 100 students and tried one with "static" and the other without. However, I don't think the word will help much. Or if it does, some other naming scheme might work even better. I think that using terms so that those new to Revolution have it easier, is a great goal, though. (Transcript has the constraint that a "script local" variable and a "handler local" variable within the same script cannot have the same name--this adds to the constraints on variables.) Dar Scott From BradAllen at mac.com Sun Sep 8 16:21:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Sun Sep 8 16:21:01 2002 Subject: frequent awkward need to use the "do" command Message-ID: I must be missing something. I often find myself using the "do" command in places where it shouldn't be necessary. It would be nice if I could just say: put the myToolMode of objectIdentifier into toolMode but instead, I have to write it this way: do "put the myToolMode of " & objectName & " into toolmode" This seems awkward somehow. Is there a better way to handle this? Thanks! From kray at sonsothunder.com Sun Sep 8 17:14:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 8 17:14:01 2002 Subject: frequent awkward need to use the "do" command References: Message-ID: <004201c25784$3767bc00$6601a8c0@mckinley.dom> You shouldn't have to, Brad. I created two buttons on a card, with the first button having a custom prop called "test" that contained the word "hello". In the other button was this script: on mouseUp put the long id of btn 1 into tBtn put the test of tBtn into temp answer temp end mouseUp and up came "hello" in the answer box. Is it perhaps the way the object identifier you have is being used (i.e. something that is not the long id of the object)? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Brad Allen" To: Sent: Sunday, September 08, 2002 4:20 PM Subject: frequent awkward need to use the "do" command > I must be missing something. I often find myself using the "do" > command in places where it shouldn't be necessary. It would be nice > if I could just say: > > put the myToolMode of objectIdentifier into toolMode > > but instead, I have to write it this way: > > do "put the myToolMode of " & objectName & " into toolmode" > > This seems awkward somehow. Is there a better way to handle this? > > Thanks! > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Sun Sep 8 17:16:00 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Sep 8 17:16:00 2002 Subject: Lag after button click In-Reply-To: Message-ID: <4BC694E2-C378-11D6-980D-0003937A97B8@genesearch.com.au> I have encountered this problem with both Rev & HyperCard, so I have a handler that I put in my mainStack script: on mouseDoubleUp if the script of the target contains "on mouseUp" then send mouseUp to the target end mouseDoubleUp Any real mouseDoubleUp handler (say in a button) will over-ride this handler, but if there isn't one, the message will pass through to this one. Sarah On Saturday, September 7, 2002, at 09:56 am, Thomas Speitel wrote: > Help, > I made a simple calculator in which buttons contain scripts such as > > on mouseUp > put "1" after card field "data" > end mouseUp > > If I click the button five times, I am lucky to see two or three > characters appear. Happens in OS 10, 9, and Windows. > > Thanks in advance for your comments. > Tom Speitel > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Sun Sep 8 18:26:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Sep 8 18:26:01 2002 Subject: "static" vs "script local" (was globals) In-Reply-To: <0DD8DCE4-C36D-11D6-9437-0050E4C0B205@swcp.com> Message-ID: Dar Scott wrote: > On Tuesday, August 27, 2002, at 10:21 AM, Richard Gaskin wrote: >> FWIW the revised Script Style Guide was updated to include >> reference to this new variable type: >> > > I have a few minor concerns with the terminology of "static" for > "script local" variables in Revolution. > > I don't think one new to Revolution might always have heard of > "static", "automatic", "dynamic", "scope", "extent" and the like in > the jargon of computer science. Many things in programming require learning, all the way down to understanding the difference between "repeat until" and "repeat while". Variable scope is one of these. Picking a good term for each type of variable is indeed important to learning. "Static" is not my favorite term for script-local vars. This is similar to "destroy", which has a specific meaning to a C++ programmer but the scripter is often surprised to learn that "destroyStack" does nothing destructive to their stack. For all the reasons you mentioned, "static" is worth avoiding -- except in the absence of any alternative. When I wrote the Script Style Guide (and all the way up through last week when this thread began), people were confused by having two radically different types of variables using the same declaration. In discussion here, while the difference between "local" and "global" requires only a single word to describe which type you're referring to, the distinction between "local" and "local" required another sentence or two, as the term from the Rev docs had not found its way into common usage. Now that Jeanne has clarified the Rev's team's preference for "script local", the 4W Script Style Guide has been updated to reflect this. But given that the declarations "local" and "local" behave very differently depending on context, it would be icing on the cake to have a different declaration for each use. The term "script-local" is useful in conversation but absent from the Transcript language. While the distinction in usage can be inferred, it would be even simpler if it were explicit. I'm not arguing in favor of "static" simply because that's how VB does it (someone call 911 if I start recommending "DIM" and "REM" ) as much as I'm simply in favor of having unique declarations for unique usages. But like I said, it's icing. Whether it's delared as "local" or "static" or "scriptLocal" or something else or simply called "bob", the important thing is the key role this new variable type can play in simplifying code and encouraging code reuse. It took me a while to get comfortable with them, but they've radically changed my code style. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From macstacks at earthlink.net Sun Sep 8 20:46:01 2002 From: macstacks at earthlink.net (Bruce A. Pokras) Date: Sun Sep 8 20:46:01 2002 Subject: Where to HC bg scripts go? Message-ID: This question seems like it should have a simple answer, but I can't find it in the docs. Since Rev does not have backgrounds like HC does, what happens to HC background scripts when you open an HC stack with Rev? I am converting an HC stack that has one background with a fairly lengthy background script to Rev. However, after opening the stack in Rev, I can't find the bg script anywhere. Each of the 8 cards in the stack have different card buttons on them, but the btn scripts rely upon the same set of bg handlers. My work-around is to copy the bg script into the script of each card. Is there something simpler? Regards, Bruce Pokras mac-stacks at kagi.com http://www.kagi.com/mac-stacks From jeanne at runrev.com Sun Sep 8 23:32:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Sep 8 23:32:01 2002 Subject: Where to HC bg scripts go? In-Reply-To: Message-ID: At 6:43 PM -0700 9/8/2002, Bruce A. Pokras wrote: >This question seems like it should have a simple answer, but I can't >find it in the docs. Since Rev does not have backgrounds like HC >does, what happens to HC background scripts when you open an HC stack >with Rev? I am converting an HC stack that has one background with a >fairly lengthy background script to Rev. However, after opening the >stack in Rev, I can't find the bg script anywhere. Each HyperCard background is converted to a group, complete with its script, and the group is automatically placed on all the cards that were part of the background in the HC stack. So this should work "out of the box"; the group will be placed on the card, so the card buttons should have the group script in their message path. You can see the group in the Application Overview (if the background didn't have any objects, this is probably the simplest way). Flip open the arrow next to the stack file in the list of files, then flip open the arrow next to the stack name, then flip open the arrow next to "Groups". You should see a list of groups, with your background. Click on it and you can edit its script or properties using the buttons at the top of the App Overview window. If the buttons aren't working correctly, check all the scripts involved and make sure there's not some slight syntax glitch that's preventing the script from compiling in Revolution. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From Esa.Kivela at ncrc.fi Mon Sep 9 00:07:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Mon Sep 9 00:07:01 2002 Subject: VS: Newbie: call subpraogram Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D5B@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Klaus Major [mailto:k_major at os.surf2000.de] > L?hetetty: 6. syyskuuta 2002 14:50 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: Newbie: call subpraogram > > > Hi Esa, > > just a thought: > > Make sure that the subroutine (valo) is somewhere in the message > hierarchie, where the mainprogramm can find it. > > In the same script or in the stack-script, or somewhere UP in the > message-path. > > If RR tells you "cant find the handler", it looks like this might be > the problem. > > > Regards > > Klaus Major > k_major at os.surf2000.de Thanks I'll chek that. EsaK From Esa.Kivela at ncrc.fi Mon Sep 9 00:18:00 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Mon Sep 9 00:18:00 2002 Subject: VS: re subroutine Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D5D@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Steve Messimer [mailto:steve at messimercomputing.com] > L?hetetty: 6. syyskuuta 2002 20:59 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: re subroutine > > > Esak, > > you said... > > > Greetings to all > > > > I like to call subroutine in my progam but when I try > Hyperradnd old style > > > > On Mainprogram > > > > valo (jumpu to sub) > > end Mainprogram > > > > On valo > > blaa blaaa > > end valo > > > > it won't work. Runtime tell "cant find the handler" > > > > How I can call subroutines in Runtime? > > > > EsaK > > When you send a message to an object if its handler is not in the msg > hierarchy of the sending object, you need to specify its > desitnation object > and you need to preface it with the send cmd. > > try this ... > > On Mainprogram > > send valo to btn "otherButton" -- the msg can be sent to > any other RR > Object. If the btn is on another card you would use this instead > -- send valo to btn "otherButton" of cd "otherCard" > end Mainprogram > > On valo > blaa blaaa > end valo > > Send is not needed generally if the target handler is in the > Objects path, > So in the example above if the handler was in the card that > owns the button > the path looks like this btn:Card and you could send the valo > msg w/o using > the send command. valo cks the btn for a handler when it > doesn't find one > the msg is sent up the object hierarchy to the card on which the btn > resides. If the on valo handler is in the cards script then > it excutes the > code. If the handler is in another btn on the same card the > msg (valo) will > not be trapped by the valo handler because you haven't told > it where to go. > > Hope this helps Yep I'll try this :-) From Esa.Kivela at ncrc.fi Mon Sep 9 02:34:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Mon Sep 9 02:34:01 2002 Subject: VS: Newbie: get hyperlink working? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D67@ktk7.ad.kuluttajatutkimuskeskus.fi> Greetings again :-) Now i ahve problem that: I have something text in the text field like HTTP://www.ncrc.fi and when I press button wich put text field into ie. sample.htm then that www.ncrc.fi won't open as a link in www page. It can see as a text. I tried ie. Revolutions htmlText but in the www page it won't work. How put hyperlink into text field that when text fields data are in the www page its works and open as link? Yours EasK From janschenkel at yahoo.com Mon Sep 9 05:27:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Sep 9 05:27:01 2002 Subject: VS: Newbie: get hyperlink working? In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6D67@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <20020909102510.57165.qmail@web11907.mail.yahoo.com> Hi Esa, Try adding this to your field script: on linkClicked pWhichLink revGoURL pWhichLink end linkClicked Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Esa_Kivel? wrote: > Greetings again :-) > > Now i ahve problem that: I have something text in > the text field like HTTP://www.ncrc.fi and when I > press button wich put text field into ie. sample.htm > then that www.ncrc.fi won't open as a link in www > page. It can see as a text. > > I tried ie. Revolutions htmlText but in the www page > it won't work. > > How put hyperlink into text field that when text > fields data are in the www page its works and open > as link? > > Yours > > EasK > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From Esa.Kivela at ncrc.fi Mon Sep 9 05:58:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Mon Sep 9 05:58:01 2002 Subject: VS: VS: Newbie: get hyperlink working? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D74@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Jan Schenkel [mailto:janschenkel at yahoo.com] > L?hetetty: 9. syyskuuta 2002 13:25 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: VS: Newbie: get hyperlink working? > > > Hi Esa, > > Try adding this to your field script: > > on linkClicked pWhichLink > revGoURL pWhichLink > end linkClicked > > Hope this helped, Hmmm that button write that typed text fron text field into www-page (don't ask me users just want that). So if INSIDE text field is like httP://ncrc.fi so when button is pressen how it can write that "http://ncrc.fi" as link into www page not as text from text field? EsaK From sylvain.legourrierec at son-video.com Mon Sep 9 06:11:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Mon Sep 9 06:11:01 2002 Subject: pb with escape char Message-ID: <001101c257f1$84994fd0$0801a8c0@sylvain> hello, I put the result of an SQL query into a variable. the result is a string, for example : la "nouvelle" d'ici-bas. put myResult into myVar put "INSERT INTO myTable SET myField = '" & myVar & "'" ---> but MySQL get INSERT INTO myTable SET myField = 'la "nouvelle" d' How can I preserve my quoted strings? Is there a kind of addSlashes() function? thanks Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution -------------> windows 2000 + runrev 1.1.1 + MySQL 3.23 + PHP 4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvain.legourrierec at son-video.com Mon Sep 9 06:47:00 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Mon Sep 9 06:47:00 2002 Subject: function addSlashes: I did it Message-ID: <001a01c257f6$87172ed0$0801a8c0@sylvain> -------------------------------------------------------- function addSlashes myText -- on remplace " par \" replace numToChar(34) with numToChar(92) & numToChar(34) in myText -- on remplace ' par \' replace numToChar(39) with numToChar(92) & numToChar(39) in myText -- on remplace \ par \\ replace numToChar(92) with numToChar(92) & numToChar(92) in myText -- on remplace NULL(ASCII 0) par \0 replace numToChar(0) with numToChar(92) & numToChar(48) in myText return myText end addSlashes Does a build-in function like this exist? Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution -------------> windows 2000 + runrev 1.1.1 + MySQL 3.23 + PHP 4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvain.legourrierec at son-video.com Mon Sep 9 07:29:00 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Mon Sep 9 07:29:00 2002 Subject: correction addSlashes() Message-ID: <000801c257fc$4a157310$0801a8c0@sylvain> -------------------------------------------------------- function addSlashes myText -- on remplace \ par \\ replace numToChar(92) with numToChar(92) & numToChar(92) in myText -- on remplace " par \" replace numToChar(34) with numToChar(92) & numToChar(34) in myText -- on remplace ' par \' replace numToChar(39) with numToChar(92) & numToChar(39) in myText -- on remplace NULL(ASCII 0) par \0 replace numToChar(0) with numToChar(92) & numToChar(48) in myText return myText end addSlashes ------------> better ;) Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution -------------> windows 2000 + runrev 1.1.1 + MySQL 3.23 + PHP 4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From benr_mc at cogapp.com Mon Sep 9 09:13:00 2002 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon Sep 9 09:13:00 2002 Subject: Details on caught errors Message-ID: Documentation for "catch errorParameter" says: When one of the statements in a try control structure causes an execution error, the errorParameter is set to the error string, and the statements after the catch keyword are executed. If Revolution generates the error (for example, an execution error from a built-in command), the errorParameter is a positive number. An error string can also be returned from a handler by the throw keyword. Documentation for "errorDialog errorContents" says: The errorContents specifies the details of the problem that caused the errorDialog message to be sent, and consists of three lines: 1. Information about the statement that caused the error 2. Information about the handler where the error occurred 3. Information about the object whose script the handler is in and adds: A list of possible execution errors is contained in the ?cErrorsList? property of the first card of the stack ?revErrorDisplay?. You can view the list with the following statement: answer the cErrorsList of card 1 of stack "revErrorDisplay" Note: The exact format of the errorContents may change from release to release. In tests, * using errorDialog, the errorContents appears to consist of multiples of three lines (not three); this seems to correspond to what is described in the documentation, repeated for each point on the calling chain. Each line consists of three comma-separated integers; all but the first line then have a string following these integers, identifying a handler or object. * using catch we seem to get three comma-separated integers in the errorParameter (not one) if the statement causing the error is within the try/catch construct. Repeating the same code (after going back to idle) gives increasing numbers of lines in errorParameter, with the new information being appended to the end. * using catch, if the error is in a handler invoked within the try/catch construct, rather than directly inline, then we get something more like the parameter to errorDialog, and it is not affected by previous errors. Of the three integers, it looks like the second in each case is a line number in an object's script. The first integer on the first line appears to index into the error list described in the documentation. Some questions: * what is the interpretation of the third integer on each line? * what is the interpration of the first integer, on each line after the first? * is it a bug that when catch catches an error inline, the error results are accumulated? Is there a workaround? The documentation, combined with experimentation, gives a lot of clues that go quite a long way in interpreting this; but I think the documentation does contain some errors in this area, and could do with some clarification. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From sims at ezpzapps.com Mon Sep 9 10:08:01 2002 From: sims at ezpzapps.com (sims) Date: Mon Sep 9 10:08:01 2002 Subject: Long tooltips In-Reply-To: References: Message-ID: Is there a way to force a long tooltip to display it's text on two lines instead of one line? TIA sims From benr_mc at cogapp.com Mon Sep 9 11:06:01 2002 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon Sep 9 11:06:01 2002 Subject: Long tooltips In-Reply-To: Message-ID: on 9/9/02 4:07 pm, sims at sims at ezpzapps.com wrote: > Is there a way to force a long tooltip to display it's text > on two lines instead of one line? A follow-up question: is there a way to control the display of tooltips? I'd like to associate tooltips with certain runs of text in an unlocked field - different tips for different text fragments - when the user holds down the command/control key. Doing this simply by manipulating the 'toolTip' property of the field has very intermittent results. Is there anything I can invoke to specifically throw up a tool-tip, or should I use a custom stack to replace the tool-tip altogether? TIA, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From rcozens at pon.net Mon Sep 9 11:06:20 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Sep 9 11:06:20 2002 Subject: many small or 1 big? In-Reply-To: <20020908185259.17580.qmail@www.boxfrog.com> References: <20020908185259.17580.qmail@www.boxfrog.com> Message-ID: >This is OT from your request, but I think worth a philosophical comment. >"The savings in HD space for the 1 BIG method is laughable these >days (I just bought an 80 GB HD for $150) and the savings in RAM is >rapidly becoming laughable." >I believe that this kind of thinking can too easily lead one >unwittingly down the path of poor programming. It becomes easy to do >inefficient "quick-and-dirty" that works for a small program because >the inefficiencies are "covered" by all the available RAM and disk >space. Hi All, There was a time when RAM was expensive ($10,000 per megabyte for magnetic RAM in 1974) and typical computer configurations had 512K (yes, "K") RAM and 100 MB of disk storage or less. In those days, programmers who could make the most efficient use of RAM & disk space ruled. In today's world, it is the programmer who writes source code that is easy to understand and modify that rules; because all those neat, esoteric code segments to minimize RAM & disk requirements tend to make the program source less straightforward, and today's clock speeds make runtime efficiency a moot issue in most user-interactive applications. Gains in hardware efficiency are often lost many times over because of the added inefficiency in software maintenance. Also, in my experience there is usually a trade-off between programming for hardware efficiency and programming for performance. For example, a database application could compress each record before filing it to minimize file size; but the trade-off is the overhead of compressing the record on writes & decompressing it on reads. In this case, not compressing records to minimize disk storage requirements does not mean the application is "quick-and-dirty" and poorly programmed, but rather that the application is maximized for performance at the expense of larger file sizes. Whether it is the legacy of the past or our professional appreciation of an elegant algorithm, we tend to spend more time trying to make code "efficient" than we do trying to make it understandable. IMF[oole's]O, there are few circumstances where a programmer needs to put more focus on efficient use of the hardware than on maximizing performance and maintainability. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 jeanne at runrev.com Mon Sep 9 12:09:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Sep 9 12:09:01 2002 Subject: Long tooltips In-Reply-To: References: Message-ID: At 8:07 AM -0700 9/9/2002, sims wrote: >Is there a way to force a long tooltip to display it's text >on two lines instead of one line? Not at present, no. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From cowhead at mac.com Mon Sep 9 12:55:01 2002 From: cowhead at mac.com (mark mitchell) Date: Mon Sep 9 12:55:01 2002 Subject: 1 big or many little In-Reply-To: <200209090408.AAA07963@www.runrev.com> Message-ID: <1D822ECF-C41D-11D6-BFE0-0030656DAB8E@mac.com> Richard wrote: > Whether it's delared as "local" or "static" or "scriptLocal" or > something > else or simply called "bob", the important thing is the key role this > new > variable type can play in simplifying code and encouraging code reuse. > It > took me a while to get comfortable with them, but they've radically > changed > my code style. > Well, since we have "handler local" and "script local"....can't we have a "stack local" ? That would solve the 'meshing globals' problem and absolve the need for a rev 'player'. Miscdas wrote: [Mark] "The savings in HD space for the 1 BIG method is laughable these days (I just bought an 80 GB HD for $150) and the savings in RAM is rapidly becoming laughable." [Miscdas] I believe that this kind of thinking can too easily lead one unwittingly down the path of poor programming. It becomes easy to do inefficient "quick-and-dirty" that works for a small program because the inefficiencies are "covered" by all the available RAM and disk space. Through habit, these sloppy methods become the norm, and when it's time to do a big project requiring utmost efficiency, we're at a serious disadvantage from not having learned the efficient methods on the small, easy programs. [Mark] Agreed, but remember, not all of us here are real 'programmers'. For example, I am, if I'm anything, a scientist. So my priorities are probably radically different from yours, and I can't really envision the day when I will have a project requiring utmost efficiency in terms of computer power. I know my code is often sloppy, but it gets MY job done and thats how I measure my 'efficiency'. Also, if you follow your argument to the logical extreme, you probably shouldn't be programming in this big, bloated engine anyway, but rather using some crisp, lean, lower level language. But we all know that, in the long run, that probably turns out to be a lot less efficient. So just look in the mirror and say to yourself, "A little slop is OK, and damn it, people like me...." Thanks to all for your input on this thread. I'll have to mull it all over. mark mitchell Japan From cowhead at mac.com Mon Sep 9 13:23:01 2002 From: cowhead at mac.com (mark mitchell) Date: Mon Sep 9 13:23:01 2002 Subject: QuickTime movies in a standalone In-Reply-To: <200209081602.MAA31322@www.runrev.com> Message-ID: <0C7798EC-C421-11D6-BFE0-0030656DAB8E@mac.com> Martin wrote: > hi > I have converted an mp3-file to a QuickTime-movie. In combination with a > player there is no problem to play the song in a stack. [Mark] Did you really 'convert' it? Because you don't have to do anything to an MP3 file. QT will play plain ol' MP3 files just fine, whether alone in QT player or via a Rev player. I noticed for recording, QT6 now also offers MP4. Unfortunately, it doesn't seem to do anything yet. You seem to be able to record in MP4, but nothing seems to be able to play it. Anyone know whats going on there? > > But, as soon as I build a standalone, problems with the path are coming > up. > How can I manage to build a standalone where the application itself > finds > the QuickTime-movie to be played? > > Martin --- My stand-alone is usually just a 'splash' screen that then opens the real 'meat' stack. Remember, you have to do something like this if you want to save any changes while running. So I just put the QT-movies and MP3 files and other 'referenced' items in the same data folder as the real 'meat' stack. Somewhere in this stack you then have: put the [effective] filename of this stack into zaName --- returns full path of stack, use 'effective' for substacks set itemDelimiter to "/" put MyQTmovie into item -1 of zaName -- myQTmovie is not the full path, just the name of your QT file set the fileName of player myPlayer to zaName In my hands, OS X is a little funky, so you may not see the controller of the player (assuming you have it set to visible) or the movie image (if its video of some kind) until you actually start the player, or click near where the controller should be. Good luck, mark mitchell Japan From steve at messimercomputing.com Mon Sep 9 14:02:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Mon Sep 9 14:02:01 2002 Subject: control display of toolTips Message-ID: Ben, Ive done this in a limited way. Here's the general approach I use. Lets say you wanted the border property of a btn to indicate a certain state and you wanted to have the button display a different tooltip for each state. Create a button and set its 3D property to false first write a handler that changes the borderColor of the button based upon some condition. on mouseUp answer "Pick a color ..." with "Blue" or "Red" or "Green" -- rather than a answer dialog you might want the button to check the states -- of certain custom Props that might have been set by some user action , or -- you might want to check some parameter that was passed from another -- handler etc. if it is "Blue" then set the borderColor of me to "Blue" else if it is "Red" then set the borderColor of me to "Red" else if it is "Green" then set the borderColor of me to "Green" end if end mouseUp now write a handler that looks at the color of the button's border on mouseEnter switch (the borderColor of me) case "blue" put "This is the 'Blue' toolTip." into ttText set the toolTip of me to ttText break case "red" put "This is the 'Red' toolTip." into ttText set the toolTip of me to ttText break case "green" put "this is the 'Green' toolTip" into ttText set the toolTip of me to ttText break end switch end mouseEnter There are probably many permutations of this. Hope this helps. Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From katir at hindu.org Mon Sep 9 15:09:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon Sep 9 15:09:01 2002 Subject: many small or 1 big? In-Reply-To: <200209090408.AAA07914@www.runrev.com> Message-ID: On Sunday, September 8, 2002, at 06:08 PM, Richard wrote on the use-revolution-request at lists.runrev.com wrote: > Sounds like a good case for a Rev Player.... > > -- > Richard Gaskin > Fourth World Media Corporation Forgive me for waxing long here, but this is a key theme, perhaps more than we realize. 1) Can't a standalone that serves no other purpose than to hold the engine and a splash screen serve as a virtual "Rev Player." But then I guess one has the issue of doc/app binding for a double clickable stack (sans engine) that would auto boot from the above mentioned standalone, as well as libraries required... 2) If I understand the license agreement correctly, could one not ship the Rev app itself, minus all IDE components and have it act as a "Player" --assuming one built a stack distribution with the necessary components in your stack... which is still a headache.... might as well build the standalone. 3) I am doing this now "in a way" (using Metacard because of memory issues... ) i.e. I email someone saying "go to ftp.metacard.com and download the version for your machine and then, after it is installed boot the attached application." where: those individuals have zero interest in programming and wouldn't even think to ask about this being a 'starter kit" as such, for them its the same as downloading Real Player, Acrobat Reader or any other browser independent plug in... i.e. they will never even see the home stack... they just double click the app I send them which I build in Rev. 4) I have also installed MC, just the engine itself and nothing more, on various stations here for the editors who will use an app that I made for them...have yet to try that with Rev.... Possibly the paradigm of leaving dominant browsers in the dust and putting the internet to work as and how we want it to work would gain a lot of momentum with such a Rev player... e.g. right now i am busy re-gurgitating several thousand pages of print matter into HTML and mounting all that code inside GoLive for distribution because everyone believes that is the ONLY way it can be/should be done, and, today at least, they are right.... but it is months of work creating something less than satisfactory that could be much more efficiently and more elegantly done in xTalk. I have to do amazing things like say "forget the index... it's not doable in HTML in the time frames we have." Whereas re-purposing a book index to make a hyper index for hypertext inside Rev would be a three day job at most. All by way of saying a "skinny" Rev player would be great...My apps for team players in remote places are very much dedicated to single tasks (e.g. downloads one specific web page, allows it to be edited and then uploaded) and therefore require very few add ons (I just have to be sure to let the person be able to save, quit and copy text) But for broader apps I think we might try to come up with a consensus on some subset of libraries that the Player might carry with it... to virtually eliminate *any* need for distribution builds: ask, answer, print dialogs and minimal set of cursor icons and libURL come to mind as natural to have on board such a player. The Player could do some exuberant unabashed Rev self promotion... I would have no problem with that... which in turn would relieve the developer with the task of branding his app with Rev and give Rev much better "brand name' positioning in the process. This would allow for the distribution of ?extreme? light weight apps by email with a single Rev Player file for download sitting on some web site. I just love sending a 120K app to Malaysia, and then, when a revision is required, send the same... meanwhile the user only had one heavy download. Hinduism Today Sannyasin Sivakatirswami Editor's Assistant/Production Manager katir at hindu.org www.HinduismToday.com, www.HimalayanAcademy.com, www.Gurudeva.org, www.hindu.org Read The Master Course Lesson of the Day at http://www.gurudeva.org/lesson.shtml From dsc at swcp.com Mon Sep 9 15:45:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Sep 9 15:45:01 2002 Subject: 1 big or many little In-Reply-To: <1D822ECF-C41D-11D6-BFE0-0030656DAB8E@mac.com> Message-ID: On Monday, September 9, 2002, at 11:53 AM, mark mitchell wrote: > Well, since we have "handler local" and "script local"....can't we > have a "stack local" ? I suppose that can be done with a function for fetching values from stack script local variables and a handler for stuffing values into stack local variables. This is a special case of Richard's more general idea of using script locals. Dar Scott From rodneys at io.com Mon Sep 9 20:45:01 2002 From: rodneys at io.com (Rodney Somerstein) Date: Mon Sep 9 20:45:01 2002 Subject: Good source for CHEAP HyperCard books In-Reply-To: References: Message-ID: I ran across a great deal on an excellent HyperCard reference recently and thought that people here might be interested. It seems that HyperTalk 2.2: The Book, by Winkler, Kamins, and someone named DeVoto has been remaindered at MicroCenter. Two different stores that I have been to had multiple copies available at $0.99 each. If you know of someone new to xTalk who could use a good reference or if you want one yourself, I really recommend this one. It is an excellent book and you certainly can't beat the price. -Rodney -- ------------------------------------------------------------------- Rodney Somerstein rodneys at io.com From janschenkel at yahoo.com Tue Sep 10 05:24:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Sep 10 05:24:01 2002 Subject: VS: VS: Newbie: get hyperlink working? In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6D74@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <20020910102241.94560.qmail@web11907.mail.yahoo.com> --- Esa_Kivel? wrote: > > [snip] > > Hmmm that button write that typed text fron text > field into www-page (don't ask me users just want > that). > So if INSIDE text field is like httP://ncrc.fi so > when button is pressen how it can write that > "http://ncrc.fi" as link into www page not as text > from text field? > > EsaK Hi Esa, If I understand you correctly, you want a text field, where users can type in all sorts of stuff, and then select a chunk of text, and click a button "Make link" to add a HREF style link. In that case, try the following: 1) set the button's "autoHilite" off 2) set its script to: on mouseUp put the selectedChunk into tChunk if tChunk is not empty and (word 4 of tChunk >= \ word 2 of tChunk) then # there is a selection put the value of tChunk into tLink # you could adapt tLink (eg: prepend "http://") set the textStyle of tChunk to "link" set the linkText of tChunk to tLink end if end mouseUp If that wasn't what you wanted, I hope it helped anyway, and you're always free to post another clarification. Best regards, Jan Schenkel. "As we grow older, we grow both wiser and moire foolish at the same time." (De Rochefoucald) __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute From janschenkel at yahoo.com Tue Sep 10 05:36:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Sep 10 05:36:00 2002 Subject: correction addSlashes() In-Reply-To: <000801c257fc$4a157310$0801a8c0@sylvain> Message-ID: <20020910103425.95054.qmail@web11907.mail.yahoo.com> Hi Sylvain, Unfortunately, there is no standard function to add 'escape characters' into string -- not one that I found in the dictionary anyway. The 'format' function works the other way around though, so that might be interesting to have a look at in the Transcript Dictionary. At any rate, your 'addSlashes' function should work okay, though I'd be careful with that double quote transformation. XTalk uses double quotes, SQL uses single quotes. This should be an advantage, as you can easily write an entire SQL statement in one XTalk string. But sometimes, it gets back at you ;-) Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Sylvain_Le_Gourri?rec wrote: > -------------------------------------------------------- > function addSlashes myText > > -- on remplace \ par \\ > replace numToChar(92) with numToChar(92) & > numToChar(92) in myText > > -- on remplace " par \" > replace numToChar(34) with numToChar(92) & > numToChar(34) in myText > > -- on remplace ' par \' > replace numToChar(39) with numToChar(92) & > numToChar(39) in myText > > -- on remplace NULL(ASCII 0) par \0 > replace numToChar(0) with numToChar(92) & > numToChar(48) in myText > > > return myText > > end addSlashes > > > ------------> better ;) > > > Sylvain Le Gourri?rec -- d?veloppement -- > son-video-distribution > > -------------> windows 2000 + runrev 1.1.1 + MySQL > 3.23 + PHP 4 > __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute From Esa.Kivela at ncrc.fi Tue Sep 10 05:54:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Tue Sep 10 05:54:01 2002 Subject: VS: VS: VS: Newbie: get hyperlink working? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D7B@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Jan Schenkel [mailto:janschenkel at yahoo.com] > L?hetetty: 10. syyskuuta 2002 13:23 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: VS: VS: Newbie: get hyperlink working? > > > --- Esa_Kivel? wrote: > > > > [snip] > > > > Hmmm that button write that typed text fron text > > field into www-page (don't ask me users just want > > that). > > So if INSIDE text field is like httP://ncrc.fi so > > when button is pressen how it can write that > > "http://ncrc.fi" as link into www page not as text > > from text field? > > > > EsaK > > Hi Esa, > > If I understand you correctly, you want a text field, > where users can type in all sorts of stuff, and then > select a chunk of text, and click a button "Make link" > to add a HREF style link. Nope: hmm here is exaple: lets assume that in the text field some typed like "hey chek this link www.ncrc.fi for more information" and press SAve button then in the save button its puts hole text wield into html-dokument BUT now its hole thing appear as text also that hyperlink. What I try to do that same text appear in the html dokument as text but that www.ncrc.fi or what ever usres typed as link among the tehxt works like link in html-document when save button is pressed. > > In that case, try the following: > 1) set the button's "autoHilite" off > 2) set its script to: > on mouseUp > put the selectedChunk into tChunk > if tChunk is not empty and (word 4 of tChunk >= \ > word 2 of tChunk) then # there is a selection > put the value of tChunk into tLink > # you could adapt tLink (eg: prepend "http://") > set the textStyle of tChunk to "link" > set the linkText of tChunk to tLink > end if > end mouseUp > > If that wasn't what you wanted, I hope it helped > anyway, and you're always free to post another > clarification. > > Best regards, > > Jan Schenkel. > > "As we grow older, we grow both wiser and moire > foolish at the same time." (De Rochefoucald) > > __________________________________________________ > Yahoo! - We Remember > 9-11: A tribute to the more than 3,000 lives lost > http://dir.remember.yahoo.com/tribute > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From janschenkel at yahoo.com Tue Sep 10 06:42:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Sep 10 06:42:00 2002 Subject: VS: VS: VS: Newbie: get hyperlink working? In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6D7B@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <20020910114056.98343.qmail@web11901.mail.yahoo.com> --- Esa_Kivel? wrote: > > [snip] > > Nope: hmm here is exaple: > > lets assume that in the text field some typed like > "hey chek this link www.ncrc.fi for more > information" and press SAve button then in the save > button its puts hole text wield into html-dokument > BUT now its hole thing appear as text also that > hyperlink. > > What I try to do that same text appear in the html > dokument as text but that www.ncrc.fi or what ever > usres typed as link among the tehxt works like link > in html-document when save button is pressed. > Ah, now I see what you were going for -- it's not meant for displaying in RunRev. Unfortunately, that's not as easy to accomplish : you'll have to parse the content of the field and try and determine what is a link and what is not. The problem there is that people may not always 'format' the link in an easily recognisable way. A few tricky examples: 1) suppose we want to support including an email address: someone at example.net must become a link, including the 'mailto:' bit. If you just check if there's an '@' sign in the word, what will happen if you encounter a line me:secret at ftp.example.net which would actually denote an ftp-url. 2) some users will copy&paste a URL from their browser and it will already contain an 'http://' keyword. Others will just type "check www.example.net" Have fun prepending the keywords. Even though you _can_ overcome all these problems, a far simpler, alternative method is to provide a separate field "link" and then insert that into the html code. It will save you a lot of headaches... Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute From benr_mc at cogapp.com Tue Sep 10 06:43:01 2002 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue Sep 10 06:43:01 2002 Subject: the Revolution 'answer' handler Message-ID: Is 'answer' handled in the engine, or is it in Rev? I assumed it was in Rev since we have to tell the Distribution Builder explicitly to add the stack - but I can't find it anywhere? Or is the code in the engine, but Rev supplies an improved stack? TIA, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From benr_mc at cogapp.com Tue Sep 10 06:48:01 2002 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue Sep 10 06:48:01 2002 Subject: Really exit to top//interrupt? Message-ID: If you use exit to top in a handler, it has breaks right out of all running handlers. If you use command-. or control-C, it has the same effect. But if you use one of these in a handler that's running in a stack opened using 'modal', then only those handlers are broken out of. Once the dialog is dismissed, control continues from the statement after 'modal'. Is there a method to _really_ exit to top, or _really_ interrupt? TIA, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From Esa.Kivela at ncrc.fi Tue Sep 10 08:05:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Tue Sep 10 08:05:01 2002 Subject: VS: VS: VS: VS: Newbie: get hyperlink working? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D7F@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Jan Schenkel [mailto:janschenkel at yahoo.com] > L?hetetty: 10. syyskuuta 2002 14:41 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: VS: VS: VS: Newbie: get hyperlink working? > > > --- Esa_Kivel? wrote: > > > > [snip] > > > > Nope: hmm here is exaple: > > > > lets assume that in the text field some typed like > > "hey chek this link www.ncrc.fi for more > > information" and press SAve button then in the save > > button its puts hole text wield into html-dokument > > BUT now its hole thing appear as text also that > > hyperlink. > > > > What I try to do that same text appear in the html > > dokument as text but that www.ncrc.fi or what ever > > usres typed as link among the tehxt works like link > > in html-document when save button is pressed. > > > > Ah, now I see what you were going for -- it's not > meant for displaying in RunRev. That I tried to tell all the time :-)) Sorry my lack of english > > Unfortunately, that's not as easy to accomplish : > you'll have to parse the content of the field and try > and determine what is a link and what is not. > The problem there is that people may not always > 'format' the link in an easily recognisable way. > > A few tricky examples: > > 1) suppose we want to support including an email > address: someone at example.net must become a link, > including the 'mailto:' bit. > If you just check if there's an '@' sign in the word, > what will happen if you encounter a line > me:secret at ftp.example.net > which would actually denote an ftp-url. > > 2) some users will copy&paste a URL from their browser > and it will already contain an 'http://' keyword. > Others will just type "check www.example.net" > Have fun prepending the keywords. > > Even though you _can_ overcome all these problems, a > far simpler, alternative method is to provide a > separate field "link" and then insert that into the > html code. It will save you a lot of headaches... > > Best regards, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > __________________________________________________ > Yahoo! - We Remember > 9-11: A tribute to the more than 3,000 lives lost > http://dir.remember.yahoo.com/tribute > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From cowhead at mac.com Tue Sep 10 08:27:01 2002 From: cowhead at mac.com (mark mitchell) Date: Tue Sep 10 08:27:01 2002 Subject: LinkText In-Reply-To: <200209101044.GAA00753@www.runrev.com> Message-ID: Jan Schenkel wrote: > > set the textStyle of tChunk to "link" > set the linkText of tChunk to tLink > end if > end mouseUp > The linkText is an amazing thing, but I still don't really get it. Where is the info that you put in here stored? Is it stored as a hidden custom property of the field? What is amazing is that you can rearrange everying, and the links don't get messed up. You can sort a field, you can fully edit the original linked chunk, even delete it entirely and retype something new there, and it will keep the same linkText. You can cut and paste the linked chunk into a new location in the field, and it will keep the original linkText. It also offers different colors for unvisited vs visited links. And you can get a list of all the link texts of a field with a simple handler e.g. repeat with i = 1 to the number of words in myfield if the textstyle of word i of field myField is "link" then if the textstyle of word i - 1 of field myField is not "link" then put the linkText of word i of field myField after theList end if end if end repeat LinkText is a beautiful thing. But how does it work? mark mitchell Japan From yvescoppe at skynet.be Tue Sep 10 09:36:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Tue Sep 10 09:36:01 2002 Subject: Sort problem Message-ID: Hi, I have a variable (my_var) I want to sort my script is : set the useSystemDate to true set itemdel to tab sort lines of my_var descending dateTime by item 1 of each but sorted myVar is something like this : (Continental date format !) 04/09/2002&tab&xxx&tab&yyy&tab&zzz 03/09/2002&tab&xxx&tab&yyy&tab&zzz tab&xxx&tab&yyy&tab&zzz 02/09/2002&tab&xxx&tab&yyy&tab&zzz tab&xxx&tab&yyy&tab&zzz tab&xxx&tab&yyy&tab&zzz 01/09/2002&tab&xxx&tab&yyy&tab&zzz I'd like to sort my_var but the number of lines for each date record is variable !! How can I proceed ?? Thank you. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From janschenkel at yahoo.com Tue Sep 10 09:58:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Sep 10 09:58:01 2002 Subject: LinkText In-Reply-To: Message-ID: <20020910145721.21030.qmail@web11908.mail.yahoo.com> Hi Mark, What you might try to do is: put the htmlText of fld "textField" into \ field "htmlField" Then you can have a look at the html-based formatting behind it -- especially the yyy bits. This means that we could also make our changes directly into the htmlText of a field, thereby forcing it to redraw (though that results in a gray field background until you click in it -- but there's a workaround for that as well -- i believe toggling the lockText on/off or off/on). Now, keeping in mind that the next version of RunRev has extensive support for xml, and the html used in RunRev is xml-compliant, we could do some pretty neat things... But enough day-dreaming for now, I have a FoxPro app to tame... Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- mark mitchell wrote: > > Jan Schenkel wrote: > > > > set the textStyle of tChunk to "link" > > set the linkText of tChunk to tLink > > end if > > end mouseUp > > > The linkText is an amazing thing, but I still don't > really get it. > Where is the info that you put in here stored? Is > it stored as a hidden > custom property of the field? What is amazing is > that you can rearrange > everying, and the links don't get messed up. You > can sort a field, you > can fully edit the original linked chunk, even > delete it entirely and > retype something new there, and it will keep the > same linkText. You can > cut and paste the linked chunk into a new location > in the field, and it > will keep the original linkText. It also offers > different colors for > unvisited vs visited links. And you can get a list > of all the link > texts of a field with a simple handler e.g. > > repeat with i = 1 to the number of words in myfield > if the textstyle of word i of field myField is > "link" then > if the textstyle of word i - 1 of field myField is > not "link" then > put the linkText of word i of field myField after > theList > end if > end if > end repeat > > LinkText is a beautiful thing. But how does it > work? > > > mark mitchell > Japan > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute From janschenkel at yahoo.com Tue Sep 10 10:26:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Sep 10 10:26:01 2002 Subject: Sort problem In-Reply-To: Message-ID: <20020910152441.97449.qmail@web11902.mail.yahoo.com> Hi Yves, You could try something like this: set the useSystemDate to true set itemdel to tab # push the lines with the same date together repeat for each line tLine of my_var if item 1 of tLine is not a date then put "@#@#" & tLine after tPrepVar else put return & tLine after tPrepVar end if end repeat put char 2 to -1 of tPrepVar into my_var # now do the sorting on our squished variable sort lines of my_var descending dateTime \ by item 1 of each # and unsquish the result onto separate lines replace "@#@#" with return in my_var # the end... Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Yves Copp? wrote: > Hi, > > > > I have a variable (my_var) I want to sort > > my script is : > > > set the useSystemDate to true > set itemdel to tab > sort lines of my_var descending dateTime by item 1 > of each > > > > but sorted myVar is something like this : > > (Continental date format !) > > 04/09/2002&tab&xxx&tab&yyy&tab&zzz > 03/09/2002&tab&xxx&tab&yyy&tab&zzz > tab&xxx&tab&yyy&tab&zzz > 02/09/2002&tab&xxx&tab&yyy&tab&zzz > tab&xxx&tab&yyy&tab&zzz > tab&xxx&tab&yyy&tab&zzz > 01/09/2002&tab&xxx&tab&yyy&tab&zzz > > > I'd like to sort my_var but the number of lines for > each date record > is variable !! > > How can I proceed ?? > > Thank you. > -- > Greetings. > > Yves COPPE > > Email : yvescoppe at skynet.be > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute From yvescoppe at skynet.be Tue Sep 10 10:32:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Tue Sep 10 10:32:01 2002 Subject: Sort problem In-Reply-To: <20020910152441.97449.qmail@web11902.mail.yahoo.com> References: <20020910152441.97449.qmail@web11902.mail.yahoo.com> Message-ID: >Hi Yves, > >You could try something like this: > >set the useSystemDate to true >set itemdel to tab ># push the lines with the same date together >repeat for each line tLine of my_var > if item 1 of tLine is not a date then > put "@#@#" & tLine after tPrepVar > else > put return & tLine after tPrepVar > end if >end repeat >put char 2 to -1 of tPrepVar into my_var ># now do the sorting on our squished variable >sort lines of my_var descending dateTime \ >by item 1 of each ># and unsquish the result onto separate lines >replace "@#@#" with return in my_var ># the end... > >Hope this helped, > >Jan Schenkel. Fantastic...and so easy !!! Thanks. From acromagnac at gmx.net Tue Sep 10 10:51:05 2002 From: acromagnac at gmx.net (Laurent Vuibert) Date: Tue Sep 10 10:51:05 2002 Subject: MC & openGL Message-ID: <20020910175147.642a232b.acromagnac@gmx.net> Crossposted from Metacard list Hi list, The demo of an external / DLL bridging the gap between MC and openGL is available at : http://www.netchampagne.com/demoopengl/ It should remain there for 1 or 2 weeks. It's a 1.64 Mb zip archive, featuring a MC standalone and a DLL. So far, it's only Win32 compatible. Once unzipped, to run properly both files need to be in the same directory. It's actually a simple / crude demo with rotation, zoom, texture mapping & blending. You can also load your own texture (256 * 256 pixels file only). Comments apreciated. Thanks, JB From jacque at hyperactivesw.com Tue Sep 10 12:26:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Sep 10 12:26:01 2002 Subject: QuickTime movies in a standalone References: <200209101044.GAA00753@www.runrev.com> Message-ID: <3D7E2AF2.1070709@hyperactivesw.com> mark mitchell wrote: > In my hands, OS X is a little funky, so you may not see the controller > of the player (assuming you have it set to visible) or the movie image > (if its video of some kind) until you actually start the player, or > click near where the controller should be. It's not just your machine. I've been fighting with the same behavior ever since I switched to OS X and recent releases of the MC engine haven't fixed it yet. I reported the problem quite a while ago, but maybe should send it in again. What I've found is that if the player is placed on top of an image, the controller isn't drawn. If the image underneath is removed or hidden, normal controls reappear. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Tue Sep 10 14:06:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 10 14:06:01 2002 Subject: QuickTime movies in a standalone References: <200209101044.GAA00753@www.runrev.com> <3D7E2AF2.1070709@hyperactivesw.com> Message-ID: <007701c258fc$58451340$6601a8c0@mckinley.dom> One thing that affects this is the alwaysBuffer of the movie. If it's true, you shouldn't see any of this... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "J. Landman Gay" To: Sent: Tuesday, September 10, 2002 12:25 PM Subject: Re: QuickTime movies in a standalone > mark mitchell wrote: > > > In my hands, OS X is a little funky, so you may not see the controller > > of the player (assuming you have it set to visible) or the movie image > > (if its video of some kind) until you actually start the player, or > > click near where the controller should be. > > It's not just your machine. I've been fighting with the same behavior > ever since I switched to OS X and recent releases of the MC engine > haven't fixed it yet. I reported the problem quite a while ago, but > maybe should send it in again. > > What I've found is that if the player is placed on top of an image, the > controller isn't drawn. If the image underneath is removed or hidden, > normal controls reappear. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From simran at teleline.es Tue Sep 10 14:13:00 2002 From: simran at teleline.es (Peter Lundh) Date: Tue Sep 10 14:13:00 2002 Subject: Background color problem in PPC compiled app. Message-ID: Hi all- The last time I compiled - for Mac PPC and OS X -the application I'm currently working on some of its cards changed their background color from white to light gray. But only in the PPC version - the Mac OS X application was fine. How I can fix this? Have I encountered a bug in the Revolution program, or do I have to fiddle with some properties? The gray background only appears on the cards that I created yesterday on the PPC version of Revolution. All cards are meant to have a white background so I have no idea where the gray came from. About 2/3s of my application has been made on the Mac OS X platform, but I switched this weekend because I found the PPC version to be more stable (for me). My application is 6 Mb (before being compiled) and it has some 300 graphical objects (mainly jpg images) placed on 50 different cards in a main stack (I have a separate non-visible stack holding most of the image objects). Grateful for any advice... -Peter :) -- Peter Lundh Sweden simran at teleline.es From mail at richard-hillen.de Tue Sep 10 14:37:01 2002 From: mail at richard-hillen.de (Richard Hillen) Date: Tue Sep 10 14:37:01 2002 Subject: Two questions Message-ID: <3D7E496D.AE1E14DB@richard-hillen.de> Hello, alltogether, may you help with these two questions? 1) If someone clicks on the close-button of the stack window, the stack is closed. Under some conditions I want to intercept the "close stack" message, so that the stack is not closed and the stack window remains visible. 2) (Nothing to do with question 1) On opencard the Input-Cursor should be in the fld "NN". Thanx for help. Richard Hillen. From janschenkel at yahoo.com Tue Sep 10 15:13:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Sep 10 15:13:01 2002 Subject: Two questions In-Reply-To: <3D7E496D.AE1E14DB@richard-hillen.de> Message-ID: <20020910201215.44043.qmail@web11906.mail.yahoo.com> Hi Richard, Two questions, two answers :-) 1) check the Transcript Dictionary entry for the 'closeStackRequest' message ; it is sent when the user clicks the close box, but before the stack is actually closed ; if you 'pass closeStackRequest', the stack will be closed, otherwise it won't. 2) try this: on openCard select char 1 to -1 of fld "NN" end openCard -- it will select the text of the field. Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Richard Hillen wrote: > Hello, alltogether, > > may you help with these two questions? > > 1) If someone clicks on the close-button of the > stack window, the stack > is closed. > Under some conditions I want to intercept the "close > stack" message, so > that the stack is not closed and the stack window > remains visible. > > > 2) (Nothing to do with question 1) > On opencard the Input-Cursor should be in the fld > "NN". > > Thanx for help. > > Richard Hillen. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute From bornstein at designeq.com Tue Sep 10 16:00:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Tue Sep 10 16:00:01 2002 Subject: Background color problem in PPC compiled app. Message-ID: <200209102058.g8AKwX914551@mailout6-0.nyroc.rr.com> >The last time I compiled - for Mac PPC and OS X -the application I'm >currently working on some of its cards changed their background color from >white to light gray. But only in the PPC version - the Mac OS X application >was fine. How I can fix this? I ran into this also. I've never been able to confirm if this is a bug, although I suspect that it is. My workaround was to simply create an image object the size of the card, paint it white, and send it to layer 1. If you need it on multiple cards, make it a group, give it background behavior, and place it on all the cards. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From kray at sonsothunder.com Tue Sep 10 16:07:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 10 16:07:01 2002 Subject: Two questions References: <20020910201215.44043.qmail@web11906.mail.yahoo.com> Message-ID: <00ac01c2590d$3905e610$6601a8c0@mckinley.dom> I'd only add an alternative to Jan's code below: > 2) try this: > on openCard > select char 1 to -1 of fld "NN" > end openCard on openCard select before text of fld "NN" end openCard Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jeanne at runrev.com Tue Sep 10 17:36:00 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Sep 10 17:36:00 2002 Subject: LinkText In-Reply-To: References: <200209101044.GAA00753@www.runrev.com> Message-ID: At 6:25 AM -0700 9/10/2002, mark mitchell wrote: >The linkText is an amazing thing, but I still don't really get it. >Where is the info that you put in here stored? Is it stored as a hidden >custom property of the field? What is amazing is that you can rearrange >everying, and the links don't get messed up. You can sort a field, you >can fully edit the original linked chunk, even delete it entirely and >retype something new there, and it will keep the same linkText. You can >cut and paste the linked chunk into a new location in the field, and it >will keep the original linkText. It may help to think of the linkText as a sort of hidden text style, like bold or italic. It's stored with the chunk, so it is retained when you sort, etc., just like a text style. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Tue Sep 10 17:36:21 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Sep 10 17:36:21 2002 Subject: the Revolution 'answer' handler In-Reply-To: Message-ID: At 4:42 AM -0700 9/10/2002, Ben Rubinstein wrote: >Is 'answer' handled in the engine, or is it in Rev? I assumed it was in Rev >since we have to tell the Distribution Builder explicitly to add the stack - >but I can't find it anywhere? My understanding of how it works is that "answer" is handled in the engine, but the engine calls the available answer stack for display rather than building and displaying the dialog box itself. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From Jedaniels at Evercom.net Tue Sep 10 19:35:00 2002 From: Jedaniels at Evercom.net (Jerry Daniels) Date: Tue Sep 10 19:35:00 2002 Subject: Sharpen and Blur Question Message-ID: <2EE5B9AA3AEFCA4299890DCF72A83BC601DA11AA@mail_nt.evercom.net> Fellow Transciptors (Revheads), Has anyone written a blur or sharpen algorithm in transcript? I heard there was a DLL that does it, but I'd like to write one (if possible) in transcript/revolution. Thanks, Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: From rcozens at pon.net Wed Sep 11 01:28:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Sep 11 01:28:01 2002 Subject: Possible Virus Alert Message-ID: At approximately 10:30 PM PDT, I logged on to the Net via pon.net and began an upload to my ftp site hosted by Planet Net. I had two small files and two larger files to upload; but aborted shortly into the first large file because the performance was REALLY slow. When I logged back in and restarted the upload, I noticed that the date & time shown for the three files totally or partially uploaded was "Tue, September 11, 2001 5:47 AM". After uploading the files a second time, they all showed todays date & time. -- Rob Cozens http://www.oenolog.com/who.htm From rcozens at pon.net Wed Sep 11 02:01:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Sep 11 02:01:01 2002 Subject: The age of user-translatable applications software has arrived! Message-ID: Editorial Contact :Rob Cozens (rcozens at pon.net) For Immediate Release Serendipity Software Company announces the release of Serendipity Library. The Library includes all the tools needed to create user-translatable applications in Runtime Revolution? and MetaCard?. It also introduces the world's first native X-Talk database: Serendipity Database--Binary, or SDB. Serendipity Library is a collection of Transcript? commands for database operations, date manipulation, input editing, number formatting, and list & table manipulation. With the accompanying reference and associated files, it also serves as an exemplar of techniques for creating user-translatable applications and using SDB. It is available free of charge and can be distributed with any Runtime Revolution or MetaCard project royalty-free (see license terms for details). The Library files can be downloaded at http://www.oenolog.com/ftp/serendipity_downloader.htm. Runtime Revolution and MetaCard are registered trademarks of Runtime Revolution Ltd. and MetaCard Corp. respectively. -- Rob Cozens http://www.oenolog.com/who.htm From sylvain.legourrierec at son-video.com Wed Sep 11 03:53:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Wed Sep 11 03:53:01 2002 Subject: checkbox properties Message-ID: <003b01c25970$8e351d50$0801a8c0@sylvain> Hello, where are the properties of a checkbox? I mean, how can I check that a checkbox is checked? thanks --------------------------------------------------------------------------------------------------------------------------------------------- Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution www.son-video.com ------------- I am working with Windows 2000, Revolution 1.1.1, MySQL 3.23 & PHP 4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott at tactilemedia.com Wed Sep 11 04:00:00 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Sep 11 04:00:00 2002 Subject: checkbox properties In-Reply-To: <003b01c25970$8e351d50$0801a8c0@sylvain> Message-ID: Recently, Sylvain Le Gourri?rec wrote: > how can I check that a checkbox is checked? answer the hilite of btn myButton Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From klaus.major at metascape.org Wed Sep 11 04:04:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Sep 11 04:04:01 2002 Subject: checkbox properties In-Reply-To: <003b01c25970$8e351d50$0801a8c0@sylvain> Message-ID: Bonjour Sylvain, > Hello, > ? > where are the properties of a checkbox? > ? > I mean, how can I check that a checkbox is checked? > ? > thanks just check its hilite :-) It is true when checked and false if not. ... if the hilite of btn "your checkbox" then... ... Au revoir Klaus Major klaus.major at metascape.org From dvk at dvkconsult.com.au Wed Sep 11 04:04:13 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Wed Sep 11 04:04:13 2002 Subject: checkbox properties In-Reply-To: <003b01c25970$8e351d50$0801a8c0@sylvain> Message-ID: <4B9ED508-C565-11D6-8218-000393598038@dvkconsult.com.au> On Wednesday, Sep 11, 2002, at 18:52 Australia/Sydney, Sylvain Le Gourri?rec wrote: > Hello, > ? > where are the properties of a checkbox? > ? > I mean, how can I check that a checkbox is checked? Sylvain Test its hilite. regards David > ? > thanks > ? > ? > > ----------------------------------------------------------------------- > ---------------------------------------------------------------------- > Sylvain Le Gourri?rec? ??? d?veloppement? ?? son-video-distribution?? > www.son-video.com > ? > ------------- I am working with Windows 2000, Revolution 1.1.1, MySQL > 3.23 & PHP 4 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1003 bytes Desc: not available URL: From dvk at dvkconsult.com.au Wed Sep 11 04:08:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Wed Sep 11 04:08:01 2002 Subject: The age of user-translatable applications software has arrived! In-Reply-To: Message-ID: <9A39B3A8-C565-11D6-8218-000393598038@dvkconsult.com.au> On Wednesday, Sep 11, 2002, at 16:59 Australia/Sydney, Rob Cozens wrote: > Editorial Contact :Rob Cozens (rcozens at pon.net) > > For Immediate Release > > Serendipity Software Company announces the release of Serendipity > Library. > > The Library includes all the tools needed to create user-translatable > applications in Runtime Revolution? and MetaCard?. It also introduces > the world's first native X-Talk database: Serendipity > Database--Binary, or SDB. > > Serendipity Library is a collection of Transcript? commands for > database operations, date manipulation, input editing, number > formatting, and list & table manipulation. With the accompanying > reference and associated files, it also serves as an exemplar of > techniques for creating user-translatable applications and using SDB. > It is available free of charge and can be distributed with any Runtime > Revolution or MetaCard project royalty-free (see license terms for > details). > Rob > > The Library files can be downloaded at > http://www.oenolog.com/ftp/serendipity_downloader.htm. I received a message that this file was not found. regards David > > Runtime Revolution and MetaCard are registered trademarks of Runtime > Revolution Ltd. and MetaCard Corp. respectively. > -- > Rob Cozens > http://www.oenolog.com/who.htm > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus.major at metascape.org Wed Sep 11 04:25:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Sep 11 04:25:01 2002 Subject: The age of user-translatable applications software has arrived! In-Reply-To: <9A39B3A8-C565-11D6-8218-000393598038@dvkconsult.com.au> Message-ID: Hi David and all, >> ... >> The Library files can be downloaded at >> http://www.oenolog.com/ftp/serendipity_downloader.htm. > > I received a message that this file was not found. > > regards > David Just drop the dot at the end of the url ;-) >> http://www.oenolog.com/ftp/serendipity_downloader.htm without a dot... Regards Klaus Major klaus.major at metascape.org From Esa.Kivela at ncrc.fi Wed Sep 11 04:34:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Wed Sep 11 04:34:01 2002 Subject: VS: The age of user-translatable applications software has arrived! Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D88@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Klaus Major [mailto:klaus.major at metascape.org] > L?hetetty: 11. syyskuuta 2002 12:22 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: The age of user-translatable applications software has > arrived! > > > Hi David and all, > > >> ... > >> The Library files can be downloaded at > >> http://www.oenolog.com/ftp/serendipity_downloader.htm. Hmm why hqx in there. Why just *.sit/sea for Mac and *.zip for Windows? More easier that way I think. EsaK From jameslewes at comcast.net Wed Sep 11 05:59:01 2002 From: jameslewes at comcast.net (james lewes) Date: Wed Sep 11 05:59:01 2002 Subject: Sound and open stack In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6D88@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: My son is using revolution to build a cd for a class project and wants to get an audioclip tp play when the project first opens and then to loop until the viewer exits. From switchedon at hsj.com Wed Sep 11 06:47:01 2002 From: switchedon at hsj.com (Simtech Publications) Date: Wed Sep 11 06:47:01 2002 Subject: RunRev Installer Program - Anyone Interested? In-Reply-To: <200209110805.EAA23899@www.runrev.com> Message-ID: Since no one responded to my question about the existence of an installer program written in RunRev would anyone be interested in coming up with a simple example for the Mac? If I could get a script sample for copying a file from a CD to a specified path on the Mac that would be sufficient I think. Cheers... Bill Lynn Simtech Publications http://www.hsj.com From klaus.major at metascape.org Wed Sep 11 06:47:21 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Sep 11 06:47:21 2002 Subject: Sound and open stack In-Reply-To: Message-ID: Hi James, > My son is using revolution to build a cd for a class project and wants > to > get an audioclip tp play when the project first opens and then to loop > until > the viewer exits. try this: Put this into the card-script of the first card: on opencard global soundisplaying if soundisplaying is not "true" then play ac "your soundname here" looping put "true" into soundisplaying end if end opencard Maybe the use of the global is not necessary... I am not sure if a second "play ac ..." will start that sound from the beginning again, therefore i make sure in my example that the sound is started only once. The sound will stop when on quit. In case it has to be stopped somewhere manually use: ... play stop ac "your soundname here" ... In case you want to work with a player-object, the syntax will be: on opencard global soundisplaying if soundisplaying is not "true" then set the looping of player "your name of player here" to true start player "your name of player here" put "true" into soundisplaying end if end opencard To stop: ... stop player "your name of player here" ... If Quicktime is available i would recommend the use of players... Hope this helps. Regards Klaus Major klaus.major at metascape.org From janschenkel at yahoo.com Wed Sep 11 08:38:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 11 08:38:01 2002 Subject: RunRev Installer Program - Anyone Interested? In-Reply-To: Message-ID: <20020911133626.15034.qmail@web11902.mail.yahoo.com> Hi Bill, Let's see what we can drag out of the vast realms of Transcript functions, even though I'm all in favour of the good old drag'n'drop method for application installation -- ah, those wonderful days when a program still fit on a single floppy... Check the following entries in the Transcript dictionary: - filename of stack - answer folder - revCopyFile - revCopyFolder Getting "the effective filename of this stack" gives you the path to the (installer) stack. Use "answer folder" to let the user select a folder to install the files at. Then use revCopyFile and/or revCopyFolder to copy the files from the cd location to the user-selected location. If you have to install files into places like the desktop or the system folder, best check out the 'specialFolderPath' function as well. If you really wanted to have some fun, you could even use the 'compress' and 'uncompress' commands to save space on the CD ; though you might have to watch out with resource forks. Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Simtech Publications wrote: > Since no one responded to my question about the > existence of an installer > program written in RunRev would anyone be interested > in coming up with a > simple example for the Mac? If I could get a script > sample for copying a > file from a CD to a specified path on the Mac that > would be sufficient I > think. > > Cheers... Bill Lynn > Simtech Publications > http://www.hsj.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute From steve at messimercomputing.com Wed Sep 11 08:45:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Wed Sep 11 08:45:01 2002 Subject: re two questions Message-ID: Richard, you said > may you help with these two questions? > > 1) If someone clicks on the close-button of the stack window, the stack > is closed. > Under some conditions I want to intercept the "close stack" message, so > that the stack is not closed and the stack window remains visible. here's one way Use a customProperty and a subroutine on closeStack ckStatus other statements end closeStack on ckstatus if the status of me is true then -- here "status' is a customProp of the stack that was set secondary to some previous user action* -- thing you are checking for is true statements -- do the other things you want to do exit to top -- aborts closeStack handler else --its OK TO CLOSE THE STACK. when this handler finishes executing control reverts to the closeStack handler end if end checkStatus * A previous action can result from the execution of virtually any handler in any oject in your stack. > > 2) (Nothing to do with question 1) > On opencard the Input-Cursor should be in the fld "NN". on openCard focus on field "NN" -- the traversalOn of the field must be enabled this is the default state of all newly created fields so it isn't an issue unless you disabled the flds traversalOn property at an earlier time. end open card For further information check the focus command and the traversalOn property in the online documentation. hope this helps Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From troy at rpsystems.net Wed Sep 11 08:59:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Wed Sep 11 08:59:01 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: <000701c4858e$14a7ad80$3a0a8fd0@cpq> Message-ID: <7CB69DE3-C58E-11D6-9930-000393853D6C@rpsystems.net> Does everyone else keep getting sent this message from Jim - in the future? Apparently he is in 2004, and trying to send this message back to us... perhaps to change the past? Or something more...? Or, maybe there is just something hung up in the list server? I see this same message over and over. ;-) _________________________________________________ On Wednesday, August 18, 2004, at 09:44 PM, Jim Witte wrote: > From: "Jim Witte" > Date: Wed Aug 18, 2004 09:44:33 PM US/Eastern > To: > Subject: Re: Reports DataPro, Rev, and Blender3D > Reply-To: use-revolution at lists.runrev.com > >> before finally selling >> it to the present owners, who have done nothing with it. > > Hmm.. Anybody else see www.blender3d.com? The creator of the popular > 3d > modeling program (the page says over 250,000 registered users) has > reached > an agreement with the people who know own it (NaN Holdings) to open the > source code as GPL if he can raise 100,000 Euros. I'm not exactly sure > what > the history of Blender is, or how NaN came to hold it (read > slashdot..), but > NaN, like Reports, was not doing much with it. The Blender foundation, > after only 4 weeks, has already rasised over 80,000 (in intent, actual > donations in the bank are about 60,000). > > Maybe that's what's needed for Reports. From janschenkel at yahoo.com Wed Sep 11 09:16:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 11 09:16:00 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: <7CB69DE3-C58E-11D6-9930-000393853D6C@rpsystems.net> Message-ID: <20020911141433.19406.qmail@web11902.mail.yahoo.com> Hi Troy, I don't have that problem here. Maybe your email client is messing up? Or the POP-server at your ISP? If not, ask our Friendly Listmom Heather at heather at runrev.com :-) Best regards, Jan Schenkel. --- Troy Rollins wrote: > Does everyone else keep getting sent this message > from Jim - in the > future? Apparently he is in 2004, and trying to send > this message back > to us... perhaps to change the past? Or something > more...? > > Or, maybe there is just something hung up in the > list server? I see this > same message over and over. ;-) > > _________________________________________________ > On Wednesday, August 18, 2004, at 09:44 PM, Jim > Witte wrote: > > > From: "Jim Witte" > > Date: Wed Aug 18, 2004 09:44:33 PM US/Eastern > > To: > > Subject: Re: Reports DataPro, Rev, and Blender3D > > Reply-To: use-revolution at lists.runrev.com > > > >> before finally selling > >> it to the present owners, who have done nothing > with it. > > > > Hmm.. Anybody else see www.blender3d.com? The > creator of the popular > > 3d > > modeling program (the page says over 250,000 > registered users) has > > reached > > an agreement with the people who know own it (NaN > Holdings) to open the > > source code as GPL if he can raise 100,000 Euros. > I'm not exactly sure > > what > > the history of Blender is, or how NaN came to hold > it (read > > slashdot..), but > > NaN, like Reports, was not doing much with it. > The Blender foundation, > > after only 4 weeks, has already rasised over > 80,000 (in intent, actual > > donations in the bank are about 60,000). > > > > Maybe that's what's needed for Reports. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute From rcozens at pon.net Wed Sep 11 09:25:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Sep 11 09:25:01 2002 Subject: The age of user-translatable applications software has arrived! In-Reply-To: <9A39B3A8-C565-11D6-8218-000393598038@dvkconsult.com.au> References: <9A39B3A8-C565-11D6-8218-000393598038@dvkconsult.com.au> Message-ID: >>The Library files can be downloaded at >>http://www.oenolog.com/ftp/serendipity_downloader.htm. > >I received a message that this file was not found. David, et al: I just doubled clicked on the URL in your message, and it took me to the downloader page with no problem, and I know at least one person has successfully download it, although I don't know which platform they were downlaoding for. Please try again and let me know if you are still unsuccessful. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rcozens at pon.net Wed Sep 11 09:25:13 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Sep 11 09:25:13 2002 Subject: VS: The age of user-translatable applications software has arrived! In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6D88@ktk7.ad.kuluttajatutkimuskeskus.fi > References: <961D94BBE7448D4C8E4440CB7920D9E01B6D88@ktk7.ad.kuluttajatutkimuskeskus.fi > Message-ID: >Hmm why hqx in there. Why just *.sit/sea for Mac and *.zip for >Windows? More easier that way I think. Hi Esak, I don't know about the stability of Windows self-expanding archives; but I can tell you from experience, .sea files do not always download correctly when transferred across the 'Net. So far as I know, BinHexed files never get corrupted; so I err on the side of caution. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 troy at rpsystems.net Wed Sep 11 09:41:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Wed Sep 11 09:41:01 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: <20020911141433.19406.qmail@web11902.mail.yahoo.com> Message-ID: <4601E824-C594-11D6-9930-000393853D6C@rpsystems.net> Right you are Jan, I had inadvertently told my email client to mark items from the future as unread. Problem solved. ;-) But I still want to know why Jim wants to change the past... ;-) On Wednesday, September 11, 2002, at 10:14 AM, Jan Schenkel wrote: > Hi Troy, > > I don't have that problem here. Maybe your email > client is messing up? Or the POP-server at your ISP? > If not, ask our Friendly Listmom Heather at > heather at runrev.com :-) > > Best regards, > > Jan Schenkel. -- Troy RPSystems, LTD www.rpsystems.net From brymac at i-2000.com Wed Sep 11 09:52:01 2002 From: brymac at i-2000.com (bryan mccormick) Date: Wed Sep 11 09:52:01 2002 Subject: Reports DataPro, Rev, and Blender3D References: <4601E824-C594-11D6-9930-000393853D6C@rpsystems.net> Message-ID: <3D7F5856.7060904@i-2000.com> could you please stop sending this to everyone? this is coming to my personal mail instead of the list Troy Rollins wrote: > Right you are Jan, I had inadvertently told my email client to mark > items from the future as unread. Problem solved. ;-) > > But I still want to know why Jim wants to change the past... ;-) > > > On Wednesday, September 11, 2002, at 10:14 AM, Jan Schenkel wrote: > >> Hi Troy, >> >> I don't have that problem here. Maybe your email >> client is messing up? Or the POP-server at your ISP? >> If not, ask our Friendly Listmom Heather at >> heather at runrev.com :-) >> >> Best regards, >> >> Jan Schenkel. > > -- > Troy > RPSystems, LTD > www.rpsystems.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From ambassador at fourthworld.com Wed Sep 11 10:08:02 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 11 10:08:02 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: <4601E824-C594-11D6-9930-000393853D6C@rpsystems.net> Message-ID: Troy Rollins wrote: > But I still want to know why Jim wants to change the past... ;-) Who Controls the Past Controls the Future. - Orwell, "Nineteen Eighty Four" -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From klaus.major at metascape.org Wed Sep 11 10:08:16 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Sep 11 10:08:16 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: <4601E824-C594-11D6-9930-000393853D6C@rpsystems.net> Message-ID: Hi Troy, > Right you are Jan, I had inadvertently told my email client to mark > items from the future as unread. Problem solved. ;-) > > But I still want to know why Jim wants to change the past... ;-) who would NOT want to change the past ;-) (Despite the possible time-paradoxa ;-) Regards Klaus Major klaus.major at metascape.org From jameslewes at comcast.net Wed Sep 11 10:22:01 2002 From: jameslewes at comcast.net (james lewes) Date: Wed Sep 11 10:22:01 2002 Subject: Using Midi In-Reply-To: Message-ID: I have tried importing a midi file as an audio clip but all I get is a holy hellish scratching. Anybody know how to make a midi file usable. James From klaus.major at metascape.org Wed Sep 11 10:33:00 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Sep 11 10:33:00 2002 Subject: Using Midi In-Reply-To: Message-ID: <347467C8-C59B-11D6-BAA8-003065D52E8E@metascape.org> Hi James, > I have tried importing a midi file as an audio clip but all I get is a > holy > hellish scratching. Yo, that's MC De Ville ;-) > Anybody know how to make a midi file usable. You can do it with QuickTime. Just set the filename of a player to that .mid-file and that's it... Unfortunately it is a bit more tricky (read almost too complicated) on windows without quicktime... Search the index for MCI... > James Regards Klaus Major klaus.major at metascape.org From janschenkel at yahoo.com Wed Sep 11 10:45:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 11 10:45:01 2002 Subject: Using Midi In-Reply-To: Message-ID: <20020911154341.89228.qmail@web11904.mail.yahoo.com> Hi James, Have you tried playing this midi file straight from QuickTime Player or Windows Media Player? If so, try and use it via a player object. Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- james lewes wrote: > I have tried importing a midi file as an audio clip > but all I get is a holy > hellish scratching. Anybody know how to make a midi > file usable. > > James > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute From jameslewes at comcast.net Wed Sep 11 10:52:00 2002 From: jameslewes at comcast.net (james lewes) Date: Wed Sep 11 10:52:00 2002 Subject: Using Midi In-Reply-To: <20020911154341.89228.qmail@web11904.mail.yahoo.com> Message-ID: The Client wants it to loop as soon as the stack loads. Should I import the player into the stack. If that is the case how do I script for the stack to first open windows media player / or quicktime player then tell it to play the midi file as loop james > From: Jan Schenkel > Reply-To: use-revolution at lists.runrev.com > Date: Wed, 11 Sep 2002 08:43:41 -0700 (PDT) > To: use-revolution at lists.runrev.com > Subject: Re: Using Midi > > Hi James, > > Have you tried playing this midi file straight from > QuickTime Player or Windows Media Player? > If so, try and use it via a player object. > > Best regards, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > --- james lewes wrote: >> I have tried importing a midi file as an audio clip >> but all I get is a holy >> hellish scratching. Anybody know how to make a midi >> file usable. >> >> James >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> > http://lists.runrev.com/mailman/listinfo/use-revolution > > > __________________________________________________ > Yahoo! - We Remember > 9-11: A tribute to the more than 3,000 lives lost > http://dir.remember.yahoo.com/tribute > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From switchedon at hsj.com Wed Sep 11 10:56:01 2002 From: switchedon at hsj.com (Simtech Publications) Date: Wed Sep 11 10:56:01 2002 Subject: RunRev Installer Program - Anyone Interested? In-Reply-To: <200209111409.KAA01726@www.runrev.com> Message-ID: > Check the following entries in the Transcript > dictionary: > - filename of stack > - answer folder > - revCopyFile > - revCopyFolder Thanks for pointing the way, Jan. Hopefully I can get away from having to use expensive installer building programs. Cheers... Bill Lynn Simtech Publications http://www.hsj.com From janschenkel at yahoo.com Wed Sep 11 11:16:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 11 11:16:01 2002 Subject: Using Midi In-Reply-To: Message-ID: <20020911161458.33127.qmail@web11902.mail.yahoo.com> Hi James, Heh, what I meant was: test if the midi file works in QT player ;-) If so, all you need to do is create a "QuickTime player" control in your stack, using the bottom right tool in the tool palette. Then, in the "Properties" window, select the "Basic" tab and set the name of the player control to "midi". Then, in the "Properties" window, select the "Player" tab and click on the "Browse" button next to the "File Path:" field. Locate your midi file, open the message window and type: start player "midi" That should get you on your way... Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- james lewes wrote: > The Client wants it to loop as soon as the stack > loads. Should I import the > player into the stack. If that is the case how do I > script for the stack to > first open windows media player / or quicktime > player then tell it to play > the midi file as loop > james > > > From: Jan Schenkel > > Reply-To: use-revolution at lists.runrev.com > > Date: Wed, 11 Sep 2002 08:43:41 -0700 (PDT) > > To: use-revolution at lists.runrev.com > > Subject: Re: Using Midi > > > > Hi James, > > > > Have you tried playing this midi file straight > from > > QuickTime Player or Windows Media Player? > > If so, try and use it via a player object. > > > > Best regards, > > > > Jan Schenkel. > > > > "As we grow older, we grow both wiser and more > foolish > > at the same time." (De Rochefoucald) > > > > --- james lewes wrote: > >> I have tried importing a midi file as an audio > clip > >> but all I get is a holy > >> hellish scratching. Anybody know how to make a > midi > >> file usable. > >> > >> James > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > __________________________________________________ > > Yahoo! - We Remember > > 9-11: A tribute to the more than 3,000 lives lost > > http://dir.remember.yahoo.com/tribute > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute From sims at ezpzapps.com Wed Sep 11 11:31:01 2002 From: sims at ezpzapps.com (sims) Date: Wed Sep 11 11:31:01 2002 Subject: short dateFormat In-Reply-To: References: Message-ID: Will the short dateFormat always be either: %m/%d/%y or %d/%m/%y Does anyone use %y first? TIA sims ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From steve at messimercomputing.com Wed Sep 11 11:52:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Wed Sep 11 11:52:01 2002 Subject: plug-in question Message-ID: Hi, I have created a plug-in that I only want licensed users of Rev to be able to use. How do I keep the plug-in from being used by those who have the StarterKit? I have tried the following handler but it doesn't work. When I select the plugin in the Developer menu I get a beep then the plug-in window is opened. Anyone have any ideas? on preOpenStack set the cantAbort to true if not licensed() then Answer error "Sorry you can only use this Plug-in's powerful learning tools with a licensed version of Revolution Software. It will not work with the Revolution Starterkit. Please purchase an Educational, Business or Professional license from Runtime Revolution Ltd. Revolution will now Quit." quit else end if end preOpenStack TIA Regards Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From troy at rpsystems.net Wed Sep 11 11:56:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Wed Sep 11 11:56:01 2002 Subject: plug-in question In-Reply-To: Message-ID: <2D5A5F28-C5A7-11D6-BCC5-000393853D6C@rpsystems.net> On Wednesday, September 11, 2002, at 12:51 PM, Steve Messimer wrote: > > I have created a plug-in that I only want licensed users of Rev to be > able > to use. How do I keep the plug-in from being used by those who have the > StarterKit? Check out the "environment" function, Steve. -- Troy RPSystems, LTD www.rpsystems.net From wordwork at c2i.net Wed Sep 11 11:58:00 2002 From: wordwork at c2i.net (WordWork) Date: Wed Sep 11 11:58:00 2002 Subject: short dateFormat In-Reply-To: Message-ID: on 11-09-02 18:27, sims at sims at ezpzapps.com wrote: > Will the short dateFormat always be either: > > %m/%d/%y or %d/%m/%y > > Does anyone use %y first? > Yes, Sweden uses the very sensible yymmdd format, which sorts much more satisfactorily! -- Bill Gray WordWork Buran 7600 Levanger Norway tlf: +47 74089979 mob: +47 95153265 epost: wordwork at c2i.net From klaus.major at metascape.org Wed Sep 11 12:16:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Sep 11 12:16:01 2002 Subject: plug-in question In-Reply-To: Message-ID: <4FEE8EC6-C5AA-11D6-919B-000A27B49A96@metascape.org> Hi Steve, > Hi, > > I have created a plug-in that I only want licensed users of Rev to be > able > to use. How do I keep the plug-in from being used by those who have the > StarterKit? > > I have tried the following handler but it doesn't work. When I select > the > plugin in the Developer menu I get a beep then the plug-in window is > opened. > Anyone have any ideas? > > on preOpenStack > set the cantAbort to true > if not licensed() then > Answer error "Sorry you can only use this Plug-in's powerful > learning > tools with a licensed version of Revolution Software. It will not > work with > the Revolution Starterkit. Please purchase an Educational, Business or > Professional license from Runtime Revolution Ltd. Revolution will now > Quit." > quit > else > end if > end preOpenStack > > TIA > > Regards > > Steve i tried it here at home and it works... ? However i scripted: on preopenstack if the licensed then exit preopenstack ..... end preopenstack But that should not make a difference... I would suggest to use "close this stack" instead of "quit". That could surprise someone very unpleasantly ;-) Regards Klaus Major k_major at os.surf2000.de From mail at richard-hillen.de Wed Sep 11 13:04:01 2002 From: mail at richard-hillen.de (Richard Hillen) Date: Wed Sep 11 13:04:01 2002 Subject: datastack slow on Windows? Message-ID: <3D7F8527.B0A6FB8@richard-hillen.de> Hello alltogether, on Mac OS9 I made a database with splash-screen-stack and datastack as a standalone version. The datastack contains 1500 cards with 10 fields, 1 MB. On closestack the datastack is saved. This works fine on my Mac with the database local on its disc. It takes 3 to 5 seconds after closing the stack, if the stack is on our Server (Windows NT 4). Thats ok. I compiled one version to Windows, and using it under Windows NT with the stacks on the same server I have to wait 1 minute, untils the stack is completely saved. What gets wrong? Any help? Thanx. Richard. From steve at messimercomputing.com Wed Sep 11 13:07:00 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Wed Sep 11 13:07:00 2002 Subject: re plug-in question Message-ID: Troy, Thanks a lot. That was it. :-) >> >> I have created a plug-in that I only want licensed users of Rev to be >> able >> to use. How do I keep the plug-in from being used by those who have the >> StarterKit? > > Check out the "environment" function, Steve. For anyone whose interested here's the script... This is placed in the plug-in's stack script. on preOpenStack if the environment is "Development" then -- person using a licensed version of Rev => plug-in opens else -- person using the starterkit version of Rev => plug-in quits beep answer error "Sorry, this plug-in only works with licensed versions of Revolution software. Please remove the plug-in from the Revolution plug-ins folder and restart Revolution. If you would like to use this plug-in, contact Runtime Revolution Ltd. and purchase a licensed version of Revolution Software. This application will quit when you dismiss this dialog box." with "OK" quit end if end preOpenStack Thanks again Try for the quick heads-up. Kind regards, Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From jameslewes at comcast.net Wed Sep 11 13:28:01 2002 From: jameslewes at comcast.net (james lewes) Date: Wed Sep 11 13:28:01 2002 Subject: Using Midi In-Reply-To: <20020911161458.33127.qmail@web11902.mail.yahoo.com> Message-ID: What happens if one cannot play the midi in quicktime player > From: Jan Schenkel > Reply-To: use-revolution at lists.runrev.com > Date: Wed, 11 Sep 2002 09:14:58 -0700 (PDT) > To: use-revolution at lists.runrev.com > Subject: Re: Using Midi > > Hi James, > > Heh, what I meant was: test if the midi file works in > QT player ;-) > If so, all you need to do is create a "QuickTime > player" control in your stack, using the bottom right > tool in the tool palette. > Then, in the "Properties" window, select the "Basic" > tab and set the name of the player control to "midi". > Then, in the "Properties" window, select the "Player" > tab and click on the "Browse" button next to the "File > Path:" field. > Locate your midi file, open the message window and > type: > start player "midi" > > That should get you on your way... > > Best regards, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > --- james lewes wrote: >> The Client wants it to loop as soon as the stack >> loads. Should I import the >> player into the stack. If that is the case how do I >> script for the stack to >> first open windows media player / or quicktime >> player then tell it to play >> the midi file as loop >> james >> >>> From: Jan Schenkel >>> Reply-To: use-revolution at lists.runrev.com >>> Date: Wed, 11 Sep 2002 08:43:41 -0700 (PDT) >>> To: use-revolution at lists.runrev.com >>> Subject: Re: Using Midi >>> >>> Hi James, >>> >>> Have you tried playing this midi file straight >> from >>> QuickTime Player or Windows Media Player? >>> If so, try and use it via a player object. >>> >>> Best regards, >>> >>> Jan Schenkel. >>> >>> "As we grow older, we grow both wiser and more >> foolish >>> at the same time." (De Rochefoucald) >>> >>> --- james lewes wrote: >>>> I have tried importing a midi file as an audio >> clip >>>> but all I get is a holy >>>> hellish scratching. Anybody know how to make a >> midi >>>> file usable. >>>> >>>> James >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> >>> >> > http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> __________________________________________________ >>> Yahoo! - We Remember >>> 9-11: A tribute to the more than 3,000 lives lost >>> http://dir.remember.yahoo.com/tribute >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> >> > http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> > http://lists.runrev.com/mailman/listinfo/use-revolution > > > __________________________________________________ > Yahoo! - We Remember > 9-11: A tribute to the more than 3,000 lives lost > http://dir.remember.yahoo.com/tribute > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Wed Sep 11 14:49:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 11 14:49:01 2002 Subject: Using Midi In-Reply-To: Message-ID: <20020911194802.93604.qmail@web11908.mail.yahoo.com> Hi James, Erm, in that case I'd say the midi file is somehow incorrect. QuickTime has had built-in midi-support since version 2.0, and I've never had any problems with it -- with the possible exception of them changing the sounds between versions, rendering some midi files weird-sounding, but that's an entirely different story.. Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- james lewes wrote: > What happens if one cannot play the midi in > quicktime player > > > From: Jan Schenkel > > Reply-To: use-revolution at lists.runrev.com > > Date: Wed, 11 Sep 2002 09:14:58 -0700 (PDT) > > To: use-revolution at lists.runrev.com > > Subject: Re: Using Midi > > > > Hi James, > > > > Heh, what I meant was: test if the midi file works > in > > QT player ;-) > > If so, all you need to do is create a "QuickTime > > player" control in your stack, using the bottom > right > > tool in the tool palette. > > Then, in the "Properties" window, select the > "Basic" > > tab and set the name of the player control to > "midi". > > Then, in the "Properties" window, select the > "Player" > > tab and click on the "Browse" button next to the > "File > > Path:" field. > > Locate your midi file, open the message window and > > type: > > start player "midi" > > > > That should get you on your way... > > > > Best regards, > > > > Jan Schenkel. > > > > "As we grow older, we grow both wiser and more > foolish > > at the same time." (De Rochefoucald) > > > > --- james lewes wrote: > >> The Client wants it to loop as soon as the stack > >> loads. Should I import the > >> player into the stack. If that is the case how do > I > >> script for the stack to > >> first open windows media player / or quicktime > >> player then tell it to play > >> the midi file as loop > >> james > >> > >>> From: Jan Schenkel > >>> Reply-To: use-revolution at lists.runrev.com > >>> Date: Wed, 11 Sep 2002 08:43:41 -0700 (PDT) > >>> To: use-revolution at lists.runrev.com > >>> Subject: Re: Using Midi > >>> > >>> Hi James, > >>> > >>> Have you tried playing this midi file straight > >> from > >>> QuickTime Player or Windows Media Player? > >>> If so, try and use it via a player object. > >>> > >>> Best regards, > >>> > >>> Jan Schenkel. > >>> > >>> "As we grow older, we grow both wiser and more > >> foolish > >>> at the same time." (De Rochefoucald) > >>> > >>> --- james lewes wrote: > >>>> I have tried importing a midi file as an audio > >> clip > >>>> but all I get is a holy > >>>> hellish scratching. Anybody know how to make a > >> midi > >>>> file usable. > >>>> > >>>> James > >>>> > >>>> _______________________________________________ > >>>> use-revolution mailing list > >>>> use-revolution at lists.runrev.com > >>>> > >>> > >> > > > http://lists.runrev.com/mailman/listinfo/use-revolution > >>> > >>> > >>> > __________________________________________________ > >>> Yahoo! - We Remember > >>> 9-11: A tribute to the more than 3,000 lives > lost > >>> http://dir.remember.yahoo.com/tribute > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> > >> > > > http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > __________________________________________________ > > Yahoo! - We Remember > > 9-11: A tribute to the more than 3,000 lives lost > > http://dir.remember.yahoo.com/tribute > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remember.yahoo.com/tribute From dvk at dvkconsult.com.au Wed Sep 11 16:13:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Wed Sep 11 16:13:01 2002 Subject: The age of user-translatable applications software has arrived! In-Reply-To: Message-ID: <15EC3C7C-C5CB-11D6-8218-000393598038@dvkconsult.com.au> On Thursday, Sep 12, 2002, at 00:16 Australia/Sydney, Rob Cozens wrote: >>> The Library files can be downloaded at >>> http://www.oenolog.com/ftp/serendipity_downloader.htm. >> >> I received a message that this file was not found. > > David, et al: > > I just doubled clicked on the URL in your message, and it took me to > the downloader page with no problem, and I know at least one person > has successfully download it, although I don't know which platform > they were downlaoding for. > > Please try again and let me know if you are still unsuccessful. Rob The problem was, as Klaus said, the full stop character at the end. If it works for you then I guess we have discovered that our browsers behave differently when they see that on the end of the URL. No problem, I have it now thanks. FYI, I am using Omniweb 4.1 on OS X 10.2. regards David > -- > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.com/who.htm > > "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) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Wed Sep 11 16:18:00 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed Sep 11 16:18:00 2002 Subject: Sound and open stack In-Reply-To: Message-ID: I believe that this should work: on openStack play "audioclipname" looping end openStack on someEvent --> close card, mouseUp, exit, whatever play stop -- assuming nothing else is playing end someEvent I think I've gotten this to work on my fledgling Harry Potter stack... once I figured out which sound format to use :( Judy Perry On Wed, 11 Sep 2002, james lewes wrote: > My son is using revolution to build a cd for a class project and wants to > get an audioclip tp play when the project first opens and then to loop until > the viewer exits. From jameslewes at comcast.net Wed Sep 11 16:20:00 2002 From: jameslewes at comcast.net (james lewes) Date: Wed Sep 11 16:20:00 2002 Subject: Using Midi In-Reply-To: <20020911194802.93604.qmail@web11908.mail.yahoo.com> Message-ID: I have gotten the midi file into quicktime, what I am still unsure about is how to get the midi to loop. > From: Jan Schenkel > Reply-To: use-revolution at lists.runrev.com > Date: Wed, 11 Sep 2002 12:48:02 -0700 (PDT) > To: use-revolution at lists.runrev.com > Subject: Re: Using Midi > > Hi James, > > Erm, in that case I'd say the midi file is somehow > incorrect. QuickTime has had built-in midi-support > since version 2.0, and I've never had any problems > with it -- with the possible exception of them > changing the sounds between versions, rendering some > midi files weird-sounding, but that's an entirely > different story.. > > Best regards, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > --- james lewes wrote: >> What happens if one cannot play the midi in >> quicktime player >> >>> From: Jan Schenkel >>> Reply-To: use-revolution at lists.runrev.com >>> Date: Wed, 11 Sep 2002 09:14:58 -0700 (PDT) >>> To: use-revolution at lists.runrev.com >>> Subject: Re: Using Midi >>> >>> Hi James, >>> >>> Heh, what I meant was: test if the midi file works >> in >>> QT player ;-) >>> If so, all you need to do is create a "QuickTime >>> player" control in your stack, using the bottom >> right >>> tool in the tool palette. >>> Then, in the "Properties" window, select the >> "Basic" >>> tab and set the name of the player control to >> "midi". >>> Then, in the "Properties" window, select the >> "Player" >>> tab and click on the "Browse" button next to the >> "File >>> Path:" field. >>> Locate your midi file, open the message window and >>> type: >>> start player "midi" >>> >>> That should get you on your way... >>> >>> Best regards, >>> >>> Jan Schenkel. >>> >>> "As we grow older, we grow both wiser and more >> foolish >>> at the same time." (De Rochefoucald) >>> >>> --- james lewes wrote: >>>> The Client wants it to loop as soon as the stack >>>> loads. Should I import the >>>> player into the stack. If that is the case how do >> I >>>> script for the stack to >>>> first open windows media player / or quicktime >>>> player then tell it to play >>>> the midi file as loop >>>> james >>>> >>>>> From: Jan Schenkel >>>>> Reply-To: use-revolution at lists.runrev.com >>>>> Date: Wed, 11 Sep 2002 08:43:41 -0700 (PDT) >>>>> To: use-revolution at lists.runrev.com >>>>> Subject: Re: Using Midi >>>>> >>>>> Hi James, >>>>> >>>>> Have you tried playing this midi file straight >>>> from >>>>> QuickTime Player or Windows Media Player? >>>>> If so, try and use it via a player object. >>>>> >>>>> Best regards, >>>>> >>>>> Jan Schenkel. >>>>> >>>>> "As we grow older, we grow both wiser and more >>>> foolish >>>>> at the same time." (De Rochefoucald) >>>>> >>>>> --- james lewes wrote: >>>>>> I have tried importing a midi file as an audio >>>> clip >>>>>> but all I get is a holy >>>>>> hellish scratching. Anybody know how to make a >>>> midi >>>>>> file usable. >>>>>> >>>>>> James >>>>>> >>>>>> _______________________________________________ >>>>>> use-revolution mailing list >>>>>> use-revolution at lists.runrev.com >>>>>> >>>>> >>>> >>> >> > http://lists.runrev.com/mailman/listinfo/use-revolution >>>>> >>>>> >>>>> >> __________________________________________________ >>>>> Yahoo! - We Remember >>>>> 9-11: A tribute to the more than 3,000 lives >> lost >>>>> http://dir.remember.yahoo.com/tribute >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> >>>> >>> >> > http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> >>> >> > http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> __________________________________________________ >>> Yahoo! - We Remember >>> 9-11: A tribute to the more than 3,000 lives lost >>> http://dir.remember.yahoo.com/tribute >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> >> > http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> > http://lists.runrev.com/mailman/listinfo/use-revolution > > > __________________________________________________ > Yahoo! - We Remember > 9-11: A tribute to the more than 3,000 lives lost > http://dir.remember.yahoo.com/tribute > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jameslewes at comcast.net Wed Sep 11 16:21:01 2002 From: jameslewes at comcast.net (james lewes) Date: Wed Sep 11 16:21:01 2002 Subject: Using Midi In-Reply-To: <20020911194802.93604.qmail@web11908.mail.yahoo.com> Message-ID: My earlier problewm was caused by the fact that the midi files were defaulting to macamp files > From: Jan Schenkel > Reply-To: use-revolution at lists.runrev.com > Date: Wed, 11 Sep 2002 12:48:02 -0700 (PDT) > To: use-revolution at lists.runrev.com > Subject: Re: Using Midi > > Hi James, > > Erm, in that case I'd say the midi file is somehow > incorrect. QuickTime has had built-in midi-support > since version 2.0, and I've never had any problems > with it -- with the possible exception of them > changing the sounds between versions, rendering some > midi files weird-sounding, but that's an entirely > different story.. > > Best regards, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > --- james lewes wrote: >> What happens if one cannot play the midi in >> quicktime player >> >>> From: Jan Schenkel >>> Reply-To: use-revolution at lists.runrev.com >>> Date: Wed, 11 Sep 2002 09:14:58 -0700 (PDT) >>> To: use-revolution at lists.runrev.com >>> Subject: Re: Using Midi >>> >>> Hi James, >>> >>> Heh, what I meant was: test if the midi file works >> in >>> QT player ;-) >>> If so, all you need to do is create a "QuickTime >>> player" control in your stack, using the bottom >> right >>> tool in the tool palette. >>> Then, in the "Properties" window, select the >> "Basic" >>> tab and set the name of the player control to >> "midi". >>> Then, in the "Properties" window, select the >> "Player" >>> tab and click on the "Browse" button next to the >> "File >>> Path:" field. >>> Locate your midi file, open the message window and >>> type: >>> start player "midi" >>> >>> That should get you on your way... >>> >>> Best regards, >>> >>> Jan Schenkel. >>> >>> "As we grow older, we grow both wiser and more >> foolish >>> at the same time." (De Rochefoucald) >>> >>> --- james lewes wrote: >>>> The Client wants it to loop as soon as the stack >>>> loads. Should I import the >>>> player into the stack. If that is the case how do >> I >>>> script for the stack to >>>> first open windows media player / or quicktime >>>> player then tell it to play >>>> the midi file as loop >>>> james >>>> >>>>> From: Jan Schenkel >>>>> Reply-To: use-revolution at lists.runrev.com >>>>> Date: Wed, 11 Sep 2002 08:43:41 -0700 (PDT) >>>>> To: use-revolution at lists.runrev.com >>>>> Subject: Re: Using Midi >>>>> >>>>> Hi James, >>>>> >>>>> Have you tried playing this midi file straight >>>> from >>>>> QuickTime Player or Windows Media Player? >>>>> If so, try and use it via a player object. >>>>> >>>>> Best regards, >>>>> >>>>> Jan Schenkel. >>>>> >>>>> "As we grow older, we grow both wiser and more >>>> foolish >>>>> at the same time." (De Rochefoucald) >>>>> >>>>> --- james lewes wrote: >>>>>> I have tried importing a midi file as an audio >>>> clip >>>>>> but all I get is a holy >>>>>> hellish scratching. Anybody know how to make a >>>> midi >>>>>> file usable. >>>>>> >>>>>> James >>>>>> >>>>>> _______________________________________________ >>>>>> use-revolution mailing list >>>>>> use-revolution at lists.runrev.com >>>>>> >>>>> >>>> >>> >> > http://lists.runrev.com/mailman/listinfo/use-revolution >>>>> >>>>> >>>>> >> __________________________________________________ >>>>> Yahoo! - We Remember >>>>> 9-11: A tribute to the more than 3,000 lives >> lost >>>>> http://dir.remember.yahoo.com/tribute >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> >>>> >>> >> > http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> >>> >> > http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> __________________________________________________ >>> Yahoo! - We Remember >>> 9-11: A tribute to the more than 3,000 lives lost >>> http://dir.remember.yahoo.com/tribute >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> >> > http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> > http://lists.runrev.com/mailman/listinfo/use-revolution > > > __________________________________________________ > Yahoo! - We Remember > 9-11: A tribute to the more than 3,000 lives lost > http://dir.remember.yahoo.com/tribute > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Wed Sep 11 16:28:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed Sep 11 16:28:01 2002 Subject: Using Midi In-Reply-To: Message-ID: Does it need to be a midi file? Can you not convert it to something that doesn't sound like mating wildebeasts? Judy Perry On Wed, 11 Sep 2002, james lewes wrote: > What happens if one cannot play the midi in quicktime player > > > From: Jan Schenkel > > Reply-To: use-revolution at lists.runrev.com > > Date: Wed, 11 Sep 2002 09:14:58 -0700 (PDT) > > To: use-revolution at lists.runrev.com > > Subject: Re: Using Midi > > > > Hi James, > > > > Heh, what I meant was: test if the midi file works in > > QT player ;-) > > If so, all you need to do is create a "QuickTime > > player" control in your stack, using the bottom right > > tool in the tool palette. > > Then, in the "Properties" window, select the "Basic" > > tab and set the name of the player control to "midi". > > Then, in the "Properties" window, select the "Player" > > tab and click on the "Browse" button next to the "File > > Path:" field. > > Locate your midi file, open the message window and > > type: > > start player "midi" > > > > That should get you on your way... > > > > Best regards, > > > > Jan Schenkel. > > > > "As we grow older, we grow both wiser and more foolish > > at the same time." (De Rochefoucald) > > > > --- james lewes wrote: > >> The Client wants it to loop as soon as the stack > >> loads. Should I import the > >> player into the stack. If that is the case how do I > >> script for the stack to > >> first open windows media player / or quicktime > >> player then tell it to play > >> the midi file as loop > >> james > >> > >>> From: Jan Schenkel > >>> Reply-To: use-revolution at lists.runrev.com > >>> Date: Wed, 11 Sep 2002 08:43:41 -0700 (PDT) > >>> To: use-revolution at lists.runrev.com > >>> Subject: Re: Using Midi > >>> > >>> Hi James, > >>> > >>> Have you tried playing this midi file straight > >> from > >>> QuickTime Player or Windows Media Player? > >>> If so, try and use it via a player object. > >>> > >>> Best regards, > >>> > >>> Jan Schenkel. > >>> > >>> "As we grow older, we grow both wiser and more > >> foolish > >>> at the same time." (De Rochefoucald) > >>> > >>> --- james lewes wrote: > >>>> I have tried importing a midi file as an audio > >> clip > >>>> but all I get is a holy > >>>> hellish scratching. Anybody know how to make a > >> midi > >>>> file usable. > >>>> > >>>> James > >>>> > >>>> _______________________________________________ > >>>> use-revolution mailing list > >>>> use-revolution at lists.runrev.com > >>>> > >>> > >> > > http://lists.runrev.com/mailman/listinfo/use-revolution > >>> > >>> > >>> __________________________________________________ > >>> Yahoo! - We Remember > >>> 9-11: A tribute to the more than 3,000 lives lost > >>> http://dir.remember.yahoo.com/tribute > >>> _______________________________________________ > >>> use-revolution mailing list > >>> use-revolution at lists.runrev.com > >>> > >> > > http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > __________________________________________________ > > Yahoo! - We Remember > > 9-11: A tribute to the more than 3,000 lives lost > > http://dir.remember.yahoo.com/tribute > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rcozens at pon.net Wed Sep 11 17:02:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Sep 11 17:02:01 2002 Subject: The age of user-translatable applications software has arrived! In-Reply-To: <15EC3C7C-C5CB-11D6-8218-000393598038@dvkconsult.com.au> References: <15EC3C7C-C5CB-11D6-8218-000393598038@dvkconsult.com.au> Message-ID: >The problem was, as Klaus said, the full stop character at the end. >If it works for you then I guess we have discovered that our >browsers behave differently when they see that on the end of the URL. Thanks, David. I was testing from Eudora, which does not show the "." underscored or have a problem finding the URL. I'll try to remember to refrain from ending a sentence with a terminating URL+"." -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 jameslewes at comcast.net Wed Sep 11 18:04:01 2002 From: jameslewes at comcast.net (james lewes) Date: Wed Sep 11 18:04:01 2002 Subject: Using Midi In-Reply-To: Message-ID: I translated the file, via quicktime, to an aiff file but it grew from a 52k file to a 22 meg file which takes forever to load. I have it imported as an midi file but the file cuts out when I go to the second card > From: Judy Perry > Reply-To: use-revolution at lists.runrev.com > Date: Wed, 11 Sep 2002 14:27:09 -0700 (PDT) > To: use-revolution at lists.runrev.com > Subject: Re: Using Midi > > Does it need to be a midi file? Can you not convert it to something that > doesn't sound like mating wildebeasts? > > Judy Perry > > On Wed, 11 Sep 2002, james lewes wrote: > >> What happens if one cannot play the midi in quicktime player >> >>> From: Jan Schenkel >>> Reply-To: use-revolution at lists.runrev.com >>> Date: Wed, 11 Sep 2002 09:14:58 -0700 (PDT) >>> To: use-revolution at lists.runrev.com >>> Subject: Re: Using Midi >>> >>> Hi James, >>> >>> Heh, what I meant was: test if the midi file works in >>> QT player ;-) >>> If so, all you need to do is create a "QuickTime >>> player" control in your stack, using the bottom right >>> tool in the tool palette. >>> Then, in the "Properties" window, select the "Basic" >>> tab and set the name of the player control to "midi". >>> Then, in the "Properties" window, select the "Player" >>> tab and click on the "Browse" button next to the "File >>> Path:" field. >>> Locate your midi file, open the message window and >>> type: >>> start player "midi" >>> >>> That should get you on your way... >>> >>> Best regards, >>> >>> Jan Schenkel. >>> >>> "As we grow older, we grow both wiser and more foolish >>> at the same time." (De Rochefoucald) >>> >>> --- james lewes wrote: >>>> The Client wants it to loop as soon as the stack >>>> loads. Should I import the >>>> player into the stack. If that is the case how do I >>>> script for the stack to >>>> first open windows media player / or quicktime >>>> player then tell it to play >>>> the midi file as loop >>>> james >>>> >>>>> From: Jan Schenkel >>>>> Reply-To: use-revolution at lists.runrev.com >>>>> Date: Wed, 11 Sep 2002 08:43:41 -0700 (PDT) >>>>> To: use-revolution at lists.runrev.com >>>>> Subject: Re: Using Midi >>>>> >>>>> Hi James, >>>>> >>>>> Have you tried playing this midi file straight >>>> from >>>>> QuickTime Player or Windows Media Player? >>>>> If so, try and use it via a player object. >>>>> >>>>> Best regards, >>>>> >>>>> Jan Schenkel. >>>>> >>>>> "As we grow older, we grow both wiser and more >>>> foolish >>>>> at the same time." (De Rochefoucald) >>>>> >>>>> --- james lewes wrote: >>>>>> I have tried importing a midi file as an audio >>>> clip >>>>>> but all I get is a holy >>>>>> hellish scratching. Anybody know how to make a >>>> midi >>>>>> file usable. >>>>>> >>>>>> James >>>>>> >>>>>> _______________________________________________ >>>>>> use-revolution mailing list >>>>>> use-revolution at lists.runrev.com >>>>>> >>>>> >>>> >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>> >>>>> >>>>> __________________________________________________ >>>>> Yahoo! - We Remember >>>>> 9-11: A tribute to the more than 3,000 lives lost >>>>> http://dir.remember.yahoo.com/tribute >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> >>>> >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> __________________________________________________ >>> Yahoo! - We Remember >>> 9-11: A tribute to the more than 3,000 lives lost >>> http://dir.remember.yahoo.com/tribute >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From steve at messimercomputing.com Wed Sep 11 20:20:00 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Wed Sep 11 20:20:00 2002 Subject: plug-in question Message-ID: Klaus, Thnaks for the suggestion about closing the stack instead of quitting. I thought about that but chose not to do it because I thought that lug-ins somehow acted diffently than stacks when theu were in memory. I'll give that a try as it will indeed be a bit gentler than quitting. Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From chipp at chipp.com Wed Sep 11 20:25:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Wed Sep 11 20:25:01 2002 Subject: VS: The age of user-translatable applications software has arrived! In-Reply-To: Message-ID: Rob, I've never encountered any problems with .zip files on PC's. In fact, I went to your site, but decided not to download the files because I wasn't sure how to un-hqx the files ;-) -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Rob Cozens > Sent: Wednesday, September 11, 2002 9:21 AM > To: use-revolution at lists.runrev.com > Subject: Re: VS: The age of user-translatable applications software has > arrived! > > > >Hmm why hqx in there. Why just *.sit/sea for Mac and *.zip for > >Windows? More easier that way I think. > > Hi Esak, > > I don't know about the stability of Windows self-expanding archives; > but I can tell you from experience, .sea files do not always download > correctly when transferred across the 'Net. So far as I know, > BinHexed files never get corrupted; so I err on the side of caution. > -- > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.com/who.htm > > "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) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Wed Sep 11 20:25:08 2002 From: chipp at chipp.com (Chipp Walters) Date: Wed Sep 11 20:25:08 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: Message-ID: > Troy Rollins wrote: > > > But I still want to know why Jim wants to change the past... ;-) > > > Who Controls the Past Controls the Future. > > - Orwell, "Nineteen Eighty Four" > > > -- > Richard Gaskin > And who controls today controls the Past -Mr. Orwell again... -Chipp From chipp at chipp.com Wed Sep 11 21:58:10 2002 From: chipp at chipp.com (Chipp Walters) Date: Wed Sep 11 21:58:10 2002 Subject: plug-in question In-Reply-To: Message-ID: Steve, If you name your plugin "revSomething" like "revMessimer" or "revSteve" when it loads it will not be displayed in the Application Overview. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Steve > Messimer > Sent: Wednesday, September 11, 2002 8:19 PM > To: use-revolution at lists.runrev.com > Subject: re:plug-in question > > > Klaus, > > Thnaks for the suggestion about closing the stack instead of quitting. I > thought about that but chose not to do it because I thought that lug-ins > somehow acted diffently than stacks when theu were in memory. > > I'll give that a try as it will indeed be a bit gentler than quitting. > > Steve > > Stephen R. Messimer > Messimer Computing, Inc > 208 1st Ave South > Escanaba, MI 49829 > www.messimercomputing.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jeanne at runrev.com Wed Sep 11 22:40:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Wed Sep 11 22:40:01 2002 Subject: plug-in question In-Reply-To: Message-ID: At 6:19 PM -0700 9/11/2002, Steve Messimer wrote: >Thnaks for the suggestion about closing the stack instead of quitting. I >thought about that but chose not to do it because I thought that lug-ins >somehow acted diffently than stacks when theu were in memory. No - they're just stacks. The only differences, functionally, are: - You have the option (via the Plugins Editor) to open them automatically. - You can arrange (ditto) to have Rev send them a message when certain messages are sent. There's no need to quit if you don't want to load a plugin - just close it (and, if its destroyStack isn't set to true, use the delete command to remove it from memory). -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From miscdas at boxfrog.com Thu Sep 12 02:15:01 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Thu Sep 12 02:15:01 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: References: Message-ID: <20020912071352.61014.qmail@www.boxfrog.com> Chipp Walters writes: >> Troy Rollins wrote: >> >> > But I still want to know why Jim wants to change the past... ;-) >> >> >> Who Controls the Past Controls the Future. >> >> - Orwell, "Nineteen Eighty Four" >> >> >> -- >> Richard Gaskin >> > > And who controls today controls the Past > > -Mr. Orwell again... > > -Chipp Hmmmm.. does this then make an endless loop? What about recursion? Does the world end when the recursion depth exceeds "memory" limits? miscdas From klaus.major at metascape.org Thu Sep 12 03:30:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Thu Sep 12 03:30:01 2002 Subject: Using Midi In-Reply-To: Message-ID: <50D0EA85-C629-11D6-84A4-003065D52E8E@metascape.org> Hi James, look like the beginning difficulties are kinda sorted out ;-) So we can see if we can solve your problem. > I translated the file, via quicktime, to an aiff file but it grew from > a 52k > file to a 22 meg file which takes forever to load. If you can live with the sound of the midi-file, you should use the 52k file :-) Thats the big advantage of midi-files, they are soooo small, filesize-wise ;-) > I have it imported as an midi file but the file cuts out when I go to > the > second card Do this: 1. Create a player-object 2. Set its filename to the midi-file 3. Select that player 4. Group it. (Yes, you can group a single object !!! In this case you even HAVE to...) 5. Check "Background Behaviour" on the "Group"-tab of the property-palette 6. click the "place" button in the application overview and select "place on all cards" So this group will be available on all cards in your stack and the player will not stop when you go to another card. Hope this helps... Regards Klaus Major klaus.major at metascape.org P.S. Good advice (not only for James ;-): Do not doubleclick a file, if you want it to be opened with a certain application. 1. Try to drag that file to the icon of the appropriate app. If it inverts, release the mouse and that app will open the file. (Works even on windows ;-) (On a mac, too, of course ;-) 2. Or, this will always work !!!, lauch the "certain" application and choose "Open" in the menu "File". If that "Certain" app can handle the file, it will shop up in the "open"-dialog !!! From matt.denton at limelight.com.au Thu Sep 12 05:30:01 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Thu Sep 12 05:30:01 2002 Subject: Creating a Catalog of a CD In-Reply-To: <200209112024.QAA14732@www.runrev.com> Message-ID: <60BB48A6-C63A-11D6-88C3-000393924880@limelight.com.au> Hey-ya all, I'm onto a new project, after fabulous success with our last little Rev project, just love Rev, don't you!?? I've learnt to plan at first, build smaller projects (not one big Ben Hurr), then glue them together. I'm looking to do my own small catalog system, nothing fancy, just want as part of another app, a small tool that scans the entire directory/catalog of a CDs and prepares for presentation and searching. I'm sure many have come across this, I've done a quick search of the archives but no notes that I could see. I'm seeking caveats and tips: how best to store b-tree data? Should I be using Valentina or other DB (we may have up to 100 CDs to catalog)? Should I store in an external text file file? I'm using the 'long files' and folders version, should I parse and store each item in an array or just items in a list? Or stored away in a database? Sorry if I'm ignorant of the best approach, I'm really looking for some help to save me falling over late into the night as I discover the best way NOT to do something... I've been down that path, sometimes it is fun (always a good 'earn-ing' experience), but mostly painful. Many thanks again, one day this very part-time Rev business will turn a corner to more full time! M@ Matt Denton From jameslewes at comcast.net Thu Sep 12 07:12:01 2002 From: jameslewes at comcast.net (james lewes) Date: Thu Sep 12 07:12:01 2002 Subject: Using Midi In-Reply-To: Message-ID: I tried placing the midi file on a substack and get around the fact that the midi would not play continuously. Unfortunately I cannot get the stack with the midi file to open > From: james lewes > Reply-To: use-revolution at lists.runrev.com > Date: Wed, 11 Sep 2002 19:02:10 -0400 > To: use-revolution at lists.runrev.com > Subject: Re: Using Midi > > I translated the file, via quicktime, to an aiff file but it grew from a 52k > file to a 22 meg file which takes forever to load. > > I have it imported as an midi file but the file cuts out when I go to the > second card > >> From: Judy Perry >> Reply-To: use-revolution at lists.runrev.com >> Date: Wed, 11 Sep 2002 14:27:09 -0700 (PDT) >> To: use-revolution at lists.runrev.com >> Subject: Re: Using Midi >> >> Does it need to be a midi file? Can you not convert it to something that >> doesn't sound like mating wildebeasts? >> >> Judy Perry >> >> On Wed, 11 Sep 2002, james lewes wrote: >> >>> What happens if one cannot play the midi in quicktime player >>> >>>> From: Jan Schenkel >>>> Reply-To: use-revolution at lists.runrev.com >>>> Date: Wed, 11 Sep 2002 09:14:58 -0700 (PDT) >>>> To: use-revolution at lists.runrev.com >>>> Subject: Re: Using Midi >>>> >>>> Hi James, >>>> >>>> Heh, what I meant was: test if the midi file works in >>>> QT player ;-) >>>> If so, all you need to do is create a "QuickTime >>>> player" control in your stack, using the bottom right >>>> tool in the tool palette. >>>> Then, in the "Properties" window, select the "Basic" >>>> tab and set the name of the player control to "midi". >>>> Then, in the "Properties" window, select the "Player" >>>> tab and click on the "Browse" button next to the "File >>>> Path:" field. >>>> Locate your midi file, open the message window and >>>> type: >>>> start player "midi" >>>> >>>> That should get you on your way... >>>> >>>> Best regards, >>>> >>>> Jan Schenkel. >>>> >>>> "As we grow older, we grow both wiser and more foolish >>>> at the same time." (De Rochefoucald) >>>> >>>> --- james lewes wrote: >>>>> The Client wants it to loop as soon as the stack >>>>> loads. Should I import the >>>>> player into the stack. If that is the case how do I >>>>> script for the stack to >>>>> first open windows media player / or quicktime >>>>> player then tell it to play >>>>> the midi file as loop >>>>> james >>>>> >>>>>> From: Jan Schenkel >>>>>> Reply-To: use-revolution at lists.runrev.com >>>>>> Date: Wed, 11 Sep 2002 08:43:41 -0700 (PDT) >>>>>> To: use-revolution at lists.runrev.com >>>>>> Subject: Re: Using Midi >>>>>> >>>>>> Hi James, >>>>>> >>>>>> Have you tried playing this midi file straight >>>>> from >>>>>> QuickTime Player or Windows Media Player? >>>>>> If so, try and use it via a player object. >>>>>> >>>>>> Best regards, >>>>>> >>>>>> Jan Schenkel. >>>>>> >>>>>> "As we grow older, we grow both wiser and more >>>>> foolish >>>>>> at the same time." (De Rochefoucald) >>>>>> >>>>>> --- james lewes wrote: >>>>>>> I have tried importing a midi file as an audio >>>>> clip >>>>>>> but all I get is a holy >>>>>>> hellish scratching. Anybody know how to make a >>>>> midi >>>>>>> file usable. >>>>>>> >>>>>>> James >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-revolution mailing list >>>>>>> use-revolution at lists.runrev.com >>>>>>> >>>>>> >>>>> >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>>> >>>>>> >>>>>> __________________________________________________ >>>>>> Yahoo! - We Remember >>>>>> 9-11: A tribute to the more than 3,000 lives lost >>>>>> http://dir.remember.yahoo.com/tribute >>>>>> _______________________________________________ >>>>>> use-revolution mailing list >>>>>> use-revolution at lists.runrev.com >>>>>> >>>>> >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>> >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>>> >>>> __________________________________________________ >>>> Yahoo! - We Remember >>>> 9-11: A tribute to the more than 3,000 lives lost >>>> http://dir.remember.yahoo.com/tribute >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus.major at metascape.org Thu Sep 12 08:11:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Thu Sep 12 08:11:01 2002 Subject: Using Midi In-Reply-To: Message-ID: <9F2E9AF0-C650-11D6-84A4-003065D52E8E@metascape.org> Hi James, looks like you are the "most quoting" person of the day... (7 levels deep, not too bad ;-) > I tried placing the midi file on a substack and get around the fact > that the > midi would not play continuously. Unfortunately I cannot get the stack > with > the midi file to open What did you do to open that stack ? Try to type this into the messagebox: toplevel "name of the stack with the midi-file" and hit "Return". This way that stack will appear again. But you still have the midi-file, do you ? First of all: Don't panic !!! Take a deep breath and start again... Regards Klaus Major klaus.major at metascape.org P.S. Don't get me wrong, but do you read our advices carefully enough ? Everything i post to this list, i doublecheck here first and make sure it is working... From rcozens at pon.net Thu Sep 12 09:12:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 12 09:12:01 2002 Subject: VS: The age of user-translatable applications software has arrived! In-Reply-To: References: Message-ID: >I went >to your site, but decided not to download the files because I wasn't sure >how to un-hqx the files ;-) Chipp, et al: You mean your web browser doesn't automatically unBinHex .hqx files on downloading? What browser are you using? I thought all browsers were BinHex compliant. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 troy at rpsystems.net Thu Sep 12 09:23:00 2002 From: troy at rpsystems.net (Troy Rollins) Date: Thu Sep 12 09:23:00 2002 Subject: The age of user-translatable applications software has arrived! In-Reply-To: Message-ID: <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> On Thursday, September 12, 2002, at 10:07 AM, Rob Cozens wrote: > You mean your web browser doesn't automatically unBinHex .hqx files on > downloading? What browser are you using? I thought all browsers were > BinHex compliant. I don't think browsers are compliant with any compression technology - at least until you install some decompression utility which registers itself as a helper. Of course, stuffitExpander is free for both Mac and PC, and handles BinHex quite nicely - and even sets itself up as a helper app for the browser. -- Troy RPSystems, LTD www.rpsystems.net From klaus.major at metascape.org Thu Sep 12 09:45:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Thu Sep 12 09:45:01 2002 Subject: The age of user-translatable applications software has arrived! In-Reply-To: <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> Message-ID: Hi Troy and Rob, > On Thursday, September 12, 2002, at 10:07 AM, Rob Cozens wrote: > >> You mean your web browser doesn't automatically unBinHex .hqx files >> on downloading? What browser are you using? I thought all browsers >> were BinHex compliant. > > I don't think browsers are compliant with any compression technology - > at least until you install some decompression utility which registers > itself as a helper. > > Of course, stuffitExpander is free for both Mac and PC, and handles > BinHex quite nicely - and even sets itself up as a helper app for the > browser. > > -- > Troy > RPSystems, LTD > www.rpsystems.net if i remember well, there was once/is still an issue with possible mac-viri inside .hqx or disgused as .hqx-files. Therefore several mac-websites adviced to turn off this "feature" of decompressing these files. One might have forgotten this fact but has still set this option in his browser... I remember i had turned that feature off in my IE. Regards Klaus Major klaus.major at metascape.org From rcozens at pon.net Thu Sep 12 10:03:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 12 10:03:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> References: <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> Message-ID: >I don't think browsers are compliant with any compression technology >- at least until you install some decompression utility which >registers itself as a helper. Troy, et al: BinHex is NOT a compression routine, but a translation routine (it actually expands file sizes. It basically (someone correct me if I'm wrong) translates binary data into text to ensure data integrity during Internet transfers, and on Macs it makes sure the resource fork gets installed correctly. Perhaps a general discussion of the best techniques for distributing Rev stacks is in order. From my experience on Mac OS, Netscape & IE will automatically unBinHex any downloaded .hqx file. It's been years since I used AOL's browser; but I believe it is BinHex compliant as well. Have you tried downloading a BinHexed file from your browser without any special setup or "registration"? There are two different distribution issues for me: What format should be used to present bundled files? What format should be used to present individual stacks? File bundles, so far as I can see, must be specific to to the platform. On Macs .sit files are NOT acceptable, because .sits are version specific: if the downloader has the wrong version of StuffIt, the archive won't expand. So I use self-expanding archives (.sea); however .seas don't always get downloaded correctly, whereas I have NEVER had a downloader report a problem with BinHexed files. Perhaps all Windows .zips are version independent (you tell me). I am, rightly or wrongly, applying lessons from Mac OS to Windows in selecting a WinZip self-expanding archive and BinHexing it. I have no idea how to bundle files for Unix, which is one reason the ftp site lists individual files in addition to bundles...the other reason is so people can update individual Library components without having to download the whole enchilada. Now when it comes to individual stacks, I want ONE format that can be used to download to any platform. I believe BinHex is that format. If I am wrong, what do others suggest? A few years ago I read an article that suggested BinHex was the ONLY 100% safe format for Internet file transfer. Would others care to comment? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rcozens at pon.net Thu Sep 12 10:15:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 12 10:15:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: References: Message-ID: >if i remember well, there was once/is still an issue with possible >mac-viri inside .hqx or disgused as .hqx-files. Klaus, et al: I hope this will generate more discussion so we can separate rumors from experience, which is why I started a new thread. I can only tell you that for some time I uploaded Mac files as .seas and found it to work fine. Then someone mentioned it wasn't 100% safe, and subsequently one or more people reported problems with downloads; so I switched to BinHexed archives and no one has reported any problems since. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 troy at rpsystems.net Thu Sep 12 10:42:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Thu Sep 12 10:42:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: Message-ID: On Thursday, September 12, 2002, at 11:01 AM, Rob Cozens wrote: > Now when it comes to individual stacks, I want ONE format that can be > used to download to any platform. I believe BinHex is that format. If > I am wrong, what do others suggest? A few years ago I read an article > that suggested BinHex was the ONLY 100% safe format for Internet file > transfer. Would others care to comment? Most Windows users have never heard of BinHex as a wrapper for a compressed file, or otherwise. Most browsers do not automatically unBinHex them, in my experience. Not even on my Mac. I'm not at all sure what single format could be used, save perhaps .zip. Zip is the only compression scheme that Windows users are almost universally familiar with. Mac users understand Zip, Sit, Sea or hqx. My two cents. :) -- Troy RPSystems, LTD www.rpsystems.net From kray at sonsothunder.com Thu Sep 12 12:07:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 12 12:07:00 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... References: <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> Message-ID: <002b01c25a7d$fc7f53d0$6f00a8c0@mckinley.dom> Rob, > On Macs .sit files are NOT acceptable, because .sits are version > specific: if the downloader has the wrong version of StuffIt, the > archive won't expand. So I use self-expanding archives (.sea); > however .seas don't always get downloaded correctly, whereas I have > NEVER had a downloader report a problem with BinHexed files. I used to have than problem too, until I discovered that if you add a .bin at the end of the .sea, it downloads just fine - like 'myapp.sea.bin'. The browser strips off the .bin during the download and deposits the 'myapp.sea' file on the desktop (or wherever the download location is). In general, I usually provide .sea and .exe files, and let the user click on the "download for mac" or "download for windows" links. Just my 0.02, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From miscdas at boxfrog.com Thu Sep 12 12:30:00 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Thu Sep 12 12:30:00 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: References: Message-ID: <20020912172930.5482.qmail@www.boxfrog.com> Troy Rollins writes: > On Thursday, September 12, 2002, at 11:01 AM, Rob Cozens wrote: Most Windows users have never heard of BinHex as a wrapper for a compressed file, or otherwise. Most browsers do not automatically unBinHex them, in my experience. Not even on my Mac. I'm not at all sure what single format could be used, save perhaps .zip. Zip is the only compression scheme that Windows users are almost universally familiar with. Mac users understand Zip, Sit, Sea or hqx. > My two cents. :) > -- > Troy ========== I am a Windoze user. I never heard of BinHex format before this thread. ZIP files are closest to "universally" acceptable to Win users. However, I assure you that there are people out there that don't have a ZIP decompressor installed! Therefore, I suggest a self-extracting EXE compressed file. Then, it makes no difference how it was compressed and alleviates a requirement for a decompressor; it decompresses just by running the EXE. WinZip and WinRar are just 2 examples of popular apps for Win OS that will produce a compressed self-extracting EXE. miscdas From rcozens at pon.net Thu Sep 12 13:14:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 12 13:14:00 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: References: Message-ID: >I'm not at all sure what single format could be used Troy, et al: IMFO, the situation almost audibly cries out for a Transcript/MetaTalk solution: An app that creates a single file containing all the folders/files in a specified folder, compresses it, translates it (if necessary) to 'Net-safe characters, and can unbundle such a file at the other end. Such an app could probably serve as an installer as well. It doesn't seem like too big a job at first blush...cycling through all nested folders and files is probably the most difficult task. I could live with a restriction to one or two levels of nested folders. I am shifting my focus from Serendipity Library to rewriting my HyperCard application, OenoLog; so I don't have the time to pursue this personally (except possibly participating in a group effort). I would be willing to pay for such a utility if it were available. Since we can write one stack that will run on various platforms, it would be nice to be able to create one file that could deliver our work (at least individual stacks and associated files) to all supported platforms. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rcozens at pon.net Thu Sep 12 13:14:23 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 12 13:14:23 2002 Subject: VS: The age of user-translatable applications software has arrived! Message-ID: >I went >to your site, but decided not to download the files because I wasn't sure >how to un-hqx the files ;-) Chipp, et al: http://www.oenolog.com/ftp/serendipity_downloader.htm [no trailing "."] now delivers the Windows bundle as a .exe. I'm leaving the individual files BinHexed until I have a better understanding of the needs of the Unix community. BTW, English Reference Text.sdb has a new Translation Primer chapter in the Appendix, and the mute feedback from field "Table of Contents" of card "Chapter Info" is fixed in Serendipity Reference.rev. Apparently the interpreter didn't like 'audioClick "click.au"' but didn't bother to tell me why the audioClip wasn't playing. Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 troy at rpsystems.net Thu Sep 12 13:20:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Thu Sep 12 13:20:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: Message-ID: <26B99004-C67C-11D6-8851-000393853D6C@rpsystems.net> On Thursday, September 12, 2002, at 02:04 PM, Rob Cozens wrote: > An app that creates a single file containing all the folders/files in a > specified folder, compresses it, translates it (if necessary) to > 'Net-safe characters, and can unbundle such a file at the other end. > Such an app could probably serve as an installer as well. The problem is - such an app, would indeed be an app. An application. Built with the builder. For each platform. How, exactly, would we then distribute that one? It can be done, but there would need to be a separate version for every platform. ;-) -- Troy RPSystems, LTD www.rpsystems.net From rcozens at pon.net Thu Sep 12 13:28:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 12 13:28:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: <20020912172930.5482.qmail@www.boxfrog.com> References: <20020912172930.5482.qmail@www.boxfrog.com> Message-ID: >I'm not at all sure what single format could be used, save perhaps .zip. >Zip is the only compression scheme that Windows users are almost >universally familiar with. Mac users understand Zip, Sit, Sea or hqx. Troy, et al: Does the .zip format have any connection with the "gzip" format used by rev's compress/decompress functions? Is it the same format that Stuffit uses on the Mac if a new archive is named with a ".zip" extension? ... or if one selects "Unix Compress" translation? Can the StuffIt .zip be opened on windows? Having said that, I agree with the comment that a .exe is more universal. Ken, thanks for your suggestion for Mac archives. I'll probably try it on the next update of the downloader page; but I want to resolve issues re: Unix before I do the next update. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rcozens at pon.net Thu Sep 12 13:33:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 12 13:33:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: <26B99004-C67C-11D6-8851-000393853D6C@rpsystems.net> References: <26B99004-C67C-11D6-8851-000393853D6C@rpsystems.net> Message-ID: >The problem is - such an app, would indeed be an app. Troy, et al: It would if it were to work as an installer; but as a tool for sharing/distributing stacks with other developers, it could be a stack...even one [are you listening Kevin] that could be distributed with the RunRev developer package. Developers could run the stack interpretively or build a standalone. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 scott at tactilemedia.com Thu Sep 12 13:58:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Sep 12 13:58:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: Message-ID: > Since we can write one stack that will run on various platforms, it > would be nice to be able to create one file that could deliver our > work (at least individual stacks and associated files) to all > supported platforms. I have to say, I'm not following the logic of this thread. Sure, you can run the same stack on different platforms, but you need platform-specific engines to view those stacks. There is currently no such thing as a universal application (unless maybe you include some Java thing but even then I would think you need a platform specific engine/viewer). > I agree with the comment that a .exe is more universal. Except that exe files will not run on Mac systems. I would suggest delivering your stacks/projects in the format suited to each platform. If your deliverable consists of stacks only, then there's your universal format -- you just have to make sure a platform-specific engine is available on the receiving end. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Thu Sep 12 14:04:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Sep 12 14:04:00 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: Message-ID: Rob Cozens wrote: > Since we can write one stack that will run on various platforms, it > would be nice to be able to create one file that could deliver our > work (at least individual stacks and associated files) to all > supported platforms. Revolution supports gz built-in. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From jeanne at runrev.com Thu Sep 12 14:22:00 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Thu Sep 12 14:22:00 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: References: <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> Message-ID: At 8:01 AM -0700 9/12/2002, Rob Cozens wrote: >On Macs .sit files are NOT acceptable, because .sits are version >specific: if the downloader has the wrong version of StuffIt, the >archive won't expand. That seems a little notional to me; people use StuffIt all the time. If you're concerned about version incompatibility, you could always use a stuffer application that's a few versions old; the free StuffIt Expander is fully backward-compatible so newer versions would still work with it. A self-extracting archive is not only much larger, it's something some people will be wary of because of the virus issue (since it's an application, it can carry a virus payload), and it's completely platform-specific. >Now when it comes to individual stacks, I want ONE format that can be >used to download to any platform. I believe BinHex is that format. >If I am wrong, what do others suggest? A few years ago I read an >article that suggested BinHex was the ONLY 100% safe format for >Internet file transfer. Would others care to comment? Binhex translates from binary to ASCII (that is, the translation encodes the high bit, so all the characters are 7-bit ASCII instead of 8-bit) at the cost of increasing the file size by maybe 25%. That's the only thing it does. A few FTP servers still have trouble with 8-bit transfers. However, no web server I am aware of uses anything but an 8-bit channel to transfer files: HTTP is inherently 8-bit. So if you're putting a file on a web server for download, the only thing binhexing it does is 1) increase the download size and 2) confuse Windows and Unix users. I'd just zip or stuff the file. StuffIt Expander will handle unzipping, and of course there are umpteen Windows utilities for doing it. And there's a StuffIt Expander for Windows if you go that route. I think either way is practical. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From chipp at chipp.com Thu Sep 12 15:47:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 12 15:47:01 2002 Subject: ImageData Question... Message-ID: Ken, been looking at you excellent tutorial on imagedata. I'm trying to read the imagedata from one image, process it and set it to another image. Currently, I just want to read it into a variable, then convert it to RGB space, then convert it back and set the second image. I looked at your document and it says (under Retreiving Image Data): "So in our 3-pixel image example above (which we?ll call "ThreePixel"), if you executed... answer charToNum(char 6 of the imageData of image "ThreePixel") ... you would get 255 displayed in the Answer dialog, which would correspond to the Green bit of the second pixel of our image." it seems to me it would be the 6th character not the 7th, so it would be the Red not the Green. Am I missing something? Also, here's what I'm trying to do.It doesn't work -- any help would be appreciated. on putImage1intoImage2 put the imageData of Image1 into timagedata put 1 into y repeat with x = 1 to the number of chars in timagedata --convert to RGB space put charToNum(char x*y of timagedata) into t0 put charToNum(char x*y + 1 of timagedata) into tR put charToNum(char x*y + 2 of timagedata) into tG put charToNum(char x*y + 3 of timagedata) into tB put y+4 into y put binaryEncode("CCCC",t0,tR,tG,tB) after tconvData end repeat set the width of img 2 to the width of img 1 set the height of img 2 to the height of img 1 set the imagedata of img 2 to tconvdata end putImage1intoImage2 From mail at richard-hillen.de Thu Sep 12 16:01:00 2002 From: mail at richard-hillen.de (Richard Hillen) Date: Thu Sep 12 16:01:00 2002 Subject: Enter Key on Mac Powerbook Message-ID: <3D810048.A351C2F2@richard-hillen.de> Hello list, to use the multiline message box: where is the enter-key on my Powerbook G4? Richard. From troy at rpsystems.net Thu Sep 12 16:14:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Thu Sep 12 16:14:01 2002 Subject: Enter Key on Mac Powerbook In-Reply-To: <3D810048.A351C2F2@richard-hillen.de> Message-ID: <55072AD0-C694-11D6-8851-000393853D6C@rpsystems.net> On Thursday, September 12, 2002, at 04:59 PM, Richard Hillen wrote: > to use the multiline message box: where is the enter-key on my > Powerbook G4? To the right of the spacebar is a command/apple key, to the right of that, is the "enter" key. -- Troy RPSystems, LTD www.rpsystems.net From jperryl at ecs.fullerton.edu Thu Sep 12 16:14:11 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu Sep 12 16:14:11 2002 Subject: Enter Key on Mac Powerbook In-Reply-To: <3D810048.A351C2F2@richard-hillen.de> Message-ID: Hi Richard, I'm assuming it's a TiBook? If so, you use the "fn" key + "return" key. (The "fn" key is bottom left, next to "ctrl"). HTH, Judy On Thu, 12 Sep 2002, Richard Hillen wrote: > to use the multiline message box: where is the enter-key on my Powerbook G4? From chipp at chipp.com Thu Sep 12 16:17:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 12 16:17:01 2002 Subject: ImageData Question... In-Reply-To: Message-ID: Fixed my own problem... It turn out that on the PC, the RGB values are reversed... so, instead of 0,R,G,B it's B,G,R,0 order then a couple of optimizations and minor bugfixes... voila! this works. Ken, You might make a note on your webpage. on putImage1intoImage2 put the imageData of Image1 into timagedata put 1 into y repeat for each char C in timagedata --convert to RGB space put charToNum(char y of timagedata) into tB put charToNum(char y + 1 of timagedata) into tG put charToNum(char y + 2 of timagedata) into tR put charToNum(char y + 3 of timagedata) into t0 put y+4 into y put binaryEncode("CCCC",tB,tG,tR,t0) after tconvData end repeat set the width of img 2 to the width of img 1 set the height of img 2 to the height of img 1 set the imagedata of img 2 to tconvdata end putImage1intoImage2 From chipp at chipp.com Thu Sep 12 16:23:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 12 16:23:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: Message-ID: Rob, I don't know about Macs, but just use a plain .zip file for PC's. It works everytime;-) -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Rob Cozens > Sent: Thursday, September 12, 2002 10:01 AM > To: use-revolution at lists.runrev.com > Subject: Distributing Rev Stacks (was The age of user-translatable > applications... > > > >I don't think browsers are compliant with any compression technology > >- at least until you install some decompression utility which > >registers itself as a helper. > > Troy, et al: > > BinHex is NOT a compression routine, but a translation routine (it > actually expands file sizes. It basically (someone correct me if I'm > wrong) translates binary data into text to ensure data integrity > during Internet transfers, and on Macs it makes sure the resource > fork gets installed correctly. > > Perhaps a general discussion of the best techniques for distributing > Rev stacks is in order. From my experience on Mac OS, Netscape & IE > will automatically unBinHex any downloaded .hqx file. It's been > years since I used AOL's browser; but I believe it is BinHex > compliant as well. > > Have you tried downloading a BinHexed file from your browser without > any special setup or "registration"? > > There are two different distribution issues for me: > > What format should be used to present bundled files? > What format should be used to present individual stacks? > > File bundles, so far as I can see, must be specific to to the platform. > > On Macs .sit files are NOT acceptable, because .sits are version > specific: if the downloader has the wrong version of StuffIt, the > archive won't expand. So I use self-expanding archives (.sea); > however .seas don't always get downloaded correctly, whereas I have > NEVER had a downloader report a problem with BinHexed files. > > Perhaps all Windows .zips are version independent (you tell me). I > am, rightly or wrongly, applying lessons from Mac OS to Windows in > selecting a WinZip self-expanding archive and BinHexing it. > > I have no idea how to bundle files for Unix, which is one reason the > ftp site lists individual files in addition to bundles...the other > reason is so people can update individual Library components without > having to download the whole enchilada. > > Now when it comes to individual stacks, I want ONE format that can be > used to download to any platform. I believe BinHex is that format. > If I am wrong, what do others suggest? A few years ago I read an > article that suggested BinHex was the ONLY 100% safe format for > Internet file transfer. Would others care to comment? > -- > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.com/who.htm > > "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) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From paporter at rocketmail.com Thu Sep 12 16:35:01 2002 From: paporter at rocketmail.com (Paul A. Porter) Date: Thu Sep 12 16:35:01 2002 Subject: Trouble Printing Documentation Message-ID: <20020912213349.91902.qmail@web14101.mail.yahoo.com> Is anyone else having trouble printing pages from the documentation? When I click on the "Print" button on a page, card, stack, whatever it's called in Revolution, I am getting 2 lines of text on the first page one line of text on the second page and then back to two lines and then one line and so on. I'm on a network printer which is an HP LJ4V. Paul __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From jperryl at ecs.fullerton.edu Thu Sep 12 16:37:00 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu Sep 12 16:37:00 2002 Subject: Enter Key on Mac Powerbook In-Reply-To: <55072AD0-C694-11D6-8851-000393853D6C@rpsystems.net> Message-ID: Oh, yeah. Duhhhh. Better than my suggestion. Judy On Thu, 12 Sep 2002, Troy Rollins wrote: > To the right of the spacebar is a command/apple key, to the right of > that, is the "enter" key. From rcozens at pon.net Thu Sep 12 17:26:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 12 17:26:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: References: <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> Message-ID: > >On Macs .sit files are NOT acceptable, because .sits are version >>specific: if the downloader has the wrong version of StuffIt, the >>archive won't expand. > >That seems a little notional to me; people use StuffIt all the time. If >you're concerned about version incompatibility, you could always use a >stuffer application that's a few versions old; the free StuffIt Expander is >fully backward-compatible so newer versions would still work with it. It has not been so in my experience, Jeanne. Aladen, in their infinite wisdom does not make all new versions of StuffIt backwards compatable; so a .sit created by an older version cannot always be expanded by newer versions, and of course ones created by a newer version cannot be expanded by an older version. Frankly I was surprised to find it is the format used by MetaCard for Mac downloads (.zip & .exe for Win & .tar for Unix). At the height of my consulting business, I probably never had more than a dozen active clients at any one time, and I was ALWAYS running into .sit incompatibilities. It got to the point where I had to maintain several versions of StuffIt and remember which client had which. Finally I said , "This is b___ s___! I'm going to distribute archives that will open on any Mac, regardless of what version of what software is or is not installed." And I still feel this is the preferred approach. Even if Stuffit's problems have been fixed since I last distributed .sits, that still means I'm telling the potential downloader "You will have to go somewhere else and get some other software to open and use my files if you don't have version x of program y installed on your computer." >A self-extracting archive is not only much larger, it's something some >people will be wary of because of the virus issue (since it's an >application, it can carry a virus payload), and it's completely >platform-specific. I'm looking at a 492K .zip and a 532K .exe. That's an 8% growth. On the Mac it's 496K .sit vs 520K .sea. That's 5 % expansion. Isn't an installer program an application that can carry a virus payload? Do people shy away from clicking on "Install"? A self-expanding archive is no more or less a threat, and it frees the user from the requirement of having a specific version of another application to manipulate the file they have downloaded. And aren't .sit files platform-specific? Is there a StuffIt for Windows? Is .zip more universal than .sit? Here's a novel thought: will native .rev files transfer successfully across platform and across the Internet without browser set-up on the part of the downloader? And a final question to show my lack of web savvy: how do I script html to get an uploaded .txt file to download rather than being displayed in the browser window? That's one of the reasons the uploaded files were BinHexed. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rcozens at pon.net Thu Sep 12 17:26:23 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 12 17:26:23 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: References: Message-ID: > > I agree with the comment that a .exe is more universal. > >Except that exe files will not run on Mac systems. Scott, et al: My meaning was a .exe is more universal within the Windows environment, just as a .sea is more universal within Mac OS than a .sit. .exes should run on any windows box, .zips, as someone else posted may require version-specific expansion software. Likewise for .seas vs .sits. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rcozens at pon.net Thu Sep 12 17:26:30 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 12 17:26:30 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: References: Message-ID: >Revolution supports gz built-in. How would I use it, Richard? Can it work out-of-the-box? How is expansion handled at the other end? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rcozens at pon.net Thu Sep 12 17:47:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 12 17:47:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: References: Message-ID: Mac to PC Xfer As Per Aladdin (Stuffit Deluxe Mac v4.5 Manual): "Q: I want to send a .sit archive to a PC user over the Internet. How? A: Use DropStuff to prepare the archive for Internet transmission....You can then send the resulting .HQX file to your PC friend." Aladdin seems to think direct transfer of .sits to PCs is a no-no...no? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rcozens at pon.net Thu Sep 12 17:53:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 12 17:53:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: References: <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> Message-ID: >Is there a StuffIt for Windows? I see from my StuffIt manual there is a Windows StuffIt expander. Is this something most Windows users would have already installed? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 ambassador at fourthworld.com Thu Sep 12 18:02:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Sep 12 18:02:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: Message-ID: Rob Cozens wrote: >> Revolution supports gz built-in. > > How would I use it, Richard? > > Can it work out-of-the-box? How is expansion handled at the other end? See the compress and decompress functions. g-zip handles only single files and contains no Mac Finder info, but you could easily get past these using a Rev stack file as the carrier, laden with custom opropes containg g-zipped file data. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From troy at rpsystems.net Thu Sep 12 18:02:11 2002 From: troy at rpsystems.net (Troy Rollins) Date: Thu Sep 12 18:02:11 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: Message-ID: <876CD652-C6A3-11D6-9C90-000393853D6C@rpsystems.net> On Thursday, September 12, 2002, at 06:16 PM, Rob Cozens wrote: > And I still feel this is the preferred approach. Even if Stuffit's > problems have been fixed since I last distributed .sits, that still > means I'm telling the potential downloader "You will have to go > somewhere else and get some other software to open and use my files if > you don't have version x of program y installed on your computer." Stuffit Deluxe has indeed been plagued with this problem. Stuffit expander has not. The latest (whatever is most current at the time) version of stuffit expander will open any version of .sit file I have ever encountered. Expander has consistently had this backward compatibility. Deluxe has not. Expander is free for both Mac and Windows. Incidentally, it will also expand .zip files. In my experience, the norm for software distribution is .sit on the mac, and .zip on Windows. -- Troy RPSystems, LTD www.rpsystems.net From rcozens at pon.net Thu Sep 12 18:06:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 12 18:06:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... Message-ID: Any comments from Unixland? StuffIt allows me to create .tars, .Zs, and .uus. Which is preferred, or more widely used? Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 jeanne at runrev.com Thu Sep 12 18:24:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Thu Sep 12 18:24:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: References: <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> Message-ID: At 3:16 PM -0700 9/12/2002, Rob Cozens wrote: >Isn't an installer program an application that can carry a virus >payload? Do people shy away from clicking on "Install"? Yes, in my experience. The less so if it's from a known source, of course. It depends on how well-acquainted your users are with you as a "name brand", so to speak, that they can trust. (And obviously anyone from the list knows you so wouldn't hesitate to run an executable from you - this is mostly an issue for people who might find software from a small vendor through a web search or whatever.) >means I'm telling the potential downloader "You will have to go >somewhere else and get some other software to open and use my files >if you don't have version x of program y installed on your computer." Hmmmm. I think all Mac OS installations for a while now have included StuffIt Expander. >And aren't .sit files platform-specific? Is there a StuffIt for >Windows? Is .zip more universal than .sit? No, yes, and sort of. ;-) StuffIt is more often found on the Mac - it is the Mac standard - but there's a StuffIt Expander for Windows. However, StuffIt Expander for Mac will also unzip zipped files, so in that sense it's more universally available. >Here's a novel thought: will native .rev files transfer successfully >across platform and across the Internet without browser set-up on the >part of the downloader? It's not the downloader's setup that's the potential problem here so much as the web server. The server needs to be informed that a .rev file's MIME type is application/octet-stream (I think it is). Otherwise, clicking the link will bring the thing up in the browser window, obviously not what's wanted. Or else you can just tell the user to choose "Download" from the browser's contextual menu. That will work too. >And a final question to show my lack of web savvy: how do I script >html to get an uploaded .txt file to download rather than being >displayed in the browser window? I don't think you can; the user needs to do that on their end, by using their contextual menu to choose "download link to disk". (The server in theory could change the MIME type for .txt files as above, but of course in general they don't want to do that, since most .txt files are actually intended to be displayed rather than downloaded....) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From alanIra9 at mac.com Thu Sep 12 19:29:01 2002 From: alanIra9 at mac.com (Alan Gayne) Date: Thu Sep 12 19:29:01 2002 Subject: Divider line in list fields Message-ID: <58635950-C6AF-11D6-A270-000393158950@mac.com> I may have missed it in the documentation, but is there any way to put a true non selectable divider line (similar to those in a pull down menu) in a list field? I've tried using the " - " character that works in the menu - but all I get is a " - " - duh! ALSO, what is the correct command to de-select all of the selected lines in a list field? Thanks in advance Alan From jameslewes at comcast.net Thu Sep 12 20:41:01 2002 From: jameslewes at comcast.net (james lewes) Date: Thu Sep 12 20:41:01 2002 Subject: Question about hyper linking from Text field In-Reply-To: <58635950-C6AF-11D6-A270-000393158950@mac.com> Message-ID: GHow can I build a scrollable field that works like an html table with 120 buttons in it. Each of the buttons needs to lonk to a specific card. Can this also be done with a text field. James From katir at hindu.org Thu Sep 12 20:42:03 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu Sep 12 20:42:03 2002 Subject: Can't get local time on MAX OSX (Jaguar) Message-ID: Serious Problem: I don't know if this is a bug or my ignorance, but on Mac OSX (Jaquar) at 3:30 PM Hawaii Standard Time (HST) I am only able to get the time function to return: 5:30 am, no matter what I do. I guess this is GMT. set the useSystemDate to true put the time or put the system time according to docs should return local the time as set in the system date and Time preferences... but it is not. Any clues? HImalayan Academy Publications Sannyasin Sivakatirswami Editor's Assistant/Production Manager katir at hindu.org www.HinduismToday.com, www.HimalayanAcademy.com, www.Gurudeva.org, www.hindu.org Read The Master Course Lesson of the Day at http://www.gurudeva.org/lesson.shtml From dvk at dvkconsult.com.au Thu Sep 12 20:53:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Thu Sep 12 20:53:01 2002 Subject: Can't get local time on MAX OSX (Jaguar) In-Reply-To: Message-ID: <189F463A-C6BB-11D6-B264-000393598038@dvkconsult.com.au> On Friday, Sep 13, 2002, at 11:41 Australia/Sydney, Sannyasin Sivakatirswami wrote: > Serious Problem: I don't know if this is a bug or my ignorance, but on > Mac OSX (Jaquar) at 3:30 PM Hawaii Standard Time (HST) I am only able > to get the time function to return: 5:30 am, no matter what I do. I > guess this is GMT. > > set the useSystemDate to true > put the time > > or > > put the system time > > according to docs should return local the time as set in the system > date and Time preferences... but it is not. Any clues? Not really. Seems to be a Hawaiian problem, as it works on Jaguar a few hours West of you. Sorry to be a bit "have you plugged it into the power point, sir?" but have your checked your system preference settings? regards David > > HImalayan Academy Publications > > Sannyasin Sivakatirswami > Editor's Assistant/Production Manager > katir at hindu.org > www.HinduismToday.com, www.HimalayanAcademy.com, > www.Gurudeva.org, www.hindu.org > > Read The Master Course Lesson of the Day at > http://www.gurudeva.org/lesson.shtml > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dvk at dvkconsult.com.au Thu Sep 12 20:54:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Thu Sep 12 20:54:01 2002 Subject: Can't get local time on MAX OSX (Jaguar) In-Reply-To: Message-ID: <901360D8-C6BB-11D6-B264-000393598038@dvkconsult.com.au> On Friday, Sep 13, 2002, at 11:41 Australia/Sydney, Sannyasin Sivakatirswami wrote: > Serious Problem: I don't know if this is a bug or my ignorance, but on > Mac OSX (Jaquar) at 3:30 PM Hawaii Standard Time (HST) I am only able > to get the time function to return: 5:30 am, no matter what I do. I > guess this is GMT. > > set the useSystemDate to true > put the time > > or > > put the system time > > according to docs should return local the time as set in the system > date and Time preferences... but it is not. Any clues? Not really. Seems to be a Hawaiian problem, as it works on Jaguar a few hours West of you. Sorry to be a bit "have you plugged it into the power point, sir?" but have your checked your system preference settings? regards David > > HImalayan Academy Publications > > Sannyasin Sivakatirswami > Editor's Assistant/Production Manager > katir at hindu.org > www.HinduismToday.com, www.HimalayanAcademy.com, > www.Gurudeva.org, www.hindu.org > > Read The Master Course Lesson of the Day at > http://www.gurudeva.org/lesson.shtml > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jameslewes at comcast.net Thu Sep 12 20:59:01 2002 From: jameslewes at comcast.net (james lewes) Date: Thu Sep 12 20:59:01 2002 Subject: Getting Aopplication to open In-Reply-To: <901360D8-C6BB-11D6-B264-000393598038@dvkconsult.com.au> Message-ID: How can one get an application to open as sson as a cd rom is in inserted without having to click on the standalone file From chipp at chipp.com Thu Sep 12 21:05:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 12 21:05:00 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: Message-ID: my 2 cents... > > >A self-extracting archive is not only much larger, it's something some > >people will be wary of because of the virus issue (since it's an > >application, it can carry a virus payload), and it's completely > >platform-specific. > > I'm looking at a 492K .zip and a 532K .exe. That's an 8% growth. On > the Mac it's 496K .sit vs 520K .sea. That's 5 % expansion. > > Isn't an installer program an application that can carry a virus > payload? Do people shy away from clicking on "Install"? A > self-expanding archive is no more or less a threat, and it frees the > user from the requirement of having a specific version of another > application to manipulate the file they have downloaded. ZIP files for PC's...unless you have a program you wish to install, then use an installer like Clickteam Install Maker 1.2. On PC's, self-extracting files are indeed perceived as a serious threat, unless from a very trusted source. Remember, PC users have much more frequent and serious attacks from viruses than Macs. Generally it's easy to view inside a .zip file and see what's in it before launching an unknown program. Don't .sit files for a PC! I don't know anyone who uses PC's that uses .sit. Also, from Win95 (Plus) to WinXP - the OS has supported .zip format. The current version of WinXP has compressed folders native to the OS. Frankly, I'm surprised Stuffit has had all these problems! Back a million years ago when I used Macs, Alladin was considered to have robust software. If what you say is true, it seems like you might consider zipping files for Mac as well (though don't know if you can 'zip' resource forks) You may want to consider RPM files for Linux -- there's a tip on making them at: http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm -Chipp > > And aren't .sit files platform-specific? Is there a StuffIt for > Windows? Is .zip more universal than .sit? > > From chipp at chipp.com Thu Sep 12 21:09:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 12 21:09:00 2002 Subject: Getting Aopplication to open In-Reply-To: Message-ID: On the PC put a text file named autorun.inf at the root directory and put the following in it: [autorun] OPEN=myFolder\MyRunRevApp.exe That's it. It will launch the MyRunRevApp.exe file in the folder myFolder when the CD mounts. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of james lewes > Sent: Thursday, September 12, 2002 8:57 PM > To: use-revolution at lists.runrev.com > Subject: Getting Aopplication to open > > > How can one get an application to open as sson as a cd rom is in inserted > without having to click on the standalone file > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From troy at rpsystems.net Thu Sep 12 21:18:00 2002 From: troy at rpsystems.net (Troy Rollins) Date: Thu Sep 12 21:18:00 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: Message-ID: On Thursday, September 12, 2002, at 10:04 PM, Chipp Walters wrote: > Frankly, I'm surprised Stuffit has had all these problems! Back a > million > years ago when I used Macs, Alladin was considered to have robust > software. > If what you say is true, it seems like you might consider zipping files > for > Mac as well (though don't know if you can 'zip' resource forks) No, no. This has been WAY WAY WAY overstated. On the Mac, .sit files are just as ubiquitous, friendly, and standardized as .zip on the PC - if not more so. -- Troy RPSystems, LTD www.rpsystems.net From chipp at chipp.com Thu Sep 12 21:29:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 12 21:29:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: Message-ID: Troy, I have a little Mac g3 Powerbook which I do some testing on. I downloaded the free version of Stuffit and things have worked fine for me. I especially like the Download Manager which auto-unstuffs stuff -- though it does make for a cluttered desktop ;-) -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Troy Rollins > Sent: Thursday, September 12, 2002 9:16 PM > To: use-revolution at lists.runrev.com > Subject: Re: Distributing Rev Stacks (was The age of user-translatable > applications... > > > > On Thursday, September 12, 2002, at 10:04 PM, Chipp Walters wrote: > > > Frankly, I'm surprised Stuffit has had all these problems! Back a > > million > > years ago when I used Macs, Alladin was considered to have robust > > software. > > If what you say is true, it seems like you might consider zipping files > > for > > Mac as well (though don't know if you can 'zip' resource forks) > > No, no. This has been WAY WAY WAY overstated. On the Mac, .sit files are > just as ubiquitous, friendly, and standardized as .zip on the PC - if > not more so. > > > > -- > Troy > RPSystems, LTD > www.rpsystems.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Thu Sep 12 21:59:03 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu Sep 12 21:59:03 2002 Subject: Can't get local time on MAX OSX (Jaguar) In-Reply-To: <200209130055.UAA17633@www.runrev.com> Message-ID: <5E1C5CAE-C6C2-11D6-B7A3-003065FB9830@hindu.org> Thanks David -- I have no problem with being asked to check my plugs! (smile) agreed: sometimes the simple things escape us: But, no go.... my system date and time prefs right now show -- Current time: 16:30:00 -- clock face and menu bar are showing 4:30 PM -- The option to use a network server is unchecked but Rev still returns 6:30 AM mmm. let me try Metacard..... (2.4.3b3) hold.... aaahaha! gotcha... Metacard returns 4:30 PM! So, this appears to be a bug in the latest alpha version of Rev....which is using 2.4.3b2... hopefully that will be fixed soon... Either the older engine version or the Rev IDE wrapper is the cause... but you say it is working for you.... if you put put the version into you msg box what do you get? OK, copying this to Improve list also. I don't see a way out for now other than to buildt a compensation function to offset the error till its fixed. >> set the useSystemDate to true >> put the time >> >> or >> >> put the system time >> >> according to docs should return local the time as set in the system >> date and Time preferences... but it is not. Any clues? > David Vaughn wrote: > Not really. Seems to be a Hawaiian problem, as it works on Jaguar a few > hours West of you. Sorry to be a bit "have you plugged it into the > power point, sir?" but have your checked your system preference > settings? > > regards > David From kray at sonsothunder.com Thu Sep 12 22:04:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 12 22:04:00 2002 Subject: ImageData Question... References: Message-ID: <006301c25ad1$8015c410$6f00a8c0@mckinley.dom> > It turn out that on the PC, the RGB values are reversed... > so, instead of 0,R,G,B > it's B,G,R,0 order > then a couple of optimizations and minor bugfixes... > voila! this works. > Ken, You might make a note on your webpage. Actually, Chipp, the reversal is only for copies of Revolution or MetaCard that were released with a MetaCard 2.4.2 or earlier engine (MetaCard 2.4.3 fixed the PC values so they are now returned in the same order as the Mac). Rev 1.1.1 or earlier and MC 2.4.2 or earlier. Rev 1.5 (based on the 2.4.3 engine) is not reversed on the PC (a gotcha for upgrading, BTW). I updated my site right after the 2.4.3 release, and now have two separate tip pages. When you click on the imag003 tip (http://www.sonsothunder.com/devres/revolution/revolution.htm?_imag003), the first paragraph mentions the update and the yellow box beneath it says what version it is for. You can access the "old" tip (the one with the reversed PC values) at http://www.sonsothunder.com/devres/revolution/revolution.htm?_imag003orig). It's possible you may have printed out an old copy of the tip before I updated the pages... You might want to check out the Undocumented Bug Fixes and Features page on the site (http://www.sonsothunder.com/devres/metacard/undocumented.htm) to see this noted along with a few other things. Note that this is a page for MetaCard, but it applies to Rev as well. I did notice, however, that the "Green bit" is correct for character 6 of the example for the *old* page, but the "Red bit" you mention is correct for character 6 of the example on the *new* page, and it wasn't updated properly when I made the two versions. I will make sure I pore over both pages and make sure they are correct. Thanks for letting me know, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From gcanyon at inspiredlogic.com Fri Sep 13 00:00:00 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Sep 13 00:00:00 2002 Subject: Revolution Wiki Message-ID: I've put up a Revolution Wiki. It's at: What is a Wiki, you say? Glad you asked. A Wiki is a web server where every page is editable by anyone. Wikis use a very simple underlying syntax, allowing just about anyone to participate. This makes them a very powerful collaboration tool. You can learn more about Wikis in general at the home page of the original creator of the concept: http://c2.com/cgi/wiki?WikiWikiWeb Some of you may know that I wrote the stack that exports the Revolution documentation. I modified that stack, and the resulting pages are part of the Revolution Wiki. That means: * The entire archive is presented through the web * The entire archive is searchable (slowly, so be patient) * The archive is cross-referenced Those items would be possible with an ordinary web server. A Wiki also provides for the following more important benefits: * Every page is editable, by anyone, at any time, easily. You might think this would lead to chaos, but in general it doesn't. * New cross-references can be added. * Notes explaining quirks of a command can be added. * Questions and answers can be posted. * Sample code for a command can be added. * Recent changes are listed for you * The edit history of a page is available to you * You can receive email notice when a page is updated. * You can back-reference, seeing which pages link to a given page. * You can add new pages on additional topics All of this is available now, without a password. Just go, enjoy, and participate. DISCLAIMER: This is a personal project, not a RunRev sanctioned resource. Just wanted to be clear. Feel free to send feedback directly to me. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From miscdas at boxfrog.com Fri Sep 13 00:28:01 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Fri Sep 13 00:28:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: References: Message-ID: <20020913052721.65210.qmail@www.boxfrog.com> One of the questions was if Windoze users can deal with GZ format. Yes. the following was copied from the gzip site http://www.gzip.org/#faq3 : Is there a Windows interface for gzip? PowerArchiver 6.1 and Winzip include the gzip compression code and can decompress .gz and tar.gz files. Win-GZ can compress and decompress files in gzip format. Please note that gzip, PowerArchiver 6.1 and Win-GZ are freeware but you must register Winzip and PowerArchiver 7.0 if you use them regularly. How can I extract a tar.gz or .tgz file? For Windows 9x/NT/2000/ME/XP, use PowerArchiver 6.1 (freeware) or Winzip miscdas From klaus.major at metascape.org Fri Sep 13 04:26:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Sep 13 04:26:01 2002 Subject: Divider line in list fields In-Reply-To: <58635950-C6AF-11D6-A270-000393158950@mac.com> Message-ID: <436CCBE4-C6FA-11D6-9F54-003065D52E8E@metascape.org> Hi Alan, > I may have missed it in the documentation, but is there any way to put > a true non > selectable divider line (similar to those in a pull down menu) in a > list > field? > > I've tried using the " - " character that works in the menu - but all > I get > is a " - " - duh! Sorry, you cannot use listbehaviour in this case. (If i am wrong, i would love to be corrected :-) But you could simulate a "list behaviour": Try this in your field: ("traversal on", "lock text" and "auto hilite" HAVE to be set for this to work.) on mouseUp if value(the clickline) is "-" then exit mouseup select line(word 2 of the clickline) of me end mouseUp Little disadvantage: only the TEXT is hilited and not the whole line... > ALSO, what is the correct command to de-select all of the selected > lines in a list field? set the hilitedlines of fld xxx to 0 > Thanks in advance > > Alan Hope that helps. Have a nice weekend. Regards Klaus Major klaus.major at metascape.org From klaus.major at metascape.org Fri Sep 13 04:50:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Sep 13 04:50:01 2002 Subject: Question about hyper linking from Text field In-Reply-To: Message-ID: Hi James, > GHow can I build a scrollable field that works like an html table with > 120 > buttons in it. Each of the buttons needs to lonk to a specific card. > Can > this also be done with a text field. 1. You can create 120 buttons, arrange and group them and add a scrollbar to that group. 2. You can set up a field (with TABS etc...) with all the names of the card that are supposed to be navigated to. Then you could format these names in the text as "Linktext" and put this script into the field: on linclicked the_link if there is a cd the_link then go cd the_link end if end linkclicked Both solutions require a little work... Hope that helps. Have a nice weekend. Regards from germany Klaus Major klaus.major at metascape.org P.S. Wanny buy some used question marks ? ;-) From cowhead at mac.com Fri Sep 13 05:00:01 2002 From: cowhead at mac.com (cowhead at mac.com) Date: Fri Sep 13 05:00:01 2002 Subject: hyperLinking from text field In-Reply-To: <200209130055.UAA17678@www.runrev.com> Message-ID: <721A0CE7-C6FF-11D6-8D4E-0003934DCEFE@mac.com> James wrote: > GHow can I build a scrollable field that works like an html table with > 120 > buttons in it. Each of the buttons needs to lonk to a specific card. Can > this also be done with a text field. Check out "linkText" property in the docs. It's a beautiful thing. If each 'button' (just really 'names' in this case) is on a separate line, make your field a list field (set list behaviour to true), set the textstyle of the field to "link", then set the linkText for each line in the field to "cardName" of the card that you want to go to (you can do this easily with a script). Then, in the mouseup handler of the field, you put get the selectedChunk put the linkText of it into whereGo go to card whereGo If you want to do something fancier, just ask :-) mark mitchell Japan From janschenkel at yahoo.com Fri Sep 13 05:20:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 13 05:20:01 2002 Subject: Divider line in list fields In-Reply-To: <58635950-C6AF-11D6-A270-000393158950@mac.com> Message-ID: <20020913101913.97700.qmail@web11908.mail.yahoo.com> --- Alan Gayne wrote: > I may have missed it in the documentation, but is > there any way to put a > true non > selectable divider line (similar to those in a pull > down menu) in a list > field? > > I've tried using the " - " character that works in > the menu - but all I > get > is a " - " - duh! > Hi Alan, There's no built-in option for divider lines in a list field, but you can sort of emulate one with the following trick: Where you want the divider line, insert a line with a few spaces. Then set the text style of that line to "Strikeout". See how a horizontal line is forming? Fill up the rest of that line. Now add a custom property to the field: uDividerLines and put the line numbers of the divider lines in that property, separated by commas. Finally, set the script of the field to: local sOldHilitedLines on mouseUp put the uDividerLines of me into tDividers if word 2 of the clickLine is among the items \ of tDividers then set the hilitedLines of me to sOldHilitedLines else put the hilitedLines of me into sOldHilitedLines end if end mouseUp How's about that for a quick hack? *grin* Mind you, the above script doesn't work if you allow multipleHilites and some smart-ass user makes a shift-click selection that spans the divider line. If that's your type of list field, use the following script: on mouseUp put the uDividerLines of me into tDividers repeat for each item tLineNum in the \ hilitedLines of me if tLineNum is not among the items of tDividers then put tLineNum & "," after tHilitedLines end repeat set the hilitedLines of me to \ (char 1 to -2 of tHilitedLines) end mouseUp > ALSO, what is the correct command to de-select all > of the selected lines > in a list field? > The easiest is: set the hilitedLines of field "x" to empty > Thanks in advance > > Alan > Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From jameslewes at comcast.net Fri Sep 13 08:36:02 2002 From: jameslewes at comcast.net (james lewes) Date: Fri Sep 13 08:36:02 2002 Subject: Question about hyper linking from Text field In-Reply-To: Message-ID: Klaus how do I do this? Jamee > From: Klaus Major > Reply-To: use-revolution at lists.runrev.com > Date: Fri, 13 Sep 2002 11:46:11 +0200 > To: use-revolution at lists.runrev.com > Subject: Re: Question about hyper linking from Text field > > Hi James, > >> GHow can I build a scrollable field that works like an html table with >> 120 >> buttons in it. Each of the buttons needs to lonk to a specific card. >> Can >> this also be done with a text field. > > 1. You can create 120 buttons, arrange and group them > and add a scrollbar to that group. > > 2. You can set up a field (with TABS etc...) with all the names > of the card that are supposed to be navigated to. > Then you could format these names in the text as "Linktext" and > put this script into the field: > > on linclicked the_link > if there is a cd the_link then > go cd the_link > end if > end linkclicked > > Both solutions require a little work... > > Hope that helps. > > Have a nice weekend. > > > Regards from germany > > Klaus Major > klaus.major at metascape.org > > P.S. > Wanny buy some used question marks ? ;-) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From frank.d at free.fr Fri Sep 13 09:10:01 2002 From: frank.d at free.fr (Docteur Frank Dupraz) Date: Fri Sep 13 09:10:01 2002 Subject: Images & clipboard problems Message-ID: <66E4531C-C722-11D6-B5B2-0030656C4A34@free.fr> I would really appreciate help regarding the 2 following problems : - Image : When I do [put URL "binfile:myImage.gif" into image "revImage"] everything works as expected. When I do [put image "revImage" into URL "file:whatSoEverImage.gif"] I get expected garbage (text file), but when I do [put image "revImage" into URL "binfile:whatSoEverImage.gif"] I get garbage as well. And when I do [put imageData of image "revImage" into URL "binfile:whatSoEverImage.gif"] I obviously get even more garbage. Am I really that stupid or am I missing something ? - Clipboard : I would be delighted to know whether someone knows how do something like that : [put URL "binfile:../clipBoardFile" into image "myImage"] where clipBoardFile is supposed to be the file where the Sytem stores the clipboard data. Assuming that 1) the data is an image, 2) Mac OS X as well as Mac OS 9.x stores clipboard data in a file somewhere rather than in memory. The clipBoard() function is rather useless and gives only information about the data type. Is there another one which allows access to the content of the clipboard rather than the type ? Zillions thanks in advance for your reply. From janschenkel at yahoo.com Fri Sep 13 09:33:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 13 09:33:01 2002 Subject: Divider line in list fields In-Reply-To: <20020913101913.97700.qmail@web11908.mail.yahoo.com> Message-ID: <20020913143155.99606.qmail@web11906.mail.yahoo.com> Hi Alan, I just stumbled onto a small shortcoming in my first script (to use in case the listfield only allows the selection of a single line). > if word 2 of the clickLine is among the items \ > of tDividers then should actually be: if word 2 of the selectedLine is among the items \ of tDividers then Otherwise, the user might still select a divider line if he clicks onto a normal line and drags the cursor over to a divider line. Jan Schenkel. --- Jan Schenkel wrote: > --- Alan Gayne wrote: > > I may have missed it in the documentation, but is > > there any way to put a > > true non > > selectable divider line (similar to those in a > pull > > down menu) in a list > > field? > > > > I've tried using the " - " character that works in > > the menu - but all I > > get > > is a " - " - duh! > > > > Hi Alan, > > There's no built-in option for divider lines in a > list > field, but you can sort of emulate one with the > following trick: > > Where you want the divider line, insert a line with > a > few spaces. Then set the text style of that line to > "Strikeout". > See how a horizontal line is forming? Fill up the > rest > of that line. > > Now add a custom property to the field: > uDividerLines > and put the line numbers of the divider lines in > that > property, separated by commas. > > Finally, set the script of the field to: > > local sOldHilitedLines > on mouseUp > put the uDividerLines of me into tDividers > if word 2 of the clickLine is among the items \ > of tDividers then > set the hilitedLines of me to sOldHilitedLines > else > put the hilitedLines of me into sOldHilitedLines > end if > end mouseUp > > How's about that for a quick hack? *grin* > > Mind you, the above script doesn't work if you allow > multipleHilites and some smart-ass user makes a > shift-click selection that spans the divider line. > > If that's your type of list field, use the following > script: > > on mouseUp > put the uDividerLines of me into tDividers > repeat for each item tLineNum in the \ > hilitedLines of me > if tLineNum is not among the items of tDividers > then put tLineNum & "," after tHilitedLines > end repeat > set the hilitedLines of me to \ > (char 1 to -2 of tHilitedLines) > end mouseUp > > > > ALSO, what is the correct command to de-select all > > of the selected lines > > in a list field? > > > > The easiest is: > set the hilitedLines of field "x" to empty > > > Thanks in advance > > > > Alan > > > > Hope this helped, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more > foolish > at the same time." (De Rochefoucald) > > __________________________________________________ > Do you Yahoo!? > Yahoo! News - Today's headlines > http://news.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From jameslewes at comcast.net Fri Sep 13 09:45:01 2002 From: jameslewes at comcast.net (james lewes) Date: Fri Sep 13 09:45:01 2002 Subject: attaching a scrollbar In-Reply-To: Message-ID: how does one attach a scroll bar to a group of objects that are bigger than your card size From klaus.major at metascape.org Fri Sep 13 09:46:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Sep 13 09:46:01 2002 Subject: Question about hyper linking from Text field In-Reply-To: Message-ID: <1CB2019C-C727-11D6-8CFB-003065D52E8E@metascape.org> Hi James, > Klaus > > how do I do this? hey, found an old question mark ? ;-) Sorry for that joke, but i can never resist... >> 1. You can create 120 buttons, arrange and group them >> and add a scrollbar to that group. Well, just do it :-) Here's how: Solution with lotsa buttons: 1. Create all buttons and set their names to the names of the cards the buttons are supposed to navigate to. If you like you can set the labels of the buttons to something different thatn the names of the cards... 2. Arrange the buttons on a card, select all of them and group them. 3. Check "Horizontal Scrollbar" and/or "Vertical Scrollbar" in the "Group"-Tab of the property-palette, resize/adjust that group 4. Then check the "lock location and size" on the "Basic"-Tab for that group. 5. Give the group this script: on mouseup if the owner of the target is not me then exit mouseup if there is a card (the short name of the target) then go card (the short name of the taget) end if end mouseup So the group handles the mouseclick, checks what button has been clicked and takes the name of the clicked button to decide what card to go to. That's all... >> 2. You can set up a field (with TABS etc...) with all the names >> of the card that are supposed to be navigated to. >> Then you could format these names in the text as "Linktext" and >> put this script into the field: Solution number 2: Here you have again 2 options ;-) The first one: If you want to display more than 1 cardname in a line of the field: Create a field and type in all the names of the cards you want to navigate to. Maybe 3 in a line separated by TAB. Then you have to select each name in that field and set its style (Menu "Text") to "Link". Then put this into the script of that field on linclicked the_link if there is a cd the_link then go cd the_link end if end linkclicked Second option: You want all the cardnames in a separate line. In this case create a "Listfield" and type the names into that field line by line. After that give the field this script: (A bit more simple that the solution of Mitchell-San ;-) on mouseup it the selectedtext of me is empty then exit mouseup if there is a cd (the selectedtext of me) then go cd (the selectedtext of me) end if end mouseup That's it... Good luck ;-) Drop another line, if you need more help... Regards Klaus Major klaus.major at metascape.org P.S. I got used to doublecheck everthing first. You may not need to use the if...then statements at all. But they wont hurt ;-) From jameslewes at comcast.net Fri Sep 13 09:52:04 2002 From: jameslewes at comcast.net (james lewes) Date: Fri Sep 13 09:52:04 2002 Subject: hyperLinking from text field In-Reply-To: <721A0CE7-C6FF-11D6-8D4E-0003934DCEFE@mac.com> Message-ID: I am sure that I am exhibiting a deep degree of ignorance, but how do you set the list field to true > From: cowhead at mac.com > Reply-To: use-revolution at lists.runrev.com > Date: Fri, 13 Sep 2002 18:59:08 +0900 > To: use-revolution at lists.runrev.com > Subject: Re: hyperLinking from text field > > > James wrote: > >> GHow can I build a scrollable field that works like an html table with >> 120 >> buttons in it. Each of the buttons needs to lonk to a specific card. Can >> this also be done with a text field. > > Check out "linkText" property in the docs. It's a beautiful thing. If > each 'button' (just really 'names' in this case) is on a separate line, > make your field a list field (set list behaviour to true), set the > textstyle of the field to "link", then set the linkText for each line > in the field to "cardName" of the card that you want to go to (you can > do this easily with a script). > > Then, in the mouseup handler of the field, you put > get the selectedChunk > put the linkText of it into whereGo > go to card whereGo > > If you want to do something fancier, just ask :-) > > mark mitchell > Japan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus.major at metascape.org Fri Sep 13 09:57:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Sep 13 09:57:01 2002 Subject: Images & clipboard problems In-Reply-To: <66E4531C-C722-11D6-B5B2-0030656C4A34@free.fr> Message-ID: <9D44FEFA-C728-11D6-8CFB-003065D52E8E@metascape.org> Bonjour Mr. le docteur, > I would really appreciate help regarding the 2 following problems : > - Image : > When I do [put URL "binfile:myImage.gif" into image "revImage"] > everything works as expected. > When I do [put image "revImage" into URL "file:whatSoEverImage.gif"] I > get expected garbage (text file), but when I do [put image "revImage" > into URL "binfile:whatSoEverImage.gif"] I get garbage as well. > And when I do [put imageData of image "revImage" into URL > "binfile:whatSoEverImage.gif"] I obviously get even more garbage. > Am I really that stupid or am I missing something ? I don't know you at all, so i can just answer the second part of the last sentence ;-) The export to a gif-file is not supported in RR out of the box. You can export to jpg or png-files. (And to the quite popular PBM-format !? ;-) Search the index for "export paint"... Example script: on mouseup select img "my export image" export jpeg to url"binfile:your_exported_image.jpg" ### export png to url"binfile:your_exported_image.png" select empty end mouseup > - Clipboard : > I would be delighted to know whether someone knows how do something > like that : [put URL "binfile:../clipBoardFile" into image "myImage"] > where clipBoardFile is supposed to be the file where the Sytem stores > the clipboard data. Assuming that 1) the data is an image, 2) Mac OS X > as well as Mac OS 9.x stores clipboard data in a file somewhere rather > than in memory. > The clipBoard() function is rather useless and gives only information > about the data type. Is there another one which allows access to the > content of the clipboard rather than the type ? I am not sure in this case. Maybe someone can answer this better... > Zillions thanks in advance for your reply. Ah, merci beaucoup monsieur... Au revoir Klaus Major klaus.major at metascape.org From janschenkel at yahoo.com Fri Sep 13 09:59:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 13 09:59:00 2002 Subject: attaching a scrollbar In-Reply-To: Message-ID: <20020913145807.16089.qmail@web11901.mail.yahoo.com> --- james lewes wrote: > how does one attach a scroll bar to a group of > objects that are bigger than > your card size > Hi James, First select all the objects. Then click on the "Group" button in the toolbar. Now click on the "Properties" button in the toolbar. Then click on the "Group" tab. At the bottom, you'll see two checkboxes - Horizontal Scrollbar - Vertical Scrollbar for exactly this purpose. Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From klaus.major at metascape.org Fri Sep 13 10:06:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Sep 13 10:06:01 2002 Subject: hyperLinking from text field In-Reply-To: Message-ID: Hi James, > I am sure that I am exhibiting a deep degree of ignorance, but how do > you > set the list field to true ? ;-) On the last tab of the field property-palette you can check "List Behaviour" Regards Klaus Major klaus.major at metascape.org From janschenkel at yahoo.com Fri Sep 13 10:10:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 13 10:10:00 2002 Subject: hyperLinking from text field In-Reply-To: Message-ID: <20020913150829.17670.qmail@web11901.mail.yahoo.com> --- james lewes wrote: > I am sure that I am exhibiting a deep degree of > ignorance, but how do you > set the list field to true > Hi James, Select the field with the pointer tool. Then click on the "Properties" button in the toolbar. Now click on the right-most tab (on the icon of the text field, not on the word "Field"). At the bottom you'll find the checkboxes that determine the listfield behaviour: - Hilite clicked lines and selected text - 3D Hilite - List Behavior <<< - Hilite Multiple Lines - Non-Contiguous Hilites - Click Lines to Toggle Hilite Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From rcozens at pon.net Fri Sep 13 10:56:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Sep 13 10:56:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... Message-ID: Good Morning All, Thanks to every who has contributed to my education in the intricacies of cross-platform distribution. Being a stubborn foole (read that "an Aries"), and assuming developers downloading from my website will be less fearful of self-expanding archives found there than strangers would be of a self-expanding attachment, the next update of the Serendipity Downloader will bundle files in a .exe for Windows (as it does now) and a .sea.bin for Mac OS. I don't know how to create a self-extracting archive for Unix, so the Unix bundle will be a .tar. Baring browser download problems, individual files will be available for download in gzip format. I am adding new menuItems, "Compress a File" & "Expand a File" to SDB Utilities' File menu; thus once developers have downloaded the Library bundle, they have the tools to decompress the individual files. So while RunRev's built in gzip compression/decompression requires handler scripting before it can be used, the next update of Serendipity Library (Monday?) will compress/decompress individual files out-of-the-box. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 bvlahos at jpl.nasa.gov Fri Sep 13 11:00:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Fri Sep 13 11:00:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: Message-ID: Not to add fuel to the fire but it is becoming common to have email systems not allow .exe files as attachments for fear of viruses. You may find some recipients unable to retrieve your files as I have here. Bill Vlahos On Friday, September 13, 2002, at 08:53 AM, Rob Cozens wrote: > Good Morning All, > > Thanks to every who has contributed to my education in the intricacies > of cross-platform distribution. > > Being a stubborn foole (read that "an Aries"), and assuming developers > downloading from my website will be less fearful of self-expanding > archives found there than strangers would be of a self-expanding > attachment, the next update of the Serendipity Downloader will bundle > files in a .exe for Windows (as it does now) and a .sea.bin for Mac > OS. I don't know how to create a self-extracting archive for Unix, so > the Unix bundle will be a .tar. > > Baring browser download problems, individual files will be available > for download in gzip format. > > I am adding new menuItems, "Compress a File" & "Expand a File" to SDB > Utilities' File menu; thus once developers have downloaded the Library > bundle, they have the tools to decompress the individual files. > > So while RunRev's built in gzip compression/decompression requires > handler scripting before it can be used, the next update of > Serendipity Library (Monday?) will compress/decompress individual > files out-of-the-box. > -- > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.com/who.htm > > "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) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dan at danshafer.com Fri Sep 13 11:58:00 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Sep 13 11:58:00 2002 Subject: Revolution Wiki Message-ID: Geoff..... Great idea. I'm a big fan and user of Wikis. I posted a comment on the How to open a stack page. One thing that's not clear is whether you'd like added commentary to appear before or after the previous-next page links. I chose before. Probably a good idea to at least provide some guidance on that. Great work. Thanks. -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Dan Shafer Technology Visionary - Technology Assessment - Documentation "Looking at technology from every angle" http://www.danshafer.com 831-392-1127 Voice - 831-401-2531 Fax From jameslewes at comcast.net Fri Sep 13 12:08:00 2002 From: jameslewes at comcast.net (james lewes) Date: Fri Sep 13 12:08:00 2002 Subject: hyperLinking from text field In-Reply-To: Message-ID: I must be slow, but I still cannot get it to work I tried grouping a number of graphic images and then attaching a vertoical scroll bar, but cannot get the scroll bar to work > From: Klaus Major > Reply-To: use-revolution at lists.runrev.com > Date: Fri, 13 Sep 2002 17:02:47 +0200 > To: use-revolution at lists.runrev.com > Subject: Re: hyperLinking from text field > > Hi James, > >> I am sure that I am exhibiting a deep degree of ignorance, but how do >> you >> set the list field to true > ? ;-) > > On the last tab of the field property-palette you can check "List > Behaviour" > > > Regards > > > Klaus Major > klaus.major at metascape.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From usher at cnbcom.net Fri Sep 13 12:41:01 2002 From: usher at cnbcom.net (Philip Usher) Date: Fri Sep 13 12:41:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications.. In-Reply-To: <200209131238.IAA28226@www.runrev.com> Message-ID: on 9/13/02 7:38 AM, Troy Rollins wrote: > On the Mac, .sit files are > just as ubiquitous, friendly, and standardized as .zip on the PC - if > not more so. This has been my experience also. -- Philip From jeanne at runrev.com Fri Sep 13 12:54:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Fri Sep 13 12:54:01 2002 Subject: hyperLinking from text field In-Reply-To: References: Message-ID: At 10:01 AM -0700 9/13/2002, james lewes wrote: >I must be slow, but I still cannot get it to work > >I tried grouping a number of graphic images and then attaching a vertoical >scroll bar, but cannot get the scroll bar to work Klaus left a couple of minor things out: - For the scrollbar to work, the group has to be smaller vertically than the collection of objects (obviously - otherwise there's nowhere to scroll), so you need to resize the group if necessary so some of the objects are outside the group's rectangle. - Groups automatically resize themselves to fit their contents. If your group has a scrollbar, however, you don't want this behavior (since the whole point of having a scrollbar is so the group can be smaller than the contents, and you can scroll around to see them all). You turn off the automatic resizing by turning off the "Lock location and size" checkbox in the Basic tab of the group's Properties palette. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From k_major at os.surf2000.de Fri Sep 13 12:55:00 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Fri Sep 13 12:55:00 2002 Subject: hyperLinking from text field In-Reply-To: Message-ID: <2BC4A84D-C742-11D6-9D05-000A27B49A96@os.surf2000.de> Hi James, > I must be slow, but I still cannot get it to work Slow or fast, as long you are moving at all, you are still alive ;-) (Cheesy and contrived german saying :-D Don't panic, we will make it :-) > I tried grouping a number of graphic images and then attaching a > vertoical > scroll bar, but cannot get the scroll bar to work The trick is to resize the group so not all elements (graphics in your above example) inside the group are visible. (THEN there will be something to scroll at all...) After that you should check "Lock location and Size" in the group-property-palette so the group does not resize to its "real" size, when you open that card again. Now you have a license to scroll ;-) Don't hesitate to drop a line if you still don't get it to work. I can also offer to supply a tiny stack with an example. You can mail me offlist if you like... Regards Klaus Major k_major at os.surf2000.de (The same Klaus as in klaus.major at metascape.org, but now at home :-) From miscdas at boxfrog.com Fri Sep 13 13:26:01 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Fri Sep 13 13:26:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: References: <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> Message-ID: <20020913182554.67425.qmail@www.boxfrog.com> No Rob, StuffIt is not widely used in Windoze environment; you'll fair better using ZIP files. miscdas Rob Cozens writes: > >> Is there a StuffIt for Windows? > > I see from my StuffIt manual there is a Windows StuffIt expander. > > Is this something most Windows users would have already installed? > -- > > Rob Cozens > CCW, Serendipity Software Company > http://www.oenolog.com/who.htm > > "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) > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Fri Sep 13 16:05:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 13 16:05:00 2002 Subject: Images & clipboard problems In-Reply-To: <66E4531C-C722-11D6-B5B2-0030656C4A34@free.fr> Message-ID: Try the following: ask file "Export picture as:" with filter "JPEG file,*.jpg" if it is not empty then export image "revImage" to file it as JPEG end if > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Docteur Frank > Dupraz > Sent: Friday, September 13, 2002 9:09 AM > To: use-revolution at lists.runrev.com > Subject: Images & clipboard problems > > > I would really appreciate help regarding the 2 following problems : > - Image : > When I do [put URL "binfile:myImage.gif" into image "revImage"] > everything works as expected. > When I do [put image "revImage" into URL "file:whatSoEverImage.gif"] I > get expected garbage (text file), but when I do [put image "revImage" > into URL "binfile:whatSoEverImage.gif"] I get garbage as well. > And when I do [put imageData of image "revImage" into URL > "binfile:whatSoEverImage.gif"] I obviously get even more garbage. > Am I really that stupid or am I missing something ? > > - Clipboard : > I would be delighted to know whether someone knows how do something like > that : [put URL "binfile:../clipBoardFile" into image "myImage"] where > clipBoardFile is supposed to be the file where the Sytem stores the > clipboard data. Assuming that 1) the data is an image, 2) Mac OS X as > well as Mac OS 9.x stores clipboard data in a file somewhere rather than > in memory. > The clipBoard() function is rather useless and gives only information > about the data type. Is there another one which allows access to the > content of the clipboard rather than the type ? > > Zillions thanks in advance for your reply. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Fri Sep 13 16:09:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 13 16:09:01 2002 Subject: Images & clipboard problems In-Reply-To: <66E4531C-C722-11D6-B5B2-0030656C4A34@free.fr> Message-ID: don't know if this helps but... on copyToClip choose select tool drag from topleft of image "myImage" to botright of image "myImage" copy choose browse tool end copyToClip successfully copies an image TO the Clipboard -Chipp > > - Clipboard : > I would be delighted to know whether someone knows how do something like > that : [put URL "binfile:../clipBoardFile" into image "myImage"] where > clipBoardFile is supposed to be the file where the Sytem stores the > clipboard data. Assuming that 1) the data is an image, 2) Mac OS X as > well as Mac OS 9.x stores clipboard data in a file somewhere rather than > in memory. > The clipBoard() function is rather useless and gives only information > about the data type. Is there another one which allows access to the > content of the clipboard rather than the type ? > > Zillions thanks in advance for your reply. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Fri Sep 13 16:16:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 13 16:16:01 2002 Subject: Revolution Wiki In-Reply-To: Message-ID: The Wiki looks cool..but are all of them that slow to load? Or is it a slow server. Or am I just on a slow connection??? What would be REALLY cool though, is to somehow CAPTURE the best stuff on this list and put it in an online searchable database... Or, just allow the archive of this list to be searched (like the MetaCard list) -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer > Sent: Friday, September 13, 2002 11:58 AM > To: use-revolution at lists.runrev.com > Subject: Re: Revolution Wiki > > > Geoff..... > > Great idea. I'm a big fan and user of Wikis. > > I posted a comment on the How to open a stack page. One thing that's > not clear is whether you'd like added commentary to appear before or > after the previous-next page links. I chose before. Probably a good > idea to at least provide some guidance on that. > > Great work. Thanks. > -- > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > Dan Shafer > Technology Visionary - Technology Assessment - Documentation > "Looking at technology from every angle" > http://www.danshafer.com > 831-392-1127 Voice - 831-401-2531 Fax > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From rfarnold at bu.edu Fri Sep 13 16:19:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Fri Sep 13 16:19:01 2002 Subject: Drag & drop install & read-only status Message-ID: I have encountered another stumbling block -- Apparently, a file copied from CD on Windows will be set as "read-only" in the new destination (presumably since the CD source is locked). Is this correct? This puts a kink in in the simple notion of drag-and-drop Windows installation of application stacks with read/write data or preference-saving substacks. A. does anyone know how to get Windows to avoid doing this? --- or B. Can a file's read-only attribute be changed from within a stack? My stand-alone mainstack checks to see if its substacks exist -- it would be nice if when checking, it could change the attribute to read/write as well. My cursory search for such a capability in the transcript dictionary didn't come up with anything. -- Even if it could get the attribute without changing it, I could add an alert to the user. Thanks in advance Bob -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 News: http://people.bu.edu/rfarnold/Announce.htm From matt.denton at limelight.com.au Fri Sep 13 17:07:01 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Fri Sep 13 17:07:01 2002 Subject: Long Filenames in OSX In-Reply-To: <200209130057.UAA17920@www.runrev.com> Message-ID: <99FED540-C6F3-11D6-BD5A-000393924880@limelight.com.au> Hello. When I get the detailed files of a directory in OSX, if the filename is too long, I get back: abcdefghijklmnopqrstu#491A9.rev (where the filename continues after the u continues ...uvwyzabcdefghijklm.rev). How do I get back the real (long) filename? I guess #491A9 is some reference into the TOC or some hidden file?? I've tried all possibilities, however remote: longFilePath 'effective filename', even 'aliasReference'. Any clues? Thanks for any help, M@ Matt Denton From chipp at chipp.com Fri Sep 13 19:15:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 13 19:15:00 2002 Subject: New Button Tutorial Message-ID: I've had a couple of Rev users ask some questions on creating great looking buttons with appropriate behaviors -- so...(for you MJ;-) This is a basic tutorial you can view in RunRev (or MC) to see how you can build buttons with mouseOver and mouseDown behaviors without scripting ? using the icon properties of buttons. You can find it at: http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm Also there's a tutorial on how to create "reflective buttons" in Photoshop at www.altuit.com/webs/altuit/GlassPhotoShopTutorial/default.htm -Chipp Walters, Altuit.inc From alanIra9 at mac.com Fri Sep 13 20:25:01 2002 From: alanIra9 at mac.com (Alan Gayne) Date: Fri Sep 13 20:25:01 2002 Subject: simultaneous scrolling fields Message-ID: <8A2DB092-C780-11D6-89FE-000393158950@mac.com> need some ideas of the best way to get "scrolling fld 2" to follow along (as fast as possible) with "scrolling fld 1". These fields will be in a modal dialog (if that makes a difference) TIA Alan From dan at clearvisiontech.com Fri Sep 13 20:28:01 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri Sep 13 20:28:01 2002 Subject: Cursor disappearing? Message-ID: Anyone heard of this? Windows (95), when you move the cursor into a window (doesn't happen in REV, only in a standalone) the cursor disappears! If you move the cursor out of the rect of the window, the cursor reappears. On the Mac (OS9) the cursor turns into the "busy" cursor when the mouse in in the rect of the window. Normal (pointer) when it is out of the rect of the window. I am not doing a "lock cursor", nor setting the cursor to anything. Any thoughts? Thanks! -Dan From monte at sweattechnologies.com Fri Sep 13 20:48:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Sep 13 20:48:01 2002 Subject: Cursor disappearing? In-Reply-To: Message-ID: > > Anyone heard of this? > > Windows (95), when you move the cursor into a window (doesn't > happen in REV, > only in a standalone) the cursor disappears! If you move the > cursor out of > the rect of the window, the cursor reappears. I've had this problem on Win32 platforms with 256 colors or less. Now I've just set all my aps just quit if the colorDepth is less than 16. Hmmm. on re-reading your problem I think you may need to make sure that the cursors are included in the rev build. See the resources tab of the Dist Builder. From monte at sweattechnologies.com Fri Sep 13 21:23:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Sep 13 21:23:01 2002 Subject: Images & urls & keeping the image with no connection Message-ID: How do you keep an image while offline? Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile: (+61) 0421 138 274 From jperryl at ecs.fullerton.edu Fri Sep 13 22:10:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri Sep 13 22:10:01 2002 Subject: Deploy query In-Reply-To: <8A2DB092-C780-11D6-89FE-000393158950@mac.com> Message-ID: Before I look like a complete idiot, I'd like to check that my students can d/l the starter kit on their PCs, do some work, then bring their stacks (not a build) to the Mac lab and continue working there, going back and forth. I did this a few years back in MC, switching between Mac & X-Win. Is this still do-able? Many thanks, Judy Perry From chipp at chipp.com Fri Sep 13 22:20:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 13 22:20:01 2002 Subject: Images & urls & keeping the image with no connection In-Reply-To: Message-ID: check out the 'import paint' command... > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Monte > Goulding > Sent: Friday, September 13, 2002 9:22 PM > To: Rev List > Subject: Images & urls & keeping the image with no connection > > > > How do you keep an image while offline? > > Monte Goulding > B.App.Sc. (Hons.) > > Executive Director > Sweat Technologies > > email: monte at sweattechnologies.com > website: www.sweattechnologies.com > mobile: (+61) 0421 138 274 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Fri Sep 13 22:33:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Sep 13 22:33:01 2002 Subject: Images & urls & keeping the image with no connection In-Reply-To: Message-ID: Yes I know about import paint what I was really after was a way to just copy the image and make it an internal image. It seems even the imageData doesn't work to do that. The reason why I need to do this is I want to use an image on a web server but if there is no connection I just want to either display the last image that was seen or a default image. > > check out the 'import paint' command... > > > -----Original Message----- > > From: use-revolution-admin at lists.runrev.com > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Monte > > Goulding > > Sent: Friday, September 13, 2002 9:22 PM > > To: Rev List > > Subject: Images & urls & keeping the image with no connection > > > > > > > > How do you keep an image while offline? > > > > Monte Goulding > > B.App.Sc. (Hons.) > > > > Executive Director > > Sweat Technologies > > > > email: monte at sweattechnologies.com > > website: www.sweattechnologies.com > > mobile: (+61) 0421 138 274 > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Fri Sep 13 23:13:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri Sep 13 23:13:01 2002 Subject: Deploy query In-Reply-To: Message-ID: Yes, It's actually easier than with MC because the rev team has gone to the trouble of setting the File Exchange for you. > > Before I look like a complete idiot, I'd like to check that my students > can d/l the starter kit on their PCs, do some work, then bring their > stacks (not a build) to the Mac lab and continue working there, going back > and forth. > > I did this a few years back in MC, switching between Mac & X-Win. Is > this still do-able? > > Many thanks, > > Judy Perry > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From janschenkel at yahoo.com Fri Sep 13 23:15:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 13 23:15:01 2002 Subject: simultaneous scrolling fields In-Reply-To: <8A2DB092-C780-11D6-89FE-000393158950@mac.com> Message-ID: <20020914041416.88059.qmail@web11901.mail.yahoo.com> Hi Alan, Put the following script in fld "scrolling field 1": on scrollbarDrag set the scroll of fld "scrolling fld 2" to \ the scroll of me end scrollbarDrag Did the work-around for the divider lines work out for you? The only problem left with that approach is if the user selects lines using the arrow keys, I've noticed... Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Alan Gayne wrote: > need some ideas of the best way to get "scrolling > fld 2" to follow along > (as fast as possible) with "scrolling fld 1". > These fields will be in > a modal dialog (if that makes a difference) > > TIA > > Alan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From janschenkel at yahoo.com Fri Sep 13 23:33:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 13 23:33:01 2002 Subject: Drag & drop install & read-only status In-Reply-To: Message-ID: <20020914043210.88903.qmail@web11901.mail.yahoo.com> Hi Bob, I've had this problem before. The solution I went for was the following: 1) on the cd, i put a small file names "firstrun.yes" in the same directory as the application. 2) on startUp, the application checks for the existence of that same file. 3) if it exists, the application will run a batch file "firstrun.bat" which will switch the read-only flag off. 4) after that has executed, the application will delete the "firstrun.yes" file. "firstrun.bat" looks something like: @echo "Finishing installation..." @echo "Do NOT interrupt this program!" @echo "1) Data files" @cd data @attrib -r *.* @echo "2) Help files" @cd ../help @attrib -r *.* @cd .. @attrib -r firstrun.yes @echo "Installation finished." The "on startUp" handler looks something like: on startUp # some other stuff... get shell("firstrun.bat") # really should check for the result here... delete file "firstrun.yes" # some more stuff... end startUp Note: of course you could use the shell() function to read and execute the commands in "firstrun.bat" from a field instead ; however, if something is wrong, it's easier to send a batch file than a new cd... Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Bob Arnold wrote: > I have encountered another stumbling block -- > > Apparently, a file copied from CD on Windows will be > set as "read-only" in > the new destination (presumably since the CD source > is locked). Is this > correct? > > This puts a kink in in the simple notion of > drag-and-drop Windows > installation of application stacks with read/write > data or preference-saving > substacks. > > A. does anyone know how to get Windows to avoid > doing this? --- or > > B. Can a file's read-only attribute be changed from > within a stack? My > stand-alone mainstack checks to see if its substacks > exist -- it would be > nice if when checking, it could change the attribute > to read/write as well. > My cursory search for such a capability in the > transcript dictionary didn't > come up with anything. -- Even if it could get the > attribute without > changing it, I could add an alert to the user. > > Thanks in advance > > Bob > -- > Robert Arnold > Associate Professor of Film > Boston University > Tel (617) 353-7735 Fax (617) 353-1084 > News: http://people.bu.edu/rfarnold/Announce.htm > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From janschenkel at yahoo.com Fri Sep 13 23:40:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 13 23:40:01 2002 Subject: Drag & drop install & read-only status In-Reply-To: <20020914043210.88903.qmail@web11901.mail.yahoo.com> Message-ID: <20020914043907.45426.qmail@web11902.mail.yahoo.com> Hi Bob, I clicked the "send" button just a split second too soon *doh* -- the startUp handler should look like: on startUp # some other stuff... if there is a file "firstrun.yes" then # first time ; clean up read-only attributes... get shell("firstrun.bat") # really should check for the result here... delete file "firstrun.yes" end if # some more stuff... end startUp Best regards, Jan Schenkel. --- Jan Schenkel wrote: > Hi Bob, > > I've had this problem before. The solution I went > for > was the following: > > 1) on the cd, i put a small file names > "firstrun.yes" > in the same directory as the application. > > 2) on startUp, the application checks for the > existence of that same file. > > 3) if it exists, the application will run a batch > file > "firstrun.bat" which will switch the read-only flag > off. > > 4) after that has executed, the application will > delete the "firstrun.yes" file. > > "firstrun.bat" looks something like: > > @echo "Finishing installation..." > @echo "Do NOT interrupt this program!" > @echo "1) Data files" > @cd data > @attrib -r *.* > @echo "2) Help files" > @cd ../help > @attrib -r *.* > @cd .. > @attrib -r firstrun.yes > @echo "Installation finished." > > The "on startUp" handler looks something like: > > on startUp > # some other stuff... > get shell("firstrun.bat") > # really should check for the result here... > delete file "firstrun.yes" > # some more stuff... > end startUp > > Note: of course you could use the shell() function > to > read and execute the commands in "firstrun.bat" from > a > field instead ; however, if something is wrong, it's > easier to send a batch file than a new cd... > > Hope this helped, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more > foolish > at the same time." (De Rochefoucald) > > --- Bob Arnold wrote: > > I have encountered another stumbling block -- > > > > Apparently, a file copied from CD on Windows will > be > > set as "read-only" in > > the new destination (presumably since the CD > source > > is locked). Is this > > correct? > > > > This puts a kink in in the simple notion of > > drag-and-drop Windows > > installation of application stacks with read/write > > data or preference-saving > > substacks. > > > > A. does anyone know how to get Windows to avoid > > doing this? --- or > > > > B. Can a file's read-only attribute be changed > from > > within a stack? My > > stand-alone mainstack checks to see if its > substacks > > exist -- it would be > > nice if when checking, it could change the > attribute > > to read/write as well. > > My cursory search for such a capability in the > > transcript dictionary didn't > > come up with anything. -- Even if it could get the > > attribute without > > changing it, I could add an alert to the user. > > > > Thanks in advance > > > > Bob > > -- > > Robert Arnold > > Associate Professor of Film > > Boston University > > Tel (617) 353-7735 Fax (617) 353-1084 > > News: http://people.bu.edu/rfarnold/Announce.htm > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > __________________________________________________ > Do you Yahoo!? > Yahoo! News - Today's headlines > http://news.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From janschenkel at yahoo.com Fri Sep 13 23:48:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 13 23:48:01 2002 Subject: New Button Tutorial In-Reply-To: Message-ID: <20020914044639.46369.qmail@web11902.mail.yahoo.com> Hi Chipp, Great tutorial on the "reflective" buttons as well -- I always wondered how you made those :-) * twiddles his fingers and goes, 'Now where did I put Photoshop?' * Jan Schenkel. --- Chipp Walters wrote: > I've had a couple of Rev users ask some questions on > creating great looking > buttons with appropriate behaviors -- so...(for you > MJ;-) > > This is a basic tutorial you can view in RunRev (or > MC) to see how you can > build buttons with mouseOver and mouseDown behaviors > without scripting ? > using the icon properties of buttons. > You can find it at: > http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm > > Also there's a tutorial on how to create "reflective > buttons" in Photoshop > at > www.altuit.com/webs/altuit/GlassPhotoShopTutorial/default.htm > > -Chipp Walters, Altuit.inc > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From kray at sonsothunder.com Fri Sep 13 23:53:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 13 23:53:01 2002 Subject: Images & urls & keeping the image with no connection References: Message-ID: <006801c25ba9$d9c0ff60$6601a8c0@mckinley.dom> Uh, Monte, that's what 'import paint' does. It will import a copy of the graphic and make it an internal image that has no connection to outside source material. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Monte Goulding" To: Sent: Friday, September 13, 2002 10:31 PM Subject: RE: Images & urls & keeping the image with no connection > > Yes I know about import paint what I was really after was a way to just copy > the image and make it an internal image. It seems even the imageData doesn't > work to do that. The reason why I need to do this is I want to use an image > on a web server but if there is no connection I just want to either display > the last image that was seen or a default image. > > > > > check out the 'import paint' command... > > > > > -----Original Message----- > > > From: use-revolution-admin at lists.runrev.com > > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Monte > > > Goulding > > > Sent: Friday, September 13, 2002 9:22 PM > > > To: Rev List > > > Subject: Images & urls & keeping the image with no connection > > > > > > > > > > > > How do you keep an image while offline? > > > > > > Monte Goulding > > > B.App.Sc. (Hons.) > > > > > > Executive Director > > > Sweat Technologies > > > > > > email: monte at sweattechnologies.com > > > website: www.sweattechnologies.com > > > mobile: (+61) 0421 138 274 > > > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Fri Sep 13 23:58:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 13 23:58:00 2002 Subject: Images & urls & keeping the image with no connection In-Reply-To: Message-ID: how about import snapshot? bit of a hack though... > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Monte > Goulding > Sent: Friday, September 13, 2002 10:32 PM > To: use-revolution at lists.runrev.com > Subject: RE: Images & urls & keeping the image with no connection > > > > Yes I know about import paint what I was really after was a way > to just copy > the image and make it an internal image. It seems even the > imageData doesn't > work to do that. The reason why I need to do this is I want to > use an image > on a web server but if there is no connection I just want to > either display > the last image that was seen or a default image. > > > > > check out the 'import paint' command... > > > > > -----Original Message----- > > > From: use-revolution-admin at lists.runrev.com > > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Monte > > > Goulding > > > Sent: Friday, September 13, 2002 9:22 PM > > > To: Rev List > > > Subject: Images & urls & keeping the image with no connection > > > > > > > > > > > > How do you keep an image while offline? > > > > > > Monte Goulding > > > B.App.Sc. (Hons.) > > > > > > Executive Director > > > Sweat Technologies > > > > > > email: monte at sweattechnologies.com > > > website: www.sweattechnologies.com > > > mobile: (+61) 0421 138 274 > > > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dan at clearvisiontech.com Sat Sep 14 00:57:01 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat Sep 14 00:57:01 2002 Subject: Cursor disappearing? Message-ID: Monte, That's not the problem... I do have the cursors included in the standalone. Also, I have my monitor set to 16bit and it's still not showing the cursor. Any other thoughts? >> Anyone heard of this? >> >> Windows (95), when you move the cursor into a window (doesn't >> happen in REV, >> only in a standalone) the cursor disappears! If you move the >> cursor out of >> the rect of the window, the cursor reappears. > > I've had this problem on Win32 platforms with 256 colors or less. Now I've > just set all my aps just quit if the colorDepth is less than 16. > > Hmmm. on re-reading your problem I think you may need to make sure that the > cursors are included in the rev build. See the resources tab of the Dist > Builder. From ludovic.thebault at laposte.net Sat Sep 14 00:59:00 2002 From: ludovic.thebault at laposte.net (Ludovic Th=?ISO-8859-1?Q?=E9?=bault) Date: Sat Sep 14 00:59:00 2002 Subject: Long Filenames in OSX In-Reply-To: <99FED540-C6F3-11D6-BD5A-000393924880@limelight.com.au> References: <99FED540-C6F3-11D6-BD5A-000393924880@limelight.com.au> Message-ID: <20020914075646.276B51%00000000@laposte.net> Matt Denton wrote: >Any clues? The next release of Revolution (1.2 or 1.5 ?) From rcozens at pon.net Sat Sep 14 01:05:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Sep 14 01:05:01 2002 Subject: gzip & Mac File Types Message-ID: Hi All, As I add file compression & decompression to SDB Utilities, I have encountered an issue regarding Mac OS file types...as in how to determine the file type for the decompressed file? I printed the GZIP v4.3 spec referenced in the Rev Dictionary; but (a) it's no help, and (b) it seems to me that I would have to get inside the decompress function to get to that level of info anyway...assuming it's even stored in the .gz. The other option is to store file type in my own header information, but that would make the archive incompatible with standard .gzs And before I deal with that issue, there is the question of determining the file type of a file selected for compression in an answer file dialog. The fileType property is used to set the file type; so how does one determine the file type of a selected file? A small tertiary issue: what is the standard Mac file type for gzip files? I can get around much of this by writing a handler specific to my needs; but I would prefer to write something more general that could handle gzips created by other file compressors & vice versa. If someone can show me how to address the file type issues, I'll write a generalized handler. If not, I'll take the easy way out and write something specific to the .txts and .revs to be downloaded from the Library ftp site. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 jeanne at runrev.com Sat Sep 14 02:29:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Sep 14 02:29:01 2002 Subject: gzip & Mac File Types In-Reply-To: Message-ID: At 11:02 PM -0700 9/13/2002, Rob Cozens wrote: >As I add file compression & decompression to SDB Utilities, I have >encountered an issue regarding Mac OS file types...as in how to >determine the file type for the decompressed file? > >I printed the GZIP v4.3 spec referenced in the Rev Dictionary; but >(a) it's no help, and (b) it seems to me that I would have to get >inside the decompress function to get to that level of info >anyway...assuming it's even stored in the .gz. It isn't. The file type and creator are meta information that is unique to Mac OS filesystems; other filesystems don't have it and therefore gzip doesn't store it (nor restore it). In general, on Mac OS systems this is handled with the File Exchange control panel (nee "Easy Open" or "Macintosh Easy Open") - it maps between extensions and types, and most of the relevant apps seem to use it. I'm not sure what OS X does, but this whole area is still a bit of a mess on OS X anyway. >And before I deal with that issue, there is the question of >determining the file type of a file selected for compression in an >answer file dialog. The fileType property is used to set the file >type; so how does one determine the file type of a selected file? I don't have a handler to hand at the moment, but the detailed files will return the necessary info (you'll have to massage it to get the data for the specific file, and to get the type and creator info). I probably ought to put this in the Cookbook... -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jameslewes at comcast.net Sat Sep 14 06:24:01 2002 From: jameslewes at comcast.net (james lewes) Date: Sat Sep 14 06:24:01 2002 Subject: simulating anchors In-Reply-To: Message-ID: hpow can one simulate html anchors in Revolution james > From: james lewes > Reply-To: use-revolution at lists.runrev.com > Date: Fri, 13 Sep 2002 10:50:17 -0400 > To: use-revolution at lists.runrev.com > Subject: Re: hyperLinking from text field > > I am sure that I am exhibiting a deep degree of ignorance, but how do you > set the list field to true > >> From: cowhead at mac.com >> Reply-To: use-revolution at lists.runrev.com >> Date: Fri, 13 Sep 2002 18:59:08 +0900 >> To: use-revolution at lists.runrev.com >> Subject: Re: hyperLinking from text field >> >> >> James wrote: >> >>> GHow can I build a scrollable field that works like an html table with >>> 120 >>> buttons in it. Each of the buttons needs to lonk to a specific card. Can >>> this also be done with a text field. >> >> Check out "linkText" property in the docs. It's a beautiful thing. If >> each 'button' (just really 'names' in this case) is on a separate line, >> make your field a list field (set list behaviour to true), set the >> textstyle of the field to "link", then set the linkText for each line >> in the field to "cardName" of the card that you want to go to (you can >> do this easily with a script). >> >> Then, in the mouseup handler of the field, you put >> get the selectedChunk >> put the linkText of it into whereGo >> go to card whereGo >> >> If you want to do something fancier, just ask :-) >> >> mark mitchell >> Japan >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jameslewes at comcast.net Sat Sep 14 06:43:01 2002 From: jameslewes at comcast.net (james lewes) Date: Sat Sep 14 06:43:01 2002 Subject: Question about backgrounds In-Reply-To: Message-ID: Is there a way of placing sn object or a group of objects in the background so that it is common to all cards From k_major at os.surf2000.de Sat Sep 14 07:08:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Sat Sep 14 07:08:01 2002 Subject: simultaneous scrolling fields In-Reply-To: <8A2DB092-C780-11D6-89FE-000393158950@mac.com> Message-ID: Hi Alan, > need some ideas of the best way to get "scrolling fld 2" to follow > along (as fast as possible) with "scrolling fld 1". These fields > will be in a modal dialog (if that makes a difference) please download my wolrdfamous little stack "Fun with fields" from the RR website. http://www.runrev.com/revolution/developers/developerdownloads/ usercontributions.html There you will find the answer and more funny things cou can do to ehm... with fields... :-) The other example-stack on that page aren't too shabby either... ;-) > TIA > > Alan Regards Klaus Major k_major at os.surf2000.de From k_major at os.surf2000.de Sat Sep 14 07:18:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Sat Sep 14 07:18:01 2002 Subject: Drag & drop install & read-only status In-Reply-To: Message-ID: <3F838C83-C7DC-11D6-A677-000A27B49A96@os.surf2000.de> Hi Bob, > I have encountered another stumbling block -- > > Apparently, a file copied from CD on Windows will be set as > "read-only" in > the new destination (presumably since the CD source is locked). Is this > correct? > > This puts a kink in in the simple notion of drag-and-drop Windows > installation of application stacks with read/write data or > preference-saving > substacks. > > A. does anyone know how to get Windows to avoid doing this? --- or I am not sure, but i think this is one of the wonderful features Bill gave to us without that we asked for it... > B. Can a file's read-only attribute be changed from within a stack? My > stand-alone mainstack checks to see if its substacks exist -- it would > be > nice if when checking, it could change the attribute to read/write as > well. > My cursory search for such a capability in the transcript dictionary > didn't > come up with anything. -- Even if it could get the attribute without > changing it, I could add an alert to the user. This is an excerpt from a little installer i created with MC. I think you get the picture... ... put (specialfolderpath("system") & "/" & "KPCPREF/") into dosprefs replace "/" with "\" in dosprefs ## we can do lots of win-stuff with "get shell..." ## but all this has to be in win-format... set the hideconsolewindows to true ## so we don't see the dos-console, ## which doesn't look not too professional ;-) get shell("attrib -r" && dosprefs & "kpcinstall.inf") ## this removes the "read only" attribute ## use "+r" to add it to a fil... There is an attribute to remove/add a readonly to a complete folder including subfolders, which i do not have at hand right now. .. I can supply it on monday, when i am back at work. But maybe some other revolutionist can supply it earlier ;-) > Thanks in advance > > Bob Regards Klaus Major k_major at os.surf2000.de From janschenkel at yahoo.com Sat Sep 14 07:53:02 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Sep 14 07:53:02 2002 Subject: Drag & drop install & read-only status In-Reply-To: <3F838C83-C7DC-11D6-A677-000A27B49A96@os.surf2000.de> Message-ID: <20020914125150.47918.qmail@web11904.mail.yahoo.com> --- Klaus Major wrote: > [snip] > > There is an attribute to remove/add a readonly to a > complete folder > including subfolders, which i do not have at hand > right now. .. > That would be the "/s" parameter -> "attrib -r *.* /s" under Win95/98/ME, but it's different on Win NT/2000/XP (even in between versions) so I've found it safer to go through each subdirectory separately. Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From janschenkel at yahoo.com Sat Sep 14 08:02:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Sep 14 08:02:01 2002 Subject: Question about backgrounds In-Reply-To: Message-ID: <20020914130041.19932.qmail@web11901.mail.yahoo.com> Hi James, It's quite easy to accomplish: 1) Select the group 2) Click the "Properties" button in the toolbar. 3) Click on the rightmost tab "Group" 4) The fifth checkbox from the top is called: "Background behaviour" Now, if your stack only contains one card, there's nothing more to do. If you are standing on that card when you create a new card, the "background" groups will automatically be placed onto the new card. If you want to place it on any other cards you already have your stack, you will have to use the "place" command, so check its entry in the Transcript Dictionary. Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- james lewes wrote: > Is there a way of placing sn object or a group of > objects in the background > so that it is common to all cards __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From rpresender at earthlink.net Sat Sep 14 08:27:00 2002 From: rpresender at earthlink.net (Robert Presender) Date: Sat Sep 14 08:27:00 2002 Subject: Offset function Message-ID: <90A6A2D0-C7E5-11D6-A038-000393A19046@earthlink.net> Using Rev 1.5A7.1 or Rev 1.1.1 With reference to transcript dictionary offset, I put example 3 into the message box with and without the quotes and obtained the same results. offset("bark","embarking") offset(bark,embarking) Are the quotes necessary? If necessary, under what conditions? Thanks for any comments. Regards ... Bob From k_major at os.surf2000.de Sat Sep 14 08:47:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Sat Sep 14 08:47:01 2002 Subject: Offset function In-Reply-To: <90A6A2D0-C7E5-11D6-A038-000393A19046@earthlink.net> Message-ID: Hi Robert, > Using Rev 1.5A7.1 or Rev 1.1.1 > > With reference to transcript dictionary offset, I put example 3 into > the message box with and without the quotes and obtained the same > results. > > offset("bark","embarking") > offset(bark,embarking) > > Are the quotes necessary? If necessary, under what conditions? > > Thanks for any comments. Maybe these 2 little scripts will answer your question. See the difference ? Hints: variables ;-) on mouseUp put "dfdfdf" into bark put "xxxxxxxxx" into barking put offset(bark,embarking) end mouseUp ### -> 0 on mouseUp put offset("bark","embarking") end mouseUp ### -> 3 > Regards ... Bob Regards Klaus Major k_major at os.surf2000.de From rcozens at pon.net Sat Sep 14 09:55:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Sep 14 09:55:01 2002 Subject: gzip & Mac File Types In-Reply-To: References: Message-ID: >In general, on Mac OS systems this is >handled with the File Exchange control panel (nee "Easy Open" or "Macintosh >Easy Open") - it maps between extensions and types, and most of the relevant apps seem to use it. Jeanne, et al: This is fine for determining what app should open what file; but is essentially useless for determining the original file type & creator of a file that is now compressed and awaiting decompression. > >I don't have a handler to hand at the moment, but the detailed files will >return the necessary info (you'll have to massage it to get the data for >the specific file, and to get the type and creator info). I'll take it from there; thanks, Jeanne. Right now I'm leaning toward adding my own header with creator & file type to the file data before compressing. This means my decompress will only expand gzips created by my compression menuItem...not as general as I would like; but it gets the main job done. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 BradAllen at mac.com Sat Sep 14 11:32:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Sat Sep 14 11:32:01 2002 Subject: gzip & Mac File Types In-Reply-To: References: Message-ID: > >This is fine for determining what app should open what file; but is >essentially useless for determining the original file type & creator >of a file that is now compressed and awaiting decompression. > > >Right now I'm leaning toward adding my own header with creator & >file type to the file data before compressing. This means my >decompress will only expand gzips created by my compression >menuItem...not as general as I would like; but it gets the main job >done. >-- I wonder if there are any OS X command line tools available to binhex the file before compressing it into gzip. That would retain the resource fork + type and creator code, wouldn't it? Under Mac OS 9, I think you can binhex a file using Applescript and URL Access Scripting. From yvescoppe at skynet.be Sat Sep 14 12:45:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Sat Sep 14 12:45:01 2002 Subject: selection in a fld Message-ID: Hi, I have a fld of text. I'd like to select some lines of the fild and then press a btn. The script of the btn is put the selectedText of fld "xxx" into fld "yyy" but when I click the btn, the text in the fld "xxx" is de-selected, so no any chars is copied ! how to proceed ? Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From Roger.E.Eller at sealedair.com Sat Sep 14 12:53:01 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sat Sep 14 12:53:01 2002 Subject: selection in a fld Message-ID: Wierd, I was just doing the same thing. Then I tried this. put the selection into fld "yyy" > Hi, > > I have a fld of text. > I'd like to select some lines of the fild and then press a btn. > The script of the btn is > > > put the selectedText of fld "xxx" into fld "yyy" > > > but when I click the btn, the text in the fld "xxx" is de-selected, > so no any chars is copied ! > > how to proceed ? > > Thanks. > -- > Greetings. > > Yves COPPE > > Email : yvescoppe at skynet.be From BradAllen at mac.com Sat Sep 14 13:30:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Sat Sep 14 13:30:01 2002 Subject: selection in a fld In-Reply-To: References: Message-ID: You have to make sure the button's traversalOn property is set to false (go to the properties pallette under the Button tab, and uncheck "Can Receive Keyboard Focus". Otherwise, clicking the button will de-select your selected text. At 7:46 PM +0200 9/14/02, Yves Copp? wrote: >I have a fld of text. >I'd like to select some lines of the fild and then press a btn. >The script of the btn is > > put the selectedText of fld "xxx" into fld "yyy" > > >but when I click the btn, the text in the fld "xxx" is de-selected, >so no any chars is copied ! > >how to proceed ? From bl1ng.bl1ng at gmx.net Sat Sep 14 16:05:01 2002 From: bl1ng.bl1ng at gmx.net (Tony) Date: Sat Sep 14 16:05:01 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... References: <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> Message-ID: <3D83A41A.7040409@gmx.net> We usually create "tarballs" (g-zipped tars) when exchanging files with other *nix users. We are, in general, capable of accomplishing whatever we want to on our systems. This includes decompression of files compressed in other formats. (You will be assimilated.) Rob Cozens wrote: > > I have no idea how to bundle files for Unix, which is one reason the ftp > site lists individual files in addition to bundles...the other reason is > so people can update individual Library components without having to > download the whole enchilada. > From rpresender at earthlink.net Sat Sep 14 16:20:01 2002 From: rpresender at earthlink.net (Robert Presender) Date: Sat Sep 14 16:20:01 2002 Subject: Offset function In-Reply-To: <200209141601.MAA21283@www.runrev.com> Message-ID: <78297065-C827-11D6-91CC-000393A19046@earthlink.net> Hi Klaus, Your input triggered my memory (what's left of it) about literal strings. Thanks for straightening me out. Regards ... Bob On Saturday, September 14, 2002, at 09:01 AM, Klaus Major wrote: > Hi Robert, > >> Using Rev 1.5A7.1 or Rev 1.1.1 >> >> With reference to transcript dictionary offset, I put example 3 into >> the message box with and without the quotes and obtained the same >> results. >> >> offset("bark","embarking") >> offset(bark,embarking) >> >> Are the quotes necessary? If necessary, under what conditions? >> >> Thanks for any comments. > > Maybe these 2 little scripts will answer your question. > See the difference ? > Hints: variables ;-) > > on mouseUp > put "dfdfdf" into bark > put "xxxxxxxxx" into barking > put offset(bark,embarking) > end mouseUp > > ### -> 0 > > on mouseUp > put offset("bark","embarking") > end mouseUp > > ### -> 3 > >> Regards ... Bob > > Regards > > > Klaus Major From rpresender at earthlink.net Sat Sep 14 16:29:01 2002 From: rpresender at earthlink.net (Robert Presender) Date: Sat Sep 14 16:29:01 2002 Subject: Offset function In-Reply-To: <200209141601.MAA21283@www.runrev.com> Message-ID: Hi Klaus, Your input triggered my memory (what's left of it) about literal strings. Thanks for straightening me out. Regards ... Bob On Saturday, September 14, 2002, at 09:01 AM, Klaus Major wrote: > Hi Robert, > >> Using Rev 1.5A7.1 or Rev 1.1.1 >> >> With reference to transcript dictionary offset, I put example 3 into >> the message box with and without the quotes and obtained the same >> results. >> >> offset("bark","embarking") >> offset(bark,embarking) >> >> Are the quotes necessary? If necessary, under what conditions? >> >> Thanks for any comments. > > Maybe these 2 little scripts will answer your question. > See the difference ? > Hints: variables ;-) > > on mouseUp > put "dfdfdf" into bark > put "xxxxxxxxx" into barking > put offset(bark,embarking) > end mouseUp > > ### -> 0 > > on mouseUp > put offset("bark","embarking") > end mouseUp > > ### -> 3 > >> Regards ... Bob > > Regards > > > Klaus Major From bl1ng.bl1ng at gmx.net Sat Sep 14 16:37:00 2002 From: bl1ng.bl1ng at gmx.net (Tony) Date: Sat Sep 14 16:37:00 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... References: <20020913052721.65210.qmail@www.boxfrog.com> Message-ID: <3D83ABAB.4030904@gmx.net> Windows has such a wide range of users. The way you compress your files is almost going to determine your market. Novice: doesn't know anything about compression and unless they're running XP, they have no native utilities for .zip files. Will probably only be able to install programs using an exe installer. Beginner: knows about ZIP compression ala WinZip, has downloaded the free "trial" software, and can unzip standard ZIP files. Although this user has the ability to decompress other formats with the WinZip software, the user is unaware of it. User (or moderate level): Can probably figure out how to open a tarball using WinZip. May be too paranoid to do so. Power User: Can and will extract file(s) from a tarball if there's something in there he wants. This person is probably considering learning Linux or MAC. At this point, he's learned enough about Windows to guess that there must be a better way. System/Network Administrator: See User. Professional Computer Consultant: See User. Professional Programmer: See Beginner (especially if the guy's last contribution was a DOS app) or User. Most Windows users fall into the Novice or Beginner categories. miscdas at boxfrog.com wrote: > One of the questions was if Windoze users can deal with GZ format. Yes. > the following was copied from the gzip site http://www.gzip.org/#faq3 : > Is there a Windows interface for gzip? > PowerArchiver 6.1 and Winzip include the gzip compression code and can > decompress .gz and tar.gz files. Win-GZ can compress and decompress > files in gzip format. Please note that gzip, PowerArchiver 6.1 and > Win-GZ are freeware but you must register Winzip and PowerArchiver 7.0 > if you use them regularly. > How can I extract a tar.gz or .tgz file? > For Windows 9x/NT/2000/ME/XP, use PowerArchiver 6.1 (freeware) or Winzip > miscdas > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From bl1ng.bl1ng at gmx.net Sat Sep 14 16:54:01 2002 From: bl1ng.bl1ng at gmx.net (Tony) Date: Sat Sep 14 16:54:01 2002 Subject: Revolution Wiki References: Message-ID: <3D83AE22.5050206@gmx.net> I'm on a 28.8 dial up connection and have the site/individual pages loading within 10 or 15 seconds depending on content. Chipp Walters wrote: > The Wiki looks cool..but are all of them that slow to load? Or is it a slow > server. Or am I just on a slow connection??? > From monte at sweattechnologies.com Sat Sep 14 17:51:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat Sep 14 17:51:01 2002 Subject: Images & urls & keeping the image with no connection In-Reply-To: <006801c25ba9$d9c0ff60$6601a8c0@mckinley.dom> Message-ID: OK Yes as I said I know what import paint does. I was looking for something that would be equivalent to: set the imageData of image "myinternalimage" to the imageData of image "myExternalimage" That sounds like it should work but it produced a very messed up image. The docs also say nothing about "import paint form url " it's only file. I also got an error message when I just tried. So the import command is not what I need. To me it would be logical if setting the filename property to empty actually imported the image but perhaps this would be bad for some strange reason I can't think of???? > > Uh, Monte, that's what 'import paint' does. It will import a copy of the > graphic and make it an internal image that has no connection to outside > source material. > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "Monte Goulding" > To: > Sent: Friday, September 13, 2002 10:31 PM > Subject: RE: Images & urls & keeping the image with no connection > > > > > > Yes I know about import paint what I was really after was a way to just > copy > > the image and make it an internal image. It seems even the imageData > doesn't > > work to do that. The reason why I need to do this is I want to use an > image > > on a web server but if there is no connection I just want to either > display > > the last image that was seen or a default image. > > > > > > > > check out the 'import paint' command... > > > > > > > -----Original Message----- > > > > From: use-revolution-admin at lists.runrev.com > > > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Monte > > > > Goulding > > > > Sent: Friday, September 13, 2002 9:22 PM > > > > To: Rev List > > > > Subject: Images & urls & keeping the image with no connection > > > > > > > > > > > > > > > > How do you keep an image while offline? > > > > > > > > Monte Goulding > > > > B.App.Sc. (Hons.) > > > > > > > > Executive Director > > > > Sweat Technologies > > > > > > > > email: monte at sweattechnologies.com > > > > website: www.sweattechnologies.com > > > > mobile: (+61) 0421 138 274 > > > > > > > > > > > > _______________________________________________ > > > > use-revolution mailing list > > > > use-revolution at lists.runrev.com > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Sat Sep 14 17:51:18 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat Sep 14 17:51:18 2002 Subject: Cursor disappearing? In-Reply-To: Message-ID: I don't know. Even if you don't import the cursors you should get the default pointer on Win32 > > Monte, > > That's not the problem... I do have the cursors included in the > standalone. > Also, I have my monitor set to 16bit and it's still not showing > the cursor. > > Any other thoughts? > > > >> Anyone heard of this? > >> > >> Windows (95), when you move the cursor into a window (doesn't > >> happen in REV, > >> only in a standalone) the cursor disappears! If you move the > >> cursor out of > >> the rect of the window, the cursor reappears. > > > > I've had this problem on Win32 platforms with 256 colors or > less. Now I've > > just set all my aps just quit if the colorDepth is less than 16. > > > > Hmmm. on re-reading your problem I think you may need to make > sure that the > > cursors are included in the rev build. See the resources tab of the Dist > > Builder. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rcozens at pon.net Sat Sep 14 18:17:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Sep 14 18:17:01 2002 Subject: gzip & Mac File Types In-Reply-To: References: Message-ID: >I wonder if there are any OS X command line tools available to >binhex the file before compressing it into gzip. That would retain >the resource fork + type and creator code, wouldn't it? Brad, et al: That may be an issue I'll have to deal with in the future. Right now my goal is a utility to compress/decompress revolution stacks and text files across all platforms RR supports; so the resource fork does not come into play. One of the advantages of using a custom format (I'm appending eight characters to the end of the data before compressing and striping them off after decompressing) is that I can include logic to recognize that Unix & Windows files ending in .rev default to fileType "revoRSTK" and those ending in .txt default to "ttxtTEXT". (If someone will provide me with the fileType for MetaCard stacks, I'll default .mc to that also). This means stacks transferred to Macs from Unix or Windows will have the correct Creator/File Type set automatically upon decompression. If the foreign (to Mac) file has a different extension, "????????" is passed as fileType, and the decompression handler opens an ask dialog (on Macs) asking for the creator/type code. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 ambassador at fourthworld.com Sat Sep 14 18:30:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Sep 14 18:30:01 2002 Subject: gzip & Mac File Types In-Reply-To: Message-ID: Rob Cozens wrote: > One of the advantages of using a custom format (I'm appending eight > characters to the end of the data before compressing and striping > them off after decompressing) is that I can include logic to > recognize that Unix & Windows files ending in .rev default to > fileType "revoRSTK" and those ending in .txt default to "ttxtTEXT". > (If someone will provide me with the fileType for MetaCard stacks, > I'll default .mc to that also). Creator: 'MCRD' Type: 'MSTK' As long as you're using a custom format why not use a stackfile as the carrier, with the data from indivdual files tucked away in custom properties? For just a few bytes of overhead you have a rich, instantly-parseable format. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From kray at sonsothunder.com Sat Sep 14 18:35:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Sep 14 18:35:00 2002 Subject: Images & urls & keeping the image with no connection References: Message-ID: <007f01c25c46$9a13f320$6601a8c0@mckinley.dom> Monte, Found what you're looking for (I think): -- Assumes you have an image called "myinternalimage" already existing on the card on mouseUp answer file "Pick an image:" if it <> "" then put url("binfile:" & it) into image "myinternalimage" end if end mouseUp The basic construct is: put into . If you use "imageData", there is an expectation that the target image has the same exact rectangle as the source image (otherwise you get garbage colors). If you use the construct above the target image object is automatically resized to fit the incoming image (or scaled if the lockLocation is true). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Monte Goulding" To: Sent: Saturday, September 14, 2002 5:50 PM Subject: RE: Images & urls & keeping the image with no connection > > OK Yes as I said I know what import paint does. I was looking for something > that would be equivalent to: > > set the imageData of image "myinternalimage" to the imageData of image > "myExternalimage" > > That sounds like it should work but it produced a very messed up image. > > The docs also say nothing about "import paint form url " it's only file. I > also got an error message when I just tried. So the import command is not > what I need. > > To me it would be logical if setting the filename property to empty actually > imported the image but perhaps this would be bad for some strange reason I > can't think of???? > > > > Uh, Monte, that's what 'import paint' does. It will import a copy of the > > graphic and make it an internal image that has no connection to outside > > source material. > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > > > ----- Original Message ----- > > From: "Monte Goulding" > > To: > > Sent: Friday, September 13, 2002 10:31 PM > > Subject: RE: Images & urls & keeping the image with no connection > > > > > > > > > > Yes I know about import paint what I was really after was a way to just > > copy > > > the image and make it an internal image. It seems even the imageData > > doesn't > > > work to do that. The reason why I need to do this is I want to use an > > image > > > on a web server but if there is no connection I just want to either > > display > > > the last image that was seen or a default image. > > > > > > > > > > > check out the 'import paint' command... > > > > > > > > > -----Original Message----- > > > > > From: use-revolution-admin at lists.runrev.com > > > > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Monte > > > > > Goulding > > > > > Sent: Friday, September 13, 2002 9:22 PM > > > > > To: Rev List > > > > > Subject: Images & urls & keeping the image with no connection > > > > > > > > > > > > > > > > > > > > How do you keep an image while offline? > > > > > > > > > > Monte Goulding > > > > > B.App.Sc. (Hons.) > > > > > > > > > > Executive Director > > > > > Sweat Technologies > > > > > > > > > > email: monte at sweattechnologies.com > > > > > website: www.sweattechnologies.com > > > > > mobile: (+61) 0421 138 274 > > > > > > > > > > > > > > > _______________________________________________ > > > > > use-revolution mailing list > > > > > use-revolution at lists.runrev.com > > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > _______________________________________________ > > > > use-revolution mailing list > > > > use-revolution at lists.runrev.com > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Sat Sep 14 18:59:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat Sep 14 18:59:01 2002 Subject: Images & urls & keeping the image with no connection In-Reply-To: <007f01c25c46$9a13f320$6601a8c0@mckinley.dom> Message-ID: YES! Thanks that's exactly what I want. It works with http too. Perfect for offline browsing!!!! Offcourse! Have a look at the put docs DOH! > > Monte, > > Found what you're looking for (I think): > > -- Assumes you have an image called "myinternalimage" already existing on > the card > > on mouseUp > answer file "Pick an image:" > if it <> "" then > put url("binfile:" & it) into image "myinternalimage" > end if > end mouseUp > > The basic construct is: > > put into . > > If you use "imageData", there is an expectation that the target image has > the same exact rectangle as the source image (otherwise you get garbage > colors). If you use the construct above the target image object is > automatically resized to fit the incoming image (or scaled if the > lockLocation is true). > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > ----- Original Message ----- > From: "Monte Goulding" > To: > Sent: Saturday, September 14, 2002 5:50 PM > Subject: RE: Images & urls & keeping the image with no connection > > > > > > OK Yes as I said I know what import paint does. I was looking for > something > > that would be equivalent to: > > > > set the imageData of image "myinternalimage" to the imageData of image > > "myExternalimage" > > > > That sounds like it should work but it produced a very messed up image. > > > > The docs also say nothing about "import paint form url " it's > only file. I > > also got an error message when I just tried. So the import > command is not > > what I need. > > > > To me it would be logical if setting the filename property to empty > actually > > imported the image but perhaps this would be bad for some > strange reason I > > can't think of???? > > > > > > Uh, Monte, that's what 'import paint' does. It will import a > copy of the > > > graphic and make it an internal image that has no connection > to outside > > > source material. > > > > > > Ken Ray > > > Sons of Thunder Software > > > Email: kray at sonsothunder.com > > > Web Site: http://www.sonsothunder.com/ > > > > > > ----- Original Message ----- > > > From: "Monte Goulding" > > > To: > > > Sent: Friday, September 13, 2002 10:31 PM > > > Subject: RE: Images & urls & keeping the image with no connection > > > > > > > > > > > > > > Yes I know about import paint what I was really after was a way to > just > > > copy > > > > the image and make it an internal image. It seems even the imageData > > > doesn't > > > > work to do that. The reason why I need to do this is I want > to use an > > > image > > > > on a web server but if there is no connection I just want to either > > > display > > > > the last image that was seen or a default image. > > > > > > > > > > > > > > check out the 'import paint' command... > > > > > > > > > > > -----Original Message----- > > > > > > From: use-revolution-admin at lists.runrev.com > > > > > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Monte > > > > > > Goulding > > > > > > Sent: Friday, September 13, 2002 9:22 PM > > > > > > To: Rev List > > > > > > Subject: Images & urls & keeping the image with no connection > > > > > > > > > > > > > > > > > > > > > > > > How do you keep an image while offline? > > > > > > > > > > > > Monte Goulding > > > > > > B.App.Sc. (Hons.) > > > > > > > > > > > > Executive Director > > > > > > Sweat Technologies > > > > > > > > > > > > email: monte at sweattechnologies.com > > > > > > website: www.sweattechnologies.com > > > > > > mobile: (+61) 0421 138 274 > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > use-revolution mailing list > > > > > > use-revolution at lists.runrev.com > > > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > > _______________________________________________ > > > > > use-revolution mailing list > > > > > use-revolution at lists.runrev.com > > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > > > > _______________________________________________ > > > > use-revolution mailing list > > > > use-revolution at lists.runrev.com > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From paporter at rocketmail.com Sat Sep 14 19:18:00 2002 From: paporter at rocketmail.com (Paul A. Porter) Date: Sat Sep 14 19:18:00 2002 Subject: Request for input from the more experienced users please. Message-ID: <20020915001706.32794.qmail@web14108.mail.yahoo.com> Though I'm brand new to Revolution, I've been programming in Visual Basic for some time. All the programming I do is of a business and information processing nature. The reason I'm looking at Rev is two fold: An effort to escape Micro$oft Take advantage of multiplatform capability I have found a couple of development packages will allow both of the above, one that is a true business development package; but I really like Rev. I do have several real concerns about Rev though and how well I'm going to be able to mold it into a business development package. Among my concerns are: No grid or listview (I've been told this is in the works but I'm not much on vaper ware.) Is there an existing third party solution for this? I understand that Rev can access MySQL but I'm wondering does it use MyODBC or a natural integration like that of PHP? Report capabilities. I've had a rather disastrous experience trying to print from the documentation that comes with Rev. This makes me wonder about it's report and print capabilities. I've read something about a product called Datapro Report (or something like that) is this an add on, a plug-in, or a third party utility, and what does it cost? What are Rev's multie-user capabilities? Does it have true record locking capabilities? If those more experienced users would please address the above and provide any additional information they think might be helpful in my decision making process I'd be most appreciative. Thank you for any input you might be willing to provide. Paul __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From jameslewes at comcast.net Sat Sep 14 20:11:01 2002 From: jameslewes at comcast.net (james lewes) Date: Sat Sep 14 20:11:01 2002 Subject: Group Question In-Reply-To: <20020915001706.32794.qmail@web14108.mail.yahoo.com> Message-ID: I have solved my earlier problem with how to build a table with 130 buttons, thanks to everybody for their help and input. I have however been scripting each of the objects seperately. Is there any way of writing a script for the group that would enable me to go to the related card that the image/button references. James From xslaugh at hotmail.com Sat Sep 14 20:13:01 2002 From: xslaugh at hotmail.com (Scott Slaugh) Date: Sat Sep 14 20:13:01 2002 Subject: Creating fonts Message-ID: Is there anyone out there who knows how to create fonts from a bitmap image? I am looking for a free program, or trial version, that will do this on Windows. For me, just creating a bitmap font would work. I only need it in one size. I tried the font creator program, but it didn't import my images with them bearing any resemblence to that letter. Thanks! Scott Slaugh From monte at sweattechnologies.com Sat Sep 14 20:17:00 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat Sep 14 20:17:00 2002 Subject: Group Question In-Reply-To: Message-ID: on mouseup if word 1 of the target is "button" then go cd (the short name of the target) end if end mouseUp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of james lewes > Sent: Sunday, 15 September 2002 10:37 AM > To: use-revolution at lists.runrev.com > Subject: Group Question > > > I have solved my earlier problem with how to build a table with > 130 buttons, > thanks to everybody for their help and input. > > I have however been scripting each of the objects seperately. Is there any > way of writing a script for the group that would enable me to go to the > related card that the image/button references. > > James > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gcanyon at inspiredlogic.com Sat Sep 14 21:29:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Sep 14 21:29:01 2002 Subject: Revolution Wiki In-Reply-To: References: Message-ID: >The Wiki looks cool..but are all of them that slow to load? Or is it a slow >server. Or am I just on a slow connection??? > >What would be REALLY cool though, is to somehow CAPTURE the best stuff on >this list and put it in an online searchable database... > >Or, just allow the archive of this list to be searched (like the MetaCard >list) > >-Chipp The server is reasonably fast for me (connecting from elsewhere) with the exception of searching. I have a query in to the authors of the wiki software regarding that. What kind of performance are you seeing? -- regards, Geoff Canyon gcanyon at inspiredlogic.com From jperryl at ecs.fullerton.edu Sat Sep 14 23:01:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat Sep 14 23:01:01 2002 Subject: Creating fonts In-Reply-To: Message-ID: My response is probably hopelessly out of date, but Fontographer I think used to allow you to do this. For example, I think you could create a font for a logo or a set of logos. Judy On Sat, 14 Sep 2002, Scott Slaugh wrote: > Is there anyone out there who knows how to create fonts from a bitmap image? > I am looking for a free program, or trial version, that will do this on > Windows. For me, just creating a bitmap font would work. I only need it in > one size. I tried the font creator program, but it didn't import my images > with them bearing any resemblence to that letter. Thanks! k From jeanne at runrev.com Sun Sep 15 02:18:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Sep 15 02:18:01 2002 Subject: Offset function In-Reply-To: <90A6A2D0-C7E5-11D6-A038-000393A19046@earthlink.net> Message-ID: At 6:26 AM -0700 9/14/2002, Robert Presender wrote: >offset("bark","embarking") >offset(bark,embarking) > >Are the quotes necessary? If necessary, under what conditions? The overall rule of thumb is that it is always best practice to quote literal strings. If a string is a single word, is not a reserved Transcript word, and is not defined as a variable or constant anywhere, you can often (not in all contexts) get away with not quoting it. The example you give is one such context, basically because it's easy to parse the offset function unambiguously. But it's always a better idea to use quotes, both stylistically (because it makes it clear that this is a literal string) and practically (because if you develop a sloppy habit in this area, it's easy to forget to quote when it does matter - and sometimes bugs introduced in this way aren't especially easy to find). -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sun Sep 15 02:18:29 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Sep 15 02:18:29 2002 Subject: Revolution Wiki In-Reply-To: References: Message-ID: At 2:15 PM -0700 9/13/2002, Chipp Walters wrote: >Or, just allow the archive of this list to be searched (like the MetaCard >list) You can use Google for this: -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sun Sep 15 02:18:40 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Sep 15 02:18:40 2002 Subject: Trouble Printing Documentation In-Reply-To: <20020912213349.91902.qmail@web14101.mail.yahoo.com> Message-ID: At 2:33 PM -0700 9/12/2002, Paul A. Porter wrote: >Is anyone else having trouble printing pages from the documentation? >When I click on the "Print" button on a page, card, stack, whatever >it's called in Revolution, I am getting 2 lines of text on the first >page one line of text on the second page and then back to two lines >and then one line and so on. > >I'm on a network printer which is an HP LJ4V. I've had one other report of printing problems, also by someone using an HP (Hewlett Packard bubble jet 812c). Has anyone else had similar problems, and if so are you using an HP printer? Can you check that you have the latest/greatest HP driver? Do see similar problems with the Print Field item in the File menu? Thanks. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jameslewes at comcast.net Sun Sep 15 07:44:01 2002 From: jameslewes at comcast.net (james lewes) Date: Sun Sep 15 07:44:01 2002 Subject: adding custom icons In-Reply-To: Message-ID: how can one import custom icons into revolution From jperryl at ecs.fullerton.edu Sun Sep 15 10:09:00 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun Sep 15 10:09:00 2002 Subject: Question about backgrounds In-Reply-To: Message-ID: James, I believe that what you would do is to group your objects, then double-click that group ande in the properties palette select the Group tab and then check the "background behavior" property. HTH, Judy On Sat, 14 Sep 2002, james lewes wrote: > Is there a way of placing sn object or a group of objects in the background > so that it is common to all cards > k From rcozens at pon.net Sun Sep 15 10:45:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Sep 15 10:45:01 2002 Subject: gzip & Mac File Types In-Reply-To: References: Message-ID: >>I wonder if there are any OS X command line tools available to >>binhex the file before compressing it into gzip. That would retain >>the resource fork + type and creator code, wouldn't it? > >Brad, et al: > >That may be an issue I'll have to deal with in the future. The future began last night. I'm using get URL resfile: to get the resource fork, appending it to the data fork, and storing fileType + "#"+ the length of the data fork at the end of the data. Both compress & decompress were scripted last night. Now comes testing. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rcozens at pon.net Sun Sep 15 10:45:11 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Sep 15 10:45:11 2002 Subject: gzip & Mac File Types In-Reply-To: References: Message-ID: >Creator: 'MCRD' >Type: 'MSTK' Thanks, Richard...implemented. > >As long as you're using a custom format why not use a stackfile as the >carrier, with the data from indivdual files tucked away in custom >properties? I hate to show my ignorance; but I'm not understanding the advantages of this approach. All I want is a utility that can compress/decompress individual text files & stacks across all platforms supported by RunRev...though I'm adding support for Mac files with resource forks for completeness. I don't see editing as coming into play here. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rcozens at pon.net Sun Sep 15 10:45:20 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Sep 15 10:45:20 2002 Subject: Distributing Rev Stacks (was The age of user-translatable applications... In-Reply-To: <3D83A41A.7040409@gmx.net> References: <08F0A58F-C65B-11D6-8851-000393853D6C@rpsystems.net> <3D83A41A.7040409@gmx.net> Message-ID: >(You will be assimilated.) Thanks, Tony I hope everyone will let me know when & where I miss the mark on cross-platform compatibility. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rcozens at pon.net Sun Sep 15 10:52:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Sep 15 10:52:01 2002 Subject: Request for input from the more experienced users please. In-Reply-To: <20020915001706.32794.qmail@web14108.mail.yahoo.com> References: <20020915001706.32794.qmail@web14108.mail.yahoo.com> Message-ID: Hi Paul, I've been designing & programming software since 1974. My primary focus is small to medium sized business & governmental accounting systems. >Among my concerns are: > >No grid or listview (I've been told this is in the works but I'm not >much on vaper ware.) Is there an existing third party solution for >this? Unfortunately, I have no experience with VB; so I don't know what grids and listviews do in that environment. If your goal is to align controls at a fixed grid coordinate, I don't think is totally straightforward; but I've never tried it. If your goal is to align multiple controls, it's simply a matter of clicking on the control you want the rest aligned to, shift-clicking on the controls you want aligned to it, selecting the align menuItem, and specify whether alignment is based on top, bottom, left edge, etc. If a VB listview shows you all the components & assorted resources of an application, I would guess RunRev's Application Overview has it beat. > >I understand that Rev can access MySQL but I'm wondering does it use >MyODBC or a natural integration like that of PHP? Don't know, as I'm not using MySQL. > >Report capabilities. I've had a rather disastrous experience trying >to print from the documentation that comes with Rev. This makes me >wonder about it's report and print capabilities. A beefed-up report printing capability is in the wings (read "still vaporware as of this release"); however I find the revPrintText command more than adequate for users who accept monoproportional, single-font business reports. The Serendipity Library includes a printTable handler that puts a wrapper around revPrintText for ease of use. > >What are Rev's multie-user capabilities? Does it have true record >locking capabilities? In the original implementation of Xtalk (HyperCard), the first user to open a stack has read/write access and all other users get read access only. I have not checked this in RunRev; but I believe the underlying MetaCard engine follows this convention. Obviously, multi-user access and record-locking for database access is a function of the db engine. > > >If those more experienced users would please address the above and >provide any additional information they think might be helpful in my >decision making process I'd be most appreciative. > If control & power to design an engaging, interactive user interface is important to you, you've come to the right place. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 gcanyon at inspiredlogic.com Sun Sep 15 12:24:00 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Sep 15 12:24:00 2002 Subject: Revolution Wiki In-Reply-To: References: Message-ID: >The Wiki looks cool..but are all of them that slow to load? Or is it a slow >server. Or am I just on a slow connection??? > >What would be REALLY cool though, is to somehow CAPTURE the best stuff on >this list and put it in an online searchable database... > >Or, just allow the archive of this list to be searched (like the MetaCard >list) > >-Chipp Sorry, forgot to respond to the other two points. I think Ken Ray is collecting the "Best of the List," although I would certainly love to see such a thing on the wiki as well. I've added a page to the wiki -- you could have done that if you wanted ;-) It's at As always, anyone can post to it. Please get the author's permission, or at least let the author know, so he or she can delete it if he or she wants. I'm not sure why the list archives aren't searchable, but I'm sure someone reading the list does. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From rpresender at earthlink.net Sun Sep 15 12:35:01 2002 From: rpresender at earthlink.net (Robert Presender) Date: Sun Sep 15 12:35:01 2002 Subject: Offset function In-Reply-To: <200209151453.KAA15691@www.runrev.com> Message-ID: <46B5D39B-C8D1-11D6-844E-000393A19046@earthlink.net> On Sunday, September 15, 2002, at 07:53 AM, Jeanne wrote: snip > The overall rule of thumb is that it is always best practice to quote > literal strings. If a string is a single word, is not a reserved > Transcript > word, and is not defined as a variable or constant anywhere, you can > often > (not in all contexts) get away with not quoting it. The example you > give is > one such context, basically because it's easy to parse the offset > function > unambiguously. > > But it's always a better idea to use quotes, both stylistically > (because it > makes it clear that this is a literal string) and practically (because > if > you develop a sloppy habit in this area, it's easy to forget to quote > when > it does matter - and sometimes bugs introduced in this way aren't > especially easy to find). > Thanks Jeanne. Very well put. Regards ... Bob From gcanyon at inspiredlogic.com Sun Sep 15 12:37:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Sep 15 12:37:01 2002 Subject: 1 big or many little In-Reply-To: <1D822ECF-C41D-11D6-BFE0-0030656DAB8E@mac.com> References: <1D822ECF-C41D-11D6-BFE0-0030656DAB8E@mac.com> Message-ID: At 2:53 AM +0900 9/10/02, mark mitchell wrote: >Well, since we have "handler local" and "script local"....can't we have a "stack local" ? That would solve the 'meshing globals' problem and absolve the need for a rev 'player'. You could prefix globals with two or three characters representing the stack they are in. That would avoid a namespace collision. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From gary.rathbone at btclick.com Sun Sep 15 12:44:01 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Sun Sep 15 12:44:01 2002 Subject: This list is searchable !!! In-Reply-To: Message-ID: For those of you who may have missed Jeannes reply on the "Wiki", I'm repeating it here as I see it as *very* important !!! You can search the Rev list archives at... This is a GREAT resource !!! Regards Gary Rathbone From kray at sonsothunder.com Sun Sep 15 13:14:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 15 13:14:00 2002 Subject: Request for input from the more experienced users please. References: <20020915001706.32794.qmail@web14108.mail.yahoo.com> Message-ID: <003e01c25ce2$cf55b4a0$6601a8c0@mckinley.dom> Paul, I've used VB for a long time, so I know what you're looking for. Here's my comments: > No grid or listview (I've been told this is in the works but I'm not > much on vaper ware.) Is there an existing third party solution for > this? OK. As far as a grid object is concerned, Rev uses a field object that can truncate data at the column boundaries so you can have multiple columns of information. It isn't a grid object (i.e. you can't directly address cells by row and column number like in VB, nor can you select individual cells for editing or formatting), but it works pretty well in a pinch. I know there have been a couple of attempts at making a grid object that are publicly available (I have a link on my site in the Downloads area of the Rev page: http://www.sonsothunder.com/devres/revolution/revolution.htm to a "Graph and Table Objects" download), but so far there is no inherent grid or table object in Rev as yet. As far as list views are concerned, most of it can be simulated based on what you want to do. For example, if you want a list of pictures or icons, you can embed images in a field; if you want a set of tiled thumbnails, you can group a bunch of icons/pictures and set the scrollbar of the group so that you can scroll through them. Once again, no inherent object, but you can get probably 85% of what the list view control in VB provides in Rev with a little work. > I understand that Rev can access MySQL but I'm wondering does it use > MyODBC or a natural integration like that of PHP? It's my understanding that it is straight ODBC, although Tuviah Snyder should answer that as he developed it for RunRev. > Report capabilities. I've had a rather disastrous experience trying > to print from the documentation that comes with Rev. This makes me > wonder about it's report and print capabilities. I've read something > about a product called Datapro Report (or something like that) is > this an add on, a plug-in, or a third party utility, and what does it > cost? > > What are Rev's multie-user capabilities? Does it have true record > locking capabilities? Rob already addressed these in an earlier response. If you want record-locking, use a database connection. You might be interested at looking at the VB/Rev comparison that is on the RunRev site (which I wrote, incidentally) at http://www.runrev.com/revolution/info/compare/index.html, which includes a database-enabled app built with Rev that you can examine. Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mail at richard-hillen.de Sun Sep 15 13:19:01 2002 From: mail at richard-hillen.de (Richard Hillen) Date: Sun Sep 15 13:19:01 2002 Subject: Database on a server Message-ID: <3D84CEAE.FFB375B2@richard-hillen.de> Hello list, I made a database using the splash-screen method, compiled it as a standalone and put it on a server, so that my co-workes can use it also. They should use it reading and writing. My questions: 1) If one person is working with the stack and another person wants to use it also, Is there a method in RunRev to inform this person, that the stack is in use? 2) Is there a method to explore, which user is using the stack, so i can inform other users, who want to use the stack, that at present "user NNN" is using the stack? 3) Are there further suggestions, how to handle this problem? Thank you. Richard. From mail at richard-hillen.de Sun Sep 15 13:19:09 2002 From: mail at richard-hillen.de (Richard Hillen) Date: Sun Sep 15 13:19:09 2002 Subject: Win & Mac using same datastack Message-ID: <3D84CEC1.68EE7772@richard-hillen.de> Hello list, I made a database using the splash screen method and compiled it as standalones for Windows and Macintosh; so I got the following stacks: splash_win.exe and data_win from the windows compiling, splash_mac and data_mac from the mac compiling. I copied the files splash_win.exe, splash_mac, data_win (without data_mac!) onto a server and found, that Macintosh and Windows-User can start their splash-screen-stacks and use the _same_ datafile. Thats wonderful. But: I there any (hidden) problem doing it? Thank you. Richard From mail at richard-hillen.de Sun Sep 15 15:07:01 2002 From: mail at richard-hillen.de (Richard Hillen) Date: Sun Sep 15 15:07:01 2002 Subject: revCopyFile Message-ID: <3D84E81D.52D49955@richard-hillen.de> Hello list, I want to copy a file from one location into another Directorya. Any idea, why this script throws an execution error on Mac OS 9.2.2? on mouseup answer file "Which File to copy?" put it into FTC put FTC answer directory "Copy to which Directory?" put it into CTD put CTD revcopyfile FTC,CTD put the result end mouseup Thanx. Richard. From jperryl at ecs.fullerton.edu Sun Sep 15 16:20:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun Sep 15 16:20:01 2002 Subject: Stacks delivered via the web? In-Reply-To: <3D84E81D.52D49955@richard-hillen.de> Message-ID: Hi, I was just admitted to a 2nd master's program in instructional design & technology. They want us to use Director, but have said that I can use Rev if I can deliver the stacks and stack content via the web (and they don't mean download an executable file and run it locally). I just tried searching the archives but couldn't find information that I was able to comprehend on the subject. Is it do-able, or do I need to buy Director and learn Director ? Thanks for any directions you can offer. Judy Perry From troy at rpsystems.net Sun Sep 15 16:31:00 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sun Sep 15 16:31:00 2002 Subject: Stacks delivered via the web? In-Reply-To: Message-ID: <41BD2FD2-C8F2-11D6-8CB0-000393853D6C@rpsystems.net> On Sunday, September 15, 2002, at 05:19 PM, Judy Perry wrote: > I was just admitted to a 2nd master's program in instructional design & > technology. They want us to use Director, but have said that I can use > Rev if I can deliver the stacks and stack content via the web (and they > don't mean download an executable file and run it locally). This sounds suspiciously like *they* expect it to run in a browser. Not going to happen. Who are these "instructors" who consider the Internet to be only what is seen through a browser? This narrow-minded view is really annoying to me. Personally, it would leave me questioning their competence. -- Troy RPSystems, LTD www.rpsystems.net From harrison at all-auctions.com Sun Sep 15 16:38:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Sun Sep 15 16:38:01 2002 Subject: Stacks delivered via the web? In-Reply-To: Message-ID: on 9/15/2002 5:19 PM, Judy Perry at jperryl at ecs.fullerton.edu wrote: > Hi, > > I was just admitted to a 2nd master's program in instructional design & > technology. They want us to use Director, but have said that I can use > Rev if I can deliver the stacks and stack content via the web (and they > don't mean download an executable file and run it locally). > ... > Thanks for any directions you can offer. > > Judy Perry > Judy, It sounds like what you really want to do is design a website. You do not mean that you want to deliver the stacks via the web, you are talking about building the website/content with Revolution yes? Revolution can certainly do some of these things, but without knowing anything about your project or the scope of the project, it is a little too difficult to determine if Revolution has the capability to do what you are trying to accomplish. Perhaps if you could be more specific as to the nature of your project we might be able to give you a better answer as to which direction you need to go with it. Another deciding factor is how soon is your project due? Good luck! Rick Harrison From Roger.E.Eller at sealedair.com Sun Sep 15 16:40:01 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sun Sep 15 16:40:01 2002 Subject: revCopyFile Message-ID: Richard, That is a good question since I just verified it on Mac OS 9.2.1. I also tried it on Windows NT 4.0, and it worked fine there. It seems Mac specific. ~Roger > Hello list, > > I want to copy a file from one location into another Directorya. > > Any idea, why this script throws an execution error on Mac OS 9.2.2? > > on mouseup > answer file "Which File to copy?" > put it into FTC > put FTC > > answer directory "Copy to which Directory?" > put it into CTD > put CTD > > revcopyfile FTC,CTD > put the result > > end mouseup > > > Thanx. > > Richard. From jperryl at ecs.fullerton.edu Sun Sep 15 17:20:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun Sep 15 17:20:01 2002 Subject: Stacks delivered via the web? In-Reply-To: <41BD2FD2-C8F2-11D6-8CB0-000393853D6C@rpsystems.net> Message-ID: Too funny! I suppose they would argue that browser-running is necessary because it is a "distance learning" class and the web is the technological analog to correspondence school. I agree that it is a narrow view of the usefulness of the internet, but "they" are not technology specialists but rather are from the education disciplines. Plus, they are "in charge" and I'm not likely to be very popular if Day 1 I tell them they are being narrow-minded and incompetent. Thx, though... Judy On Sun, 15 Sep 2002, Troy Rollins wrote: > Who are these "instructors" who consider the Internet to be only what is > seen through a browser? This narrow-minded view is really annoying to > me. Personally, it would leave me questioning their competence. From pdel at noos.fr Sun Sep 15 17:22:00 2002 From: pdel at noos.fr (Pierre Delain) Date: Sun Sep 15 17:22:00 2002 Subject: Fonts on Mac OS 10.2 Message-ID: <8518AFD6-C8F9-11D6-B809-0030654CCF32@noos.fr> Moving from Mac OS 9.1 to Mac OS 10.2, I find a strange phenomenon with my fonts. I use two internal hard drives in my G4, HD1 and HD2. - on HD1, I have Syst 9.1, Rev 1.1.1 for Mac OS, and all my stacks. - on HD2, I have Syst 10.2 and Rev 1.1.1 for Mac OS X. When I open Rev with OS 10.2 (without using Classic Environment), the fonts that appear in the menu Text of Rev are those of System 9.1! The fonts included in Syst 10.2 do not appear at all. If I try "the Fontnames", I get all the fonts (Syst 9.1 from my HD1 + Syst 10.2 from my HD2) - but those of my current OS (Syst 10.2) cannot be used (they don't appear in the menu)! I would like to keep my stacks on HD1, and use Rev with OSX. How can I get rid of the Syst 9.1 fonts? Thanks, P. Delain From jperryl at ecs.fullerton.edu Sun Sep 15 17:30:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun Sep 15 17:30:01 2002 Subject: Stacks delivered via the web? In-Reply-To: Message-ID: Rick, > It sounds like what you really want to do is design a website. > You do not mean that you want to deliver the stacks via the web, > you are talking about building the website/content with Revolution yes? Alas, no. My job as a student is to develop educational software modulettes, the content of which is to be viewed online. I suppose I should have mentioned that it is a distance ed class, so it's not as if I can hand them a CD and have them run the stuff on their personal machines as standalones. They don't want to have to have people uploading and downloading files because they say they don't want to subject people to viruses. A better guess is perhaps that they do not wish to tax the other non-technically oriented students by having them do such geeky stuff as ftp. > Perhaps if you could be more specific as to the nature of your project > we might be able to give you a better answer as to which direction you > need to go with it. Another deciding factor is how soon is your project > due? Well, "class" begins tomorrow; the 30 units of coursework should be concluded within 20 months. It is an online accreditated course. I don't know when the modulettes will be assigned. The final project I believe is another matter. I have already been given tentative approval to develop a set of templates, cbt and perhaps a different front-end like view to Rev to make it a more suitable authoring environment for non-technical K-12 teachers. This is the point of my beef about "everybody" using Director. Everybody doesn't because it's simply not a trivial learning curve. "Everybody" I've conversed with has indicated that they don't use it except for courses such as I will be taking because the environment -- metaphor and scripting language -- is too complex for normal humans. Thanks for the suggestions, though. Judy From ambassador at fourthworld.com Sun Sep 15 18:12:02 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Sep 15 18:12:02 2002 Subject: gzip & Mac File Types In-Reply-To: Message-ID: Rob Cozens wrote: >> As long as you're using a custom format why not use a stackfile as the >> carrier, with the data from indivdual files tucked away in custom >> properties? > > I hate to show my ignorance; but I'm not understanding the advantages > of this approach. All I want is a utility that can > compress/decompress individual text files & stacks across all > platforms supported by RunRev...though I'm adding support for Mac > files with resource forks for completeness. I don't see editing as > coming into play here. Any multi-part format must be parsed. Your code must read the file's data, Finder info, and res fork, and store these in a way that allows the tool to piece them out again later as needed. It's simple enough to use a text file for this, but just a tad simpler to use a stack file. Compare whatever parsing routines you were going to write with the simple, robust, and ultra-fast one-liner syntax of getting a custom property. And expanding the notion to work with multiple files becomes even more convenient with Rev's array notation. In fact, if you later find you need to add any other info at all (such as directives on what to do with the uncompressed files -- run them in an app, leave 'em be, etc.) you can just add another property or property array to the stack file, and you never need to worry about breaking your format. With a text file you also have the potential risk that whatever delimiters you use may appear in data. With Rev's ability to store binary data in custom properties you never need to think about how it's delimited. For more on using stack files for data storage, see: There's more info in that post than you'll need, but hopefully it'll tickle your imagination about the robustness and ease of using stack files for data storage. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From scott at tactilemedia.com Sun Sep 15 19:08:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Sun Sep 15 19:08:01 2002 Subject: Stacks delivered via the web? In-Reply-To: Message-ID: Recently, Judy Perry wrote: >> It sounds like what you really want to do is design a website. >> You do not mean that you want to deliver the stacks via the web, >> you are talking about building the website/content with Revolution yes? > > Alas, no. My job as a student is to develop educational software > modulettes, the content of which is to be viewed online. I suppose I > should have mentioned that it is a distance ed class, so it's not as if I > can hand them a CD and have them run the stuff on their personal machines > as standalones. They don't want to have to have people uploading and > downloading files because they say they don't want to subject people to > viruses. A better guess is perhaps that they do not wish to tax the other > non-technically oriented students by having them do such geeky stuff as > ftp. If your content *doesn't* need to run within a browser, you can easily create a Rev/MC stack that loads/runs stacks from the Web (see load url...). The Web-based stacks are loaded into a local cache so this a little more streamlined than downloading and running a file. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From kray at sonsothunder.com Sun Sep 15 19:52:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 15 19:52:01 2002 Subject: Stacks delivered via the web? References: Message-ID: <006c01c25d1a$6f2788f0$6601a8c0@mckinley.dom> Judy, > This is the point of my beef about "everybody" using Director. Everybody > doesn't because it's simply not a trivial learning curve. "Everybody" > I've conversed with has indicated that they don't use it except for > courses such as I will be taking because the environment -- metaphor and > scripting language -- is too complex for normal humans. If it's any consolation, Director's scripting language (Lingo) is an xTalk knock-off, so it should be pretty easy to learn. What is a bit more complex is the timeline metaphor, which is very different than a card-based one. But here's a couple of things that might help (they may not make sense now until you get started, but keep 'em handy and see if they help out when the time comes): 1) The "score" is like a stack; it contains all the content. 2) A "frame" is like a card, in that you place one or more objects on a frame and they are visible to the end user and can interact with them. 3) Objects are placed in the score, and can (and usually do) span multiple frames. This allows you to simulate sort of a "shared background" in Director. 4) The "playback head" starts at frame 1 and continues going frame by frame until it is told explicitly to stop by code. Technically the playback head never stops, it just ends up "looping" on the frame you tell it to and this simulates a stopping of the playback head (This is done by telling it to "go to the frame".) 5) Objects are visible to the user so long as they exist in the frame where the playback head is, and will disappear if the playback head exits their frame and their span isn't long enough (i.e. if you have a graphic in frames 1 to 5 and in frame 10 a "go to the frame", when you play it you will see the graphic on screen as the playback head goes from frame 1 to 5, it will disappear when it gets to frame 6, and will remain gone to the user becaus the playback head will hit frame 10 and loop there). 6) Now that you have read #2 above, keep in mind that a frame is *like* a card; in many Director apps it is a *span of frames* that are more like a card. For example, suppose you want to simulate "going to a card", having an object move across the screen and then stop, and then when you click on it you "go to the next card". If the first frame of the "card" is frame 10, the animation plays from frames 10 to 30, and the "go to the frame" is in frame 30, technically all 20 frames constitute "the card". OK, I hope that's enough to help you get started... if you have any questions while you're taking the class, feel free to email me off-list. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From troy at rpsystems.net Sun Sep 15 20:23:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sun Sep 15 20:23:01 2002 Subject: Stacks delivered via the web? In-Reply-To: <006c01c25d1a$6f2788f0$6601a8c0@mckinley.dom> Message-ID: On Sunday, September 15, 2002, at 08:46 PM, Ken Ray wrote: > If it's any consolation, Director's scripting language (Lingo) is an > xTalk > knock-off, so it should be pretty easy to learn. What is a bit more > complex > is the timeline metaphor, which is very different than a card-based > one. But > here's a couple of things that might help (they may not make sense now > until > you get started, but keep 'em handy and see if they help out when the > time > comes): Ken, I'm an old timer Director user as well. I don't think I've ever seen a comparison quite the way you described it. Frames are like cards, etc. ;-) From my point of view, I've grown to simply accept the metaphor of each environment as its own thing, but I guess I can see where a diehard x-talker might want to create some form of cross-reference metaphor. The score is like a stack... huh. I suppose it is, in fact. Just never thought of it that way. ;-) I guess I've always been an animator at heart anyway. Personally, I had a a harder time with Rev at first - partially because it wasn't driven by a timeline. Everybody comes at this type of work from a different angle, I guess. -- Troy RPSystems, LTD www.rpsystems.net From jeanne at runrev.com Sun Sep 15 20:44:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Sep 15 20:44:01 2002 Subject: adding custom icons In-Reply-To: References: Message-ID: At 5:42 AM -0700 9/15/2002, james lewes wrote: > how can one import custom icons into revolution You mean an icon for use on a button? The icon of a button is just an image's ID number; you can use any image in any loaded stack. So to import an icon, you just import the image (using File menu > Import As Control > Image File), then check the ID of the new image and set the button's icon property to that ID number. (Often it's convenient to create a separate stack to hold your images, where they're out of the way yet easy to access and change.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sun Sep 15 20:44:13 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Sep 15 20:44:13 2002 Subject: Database on a server In-Reply-To: <3D84CEAE.FFB375B2@richard-hillen.de> Message-ID: At 11:17 AM -0700 9/15/2002, Richard Hillen wrote: >I made a database using the splash-screen method, compiled it as a >standalone and put it on a server, so that my co-workes can use it also. >They should use it reading and writing. > >My questions: > >1) If one person is working with the stack and another person wants to >use it also, Is there a method in RunRev to inform this person, that the >stack is in use? > >2) Is there a method to explore, which user is using the stack, so i can >inform other users, who want to use the stack, that at present "user >NNN" is using the stack? I don't have a working script for this on hand, but I'd start with a preOpenStack handler that checks a custom property of the stack (which might be called "beingUsedBy" or something similar). If this property is empty, the handler sets it to the user's name. If it's not empty (meaning someone's already opened the stack), the handler tells the user "The stack is in use by [the beingUsedBy of this stack]", and tries again after a delay. On closeStack, if the user's name matches the beingUsedBy of the stack, the closeStack handler sets the custom property to empty to allow it to be used by others. Something along those lines. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From kray at sonsothunder.com Sun Sep 15 21:18:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 15 21:18:01 2002 Subject: Stacks delivered via the web? References: Message-ID: <008401c25d26$75351a30$6601a8c0@mckinley.dom> > Ken, I'm an old timer Director user as well. I don't think I've ever > seen a comparison quite the way you described it. Frames are like cards, > etc. ;-) Yeah, I used HC and SC a long time before I got to Director, and the card-based metaphor just seemed to "stick" with me... it "made sense", if you know what I mean. I found that its always useful to try and boil down development environments to common syntactical (or metaphorical) roots; it aids in the learning curve. Just my $0.02, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From capellan2000 at yahoo.com Sun Sep 15 21:54:01 2002 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sun Sep 15 21:54:01 2002 Subject: Eps Import Version 02 In-Reply-To: <200209052212.SAA09689@www.runrev.com> Message-ID: <20020916025248.43372.qmail@web40503.mail.yahoo.com> Hi everyone, Check: http://ffc.virtualave.net/epsimportrev.zip for a new version of eps import. Now it can render color and stroke weight! By the way, the last Digest that I receive from this list was september 5. Could you send them again? Heather? Thanks and enjoy. Alejandro __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From dan at clearvisiontech.com Sun Sep 15 22:45:03 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun Sep 15 22:45:03 2002 Subject: revCopyFile Message-ID: Richard, The problem is there is a bug with the revcopyfile when copy files to/from the desktop Folder or sub folders of it. If you stay away from the desktop Folder (or sub folders of it) is will work fine. -Dan > Hello list, > > I want to copy a file from one location into another Directorya. > > Any idea, why this script throws an execution error on Mac OS 9.2.2? > > on mouseup > answer file "Which File to copy?" > put it into FTC > put FTC > > answer directory "Copy to which Directory?" > put it into CTD > put CTD > > revcopyfile FTC,CTD > put the result > > end mouseup From sjoerdoptland at mac.com Sun Sep 15 23:28:01 2002 From: sjoerdoptland at mac.com (Sjoerd Op 't Land) Date: Sun Sep 15 23:28:01 2002 Subject: ODBC --> Excel Message-ID: Hello all, I've been here some while, bit mainly working with MetaCard, so thats why you didn't hear very much from me... My question: Did anyone succeed making an ODBC connection with an Excel sheet? I configured the control panel ODBC 32-bin (Win98) for a System-DSN using the Excel driver... but I can't seem to make a connection from within RunRev. Any hints/ suggestions? Thanks in advance, Sjoerd From andre.rombauts at win.be Mon Sep 16 00:26:01 2002 From: andre.rombauts at win.be (Andre Rombauts) Date: Mon Sep 16 00:26:01 2002 Subject: .mov .mpg ? In-Reply-To: Message-ID: Hello all! I have designed a small QT player inside an application. Eveything is OK when I read .mov files. Bu with .mpg files if I send a play pause then resume command the file starts again at position 0... :-( Any help? Info? Thanks Andr? From pixelbird at interisland.net Mon Sep 16 00:50:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Sep 16 00:50:01 2002 Subject: .mov .mpg ? In-Reply-To: Message-ID: on 9/15/02 10:24 PM, Andre Rombauts at andre.rombauts at win.be wrote: > Hello all! > > I have designed a small QT player inside an application. Eveything is OK > when I read .mov files. Bu with .mpg files if I send a play pause then > resume command the file starts again at position 0... :-( > > Any help? Info? ---------- Not sure, but I do know that some parts of some QT versions break under some versions of the OS. Need to know: 1) Platform 2) OS/Windows version 3) QT version Ken N. From janschenkel at yahoo.com Mon Sep 16 04:06:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Sep 16 04:06:01 2002 Subject: Stacks delivered via the web? In-Reply-To: Message-ID: <20020916090441.29890.qmail@web11903.mail.yahoo.com> --- Scott Rossi wrote: > [snip] > > If your content *doesn't* need to run within a > browser, you can easily > create a Rev/MC stack that loads/runs stacks from > the Web (see load url...). > The Web-based stacks are loaded into a local cache > so this a little more > streamlined than downloading and running a file. > Which of course brings us back to another classic: the RunRev Player/Plug-In debate ;-) But you are right of course, it's easy to make a small "runtime" and use the "load url" command. The question is of course if that would be good enough for Judy's instructors, or if they really want to see it run in a browser window. Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From janschenkel at yahoo.com Mon Sep 16 04:19:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Sep 16 04:19:01 2002 Subject: Database on a server In-Reply-To: <3D84CEAE.FFB375B2@richard-hillen.de> Message-ID: <20020916091813.18594.qmail@web11902.mail.yahoo.com> Hi Richard, Sorry to disappoint you, but MetaCard/RunRev is inherently a single-user aplication, with roots in Unix. It loads an entire stack into memory, but doesn't "lock" the file in any way. Thus, it may seem that multiple users can open a stack and work with it. However, if you want to "save" the data from memory back to file, the troubles start because you cannot know which user has the correct version in memory, if any one user has it at all. This is no problem if nothing has to be written back to the disk, but if you really want a database, use RunRev as front-end for MySQL, Valentina, Oracle or any ODBC-capable DBMS. Hope this explained a few things, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Richard Hillen wrote: > Hello list, > > I made a database using the splash-screen method, > compiled it as a > standalone and put it on a server, so that my > co-workes can use it also. > They should use it reading and writing. > > My questions: > > 1) If one person is working with the stack and > another person wants to > use it also, Is there a method in RunRev to inform > this person, that the > stack is in use? > > 2) Is there a method to explore, which user is using > the stack, so i can > inform other users, who want to use the stack, that > at present "user > NNN" is using the stack? > > 3) Are there further suggestions, how to handle this > problem? > > Thank you. > > Richard. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From ambassador at fourthworld.com Mon Sep 16 04:32:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 16 04:32:00 2002 Subject: Stacks delivered via the web? In-Reply-To: <20020916090441.29890.qmail@web11903.mail.yahoo.com> Message-ID: Jan Schenkel wrote: > Which of course brings us back to another classic: the > RunRev Player/Plug-In debate ;-) > But you are right of course, it's easy to make a small > "runtime" and use the "load url" command. The question > is of course if that would be good enough for Judy's > instructors, or if they really want to see it run in a > browser window. There are many benefits to fulfilling the needs for Internet connectivity in apps outside on the browser: -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dcragg at lacscentre.co.uk Mon Sep 16 05:11:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon Sep 16 05:11:01 2002 Subject: LibUrl update 1.0.8b1 Message-ID: A new update to libUrl is available at the url below: Please note that Starter Kit users won't be able to apply these updates. Version 1.0.8b1 adds a new function (libUrlFtpCommand) that lets you send any ftp command to an ftp server. This is a potentially powerful feature, allowing you for example to chmod on files. But it requires you know about ftp commands and responses to use effectively. This version also includes the following two new features that were included with 1.0.8a1. 1. A callback feature that lets you get the status of downloads/uploads. It is similar in some ways to the current urlStatus function, but it will work with blocking calls such as "get url". This makes it possible to report download/upload progress for these blocking calls. It should also make it easier to set up something such as a url status panel once, and then have it work automatically for all uploads and downloads without any further scripting. 2. A way to switch the way that ftp directory listings are returned. You can have libUrl use the conventional LIST command (the default) which for most servers returns the conventional Unix-style directory listings. Or you can switch to the NLST comand which returns a list of file names only. Details of the features are on the website. In addition, some changes have been added to the socket opening routines which should make libUrl more reliable at returning error messages when sockets fail to open. Cheers Dave Cragg _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From kkaufman at snet.net Mon Sep 16 08:07:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon Sep 16 08:07:01 2002 Subject: QT initialization on OS X 10.2 Message-ID: <0E53A3B7-C975-11D6-A247-00039348A1E6@snet.net> Under 10.2, RR's QT initialization seems to work more effectively. Whereas, under 10.1, a QT version check would not do a thing in terms of speeding up the subsequent initial call to QT (resulting in a spinning beachball), under 10.2.....no wait and no more beachball. Also, unrelated but interesting, under OS 10.2/QT 6, the QT musical instruments (Roland samples) have been modified such that there is always a slight reverb (apparently more pronounced at the end of a MIDI sequence, for example, or maybe just more audible at that point since there are no more notes being played). KK From sims at ezpzapps.com Mon Sep 16 08:18:01 2002 From: sims at ezpzapps.com (sims) Date: Mon Sep 16 08:18:01 2002 Subject: Rev & XP In-Reply-To: References: Message-ID: The Rev web site states: "Revolution supports these platforms for both development and deployment: Mac OS 7.1 and later Mac OS X Windows 95, 98, ME, NT, 2000" etc etc --Questions 1. Does the current libUrl work ok all the way back to Mac OS 7.1? 2. Windows XP is not listed, any particular reason why? Does Rev work as well on XP as the other Windows? TIA sims ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From sylvain.legourrierec at son-video.com Mon Sep 16 09:24:00 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Mon Sep 16 09:24:00 2002 Subject: send a message to n cards Message-ID: <000801c25d8c$a2c6d720$0801a8c0@sylvain> hello, I need a script that send a message from a stack to all the cards of this stack. how can I write it? thanks --------------------------------------------------------------------------------------------------------------------------------------------- Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution www.son-video.com ------------- I am working with Windows 2000, Revolution 1.1.1, MySQL 3.23 & PHP 4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From janschenkel at yahoo.com Mon Sep 16 09:42:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Sep 16 09:42:01 2002 Subject: send a message to n cards In-Reply-To: <000801c25d8c$a2c6d720$0801a8c0@sylvain> Message-ID: <20020916144039.48953.qmail@web11904.mail.yahoo.com> Hi Sylvain, Try putting this in your stack script: on sendAllCards pMessage repeat with i = 1 to the number of cards \ of this stack send pMessage to card i of this stack end repeat end sendAllCards Now you can use sendAllCards to accomplish your goal. Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Sylvain_Le_Gourri?rec wrote: > hello, > > > I need a script that send a message from a stack to > all the cards of this stack. > how can I write it? > > thanks > > > --------------------------------------------------------------------------------------------------------------------------------------------- > Sylvain Le Gourri?rec -- d?veloppement -- > son-video-distribution www.son-video.com > > ------------- I am working with Windows 2000, > Revolution 1.1.1, MySQL 3.23 & PHP 4 > __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From sylvain.legourrierec at son-video.com Mon Sep 16 09:52:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Mon Sep 16 09:52:01 2002 Subject: send a message to n cards References: <20020916144039.48953.qmail@web11904.mail.yahoo.com> Message-ID: <000d01c25d90$72c9b250$0801a8c0@sylvain> thanks ----- Original Message ----- From: "Jan Schenkel" To: Sent: Monday, September 16, 2002 4:40 PM Subject: Re: send a message to n cards > Hi Sylvain, > > Try putting this in your stack script: > > on sendAllCards pMessage > repeat with i = 1 to the number of cards \ > of this stack > send pMessage to card i of this stack > end repeat > end sendAllCards > > Now you can use sendAllCards to accomplish your goal. > > Hope this helped, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > --- Sylvain_Le_Gourri?rec > wrote: > > hello, > > > > > > I need a script that send a message from a stack to > > all the cards of this stack. > > how can I write it? > > > > thanks > > > > > > > -------------------------------------------------------------------------- ------------------------------------------------------------------- > > Sylvain Le Gourri?rec -- d?veloppement -- > > son-video-distribution www.son-video.com > > > > ------------- I am working with Windows 2000, > > Revolution 1.1.1, MySQL 3.23 & PHP 4 > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! News - Today's headlines > http://news.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rcozens at pon.net Mon Sep 16 10:39:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Sep 16 10:39:01 2002 Subject: gzip & Mac File Types In-Reply-To: References: Message-ID: Richard, et al: >It's simple enough to use a text file for this, but just a tad simpler to >use a stack file. Compare whatever parsing routines you were going to write >with the simple, robust, and ultra-fast one-liner syntax of getting a custom >property. The text file approach is completed and just about finished testing; so I'll stick with it for now. However, I always consider a message from you as a word to the wise; so I'll try to find time to check out the issues you raise. >And expanding the notion to work with multiple files becomes even more >convenient with Rev's array notation. The issue here is the complexity of gathering and storing individual files from an unknown number of folders nested to an unknown number of levels. I am happy working with individual files, and will leave that issue to someone who wants to build a commercial archiver > >In fact, if you later find you need to add any other info at all (such as >directives on what to do with the uncompressed files -- run them in an app, >leave 'em be, etc.) you can just add another property or property array to >the stack file, and you never need to worry about breaking your format. You are certainly correct if that need arises. (I'm already capturing creation & modification dates even though decompress does nothing with that info presently.) > >With a text file you also have the potential risk that whatever delimiters >you use may appear in data. With Rev's ability to store binary data in >custom properties you never need to think about how it's delimited. Its not a problem: I don't search for a delimiter to find the end of the data fork and the beginning of the resource fork: I save the byte length of the data fork in the footer. The footer format is creation date in seconds [10 char], modification date in seconds [10]char, creator/file type [8 char],end of fixed header ["#"], and the length of the data fork. The only parsing done is to read backwards from char -1 until "#". Once that position (& with it the length of the data fork) is known, the position of each element in the file is known as well. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rfarnold at bu.edu Mon Sep 16 11:52:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Mon Sep 16 11:52:01 2002 Subject: Installer (was "Drag & Drop...") Message-ID: With many thanks to Jan Schenkel and Klaus Major for their helpful suggestions, I have solved my Windows installation blues (except for those 200 CD's I already burned!!!) I modified the "startup" handler in the stand-alone app using Shell to run a .BAT file (if it exists) to reset the read-only attributes of the data stacks, and then delete the .BAT file. I also created a simple Windows installer app -- using revcopyfolder, revdeletefolder (to reinstall), specialfolderpath, and the same shell routine to run and then delete the .BAT file to reset the read-only attributes. Both solutions -- the installer and the startup routine in case someone bypasses the installer -- work, so many thanks! If anyone would be interested in looking at the simple installer stack (Bill Lynn?) I'd be happy to email it or upload it someplace. Although it is set up for Windows, it could easily be modified (simplified) for the Mac. Bob -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 News: http://people.bu.edu/rfarnold/Announce.htm From harrison at all-auctions.com Mon Sep 16 11:59:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Mon Sep 16 11:59:01 2002 Subject: Installer (was "Drag & Drop...") In-Reply-To: Message-ID: on 9/16/2002 12:50 PM, Bob Arnold at rfarnold at bu.edu wrote: > With many thanks to Jan Schenkel and Klaus Major for their helpful > suggestions, I have solved my Windows installation blues (except for those > 200 CD's I already burned!!!) > > I modified the "startup" handler in the stand-alone app using Shell to run a > .BAT file (if it exists) to reset the read-only attributes of the data > stacks, and then delete the .BAT file. > > I also created a simple Windows installer app -- using revcopyfolder, > revdeletefolder (to reinstall), specialfolderpath, and the same shell > routine to run and then delete the .BAT file to reset the read-only > attributes. > > Both solutions -- the installer and the startup routine in case someone > bypasses the installer -- work, so many thanks! > > If anyone would be interested in looking at the simple installer stack (Bill > Lynn?) I'd be happy to email it or upload it someplace. Although it is set > up for Windows, it could easily be modified (simplified) for the Mac. > > Bob Bob, I would be very interested in looking at your simple installer stack. Thanks, Rick Harrison From rcozens at pon.net Mon Sep 16 12:14:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Sep 16 12:14:01 2002 Subject: gzip & Mac File Types In-Reply-To: References: Message-ID: >I always consider a message from you as a word to the wise; so I'll >try to find time to check out the issues you raise. I have not visited the URL you posted, Richard; however I do see the light: simple stack, dataFork property, resourceFork property, and property or field to store the entire line of file info returned in "the detailed files". If I were starting over, I would give that design much consideration. Now that you've planted the seed I'll find a use for the technique sooner or later. Thanks, PS: My snivelling text file solution has passed all tests except uploading/downloading. After that it will be documentation, file compression, and web page updating for moi. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 SHAMUJK at aol.com Mon Sep 16 12:20:01 2002 From: SHAMUJK at aol.com (SHAMUJK at aol.com) Date: Mon Sep 16 12:20:01 2002 Subject: gzip & Mac File Types Message-ID: <88.1e29a8c8.2ab76c6f@aol.com> PLEASE DELETE FROM YOU E MAIL THANK YOU SHAMUJK at AOL.COM From fredericrossoni at laposte.net Mon Sep 16 12:29:01 2002 From: fredericrossoni at laposte.net (=?iso-8859-1?Q?Fr=E9d=E9ric?= ROSSONI) Date: Mon Sep 16 12:29:01 2002 Subject: Installer (was "Drag & Drop...") In-Reply-To: References: Message-ID: A 12:50 -0400 le 16/09/02 : >If anyone would be interested in looking at the simple installer stack (Bill >Lynn?) I'd be happy to email it or upload it someplace. Although it is set >up for Windows, it could easily be modified (simplified) for the Mac. I'm a Mac user but I would be interessed too :-) TIA, Fred From warren at floripa.com.br Mon Sep 16 12:34:01 2002 From: warren at floripa.com.br (Robert John Warren) Date: Mon Sep 16 12:34:01 2002 Subject: Trouble printing Rev documentation using an HP Deskjet 720c in Windows (ME) Message-ID: <001b01c25da6$db23b560$e469fea9@bob> Re: Trouble Printing Documentation (Jeanne A. E. DeVoto) Dear Jeanne, Since you have asked whether anyone else has had trouble printing the Rev documentation using an HP printer, I should tell you that quite a long time ago I exchanged a series of e-mails with Kevin about the trouble I was having. In my case, some of the lines were being printed in a font size so small that it was impossible to read them without a magnifying glass! I have a Deskjet 720c (NOT a network printer) and I use only Windows (ME). My printer driver was (and still is) an old one, but at the time I could not follow Kevin's advice to install a later driver because one was simply not available for my printer. Nowadays, a new driver exists, but I have not bothered to try it because my old driver works perfectly well with ALL other applications (without exception) and it seems unreasonable to me to be expected to install a new driver just on the chance that it might work with Revolution. I have no trouble printing the documentation to an Epson LQ570+ network printer. Bob Warren From ambassador at fourthworld.com Mon Sep 16 13:40:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 16 13:40:00 2002 Subject: Trouble printing Rev documentation using an HP Deskjet 720c in Windows (ME) In-Reply-To: <001b01c25da6$db23b560$e469fea9@bob> Message-ID: Robert John Warren wrote: > Since you have asked whether anyone else has had trouble printing the Rev > documentation using an HP printer, I should tell you that quite a long time > ago I exchanged a series of e-mails with Kevin about the trouble I was > having. In my case, some of the lines were being printed in a font size so > small that it was impossible to read them without a magnifying glass! I have > a Deskjet 720c (NOT a network printer) and I use only Windows (ME). My > printer driver was (and still is) an old one, but at the time I could not > follow Kevin's advice to install a later driver because one was simply not > available for my printer. Nowadays, a new driver exists, but I have not > bothered to try it because my old driver works perfectly well with ALL other > applications (without exception) and it seems unreasonable to me to be > expected to install a new driver just on the chance that it might work with > Revolution. FWIW, after working with Rev since before it was released and MetaCard since '97, in my experience all non-scripting-related issues with printing have been resolved by using the most recent printer drivers. I can't begin to guess what odd things other programs are doing to get around the printer driver bugs from earlier releases, but since a new version has been made available someone out there must have found the bug(s) from another app, so at least you're not alone. Thus far with all printing bugs reported here, following the printer manufacturer's recommendation to use the most recent driver took care of any such bugs reported. Worth trying, anyway. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From katir at hindu.org Mon Sep 16 14:48:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Mon Sep 16 14:48:01 2002 Subject: Paths to Mounted Volumes on OSX In-Reply-To: Message-ID: <1D336DD6-C9AD-11D6-A60E-003065FB9830@hindu.org> Challenge how to determine a single path to a file on a mounted volume that will work on both MAc OS9 and MAC OSX, where the absolute path to the mounted volume on OSX starts with "/Volumes" but does not start with that on OS 9? i.e. avoid have to treat OS9 and OSX as different platforms (not see as such by Rev or MC) On Monday, September 16, 2002, at 06:32 AM, Scott Raney wrote: >> that's my problem I won't know... where ever editor/user "whoever" >> puts >> them. I may or may not give him a standalone... or just give him a >> copy >> of the engine as a player with no other components and a copy of the >> stack... (making sure I have at least a save and quit option in the >> stack) > > Then how can you know they'll have a "Books" Volume at all? That volume is on a server in another room. I use an apple script that automatically mounts that volume on their desktop with they boot the app. i.e. I know for sure it will be mounted as /Books/lws/index.txt ## on OS 9 /Volumes/Books/lws/index.txt ## on OS X I don't see how any single relative path could point to the same file from both Macs, regardless of the location of rev/mc.exe and my app. >> of course I can get the effective filename of the stack , then I guess >> the mounted volume will be the some number of levels "up" in OS 9 or >> OSX I'll have to play with that but I suspect I'll still hit problem >> of /Volumes/ not being existent on OS 9.X . i.e. some kind of >> "platform" test will be required even.... > > You might also consider putting stuff in the user's "Documents" folder > and using specialFolderPath() to find that. not an option... too collaborative. I have to stick to one root file on a server with frequent back ups. if we let editors copy files to their hard drives and work on them, it becomes chaos, Three editors working copy, one works index and resource materials, another is working art and image placement... all remotely, We need a single document on a server and if it is in use, then hands off by everyone else. Great Scott! (smile! hope i am not taking too much of your time... I am copying this to the Rev forum in case others want to chime in, hard to believe I am the only one using Rev to access files on remote volumes on a LAN...) I may have to throw in the towel on this one and test for the "Mac Platform" -- hope not...but if forced to, presumably a simple test to find a unix file at root which certainly will not exist on OS9 should suffice, then, if OSX prefix all paths to fiiles on remote volumes with "/Volumes/" by script. > Regards, > Scott > Himalayan Academy Publications Sannyasin Sivakatirswami Editor's Assistant/Production Manager katir at hindu.org www.HinduismToday.com, www.HimalayanAcademy.com, www.Gurudeva.org, www.hindu.org From andre.rombauts at win.be Mon Sep 16 15:22:01 2002 From: andre.rombauts at win.be (Andre Rombauts) Date: Mon Sep 16 15:22:01 2002 Subject: .mov .mpg ? In-Reply-To: Message-ID: >> I have designed a small QT player inside an application. Eveything is OK >> when I read .mov files. Bu with .mpg files if I send a play pause then >> resume command the file starts again at position 0... :-( > Not sure, but I do know that some parts of some QT versions break under some > versions of the OS. Need to know: > 1) Platform > 2) OS/Windows version > 3) QT version Designed under eMac G4 using OSX, QT 5. Not tested under windows yet. How do you explain .mov files are OK when playing and .mpg files cannot be controled ... (any action leads to starting back at frame 0...)... Andr? From chipp at chipp.com Mon Sep 16 15:30:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Mon Sep 16 15:30:01 2002 Subject: adding custom icons In-Reply-To: Message-ID: Not sure exactly what you're asking here. But there a tiptorial at http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm on how to add a custom Icon to a RunRev EXE for Windows -Chipp > how can one import custom icons into revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Mon Sep 16 15:40:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Mon Sep 16 15:40:01 2002 Subject: Revolution Wiki In-Reply-To: Message-ID: Geoff, I posted a link to your WIKI on my RunRev site. But, I'm still getting unusually long download times to the main page there http://macitworks.com:8080/revdocs between 20 and 30 seconds. Any ideas why? I'm on a DSL here at work. I'm thinking it has something to do with the port address and me being behind a firewall. Or, the application just takes a long time to dynamically generate the page. BTW, why aren't you on port 80? It seems like people behind proxy servers and firewalls may have trouble getting there on 8080. I guess it does keep the spiders and search engines from crawling around your site.. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Geoff Canyon > Sent: Sunday, September 15, 2002 12:20 PM > To: use-revolution at lists.runrev.com > Subject: RE: Revolution Wiki > > > >The Wiki looks cool..but are all of them that slow to load? Or > is it a slow > >server. Or am I just on a slow connection??? > > > >What would be REALLY cool though, is to somehow CAPTURE the best stuff on > >this list and put it in an online searchable database... > > > >Or, just allow the archive of this list to be searched (like the MetaCard > >list) > > > >-Chipp > > Sorry, forgot to respond to the other two points. I think Ken Ray > is collecting the "Best of the List," although I would certainly > love to see such a thing on the wiki as well. I've added a page > to the wiki -- you could have done that if you wanted ;-) It's at > As always, > anyone can post to it. Please get the author's permission, or at > least let the author know, so he or she can delete it if he or she wants. > > I'm not sure why the list archives aren't searchable, but I'm > sure someone reading the list does. > -- > > regards, > > Geoff Canyon > gcanyon at inspiredlogic.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Mon Sep 16 15:44:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Mon Sep 16 15:44:01 2002 Subject: Stacks delivered via the web? In-Reply-To: Message-ID: Scott, Am I correct in surmising that once downloaded from the web, if you issue a Save stack, it won't save the stack back up to the web because it's in the local cache...Where does it get saved? -Chipp > > If your content *doesn't* need to run within a browser, you can easily > create a Rev/MC stack that loads/runs stacks from the Web (see > load url...). > The Web-based stacks are loaded into a local cache so this a little more > streamlined than downloading and running a file. > > Regards, > > Scott Rossi > Creative Director > > Tactile Media, Multimedia & Design > Email: scott at tactilemedia.com > Web: www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Mon Sep 16 15:50:00 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Sep 16 15:50:00 2002 Subject: Stacks delivered via the web? In-Reply-To: Message-ID: Recently, "Chipp Walters" wrote: > Am I correct in surmising that once downloaded from the web, if you issue a > Save stack, it won't save the stack back up to the web because it's in the > local cache...Where does it get saved? I haven't done this before, but what you say seems likely. I would think that a "save as..." action (as opposed to "save") would allow saving the stack to the drive. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kkaufman at snet.net Mon Sep 16 16:27:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon Sep 16 16:27:01 2002 Subject: .mov .mpg ? Message-ID: >> I have designed a small QT player inside an application. Eveything is OK >> when I read .mov files. Bu with .mpg files if I send a play pause then >> resume command the file starts again at position 0... :-( This does not happen on my system (Mac OS 10.2/QT 6). Try these Revolution-based apps and see if you have the same problem: OS 9: http://shopperturnpike.com/usefulsoftware/CLP.sit.hqx OS X: http://shopperturnpike.com/usefulsoftware/CLPX.sit.hqx -KK From Roger.E.Eller at sealedair.com Mon Sep 16 17:25:00 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Mon Sep 16 17:25:00 2002 Subject: Database on a server Message-ID: Have you considered the "no overhead" database? What I mean is simply using text files in a folder hierarchy as database records. Then your front-end client can simply rename the text file to something like "record0356.locked" when the user is making a change to it. I have done this for years with pretty good success. The key is to make the folder shared on the network, but don't tell the users that it is not a REAL database so they don't play around in the folders which contain these text file records. ~Roger Eller > --- Jan Schenkel wrote: > Hi Richard, > > Sorry to disappoint you, but MetaCard/RunRev is > inherently a single-user aplication, with roots in > Unix. It loads an entire stack into memory, but > doesn't "lock" the file in any way. Thus, it may seem > that multiple users can open a stack and work with it. > However, if you want to "save" the data from memory > back to file, the troubles start because you cannot > know which user has the correct version in memory, if > any one user has it at all. > This is no problem if nothing has to be written back > to the disk, but if you really want a database, use > RunRev as front-end for MySQL, Valentina, Oracle or > any ODBC-capable DBMS. > > Hope this explained a few things, > > Jan Schenkel. > > --- Richard Hillen wrote: >> Hello list, >> >> I made a database using the splash-screen method, >> compiled it as a >> standalone and put it on a server, so that my >> co-workes can use it also. >> They should use it reading and writing. From gcanyon at inspiredlogic.com Mon Sep 16 17:41:00 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon Sep 16 17:41:00 2002 Subject: Revolution Wiki In-Reply-To: References: Message-ID: >Geoff, > >I posted a link to your WIKI on my RunRev site. Glad to hear it. Feel free to post a link on the wiki to your site as well. >But, I'm still getting >unusually long download times to the main page there >http://macitworks.com:8080/revdocs > >between 20 and 30 seconds. Any ideas why? I'm on a DSL here at work. I'm >thinking it has something to do with the port address and me being behind a >firewall. Or, the application just takes a long time to dynamically generate >the page. It isn't how long the app takes to generate the page. The main page comes up in about three seconds for me. I'm on ethernet, so obviously networking issues could be at fault. Or the port/firewall issue. >BTW, why aren't you on port 80? It seems like people behind proxy servers >and firewalls may have trouble getting there on 8080. I guess it does keep >the spiders and search engines from crawling around your site.. > >-Chipp I happen to be one of those people who can't get to port :8080 ;-) The server is running three separate web servers. One is on :80, one is on :8000, and the wiki is :8080. If all goes well, I'll move the wiki to its own machine tonight. That should allow putting it on port 80. At the same time, I'll try loading the data files onto a ram disk, which should improve performance. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From bvlahos at jpl.nasa.gov Mon Sep 16 17:54:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Mon Sep 16 17:54:01 2002 Subject: Milliseconds to d:h:m:s:ms Message-ID: <11F91320-C9C7-11D6-9005-000393853DBC@jpl.nasa.gov> Is there a built in function to convert the number of milliseconds to days:hours:minutes:seconds:milliseconds? I have a timer which measures how long something takes and I want to format it. This is simply a length of time in milliseconds and is not tied to any particular time of day. I can do the math myself but I would rather use a built in Rev function but I don't see one. Did I miss it? Bill Vlahos From pixelbird at interisland.net Mon Sep 16 19:47:01 2002 From: pixelbird at interisland.net (pixelbird at interisland.net) Date: Mon Sep 16 19:47:01 2002 Subject: .mov .mpg ? Message-ID: <200209170044.g8H0ifb11506@lopez.interisland.net> > > Not sure, but I do know that some parts of some QT versions break under some > > versions of the OS. Need to know: > > 1) Platform > > 2) OS/Windows version > > 3) QT version > > Designed under eMac G4 using OSX, QT 5. Not tested under windows yet. > How do you explain .mov files are OK when playing and .mpg files cannot be > controled ... (any action leads to starting back at frame 0...)... ---------- I haven't encountered this, but it sounds like a QT problem rather than a Rev problem. Someone was having sound problems with QT 5 awhile back, too. Try updating to QT 6 and try it again. Are you testing in the standalone, or under the Rev UI? Another solution might be to have QT convert the mpeg's to mov files. I don't know if that's doable in Rev, but maybe you could run an AppleScript under Rev control. Wish I could be more help, but that's about it for me. All the best, Ken N. --------------------------------------------- The Computer Place Info = info at interisland.net http://www.compplace.com/ From jperryl at ecs.fullerton.edu Mon Sep 16 20:12:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Sep 16 20:12:01 2002 Subject: Stacks delivered via the web? In-Reply-To: <20020916090441.29890.qmail@web11903.mail.yahoo.com> Message-ID: Could someone describe to me, on or off-list depending how much you anticipate everyone's gonna groan, just how the below works? I am not certain I am understanding it well enough to present it as a potential solution to the department... Judy > --- Scott Rossi wrote: > > [snip] > > If your content *doesn't* need to run within a > > browser, you can easily > > create a Rev/MC stack that loads/runs stacks from > > the Web (see load url...). > > The Web-based stacks are loaded into a local cache > > so this a little more > > streamlined than downloading and running a file. From mpetrides at earthlink.net Mon Sep 16 20:19:01 2002 From: mpetrides at earthlink.net (Marian Petrides) Date: Mon Sep 16 20:19:01 2002 Subject: Stacks delivered via the web? In-Reply-To: Message-ID: <1551B105-C9DB-11D6-A05C-003065D5628E@earthlink.net> Frankly, I hope the reply is posted on list....I'd like to know the answer too. Marian On Monday, September 16, 2002, at 08:10 PM, Judy Perry wrote: > > Could someone describe to me, on or off-list depending how much you > anticipate everyone's gonna groan, just how the below works? I am not > certain I am understanding it well enough to present it as a potential > solution to the department... > > Judy > >> --- Scott Rossi > wrote: > > [snip] > > If your content *doesn't* need to run within a >>> browser, you can easily >>> create a Rev/MC stack that loads/runs stacks from >>> the Web (see load url...). >>> The Web-based stacks are loaded into a local cache >>> so this a little more >>> streamlined than downloading and running a file. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From troy at rpsystems.net Mon Sep 16 20:29:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Mon Sep 16 20:29:01 2002 Subject: Stacks delivered via the web? In-Reply-To: Message-ID: On Monday, September 16, 2002, at 09:10 PM, Judy Perry wrote: > Could someone describe to me, on or off-list depending how much you > anticipate everyone's gonna groan, just how the below works? I am not > certain I am understanding it well enough to present it as a potential > solution to the department... I believe what is being described is a "stub" program. Essentially a distributed version of the Rev engine which makes a call to a server to receive the actual stack files to be run. In turn, that actual stack file could be a menu which allows the selection of other stacks which reside on the server. To update the "menu", one simply has to update the menu stack which resides on the server. It basically acts as a program which the creator does not have to decide what they want the program to do when they distribute it. All that needs to be decided is where the program will get its future instruction from (the server location and file path.) This is exactly what I was referring to when I mentioned that forcing a browser based solution was rather short sighted - after all, Director requires the ShockWave plugin... isn't that about the same as a "stub" program? Cheers. -- Troy RPSystems, LTD www.rpsystems.net From chipp at chipp.com Mon Sep 16 20:46:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Mon Sep 16 20:46:01 2002 Subject: matrixMultiply Message-ID: Has anyone used this function? I'm trying to understand exactly how it works. I'm trying to add up the R (red) values from the adjacent pixels of pixel 5 R1 R2 R3 R4 R5 R6 R6 R7 R8 and then divide by 9. I can build an array Rpixel(1,1) to give me the R1 value, etc.. Is there a quick way to do this with 'matrix multiply' ? --------------------- Chipp Walters Altuit, inc. http://www.altuit.com http://www.chipp.com --------------------- From monte at sweattechnologies.com Mon Sep 16 21:56:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Sep 16 21:56:01 2002 Subject: Rev & XP In-Reply-To: Message-ID: I hope so! I develop all my software using XP. However, I keep whining about theme support. Please can we get nice looking Win apps soon! I want to have my apps look stunning when someone has the OS X theme installed. > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of sims > Sent: Monday, 16 September 2002 10:47 PM > To: use-revolution at lists.runrev.com > Subject: Rev & XP > > > The Rev web site states: > > "Revolution supports these platforms for both development and deployment: > > Mac OS 7.1 and later > > Mac OS X > > Windows 95, 98, ME, NT, 2000" > > etc etc > > > --Questions > > 1. Does the current libUrl work ok all the way back to Mac OS 7.1? > > 2. Windows XP is not listed, any particular reason why? Does Rev > work as well > on XP as the other Windows? > > TIA > > sims > > > > ___________________________________________ > > http://EZPZapps.com info at EZPZapps.com > Software - Internet Development - Consulting > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Mon Sep 16 22:09:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 16 22:09:01 2002 Subject: Stacks delivered via the web? In-Reply-To: Message-ID: Judy Perry wrote: > Could someone describe to me, on or off-list depending how much you > anticipate everyone's gonna groan, just how the below works? I am not > certain I am understanding it well enough to present it as a potential > solution to the department... In the MetaCard Starter Kit, see Tools->tools.metacard.com -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From jperryl at ecs.fullerton.edu Mon Sep 16 22:30:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Sep 16 22:30:01 2002 Subject: Stacks delivered via the web? In-Reply-To: Message-ID: Richard, Thank you for the article link in the previous email. About your suggestion below: I am a licensed user of Rev, not MC. Are you saying that MC does something differently or that it explains it better? Judy On Mon, 16 Sep 2002, Richard Gaskin wrote: > Judy Perry wrote: > > > Could someone describe to me, on or off-list depending how much you > > anticipate everyone's gonna groan, just how the below works? I am not > > certain I am understanding it well enough to present it as a potential > > solution to the department... > > In the MetaCard Starter Kit, see Tools->tools.metacard.com From ambassador at fourthworld.com Mon Sep 16 22:46:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 16 22:46:01 2002 Subject: Stacks delivered via the web? In-Reply-To: Message-ID: Judy Perry wrote: > On Mon, 16 Sep 2002, Richard Gaskin wrote: > >> Judy Perry wrote: >> >>> Could someone describe to me, on or off-list depending how much you >>> anticipate everyone's gonna groan, just how the below works? I am not >>> certain I am understanding it well enough to present it as a potential >>> solution to the department... >> >> In the MetaCard Starter Kit, see Tools->tools.metacard.com > Thank you for the article link in the previous email. > > About your suggestion below: I am a licensed user of Rev, not MC. Are > you saying that MC does something differently or that it explains it > better? MC provides no better explanation per se, but the menu item cited is a working example of the system you described: It downloads an index stack which has a number of buttons, each of which downloads a different stack. Like other parts of the MC IDE, tools.metacard.com is fairly sparse in appearance, but at least it provides a functioning example freely available. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From jeanne at runrev.com Tue Sep 17 00:39:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Sep 17 00:39:01 2002 Subject: Paths to Mounted Volumes on OSX In-Reply-To: <1D336DD6-C9AD-11D6-A60E-003065FB9830@hindu.org> References: Message-ID: At 12:47 PM -0700 9/16/2002, Sannyasin Sivakatirswami wrote: >I may have to throw in the towel on this one and test for the "Mac >Platform" -- hope not...but if forced to, presumably a simple test >to find a unix file at root which certainly will not exist on OS9 >should suffice, then, if OSX prefix all paths to fiiles on remote >volumes with "/Volumes/" by script. If it helps, here's a function to test for OS X-hood: function isOSX -- Mac OS system versions are of the form "x.y.z" -- OS X system versions are "10.x.x" set the itemDelimiter to "." if the platform is "MacOS" \ and item 1 of the systemVersion >= 10 \ then return true else return false end isOSX -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From runrev at hotmail.com Tue Sep 17 03:05:01 2002 From: runrev at hotmail.com (Jerry Thomas) Date: Tue Sep 17 03:05:01 2002 Subject: (no subject) Message-ID: An HTML attachment was scrubbed... URL: From hyperdon at earthlink.net Tue Sep 17 03:05:32 2002 From: hyperdon at earthlink.net (Don Watson) Date: Tue Sep 17 03:05:32 2002 Subject: Subject: Installer (was "Drag & Drop...") In-Reply-To: <200209161601.MAA12948@www.runrev.com> Message-ID: on 9/16/02 12:01 PM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > If anyone would be interested in looking at the simple installer stack (Bill > Lynn?) I'd be happy to email it or upload it someplace. Although it is set > up for Windows, it could easily be modified (simplified) for the Mac. > > Bob Bob, I would be very much interested in looking at your installer stack. TIA Don Watson From ambassador at fourthworld.com Tue Sep 17 03:42:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Sep 17 03:42:01 2002 Subject: (no subject) In-Reply-To: Message-ID: Jerry Thomas wrote: > What would you recommend to use with Revolution as a database method? > These databases are only two dimensional. ROWS are Income in graduated steps > and COLUMNS are Number of Children. > All of your suggestions are welcome What is the acticipated total size of the dataset (db only, not any of the media or UI elements)? If it's under 5MBs you have a lot of choices, perhaps the easiest of which would be a simple tab-delimited file or an array. If it's much larger than that you may want to consider using the db externals provided with Rev. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From harrison at all-auctions.com Tue Sep 17 08:20:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Tue Sep 17 08:20:01 2002 Subject: Milliseconds to d:h:m:s:ms In-Reply-To: <11F91320-C9C7-11D6-9005-000393853DBC@jpl.nasa.gov> Message-ID: on 9/16/2002 6:53 PM, Bill Vlahos at bvlahos at jpl.nasa.gov wrote: > Is there a built in function to convert the number of milliseconds to > days:hours:minutes:seconds:milliseconds? > > I have a timer which measures how long something takes and I want to > format it. This is simply a length of time in milliseconds and is not > tied to any particular time of day. > > I can do the math myself but I would rather use a built in Rev function > but I don't see one. Did I miss it? > > Bill Vlahos > Bill, I ran into this same problem. Unfortunately you have to do the math yourself from what I've seen. Good Luck! Rick Harrison From rcozens at pon.net Tue Sep 17 09:03:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 17 09:03:01 2002 Subject: gzip & Mac File Types Message-ID: Richard, et al: > >In fact, if you later find you need to add any other info at all (such as >directives on what to do with the uncompressed files -- run them in an app, >leave 'em be, etc.) you can just add another property or property array to >the stack file, and you never need to worry about breaking your format. It's still a file; bit now I'm bringing over all info returned for the file in the detailed files list...now and in the future. A side benefit of this change is the decompress can default to the original file name for the ask file dialog. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 runrev at hotmail.com Tue Sep 17 09:56:01 2002 From: runrev at hotmail.com (Jerry Thomas) Date: Tue Sep 17 09:56:01 2002 Subject: Database in Revolution Message-ID: An HTML attachment was scrubbed... URL: From Fred_D_Yocum at mail.mcc.org Tue Sep 17 10:51:01 2002 From: Fred_D_Yocum at mail.mcc.org (Fred_D_Yocum at mail.mcc.org) Date: Tue Sep 17 10:51:01 2002 Subject: use-revolution digest, Vol 1 #693 - 8 msgs Message-ID: <85256C37.0056FBAE.00@mail.mcc.org> use-revolution-request at lists.runrev.com on 09/16/2002 12:01:39 PM Please respond to use-revolution at lists.runrev.com To: use-revolution at lists.runrev.com cc: (bcc: Fred D Yocum/MCC) Subject: use-revolution digest, Vol 1 #693 - 8 msgs -------------- next part -------------- Send use-revolution mailing list submissions to use-revolution at lists.runrev.com To subscribe or unsubscribe via the World Wide Web, visit http://lists.runrev.com/mailman/listinfo/use-revolution or, via email, send a message with subject or body 'help' to use-revolution-request at lists.runrev.com You can reach the person managing the list at use-revolution-admin at lists.runrev.com When replying, please edit your Subject line so it is more specific than "Re: Contents of use-revolution digest..." Today's Topics: 1. QT initialization on OS X 10.2 (Kurt Kaufman) 2. Rev & XP (sims) 3. send a message to n cards (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) 4. Re: send a message to n cards (Jan Schenkel) 5. Re: send a message to n cards (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) 6. Re: gzip & Mac File Types (Rob Cozens) 7. Installer (was "Drag & Drop...") (Bob Arnold) 8. Re: Installer (was "Drag & Drop...") (Rick Harrison) --__--__-- Message: 1 Date: Mon, 16 Sep 2002 09:06:04 -0400 Subject: QT initialization on OS X 10.2 From: Kurt Kaufman To: use-revolution at lists.runrev.com Reply-To: use-revolution at lists.runrev.com Under 10.2, RR's QT initialization seems to work more effectively. Whereas, under 10.1, a QT version check would not do a thing in terms of speeding up the subsequent initial call to QT (resulting in a spinning beachball), under 10.2.....no wait and no more beachball. Also, unrelated but interesting, under OS 10.2/QT 6, the QT musical instruments (Roland samples) have been modified such that there is always a slight reverb (apparently more pronounced at the end of a MIDI sequence, for example, or maybe just more audible at that point since there are no more notes being played). KK --__--__-- Message: 2 Date: Mon, 16 Sep 2002 16:17:18 +0300 To: use-revolution at lists.runrev.com From: sims Subject: Rev & XP Reply-To: use-revolution at lists.runrev.com The Rev web site states: "Revolution supports these platforms for both development and deployment: Mac OS 7.1 and later Mac OS X Windows 95, 98, ME, NT, 2000" etc etc --Questions 1. Does the current libUrl work ok all the way back to Mac OS 7.1? 2. Windows XP is not listed, any particular reason why? Does Rev work as well on XP as the other Windows? TIA sims ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting --__--__-- Message: 3 From: =?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?= To: Subject: send a message to n cards Date: Mon, 16 Sep 2002 16:23:32 +0200 Reply-To: use-revolution at lists.runrev.com This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C25D9D.65EDD810 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hello, I need a script that send a message from a stack to all the cards of = this stack. how can I write it? thanks -------------------------------------------------------------------------= -------------------------------------------------------------------- Sylvain Le Gourri=E9rec -- d=E9veloppement -- son-video-distribution = www.son-video.com ------------- I am working with Windows 2000, Revolution 1.1.1, MySQL = 3.23 & PHP 4 ------=_NextPart_000_0005_01C25D9D.65EDD810 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hello,
 
 
I need a script that send a message = from a stack to=20 all the cards of this stack.
how can I write it?
 
thanks
 

----------------------------------------------------------------= -------------------------------------------------------------------------= ----
Sylvain=20 Le Gourri=E9rec  =97=97  d=E9veloppement  =97=97=20 son-video-distribution   www.son-video.com
 
------------- I am working with Windows 2000, Revolution 1.1.1, = MySQL 3.23=20 & PHP 4
------=_NextPart_000_0005_01C25D9D.65EDD810-- --__--__-- Message: 4 Date: Mon, 16 Sep 2002 07:40:39 -0700 (PDT) From: Jan Schenkel Subject: Re: send a message to n cards To: use-revolution at lists.runrev.com Reply-To: use-revolution at lists.runrev.com Hi Sylvain, Try putting this in your stack script: on sendAllCards pMessage repeat with i = 1 to the number of cards \ of this stack send pMessage to card i of this stack end repeat end sendAllCards Now you can use sendAllCards to accomplish your goal. Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Sylvain_Le_Gourri?rec wrote: > hello, > > > I need a script that send a message from a stack to > all the cards of this stack. > how can I write it? > > thanks > > > ---------------------------------------------------------------------------------------------------------------------------------------------- > Sylvain Le Gourri?rec -- d?veloppement -- > son-video-distribution www.son-video.com > > ------------- I am working with Windows 2000, > Revolution 1.1.1, MySQL 3.23 & PHP 4 > __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com --__--__-- Message: 5 From: =?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?= To: Subject: Re: send a message to n cards Date: Mon, 16 Sep 2002 16:50:49 +0200 Reply-To: use-revolution at lists.runrev.com thanks ----- Original Message ----- From: "Jan Schenkel" To: Sent: Monday, September 16, 2002 4:40 PM Subject: Re: send a message to n cards > Hi Sylvain, > > Try putting this in your stack script: > > on sendAllCards pMessage > repeat with i = 1 to the number of cards \ > of this stack > send pMessage to card i of this stack > end repeat > end sendAllCards > > Now you can use sendAllCards to accomplish your goal. > > Hope this helped, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > --- Sylvain_Le_Gourri?rec > wrote: > > hello, > > > > > > I need a script that send a message from a stack to > > all the cards of this stack. > > how can I write it? > > > > thanks > > > > > > > -------------------------------------------------------------------------- ------------------------------------------------------------------- > > Sylvain Le Gourri?rec -- d?veloppement -- > > son-video-distribution www.son-video.com > > > > ------------- I am working with Windows 2000, > > Revolution 1.1.1, MySQL 3.23 & PHP 4 > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! News - Today's headlines > http://news.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > --__--__-- Message: 6 Date: Mon, 16 Sep 2002 08:13:44 -0700 To: use-revolution at lists.runrev.com From: Rob Cozens Subject: Re: gzip & Mac File Types Reply-To: use-revolution at lists.runrev.com Richard, et al: >It's simple enough to use a text file for this, but just a tad simpler to >use a stack file. Compare whatever parsing routines you were going to write >with the simple, robust, and ultra-fast one-liner syntax of getting a custom >property. The text file approach is completed and just about finished testing; so I'll stick with it for now. However, I always consider a message from you as a word to the wise; so I'll try to find time to check out the issues you raise. >And expanding the notion to work with multiple files becomes even more >convenient with Rev's array notation. The issue here is the complexity of gathering and storing individual files from an unknown number of folders nested to an unknown number of levels. I am happy working with individual files, and will leave that issue to someone who wants to build a commercial archiver > >In fact, if you later find you need to add any other info at all (such as >directives on what to do with the uncompressed files -- run them in an app, >leave 'em be, etc.) you can just add another property or property array to >the stack file, and you never need to worry about breaking your format. You are certainly correct if that need arises. (I'm already capturing creation & modification dates even though decompress does nothing with that info presently.) > >With a text file you also have the potential risk that whatever delimiters >you use may appear in data. With Rev's ability to store binary data in >custom properties you never need to think about how it's delimited. Its not a problem: I don't search for a delimiter to find the end of the data fork and the beginning of the resource fork: I save the byte length of the data fork in the footer. The footer format is creation date in seconds [10 char], modification date in seconds [10]char, creator/file type [8 char],end of fixed header ["#"], and the length of the data fork. The only parsing done is to read backwards from char -1 until "#". Once that position (& with it the length of the data fork) is known, the position of each element in the file is known as well. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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) --__--__-- Message: 7 Date: Mon, 16 Sep 2002 12:50:55 -0400 Subject: Installer (was "Drag & Drop...") From: Bob Arnold To: Reply-To: use-revolution at lists.runrev.com With many thanks to Jan Schenkel and Klaus Major for their helpful suggestions, I have solved my Windows installation blues (except for those 200 CD's I already burned!!!) I modified the "startup" handler in the stand-alone app using Shell to run a .BAT file (if it exists) to reset the read-only attributes of the data stacks, and then delete the .BAT file. I also created a simple Windows installer app -- using revcopyfolder, revdeletefolder (to reinstall), specialfolderpath, and the same shell routine to run and then delete the .BAT file to reset the read-only attributes. Both solutions -- the installer and the startup routine in case someone bypasses the installer -- work, so many thanks! If anyone would be interested in looking at the simple installer stack (Bill Lynn?) I'd be happy to email it or upload it someplace. Although it is set up for Windows, it could easily be modified (simplified) for the Mac. Bob -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 News: http://people.bu.edu/rfarnold/Announce.htm --__--__-- Message: 8 Date: Mon, 16 Sep 2002 12:58:05 -0400 Subject: Re: Installer (was "Drag & Drop...") From: Rick Harrison To: Reply-To: use-revolution at lists.runrev.com on 9/16/2002 12:50 PM, Bob Arnold at rfarnold at bu.edu wrote: > With many thanks to Jan Schenkel and Klaus Major for their helpful > suggestions, I have solved my Windows installation blues (except for those > 200 CD's I already burned!!!) > > I modified the "startup" handler in the stand-alone app using Shell to run a > .BAT file (if it exists) to reset the read-only attributes of the data > stacks, and then delete the .BAT file. > > I also created a simple Windows installer app -- using revcopyfolder, > revdeletefolder (to reinstall), specialfolderpath, and the same shell > routine to run and then delete the .BAT file to reset the read-only > attributes. > > Both solutions -- the installer and the startup routine in case someone > bypasses the installer -- work, so many thanks! > > If anyone would be interested in looking at the simple installer stack (Bill > Lynn?) I'd be happy to email it or upload it someplace. Although it is set > up for Windows, it could easily be modified (simplified) for the Mac. > > Bob Bob, I would be very interested in looking at your simple installer stack. Thanks, Rick Harrison --__--__-- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution End of use-revolution Digest From katir at hindu.org Tue Sep 17 14:25:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue Sep 17 14:25:01 2002 Subject: Stacks delivered via the web? In-Reply-To: <200209171357.JAA04252@www.runrev.com> Message-ID: <1AD417EE-CA73-11D6-A4B6-003065FB9830@hindu.org> > Re: Stacks delivered via the web? How it works.... Well, I think a lot of you have already seen this site, but for those who haven't http://www.himalayanacademy.com/studyhall/ could be considered a fair example of how it works. Since the initial "stub" program is delivered (downloaded from) by the web and there are a) no CD's shipped b) No FTP clients required c) no emails with attachments involved and d) the only way to access it initially is through a web browser... perhaps it will fit the myopic overlords criteria for "Web Based." At any rate a good case could be made that it is. Note, I built this site nearly 3 ago and never had time to take it further. But it still works and "Mystic Mouse" for kids gets lots of hits. And the "registration" page in the "Portal" is broken... hth Himalayan Academy Publications Sannyasin Sivakatirswami Editor's Assistant/Production Manager katir at hindu.org www.HinduismToday.com, www.HimalayanAcademy.com, www.Gurudeva.org, www.hindu.org Read The Master Course Lesson of the Day at http://www.gurudeva.org/lesson.shtml From k_major at os.surf2000.de Tue Sep 17 14:36:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Tue Sep 17 14:36:01 2002 Subject: Database in Revolution In-Reply-To: Message-ID: Hi Jerry, > Dear Richard Gaskin, > > This is a simple array type data base. The row is income $650?to > 20,000 in $50 increments The column is?number of children is one child > through?six children.??Each intersection (like ?$2,250??and three > children) ?is? a discrete number.? All totaled? there are 2,400 > intersections. My best guess is that this comes in well under 1 mb.? > But you know databases better than I do.? What is available in > Revolution to handle this minor database?? My concern is that I have > never worked with programing interfaces with databases.? My specialty > is video and?graphics. > > So with respect to this area I am a newbie. > > Thanks for your help. could you please provide some more info on how you want to display the data and how you want to handle it ? Or what's your idea of your application. (Sounds like the amount of data is small enough to let a simple text-field in RR handle it...) Then we could supply some solutions :-) Regards Klaus Major k_major at os.surf2000.de From miscdas at boxfrog.com Tue Sep 17 14:49:01 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Tue Sep 17 14:49:01 2002 Subject: Rev & XP In-Reply-To: References: Message-ID: <20020917194858.93948.qmail@www.boxfrog.com> I lurk several other forums for multimedia authoring apps and note that XP users seem to run into problems with various functions (especially video related, and more oten with QT than other formats) that run fine on all othe Win OS from 95 upwards. In other words, if you run under XP and have a problem, suspect XP to be the culprit, not RR. miscdas Monte Goulding writes: > I hope so! I develop all my software using XP. However, I keep whining about > theme support. Please can we get nice looking Win apps soon! I want to have > my apps look stunning when someone has the OS X theme installed. > >> -----Original Message----- >> From: use-revolution-admin at lists.runrev.com >> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of sims >> Sent: Monday, 16 September 2002 10:47 PM >> To: use-revolution at lists.runrev.com >> Subject: Rev & XP >> >> >> The Rev web site states: >> >> "Revolution supports these platforms for both development and deployment: >> >> Mac OS 7.1 and later >> >> Mac OS X >> >> Windows 95, 98, ME, NT, 2000" >> >> etc etc >> >> >> --Questions >> >> 1. Does the current libUrl work ok all the way back to Mac OS 7.1? >> >> 2. Windows XP is not listed, any particular reason why? Does Rev >> work as well >> on XP as the other Windows? >> >> TIA >> >> sims >> >> >> >> ___________________________________________ >> >> http://EZPZapps.com info at EZPZapps.com >> Software - Internet Development - Consulting >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Tue Sep 17 15:45:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue Sep 17 15:45:01 2002 Subject: repeat for each-button or field list Message-ID: <3E70EEE8-CA7E-11D6-A4B6-003065FB9830@hindu.org> Why doesn't this work? repeat for each button x in this stack put x & cr after tButtonList end repeat put tButtonList or repeat for each field x in this stack put x & cr after tFieldList end repeat put tFieldList ?? Goal: take all values in fields of a card and poke them into an array where each key is the name of the field and its value is the contents of the field fieldName[itsContents] Himalayan Academy Publications Sannyasin Sivakatirswami Editor's Assistant/Production Manager katir at hindu.org www.HinduismToday.com, www.HimalayanAcademy.com, www.Gurudeva.org, www.hindu.org Read The Master Course Lesson of the Day at http://www.gurudeva.org/lesson.shtml From dvk at dvkconsult.com.au Tue Sep 17 15:57:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Tue Sep 17 15:57:01 2002 Subject: repeat for each-button or field list In-Reply-To: <3E70EEE8-CA7E-11D6-A4B6-003065FB9830@hindu.org> Message-ID: On Wednesday, Sep 18, 2002, at 06:44 Australia/Sydney, Sannyasin Sivakatirswami wrote: > Why doesn't this work? > > repeat for each button x in this stack > put x & cr after tButtonList > end repeat > put tButtonList > ...because button and field are not chunk types > > Goal: take all values in fields of a card and poke them into an array > where > each key is the name of the field and its value is the contents of the > field I think you will need to use "repeat with x = 1 to the number of buttons of this stack" and reference button (field) x to get its name and contents. regards David > > fieldName[itsContents] > > > Himalayan Academy Publications > > Sannyasin Sivakatirswami > Editor's Assistant/Production Manager > katir at hindu.org > www.HinduismToday.com, www.HimalayanAcademy.com, > www.Gurudeva.org, www.hindu.org > > Read The Master Course Lesson of the Day at > http://www.gurudeva.org/lesson.shtml > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From katir at hindu.org Tue Sep 17 16:13:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue Sep 17 16:13:01 2002 Subject: arrays in custom properties--not possible? Message-ID: <33DF5794-CA82-11D6-A4B6-003065FB9830@hindu.org> on storePrefs repeat with x = 1 to (the number of fields of this stack) put fld x into gPrefsArray[the short name of fld x] end repeat set the cPrefs of this stack to gPrefsArray end storePrefs the above fails, apparently because the attempt to set a custom property to an array is unacceptable. Is this a known limitation? "Tell me its not so..." Thanks Himalayan Academy Publications Sannyasin Sivakatirswami Editor's Assistant/Production Manager katir at hindu.org www.HinduismToday.com, www.HimalayanAcademy.com, www.Gurudeva.org, www.hindu.org Read The Master Course Lesson of the Day at http://www.gurudeva.org/lesson.shtml From katir at hindu.org Tue Sep 17 16:35:00 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Tue Sep 17 16:35:00 2002 Subject: Passing contents of a variable to a regular expression Message-ID: <29F28845-CA85-11D6-A4B6-003065FB9830@hindu.org> I have a stack where editors are to use a single character to tag a word to be deleted... But I want them to be able to custom select the character to serve as this delimiter, store that as a preference and then later pull it into a regular expression... but I don't see how to do that: (Thanks to Ken Ray for getting me this far!) on cleanUpEditedOriginal put fld "deleteDel" of stack "prefs" into lDeleteDel ## assume its an "*" asterisk for this test put fld "original" into jai repeat until tToggle = 1 if matchtext (jai,"(\(.*?\))",tDeletion) then ## in this case "()" are wrapping text to be deleted. ## but we want to use the contents of lDeleteDel in this expression ## as in something like: "(\[lDeleteDel].*?\[lDeleteDel])" ## which would resolve to "(\*.*?\*)" in this case ## where lDeleteDel is an * (asterisk--but it could be any single char) replace tDeletion with "" in jai else put 1 into tToggle end if end repeat replace " " with " " in jai put jai into fld "clean" end cleanUpEditedOriginal Any clues? Thanks! Himalayan Academy Publications Sannyasin Sivakatirswami Editor's Assistant/Production Manager katir at hindu.org www.HinduismToday.com, www.HimalayanAcademy.com, www.Gurudeva.org, www.hindu.org From dcragg at lacscentre.co.uk Tue Sep 17 17:18:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue Sep 17 17:18:01 2002 Subject: arrays in custom properties--not possible? In-Reply-To: <33DF5794-CA82-11D6-A4B6-003065FB9830@hindu.org> References: <33DF5794-CA82-11D6-A4B6-003065FB9830@hindu.org> Message-ID: At 11:12 am -1000 17/9/02, Sannyasin Sivakatirswami wrote: >on storePrefs > repeat with x = 1 to (the number of fields of this stack) > put fld x into gPrefsArray[the short name of fld x] > end repeat > set the cPrefs of this stack to gPrefsArray >end storePrefs > >the above fails, apparently because the attempt to set a custom >property to an array is unacceptable. Is this a known limitation? >"Tell me its not so..." I think you want this: set the customProperties["cPrefs"] of this stack to gPrefsArray Cheers Dave From herz at ucsd.edu Tue Sep 17 17:20:00 2002 From: herz at ucsd.edu (Richard K. Herz) Date: Tue Sep 17 17:20:00 2002 Subject: Stacks delivered via the web? References: <200209171357.JAA04234@www.runrev.com> Message-ID: <009301c25e98$40985440$58bfef84@herzpc1> > Could someone describe to me, on or off-list depending how much you > anticipate everyone's gonna groan, just how the below works? I am not > certain I am understanding it well enough to present it as a potential > solution to the department... > > Judy My version of doing this is posted at http://mechanics.ucsd.edu/research/herz/web_24/ The stacks could be designed to look like web pages, if that's what your instructors need to see. Note the link to the "engine" source just above the screen shots. With load and get url, I've encountered problems on Win XP, only, in trying to make a second socket connection after the first times-out. If anyone else is sees that problem, please report it to bugs at runrev.com. Rich Herz herz at ucsd.edu From jhurley at infostations.com Tue Sep 17 19:42:01 2002 From: jhurley at infostations.com (Jim Hurley) Date: Tue Sep 17 19:42:01 2002 Subject: Speed In-Reply-To: <200209162155.RAA22789@www.runrev.com> References: <200209162155.RAA22789@www.runrev.com> Message-ID: I have a question about optimization. I am helping a local candidate with their database. It is a large county election database which I have imported into a field within Rev. This is a voter database in which we would like to identify a single addresses for all voters within a given households so that we do not have to send multiple letters to individual voters within the same household. This makes a big difference in mailing costs. I found that my original program runs prohibitively slowly. But I find when I break up the data into smaller blocks, things run much more rapidly. For example I use the following code: repeat with k = 0 to 8 put line k*1000 to (k+1)*1000+1 of tField into temp put identifyUniqueAddresses(temp) into a[k] end repeat so that the data in the variable tField is broken up into 9 chunks of 1000 lines each. Later I reassemble the results from the array, a[k]. If instead I try to run the whole field at once using: identifyUniqueAddressess(tField) I would have to wait all day for the data in tField to process. (I have not found a was to use: repeat for each line tLine in tField I have to be able to discover whether *successive* lines in the sorted data share the same address.) Now I'm sure my handler, identifyUniqueAddresess, is not the most efficient code, but my question is this: Why does the handler run so much more rapidly working on several smaller chunks which are later reassembled rather than all at once? I suspect the problem may be successively pulling up lines of text from a very long list of lines. Would it help if I first put the lines into an array and then worked with the array? Is there an optimizer out there? Gentlemen and gentle ladies, start your engines. -- Jim Hurley -------------- next part -------------- An HTML attachment was scrubbed... URL: From kray at sonsothunder.com Tue Sep 17 21:01:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Sep 17 21:01:01 2002 Subject: Passing contents of a variable to a regular expression References: <29F28845-CA85-11D6-A4B6-003065FB9830@hindu.org> Message-ID: <002501c25eb6$8bb74da0$6601a8c0@mckinley.dom> Sannyasin, Thanks for the kudos. Here's what you can do - you can simply make the regular expression into a variable. Keep in mind that you may actually have *two* identifiers (and open paren and a close paren in this case), so you'll either need two preferences, or one preference that could be two characters long. Also, I noted that your matchText function assumes you have a local variable tDeletion that was not declared in your posted code, so I added it. on cleanUpEditedOriginal local tDeletion put fld "deleteDel" of stack "prefs" into lDeleteDel if (length(lDeleteDel) > 2) or (length(lDeleteDel = 0) then answer "Bad Delimiter Length" exit cleanUpEditedOriginal else if length(lDeleteDel) = 2 then put char 1 of lDeleteDel into tOpenDel put char 2 of lDeleteDel into tCloseDel else put lDeleteDel into tOpenDel put lDeleteDel into tCloseDel end if end if put fld "original" into jai put "(\" & tOpenDel & ".*?" & "\" & tCloseDel & ")" into regEx repeat until tToggle = 1 if matchtext (jai,regEx,tDeletion) then replace tDeletion with "" in jai else put 1 into tToggle end if end repeat replace " " with " " in jai put jai into fld "clean" end cleanUpEditedOriginal Note that not all characters need to be escaped with a "\". So you'd need to adjust the code to optionally escape the characters that need to be escaped, and leave alone the ones that don't. Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Sannyasin Sivakatirswami" To: Sent: Tuesday, September 17, 2002 4:33 PM Subject: Passing contents of a variable to a regular expression > I have a stack where editors are to use a single character to tag a > word to be deleted... But I want them to be able to custom select the > character to serve as this delimiter, store that as a preference and > then later pull it into a regular expression... but I don't see how to > do that: > (Thanks to Ken Ray for getting me this far!) > > on cleanUpEditedOriginal > put fld "deleteDel" of stack "prefs" into lDeleteDel > ## assume its an "*" asterisk for this test > put fld "original" into jai > repeat until tToggle = 1 > if matchtext (jai,"(\(.*?\))",tDeletion) then > ## in this case "()" are wrapping text to be deleted. > ## but we want to use the contents of lDeleteDel in this > expression > ## as in something like: "(\[lDeleteDel].*?\[lDeleteDel])" > ## which would resolve to "(\*.*?\*)" in this case > ## where lDeleteDel is an * (asterisk--but it could be any > single char) > replace tDeletion with "" in jai > else > put 1 into tToggle > end if > end repeat > replace " " with " " in jai > put jai into fld "clean" > end cleanUpEditedOriginal > > Any clues? > > > Thanks! > Himalayan Academy Publications > Sannyasin Sivakatirswami > Editor's Assistant/Production Manager > katir at hindu.org > www.HinduismToday.com, www.HimalayanAcademy.com, > www.Gurudeva.org, www.hindu.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dvk at dvkconsult.com.au Tue Sep 17 22:00:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Tue Sep 17 22:00:01 2002 Subject: arrays in custom properties--not possible? In-Reply-To: <33DF5794-CA82-11D6-A4B6-003065FB9830@hindu.org> Message-ID: <816E6FEF-CAB2-11D6-A8E5-000393598038@dvkconsult.com.au> On Wednesday, Sep 18, 2002, at 07:12 Australia/Sydney, Sannyasin Sivakatirswami wrote: > on storePrefs > repeat with x = 1 to (the number of fields of this stack) > put fld x into gPrefsArray[the short name of fld x] > end repeat > set the cPrefs of this stack to gPrefsArray > end storePrefs > > the above fails, apparently because the attempt to set a custom > property to an array is unacceptable. Is this a known limitation? > "Tell me its not so..." "Tis so..." except as Dave Cragg pointed out. Your other alternative is to use a custom property as an array, directly, rather than setting it to an array. So, refer to cPrefs[the short name of field x] and skip the gPrefsArray bit. cheers David > > Thanks > Himalayan Academy Publications > > Sannyasin Sivakatirswami > Editor's Assistant/Production Manager > katir at hindu.org > www.HinduismToday.com, www.HimalayanAcademy.com, > www.Gurudeva.org, www.hindu.org > > Read The Master Course Lesson of the Day at > http://www.gurudeva.org/lesson.shtml > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dvk at dvkconsult.com.au Tue Sep 17 22:06:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Tue Sep 17 22:06:01 2002 Subject: Speed In-Reply-To: Message-ID: <62681327-CAB3-11D6-A8E5-000393598038@dvkconsult.com.au> On Wednesday, Sep 18, 2002, at 10:37 Australia/Sydney, Jim Hurley wrote: > I have a question about optimization. Jim Two answers. Yes, your revised code runs faster because you are breaking it into chunks (I assume in both instances you are dealing with a variable and not a field). Using an array structure may be faster if you find a sensible way to do it. However, repeat for each will work for you, so long as you "remember" the last line, discarding it for the new one only when it no longer matches. Practically any additional processing you do during the repeat for each loop will be negligible in its time cost compared with indexing through with a variable, so you can even handle multiple lines this way, or extract a block comprising one multi-line address each time. regards David > > I am helping a local candidate with their database. It is a large > county election database which I have imported into a field within > Rev. > > This is a voter database in which we would like to identify a single > addresses for all voters within a given households so that we do not > have to send multiple letters to individual voters within the same > household. This makes a big difference in mailing costs. > > I found that my original program runs prohibitively slowly. > > But I find when I break up the data into smaller blocks, things run > much more rapidly. For example I use the following code: > > ? repeat with k = 0 to 8 > > ??? put line k*1000 to (k+1)*1000+1 of tField into temp > > ??? put identifyUniqueAddresses(temp) into a[k] > > ? end repeat > > > > so that the data in the variable tField is broken up into 9 chunks of > 1000 lines each. Later I reassemble the results from the array, a[k]. > > If instead I try to run the whole field at once using: > > ???????identifyUniqueAddressess(tField) > > I would have to wait all day for the data in tField to process. > > (I have not found a was to use: > > ???????repeat for each line tLine in tField > > I have to be able to discover whether *successive* lines in the sorted > data share the same address.) > > Now I'm sure my handler, identifyUniqueAddresess, is not the most > efficient code, but my question is this:? Why does the handler run so > much more rapidly working on several smaller chunks which are later > reassembled rather than all at once? > > I suspect the problem may be successively pulling up lines of text > from a very long list of lines. Would it help if I first put the lines > into an array and then worked with the array? > > Is there an optimizer out there? Gentlemen and gentle ladies, start > your engines. > > ? > > -- > Jim Hurley -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2881 bytes Desc: not available URL: From dsc at swcp.com Wed Sep 18 00:07:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 18 00:07:01 2002 Subject: Speed In-Reply-To: Message-ID: <4D18024D-CAC4-11D6-9FB1-0050E4C0B205@swcp.com> On Tuesday, September 17, 2002, at 06:37 PM, Jim Hurley wrote: > Now I'm sure my handler, identifyUniqueAddresess, is not the most > efficient code, but my question is this:? Why does the handler run > so much more rapidly working on several smaller chunks which are > later reassembled rather than all at once? > > I suspect the problem may be successively pulling up lines of text > from a very long list of lines. Would it help if I first put the > lines into an array and then worked with the array? > Are you referring to lines by number? I wonder whether that would require counting lines from the front every time. Removing or changing lines in the middle? You might be better off consuming lines from the front of the list and appending consolidated lines to the end of another list. The array idea sounds good, too. Well, to my naive mind, anyway. Dar Scott From monte at sweattechnologies.com Wed Sep 18 01:09:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 18 01:09:01 2002 Subject: ANN: libXMLtext v0.5 Message-ID: Hi All Just a quick note to announce version 0.5 of libXMLtext. Only a couple of changes in this version. - It now has OS X style flippers when it's used on OS X. - It now expands when you click on the text and as well as the flipper. - It now uses the hiliteColor on Mac platforms rather than the accentColor as on windows for hiliting the currently selected level. It's available at http://www.sweattechnologies.com/rev Cheers Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile: (+61) 0421 138 274 From signe.sanne at roman.uib.no Wed Sep 18 03:25:01 2002 From: signe.sanne at roman.uib.no (Signe Marie Sanne) Date: Wed Sep 18 03:25:01 2002 Subject: Stacks delivered via the web? Message-ID: Hello Judy, I have used stacks delivered via the web to various students for more than a year, and I must admit that each time I'm looking at the downloading I still feel lucky to how discovered this genial solution and think you should go for it. In previous years when I saw descriptions of it I did not understand all the things which had to be done to implement it (perhaps it was me not being a native speaker, or perhaps the descriptions were to computerese for me as a former lecturer in Italian). I shall try to explain it in simple and plain words how it is done: A link on an ordinary web page downloads a stack (which Troy Rollins calls a "stub" and Sivakatirswami earlier has called a portal stack, I tend to call it a particular kind of net browser). This stack has to be in standalone format for each platform. When compressed their size is 1.2 and 1.6 MB. This stack is to reside permanently on the student's harddisk. In the stack there are menus (in my case in the form of buttons) which, when clicked, download and open the various educational programs. These programs are read into memory and leaves no trace on the student's harddisk (not even in the cache folder as far as I know). The various educational programs are very easy to maintain: each time I make a change on whatever platform, I just upload the stack to the server (no need to make platform specific versions before uploading). See Richard Herz' excellent explanation and examples: http://mechanics.ucsd.edu/research/herz/web_24/. I have also made a stack to show uploading/downloading, compression, proxy handling etc.: http://www.runrev.com/revolution/developers/developerdownloads/usercontributions.html. It is called "Stacks Down - A Stack uploader & downloader". Please feel free to ask further questions. -- 1. amanuensis Signe Marie Sanne e-mail: signe.sanne at roman.uib.no Romansk Institutt tel: +47 55 58 21 27 Oysteins gt. 1 5007 Bergen http://www.hf.uib.no/hfolk/mlab/default.html Norway From benr_mc at cogapp.com Wed Sep 18 03:55:00 2002 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed Sep 18 03:55:00 2002 Subject: Searching list archive (was Re: Revolution Wiki) In-Reply-To: Message-ID: on 15/9/02 6:59 am, Jeanne A. E. DeVoto at jeanne at runrev.com wrote: > At 2:15 PM -0700 9/13/2002, Chipp Walters wrote: >> Or, just allow the archive of this list to be searched (like the MetaCard >> list) > > You can use Google for this: > > A cunning plan! Perhaps RunRev could add a link (or even a search box) to the list archives page to do this? Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From jhurley at infostations.com Wed Sep 18 05:10:01 2002 From: jhurley at infostations.com (Jim Hurley) Date: Wed Sep 18 05:10:01 2002 Subject: Speed In-Reply-To: <200209180202.WAA16746@www.runrev.com> References: <200209180202.WAA16746@www.runrev.com> Message-ID: This is a postscript to my previous message regarding speed. I'm embarrassed to say there is a simple way to employ "repeat for each line..." and the difference in speed is profound. But I would nevertheless like to understand why "repeat with i = 1 to the number of lines in...." is so much slower and whether putting the list of lines in an array is the better way to go in those situations where "repeat for each...." is not practical. From dvk at dvkconsult.com.au Wed Sep 18 05:31:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Wed Sep 18 05:31:01 2002 Subject: Speed In-Reply-To: Message-ID: <86A514DD-CAF1-11D6-8ADB-000393598038@dvkconsult.com.au> On Wednesday, Sep 18, 2002, at 20:08 Australia/Sydney, Jim Hurley wrote: > This is a postscript to my previous message regarding speed. > > I'm embarrassed to say there is a simple way to employ "repeat for > each line..." and the difference in speed is profound. > > But I would nevertheless like to understand why "repeat with i = 1 to > the number of lines in...." is so much slower Jim It is the counting, which is done each time. Imagine you have a list of a paltry three lines. The linefeed character marks the end of line, and you have no other information. So, to get line 1, you count up character by character from 1 to the first linefeed. For line 2, start at char 1 again and count until the second linefeed, taking data from the first one. For line 3, count from the beginning again... you can see this gets pretty tedious, even for a computer, when you are referencing lines 5997, 5998 and so on. Worse, if within the loop you refer to that line by index again, then it is counted again. After all, you may have changed the data in the meantime. > and whether putting the list of lines in an array is the better way > to go in those situations where "repeat for each...." is not > practical. Using an array is faster than doing the line index thing. Look up combine and split to convert between arrays and existing lists, or create new arrays on the fly. Have fun. cheers David > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From janschenkel at yahoo.com Wed Sep 18 05:36:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 18 05:36:01 2002 Subject: Speed In-Reply-To: Message-ID: <20020918103529.93368.qmail@web11904.mail.yahoo.com> Hi Jim, It has everything to do with the optimisation RR/MC can apply to the "repeat for each line" statement: the engine knows that it will have to fetch the next line, starting from the position in memory its internal repeatFor-pointer is currently at. If you use "repeat with i = 1 to the number of lines" then the engine will have to search line i back from the beginning of the variable, effectively going through lines 1, 2, ..., i-1 in order to find the contents of line i. Splitting the variable into an array also helps, because RR/MC can immediately jump to the point in memory where anArray[i] is, instead of having to wade through lines 1, 2, ..., i-1 in order to find the contents of line i. So in those cases where "repeat for each line" is impractical, you can indeed get a serious speed-bump by turning the variable into an array with a simple split aVariable by return Hope this cleared things up a bit, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Jim Hurley wrote: > This is a postscript to my previous message > regarding speed. > > I'm embarrassed to say there is a simple way to > employ "repeat for > each line..." and the difference in speed is > profound. > > But I would nevertheless like to understand why > "repeat with i = 1 to > the number of lines in...." is so much slower and > whether putting the > list of lines in an array is the better way to go in > those situations > where "repeat for each...." is not practical. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From rpresender at earthlink.net Wed Sep 18 08:26:01 2002 From: rpresender at earthlink.net (Robert Presender) Date: Wed Sep 18 08:26:01 2002 Subject: Insert and delete Commas Message-ID: <07629A8E-CB0A-11D6-81B0-000393A19046@earthlink.net> The following custom handlers(?) are used in an application developed in SuperCard. They are used for math processes such as addition, subtraction, etc.. They work in Rev. Would appreciate any comments relating to shorting or modifying the scripts or a different approach. The scripts are to be used on Mac and Windows platforms. Regards ... Bob on insertCommaCd startNum, finishNum --number must end in .00. --syntax: insertCommaCd --[integer, integer] repeat with x = startNum to finishNum if char 1 of fld x is "-" then put "-" into minusHold delete char 1 of fld x else put "" into minusHold end if if "," is not in fld x then get the number of chars of fld x if it >= 7 and it <= 9 then put "," after char (it -6) of fld x else if it >= 10 then get the number of chars of fld x put "," after char (it -9) of fld x put "," after char (it -5) of fld x end if end if end if put minusHold before char 1 of fld x end repeat end insertCommaCd --**Deletes commas from multiple or single fields having 1 or --**more lines per field. Minus numbers can be used on deleteComma startNo, finishNo --syntax: deleteComma [integer, integer] repeat with x = startNo to finishNo get the number of lines of fld x repeat with y = 1 to it if "," is in line y of fld x then --** get offset(",", line y of fld x ) delete char it of line y of fld x if it is not 0 then get offset(",", line y of fld x ) delete char it of line y of fld x else next repeat end if end if end repeat end repeat end deleteComma From BvG at mac.com Wed Sep 18 08:42:01 2002 From: BvG at mac.com (bvg@mac.com) Date: Wed Sep 18 08:42:01 2002 Subject: Insert and delete Commas In-Reply-To: <07629A8E-CB0A-11D6-81B0-000393A19046@earthlink.net> Message-ID: <4972B9E5-CB0C-11D6-9E8F-000393A13C50@mac.com> err... check the docs for "evaluate" why do it yourself if they can do it for you? Am Mittwoch, 18.09.02 um 15:24 Uhr schrieb Robert Presender: > The following custom handlers(?) are used in an application developed > in SuperCard. > They are used for math processes such as addition, subtraction, etc.. > They work in Rev. > > Would appreciate any comments relating to shorting or modifying the > scripts or a different approach. The scripts are to be used on Mac > and Windows platforms. > > Regards ... Bob > > on insertCommaCd startNum, finishNum --number must end in .00. > --syntax: insertCommaCd --[integer, integer] > repeat with x = startNum to finishNum > if char 1 of fld x is "-" then > put "-" into minusHold > delete char 1 of fld x > else > put "" into minusHold > end if > > if "," is not in fld x then > get the number of chars of fld x > if it >= 7 and it <= 9 then > put "," after char (it -6) of fld x > else > if it >= 10 then > get the number of chars of fld x > put "," after char (it -9) of fld x > put "," after char (it -5) of fld x > end if > end if > end if > put minusHold before char 1 of fld x > end repeat > end insertCommaCd > > --**Deletes commas from multiple or single fields having 1 or > --**more lines per field. Minus numbers can be used > on deleteComma startNo, finishNo --syntax: deleteComma [integer, > integer] > repeat with x = startNo to finishNo > get the number of lines of fld x > repeat with y = 1 to it > if "," is in line y of fld x then --** > get offset(",", line y of fld x ) > delete char it of line y of fld x > if it is not 0 then > get offset(",", line y of fld x ) > delete char it of line y of fld x > else > next repeat > end if > end if > end repeat > end repeat > end deleteComma > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Wed Sep 18 09:55:02 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 18 09:55:02 2002 Subject: Insert and delete Commas In-Reply-To: <07629A8E-CB0A-11D6-81B0-000393A19046@earthlink.net> Message-ID: <20020918145337.3049.qmail@web11902.mail.yahoo.com> Hi Bob, If I understand these functions correctly, they place thousand separators in numbers. Since XTalk cannot process numbers with thousand separators in them, they have to strip those commas out before calculation. After the calculations are done, when the data is presented to the user on-screen, the thousand separators are put back in, right? You could always use Rob Cozen's Serendipity Library for exactly that purpose :-) However, the second function lends itself to optimization very easily: on deleteComma startNo, finishNo --syntax: deleteComma [integer, integer] repeat with x = startNo to finishNo replace "," with "" in fld x end repeat end deleteComma I'm sure we could provide you with a better version for the insertCommaCd handler, but that would require a bit more thinking than my flu-infested body can muster right now. Hope this helped nonetheless, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Robert Presender wrote: > The following custom handlers(?) are used in an > application developed > in SuperCard. > They are used for math processes such as addition, > subtraction, etc.. > They work in Rev. > > Would appreciate any comments relating to shorting > or modifying the > scripts or a different approach. The scripts are to > be used on Mac and > Windows platforms. > > Regards ... Bob > > on insertCommaCd startNum, finishNum --number must > end in .00. > --syntax: insertCommaCd --[integer, integer] > repeat with x = startNum to finishNum > if char 1 of fld x is "-" then > put "-" into minusHold > delete char 1 of fld x > else > put "" into minusHold > end if > > if "," is not in fld x then > get the number of chars of fld x > if it >= 7 and it <= 9 then > put "," after char (it -6) of fld x > else > if it >= 10 then > get the number of chars of fld x > put "," after char (it -9) of fld x > put "," after char (it -5) of fld x > end if > end if > end if > put minusHold before char 1 of fld x > end repeat > end insertCommaCd > > --**Deletes commas from multiple or single fields > having 1 or > --**more lines per field. Minus numbers can be used > on deleteComma startNo, finishNo --syntax: > deleteComma [integer, > integer] > repeat with x = startNo to finishNo > get the number of lines of fld x > repeat with y = 1 to it > if "," is in line y of fld x then --** > get offset(",", line y of fld x ) > delete char it of line y of fld x > if it is not 0 then > get offset(",", line y of fld x ) > delete char it of line y of fld x > else > next repeat > end if > end if > end repeat > end repeat > end deleteComma __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From rcozens at pon.net Wed Sep 18 09:55:39 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Sep 18 09:55:39 2002 Subject: Serendipity Library Now Supports File Compression & Decompression Message-ID: Hi All, http://www.oenolog.com/ftp/serendipity_downloader.htm has been updated to present the Mac/Unix file bundles in .sea.bin/.tar format respectively, and individual files in the Library's gzip (.sgz) format. SDB Utilities.rev, included in the bundle, has new menuItems to create and expand .szg archives. This facility is limited to single-file archives; but it maintains the Mac resource fork, defaults the Mac creator/type for Windows & Unix files ending in .rev, .mc, and .txt, and prompts for creator/type if a "foreign" file has a different extension. Archive files containing a Mac resource fork will not expand on Unix & Windows platforms. There are three small issues pending resolution, all of which have nothing to do with Revolution: 1. I used Apple's File Exchange to modify the Read Me text line endings for Windows; but have no option to prepare a text file for Unix. I included the Windows version cr/lf. Would the Mac text show better or worse? What must I script to do a correct Unix conversion? 2. Internet Explorer downloads .szgs to disk as I specified; however it is setting the creator/type to ttxtTEXT instead of sDIPsdb2, which I also specified. What should I try to fix this? 3. Netscape continues to display .sdgs on the screen even though I have set them up with "Save to Disk" option checked. What to do? -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 dsc at swcp.com Wed Sep 18 10:01:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 18 10:01:01 2002 Subject: Insert and delete Commas In-Reply-To: <07629A8E-CB0A-11D6-81B0-000393A19046@earthlink.net> Message-ID: <9F671840-CB16-11D6-9BF7-0050E4C0B205@swcp.com> On Wednesday, September 18, 2002, at 07:24 AM, Robert Presender wrote: > The following custom handlers(?) are used in an application > developed in SuperCard. > They are used for math processes such as addition, subtraction, > etc.. They work in Rev. > > Would appreciate any comments relating to shorting or modifying > the scripts or a different approach. The scripts are to be used > on Mac and Windows platforms. > I'm making a wild guess as to the requirements here. Based on that I advise that you adopt a style using functions. Create a function to insert commas and one to remove them. The functions would take a value and return a value. They would not touch any data outside the function, especially fields. Processing data in fields is slower than processing data in variables. Use those two functions to create your handlers for processing a range of fields or, since they are general, in lots of other ways. I'm not sure what these are intended to do. Are these supposed to take a value like "-1234567890" and change it to "-1,234,567,890" and the inverse? (If so, removing might be done with a replace command.) Dar From rfarnold at bu.edu Wed Sep 18 10:22:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Wed Sep 18 10:22:01 2002 Subject: Installer (was "Drag & Drop...") Message-ID: Another discovery of a simple Mac-based Windows installation solution: the free Alladin DropStuff can be set to create a PC (.exe) self-extracting archive. When opened on a PC, it asks for a destination volume/folder with a browse option. Pretty basic, but the good news is that extracted files will not be read-only as those copied directly from the CD will be. Does anyone know how, if possible, to make a file on a CD, such as an application program or ".bat" file, automatically open when the disk is inserted? Using Toast on my Mac, when making a hybrid dual format CD, I can select a file on the Mac side to auto-open, but not on the PC side. Is there something like "autoexec.bat" which works when a volume, such as a CD, is mounted vs. when the computer starts up? -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 News: http://people.bu.edu/rfarnold/Announce.htm From miscdas at boxfrog.com Wed Sep 18 10:38:01 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Wed Sep 18 10:38:01 2002 Subject: Database in Revolution In-Reply-To: <4972B9E5-CB0C-11D6-9E8F-000393A13C50@mac.com> References: <4972B9E5-CB0C-11D6-9E8F-000393A13C50@mac.com> Message-ID: <20020918153735.83957.qmail@www.boxfrog.com> Dear Richard Gaskin, > > This is a simple array type data base. The row is income $650 to > 20,000 in $50 increments The column is number of children is one child > through six children. Each intersection (like $2,250 and three > children) is a discrete number. All totaled there are 2,400 > intersections. My best guess is that this comes in well under 1 mb. > But you know databases better than I do. What is available in > Revolution to handle this minor database? My concern is that I have > never worked with programing interfaces with databases. My specialty > is video and graphics. > > So with respect to this area I am a newbie. > > Thanks for your help. ====== I'm going to make a few assumptions, because you didn't supply many details. 1. The user will be inputting a $$value. 2. The user will be inputting an offspring value. 3. A table will supply a second $$outputvalue based on input1 and input2. (Perhaps the table finds the amount of tax the user must pay based on income and number of offspring.) 4. The user does not need to view the table. 5. It is clear that the first column (1 offspring)can be easily calculated, because you already listed the start value, end value, and increment. Therefore, it is almost trivial to produce the $$outputvalue for each cell (intersection) of this column. 6. I suspect a similar relationship exists for each successive column, and that a simple factor needs to be changed based on the column number. If the user needs to view the table, you can use the same math to fill an array rather than manually inputting the data. Then, if the table needs to be revised, it's a simple matter of adjusting the math. If you supply start, end, and increment values for a few more columns, it will be possible to determine the formula to use to find the value at any cell in the table. miscdas From janschenkel at yahoo.com Wed Sep 18 10:55:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 18 10:55:01 2002 Subject: Insert and delete Commas In-Reply-To: <07629A8E-CB0A-11D6-81B0-000393A19046@earthlink.net> Message-ID: <20020918155406.9830.qmail@web11902.mail.yahoo.com> Hi Bob, During a rare "awake" moment I also rescripted your other handler. This should handle very long numbers better than the SuperCard functions, as well... on insertCommaCd startNum, finishNum --syntax: insertCommaCd --[integer, integer] repeat with x = startNum to finishNum put insertCommas(fld x) into fld x end repeat end insertCommaCd function insertCommas pNumber -- first strip off and save the sign if char 1 of pNumber is "-" then put "-" into tMinusHold delete char 1 of pNumber else put "" into tMinusHold end if -- now strip off and save the decimal part get offset(".", pNumber) if it > 0 then put char it to -1 into tDecimalHold delete char it to -1 of pNumber else put "" into tDecimalHold end if -- now determine how many commas to place put length(pNumber) into tLength put (tLength DIV 3) into tCommas if (tLength MOD 3) = 0 then subtract 1 from tCommas -- insert the commas into the integer part repeat with i = tCommas down to 1 put "," after char - (i * 3 + 1) of pNumber end repeat -- put everything back together return tMinusHold & pNumber & tDecimalHold end insertCommas Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Robert Presender wrote: > The following custom handlers(?) are used in an > application developed > in SuperCard. > They are used for math processes such as addition, > subtraction, etc.. > They work in Rev. > > Would appreciate any comments relating to shorting > or modifying the > scripts or a different approach. The scripts are to > be used on Mac and > Windows platforms. > > Regards ... Bob > > on insertCommaCd startNum, finishNum --number must > end in .00. > --syntax: insertCommaCd --[integer, integer] > repeat with x = startNum to finishNum > if char 1 of fld x is "-" then > put "-" into minusHold > delete char 1 of fld x > else > put "" into minusHold > end if > > if "," is not in fld x then > get the number of chars of fld x > if it >= 7 and it <= 9 then > put "," after char (it -6) of fld x > else > if it >= 10 then > get the number of chars of fld x > put "," after char (it -9) of fld x > put "," after char (it -5) of fld x > end if > end if > end if > put minusHold before char 1 of fld x > end repeat > end insertCommaCd > > --**Deletes commas from multiple or single fields > having 1 or > --**more lines per field. Minus numbers can be used > on deleteComma startNo, finishNo --syntax: > deleteComma [integer, > integer] > repeat with x = startNo to finishNo > get the number of lines of fld x > repeat with y = 1 to it > if "," is in line y of fld x then --** > get offset(",", line y of fld x ) > delete char it of line y of fld x > if it is not 0 then > get offset(",", line y of fld x ) > delete char it of line y of fld x > else > next repeat > end if > end if > end repeat > end repeat > end deleteComma __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From dsc at swcp.com Wed Sep 18 11:14:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 18 11:14:01 2002 Subject: Insert and delete Commas In-Reply-To: <20020918155406.9830.qmail@web11902.mail.yahoo.com> Message-ID: <5919883E-CB21-11D6-9BF7-0050E4C0B205@swcp.com> On Wednesday, September 18, 2002, at 09:54 AM, Jan Schenkel wrote: > on insertCommaCd startNum, finishNum ... > put insertCommas(fld x) into fld x ... > end insertCommaCd > > function insertCommas pNumber ... > end insertCommas > Robert, Jan's example speaks much better than my ramblings about functions. I think this is a good example to emulate. (Do you want commas in 4-digit numerals like 1,234? Or do you care one way or the other? Some folks don't like them.) Dar From kray at sonsothunder.com Wed Sep 18 12:43:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Wed Sep 18 12:43:01 2002 Subject: Insert and delete Commas References: <20020918155406.9830.qmail@web11902.mail.yahoo.com> Message-ID: <004301c25f3a$35fa8e70$6f00a8c0@mckinley.dom> Or, using Regular Expressions (my fave): function insertCommas pNumber local tMinusHold,tMainNum,tDecimalHold get matchText(pNumber,"([-]?)([0-9]*)[\.]?([0-9]*)",tMinusHold,tMainNum,tDecimal Hold) if it is true then -- should be, but can't hurt to check put "" into returnVal if tDecimalHold <> "" then put "." before tDecimalHold repeat with x = length(tMainNum) down to 1 if ((length(tMainNum) - x) mod 3 = 0) and (x <> length(tMainNum)) then \ put "," before returnVal put char x of tMainNum before returnVal end repeat return tMinusHold & tMainNum & tDecimalHold end if end insertCommas And to explain the regEx (which is something I do every time I make a regex post), here's how it breaks up: ([-]?) Look for 0 or 1 occurrence ("?") of a hyphen ("[-]"), and return it ("()") into the first variable provided (tMinusHold). ([0-9]*) Then look for 0 or more occurrences ("*") of a number ("[0-9]"), and return it ("()") into the second variable provided (tMainNum). [\.]? Then look for 0 or 1 occurence ("?") of a decimal point ("\." - the "\" escapes this 'special' character so it's not misinterpreted). Since there's no parentheses, don't return anything, just use it as a delimiter. ([0-9]*) Finally, look for 0 or more occurrences ("*") of a number ("[0-9]"), and return it ("()") into the last variable provided (tDecimalHold). Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Jan Schenkel" To: Sent: Wednesday, September 18, 2002 10:54 AM Subject: Re: Insert and delete Commas > Hi Bob, > > During a rare "awake" moment I also rescripted your > other handler. This should handle very long numbers > better than the SuperCard functions, as well... > > on insertCommaCd startNum, finishNum > --syntax: insertCommaCd --[integer, integer] > repeat with x = startNum to finishNum > put insertCommas(fld x) into fld x > end repeat > end insertCommaCd > > function insertCommas pNumber > -- first strip off and save the sign > if char 1 of pNumber is "-" then > put "-" into tMinusHold > delete char 1 of pNumber > else > put "" into tMinusHold > end if > -- now strip off and save the decimal part > get offset(".", pNumber) > if it > 0 then > put char it to -1 into tDecimalHold > delete char it to -1 of pNumber > else > put "" into tDecimalHold > end if > -- now determine how many commas to place > put length(pNumber) into tLength > put (tLength DIV 3) into tCommas > if (tLength MOD 3) = 0 then subtract 1 from tCommas > -- insert the commas into the integer part > repeat with i = tCommas down to 1 > put "," after char - (i * 3 + 1) of pNumber > end repeat > -- put everything back together > return tMinusHold & pNumber & tDecimalHold > end insertCommas > > > Hope this helped, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > --- Robert Presender wrote: > > The following custom handlers(?) are used in an > > application developed > > in SuperCard. > > They are used for math processes such as addition, > > subtraction, etc.. > > They work in Rev. > > > > Would appreciate any comments relating to shorting > > or modifying the > > scripts or a different approach. The scripts are to > > be used on Mac and > > Windows platforms. > > > > Regards ... Bob > > > > on insertCommaCd startNum, finishNum --number must > > end in .00. > > --syntax: insertCommaCd --[integer, integer] > > repeat with x = startNum to finishNum > > if char 1 of fld x is "-" then > > put "-" into minusHold > > delete char 1 of fld x > > else > > put "" into minusHold > > end if > > > > if "," is not in fld x then > > get the number of chars of fld x > > if it >= 7 and it <= 9 then > > put "," after char (it -6) of fld x > > else > > if it >= 10 then > > get the number of chars of fld x > > put "," after char (it -9) of fld x > > put "," after char (it -5) of fld x > > end if > > end if > > end if > > put minusHold before char 1 of fld x > > end repeat > > end insertCommaCd > > > > --**Deletes commas from multiple or single fields > > having 1 or > > --**more lines per field. Minus numbers can be used > > on deleteComma startNo, finishNo --syntax: > > deleteComma [integer, > > integer] > > repeat with x = startNo to finishNo > > get the number of lines of fld x > > repeat with y = 1 to it > > if "," is in line y of fld x then --** > > get offset(",", line y of fld x ) > > delete char it of line y of fld x > > if it is not 0 then > > get offset(",", line y of fld x ) > > delete char it of line y of fld x > > else > > next repeat > > end if > > end if > > end repeat > > end repeat > > end deleteComma > > > __________________________________________________ > Do you Yahoo!? > Yahoo! News - Today's headlines > http://news.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From miscdas at boxfrog.com Wed Sep 18 13:34:01 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Wed Sep 18 13:34:01 2002 Subject: Stacks delivered via the web? In-Reply-To: <009301c25e98$40985440$58bfef84@herzpc1> References: <200209171357.JAA04234@www.runrev.com> <009301c25e98$40985440$58bfef84@herzpc1> Message-ID: <20020918183340.35005.qmail@www.boxfrog.com> Richard K. Herz writes: >> Could someone describe to me, on or off-list depending how much you >> anticipate everyone's gonna groan, just how the below works? I am not >> certain I am understanding it well enough to present it as a potential >> solution to the department... >> >> Judy > > My version of doing this is posted at > > http://mechanics.ucsd.edu/research/herz/web_24/ > > > > Rich Herz > herz at ucsd.edu ============== I checked the link: VERY excellent, rich! miscdas From yvescoppe at skynet.be Wed Sep 18 13:44:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Wed Sep 18 13:44:01 2002 Subject: Insert and delete Commas In-Reply-To: <004301c25f3a$35fa8e70$6f00a8c0@mckinley.dom> References: <20020918155406.9830.qmail@web11902.mail.yahoo.com> <004301c25f3a$35fa8e70$6f00a8c0@mckinley.dom> Message-ID: >Or, using Regular Expressions (my fave): > >And to explain the regEx (which is something I do every time I make a regex >post), here's how it breaks up: Ken, you should make a stack or something that explains the ground of RegEx. ! Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From scott at tactilemedia.com Wed Sep 18 13:52:00 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Sep 18 13:52:00 2002 Subject: Installer (was "Drag & Drop...") In-Reply-To: Message-ID: Recently, "Bob Arnold" wrote: > Does anyone know how, if possible, to make a file on a CD, such as an > application program or ".bat" file, automatically open when the disk is > inserted? Sounds like you need to make an autorun.inf file. In a text editor, create a plain text document with the following text: [autorun] open = path\to\your\app\on\the\cd Name this document "autorun.inf" and place it at the root level of your CD. This should cause your app to auto-launch when the disc is loaded. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From scott at tactilemedia.com Wed Sep 18 14:58:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Sep 18 14:58:01 2002 Subject: Stacks delivered via the web? In-Reply-To: Message-ID: > I have used stacks delivered via the web to various students for more > than a year, and I must admit that each time I'm looking at the > downloading I still feel lucky to how discovered this genial solution > and think you should go for it. I echo this sentiment strongly. Last year, I ran an online game for about 2-1/2 months which was centered around a "mysterious" piece of software that players had to figure out how to use. The software consisted of Mac/Windows player engines that retrieved game "levels" (stacks) from a central location on the Web and allowed users to play locally. Once a level was completed, the results were sent to an online database, and the address of the next level was downloaded into the user's player. Player registration was also handled via online stacks as well, where users entered their registration information into a stack that sent their data to the database. If you're interested in seeing a demo of the game, links are included below. The coolest thing about online delivery of stacks is the ability to maintain/update. Instead of forcing all users of your software to download a new standalone engine every time you make a change to your content, you store your content in stacks on the Web. To update, simply make changes to your content stack and upload it to the Web; then all users have access the latest and greatest content via their players. Truth be told, there can be some disadvantages to delivering content via custom software, versus a browser. You will undoubtedly have some support issues to contend with (there's always some user out there with a wacky system that refuses to run your app), but IMO, the possibilities for a customized user experience outweigh the support issues you may face. ----- DEMO INFO Plexata was a series of visual puzzles whose solutions required users to do research on the Web, find a key word or phrase, and translate that key into series of digits which were entered into the player to access the next level. In this demo, the codes have been simplified to allow access to 7 levels. NOTE: the solution of each puzzle will be meaningless for anyone who is unfamiliar with the game; this demo is provided purely to demonstrate the gameplay. A demo of the Plexata game is available at the addresses below. Note this was built over a year ago using MC2.3 and as such: 1) you may experience some minor display problems on XP; 2) you may experience sound/performance problems under Classic on OSX (no OSX native version is available). [WIN] http://www.plexata.com/samples/plexata_demo.zip [MAC] http://www.plexata.com/samples/plexata_demo.hqx (OS 9 and earlier only) - Access Codes Level 1 - 101 Level 2 - 102 Level 3 - 103 Level 4 - 201 Level 5 - 202 Level 6 - 203 Level 7 - 301 - Player Operation Launch the app. Wait for the player to situate itself at the bottom of your screen. Click the center to open the data entry panel. Enter a code from the above list and click the play (arrow) button. Once a level has downloaded, click play again to run the level. When you are finished with a level, click the play button to close the level. - Your Are Being Monitored This version of the demo features a hidden surveillance camera which may appear randomly on your desktop to take your picture. Don't worry -- the pictures will not be released to the public. If you run into any problems, feel free to contact me directly offlist. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From dsc at swcp.com Wed Sep 18 15:35:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Sep 18 15:35:01 2002 Subject: VMware and Revolution Message-ID: I have been using Virtual PC on OS X and I am about to get Virtual PC for Windows. However, I am seriously thinking of getting VMware, a similar product, instead. I would guess that Revolution and standalones would run just fine on either, but I thought I'd ask... How's Rev on VMware? Dar Scott From jperryl at ecs.fullerton.edu Wed Sep 18 16:37:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed Sep 18 16:37:01 2002 Subject: Stacks delivered via the web? In-Reply-To: <20020918183340.35005.qmail@www.boxfrog.com> Message-ID: Yes, and thank you to all who have kindly responded. I am still sifting through all the replies so that I may make a case to my instructors, who by now have no doubt decided that I am one of those evil, technie-types for stating that the web is not the ultimate computing experience/solution delivery and that there are differences between developing for the desktop and developing online... Judy On Wed, 18 Sep 2002 miscdas at boxfrog.com wrote: > I checked the link: VERY excellent, rich! From janschenkel at yahoo.com Wed Sep 18 16:57:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 18 16:57:00 2002 Subject: Insert and delete Commas In-Reply-To: <004301c25f3a$35fa8e70$6f00a8c0@mckinley.dom> Message-ID: <20020918215607.65403.qmail@web11904.mail.yahoo.com> Hi Ken, Congratulations on yet another excellent regular expression solution. It's just not an automated response in my brain set ;-) And what-do-you-know : Ken's version even fits in the Starter Kit 10-lines limit. Now where did I put that perl-book again... *drowsy smile* Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Ken Ray wrote: > Or, using Regular Expressions (my fave): > > function insertCommas pNumber > local tMinusHold,tMainNum,tDecimalHold > get > matchText(pNumber,"([-]?)([0-9]*)[\.]?([0-9]*)",tMinusHold,tMainNum,tDecimal > Hold) > if it is true then -- should be, but can't hurt > to check > put "" into returnVal > if tDecimalHold <> "" then put "." before > tDecimalHold > repeat with x = length(tMainNum) down to 1 > if ((length(tMainNum) - x) mod 3 = 0) > and (x <> > length(tMainNum)) then \ > put "," before returnVal > put char x of tMainNum before returnVal > end repeat > return tMinusHold & tMainNum & tDecimalHold > end if > end insertCommas > > And to explain the regEx (which is something I do > every time I make a regex > post), here's how it breaks up: > > ([-]?) > Look for 0 or 1 occurrence ("?") of a hyphen > ("[-]"), and return it > ("()") into the first variable provided > (tMinusHold). > > ([0-9]*) > Then look for 0 or more occurrences ("*") of a > number ("[0-9]"), and > return it ("()") into the second variable provided > (tMainNum). > > [\.]? > Then look for 0 or 1 occurence ("?") of a > decimal point ("\." - the "\" > escapes this 'special' character so it's not > misinterpreted). Since there's > no parentheses, don't return anything, just use it > as a delimiter. > > ([0-9]*) > Finally, look for 0 or more occurrences ("*") of > a number ("[0-9]"), and > return it ("()") into the last variable provided > (tDecimalHold). > > Hope this helps, > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > [snip] __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com From webmaster at listology.com Wed Sep 18 17:10:00 2002 From: webmaster at listology.com (Jim Biancolo) Date: Wed Sep 18 17:10:00 2002 Subject: Looping Over Groups? Message-ID: <5.1.0.14.2.20020918180427.00ac8298@mail.qrc.com> Hi folks, I'm new to Revolution; please forgive in advance boneheaded questions. I checked the docs and Google before posting and couldn't find an answer. Is there a way to loop over the images in a group? I tried these: repeat for each image I in group "my_group" repeat for each item I in group "my_group" repeat for each object O in group "players_group" All failed to compile. Then I hit on: repeat for each element E in group "players_group" It compiled, but then when I tried to run it I got this error: Error description: Chunk: source is not a container I fear I'm missing something obvious. Any advice? Thanks! Jim From ambassador at fourthworld.com Wed Sep 18 17:36:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 18 17:36:01 2002 Subject: Looping Over Groups? In-Reply-To: <5.1.0.14.2.20020918180427.00ac8298@mail.qrc.com> Message-ID: Jim Biancolo wrote: > I'm new to Revolution; please forgive in advance boneheaded questions. I > checked the docs and Google before posting and couldn't find an answer. > > Is there a way to loop over the images in a group? I tried these: > > repeat for each image I in group "my_group" > repeat for each item I in group "my_group" > repeat for each object O in group "players_group" > > All failed to compile. Then I hit on: > > repeat for each element E in group "players_group" > > It compiled, but then when I tried to run it I got this error: > > Error description: Chunk: source is not a container > > I fear I'm missing something obvious. Any advice? The "repeat for each" construct works only with text chunks, not objects. Try: repeat with i = 1 to the number of images of grp "MyGroup" -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From jeanne at runrev.com Wed Sep 18 17:45:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Wed Sep 18 17:45:01 2002 Subject: Looping Over Groups? In-Reply-To: <5.1.0.14.2.20020918180427.00ac8298@mail.qrc.com> Message-ID: At 3:09 PM -0700 9/18/2002, Jim Biancolo wrote: >Is there a way to loop over the images in a group? I tried these: > > repeat for each image I in group "my_group" > repeat for each item I in group "my_group" > repeat for each object O in group "players_group" > >All failed to compile. Then I hit on: > > repeat for each element E in group "players_group" > >It compiled, but then when I tried to run it I got this error: > > Error description: Chunk: source is not a container > >I fear I'm missing something obvious. Any advice? I think people have been so enthusiastic about advising the efficient "repeat for each" form that the other forms have gotten a little eclipsed. ;-) The "repeat for each" form can be used to iterate over chunks in a string - characters, words, lines, items - or over each element in an array, but it can't be used to iterate over objects. The first and third variations you tried wouldn't compile because "repeat for each image" and "repeat for each object" aren't valid forms of the repeat loop. The second one, "repeat for each item", is valid... but in this context, an "item" is a part of a string, not an object, so this doesn't work either. And the fourth, while a valid form, requires an array, not a group reference. Here's a form that will work: repeat with x = 1 to the number of images in group "my_group" answer the name of image x -- or whatever end repeat -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From rpresender at earthlink.net Wed Sep 18 17:54:01 2002 From: rpresender at earthlink.net (Robert Presender) Date: Wed Sep 18 17:54:01 2002 Subject: Insert and delete Commas In-Reply-To: <200209181601.MAA32174@www.runrev.com> Message-ID: <6AF5666B-CB59-11D6-81B0-000393A19046@earthlink.net> Hi Jan, Thanks for your input. Very helpful. Hadn't thought of that approach for both delete and insert. Hope you are over the flu! Hope to include the suggestions in the conversion of my application "MyMonEE" to Rev. Regards ... Bob PS: MyMonEE can be found at: http://www.geocities.com/rpresender If anyone on the list wants the Registration Code (free of course), just email me. This also applies to Will Creator (done in Rev). On Wednesday, September 18, 2002, at 09:01 AM, Jan Schenkel wrote: > Hi Bob, > > During a rare "awake" moment I also rescripted your > other handler. This should handle very long numbers > better than the SuperCard functions, as well... > > on insertCommaCd startNum, finishNum > --syntax: insertCommaCd --[integer, integer] > repeat with x = startNum to finishNum > put insertCommas(fld x) into fld x > end repeat > end insertCommaCd > > function insertCommas pNumber > -- first strip off and save the sign > if char 1 of pNumber is "-" then > put "-" into tMinusHold > delete char 1 of pNumber > else > put "" into tMinusHold > end if > -- now strip off and save the decimal part > get offset(".", pNumber) > if it > 0 then > put char it to -1 into tDecimalHold > delete char it to -1 of pNumber > else > put "" into tDecimalHold > end if > -- now determine how many commas to place > put length(pNumber) into tLength > put (tLength DIV 3) into tCommas > if (tLength MOD 3) = 0 then subtract 1 from tCommas > -- insert the commas into the integer part > repeat with i = tCommas down to 1 > put "," after char - (i * 3 + 1) of pNumber > end repeat > -- put everything back together > return tMinusHold & pNumber & tDecimalHold > end insertCommas > > > Hope this helped, > > Jan Schenkel. From rpresender at earthlink.net Wed Sep 18 18:11:01 2002 From: rpresender at earthlink.net (Robert Presender) Date: Wed Sep 18 18:11:01 2002 Subject: use-revolution digest, Vol 1 #699 - 6 msgs In-Reply-To: <200209181601.MAA32174@www.runrev.com> Message-ID: On Wednesday, September 18, 2002, at 09:01 Dar Scott wrote: snip > Robert, Jan's example speaks much better than my ramblings about > functions. I think this is a good example to emulate. Dar .. Thanks for your input. I hadn't thought about the function approach > (Do you want commas in 4-digit numerals like 1,234? Or do you care > one way or the other? Some folks don't like them.) > Yes, to be consistent. Regards ... Bob PS: The application("MyMonEE"), in the process of being converted to Rev, can be found at: http://www.geocities.com/rpresender If anyone on the list wants the Registration Code (free of course), just email me. This also applies to Will Creator (done in Rev). From runrev at hotmail.com Wed Sep 18 18:24:01 2002 From: runrev at hotmail.com (Jerry Thomas) Date: Wed Sep 18 18:24:01 2002 Subject: (no subject) Message-ID: I am a new user of Revolution. I noticed that both Videos and Images are not embedded and need to connect with external files. This is easy when I'm building, the images and videos are right there on my hard drive. But when I build to CD I need relative paths so that the images and videos I burned to disc will play in anyones CD drive regardless of the Drive letter. How do you create/insert relative paths in Revolution? _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com From runrev at hotmail.com Wed Sep 18 18:59:00 2002 From: runrev at hotmail.com (Jerry Thomas) Date: Wed Sep 18 18:59:00 2002 Subject: (no subject) Message-ID: Dear Dr. miscdas, Unfortunately, your suspicions are incorrect. If there were a straight mathematical relationship in the table I would be in high clover. The table is graduated with a formula only known to an outfit in Colorado. It comes from a computer run with six or seven variables that massage the numbers with an unseen hand. As I indicated the data are discrete numbers and have no easily discernible math relationship. I have to enter the data in the table by hand. The data are used in a simple arithmetic formula to calculate the rest of the numbers in my project. The user will see the intersection data that has been brought forth by this "lookup" table and it will be printed in a form. They will not see the table it came from . This is a database or an array, albeit a very simple one and I need to know how to program it in revolution. Thanks for your help though. _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From webmaster at listology.com Wed Sep 18 23:57:00 2002 From: webmaster at listology.com (Jim Biancolo) Date: Wed Sep 18 23:57:00 2002 Subject: Performance Issues With "Move" Command Message-ID: <5.1.0.14.2.20020919003849.00ad8318@mail.qrc.com> Hi folks, Thanks for the helpful responses to my "Looping Over Groups" thread. I have one more question and then I think I'm all set for awhile . . . I'm having a very hard time getting the "move" command to perform adequately. Is this common? Specifically, here's what I've tried: I have a simple red circle image (an "Import as Control" jpg). This moves easily and well: move image "o01" to 200,200 in 2 seconds Creating three such images and moving them all sequentially also works well: move image "o01" to 200,200 in 2 seconds move image "o02" to 200,200 in 2 seconds move image "o03" to 200,200 in 2 seconds But when I try to move them simultaneously things kinda fall apart: set the lockMoves to true move image "o01" to 200,200 in 2 seconds move image "o02" to 200,200 in 2 seconds move image "o03" to 200,200 in 2 seconds set the lockMoves to false It takes a few seconds for anything to happen at all. Then the first image flickers from its current position to 200,200 without traversing the space in-between (no animation). Then the second, and then the third do the same thing. The don't move, they skip. And they don't do so simultanously as I'd expect. Any advice on how to get simultaneous motion to perform? I'm running on a PIII 500Mhz. BTW, Quicktime or the Animation Manager probably won't work for me (although I'm not positive) as I ultimately want to let the user click-and-drag these images to various points to create their own animation paths. Thanks! Jim P.S. From kray at sonsothunder.com Thu Sep 19 00:51:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 19 00:51:01 2002 Subject: Insert and delete Commas References: <20020918215607.65403.qmail@web11904.mail.yahoo.com> Message-ID: <002a01c25f9f$dce6fec0$6601a8c0@mckinley.dom> Thanks, Jan... It took a while before I got the automated response of "see string parsing... think RegEx". One of these days, I was hoping that MC/Rev could do away with the need to declare the local variables before you used matchText/matchChunk and create them automatically for you... that would remove yet another line and also some troubleshooting for people who forget to declare them. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Jan Schenkel" To: Sent: Wednesday, September 18, 2002 4:56 PM Subject: Re: Insert and delete Commas > Hi Ken, > > Congratulations on yet another excellent regular > expression solution. It's just not an automated > response in my brain set ;-) > And what-do-you-know : Ken's version even fits in the > Starter Kit 10-lines limit. Now where did I put that > perl-book again... > > *drowsy smile* > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > --- Ken Ray wrote: > > Or, using Regular Expressions (my fave): > > > > function insertCommas pNumber > > local tMinusHold,tMainNum,tDecimalHold > > get > > > matchText(pNumber,"([-]?)([0-9]*)[\.]?([0-9]*)",tMinusHold,tMainNum,tDecimal > > Hold) > > if it is true then -- should be, but can't hurt > > to check > > put "" into returnVal > > if tDecimalHold <> "" then put "." before > > tDecimalHold > > repeat with x = length(tMainNum) down to 1 > > if ((length(tMainNum) - x) mod 3 = 0) > > and (x <> > > length(tMainNum)) then \ > > put "," before returnVal > > put char x of tMainNum before returnVal > > end repeat > > return tMinusHold & tMainNum & tDecimalHold > > end if > > end insertCommas > > > > And to explain the regEx (which is something I do > > every time I make a regex > > post), here's how it breaks up: > > > > ([-]?) > > Look for 0 or 1 occurrence ("?") of a hyphen > > ("[-]"), and return it > > ("()") into the first variable provided > > (tMinusHold). > > > > ([0-9]*) > > Then look for 0 or more occurrences ("*") of a > > number ("[0-9]"), and > > return it ("()") into the second variable provided > > (tMainNum). > > > > [\.]? > > Then look for 0 or 1 occurence ("?") of a > > decimal point ("\." - the "\" > > escapes this 'special' character so it's not > > misinterpreted). Since there's > > no parentheses, don't return anything, just use it > > as a delimiter. > > > > ([0-9]*) > > Finally, look for 0 or more occurrences ("*") of > > a number ("[0-9]"), and > > return it ("()") into the last variable provided > > (tDecimalHold). > > > > Hope this helps, > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > > > [snip] > > __________________________________________________ > Do you Yahoo!? > Yahoo! News - Today's headlines > http://news.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Sep 19 00:51:14 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 19 00:51:14 2002 Subject: (no subject) References: Message-ID: <002b01c25f9f$dd4412e0$6601a8c0@mckinley.dom> Jerry, You just use partial paths based on where "the directory" points to. Most people will insert a chunk of code that sets the directory to the location of their stack (while they're developing), something like: on openStack put the fileName of me into tName set the itemDel to "/" delete last item of tName set the directory to tName end openStack Then, any video/images/etc. would get a "filename" that is the remainder of the path; for example, if an graphic "dog.jpg" was in an "images" folder, and the "images" folder was at the same level as the standalone (or stack), you would set the fileName of the image in Rev to be "images/dog.jpg". Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Jerry Thomas" To: Sent: Wednesday, September 18, 2002 6:22 PM Subject: (no subject) > > I am a new user of Revolution. I noticed that both Videos and Images are not > embedded and need to connect with external files. This is easy when I'm > building, the images and videos are right there on my hard drive. But when I > build to CD I need relative paths so that the images and videos I burned to > disc will play in anyones CD drive regardless of the Drive letter. How do > you create/insert relative paths in Revolution? > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sylvain.legourrierec at son-video.com Thu Sep 19 01:54:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Thu Sep 19 01:54:01 2002 Subject: insertion point in a field Message-ID: <001701c25fa9$46b712f0$0801a8c0@sylvain> hello, how can I get the location (e.g. char 25) of the insertion point in a text field? thanks --------------------------------------------------------------------------------------------------------------------------------------------- Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution www.son-video.com ------------- I am working with Windows 2000, Revolution 1.1.1, MySQL 3.23 & PHP 4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvain.legourrierec at son-video.com Thu Sep 19 01:56:00 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Thu Sep 19 01:56:00 2002 Subject: I found it! Message-ID: <002501c25fa9$89f96590$0801a8c0@sylvain> the selectedChunk ! --------------------------------------------------------------------------------------------------------------------------------------------- Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution www.son-video.com ------------- I am working with Windows 2000, Revolution 1.1.1, MySQL 3.23 & PHP 4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From janschenkel at yahoo.com Thu Sep 19 04:11:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 19 04:11:01 2002 Subject: (no subject) In-Reply-To: Message-ID: <20020919090954.94507.qmail@web11905.mail.yahoo.com> Hi Jerry, If you have the table entered in Excel or AppleWorks or another spreadsheet, you could always export the data using "Save as" in "Text (tab-delimited)" format. Then you can simply put URL "file:" into theData Now you'll have everything read in a single variable, where the rows are separated by return and the columns by tab ; which you can easily display in a field put theData into field "tableField" If you setup that field with tabStops, and show both the horizontal and vertical grid, you can get a nice look for displaying the data. It's also very easy to convert that variable (where everything is still on several lines) into an array. split theData using return and tab Now you can address any "cell" or "intersection" with put theData[,] Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Jerry Thomas wrote: > > [snip] > > I have to enter the data in the > table by hand. The data are used in a simple > arithmetic formula to calculate > the rest of the numbers in my project. The user will > see the intersection > data that has been brought forth by this "lookup" > table and it will be > printed in a form. They will not see the table it > came from . This is a > database or an array, albeit a very simple one and I > need to know how to > program it in revolution. Thanks for your help > though. > > > _________________________________________________________________ > MSN Photos is the easiest way to share and print > your photos: > http://photos.msn.com/support/worldwide.aspx > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From kray at ia99.com Thu Sep 19 04:32:01 2002 From: kray at ia99.com (Ken Ray) Date: Thu Sep 19 04:32:01 2002 Subject: Insert and delete Commas References: <20020918155406.9830.qmail@web11902.mail.yahoo.com> <004301c25f3a$35fa8e70$6f00a8c0@mckinley.dom> Message-ID: <000801c25f4a$91897ac0$6601a8c0@mckinley.dom> It's on my "to do list"... ;-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Yves Copp?" To: Sent: Wednesday, September 18, 2002 1:45 PM Subject: Re: Insert and delete Commas > >Or, using Regular Expressions (my fave): > > > >And to explain the regEx (which is something I do every time I make a regex > >post), here's how it breaks up: > > > > Ken, > you should make a stack or something that explains the ground of RegEx. ! > > Thanks. > -- > Greetings. > > Yves COPPE > > Email : yvescoppe at skynet.be > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From k_major at os.surf2000.de Thu Sep 19 06:28:00 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Sep 19 06:28:00 2002 Subject: Performance Issues With "Move" Command In-Reply-To: <5.1.0.14.2.20020919003849.00ad8318@mail.qrc.com> Message-ID: <7ABA4474-CBB9-11D6-8406-000A27B49A96@os.surf2000.de> Hi Jim, > Hi folks, > > Thanks for the helpful responses to my "Looping Over Groups" thread. > I have one more question and then I think I'm all set for awhile . . . > I'm having a very hard time getting the "move" command to perform > adequately. Is this common? Specifically, here's what I've tried: > > I have a simple red circle image (an "Import as Control" jpg). This > moves easily and well: > > move image "o01" to 200,200 in 2 seconds > > Creating three such images and moving them all sequentially also works > well: > > move image "o01" to 200,200 in 2 seconds > move image "o02" to 200,200 in 2 seconds > move image "o03" to 200,200 in 2 seconds > > But when I try to move them simultaneously things kinda fall apart: > > set the lockMoves to true > move image "o01" to 200,200 in 2 seconds > move image "o02" to 200,200 in 2 seconds > move image "o03" to 200,200 in 2 seconds > set the lockMoves to false > > It takes a few seconds for anything to happen at all. Then the first > image flickers from its current position to 200,200 without traversing > the space in-between (no animation). Then the second, and then the > third do the same thing. The don't move, they skip. And they don't > do so simultanously as I'd expect. Any advice on how to get > simultaneous motion to perform? I'm running on a PIII 500Mhz. > > BTW, Quicktime or the Animation Manager probably won't work for me > (although I'm not positive) as I ultimately want to let the user > click-and-drag these images to various points to create their own > animation paths. > > Thanks! > > Jim the magic word in this case is not "please" but "without waiting" :-) Just add these 2 words and you will be happy... ... set the lockMoves to true move image "o01" to 200,200 in 2 seconds without waiting move image "o02" to 200,200 in 2 seconds without waiting move image "o03" to 200,200 in 2 seconds without waiting set the lockMoves to false ... If you leave them out, the engine tries to perform the first "move"-command before executing the next line of the script (see example below)... So the engine is questioning itself "To move or not to move..."... and gets a hiccup ;-) Try this example: move image "o01" to 200,200 in 2 seconds beep It will only beep after the move has been done unless you add "without waiting". Then it will beep immediately. Hope that helps. Regards Klaus Major k_major at os.surf2000.de From kkaufman at snet.net Thu Sep 19 07:42:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Thu Sep 19 07:42:01 2002 Subject: OS X native RR apps listed as "Classic" Message-ID: <63C8E298-CBCC-11D6-83A0-00039348A1E6@snet.net> Since I've been getting a lot of inquiries as to why my OS X native RR apps are designated as "Classic" in their "Get Info" Finder windows, I'd like to know whether this will be "fixed" in the next version of RR, or whether someone could write an application (in RR?) that might adjust the "plist" or whatever is needed to correct this inaccuracy. Does the problem have to do with the file format of the carbon binary (CFM/PEF vs. Dyld/Mach-O)? Thanks, Kurt From rpresender at earthlink.net Thu Sep 19 08:37:01 2002 From: rpresender at earthlink.net (Robert Presender) Date: Thu Sep 19 08:37:01 2002 Subject: Insert and delete Commas In-Reply-To: <200209191143.HAA02756@www.runrev.com> Message-ID: <107AED8E-CBD4-11D6-A743-000393A19046@earthlink.net> Thanks for your input Ken. Your approach is over my head at the present time. Will await your "to do list". Regards ... Bob On Thursday, September 19, 2002, at 04:43 AM, Ken Ray wrote: > It's on my "to do list"... ;-) > From kray at sonsothunder.com Thu Sep 19 09:20:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 19 09:20:01 2002 Subject: insertion point in a field References: <001701c25fa9$46b712f0$0801a8c0@sylvain> Message-ID: <001e01c25fe4$73421cd0$6f00a8c0@mckinley.dom> Sylvain, You can get the selectedChunk. If it is just a blinking insertion point it will return a value which looks odd (something like "char 4 to 3 of field 1", but this is quite useful. You see "char 4 to 3 of field 1" means that the insertion point is blinking between characters 3 and 4 of field 1. Why isn't it "char 3 to 4 of field 1"? Because this would mean characters 3 and 4 have been highlighted (selected), just as "char 3 to 3" would mean that character 3 was highlighted. I know it looks odd, but it works... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Sylvain Le Gourri?rec" To: Sent: Thursday, September 19, 2002 1:53 AM Subject: insertion point in a field hello, how can I get the location (e.g. char 25) of the insertion point in a text field? thanks ---------------------------------------------------------------------------- ----------------------------------------------------------------- Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution www.son-video.com ------------- I am working with Windows 2000, Revolution 1.1.1, MySQL 3.23 & PHP 4 From kray at sonsothunder.com Thu Sep 19 09:23:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 19 09:23:01 2002 Subject: OS X native RR apps listed as "Classic" References: <63C8E298-CBCC-11D6-83A0-00039348A1E6@snet.net> Message-ID: <002901c25fe4$b62bef30$6f00a8c0@mckinley.dom> Kurt, This should definitely be fixed for the next rev of Rev, since the latest version of MetaCard (on which the engine for Rev is based) is already Mach-O. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Kurt Kaufman" To: Sent: Thursday, September 19, 2002 7:36 AM Subject: OS X native RR apps listed as "Classic" > Since I've been getting a lot of inquiries as to why my OS X native RR > apps are designated as "Classic" in their "Get Info" Finder windows, > I'd like to know whether this will be "fixed" in the next version of > RR, or whether someone could write an application (in RR?) that might > adjust the "plist" or whatever is needed to correct this inaccuracy. > Does the problem have to do with the file format of the carbon binary > (CFM/PEF vs. Dyld/Mach-O)? > Thanks, Kurt > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From richmond at mail.maclaunch.com Thu Sep 19 09:25:01 2002 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu Sep 19 09:25:01 2002 Subject: screen resolution Message-ID: So there I am with a full-blown educational CD-ROM all authored on Runtime Revolution; when "Paint me green and call me Willy Wonka" along comes my boss and tells me that most people are going to be pissed-off that the prog is set for a screen res of 1024 x 768!!!!!! Bugger, bugger, bugger! start poking around in ye olde RR manual and come up against "screenRect" - dead sexy; it returns something about the screen resolution. However........ Is it possible to use 'screenRect' to resize my stacks? and........make sure the images contained in the stacks resize with the stacks? Of course, stuck in the stone-age, what we are looking for is a routine which will aloow the program to 'shrink' to a res of 800 x 600 or even 640 x 480 is necessary. Help needed (and not just from a psychologist)....Richmond Mathewson --------------------------------------------------------------- Great Macintosh Products The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi --------------------------------------------------------------- From usher at cnbcom.net Thu Sep 19 10:03:01 2002 From: usher at cnbcom.net (Philip Usher) Date: Thu Sep 19 10:03:01 2002 Subject: images and videos In-Reply-To: <200209191143.HAA02756@www.runrev.com> Message-ID: on 9/19/02 6:43 AM, "Jerry Thomas" wrote: > I noticed that both Videos and Images are not > embedded and need to connect with external files. actually, you can import videos and images in Rev...use the import As Control in the File menu. -- Philip From kray at sonsothunder.com Thu Sep 19 10:25:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Sep 19 10:25:01 2002 Subject: screen resolution References: Message-ID: <004d01c25fef$53189e60$6f00a8c0@mckinley.dom> Richmond, What you're looking for is the "resizeStack" message, which will get sent when the stack is resized. You can trap this and manually move/size all your objects... OR you can use the Geometry Manager to have Rev do the coding for you. You select the objects and use the Geometry Manager to say what happens when the stack is resized. I haven't used it much myself, and there have been some bug reports on the list, but it shortcuts a lot of hand-programming. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Mathewson" To: Sent: Thursday, September 19, 2002 8:54 AM Subject: screen resolution > So there I am with a full-blown educational CD-ROM all > authored on Runtime Revolution; when "Paint me green and > call me Willy Wonka" along comes my boss and tells me that > most people are going to be pissed-off that the prog is set > for a screen res of 1024 x 768!!!!!! > > > Bugger, bugger, bugger! start poking around in ye olde RR > manual and come up against "screenRect" - dead sexy; it > returns something about the screen resolution. > > However........ > > Is it possible to use 'screenRect' to resize my stacks? > and........make sure the images contained in the stacks > resize with the stacks? > > Of course, stuck in the stone-age, what we are looking for > is a routine which will aloow the program to 'shrink' to a > res of 800 x 600 or even 640 x 480 is necessary. > > Help needed (and not just from a psychologist)....Richmond > Mathewson > --------------------------------------------------------------- > Great Macintosh Products > The MacLaunch Store! http://www.maclaunch.com/cgi-launch/store/agora.cgi > --------------------------------------------------------------- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kkaufman at snet.net Thu Sep 19 16:18:00 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Thu Sep 19 16:18:00 2002 Subject: OS X native RR apps listed as "Classic" Message-ID: <818588DE-CC14-11D6-8E72-00039348A1E6@snet.net> Thanks, Ken. I'll rev up for the next rev of Rev, then. (sorry; couldn't resist!) -Kurt Ken Ray wrote: "...This should definitely be fixed for the next rev of Rev, since the latest version of MetaCard (on which the engine for Rev is based) is already Mach-O...." From ludovic.thebault at laposte.net Fri Sep 20 00:59:01 2002 From: ludovic.thebault at laposte.net (Ludovic Th=?ISO-8859-1?Q?=E9?=bault) Date: Fri Sep 20 00:59:01 2002 Subject: Get active user folder on macOS X ? Message-ID: <20020920075137.447E26%00000000@laposte.net> Hello, Is there a command to get the active user folder on macOS X (the Home folder) ? Thank. -- Ludovic THEBAULT (Sorry for my poooor english :-) From robinb at cogs.susx.ac.uk Fri Sep 20 07:03:01 2002 From: robinb at cogs.susx.ac.uk (Robin Banerjee) Date: Fri Sep 20 07:03:01 2002 Subject: Some help needed! Message-ID: I hope someone can help me with two problems with a stack that I am creating. I am fairly new to Runtime Revolution though I have used Hypercard in the past. The problems relate to the fact that I intend to run a stack on several different machines. The problems are: 1) How can I ensure that if I need to resize the stack all buttons, objects, font size etc. will scale down accordingly? I have looked at the Geometry Manger but that doesn't seem to let me select more than one object at a time. 2) How can I export data from a text field to a text file on, say, a floppy disk? I have successfully used 'put field 1 into URL "file:test.txt"' to put the contents of field 1 into test.txt in the current folder, but I can't seem to get it to create or modify a file in any other location. I'm developing this in Mac OSX, but this export function will mainly be used on Windows PCs, if that's relevant. Many thanks in advance. Robin -- Dr Robin Banerjee Psychology Group School of Cognitive & Computing Sciences University of Sussex UK From k_major at os.surf2000.de Fri Sep 20 07:31:00 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Fri Sep 20 07:31:00 2002 Subject: Some help needed! In-Reply-To: Message-ID: <69E79DD6-CC94-11D6-97AA-000A27B49A96@os.surf2000.de> Salaam Robin, > I hope someone can help me with two problems with a stack that I am > creating. I am fairly new to Runtime Revolution though I have used > Hypercard in the past. > > The problems relate to the fact that I intend to run a stack on several > different machines. The problems are: > > 1) How can I ensure that if I need to resize the stack all buttons, > objects, > font size etc. will scale down accordingly? I have looked at the > Geometry > Manger but that doesn't seem to let me select more than one object at a > time. Sorry, i cannot help you here, but i am afraid that cannot be done right out-of-the-box, read -> a lot of scripting. > 2) How can I export data from a text field to a text file on, say, a > floppy > disk? I have successfully used 'put field 1 into URL "file:test.txt"' > to > put the contents of field 1 into test.txt in the current folder, but I > can't > seem to get it to create or modify a file in any other location. I'm > developing this in Mac OSX, but this export function will mainly be > used on > Windows PCs, if that's relevant. If you know the path to the drive/hd/folder then you can hardcode it like: put fld 1 into url"file:C:/folder1/file.txt" I am sure that won't work for you ;-) But you can ask the user to select a folder/drive/hd where to store that file. Example: ... ask file "Where may i save this file?" with "test.txt" if the result is not "cancel" then put fld 1 into url("file:" & it) end if ... ## 1. user did not click "Cancel" ## 2. the variabel it then contains the path/folder/hd and the filename ## the user typed... > Many thanks in advance. > > Robin Hope that helps. If not, just drop another mail :-) Regards Klaus Major k_major at os.surf2000.de From gcanyon at inspiredlogic.com Fri Sep 20 13:14:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Sep 20 13:14:01 2002 Subject: Some help needed! In-Reply-To: References: Message-ID: At 12:59 PM +0100 9/20/02, Robin Banerjee wrote: >1) How can I ensure that if I need to resize the stack all buttons, objects, >font size etc. will scale down accordingly? I have looked at the Geometry >Manger but that doesn't seem to let me select more than one object at a >time. If you need to specify individual scaling options for everything, then you must do exactly that: select each object and set the options. If you have a whole group of buttons that just needs to move as a group, then group them, and set geometry on the group. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From runrev at hotmail.com Fri Sep 20 13:39:01 2002 From: runrev at hotmail.com (Jerry Thomas) Date: Fri Sep 20 13:39:01 2002 Subject: (no subject) Message-ID: I am a new user of Revolution. I noticed that both Videos and Images are not embedded and need to connect with external files. This is easy when I'm building, the images and videos are right there on my hard drive. But when I build to CD I need relative paths so that the images and videos I burned to disc will play in anyones CD drive regardless of the Drive letter. How do you create/insert relative paths in Revolution? I am resending this for publication in full on the list. I was advised by a kind gentleman on the users mail list that Import as Control would work. Well, Yes and No. I was able to import as control images, text and snapshot but not video or audio files. Is there a secret to this? Video files work great from the toolbar. Then there is the question of whether you would want embedded video files sized 387mb as anything but external files. I am running Rev version 1.1.1 on a PC running Windows 98SE. Thanks for your reply _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From Roger.E.Eller at sealedair.com Fri Sep 20 13:51:01 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Fri Sep 20 13:51:01 2002 Subject: Some help needed! Message-ID: Robin, Something like this could be used to control the text size of buttons or fields after the stack has been resized, still using geometry to control the button sizes themselves. on postResizeStack repeat with i = 1 to the number of buttons of this card if the width of btn i >= 170 then set the textSize of btn i to 18 if the width of btn i < 170 then set the textSize of btn i to 14 if the width of btn i < 125 then set the textSize of btn i to 10 if the width of btn i < 100 then set the textSize of btn i to 8 end repeat end postResizeStack Roger Eller roger.e.eller at sealedair.com > I hope someone can help me with two problems with a stack that I am > creating. I am fairly new to Runtime Revolution though I have used > Hypercard in the past. > > The problems relate to the fact that I intend to run a stack on several > different machines. The problems are: > > 1) How can I ensure that if I need to resize the stack all buttons, objects, > font size etc. will scale down accordingly? I have looked at the Geometry > Manger but that doesn't seem to let me select more than one object at a > time. > > 2) How can I export data from a text field to a text file on, say, a floppy > disk? I have successfully used 'put field 1 into URL "file:test.txt"' to > put the contents of field 1 into test.txt in the current folder, but I can't > seem to get it to create or modify a file in any other location. I'm > developing this in Mac OSX, but this export function will mainly be used on > Windows PCs, if that's relevant. > > > Many thanks in advance. > > Robin From runrev at hotmail.com Fri Sep 20 14:22:01 2002 From: runrev at hotmail.com (Jerry Thomas) Date: Fri Sep 20 14:22:01 2002 Subject: (no subject) Message-ID: Dear Folks, Are additional pattern backgrounds avaiable for Revolution? There are backgrounds available in the color pallete but they are from the days when 16/256 color was all that was available. I'm looking for something kinder and gentler -- Clouds, a pale off white soft texture, something easier on the eyes and brain. Any suggestions, And if I can get something else, how do I get it into Revolution. I have some great tiled bitmaps that work well in other programs. Thanks for your suggestions _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com From Roger.E.Eller at sealedair.com Fri Sep 20 15:23:01 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Fri Sep 20 15:23:01 2002 Subject: (no subject) Message-ID: Jerry, Yes, it is easy to do this. Any graphic image (gif, jpg, png, maybe others) that you import as a control, view it's properties and make a note of it's ID number. Then type into a script or the message box... set the backdrop to 1013 -- actual image ID number Roger Eller roger.e.eller at sealedair.com -------- Jerry Thomas wrote -------- > Dear Folks, > > Are additional pattern backgrounds avaiable for Revolution? There are > backgrounds available in the color pallete but they are from the days when > 16/256 color was all that was available. I'm looking for something kinder > and gentler -- Clouds, a pale off white soft texture, something easier on > the eyes and brain. > Any suggestions, And if I can get something else, how do I get it into > Revolution. I have some great tiled bitmaps that work well in other > programs. > > Thanks for your suggestions From yvescoppe at skynet.be Fri Sep 20 15:52:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Fri Sep 20 15:52:01 2002 Subject: copy text Message-ID: Hi, I've a text file and want to place the text in the clipboard put thePath/to/theFile into tPath put URL("file:"&tPath) into theTx how can I place the text of theTx in the clipboard... ? (the goal is to paste it later in another software) Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From scott at tactilemedia.com Fri Sep 20 16:00:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Sep 20 16:00:01 2002 Subject: copy text In-Reply-To: Message-ID: Recently, "Yves Copp?" wrote: > I've a text file and want to place the text in the clipboard > > put thePath/to/theFile into tPath > put URL("file:"&tPath) into theTx > > how can I place the text of theTx in the clipboard... ? Not sure if there's an updated way to do this, but the old way is to paste the text into a field, select the text of the field, and copy. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From Roger.E.Eller at sealedair.com Fri Sep 20 16:00:12 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Fri Sep 20 16:00:12 2002 Subject: copy text Message-ID: Yves, There has got to be a more graceful method, but this works for me... put thePath/to/theFile into tPath put URL("file:"&tPath) into fld "theTx" select the text of fld "theTx" doMenu "Copy" Roger Eller roger.e.eller at sealedair.com > Hi, > > I've a text file and want to place the text in the clipboard > > put thePath/to/theFile into tPath > put URL("file:"&tPath) into theTx > > how can I place the text of theTx in the clipboard... ? > > (the goal is to paste it later in another software) > > Thanks. > -- > Greetings. > > Yves COPPE From matt.denton at limelight.com.au Fri Sep 20 18:50:01 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Fri Sep 20 18:50:01 2002 Subject: Get active user folder on macOS X ? In-Reply-To: <200209201604.MAA24013@www.runrev.com> Message-ID: Hey-ya Ludovic Try this button script: on mouseUp put specialfolderpath ("Preferences") into lUserPath set the itemDel to "/" answer item 1 to -3 of lUserPath end mouseUp ... this script assumes that the last two items of the preferences folder contain something like "/System/Preferences", which is true in the current OSX system... so it works today, as long as Apple keeps Preferences in this spot for future OSX versions. The -3 is three items from the end. Bye! M@ Matt Denton > Subject: Get active user folder on macOS X ? > From: ludovic.thebault at laposte.net (Ludovic > Th=?ISO-8859-1?Q?=E9?=bault) > Date: Fri, 20 Sep 2002 07:51:37 +0200 > Reply-To: use-revolution at lists.runrev.com > > Hello, > > Is there a command to get the active user folder on macOS X (the Home > folder) ? From mazzapaolo at libero.it Sat Sep 21 00:13:01 2002 From: mazzapaolo at libero.it (paolo mazza) Date: Sat Sep 21 00:13:01 2002 Subject: Trim Image In-Reply-To: <200209201604.MAA24013@www.runrev.com> Message-ID: If anybody needs to trim images in Rev I wrote this code. In my Mac PPC and OSX it works. (Thanks Kevin for your article about Mask data) As you can see I resized the image before triming in order to speed up the process. I wuold like to blend two images with transparent backgrounds and get one single image. I know i can use the "import snapshot" command, but I would like to blend the images off-screen. Any suggestions? Thanks, Paolo >>> local NNN on MouseUp put the ID of the last image into NNN put trunc((the width of image ID NNN)/10) into XX put trunc((the height of image ID NNN) /10) into YY clone image ID NNN set the width of the last image to XX set the height of the last image to YY put (XX*YY) into TOTPIXY repeat with VAL=1 to TOTPIXY if chartonum(char VAL of the maskData of the last image) <> 0 then put trunc(VAL/XX) into NORD exit repeat end if end repeat repeat with VAL=TOTPIXY down to 1 if chartonum(char VAL of the maskData of the last image) <> 0 then put trunc(VAL/XX) into SUD put YY-SUD-1 into SUD exit repeat end if end repeat put (NORD*10) & comma & (SUD*10) & comma & (CONTROLLODX(XX,YY) *10) & comma & (CONTROLLOSX(XX,YY)*10) into COORDINATE delete last image -- put COORDINATE into message CANCELLARIGHE COORDINATE beep 1 end MouseUp function CONTROLLODX XX,YY repeat with Q=1 to XX repeat with K=0 to (YY-1) put Q+(K*XX) into VAL if chartonum(char VAL of the maskData of the last image) <> 0 then return (Q-1) exit CONTROLLODX end if end repeat end repeat end CONTROLLODX function CONTROLLOSX XX,YY repeat with Q=XX down to 1 repeat with K=(YY-1) down to 0 put Q+(K*XX) into VAL if chartonum(char VAL of the maskData of the last image) <> 0 then put XX-Q-1 into Q return Q exit CONTROLLOSX end if end repeat end repeat end CONTROLLOSX on CANCELLARIGHE COORDINATE put the MaskData of image ID NNN into TheMaskData1 put the imagedata of image ID NNN into Theimagedata1 put the width of image ID NNN into XXX put the height of image ID NNN into YYY -- riduzione NORD put item 1 of COORDINATE into VAR1 put XXX*YYY into TOTVAR put 4*XXX*YYY into TOTVAR4 put VAR1*XXX into TOTVAR1 delete char 1 to TOTVAR1 of TheMaskData1 put TOTVAR1*4 into TOTVAR1 delete char 1 to TOTVAR1 of Theimagedata1 put (YYY-VAR1) into YYY -- riduzione SUD put item 2 of COORDINATE into VAR1 put XXX*YYY into TOTVAR put 4*XXX*YYY into TOTVAR4 put VAR1*XXX into TOTVAR1 delete char (TOTVAR-TOTVAR1+1) to TOTVAR of TheMaskData1 put TOTVAR1*4 into TOTVAR1 delete char (TOTVAR4-TOTVAR1+1) to TOTVAR4 of Theimagedata1 put (YYY-VAR1) into YYY -- riduzione EST-OVEST put empty into TheMaskData2 put empty into Theimagedata2 put item 3 of COORDINATE into VarEst put item 4 of COORDINATE into VarWest put XXX-VarEst-VarWest into FASCIA repeat with M=0 to (YYY-1) repeat with K=(VarEst+1) to (XXX-VarWest) put K+(M*XXX) into NUM2 put char NUM2 of TheMaskdata1 after TheMaskdata2 put (NUM2-1)*4 into NUM2 put NUM2+1 into NUM2 put char NUM2 of Theimagedata1 after Theimagedata2 put NUM2+1 into NUM2 put char NUM2 of Theimagedata1 after Theimagedata2 put NUM2+1 into NUM2 put char NUM2 of Theimagedata1 after Theimagedata2 put NUM2+1 into NUM2 put char NUM2 of Theimagedata1 after Theimagedata2 end repeat end repeat -- put length(TheMaskData2) && length(Theimagedata2)/4 into message if length(TheMaskData2) is length(Theimagedata2)/4 then put empty into image ID NNN set the width of image ID NNN to FASCIA set the height of image ID NNN to YYY set the MaskData of image ID NNN to TheMaskData2 set the imagedata of image ID NNN to Theimagedata2 else beep 1 end if end CANCELLARIGHE From ncouch at smail.fairmail.net Sat Sep 21 03:06:01 2002 From: ncouch at smail.fairmail.net (ncouch) Date: Sat Sep 21 03:06:01 2002 Subject: Question about backgrounds Message-ID: Okay I am a newbie to Revolution. I have used Hypercard 2.4 for decades and find the "Revolution" view of backgrounds a bit confusing. In Hypercard I was used to being able to manipulate backgrounds at will and have it applied to all other cards automatically. In Revolution I find that if I modify the background then the other cards with the same background lose the background (and all data thereon) altogether. I have looked through the help and tutorials with little insight on how to accomplish this. Is there a way to manipulate the background on one card and have it automatically applied to the other cards without having to re-create the other cards? Any insights? Nate From ncouch at mail.airmail.net Sat Sep 21 03:57:00 2002 From: ncouch at mail.airmail.net (ncouch) Date: Sat Sep 21 03:57:00 2002 Subject: Question about backgrounds Message-ID: Okay I am a newbie to Revolution. I have used Hypercard for decades and find the "Revolution" view of backgrounds and groups a bit confusing. In Hypercard I was used to being able to manipulate backgrounds at will and have it applied to all other cards automatically. In Revolution I find that if I modify the background on one card then the other cards with the same background lose the background (and all data therein) altogether. I have looked through the help and tutorials with little insight on how to accomplish this. Is there a way to manipulate the background, or more specifically a group on a background, on one card and have it automatically applied to the other cards without having to re-create the other cards? Any insights? Nate From robinb at cogs.susx.ac.uk Sat Sep 21 04:07:01 2002 From: robinb at cogs.susx.ac.uk (Robin Banerjee) Date: Sat Sep 21 04:07:01 2002 Subject: Relative paths for external audio and video files? Message-ID: Dear Jerry, I was just about to post this exact question myself, so I would be grateful if you could let me know of any solution you find on this! I've used Import as Control myself, but you're right - it's not ideal for larger files and in any case it doesn't seem to transport across platforms, which is what I want to do (I'm developing on a mac but want to burn on cd to use on windows). Robin > > I am a new user of Revolution. I noticed that both Videos and Images are not > embedded and need to connect with external files. This is easy when I'm > building, the images and videos are right there on my hard drive. But when I > build to CD I need relative paths so that the images and videos I burned to > disc will play in anyones CD drive regardless of the Drive letter. How do > you create/insert relative paths in Revolution? > > I am resending this for publication in full on the list. I was advised by a > kind gentleman on the users mail list that Import as Control would work. > Well, Yes and No. I was able to import as control images, text and snapshot > but not video or audio files. Is there a secret to this? Video files work > great from the toolbar. Then there is the question of whether you would > want embedded video files sized 387mb as anything but external files. I am > running Rev version 1.1.1 on a PC running Windows 98SE. > > Thanks for your reply -- Dr Robin Banerjee robinb at cogs.susx.ac.uk From Roger.E.Eller at sealedair.com Sat Sep 21 09:05:01 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sat Sep 21 09:05:01 2002 Subject: Question about backgrounds Message-ID: Nate, I also started with HyperCard. I also found the differences between Rev and HC to be an annoyance until I got more accustomed to the differences. Rev is definitely more powerful and versatile. The easiest way to simulate HC backgrounds is to start with a clean new stack. Build all of the controls and fields that should appear on all cards. Select all, and group those items. Look at the properties of the group and look at the last tab labeled "Group". Make sure "Background Behavior" is checked. If it is not, this group only lives on the current card. And this is the key to working in a simulated HC world... Always select the group and Edit the group when you need to add objects to your background. This way they automatically appear on all of the cards. ~Roger Eller roger.e.eller at sealedair.com - - - - - - Nate Recently Wrote: > Okay I am a newbie to Revolution. I have used Hypercard 2.4 for decades and > find the "Revolution" view of backgrounds a bit confusing. > > In Hypercard I was used to being able to manipulate backgrounds at will and > have it applied to all other cards automatically. In Revolution I find that > if I modify the background then the other cards with the same background > lose the background (and all data thereon) altogether. I have looked > through the help and tutorials with little insight on how to accomplish > this. > > Is there a way to manipulate the background on one card and have it > automatically applied to the other cards without having to re-create the > other cards? > > Any insights? > > Nate From mparis at nc.rr.com Sat Sep 21 10:31:01 2002 From: mparis at nc.rr.com (Arclight Media) Date: Sat Sep 21 10:31:01 2002 Subject: resizing images References: Message-ID: <000e01c26183$19196560$2fb04a18@nc.rr.com> I've written some scripts that resize images (to thumbnails), but when I do that the images look a bit choppy. Is there an antialiasing routine or some sort of function that I'm missing that would make this work better? (I'm just using basic set commands like "set the width of image x to whatever, set the height of image x to whatever", etc) Thanks! Mark From sjoerdoptland at s2theatertechniek.nl Sat Sep 21 13:27:01 2002 From: sjoerdoptland at s2theatertechniek.nl (Sjoerd Op 't Land) Date: Sat Sep 21 13:27:01 2002 Subject: Repost: ODBC --> Excel In-Reply-To: Message-ID: Hello all, I've been here some while, bit mainly working with MetaCard, so thats why you didn't hear very much from me... My question: Did anyone succeed making an ODBC connection with an Excel sheet? I configured the control panel ODBC 32-bin (Win98) for a System-DSN using the Excel driver... but I can't seem to make a connection from within RunRev. Any hints/ suggestions? Thanks in advance, Sjoerd From gary.rathbone at btclick.com Sat Sep 21 14:01:01 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Sat Sep 21 14:01:01 2002 Subject: Repost: ODBC --> Excel .. Excel --> Rev In-Reply-To: Message-ID: Hey up Sjoerd, Nice to hear from you on the Rev list. Not sure if this is of any help to your problem, but take a look at: http://www.garyrathbone.net/repgen/ It may provide a different perspective on the issue. Cheers Gary Rathbone BSc MBCS -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Sjoerd Op 't Land Sent: 21 September 2002 19:21 To: use-revolution at lists.runrev.com Subject: Repost: ODBC --> Excel Hello all, I've been here some while, bit mainly working with MetaCard, so thats why you didn't hear very much from me... My question: Did anyone succeed making an ODBC connection with an Excel sheet? I configured the control panel ODBC 32-bin (Win98) for a System-DSN using the Excel driver... but I can't seem to make a connection from within RunRev. Any hints/ suggestions? Thanks in advance, Sjoerd _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From BradAllen at mac.com Sat Sep 21 14:18:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Sat Sep 21 14:18:01 2002 Subject: determining array lengths Message-ID: After looking around in the documentation, I haven't been able to find a simple function to determine the number of keys for a given array dimension. Do I need to parse the output of the keys function for this, or have I overlooked something in the documentation? I was hoping the number function might do it, as in the number of keys in myArray The expected output would be something like [100,50], to indicate the dimensions of the array. The "number of lines in the keys of myArray" only works for one-dimensional arrays. Thanks... From BradAllen at mac.com Sat Sep 21 14:38:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Sat Sep 21 14:38:01 2002 Subject: matrixMultiply In-Reply-To: References: Message-ID: I'm also having some difficulty with this function. Here is the error message I receive when I try to use it on a two-dimensional numerically keyed array containing only integer elements: Message execution error: Error description: matrixMultiply: can't multiply these arrays Here is the text I'm putting into my function" 1 0 1 1 1 1 0 0 1 0 3 0 Here is the function I'm using (it's purpose is just to explore how to put data into a matrix, do matrix multiplication, and display the output): function testMatrix inputText put the number of lines in inputText into rowLength put the number of words in line 1 of inputText into columnLength repeat with c = 1 to columnLength repeat with r = 1 to rowLength put the value of (word c of line r of inputText) into outputArray[r,c] end repeat end repeat put matrixMultiply(outputArray,outputArray) into productArray -- here is where I get the error --display the contents of productArray in field "array2" put empty into field "array2" repeat with c = 1 to columnLength repeat with r = 1 to rowLength put productArray[r,c] & space into word c of line r of field "array2" end repeat end repeat return productArray end testMatrix Thanks! From janschenkel at yahoo.com Sat Sep 21 16:21:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Sep 21 16:21:01 2002 Subject: determining array lengths In-Reply-To: Message-ID: <20020921211514.90968.qmail@web11906.mail.yahoo.com> Hi Brad, I looked into this a while ago. My solution was: 1) If the second dimension is fixed (always NN elements), you can suffice by saying: put (the number of lines of the keys of tArray / NN) 2) If however NN is variable, you can get it with the following trick: put the keys of tArray into tKeys split tKeys using return and comma put the number of lines of the keys of tKeys I know it looks convoluted, but it works, even if the second dimension varies. Hope this helped, Jan Schenkel. (You can find the entire thread at the URL: http://lists.runrev.com/pipermail/use-revolution/2002-August/006786.html ) --- Brad Allen wrote: > After looking around in the documentation, I haven't > been able to > find a simple function to determine the number of > keys for a given > array dimension. Do I need to parse the output of > the keys function > for this, or have I overlooked something in the > documentation? > > I was hoping the number function might do it, as in > > the number of keys in myArray > > The expected output would be something like > [100,50], to indicate the > dimensions of the array. > > The "number of lines in the keys of myArray" only > works for > one-dimensional arrays. > > Thanks... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From janschenkel at yahoo.com Sat Sep 21 16:27:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Sep 21 16:27:00 2002 Subject: matrixMultiply In-Reply-To: Message-ID: <20020921212131.44507.qmail@web11903.mail.yahoo.com> Hi Brad, If I remember correctly from my Linear Algebra classes, in order to multiply two arrays, their dimensions have to be such that the first dimension of the second array equals the second dimension of the first array, so they should be of the sort: Array1 [m x n] and Array2 [n x p] which means that, in this case, as it's not a square array, it can't multiply it with itself. Try again wih a square array. Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Brad Allen wrote: > I'm also having some difficulty with this function. > Here is the error > message I receive when I try to use it on a > two-dimensional > numerically keyed array containing only integer > elements: > > Message execution error: > Error description: matrixMultiply: can't multiply > these arrays > > > > Here is the text I'm putting into my function" > > 1 0 1 1 > 1 1 0 0 > 1 0 3 0 > > Here is the function I'm using (it's purpose is just > to explore how > to put data into a matrix, do matrix multiplication, > and display the > output): > > > function testMatrix inputText > put the number of lines in inputText into > rowLength > put the number of words in line 1 of inputText > into columnLength > repeat with c = 1 to columnLength > repeat with r = 1 to rowLength > put the value of (word c of line r of > inputText) into outputArray[r,c] > end repeat > end repeat > put matrixMultiply(outputArray,outputArray) into > productArray -- > here is where I get the error > > --display the contents of productArray in field > "array2" > put empty into field "array2" > repeat with c = 1 to columnLength > repeat with r = 1 to rowLength > put productArray[r,c] & space into word c of > line r of field "array2" > end repeat > end repeat > return productArray > end testMatrix > > > Thanks! > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From gcanyon at inspiredlogic.com Sat Sep 21 16:37:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Sep 21 16:37:01 2002 Subject: Question about backgrounds In-Reply-To: References: Message-ID: At 4:54 PM -0500 9/20/02, ncouch wrote: >Okay I am a newbie to Revolution. I have used Hypercard 2.4 for decades and >find the "Revolution" view of backgrounds a bit confusing. > >In Hypercard I was used to being able to manipulate backgrounds at will and >have it applied to all other cards automatically. In Revolution I find that >if I modify the background then the other cards with the same background >lose the background (and all data thereon) altogether. I have looked >through the help and tutorials with little insight on how to accomplish >this. > >Is there a way to manipulate the background on one card and have it >automatically applied to the other cards without having to re-create the >other cards? What steps are you taking? In general, if a background is on multiple cards (they don't have to be) and you make a change to it, it will still be on the other cards, and the change will be displayed. The exception is if you ungroup a background, make changes to it, and only regroup it after going to (and returning from) another card. Here is a reference to the section of the documentation that covers groups and backgrounds in detail. There's a lot of information, but that's because groups are so powerful. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From ambassador at fourthworld.com Sat Sep 21 16:49:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Sep 21 16:49:01 2002 Subject: determining array lengths In-Reply-To: <20020921211514.90968.qmail@web11906.mail.yahoo.com> Message-ID: > After looking around in the documentation, I haven't > been able to find a simple function to determine the > number of keys for a given array dimension. Do I need > to parse the output of the keys function for this, or > have I overlooked something in the documentation? See the extents function. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From janschenkel at yahoo.com Sat Sep 21 17:00:02 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Sep 21 17:00:02 2002 Subject: determining array lengths In-Reply-To: <20020921211514.90968.qmail@web11906.mail.yahoo.com> Message-ID: <20020921215343.7192.qmail@web11907.mail.yahoo.com> My apologies, Brad. I only realised afterwards that my answer was off by the length of a small football-field. Richard is right: have a look at the extents function. My solution does work for determining the number of lines if the keys for the columns are non-numeric. Jan Schenkel. --- Jan Schenkel wrote: > Hi Brad, > > I looked into this a while ago. My solution was: > > 1) If the second dimension is fixed (always NN > elements), you can suffice by saying: > put (the number of lines of the keys of tArray / > NN) > > 2) If however NN is variable, you can get it with > the > following trick: > put the keys of tArray into tKeys > split tKeys using return and comma > put the number of lines of the keys of tKeys > > I know it looks convoluted, but it works, even if > the > second dimension varies. > > Hope this helped, > > Jan Schenkel. > > (You can find the entire thread at the URL: > http://lists.runrev.com/pipermail/use-revolution/2002-August/006786.html > ) > > > --- Brad Allen wrote: > > After looking around in the documentation, I > haven't > > been able to > > find a simple function to determine the number of > > keys for a given > > array dimension. Do I need to parse the output of > > the keys function > > for this, or have I overlooked something in the > > documentation? > > > > I was hoping the number function might do it, as > in > > > > the number of keys in myArray > > > > The expected output would be something like > > [100,50], to indicate the > > dimensions of the array. > > > > The "number of lines in the keys of myArray" only > > works for > > one-dimensional arrays. > > > > Thanks... > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From BradAllen at mac.com Sat Sep 21 18:09:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Sat Sep 21 18:09:01 2002 Subject: determining array lengths In-Reply-To: References: Message-ID: > > After looking around in the documentation, I haven't >> been able to find a simple function to determine the >> number of keys for a given array dimension. Do I need >> to parse the output of the keys function for this, or >> have I overlooked something in the documentation? > >See the extents function. Aha. Thank you. I had misunderstood the wording of this function in the Transcript dictionary. The part that threw me off was this part of the at the end of the entry under Extents: "Each line contains two numbers separated by commas. The first item is the smallest number of an element in that dimension, and the second item is the largest number." Is this misleading, or am I just misunderstanding this text? My reading of this is that Extents provides the lowest and highest values in the Elements of an array (sort of like the min and max functions), not the index keys. But in reality, as I'm glad to learn, the Extents function provides the lowest and highest values of the index keys in an array dimension. From BradAllen at mac.com Sat Sep 21 18:09:21 2002 From: BradAllen at mac.com (Brad Allen) Date: Sat Sep 21 18:09:21 2002 Subject: determining array lengths In-Reply-To: <20020921215343.7192.qmail@web11907.mail.yahoo.com> References: <20020921215343.7192.qmail@web11907.mail.yahoo.com> Message-ID: >My apologies, Brad. I only realised afterwards that my >answer was off by the length of a small >football-field. >Richard is right: have a look at the extents function. >My solution does work for determining the number of >lines if the keys for the columns are non-numeric. Thanks. That may prove useful later. From gcanyon at inspiredlogic.com Sat Sep 21 18:15:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Sep 21 18:15:01 2002 Subject: Relative paths for external audio and video files? In-Reply-To: References: Message-ID: >Dear Jerry, > >I was just about to post this exact question myself, so I would be grateful >if you could let me know of any solution you find on this! I've used Import >as Control myself, but you're right - it's not ideal for larger files and in >any case it doesn't seem to transport across platforms, which is what I want >to do (I'm developing on a mac but want to burn on cd to use on windows). > >Robin >> >> I am a new user of Revolution. I noticed that both Videos and Images are not >> embedded and need to connect with external files. This is easy when I'm >> building, the images and videos are right there on my hard drive. But when I >> build to CD I need relative paths so that the images and videos I burned to >> disc will play in anyones CD drive regardless of the Drive letter. How do >> you create/insert relative paths in Revolution? >> >> I am resending this for publication in full on the list. I was advised by a >> kind gentleman on the users mail list that Import as Control would work. >> Well, Yes and No. I was able to import as control images, text and snapshot >> but not video or audio files. Is there a secret to this? Video files work >> great from the toolbar. Then there is the question of whether you would >> want embedded video files sized 387mb as anything but external files. I am >> running Rev version 1.1.1 on a PC running Windows 98SE. >> >> Thanks for your reply > >-- >Dr Robin Banerjee >robinb at cogs.susx.ac.uk > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution You can import referenced controls, but you need to make sure you end up with relative paths to ensure that the application will be able to find the media after you build a standalone. I do this by simply storing media in folders in the same folder as the Revolution application. Others want their media to be in the same folder as the stack file, so they have to do a little work at startup to create the right path. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From BradAllen at mac.com Sat Sep 21 18:30:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Sat Sep 21 18:30:01 2002 Subject: matrixMultiply In-Reply-To: <20020921212131.44507.qmail@web11903.mail.yahoo.com> References: <20020921212131.44507.qmail@web11903.mail.yahoo.com> Message-ID: >If I remember correctly from my Linear Algebra >classes, in order to multiply two arrays, their >dimensions have to be such that the first dimension of >the second array equals the second dimension of the >first array, so they should be of the sort: > Array1 [m x n] and Array2 [n x p] >which means that, in this case, as it's not a square >array, it can't multiply it with itself. >Try again wih a square array. Thanks! Now it all makes sense and works the way it should. Another question about matrixMultiply in Rev: According to the entry in the Transcript dictionary for the operator "*", we should be able to multiply matrices by using the * operator instead of the matrixMultiply() function. I'm trying it with a 4 x 4 array, so it should work, but using the * operator yields different results from matrix multiply. Here's the example I'm using. The following text is read into a 4 x 4 array variable with numeric keys, named outputArray 1 0 1 1 1 1 0 0 1 0 1 0 0 1 1 0 Next, I want to multiply this array by itself: put outputArray * outputArray into productArray or put matrixMultiply(outputArray,outputArray) into productArray The first example, using * yields an incorrect answer: 1 0 1 1 1 1 0 0 1 0 1 0 0 1 1 0 The second, using matrixMultiply yields the correct answer: 2 1 3 1 2 1 1 1 2 0 2 1 2 1 1 0 So, why didn't the * operator produce the correct answer? It did work, for the simpler case of multiplying a number times a matrix, but not for a matrix times a matrix. From jeanne at runrev.com Sat Sep 21 18:36:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Sep 21 18:36:01 2002 Subject: (no subject) In-Reply-To: Message-ID: At 12:15 PM -0700 9/20/2002, Jerry Thomas wrote: >Are additional pattern backgrounds avaiable for Revolution? There are >backgrounds available in the color pallete but they are from the days when >16/256 color was all that was available. I'm looking for something kinder >and gentler -- Clouds, a pale off white soft texture, something easier on >the eyes and brain. >Any suggestions, And if I can get something else, how do I get it into >Revolution. I have some great tiled bitmaps that work well in other >programs. Nothing built in, but you should be able to find something suitable on a clip-art CD, I'd think. Once you have a file with the pattern you want to use, just import it into a stack. Revolution can use any image in any loaded stack as a tiled background pattern - just set the backgroundPattern of the object to the ID of the image. (You can import it into the stack where you want to use it, then hide the image so it's not in the way. Or you can create a substack and place any images you use in the substack for easier access. The substack is always available whenever the main stack is open, even if the substack window isn't open, so such an image can always be used.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Sep 21 18:36:12 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Sep 21 18:36:12 2002 Subject: matrixMultiply In-Reply-To: References: Message-ID: At 12:31 PM -0700 9/21/2002, Brad Allen wrote: >I'm also having some difficulty with this function. Here is the error >message I receive when I try to use it on a two-dimensional >numerically keyed array containing only integer elements: > >Message execution error: >Error description: matrixMultiply: can't multiply these arrays > > > >Here is the text I'm putting into my function" > >1 0 1 1 >1 1 0 0 >1 0 3 0 The problem is that this array can't be multiplied by itself - its dimensions aren't equal - and that's what you're trying to do. Quoting myself: "The number of rows in the firstArray must be the same as the number of columns in the secondArray, and the number of rows in the secondArray must match the number of columns in the firstArray. However, the number of rows in the firstArray and secondArray need not be the same." For example, you can multiply these two arrays: 1 0 3 4 5 2 4 9 9 3 6 9 because one is 3x2 and the other is 2x3. But above, you're trying to multiply a 4x3 array by another 4x3 array, which means both dimensions are mismatched. Hence the error. You could create another array, 3x4, to multiply by this one; or you could multiply a square array (3x3 or 4x4) by itself. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Sep 21 18:36:25 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Sep 21 18:36:25 2002 Subject: Stacks delivered via the web? In-Reply-To: References: Message-ID: At 1:43 PM -0700 9/16/2002, Chipp Walters wrote: >Am I correct in surmising that once downloaded from the web, if you issue a >Save stack, it won't save the stack back up to the web because it's in the >local cache...Where does it get saved? As Scott says, you can do a Save As on such a stack. Once it's downloaded, it's loaded into memory, but not on disk. Essentially, it behaves as a new (unsaved) stack until you explicitly save it somewhere. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Sep 21 18:51:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Sep 21 18:51:01 2002 Subject: matrixMultiply In-Reply-To: References: <20020921212131.44507.qmail@web11903.mail.yahoo.com> <20020921212131.44507.qmail@web11903.mail.yahoo.com> Message-ID: At 4:23 PM -0700 9/21/2002, Brad Allen wrote: >Another question about matrixMultiply in Rev: According to the entry >in the Transcript dictionary for the operator "*", we should be able >to multiply matrices by using the * operator instead of the >matrixMultiply() function. I'm trying it with a 4 x 4 array, so it >should work, but using the * operator yields different results from >matrix multiply. Yes, that's correct. The matrixMultiply function performs a matrix multiplication; the * operator, if the two operands are matrixes, simply multiplies each element of one array by the correponding element in the second array. "If an array is multiplied by an array, both arrays must have the same number of elements and the same dimension, and each element in one array is multiplied by the corresponding element of the other array." -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From chipp at chipp.com Sat Sep 21 19:39:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Sat Sep 21 19:39:01 2002 Subject: resizing images In-Reply-To: <000e01c26183$19196560$2fb04a18@nc.rr.com> Message-ID: To my knowledge, it's currently not possible to do a 'bilinear interpolation' resize for an image. Of course, it is possible to perform program this function using imagedata, but besides being difficult, it would probably be *very* slow. -Chipp > > I've written some scripts that resize images (to thumbnails), but > when I do > that the images look a bit choppy. Is there an antialiasing > routine or some > sort of function that I'm missing that would make this work better? > From gcanyon at inspiredlogic.com Sat Sep 21 19:39:26 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Sep 21 19:39:26 2002 Subject: determining array lengths In-Reply-To: References: Message-ID: At 2:11 PM -0500 9/21/02, Brad Allen wrote: >After looking around in the documentation, I haven't been able to find a simple function to determine the number of keys for a given array dimension. Do I need to parse the output of the keys function for this, or have I overlooked something in the documentation? > >I was hoping the number function might do it, as in > > the number of keys in myArray > >The expected output would be something like [100,50], to indicate the dimensions of the array. > >The "number of lines in the keys of myArray" only works for one-dimensional arrays. > >Thanks... Revolution arrays are associative, so they aren't quite multi-dimensional. That said, you can use the filter command to get a count of just the elements of the array you want. Details at: -- regards, Geoff Canyon gcanyon at inspiredlogic.com From gcanyon at inspiredlogic.com Sat Sep 21 19:44:00 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Sep 21 19:44:00 2002 Subject: matrixMultiply In-Reply-To: References: Message-ID: At 2:31 PM -0500 9/21/02, Brad Allen wrote: >Here is the text I'm putting into my function" > >1 0 1 1 >1 1 0 0 >1 0 3 0 > >Here is the function I'm using (it's purpose is just to explore how to put data into a matrix, do matrix multiplication, and display the output): > > >function testMatrix inputText > put the number of lines in inputText into rowLength > put the number of words in line 1 of inputText into columnLength > repeat with c = 1 to columnLength > repeat with r = 1 to rowLength > put the value of (word c of line r of inputText) into outputArray[r,c] > end repeat > end repeat > put matrixMultiply(outputArray,outputArray) into productArray -- here is where I get the error The number of rows in the first array must be the same as the number of columns in the second array. Since you're multiplying the array by itself, and it isn't square, this won't work. Details from the documentation are available here: -- regards, Geoff Canyon gcanyon at inspiredlogic.com From gcanyon at inspiredlogic.com Sat Sep 21 20:29:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Sep 21 20:29:01 2002 Subject: determining array lengths In-Reply-To: References: Message-ID: At 5:32 PM -0700 9/21/02, Geoff Canyon wrote: >Revolution arrays are associative, so they aren't quite multi-dimensional. That said, you can use the filter command to get a count of just the elements of the array you want. Details at: > > At 2:43 PM -0700 9/21/02, Richard Gaskin wrote: >See the extents function. You know, if they'd just stop adding new features... ;-) Everyone who might have paid attention to my post, listen to Richard. I've updated the referenced page to refer to the extents function. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From BradAllen at mac.com Sat Sep 21 21:53:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Sat Sep 21 21:53:01 2002 Subject: matrixMultiply In-Reply-To: References: <20020921212131.44507.qmail@web11903.mail.yahoo.com> <20020921212131.44507.qmail@web11903.mail.yahoo.com> Message-ID: At 4:44 PM -0700 9/21/02, Jeanne A. E. DeVoto wrote: >Yes, that's correct. The matrixMultiply function performs a matrix >multiplication; the * operator, if the two operands are matrixes, simply >multiplies each element of one array by the correponding element in the >second array. > >"If an array is multiplied by an array, both arrays must have the same >number of elements and the same dimension, and each element in one array is >multiplied by the corresponding element of the other array." Oops, sorry. I didn't read closely enough. From jeanne at runrev.com Sat Sep 21 22:13:00 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Sep 21 22:13:00 2002 Subject: Question about backgrounds In-Reply-To: Message-ID: At 2:54 PM -0700 9/20/2002, ncouch wrote: >In Hypercard I was used to being able to manipulate backgrounds at will and >have it applied to all other cards automatically. In Revolution I find that >if I modify the background then the other cards with the same background >lose the background (and all data thereon) altogether. I have looked >through the help and tutorials with little insight on how to accomplish >this. The only time that should happen is if you ungroup the group you're working with (which makes it not a group any more). Is this what you're doing? It's possible to ungroup and re-group without leaving the card, and have the group still appear on the other cards it's supposed to be on. But it's much safer to select the group and then choose Edit Group (from the Object menu, or click Edit on the Toolbar), make changes, then choose Edit Group again to leave the mode. This will prevent having the group disappear from other cards since you never ungroup the objects. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Sep 21 22:13:13 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Sep 21 22:13:13 2002 Subject: determining array lengths In-Reply-To: References: Message-ID: At 3:49 PM -0700 9/21/2002, Brad Allen wrote: >Aha. Thank you. I had misunderstood the wording of this function in >the Transcript dictionary. The part that threw me off was this part >of the at the end of the entry under Extents: I don't think it's incorrect, but I can see how it could be misleading. I'll tweak this wording to (hopefully) avoid that.... -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Sep 21 22:13:26 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Sep 21 22:13:26 2002 Subject: determining array lengths In-Reply-To: References: Message-ID: At 6:22 PM -0700 9/21/2002, Geoff Canyon wrote: >At 2:43 PM -0700 9/21/02, Richard Gaskin wrote: >>See the extents function. > >You know, if they'd just stop adding new features... ;-) I've suggested to Kevin before that everyone just take six months or so at the beach while I update the documentation for the *existing* features.... ;-) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From robinb at cogs.susx.ac.uk Sun Sep 22 02:22:00 2002 From: robinb at cogs.susx.ac.uk (Robin Banerjee) Date: Sun Sep 22 02:22:00 2002 Subject: Relative paths for external audio and video files? In-Reply-To: Message-ID: On 22/9/02 0:09, "Geoff Canyon" wrote: >>> >>> I am a new user of Revolution. I noticed that both Videos and Images are not >>> embedded and need to connect with external files. This is easy when I'm >>> building, the images and videos are right there on my hard drive. But when I >>> build to CD I need relative paths so that the images and videos I burned to >>> disc will play in anyones CD drive regardless of the Drive letter. How do >>> you create/insert relative paths in Revolution? >>> >>> I am resending this for publication in full on the list. I was advised by a >>> kind gentleman on the users mail list that Import as Control would work. >>> Well, Yes and No. I was able to import as control images, text and snapshot >>> but not video or audio files. Is there a secret to this? Video files work >>> great from the toolbar. Then there is the question of whether you would >>> want embedded video files sized 387mb as anything but external files. I am >>> running Rev version 1.1.1 on a PC running Windows 98SE. >>> >>> Thanks for your reply > You can import referenced controls, but you need to make sure you end up with > relative paths to ensure that the application will be able to find the media > after you build a standalone. I do this by simply storing media in folders in > the same folder as the Revolution application. Others want their media to be > in the same folder as the stack file, so they have to do a little work at > startup to create the right path. Sorry - I'm new to this so I know I'm probably missing something here. But when I create the standalone application (e.g., for windows), I get one file -- e.g., test.exe. If I put media files in the same folder as this file, should it work? And how should I specify the path under 'player properties'? Thanks in advance! Robin -- Dr Robin Banerjee Email: robinb at cogs.susx.ac.uk From miscdas at boxfrog.com Sun Sep 22 03:19:01 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Sun Sep 22 03:19:01 2002 Subject: matrixMultiply In-Reply-To: <20020921212131.44507.qmail@web11903.mail.yahoo.com> References: <20020921212131.44507.qmail@web11903.mail.yahoo.com> Message-ID: <20020922081341.67582.qmail@www.boxfrog.com> You are correct, Jan. Also, the Help stack entry for Arrays states this requirement very clearly. miscdas Jan Schenkel writes: > Hi Brad, > > If I remember correctly from my Linear Algebra > classes, in order to multiply two arrays, their > dimensions have to be such that the first dimension of > the second array equals the second dimension of the > first array, so they should be of the sort: > Array1 [m x n] and Array2 [n x p] > which means that, in this case, as it's not a square > array, it can't multiply it with itself. > Try again wih a square array. > > Hope this helped, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > --- Brad Allen wrote: >> I'm also having some difficulty with this function. >> Here is the error >> message I receive when I try to use it on a >> two-dimensional >> numerically keyed array containing only integer >> elements: >> >> Message execution error: >> Error description: matrixMultiply: can't multiply >> these arrays >> >> >> >> Here is the text I'm putting into my function" >> >> 1 0 1 1 >> 1 1 0 0 >> 1 0 3 0 >> >> Here is the function I'm using (it's purpose is just >> to explore how >> to put data into a matrix, do matrix multiplication, >> and display the >> output): >> >> >> function testMatrix inputText >> put the number of lines in inputText into >> rowLength >> put the number of words in line 1 of inputText >> into columnLength >> repeat with c = 1 to columnLength >> repeat with r = 1 to rowLength >> put the value of (word c of line r of >> inputText) into outputArray[r,c] >> end repeat >> end repeat >> put matrixMultiply(outputArray,outputArray) into >> productArray -- >> here is where I get the error >> >> --display the contents of productArray in field >> "array2" >> put empty into field "array2" >> repeat with c = 1 to columnLength >> repeat with r = 1 to rowLength >> put productArray[r,c] & space into word c of >> line r of field "array2" >> end repeat >> end repeat >> return productArray >> end testMatrix >> >> >> Thanks! >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> > http://lists.runrev.com/mailman/listinfo/use-revolution > > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Sun Sep 22 05:12:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Sun Sep 22 05:12:01 2002 Subject: New Image Effects Stack with Blur, Sharpen and others... Message-ID: (from: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm) While playing around with Scott Raney's Convolution Matrix example in his externals tutorial for MetaCard, I decided to create a software only version which can be incorporated into any stack on any platform. While this technique is substantially slower, it does work and demonstrates the power of the imagedata property. Using this stack you can play around with the following image effects: -blur -sharpen -find edges -color emboss -soften -soften (less) -and others Also included in the .zip download is Scott's external.dll (windows only) which demonstrates the same effects, only much faster. Place it in the same folder as MetaCard or the Revolution app. If anyone has compiled the XCMD, please let me know and I'll include it in this download. This stack *should* work correctly on all version of MC and RR, for all platforms. Let me know if you find any problems! -Chipp Walters From bmmeili at swissonline.ch Sun Sep 22 05:29:01 2002 From: bmmeili at swissonline.ch (meili) Date: Sun Sep 22 05:29:01 2002 Subject: relative paths for external media files Message-ID: hi Geoff I tried out your advice "I do this by simply storing media in folders in the same folder as the Revolution application". After I had built a standalone of my application (containing a player), all worked properly: the QT-song I wanted to be played by using the player was played. But as soon as I moved my application-folder out of the Revolution-folder, the player in my application wasn't anymore able to find the song to be played. Could you give me a hint what you mean with "so they have to do a little work at startup to create the right path"? What is this "little work to create the right path"? Thanks Martin From sims at ezpzapps.com Sun Sep 22 05:59:01 2002 From: sims at ezpzapps.com (sims) Date: Sun Sep 22 05:59:01 2002 Subject: New Image Effects Stack with Blur, Sharpen and others... In-Reply-To: References: Message-ID: Very nice! Would be better with a XCMD... [ he said, praying that someone makes an XCMD ]. Sharpen & soften take 64 seconds here with Mac OS 10.1.5 G3 iBook 384 MB RAM. Nice to have this capability! Thank you. sims > >Also included in the .zip download is Scott's external.dll (windows only) >which demonstrates the same effects, only much faster. Place it in the same >folder as MetaCard or the Revolution app. If anyone has compiled the XCMD, >please let me know and I'll include it in this download. This stack *should* >work correctly on all version of MC and RR, for all platforms. Let me know >if you find any problems! ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From mazzapaolo at libero.it Sun Sep 22 07:34:00 2002 From: mazzapaolo at libero.it (paolo mazza) Date: Sun Sep 22 07:34:00 2002 Subject: Blend Images In-Reply-To: <200209211434.KAA05406@www.runrev.com> Message-ID: This script blend two images provided the bigger one is called "imagine1" and it has not a transparent background. The script works but has two problems: - it is slow - it takes an incredible amount of ram Any suggestions to speed this process? Paolo Mazza on MouseUp put the ID of the last image into NNN if there is not image "imagine1" then answer "There is not image imagine1" with "OK" exit to top end if put the MaskData of image "imagine1" into MascheraData0 -- immagine originale put the ImageData of image "imagine1" into ImmagineData0 put the MaskData of image ID NNN into MascheraData2 -- immagine da incollare put the ImageData of image ID NNN into ImmagineData2 put MascheraData0 into MascheraData1 put ImmagineData0 into ImmagineData1 put the width of image "imagine1" into X1 put the height of image "imagine1" into Y1 put the width of image ID NNN into X2 put the height of image ID NNN into Y2 if X2>X1 then exit to top if Y2>Y1 then exit to top put "0" into START put "0" into KY repeat for Y2 put "0" into KX repeat for X2 put KX+1 into KX put KX+(KY*X1) into PAR1 put KX+(KY*X2) into PAR2 if chartonum(char PAR2 of MascheraData2) <> "0" then -- put char PAR2 of MascheraData2 into char PAR1 of MascheraData1 put PAR1*4 into PAR1 put PAR2*4 into PAR2 put char (PAR2-3) to PAR2 of ImmagineData2 into char (PAR1-3) to PAR1 of ImmagineData1 end if end repeat put KY+1 into KY end repeat if the number of chars of MascheraData1 is the number of chars of MascheraData0 and the number of chars of ImmagineData1 is the number of chars of ImmagineData0 then set the MaskData of image "imagine1" to MascheraData1 set the ImageData of image "imagine1" to ImmagineData1 end if beep 1 end MouseUp From scott at tactilemedia.com Sun Sep 22 11:39:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Sun Sep 22 11:39:01 2002 Subject: Blend Images In-Reply-To: Message-ID: Recently, paolo mazza wrote: > This script blend two images provided the bigger one is called "imagine1" > and it has not a transparent background. > The script works but has two problems: > - it is slow > - it takes an incredible amount of ram > Any suggestions to speed this process? I didn't try out your script but if the resulting effect is to blend the opacity of two different images, you can use the blendLevel property. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From mazzapaolo at libero.it Sun Sep 22 12:20:01 2002 From: mazzapaolo at libero.it (paolo mazza) Date: Sun Sep 22 12:20:01 2002 Subject: blend Images In-Reply-To: <200209221601.MAA31694@www.runrev.com> Message-ID: Scott Rossi wrote: I didn't try out your script but if the resulting effect is to blend the opacity of two different images, you can use the blendLevel property. Regards, No. The effect is to get one single image from two images of different size. Ciao, Paolo From jeanne at runrev.com Sun Sep 22 13:12:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Sep 22 13:12:01 2002 Subject: Relative paths for external audio and video files? In-Reply-To: References: Message-ID: At 12:19 AM -0700 9/22/2002, Robin Banerjee wrote: >Sorry - I'm new to this so I know I'm probably missing something here. >But when I create the standalone application (e.g., for windows), I get one >file -- e.g., test.exe. If I put media files in the same folder as this >file, should it work? And how should I specify the path under 'player >properties'? There's some material on this in the docs - look in "About filename and file paths" - but here is the deal, summarized. There are two kinds of paths: absolute (which start at a drive or volume name) and relative (which start at the defaultFolder). You can change the defaultFolder in a script, but unless you've done so during the current session, it's the folder the application is in. (If you're still developing, that's the Rev folder. If you're running a standalone, that's the standalone's folder.) For example, if you put a media file in the same folder as the standalone, its relative path is just the file's name: myfile.mov If you create a subfolder - let's call it "data" - inside the standalone's folder, in order to be tidy, and then put your media file in that folder, its relative path becomes: data/myfile.mov You can use relative paths like these in the Properties palette, or in any Transcript property setting, and they will work the same way as an absolute path does. You need to watch out for two things: 1) If any of your scripts change the defaultFolder property, you must be sure to change it back afterward, or your media files will get lost because the standalone will be looking for them in the defaultFolder. 2) A standalone looks for the files in its own folder, while a stack looks for the file's in Revolution's folder because that's the running application. This means you either need to change your paths when it's time to build the standalone, or else move the data files around to make sure they can be found as stack or standalone. (For example, you could store your "data" folder inside Revolution's folder while developing your stack, then after building your standalone, move it into the standalone's folder.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From chipp at chipp.com Sun Sep 22 13:16:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Sun Sep 22 13:16:00 2002 Subject: Blend Images In-Reply-To: Message-ID: Try putting one image over the other, using blendlevel then import snapshot of the larger one to capture the final image. Should work *much* faster. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of paolo mazza > Sent: Sunday, September 22, 2002 7:44 AM > To: use-revolution at lists.runrev.com > Subject: Blend Images > > > This script blend two images provided the bigger one is called "imagine1" > and it has not a transparent background. > The script works but has two problems: > - it is slow > - it takes an incredible amount of ram > Any suggestions to speed this process? > Paolo Mazza > > on MouseUp > put the ID of the last image into NNN > if there is not image "imagine1" then > answer "There is not image imagine1" with "OK" > exit to top > end if > put the MaskData of image "imagine1" into MascheraData0 -- immagine > originale > put the ImageData of image "imagine1" into ImmagineData0 > put the MaskData of image ID NNN into MascheraData2 -- immagine da > incollare > put the ImageData of image ID NNN into ImmagineData2 > > put MascheraData0 into MascheraData1 > put ImmagineData0 into ImmagineData1 > > put the width of image "imagine1" into X1 > put the height of image "imagine1" into Y1 > put the width of image ID NNN into X2 > put the height of image ID NNN into Y2 > if X2>X1 then exit to top > if Y2>Y1 then exit to top > > > put "0" into START > put "0" into KY > > repeat for Y2 > put "0" into KX > repeat for X2 > put KX+1 into KX > put KX+(KY*X1) into PAR1 > put KX+(KY*X2) into PAR2 > if chartonum(char PAR2 of MascheraData2) <> "0" then > -- put char PAR2 of MascheraData2 into char PAR1 of MascheraData1 > put PAR1*4 into PAR1 > put PAR2*4 into PAR2 > put char (PAR2-3) to PAR2 of ImmagineData2 into char (PAR1-3) to > PAR1 of ImmagineData1 > end if > end repeat > put KY+1 into KY > end repeat > > if the number of chars of MascheraData1 is the number of chars of > MascheraData0 and the number of chars of ImmagineData1 is the number of > chars of ImmagineData0 then > set the MaskData of image "imagine1" to MascheraData1 > set the ImageData of image "imagine1" to ImmagineData1 > end if > > beep 1 > end MouseUp > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Sun Sep 22 13:16:10 2002 From: chipp at chipp.com (Chipp Walters) Date: Sun Sep 22 13:16:10 2002 Subject: New Image Effects Stack with Blur, Sharpen and others... In-Reply-To: Message-ID: Wow! It takes only 5 seconds on my Sony laptop 800Mhz P3. That's more than 5 times faster than the Mac version. I wonder why? Interesting... I believe the XCMD source code already exists in the MetaCard tutorial > > Very nice! Would be better with a XCMD... [ he said, praying that someone > makes an XCMD ]. > > Sharpen & soften take 64 seconds here with Mac OS 10.1.5 > G3 iBook 384 MB RAM. > > Nice to have this capability! > > Thank you. > > sims From ludovic.thebault at laposte.net Sun Sep 22 13:17:01 2002 From: ludovic.thebault at laposte.net (Ludovic Th=?ISO-8859-1?Q?=E9?=bault) Date: Sun Sep 22 13:17:01 2002 Subject: How to reduce a window on MacOS X ? Message-ID: <20020922200942.1DCCAA%00000000@laposte.net> hello, the "iconic" function doesn't works (the stack is without decoration). I want to put a window in the dock by script. Thanks. -- Ludovic THEBAULT (Sorry for my poooor english :-) From jameslewes at comcast.net Sun Sep 22 13:35:01 2002 From: jameslewes at comcast.net (james lewes) Date: Sun Sep 22 13:35:01 2002 Subject: GED data files In-Reply-To: Message-ID: I am building a genealogical application into which I want to import an existing GED file. Any suggestions on how best to do this From jameslewes at comcast.net Sun Sep 22 13:38:01 2002 From: jameslewes at comcast.net (james lewes) Date: Sun Sep 22 13:38:01 2002 Subject: Walk through ODBC Message-ID: How can one set up the ODBC panel on a macintosh. From mazzapaolo at libero.it Sun Sep 22 14:58:01 2002 From: mazzapaolo at libero.it (paolo mazza) Date: Sun Sep 22 14:58:01 2002 Subject: blend Images In-Reply-To: <200209221601.MAA31694@www.runrev.com> Message-ID: This script implements the previous one. Two images, placed one over the other, are joint/blent together in one single image. The smaller image is deleted at the end of the process. The script works but has two problems: - it is slow - it takes an incredible amount of ram Any suggestions to speed the process? Paolo Mazza Please be informed that: The name of the bigger image (on the bottom) must be "imagine1". The bigger image should have not a transparent background. on MouseUp put the ID of the last image into NNN if there is not image "imagine1" then answer "There is not image imagine1" with "OK" exit Mouseup end if put the MaskData of image "imagine1" into MascheraData0 put the ImageData of image "imagine1" into ImmagineData0 put the MaskData of image ID NNN into MascheraData2 put the ImageData of image ID NNN into ImmagineData2 put MascheraData0 into MascheraData1 put ImmagineData0 into ImmagineData1 put the width of image "imagine1" into X1 put the height of image "imagine1" into Y1 put the width of image ID NNN into X2 put the height of image ID NNN into Y2 if X2>X1 then exit to top if Y2>Y1 then exit to top if the right of image "imagine1" < the right of the last image then exit to top if the bottom of image "imagine1" < the bottom of the last image then exit to top put the left of image "imagine1" into ORR1 put the left of the last image into ORR2 put ORR2-ORR1 into ORR if ORR<0 then exit to top put the top of image "imagine1" into VER1 put the top of the last image into VER2 put VER2-VER1 into VER if VER<0 then exit to top put "0" into KY repeat for Y2 put "0" into KX repeat for X2 put KX+1 into KX put ORR+KX+((KY+VER)*X1) into PAR1 put KX+(KY*X2) into PAR2 if chartonum(char PAR2 of MascheraData2) <> "0" then -- put char PAR2 of MascheraData2 into char PAR1 of MascheraData1 put PAR1*4 into PAR1 put PAR2*4 into PAR2 put char (PAR2-3) to PAR2 of ImmagineData2 into char (PAR1-3) to PAR1 of ImmagineData1 end if end repeat put KY+1 into KY end repeat if the number of chars of MascheraData1 is the number of chars of MascheraData0 and the number of chars of ImmagineData1 is the number of chars of ImmagineData0 then set the MaskData of image "imagine1" to MascheraData1 set the ImageData of image "imagine1" to ImmagineData1 end if delete last image beep 1 end MouseUp From Zzyzx at Relia.Net Sun Sep 22 18:36:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Sun Sep 22 18:36:01 2002 Subject: Can't play sounds from HC Stack Message-ID: <001001c26290$06709790$1901000a@drzzyzx> Hello, I have a stack that was made in HyperCard; It contains some sound files. When I open it up in Revolution, Application Overview says the sounds are there, but they wont play at all; no matter what I do. Any ideas? - Josh Dye P.S. I'm on a PC, and don't own a Mac. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gslj at intergate.ca Sun Sep 22 23:26:01 2002 From: gslj at intergate.ca (Gareth Jones) Date: Sun Sep 22 23:26:01 2002 Subject: rename problem Message-ID: Hello, everyone. There may be a very simple solution to this one, but I can't see it. I'm writing a stack to rename music files in a folder. The rest of the script is working as expected, but the rename command is failing to rename. No warnings or error messages. There are three variables that would seem to be important to the command: CurrentSong (e.g. "The Hare's Dream.mp3") NewName (e.g. "Watersons - Unknown Album - The Hare's Dream.mp3") defaultFolder= (e.g. "/Vishnu/Test Music/Watersons/Unknown Album") The three variables contain what I expect them to. The rename command looks like this: rename file CurrentSong to NewName Yet no renaming takes place. Any thoughts? I'm using Mac OS X, if that's any help. -Gareth From Esa.Kivela at ncrc.fi Mon Sep 23 00:44:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Mon Sep 23 00:44:01 2002 Subject: VS: Can't play sounds from HC Stack Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6DE7@ktk7.ad.kuluttajatutkimuskeskus.fi> -----Alkuper?inen viesti----- L?hett?j?: Josh Dye [mailto:Zzyzx at Relia.Net] L?hetetty: 23. syyskuuta 2002 2:30 Vastaanottaja: use-revolution at lists.runrev.com Aihe: Can't play sounds from HC Stack >Hello, Greetings from Finland :-) Im quite newbie too with RR but I think that You have to rip those sounds fron HC stack somehow and resinstall first those sounds to pc like wave (so convert macs snd to ie. wave?) format (or what ever RR reconize)and add again sounds to Your RR stack in pc. >P.S. I'm on a PC, and don't own a Mac. Mee too. I have same problem. EsaK From ttasovac at Princeton.EDU Mon Sep 23 01:35:01 2002 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Mon Sep 23 01:35:01 2002 Subject: File, variable, array, split Message-ID: Hi. I have a text file with a tab delimited list of words and translations, i.e. word1 translation1 word2 translation2 I use the following code to put this file into a variable and then turn it into an array: on openStack global tTranslations put url "file:translations" into tTranslations split tTranslations with cr and tab end openStack Then, I have a field with some text in it. I want the user to click on a word in the text and have the translation displayed in another field, called ?Translation Display? So... on mouseUp global tTranslation select the clickChunk put the clickText into tClickedWord put tTranslations[tClickedWord] into fld "Translation Display" end mouseUp And that should be it. But it?s not. When I click on the word, it gets selected, but no translation appears in the ?Translation Display?. I get no error messages. Any ideas on how I should troubleshoot this? Toma -------------- next part -------------- An HTML attachment was scrubbed... URL: From pixelbird at interisland.net Mon Sep 23 03:17:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Sep 23 03:17:01 2002 Subject: Can't play sounds from HC Stack In-Reply-To: <001001c26290$06709790$1901000a@drzzyzx> Message-ID: on 9/22/02 4:30 PM, Josh Dye at Zzyzx at relia.net wrote: Hello, I have a stack that was made in HyperCard; It contains some sound files. When I open it up in Revolution, Application Overview says the sounds are there, but they wont play at all; no matter what I do. Any ideas? - Josh Dye P.S. I'm on a PC, and don't own a Mac. ---------- Josh -- The sounds normally created in HC are strictly Mac monophonic .snd files, and cannot be played on a PC at all. Your best bet for conversion is probably converting them to QT .mov files with QT Pro and a XCMD on a Mac, then taking them to your Rev stack folder or creating a filepath. You may be able to convert them to .wav or mp3 files on a Mac as well, but I'll bet finding translator/conversion software for converting .snd files on a PC will be difficult if not impossible. HTH, Ken N. -------------- next part -------------- An HTML attachment was scrubbed... URL: From david at dvkconsult.com.au Mon Sep 23 03:28:00 2002 From: david at dvkconsult.com.au (David Vaughan) Date: Mon Sep 23 03:28:00 2002 Subject: File, variable, array, split In-Reply-To: Message-ID: <9FC26768-CECA-11D6-A861-000393598038@dvkconsult.com.au> Toma Your global variable is "tTranslations" in the first handler and "tTranslation" in the second. Add an "s" to the second one and try again. cheers David On Monday, Sep 23, 2002, at 16:28 Australia/Sydney, Toma Tasovac wrote: > Hi. ? > > I have a text file with a tab delimited list of words and > translations, i.e. > > word1 ??translation1 > word2 ??translation2 > > I use the following code to put this file into a variable and then > turn it into an array: > > on openStack > ??global tTranslations > ??put url "file:translations" into tTranslations > ??split tTranslations with cr and tab > end openStack > > > Then, I have a field with some text in it. ?I want the user to click > on a word in the text and have the translation displayed in another > field, called ?Translation Display? ?So... > > on mouseUp > ??global tTranslation > ??select the clickChunk > ??put the clickText into tClickedWord > ??put tTranslations[tClickedWord] into fld "Translation Display" > end mouseUp > > And that should be it. ?But it?s not. ?When I click on the word, it > gets selected, but no translation appears in the ?Translation > Display?. ?I get no error messages. > > Any ideas on how I should troubleshoot this? > > ?Toma -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1261 bytes Desc: not available URL: From yvescoppe at skynet.be Mon Sep 23 07:23:00 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Mon Sep 23 07:23:00 2002 Subject: File, variable, array, split Message-ID: Hi, you could also try with a custom property and no globals : on openstack put url "file:translations" into tTranslations split tTranslations with cr and tab set the customProperties[cTranslations] of this stack to tTranslations end openstack on mouseUp put the value of the clickLine into tClickedWord put the cTranslations[tClickedWord] of this stack into fld "Translation Display" end mouseUp Hope this helps ! -- Greetings. Yves COPPE Email : yvescoppe at skynet.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From brendan at poolcreative.com Mon Sep 23 07:37:01 2002 From: brendan at poolcreative.com (Brendan Bonsack) Date: Mon Sep 23 07:37:01 2002 Subject: FTP troubles Message-ID: <3D8F0145.DC4AAC29@poolcreative.com> Hi List, I'm wondering if anyone can help me with this problem... I have the following script that attempts to send a jpeg via ftp to a server. on mouseUp global tUrl put "ftp://me:mypassword at intranet.myserver.vic.edu.au/img/testfile.jpg" into tUrl answer file with filter "JPEGs,*.jpg" put URL "binfile:/"&it into tUploadData liburlftpupload url tUploadData,url tURL,"seeit" end mouseUp The same file works okay using other FTP apps, but with Revolution, the file arrives at its destination, but is not a valid Jpeg and when opened in a text editor, simply displays the local path as a string. Can anyone see what is going wrong. I have tried various approaches but cannot get it to FTP binary data it seems. Cheers Brendan From klaus.major at metascape.org Mon Sep 23 08:05:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Mon Sep 23 08:05:01 2002 Subject: FTP troubles In-Reply-To: <3D8F0145.DC4AAC29@poolcreative.com> Message-ID: Hi Brendan, i am not sure but try this little change of the script below: > Hi List, > > I'm wondering if anyone can help me with this problem... > > I have the following script that attempts to send a jpeg via ftp to a > server. > > on mouseUp > global tUrl > put > "ftp://me:mypassword at intranet.myserver.vic.edu.au/img/testfile.jpg" > into > tUrl > answer file with filter "JPEGs,*.jpg" > ###put URL "binfile:/"&it into tUploadData put URL("binfile:" & it) into tUploadData ## the engine needs to build the correct string first ## and then resolve the complete string... ## At least it's worth a try ;-) > liburlftpupload url tUploadData,url tURL,"seeit" > end mouseUp > > > The same file works okay using other FTP apps, but with Revolution, the > file arrives at its destination, but is not a valid Jpeg and when > opened > in a text editor, simply displays the local path as a string. Can > anyone > see what is going wrong. I have tried various approaches but cannot get > it to FTP binary data it seems. > > Cheers > > Brendan Regards Klaus Major klaus.major at metascape.org From dcragg at lacscentre.co.uk Mon Sep 23 08:12:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon Sep 23 08:12:01 2002 Subject: FTP troubles In-Reply-To: <3D8F0145.DC4AAC29@poolcreative.com> References: <3D8F0145.DC4AAC29@poolcreative.com> Message-ID: At 9:55 pm +1000 23/9/02, Brendan Bonsack wrote: >I have the following script that attempts to send a jpeg via ftp to a >server. > > >on mouseUp > global tUrl > put >"ftp://me:mypassword at intranet.myserver.vic.edu.au/img/testfile.jpg" into >tUrl > answer file with filter "JPEGs,*.jpg" > put URL "binfile:/"&it into tUploadData > liburlftpupload url tUploadData,url tURL,"seeit" >end mouseUp Try changing the last two lines to these: put URL ("binfile:/" & it) into tUploadData liburlftpupload tUploadData,tURL,"seeit" Cheers Dave From cowhead at mac.com Mon Sep 23 09:12:01 2002 From: cowhead at mac.com (mark mitchell) Date: Mon Sep 23 09:12:01 2002 Subject: can't play sounds from HC stack In-Reply-To: <200209230729.DAA09620@www.runrev.com> Message-ID: EsaK wrote: >> P.S. I'm on a PC, and don't own a Mac. > > Mee too. I have same problem. Well, step 1 is admitting that it IS a problem, so you are already on your way to a cure ;-) Go for the twin gigahtz G4 if you've got the cash, an iMac or eMac if you don't. I suggest converting the sounds to SunAudio if you want to keep them internal, or MP3 if you want to switch to a referenced media file and a player. If you had a Mac (:-)) there are some very good shareware applications for doing the sound conversion. With soundApp, you can just drop the hypercard stack on it , and it will automatically convert all the audio files contained within to the format of your choice. SunAudio is compatible with windows and Mac, so its a good choice. After you have converted all the sounds, use the "import all audio files in folder" menu to put them all back in. If you cannot find a decent audioconverter for windows and its just a one-shot deal, I can easily do the conversion for you if you send me the stack. If you are going to be doing a lot of this, of course you need to get your own fishing pole. mark mitchell Japan From ttasovac at Princeton.EDU Mon Sep 23 09:36:01 2002 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Mon Sep 23 09:36:01 2002 Subject: File, variable, array, split In-Reply-To: <9FC26768-CECA-11D6-A861-000393598038@dvkconsult.com.au> Message-ID: How painful to admit, but yes, that was it!!!! Many thanks, From kray at sonsothunder.com Mon Sep 23 09:39:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 23 09:39:01 2002 Subject: rename problem References: Message-ID: <002c01c2630d$88f0c3c0$6f00a8c0@mckinley.dom> Gareth, There might be a file name length limitation. Try temporarily changing the NewName to something short ("Watersons") and see if it works. If it does, you know it's a length limitation; if it doesn't, you could try checking to make sure the path exists before doing the rename, as in: if there is a file NewName then -- (do your stuff here) else answer "File not found." end if Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Gareth Jones" To: Sent: Sunday, September 22, 2002 11:19 PM Subject: rename problem > Hello, everyone. > > There may be a very simple solution to this one, but I can't see it. > > I'm writing a stack to rename music files in a folder. The rest of > the script is working as expected, but the rename command is failing > to rename. No warnings or error messages. > > There are three variables that would seem to be important to the command: > > CurrentSong (e.g. "The Hare's Dream.mp3") > NewName (e.g. "Watersons - Unknown Album - The Hare's Dream.mp3") > defaultFolder= (e.g. "/Vishnu/Test Music/Watersons/Unknown Album") > > The three variables contain what I expect them to. > > The rename command looks like this: > > rename file CurrentSong to NewName > > Yet no renaming takes place. Any thoughts? I'm using Mac OS X, if > that's any help. > > -Gareth > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ttasovac at Princeton.EDU Mon Sep 23 09:51:01 2002 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Mon Sep 23 09:51:01 2002 Subject: File, variable, array, split In-Reply-To: <9FC26768-CECA-11D6-A861-000393598038@dvkconsult.com.au> Message-ID: I have one more question though: When I build a standalone application with my current setup, I still need the translation text file external to the application. Is there a way to make it reside inside the application, invisible to the user? Toma On 23.09.2002 04:01, "David Vaughan" wrote: > Toma > > Your global variable is "tTranslations" in the first handler and > "tTranslation" in the second. Add an "s" to the second one and try > again. > > cheers > David > > On Monday, Sep 23, 2002, at 16:28 Australia/Sydney, Toma Tasovac wrote: > >> Hi. ? >> >> I have a text file with a tab delimited list of words and >> translations, i.e. >> >> word1 ??translation1 >> word2 ??translation2 >> >> I use the following code to put this file into a variable and then >> turn it into an array: >> >> on openStack >> ??global tTranslations >> ??put url "file:translations" into tTranslations >> ??split tTranslations with cr and tab >> end openStack >> >> >> Then, I have a field with some text in it. ?I want the user to click >> on a word in the text and have the translation displayed in another >> field, called ?Translation Display? ?So... >> >> on mouseUp >> ??global tTranslation >> ??select the clickChunk >> ??put the clickText into tClickedWord >> ??put tTranslations[tClickedWord] into fld "Translation Display" >> end mouseUp >> >> And that should be it. ?But it?s not. ?When I click on the word, it >> gets selected, but no translation appears in the ?Translation >> Display?. ?I get no error messages. >> >> Any ideas on how I should troubleshoot this? >> >> ?Toma > _____________________________________ Toma Tasovac Princeton University Department of Comparative Literature 318 East Pyne Princeton, NJ 08544 ttasovac at princeton.edu ttasovac at post.harvard.edu From klaus.major at metascape.org Mon Sep 23 10:13:00 2002 From: klaus.major at metascape.org (Klaus Major) Date: Mon Sep 23 10:13:00 2002 Subject: File, variable, array, split In-Reply-To: Message-ID: Hi Toma, > I have one more question though: > > When I build a standalone application with my current setup, I still > need > the translation text file external to the application. Is there a way > to > make it reside inside the application, invisible to the user? > > Toma you can import that file into a (hidden) field ;-) Or store it into some customproperty... Hope that helps... Regards Klaus Major klaus.major at metascape.org From yvescoppe at skynet.be Mon Sep 23 10:27:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Mon Sep 23 10:27:01 2002 Subject: File, variable, array, split In-Reply-To: References: Message-ID: >I have one more question though: > >When I build a standalone application with my current setup, I still need >the translation text file external to the application. Is there a way to >make it reside inside the application, invisible to the user? > >Toma > Think at my solution : use a custom property. Cheers. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From ttasovac at Princeton.EDU Mon Sep 23 11:24:01 2002 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Mon Sep 23 11:24:01 2002 Subject: File, variable, array, split In-Reply-To: Message-ID: Definitely, will try that. Many thanks for the suggestion. On 23.09.2002 11:22, "yves COPPE" wrote: >> I have one more question though: >> >> When I build a standalone application with my current setup, I still need >> the translation text file external to the application. Is there a way to >> make it reside inside the application, invisible to the user? >> >> Toma >> > > > Think at my solution : use a custom property. > > Cheers. _____________________________________ Toma Tasovac Princeton University Department of Comparative Literature 318 East Pyne Princeton, NJ 08544 ttasovac at princeton.edu ttasovac at post.harvard.edu From miscdas at boxfrog.com Mon Sep 23 11:38:01 2002 From: miscdas at boxfrog.com (miscdas at boxfrog.com) Date: Mon Sep 23 11:38:01 2002 Subject: rename problem In-Reply-To: References: Message-ID: <20020923163254.91473.qmail@www.boxfrog.com> Gareth Jones writes: > Hello, everyone. > > There may be a very simple solution to this one, but I can't see it. > > I'm writing a stack to rename music files in a folder. The rest of the > script is working as expected, but the rename command is failing to > rename. No warnings or error messages. > > There are three variables that would seem to be important to the command: > > CurrentSong (e.g. "The Hare's Dream.mp3") > NewName (e.g. "Watersons - Unknown Album - The Hare's Dream.mp3") > defaultFolder= (e.g. "/Vishnu/Test Music/Watersons/Unknown Album") > > The three variables contain what I expect them to. > > The rename command looks like this: > > rename file CurrentSong to NewName > > Yet no renaming takes place. Any thoughts? I'm using Mac OS X, if that's > any help. > > -Gareth I'm using WIN98, MetaCard 2.4.3 build 3 This works for me (removed "file" from your script): rename CurrentSong to NewName I also noted in the Help stack the following: "MacOS and Win32 systems do not support moving files or directories to other directories." Maybe MetaCard was updated and the Help stack wasn't? I tried moving a file to another directory and it worked fine. rename "C:\file1.txt" to "C:\A1\file1.txt" I renamed a folder and this also worked fine. rename "C:\A1" to "C:\B1" In addition, I moved a folder to another directory without a problem. rename "C:\A1" to "C:\B1\A1" miscdas From gcanyon at inspiredlogic.com Mon Sep 23 12:35:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon Sep 23 12:35:01 2002 Subject: File, variable, array, split In-Reply-To: References: Message-ID: At 10:33 AM -0400 9/23/02, Toma Tasovac wrote: >I have one more question though: > >When I build a standalone application with my current setup, I still need >the translation text file external to the application. Is there a way to >make it reside inside the application, invisible to the user? > >Toma As others have mentioned, you can import the file either into a field or a custom property. There is one caveat to that, probably a small one, but it's good to be aware: if you store the data within your app, then you're paying the price in memory used by that data twice: once to store the information, the other for the array you build from it. It's not likely to be a big deal, as I said. If for some reason it were, chances are good that you could rewrite your code to use a custom property directly (properties are faster than fields). But for now you should be fine just using a custom property and turning it into an array. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From zelston at aol.com Mon Sep 23 13:15:01 2002 From: zelston at aol.com (Zac Elston) Date: Mon Sep 23 13:15:01 2002 Subject: can't play sounds from HC stack References: <200209231601.MAA19047@www.runrev.com> Message-ID: <3D8F58AA.2090102@aol.com> >>If you cannot find a decent audioconverter for windows and its just a >>one-shot deal, I can easily do the conversion for you if you send me >>the >>stack. If you are going to be doing a lot of this, of course you need >>to get your own fishing pole. I had this problem too with mac and PC audio. I found GOLDWAVE (windows shareware) to do everything I needed for ANY platform. File>batch conversion, select source, select target mode, go. http://www.goldwave.com -zac From zelston at aol.com Mon Sep 23 13:24:01 2002 From: zelston at aol.com (Zac Elston) Date: Mon Sep 23 13:24:01 2002 Subject: rename problem References: <200209231601.MAA19047@www.runrev.com> Message-ID: <3D8F5AB5.9060507@aol.com> >The rename command looks like this: > > rename file CurrentSong to NewName print the command and see if the names are quoted or have spaces escaped. if not you will need to make the escape the names in the manner the OS requires, ala touch "test file" 0 Sep 23 14:14 test file mv "test file" new\ file 0 Sep 23 14:14 new file From dan at clearvisiontech.com Mon Sep 23 13:47:01 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon Sep 23 13:47:01 2002 Subject: Printer Name Message-ID: Dear Rev Community, Does anyone know what Revolution uses to find a networked printer -- the printer's name or IP address? Here's what was reported: ------------------------------------------------------------------ Can you confirm that the printing function in [my REV standalone] works off the naming convention? We've been having trouble printing to a network printer when the same printer has different names. For example, if the Phaser in the library has been named "Phaser 850" and the same printer has been installed on another machine as "Computer Lab Printer" it won't print from [my REV standalone]. The connection is good, however, because it will print other documents from other applications. ------------------------------------------------------------------ I am simply using "print this card". Thanks! -Dan From degbert at mac.com Mon Sep 23 15:49:01 2002 From: degbert at mac.com (David Egbert) Date: Mon Sep 23 15:49:01 2002 Subject: Tabbed Buttons, Background, and New Cards... Message-ID: I'm seeing rather strange behavior when calling "New Card" from a stack script. When the new card is created it adds about 20 pixels of height to my card and pushes the tabbed buttons I have at the top down about 20 pixels. Has anyone seen this kind of behavior? Any ideas on how to fix it? Thanks. -- David Egbert From dvk at dvkconsult.com.au Mon Sep 23 16:02:01 2002 From: dvk at dvkconsult.com.au (David Vaughan) Date: Mon Sep 23 16:02:01 2002 Subject: File, variable, array, split In-Reply-To: Message-ID: On Tuesday, Sep 24, 2002, at 03:21 Australia/Sydney, Geoff Canyon wrote: > At 10:33 AM -0400 9/23/02, Toma Tasovac wrote: >> I have one more question though: >> >> When I build a standalone application with my current setup, I still >> need >> the translation text file external to the application. Is there a >> way to >> make it reside inside the application, invisible to the user? >> >> Toma > > As others have mentioned, you can import the file either into a field > or a custom property. There is one caveat to that, probably a small > one, but it's good to be aware: if you store the data within your app, > then you're paying the price in memory used by that data twice: once > to store the information, the other for the array you build from it. > > It's not likely to be a big deal, as I said. If for some reason it > were, chances are good that you could rewrite your code to use a > custom property directly (properties are faster than fields). ...and you can do it all. Custom properties can be arrays. Read in your data and make the array in which you store it a custom property. Et Voil? ... stored once, still using array logic and still there when you next open it, or distribute it. regards David. > > But for now you should be fine just using a custom property and > turning it into an array. > -- > > regards, > > Geoff Canyon > gcanyon at inspiredlogic.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Mon Sep 23 16:33:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 23 16:33:01 2002 Subject: Tabbed Buttons, Background, and New Cards... In-Reply-To: Message-ID: David Egbert wrote: > I'm seeing rather strange behavior when calling "New Card" from a stack > script. > > When the new card is created it adds about 20 pixels of height to my card > and pushes the tabbed buttons I have at the top down about 20 pixels. > > Has anyone seen this kind of behavior? > > Any ideas on how to fix it? Does your first card contain a 20-pixel-tall menu group? -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From degbert at mac.com Mon Sep 23 18:51:01 2002 From: degbert at mac.com (David Egbert) Date: Mon Sep 23 18:51:01 2002 Subject: Tabbed Buttons, Background, and New Cards... In-Reply-To: Message-ID: >> When the new card is created it adds about 20 pixels of height to my card >> and pushes the tabbed buttons I have at the top down about 20 pixels. >> >> Has anyone seen this kind of behavior? >> >> Any ideas on how to fix it? > > Does your first card contain a 20-pixel-tall menu group? Why yes it does. I've checked the background behavior check box for the group and things seem to be behaving properly now. Thanks for the tip! Is there something else I'm missing? Thanks again. -- David Egbert From Zzyzx at Relia.Net Mon Sep 23 19:34:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Mon Sep 23 19:34:01 2002 Subject: can't play sounds from HC stack References: <200209231601.MAA19047@www.runrev.com> <3D8F58AA.2090102@aol.com> Message-ID: <001601c26361$346f92a0$0201000a@drzzyzx> Thanks a lot Mark and Zac. GoldWave worked puretty good. It had all the sounds Raw, so they werent seperated or anything, but I can edit them to be seperated. I actually have a Mac, but it is a Emulated Mac. It works jsut like a real Mac, but it isn't PowerPC. I might have you help me out on a file sometime Mark. Thanks again. - Josh Dye ----- Original Message ----- From: "Zac Elston" To: Sent: Monday, September 23, 2002 12:08 PM Subject: Re:can't play sounds from HC stack > >>If you cannot find a decent audioconverter for windows and its just a > >>one-shot deal, I can easily do the conversion for you if you send me > >>the > >>stack. If you are going to be doing a lot of this, of course you need > >>to get your own fishing pole. > > > > I had this problem too with mac and PC audio. I found GOLDWAVE (windows > shareware) to do everything I needed for ANY platform. > > File>batch conversion, select source, select target mode, go. > > http://www.goldwave.com > > -zac > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Mon Sep 23 20:45:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Sep 23 20:45:01 2002 Subject: Tabbed Buttons, Background, and New Cards... In-Reply-To: Message-ID: David Egbert wrote: >>> When the new card is created it adds about 20 pixels of height to my card >>> and pushes the tabbed buttons I have at the top down about 20 pixels. >>> >>> Has anyone seen this kind of behavior? >>> >>> Any ideas on how to fix it? >> >> Does your first card contain a 20-pixel-tall menu group? > > Why yes it does. I've checked the background behavior check box for the > group and things seem to be behaving properly now. Thanks for the tip! Is > there something else I'm missing? Sounds like you got it. And of course the list is here 24/7 if anything else crops up. :) -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From kkaufman at snet.net Mon Sep 23 21:05:00 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon Sep 23 21:05:00 2002 Subject: (OT) custom application icons for Mac OS X Message-ID: <35ECB41C-CF61-11D6-BC61-00039348A1E6@snet.net> (I have read some recent posts concerning Mac OS X icons, but this precise issue doesn't seem to have come up) I am able to paste an image from the clipboard onto a RunRev application via the app's Get Info window. I understand that this works since RunRev apps are single files with resource forks, rather than "packages". Is the custom icon information kept with the app itself and would it still appear on the desktop of someone else's computer (assuming transfer as a sit.hqx archive, or using some other method that retained the data fork info.)? Thank you, Kurt From kkaufman at snet.net Mon Sep 23 21:28:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon Sep 23 21:28:01 2002 Subject: (OT) custom application icons for Mac OS X Message-ID: <85BE9641-CF64-11D6-98F6-00039348A1E6@snet.net> After pressing the "Send" button, Kurt Kaufman read: "...Is the custom icon information kept with the app itself and would it still appear on the desktop of someone else's computer (assuming transfer as a sit.hqx archive, or using some other method that retained the data fork info.)?..." Uh, make that "resource fork". -KK From jperryl at ecs.fullerton.edu Mon Sep 23 21:47:00 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Sep 23 21:47:00 2002 Subject: It's Elementary -- Rev Keeps Crashing! In-Reply-To: Message-ID: Okay, I'm trying to maintain a sense of humor. Rev has crashed on me SIX TIMES during the last 90 minutes. What am I trying to do? One card in one stack. Three fields: N1, N2, Answer. Four buttons: Addition!, Subtraction!, Multiplication!, Check Answer. The first three buttons generate random(9) for the first two fields and puts the answer, whatever it is, in a global variable theAnswer. The "Check Answer" button then checks to see whether the user has entered the appropriate number in the third field. Everything seems to work for a while and then just inexplicably crashes. No moved picture/movie/sound files, just pfffffffft! buh-bye. Any ideas why? Mac OS 10.2 (Jaguar) on a TiBook which should have plenty enough RAM for elementary math. Judy From webmaster at listology.com Mon Sep 23 22:12:01 2002 From: webmaster at listology.com (Jim Biancolo) Date: Mon Sep 23 22:12:01 2002 Subject: Looping Over Groups? In-Reply-To: References: <5.1.0.14.2.20020918180427.00ac8298@mail.qrc.com> Message-ID: <5.1.0.14.2.20020923230104.02993fb0@mail.berkshire.net> Hi folks, I've run into an additional problem here, and I hope you can help . . . I've created a group of 14 images. As advised, I loop over them like so: repeat with i = 1 to the number of images in group "players_group" answer the name of image i end repeat Works great. When I click on the "Object --> Edit Group" menu, all 14 show up as expected. However, when I add another image to the card (but not to the group) and run the same code, the new image is included in the loop (even though it's NOT in the group), and the last image in the group is not (even though it should be). When I click on the "Object --> Edit Group" command my original 14 images are there and the new image is not, which is what I'd expect. It's the looping behavior that is not what I'd expect. It seems (just guessing though) to be pulling the image at positions 1 through 14 regardless of whether or not they are in the group. Am I doing something wrong, or is there another approach I should be taking? Thanks! Jim At 03:42 PM 9/18/2002 -0700, you wrote: >At 3:09 PM -0700 9/18/2002, Jim Biancolo wrote: > >Is there a way to loop over the images in a group? I tried these: > > > > repeat for each image I in group "my_group" > > repeat for each item I in group "my_group" > > repeat for each object O in group "players_group" > > > >All failed to compile. Then I hit on: > > > > repeat for each element E in group "players_group" > > > >It compiled, but then when I tried to run it I got this error: > > > > Error description: Chunk: source is not a container > > > >I fear I'm missing something obvious. Any advice? > >I think people have been so enthusiastic about advising the efficient >"repeat for each" form that the other forms have gotten a little eclipsed. >;-) > >The "repeat for each" form can be used to iterate over chunks in a string - >characters, words, lines, items - or over each element in an array, but it >can't be used to iterate over objects. The first and third variations you >tried wouldn't compile because "repeat for each image" and "repeat for each >object" aren't valid forms of the repeat loop. The second one, "repeat for >each item", is valid... but in this context, an "item" is a part of a >string, not an object, so this doesn't work either. And the fourth, while a >valid form, requires an array, not a group reference. > >Here's a form that will work: > > repeat with x = 1 to the number of images in group "my_group" > answer the name of image x -- or whatever > end repeat > >-- >Jeanne A. E. DeVoto ~ jeanne at runrev.com >Runtime Revolution Limited - The Solution for Software Development >http://www.runrev.com/ > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From monte at sweattechnologies.com Mon Sep 23 23:00:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Sep 23 23:00:01 2002 Subject: opening files on OS X Message-ID: Hi All Can anyone tell me how to open a file on Mac platforms. I'm getting no response from do ("open location ""e&myFileLoc"e) as AppleScript. There must be some way to simulate clicking on a file???? Thanks in advance Monte From kray at sonsothunder.com Mon Sep 23 23:09:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Sep 23 23:09:01 2002 Subject: Looping Over Groups? References: <5.1.0.14.2.20020918180427.00ac8298@mail.qrc.com> <5.1.0.14.2.20020923230104.02993fb0@mail.berkshire.net> Message-ID: <00be01c2637e$bd7d9bb0$6f00a8c0@mckinley.dom> Jim, Try this for your second line: answer the name of image i in group "players_group" The problem is that the number of the images change when you add an image to the card. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Jim Biancolo" To: Sent: Monday, September 23, 2002 10:05 PM Subject: Re: Looping Over Groups? > Hi folks, > > I've run into an additional problem here, and I hope you can help . . . > > I've created a group of 14 images. As advised, I loop over them like so: > > repeat with i = 1 to the number of images in group "players_group" > answer the name of image i > end repeat > > Works great. When I click on the "Object --> Edit Group" menu, all 14 show > up as expected. > > However, when I add another image to the card (but not to the group) and > run the same code, the new image is included in the loop (even though it's > NOT in the group), and the last image in the group is not (even though it > should be). When I click on the "Object --> Edit Group" command my > original 14 images are there and the new image is not, which is what I'd > expect. It's the looping behavior that is not what I'd expect. It seems > (just guessing though) to be pulling the image at positions 1 through 14 > regardless of whether or not they are in the group. Am I doing something > wrong, or is there another approach I should be taking? > > Thanks! > > Jim > > At 03:42 PM 9/18/2002 -0700, you wrote: > >At 3:09 PM -0700 9/18/2002, Jim Biancolo wrote: > > >Is there a way to loop over the images in a group? I tried these: > > > > > > repeat for each image I in group "my_group" > > > repeat for each item I in group "my_group" > > > repeat for each object O in group "players_group" > > > > > >All failed to compile. Then I hit on: > > > > > > repeat for each element E in group "players_group" > > > > > >It compiled, but then when I tried to run it I got this error: > > > > > > Error description: Chunk: source is not a container > > > > > >I fear I'm missing something obvious. Any advice? > > > >I think people have been so enthusiastic about advising the efficient > >"repeat for each" form that the other forms have gotten a little eclipsed. > >;-) > > > >The "repeat for each" form can be used to iterate over chunks in a string - > >characters, words, lines, items - or over each element in an array, but it > >can't be used to iterate over objects. The first and third variations you > >tried wouldn't compile because "repeat for each image" and "repeat for each > >object" aren't valid forms of the repeat loop. The second one, "repeat for > >each item", is valid... but in this context, an "item" is a part of a > >string, not an object, so this doesn't work either. And the fourth, while a > >valid form, requires an array, not a group reference. > > > >Here's a form that will work: > > > > repeat with x = 1 to the number of images in group "my_group" > > answer the name of image x -- or whatever > > end repeat > > > >-- > >Jeanne A. E. DeVoto ~ jeanne at runrev.com > >Runtime Revolution Limited - The Solution for Software Development > >http://www.runrev.com/ > > > > > >_______________________________________________ > >use-revolution mailing list > >use-revolution at lists.runrev.com > >http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Mon Sep 23 23:20:24 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Sep 23 23:20:24 2002 Subject: opening files on OS X In-Reply-To: Message-ID: OOPS "do" doesn't work in the message box DOH! > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Monte > Goulding > Sent: Tuesday, 24 September 2002 1:24 PM > To: Use-Revolution at Lists. Runrev. Com > Subject: opening files on OS X > > > > Hi All > > Can anyone tell me how to open a file on Mac platforms. I'm getting no > response from do ("open location ""e&myFileLoc"e) as AppleScript. > > There must be some way to simulate clicking on a file???? > > Thanks in advance > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From webmaster at studioalice.se Tue Sep 24 01:21:00 2002 From: webmaster at studioalice.se (=?ISO-8859-1?Q?Magnus_von_Br=F6msen?=) Date: Tue Sep 24 01:21:00 2002 Subject: It's Elementary -- Rev Keeps Crashing! In-Reply-To: Message-ID: Hi Judy Does it crash during development or then you running your app? I have read on this list before that if you run Jaguar there is some kind of bug with the Appearence Manager, and the solution is to preview with Mac OS simulated (or windows or Linux). This is Sarah's tips (Thanks Sarah!): > Rev is not completely compatible with Jaguar's Appearance Manager. If > you select and deselect an object multiple times, Rev will probably > quit. If you keep hopping from object to object, you should be OK but > save frequently! If this gets too annoying, switch to Mac OS emulated > look & feel. This cuts out the Appearance Manager and makes Rev very > stable under Jaguar, but not as good looking This solution works fine for me. /magnus On tisdag, sep 24, 2002, at 04:40 Europe/Stockholm, Judy Perry wrote: > Okay, I'm trying to maintain a sense of humor. Rev has crashed on me > SIX > TIMES during the last 90 minutes. > > What am I trying to do? One card in one stack. Three fields: N1, N2, > Answer. Four buttons: Addition!, Subtraction!, Multiplication!, Check > Answer. The first three buttons generate random(9) for the first two > fields and puts the answer, whatever it is, in a global variable > theAnswer. The "Check Answer" button then checks to see whether the > user > has entered the appropriate number in the third field. > > Everything seems to work for a while and then just inexplicably > crashes. > No moved picture/movie/sound files, just pfffffffft! buh-bye. > > Any ideas why? Mac OS 10.2 (Jaguar) on a TiBook which should have > plenty > enough RAM for elementary math. > > Judy > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From scott at tactilemedia.com Tue Sep 24 01:31:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Sep 24 01:31:01 2002 Subject: Somewhat OT: FTP Failure on OSX In-Reply-To: Message-ID: Has anyone else noticed that FTP transfers on OSX (10.2) fail after about 10 or so files? When using commercial software packages (Fetch and the FTP browser in Adobe GoLive), both seem to fail (timeout) after transferring 10 to 15 small to medium size files. Using a Windows FTP tool on the same network connection works fine (dozens of files transferred up and down with no problems), so I'm thinking OSX is still somewhat broken in this area. Anyone else run into this behavior? Thanks & Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From gcanyon at inspiredlogic.com Tue Sep 24 01:59:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Sep 24 01:59:01 2002 Subject: File, variable, array, split In-Reply-To: References: Message-ID: At 6:55 AM +1000 9/24/02, David Vaughan wrote: >> As others have mentioned, you can import the file either into a field or a custom property. There is one caveat to that, probably a small one, but it's good to be aware: if you store the data within your app, then you're paying the price in memory used by that data twice: once to store the information, the other for the array you build from it. >> >> It's not likely to be a big deal, as I said. If for some reason it were, chances are good that you could rewrite your code to use a custom property directly (properties are faster than fields). > >...and you can do it all. Custom properties can be arrays. Read in your data and make the array in which you store it a custom property. Et Voil? ... stored once, still using array logic and still there when you next open it, or distribute it. An excellent point, although the syntax gets a bit tricky, especially for someone just getting started. Using a custom property set as an array only incurs about a 50% performance hit, as well -- easily fast enough for this purpose. I edited the wiki page on properties to add some sample code to show how to do this. It's at: -- regards, Geoff Canyon gcanyon at inspiredlogic.com From cowhead at mac.com Tue Sep 24 02:17:01 2002 From: cowhead at mac.com (mark mitchell) Date: Tue Sep 24 02:17:01 2002 Subject: use-revolution digest, Vol 1 #710 - 16 msgs In-Reply-To: <200209240310.XAA32228@www.runrev.com> Message-ID: Tim and I did this experiment and the answer seems to be 'yes'. I made a file with a custom icon and sent it to him and he reported that the icon works fine, and can even be copied and pasted onto other files. It also works in Jag, apparently. mark mitchell Japan Kurt wrote: > I am able to paste an image from the clipboard onto a RunRev > application via the app's Get Info window. I understand that this works > since RunRev apps are single files with resource forks, rather than > "packages". Is the custom icon information kept with the app itself > and would it still appear on the desktop of someone else's computer > (assuming transfer as a sit.hqx archive, or using some other method > that retained the data fork info.)? From gslj at intergate.ca Tue Sep 24 03:25:00 2002 From: gslj at intergate.ca (Gareth Jones) Date: Tue Sep 24 03:25:00 2002 Subject: rename problem In-Reply-To: <002c01c2630d$88f0c3c0$6f00a8c0@mckinley.dom> References: <002c01c2630d$88f0c3c0$6f00a8c0@mckinley.dom> Message-ID: When I complained about the "rename file" command not working for me, Ken Ray said: "There might be a file name length limitation." Ken, you were right on the money. My script merrily renamed files if the new names were under a 32 character limit. This was the limit imposed by the old Mac operating system, but it's been retained in the OS X version of Revolution, where it is no longer needed. Thanks to those others who offered help. My stack will, sadly, remain useless until long filenames are permitted by the "rename file" command. -Gareth From gcanyon at inspiredlogic.com Tue Sep 24 03:57:15 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Sep 24 03:57:15 2002 Subject: The Revolution Wiki has moved Message-ID: The Revolution Wiki has moved to its own server. That means that it now runs on the standard port :80, so everyone should be able to get to it. The new url is: Please use the new address going forward. I will leave the old wiki's home page in place for a few days, with a notice of the change. So if you have code to share, or a tip or trick, or a note about compatibility, or anything that might help Revolution developers, post it at the wiki. You don't need a password, you can do it right now. It's easy and quick. If anyone has suggestions on how to make the wiki more useful, feel free to email me, or better yet, post it at the wiki. -- For those who missed the earlier notices, the wiki contains exports of almost all of the Revolution 1.1.1 documentation. In addition there are numerous other pages with more information on Revolution. The best part is that anyone with knowledge to contribute can add to an existing page ,or add a whole new page, just by going to the wiki web site and clicking an edit button on the page. No prior authorization or setup is required. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From dcragg at lacscentre.co.uk Tue Sep 24 05:31:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue Sep 24 05:31:01 2002 Subject: Somewhat OT: FTP Failure on OSX In-Reply-To: References: Message-ID: At 11:25 pm -0700 23/9/02, Scott Rossi wrote: >Has anyone else noticed that FTP transfers on OSX (10.2) fail after about 10 >or so files? > >When using commercial software packages (Fetch and the FTP browser in Adobe >GoLive), both seem to fail (timeout) after transferring 10 to 15 small to >medium size files. Using a Windows FTP tool on the same network connection >works fine (dozens of files transferred up and down with no problems), so >I'm thinking OSX is still somewhat broken in this area. Anyone else run >into this behavior? > >Thanks & Regards, > >Scott Rossi >Creative Director I'm not seeing it here. (OS X 10.2.1) Fetch and libUrl are both managing lots of files in succession. Cheers Dave From brendan at poolcreative.com Tue Sep 24 07:16:01 2002 From: brendan at poolcreative.com (Brendan Bonsack) Date: Tue Sep 24 07:16:01 2002 Subject: FTP problem Message-ID: <3D90571D.E3E0DE64@poolcreative.com> Hi List, I'm wondering if anyone can help me with this problem... I have the following script that attempts to send a jpeg via ftp to a server. on mouseUp global tUrl put "ftp://me:mypassword at intranet.myserver.vic.edu.au/img/testfile.jpg" into tUrl answer file with filter "JPEGs,*.jpg" put URL "binfile:/"&it into tUploadData liburlftpupload url tUploadData,url tURL,"seeit" end mouseUp The same file works okay using other FTP apps, but with Revolution, the file arrives at its destination, but is not a valid Jpeg and when opened in a text editor, simply displays the local path as a string. Can anyone see what is going wrong. I have tried various approaches but cannot get it to FTP binary data it seems. Cheers Brendan From kkaufman at snet.net Tue Sep 24 07:20:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue Sep 24 07:20:01 2002 Subject: custom application icons for Mac OS X Message-ID: <3AD9E646-CFB7-11D6-A7FB-00039348A1E6@snet.net> Mark Mitchell wrote: "Tim and I did this experiment and the answer seems to be 'yes'. I made a file with a custom icon and sent it to him and he reported that the icon works fine, and can even be copied and pasted onto other files. It also works in Jag, apparently." Thanks, Mark. So, with the ability to use a custom icon and the modification of the "vers" information using ResEdit, this kind of RunRev app customization is still working on OS X 10.2. -Kurt From janschenkel at yahoo.com Tue Sep 24 07:52:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Sep 24 07:52:00 2002 Subject: FTP problem In-Reply-To: <3D90571D.E3E0DE64@poolcreative.com> Message-ID: <20020924124612.40816.qmail@web11902.mail.yahoo.com> Hi Brendan, I don't think I'm the only one experiencing a deja-vu. Dave Cragg already answered your question. Look at this entry in the use-revolution mailing list archive: http://lists.runrev.com/pipermail/use-revolution/2002-September/008109.html It boils down to putting ("binfile:"&it) between parentheses in the one-but-last line, and removing the two "url" keywords from the last line. Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Brendan Bonsack wrote: > Hi List, > > I'm wondering if anyone can help me with this > problem... > > I have the following script that attempts to send a > jpeg via ftp to a > server. > > > on mouseUp > global tUrl > put > "ftp://me:mypassword at intranet.myserver.vic.edu.au/img/testfile.jpg" > into > > tUrl > answer file with filter "JPEGs,*.jpg" > put URL "binfile:/"&it into tUploadData > liburlftpupload url tUploadData,url tURL,"seeit" > end mouseUp > > > The same file works okay using other FTP apps, but > with Revolution, the > file arrives at its destination, but is not a valid > Jpeg and when opened > > in a text editor, simply displays the local path as > a string. Can anyone > > see what is going wrong. I have tried various > approaches but cannot get > it to FTP binary data it seems. > > Cheers > > Brendan > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From kkaufman at snet.net Tue Sep 24 08:11:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue Sep 24 08:11:01 2002 Subject: It's Elementary -- Rev Keeps Crashing! Message-ID: <5B76EB3A-CFBE-11D6-B223-00039348A1E6@snet.net> Assuming that you aren't using very long stack names (that's another problem), perhaps the following will help: (from the list earlier this month) [The crashes are] due to Jaguar's Appearance Manager. Set the Look & Feel to > Mac OS emulated during editing and you won't get these crashes. > Presumably the next version of Rev will be updated to co-exist with > the new version of Appearance Manager. ...... >> We can confirm this in a near copy-cat scenario: >> >> click on a button... resize it... click off, click back on it (same >> button in this case)... crash... but not every time.... ....... >>> I've been running it for a few days now. I have noticed some weird >>> crashing >>> when working on one button and touching another to edit it. The >>> software >>> crashes out and has to be restarted. It then works for a while until >>> the >>> same problem occurs again. I have not been able to figure out what >>> the >>> trigger is. Workaround has been to save a lot more often. HTH, Kurt From sylvain.legourrierec at son-video.com Tue Sep 24 09:35:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Tue Sep 24 09:35:01 2002 Subject: unselect a line Message-ID: <000801c263d6$c8072da0$0801a8c0@sylvain> hello, of course I can select a line in a field (select line 1 of field "myField") but how deselect it? thanks --------------------------------------------------------------------------------------------------------------------------------------------- Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution www.son-video.com ------------- I am working with Windows 2000, Revolution 1.1.1, MySQL 3.23 & PHP 4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rcozens at pon.net Tue Sep 24 09:39:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 24 09:39:01 2002 Subject: rename problem In-Reply-To: References: <002c01c2630d$88f0c3c0$6f00a8c0@mckinley.dom> Message-ID: >My stack will, sadly, remain useless until long filenames are >permitted by the "rename file" command. Take heart, Gareth, It will happen in the next official release of RunRev. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 k_major at os.surf2000.de Tue Sep 24 09:41:00 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Tue Sep 24 09:41:00 2002 Subject: unselect a line In-Reply-To: <000801c263d6$c8072da0$0801a8c0@sylvain> Message-ID: <30036BCC-CFCB-11D6-8B0C-000A27B49A96@os.surf2000.de> Bonjour Sylvain, > hello, > ? > of course I can select a line in a field (select line 1 of field > "myField") > ? > but how deselect it? JAMAIS !!! ;-) ... set the hilitedlines of fld "yourFiled" to 0 ## if it is a list-field ... ######################### ... select empty ### if it is another field ... > ?thanks De rien :-) Au revoir Klaus Major k_major at os.surf2000.de From wmb at internettrainer.com Tue Sep 24 09:41:14 2002 From: wmb at internettrainer.com (ie ie) Date: Tue Sep 24 09:41:14 2002 Subject: please help! Message-ID: Hello list, Im trying to build a distribution of my program ife for OSX, OS9 and WIN with Rev 1.1.1 It worked fine for OS9 and WIN wich I have build before with Rev 1.0 But the problems begun with 1.1.1. Its mostly the same code but I had crashes after crashes with the engine. Then the rev support suggested me to change some scripts because the engine of Rev 1.1.1 is different to 1.0 so maybe thats what causes the crashes. I have changed all that (I thinks I have found them all) During this time i changed to OSX to test it there too.. It works fine (no crash after a lot of testing) in OSX and WIN (tested in VPC)... But still crashes in OS9 Then I had the idea that maybe the problem is on which system I build the distribution. So I copyied all the stacks and made 3 different distributions with their own stacks to build. I started from OSX and builded the OSX Distribution Then I started with OS9 and builded the OS9 distribution (fat) and the WIN distribution. OSX works fine without crashes apart from the known bugs (scrolling text and colored field frames) Win works fine Scrolling and Colors are correct (but looses the icon, which worked fine with 1.0) OS9: All correct, but it still crashes terribly. Mostly after some clicks. Sometimes on quit. It crashed..: 1) in my old 9.1 so hard that after restarting OSX 10.1.5 (Default start volume) was not able to find the 9.1 2) in a clean fresh installed standard Apple MacOS 9.2.2 with "System error 10" 3) in classic under OSX without any warning. 4) It crashed on Macs of some testers too Anything else I could do? Thanks for any help in advance... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From rcozens at pon.net Tue Sep 24 09:42:02 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Sep 24 09:42:02 2002 Subject: unselect a line In-Reply-To: <000801c263d6$c8072da0$0801a8c0@sylvain> References: <000801c263d6$c8072da0$0801a8c0@sylvain> Message-ID: >of course I can select a line in a field (select line 1 of field "myField") > >but how deselect it? Hi Sylvain, "select empty" -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 sylvain.legourrierec at son-video.com Tue Sep 24 09:55:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Tue Sep 24 09:55:01 2002 Subject: unselect a line References: <000801c263d6$c8072da0$0801a8c0@sylvain> Message-ID: <000e01c263d9$b0c94a30$0801a8c0@sylvain> it does not work in my case... ---- create a field with "List behaviour" ----- here comes the script of that field on mouseUp if the long id of me is the focusedObject then put the selection into message select empty end if end mouseUp I want to select my line, do something with it and deselct it.... thanks From k_major at os.surf2000.de Tue Sep 24 11:05:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Tue Sep 24 11:05:01 2002 Subject: unselect a line In-Reply-To: <000e01c263d9$b0c94a30$0801a8c0@sylvain> Message-ID: Bonjour Sylvain, on mouseUp put the selection set the hilitedlines of me to 0 end mouseUp works for me in a list-field. (As does my advice from about 1 hour ago ;-) > it does not work in my case... > > ---- create a field with "List behaviour" > > ----- here comes the script of that field > > on mouseUp > if the long id of me is the focusedObject then > put the selection into message > select empty > end if > end mouseUp > > I want to select my line, do something with it and deselct it.... > > thanks Au revoir Klaus Major k_major at os.surf2000.de From sylvain.legourrierec at son-video.com Tue Sep 24 11:11:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Tue Sep 24 11:11:01 2002 Subject: to Klaus Message-ID: <000a01c263e4$34b69730$0801a8c0@sylvain> there is some lag in this list ;) --------------------------------------------------------------------------------------------------------------------------------------------- Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution www.son-video.com ------------- I am working with Windows 2000, Revolution 1.1.1, MySQL 3.23 & PHP 4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From k_major at os.surf2000.de Tue Sep 24 11:18:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Tue Sep 24 11:18:01 2002 Subject: to Klaus In-Reply-To: <000a01c263e4$34b69730$0801a8c0@sylvain> Message-ID: Bonjour Sylvain, > there is some lag in this list ;) oui, c'est le jet-lag :-) Germany-Scotland-France in 5 seconds... > ----------------------------------------------------------------------- > ---------------------------------------------------------------------- > Sylvain Le Gourri?rec? ??? d?veloppement? ?? son-video-distribution?? > www.son-video.com > ? > ------------- I am working with Windows 2000, Revolution 1.1.1, MySQL > 3.23 & PHP 4 Nobody is perfect ;-) Au revoir Klaus Major k_major at os.surf2000.de From jperryl at ecs.fullerton.edu Tue Sep 24 11:58:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Sep 24 11:58:01 2002 Subject: It's Elementary -- Rev Keeps Crashing! In-Reply-To: Message-ID: This is close (from Sarah's description). I may be selecting, moving, editing and then deselecting one button in order to test another. Thx -- you may just have prevented me from becoming prematurely bald.. ;-) Judy On Tue, 24 Sep 2002, [ISO-8859-1] Magnus von Br?msen wrote: > > Rev is not completely compatible with Jaguar's Appearance Manager. If > > you select and deselect an object multiple times, Rev will probably > > quit. If you keep hopping from object to object, you should be OK but > > save frequently! If this gets too annoying, switch to Mac OS emulated > > look & feel. This cuts out the Appearance Manager and makes Rev very > > stable under Jaguar, but not as good looking From jperryl at ecs.fullerton.edu Tue Sep 24 12:02:38 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Sep 24 12:02:38 2002 Subject: It's Elementary -- Rev Keeps Crashing! In-Reply-To: <5B76EB3A-CFBE-11D6-B223-00039348A1E6@snet.net> Message-ID: Yep, got it. Thanks! On Tue, 24 Sep 2002, Kurt Kaufman wrote: > Assuming that you aren't using very long stack names (that's another > problem), perhaps the following will help: > (from the list earlier this month) > > [The crashes are] due to Jaguar's Appearance Manager. From chipp at chipp.com Tue Sep 24 15:26:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Tue Sep 24 15:26:01 2002 Subject: How to set a files 'locked' property? Message-ID: I know there's been discussion here lately on how to find out if a file is locked in WinXP put the detailed files() but, how can you turn off the locked property for an existing file? Couldn't find it in the notes. Thanks for any help. -Chipp From webmaster at listology.com Tue Sep 24 16:02:01 2002 From: webmaster at listology.com (Jim Biancolo) Date: Tue Sep 24 16:02:01 2002 Subject: Looping Over Groups? In-Reply-To: <00be01c2637e$bd7d9bb0$6f00a8c0@mckinley.dom> References: <5.1.0.14.2.20020918180427.00ac8298@mail.qrc.com> <5.1.0.14.2.20020923230104.02993fb0@mail.berkshire.net> Message-ID: <5.1.0.14.2.20020924165253.0299c240@mail.berkshire.net> Thanks Ken, that's perfect. It's not quite the behavior I'd expect being used to other languages (I thought by referencing my group in the "repeat" structure it would implicitly reference elements in that group during iteration), but I think I'm finally getting into the spirit of this language. :-) At 10:59 PM 9/23/2002 -0500, Ken Ray wrote: >Jim, > >Try this for your second line: > > answer the name of image i in group "players_group" > >The problem is that the number of the images change when you add an image to >the card. > >Ken Ray >Sons of Thunder Software >Email: kray at sonsothunder.com >Web Site: http://www.sonsothunder.com/ > >----- Original Message ----- >From: "Jim Biancolo" >To: >Sent: Monday, September 23, 2002 10:05 PM >Subject: Re: Looping Over Groups? > > > > Hi folks, > > > > I've run into an additional problem here, and I hope you can help . . . > > > > I've created a group of 14 images. As advised, I loop over them like so: > > > > repeat with i = 1 to the number of images in group "players_group" > > answer the name of image i > > end repeat > > > > Works great. When I click on the "Object --> Edit Group" menu, all 14 >show > > up as expected. > > > > However, when I add another image to the card (but not to the group) and > > run the same code, the new image is included in the loop (even though it's > > NOT in the group), and the last image in the group is not (even though it > > should be). When I click on the "Object --> Edit Group" command my > > original 14 images are there and the new image is not, which is what I'd > > expect. It's the looping behavior that is not what I'd expect. It seems > > (just guessing though) to be pulling the image at positions 1 through 14 > > regardless of whether or not they are in the group. Am I doing something > > wrong, or is there another approach I should be taking? > > > > Thanks! > > > > Jim > > > > At 03:42 PM 9/18/2002 -0700, you wrote: > > >At 3:09 PM -0700 9/18/2002, Jim Biancolo wrote: > > > >Is there a way to loop over the images in a group? I tried these: > > > > > > > > repeat for each image I in group "my_group" > > > > repeat for each item I in group "my_group" > > > > repeat for each object O in group "players_group" > > > > > > > >All failed to compile. Then I hit on: > > > > > > > > repeat for each element E in group "players_group" > > > > > > > >It compiled, but then when I tried to run it I got this error: > > > > > > > > Error description: Chunk: source is not a container > > > > > > > >I fear I'm missing something obvious. Any advice? > > > > > >I think people have been so enthusiastic about advising the efficient > > >"repeat for each" form that the other forms have gotten a little >eclipsed. > > >;-) > > > > > >The "repeat for each" form can be used to iterate over chunks in a >string - > > >characters, words, lines, items - or over each element in an array, but >it > > >can't be used to iterate over objects. The first and third variations you > > >tried wouldn't compile because "repeat for each image" and "repeat for >each > > >object" aren't valid forms of the repeat loop. The second one, "repeat >for > > >each item", is valid... but in this context, an "item" is a part of a > > >string, not an object, so this doesn't work either. And the fourth, while >a > > >valid form, requires an array, not a group reference. > > > > > >Here's a form that will work: > > > > > > repeat with x = 1 to the number of images in group "my_group" > > > answer the name of image x -- or whatever > > > end repeat > > > > > >-- > > >Jeanne A. E. DeVoto ~ jeanne at runrev.com > > >Runtime Revolution Limited - The Solution for Software Development > > >http://www.runrev.com/ > > > > > > > > >_______________________________________________ > > >use-revolution mailing list > > >use-revolution at lists.runrev.com > > >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From ttasovac at Princeton.EDU Tue Sep 24 18:16:00 2002 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Tue Sep 24 18:16:00 2002 Subject: File, variable, array, split In-Reply-To: Message-ID: As I learn from you guys, I get more and more ambitious. Academic career is sooooo boring in comparison to this! :) Along the same lines of what we've been doing here with reading files into variables or custom properties and then turning them into arrays, what if I wanted to have two words associated with each clickedWord: i.e. If it's a verb, I want to have the clickeWord retunr both its infinitive AND the translation. Arrays can have only one element and one key, as far as I get it. Is the only way to do this to create two files (verb + infinitive) and (verb+translation) and then have two sets of arrays (tTranslations, and tForms)? Also, if I chose to do it with custom properties -- I've read somewhere that only one set of cutom properties can be active at a time... I'm stuck again. Thanks a lot for you patience with me. Toma On 24.09.2002 02:53, "Geoff Canyon" wrote: > At 6:55 AM +1000 9/24/02, David Vaughan wrote: >>> As others have mentioned, you can import the file either into a field or a >>> custom property. There is one caveat to that, probably a small one, but it's >>> good to be aware: if you store the data within your app, then you're paying >>> the price in memory used by that data twice: once to store the information, >>> the other for the array you build from it. >>> >>> It's not likely to be a big deal, as I said. If for some reason it were, >>> chances are good that you could rewrite your code to use a custom property >>> directly (properties are faster than fields). >> >> ...and you can do it all. Custom properties can be arrays. Read in your data >> and make the array in which you store it a custom property. Et Voil? ... >> stored once, still using array logic and still there when you next open it, >> or distribute it. > > An excellent point, although the syntax gets a bit tricky, especially for > someone just getting started. Using a custom property set as an array only > incurs about a 50% performance hit, as well -- easily fast enough for this > purpose. I edited the wiki page on properties to add some sample code to show > how to do this. IIt's at: > > _____________________________________ Toma Tasovac Princeton University Department of Comparative Literature 318 East Pyne Princeton, NJ 08544 ttasovac at princeton.edu ttasovac at post.harvard.edu From janschenkel at yahoo.com Wed Sep 25 00:30:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 25 00:30:01 2002 Subject: File, variable, array, split In-Reply-To: Message-ID: <20020925052350.44082.qmail@web11903.mail.yahoo.com> Hi Toma, What you're describing could be handled in more than one manner: - by splitting up the data into 2 separate custom property sets tTranslations and tForms, - by tinkering the "key" element so that it has the form of "+" - by reading the data from a field into a 2-dimensional array at startup. If you look at the split command in the Transcript documentation, you see that it has the form split tVariable using return and tab What this actually does internally, is go over the contents of the variable and filling up an array. You could simulate the above "split" operation with the next piece of code. set the itemDelimiter to tab put tVariable into tOrigVariable repeat for each line tLine in tOrigVariable put item 1 of tLine into tMainKey put 0 into tSubKey repeat for each item tItem of tLine add 1 to tSubKey put tItem into tVariable[tMainKey, tSubKey] end repeat end repeat Now MetaCard/RunRev actually doesn't have _real_ two-dimensional arrays ; it simulates them by collating the main and sub key. You can see this easiest by having a look at the keys of a two-dimensional array variable ; do the above split with a few simple lines of data and then put the keys of tVariable into field "theKeys" As you will see, the keys look like: main1,1 main1,2 main1,3 main2,1 main2,2 main2,3 ... This whole explanation is of course a bit simplified, as it needs to build in safeguards so that there are no commas in the main key ; but you get the idea. To return to your particular goal: the easiest solution is to have two separate custom property sets, but this brings its own headaches because you have to maintain two separate sets of data. Another convenient solution is to let MC/RR handle the two-dimensional bit by reading the data from a field and have the engine 'split' it. Or you can combine the knowledge of how a 'split' works with keeping everything into a single custom property set, in which case you will do the collating of the main and sub key yourself. Your one-dimensional keys would then look like word1+translation word1+form word2+translation word2+form ... And in this form it can still be tightly packed and conveniently edited into a single custom property set, and you can retrieve the information you want with a simple call like put the tWordInfo[(the clickText & "+form")] of \ this stack into tFormInfo One final piece of information before I end this lengthy post: you can have only one custom property set "active" at one time, but you can still access the data in other custom property sets at any given time. put the someCustomProp of this stack is internally handled by put the customPropertySet into tActiveSet put the tActiveSet[someCustomProp] of this stack All the information in custom properties is neatly stored away in arrays with the name of the set, and the name of the property as the key. You can always access the data of another custom property set with put the uAnInactiveSet[someCustomPropInThatSet] of \ this stack And this works, regardless of what is the active set at that point. I am well aware that this was a long post with a lot of information, but I do hope this helped clear a few things up. If there are points that aren't clear, I'm sure we can help you out. Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Toma Tasovac wrote: > As I learn from you guys, I get more and more > ambitious. Academic career is > sooooo boring in comparison to this! :) > > Along the same lines of what we've been doing here > with reading files into > variables or custom properties and then turning them > into arrays, what if I > wanted to have two words associated with each > clickedWord: i.e. If it's a > verb, I want to have the clickeWord retunr both its > infinitive AND the > translation. > > Arrays can have only one element and one key, as far > as I get it. Is the > only way to do this to create two files (verb + > infinitive) and > (verb+translation) and then have two sets of arrays > (tTranslations, and > tForms)? > > Also, if I chose to do it with custom properties -- > I've read somewhere that > only one set of cutom properties can be active at a > time... > > I'm stuck again. > > Thanks a lot for you patience with me. > > Toma > __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From janschenkel at yahoo.com Wed Sep 25 00:35:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 25 00:35:01 2002 Subject: How to set a files 'locked' property? In-Reply-To: Message-ID: <20020925052917.44342.qmail@web11903.mail.yahoo.com> Hi Chipp, Unfortunately it's not as simple as set the lockText of file tFile to true *grin* What you can do, is let WinXP do it for you with get shell("attrib" && tFile && "-R") If you ever need to do it on a Mac, I'm sure someone can tell you the equivalent piece of AppleScript to execute... Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time" (De Rochefoucald) --- Chipp Walters wrote: > I know there's been discussion here lately on how to > find out if a file is > locked in WinXP > > put the detailed files() > > but, how can you turn off the locked property for an > existing file? Couldn't > find it in the notes. Thanks for any help. > > -Chipp __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From chipp at chipp.com Wed Sep 25 01:00:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Wed Sep 25 01:00:01 2002 Subject: How to set a files 'locked' property? In-Reply-To: <20020925052917.44342.qmail@web11903.mail.yahoo.com> Message-ID: Jan, Thanks for the pointer. I worked it with the following: if the platform is "Win32" then put the filename of the topstack into tfile replace "/" with "\" in tfile put "attrib"&& quote & tfile & quote && "-R" into DosCommand set the hideConsoleWindows to true put shell (DosCommand) into theError end if It turns out I had to put the filename in quotes as the path contained a space and wouldn't execute under DOS unless quoted. Thanks again. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Jan Schenkel > Sent: Wednesday, September 25, 2002 12:29 AM > To: use-revolution at lists.runrev.com > Subject: Re: How to set a files 'locked' property? > > > Hi Chipp, > > Unfortunately it's not as simple as > set the lockText of file tFile to true > *grin* > > What you can do, is let WinXP do it for you with > get shell("attrib" && tFile && "-R") > > If you ever need to do it on a Mac, I'm sure someone > can tell you the equivalent piece of AppleScript to > execute... > > Hope this helped, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time" (De Rochefoucald) > > --- Chipp Walters wrote: > > I know there's been discussion here lately on how to > > find out if a file is > > locked in WinXP > > > > put the detailed files() > > > > but, how can you turn off the locked property for an > > existing file? Couldn't > > find it in the notes. Thanks for any help. > > > > -Chipp > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From ludovic.thebault at laposte.net Wed Sep 25 06:15:01 2002 From: ludovic.thebault at laposte.net (Ludovic Th=?ISO-8859-1?Q?=E9?=bault) Date: Wed Sep 25 06:15:01 2002 Subject: How delete a custom propertie ? Message-ID: <20020925130652.0404C%00000000@laposte.net> Hello, I create custom properties in relation with the content of a field : Fld : Custom propertie : Roger -> ListRoger Marcel -> ListMarcel ... But the content of fld could be changed, and i want to clear the custom propertie which was in relation with the disapearing text. I doesn't found any command in the help to do this. thank in advance -- Ludovic THEBAULT (Sorry for my poooor english :-) From klaus.major at metascape.org Wed Sep 25 06:29:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Sep 25 06:29:01 2002 Subject: How delete a custom propertie ? In-Reply-To: <20020925130652.0404C%00000000@laposte.net> Message-ID: Bonjour Ludovic , > Hello, > > I create custom properties in relation with the content of a field : > > Fld : Custom propertie : > Roger -> ListRoger > Marcel -> ListMarcel > ... > > But the content of fld could be changed, and i want to clear the custom > propertie which was in relation with the disapearing text. > > I doesn't found any command in the help to do this. C'est un petit peu complique... You have to get a list of all your customproperties, delete the one from this list that you don't need and set the properties to this "cleaned-up" list... ??? ;-) Example: You want to delete the customproperty "cp1" of "this" stack: ... put the customkeys of this stack into ck put lineoffset("cp1",ck) into the_line if the_line is not 0 then ## always check... delete line the_line of ck end if set the customkeys of this stack to ck ... Totally intuitive, isn't it ? ;-) It is not so bad, once you got used to it :-) > thank in advance > > Ludovic THEBAULT > (Sorry for my poooor english :-) Regards Klaus Major klaus.major at metascape.org (Thank you for my wonderful french :-D From ludovic.thebault at laposte.net Wed Sep 25 07:24:01 2002 From: ludovic.thebault at laposte.net (Ludovic Thebault) Date: Wed Sep 25 07:24:01 2002 Subject: How delete a custom propertie ? References: Message-ID: <3D91A94B.1010703@laposte.net> > put the customkeys of this stack into ck > put lineoffset("cp1",ck) into the_line > if the_line is not 0 then ## always check... > delete line the_line of ck > end if > set the customkeys of this stack to ck > ... > > Totally intuitive, isn't it ? ;-) Thanks ! From Roger.E.Eller at sealedair.com Wed Sep 25 08:16:01 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed Sep 25 08:16:01 2002 Subject: The Revolution Wiki has moved Message-ID: Geoff, Well, not everyone... In Netscape, your new URL is forbidden by our company's firewall. In iExplorer, the page loads, but with javascript errors. And the images all show as broken links. The old URL worked fine for me in both Netscape and ie. Roger Eller roger.e.eller at sealedair.com > The Revolution Wiki has moved to its own server. That means > that it now runs on the standard port :80, so > everyone should be able to get to it. The new url is: > > From sylvain.legourrierec at son-video.com Wed Sep 25 08:52:01 2002 From: sylvain.legourrierec at son-video.com (=?utf-8?Q?Sylvain_Le_Gourri=C3=A9rec?=) Date: Wed Sep 25 08:52:01 2002 Subject: windows - macOs char problems Message-ID: <000801c2649a$03a6a7f0$0801a8c0@sylvain> Hello, I have a MySQL database. I develop some applications with revolution. Those applications have to run with windows and MacOS 9.2. And of course, I have charset problems that I can't solve. example: win numToChar(160) is a space (I don't know the exact word, but I mean that you can't break it!) I use it to update my database through my windows revolution application. But if I load data from my database through my MacOS revolution application, this char is displayed as ? ? --> ? ? --> , and so on... How can I prevent that ? --------------------------------------------------------------------------------------------------------------------------------------------- Sylvain Le Gourri?rec ?? d?veloppement ?? son-video-distribution www.son-video.com ------------- I am working with Windows 2000, Revolution 1.1.1, MySQL 3.23 & PHP 4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cowhead at mac.com Wed Sep 25 08:57:00 2002 From: cowhead at mac.com (mark mitchell) Date: Wed Sep 25 08:57:00 2002 Subject: reNaming In-Reply-To: <200209241342.JAA12009@www.runrev.com> Message-ID: Gareth wrote: >> My stack will, sadly, remain useless until long filenames are >> permitted by the "rename file" command. > Rob wrote: > Take heart, Gareth, > > It will happen in the next official release of RunRev. > I write: Meanwhile, you can also rename with an applescript (on macs only, of course). I was doing this for a long time because I didn't realize that Rev even had a rename command. (Someday, I'll have to sit down and read the dictionary!) applescript: --uses 2 variables, zaOldName and zaNewName do "tell application" & quote & finder & quote & return & "set name of item" & quote & zaOldName & quote && "to" && quote & zaNewName & quote & return & "end tell" as appleScript mark mitchell Japan From plestang at free.fr Wed Sep 25 09:24:01 2002 From: plestang at free.fr (Philippe Lestang) Date: Wed Sep 25 09:24:01 2002 Subject: Phone stack? Message-ID: Hello, I want to use a stack to dial phone numbers for me. I looked at the archive of the mailing list and found scripts like the following: ------------------ put yourNumber into tNumber open file "modem:" write "ATDT" & tNumber & CR to file "modem:" close file "modem:" - Or maybe should it be: "open file "modem:" for write ? - The "CR" is doubtful: I read it is used to make the modem wait for a server signal. Therefore of course I also tried without it... ------------------ This doesn't work at all for me (script in a button). I use an Ibook (white) and _nothing_ happens. When I use a Hypercard stack, saying: dial "12345" with modem "ATDT" it works OK... ** ==>> Does someone use a Revo phone stack that works, on an Ibook? Can anybody suggest a solution? Regards Philippe Lestang -- Choisis d'aimer ! (Deut 30,15-20) http://plestang.free.fr http://www.ladoc.org http://www.jesus-amour.org "Echanges Chretiens sur le Net" http://plestang.free.fr/lesch_ec.htm Membre de l'association des webmestres chr?tiens http://www.eklesia.net From klaus.major at metascape.org Wed Sep 25 09:40:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Sep 25 09:40:01 2002 Subject: windows - macOs char problems In-Reply-To: <000801c2649a$03a6a7f0$0801a8c0@sylvain> Message-ID: <82DCC16D-D093-11D6-880D-003065D52E8E@metascape.org> Bonjour Sylvain, > Hello, > ? > I have a MySQL database. I develop some applications with revolution. > Those applications have to run with windows and MacOS 9.2. > ? > And of course, I have charset problems that I can't solve. > ? > example: > ? > win numToChar(160) is a space (I don't know the exact word, but I mean > that you can't break it!) > I use it to update my database through my windows revolution > application. > But if I load data from my database through my MacOS revolution > application, this char is displayed as ? > ? > ??--> ? > ? > ?? --> , > ? > and so on... > ? > ? > How can I prevent that ? Don't know if this is useful to you, but i always use a hand-made function to serve correct text to win and mac: Presuming the text comes from a windows-pc !!! You get the picture... function cleanuptext the_text if the platform contains "win" then return the_text ## no need to convert... end if return isotomac(the_text) ## convert to mac charset... end cleanuptext And then i call it with: ... put cleanuptext(fld "the returned text from mySQL") into xxx ... Hope this helps... Regards Klaus Major klaus.major at metascape.org From sylvain.legourrierec at son-video.com Wed Sep 25 09:53:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Wed Sep 25 09:53:01 2002 Subject: sort accent char correctly Message-ID: <000c01c264a2$8d7379b0$0801a8c0@sylvain> hello, I know that topic was discussed a few days ago but I do not remenber how the problem was solved! In french, we love to use ? ? ? ? ?... But revolution sort 'Canon, Crayon, C?ble' instead of 'C?ble, Canon, Crayon'. How can I quickly obtain this result? thanks --------------------------------------------------------------------------------------------------------------------------------------------- Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution www.son-video.com ------------- I am working with Windows 2000, Revolution 1.1.1, MySQL 3.23 & PHP 4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ludovic.thebault at laposte.net Wed Sep 25 10:28:01 2002 From: ludovic.thebault at laposte.net (Ludovic Thebault) Date: Wed Sep 25 10:28:01 2002 Subject: sort accent char correctly References: <000c01c264a2$8d7379b0$0801a8c0@sylvain> Message-ID: <3D91D464.9040003@laposte.net> > > I know that topic was discussed a few days ago but I do not remenber > how the problem was solved! > > > In french, we love to use ? ? ? ? ?... > > But revolution sort 'Canon, Crayon, C?ble' instead of 'C?ble, Canon, > Crayon'. > > > How can I quickly obtain this result? one solution : create three variables, the first without accents (with a conversion ? -> a, ? -> e...), the second = the first sort the second and create a third by comparaison between first and second! like : Original data: first: second: third: Canon Canon Cable C?ble Crayon Crayon Canon Canon C?ble Cable Crayon (after sort) Crayon From janschenkel at yahoo.com Wed Sep 25 11:48:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Sep 25 11:48:01 2002 Subject: sort accent char correctly In-Reply-To: <000c01c264a2$8d7379b0$0801a8c0@sylvain> Message-ID: <20020925164223.86950.qmail@web11901.mail.yahoo.com> Hi Sylvain, You could use the keyword "international" sort lines of tVariable international but Yves Coppe reported having problems with it. Relevant links to the use-revolution archive: http://lists.runrev.com/pipermail/use-revolution/2002-August/007312.html http://lists.runrev.com/pipermail/use-revolution/2002-August/007319.html An alternative sort routine was developed, and here's the resulting code: function myInternationalSort sourceVar put myUpper(sourceVar) into upperVar put upperVar into sortVar sort the lines of sortVar repeat for each line theLine of sortVar put line (lineOffset(theLine, upperVar)) of \ sourceVar & return after resultVar end repeat delete char -1 of resultVar return resultVar end myInternationalSort function myUpper pString repeat for each char tChar in pString put myUpperChar(tChar) after tString end repeat return tString end myUpper function myUpperChar pChar if toLower(pChar) is in "???" then return "A" if toLower(pChar) is in "???" then return "E" if toLower(pChar) is in "???" then return "U" -- add some more lines for the other vowels... if toLower(pChar) is in "?" then return "C" -- default is standard toUpper() return toUpper(pChar) end myUpperChar Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Sylvain_Le_Gourri?rec wrote: > hello, > > I know that topic was discussed a few days ago but I > do not remenber how the problem was solved! > > > In french, we love to use ? ? ? ? ?... > > But revolution sort 'Canon, Crayon, C?ble' instead > of 'C?ble, Canon, Crayon'. > > > How can I quickly obtain this result? > > > thanks > > --------------------------------------------------------------------------------------------------------------------------------------------- > Sylvain Le Gourri?rec -- d?veloppement -- > son-video-distribution www.son-video.com > > ------------- I am working with Windows 2000, > Revolution 1.1.1, MySQL 3.23 & PHP 4 > __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From yvescoppe at skynet.be Wed Sep 25 12:13:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Wed Sep 25 12:13:01 2002 Subject: sort accent char correctly In-Reply-To: <20020925164223.86950.qmail@web11901.mail.yahoo.com> References: <20020925164223.86950.qmail@web11901.mail.yahoo.com> Message-ID: >An alternative sort routine was developed, and here's >the resulting code: > >function myInternationalSort sourceVar > put myUpper(sourceVar) into upperVar > put upperVar into sortVar > sort the lines of sortVar > repeat for each line theLine of sortVar > put line (lineOffset(theLine, upperVar)) of \ > sourceVar & return after resultVar > end repeat > delete char -1 of resultVar > return resultVar >end myInternationalSort > >function myUpper pString > repeat for each char tChar in pString > put myUpperChar(tChar) after tString > end repeat > return tString end myUpper > if toLower(pChar) is in "???" then return "A" > if toLower(pChar) is in "???" then return "E" > if toLower(pChar) is in "???" then return "U" > -- add some more lines for the other vowels... > if toLower(pChar) is in "?" then return "C" > -- default is standard toUpper() > return toUpper(pChar) >end myUpperChar > >Hope this helped, > >Jan Schenkel. > Hi Sylvain, I had the same problem as you had. So Jan wrote a function for me. it works fine and very fast. you can add as many "special" char you want in the function : function myUpperChar pChar Hope this helps. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From cowhead at mac.com Wed Sep 25 12:14:01 2002 From: cowhead at mac.com (mark mitchell) Date: Wed Sep 25 12:14:01 2002 Subject: file,variable,array,split In-Reply-To: <200209251253.IAA31365@www.runrev.com> Message-ID: <5B779B9A-D0A9-11D6-B2A5-0030656DAB8E@mac.com> Toma wrote: > Along the same lines of what we've been doing here with reading files > into > variables or custom properties and then turning them into arrays, what > if I > wanted to have two words associated with each clickedWord: i.e. If > it's a > verb, I want to have the clickeWord retunr both its infinitive AND the > translation. I guess you are doing something a bit more complicated where you have to import the data as a separate file etc. But the most straight-forward way to accomplish the above is to use the 'linkText'. You can set the link text of a word or word group (set their textFont to "link") to anything you like. You can then return the entire linkText or just pieces thereof, at your whim. e.g. You might set the linktext of the word "eat" to: eat,ate,eaten taberu,tabeta,tabete ita And then you can have a script that says something like: global theTense if theTense is past then get the selectedChunk put item 2 of line 1 of the linkText of it && "=" && item 2 of line 2 of the linkText it into myField end if and so on. The above would return just "ate = tabeta". I've asked before but I still don't know how the linkText compares to a custom property in terms of efficiency. I used to use custom props, but switched to linkText because it seems more robust (allows editing of the clickword without destroying access to the linked text). good luck, mark mitchell Japan From tampano at libero.it Wed Sep 25 12:42:01 2002 From: tampano at libero.it (Paolo Basile) Date: Wed Sep 25 12:42:01 2002 Subject: Relational database capabilities? Message-ID: I'm a total newbie with Revolution, but it seems interesting. The only thing I know about databases is from FileMakerPro. Is it possible, with Revolution, to create an application like this following example? I teach in school. I'd like a standalone application which could keep track of my students AND, for each students, keep track of their records, their grades, their assignements. In a database like FileMakerPro I'd think about different files (students, grades, assignements, and so on) and about a Master interface which links all of them showing the useful fields in each situation. Is it possible to create something similar with Revolution? Please help me to understand, thanks. Paolo Basile Italy From pixelbird at interisland.net Wed Sep 25 13:15:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Wed Sep 25 13:15:01 2002 Subject: Phone stack? In-Reply-To: Message-ID: on 9/25/02 7:20 AM, Philippe Lestang at plestang at free.fr wrote: > When I use a Hypercard stack, saying: > dial "12345" with modem "ATDT" > it works OK... > > ** ==>> Does someone use a Revo phone stack that works, on an Ibook? ---------- Why not just try converting HC's "Phone Dialer" stack? (untested) You'll may still have to specify what type of modem in the script(s). HTH, Ken N. From Jedaniels at Evercom.net Wed Sep 25 16:01:01 2002 From: Jedaniels at Evercom.net (Jerry Daniels) Date: Wed Sep 25 16:01:01 2002 Subject: ComboBox Blues Message-ID: <2EE5B9AA3AEFCA4299890DCF72A83BC60209A04E@mail_nt.evercom.net> Fellow Rev-ers, Is there anyway to alter the default position of the label text on a combobox? The top left of the label text ends up a couple pixels from the top left of the border. I can't seem to alter that outcome. I have tried: 1. Margins (including leftMargin, etc.) 2. Text height via text properties 3. Praying 4. Cursing (easily confused with praying) 4. Calling my friend Chipp Thank you in advance for any responses-even if they are negative or derisive. Thanks, Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: From ttasovac at Princeton.EDU Wed Sep 25 16:31:01 2002 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Wed Sep 25 16:31:01 2002 Subject: half-readable text in revolution documentation? Message-ID: Not exactly a programming question. I?m using Revolution on Mac OS 10.1.5 and I?ve noticed a very strange glitch. In all of the help documents, the examples of code can be seen only half-way, i.e. the lower half of each line of code is ?erased.? I don?t know if we can send images through the list serv, but I?m attaching a small (8K tiff) image as a proof that I haven?t gone crazy. Any suggestions? T. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: revglitch.tiff Type: application/octet-stream Size: 5538 bytes Desc: not available URL: From ambassador at fourthworld.com Wed Sep 25 16:49:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 25 16:49:01 2002 Subject: half-readable text in revolution documentation? In-Reply-To: Message-ID: Toma Tasovac wrote: > I?m using Revolution on Mac OS 10.1.5 and I?ve noticed a very strange glitch. > In all of the help documents, the examples of code can be seen only half-way, > i.e. the lower half of each line of code is ?erased.? > > I don?t know if we can send images through the list serv, but I?m attaching a > small (8K tiff) image as a proof that I haven?t gone crazy. > > Any suggestions? Turn off the fixedLineHeight property of the field and see if that doesn't take care of it. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From ttasovac at Princeton.EDU Wed Sep 25 17:27:04 2002 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Wed Sep 25 17:27:04 2002 Subject: half-readable text in revolution documentation? In-Reply-To: Message-ID: This weird thing happens in the Revolution Documentation that comes with the software -- not in the code that I write. T. On 25.09.2002 17:43, "Richard Gaskin" wrote: > Toma Tasovac wrote: > >> I?m using Revolution on Mac OS 10.1.5 and I?ve noticed a very strange glitch. >> In all of the help documents, the examples of code can be seen only half-way, >> i.e. the lower half of each line of code is ?erased.? >> >> I don?t know if we can send images through the list serv, but I?m attaching a >> small (8K tiff) image as a proof that I haven?t gone crazy. >> >> Any suggestions? > > Turn off the fixedLineHeight property of the field and see if that doesn't > take care of it. From ambassador at fourthworld.com Wed Sep 25 17:48:06 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed Sep 25 17:48:06 2002 Subject: half-readable text in revolution documentation? In-Reply-To: Message-ID: Toma Tasovac wrote: >>> I?m using Revolution on Mac OS 10.1.5 and I?ve noticed a very strange >>> glitch. >>> In all of the help documents, the examples of code can be seen only >>> half-way, >>> i.e. the lower half of each line of code is ?erased.? >>> >>> I don?t know if we can send images through the list serv, but I?m attaching >>> a >>> small (8K tiff) image as a proof that I haven?t gone crazy. >>> >>> Any suggestions? >> >> Turn off the fixedLineHeight property of the field and see if that doesn't >> take care of it. > > This weird thing happens in the Revolution Documentation that comes with the > software -- not in the code that I write. > T. The property is a part of all fields regardless which stack they're in. If my hunch is correct I'm sure it'll be addressed prmptly by th good folks at RunRev. Making that change yourself as an interim measure would let you read them effortlessly now. -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From usher at cnbcom.net Wed Sep 25 21:07:01 2002 From: usher at cnbcom.net (Philip Usher) Date: Wed Sep 25 21:07:01 2002 Subject: phone stack? In-Reply-To: <200209251602.MAA04397@www.runrev.com> Message-ID: on 9/25/02 11:02 AM, Philippe Lestang wrote: > Does someone use a Revo phone stack that works try: open file "modem:" --open modem port write the cDialString of me & lNumberToDial & cr to file "modem:" --where cDialString is your modem dial string i.e. "ATS0=0S7=1D" and lNumberToDial is the phone number you are dialing. -- Philip From jameslewes at comcast.net Wed Sep 25 21:33:01 2002 From: jameslewes at comcast.net (james lewes) Date: Wed Sep 25 21:33:01 2002 Subject: Question about CGI In-Reply-To: Message-ID: I realize this is off-topic, but I am trying to figure out how to attach a search engine to my website, so that visitors can search it for content, does anyone have a suggestion From chipp at chipp.com Wed Sep 25 23:47:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Wed Sep 25 23:47:01 2002 Subject: Images & urls &(for Monte) In-Reply-To: Message-ID: Monte, The reason this doesn't work > set the imageData of image "myinternalimage" to the imageData of image > "myExternalimage" > > That sounds like it should work but it produced a very messed up image. is that you need to set the images to the exact same size before setting the imagedata. -Chipp From monte at sweattechnologies.com Wed Sep 25 23:59:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Sep 25 23:59:01 2002 Subject: Custom File Types on Linux Message-ID: Hi All The following url seems to be providing some good info on creating custom file types on Linux: http://developer.kde.org/documentation/library/kdeqt/kde3arch/mime.html I don't know much about Linux but I'm interested in working out what bridges need to be crossed to build my apps for Linux. For starters I need to be able to create custom file types. I also need to be able to open any file in its default application. I'm also wondering if files can be opened in a running app on Linux (DDE on Win32, AppleEvents on MacOS). Cheers Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile (International): +61 421 138 274 (Australia): 0421 138 274 From katir at hindu.org Thu Sep 26 00:00:13 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Thu Sep 26 00:00:13 2002 Subject: Output text with Unix line feeds on jaguar Message-ID: <04688AE7-D10C-11D6-9ABF-003065FB9830@hindu.org> Problem: Unable/How to enforce unix linefeeds as the line delimiters in files output by xTalk scripts on OSX Jaguar. ? Context: Process data on from our mail server on a local station running Jaguar. Attempts to run a shell commands on a file just previously output by script failing because the file contains mac line breaks. Try using "return" and numTochar(10) -- neither works. The resulting file causes the shell script to fail. Open that same file in BBEdit, convert line breaks and save as Unix... then the shell script processes the file just fine. Also tested opening a Unix file with proper line breaks in BBedit with line translation off and it all comes in on one line -- expected behavior... Then, importing the file created under xTalk, always opens with mac line breaks... "presumable proof" that the xTalk script is outputting mac line breaks, no matter what we do.... on mouseup put the effective filename of this stack into stackFilePath set itemdel to "/" delete last item of stackFilePath repeat for each line x in fld "Bounce Window" set itemdel to tab if (item 2 of x >= 5) and not (item 3 of x is "tb") then ## if true then we have an email address in x which we want to pass, ## line delimited to a unix compatible file put item 1 of x & return after toRemoveEmails ## does not work: file contains mac line breaks put item 1 of x & numbTochar(10) after toRemoveEmails ## also does not work... resulting file still contains mac line breaks. end if end repeat put toRemoveEmails into URL ("file:" & stackFilePath & "/emails") triggerEmailShellScripts ## to process above saved file ## but shell scripts fail... end mouseup go out to BBedit; open file "emails" output above; save as Unix file with Unix line breaks.... on mouseup triggerEmailShellScripts ## process same file end mouseup Shell script now succeeds.... ?? TIA Himalayan Academy Publications Sannyasin Sivakatirswami Editor's Assistant/Production Manager katir at hindu.org www.HinduismToday.com, www.HimalayanAcademy.com, www.Gurudeva.org, www.hindu.org From jan.decroos at groepvanroey.be Thu Sep 26 03:05:06 2002 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Thu Sep 26 03:05:06 2002 Subject: sort accent char correctly In-Reply-To: <200209251605.MAA04545@www.runrev.com> References: <200209251605.MAA04545@www.runrev.com> Message-ID: You can use the "sort ... by function(each)" command. See scripts below. Change the LocInitUpLowGlobals function if you want to add or remove chars. ***put this in a btn script ******************************** on mouseUp put "crayon,c?ble,canon" into lList sort items of lList by MyUpper(each) answer lList end mouseUp ****************************************************** ****this can be in a stack script, stackinuse script, ...***************** function MyUpper pData return(uplow("u",pData)) end MyUpper function MyLower pData return(uplow("l",pData)) end MyLower global gLowerChars, gLower2UpperChars, gUpperChars, gUpper2LowerChars on LocInitUpLowGlobals put "abcdefghijklmnopqrstuvwxyz?????????????????????????????" into gLowerChars put "ABCDEFGHIJKLMNOPQRSTUVWXYZAAAAAACEEEEIIIINOOOOOUUUU???Y" into gLower2UpperChars put "ABCDEFGHIJKLMNOPQRSTUVWXYZ?????????????????????????????" into gUpperChars put "abcdefghijklmnopqrstuvwxyzaaaaaaceeeeiiiinooooouuuu???y" into gUpper2LowerChars end LocInitUpLowGlobals -- pOtion "u[pper]","l[ower]" or "i[nitialcaps]" -- pString : data to convert -- pChars : in case initialcaps : the chars after which a new word starts (default : space, return, tab and "-") function upLow pOption, pString, pChars put toLower(char 1 of pOption) into pOption if the paramCount > 2 and pOption <> "i" then StopWithMessage "UpLow : Using a third argument requires 'i' as first argument !" end if if gLowerChars = "" then LocInitUpLowGlobals set the casesensitive to true put 0 into xx if pOption = "u" then repeat for each char lChar in gLowerChars add 1 to xx replace lChar with char xx of gLower2UpperChars in pString end repeat else if pOption = "l" then repeat for each char lChar in gUpperChars add 1 to xx replace lChar with char xx of gUpper2LowerChars in pString end repeat else if pOption = "i" then put "" into lResult if pChars = "" then put " -"&CR&tab into pChars put char 1 of pChars into lPrevChar -- force first char to be uppercase repeat for each char lChar in pString if lPrevChar is in pChars then if lChar is in gLowerChars then put char offset(lChar,gLowerChars) of gLower2UpperChars after lResult else put lChar after lResult else if lChar is in gUpperChars then put char offset(lChar,gUpperChars) of gUpper2LowerChars after lResult else put lChar after lResult end if put lChar into lPrevChar end repeat put lResult into pString end if return pString end upLow on StopWithMessage pMess answer error pMess exit to top end StopWithMessage ************************************************************ Hope this helps, Jan Decroos From wmb at internettrainer.com Thu Sep 26 03:35:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Sep 26 03:35:01 2002 Subject: please help! In-Reply-To: <200209241342.JAA12009@www.runrev.com> Message-ID: On Dienstag, September 24, 2002, at 03:42 Uhr, use-revolution-request at lists.runrev.com wrote: > please help! > Cc: support at runrev.com > To: use-revolution at lists.runrev.com > From: ie ie > Reply-To: use-revolution at lists.runrev.com > > Hello list, > Im trying to build a distribution of my program ife for OSX, OS9 and > WIN with Rev 1.1.1 > It worked fine for OS9 and WIN wich I have build before with Rev 1.0 > > But the problems begun with 1.1.1. Its mostly the same code but I had > crashes after crashes with the engine. > Then the rev support suggested me to change some scripts because the > engine of Rev 1.1.1 is different to 1.0 so maybe thats what causes the > crashes. > I have changed all that (I thinks I have found them all) > > During this time i changed to OSX to test it there too.. > It works fine (no crash after a lot of testing) in OSX and WIN (tested > in VPC)... > But still crashes in OS9 > > Then I had the idea that maybe the problem is on which system I build > the distribution. > So I copyied all the stacks and made 3 different distributions with > their own stacks to build. > I started from OSX and builded the OSX Distribution > Then I started with OS9 and builded the OS9 distribution (fat) and the > WIN distribution. > > OSX works fine without crashes apart from the known bugs (scrolling > text and colored field frames) > Win works fine Scrolling and Colors are correct (but looses the icon, > which worked fine with 1.0) > > OS9: All correct, but it still crashes terribly. Mostly after some > clicks. > Sometimes on quit. > It crashed..: > 1) in my old 9.1 so hard that after restarting OSX 10.1.5 (Default > start volume) was not able to find the 9.1 > 2) in a clean fresh installed standard Apple MacOS 9.2.2 with "System > error 10" > 3) in classic under OSX without any warning. > 4) It crashed on Macs of some testers too > > Anything else I could do? > Thanks for any help in advance... Does really nobody have any idea? regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From heather at runrev.com Thu Sep 26 03:45:01 2002 From: heather at runrev.com (Heather Williams) Date: Thu Sep 26 03:45:01 2002 Subject: List Etiquette In-Reply-To: <200209260108.VAA13937@www.runrev.com> Message-ID: Hi folks, I see it is time once again for me to raise my head and remind all you good people of a few things that help to make this list run smoothly and remain the great resource that it is for all. I've been noticing rather a lot of html garbage on the list lately. I remind you that to the majority of users of the list, fancy formatting comes over as unnecessary garbage which is almost unreadable. The digest can *only* cope with plain text. Please turn off html formatting in your email client before posting. Please, No Attachments! Again, they arrive as garbage, clutter up the list, and in the majority of cases will be filtered out by the list software anyway. A small one slipped through I see... If you have something you want to share with list members, please post a url where they can go and look at it, or send it privately. Remember to change the header if you are in digest mode, so that it reflects something more useful than "Re: use-revolution digest no 6003". Please do snip your posts so that you are only quoting enough for people to understand what you are replying too. Six layers of nested quoting in pretty colours may look pretty, but it is almost never necessary and adds to the bandwith burden for those of us still on dialup pay-per-minute connections. All subscribe/unsubscribe requests should be sent directly to me, heather at runrev.com, if you were unable to resolve them by visiting the list webpage. I'm always happy to help. Most such requests sent to the list will be automatically filtered out by the list software, unless you can't spell unsubscribe... To protect you from spam this list is a double opt in list. This means, that if you post from an address you are not subscribed with, your post will be held for approval by the list moderator - that's me, folks. If this happens, don't panic, I'll get in there and approve it asap, once I've checked it's not spam. You can avoid this happening however, by subscribing all email addresses you are likely to post from, and setting all but one to "nomail" so that you don't get duplicate posts. And finally, I would like to say thank you once again to everyone who contributes to this great community. It was lovely meeting some of you at Paris Expo. Onward and Upward! Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution - The Solution From sylvain.legourrierec at son-video.com Thu Sep 26 04:46:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Thu Sep 26 04:46:01 2002 Subject: 3-D border Message-ID: <001001c26540$deeb7380$0801a8c0@sylvain> hello, how can I set a concave 3-D border ? Default is rather convex... thanks --------------------------------------------------------------------------------------------------------------------------------------------- Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution www.son-video.com ------------- I am working with Windows 2000, Revolution 1.1.1, MySQL 3.23 & PHP 4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From yvescoppe at skynet.be Thu Sep 26 06:04:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Thu Sep 26 06:04:01 2002 Subject: List Etiquette In-Reply-To: References: Message-ID: > > >And finally, I would like to say thank you once again to everyone who >contributes to this great community. It was lovely meeting some of you at >Paris Expo. > >Onward and Upward! > >Heather > For me too ! -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From brendan at poolcreative.com Thu Sep 26 06:11:01 2002 From: brendan at poolcreative.com (Brendan Bonsack) Date: Thu Sep 26 06:11:01 2002 Subject: FTP problem (Jan Schenkel) References: <200209241342.JAA12009@www.runrev.com> Message-ID: <3D92E9FA.730414FD@poolcreative.com> Hi Jan (and Dave!) Thanks for both of your responses. These helped slightly, but now I get an empty (ie 0 byte) file on my server, rather than a string inside the file. I'm not sure at all what is causing this! Surelt "binefile:/" is enough to denote all of the file's content? Regards Brendan > > > > Message: 11 > Date: Tue, 24 Sep 2002 05:46:12 -0700 (PDT) > From: Jan Schenkel > Subject: Re: FTP problem > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Hi Brendan, > > I don't think I'm the only one experiencing a deja-vu. > Dave Cragg already answered your question. Look at > this entry in the use-revolution mailing list archive: > http://lists.runrev.com/pipermail/use-revolution/2002-September/008109.html > It boils down to putting ("binfile:"&it) between > parentheses in the one-but-last line, and removing the > two "url" keywords from the last line. > > Best regards, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > --- Brendan Bonsack wrote: > > Hi List, > > > > I'm wondering if anyone can help me with this > > problem... > > > > I have the following script that attempts to send a > > jpeg via ftp to a > > server. > > > > > > on mouseUp > > global tUrl > > put > > > "ftp://me:mypassword at intranet.myserver.vic.edu.au/img/testfile.jpg" > > into > > > > tUrl > > answer file with filter "JPEGs,*.jpg" > > put URL "binfile:/"&it into tUploadData > > liburlftpupload url tUploadData,url tURL,"seeit" > > end mouseUp > > > > > > The same file works okay using other FTP apps, but > > with Revolution, the > > file arrives at its destination, but is not a valid > > Jpeg and when opened > > > > in a text editor, simply displays the local path as > > a string. Can anyone > > > > see what is going wrong. I have tried various > > approaches but cannot get > > it to FTP binary data it seems. > > > > Cheers > > > > Brendan > > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > > - From klaus.major at metascape.org Thu Sep 26 06:20:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Thu Sep 26 06:20:01 2002 Subject: FTP problem (Jan Schenkel) In-Reply-To: <3D92E9FA.730414FD@poolcreative.com> Message-ID: Hi Brendan, > Hi Jan (and Dave!) > > Thanks for both of your responses. These helped slightly, but now I > get an empty (ie 0 byte) file on my server, rather than a string > inside the file. I'm not sure at all what is causing this! Surelt > "binefile:/" is enough to denote all of the file's content? > > Regards > Brendan did you really script this ? ... put url("binfile:" & it) into tUploadData ... NO slash ! Hope this helps Klaus Major klaus.major at metascape.org From jeanne at runrev.com Thu Sep 26 06:37:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Thu Sep 26 06:37:01 2002 Subject: 3-D border In-Reply-To: <001001c26540$deeb7380$0801a8c0@sylvain> Message-ID: At 2:41 AM -0700 9/26/2002, Sylvain Le Gourri?rec wrote: > hello, how can I set a concave 3-D border ? Default is rather >convex... Reverse the topColor and bottomColor to change the appearance of the object between concave and convex. (Which one is on the top left, and which is on the bottom right, depends on the type of object.) You can do this in a script or the multi-line message box: get the topColor of the selectedObject set the topColor of the selectedObject to the bottomColor of the selectedObject set the bottomColor of the selectedObject to it Or else just select the object and use the Colors palette to change the top and bottom color to suitable ones. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From rpresender at earthlink.net Thu Sep 26 06:48:01 2002 From: rpresender at earthlink.net (Robert Presender) Date: Thu Sep 26 06:48:01 2002 Subject: keyInField Message-ID: Appreciate any suggestions that would replace the following script, that I used in SuperCard, to one in Revolution. Want to enter only certain chars into a field. on openField set the numberFormat to "0.000" keyInField theKey add 0 to me end openField on keyInField theKey set allowKeyInField to true if theKey is in "0123456789." or charToNum(theKey) = 8 then pass keyInField end keyInField Regards ... Bob From klaus.major at metascape.org Thu Sep 26 07:42:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Thu Sep 26 07:42:01 2002 Subject: keyInField In-Reply-To: Message-ID: <3469796E-D14C-11D6-BA04-003065D52E8E@metascape.org> Hi Bob, > Appreciate any suggestions that would replace the following script, > that I used in SuperCard, to one in Revolution. Want to enter only > certain chars into a field. > > on openField > set the numberFormat to "0.000" > keyInField theKey > add 0 to me > end openField Sorry, i am not ure about this script... > on keyInField theKey > set allowKeyInField to true > if theKey is in "0123456789." or charToNum(theKey) = 8 then pass > keyInField > end keyInField should read: on keydown theKey if theKey is in "0123456789." or charToNum(theKey) = 8 then pass keydown end keydown > Regards ... Bob It's only half the rent, but may help anyway ;-) Regards Klaus Major klaus.major at metascape.org From janschenkel at yahoo.com Thu Sep 26 07:49:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 26 07:49:01 2002 Subject: keyInField In-Reply-To: Message-ID: <20020926124333.75231.qmail@web11908.mail.yahoo.com> Hi Bob, I was going to save this for a stack of template fields, but here it goes: --- Field script for a numeric field local sBeforePaste on keyDown pWhichKey put the selectedChunk into tChunk put word 2 of tChunk into tStart put word 4 of tChunk into tStop if tStart > tStop -- no actual selection put (char 1 to tStop of me) & pWhickKey \ into tCheck if length(me) > theStart then put (char tStart to -1 of me) after tCheck end if else put (char 1 to tStart - 1 of me) & pWhickKey \ into tCheck if length(me) > theStop then put (char tStop + 1 to -1 of me) after tCheck end if end if if tCheck is a number then pass keyDown else beep end keyDown -- Reformat upon leaving the field on closeField send "formatField" to me in 5 milliseconds end closeField on formatField put (me) into tNumber put format("%16.3f, tNumber) into tFormatted repeat while char 1 of tFormatted = " " delete char 1 of tFormatted end repeat put tFormatted into me end formatField -- Handle pasting of text in this field -- NOTE : doesn't work when Rev UI is ON on pasteKey put (me) into sBeforePaste send "checkAfterPaste" to me in 5 milliseconds pass pasteKey end pasteKey on checkAfterPaste put (me) into tAfterPaste if tAfterPaste is not a number then beep put sBeforePaste into me end if end checkAfterPaste --- Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Robert Presender wrote: > Appreciate any suggestions that would replace the > following script, > that I used in SuperCard, to one in Revolution. > Want to enter only > certain chars into a field. > > on openField > set the numberFormat to "0.000" > keyInField theKey > add 0 to me > end openField > > on keyInField theKey > set allowKeyInField to true > if theKey is in "0123456789." or > charToNum(theKey) = 8 then pass > keyInField > end keyInField > > Regards ... Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From terry at britanniamagazine.com Thu Sep 26 07:53:01 2002 From: terry at britanniamagazine.com (Terry Fletcher) Date: Thu Sep 26 07:53:01 2002 Subject: Print report Message-ID: <3D9301CA.F1AB7A9F@britanniamagazine.com> I'm new to the list so don't know if this area has been explored. I see that Revolution will eventually have HyperCard style print reports. This is crucial to my most used program. I am wondering if anyone knows: a) when it's coming? and b) what other options are available without paying an arm & leg? I have an ancient version of PrintReport XCMD by John Nairn and I've seen the manual for ReportsDataPro, both of these seem complex and overkill compared to the simplicity of HC's Print Report. Thanks -- Terry Fletcher Britannia Magazine, Whitfield House, 30 Imperial Square, Cheltenham, Glos GL50 1RL England Phone: (01242) 241251 Webpage: http://www.britanniamagazine.com From janschenkel at yahoo.com Thu Sep 26 07:55:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 26 07:55:00 2002 Subject: keyInField In-Reply-To: Message-ID: <20020926124911.75602.qmail@web11908.mail.yahoo.com> Hi Bob, I was going to save this for a stack of template fields, but here it goes: --- Field script for a numeric field local sBeforePaste on keyDown pWhichKey put the selectedChunk into tChunk put word 2 of tChunk into tStart put word 4 of tChunk into tStop if tStart > tStop -- no actual selection put (char 1 to tStop of me) & pWhickKey \ into tCheck if length(me) > theStart then put (char tStart to -1 of me) after tCheck end if else put (char 1 to tStart - 1 of me) & pWhickKey \ into tCheck if length(me) > theStop then put (char tStop + 1 to -1 of me) after tCheck end if end if if tCheck is a number then pass keyDown else beep end keyDown -- Reformat upon leaving the field on closeField send "formatField" to me in 5 milliseconds end closeField on formatField put (me) into tNumber put format("%16.3f, tNumber) into tFormatted repeat while char 1 of tFormatted = " " delete char 1 of tFormatted end repeat put tFormatted into me end formatField -- Handle pasting of text in this field -- NOTE : doesn't work when Rev UI is ON on pasteKey put (me) into sBeforePaste send "checkAfterPaste" to me in 5 milliseconds pass pasteKey end pasteKey on checkAfterPaste put (me) into tAfterPaste if tAfterPaste is not a number then beep put sBeforePaste into me end if end checkAfterPaste --- Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Robert Presender wrote: > Appreciate any suggestions that would replace the > following script, > that I used in SuperCard, to one in Revolution. > Want to enter only > certain chars into a field. > > on openField > set the numberFormat to "0.000" > keyInField theKey > add 0 to me > end openField > > on keyInField theKey > set allowKeyInField to true > if theKey is in "0123456789." or > charToNum(theKey) = 8 then pass > keyInField > end keyInField > > Regards ... Bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From janschenkel at yahoo.com Thu Sep 26 08:01:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 26 08:01:01 2002 Subject: keyInField In-Reply-To: <20020926124333.75231.qmail@web11908.mail.yahoo.com> Message-ID: <20020926125455.75965.qmail@web11908.mail.yahoo.com> Sorry Bob, I only noticed the typos in the script after I got it back in my inbox. Here it goes again... --- Field script for a numeric field local sBeforePaste on keyDown pWhichKey put the selectedChunk into tChunk put word 2 of tChunk into tStart put word 4 of tChunk into tStop if tStart > tStop -- no actual selection put (char 1 to tStop of me) & pWhichKey \ into tCheck if length(me) > theStart then put (char tStart to -1 of me) after tCheck end if else -- typing would replace the selected text put (char 1 to tStart - 1 of me) & pWhichKey \ into tCheck if length(me) > theStop then put (char tStop + 1 to -1 of me) after tCheck end if end if if tCheck is a number then pass keyDown else beep end keyDown -- Reformat upon leaving the field on closeField send "formatField" to me in 5 milliseconds end closeField on formatField put (me) into tNumber put format("%16.3f", tNumber) into tFormatted repeat while char 1 of tFormatted = " " delete char 1 of tFormatted end repeat put tFormatted into me end formatField -- Handle pasting of text in this field -- NOTE : doesn't work when Rev UI is ON on pasteKey put (me) into sBeforePaste send "checkAfterPaste" to me in 5 milliseconds pass pasteKey end pasteKey on checkAfterPaste put (me) into tAfterPaste if tAfterPaste is not a number then beep put sBeforePaste into me end if end checkAfterPaste --- My apologies, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From rcozens at pon.net Thu Sep 26 10:29:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 26 10:29:01 2002 Subject: Output text with Unix line feeds on jaguar In-Reply-To: <04688AE7-D10C-11D6-9ABF-003065FB9830@hindu.org> References: <04688AE7-D10C-11D6-9ABF-003065FB9830@hindu.org> Message-ID: > put toRemoveEmails into URL ("file:" & stackFilePath & "/emails") Hi Sannyasin, Revolution automatically changes the line ending to ASCII 10 when when reading text files, and replaces the ASCII 10 with the appropriate line ending when writing a text file to a non-Unix platform. To retain the Unix end-of-line character, put toRemoveEmails into URL ("binfile:" & stackFilePath & "/emails") -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 sjoerdoptland at s2theatertechniek.nl Thu Sep 26 11:14:01 2002 From: sjoerdoptland at s2theatertechniek.nl (Sjoerd Op 't Land) Date: Thu Sep 26 11:14:01 2002 Subject: Question about CGI In-Reply-To: Message-ID: james lewes wrote/ schreef: > I realize this is off-topic, but I am trying to figure out how to attach a > search engine to my website, so that visitors can search it for content, > does anyone have a suggestion Well, I think a have... If you want to write a script for this yourself in Transcript, you would indeed have to use the Transcript CGI interpreter and you home-cooked script (you could also consider using a pre-fab search engine from Google or something). A detailed guide is on http://www.runrev.com/revolution/developers/articles/tipoftheweek/6.html More questions? Feel free to ask. Good luck! Sjoerd From sjoerdoptland at s2theatertechniek.nl Thu Sep 26 11:14:16 2002 From: sjoerdoptland at s2theatertechniek.nl (Sjoerd Op 't Land) Date: Thu Sep 26 11:14:16 2002 Subject: Relational database capabilities? In-Reply-To: Message-ID: Paolo Basile wrote/ schreef: > In a database like FileMakerPro I'd think about different files (students, > grades, assignements, and so on) and about a Master interface which links > all of them showing the useful fields in each situation. > > Is it possible to create something similar with Revolution? > > Please help me to understand, thanks. When you want relational databases, I think you'd better use an external relational database (e.g. FMPro), and use the RunRev database connectivity (more in the Docs) to connect to this database. RunRev could the be a front-end for your datbase). > Paolo Basile > Italy Regards, / Groeten, Sjoerd From yvescoppe at skynet.be Thu Sep 26 11:20:00 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Thu Sep 26 11:20:00 2002 Subject: keyInField In-Reply-To: <20020926125455.75965.qmail@web11908.mail.yahoo.com> References: <20020926125455.75965.qmail@web11908.mail.yahoo.com> Message-ID: Hi Jan in your script for numeric fld, I've understood that you can change the numbers after the decimal with put format("%16.3f", tNumber) into tFormatted if we change .3f with .2f, it gives 2 numbers after decimal. Now : 2 problems : 1) I'd like the separator of decimal is a comma and not a point. is it possible ? 2) I' d like a separator for the thousands (a space for example) so : 123456789 -> 1 234 567,89 can you insert that in your script ? thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From ttasovac at Princeton.EDU Thu Sep 26 11:35:01 2002 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Thu Sep 26 11:35:01 2002 Subject: File, variable, array, split In-Reply-To: <20020925052350.44082.qmail@web11903.mail.yahoo.com> Message-ID: Dear Jan, many thanks for your detailed post. I will either split up the data into 2 separate custom property sets (tTranslations and tForms) or keep the data in one set and collate the main and the sub key myself. (Neither of which is a problem, because I'm making the vocabulary database in FMPro and I can export it as a tabdelimited file in whichever way I want). But one final thing remains unclear to me. I don't seem to be getting the customPropertySet thing -- which is why I couldn't figure out the code at the end of your post. I looked at Geoff's wiki files, but was again hit over the head by the stupid stick. You see, my original question was how to keep the data file (words, forms, translation) invisible to the user, i.e. how to store them in the application. My code is currently this: on openstack put url "file:translations" into tTranslations split tTranslations with cr and tab set the customProperties[cTranslations] of this stack to tTranslations put url "file:forms" into tForms split tForms with cr and tab set the customProperties[cForms] of this stack to tForms end openstack on mouseUp select the clickText put the clickText into tClickedWord put the cForms[tClickedWord] of this stack into fld "Translation Display" put " " after fld "Translation Display" put the cTranslations[tClickedWord] of this stack after fld "Translation Display" set the textStyle of word 1 of fld "Translation Display" to bold set the textStyle of word 2 of fld "Translation Display" to italic end mouseUp But for this, I still need external data files in the standalone app. What should I change in the above code to have the data stored in the application? Thanks a lot for all your help! T. On 25.09.2002 01:23, "Jan Schenkel" wrote: > One final piece of information before I end this > lengthy post: you can have only one custom property > set "active" at one time, but you can still access the > data in other custom property sets at any given time. > put the someCustomProp of this stack > is internally handled by > put the customPropertySet into tActiveSet > put the tActiveSet[someCustomProp] of this stack > > All the information in custom properties is neatly > stored away in arrays with the name of the set, and > the name of the property as the key. > You can always access the data of another custom > property set with > put the uAnInactiveSet[someCustomPropInThatSet] of \ > this stack > And this works, regardless of what is the active set > at that point. From klaus.major at metascape.org Thu Sep 26 11:44:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Thu Sep 26 11:44:01 2002 Subject: File, variable, array, split In-Reply-To: Message-ID: <04BD8FBA-D16E-11D6-BA04-003065D52E8E@metascape.org> Hi Toma, > ... > My code is currently this: > > on openstack > put url "file:translations" into tTranslations > split tTranslations with cr and tab > set the customProperties[cTranslations] of this stack to > tTranslations > put url "file:forms" into tForms > split tForms with cr and tab > set the customProperties[cForms] of this stack to tForms > end openstack > > on mouseUp > select the clickText > put the clickText into tClickedWord > put the cForms[tClickedWord] of this stack into fld "Translation > Display" > put " " after fld "Translation Display" > put the cTranslations[tClickedWord] of this stack after fld > "Translation > Display" > set the textStyle of word 1 of fld "Translation Display" to bold > set the textStyle of word 2 of fld "Translation Display" to italic > end mouseUp > > But for this, I still need external data files in the standalone app. > What > should I change in the above code to have the data stored in the > application? Just open that stack once, delete or comment out these 6 lines of your openstack-handler and then save that stack. Et voila, c'est ca :-) And that's it :-) May have been too obvious ;-) > Thanks a lot for all your help! > T. Regards Klaus Major klaus.major at metascape.org From janschenkel at yahoo.com Thu Sep 26 11:53:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 26 11:53:01 2002 Subject: keyInField In-Reply-To: Message-ID: <20020926164646.29034.qmail@web11902.mail.yahoo.com> Hi Yves, It's definitely possible, and you can accomplish it by adapting the script I provided a few days ago for inserting commas. Relevant link to the use-revolution archive: http://lists.runrev.com/pipermail/use-revolution/2002-September/008009.html Simply change the last line of insertCommas from return tMinusHold & pNumber & tDecimalHold to the following code put tMinusHold & pNumber & tDecimalHold into \ tResult replace "," with " " in tResult replace "." with "," in tResult return tResult The problem with that, however, is that when the user enters the field again, the data won't be seen as "numeric" as MC/RR evaluates an expression as a number only if it's in the decimal-point-without-commas format. Of course you could change it back to numeric format on openField, but that would be confusing to the user to say the least... It's on my to-do list to figure out a good way to handle that. My main focus was on preventing the typing and/or pasting of unwanted characters. Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." --- yves COPPE wrote: > Hi Jan > > > in your script for numeric fld, I've understood that > you can change > the numbers after the decimal with > > > put format("%16.3f", tNumber) into tFormatted > > if we change .3f with .2f, it gives 2 numbers after > decimal. > > Now : 2 problems : > > 1) I'd like the separator of decimal is a comma and > not a point. > is it possible ? > > 2) I' d like a separator for the thousands (a space > for example) > > > so : 123456789 -> 1 234 567,89 > > can you insert that in your script ? > > thanks. > > -- > Greetings. > > Yves COPPE > > Email : yvescoppe at skynet.be > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From ttasovac at Princeton.EDU Thu Sep 26 12:03:32 2002 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Thu Sep 26 12:03:32 2002 Subject: File, variable, array, split In-Reply-To: <04BD8FBA-D16E-11D6-BA04-003065D52E8E@metascape.org> Message-ID: TOO GOOD TO BE TRUE. BUT IT IS! Merci/Danke/Gracias... T. On 26.09.2002 12:35, "Klaus Major" wrote: > Just open that stack once, delete or comment out these 6 lines > of your openstack-handler and then save that stack. > > Et voila, c'est ca :-) > And that's it :-) > > May have been too obvious ;-) > >> Thanks a lot for all your help! >> T. > > Regards > > Klaus Major > klaus.major at metascape.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution _____________________________________ Toma Tasovac Princeton University Department of Comparative Literature 318 East Pyne Princeton, NJ 08544 ttasovac at princeton.edu ttasovac at post.harvard.edu From cowhead at mac.com Thu Sep 26 12:03:50 2002 From: cowhead at mac.com (mark mitchell) Date: Thu Sep 26 12:03:50 2002 Subject: restricting chars in a field In-Reply-To: <200209261049.GAA26591@www.runrev.com> Message-ID: robert wrote: > Appreciate any suggestions that would replace the following script, > that I used in SuperCard, to one in Revolution. Want to enter only > certain chars into a field. I'm sure there are many ways, but one way I have used to do this is to use a CARD script, instead of a field, and only pass the keydown message if the appropriate key is pressed eg. on keyDown whichkey if the focusedObject is myField then -- this should let you have different key restrictions for multiple fields on 1 card, but I never got it to work :-) Requires long ID of the field... if whichKey is theKeyYouWant then -- can also use 'is not' 'is among' etc here, you don't need numToChar or anything here...just type the keyname straight eg. "y" pass keydown end if else pass keyDown end if good luck! mark mitchell Japan From yvescoppe at skynet.be Thu Sep 26 12:05:00 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Thu Sep 26 12:05:00 2002 Subject: File, variable, array, split In-Reply-To: <04BD8FBA-D16E-11D6-BA04-003065D52E8E@metascape.org> References: <04BD8FBA-D16E-11D6-BA04-003065D52E8E@metascape.org> Message-ID: >>My code is currently this: >> >>on openstack >> put url "file:translations" into tTranslations >> split tTranslations with cr and tab >> set the customProperties[cTranslations] of this stack to tTranslations >> put url "file:forms" into tForms >> split tForms with cr and tab >> set the customProperties[cForms] of this stack to tForms >>end openstack >> >>on mouseUp >> select the clickText >> put the clickText into tClickedWord >> put the cForms[tClickedWord] of this stack into fld "Translation Display" >> put " " after fld "Translation Display" >> put the cTranslations[tClickedWord] of this stack after fld "Translation >>Display" >> set the textStyle of word 1 of fld "Translation Display" to bold >> set the textStyle of word 2 of fld "Translation Display" to italic >>end mouseUp >> >>But for this, I still need external data files in the standalone app. What >>should I change in the above code to have the data stored in the >>application? > > it depends what's your goal. if your list is definitively closed, you don't have to load it at each "openstack". this code can be deleted. if your list can be changed either : you write an external text file with and you load the text file in your custom properties as you do in your open stack code either you script a menu that adds words directly in your custom property. Don't forget to save your stack at each "close stack" because a custom property MUST be saved (not as a fld) to add a word to your array you can either use the number of keys of your array and then add one array after the last record either use the combine command put the customProperties["the Name of Your Array"] of this stack into tx combine tx using cr and tab then when you have a text you can handle it as you want and then re-create your array as above. hope this help. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From rcozens at pon.net Thu Sep 26 13:19:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 26 13:19:01 2002 Subject: keyInField In-Reply-To: References: <20020926125455.75965.qmail@web11908.mail.yahoo.com> Message-ID: >Now : 2 problems : > >1) I'd like the separator of decimal is a comma and not a point. >is it possible ? > >2) I' d like a separator for the thousands (a space for example) > > >so : 123456789 -> 1 234 567,89 > >can you insert that in your script ? Salut Yves, If your request does not fit easily into Jan's algorithm, take a look at the format handlers in Serendipity Library . After using the Library's Number Edit Mask dialog to set the stack's numberEditMask (which specifies decimal separator, thousands separator, currency symbol, & prefix/suffix currency) and having your stack start using the Library, you would... put formatNumber(genericNumberString,2[,false]) into field "Your Field Here" True in the third argument includes the currency symbol. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 rcozens at pon.net Thu Sep 26 13:33:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Sep 26 13:33:01 2002 Subject: keyInField Message-ID: >Now : 2 problems : > >1) I'd like the separator of decimal is a comma and not a point. >is it possible ? > >2) I' d like a separator for the thousands (a space for example) > > >so : 123456789 -> 1 234 567,89 > >can you insert that in your script ? Hi again Yves, If you do choose to use Serendipity Library, the last example I posted is only partially correct: The formatNumber function is used to format user input (which uses the decimal separator speficifed in the stack's numberEditMask); A different function, convertNumber, is used to format numbers in generic format (ie: no thousands separator & "." as decimal separator.). Also, the functions only work with explicit decimals, so (assuming comma & space as above) formatNumber("123456789",2) returns "123 456 789,00" Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 PMDA at earthlink.net Thu Sep 26 13:43:01 2002 From: PMDA at earthlink.net (Tariel Gogoberidze) Date: Thu Sep 26 13:43:01 2002 Subject: Relational database capabilities? References: <200209260108.VAA13899@www.runrev.com> Message-ID: <3D9353A9.7912F8B5@earthlink.net> You may visit the following web site and download the evaluation copy of TextBook (NOT CyberRat) from the following page . It does everything you described, may be little more, it does students certification too (tests and quizzes). This product is completely MetaCard <-> FileMaker Pro based, well, with the lasso as a MiddleWare to better support simultaneously connected 2000+ students. note: Revolution uses the engine from MetaCard and the scripting language is the same.In other words for this particular task they are essentially the same programs. Here is the example of the call that will allow Revolution to "talk" to FileMaker Pro (assuming that web companion in FileMaker Pro is enabled of course) Post "-database=YourDBName&-layout=YourLyoutName&-Response= YourResponseFile&-Op=eq&StudentID=12345&-search" to URL YourURLADDRESS Best regards Tariel Gogoberidze > Message: 3 > Date: Wed, 25 Sep 2002 19:36:05 +0200 > Subject: Relational database capabilities? > From: Paolo Basile > To: Revolution Mailing List > Reply-To: use-revolution at lists.runrev.com > > I'm a total newbie with Revolution, but it seems interesting. The only thing > I know about databases is from FileMakerPro. > > Is it possible, with Revolution, to create an application like this > following example? > > I teach in school. I'd like a standalone application which could keep track > of my students AND, for each students, keep track of their records, their > grades, their assignements. > > In a database like FileMakerPro I'd think about different files (students, > grades, assignements, and so on) and about a Master interface which links > all of them showing the useful fields in each situation. > > Is it possible to create something similar with Revolution? > > Please help me to understand, thanks. > > Paolo Basile > Italy > From ttasovac at Princeton.EDU Thu Sep 26 15:40:00 2002 From: ttasovac at Princeton.EDU (Toma Tasovac) Date: Thu Sep 26 15:40:00 2002 Subject: hilite, double-click etc. Message-ID: Just as you (and I) though we were done... :) I need one more twist added to my code, and then I can actually sit down and finish translating some 30,000 words from the novel that I?m preparing for my students. The code, as stated before, is simple: on mouseUp select the clickText put the clickText into tClickedWord put the cForms[tClickedWord] of this stack into fld "Translation Display" put " " after fld "Translation Display" put the cTranslations[tClickedWord] of this stack after fld "Translation Display" set the textStyle of word 1 of fld "Translation Display" to bold set the textStyle of word 2 of fld "Translation Display" to italic end mouseUp I would like to be able to add certain grammatical and stylistic explanations which would not be linked to particular words, but rather to some difficult phrases, metaphoric expressions etc. So, I wonder if one could turn some chunks of text into links which would get highlighted with mouseOver (as in Revolution Documentation) - pointing thus that there is a note attached to that phrase (not all sentences will have them, of course) ? and THEN have the link activated with a control-click or double-click (since single click should be reserved for individual words), displaying the note in the field ?Translation Display.? Awaiting a kind response in fear and trepidation... Yours truly, T. _____________________________________ Toma Tasovac Princeton University Department of Comparative Literature 318 East Pyne Princeton, NJ 08544 ttasovac at princeton.edu ttasovac at post.harvard.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From chipp at chipp.com Thu Sep 26 16:32:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 26 16:32:01 2002 Subject: imagedata must be on screen? Message-ID: It appears to me the set the imagedata of img 1 to the imagedata of img 2 only works if img 2 is visible on screen. Is there a way to make this work from an invisible stack, or is MC/RR using the screen as the image buffer? -Chipp Walters From Doug_Ivers at lord.com Thu Sep 26 16:56:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Thu Sep 26 16:56:01 2002 Subject: 2Qs Message-ID: I recently copied my stack dev. on Mac osX to Windows 2000. (It's an uncompiled rev stack.) In the custom properties, one of my property's value contained the option-8 bullet on the Mac, but this showed up as something else (yen symbol?) on the PC. Do I have to do a conversion to avoid this? I also notice on Windows, that there is a dotted line around a button sometimes, usually the last button clicked. How do I avoid this dotted line or script it away? -- D From janschenkel at yahoo.com Thu Sep 26 17:28:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Sep 26 17:28:00 2002 Subject: keyInField In-Reply-To: Message-ID: <20020926222155.45513.qmail@web11906.mail.yahoo.com> Hi Yves et al, It took me a bit to construct, and it's a combination of bits and pieces from earlier posts, but here's the "definitive" solution for numeric fields *chuckle* --- Field script for a numeric field local sBeforePaste on keyDown pWhichKey put the selectedChunk into tChunk put word 2 of tChunk into tStart put word 4 of tChunk into tStop if tStart > tStop -- no actual selection put (char 1 to tStop of me) & pWhichKey \ into tCheck if length(me) > theStart then put (char tStart to -1 of me) after tCheck end if else -- typing would replace the selected text put (char 1 to tStart - 1 of me) & pWhichKey \ into tCheck if length(me) > theStop then put (char tStop + 1 to -1 of me) after tCheck end if end if if Conv4Calc(tCheck) is a number then pass keyDown else beep end keyDown -- Reformat upon leaving the field on closeField if "formatField" is not in the pendingMessages \ then send "formatField" to me in 5 milliseconds end closeField on formatField put the text of me into tNumber put Conv4Disp(tNumber) into me end formatField -- Handle pasting of text in this field -- NOTE : doesn't work when Rev UI is ON on pasteKey put the text of me into sBeforePaste if "checkAfterPaste" is not in the pendingMessages \ then send "checkAfterPaste" to me in 5 milliseconds pass pasteKey end pasteKey on checkAfterPaste put the text of me into tAfterPaste if Conv4Calc(tAfterPaste) is not a number then beep put sBeforePaste into me end if end checkAfterPaste -- Conversion between calculation and display formats function Conv4Calc pNumber -- strip out the thousand separator (if any) put the uThousandSeparator of me into t1000Sep if t1000Sep is not empty then replace t1000Sep with "" in pNumber end if -- fix the decimal point for MetaCard/RunRev put the uDecimalPoint of me into tDecPoint if tDecPoint is not empty and tDecPoint <> "." \ then replace tDecPoint with "." in pNumber -- should now be a regular number return pNumber end Conv4Calc function Conv4Disp pNumber -- convert to the chosen floating point format put the uFormat of me into tFormat if tFormat is empty then put "%16.2f" into tFormat put format(tFormat, pNumber) into tNumber -- remove leading spaces put 1 into tStart repeat while char tStart of tNumber = " " add 1 to tStart end repeat put char tStart to -1 of pNumber into tNumber -- prepare the display format -- thanks to Ken Ray for this RegExp :-) local tMinusHold,tMainNumber,tDecimalHold get matchText(tNumber, \ "([-]?)([0-9]*)[\.]?([0-9*)", \ tMinusHold, tMainNumber, tDecimalHold) -- tweak tDecimalHold put the uDecimalPoint of me into tDecPoint if tDecPoint is empty then put "." into tDecPoint if tDecimalHold is not empty then put tDecPoint \ before tDecimalHold -- now determine how many separators to place put the uThousandSeparator of me into t1000Sep if t1000Sep is not empty then put length(tMainNumber) into tLength put (tLength DIV 3) into tSeps if (tLength MOD 3) = 0 then subtract 1 from tSeps -- insert the commas into the integer part repeat with i = tSeps down to 1 put t1000Sep after char - (i * 3 + 1) of \ tMainNumber end repeat end if -- put everything back together return tMinusHold & tMainNumber & tDecimalHold end Conv4Calc --- End of script Hope this suits everyone's needs ; all you need to do is fill in the following custom properties - uDecimalPoint (defaults to ".") - uThousandSeparator (defaults to empty) - uFormat (defaults to "%16.2f") Of course you can always adapt the scripts so that these custom properties are in the card, stack,... BeHave fun, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- yves COPPE wrote: > Hi Jan > > > in your script for numeric fld, I've understood that > you can change > the numbers after the decimal with > > > put format("%16.3f", tNumber) into tFormatted > > if we change .3f with .2f, it gives 2 numbers after > decimal. > > Now : 2 problems : > > 1) I'd like the separator of decimal is a comma and > not a point. > is it possible ? > > 2) I' d like a separator for the thousands (a space > for example) > > > so : 123456789 -> 1 234 567,89 > > can you insert that in your script ? > > thanks. > > -- > Greetings. > > Yves COPPE > > Email : yvescoppe at skynet.be __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From RGould8 at aol.com Thu Sep 26 17:33:01 2002 From: RGould8 at aol.com (RGould8 at aol.com) Date: Thu Sep 26 17:33:01 2002 Subject: Can someone point me to examples of.... Message-ID: <156.14c6be7f.2ac4e3b9@aol.com> I'm very excited about what I'm reading Revolution can do - - - I have a project coming up that needs to do the following. If someone can point me to some Revolution examples of these tasks, it will make my decision a no-brainer: 1) The site says that you can create a Revolution application that embeds a browser, so you could essentially create your own custom browser and controls. Can anyone point me to an example of this, or tell me of your experiences doing this? In particular, is it an IE browser with supported plugins? Can I do secure-transactions through this browser within Revolution? 2) I need to send POST and GET requests via HTTP. Are there any examples of this that I can see? 3) Can I parse XML data coming in from an HTTP GET request? That's one of the things I need this app to do. 4) Will I experience any problems with Mac OS 8.1 and CarbonLib issues or Mac OS 10.0.4? Those 2 versions of the Mac OS have given me problems in the past when creating cross/OS products. 5) Can I make calls out to Unix commands on Mac OS X? Those are all the major things I can think of that would impact this project. If anyone could give me some pointers, I'd appreciate it. - Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From chipp at chipp.com Thu Sep 26 21:57:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Thu Sep 26 21:57:00 2002 Subject: 2Qs In-Reply-To: Message-ID: Doug, > I recently copied my stack dev. on Mac osX to Windows 2000. > (It's an uncompiled rev stack.) In the custom properties, one of > my property's value contained the option-8 bullet on the Mac, but > this showed up as something else (yen symbol?) on the PC. Do I > have to do a conversion to avoid this? I used to have a tip up on my site: http://www.altuit.com/webs/altuit2/RunRev/default.htm but it's gone now. check out the macToISO function... > > > I also notice on Windows, that there is a dotted line around a > button sometimes, usually the last button clicked. How do I > avoid this dotted line or script it away? set the traversalOn of button "fred" to false -Chipp Walters, Altuit,inc From jeanne at runrev.com Fri Sep 27 00:02:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Fri Sep 27 00:02:01 2002 Subject: 2Qs In-Reply-To: Message-ID: At 2:47 PM -0700 9/26/2002, Ivers, Doug E wrote: >I recently copied my stack dev. on Mac osX to Windows 2000. (It's an >uncompiled rev stack.) In the custom properties, one of my property's >value contained the option-8 bullet on the Mac, but this showed up as >something else (yen symbol?) on the PC. Do I have to do a conversion to >avoid this? Yes. (Unlike fields, custom properties aren't converted automatically, because they can contain binary data and conversion would mess that up.) Use the MacToISO function to convert from Mac to Windows/Unix: set the myCustomProp of this stack \ to MacToISO(the myCustomProp of this stack) >I also notice on Windows, that there is a dotted line around a button >sometimes, usually the last button clicked. How do I avoid this dotted >line or script it away? It's around the focused control and is a standard Windows feature. You can get rid of it by turning off the button's traversalOn. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From janschenkel at yahoo.com Fri Sep 27 00:57:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 27 00:57:00 2002 Subject: keyInField In-Reply-To: <20020926222155.45513.qmail@web11906.mail.yahoo.com> Message-ID: <20020927055050.19299.qmail@web11903.mail.yahoo.com> Hi Yves et al, Of course I had to leave a typo in this "definitive" version *grumble* Replace the script of function Conv4Disp with: function Conv4Disp pNumber -- convert to the chosen floating point format put the uFormat of me into tFormat if tFormat is empty then put "%16.2f" into tFormat put format(tFormat, pNumber) into tNumber -- remove leading spaces put 1 into tStart repeat while char tStart of tNumber = " " add 1 to tStart end repeat -- and the next line was wrong of course -- put char tStart to -1 of pNumber into tNumber put char tStart to -1 of tNumber into tNumber -- prepare the display format -- thanks to Ken Ray for this RegExp :-) local tMinusHold,tMainNumber,tDecimalHold get matchText(tNumber, \ "([-]?)([0-9]*)[\.]?([0-9*)", \ tMinusHold, tMainNumber, tDecimalHold) -- tweak tDecimalHold put the uDecimalPoint of me into tDecPoint if tDecPoint is empty then put "." into tDecPoint if tDecimalHold is not empty then put tDecPoint \ before tDecimalHold -- now determine how many separators to place put the uThousandSeparator of me into t1000Sep if t1000Sep is not empty then put length(tMainNumber) into tLength put (tLength DIV 3) into tSeps if (tLength MOD 3) = 0 then subtract 1 from tSeps -- insert the commas into the integer part repeat with i = tSeps down to 1 put t1000Sep after char - (i * 3 + 1) of \ tMainNumber end repeat end if -- put everything back together return tMinusHold & tMainNumber & tDecimalHold end Conv4Calc --- Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From yvescoppe at skynet.be Fri Sep 27 01:18:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Fri Sep 27 01:18:01 2002 Subject: keyInField In-Reply-To: <20020926222155.45513.qmail@web11906.mail.yahoo.com> References: <20020926222155.45513.qmail@web11906.mail.yahoo.com> Message-ID: Hello Jan, i have a problem with your last script : * There was an Execution Error at 8:05:55 AM Error description: matchChunk: error in pattern expression Object: field id 1004 of card id 1002 of stack "/HD/Desktop Folder/scripts rev/numeric fld.rev" -------------------- get matchText(tNumber,"([-]?)([0-9]*)[\.]?([0-9*)",tMinusHold, tMainNumber, tDecimalHold) -------------------- Value: unmatched [] I don't know so much about the MatchText and regular Expression. I work with Rev 1.1.1 and Mac OS 9.2 Can you help me. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From yvescoppe at skynet.be Fri Sep 27 01:21:00 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Fri Sep 27 01:21:00 2002 Subject: keyInField In-Reply-To: <20020927055050.19299.qmail@web11903.mail.yahoo.com> References: <20020927055050.19299.qmail@web11903.mail.yahoo.com> Message-ID: >Hi Yves et al, > >Of course I had to leave a typo in this "definitive" >version *grumble* > >Replace the script of function Conv4Disp with: > Your new function doesn't work ! -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From kray at sonsothunder.com Fri Sep 27 01:27:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Sep 27 01:27:01 2002 Subject: keyInField References: <20020926222155.45513.qmail@web11906.mail.yahoo.com> Message-ID: <02b901c265ed$686d18f0$6601a8c0@mckinley.dom> Yves, THe missing close bracket is after the last "0-9", but before the *... it should be: get matchText(tNumber,"([-]?)([0-9]*)[\.]?([0-9]*)",tMinusHold, tMainNumber, tDecimalHold) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "yves COPPE" To: Sent: Friday, September 27, 2002 1:10 AM Subject: Re: keyInField > > Hello Jan, > > i have a problem with your last script : > > * There was an Execution Error at 8:05:55 AM > Error description: matchChunk: error in pattern expression > Object: field id 1004 of card id 1002 of stack "/HD/Desktop > Folder/scripts rev/numeric fld.rev" > -------------------- > get matchText(tNumber,"([-]?)([0-9]*)[\.]?([0-9*)",tMinusHold, > tMainNumber, tDecimalHold) > -------------------- > Value: unmatched [] > > > I don't know so much about the MatchText and regular Expression. > > I work with Rev 1.1.1 and Mac OS 9.2 > > Can you help me. > -- > Greetings. > > Yves COPPE > > Email : yvescoppe at skynet.be > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From yvescoppe at skynet.be Fri Sep 27 01:49:00 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Fri Sep 27 01:49:00 2002 Subject: keyInField In-Reply-To: <20020927055050.19299.qmail@web11903.mail.yahoo.com> References: <20020927055050.19299.qmail@web11903.mail.yahoo.com> Message-ID: Hi Jan that's the final good code : BUT local sBeforePaste on keyDown pWhichKey put the selectedChunk into tChunk put word 2 of tChunk into tStart put word 4 of tChunk into tStop if tStart > tStop then-- no actual selection put (char 1 to tStop of me) & pWhichKey into tCheck if length(me) > theStart then put (char tStart to -1 of me) after tCheck end if else -- typing would replace the selected text put (char 1 to tStart - 1 of me) & pWhichKey into tCheck if length(me) > theStop then put (char tStop + 1 to -1 of me) after tCheck end if end if if Conv4Calc(tCheck) is a number then pass keyDown else beep end keyDown -- Reformat upon leaving the field on closeField if "formatField" is not in the pendingMessages then send "formatField" to me in 5 milliseconds end closeField on formatField put the text of me into tNumber put Conv4Disp(tNumber) into me end formatField -- Handle pasting of text in this field -- NOTE : doesn't work when Rev UI is ON on pasteKey put the text of me into sBeforePaste if "checkAfterPaste" is not in the pendingMessages then send "checkAfterPaste" to me in 5 milliseconds pass pasteKey end pasteKey on checkAfterPaste put the text of me into tAfterPaste if Conv4Calc(tAfterPaste) is not a number then beep put sBeforePaste into me end if end checkAfterPaste -- Conversion between calculation and display formats function Conv4Calc pNumber -- strip out the thousand separator (if any) put the uThousandSeparator of me into t1000Sep if t1000Sep is not empty then replace t1000Sep with "" in pNumber end if -- fix the decimal point for MetaCard/RunRev put the uDecimalPoint of me into tDecPoint if tDecPoint is not empty and tDecPoint <> "." then replace tDecPoint with "." in pNumber -- should now be a regular number return pNumber end Conv4Calc function Conv4Disp pNumber -- convert to the chosen floating point format put the uFormat of me into tFormat if tFormat is empty then put "%16.2f" into tFormat put format(tFormat, pNumber) into tNumber -- remove leading spaces put 1 into tStart repeat while char tStart of tNumber = " " add 1 to tStart end repeat -- and the next line was wrong of course -- put char tStart to -1 of pNumber into tNumber put char tStart to -1 of tNumber into tNumber -- prepare the display format -- thanks to Ken Ray for this RegExp :-) local tMinusHold,tMainNumber,tDecimalHold get matchText(tNumber,"([-]?)([0-9]*)[\.]?([0-9]*)",tMinusHold,tMainNumber, tDecimalHold) -- tweak tDecimalHold put the uDecimalPoint of me into tDecPoint if tDecPoint is empty then put "." into tDecPoint if tDecimalHold is not empty then put tDecPoint before tDecimalHold -- now determine how many separators to place put the uThousandSeparator of me into t1000Sep if t1000Sep is not empty then put length(tMainNumber) into tLength put (tLength DIV 3) into tSeps if (tLength MOD 3) = 0 then subtract 1 from tSeps -- insert the commas into the integer part repeat with i = tSeps down to 1 put t1000Sep after char - (i * 3 + 1) of tMainNumber end repeat end if -- put everything back together return tMinusHold & tMainNumber & tDecimalHold end Conv4Disp --- End of script Hope this suits everyone's needs ; all you need to do is fill in the following custom properties - uDecimalPoint (defaults to ".") - uThousandSeparator (defaults to empty) - uFormat (defaults to "%16.2f") BUT I do so : uDecimalPoint : "," uThousandSeparator : " " uFormat : "%16.2f" Now if I type : 1234567 -> 1 234 567,00 OK BUT 1234567,2 I hope : 1 234 567,20 but I get an error ! can you develop your script a little further ? -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From j.wagner at uha.fr Fri Sep 27 02:59:01 2002 From: j.wagner at uha.fr (Jean WAGNER) Date: Fri Sep 27 02:59:01 2002 Subject: External Pictures In-Reply-To: <20020926125455.75965.qmail@web11908.mail.yahoo.com> References: <20020926125455.75965.qmail@web11908.mail.yahoo.com> Message-ID: Hello. I am a new Revolution developper (and old H.C. developper). I have a lot of pictures to integrat in my applications. I want that theses pictures are localized in separate folders. So I have a smal projector, and a big folder with these external ressources. I cannot do it in Revolution : these ressources are always integrated in my applications, and this applications increase with the number of ressources. Thank. -- Jean WAGNER POLYMEDIA IUT de Mulhouse 61 rue A.Camus 68093 MULHOUSE CEDEX mailto:j.wagner at uha.fr T?l/r?p. : 03 89 33 76 43 From janschenkel at yahoo.com Fri Sep 27 03:08:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 27 03:08:01 2002 Subject: keyInField In-Reply-To: Message-ID: <20020927080208.90516.qmail@web11908.mail.yahoo.com> Hi Yves, That's the problem with making up these scripts during the most ridiculous moments: on your way from home to work or vice versa, after a few drinks with friends, in the middle of the night when one ought to sleep, or simply while you're eating breakfast cereals... You don't always have the chance to check it out as thoroughly as you should, and work from memory and theory without actually putting it into the compiler. The culprit is the formatField handler. Change it to: on formatField put the text of me into tNumber put Conv4Disp(Conv4Calc(tNumber)) into me end formatField And everything should run smoothly ; well, at least it did in my test stack here -- yes, I actually tested it for once ;-) Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- yves COPPE wrote: > Hi Jan > > that's the final good code : BUT > > [snip] > > I do so : > uDecimalPoint : "," > uThousandSeparator : " " > uFormat : "%16.2f" > > Now if I type : > > 1234567 -> 1 234 567,00 > OK > > BUT > > 1234567,2 > > I hope : 1 234 567,20 > > but I get an error ! > > can you develop your script a little further ? > -- > Greetings. > > Yves COPPE > > Email : yvescoppe at skynet.be __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From janschenkel at yahoo.com Fri Sep 27 03:15:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 27 03:15:01 2002 Subject: keyInField (but OT) In-Reply-To: <02b901c265ed$686d18f0$6601a8c0@mckinley.dom> Message-ID: <20020927080852.30702.qmail@web11903.mail.yahoo.com> Thanks Ken, I was trying to type very rapidly so I could send it and still be in time for work, and somewhere along the way of copying+pasting+editing my backspace or delete key must have eaten that bracket. Those two keys, and my faulty fingers as well, will undergo severe punishment so that it won't happen again. Or maybe I should download the trial of Ten Thumbs Typing Tutor ;-) Best regards, Jan Schenkel. --- Ken Ray wrote: > Yves, > > THe missing close bracket is after the last "0-9", > but before the *... it > should be: > > get > matchText(tNumber,"([-]?)([0-9]*)[\.]?([0-9]*)",tMinusHold, > tMainNumber, tDecimalHold) > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From janschenkel at yahoo.com Fri Sep 27 03:22:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Sep 27 03:22:01 2002 Subject: External Pictures In-Reply-To: Message-ID: <20020927081634.10079.qmail@web11904.mail.yahoo.com> Hi Jean, Try this: answer file "Select a picture to view" if the result is not "Cancel" then set the fileName of image "theImage" to it end if Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Jean WAGNER wrote: > Hello. > > I am a new Revolution developper (and old H.C. > developper). > > I have a lot of pictures to integrat in my > applications. I want that > theses pictures are localized in separate folders. > So I have a smal > projector, and a big folder with these external > ressources. > > I cannot do it in Revolution : these ressources are > always integrated > in my applications, and this applications increase > with the number of > ressources. > > Thank. > -- > > Jean WAGNER > POLYMEDIA > IUT de Mulhouse > 61 rue A.Camus > 68093 MULHOUSE CEDEX > mailto:j.wagner at uha.fr > T?l/r?p. : 03 89 33 76 43 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From klaus.major at metascape.org Fri Sep 27 03:31:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Sep 27 03:31:01 2002 Subject: imagedata must be on screen? In-Reply-To: Message-ID: <0DCA4BB3-D1F3-11D6-A6CF-003065D52E8E@metascape.org> Hi Chipp, > It appears to me the > > set the imagedata of img 1 to the imagedata of img 2 > > only works if img 2 is visible on screen. > > Is there a way to make this work from an invisible stack, or is MC/RR > using > the screen as the image buffer? > > -Chipp Walters maybe this will work for you ? ... put img 1 of cd 1 of stack "t2" into img 1 of cd 1 of stack "t1" ... Works here with a hidden stack "t2", but maybe i misunderstood something obvious... Have a nice weekend. Regards Klaus Major klaus.major at metascape.org From agayne at yanoff.com Fri Sep 27 03:45:01 2002 From: agayne at yanoff.com (Alan Gayne) Date: Fri Sep 27 03:45:01 2002 Subject: Relational database capabilities? In-Reply-To: Message-ID: does anybody have a small sample stack example of how this would work with a FileMaker pro database? I find the rev documentation on this to be hard to follow. Alan Gayne on 09/26/2002 12:08 PM, Sjoerd Op 't Land at sjoerdoptland at s2theatertechniek.nl wrote: > Paolo Basile wrote/ schreef: > When you want relational databases, I think you'd better use an external > relational database (e.g. FMPro), and use the RunRev database connectivity > (more in the Docs) to connect to this database. RunRev could the be a > front-end for your datbase). > >> Paolo Basile >> Italy > Regards, / Groeten, > Sjoerd > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From gary.rathbone at btclick.com Fri Sep 27 04:25:01 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Fri Sep 27 04:25:01 2002 Subject: Relational database capabilities? In-Reply-To: Message-ID: does anybody have a small sample stack example of how this would work with a FileMaker pro database? I find the rev documentation on this to be hard to follow. Alan Gayne -------------------------------------------------- There's loads of stuff about FileMaker and Rev in the searchable archives at I prefer the web companion method, which briefly... Quote " You can use FileMaker Pro web companion to exchange data between FMP and Rev either on the local network or on the internet. Normally, all you have to do (after setting up web companion) is to send put "http://folderInPath/folderWithResponseFile/FMPro" into theURL post "-db=MyDbNameHere&-lay=DBLayoutNameHere&-format=FormatFileName.html&-findAll " put urlDecode(it) " etc.... Gary Rathbone -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Alan Gayne Sent: 26 September 2002 18:53 To: use-revolution at lists.runrev.com Subject: Re: Relational database capabilities? From ludovic.thebault at laposte.net Fri Sep 27 06:13:01 2002 From: ludovic.thebault at laposte.net (Ludovic Th=?ISO-8859-1?Q?=E9?=bault) Date: Fri Sep 27 06:13:01 2002 Subject: [HELP] close a modal stack ! Message-ID: <20020927130557.2BB059%00000000@laposte.net> hello, big problem : i've created a modal stack which is opened at startup of a mainstack, but my "close" command doesn't work. if i opened the stack in REV, i cannot access to script, tools, Application overview or message box. The command-period doesn't works. How close this modal stack, and access to the script to correct it ? Thanks ! -- Ludovic THEBAULT (Sorry for my poooor english :-) From klaus.major at metascape.org Fri Sep 27 06:28:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Sep 27 06:28:01 2002 Subject: [HELP] close a modal stack ! In-Reply-To: <20020927130557.2BB059%00000000@laposte.net> Message-ID: Bonjour Ludovic, > hello, > > big problem : > > i've created a modal stack which is opened at startup of a mainstack, > but my "close" > command doesn't work. welcome to the club ;-) ( Sometimes i tend to forget a close-button in my modal windows... BIG FUN !!! ;-) These things help you to get used to save regulary :-) > if i opened the stack in REV, i cannot access to script, tools, > Application overview or > message box. The command-period doesn't works. > > How close this modal stack, and access to the script to correct it ? > Thanks ! > > -- > Ludovic THEBAULT > (Sorry for my poooor english :-) type this into the msg: lock messages; toplevel "your modal stack" If you set the modal on "openstack" or "preopenstack", this will work. Explanation: "lock messages" supresses ALL handlers. Then your stack will be opened as toplevel and you can fix it :-) Have a nice weekend. Au revoir Klaus Major klaus.major at metascape.org From yvescoppe at skynet.be Fri Sep 27 07:02:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Fri Sep 27 07:02:01 2002 Subject: File, variable, array, split In-Reply-To: <20020925052350.44082.qmail@web11903.mail.yahoo.com> References: <20020925052350.44082.qmail@web11903.mail.yahoo.com> Message-ID: Hi Jan I set the custom properties : decimal : "," Thousand : " " format : 2 Then I type in a fld : 123456 -> 123 456,00 (it's OK) if I type 123456,7 : I expect -> 123 456,70 but I get an error ! Can you update your code ??? -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From ludovic.thebault at laposte.net Fri Sep 27 07:05:00 2002 From: ludovic.thebault at laposte.net (Ludovic Thebault) Date: Fri Sep 27 07:05:00 2002 Subject: [HELP] close a modal stack ! References: Message-ID: <3D9447D6.7080303@laposte.net> > type this into the msg: > > lock messages; toplevel "your modal stack" > > If you set the modal on "openstack" or "preopenstack", this will work. > > Explanation: "lock messages" supresses ALL handlers. > Then your stack will be opened as toplevel and you can fix it :-) Thanks, but i found an other solution : i use the "Find and Replace" with the option "All stacks in a folder", to replace word "modal" with "open" Works anywhere :-) From Fred_D_Yocum at mail.mcc.org Fri Sep 27 07:42:01 2002 From: Fred_D_Yocum at mail.mcc.org (Fred_D_Yocum at mail.mcc.org) Date: Fri Sep 27 07:42:01 2002 Subject: Variable convention questions Message-ID: <85256C41.004538AC.00@mail.mcc.org> I have just hand-rolled my first real handler/function. It, puts the list of files that end in "txt" which are in the same folder/directory as the stack into a variable called theList. ----------------- on buildPickList theList set the itemDelimiter to "/" set the defaultFolder to item 1 to -2 of the effective filename of this stack put the files into theFileList repeat for each line thisLine in theFileList if char -3 to -1 of thisLine is "txt" then put thisLine & return after theList end repeat end buildPickList ----------------- Since I am new to programming and Rev I've got questions regarding variables. I haven't declared the variables at the beginning of the function. Is this good practice? There is a variable created in this line "repeat for each line thisLine in theFileList" which I filched the method from the "repeat" section of the Transcript dictionary. Why should it work? I would have thought I would have had to do something like below (except "this" is reserved for cards and stacks) : "repeat for each line of theFileList set theLine to this line... " It seems logically inconsistent to create variable simply by placing it after "repeat for each line". Why does it work? Aside the above can the function be improved/made more efficent? TIA, Fred D From klaus.major at metascape.org Fri Sep 27 08:32:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Sep 27 08:32:01 2002 Subject: Variable convention questions In-Reply-To: <85256C41.004538AC.00@mail.mcc.org> Message-ID: <0F8D23AC-D21D-11D6-92A0-003065D52E8E@metascape.org> Hi Fred, > I have just hand-rolled my first real handler/function. Congrats and welcome to the club :-) > It, puts the list of > files that end in "txt" which are in the same folder/directory as the > stack into > a variable called theList. > ----------------- > on buildPickList theList > set the itemDelimiter to "/" > set the defaultFolder to item 1 to -2 of the effective filename of > this stack > put the files into theFileList > repeat for each line thisLine in theFileList > if char -3 to -1 of thisLine is "txt" then put thisLine & return > after theList > end repeat > end buildPickList > ----------------- > > Since I am new to programming and Rev I've got questions regarding > variables. I > haven't declared the variables at the beginning of the function. Is > this good > practice? It is not necessary to declare a variable that will only be used in one handler. The "mouseup" handler in this case. If a variable needs to be valid in a complete script then you have to declare it as a "local": ########## local yourvar on mouseneter put fld 1 into yourvar end mouseener on mouseup ### do somtehing with yourvar end mouseup on mouseleave put yourvar into fld 1 end mouseleave etc... ############ If you need the value of a variable in all your scripts in all your stacks (during one RR-session) declare it as global. See the index for "local" and "global". > There is a variable created in this line "repeat for each line > thisLine in > theFileList" which I filched the method from the "repeat" section of > the > Transcript dictionary. Why should it work? I would have thought I > would have > had to do something like below (except "this" is reserved for cards > and stacks) > : > > "repeat for each line of theFileList > set theLine to this line... " > > It seems logically inconsistent to create variable simply by placing > it after > "repeat for each line". Why does it work? Sounds like a philosophical question ;-) Because the engine is programmed that way. > Aside the above can the function be improved/made more efficent? Yes :-) on buildPickList theList set the itemDelimiter to "/" set the defaultFolder to item 1 to -2 of the effective filename of this stack put the files into theFileList filter theFileList with "*.txt" ## this will only leave files ending with "*.txt" in theFileList ## and you can save the variable "theList" for bad times or winter ;-) ## read "is not necessary anymore" end buildPickList > TIA, Fred D You're welcome. Have a nice weekend Regards Klaus Major klaus.major at metascape.org From ambassador at fourthworld.com Fri Sep 27 08:52:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Sep 27 08:52:01 2002 Subject: Variable convention questions In-Reply-To: <85256C41.004538AC.00@mail.mcc.org> Message-ID: Fred_D_Yocum at mail.mcc.org wrote: > ----------------- > on buildPickList theList > set the itemDelimiter to "/" > set the defaultFolder to item 1 to -2 of the effective filename of this stack > put the files into theFileList > repeat for each line thisLine in theFileList > if char -3 to -1 of thisLine is "txt" then put thisLine & return after theList > end repeat > end buildPickList > ----------------- > > Since I am new to programming and Rev I've got questions regarding variables. > I haven't declared the variables at the beginning of the function. > Is this good practice? You can optionally declare variables locally if you prefer; you can enforce this by setting the explicitVariables property to true. Good practice? It does require more discipline and a little extra typing, but can help debugging. It has no effect one way or another on performance. I think this one may be considered a matter of taste. > Aside the above can the function be improved/made more efficent? You can replace: repeat for each line thisLine in theFileList if char -3 to -1 of thisLine is "txt" then put thisLine & \ return after theList end repeat ...with: filter theList with "*.txt" -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any database on any site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From dsc at swcp.com Fri Sep 27 10:28:00 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Sep 27 10:28:00 2002 Subject: Variable convention questions In-Reply-To: <85256C41.004538AC.00@mail.mcc.org> Message-ID: On Friday, September 27, 2002, at 06:36 AM, Fred_D_Yocum at mail.mcc.org wrote: > It seems logically inconsistent to create variable simply by > placing it after > "repeat for each line". Why does it work? This occurs in English. "For any number X there exists its complement -X." If we borrow from English it would seem that creating a variable would be natural. (Of course, one might argue that the scope should be within the repeat and it would act like a constant through each cycle if we push the English model.) Transcript will create local variables as needed for most but all cases. (Others on the list are better qualified to comment on style.) Dar Scott From troy at rpsystems.net Fri Sep 27 11:01:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Sep 27 11:01:01 2002 Subject: Variable convention questions In-Reply-To: Message-ID: On 9/27/02 11:21 AM, "Dar Scott" wrote: > (Others on the list are better qualified to comment on style.) Farrah hair is out. Gouchos are out. Belly button rings are in. Cell phones in colors are in... Oh. Ah. That's probably not what Dar meant, huh? ;-) -- Troy RPSystems, Ltd. www.rpsystems.net From Fred_D_Yocum at mail.mcc.org Fri Sep 27 12:30:01 2002 From: Fred_D_Yocum at mail.mcc.org (Fred_D_Yocum at mail.mcc.org) Date: Fri Sep 27 12:30:01 2002 Subject: Variable convention questions Message-ID: <85256C41.005F9DA9.00@mail.mcc.org> Filter! I've just looked it up in the Transcript dictionary. I don't have to worry about inconsistencies in logic and it's leaner scripting! filter theList with "*.txt" Thanks, Richard Fred From chipp at chipp.com Fri Sep 27 14:32:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 27 14:32:01 2002 Subject: imagedata must be on screen? In-Reply-To: <0DCA4BB3-D1F3-11D6-A6CF-003065D52E8E@metascape.org> Message-ID: Hey Klaus, Thanks, but I'm 'doing stuff' with the imagedata, so I copy it to a variable, manipulate it and put it somewhere else. I do use your suggestion elsewhere! thanks, Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Klaus Major > Sent: Friday, September 27, 2002 3:28 AM > To: use-revolution at lists.runrev.com > Subject: Re: imagedata must be on screen? > > > Hi Chipp, > > > It appears to me the > > > > set the imagedata of img 1 to the imagedata of img 2 > > > > only works if img 2 is visible on screen. > > > > Is there a way to make this work from an invisible stack, or is MC/RR > > using > > the screen as the image buffer? > > > > -Chipp Walters > > maybe this will work for you ? > > ... > put img 1 of cd 1 of stack "t2" into img 1 of cd 1 of stack "t1" > ... > > Works here with a hidden stack "t2", > but maybe i misunderstood something obvious... > > Have a nice weekend. > > > Regards > > Klaus Major > klaus.major at metascape.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From k_major at os.surf2000.de Fri Sep 27 15:20:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Fri Sep 27 15:20:01 2002 Subject: imagedata must be on screen? In-Reply-To: Message-ID: <1AC8BC11-D256-11D6-B5FC-000A27B49A96@os.surf2000.de> Hi Chipp, i knew it wouldn't be that easy... ;-) > Hey Klaus, > > Thanks, but I'm 'doing stuff' with the imagedata, so I copy it to a > variable, manipulate it and put it somewhere else. I do use your > suggestion > elsewhere! > > thanks, > > Chipp Have a nice weekend. Best Klaus Major k_major at os.surf2000.de From kevin at runrev.com Fri Sep 27 16:14:01 2002 From: kevin at runrev.com (Kevin Miller) Date: Fri Sep 27 16:14:01 2002 Subject: Server going down Message-ID: Hi Everyone, The server will be down for about six hours, starting in six hours time. All mailing lists will be off line during this period. This is because it is being moved to a new data center. Sorry for any inconvenience. Kind regards, Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From chipp at chipp.com Fri Sep 27 17:10:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Sep 27 17:10:01 2002 Subject: imagedata must be on screen? In-Reply-To: <0DCA4BB3-D1F3-11D6-A6CF-003065D52E8E@metascape.org> Message-ID: Klaus, also the "put img 1 of cd 1 of stack "t2" into img 1 of cd 1 of stack "t1"" only seems to work if the image is internal and not a filename... hmmmm -chipp From brendan at poolcreative.com Fri Sep 27 19:26:01 2002 From: brendan at poolcreative.com (Brendan Bonsack) Date: Fri Sep 27 19:26:01 2002 Subject: FTP problem (Jan Schenkel) References: Message-ID: <3D94F6B4.DD04CCBD@poolcreative.com> Hi Klaus, No, sorry, that was a typo. The script does have a slash, but I still get the problem. Brendan Klaus Major wrote: > Hi Brendan, > > > Hi Jan (and Dave!) > > > > Thanks for both of your responses. These helped slightly, but now I > > get an empty (ie 0 byte) file on my server, rather than a string > > inside the file. I'm not sure at all what is causing this! Surelt > > "binefile:/" is enough to denote all of the file's content? > > > > Regards > > Brendan > > did you really script this ? > > ... > put url("binfile:" & it) into tUploadData > ... > > NO slash ! > > Hope this helps > > Klaus Major > klaus.major at metascape.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From mparis at nc.rr.com Fri Sep 27 19:50:01 2002 From: mparis at nc.rr.com (Arclight Media) Date: Fri Sep 27 19:50:01 2002 Subject: ignoring certain keys? References: <3D94F6B4.DD04CCBD@poolcreative.com> Message-ID: <000c01c26688$31315fe0$cc311a42@nc.rr.com> I am trying to build an app that will ignore when a user presses the windows key on a pc, which would normally make the system lose focus on the app and bring up the taskbar. Is there a quick way to do this, or to make sure that the app is always being focused on? (I am having the keys play sounds, and would like to ignore any other than letters and numbers, and am currently using the "onkeyup" handler, which is working great except for the above mentioned key.) Thanks! Mark From Zzyzx at Relia.Net Sat Sep 28 23:01:00 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Sat Sep 28 23:01:00 2002 Subject: ignoring certain keys? References: <3D94F6B4.DD04CCBD@poolcreative.com> <000c01c26688$31315fe0$cc311a42@nc.rr.com> Message-ID: <000201c26763$280e6350$0201000a@drzzyzx> I would also know how to do this. (Basically doing the same kind of stack as you, Mark.) - Josh Dye ----- Original Message ----- From: "Arclight Media" To: Sent: Friday, September 27, 2002 6:44 PM Subject: ignoring certain keys? > I am trying to build an app that will ignore when a user presses the windows > key on a pc, which would normally make the system lose focus on the app and > bring up the taskbar. Is there a quick way to do this, or to make sure that > the app is always being focused on? > > (I am having the keys play sounds, and would like to ignore any other than > letters and numbers, and am currently using the "onkeyup" handler, which is > working great except for the above mentioned key.) > > Thanks! > > Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From rpresender at earthlink.net Sun Sep 29 00:26:01 2002 From: rpresender at earthlink.net (Robert Presender) Date: Sun Sep 29 00:26:01 2002 Subject: Insert and delete Commas In-Reply-To: <200209182155.RAA07259@www.runrev.com> Message-ID: <12BAA1E7-D2D8-11D6-8039-000393A19046@earthlink.net> Ken, please excuse my delay in thanking you for your input. Reading the applicable docs has not enabled me figure out how to implement Regular Expressions. It will be appreciated if you would give an example of how to implement ([-]?) etc. I assume a script is required. If so, what would the script be and where would it be located? TIA Regards ... Bob On Wednesday, September 18, 2002, at 02:55 PM, Ken Ray wrote: snip > And to explain the regEx (which is something I do every time I make a > regex > post), here's how it breaks up: > > ([-]?) > Look for 0 or 1 occurrence ("?") of a hyphen ("[-]"), and return it > ("()") into the first variable provided (tMinusHold). > > ([0-9]*) > Then look for 0 or more occurrences ("*") of a number ("[0-9]"), > and > return it ("()") into the second variable provided (tMainNum). > > [\.]? > Then look for 0 or 1 occurence ("?") of a decimal point ("\." - > the "\" > escapes this 'special' character so it's not misinterpreted). Since > there's > no parentheses, don't return anything, just use it as a delimiter. > > ([0-9]*) > Finally, look for 0 or more occurrences ("*") of a number > ("[0-9]"), and > return it ("()") into the last variable provided (tDecimalHold). From brymac at i-2000.com Sun Sep 29 01:16:01 2002 From: brymac at i-2000.com (Bryan McCormick) Date: Sun Sep 29 01:16:01 2002 Subject: passing headers...help! Message-ID: <5.1.1.6.0.20020929020851.00a24df0@mail.i-2000.com> OK folks, this one is beyond my skills. How do I get Rev to send this URL properly to get the page back? I suspect it involves sending custom headers and such, but how do I know how the CGI expects the information? http://www.cboe.com/Common/PageViewer.asp?HEAD=Market+Statistics+Summary&SEC=3&DIR=TTMDMarketStat&Calendar=1&Dy=26&Mo=9&Yr=2002 Help much appreciated. From Doug_Ivers at lord.com Sun Sep 29 01:48:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Sun Sep 29 01:48:01 2002 Subject: go recent Message-ID: I gather from the documentation that "go back" is the same as "go recent" and "go forward" is the opposite of "go recent". The problem I ran into is explained by way of example: I hit the go back button X times, then I hit the go forward button X times (so far so good), then I hit the forward button again and nothing should happen, however it takes me to some other card. Why? How can I avoid this? I also don't understand why the recentCards list changes when I go back -- regardless of the lockRecent property. Since it changes, why isn't there a "recentCardsForward" list so I can know where "go forward" will go? (I know I can use "lockScreen" and go and check the card, but that is a kludge.) Do I have to set up a global and keep track of each "go back"? Seems like Rev should provide this. -- D -------------- next part -------------- An HTML attachment was scrubbed... URL: From kray at sonsothunder.com Sun Sep 29 02:26:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 29 02:26:01 2002 Subject: Insert and delete Commas References: <12BAA1E7-D2D8-11D6-8039-000393A19046@earthlink.net> Message-ID: <00d001c26787$e483e450$6601a8c0@mckinley.dom> Robert, > Ken, please excuse my delay in thanking you for your input. No problem. :-) > Reading the applicable docs has not enabled me figure out how to > implement Regular Expressions. It will be appreciated if you would > give an example of how to implement > ([-]?) etc. I assume a script is required. If so, what would the > script be and where would it be located? These were attempts at explaining the full regular expression use of the matchText function, in the post, which was: function insertCommas pNumber local tMinusHold,tMainNum,tDecimalHold get matchText(pNumber,"([-]?)([0-9]*)[\.]?([0-9]*)",tMinusHold,tMainNum,tDecimal Hold) if it is true then -- should be, but can't hurt to check put "" into returnVal if tDecimalHold <> "" then put "." before tDecimalHold repeat with x = length(tMainNum) down to 1 if ((length(tMainNum) - x) mod 3 = 0) and (x <> length(tMainNum)) then \ put "," before returnVal put char x of tMainNum before returnVal end repeat return tMinusHold & tMainNum & tDecimalHold end if end insertCommas The code above is an example of the regular expression: ([-]?)([0-9]*)[\.]?([0-9]*) which I described in the previous post. I don't know what you mean by "I assume a script is required. If so, what would the script be and where would it be located?"... can you elaborate? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From malte.brill at t-online.de Sun Sep 29 02:57:01 2002 From: malte.brill at t-online.de (malte brill) Date: Sun Sep 29 02:57:01 2002 Subject: Collision detection: a comparison. In-Reply-To: <200209241344.JAA12325@www.runrev.com> Message-ID: <1D59A0.6AA%malte.brill@t-online.de> Hi there. I?m still playing around with collision detection. Frist I tried using the intersect function, but that one is not precise enough for irregular shaped objects, as it only checks the rectangles of colliding objects. And checking the masked data is much too slow. Actually I am working through some tutorials I found on the web and found some math to check the distance between two objects middle points. So now I am able to check collision for circular shaped objects fairly precise.I made a small comparison stack downloadable at www.derbrill.de/revstack/collide.rev.bin If you open the stack in the IDE and start using the browse tool, you might need to hit the reset button first. I still have to add some things in the mouseStilldown scripts of the objects, as you might move the two balls outside of the stack or behind the walls. Anyway the stack works for me testing the differences between the two principles. If someone knows, where I can find more tutorials on collision detection on the web, or has made experiences with algorithms for collision detection of ellipsoids please let me know. regards, Malte From gary.rathbone at btclick.com Sun Sep 29 05:24:01 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Sun Sep 29 05:24:01 2002 Subject: ignoring certain keys? In-Reply-To: <000c01c26688$31315fe0$cc311a42@nc.rr.com> Message-ID: From janschenkel at yahoo.com Sun Sep 29 06:37:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Sep 29 06:37:01 2002 Subject: passing headers...help! In-Reply-To: <5.1.1.6.0.20020929020851.00a24df0@mail.i-2000.com> Message-ID: <20020929113047.23522.qmail@web11908.mail.yahoo.com> Hello Bryan, Unlike the new model of Web Services employing the SOAP-protocol and its WDSL-declarations, CGI-solutions have no fixed way of telling what parameters they expect and how they should be formed. The only thing you can do, basically, is look at the URL, substitute the data with your own and pray that if it works, the site doesn't change its CGI at some point in the future. In this case, the cgi program is an .asp file, which we find before the question mark. Its parameters are divided by ampersands and show their names before the equality signs and their content behind. So the PageViewer.asp on the server expects the parameters: - HEAD - SEC - DIR - Calendar - Dy - Mo - Yr We can conclude what some of these parameters are (such as: Dy = Day ; Mo = Month ; Yr = Year) and guess at some others (such as: Calendar = 1 therefore the next 3 parameters are Dy, Mo and Yr). But unless it's documented somewhere, there's no real way of knowing except through trial and error. And as a lot of sites aren't particularly happy with people extracting and repackaging the content of their site, they quite happily change their own systems on a regular basis. Hope this helped nonetheless, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Bryan McCormick wrote: > OK folks, this one is beyond my skills. How do I get > Rev to send this URL > properly to get the page back? I suspect it involves > sending custom headers > and such, but how do I know how the CGI expects the > information? > > http://www.cboe.com/Common/PageViewer.asp?HEAD=Market+Statistics+Summary&SEC=3&DIR=TTMDMarketStat&Calendar=1&Dy=26&Mo=9&Yr=2002 > > Help much appreciated. __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From janschenkel at yahoo.com Sun Sep 29 06:46:02 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Sep 29 06:46:02 2002 Subject: FTP problem (Jan Schenkel) In-Reply-To: <3D94F6B4.DD04CCBD@poolcreative.com> Message-ID: <20020929113931.36055.qmail@web11902.mail.yahoo.com> Hi Brendan, Have you tested if it works with the data from a field -- so just plain text data? Are you using the latest LibURL package? It's available on the RunRev website. One other thing you could do is check the error log and see if it gives you any clues: - on the same card as the scipt you're using to upload, create a scrolling field "FTP_log" - just before you send anything upstream, insert the following line in your script: libUrlSetLogField the long name of field "FTP_log" This will show you the results of the commands as you would have seen them if you had gone to the command console and typed "ftp example.net", etc. I'm sure we can get your script on track once we figure out where exactly it's going wrong. Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Brendan Bonsack wrote: > Hi Klaus, > > No, sorry, that was a typo. The script does have a > slash, but I still get > the problem. > > Brendan > > Klaus Major wrote: > > > Hi Brendan, > > > > > Hi Jan (and Dave!) > > > > > > Thanks for both of your responses. These helped > slightly, but now I > > > get an empty (ie 0 byte) file on my server, > rather than a string > > > inside the file. I'm not sure at all what is > causing this! Surelt > > > "binefile:/" is enough to denote all of the > file's content? > > > > > > Regards > > > Brendan > > > > did you really script this ? > > > > ... > > put url("binfile:" & it) into tUploadData > > ... > > > > NO slash ! > > > > Hope this helps > > > > Klaus Major > > klaus.major at metascape.org __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From brymac at i-2000.com Sun Sep 29 11:02:01 2002 From: brymac at i-2000.com (Bryan McCormick) Date: Sun Sep 29 11:02:01 2002 Subject: passing headers...help! In-Reply-To: <20020929113047.23522.qmail@web11908.mail.yahoo.com> References: <5.1.1.6.0.20020929020851.00a24df0@mail.i-2000.com> Message-ID: <5.1.1.6.0.20020929114844.00a316c0@mail.i-2000.com> Ah, I see. I think. But as I've never had to do this before, and presuming I'm willing to slog through and experiment, what does the code for this look like? do I do a POST and then pass the URL each time for each? how do I assemble all these header fields and pass them? are they all CRLF separated along the lines of HEAD&CRLF&SEC&CRLF... that i concatenate together? what do I so once i've passed them? i'm afraid i'm a total babe in the woods with this sort of thing. btw this script is being written strictly as a personal convenience for doing some math transforms on the data sets which are totally public. unfortunately CBOE by making a handy calendar based script driven interface for the casual browser has created a nightmare to get at the data. and oddly there isn't even a "pay" alternative for this. you have to go to the site and click on the calendar interface to load each day. the alternative is hand-posting these into excel which with months of data quickly becomes a horrible thing to do. At 04:30 AM 9/29/02 -0700, you wrote: >Hello Bryan, > >Unlike the new model of Web Services employing the >SOAP-protocol and its WDSL-declarations, CGI-solutions >have no fixed way of telling what parameters they >expect and how they should be formed. >The only thing you can do, basically, is look at the >URL, substitute the data with your own and pray that >if it works, the site doesn't change its CGI at some >point in the future. > >In this case, the cgi program is an .asp file, which >we find before the question mark. Its parameters are >divided by ampersands and show their names before the >equality signs and their content behind. >So the PageViewer.asp on the server expects the >parameters: >- HEAD >- SEC >- DIR >- Calendar >- Dy >- Mo >- Yr > >We can conclude what some of these parameters are >(such as: Dy = Day ; Mo = Month ; Yr = Year) and guess >at some others (such as: Calendar = 1 therefore the >next 3 parameters are Dy, Mo and Yr). But unless it's >documented somewhere, there's no real way of knowing >except through trial and error. >And as a lot of sites aren't particularly happy with >people extracting and repackaging the content of their >site, they quite happily change their own systems on a >regular basis. > >Hope this helped nonetheless, > >Jan Schenkel. > >"As we grow older, we grow both wiser and more foolish >at the same time." (De Rochefoucald) > >--- Bryan McCormick wrote: > > OK folks, this one is beyond my skills. How do I get > > Rev to send this URL > > properly to get the page back? I suspect it involves > > sending custom headers > > and such, but how do I know how the CGI expects the > > information? > > > > >http://www.cboe.com/Common/PageViewer.asp?HEAD=Market+Statistics+Summary&SEC=3&DIR=TTMDMarketStat&Calendar=1&Dy=26&Mo=9&Yr=2002 > > > > Help much appreciated. > >__________________________________________________ >Do you Yahoo!? >New DSL Internet Access from SBC & Yahoo! >http://sbc.yahoo.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Sun Sep 29 13:26:00 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Sep 29 13:26:00 2002 Subject: Collision detection: a comparison. In-Reply-To: <1D59A0.6AA%malte.brill@t-online.de> Message-ID: On Monday, January 18, 2038, at 08:14 PM, malte brill wrote: > And checking > the masked data is much too slow. At most you need only check the pixels that overlap. If the rectangles of two images do not overlap, there is no collision. If they do, check only the overlapping part. Perhaps a collision occurs when the product of the overlaping alphas are greater than some threshold. If your physics prevents two objects being at the same place, you might not have a lot of overlap. Keep your images tight; don't leave a lot of transparent space about a picture. Depending on your physics, you might need only check the edges of the picture. You might be able to check even less pixels with certain assumptions, such as the shape being convex. If pixel by pixel checking is too slow, you might roughly model each object with a small list of rectangles in a custom property. An overlap occurs if any rectangle from one's list overlaps one from the other. This is n**2, so... How about limiting this to a few rectangles and then use the pixel method for within that? Or, related, breaking up larger images into smaller. Just a handful of wild ideas. I'd try checking the alphas and seeing how slow that really is. Dar Scott From rpresender at earthlink.net Sun Sep 29 13:55:01 2002 From: rpresender at earthlink.net (Robert Presender) Date: Sun Sep 29 13:55:01 2002 Subject: Insert and delete Commas In-Reply-To: <200209291049.GAA12091@www.runrev.com> Message-ID: <0AF6E0E1-D3DC-11D6-ADCD-000393A19046@earthlink.net> Ken, On Sunday, September 29, 2002, at 03:49 AM, you wrote: snip > Robert, >> Reading the applicable docs has not enabled me figure out how to >> implement Regular Expressions. It will be appreciated if you would >> give an example of how to implement >> ([-]?) etc. I assume a script is required. If so, what would the >> script be and where would it be located? > > These were attempts at explaining the full regular expression use of > the > matchText function, in the post, which was: Sorry for my misunderstanding. My confusion arose from the fact that I tried, many times in a test stack, to get your script to work without success. After reading your last post, which told me I was barking up the wrong tree, I again went to work to get your script to work. I discovered the culprit to be a wrap around of the long ' if' line. I typed in a backslash and hit pay dirt. Your script works great. I guess the moral of the story is: "Copy correctly!" Thanks again for your interest and patience. Regards ... Bob From dcragg at lacscentre.co.uk Sun Sep 29 15:05:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sun Sep 29 15:05:01 2002 Subject: passing headers...help! In-Reply-To: <5.1.1.6.0.20020929020851.00a24df0@mail.i-2000.com> References: <5.1.1.6.0.20020929020851.00a24df0@mail.i-2000.com> Message-ID: At 2:09 am -0400 29/9/02, Bryan McCormick wrote: >OK folks, this one is beyond my skills. How do I get Rev to send >this URL properly to get the page back? I suspect it involves >sending custom headers and such, but how do I know how the CGI >expects the information? > >http://www.cboe.com/Common/PageViewer.asp?HEAD=Market+Statistics+Summary&SEC=3&DIR=TTMDMarketStat&Calendar=1&Dy=26&Mo=9&Yr=2002 > >Help much appreciated. It looks like this url wants a particular User-Agent header. Try inserting this line before the "get url" command: set the httpHeaders to "User-Agent: Mozilla/4.0 (compatible;MSIE 5.5;Windows 98)" Cheers Dave Cragg From mail at richard-hillen.de Sun Sep 29 15:21:01 2002 From: mail at richard-hillen.de (Richard Hillen) Date: Sun Sep 29 15:21:01 2002 Subject: busy-cursor Message-ID: <3D975F4A.B2CF8725@richard-hillen.de> Hello list, as I did for a long time with Hypercard, I inform the user of my programs with "set the cursor to busy" (showing a spinning ball), that the program is running, but will take a moment. Now I compiled for windows and saw, that using windows there is no spinning ball, no other cursor, no hourglass. What to do? Thanx in advance. Richard Hillen. From kray at sonsothunder.com Sun Sep 29 15:48:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Sep 29 15:48:00 2002 Subject: Insert and delete Commas References: <0AF6E0E1-D3DC-11D6-ADCD-000393A19046@earthlink.net> Message-ID: <017001c267f8$01028d50$6601a8c0@mckinley.dom> > I discovered the culprit to be a wrap around of the long ' if' > line. I typed in a backslash and hit pay dirt. Your script works > great. > > I guess the moral of the story is: "Copy correctly!" I know what you mean, Robert... it's happened to me before. :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From janschenkel at yahoo.com Sun Sep 29 15:53:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Sep 29 15:53:00 2002 Subject: passing headers...help! In-Reply-To: <5.1.1.6.0.20020929114844.00a316c0@mail.i-2000.com> Message-ID: <20020929204636.1383.qmail@web11903.mail.yahoo.com> Hi Bryan, The code for getting the data from the html-page at that exact url would be as simple as : put URL "http://www.cboe.com/Common/PageViewer.asp?HEAD=Market+Statistics+Summary&SEC=3&DIR=TTMDMarketStat&Calendar=1&Dy=26&Mo=9&Yr=2002" into tHTMLData You would then of course have to go through the information you get, strip off the header information, and work your way through the body. If you would want the data of some other day, you could try the result of : put "29" into tDay put "9" into tMonth put "2002" into tYear put URL ("http://www.cboe.com/Common/PageViewer.asp?HEAD=Market+Statistics+Summary&SEC=3&DIR=TTMDMarketStat&Calendar=1&Dy=" & tDay & "&Mo=" & tMonth & "&Yr=" & tYear) into tHTMLData Parsing the data to get your information out of it, is a whole different set of fun. After having just had a peek at the HTML-source from within IE, I'd suggest you try something similar to: put lineOffset(" wrote: > Ah, I see. I think. But as I've never had to do this > before, and presuming > I'm willing to slog through and experiment, what > does the code for this > look like? > > do I do a POST and then pass the URL each time for > each? > > how do I assemble all these header fields and pass > them? are they all CRLF > separated along the lines of HEAD&CRLF&SEC&CRLF... > that i concatenate > together? what do I so once i've passed them? i'm > afraid i'm a total babe > in the woods with this sort of thing. > > btw this script is being written strictly as a > personal convenience for > doing some math transforms on the data sets which > are totally public. > unfortunately CBOE by making a handy calendar based > script driven interface > for the casual browser has created a nightmare to > get at the data. and > oddly there isn't even a "pay" alternative for this. > you have to go to the > site and click on the calendar interface to load > each day. the alternative > is hand-posting these into excel which with months > of data quickly becomes > a horrible thing to do. __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com From jeanne at runrev.com Mon Sep 30 00:03:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Sep 30 00:03:01 2002 Subject: hilite, double-click etc. In-Reply-To: Message-ID: At 1:33 PM -0700 9/26/2002, Toma Tasovac wrote: > I would like to be able to add certain grammatical and stylistic >explanations which would not be linked to particular words, but rather to >some difficult phrases, metaphoric expressions etc. So, I wonder if one >could turn some chunks of text into links which would get highlighted with >mouseOver (as in Revolution Documentation) - pointing thus that there is a >note attached to that phrase (not all sentences will have them, of course) > and THEN have the link activated with a control-click or double-click > (since single click should be reserved for individual words), displaying >the note in the field Translation Display.  Here's a quickie version of the highlighting code in the documentation: ---------- local storedHilitedChunk on mouseMove -- first unhighlight the "old" phrase if necessary: if storedHilitedChunk is not empty \ and storedHilitedChunk is not the mouseChunk then do "set the backgroundColor of" && \ storedHilitedChunk && "to empty" put empty into storedHilitedChunk end if -- highlight if the text under the mouse is linked: if the mouseChunk is not empty \ and "link" is in the textStyle of the mouseChunk then set the backgroundColor of the mouseChunk to "yellow" -- saved for later unhighlighting put the mouseChunk into storedHilitedChunk end if pass mouseMove end mouseMove on mouseLeave -- unhighlight any currently highlighted text: if storedHilitedChunk is not empty then do "set the backgroundColor of" && \ storedHilitedChunk && "to empty" put empty into storedHilitedChunk end if pass mouseLeave end mouseLeave ---------- -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From malte.brill at t-online.de Mon Sep 30 02:42:01 2002 From: malte.brill at t-online.de (malte brill) Date: Mon Sep 30 02:42:01 2002 Subject: Collision detection: a comparison. Message-ID: Hi Dar, thanks for the leg up. Indeed, I checked the whole data after every move, silly me. >If pixel by pixel checking is too slow, you might roughly model >each object with a small list of rectangles in a custom property. >An overlap occurs if any rectangle from one's list overlaps one >from the other. This is n**2, so... >How about limiting this to a few rectangles and then use the pixel >method for within that? That sounds very interesting, as it is what I am trying to do. Do you mind giving me some pseudo-code, as I still loose hair on it. How would I define these rectangles for usage with the pixel method? I still haven?t been working much with custom properties, and I think I still don?t get the idea. Thanks. PS: My excuses to the list, for the wrong system time in my previous posting. Seem as if my system battery is low. I synchronized with a time server now, and hope it will work. regards, Malte From menno at libero.it Mon Sep 30 08:01:00 2002 From: menno at libero.it (Piero Menno') Date: Mon Sep 30 08:01:00 2002 Subject: revolution and OSX 10.2+ Animation In-Reply-To: References: Message-ID: Hi to you all, I'm a newbie to revolution, so I beg your pardon if I ask abvious questions: 1) what about revolution and OSX 10.2? Is it fully compatible (both for development and deployment? 2) Once I create several animations with Animation Manager, how should I do to recall and modify previous animations (I can see only the last one)? TIA Piero Menno From brymac at i-2000.com Mon Sep 30 13:34:00 2002 From: brymac at i-2000.com (Bryan McCormick) Date: Mon Sep 30 13:34:00 2002 Subject: passing headers - thanks to all In-Reply-To: References: <5.1.1.6.0.20020929020851.00a24df0@mail.i-2000.com> <5.1.1.6.0.20020929020851.00a24df0@mail.i-2000.com> Message-ID: <5.1.1.6.0.20020930142647.00a4add0@mail.i-2000.com> Dave and Jan, Thanks so much for your help. Turns out it was just the Beast of Redmond like nature of the .asp that wanted this to be an IE user agent on Windows. Bogus, but that's the way CBOE set it up. At 08:58 PM 9/29/02 +0100, you wrote: >At 2:09 am -0400 29/9/02, Bryan McCormick wrote: >>OK folks, this one is beyond my skills. How do I get Rev to send >>this URL properly to get the page back? I suspect it involves >>sending custom headers and such, but how do I know how the CGI >>expects the information? >> >>http://www.cboe.com/Common/PageViewer.asp?HEAD=Market+Statistics+Summary&SEC=3&DIR=TTMDMarketStat&Calendar=1&Dy=26&Mo=9&Yr=2002 >> >>Help much appreciated. > >It looks like this url wants a particular User-Agent header. Try inserting >this line before the "get url" command: > >set the httpHeaders to "User-Agent: Mozilla/4.0 (compatible;MSIE >5.5;Windows 98)" > >Cheers >Dave Cragg >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From rcozens at pon.net Mon Sep 30 15:26:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Sep 30 15:26:01 2002 Subject: Serendipity Library Update 20020930 Message-ID: Hi All, Serendipity Library Update 20020930 is now available at http://www.oenolog.com/ftp/serendipity_downloader.htm This is the first version to include a German translation of Library messages & prompts, and it also adds two new capabilities: * SDB Utilities' File menu now includes a "Convert Text File" menuItem which saves a copy of a text file with line endings appropriate for a specified platform. Why would one need this when the MC engine automatically handles translation? I use it for Read Me & license text files that ship with my Rev files but are not opened by the MC engine. * An "Edit Fields" menuItem has been added to SDB database stacks' Edit Menu. This allows the user to retrieve and edit individual fields of the current record by field number. I would like to mark the introduction of German language capabilities with overdue thanks to all testers and translators. They are acknowledged in the Read Me file; but for those who do not go there: Thanks to: * Sannyasin Sivakatirswami and Ken Ray for initial design critiques and tips on cross-platform scripting. * Sjoerd Op 't Land, whose sound translation made the audio feedback mechanism possible. * Bj?rnke von Gierke, whose suggestions led to an adjustable audio feedback and improvements in the Library Translation screen. * Jose L. Rodriguez Illera, whose critique reminded me not to lock out MetaCard developers with Revolution-specific syntax and who created Mensajes en espa?ol.txt. * Terry Vogelaar, who pointed out the need for ASCII-ANSI conversion of high-order characters and created Nederlandse Berichten.txt. * Yves Copp?, who created Alertes en Fran?ais.txt. * Klaus Major, who created Deutsche Texte.txt. If there is anyone out there who might consider translating the Library's 188 lines of labels, tool tips, menu & menuItem, names, error messages, etc. into another language--especially Italian or Portuguese--please contact me privately and give me an opportunity to gently twist your arm a bit. The Library includes a screen that facilitates line-by-line translation, and you now have the choice of translating from Dutch, French, German, or Spanish as alternatives to English. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "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 brendan at poolcreative.com Mon Sep 30 19:18:01 2002 From: brendan at poolcreative.com (Brendan Bonsack) Date: Mon Sep 30 19:18:01 2002 Subject: FTP problem (Jan Schenkel) References: <200209291049.GAA12145@www.runrev.com> Message-ID: <3D98E943.168DA6A8@poolcreative.com> Hi Jan Thanks for your persistence! I am using the latest Download of RunRev (version 1.1.1). A text transfer works perfectly. I have pasted a typical log field below, and nothing looks particularly wrong, unless I'm missing something (I hope I am!). I have also played around with active/passive modes, but both yield the same result. The transfer succeeds, but the resulting file on the server is 0 bytes long. I am using the Starter Kit version of Revolution, but should this make a difference? -220 Serv-U FTP-Server v2.5k for WinSock ready... -331 User name okay, need password. -230 User logged in, proceed. -257 "/poolcreative" is current directory. -200 Type set to I. -200 PORT Command successful. -150 Opening BINARY mode data connection for testfile.gif. -226-Maximum disk quota limited to 50000 Kbytes - Used disk quota 25862 Kbytes, available 24137 Kbytes -226 Transfer complete. Cheers Brendan -------------------------------- Message: 16 Date: Sun, 29 Sep 2002 04:39:31 -0700 (PDT) From: Jan Schenkel Subject: Re: FTP problem (Jan Schenkel) To: use-revolution at lists.runrev.com Reply-To: use-revolution at lists.runrev.com Hi Brendan, Have you tested if it works with the data from a field -- so just plain text data? Are you using the latest LibURL package? It's available on the RunRev website. One other thing you could do is check the error log and see if it gives you any clues: - on the same card as the scipt you're using to upload, create a scrolling field "FTP_log" - just before you send anything upstream, insert the following line in your script: libUrlSetLogField the long name of field "FTP_log" This will show you the results of the commands as you would have seen them if you had gone to the command console and typed "ftp example.net", etc. I'm sure we can get your script on track once we figure out where exactly it's going wrong. Jan Schenkel.