From dan at danshafer.com Thu Aug 1 01:52:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Thu Aug 1 01:52:01 2002 Subject: Privatizing Custom Properties - Cool Message-ID: I haven't seen anything written about this and because of my background in Smalltalk where you can protect variables from external access quite neatly, I was impressed with RR's ability to let me do this. FWIW. There are two constructs in RR that aren't well documented: getProp and setProp. Their syntax is a little bizarre, but they are potentially quite useful. They offer interesting ways of protecting data from prying eyes. Let's assume you have a custom stack property called propertyLocker. You set its value to "true" on openStack and it's important that it not be changed later except by a script unless someone with proper access authorization clicks on a button to do so. In the stack script, you have two handlers: on openStack set the propertyLocker of this stack to "true" end openStack setProp propertyLocker, spam global theMethod if theMethod is "button" then answer "Sorry, that property is not publicly settable" with "OK" else pass propertyLocker end if end propertyLocker, Here, I simplified the process a bit by having an attempt to set the custom property's value by clicking on a button which defines and sets a global variable called "theMethod" to "button." You could obviously use a lot of other tricks and techniques here. And instead of an absolute lock-out as I have implemented it here, it would obviously be easy to do a password-protect at this point as well. Now the mouseUp handler for the button that allows an authorized user to change the value of the custom property would perhaps look like this: on mouseUp global theMethod put "button" into theMethod set the propertyLocker of this stack to "false" end mouseUp The thing that's a little strange, syntactically, is the setProp handler. The docs define this as a "construct" rather than a handler and it doesn't use the "on" syntax of a message handler. Notice that you have to supply a second argument, which I've called (creatively enough) "spam" (my favorite programming language is not Transcript, alas, but Python...'nuf said). Notice, too, that the "pass" doesn't pass "setProp" as might expect but rather the name of the property whose setProp construct is involved. In this case, that's propertyLocker. Finally, check out the "end" line; the comma there is mandatory. leave it out and you find yourself in Bugsville. You can use setProp's sibling getProp to protect a custom property from being read or displayed. The same basic syntax and approach apply. I am going to experiment with these cute little constructs to see if I can implement a fairly reusable protocol that would require scripts that wish to access custom properties of certain objects to do so only through a script interface (what we in Smalltalk would call getters and setters or get/set methods) rather than by direct access to the property. This has the design advantage that you can change the type of data stored in the custom property and not break any code. Enough late-night ramblings. Likely only a very few of you will find this of more than passing interest, but there you have it! -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 sylvain.legourrierec at son-video.com Thu Aug 1 03:19:00 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Thu Aug 1 03:19:00 2002 Subject: need help on revdb_querylist Message-ID: <000a01c23933$f2bca5c0$0801a8c0@sylvain> hello, I do not understand how revdb_querylist works. here comes my script global id_dbConnection, id_dbCursor on mouseUp put empty into field "result" put revdb_connect ("MySQL", "myHost", "myBase", "mySelf", "myPass") into id_dbConnection put "select * from myTable" into myQuery put revdb_querylist(id_dbConnection, myQuery) into field "result" end mouseUp this script does not work! but why? thanks ps of course, my db connection works and other function as revdb_query works perfectly... -------------- next part -------------- An HTML attachment was scrubbed... URL: From sims at ezpzapps.com Thu Aug 1 03:21:00 2002 From: sims at ezpzapps.com (sims) Date: Thu Aug 1 03:21:00 2002 Subject: User-Agent In-Reply-To: References: Message-ID: If I understand this correctly, Rev sends "Revolution" as the User-Agent when interacting with a web server. I have seen some shareware which enables the user to choose whatever User-Agent they want to send from a list of popular browsers. Is it likely that any servers refuse requests from a User-Agent that they have not heard from before? sims ------- from libUrl ---- ## fill in User-Agent if "rev" is in the short name of me then put "Revolution" into tAgent else put "Metacard" into tAgent end if put tAgent && "(" & the platform & ")" after line 3 of tRequest From janschenkel at yahoo.com Thu Aug 1 03:30:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Aug 1 03:30:01 2002 Subject: Privatizing Custom Properties - Cool In-Reply-To: Message-ID: <20020801082817.57792.qmail@web11904.mail.yahoo.com> Hi Dan, I see your plan, and it is interesting. The main thing I've used setProp / getProp for so far, was to easily protect the consistency of an object by patching the property's setProp to also change other properties -- though another tactic is to switch the active propertySet, especially if you're working with predefined combinations. But this is an intresting extra in the arsenal. Thanks for the info, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Dan Shafer wrote: > I haven't seen anything written about this and > because of my > background in Smalltalk where you can protect > variables from external > access quite neatly, I was impressed with RR's > ability to let me do > this. > > FWIW. > > There are two constructs in RR that aren't well > documented: getProp > and setProp. Their syntax is a little bizarre, but > they are > potentially quite useful. They offer interesting > ways of protecting > data from prying eyes. > > Let's assume you have a custom stack property called > propertyLocker. > You set its value to "true" on openStack and it's > important that it > not be changed later except by a script unless > someone with proper > access authorization clicks on a button to do so. > > In the stack script, you have two handlers: > > on openStack > set the propertyLocker of this stack to "true" > end openStack > > setProp propertyLocker, spam > global theMethod > if theMethod is "button" then > answer "Sorry, that property is not publicly > settable" with "OK" > else > pass propertyLocker > end if > end propertyLocker, > > Here, I simplified the process a bit by having an > attempt to set the > custom property's value by clicking on a button > which defines and > sets a global variable called "theMethod" to > "button." You could > obviously use a lot of other tricks and techniques > here. And instead > of an absolute lock-out as I have implemented it > here, it would > obviously be easy to do a password-protect at this > point as well. > > Now the mouseUp handler for the button that allows > an authorized user > to change the value of the custom property would > perhaps look like > this: > > on mouseUp > global theMethod > put "button" into theMethod > set the propertyLocker of this stack to "false" > end mouseUp > > The thing that's a little strange, syntactically, is > the setProp > handler. The docs define this as a "construct" > rather than a handler > and it doesn't use the "on" syntax of a message > handler. Notice that > you have to supply a second argument, which I've > called (creatively > enough) "spam" (my favorite programming language is > not Transcript, > alas, but Python...'nuf said). > > Notice, too, that the "pass" doesn't pass "setProp" > as might expect > but rather the name of the property whose setProp > construct is > involved. In this case, that's propertyLocker. > Finally, check out the > "end" line; the comma there is mandatory. leave it > out and you find > yourself in Bugsville. > > You can use setProp's sibling getProp to protect a > custom property > from being read or displayed. The same basic syntax > and approach > apply. > > I am going to experiment with these cute little > constructs to see if > I can implement a fairly reusable protocol that > would require scripts > that wish to access custom properties of certain > objects to do so > only through a script interface (what we in > Smalltalk would call > getters and setters or get/set methods) rather than > by direct access > to the property. This has the design advantage that > you can change > the type of data stored in the custom property and > not break any code. > > Enough late-night ramblings. Likely only a very few > of you will find > this of more than passing interest, but there you > have it! > -- > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From dcragg at lacscentre.co.uk Thu Aug 1 04:03:02 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu Aug 1 04:03:02 2002 Subject: User-Agent In-Reply-To: References: Message-ID: At 11:23 am +0300 1/8/02, sims wrote: > If I understand this correctly, Rev sends "Revolution" as the User-Agent >when interacting with a web server. > >I have seen some shareware which enables the user to choose whatever >User-Agent they want to send from a list of popular browsers. > >Is it likely that any servers refuse requests from a User-Agent that they >have not heard from before? Possibly. Many web servers are said to only accept connections from IE browsers. You can set your own User-Agent field by using the httpHeaders property. Example from an ealier post: put "User-Agent: Mozilla/4.0 (compatible; MSIE 5.0b2; Windows NT)" into tAgentString set the httpHeaders to tAgentString But I suggest you leave things as they are, giving Revolution more publicity in web server logs around the world. (Hmmm. I wonder how those FBI/CIA/NSA snooping tools respond to User-Agent: Revolution.) Cheers Dave From dcragg at lacscentre.co.uk Thu Aug 1 04:08:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu Aug 1 04:08:01 2002 Subject: Privatizing Custom Properties - Cool In-Reply-To: References: Message-ID: At 11:49 pm -0700 31/7/02, Dan Shafer wrote: > Finally, check out >the "end" line; the comma there is mandatory. leave it out and you >find yourself in Bugsville. It's probably to do with your opening line: setProp propertyLocker, spam should be: setProp propertyLocker spam Cheers Dave From sims at ezpzapps.com Thu Aug 1 04:28:02 2002 From: sims at ezpzapps.com (sims) Date: Thu Aug 1 04:28:02 2002 Subject: User-Agent In-Reply-To: References: Message-ID: > >But I suggest you leave things as they are, giving Revolution more >publicity in web server logs around the world. (Hmmm. I wonder how >those FBI/CIA/NSA snooping tools respond to User-Agent: Revolution.) I was expecting CIA agents at my door after receiving my "Revolution" manuals... ;-) sims From yvescoppe at skynet.be Thu Aug 1 04:33:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Thu Aug 1 04:33:01 2002 Subject: Two Quit Menus in OSX In-Reply-To: References: Message-ID: >on 7/31/2002 12:31 PM, yves COPPE at yvescoppe at skynet.be wrote: > >>> Hi there, >>> >>> Can anyone tell me why when I run my >>> standalone application under Mac OSX >>> there are 2 Quit Menus? >>>... >> >> For me too, it's the same problem. > >Yves, > >At least I'm not the only one. Now what can we >do about it? > >Are you able to get the "About" to work under Mac OS X? > >Rick Harrison > The about menu works fine here but I still have 2 "quit" menus !! one under the about menu and another under the file menu. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From janschenkel at yahoo.com Thu Aug 1 04:36:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Aug 1 04:36:00 2002 Subject: need help on revdb_querylist In-Reply-To: <000a01c23933$f2bca5c0$0801a8c0@sylvain> Message-ID: <20020801093327.63462.qmail@web11903.mail.yahoo.com> Hi Sylvain, I've been trying it out, and after some fiddling I was able to determine that Revolution returns an error "revdberr, restricted under current license" (Note: I actually had to answer char 1 to 50 of it, or the answer box would happily disappear) And this for a revdb_querylist() where a revdb_query() with the same parameters worked perfectly fine. I knew the Starter Kit was limited, but I do have a professional license, so I wonder what the deal is... 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: > hello, > > I do not understand how revdb_querylist works. > > here comes my script > > > > global id_dbConnection, id_dbCursor > > on mouseUp > > put empty into field "result" > put revdb_connect ("MySQL", "myHost", "myBase", > "mySelf", "myPass") into id_dbConnection > put "select * from myTable" into myQuery > put revdb_querylist(id_dbConnection, myQuery) into > field "result" > > end mouseUp > > > this script does not work! but why? > > thanks > > > ps of course, my db connection works and other > function as revdb_query works perfectly... > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From mcmanusm at kramergraphics.com Thu Aug 1 07:49:01 2002 From: mcmanusm at kramergraphics.com (Mike McManus) Date: Thu Aug 1 07:49:01 2002 Subject: Multi stacks = multi processes? In-Reply-To: <20020731074815.2358.qmail@web11907.mail.yahoo.com> Message-ID: Thanks Jan. I think that is what makes sense. Though most of the work will be done with freestanding Revolution stacks, not all of it will. So that may make life easier. Plus, god only knows what someone will want to tie into this application at some point. Gives me the freedom to base it on IAC for all activites. You don't have to tell me about limiting the specs before I start programing. I know that, you know that...but business owners just never seem to grasp it. On Wednesday, July 31, 2002, at 03:48 AM, Jan Schenkel wrote: > Hi Mike, > > So far nearly all the suggestions others have made are > for building your own "send" cycles to keep everything > running within a single Revolution process. > > Might I suggest a different approach? It's actually > pretty easy to have communication between several > Rev-apps under MacOS, using the IAC (Inter-Application > Communciation) calls provided within Revolution. > Specifically I'm talking about > send to program > request > reply > > First you would have to build one separate app per > type of process, then whenever you have a long job > ahead of you, your main program could spawn off a new > child-process and interact with it using these > commands. > If you setup "send" cycles in the child-process, you > can then see how far along it is in progress, or if > you don't need that detailed information you can > simply let it get back to you once it's finished. > The main thing you'd have to do is maintain jobID's > for easy communication, and report to the user. > > So if we put this theory in practice, we get the > following cycle: > > 1) spawn a new child-process for a file to process > launch fileToProcess with > The childProcess will get an 'odoc' appleEvent which > tells it what file to open, so add a handler for this > event to your stack script > on appleEvent pClass, pID, pSender > switch (pClass&pID) > case "aevtodoc" > request appleEvent data > put it into theFile > break > default > break > endswitch > end appleEvent > > 2) setup communication and jobID > Then the childProcess asks the mainProcess that it's > ready to proceed and would like to have a jobID > request "jobID("&theFile&")" from program \ > > > 3) commincation between mainProcess and childProcess > Once that has been established, we can either setup > our send cycle within the childProcess and let the > mainProcess poll the status with > request "jobStatus" from program > or forego with these hassles and keep the mainProcess > up to date with our progress at regular intervals > within the process, or simply at the end with > send "updateStatus"&&jobID"&","&jobStatus to \ > program > > 4) cleaning up at the end > The childProcess terminates and the mainProcess can > update its screen to inform the user. In the meantime, > it could have spawned off a few other processes, and > all it would have had to do itself is minor tasks and > maintain communication with the child-processes. > > Hope this helped a bit. Admittedly, I've never done > this myself, though I have in the past successfully > used the IAC-capabilities of MacOS+HyperCard to build > a client-server architecture without a full-fledged > dtabase server at the back-end. > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > --- Mike McManus wrote: >> I am sure this has come up before, but I can't find >> it. >> >> I have a stack with substacks that will be handling >> a number of things >> from watching folders, copying files and processing >> very large files(up >> to about 300meg) None of the processes is a >> killer...under Mac OS X, OS >> 9 is slow. But now I want to move this whole thing >> to a more hot folder >> based system. Meaning multiple users will be putting >> multiple files into >> folders that my app will then check, move, read and >> write. I figure I >> can deal with handing of the process to substack or >> stacks as required, >> but I want them to happen simiultaniously? >> >> What I want is to be copying at the same time a file >> is being read/wrote >> and still keep an eye on the directories. each >> process working with >> different files of course. Normally Rev would not >> do that. But if I put >> the different processes in different STACKS or >> SUBSTACKS? would I be >> able to get this? >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> > http://lists.runrev.com/mailman/listinfo/use-revolution > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.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 Thu Aug 1 09:22:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Aug 1 09:22:01 2002 Subject: Dynamic Data -- Off Topic In-Reply-To: References: Message-ID: > > Have you seen "Memento"? > >No. What is it? Tony, et al: It's a movie that has played the theaters and is now on cable & satellite. The protagonist suffered a trauma that left him with no short-term memory: if someone he did not know before the trauma leaves his presence for five minutes and returns, he has forgotten who they are. It makes some interesting comments on our perception of "reality" and how we determine what we think events tell us. Also interesting because the scenes are presented in reverse chronologic order. -- 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 Aug 1 09:22:14 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Aug 1 09:22:14 2002 Subject: Dynamic Data--Off Topic In-Reply-To: References: Message-ID: >Are you also living your life kinda "two steps forward and one back" Rob? ;) Troy, et al: Actually, at the moment I feel caught in a "scope creep" nightmare: about five weeks ago I was shooting for a July 4th release of Serendipity Library. But there is light at the end of the tunnel...expect a call for pre-release testers by week's 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 Aug 1 09:22:16 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Aug 1 09:22:16 2002 Subject: Two Quit Menus in OSX In-Reply-To: References: Message-ID: >The about menu works fine here but I still have 2 "quit" menus !! >one under the about menu and another under the file menu. How many menus are in the stack? If there is only one (File), the problem may be due to Revolution placing the last menuItem in the last menu into the Apple menu. Try adding a Help menu to your design with an About menuItem. -- 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 Aug 1 09:22:20 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Aug 1 09:22:20 2002 Subject: Dynamic Data In-Reply-To: References: Message-ID: >I think you've hit upon my confusion. If the data is a separate stack >(opened by the main stack), how is that all bundled together into a >standalone so that the data stack is still user modifiable/saved? Tony, Klaus, et al: The Distribution Builder gives you the option of bundling all stacks in the standalone or distributing them as separate files. I have read some comments to the effect that a standalone can modify an internal substack. This seems unlikely to me; but others have said so and I have not tested it. -- 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 harrison at all-auctions.com Thu Aug 1 09:49:01 2002 From: harrison at all-auctions.com (Richard Harrison) Date: Thu Aug 1 09:49:01 2002 Subject: Two Quit Menus in OSX In-Reply-To: Message-ID: on 8/1/2002 10:08 AM, Rob Cozens at rcozens at pon.net wrote: >> The about menu works fine here but I still have 2 "quit" menus !! >> one under the about menu and another under the file menu. > > How many menus are in the stack? > > If there is only one (File), the problem may be due to Revolution > placing the last menuItem in the last menu into the Apple menu. > > Try adding a Help menu to your design with an About menuItem. Rob, I have 5 menus, a help menu, and the About. The About doesn't work in OSX either. Everything works fine under Mac OS 9.2.2 and under windows. Any other ideas? Thanks, Rick Harrison From troy at rpsystems.net Thu Aug 1 10:06:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Thu Aug 1 10:06:01 2002 Subject: Two Quit Menus in OSX In-Reply-To: Message-ID: On Thursday, August 1, 2002, at 10:47 AM, Richard Harrison wrote: > I have 5 menus, a help menu, and the About. The About doesn't work in > OSX > either. Everything works fine under Mac OS 9.2.2 and under windows. Not sure what is going on here. We also have 2 quits, but they both work properly. My understanding was that Rev included the second (under the application name menu) to create some consistency with the OSX way of doing things. It may seem slightly odd, but I understand the reasoning, and both work equally well. Our "about" menu item works fine, too, on all platforms. Well, actually we've only tested Win32, Mac OS9, and OSX. What exactly is the issue? Maybe we could shed some light... -- Troy RPSystems, LTD www.rpsystems.net From rcozens at pon.net Thu Aug 1 11:01:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Aug 1 11:01:01 2002 Subject: Two Quit Menus in OSX In-Reply-To: References: Message-ID: >I have 5 menus, a help menu, and the About. The About doesn't work in OSX >either. Everything works fine under Mac OS 9.2.2 and under windows. > >Any other ideas? Sorry Rick, I have yet to delve into OSX. My next step would be trying to trace the menuPick with the debugger. [Troy:] >Not sure what is going on here. We also have 2 quits, but they both >work properly. My understanding was that Rev included the second >(under the application name menu) to create some consistency with >the OSX way of doing things. It would be really helpful if the mechanism Revolution uses in build Mac menubars were documented somewhere. Does Rev put the last item of the last menu in About and duplicate the last item of the first menus in Applications? If that is the case, how does one create a menu with Quit only under Applications? What menuPick gets sent to what button when Quit is selected from Applications? I hate working with mechanisms that do "the job" automatically when I have no clue as to the algorithm being applied. When such "automatic mechanisms" don't produce the desired/expected result, one is left guessing what to tweak and where to tweak it. -- 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 dan at danshafer.com Thu Aug 1 12:20:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Thu Aug 1 12:20:01 2002 Subject: Privatizing Custom Properties - Cool In-Reply-To: References: Message-ID: At 10:05 AM +0100 8/1/02, Dave Cragg wrote: >At 11:49 pm -0700 31/7/02, Dan Shafer wrote: > >> Finally, check out >>the "end" line; the comma there is mandatory. leave it out and you >>find yourself in Bugsville. > >It's probably to do with your opening line: > >setProp propertyLocker, spam > >should be: > >setProp propertyLocker spam ::sound of open palm smiting forehead:: See, I *know* I shouldn't do this stuff in the middle of the night! My only defense (and I confess it is a weak one at best) is that the docs for setProp and getProp separate arguments by commas including one that is not in brackets immediately following the property name. Since this whole construct is new to me, I just tried to follow the rules. Should have known better. Thanks. >Cheers >Dave >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer Writer, Spiritual Student and Teacher Founder, Fellowship of One Mind, Monterey, CA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From tuviah at runrev.com Thu Aug 1 12:52:01 2002 From: tuviah at runrev.com (Tuviah Snyder) Date: Thu Aug 1 12:52:01 2002 Subject: need help on revdb_querylist Message-ID: <002001c23983$1905ba60$756689ac@user> > on mouseUp > > put empty into field "result" > put revdb_connect ("MySQL", "myHost", "myBase", > "mySelf", "myPass") into id_dbConnection > put "select * from myTable" into myQuery > put revdb_querylist(id_dbConnection, myQuery) into > field "result" > > end mouseUp You need to pass four parameters to revdb_querylist, the first two being the columndelimiter and rowdelimiter..if the column and rowdelimiter are left empty then tab and return are used. on mouseUp put revdb_connect ("MySQL", "myHost", "myBase", "mySelf", "myPass") into id_dbConnection put "select * from myTable" into myQuery put revdb_querylist(,,id_dbConnection, myQuery) into field "result" get revdb_disconnect(dbConnection) end mouseup Tuviah -------------- next part -------------- An HTML attachment was scrubbed... URL: From janschenkel at yahoo.com Thu Aug 1 15:12:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Aug 1 15:12:01 2002 Subject: need help on revdb_querylist In-Reply-To: <002001c23983$1905ba60$756689ac@user> Message-ID: <20020801200925.78352.qmail@web11902.mail.yahoo.com> Hi Tuviah, I must admit I found it a bit strange that you could omit params at the front when you can have a variable number of parameters at the end. However, the documentation shows as first example the syntax Sylvain used ; and the error message was rather unhelpful, I might add. Anyway, thanks for the pointer. Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Tuviah Snyder wrote: > > on mouseUp > > > > put empty into field "result" > > put revdb_connect ("MySQL", "myHost", "myBase", > > "mySelf", "myPass") into id_dbConnection > > put "select * from myTable" into myQuery > > put revdb_querylist(id_dbConnection, myQuery) > into > > field "result" > > > > end mouseUp > You need to pass four parameters to revdb_querylist, > the first two being the columndelimiter and > rowdelimiter..if the column and rowdelimiter are > left empty then tab and return are used. > > > on mouseUp > put revdb_connect ("MySQL", "myHost", "myBase", > "mySelf", "myPass") into id_dbConnection > put "select * from myTable" into myQuery > put revdb_querylist(,,id_dbConnection, myQuery) into > field "result" > get revdb_disconnect(dbConnection) > end mouseup > > Tuviah > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From erivers at rpsystems.net Thu Aug 1 16:23:01 2002 From: erivers at rpsystems.net (Eric Rivers) Date: Thu Aug 1 16:23:01 2002 Subject: Help with setRegistry? References: <007201c23343$ce507540$0a01a8c0@rpsystems> <002701c23356$59779b50$6f00a8c0@mckinley.dom> <004701c238d9$68ccb4e0$0a01a8c0@rpsystems> <087201c238eb$b3d55d90$6f00a8c0@mckinley.dom> Message-ID: <005901c239a1$40cd27e0$0a01a8c0@rpsystems> Ken, > On the Mac, your app will get apple events (specifically the "odoc" event), > from which you can extract the file path (this is from Ben Rubenstein from > an old post last year - thanks, Ben!): > > > To do this on the Mac, your stack needs to handle the > > "appleEvent" message. > > <*snip*> This process doesn't seem to work quite the way that we need it to. The standalone seems to receive appleEvents while it is actually running without a problem. However, what we're trying to do is check an appleEvent that is used to launch the standalone. 2X-clicking a document file launches the standalone but the "on appleEvent" handler never gets triggered in the process and subsequently the standalone then prompts the user for a document. It might be important to mention that document files are simply stack files that have an assortment of custom properties set and have had their stackFileType set to work with the creator code of the standalone prior to being saved as files. The custom properties of the document files are read by the standalaone and stored in variables that are used throughout the standalone's runtime. If the standalone doesn't recognize that it was opened via a document then it has to prompt the user to select a document or it simply can't run. Am I in fact trying to read an appleEvent that has already passed by the boards by the time the standalone is actually up and running? Is there an easier way (or at least a more successful one) to accomplish this through file types and creator codes? Eric Eric Rivers RPSystems http://www.rpsystems.net From kray at sonsothunder.com Thu Aug 1 16:54:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 1 16:54:01 2002 Subject: Help with setRegistry? References: <007201c23343$ce507540$0a01a8c0@rpsystems> <002701c23356$59779b50$6f00a8c0@mckinley.dom> <004701c238d9$68ccb4e0$0a01a8c0@rpsystems> <087201c238eb$b3d55d90$6f00a8c0@mckinley.dom> <005901c239a1$40cd27e0$0a01a8c0@rpsystems> Message-ID: <0adb01c239a5$09f31d70$6f00a8c0@mckinley.dom> Eric, > This process doesn't seem to work quite the way that we need it to. The > standalone seems to receive appleEvents while it is actually running without > a problem. However, what we're trying to do is check an appleEvent that is > used to launch the standalone. 2X-clicking a document file launches the > standalone but the "on appleEvent" handler never gets triggered in the > process and subsequently the standalone then prompts the user for a > document. That's shouldn't happen. As long as the creator of the stack files is the same creator as the app, it should work. I created in MC 2.4.2 (which should work the same as Rev) a brand new stack which had only this code: on appleEvent eClass,eId,eSender answer "Class = " & eClass answer "ID = " & eID answer "Sender = " & eSender request appleEvent data answer "Data = " & it pass appleEvent end appleEvent I then made sure to move the Answer dialog to my stack so I could see results. (Critical step! :-) I then created a standalone with a creator of "TEST". Next, I opened a new stack and saved it immediately under then name "Dummy" and set the stackFileType to "TESTMSTK" and saved it. Then I dragged the Dummy stack on top of the Test application. It ran and answered this: Class = aevt ID = odoc Sender = *::MacOS Data = /Enterprise/Desktop Folder/Dummy Same thing happened when I double-clicked Dummy. Can you try something like this and see what you get? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From troy at rpsystems.net Thu Aug 1 17:19:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Thu Aug 1 17:19:01 2002 Subject: Help with setRegistry? In-Reply-To: <0adb01c239a5$09f31d70$6f00a8c0@mckinley.dom> Message-ID: <4CB05C23-A59C-11D6-8E83-000393853D6C@rpsystems.net> On Thursday, August 1, 2002, at 05:47 PM, Ken Ray wrote: > > Can you try something like this and see what you get? Ken, We do appreciate your continued assistance. If I could ask, what Mac OS version are you testing under? So far, we have had no luck in getting applications to open their documents by double-clicking the document in OSX, or by drag and drop operations. We will definitely follow the steps you have outlined, and let you and the list know the results. Is there any need to edit any of the application's resources outside of setting values in Rev? I have taken a look at using a resource editor to see if anything is amiss, but of course, ResEdit is showing its age (badly), and anything edited there then thinks it is a classic application. This step is literally the last step in a fairly ambitious project for Eric and I, and I can't believe we have spent about a week trying to get files to properly open on all platforms. We had thought that was going to be the easy part!! Thanks. -- Troy RPSystems, LTD www.rpsystems.net From kray at sonsothunder.com Thu Aug 1 19:13:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 1 19:13:01 2002 Subject: Help with setRegistry? References: <4CB05C23-A59C-11D6-8E83-000393853D6C@rpsystems.net> Message-ID: <0ae301c239b8$7dbb2e60$6f00a8c0@mckinley.dom> Ah... that's the issue. I was testing in OS 9 (9.2 to be exact); I'll see what can be done in OS X and get back to you soon (unless someone else knows). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Troy Rollins" To: Sent: Thursday, August 01, 2002 5:16 PM Subject: Re: Help with setRegistry? > > On Thursday, August 1, 2002, at 05:47 PM, Ken Ray wrote: > > > > > Can you try something like this and see what you get? > > Ken, > We do appreciate your continued assistance. If I could ask, what Mac OS > version are you testing under? So far, we have had no luck in getting > applications to open their documents by double-clicking the document in > OSX, or by drag and drop operations. We will definitely follow the steps > you have outlined, and let you and the list know the results. Is there > any need to edit any of the application's resources outside of setting > values in Rev? I have taken a look at using a resource editor to see if > anything is amiss, but of course, ResEdit is showing its age (badly), > and anything edited there then thinks it is a classic application. > > This step is literally the last step in a fairly ambitious project for > Eric and I, and I can't believe we have spent about a week trying to get > files to properly open on all platforms. We had thought that was going > to be the easy part!! > > Thanks. > > -- > 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 kray at sonsothunder.com Thu Aug 1 19:44:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 1 19:44:01 2002 Subject: Two Quit Menus in OSX References: Message-ID: <0b4201c239bc$cd6e7bc0$6f00a8c0@mckinley.dom> The way it is supposed to work is that the last two menu items on the File menu (a separator and the Quit menu item) are removed under OS X and the "natural" OS X Application menu displays the "Quit Application" menu item. The last item of the Help menu (the "About..." menu item) is removed under OS X and the "natural" OS X "About " menu item takes its place. What might have happened is that either (a) somehow Rev added two additional items to the File menu (another separator and another Quit item) and then removed one set leaving the other, or (b) "forgot" to remove the two menu item from the File menu and left them. This sounds like a bug to me. BTW: Testing under MetaCard 2.4.3 and Rev 1.1.1 with a single set of separator/Quit menu items in the File menu works properly with a sample stack... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Rob Cozens" To: Sent: Thursday, August 01, 2002 10:57 AM Subject: Re: Two Quit Menus in OSX > >I have 5 menus, a help menu, and the About. The About doesn't work in OSX > >either. Everything works fine under Mac OS 9.2.2 and under windows. > > > >Any other ideas? > > Sorry Rick, > > I have yet to delve into OSX. My next step would be trying to trace > the menuPick with the debugger. > > [Troy:] > > >Not sure what is going on here. We also have 2 quits, but they both > >work properly. My understanding was that Rev included the second > >(under the application name menu) to create some consistency with > >the OSX way of doing things. > > It would be really helpful if the mechanism Revolution uses in build > Mac menubars were documented somewhere. > > Does Rev put the last item of the last menu in About and duplicate > the last item of the first menus in Applications? If that is the > case, how does one create a menu with Quit only under Applications? > What menuPick gets sent to what button when Quit is selected from > Applications? > > I hate working with mechanisms that do "the job" automatically when I > have no clue as to the algorithm being applied. When such "automatic > mechanisms" don't produce the desired/expected result, one is left > guessing what to tweak and where to tweak it. > -- > > 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 sylvain.legourrierec at son-video.com Fri Aug 2 02:33:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Fri Aug 2 02:33:01 2002 Subject: revdb_querylist->ok thanks Message-ID: <000c01c239f6$b39b6980$0801a8c0@sylvain> -------------- next part -------------- An HTML attachment was scrubbed... URL: From bvg at mac.com Fri Aug 2 04:08:00 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri Aug 2 04:08:00 2002 Subject: Help with setRegistry? In-Reply-To: <0ae301c239b8$7dbb2e60$6f00a8c0@mckinley.dom> Message-ID: On Freitag, August 2, 2002, at 02:06 , Ken Ray wrote: > Ah... that's the issue. I was testing in OS 9 (9.2 to be exact); I'll > see > what can be done in OS X and get back to you soon (unless someone else > knows). I don't know. Sorry. But I had the Idea if there is no solution (aka no apple event gets passed whatever you do) Would it be possible to make a Folder with the ending ".app", and then put an applescript in it which first starts the stack and then passes the file information to the stack (which also would resist in the ".app"-folder) I always thought that this should be possible to do under Mac OS X, but don't now about the lineup for getting it to work properly. This could also make Applications which write to themselves possible (when substacks are saved as files in the ".app"-folder) Just throwing Ideas Bjoernke > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "Troy Rollins" > To: > Sent: Thursday, August 01, 2002 5:16 PM > Subject: Re: Help with setRegistry? > > >> >> On Thursday, August 1, 2002, at 05:47 PM, Ken Ray wrote: >> >>> >>> Can you try something like this and see what you get? >> >> Ken, >> We do appreciate your continued assistance. If I could ask, what Mac OS >> version are you testing under? So far, we have had no luck in getting >> applications to open their documents by double-clicking the document in >> OSX, or by drag and drop operations. We will definitely follow the >> steps >> you have outlined, and let you and the list know the results. Is there >> any need to edit any of the application's resources outside of setting >> values in Rev? I have taken a look at using a resource editor to see if >> anything is amiss, but of course, ResEdit is showing its age (badly), >> and anything edited there then thinks it is a classic application. >> >> This step is literally the last step in a fairly ambitious project for >> Eric and I, and I can't believe we have spent about a week trying to >> get >> files to properly open on all platforms. We had thought that was going >> to be the easy part!! >> >> Thanks. >> >> -- >> Troy >> RPSystems, LTD >> www.rpsystems.net >> >> _______________________________________________ >> 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 simran at teleline.es Fri Aug 2 06:31:00 2002 From: simran at teleline.es (Peter Lundh) Date: Fri Aug 2 06:31:00 2002 Subject: Developing a multimedia application with Revolution... Message-ID: I?m going to make a multimedia application for the Windows and Macintosh platform. It will contain a presentation, or tutorial part and an exercise part. The user will be able to freely navigate within the tutorial and in between the tutorial and the exercise part. The application will be distributed on a CD-ROM and should be auto-executable on both platforms. The content of the application is (1) a short tutorial on a medical disease, it?s symptoms and possible ways to treat it followed by (2) three short exercises where the user can train, or test his skills. Each exercise will consist of a series images where the viewer will be asked to diagnose each image. A score will be given after each exercise is completed. The application will only contain still images and text (and maybe a couple of sound effects). I have developed the previous two applications for the client using Macromedia Director 7, but I would like to try using Revolution this time. Could anyone please suggest, in very general terms, how I should approach this project with Revolution. In particular, I'd like to know how to create the exercise part of it. Are there any tutorials, or exercises describing similar projects? Many thanks in advance. -Peter -- Peter Lundh von Leithner Krapparps Stigen, 30 260 41 Nyhamnsl?ge Sweden T: +46-42 34 73 56 F: +1-309 273 4439 M: +46-703 945 650 E: simran at teleline.es From tony.moller at drcs.com Fri Aug 2 09:29:02 2002 From: tony.moller at drcs.com (Tony Moller) Date: Fri Aug 2 09:29:02 2002 Subject: Rev as an SMTP Server? Message-ID: Is it possible to use Revolution to build a custom SMTP server so that it not only sends emails, but can receive them as well? We want to build a double blind email engine (sort of how classmates.com handles it). Any hints/tips would be most helpful. Thanks! Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From harrison at all-auctions.com Fri Aug 2 09:33:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Fri Aug 2 09:33:01 2002 Subject: Two Quit Menus in OSX In-Reply-To: <0b4201c239bc$cd6e7bc0$6f00a8c0@mckinley.dom> Message-ID: on 8/1/2002 8:37 PM, Ken Ray at kray at sonsothunder.com wrote: > The way it is supposed to work is that the last two menu items on the File > menu (a separator and the Quit menu item) are removed under OS X and the > "natural" OS X Application menu displays the "Quit Application" menu item. > The last item of the Help menu (the "About..." menu item) is removed under > OS X and the "natural" OS X "About " menu item takes its place. > > What might have happened is that either (a) somehow Rev added two additional > items to the File menu (another separator and another Quit item) and then > removed one set leaving the other, or (b) "forgot" to remove the two menu > item from the File menu and left them. This sounds like a bug to me. BTW: > Testing under MetaCard 2.4.3 and Rev 1.1.1 with a single set of > separator/Quit menu items in the File menu works properly with a sample > stack... > > Ken Ray Ken, Thanks for the helpful explanation. An intermediate workaround will probably consist of my coding in the quit at the critical time rather than having the user perform it. Thanks again! Rick Harrison From steve at messimercomputing.com Fri Aug 2 10:44:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Fri Aug 2 10:44:01 2002 Subject: Re Multimedia dev Message-ID: > I?m going to make a multimedia application for the Windows and Macintosh > platform. It will contain a presentation, or tutorial part and an exercise > part. The user will be able to freely navigate within the tutorial and in > between the tutorial and the exercise part. > > The application will be distributed on a CD-ROM and should be > auto-executable on both platforms. Peter, About three months ago I finished a very similar project using RR 1.1 It worked great. The project was designed to demonstrate the Theraputic techniques used by Virginia Satir. It used quicktime movies, images, etc. There were a few gotchas to begin with mostly related to RR and QT but those have been resolved. The CD that was produced was executable on both platforms and is now being published by AVANTA as an adjunct to the Book Entitled "The Satir Process". For more info go to AVANTA's web site. www.avanta.net > > The content of the application is (1) a short tutorial on a medical disease, > it?s symptoms and possible ways to treat it followed by (2) three short > exercises where the user can train, or test his skills. Each exercise will > consist of a series images where the viewer will be asked to diagnose each > image. A score will be given after each exercise is completed. The > application will only contain still images and text (and maybe a couple of > sound effects). > I am currently working on an educational development environment (preceptorTools?) built with RR that could be very helpful to you. It will be going ? in the next week or two. To get an idea of what it can do I have posted some screen shots on my web site. www.messimercomputing.com/pTools.html I haven't gotten around to the pricing,the licensing or the legal issues so it will be a while longer before it is available. > I have developed the previous two applications for the client using > Macromedia Director 7, but I would like to try using Revolution this time. > > Could anyone please suggest, in very general terms, how I should approach > this project with Revolution. In particular, I'd like to know how to create > the exercise part of it. Are there any tutorials, or exercises describing > similar projects? > > Many thanks in advance. > > -Peter How you develop your project depends upon what outcomes you desire. Do you expect to track the performance of individual users of the tutorial? You suggest the use of some evaluative tools. Will these tools keep track of different student's performance or are they meant as competancy-based learning tools that test the students knowledge? Generally speaking your design will be dependent to a degree on the answers to the above questions. CD deployed apps can't store user input other than temporary storage of inputs while the app is in RAM. This then would present a design challenge if you wanted to track performance of multiple users. It could be done but would require that answers were written to separate files. On the other hand if you were designing an instructional module that was competency-based and were not overly concerned about keeping score other than that it indicates to the learner their level of mastery. It could all be done on the CD without the necessity of sending user responses to external files. I would generally set up something like this ... Title card -- Introduce your project main menu card -- navigation tools (buttons) that can send you to every card in the stack. - on the main menu card create a navigation group with next prev and main menu btns. You might also want to add other objects like a card title field etc. Set the group's background behavior to enabled. Developing a map object is a formidable task for a new developer but it can be done. (PreceptorTools Learning module stack comes with one already built for the developer. All you do is point and click to add cards to your lesson.) now create ... n number of content cards -- one instructional point per card assigment or evaluation cards -- build all your evaluation tools here What you propose to do is very straightforward and should work fine. I have found RR v 1.1.1r2 to be very stable on both Windows and Mac platforms. If you asked me th same question two months from now I would suggest that you use PreceptorTools. Alas it isn't ready for prime time at the moment. :-) Hope this helps. Steve Stephen R. Messimer, PA Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From kray at sonsothunder.com Fri Aug 2 10:55:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 2 10:55:01 2002 Subject: Setting Document Associations With OS X (was Re: Help with setRegistry?) References: <4CB05C23-A59C-11D6-8E83-000393853D6C@rpsystems.net> <0ae301c239b8$7dbb2e60$6f00a8c0@mckinley.dom> Message-ID: <0c2101c23a3c$2d3dd170$6f00a8c0@mckinley.dom> OK, I'm back. :-) Here's what you need to do in OS X... I'm assuming a creator code of "STS1" and an extension of "sts" - remember the original app was called "TestAE": 1) Create your standalone (in my case it was "TestAE.app"). 2) Find your standalone in the Finder, control-click it and choose "Show Package Contents". 3) In the folder that opens, open the folder called "Contents". 4) In the Contents folder, double-click on "PkgInfo". It will launch TextEdit and it should contain the simple string "APPLMCRD". Change this to "APPLSTS1", save the file. 5) The next step is to edit the "Info.plist" file; if you installed the Developer Tools that came with OS X, you will have an application called "PropertyList Editor" on your hard drive, which provides a UI for editing this file. If not, you can edit it in TextEdit, but you'll be manipulating XML. I've outlined both ways below: If you have PropertyList Editor: ------------------------------- 5a) Quit out of TextEdit (since you won't need it). 5b) Double-click "Info.plist", which will launch Property Editor. 5c) Expand "Root". 5d) Change the "CFBundleSignature" to "STS1". 5e) Expand "CFBundleDocumentTypes", then expand "0". 5f) Change "CFBundleTypeName" to a name you want your document to show in the Finder. I've changed mine to "TestAE document". 5f) Expand "CFBundleTypeExtensions". 5g) Change the value for "0" from "mc" to "sts". 5h) Save changes and quit the PropertyList Editor. If you don't have PropertyList Editor: ------------------------------------ 5a) With TextEdit still open, open the file "Info.plist". 5b) Under the root level , find the subelement , then the subelement of called , then the subelement of called , then the subelement of called that contains the value "mc". (For the purposes of the rest of this email, paths will be referred to using backslahes, so this location in the XML document would be \dict\array\dict\array\string.) 5c) Change the value from "mc" to "sts" 5d) Locate the \dict\array\dict\key with the value "CFBundleTypeName". Underneath that is a . Change its value from "Metacard stack" to "TestAE document". 5e) Locate the \dict\key with the value "CFBundleSignature". Underneath that is a . Change its value from "MCRD" to "STS1". 5f) Save changes and quit TextEdit. Note that in either case you can change other data (such as copyright info ("NSHumanReadableCopyright"), version strings ("CFBundleShortVersionString", "CFBundleLongVersionString") and the like, but for right now, that wasn't important. 6) Create your test stack, adding a ".sts" extension (mine was called "Dummy.sts"). Now comes the important part -- reboot *twice*. Perhaps its the way I did things (create the dummy stack with the ".sts" extension first and then tweak the settings of TestAE.app), but I found that if I rebooted once, the dummy stack I'd created did not associate properly with TestAE.app. I didn't have time to test this, so I'd be interested in your feedback. BTW: You'll know if the association works if the "Kind" column in the Finder shows "TestAE document" and not "Document" or "Metacard stack". One final note: You can change the icons that your standalone uses for documents by downloading an icon editor for OS X (I tried a cheap one called Icon Machine III), and opening the file "MetaCardDoc.icns" in the Resources folder of the Contents folder. I would assume that for professionally shipping applications you could change the names of the '.icns' files, so long as you changed the references in the Info.plist file ("CFBundleIconFile", "CFBundleTypeIconFile"). Hope this works for you; please report back to the list and let us know if these instructions are sound. If they are, I'll formalize them and put them as a Tip on my site that anyone can access as needed. Thanks! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Ken Ray" To: Sent: Thursday, August 01, 2002 7:06 PM Subject: Re: Help with setRegistry? > Ah... that's the issue. I was testing in OS 9 (9.2 to be exact); I'll see > what can be done in OS X and get back to you soon (unless someone else > knows). > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "Troy Rollins" > To: > Sent: Thursday, August 01, 2002 5:16 PM > Subject: Re: Help with setRegistry? > > > > > > On Thursday, August 1, 2002, at 05:47 PM, Ken Ray wrote: > > > > > > > > Can you try something like this and see what you get? > > > > Ken, > > We do appreciate your continued assistance. If I could ask, what Mac OS > > version are you testing under? So far, we have had no luck in getting > > applications to open their documents by double-clicking the document in > > OSX, or by drag and drop operations. We will definitely follow the steps > > you have outlined, and let you and the list know the results. Is there > > any need to edit any of the application's resources outside of setting > > values in Rev? I have taken a look at using a resource editor to see if > > anything is amiss, but of course, ResEdit is showing its age (badly), > > and anything edited there then thinks it is a classic application. > > > > This step is literally the last step in a fairly ambitious project for > > Eric and I, and I can't believe we have spent about a week trying to get > > files to properly open on all platforms. We had thought that was going > > to be the easy part!! > > > > Thanks. > > > > -- > > Troy > > RPSystems, LTD > > www.rpsystems.net > > > > _______________________________________________ > > 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 Fri Aug 2 11:26:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 2 11:26:01 2002 Subject: Rev as an SMTP Server? In-Reply-To: Message-ID: <11CD799F-A634-11D6-B5E3-0050E4C0B205@swcp.com> On Friday, August 2, 2002, at 08:25 AM, Tony Moller wrote: > Is it possible to use Revolution to build a custom SMTP server so > that it > not only sends emails, but can receive them as well? I hope so. I'm building libraries to do this right now. You should decide early on whether you want to support more than one connection at a time; this can affect your design. You might want to be informed by Shao Sean's email client stack. (I keep wanting to look at this, but I get distracted by fires to put out. I think I take a different approach that allows other things to be going on at the same time, but I'm still willing to give him a credit should I become inspired by what he has done.) Dar Scott From sims at ezpzapps.com Fri Aug 2 12:31:01 2002 From: sims at ezpzapps.com (sims) Date: Fri Aug 2 12:31:01 2002 Subject: strip html In-Reply-To: <0c2101c23a3c$2d3dd170$6f00a8c0@mckinley.dom> References: <4CB05C23-A59C-11D6-8E83-000393853D6C@rpsystems.net> <0ae301c239b8$7dbb2e60$6f00a8c0@mckinley.dom> <0c2101c23a3c$2d3dd170$6f00a8c0@mckinley.dom> Message-ID: If I use the following script on a simple web page to strip html it works with no problem. If I try this with cnn.com or nytimes.com it hangs. Can anyone help me out with fixing it or suggesting a better way to strip html"? (I do not want to use the "set the htmlTEXT" trick) atb sims on mouseUp put fld "cnn" into data repeat for each line aLine in data repeat while matchchunk(aLine,"<*>") delete char offset("<",aLine) to offset(">",aLine) of aLine end repeat put aLine & return after outData end repeat put outData into fld "cnn" end mouseUp ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From fredericrossoni at laposte.net Fri Aug 2 12:41:01 2002 From: fredericrossoni at laposte.net (Fred) Date: Fri Aug 2 12:41:01 2002 Subject: Newbie question Message-ID: Hello ! I don't see anything about Progress Bars on the documentation. Are there commands I did not see ? And can I find some Revolution templates somewhere ? Like a basic calculator for instance. As a beginner I need to see lots of lines of code, in order to see how one shall construct a sentence. That's why I find this ML very interesting, even if the level is a bit beyond my knowledge... Thanks, Fred From brymac at i-2000.com Fri Aug 2 12:49:01 2002 From: brymac at i-2000.com (bryan mccormick) Date: Fri Aug 2 12:49:01 2002 Subject: strip html References: <4CB05C23-A59C-11D6-8E83-000393853D6C@rpsystems.net> <0ae301c239b8$7dbb2e60$6f00a8c0@mckinley.dom> <0c2101c23a3c$2d3dd170$6f00a8c0@mckinley.dom> Message-ID: <3D4AC5AA.3080007@i-2000.com> my guess is that there is some paren mis-match in the html that causes the script to go into some form of infinite loop. um, try this and see if it works for you. a little clunky but it works for me. on stripTags theContainer put 1 into firstTag repeat until firstTag = 0 or lastTag = 0 put offset("<", theContainer) into firstTag put offset(">", theContainer) into lastTag if lastTag < firstTag then delete char lastTag of theContainer next repeat end if delete char firstTag to lastTag of theContainer end repeat return theContainer end stripTags sims wrote: > If I use the following script on a simple web page to strip > html it works with no problem. > > If I try this with cnn.com or nytimes.com it hangs. > > Can anyone help me out with fixing it or > suggesting a better way to strip html"? > > (I do not want to use the "set the htmlTEXT" trick) > > atb > > sims > > > > on mouseUp > put fld "cnn" into data > repeat for each line aLine in data > repeat while matchchunk(aLine,"<*>") > delete char offset("<",aLine) to offset(">",aLine) of aLine > end repeat > put aLine & return after outData > end repeat > put outData into fld "cnn" > end mouseUp > ___________________________________________ > > 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 troy at rpsystems.net Fri Aug 2 13:09:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Aug 2 13:09:01 2002 Subject: Setting Document Associations With OS X (was Re: Help with setRegistry?) In-Reply-To: <0c2101c23a3c$2d3dd170$6f00a8c0@mckinley.dom> Message-ID: On Friday, August 2, 2002, at 11:49 AM, Ken Ray wrote: > OK, I'm back. :-) > > Here's what you need to do in OS X... I'm assuming a creator code of > "STS1" > and an extension of "sts" - remember the original app was called > "TestAE": > > 1) Create your standalone (in my case it was "TestAE.app"). > 2) Find your standalone in the Finder, control-click it and choose "Show > Package Contents". Ken, My tests break down at step 2. My machine lists the standalone as a "classic application" (obviously I built as an OSX application), and not a package - therefore it will not open with "Show Package Contents" (that menu item never gets shown). ??? -- Troy RPSystems, LTD www.rpsystems.net From troy at rpsystems.net Fri Aug 2 13:21:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Aug 2 13:21:01 2002 Subject: Setting Document Associations With OS X In-Reply-To: Message-ID: <3D77D981-A644-11D6-BE3F-000393853D6C@rpsystems.net> On Friday, August 2, 2002, at 02:07 PM, Troy Rollins wrote: > >> OK, I'm back. :-) >> >> Here's what you need to do in OS X... I'm assuming a creator code of >> "STS1" >> and an extension of "sts" - remember the original app was called >> "TestAE": >> >> 1) Create your standalone (in my case it was "TestAE.app"). >> 2) Find your standalone in the Finder, control-click it and choose >> "Show >> Package Contents". > > Ken, > My tests break down at step 2. My machine lists the standalone as a > "classic application" (obviously I built as an OSX application), and > not a package - therefore it will not open with "Show Package Contents" > (that menu item never gets shown). > > ??? A little more info - all applications made in Rev seem to come out this way. Of course, they run natively, they just appear as Classic apps. BTW - the file type is APPL, as it should be. -- Troy RPSystems, LTD www.rpsystems.net From tony.moller at drcs.com Fri Aug 2 13:34:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Fri Aug 2 13:34:01 2002 Subject: Setting Document Associations With OS X In-Reply-To: <3D77D981-A644-11D6-BE3F-000393853D6C@rpsystems.net> Message-ID: on 8/2/02 2:18 PM, Troy Rollins at troy at rpsystems.net wrote: > A little more info - all applications made in Rev seem to come out this > way. Of course, they run natively, they just appear as Classic apps. > BTW - the file type is APPL, as it should be. Are you building them as fat applications? Or even just OSX and PPC code together (and no 68k code)? That could account for X not recognizing it as a package. Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From troy at rpsystems.net Fri Aug 2 13:41:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Aug 2 13:41:01 2002 Subject: Setting Document Associations With OS X In-Reply-To: Message-ID: <0F186E72-A647-11D6-BE3F-000393853D6C@rpsystems.net> On Friday, August 2, 2002, at 02:30 PM, Tony Moller wrote: > >> A little more info - all applications made in Rev seem to come out this >> way. Of course, they run natively, they just appear as Classic apps. >> BTW - the file type is APPL, as it should be. > > Are you building them as fat applications? Or even just OSX and PPC code > together (and no 68k code)? That could account for X not recognizing it > as a > package. Good thoughts Tony, but no. Even if I create just an OSX distribution, OSX believes it to be a classic app. Like I mentioned though, it runs natively, it just considers it classic in the info box and the finder. -- Troy RPSystems, LTD www.rpsystems.net From tony.moller at drcs.com Fri Aug 2 14:14:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Fri Aug 2 14:14:01 2002 Subject: Setting Document Associations With OS X In-Reply-To: <0F186E72-A647-11D6-BE3F-000393853D6C@rpsystems.net> Message-ID: on 8/2/02 2:38 PM, Troy Rollins at troy at rpsystems.net wrote: >>> A little more info - all applications made in Rev seem to come out this >>> way. Of course, they run natively, they just appear as Classic apps. >>> BTW - the file type is APPL, as it should be. >> >> Are you building them as fat applications? Or even just OSX and PPC code >> together (and no 68k code)? That could account for X not recognizing it >> as a >> package. > > Good thoughts Tony, but no. Even if I create just an OSX distribution, > OSX believes it to be a classic app. Like I mentioned though, it runs > natively, it just considers it classic in the info box and the finder. I just did a test build myself and got the same thing. I checked a few other applications on my hard drive, and most of them actually say the same thing. I know that probably doesn't help though... Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From troy at rpsystems.net Fri Aug 2 14:19:00 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Aug 2 14:19:00 2002 Subject: Setting Document Associations With OS X In-Reply-To: Message-ID: <535500A5-A64C-11D6-BE3F-000393853D6C@rpsystems.net> On Friday, August 2, 2002, at 03:11 PM, Tony Moller wrote: > > I just did a test build myself and got the same thing. I checked a few > other > applications on my hard drive, and most of them actually say the same > thing. > I know that probably doesn't help though... Well, the first part helps. The fact that you got the same thing tells me something at least. I have many apps which open as packages when selected and right-clicked though. -- Troy RPSystems, LTD www.rpsystems.net From kray at sonsothunder.com Fri Aug 2 14:23:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 2 14:23:01 2002 Subject: Setting Document Associations With OS X (was Re: Help with setRegistry?) References: Message-ID: <0c3d01c23a59$2b5eab00$6f00a8c0@mckinley.dom> Troy, You're right. The problem you're running into is that the latest release version of Revolution is 1.1.1 which creates Carbon apps, but they are not Mach-O compatible, so you don't get any Package Contents. I was working with a prerelease edition of the next version of Revolution which uses the latest MetaCard 2.4.3 engine which *is* Mach-O compatible, so I used MC 2.4.3 to build my standalone (which worked following the instructions I provided). (Sorry about that.) I'll see if there's something that can be done in the interim... (BTW: You don't happen to have access to a release copy of MetaCard, do you? You might be able to build an executable using the MC engine for right now until the next version of Rev is released...) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Troy Rollins" To: Sent: Friday, August 02, 2002 1:07 PM Subject: Re: Setting Document Associations With OS X (was Re: Help with setRegistry?) > > On Friday, August 2, 2002, at 11:49 AM, Ken Ray wrote: > > > OK, I'm back. :-) > > > > Here's what you need to do in OS X... I'm assuming a creator code of > > "STS1" > > and an extension of "sts" - remember the original app was called > > "TestAE": > > > > 1) Create your standalone (in my case it was "TestAE.app"). > > 2) Find your standalone in the Finder, control-click it and choose "Show > > Package Contents". > > Ken, > My tests break down at step 2. My machine lists the standalone as a > "classic application" (obviously I built as an OSX application), and not > a package - therefore it will not open with "Show Package Contents" > (that menu item never gets shown). > > ??? > > -- > 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 Fri Aug 2 14:29:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Aug 2 14:29:01 2002 Subject: Setting Document Associations With OS X (was Re: Help with setRegistry?) In-Reply-To: <0c3d01c23a59$2b5eab00$6f00a8c0@mckinley.dom> Message-ID: On Friday, August 2, 2002, at 03:16 PM, Ken Ray wrote: > You're right. The problem you're running into is that the latest release > version of Revolution is 1.1.1 which creates Carbon apps, but they are > not > Mach-O compatible, so you don't get any Package Contents. I was working > with > a prerelease edition of the next version of Revolution which uses the > latest > MetaCard 2.4.3 engine which *is* Mach-O compatible, so I used MC 2.4.3 > to > build my standalone (which worked following the instructions I > provided). Thanks Ken. I'll try building in the pre-release and see what happens. -- Troy RPSystems, LTD www.rpsystems.net From troy at rpsystems.net Fri Aug 2 14:49:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Aug 2 14:49:01 2002 Subject: Setting Document Associations With OS X In-Reply-To: <0c3d01c23a59$2b5eab00$6f00a8c0@mckinley.dom> Message-ID: <982A131C-A650-11D6-BE3F-000393853D6C@rpsystems.net> On Friday, August 2, 2002, at 03:16 PM, Ken Ray wrote: > You're right. The problem you're running into is that the latest release > version of Revolution is 1.1.1 which creates Carbon apps, but they are > not > Mach-O compatible, so you don't get any Package Contents. I was working > with > a prerelease edition of the next version of Revolution which uses the > latest > MetaCard 2.4.3 engine which *is* Mach-O compatible, so I used MC 2.4.3 > to > build my standalone (which worked following the instructions I > provided). > > (Sorry about that.) Nope, the 1.5 pre-release won't build a distribution. Sorry to have bothered you. I didn't realize that Rev doesn't actually support making actual applications (which use documents) for OSX yet. That is more than a little disappointing, and has cost me more than a little money. :( -- Troy RPSystems, LTD www.rpsystems.net From rodneys at io.com Fri Aug 2 14:59:01 2002 From: rodneys at io.com (Rodney Somerstein) Date: Fri Aug 2 14:59:01 2002 Subject: Can I use Revolution for this? Message-ID: OK, I have a question about whether or not I can use Revolution for the project that I want to do. I hope so, because I have effectively wasted a few hundred dollars in Rev licensing and documentation if not. Let me describe the project, which I mentioned here once before, and then my concerns. The project is a system to allow people to play games online. This system will support a variety of board and card games, many of which are very complex and could potentially have 1000 playing pieces, cards, boards, etc. in certain games. I want the users to be able to create their own games as the goal is to be able to adapt existing strategy games to be playable online using Revolution to create the front end. Now, my concern has to do with the standalone limitations. Is there a way that I can read data from an external file and then create all of the playing pieces and such that are needed in a particular game? Even a small game is likely to have more than 50 pieces. It seems that I'm going to bump into the limitations of the standalone environment as each of these pieces would be an object and the user needs to be able to script them to a certain extent. Is this a real concern, or is there a simple workaround? My initial thoughts are that there might be several possibilities. First of all, I could pre-populate the game engine with a couple of thousand objects. At run-time, I can read from a configuration file to determine what graphics to set for each object, how to resize them, etc. Startup time for a game would be slow, but this might work. Can a Rev stack even handle this many objects on a single card without bogging down and having the performance become too slow to be workable? Not all of the objects would be visible at any one time, but I don't know that this would make much of a difference. As for the scripting issue, the only thing that I can see to do is to create a custom scripting language for the game designers to use. I would read these scripts in from a configuration file or files and then parse them myself. XML would probably be ideal for this, but I don't think that Revolution supports XML. I'm also concerned about the speed of doing this kind of parsing if I can't use XML. This would let me get around the scripting limitations in standalones. If anyone has any other suggestions, please let me know. Also, if my thinking is wrong in any of these areas, please let me know that too. Also, if someone from RunRev could reply, I would love to know why I even have to deal with any of these limitations in the first place. I am a licensed user of Revolution. I'm just trying to use the environment to create a standalone program that provides the functionality I need. Why should I have to deal with the limitations imposed on users who haven't paid for the product? Thanks, Rodney Somerstein rodneys at io.com From dan at danshafer.com Fri Aug 2 17:55:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Aug 2 17:55:01 2002 Subject: Can I use Revolution for this? In-Reply-To: References: Message-ID: I am relatively new to RR, though I have done a lot with similar environments in the past, so take my answers here as non-authoritative but likely informed! At 3:53 PM -0400 8/2/02, Rodney Somerstein wrote: > >Now, my concern has to do with the standalone limitations. Is there >a way that I can read data from an external file and then create all >of the playing pieces and such that are needed in a particular game? I don't know of *any* limitation, other than computer memory, on the number of size of external files a RR stack can read or write. Writing scripts that can read metadata from a text file and create RR objects will certainly be a non-trivial task, but that would be true regardless of the computer programming language or environment you might choose, as far as I know. >Even a small game is likely to have more than 50 pieces. It seems >that I'm going to bump into the limitations of the standalone >environment as each of these pieces would be an object and the user >needs to be able to script them to a certain extent. Is this a real >concern, or is there a simple workaround? What specific limitations are you referring to here? The inability to allow users of your stacks to script the custom objects? That's an intriguing problem but I can think of a couple of different ways of accomplishing that. Just as one quick example, you could accumulate the user's script commands (which you'll of course have to find a UI to allow them to generate) into a field or even a custom property (untested) and then just tell your stack to "do" that container object. This kind of dynamic programming is one of the cool features of RR and other xCard tools. >My initial thoughts are that there might be several possibilities. >First of all, I could pre-populate the game engine with a couple of >thousand objects. At run-time, I can read from a configuration file >to determine what graphics to set for each object, how to resize >them, etc. Startup time for a game would be slow, but this might >work. Can a Rev stack even handle this many objects on a single card >without bogging down and having the performance become too slow to >be workable? I'm guessing, but my suspicion is that RR doesn't impose any *limitations* on this front. Performance might be another question. It shouldn't be hard to write a stress script that would test RR to the max on this issue, though. >Not all of the objects would be visible at any one time, but I don't >know that this would make much of a difference. Probably not, except for increased delays in the time it takes to move between cards. >As for the scripting issue, the only thing that I can see to do is >to create a custom scripting language for the game designers to use. You *could* do that and it might even be smart. But another approach might be to provide a more interactive way for users to script objects without having either to learn a scripting language. "Back in the Day," I created a product called Dan Shafer's scriptExpert which enabled anyone to write HyperTalk by pushing buttons and answering dialogs. You might not need to get quite that elaborate, but assuming you could define an isolated subset of Transcript your users need to use, creating a clean UI for them to interact with would be feasible, maybe even easy. Take the output from this interactive session with the user, stuff it into a RR container object and then "do" the container...and voila! I have actually created a small example of this kind of RR development. As soon as I have time, I plan to post it somewhere for people to see as a learning idea. >I would read these scripts in from a configuration file or files and >then parse them myself. XML would probably be ideal for this, but I >don't think that Revolution supports XML. I'm also concerned about >the speed of doing this kind of parsing if I can't use XML. This >would let me get around the scripting limitations in standalones. Again, I'm not sure what standalone limitations you're referring to here, but I may well be overlooking something. I haven't yet licensed RR (though I will be doing so soon). XML may not be the best route to go here even if you can find a way for RR to support it. While XML is a very nice markup language for inter-application data transfer and other things, its overhead is huge and performance of XML-based applications, in my experience, tends to be pretty horrendous. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer Writer, Spiritual Student and Teacher Founder, Fellowship of One Mind, Monterey, CA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From troy at rpsystems.net Fri Aug 2 18:39:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Aug 2 18:39:01 2002 Subject: Can I use Revolution for this? In-Reply-To: Message-ID: On Friday, August 2, 2002, at 06:53 PM, Dan Shafer wrote: > >> I would read these scripts in from a configuration file or files and >> then parse them myself. XML would probably be ideal for this, but I >> don't think that Revolution supports XML. I'm also concerned about the >> speed of doing this kind of parsing if I can't use XML. This would let >> me get around the scripting limitations in standalones. > > Again, I'm not sure what standalone limitations you're referring to > here, but I may well be overlooking something. I haven't yet licensed > RR (though I will be doing so soon). > > XML may not be the best route to go here even if you can find a way for > RR to support it. While XML is a very nice markup language for > inter-application data transfer and other things, its overhead is huge > and performance of XML-based applications, in my experience, tends to > be pretty horrendous. FWIW- We use custom parsing for XML in our projects now, and I know of at least one available library for the purpose, as well as RunRev's clearly stated intentions for directly supporting XML in the near future. -- Troy RPSystems, LTD www.rpsystems.net From thinkertoys at cyburb.com Fri Aug 2 18:41:01 2002 From: thinkertoys at cyburb.com (thinkertoys) Date: Fri Aug 2 18:41:01 2002 Subject: strip html Message-ID: The html at NY Times is a nightmare! I use RR to read & decode many html pages, many times during the day. The approach that works for me is to first isolate & only look at that part of a page that I am interested in - then, if need be, I will throw this at it: ( Assume a global "R" which contains the html. Note that for my application I need to preserve links as well as anchor text. ) on eatHTML put R into altString put 0 into StartChar put "<" into t1 put ">" into t2 repeat put offset(t1,R,StartChar) into whereStart if whereStart = 0 then exit repeat put offset(t2,R,StartChar) into whereEnd if whereEnd = 0 then exit repeat put char StartChar+whereStart to StartChar+whereEnd of R into deHTML if ( " Message-ID: <5FEB7DC0-A678-11D6-8094-000393598038@mac.com> On Saturday, August 3, 2002, at 09:37 , Troy Rollins wrote: > > On Friday, August 2, 2002, at 06:53 PM, Dan Shafer wrote: > >> >>> I would read these scripts in from a configuration file or files and >>> then parse them myself. XML would probably be ideal for this, but I >>> don't think that Revolution supports XML. I'm also concerned about >>> the speed of doing this kind of parsing if I can't use XML. This >>> would let me get around the scripting limitations in standalones. >> >> Again, I'm not sure what standalone limitations you're referring to >> here, but I may well be overlooking something. I haven't yet licensed >> RR (though I will be doing so soon). Rodney My puzzlement may be similar to Dan's. When you imply some limitation in RunRev on number of objects handled, I wonder what it is you have encountered that leads to this thought. Would you mind describing the specific standalone limitations you believe exist in your licensed RunRev? I would like to get a better handle on what might be the real problem here. thanks David >> >> XML may not be the best route to go here even if you can find a way >> for RR to support it. While XML is a very nice markup language for >> inter-application data transfer and other things, its overhead is huge >> and performance of XML-based applications, in my experience, tends to >> be pretty horrendous. > > FWIW- > We use custom parsing for XML in our projects now, and I know of at > least one available library for the purpose, as well as RunRev's > clearly stated intentions for directly supporting XML in the near > future. > > -- > 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 rcozens at pon.net Fri Aug 2 19:36:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Aug 2 19:36:01 2002 Subject: Newbie question In-Reply-To: References: Message-ID: >I don't see anything about Progress Bars on the documentation. Are >there commands I did not see ? Hi Fred, I thought there was an example in one of the Rev stacks...but I can't find it so here's a sample from one of my handlers. I've prefixed each statement pertinent to the progress bar with "}" if backingUp then put "binfile:"&(the text of button "Destination Title") into backupFileName set the label of stack "Backup Progress" to sdbMessage(sdbBackupInProgressLabel) put (field "File Index" of card 2 of stack sdbStackName)&recordDelimiter into backupData } put the number of cards of stack sdbStackName into lastRecord } put lastRecord-3 into recordCount } set the thumbPosition of scrollBar "Progress Scrollbar" to 0 } set the endvalue of scrollBar "Progress Scrollbar" to recordCount } show scrollBar "Progress Scrollbar" } put 0 into recordsProcessed } put round(recordCount/(the width of scrollBar "Progress Scrollbar")) into progressInterval } put max(1,progressInterval) into progressInterval repeat with x=4 to lastRecord set cursor to busy put field "Record Type" of card x of stack sdbFileName into theType put field "Record Key" of card x of stack sdbFileName into theKey put field "Record" of card x of stack sdbFileName into theRecord put theType&&theKey&return&theRecord&recordDelimiter after backupData } add 1 to recordsProcessed } if (recordsProcessed mod progressInterval)=0 then set the thumbPosition of scrollBar "Progress Scrollbar" to recordsProcessed end repeat } set the thumbPosition of scrollBar "Progress Scrollbar" to recordCount -- yes, recordCount else -- 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 rodneys at io.com Fri Aug 2 20:15:00 2002 From: rodneys at io.com (Rodney Somerstein) Date: Fri Aug 2 20:15:00 2002 Subject: Can I use Revolution for this? In-Reply-To: <200208022157.RAA14015@www.runrev.com> References: <200208022157.RAA14015@www.runrev.com> Message-ID: Dan, Thanks for the reply. There are some great ideas here. Hopefully some others will chime in as well. >I don't know of *any* limitation, other than computer memory, on the >number of size of external files a RR stack can read or write. >Writing scripts that can read metadata from a text file and create RR >objects will certainly be a non-trivial task, but that would be true >regardless of the computer programming language or environment you >might choose, as far as I know. My concern isn't related to the size of external files. Rather, it is the limit of how many objects can be created in a standalone after reading the external data. I'm kind of fuzzy on what can and can't be done in a standalone, but it seems that this might be an issue. > >Even a small game is likely to have more than 50 pieces. It seems >>that I'm going to bump into the limitations of the standalone >>environment as each of these pieces would be an object and the user >>needs to be able to script them to a certain extent. Is this a real >>concern, or is there a simple workaround? > >What specific limitations are you referring to here? The inability to >allow users of your stacks to script the custom objects? That's an >intriguing problem but I can think of a couple of different ways of >accomplishing that. Just as one quick example, you could accumulate >the user's script commands (which you'll of course have to find a UI >to allow them to generate) into a field or even a custom property >(untested) and then just tell your stack to "do" that container >object. This kind of dynamic programming is one of the cool features >of RR and other xCard tools. Actually, the script commands from the user will probably just be contained in an external text file. I agree that it is cool to be able to do this kind or dynamic programming. From my reading of the limitations of the starter kit, which is supposed to be the same as for standalones, I'm not sure that I can create this many objects on the fly. In the starter kit, you can only insert 20 objects into the message path. I don't know if this is a cumulative total or means only 20 at one time. I also don't know if I can check when the user issue a mouseDown to see if there is a graphical object underneath the cursor and then add it to the message path or if it already has to be there in order to detect the mouseClick on that object. > >>My initial thoughts are that there might be several possibilities. >>First of all, I could pre-populate the game engine with a couple of >>thousand objects. At run-time, I can read from a configuration file >>to determine what graphics to set for each object, how to resize >>them, etc. Startup time for a game would be slow, but this might >>work. Can a Rev stack even handle this many objects on a single card >>without bogging down and having the performance become too slow to >>be workable? > >I'm guessing, but my suspicion is that RR doesn't impose any >*limitations* on this front. Performance might be another question. >It shouldn't be hard to write a stress script that would test RR to >the max on this issue, though. I suspect that you are right about there being no hard limits on how many objects can be there. I will have to create just such a test stack unless someone else chimes in with some anecdotal or hard evidence. Again, part of this concern is that if I have to generate the objects ahead of time, performance might always be bad even for a relatively small game. > >>Not all of the objects would be visible at any one time, but I don't > >know that this would make much of a difference. > >Probably not, except for increased delays in the time it takes to >move between cards. I wouldn't likely actually be moving between cards, as a board games tends to have fairly static views. This issue could be there for switching between stacks, though. Again, as you stated above, I will just need to write some tests to find out. >You *could* do that and it might even be smart. But another approach >might be to provide a more interactive way for users to script >objects without having either to learn a scripting language. "Back in >the Day," I created a product called Dan Shafer's scriptExpert which >enabled anyone to write HyperTalk by pushing buttons and answering >dialogs. You might not need to get quite that elaborate, but assuming >you could define an isolated subset of Transcript your users need to >use, creating a clean UI for them to interact with would be feasible, >maybe even easy. I remember Dan Shafer's scriptExpert. In the early 90's, I was the lead on a fee-based scripting support line at Apple for HyperCard, AppleScript, and Apple Media Tool. I think I looked at almost every HyperCard product ever created. That was one of the more interesting. I hadn't thought of creating this kind of UI, but now that you mention it, I might do just such a thing for later releases. > >Take the output from this interactive session with the user, stuff it >into a RR container object and then "do" the container...and voila! Again, due to limitations of standalones, I'm not sure that I can stuff do scripts into that many objects. Also, in the starter kit, do scripts can be only 10 lines long. I'm not sure if I'm limited by this when adding scripts to a dynamically created object. The documentation on standalones is frustratingly non-existent except for some comments here on the mailing list. I'll post another message about that. Hopefully Jeanne will have something to say relating to that situation. > >I have actually created a small example of this kind of RR >development. As soon as I have time, I plan to post it somewhere for >people to see as a learning idea. I look forward to seeing it when you get the chance. >XML may not be the best route to go here even if you can find a way >for RR to support it. While XML is a very nice markup language for >inter-application data transfer and other things, its overhead is >huge and performance of XML-based applications, in my experience, >tends to be pretty horrendous. This is a bit of a concern to me as well related to XML. However, the only time that the XML would come into play would be when loading a new game file. This might create acceptable performance. The performance of a command parser that I write for a custom game development language might not be any better in Rev than using XML. If I do have a custom language, then I can put as many commands into an object as I want as Rev would just see it as text (same would be true for XML). I would then have to already have scripts created that execute those "commands". The downside to doing this that I lose a lot of flexibility in that all features added for a game have to be supported by my engine. Otherwise, I could just let the users code the features. If I can't do this in Revolution, I'll likely end up going to Python (maybe PythonCard if I can ever get it to work under OS X), Java (I could use Jython), or possibly SmallTalk if the new version of VisualWorks non-commercial adds good OS X support. (I notice that you have more than a passing interest in these other languages and environments as well ;-) -Rodney From drvaughan55 at mac.com Fri Aug 2 20:49:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Fri Aug 2 20:49:01 2002 Subject: Can I use Revolution for this? In-Reply-To: Message-ID: On Saturday, August 3, 2002, at 11:11 , Rodney Somerstein wrote: > Dan, > snip > My concern isn't related to the size of external files. Rather, it is > the limit of how many objects can be created in a standalone after > reading the external data. I'm kind of fuzzy on what can and can't be > done in a standalone, but it seems that this might be an issue. > >> >Even a small game is likely to have more than 50 pieces. It seems >>> that I'm going to bump into the limitations of the standalone >>> environment as each of these pieces would be an object and the user >>> needs to be able to script them to a certain extent. Is this a real >>> concern, or is there a simple workaround? >> snip > From my reading of the limitations of the starter kit, which is > supposed to be the same as for standalones, I'm not sure that I can > create this many objects on the fly. In the starter kit, you can only > insert 20 objects into the message path. I don't know if this is a > cumulative total or means only 20 at one time. I also don't know if I > can check when the user issue a mouseDown to see if there is a > graphical object underneath the cursor and then add it to the message > path or if it already has to be there in order to detect the mouseClick > on that object. > snip >> Take the output from this interactive session with the user, stuff it >> into a RR container object and then "do" the container...and voila! > > Again, due to limitations of standalones, I'm not sure that I can stuff > do scripts into that many objects. Also, in the starter kit, do scripts > can be only 10 lines long. I'm not sure if I'm limited by this when > adding scripts to a dynamically created object. The documentation on > standalones is frustratingly non-existent except for some comments here > on the mailing list. I'll post another message about that. Hopefully > Jeanne will have something to say relating to that situation. > Rodney This is interesting, not only for your exploration of what the documentation means but how you plan to write your application. To save everyone else rushing to the Dictionary, this is written under the scriptLimits function and pertains to Rodney's questions: ==== Limits: Statements permitted when changing a script (normally 10) Statements permitted in a do command (normally 10) Stacks permitted in the stackInUse (normally 50) Number of objects permitted in the frontScripts and backScripts (normally 10). The first number does not limit scripts that are already written. In other words, a Starter Kit [standalone] user can use a stack with scripts of any length. however, if that stack attempts to change an object's script property, and the script contains more than the allowable number of statements, the attempt to set the script causes an error. The above limits apply only when you use the Starter Kit. (Standalone applications you create with Revolution also have these limitations, since standalones are freely distributable and are not themselves licensed.) If you are using a licensed copy of Revolution, these limits do not apply and the scriptLimits functions returns empty. ==== I created a standalone which simply opened and displayed its limits. In my licensed Rev environment, it returned empty. Run as a standalone, it returned 10,10,50,10, so the limits are there all right. However, are they critical to Rodney's need? I do not believe so, in that you can create any number of objects of a given script (this is quite different from inserting new front and back scripts). Problems will arise where you wish to create user-specific scripts of more than ten lines to run with the do command. If this is a limitation, then a game language and a parser will be needed, and will have no evident limitations. It just depends... regards David > -Rodney > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dan at danshafer.com Fri Aug 2 20:57:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Aug 2 20:57:01 2002 Subject: Can I use Revolution for this? In-Reply-To: References: <200208022157.RAA14015@www.runrev.com> Message-ID: >Dan, > >Thanks for the reply. There are some great ideas here. Hopefully >some others will chime in as well. > >If I can't do this in Revolution, I'll likely end up going to Python >(maybe PythonCard if I can ever get it to work under OS X), Java (I >could use Jython), or possibly SmallTalk if the new version of >VisualWorks non-commercial adds good OS X support. (I notice that >you have more than a passing interest in these other languages and >environments as well ;-) You might say that! :-) I don't think Smalltalk has *yet* -- after all these years -- solved the delivery packaging problem. Actually, the Squeak team may be closer to that than the VW guys. PythonCard, alas, won't really work well under OS X until wxPython works well under OS X. I'm being told by people who probably know that this isn't likely to happen before the end of the year. I'm in the same boat. I'd rather use PythonCard for lots of my projects than RR (principally because of its object orientation and because Python is the best programming language I've ever seen), but it's not ready for OS X prime time yet. Jython might be viable. But I suspect you're going to find that you can do everything you need to do in RR, actually. At least I didn't read any deal breakers in what I saw from your note. But I'm sure Jeanne and others will jump in here at some point. Maybe the weekend is slow. Take Care. Always nice to run into a fellow "old timer" in HyperWorld. >-Rodney >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 fredericrossoni at laposte.net Fri Aug 2 21:03:01 2002 From: fredericrossoni at laposte.net (=?iso-8859-1?Q?Fr=E9d=E9ric?= ROSSONI) Date: Fri Aug 2 21:03:01 2002 Subject: Newbie question In-Reply-To: References: Message-ID: A 17:31 -0700 le 2/08/02, tu m'as ?crit : >Hi Fred, > >I thought there was an example in one of the Rev stacks...but I >can't find it so here's a sample from one of my handlers. I've >prefixed each statement pertinent to the progress bar with "}" [...] I'll read that with full attention, thanks a lot ! Fred From dan at danshafer.com Fri Aug 2 22:03:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Aug 2 22:03:01 2002 Subject: Can I use Revolution for this? In-Reply-To: References: Message-ID: David Vaughan wrote: >This is interesting, not only for your exploration of what the >documentation means but how you plan to write your application. To >save everyone else rushing to the Dictionary, this is written under >the scriptLimits function and pertains to Rodney's questions: >==== >Limits: >Statements permitted when changing a script (normally 10) >Statements permitted in a do command (normally 10) >Stacks permitted in the stackInUse (normally 50) >Number of objects permitted in the frontScripts and backScripts (normally 10). > >The first number does not limit scripts that are already written. In >other words, a Starter Kit [standalone] user can use a stack with >scripts of any length. however, if that stack attempts to change an >object's script property, and the script contains more than the >allowable number of statements, the attempt to set the script causes >an error. > >The above limits apply only when you use the Starter Kit. >(Standalone applications you create with Revolution also have these >limitations, since standalones are freely distributable and are not >themselves licensed.) If you are using a licensed copy of >Revolution, these limits do not apply and the scriptLimits functions >returns empty. Wow. This is a bit surprising. I can see the rationale for the new script-size limitation and I suppose the do command sort of would be a back-door way around that limit if it weren't imposed. But it *will* artificially (and I think unnecessarily) limit some kinds of applications which won't be able to be built using the product. I suppose there are justifications for this kind of thing but it always makes me wonder about the priorities of the publishers of the software. It too often seems -- and I'm not making this judgement here about Revolution, so don't go jumping on me! -- that some publishers are more worried about protecting themselves against the extreme unlikelihood that someone would essentially use their product to create a competitor than they are about the ultimate usability of the tool. -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 sims at ezpzapps.com Sat Aug 3 00:30:01 2002 From: sims at ezpzapps.com (sims) Date: Sat Aug 3 00:30:01 2002 Subject: strip html In-Reply-To: References: Message-ID: Thanks to Brian & Eric for helping. > >I use RR to read & decode many html pages, many times during the >day. The approach that works for me is to first isolate & only look >at that part of a page that I am interested in - then, if need be, I >will throw this at it: Your words "only look at that part of a page that I am interested in" are key for my purposes. Thanks... atb sims ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From dcragg at lacscentre.co.uk Sat Aug 3 03:58:00 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat Aug 3 03:58:00 2002 Subject: Can I use Revolution for this? In-Reply-To: References: Message-ID: At 3:53 pm -0400 2/8/02, Rodney Somerstein wrote: >Now, my concern has to do with the standalone limitations. Is there >a way that I can read data from an external file and then create all >of the playing pieces and such that are needed in a particular game? >Even a small game is likely to have more than 50 pieces. It seems >that I'm going to bump into the limitations of the standalone >environment as each of these pieces would be an object and the user >needs to be able to script them to a certain extent. Is this a real >concern, or is there a simple workaround? It would be useful if you could give a concrete example of what a user may need to "script". If it's a case of modifying (as opposed to creating) object behaviors (speed, power, etc.), perhaps custom properties could used to set values that a pre-written script uses when it runs. You can clone objects that have any size of script (in a standalone or in development), so creating pieces from an external stack of pre-existing objects would seem to be possible. Cheers Dave From dcragg at lacscentre.co.uk Sat Aug 3 04:40:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat Aug 3 04:40:01 2002 Subject: Can I use Revolution for this? In-Reply-To: References: Message-ID: At 8:00 pm -0700 2/8/02, Dan Shafer wrote: >Wow. This is a bit surprising. I can see the rationale for the new >script-size limitation and I suppose the do command sort of would be >a back-door way around that limit if it weren't imposed. But it >*will* artificially (and I think unnecessarily) limit some kinds of >applications which won't be able to be built using the product. I >suppose there are justifications for this kind of thing but it >always makes me wonder about the priorities of the publishers of the >software. It too often seems -- and I'm not making this judgement >here about Revolution, so don't go jumping on me! -- that some >publishers are more worried about protecting themselves against the >extreme unlikelihood that someone would essentially use their >product to create a competitor than they are about the ultimate >usability of the tool. To the sound of a hundred pairs of boots landing on Dan.. :) Perhaps it's a misunderstanding of what the script limits mean, but I don't see how they limit the kinds of products you can build and distribute. You can build (as a licensed user) applications that contain scripts of any length. You can distribute these applications to users as standalones, and they can use them without any restrictions. The only thing your users can't do is edit scripts, which seems fair to me. I've always liked the simplicity of the licensing model -- to edit scripts (over 10 lines) you need a license. Beyond that, you can pretty much do what you want. Cheers Dave From knowledgeworks at knowledgeworks.plus.com Sat Aug 3 04:52:01 2002 From: knowledgeworks at knowledgeworks.plus.com (knowledgeworks) Date: Sat Aug 3 04:52:01 2002 Subject: Can I use Revolution for this? Message-ID: <200208030851.EAA23668@www.runrev.com> >> ==== Limits: Statements permitted when changing a script (normally 10) Statements permitted in a do command (normally 10) Stacks permitted in the stackInUse (normally 50) Number of objects permitted in the frontScripts and backScripts (normally 10). The first number does not limit scripts that are already written. In other words, a Starter Kit [standalone] user can use a stack with scripts of any length. however, if that stack attempts to change an object's script property, and the script contains more than the allowable number of statements, the attempt to set the script causes an error. The above limits apply only when you use the Starter Kit. (Standalone applications you create with Revolution also have these limitations, since standalones are freely distributable and are not themselves licensed.) If you are using a licensed copy of Revolution, these limits do not apply and the scriptLimits functions returns empty. ==== I created a standalone which simply opened and displayed its limits. In my licensed Rev environment, it returned empty. Run as a standalone, it returned 10,10,50,10, so the limits are there all right. << Hi there, I'm REALLY new to Revolution and Metacard (only heard of them in the last week) - I've never even seen Hypercard!. I've been avidly reading the docs for Rev and MC and playing with both. However, I find the above information really surprising and disappointing. I hope I've got the wrong end of the stick.... I like what I've seen as I've been investigating these products. Suddenly, I get object-orientation in a way that I have never got it before (having tried to learn it whilst working with Java, Python, Zope, Ruby...) And my mind has been racing with the possibilities of Revolution. One thing that struck me this week, would be the possibility of writing an object-relational mapping using Revolution. That is, it should be theoretically possible to get a script to interrogate a database and reconstruct the tables as stacks. By parsing the data definitions for the tables, and using the dynamic scripting of Transcript the stacks could be constructed on the fly. Once this is done, one could map the relationships between the tables (be nice to do it with drag and drop...but I haven't got far enough in the docs to see if that is possible). Even if the drag and drop isn't possible, I was hoping that one could also create mappings via user-selected means (drop down lists, for example). However, the above quotation makes me doubt the possibility of this scenario. It was amazing to read Dan mentioning scriptExpert - I had just conceived of the possibility of such a thing a couple of days ago, and now I hear it has existed for years on Hypercard (now I desperately want to see that working.... does it still exist? would it work with Revolution or would there be too many Hypertalk specifics missing?) Do the above quoted remarks mean that Revolution standalones would be quite limited in their ability to dynamically create objects? Regards, Bernard Devlin From drvaughan55 at mac.com Sat Aug 3 07:29:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Sat Aug 3 07:29:01 2002 Subject: Can I use Revolution for this? In-Reply-To: <200208030851.EAA23668@www.runrev.com> Message-ID: <36EDCC6E-A6DC-11D6-85F1-000393598038@mac.com> On Sunday, August 4, 2002, at 03:48 , knowledgeworks wrote: >>> > ==== > Limits: > snip > > Do the above quoted remarks mean that Revolution standalones would be > quite > limited in their ability to dynamically create objects? Bernard Not in their ability to create objects from templates, change their properties as Dave Cragg pointed out, and insert direct modifications to their behaviour. Only in your ability to create extensive unique new scripts on the fly, which amounts to using a program editing environment. Given your object-mapping example, it may not be too much to expect that a user of such a tool would themselves have a Revolution licence, in which case there is again no problem at all doing anything whatsoever. regards David > > > Regards, Bernard Devlin > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bvg at mac.com Sat Aug 3 07:52:01 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat Aug 3 07:52:01 2002 Subject: Can I use Revolution for this? In-Reply-To: <200208030851.EAA23668@www.runrev.com> Message-ID: <770BE56A-A6DF-11D6-8C6A-003065AD94A4@mac.com> On Samstag, August 3, 2002, at 07:48 , knowledgeworks wrote: > > One thing that struck me this week, would be the possibility of writing > an > object-relational mapping using Revolution. That is, it should be > theoretically > possible to get a script to interrogate a database and reconstruct the > tables as > stacks. By parsing the data definitions for the tables, and using the > dynamic > scripting of Transcript the stacks could be constructed on the fly. > Once this > is done, one could map the relationships between the tables (be nice to > do it > with drag and drop...but I haven't got far enough in the docs to see if > that is > possible). Even if the drag and drop isn't possible, I was hoping that > one > could also create mappings via user-selected means (drop down lists, for > example). I don't see how that application would need anything which is limited in a standalone made with Revolution. Shure you wont be able to create very big scripts automaticaly, but does that really mater? I just don't see how you would need that feature. I would just create templates of the listfelds, drop downs etc. and clone them. You can also put the script into a higher level of the message path (group, card, stack) and put any script there, so that the newly generated object doesn't need any script. If, however, you want to dynamically generate scripts during runtime, you have many ways to choose from: Partly dynamic: You can use pre-generated code-chunks of ANY size and put them into up to 50 stacks and then use them via 'start using stack "stackname" '. This enables you to predefine many different scripts which then can be used as needed. Fully dynamic: Generate chains of scripts. You can put 10 lines of scripts into an object during runtime. When you only use 9 of them for your needs, then you can use the 10th to chain another script afterwards. This lets you generate many many many lines of codes! I tried that once (I didn't have the license back then) , and I can tell you, it is possible, but also really annoying to do so. You have to adjust all if's and repeat's to fit into the structure, which is ok, but combined with the debugging it will take all the fun away. Example: --in the button: on mouseup calculateGiants --9 lines end mouseup --in the group: on calculate Giants withaParameter LamaParameter do predefinedMessage "you can also split your lines into two!" --8 additional lines end calculate Giants --in the card: on predefinedMessage discardChunk andSoOn end predefinedMessage Calculation of the maximum number of codelines which can be generated in a standalone during runtime and afterwards executed during one event: 9 lines in the messagereciever (eg the button which got clicked) 9 lines in the group in which the button is in 9 lines in the card 9 lines in the stack 9 lines in the mainstack 9 x 50 in the stacks in use 9 x 10 in the frontScripts 9 x 10 in the back Scripts 9 x 10 in the do commands 1 additional line in the last executed control structure :) = 766 lines > .... snip > It was amazing to read Dan mentioning scriptExpert - I had just > conceived of the > possibility of such a thing a couple of days ago, and now I hear it has > existed > for years on Hypercard (now I desperately want to see that working.... > does it > still exist? would it work with Revolution or would there be too many > Hypertalk > specifics missing?) I would like to see that stack too! (if aviable) > Do the above quoted remarks mean that Revolution standalones would be > quite > limited in their ability to dynamically create objects? * No not at all! You can create as much objects as you wish. You can change their properties. You can change their layout. You can change their position. BUT you are limited in the way you can change their scripts during runtime in a standalone! the 10-10-50-10 Statement is only about the scripts, nothing else. Hope this clarifies a little Bjoernke * quoted remarks removed by demand of Simplicity legals ; ) From rodneys at io.com Sat Aug 3 08:30:01 2002 From: rodneys at io.com (Rodney Somerstein) Date: Sat Aug 3 08:30:01 2002 Subject: Can I use Revolution for this? In-Reply-To: <200208030204.WAA19557@www.runrev.com> References: <200208030204.WAA19557@www.runrev.com> Message-ID: Troy discussed the limits from the documentation as follows: >==== >Limits: >Statements permitted when changing a script (normally 10) >Statements permitted in a do command (normally 10) >Stacks permitted in the stackInUse (normally 50) >Number of objects permitted in the frontScripts and backScripts >(normally 10). > >The first number does not limit scripts that are already written. In >other words, a Starter Kit [standalone] user can use a stack with >scripts of any length. however, if that stack attempts to change an >object's script property, and the script contains more than the >allowable number of statements, the attempt to set the script causes an >error. > >The above limits apply only when you use the Starter Kit. (Standalone >applications you create with Revolution also have these limitations, >since standalones are freely distributable and are not themselves >licensed.) If you are using a licensed copy of Revolution, these limits >do not apply and the scriptLimits functions returns empty. >==== > >I created a standalone which simply opened and displayed its limits. In >my licensed Rev environment, it returned empty. Run as a standalone, it >returned 10,10,50,10, so the limits are there all right. > >However, are they critical to Rodney's need? I do not believe so, in >that you can create any number of objects of a given script (this is >quite different from inserting new front and back scripts). Problems >will arise where you wish to create user-specific scripts of more than >ten lines to run with the do command. If this is a limitation, then a >game language and a parser will be needed, and will have no evident >limitations. > >It just depends... > It looks like I misunderstood the frontScripts/backScripts issue a bit. I see that I can simply create one object of each kind that I need and then the game designers should be able to specify how many of each they want in their games. These objects will automatically be in the message paths. Due to the limits on changing scripts and do commands, I will probably have to implement a custom scripting language for the system. While I would have created some handlers for common tasks, this will require me to do much more work as the developer than I would have had to otherwise. There are certain things that the designers will not be able to easily do within the starter kit limits, but I see that they probably can be worked around. Dan comments on these limits as well: >Wow. This is a bit surprising. I can see the rationale for the new >script-size limitation and I suppose the do command sort of would be >a back-door way around that limit if it weren't imposed. But it >*will* artificially (and I think unnecessarily) limit some kinds of >applications which won't be able to be built using the product. I >suppose there are justifications for this kind of thing but it always >makes me wonder about the priorities of the publishers of the >software. It too often seems -- and I'm not making this judgement >here about Revolution, so don't go jumping on me! -- that some >publishers are more worried about protecting themselves against the >extreme unlikelihood that someone would essentially use their product >to create a competitor than they are about the ultimate usability of >the tool. I think that you have hit the nail on the head, so to speak. While you are trying to be polite and not judge Revolution on this, it seems that they are limiting things for just the reasons that you state. Again, the question is, why should I have to go through this? By paying for the license, I should be able to create a stack to do pretty much whatever I want without having to jump through such hoops. At the very least, all of these limits should be doubled for standalones produced from a licensed copy of Revolution. That too is arbitrary, but would still protect Run Rev from their evident fear of my producing a competing product. It also rewards me for purchasing the product from them by lifting some of the limits imposed on standalones produced without giving them some income (i.e., only using the starter kit.) Of course, if these limits are actually imposed by MetaCard, I don't know if there is any easy way around this for them. However, they could still push to have all of these limits increased. It would make the product more applicable to a wider range of developers. If HyperCard were cross-platform and still produced, I wouldn't have to deal with these issues. It is interesting that there have been no comments from anyone at RunRev. I suspect they are all on vacation right now. -Rodney From wow at together.net Sat Aug 3 09:15:01 2002 From: wow at together.net (Richard D. Miller) Date: Sat Aug 3 09:15:01 2002 Subject: Project funding ideas In-Reply-To: <4CB05C23-A59C-11D6-8E83-000393853D6C@rpsystems.net> Message-ID: I'm starting work on a new Rev-based project that has to do with golf...yes, golf. I'm looking for contacts to companies or individuals that might be interested in investing into this...about $50k initially. I thought some of the folks on this list might have some leads. It's a solid project with very large upside potential and a fast payback. The product is totally unique. The potential investors have to play and love golf! If anyone has any ideas, please email me directly rather than through this list. Thanks. Richard Miller Burlington, Vermont 802-238-5355 From rcozens at pon.net Sat Aug 3 10:31:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Aug 3 10:31:01 2002 Subject: Translators & Prerelease Testers Wanted Message-ID: Hello Revolution Community, I am pleased to announce that development of Serendipity Library has reached the stage where I am ready to share my efforts with translators and prerelease testers. The Library should be of interest to anyone who wants to build user-translatable applications and anyone looking for a royalty-free, single user, hierarchical database written entirely in Transcript. Notes to potential translators: You have an opportunity to participate in creation of the first user-translatable Revolution application. The more languages present in the Message Files folder, the more forcefully the point is made. As you will see when you load a new message file, you will be credited as author of your translation to anyone who uses it. There are currently 163 lines in a Library message file. The Library's "Translate Message File" selection can be used to translate the messages line-by-line. The process can be interrupted and resumed until the translation is complete; so you can perform the translation on a "time available" basis. Anyone interested in translating and/or prerelease testing Serendipity Library should eMail library at oenolog.com. Place "Prerelease" in the subject AND include the following text (fill in appropriate blanks) in the body of your message: >> I would like to participate in the Serendipity Library project as: __ A translator -- Language: _________________________ __ A translation reviewer -- Language: _________________________ __ A tester __ I am willing to translate one 5k Mac snd resource to .au format Upon exercising download instructions for the prerelease version of Serendipity Library, I agree: 1. To provide feedback to Serendipity Software Company within five days. 2. To refrain from giving the download URL to any other person. 3. To refrain from public comment regarding the Library until it is officially released. << Please note that Serendipity Library will be released for free distribution when testing is complete; so your efforts benefit the Revolution community as well as 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 dan at danshafer.com Sat Aug 3 11:12:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Sat Aug 3 11:12:01 2002 Subject: Can I use Revolution for this? In-Reply-To: <770BE56A-A6DF-11D6-8C6A-003065AD94A4@mac.com> References: <770BE56A-A6DF-11D6-8C6A-003065AD94A4@mac.com> Message-ID: >At 2:49 PM +0200 8/3/02, Bj?rnke von Gierke wrote: >>It was amazing to read Dan mentioning scriptExpert - I had just >>conceived of the >>possibility of such a thing a couple of days ago, and now I hear it >>has existed >>for years on Hypercard (now I desperately want to see that >>working.... does it >>still exist? would it work with Revolution or would there be too >>many Hypertalk >>specifics missing?) > >I would like to see that stack too! (if aviable) Well, the original HyperCard stack would actually probably work but it would be incomplete and undoubtedly need some tweaking. It was pretty comprehensive; I don't think there were any HyperTalk commands or functions it didn't implement. Transcript has a lot more to implement and it does a stricter job of enforcement of some syntax rules on which HyperTalk was pretty forgiving. OTOH, my ScriptExpert program would at the very least function as a useful specification and prototype and probably some large percentage of it would simply work right out of the box. So what kind of demand would there be for such a tool? It was a qualified success in the world of HyperCard. Experienced scripters thought it just got in the way but newbies and hobbyists seemed to love it because it made it unnecessary to memorize complex commands and functions and because it generated HyperTalk that was always visible in a field so it was a great learning tool. If I thought it had a chance of both selling enough copies to recoup my investment of time and helping people make better or more efficient use of Transcript, I'd be tempted to port and extend it. Takers? (You might want to respond to me privately rather than cluttering the list.) -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 kray at sonsothunder.com Sat Aug 3 12:18:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 3 12:18:00 2002 Subject: Can I use Revolution for this? References: <200208030204.WAA19557@www.runrev.com> Message-ID: <0d2d01c23b10$d95691c0$6f00a8c0@mckinley.dom> Rodney, > Again, the question is, why should I have to go through this? By > paying for the license, I should be able to create a stack to do > pretty much whatever I want without having to jump through such > hoops. At the very least, all of these limits should be doubled for > standalones produced from a licensed copy of Revolution. That too is > arbitrary, but would still protect Run Rev from their evident fear of > my producing a competing product. It also rewards me for purchasing > the product from them by lifting some of the limits imposed on > standalones produced without giving them some income (i.e., only > using the starter kit.) > > Of course, if these limits are actually imposed by MetaCard, I don't > know if there is any easy way around this for them. However, they > could still push to have all of these limits increased. It would make > the product more applicable to a wider range of developers. If > HyperCard were cross-platform and still produced, I wouldn't have to > deal with these issues. From kray at sonsothunder.com Sat Aug 3 12:22:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 3 12:22:01 2002 Subject: Can I use Revolution for this? References: <200208030204.WAA19557@www.runrev.com> Message-ID: <0d3401c23b11$7c6cc0a0$6f00a8c0@mckinley.dom> (Sorry about that last empty post...) Rodney, > Again, the question is, why should I have to go through this? By > paying for the license, I should be able to create a stack to do > pretty much whatever I want without having to jump through such > hoops. At the very least, all of these limits should be doubled for > standalones produced from a licensed copy of Revolution. That too is > arbitrary, but would still protect Run Rev from their evident fear of > my producing a competing product. It also rewards me for purchasing > the product from them by lifting some of the limits imposed on > standalones produced without giving them some income (i.e., only > using the starter kit.) > > Of course, if these limits are actually imposed by MetaCard, I don't > know if there is any easy way around this for them. However, they > could still push to have all of these limits increased. It would make > the product more applicable to a wider range of developers. If > HyperCard were cross-platform and still produced, I wouldn't have to > deal with these issues. These *are* MetaCard imposed limits, but quite honestly, most of the cases IMHO where you might think you need to create new scripts on the fly can be done in different methods that are totally compliant with MC/Rev. Also, if you are looking to create tools/utilities to help the MC/Rev developer with easy script creation, you can do that *inside* the MC/Rev environment and thereby not encounter the standalone limitations. As a long time HyperCard - then SuperCard - then MetaCard developer, I thought this limitation was a bit much myself at first (just like I thought I'd never get past the MetaCard UI :-), but in the 5 years I have used MetaCard, it has never been a problem for me. Can you give me an example of what you might want to do that you think these script limitations prevent you from doing? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From yvescoppe at skynet.be Sat Aug 3 12:33:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Sat Aug 3 12:33:01 2002 Subject: search a date Message-ID: Hi, can someone help me to write a function. I have a text in a variable : textToSearch each line of the text contains text and numbers some lines of the text contains a date in the systemFormat (for me in French format : DD/MM/YY) I'd like to extract only the dates the function should return : 12/12/00 25/01/01 30/03/01 15/06/01... and this dates are extract from my text Note : where a line contains a date, this line contains only a date and no ohter data Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From raney at metacard.com Sat Aug 3 12:54:01 2002 From: raney at metacard.com (Scott Raney) Date: Sat Aug 3 12:54:01 2002 Subject: Can I use Revolution for this? In-Reply-To: <200208031514.LAA28380@www.runrev.com> Message-ID: On Sat, 3 Aug 2002 Rodney Somerstein wrote: > I think that you have hit the nail on the head, so to speak. While > you are trying to be polite and not judge Revolution on this, it > seems that they are limiting things for just the reasons that you > state. > > Again, the question is, why should I have to go through this? By > paying for the license, I should be able to create a stack to do > pretty much whatever I want without having to jump through such > hoops. Even if this freedom means it would be trivial to put Runtime Revolution and MetaCard Corporation out of business? I mean, it would take you all of 10 minutes to create your own Home stack, and post it to public sites (for free download) and instantly eliminate almost all sales of both products. Which of course result in the ceassation of all future development of either? Seems a pretty high price to pay for "freedom"... > At the very least, all of these limits should be doubled for > standalones produced from a licensed copy of Revolution. That too is > arbitrary, but would still protect Run Rev from their evident fear of > my producing a competing product. It also rewards me for purchasing > the product from them by lifting some of the limits imposed on > standalones produced without giving them some income (i.e., only > using the starter kit.) Unfortunately there is no way to distinguish standalones produced with licensed versions from those produced with the Starter Kit. All engines are the same, regardless of where they came from or how they're being used. It's not practical to make it work any other way. > Of course, if these limits are actually imposed by MetaCard, I don't > know if there is any easy way around this for them. However, they > could still push to have all of these limits increased. It would make > the product more applicable to a wider range of developers. If > HyperCard were cross-platform and still produced, I wouldn't have to > deal with these issues. And if pigs had wings... ;-) And as has been pointed out ad nauseum on the HC mailing list: if HC had a viable business model, it would still be being produced. The fact that it's not tells you something was seriously wrong in how it was produced and/or sold. > It is interesting that there have been no comments from anyone at > RunRev. I suspect they are all on vacation right now. I guess something from MetaCard will have to do: it's absolutely preposterous to even propose that all Starter Kit limits be eliminated. That would essentially put us in the shareware business, which is not a viable model for a product in this category. There's really one one other option in this area, and that's the license that SuperCard uses which leaves it up to the vendor to decide whether or not your product competes with them and to prohibit distribution if they think it does. And the previous owners of SuperCard had, in fact, used that clause to stop distribution of one of their customer's products with the result that that other company was forced out of business. Talk about your loss of freedom... If you have a real need to produce a product that requires unlimited scripting, we'd be happy to discuss an OEM/reseller license with you. It's much more invasive that the existing EULA (e.g., it would be per-copy royalty based), but completely frees you from the limits imposed in the Starter Kit. Regards, Scott > -Rodney ******************************************************** Scott Raney raney at metacard.com http://www.metacard.com MetaCard: You know, there's an easier way to do that... From bvg at mac.com Sat Aug 3 13:05:00 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat Aug 3 13:05:00 2002 Subject: search a date In-Reply-To: Message-ID: <35C5CCA0-A70B-11D6-8C6A-003065AD94A4@mac.com> on mouseUp local theDate -- this is neccesary repeat for each line theLine in textToSearch if matchtext(theLine, "([0-9][0-9]/[0-9][0-9]/[0-9][0-9])", theDate ) is true then put theDate & return after msg end if end repeat end mouseUp This returns one date per line if there are mor the one date per line, it will report the first one, even when in a line with other text... but it is not a function, so you will have to adjust it a little ;) hope it solves your needs Bjoernke On Samstag, August 3, 2002, at 07:33 , Yves Copp? wrote: > Hi, > > can someone help me to write a function. > > I have a text in a variable : textToSearch > > each line of the text contains text and numbers > some lines of the text contains a date in the systemFormat > (for me in French format : DD/MM/YY) > I'd like to extract only the dates > > the function should return : > 12/12/00 > 25/01/01 > 30/03/01 > 15/06/01... > > and this dates are extract from my text > > Note : where a line contains a date, this line contains only a date and > no ohter data > > 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 dan at danshafer.com Sat Aug 3 13:40:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Sat Aug 3 13:40:01 2002 Subject: Can I use Revolution for this? In-Reply-To: References: Message-ID: Scott.... >On Sat, 3 Aug 2002 Rodney Somerstein wrote: > >> I think that you have hit the nail on the head, so to speak. While >> you are trying to be polite and not judge Revolution on this, it >> seems that they are limiting things for just the reasons that you >> state. >> >> Again, the question is, why should I have to go through this? By >> paying for the license, I should be able to create a stack to do >> pretty much whatever I want without having to jump through such >> hoops. > >Even if this freedom means it would be trivial to put Runtime >Revolution and MetaCard Corporation out of business? I mean, it would >take you all of 10 minutes to create your own Home stack, and post it >to public sites (for free download) and instantly eliminate almost all >sales of both products. Which of course result in the ceassation of >all future development of either? Seems a pretty high price to pay >for "freedom"... Thanks for chiming in with the publisher's perspective here. I think it's always helpful to know what the folks who make these admittedly difficult trade-off decisions factor into their thinking. And not in any way to question the decision -- which is certainly your right to make -- but I wonder if other options were considered or if they are technically feasible in this case. There is an analogy here to creating Smalltalk stand-alones, a problem which I should point has not really ever been completely and satisfactorily solved but perhaps not for the reasons that are at stake here today. If it were possible to exclude from the standalone engines any ability to allow a user (as contrasted with a script) to use the development UI in any way, then by including license provisions that would prohibit creation of a product which directly competed with RR/MC and that would prohibit the creation of new tools that could be *used* to such an end, the intellectual property could be protected perhaps better than the current method allows. All that said, I think I have also concluded after thinking a good bit about this in the past 24 hours that if one designs RR/MC products/stacks using object-oriented techniques where the customization that needs to be done at runtime can be done either by dynamic modification of existing scripts that fall within the runtime limits or, more practically and efficiently, by changing the values of custom properties. In fact, custom properties allow for a fantastic range of options in standalones. That feature was perhaps my biggest single reason for adopting PLUS in preference to HC later in the xCard world's early history. I applaud you, Scott, for the great work on the MC engine and I'm really grateful for having found this great tool after years of "wishing" Apple had been able to be smart enough about HC to make it the success it truly deserved. -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 dan at danshafer.com Sat Aug 3 13:49:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Sat Aug 3 13:49:01 2002 Subject: search a date In-Reply-To: References: Message-ID: >Hi, > >can someone help me to write a function. > >I have a text in a variable : textToSearch > >each line of the text contains text and numbers >some lines of the text contains a date in the systemFormat >(for me in French format : DD/MM/YY) >I'd like to extract only the dates > >the function should return : >12/12/00 >25/01/01 >30/03/01 >15/06/01... > >and this dates are extract from my text > >Note : where a line contains a date, this line contains only a date >and no ohter data Just use the "is a" operator. Read a line of text inside the loop and find out if it is a date. If so, add it to your list. Something like: repeat for i = 1 to the number of lines in foo if line i of foo is a date then -- add it to your list end if end repeat >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 -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer Writer, Spiritual Student and Teacher Founder, Fellowship of One Mind, Monterey, CA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From yvescoppe at skynet.be Sat Aug 3 14:03:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Sat Aug 3 14:03:01 2002 Subject: search a date In-Reply-To: <35C5CCA0-A70B-11D6-8C6A-003065AD94A4@mac.com> References: <35C5CCA0-A70B-11D6-8C6A-003065AD94A4@mac.com> Message-ID: >on mouseUp > local theDate -- this is neccesary > repeat for each line theLine in textToSearch > if matchtext(theLine, "([0-9][0-9]/[0-9][0-9]/[0-9][0-9])", >theDate ) is true then > put theDate & return after msg > end if > end repeat >end mouseUp > >This returns one date per line if there are mor the one date per >line, it will report the first one, even when in a line with other >text... but it is not a function, so you will have to adjust it a >little ;) > >hope it solves your needs >Bjoernke > I translate your codee in a function I works good even with French dates This is the code function mi_searchDate textToSearch local theDate -- this is neccesary put empty into tresult repeat for each line theLine in textToSearch if matchtext(theLine, "([0-9][0-9]/[0-9][0-9]/[0-9][0-9])", theDate ) is true then put theDate & cr after tresult end if end repeat delete last char of tresult return tresult end mi_searchDate Note : I wrote such a function repeat for each line L in textToSearch if L is a date then put L&cr after tresult end if end repeat But sometimes some lines are returned although they are not a date with your code, this is correct. Thank you very much -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From yvescoppe at skynet.be Sat Aug 3 14:51:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Sat Aug 3 14:51:01 2002 Subject: search a date In-Reply-To: References: Message-ID: >>Hi, >> >>can someone help me to write a function. >> >>I have a text in a variable : textToSearch >> >>each line of the text contains text and numbers >>some lines of the text contains a date in the systemFormat >>(for me in French format : DD/MM/YY) >>I'd like to extract only the dates >> >>the function should return : >>12/12/00 >>25/01/01 >>30/03/01 >>15/06/01... >> >>and this dates are extract from my text >> >>Note : where a line contains a date, this line contains only a date >>and no ohter data > >Just use the "is a" operator. Read a line of text inside the loop >and find out if it is a date. If so, add it to your list. Something >like: > >repeat for i = 1 to the number of lines in foo > if line i of foo is a date then > -- add it to your list > end if >end repeat > As I wrote in a previous mail, this returns some errors : some lines are in the result of the function but they are not a date. See the function I wrote with the help of Bj?rnke This function works fine. Bj?rnke has based his code on the matchtext function. Thank you for your help, Dan. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From gcanyon at inspiredlogic.com Sat Aug 3 15:01:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Aug 3 15:01:01 2002 Subject: Can I use Revolution for this? In-Reply-To: <200208030851.EAA23668@www.runrev.com> References: <200208030851.EAA23668@www.runrev.com> Message-ID: Responses below. If any of it's not clear I can go into more detail. At 10:48 AM -0700 8/3/02, knowledgeworks wrote: >Do the above quoted remarks mean that Revolution standalones would be quite >limited in their ability to dynamically create objects? No. You can create (and duplicate) as many objects as you like in a standalone, without limitations. The _only_ limit is the script limits. The documentation covers this, but just to make sure: You can, in a standalone, duplicate existing objects with scripts of any length. Those scripts can do different things based on standard properties, or on custom properties, of the objects. Objects that are created or duplicated in a standalone are automatically part of the existing message hierarchy. If you create a button, it will receive a mouseUp if someone clicks on it. You don't need to insert it into the path. You can, in a standalone, "do" any script up to ten lines in length. This sounds like a severe restriction to many, but in reality it allows you to do almost anything, with a little work. You can set the script of any object -- an existing object, one you create, or one you duplicate -- to a script of up to ten lines. Again, this is more restrictive when you first get started, but as you gain experience with Transcript, you'll find that much can be done in ten lines. At 2:49 PM +0200 8/3/02, Bj?rnke von Gierke wrote: >Partly dynamic: >You can use pre-generated code-chunks of ANY size and put them into up to 50 stacks and then use them via 'start using stack "stackname" '. This enables you to predefine many different scripts which then can be used as needed. You could also put the scripts into backgrounds and place or remove them. You could also put all the _other_ objects into a background that exists on many cards, and put the scripts into the card scripts, and then go to whichever card has the script you need to be in place. There are _many_ ways to get the concept of dynamic scripts done, without even bothering with the script limits. At 8:00 PM -0700 8/2/02, Dan Shafer wrote: >Wow. This is a bit surprising. I can see the rationale for the new script-size limitation and I suppose the do command sort of would be a back-door way around that limit if it weren't imposed. But it *will* artificially (and I think unnecessarily) limit some kinds of applications which won't be able to be built using the product. I suppose there are justifications for this kind of thing but it always makes me wonder about the priorities of the publishers of the software. It too often seems -- and I'm not making this judgement here about Revolution, so don't go jumping on me! -- that some publishers are more worried about protecting themselves against the extreme unlikelihood that someone would essentially use their product to create a competitor than they are about the ultimate usability of the tool. This exact thing happened to the SuperCard crew several years ago. A licensee produced a competitive product using SuperCard, and...Allegiant, I think -- had to sue to stop them. Eventually a deal was reached. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From gcanyon at inspiredlogic.com Sat Aug 3 15:04:02 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Aug 3 15:04:02 2002 Subject: Can I use Revolution for this? In-Reply-To: References: Message-ID: >OK, I have a question about whether or not I can use Revolution for the project that I want to do. I hope so, because I have effectively wasted a few hundred dollars in Rev licensing and documentation if not. > >Let me describe the project, which I mentioned here once before, and then my concerns. The project is a system to allow people to play games online. This system will support a variety of board and card games, many of which are very complex and could potentially have 1000 playing pieces, cards, boards, etc. in certain games. I want the users to be able to create their own games as the goal is to be able to adapt existing strategy games to be playable online using Revolution to create the front end. > >Now, my concern has to do with the standalone limitations. Is there a way that I can read data from an external file and then create all of the playing pieces and such that are needed in a particular game? Even a small game is likely to have more than 50 pieces. It seems that I'm going to bump into the limitations of the standalone environment as each of these pieces would be an object and the user needs to be able to script them to a certain extent. Is this a real concern, or is there a simple workaround? > >Rodney Somerstein >rodneys at io.com You can create as many objects as you want. For pre-existing scripts (of any length) store the objects in a stack file. That way you can simply copy them into your program, scripts and all. That isn't affected by the script limits. What sort of scripting do you want your users to be able to do? -- regards, Geoff Canyon gcanyon at inspiredlogic.com From raney at metacard.com Sat Aug 3 15:57:00 2002 From: raney at metacard.com (Scott Raney) Date: Sat Aug 3 15:57:00 2002 Subject: Can I use Revolution for this? In-Reply-To: <200208031905.PAA02216@www.runrev.com> Message-ID: On Sat, 3 Aug 2002 Geoff Canyon wrote: > This exact thing happened to the SuperCard crew several years ago. A > licensee produced a competitive product using SuperCard, > and...Allegiant, I think -- had to sue to stop them. Eventually a > deal was reached. Unfortunately that "deal" was completely one-sided because Allegiant had them over the proverbial barrel. And while what I said about them going out of business because of this is mostly true, the reality is quite a bit more complicated because it involves a failed Java project, which as it turns out is one of my favorite topics ;-) The company in question was Pierian Spring and the product was Digital Chisel. Partly because of this legal wrangling with Allegiant and partially because Allegiant was thrashing in their attempt to port SuperCard to Windows, Pierian attempted to rewrite Digital Chisel in Java. They did actually manage to release a Windows version of that product, but never could get the Mac version of Java to work well enough to release a product on. Combined with Allegiant's failure to come to the rescue with a Windows version of SuperCard (a failure that sent *that* company out of business), Pierian quietly went out business in 1999. Too bad, too, because if they'd been able to hold out a bit longer the could have switched to MetaCard (which only came out for the Mac in late 1998) and been able to release their software under *our* licensing terms without paying the kind of royaties (and dealing with the hassle) their agreement with Allegiant required. We're still looking for someone to take on that K12 market in earnest. The implosion of HyperStudio makes this about the perfect time to enter that market... Regards, Scott > -- > regards, > > Geoff Canyon > gcanyon at inspiredlogic.com ******************************************************** Scott Raney raney at metacard.com http://www.metacard.com MetaCard: You know, there's an easier way to do that... From kray at sonsothunder.com Sat Aug 3 16:41:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 3 16:41:01 2002 Subject: Can I use Revolution for this? References: Message-ID: <0d5c01c23b35$8acb7410$6f00a8c0@mckinley.dom> > We're still looking for someone to take on that K12 market in earnest. > The implosion of HyperStudio makes this about the perfect time to > enter that market... What do you mean "the implosion of HyperStudio"... ? What happened? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bvg at mac.com Sat Aug 3 16:47:01 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat Aug 3 16:47:01 2002 Subject: Can I use Revolution for this? In-Reply-To: Message-ID: <2A268243-A72A-11D6-8C6A-003065AD94A4@mac.com> This should definitely be on a page on the MetaCard homepage... couse it certainly is one of the most interesting postings on this list, ever :) On Samstag, August 3, 2002, at 10:54 , Scott Raney wrote: > On Sat, 3 Aug 2002 Geoff Canyon wrote: > >> This exact thing happened to the SuperCard crew several years ago. A >> licensee produced a competitive product using SuperCard, >> and...Allegiant, I think -- had to sue to stop them. Eventually a >> deal was reached. > > Unfortunately that "deal" was completely one-sided because Allegiant > had them over the proverbial barrel. And while what I said about them > going out of business because of this is mostly true, the reality is > quite a bit more complicated because it involves a failed Java > project, which as it turns out is one of my favorite topics ;-) > > The company in question was Pierian Spring and the product was Digital > Chisel. Partly because of this legal wrangling with Allegiant and > partially because Allegiant was thrashing in their attempt to port > SuperCard to Windows, Pierian attempted to rewrite Digital Chisel in > Java. They did actually manage to release a Windows version of that > product, but never could get the Mac version of Java to work well > enough to release a product on. Combined with Allegiant's failure to > come to the rescue with a Windows version of SuperCard (a failure that > sent *that* company out of business), Pierian quietly went out > business in 1999. Too bad, too, because if they'd been able to hold > out a bit longer the could have switched to MetaCard (which only came > out for the Mac in late 1998) and been able to release their software > under *our* licensing terms without paying the kind of royaties (and > dealing with the hassle) their agreement with Allegiant required. > > We're still looking for someone to take on that K12 market in earnest. > The implosion of HyperStudio makes this about the perfect time to > enter that market... > Regards, > Scott > >> -- >> regards, >> >> Geoff Canyon >> gcanyon at inspiredlogic.com > > ******************************************************** > Scott Raney raney at metacard.com http://www.metacard.com > MetaCard: You know, there's an easier way to do that... > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From robmcn at comcast.net Sat Aug 3 18:11:01 2002 From: robmcn at comcast.net (Robert McNeil) Date: Sat Aug 3 18:11:01 2002 Subject: Really learning Revolution In-Reply-To: Message-ID: Hi everyone, my name is Rob McNeil. I have been following this list for some time. I only have the free application. I believe I have a wealth of ideas for Run Rev - my concern is this. From your experience, what is the best, most direct way to learn Revolution? I understand that I will have to by the license and get the manuals, any other tips out there? I love to tinker with this stuff and have some free time. So feel free to let me know the best paths? I have a pretty good understanding of html, and some college programming experience, but that was many moons ago. I have built small apps in hyper card before, but nothing compared to what I see you folks playing with. Thanks, Rob McNeil From jperryl at ecs.fullerton.edu Sat Aug 3 18:22:00 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat Aug 3 18:22:00 2002 Subject: Can I use Revolution for this? In-Reply-To: <0d5c01c23b35$8acb7410$6f00a8c0@mckinley.dom> Message-ID: Probably Scott can answer this better but the version I had heard was that it was bought out and the proprieter (somebody Wagner?) was basically escorted out of the building with something other than friendliness. Judy Perry On Sat, 3 Aug 2002, Ken Ray wrote: > > > We're still looking for someone to take on that K12 market in earnest. > > The implosion of HyperStudio makes this about the perfect time to > > enter that market... > > What do you mean "the implosion of HyperStudio"... ? What happened? k From jperryl at ecs.fullerton.edu Sat Aug 3 18:23:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat Aug 3 18:23:01 2002 Subject: Can I use Revolution for this? In-Reply-To: <0d5c01c23b35$8acb7410$6f00a8c0@mckinley.dom> Message-ID: And btw, is anybody targetting all the new programs (MS & higher) in instructional design and technology programs that are emerging? My university is just opening its first class for the MS program but is using Director... Judy Perry On Sat, 3 Aug 2002, Ken Ray wrote: > > > We're still looking for someone to take on that K12 market in earnest. > > The implosion of HyperStudio makes this about the perfect time to > > enter that market... From troy at rpsystems.net Sat Aug 3 18:26:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sat Aug 3 18:26:01 2002 Subject: Really learning Revolution In-Reply-To: Message-ID: <0A8EED4F-A738-11D6-84F0-000393853D6C@rpsystems.net> On Saturday, August 3, 2002, at 07:18 PM, Robert McNeil wrote: > I have been following this list for some time. I only have the free > application. I believe I have a wealth of ideas for Run Rev - my > concern is > this. From your experience, what is the best, most direct way to learn > Revolution? I understand that I will have to by the license and get the > manuals, any other tips out there? Buying the app is a good idea. You don't need the manuals. You have it all in the help, and this list. To really learn it, even with the starter kit, make up your mind to DO something with it, and then go about making it do it. Ask questions as you go, there are some real Rev masters here, willing to help with the specifics. Cheers. -- Troy RPSystems, LTD www.rpsystems.net From bvg at mac.com Sat Aug 3 18:29:01 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat Aug 3 18:29:01 2002 Subject: Really learning Revolution In-Reply-To: Message-ID: <7DF99B0C-A738-11D6-8C6A-003065AD94A4@mac.com> Well the truth is: YOu already have the manuals! The printed manuals contain exactly the same information as the documentation which ships with the application (rightmost button). Some people suggest to buy a HyperCard book, as most commands function the same! My approach was always learning by doing, trying to do things that I am interested in, and learn them. But I know that others don't always like that... also try to look after some of the pages out there you find the runrev-webring on the main page of runrev.com, read the tips of the week when you already are there... greetings Bjoernke On Sonntag, August 4, 2002, at 01:18 , Robert McNeil wrote: > Hi everyone, my name is Rob McNeil. > > I have been following this list for some time. I only have the free > application. I believe I have a wealth of ideas for Run Rev - my > concern is > this. From your experience, what is the best, most direct way to learn > Revolution? I understand that I will have to by the license and get the > manuals, any other tips out there? > > I love to tinker with this stuff and have some free time. So feel free > to > let me know the best paths? I have a pretty good understanding of html, > and > some college programming experience, but that was many moons ago. I have > built small apps in hyper card before, but nothing compared to what I > see > you folks playing with. > > Thanks, > > Rob McNeil > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From robmcn at comcast.net Sat Aug 3 18:34:01 2002 From: robmcn at comcast.net (Robert McNeil) Date: Sat Aug 3 18:34:01 2002 Subject: Really learning Revolution In-Reply-To: <0A8EED4F-A738-11D6-84F0-000393853D6C@rpsystems.net> Message-ID: On 8/3/02 7:23 PM, "Troy Rollins" wrote: > > On Saturday, August 3, 2002, at 07:18 PM, Robert McNeil wrote: > >> I have been following this list for some time. I only have the free >> application. I believe I have a wealth of ideas for Run Rev - my >> concern is >> this. From your experience, what is the best, most direct way to learn >> Revolution? I understand that I will have to by the license and get the >> manuals, any other tips out there? > > Buying the app is a good idea. You don't need the manuals. You have it > all in the help, and this list. > > To really learn it, even with the starter kit, make up your mind to DO > something with it, and then go about making it do it. Ask questions as > you go, there are some real Rev masters here, willing to help with the > specifics. > > Cheers. > > -- > Troy > RPSystems, LTD > www.rpsystems.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Thanks Troy, I am off an running. Rob From robmcn at comcast.net Sat Aug 3 18:35:00 2002 From: robmcn at comcast.net (Robert McNeil) Date: Sat Aug 3 18:35:00 2002 Subject: Really learning Revolution In-Reply-To: <7DF99B0C-A738-11D6-8C6A-003065AD94A4@mac.com> Message-ID: Thanks so much, Rob On 8/3/02 7:26 PM, "Bj?rnke von Gierke" wrote: > Well the truth is: YOu already have the manuals! > The printed manuals contain exactly the same information as the > documentation which ships with the application (rightmost button). Some > people suggest to buy a HyperCard book, as most commands function the > same! > My approach was always learning by doing, trying to do things that I am > interested in, and learn them. But I know that others don't always like > that... > also try to look after some of the pages out there you find the > runrev-webring on the main page of runrev.com, read the tips of the week > when you already are there... > > greetings > Bjoernke > On Sonntag, August 4, 2002, at 01:18 , Robert McNeil wrote: > >> Hi everyone, my name is Rob McNeil. >> >> I have been following this list for some time. I only have the free >> application. I believe I have a wealth of ideas for Run Rev - my >> concern is >> this. From your experience, what is the best, most direct way to learn >> Revolution? I understand that I will have to by the license and get the >> manuals, any other tips out there? >> >> I love to tinker with this stuff and have some free time. So feel free >> to >> let me know the best paths? I have a pretty good understanding of html, >> and >> some college programming experience, but that was many moons ago. I have >> built small apps in hyper card before, but nothing compared to what I >> see >> you folks playing with. >> >> Thanks, >> >> Rob McNeil >> >> _______________________________________________ >> 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 knowledgeworks at knowledgeworks.plus.com Sat Aug 3 18:52:01 2002 From: knowledgeworks at knowledgeworks.plus.com (knowledgeworks) Date: Sat Aug 3 18:52:01 2002 Subject: Can I use Revolution for this? Message-ID: <200208032251.SAA07640@www.runrev.com> >> Even if this freedom means it would be trivial to put Runtime Revolution and MetaCard Corporation out of business? I mean, it would take you all of 10 minutes to create your own Home stack, and post it to public sites (for free download) and instantly eliminate almost all sales of both products. Which of course result in the ceassation of all future development of either? Seems a pretty high price to pay for "freedom"... << I realised on reflection today that it would be dangerous for MC/Rev to remove these limitations. After all, if it means that someone can (for nothing) reproduce the full functionality (i.e. deliver a standalone that was as malleable as the IDE itself), then it might threaten the existence/development of the MC engine itself. Frankly, I think that the basic Revolution license is just about the best value commercial software I've ever seen. The starter kit is fantastic as "free" software (I mean, I think that most people would feel compelled to get a license - it just doesn't feel right to have something of this calibre for nothing - I can think of only a handful of Open Source or "free" products on this scale: FreeBSD, Firebird, Zope, Python come to mind....) Metacard is very sound. But (for me) the additions made by Revolution (especially the ODBC access, and the enhanced IDE) are also very important. Actually, even the idea of printed documentation is pretty important (I think I could do with buying that.) I'm in the process of devising a business model that I anticipate being far more profitable and satisfying than working as an employee, and it includes a mixture of free and proprietary software. Sure, it's great that some if is both powerful and costs nothing (upfront... the time to comprehend can be very costly!) But at the end of the day, I want to make sure I am using the best combination of products. Provided something is not astronomically priced, I'll use it. And Revolution really hits the right spot in terms of power, price and comprehensibility. I anticipate buying a basic license before the end of this week. I normally spend a lot longer than that in making software purchasing decisions. But within an hour of reading about MC I could see its potential for my business, and when I downloaded and used Revolution the final decision was made within another couple of hours. If my business is successful, I will but the Professional license when the money is rolling in. Can I ask one question that I am almost in disbelief about: does the SBE of Revolution really cover the use of the IDE by 3 developers? My whimsical idea of using Revolution for OR mapping was just hypothetical... I'm still in the stage of thinking "just what are the limits of this technology". On reflection, I do understand why these limits are in place. Regards, Bernard Devlin From troy at rpsystems.net Sat Aug 3 19:14:02 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sat Aug 3 19:14:02 2002 Subject: Can I use Revolution for this? In-Reply-To: <200208032251.SAA07640@www.runrev.com> Message-ID: On Sunday, August 4, 2002, at 03:48 AM, knowledgeworks wrote: > Can I ask one question that I am almost in disbelief about: does the > SBE of Revolution really cover the use of the IDE by 3 developers? I could be mistaken, but I believe the point here is that if you were to need more than 3 small business licenses, you are not really a small business. Not that you can buy one license and use it for 3 different people. My small business has 2 professional licenses and coincidentally 2 Rev developers. Of course, the cool part is that we can install Rev on a host of test machines with different OSs. -- Troy RPSystems, LTD www.rpsystems.net From jcuccio at pacbell.net Sat Aug 3 22:09:00 2002 From: jcuccio at pacbell.net (John Cuccio) Date: Sat Aug 3 22:09:00 2002 Subject: unhilite a list field Message-ID: When you click a list field the line clicked is hilited. When the user soes something else I want to unhilite that line. What would I put in the script to do this. From jcuccio at pacbell.net Sat Aug 3 22:20:01 2002 From: jcuccio at pacbell.net (John Cuccio) Date: Sat Aug 3 22:20:01 2002 Subject: Send to list field Message-ID: How do I simulate clicking a line in a list field from a script. I know how to hilite a line in the list field. I tried sending a mouseup but that does not work. I do have code in the mouseup handler of the field. on script set the hilitedline of field x to 3 send "mouseup" to field x end script From rodneys at io.com Sat Aug 3 23:04:01 2002 From: rodneys at io.com (Rodney Somerstein) Date: Sat Aug 3 23:04:01 2002 Subject: Can I use Revolution for this? In-Reply-To: <200208031514.LAA28380@www.runrev.com> References: <200208031514.LAA28380@www.runrev.com> Message-ID: Dave Cragg wrote: >It would be useful if you could give a concrete example of what a >user may need to "script". If it's a case of modifying (as opposed to >creating) object behaviors (speed, power, etc.), perhaps custom >properties could used to set values that a pre-written script uses >when it runs. You can clone objects that have any size of script (in >a standalone or in development), so creating pieces from an external >stack of pre-existing objects would seem to be possible. As a simple example of a typical game, lets take a look at Mahjong. In the simplified scoring system for Mahjong that I use, there are 42 possible scoring patterns (combinations of tiles). In some of the more complex variations there are many more than this. So, at the end of a hand, to score for each person, I have to score each person's hand individually, checking the entire hand against each scoring pattern. Each hand may contain several of these patterns. After detecting each pattern, I have to add them to the cumulative score. This needs to be done for each player's hand. After all scores are calculated, each person pays the winner of the hand a certain number of points based on the completion state of their hands. To calculate these scores, it would seem that I need to set up a loop for each person's hand to check for each possible pattern which can iterate through the hand to see how many times it occurs and then increments the score for the hand appropriately. As an example, one possible pattern is that the person has 13 tiles in their hand at the end of the game that consist of the values 1 1 1 2 3 4 5 6 7 8 9 9 9 of the same suit. Just checking for this one pattern could be tough to do within the script length limit. And again, this is just one possible pattern out of 42, some of which are short enough to occur multiple times within a single hand. For example, each three tiles in the hand which contain certain values (all the same kind of dragon or all the same wind) score a certain number of points. And, some of these patterns can occur cumulative with other patterns. Now, remember that one of my goals is to create a generic system that is flexible enough to allow the game developer to implement whatever kind of game they want. The above example is just one of thousands of games, and not one of the most complex by far. There is no way that I can implement all of the rules myself and just let the users pick from among the available ones. I will be implementing this in stages. The first things the users will be able to do is simply define some very simple rules, such as what a deck of cards is (can they draw from the deck, or are all cards dealt to users - how many draw and discard piles are there, which cards are visible, etc.) , how dice work (how many sides to they have, what are the values, etc.), etc. As time goes on, I want players to be able to automate this instead of simply simulating the board game experience online. There is no reason that the players, for example, should have to figure out the score manually in the Mahjong game mentioned above, so I want the more ambitious developers to be able to build on what I have done to add additional functionality. It may be that this is simply too open a set of limits for something like Revolution to allow. As I am developing a free product and ideally open source, I can't really expect the average user to pay for a license for Revolution. Only those who want to add new basic behaviors to the environment should need to do that. I'm not asking to give the users access to the development environment itself, just to let them create their scripts in text files that my application (based on Revolution, of course) can then execute. After a quick look at the MetaCard website, it appears that some of these limitations might be imposed by MetaCard itself. So, RunRev might have license restrictions that they have to stick to as well and are required to enforce. Given what I have heard over the years about MetaCard, it is actually kind of surprising that they are allowed to expose everything that they do. (Of course it was hard to even figure this out from their website as they don't make all of the free info available for MetaCard that we can get for Revolution. They do discsuss a bit about script limits, but make it sound as if the do script limit in MetaCard is less restrictive than the one in Revolution.) What exactly is the relationship between the two companies, anyway? Are they really the same or did RunRev just come up with a neat idea for extending MetaCard and pay enough money to make it happen? It is looking more and more like I may end up needing to go to some sort of freely available environment such as Java, Python, etc. These languages all have issues of their own, particularly native look and feel. I guess I just got spoiled by HyperCard and thought that Revolution would allow me to do the same things I could do there. In some ways I can do much more with Rev, in others it is turning out to be less. I may end up creating an initial version of the program in Rev to get all of the basic functionality done. When that is stable and users are relatively happy, I could then rewrite the program in another language. I'm likely to have learned all kinds of things about how I limited myself by that point so a rewrite is likely anyway. Just continually extending the program can get pretty messy over time. -Rodney From dan at danshafer.com Sat Aug 3 23:18:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Sat Aug 3 23:18:01 2002 Subject: Send to list field In-Reply-To: References: Message-ID: >How do I simulate clicking a line in a list field from a script. > >I know how to hilite a line in the list field. I tried sending a mouseup but >that does not work. I do have code in the mouseup handler of the field. > >on script > set the hilitedline of field x to 3 > send "mouseup" to field x >end script That basic script works fine for me. The mouseUp handler of the field gets executed. So there may be a bug or logic error in the mouseUp handler. Have you tried doing this with something simple in the mouseUp handler like "beep" or something? >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer Writer, Spiritual Student and Teacher Founder, Fellowship of One Mind, Monterey, CA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From kray at sonsothunder.com Sat Aug 3 23:28:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 3 23:28:01 2002 Subject: unhilite a list field References: Message-ID: <0da001c23b6e$65a79cc0$6f00a8c0@mckinley.dom> set the hilitedLines of field 1 to empty Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "John Cuccio" To: "Rev List" Sent: Saturday, August 03, 2002 10:07 PM Subject: unhilite a list field > When you click a list field the line clicked is hilited. When the user soes > something else I want to unhilite that line. What would I put in the script > to do this. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From troy at rpsystems.net Sat Aug 3 23:32:00 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sat Aug 3 23:32:00 2002 Subject: Can I use Revolution for this? In-Reply-To: Message-ID: On Sunday, August 4, 2002, at 12:00 AM, Rodney Somerstein wrote: > What exactly is the relationship between the two companies, anyway? Are > they really the same or did RunRev just come up with a neat idea for > extending MetaCard and pay enough money to make it happen? They are not the same company. RunRev has a long term and stable licensing arrangement with MetaCard (as it was explained to us.) Scott Raney, who just hours ago replied specifically to this thread, probably speaks best for MetaCard, since it is his engine and company. With regard to the engine, I guess you could say that he has the last word. You might want to go back and read his comments in order to get the perspective of the engine maker on the topic. I think his points are pretty valid and understandable. If it means that "certain types" of applications cannot be practically built in order to help ensure financial stability for the two companies, I certainly prefer that over the potential loss of the companies to us and by default elimination of further development of the tools we use to make our living. -- Troy RPSystems, LTD www.rpsystems.net From gwills at ozemail.com.au Sun Aug 4 00:11:00 2002 From: gwills at ozemail.com.au (Greg Wills) Date: Sun Aug 4 00:11:00 2002 Subject: Disappearing text In-Reply-To: <200207291603.MAA13619@www.runrev.com> References: <200207291603.MAA13619@www.runrev.com> Message-ID: Thanks Sarah for your comments. The text field that I am selecting from needs to be text wrapped for the viewer to see, so "Don't wrap" doesn't work. The action of what I want is OK, it is just that visually it is off-putting when the text that has been selected disappears from view. I was wondering if it is a bug, or is there some setting that needs to be set to prevent this? >From: Sarah >To: use-revolution at lists.runrev.com >Reply-To: use-revolution at lists.runrev.com > >I haven't seen your problem but it seems odd that you can select a >paragraph. Is this just a long line that has wrapped? Yes it is just text with a return that defines the selected - clicked - text. regards Greg > I think these list >fields work best with Don't wrap turned on, so that each clickable chunk >is on a separate line. > >This may not be what you want, but it might be a good diagnostic test >for you. > >Sarah > >>My little dilemma is different behaviour of an application on a Mac >>and Windows. I have two fields. >>One with locked text (A) to click >>on text - to paste it into field (B) - unlocked. Field A has >>"highlight >>clicked lines and selected text", "list behaviour" and >>"highlight multiple lines" selected. >> >>On the Mac, when a paragraph is clicked, the top and bottom line >>are highlighted. (Not expected >>behaviour, as I thought that the >>whole paragraph would highlight, however does the job.) >> >>When this is save as an application for Windows, when the paragraph >>is clicked, the top and >>bottom lines are visible - but not >>highlighted - and the middle text is invisible. Still there, but >>while >>selected invisible. >> >>Three questions. >>1. Any explanations for the windows trick. >>2. Can the whole paragraph be highlighted - visually - not just top >>and bottom. >>3. Can the delimiter be altered. I assume that the default is one >>return character. >> >>Thanks >>Greg From rodneys at io.com Sun Aug 4 00:18:00 2002 From: rodneys at io.com (Rodney Somerstein) Date: Sun Aug 4 00:18:00 2002 Subject: Winding this down (Re: Can I use Revolution for this?) In-Reply-To: References: Message-ID: Thanks to everyone who has replied over the last couple of days. It has definitely helped me gain some perspective on things. I understand why MetaCard enforces the limits that it does. They make sense. Even though they may be limiting, I realized as I described my product in more detail that I wanted to do the same kind of thing with Revolution that Revolution does with MetaCard, just specific to board and card games. To get that level of functionality, I will either have to spend LOTS of money or write my more advanced implementation myself in some other language. Fair enough. Both companies need to stay in business and my freeware desires shouldn't be allowed to interfere with this. If I want to create a true open source product, my choices are to live within the starter kit limitations or use some other tool/language that is designed for open source projects, such as Python, Java, SmallTalk, etc. There is a lot that I will be able to do within the limits of standalones. For as ambitious a project as I'm attempting, with as little formal computer science background as I have, I should wait to bump into those limits before pushing too hard against them. Of course, this is a bit of a catch-22. Because I don't have the object-oriented design background that would be helpful, I'm more likely to bump into these limits rather than less. I know enough to know a lot of what I don't know. In other words, enough to be dangerous. If anyone can suggest a readable book that will give me a good OO design methodology that I can use, please let me know. I'm an individual hobbyist, not an engineering department, so easy to use is critical. :-) I have also learned that I can probably come up with a valid argument as to why a particular limit will cause problems for me more easily than coming up with a work around for that limitation. Hopefully as I become more familiar with what Revolution can do I will find the solutions to be easier and easier. Custom properties will certainly help with some of the needs that my program will have. I will just need to have a large number of custom properties for each object in a game so that the game designers can have as much flexibility as possible. Some of the standalone limits can be eliminated through the use of built-in handlers that I create to provide standard functionality. Even more of these can be eliminated for some purposes through a small scripting language that I create to work with my system. So, the final answer appears to be that, yes, I can use Revolution for the product that I want to create. There are some limitations, but that will be true in any environment I work with. It appears that many of these limitations may be easier to work around than some of the limitations in other languages. Now that I'm taking a more reasonable approach to all of this, any suggestions that people can give me based on what I've written in this and other messages would be appreciated. Again, thanks to all of the people who replied to previous messages and for providing good answers even when I was trying hard to not let them be. Rodney Somerstein From bornstein at designeq.com Sun Aug 4 01:07:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Sun Aug 4 01:07:01 2002 Subject: Problem with revShowPrintDialog Message-ID: <200208040605.g74655L15187@mailout5.nyroc.rr.com> There seems to be several problems associated with the revShowPrintDialog command (at least in Mac OS 9). If you set both parameters to false, instead of simply printing, both the page setup and print dialog are shown (just as if you had set the parameters to true). Secondarily, if you cancel out of the print, a blank page is printed anyway. For example, I put this script in a button on a stack with a single field in it (printfield): on mouseup revShowPrintDialog false,false revprintField ("field" && quote & "printfield" & quote) end mouseup After clicking the button, both page setup and print dialog boxes are shown. When I click cancel, a blank page is always printed. However, if I execute a revShowPrintDialog outside of the handler once with the params set to false, then clicking the button acts as expected. So if I put this openstack handler in the stack: on openstack revShowPrintDialog false,false end openstack After opening the stack the above button script works properly. While the docs say: "If you use the revShowPrintDialog command outside a handler where a revPrintField or revPrintText command is executed, the revShowPrintDialog command has no effect. The command sets printing options only for the currently executing handler." on my system this is not true. Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From yvescoppe at skynet.be Sun Aug 4 07:44:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Sun Aug 4 07:44:01 2002 Subject: print problem Message-ID: Hi, I work on Mac OS X 10.1.5. I have forms to fill. All the datas are in flds. I have a card in a stack "mi_print". The background is white the flds are filled. I have a btn with the script : (mi_lock is the command to lock the screen, the messages,...) mi_lock put the defaultstack into savedDefaultStack go inv to stack "mi_print" set the defaultstack to "mi_print" set the printScale to "1" set the printmargins to "4,4,72,72" open printing with dialog print card "cdName" close printing close stack "mi_print" mi_unlock set the printmargins to "72,72,72,72" set the defaultstack to savedDefaultStack The background of what I print is colored (between grey and green) although on the screen the background of the cd is white. The pinter is an epson color inkjet. 2 questions : 1) How can I print a form starting from a stack ? 2) How can I easy calculate the location of the flds so that the filled flds are just printed in the required place on the form ? Thank you. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From rcozens at pon.net Sun Aug 4 13:04:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Aug 4 13:04:01 2002 Subject: search a date In-Reply-To: References: Message-ID: >can someone help me to write a function. Salut Yves! The first solution posted on the List should work for you, as I assume you know in advance that all dates are valid. The solution using "if ... is a date" is not reliable if you have lines of whole numbers because any integer is a date (in seconds). If you wish to incorporate Serendipity Library into your application you could: start using stack "Serendipity Library.rev" put empty into dateList repeat for each line textLine in textToSearch if validDate(textLine) then put textLine&return after dateList end repeat One warning: if the dates are generated with a different system date format, validDate will reject them; so this solution only works if you know that the dates in textToSearch are in the same format as is set in the computer when the handler is run. If you want to store dates in a stack, text file, (or SDB Database), and be able to display or manipulate them correctly when the system date format changes, they should be stored in seconds or dateItems format and converted to short dates for display only. -- 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 janschenkel at yahoo.com Sun Aug 4 16:31:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun Aug 4 16:31:01 2002 Subject: print problem In-Reply-To: Message-ID: <20020804212918.17616.qmail@web11903.mail.yahoo.com> Hi Yves, I haven't yet gotten round to printing issues, but I think I can help you with question 2. As everything in RunRev is defined in pixels, we can convert that to and from inches and/or centimeters with a little math. The screen resolution on a mac is 72 dpi, or 1 inch = 72 pixels. Now a quick glance at www.convert-me.com teaches us that 1 inch = 2.54 centimeters. So supposing we must print something at 7 centimeters from the top and 4 centimeters from the left of the paper, we have to set the topleft to (X,Y) with : X = 7 / 2.54 * 72 = 198 Y = 4 / 2.54 * 72 = 113 You will have to adjust this a couple of pixels up and left in order to compensate for printer margins, but this should help you a long way. Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolih at the same time." (De Rochefoucald) --- Yves Copp? wrote: > Hi, > > > I work on Mac OS X 10.1.5. > I have forms to fill. > All the datas are in flds. > I have a card in a stack "mi_print". > The background is white > the flds are filled. > I have a btn with the script : > > (mi_lock is the command to lock the screen, the > messages,...) > > mi_lock > put the defaultstack into savedDefaultStack > go inv to stack "mi_print" > set the defaultstack to "mi_print" > set the printScale to "1" > set the printmargins to "4,4,72,72" > open printing with dialog > print card "cdName" > close printing > close stack "mi_print" > mi_unlock > set the printmargins to "72,72,72,72" > > set the defaultstack to savedDefaultStack > > > > The background of what I print is colored (between > grey and green) > although on the screen the background of the cd is > white. > The pinter is an epson color inkjet. > > 2 questions : > > 1) How can I print a form starting from a stack ? > 2) How can I easy calculate the location of the flds > so that the > filled flds are just printed in the required place > on the form ? > > > 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 __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From pixelbird at interisland.net Sun Aug 4 18:32:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Aug 4 18:32:01 2002 Subject: Cross-platform text-to-speech In-Reply-To: <002801c22c68$5033d3f0$1401000a@xhead> Message-ID: How about CoolSpeech: Will it work with the MetaCard TTS XCMD? TIA, Ken N. From jcuccio at pacbell.net Sun Aug 4 21:51:00 2002 From: jcuccio at pacbell.net (John Cuccio) Date: Sun Aug 4 21:51:00 2002 Subject: Send to list field Message-ID: It is my mouseup handler. on mouseup put word 2 of the selectedline into x -- reset of script that needs X end mouseup The line number that is selected is need for the script. The hilitedline does not send this info. So when the mouseup is sent it does not have any info in the selectedline. I think I will try this. on mouseup -- in the field dothing (word 2 of the selectedline of me) end mouseup on script set the hilitedline of field x to 3 dothing (3) end script on dothing x -- script end dothing Maybe this is the best help. Helping myself. After writing this message I think this may be a better way then what I was thinking. Any feed back also helps. Thank you >How do I simulate clicking a line in a list field from a script. > >I know how to hilite a line in the list field. I tried sending a mouseup but >that does not work. I do have code in the mouseup handler of the field. > >on script > set the hilitedline of field x to 3 > send "mouseup" to field x >end script >>That basic script works fine for me. The mouseUp handler of the field >>gets executed. So there may be a bug or logic error in the mouseUp >>handler. Have you tried doing this with something simple in the >>mouseUp handler like "beep" or something? From jcuccio at pacbell.net Sun Aug 4 22:12:00 2002 From: jcuccio at pacbell.net (John Cuccio) Date: Sun Aug 4 22:12:00 2002 Subject: print problem Message-ID: Not sure about the color Question. Try this for question 2 Have a big field that looks like your form or load a simple text document into a field. In the form use where you want the data. Use the replacetext function to put the data you want from fields. Then use the revprintfield function. This might be easier then trying to print the card. Hope this helps ---------------------------------------------------------------------------- Name: Phone: Date: --------------------------Form--------------------------------------------- on script replacetext (field "Print","",field "name") replacetext (field "print","",field "phone") revprintfield ("field"&&"print") end script >2 questions : >1) How can I print a form starting from a stack ? >2) How can I easy calculate the location of the flds so that the >filled flds are just printed in the required place on the form ? From jeanne at runrev.com Mon Aug 5 01:12:00 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Aug 5 01:12:00 2002 Subject: Dynamic Data In-Reply-To: References: Message-ID: At 7:12 AM -0700 8/1/2002, Rob Cozens wrote: >I have read some comments to the effect that a standalone can modify >an internal substack. This seems unlikely to me; but others have >said so and I have not tested it. You're right: it can't be done. (The rule to remember is that an application file cannot modify itself. Since a substack is part of the standalone file, a standalone can't modify a substack inside itself.) However, of course a standalone can modify substacks of other files. And it can also contain a template substack which it clones and then saves as an external file. It's possible someone was confused about this possibility, and assimilated it to "modifying an internal substack", and made the comment you refer to. -- 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 Mon Aug 5 01:29:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Aug 5 01:29:01 2002 Subject: deleting objects In-Reply-To: Message-ID: At 11:13 AM -0700 7/29/2002, Steve Messimer wrote: >I am attempting to trap the deletebutton msg so that I can use the undo >command to restore certain buttons. > >The script suggested in the documentation doesn't work. > >on deleteButton > beep -- the beep does work > send "undo" to this card in 1 millisecond >end deleteButton It's working here. Does it work if you use a longer delay? Your machine ought to be as fast as mine (and it does work on mine), but perhaps there's a timing problem. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From boguss26 at hotmail.com Mon Aug 5 03:35:01 2002 From: boguss26 at hotmail.com (Boguss Twentysix) Date: Mon Aug 5 03:35:01 2002 Subject: 3 Questions from a New User Message-ID: Hello Revolutionists, It would be greatly appreciated if a knowledgeable Revolution user could supply answers to the following three questions: (1) Menu Manager Functionality. How do I put line breaks into a dialog such as "About" that is called from a menu item? I cannot figure out how to do this with the "answer" command. It is desirable to display something like this: Hello World By James Wages Version 1.0, August 2002 Copyright 2002 But right now, the "answer" command crams everything onto a single line. (2) Menu Manager Functionality. Is it possible to call custom icons into dialogs via the answer command (or another similar command) (i.e., icons other than "information" and the like)? If now, how about placing a custom graphic inside a dialog (such as the "About" dialog)? (3) Distribution Builder: MacOS Options. Under the "Macintosh Memory Information" cluster, how do I know what to input into the "Suggested," "Minimum" and "Preferred Size" fields? Thank you, James Wages From shaosean at unitz.ca Mon Aug 5 03:40:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Mon Aug 5 03:40:01 2002 Subject: 3 Questions from a New User References: Message-ID: <002e01c23c5a$f47a63a0$88b15bd1@lanfear> > But right now, the "answer" command crams everything onto a single line. answer "Hello World" & LINEFEED & \ "By James Wages" & LINEFEED & \ "Version 1.0, August 2002" & LINEFEED & \ "Copyright 2002" From jan.decroos at groepvanroey.be Mon Aug 5 04:12:00 2002 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Mon Aug 5 04:12:00 2002 Subject: search a date In-Reply-To: <200208031907.PAA02467@www.runrev.com> References: <200208031907.PAA02467@www.runrev.com> Message-ID: use-revolution at lists.runrev.com writes: >function mi_searchDate textToSearch > local theDate -- this is neccesary > put empty into tresult > repeat for each line theLine in textToSearch > if matchtext(theLine, "([0-9][0-9]/[0-9][0-9]/[0-9][0-9])", >theDate ) is true then > put theDate & cr after tresult > end if > end repeat > delete last char of tresult > return tresult >end mi_searchDate Maybe there should be some additional tests for day (1-31) and month numbers (1-12) -- DD/MM/YY format function mi_searchDate textToSearch local theDay, TheMonth, TheYear -- this is neccesary put empty into tresult repeat for each line theLine in textToSearch if matchtext(theLine, "(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/([0-9][0-9])", theDay, TheMonth, TheYear) is true then put theLine & cr after tresult end if end repeat delete last char of tresult return tresult end mi_searchDate This avoids 32/05/02 as a valid date, but doesn't take care of leap years and real number of days in a month (januari : 31, february 28 or 29, ...) Jan From heather at runrev.com Mon Aug 5 05:32:01 2002 From: heather at runrev.com (Heather Williams) Date: Mon Aug 5 05:32:01 2002 Subject: Revolution Manuals Message-ID: Greetings. A note to let you all know, I am once again shipping printed manuals. The last print run was an unqualified success, and many recipients of the manuals have written to let us know how pleased they are with the product. So, for your pleasure and delight, we have obtained a reprint. If you missed out last time, you can order via our website. Any questions, send them direct to me, heather at runrev.com, please not to this list, Regards and a happy summer to you all, Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution - The solution From David.Glasgow at cstone-tr.nwest.nhs.uk Mon Aug 5 06:01:01 2002 From: David.Glasgow at cstone-tr.nwest.nhs.uk (Glasgow, David) Date: Mon Aug 5 06:01:01 2002 Subject: Time limited standalone/demo Message-ID: <92C2FCA79EE22F4B98185EB58BF2D3B351B976@mercury.cstone-tr.nwest.nhs.uk> I have developed some software that I would like to distribute as time limited, ie. it stops working after a certain date. That certain date should be calculated from the creation date of the standalone (ie someone gets sent the demo and can use it for 30 days from then, or the duration of a licence. Can I query that from within a standalone? Maybe I'm not looking in the right place, but I can't see it. Best wishes, David Glasgow Courses HTTP://www.i-Psych.co.uk From P.Jimmieson at csc.liv.ac.uk Mon Aug 5 08:12:01 2002 From: P.Jimmieson at csc.liv.ac.uk (Phil Jimmieson) Date: Mon Aug 5 08:12:01 2002 Subject: modal command - and subsequent dialog placement. Message-ID: Hi folks, I'm developing a system which needs to pop up the equivalent of a modal dialog box that contains a QuickTime movie - in the form of a guide who tells you what to do next. Originally I tried a simple stack window with minimal ornaments, but found that users could click while the movie was playing and do silly stuff like get the movie window to move into the background, or their clicks were buffered and passed on later (even though I've used flushevents etc.). Using modal seems like the ideal solution, except it puts the window in the centre of the screen, when I want it top-left (otherwise the guide gets in the way of what she's describing). I can move the window myself, but only once it's up, and even setting lockscreen to true doesn't stop it appearing in the centre, before it repositions itself. Can anyone think of a solution to this? I've got a couple more situations where it seems to me modal dialogs are the answer, but I don't want them to be centred either. Is there by any chance some undocumented parameter to modal that allows you to say where the window ought to go? Anyone know where the code to modal is stored - maybe I can make my own version of it? -- Phil Jimmieson phil at csc.liv.ac.uk (UK) 0151 794 3689 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Chadwick Building, Peach Street Liverpool L69 7ZF http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From yvescoppe at skynet.be Mon Aug 5 08:57:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Mon Aug 5 08:57:01 2002 Subject: search a date In-Reply-To: References: <200208031907.PAA02467@www.runrev.com> Message-ID: > >Maybe there should be some additional tests for day (1-31) and month numbers >(1-12) > >-- DD/MM/YY format >function mi_searchDate textToSearch > local theDay, TheMonth, TheYear -- this is neccesary > put empty into tresult > repeat for each line theLine in textToSearch > if matchtext(theLine, >"(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/([0-9][0-9])", theDay, TheMonth, >TheYear) is true then > put theLine & cr after tresult > end if > end repeat > delete last char of tresult > return tresult >end mi_searchDate > >This avoids 32/05/02 as a valid date, but doesn't take care of leap years and >real number of days in a month (januari : 31, february 28 or 29, ...) > >Jan > Thank you Jan, very useful addition ! -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From matt.denton at limelight.com.au Mon Aug 5 09:19:01 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Mon Aug 5 09:19:01 2002 Subject: Dragging a window In-Reply-To: <200208041605.MAA22740@www.runrev.com> Message-ID: Hey-all, I'm building a small app for Mac and Windows. I'm trying to get 'set the hidePalettes to false' to work in OSX, which I understand does not -- all palettes hide when the app is not in front. Does anyone know if this Rev or an OSX Carbon problem, and will it ever work in the future? I'm trying to work around this situation by turning off title decorations for a normal window and making my own mini titlebar. My second question is: does anyone know if you can 'drag' a window around from an object other than its titlebar? I've tried lots of things and got one kludge working -- a repeated location update using a 'send updateWindLoc to me in 10 milliseconds' sort of structure. The window flashes madly. Any ideas? Many thanks in advance. M@ Matt Denton From yvescoppe at skynet.be Mon Aug 5 09:22:00 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Mon Aug 5 09:22:00 2002 Subject: search a date In-Reply-To: References: <200208031907.PAA02467@www.runrev.com> Message-ID: >use-revolution at lists.runrev.com writes: >>function mi_searchDate textToSearch >> local theDate -- this is neccesary >> put empty into tresult >> repeat for each line theLine in textToSearch >> if matchtext(theLine, "([0-9][0-9]/[0-9][0-9]/[0-9][0-9])", >>theDate ) is true then >> put theDate & cr after tresult >> end if >> end repeat >> delete last char of tresult >> return tresult >>end mi_searchDate > > >Maybe there should be some additional tests for day (1-31) and month numbers >(1-12) > >-- DD/MM/YY format >function mi_searchDate textToSearch > local theDay, TheMonth, TheYear -- this is neccesary > put empty into tresult > repeat for each line theLine in textToSearch > if matchtext(theLine, >"(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/([0-9][0-9])", theDay, TheMonth, >TheYear) is true then > put theLine & cr after tresult > end if > end repeat > delete last char of tresult > return tresult >end mi_searchDate > Oops Jan, there is a bug in your function : what about : answer mi_searchDate("29/10/97") try it with the function of Bj?rnke (see above) : it returns the date with your code, it returns empty !! Since I'm not so expert with the matchtext function, I don't know where is the error. Can you fix it ? Thank you. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From harrison at all-auctions.com Mon Aug 5 10:02:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Mon Aug 5 10:02:01 2002 Subject: Time limited standalone/demo In-Reply-To: <92C2FCA79EE22F4B98185EB58BF2D3B351B976@mercury.cstone-tr.nwest.nhs.uk> Message-ID: on 8/5/2002 6:54 AM, Glasgow, David at David.Glasgow at cstone-tr.nwest.nhs.uk wrote: > I have developed some software that I would like to distribute as time > limited, ie. it stops working after a certain date. That certain date should > be calculated from the creation date of the standalone (ie someone gets sent > the demo and can use it for 30 days from then, or the duration of a licence. > Can I query that from within a standalone? Maybe I'm not looking in the right > place, but I can't see it. > > > Best wishes, > > David Glasgow David, This can be done. You normally have to question the system date/time from the system your program is working on first. Then perform your calculation to determine when it should quit working. If you are using a standalone you will have to store this information seperately from the stack you are in. Good Luck! Rick Harrison From jan.decroos at groepvanroey.be Mon Aug 5 10:05:01 2002 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Mon Aug 5 10:05:01 2002 Subject: search a date In-Reply-To: <200208051325.JAA04424@www.runrev.com> References: <200208051325.JAA04424@www.runrev.com> Message-ID: use-revolution at lists.runrev.com writes: >"(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/([0-9][0-9])" indeed I made an error : should be : "(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[0-2])/([0-9][0-9])" short explanation 3 fields which are grouped by (), so 3 output variables (theDay,TheMonth and TheYear) the '|' means 'OR' so take the first field : (0[1-9]|[12][0-9]|3[01]) which means a valid day (first field) must be a number in one of the three following formats : 01 -> 09 : 0[1-9] (a zero followed by a char in the range 1 to 9) 10 -> 29 : [12][0-9] (a one or a two, followed by a char in the range 0 to 9) 30 -> 31 : a 3 followed by a 0 or a 1 Hope this helps Jan From k_major at os.surf2000.de Mon Aug 5 11:14:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Mon Aug 5 11:14:01 2002 Subject: modal command - and subsequent dialog placement. In-Reply-To: Message-ID: <70FB43B7-A88E-11D6-AE60-000A27B49A96@os.surf2000.de> HI Phil, > Hi folks, > I'm developing a system which needs to pop up the equivalent of a modal > dialog box that contains a QuickTime movie - in the form of a guide who > tells you what to do next. Originally I tried a simple stack window > with minimal ornaments, but found that users could click while the > movie was playing and do silly stuff like get the movie window to move > into the background, or their clicks were buffered and passed on later > (even though I've used flushevents etc.). Using modal seems like the > ideal solution, except it puts the window in the centre of the screen, > when I want it top-left (otherwise the guide gets in the way of what > she's describing). I can move the window myself, but only once it's up, > and even setting lockscreen to true doesn't stop it appearing in the > centre, before it repositions itself. Can anyone think of a solution to > this? I've got a couple more situations where it seems to me modal > dialogs are the answer, but I don't want them to be centred either. Is > there by any chance some undocumented parameter to modal that allows > you to say where the window ought to go? Anyone know where the code to > modal is stored - maybe I can make my own version of it? > > -- Phil Jimmieson put this into the script of your "modal"-stack(s): on preopenstack set the topleft of me to 0,24 ## will put this stack on the left side of the screen ## and 24 pixel from the top of the screen BEFORE it is opened ## You can take other values, of course, if needed end preopenstack that's all.. works here, should work for you, too :-) Regards Klaus Major k_major at os.surf2000.de From steve at messimercomputing.com Mon Aug 5 11:37:00 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Mon Aug 5 11:37:00 2002 Subject: stack templates Message-ID: jeanne, you said... And it (a main stack) can also contain a template substack which it clones and then saves as an external file. Could you show me an example script regarding how this might be accomplished? In addition, I haven't really used any substacks yet. Do you just include these in the build process when you create a standalone? Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From scott at tactilemedia.com Mon Aug 5 12:09:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Aug 5 12:09:01 2002 Subject: Dragging a window In-Reply-To: Message-ID: Recently, "Matt Denton" wrote: > does anyone know if you can 'drag' a window around > from an object other than its titlebar? Sure -- several ways, all based on the same principle. The following works for me, placed in the object that is clicked to initiate the drag: on mouseDown set the uAllowDrag of me to the mouseH & "," & the mouseV end mouseDown on mouseMove x,y if the uAllowDrag of me is empty then exit mouseMove put globalLoc(x & "," & y) into tLoc set topLeft of this stack to \ item 1 of tLoc - item 1 of the uAllowDrag of me,\ item 2 of tLoc - item 2 of the uALlowDrag of me end mouseMove on mouseUp set the uAllowDrag of me to empty end mouseUp on mouseRelease mouseUp end mouseRelease Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From jeanne at runrev.com Mon Aug 5 12:49:00 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Aug 5 12:49:00 2002 Subject: 3 Questions from a New User In-Reply-To: Message-ID: At 1:32 AM -0700 8/5/2002, Boguss Twentysix wrote: >(1) Menu Manager Functionality. How do I put line breaks into a dialog such >as "About" that is called from a menu item? I cannot figure out how to do >this with the "answer" command. It is desirable to display something like >this: > >Hello World >By James Wages >Version 1.0, August 2002 >Copyright 2002 You use the "return" constant to specify a line break with the answer command. The parts of the string are "stuck together" with the concatenation operator, "&": answer "Hello World" & return & "By James Wages" & return \ & "Version 1.0, August 2002" & return & "Copyright 2002" (The above command has been broken in half with the "\" keyword - this simply lets you cut a line in half for easy readability in the script editor while still having Rev treat it as a single line when executed.) (By the way, the answer command isn't actually part of the Menu Manager as such - you can use it in any script, not just menu scripts.) >(2) Menu Manager Functionality. Is it possible to call custom icons into >dialogs via the answer command (or another similar command) (i.e., icons >other than "information" and the like)? If now, how about placing a custom >graphic inside a dialog (such as the "About" dialog)? You can't specify other icons with the answer command, but you can create your own stack with whatever controls you wish to show, and use the "modal" command to display it as a dialog box. (The answer dialog itself is a stack displayed in this way.) >(3) Distribution Builder: MacOS Options. Under the "Macintosh Memory >Information" cluster, how do I know what to input into the "Suggested," >"Minimum" and "Preferred Size" fields? Unfortunately, there is no general rule for this. It's going to depend very much on what's in your stack and on whether you show/use content (such as movies) that are in files outside the stack, and you may have to do some trial and error to find optimal settings. As an extremely rough rule of thumb, you can total the size of all stack files that will be open at once, plus any external media (pictures, movies) you might display at any given time, plus 4M, to obtain a good working minimum. Suggested and Preferred should generally be set to the same number by default (the user can change "Preferred") - this might be the same as the minimum, if your app's requirements aren't going to vary much in use, or they might be set higher if your app allows the user to open several documents or otherwise use very variable amounts of data. In either case, testing will be necessary to make sure you are allowing sufficient memory for normal use. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From Roger.E.Eller at sealedair.com Mon Aug 5 13:03:01 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Mon Aug 5 13:03:01 2002 Subject: on-line help docs on unix Message-ID: Jeanne, Has anyone looked into this problem yet. The text is really hard to see in the on-line documentation on our unix machine. Can you add the ability for the USER to pick a preferred point size? Please... ~Roger Eller roger.e.eller at sealedair.com Roger E Eller 07/28/2002 06:57 PM To: use-revolution at lists.runrev.com cc: Subject: Re: on-line help docs on unix (Document link: Roger E Eller) Jeanne, Unlike on Macs, our unix systems don't try to keep the actual viewable text size the same (so the user only sees it get sharper, but not smaller) when the screen is set to a higher resolution. I would suggest that the default point-size be dependent on the display resolution (screenRect) for unix. This way, those whom use hi-res monitors would not see microscopic text. Thanks for responding. ~Roger Eller roger.e.eller at sealedair.com "Jeanne A. E. DeVoto" @lists.runrev.com on 07/28/2002 02:14:29 AM Please respond to use-revolution at lists.runrev.com Sent by: use-revolution-admin at lists.runrev.com To: use-revolution at lists.runrev.com cc: Subject: Re: on-line help docs on unix At 3:27 PM -0700 7/24/2002, Roger.E.Eller at sealedair.com wrote: >Is it possible to increase the point-size of the text used in the on-line >help? On an SGI Irix machine, it is too small to be readable even with >20/20 vision. It ought to be 12-point Helvetica, the same as the font used in the Rev interface. Does it look like it's not that font, or is the Helvetica 12 just too small on your setup? Any other Unix users seeing similar problems? -- 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 Zzyzx at Relia.Net Mon Aug 5 13:16:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Mon Aug 5 13:16:01 2002 Subject: Time limited standalone/demo References: Message-ID: <001701c23cab$d7af2890$1901000a@DRZZYZX> David, I might work up a script for you later. You can just encode the stack so that you can just have the script in the stack, instead of in a separate file. It is actually fairly easy. - Josh Dye ----- Original Message ----- From: "Rick Harrison" To: Sent: Monday, August 05, 2002 8:59 AM Subject: Re: Time limited standalone/demo > on 8/5/2002 6:54 AM, Glasgow, David at David.Glasgow at cstone-tr.nwest.nhs.uk > wrote: > > > I have developed some software that I would like to distribute as time > > limited, ie. it stops working after a certain date. That certain date should > > be calculated from the creation date of the standalone (ie someone gets sent > > the demo and can use it for 30 days from then, or the duration of a licence. > > Can I query that from within a standalone? Maybe I'm not looking in the right > > place, but I can't see it. > > > > > > Best wishes, > > > > David Glasgow > > David, > > This can be done. You normally have to question the system date/time > from the system your program is working on first. Then perform your > calculation to determine when it should quit working. If you are using > a standalone you will have to store this information seperately from > the stack you are in. > > Good Luck! > > Rick Harrison > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From bornstein at designeq.com Mon Aug 5 15:59:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Aug 5 15:59:01 2002 Subject: How to show only the Page Setup dialog on Mac OS9 Message-ID: <200208052056.g75Kuop01481@mailout6.nyroc.rr.com> I want to show the Page Setup dialog box without printing anything (it's common to have a Page Setup... menu item in the File menu). However, I can't just use the revShowPrintDialog command by itself--it requires a revPrint(something) command after it in order to take effect. Yet, I don't want to print anything...just to show the dialog box. I've tried: revShowPrintdialog true,false revPrintText empty but this still prints a blank page. There must be something obvious I'm overlooking, as this is a standard feature in any Mac program. Any help will be appreciated. Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From yvescoppe at skynet.be Mon Aug 5 16:00:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Mon Aug 5 16:00:01 2002 Subject: search a date In-Reply-To: References: <200208031907.PAA02467@www.runrev.com> Message-ID: > >-- DD/MM/YY format >function mi_searchDate textToSearch > local theDay, TheMonth, TheYear -- this is neccesary > put empty into tresult > repeat for each line theLine in textToSearch > if matchtext(theLine, >"(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/([0-9][0-9])", theDay, TheMonth, >TheYear) is true then > put theLine & cr after tresult > end if > end repeat > delete last char of tresult > return tresult >end mi_searchDate > >This avoids 32/05/02 as a valid date, but doesn't take care of leap years and >real number of days in a month (januari : 31, february 28 or 29, ...) > Jan, I've found the bug in your code : for the month search replace (0[1-9]|1[12]) by (0[1-9]|1[0-2]) and then it works fine. Thank you -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From sjoerdoptland at mac.com Mon Aug 5 16:26:00 2002 From: sjoerdoptland at mac.com (Sjoerd Op 't Land) Date: Mon Aug 5 16:26:00 2002 Subject: Developing a multimedia application with Revolution... In-Reply-To: Message-ID: Peter Lundh wrote/ schreef: > The content of the application is (1) a short tutorial on a medical disease, > it?s symptoms and possible ways to treat it followed by (2) three short > exercises where the user can train, or test his skills. Each exercise will > consist of a series images where the viewer will be asked to diagnose each > image. A score will be given after each exercise is completed. The > application will only contain still images and text (and maybe a couple of > sound effects). This is possible with RunRev. I'd build it up like this: - couple of cards with the tutorial pages (next/prev buttons in the background) - exercises on each card (script for checking the answers in the background) More questions? Feel free to pose them (just don't have much time yet). > -Peter Regards, / Groeten, Sjoerd From sarahr at genesearch.com.au Mon Aug 5 18:25:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Mon Aug 5 18:25:01 2002 Subject: How to show only the Page Setup dialog on Mac OS9 In-Reply-To: Message-ID: <267AC5FA-A8CA-11D6-90DA-0003937A97B8@genesearch.com.au> "answer printer" will display the standard page setup dialog without doing any printing. Sarah On Tuesday, August 6, 2002, at 07:00 AM, Howard Bornstein wrote: > I want to show the Page Setup dialog box without printing anything (it's > common to have a Page Setup... menu item in the File menu). However, I > can't just use the revShowPrintDialog command by itself--it requires a > revPrint(something) command after it in order to take effect. Yet, I > don't want to print anything...just to show the dialog box. > > I've tried: > > revShowPrintdialog true,false > revPrintText empty > > but this still prints a blank page. There must be something obvious I'm > overlooking, as this is a standard feature in any Mac program. > > Any help will be appreciated. > > Howard Bornstein > ____________________ > D E S I G N E Q > www.designeq.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From P.Jimmieson at csc.liv.ac.uk Tue Aug 6 03:52:00 2002 From: P.Jimmieson at csc.liv.ac.uk (Phil Jimmieson) Date: Tue Aug 6 03:52:00 2002 Subject: modal command - and subsequent dialog placement. In-Reply-To: <200208051602.MAA08201@www.runrev.com> References: <200208051602.MAA08201@www.runrev.com> Message-ID: >From: Klaus Major >HI Phil, > >> Hi folks, >> I'm developing a system which needs to pop up the equivalent of a modal >> dialog box that contains a QuickTime movie - in the form of a guide who > > tells you what to do next. > Using modal seems like the > > ideal solution, except it puts the window in the centre of the screen, >> when I want it top-left (otherwise the guide gets in the way of what >> she's describing). I can move the window myself, but only once it's up, >> and even setting lockscreen to true doesn't stop it appearing in the > > centre, before it repositions itself. >put this into the script of your "modal"-stack(s): > >on preopenstack > set the topleft of me to 0,24 >## will put this stack on the left side of the screen >## and 24 pixel from the top of the screen BEFORE it is opened >## You can take other values, of course, if needed >end preopenstack > >that's all.. > >works here, should work for you, too :-) Hi Klaus, thanks very much. I just tried it and it works like a charm. Now to sort out those other modal dialogs. -- Phil Jimmieson phil at csc.liv.ac.uk (UK) 0151 794 3689 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Chadwick Building, Peach Street Liverpool L69 7ZF http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From gcanyon at inspiredlogic.com Tue Aug 6 03:54:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Aug 6 03:54:01 2002 Subject: Can I use Revolution for this? In-Reply-To: References: <200208031514.LAA28380@www.runrev.com> Message-ID: At 12:00 AM -0400 8/4/02, Rodney Somerstein wrote: >Now, remember that one of my goals is to create a generic system that is flexible enough to allow the game developer to implement whatever kind of game they want. The above example is just one of thousands of games, and not one of the most complex by far. There is no way that I can implement all of the rules myself and just let the users pick from among the available ones. If your developers can develop the rules they need within the Starter Kit limits, great. If they need more lines of code, one option is for them to buy an SBE license for Revolution. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From mazzapaolo at libero.it Tue Aug 6 05:06:01 2002 From: mazzapaolo at libero.it (paolo mazza) Date: Tue Aug 6 05:06:01 2002 Subject: Trim images In-Reply-To: <200208051602.MAA08201@www.runrev.com> Message-ID: Hi folks, I wuold like to trim an image I drew using the paint palette. In other words I wuold like to clear the transparen borders and get an image as big as the picture that I drew. How can I do it? Can you write a script for this? Paolo From carstenlist at itinfo.dk Tue Aug 6 07:00:00 2002 From: carstenlist at itinfo.dk (Carsten Levin) Date: Tue Aug 6 07:00:00 2002 Subject: Printing 1 or more pages from a single field? Message-ID: Case: Text entered in a field in Revolution. From just a little bit and up until 4-6 pages. Problem: We want to print the text. No problem when it all fits on one page. But what when the text of one field exeeds 1 page ... and needs to be printed on 2-4 pages ..... ? Does Revolution have a procedure for this situation? About the project: We are in the final process developing a large system for language education and training. Revolution running on Mac 9 & X, Windows 98 & 2000 % XP. The students will go through a large number of tests, and in most cases we can determine the numbers of pages to print without any problems. But in the free-text modus where the students can write as much as they want in one single field we are facing problems. In most cases 1 page is enough ... printing in 9 pt times, but some students might write more ... 2, 3 or more pages. Best regards Carsten Levin ITinfo A/S From ebuijs at knoware.nl Tue Aug 6 07:15:01 2002 From: ebuijs at knoware.nl (Eric Buijs) Date: Tue Aug 6 07:15:01 2002 Subject: No picture in Windows build Message-ID: Hello to you all, at this moment I'm evalutating Revolution (starters-kit) for some projects I'm working on. The projects are mainly educational apps for both Mac and Windows. The development is all done on a Mac (iMac 400DV with OS 9.1). I run the Windows build under REALPC with Windows98 on it. My main IDE at this moment is REALbasic, but I'm having serious trouble in converting my apps to Windows with REALbasic. First I did some small apps in Rev like an ascii table converter, a small calculator and some simple benchmarks. With all these apps I had no problem whatsoever with the Windows build. It was all very straightforward and the Windows builld looked good. Then I decided to do something more complex and I made a Presentation with pictures in it. The app looked good under OS9, however under Windows the images don't show the jpeg's that I have linked it to. I even made a simple app without any script and just one image, but unfortunately with the same result. I have two questions: - what is the solution to the problem with the images? - is Revolution better (no extra debugging) than REALbasic in converting builds to Windows? thanks in advance, Eric. From ianmck at macunlimited.net Tue Aug 6 08:46:02 2002 From: ianmck at macunlimited.net (Ian McKnight) Date: Tue Aug 6 08:46:02 2002 Subject: Problems with the DO command Message-ID: <002401c23d4f$608f4cf0$0100007f@D83C5B0J> BlankHi A newcomer to Revolution, I was experimenting with arrays and hit upon the idea of using the DO command to write this handler. on processMyTable tcommand repeat with ty = 1 to 10 repeat with tx = 1 to 10 do tcommand end repeat end repeat end processMyTable The objective is to provide the handler with the statement(s) that have to be applied to each cell in the array, rather than repeat similar lines of code for each action. When I put this call into a mouseup handler -- no problems processmytable "put empty into mytable[tx,ty]" However, this handler processmytable "put mytable[tx,ty] after last char of fld quote&mydisplay"e " causes this error. Error description: do: can't find command -------------------- do tcommand -------------------- Value: & I've tried building the statement in a variable and passing the variable to my handler but that doesn't work either. I suspect that I am missing something pretty obvious but what it is is eluding me. Could someone shed some light please. BTW I am using a licensed version of Revolution. Thanks Ian McKnight -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Blank Bkgrd.gif Type: image/gif Size: 145 bytes Desc: not available URL: From k_major at os.surf2000.de Tue Aug 6 09:03:00 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Tue Aug 6 09:03:00 2002 Subject: Problems with the DO command In-Reply-To: <002401c23d4f$608f4cf0$0100007f@D83C5B0J> Message-ID: <39E2530B-A945-11D6-A4D1-000A27B49A96@os.surf2000.de> Hi Ian, > Hi > ? > ... > However, this handler > processmytable "put mytable[tx,ty] after last char of fld > quote&mydisplay"e " > causes?this error. > > Error description:? do: can't find command > -------------------- > do tcommand > -------------------- > Value: & > > I've tried building the statement in a variable and passing the > variable to my handler but that doesn't work either. I suspect that I > am missing something pretty obvious but what it is is eluding me. > Could someone shed some light please. > BTW I am using a licensed version of Revolution. > > Thanks > Ian McKnight looks like the string for the "do" statement is not correct. Try this: ... processmytable "put mytable[tx,ty] after last char of fld" & quote & "mydisplay" & quote ... Hope this helps. Regards Klaus Major k_major at os.surf2000.de From matt.denton at limelight.com.au Tue Aug 6 09:12:01 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Tue Aug 6 09:12:01 2002 Subject: use-revolution digest, Vol 1 #589 - 14 msgs In-Reply-To: <200208061249.IAA22251@www.runrev.com> Message-ID: <1A6BFB07-A946-11D6-942C-000393924880@limelight.com.au> Dear Scott, Many thanks, I feel a bit silly that I didn't think of your nice elegant solution. I guess I thought there must have been a 'drag window' style command and blinkered other options. I've been away from Rev for a few months so I'm a tad rusty again (well that's my story!). Thanks again! Matt Denton > does anyone know if you can 'drag' a window around > from an object other than its titlebar? > > Sure -- several ways, all based on the same principle. The following > works > for me, placed in the object that is clicked to initiate the drag: > > on mouseDown > set the uAllowDrag of me to the mouseH & "," & the mouseV > end mouseDown > > on mouseMove x,y > if the uAllowDrag of me is empty then exit mouseMove > put globalLoc(x & "," & y) into tLoc > set topLeft of this stack to \ > item 1 of tLoc - item 1 of the uAllowDrag of me,\ > item 2 of tLoc - item 2 of the uALlowDrag of me > end mouseMove > > on mouseUp > set the uAllowDrag of me to empty > end mouseUp > > on mouseRelease > mouseUp > end mouseRelease From jan.decroos at groepvanroey.be Tue Aug 6 09:23:01 2002 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Tue Aug 6 09:23:01 2002 Subject: search a date Message-ID: use-revolution at lists.runrev.com writes: > >I've found the bug in your code : > >for the month search >replace >(0[1-9]|1[12]) >by >(0[1-9]|1[0-2]) Yves, see previous digest, "use-revolution digest, Vol 1 #588 - 4 msgs", topic 2 Jan From mrtea at mac.com Tue Aug 6 09:49:01 2002 From: mrtea at mac.com (Mr Tea) Date: Tue Aug 6 09:49:01 2002 Subject: Constructing a project (new user) Message-ID: Hi. I'm pretty new to Revolution, & my previous authoring experience is mainly with mTropolis (R.I.P) and Authorware. What I want to do is make the equivalent of a mTropolis 'section', with a 'shared scene' containing elements that are used in the whole section (background image, buttons, sounds) and a sequence of scenes that display stuff over the background. I've got as far as creating a Mainstack with an image object for the background and, er, that's it. Am I going in the right direction or barking up the wrong tree? I'd be grateful for any pointers on how to proceed. Thanks Nick -- From kray at sonsothunder.com Tue Aug 6 10:10:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Aug 6 10:10:01 2002 Subject: Trim images References: Message-ID: <101601c23d5a$85d84790$6f00a8c0@mckinley.dom> Paolo, The next version of Revolution (which is currently in alpha) has a "crop" command that will allow you to do just that. I don't know if it can be done in 1.1.1... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "paolo mazza" To: Sent: Tuesday, August 06, 2002 5:19 AM Subject: Trim images > Hi folks, > I wuold like to trim an image I drew using the paint palette. > In other words I wuold like to clear the transparen borders and get an image > as big as the picture that I drew. > How can I do it? > Can you write a script for this? > Paolo > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Tue Aug 6 10:15:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Aug 6 10:15:01 2002 Subject: No picture in Windows build References: Message-ID: <101f01c23d5b$21f8b1a0$6f00a8c0@mckinley.dom> > I have two questions: > - what is the solution to the problem with the images? Most likely you did not embed your images (File -> Import as Control), but referenced them (File -> New Referenced Control), and the path to the image is different in your emulator. I would check the paths, or embed them with Import as Control. > - is Revolution better (no extra debugging) than REALbasic in converting > builds to Windows? Unequivocally. To convert a build to Windows is as simple as checking a checkbox in the Distribution Builder and making sure you have the Windows engine downloaded. Check out Geoff Canyon's comparison of REALBasic and Revolution at: http://www.runrev.com/revolution/info/compare/index.html Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue Aug 6 10:20:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Aug 6 10:20:00 2002 Subject: Constructing a project (new user) References: Message-ID: <102c01c23d5b$ec3d16e0$6f00a8c0@mckinley.dom> Nick, You're definitely going in the right direction. In Revolution, each "scene" is a card, and the "section" is a stack. If you create some objects that are to act as a background across multiple cards, group them and make sure its "Background Behavior" checkbox is turned on (properties palette, 'group' tab), everything in that group will be shared across all the cards it is placed on. If you created your background group before you start adding cards, it will automatically be placed on any new cards you add. If you have created your cards *before* you created the background group, you will need to "place" the background on each card you want it to apply to (Object -> Place Group). Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Mr Tea" To: "Revolution" Sent: Tuesday, August 06, 2002 9:47 AM Subject: Constructing a project (new user) > Hi. > > I'm pretty new to Revolution, & my previous authoring experience is mainly > with mTropolis (R.I.P) and Authorware. > > What I want to do is make the equivalent of a mTropolis 'section', with a > 'shared scene' containing elements that are used in the whole section > (background image, buttons, sounds) and a sequence of scenes that display > stuff over the background. I've got as far as creating a Mainstack with an > image object for the background and, er, that's it. Am I going in the right > direction or barking up the wrong tree? > > I'd be grateful for any pointers on how to proceed. > > > Thanks > > > Nick > > -- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From yvescoppe at skynet.be Tue Aug 6 13:34:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Tue Aug 6 13:34:01 2002 Subject: search a date In-Reply-To: References: Message-ID: >use-revolution at lists.runrev.com writes: >> >>I've found the bug in your code : >> >>for the month search >>replace >>(0[1-9]|1[12]) >>by >>(0[1-9]|1[0-2]) > >Yves, > >see previous digest, "use-revolution digest, Vol 1 #588 - 4 msgs", topic 2 > >Jan > _ Thank you Jan for your solution AND the explanations attached. This is important for learning and knowing what one does. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From ianmck at macunlimited.net Tue Aug 6 16:03:00 2002 From: ianmck at macunlimited.net (Ian McKnight) Date: Tue Aug 6 16:03:00 2002 Subject: Problems with the DO command References: <39E2530B-A945-11D6-A4D1-000A27B49A96@os.surf2000.de> Message-ID: <001201c23d8c$4ef77070$3880e150@D83C5B0J> Hi Thanks for your input Klaus, unfortunately your suggestion didn't work. When put in a nested loop this statement fills a field with 10 rows of ten numbers. put mytable[tx,ty] after last char of fld "mydisplay" To use the do command the statement needs to be in a container or contained in quotes. In either case the statement ends in double quotes do "put mytable[tx,ty] after last char of fld "mydisplay"" which is why I replaced the 'nested' quotes with the literal quote which required the & operator which do doesn't seem to like :( The first statement above only fails when put in quotes and executed through the do command. Regards Ian > ... > processmytable "put mytable[tx,ty] after last char of fld" & quote & > "mydisplay" & quote > ... > > Hope this helps. > > > Regards > > Klaus Major > k_major at os.surf2000.de > From dsc at swcp.com Tue Aug 6 17:56:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 6 17:56:01 2002 Subject: Problems with the DO command In-Reply-To: <002401c23d4f$608f4cf0$0100007f@D83C5B0J> Message-ID: <6B337598-A98F-11D6-8F45-0050E4C0B205@swcp.com> On Tuesday, August 6, 2002, at 07:42 AM, Ian McKnight wrote: > processmytable "put mytable[tx,ty] after last char of fld > quote&mydisplay"e " > Is mydisplay a variable visible from processMyTable? Then try parentheses in above like this in above: field (quote & mydisplay & quote) (A wild guess; I've gotten bitten by binding strength before.) Is mydisplay the actually name of the field? Then I don't understand by Klaus's idea didn't work. Dar Scott From mrtea at mac.com Tue Aug 6 19:22:01 2002 From: mrtea at mac.com (Mr Tea) Date: Tue Aug 6 19:22:01 2002 Subject: Constructing a project (new user) In-Reply-To: <102c01c23d5b$ec3d16e0$6f00a8c0@mckinley.dom> Message-ID: This from Ken Ray - dated 6-8-02 04.14 pm: > Hope this helps, You bet. Thanks, Ken. Nick From g.castre at free.fr Wed Aug 7 02:44:01 2002 From: g.castre at free.fr (Guillaume CASTRE) Date: Wed Aug 7 02:44:01 2002 Subject: French tutorial. In-Reply-To: Message-ID: <004901c23de5$e80ff440$6e01a8c0@Guillaume> Hello, On the web site there's the first chapter (in french) of a tutorial about Runrev. There's a french forum about runrev/revolution too. regards, Guillaume CASTRE. --- Message certifi? sans virus. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.380 / Virus Database: 213 - Release Date: 24/07/2002 From yvescoppe at skynet.be Wed Aug 7 04:21:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Wed Aug 7 04:21:01 2002 Subject: French tutorial. In-Reply-To: <004901c23de5$e80ff440$6e01a8c0@Guillaume> References: <004901c23de5$e80ff440$6e01a8c0@Guillaume> Message-ID: >Hello, >On the web site there's the first chapter (in >french) of a tutorial about Runrev. >There's a french forum about runrev/revolution too. >regards, > >Guillaume CASTRE. > >--- fabuleux ! un site en fran?ais sur Rev. J'esp?re que le forum va se d?velopper. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From ianmck at macunlimited.net Wed Aug 7 04:42:00 2002 From: ianmck at macunlimited.net (Ian McKnight) Date: Wed Aug 7 04:42:00 2002 Subject: Problems with the DO command References: <6B337598-A98F-11D6-8F45-0050E4C0B205@swcp.com> Message-ID: <000001c23df6$6323b990$5685e150@D83C5B0J> Hi Dar Thanks for your input My stack consists of a single card containing a button, with the following script, and a field called mydisplay -------------------------------------------------------- on mouseup processmytable "put empty into mytable[tx,ty]" processmytable "put tx*ty&comma into mytable[tx,ty]" processmytable "put mytable[tx,ty] into fld "mydisplay"" end mouseup on processMyTable tcommand global mytable repeat with ty = 1 to 10 repeat with tx = 1 to 10 do tcommand end repeat end repeat end processMyTable -------------------------------------------------------- The first and second calls to processmytable work correctly, the last call does not. Revolution believes the statement ends at the 2nd quote mark. Changing the statement to processmytable "put mytable[tx,ty] into fld quote& mydisplay "e" doesn't work either -- an error message concerning the & It seems that you can't have a reference to an actual field in a statement given to a do command :( Thanks again Ian McKnight From yvescoppe at skynet.be Wed Aug 7 04:57:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Wed Aug 7 04:57:01 2002 Subject: Auto-scroll problem Message-ID: Hi, I have a cd with 3 flds One of those flds is a scrolling list field The text in the fld is a list sorted alphabetically I'd like that when the user press a keybord key, the fld scroll so that the first words in the fld begin with this letter I know I can do that with an empty fld above the scrolling and use the filter command (as we see in the transcript dictionnary) But I ask myself if it can directly without an added fld. Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From k_major at os.surf2000.de Wed Aug 7 06:14:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Wed Aug 7 06:14:01 2002 Subject: Auto-scroll problem In-Reply-To: Message-ID: Bonjour Yves, > Hi, > > I have a cd with 3 flds > > One of those flds is a scrolling list field > The text in the fld is a list sorted alphabetically > > I'd like that when the user press a keybord key, the fld scroll so that > the first words in the fld begin with this letter > > I know I can do that with an empty fld above the scrolling and use the > filter command (as we see in the transcript dictionnary) > But I ask myself if it can directly without an added fld. > > Thanks. > -- Greetings. > > Yves COPPE put this in the card-script: ## fld 1 is the list-field. on keyUp lekey if lekey is "a" then ## or whatever is your first letter set the scroll of fld 1 to 0 exit keyup ## will scroll to top end if put lineOffset(CR & lekey, field 1) into lo set the scroll of field 1 to lo * the effective textHeight of field 1 if lo is 0 then beep ## or whatever... end if end keyUp Tested and works. You can enhance it by adding some automatic hiliting or send "mouseup" etc... Have a nice day. Klaus Major k_major at os.surf2000.de From janschenkel at yahoo.com Wed Aug 7 06:26:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Aug 7 06:26:01 2002 Subject: Problems with the DO command In-Reply-To: <000001c23df6$6323b990$5685e150@D83C5B0J> Message-ID: <20020807112415.35297.qmail@web11901.mail.yahoo.com> Hi Ian, Try this: processmytable "put mytable[tx,ty] into fld" && \ quote & "mydisplay" & quote Hope it works, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Ian McKnight wrote: > Hi Dar > > Thanks for your input > > My stack consists of a single card containing a > button, with the following > script, and a field called mydisplay > -------------------------------------------------------- > on mouseup > processmytable "put empty into mytable[tx,ty]" > processmytable "put tx*ty&comma into mytable[tx,ty]" > processmytable "put mytable[tx,ty] into fld > "mydisplay"" > end mouseup > > on processMyTable tcommand > global mytable > repeat with ty = 1 to 10 > repeat with tx = 1 to 10 > do tcommand > end repeat > end repeat > end processMyTable > -------------------------------------------------------- > > The first and second calls to processmytable work > correctly, the last call > does not. Revolution believes the statement ends at > the 2nd quote mark. > > Changing the statement to > > processmytable "put mytable[tx,ty] into fld quote& > mydisplay "e" > > doesn't work either -- an error message concerning > the & > > It seems that you can't have a reference to an > actual field in a statement > given to a do command :( > > Thanks again > > Ian McKnight > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com From yvescoppe at skynet.be Wed Aug 7 06:35:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Wed Aug 7 06:35:01 2002 Subject: Auto-scroll problem In-Reply-To: References: Message-ID: >put this in the card-script: > >## fld 1 is the list-field. > >on keyUp lekey > if lekey is "a" then > ## or whatever is your first letter > set the scroll of fld 1 to 0 > exit keyup > ## will scroll to top > end if > put lineOffset(CR & lekey, field 1) into lo > set the scroll of field 1 to lo * the effective textHeight of field 1 > if lo is 0 then > beep > ## or whatever... > end if >end keyUp > >Tested and works. > >You can enhance it by adding some automatic hiliting or >send "mouseup" etc... > >Have a nice day. > Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From ianmck at macunlimited.net Wed Aug 7 08:18:01 2002 From: ianmck at macunlimited.net (Ian McKnight) Date: Wed Aug 7 08:18:01 2002 Subject: Problems with the DO command References: <20020807112415.35297.qmail@web11901.mail.yahoo.com> Message-ID: <001701c23e14$92a3edc0$1d80e150@D83C5B0J> Hi Jan > > Try this: > processmytable "put mytable[tx,ty] into fld" && \ > quote & "mydisplay" & quote > > Hope it works, It did! Thanks very much. And thanks again to Klaus and dar for their suggestions. Regards Ian McKnight From simran at teleline.es Wed Aug 7 09:04:01 2002 From: simran at teleline.es (Peter Lundh) Date: Wed Aug 7 09:04:01 2002 Subject: Auto-executable application with Revolution Message-ID: Hi- Is it possible to make an auto-executable application (for Mac and Win platforms) with Revolution? That is, I pop a CD with the compiled application on it and it starts up by itself without dubbel-clicking, or opening it first. If yes, what would the code/script look like (briefly). Many thanks in advance -- Peter Lundh Sweden simran at teleline.es From k_major at os.surf2000.de Wed Aug 7 10:40:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Wed Aug 7 10:40:01 2002 Subject: Auto-executable application with Revolution In-Reply-To: Message-ID: Dag Peter, > Hi- > > Is it possible to make an auto-executable application (for Mac and Win > platforms) with Revolution? That is, I pop a CD with the compiled > application on it and it starts up by itself without dubbel-clicking, or > opening it first. If yes, what would the code/script look like > (briefly). > > Many thanks in advance > -- > Peter Lundh auto-executable applications are a OS-specific thing. That means that ANY application could be auto-executable. On the mac the cd-burning application should support this ability to burn a cd that will autolauch a desired app. (TOAST does, it is called autostart here...) But be aware: This is something that the user can disable !!! So don't rely on it !!! And since one of the rare Mac-viruses used (still uses ?) especially this feature, i am sure most mac-users will have disabled that "feature". On windows you just have to include a simple text-file on the cd called "autorun.inf". Here is a small example: [autorun] ICON=youriconhere.ico OPEN=Setup.exe This tiny script will tell windoze to display the icon "youriconhere.ico" for the cd and will start the application "setup.exe" if the user did not disable this feature. All these files have to be on the 1st level of the cd. But not necessarily if you provide the right path in this file. Chances are good that it will work on most pcs, since most pc-users do not alter any of the windows-factory-settings ;-) Hope this helps. If not, just drop another mail... Regards Klaus Major k_major at os.surf2000.de From dsc at swcp.com Wed Aug 7 11:06:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 7 11:06:01 2002 Subject: Problems with the DO command In-Reply-To: <001701c23e14$92a3edc0$1d80e150@D83C5B0J> Message-ID: <24100A4C-AA1F-11D6-A606-0050E4C0B205@swcp.com> Ian McKnight wrote (quoting Jan): >> processmytable "put mytable[tx,ty] into fld" && \ >> quote & "mydisplay" & quote >> >> Hope it works, > > > It did! Thanks very much. Earlier, Klaus wrote: > processmytable "put mytable[tx,ty] after last char of fld" & > quote & "mydisplay" & quote I'm trying to understand what is happening here. If we ignore the into/after variations, it looks to me that the only difference is the space between fld and the quote. Is "do" parsing really that fragile? Dar Scott From dsc at swcp.com Wed Aug 7 12:45:00 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 7 12:45:00 2002 Subject: Problems with the DO command In-Reply-To: <24100A4C-AA1F-11D6-A606-0050E4C0B205@swcp.com> Message-ID: On Wednesday, August 7, 2002, at 10:02 AM, Dar Scott wrote: > I'm trying to understand what is happening here. If we ignore the > into/after variations, it looks to me that the only difference is > the space between fld and the quote. Is "do" parsing really that > fragile? > I tried it: ---------- local fieldName on mouseup -- Added line to clear field put empty into field "myDisplay" processmytable "put empty into mytable[tx,ty]" -- changed multiplication to comma processmytable "put (tx,ty)&space into mytable[tx,ty]" -- Original problem (fails) #processmytable "put mytable[tx,ty] into fld "myDisplay"" -- Klaus Solution (works) #processMyTable "put mytable[tx,ty] after last char of fld" & quote & "myDisplay" & quote -- Klaus Solution Variation (works) #processMyTable "put mytable[tx,ty] after field" & quote & "myDisplay" & quote -- Jan Solution (Variation) (works) #processMyTable "put mytable[tx,ty] after fld" && quote & "myDisplay" & quote -- Variable Method (functions, too) (works) #put "myDisplay" into fieldName #processMyTable "put mytable[tx,ty] after fld fieldName" -- Variable Method Variation (fails) -- This does not work; it creates a name with quotes in it. Duh, Dar. -- The parentheses may be needed in calculated field names, though. #put "myDisplay" into fieldName #processMyTable "put mytable[tx,ty] after fld (quote & fieldName & quote)" end mouseup on processMyTable tcommand global mytable repeat with ty = 1 to 10 repeat with tx = 1 to 10 do tcommand end repeat end repeat end processMyTable ------------ To try a method uncomment the # lines for that method. Klaus's method does work. I can sleep now. (I wonder if there are any conditions in which execution is faster when the loop text is wrapped around the command text and included in the do. I wonder if it might be handy to include special text for quotes in the strings and then replace them before executing the loop.) Dar Scott From ebuijs at knoware.nl Wed Aug 7 15:39:00 2002 From: ebuijs at knoware.nl (Eric Buijs) Date: Wed Aug 7 15:39:00 2002 Subject: No picture in Windows build In-Reply-To: <101f01c23d5b$21f8b1a0$6f00a8c0@mckinley.dom> Message-ID: Thanks Ken the presentation looks much better with pictures. Another problem I have in the Windows app is related to the Label Field. I use the Label Field with a text, that can be scrolled vertically. Again in the Mac app everything looks great, but in the Windows app once you scroll up the text the Label Field becomes "cluttered" with text fragments. It seems that the refresh of the Field is not done correctly. I also tried the normal Field, but this gives the same problem. Can this problem be solved??? Regards, Eric. From shaosean at unitz.ca Wed Aug 7 16:05:17 2002 From: shaosean at unitz.ca (Shao Sean) Date: Wed Aug 7 16:05:17 2002 Subject: [REQ] chat client testers Message-ID: <001101c23e55$595b67a0$88b15bd1@lanfear> I'm looking for testers for our MDSS Community chat client. Testers will be supplied with an older version (v1.01) of the client (this is to test the ability of the server to handle multiple sessions concurrently). v1.0.1 of the client works very much like the "chatter client" available for download from RunRev's website, and was actually developed while using chatter for our communication tool until ours was done.. Features: - chat (only the one room) - userlist (see who is online, this is the reason we wrote the program in the first place) - easy set status (let others know if you're available or not) The code is locked, for now, and will be released publicly once we're done with the new version. Bugs: - for some reason the code panics in MacOSX on our test machine so you'll need to run it in classic MacOS You will need RunRev v1.1.1 or greater and MetaCard 2.4.1 or better (the code does run in the starter kit). Please contact me off list if you're interested, and I'll email you the code (let me know if you want RunRev /MC and Stuffed /ZIPped). -- Shao Sean http://www.shaosean.tk/ From kray at sonsothunder.com Wed Aug 7 16:49:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Wed Aug 7 16:49:00 2002 Subject: No picture in Windows build References: Message-ID: <002301c23e5b$7203c170$6401a8c0@mckinley.dom> Eric, Could you give us a better example of what you mena by "scrolling up" with a label field? I don't quite understand. Is the field a scrolling field? (If so, it wouldn't be a label field) If not, does the *window* scroll via a scrollable group? As you can see, I don't quite understand your situation. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Eric Buijs" To: Sent: Wednesday, August 07, 2002 3:40 PM Subject: Re: No picture in Windows build > Thanks Ken the presentation looks much better with pictures. > > Another problem I have in the Windows app is related to the Label Field. I > use the Label Field with a text, that can be scrolled vertically. Again in > the Mac app everything looks great, but in the Windows app once you scroll > up the text the Label Field becomes "cluttered" with text fragments. It > seems that the refresh of the Field is not done correctly. > I also tried the normal Field, but this gives the same problem. > > Can this problem be solved??? > > > Regards, > > Eric. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From trevor at mangomultimedia.com Wed Aug 7 20:31:01 2002 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Wed Aug 7 20:31:01 2002 Subject: getting count of array with non-integer index Message-ID: Hi, I have an array created from a db query that looks similar to this: array[1,"RecID"] array[1,"Name"] array[2,"RecID"] array[2,"Name"] array[3,"RecID"] array[3,"Name"] I want to loop through these results but have been unable to find a way to determine how many elements are in the first dimension of the array. I saw the extents function but that only works with numeric keys. I would like to keep the non-numeric keys if possible in order to make my code more readable. So my questions are 1) Am I setting up arrays correctly in transcript and 2) If so, how do I get the count of the first dimension for looping purposes? Thanks, Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From JamesHBeckmann at aol.com Wed Aug 7 22:59:01 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Wed Aug 7 22:59:01 2002 Subject: Accessing the Contents of a PopUp btn Message-ID: I opened a HC stack with Rev. I adjusted the popup btn. When the properties window for the btn is opened the Contents field as well as the btn to hilite this are disabled. How do I enable the properties window of this popup btn to adjust the contents? Thanks, Jim From webmaster at studioalice.se Thu Aug 8 02:21:00 2002 From: webmaster at studioalice.se (=?ISO-8859-1?Q?Magnus_von_Br=F6msen?=) Date: Thu Aug 8 02:21:00 2002 Subject: Printing 1 or more pages from a single field? In-Reply-To: Message-ID: <1BD7F412-AA9F-11D6-A2F2-003065CCBD1A@studioalice.se> Hi Carsten To print a field with more text then is visible you can use: revShowPrintDialog true,true revPrintField the name of field "printThisField" If you want text from multiple fields printed you have to first collect them to a new field. /magnus On tisdag, augusti 6, 2002, at 01:58 , Carsten Levin wrote: > Case: Text entered in a field in Revolution. From just a little bit and > up > until 4-6 pages. > Problem: We want to print the text. No problem when it all fits on one > page. > But what when the text of one field exeeds 1 page ... and needs to be > printed on 2-4 pages ..... ? > Does Revolution have a procedure for this situation? > > > > About the project: > We are in the final process developing a large system for language > education > and training. > Revolution running on Mac 9 & X, Windows 98 & 2000 % XP. > > The students will go through a large number of tests, and in most cases > we > can determine the numbers of pages to print without any problems. But > in the > free-text modus where the students can write as much as they want in one > single field we are facing problems. In most cases 1 page is enough ... > printing in 9 pt times, but some students might write more ... 2, 3 or > more > pages. > > Best regards > > Carsten Levin > ITinfo A/S > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Thu Aug 8 04:39:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Thu Aug 8 04:39:01 2002 Subject: Problems with the DO command In-Reply-To: Message-ID: <6BFD993A-A98A-11D6-90DA-0003937A97B8@genesearch.com.au> Try sending a field number or ID. That way you won't have to worry about the quotes. Sarah On Wednesday, August 7, 2002, at 07:03 AM, Ian McKnight wrote: > Hi > > Thanks for your input Klaus, unfortunately your suggestion didn't work. > > When put in a nested loop this statement fills a field with 10 rows of > ten > numbers. > > put mytable[tx,ty] after last char of fld "mydisplay" > > To use the do command the statement needs to be in a container or > contained > in quotes. In either case the statement ends in double quotes > > do "put mytable[tx,ty] after last char of fld "mydisplay"" > > which is why I replaced the 'nested' quotes with the literal quote which > required the & operator which do doesn't seem to like :( > > The first statement above only fails when put in quotes and executed > through > the do command. > > > Regards > > > Ian > >> ... >> processmytable "put mytable[tx,ty] after last char of fld" & quote & >> "mydisplay" & quote >> ... >> >> Hope this helps. >> >> >> Regards >> >> Klaus Major >> k_major at os.surf2000.de >> > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kkaufman at snet.net Thu Aug 8 08:24:00 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Thu Aug 8 08:24:00 2002 Subject: video clip viewer- testers requested Message-ID: I'm currently testing a small (56 KB) video clip viewing application and could use a few testers on Mac and Windows platforms. I'm especially interested in those that are using a version of QT prior to 5, although any volunteers would be greatly appreciated. If interested, please contact me off-list at Thanks, Kurt From g.castre at free.fr Thu Aug 8 08:51:01 2002 From: g.castre at free.fr (Guillaume CASTRE) Date: Thu Aug 8 08:51:01 2002 Subject: video clip viewer- testers requested In-Reply-To: Message-ID: <000b01c23ee2$46ea0cb0$6e01a8c0@Guillaume> OK for me ! -----Message d'origine----- De : use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] De la part de Kurt Kaufman Envoy? : jeudi 8 ao?t 2002 15:23 ? : use-revolution at lists.runrev.com Objet : video clip viewer- testers requested I'm currently testing a small (56 KB) video clip viewing application and could use a few testers on Mac and Windows platforms. I'm especially interested in those that are using a version of QT prior to 5, although any volunteers would be greatly appreciated. If interested, please contact me off-list at Thanks, Kurt _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.380 / Virus Database: 213 - Release Date: 24/07/2002 --- Message certifi? sans virus. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.380 / Virus Database: 213 - Release Date: 24/07/2002 From ebuijs at knoware.nl Thu Aug 8 15:31:01 2002 From: ebuijs at knoware.nl (Eric Buijs) Date: Thu Aug 8 15:31:01 2002 Subject: No picture in Windows build In-Reply-To: <002301c23e5b$7203c170$6401a8c0@mckinley.dom> Message-ID: op 07-08-2002 23:43 schreef Ken Ray op kray at sonsothunder.com: > Could you give us a better example of what you mena by "scrolling up" with a > label field? I don't quite understand. Is the field a scrolling field? (If > so, it wouldn't be a label field) If not, does the *window* scroll via a > scrollable group? As you can see, I don't quite understand your situation. Ken, I do use the Label Field and in the properties of this field I have the vertical scrollbar tickbox enabled (this tickbox is in the last tab of the properties window). However just to be sure I also used the Scrolling field. This gave the same result. Whenever I push the scroll up on the vertical scrollbar the text gets messed up. When after this I push the scroll down on the vertical scrollbar everything is back to the original (correct) situation again. Your question made me wonder why I have so many choices in different "textfields" (Label field, Scroll field, Field)? With the properties window I (apparantly) can give them similar properties. If neccesary I could send you a jpeg of a screendump of the problem. Regards, Eric. From DVGlasgow at aol.com Thu Aug 8 16:00:01 2002 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Thu Aug 8 16:00:01 2002 Subject: Time limited standalone/demo Message-ID: <1ac.67286f9.2a84354c@aol.com> In a message dated 6/8/02 2:49:05 PM, Rick Harrison writes: << > This can be done. You normally have to question the system date/time > from the system your program is working on first. Then perform your > calculation to determine when it should quit working. If you are using > a standalone you will have to store this information seperately from > the stack you are in. > > Good Luck! > > >> I have scripted this effect before, by manually storing the current date in each stack prior to building the standalone. The problem is that you have to do this for each build (or at least those that you want to refuse to run after a particular date). What I would like to be able to do is either set the expiry (or more acurately lifespan) at the time of the build - something for imrove rev perhaps, or at least be able to interrogate the standalone at startup with respect to its creation date. It is there in the 'get info' box of a standalone, but is it a property I can 'get' and weave into a preopenstack handler? Best wishes, David Glasgow Home/ forensic assessments --> DVGlasgow Courses --> i-Psych From shaosean at unitz.ca Thu Aug 8 16:10:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Thu Aug 8 16:10:01 2002 Subject: No picture in Windows build References: Message-ID: <000701c23f1f$44e29030$88b15bd1@lanfear> > Your question made me wonder why I have so many choices in different > "textfields" (Label field, Scroll field, Field)? With the properties window they're all the same object, just with different properties preset to save you time from having to set them everytime you need a label or scrolling field or listbox, etc.. From kray at sonsothunder.com Thu Aug 8 18:19:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 8 18:19:01 2002 Subject: No picture in Windows build References: Message-ID: <001901c23f31$2bd0d950$6401a8c0@mckinley.dom> Eric, It would definitely help to see a screen dump, as I have been playing around with all different kinds of fields in Windows and I don't see any problems or remnants. As Shao mentioned, although Rev has four different tools to create fields (Field, Scrolling Field, List Field, Scrolling List Field), all of them really use the basic Field object and have certain settings turned on or off. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Eric Buijs" To: Sent: Thursday, August 08, 2002 3:33 PM Subject: Re: No picture in Windows build > op 07-08-2002 23:43 schreef Ken Ray op kray at sonsothunder.com: > > > Could you give us a better example of what you mena by "scrolling up" with a > > label field? I don't quite understand. Is the field a scrolling field? (If > > so, it wouldn't be a label field) If not, does the *window* scroll via a > > scrollable group? As you can see, I don't quite understand your situation. > > Ken, > > I do use the Label Field and in the properties of this field I have the > vertical scrollbar tickbox enabled (this tickbox is in the last tab of the > properties window). > However just to be sure I also used the Scrolling field. This gave the same > result. > > Whenever I push the scroll up on the vertical scrollbar the text gets messed > up. When after this I push the scroll down on the vertical scrollbar > everything is back to the original (correct) situation again. > > Your question made me wonder why I have so many choices in different > "textfields" (Label field, Scroll field, Field)? With the properties window > I (apparantly) can give them similar properties. > > If neccesary I could send you a jpeg of a screendump of the problem. > > Regards, > > Eric. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From degbert at mac.com Thu Aug 8 20:55:03 2002 From: degbert at mac.com (David Egbert) Date: Thu Aug 8 20:55:03 2002 Subject: MacOS X : Choose app through answer dialog? Message-ID: I'm building a helper application that needs the path to the main app. I thought this would be best facilitated by having the user choose the app by using: answer file of type "APPL" Unfortunately this doesn't work in X. Is there another way I can get the user to select the path to the application? Thanks. -- David Egbert From sarahr at genesearch.com.au Thu Aug 8 21:09:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Thu Aug 8 21:09:01 2002 Subject: Accessing the Contents of a PopUp btn In-Reply-To: Message-ID: <96A6CA18-AB3C-11D6-9698-0003937A97B8@genesearch.com.au> I think there is some issue with imported HC stacks where it only handles a couple of the different types of popups. Try changing the button to a different menu style and see if that works. Sarah On Thursday, August 8, 2002, at 02:00 pm, JamesHBeckmann at aol.com wrote: > I opened a HC stack with Rev. I adjusted the popup btn. When the > properties > window for the btn is opened the Contents field as well as the btn to > hilite > this are disabled. > > How do I enable the properties window of this popup btn to adjust the > contents? > > Thanks, > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mazzapaolo at libero.it Fri Aug 9 03:58:01 2002 From: mazzapaolo at libero.it (paolo mazza) Date: Fri Aug 9 03:58:01 2002 Subject: FROM REV to APPLESCRIPT In-Reply-To: <200208081601.MAA26723@www.runrev.com> Message-ID: How can I set the value of a variable in an Applescript piece of code to a field of a stack in REV? Am I supposed to use the clipboard? Thanks, Paolo From mazzapaolo at libero.it Fri Aug 9 04:03:02 2002 From: mazzapaolo at libero.it (paolo mazza) Date: Fri Aug 9 04:03:02 2002 Subject: Trim images (Ken Ray) In-Reply-To: <200208061602.MAA27828@www.runrev.com> Message-ID: You Wrote: > The next version of Revolution (which is currently in alpha) has a "crop" > command that will allow you to do just that. I don't know if it can be done > in 1.1.1... When are they supposed to release the next version of Revolution? I mean, in few weeks, in few months or in some years? Thanks for your gossip... very useful in any case. Paolo > --__--__-- > > Message: 5 > From: "Ken Ray" > To: > Subject: Re: Trim images > Date: Tue, 6 Aug 2002 10:04:07 -0500 > Reply-To: use-revolution at lists.runrev.com > > Paolo, > > The next version of Revolution (which is currently in alpha) has a "crop" > command that will allow you to do just that. I don't know if it can be done > in 1.1.1... > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "paolo mazza" > To: > Sent: Tuesday, August 06, 2002 5:19 AM > Subject: Trim images > > >> Hi folks, >> I wuold like to trim an image I drew using the paint palette. >> In other words I wuold like to clear the transparen borders and get an > image >> as big as the picture that I drew. >> How can I do it? >> Can you write a script for this? >> Paolo >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > --__--__-- > > Message: 6 > From: "Ken Ray" > To: > Subject: Re: No picture in Windows build > Date: Tue, 6 Aug 2002 10:08:29 -0500 > Reply-To: use-revolution at lists.runrev.com > >> I have two questions: >> - what is the solution to the problem with the images? > > Most likely you did not embed your images (File -> Import as Control), but > referenced them (File -> New Referenced Control), and the path to the image > is different in your emulator. I would check the paths, or embed them with > Import as Control. > >> - is Revolution better (no extra debugging) than REALbasic in converting >> builds to Windows? > > Unequivocally. To convert a build to Windows is as simple as checking a > checkbox in the Distribution Builder and making sure you have the Windows > engine downloaded. Check out Geoff Canyon's comparison of REALBasic and > Revolution at: > > http://www.runrev.com/revolution/info/compare/index.html > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > > > --__--__-- > > Message: 7 > From: "Ken Ray" > To: > Subject: Re: Constructing a project (new user) > Date: Tue, 6 Aug 2002 10:14:11 -0500 > Reply-To: use-revolution at lists.runrev.com > > Nick, > > You're definitely going in the right direction. In Revolution, each "scene" > is a card, and the "section" is a stack. If you create some objects that are > to act as a background across multiple cards, group them and make sure its > "Background Behavior" checkbox is turned on (properties palette, 'group' > tab), everything in that group will be shared across all the cards it is > placed on. If you created your background group before you start adding > cards, it will automatically be placed on any new cards you add. If you have > created your cards *before* you created the background group, you will need > to "place" the background on each card you want it to apply to (Object -> > Place Group). > > Hope this helps, > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > ----- Original Message ----- > From: "Mr Tea" > To: "Revolution" > Sent: Tuesday, August 06, 2002 9:47 AM > Subject: Constructing a project (new user) > > >> Hi. >> >> I'm pretty new to Revolution, & my previous authoring experience is mainly >> with mTropolis (R.I.P) and Authorware. >> >> What I want to do is make the equivalent of a mTropolis 'section', with a >> 'shared scene' containing elements that are used in the whole section >> (background image, buttons, sounds) and a sequence of scenes that display >> stuff over the background. I've got as far as creating a Mainstack with an >> image object for the background and, er, that's it. Am I going in the > right >> direction or barking up the wrong tree? >> >> I'd be grateful for any pointers on how to proceed. >> >> >> Thanks >> >> >> Nick >> >> -- >> >> _______________________________________________ >> 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 > > > End of use-revolution Digest From jenworth at mhtc.net Fri Aug 9 06:19:00 2002 From: jenworth at mhtc.net (Marv Wurth) Date: Fri Aug 9 06:19:00 2002 Subject: Corrupt file in Windows Message-ID: <3D53A4C8.8E865AB7@mhtc.net> I developed a tutorial on a Mac (9.1) and then tried to open it on a Windows computer but got a message saying the file was corrupt and could not be opened. I made this file into a standalone on the Mac side and have not had any problems with it. I should also add that I developed 4 other tutorials and all of them were able to be opened by a windows computer. I understand that I can develop standalones on the Mac side, but I need to look at these tutorial on a Windows computer and adjust the positions fields because of font issues. I would appreciate any help that anyone could me. Marv Wurth From alanira9 at mac.com Fri Aug 9 06:26:01 2002 From: alanira9 at mac.com (Alan Gayne) Date: Fri Aug 9 06:26:01 2002 Subject: list field question Message-ID: how do I select multiple non contiguous lines in a list field which will be used in a modal dialogue box? in othe applications this is typically done by holding down the command key or the shift key while clicking on the 2nd, 3rd etc. lines - but I don't know how to achieve this in Revolution Any help would be appreciated. Alan From richmond at mail.maclaunch.com Fri Aug 9 07:44:01 2002 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri Aug 9 07:44:01 2002 Subject: Big Probs ??? Message-ID: So I have at last finished my CD ROM; the stack file weighs in at 190MB. But it will not build : trying to build MacOS X, MacOS 9 , and Windows. Seems to get stuck in 3 ways: 1. setting profiles 2. copying some substacks into data folder 3. turning the 'stump' (i.e. mainstack) into and .exe. or .app file tried builidng a distro of files: i.e. broke up 190 MB stack into its constituent 319 substacks and front-end/main stack: could not then build main-stack (4.3 MB) into a stand-alone. Help, Help, Help...... Richmond Mathewson --------------------------------------------------------------- Using a Macintosh? Get FREE e-mail and more at MacLaunch! http://www.maclaunch.com --------------------------------------------------------------- From dcragg at lacscentre.co.uk Fri Aug 9 09:12:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri Aug 9 09:12:01 2002 Subject: Corrupt file in Windows In-Reply-To: <3D53A4C8.8E865AB7@mhtc.net> References: <3D53A4C8.8E865AB7@mhtc.net> Message-ID: At 6:17 am -0500 9/8/02, Marv Wurth wrote: >I developed a tutorial on a Mac (9.1) and then tried to open it on a >Windows computer but got a message saying the file was corrupt and could >not be opened. I made this file into a standalone on the Mac side and >have not had any problems with it. I should also add that I developed 4 >other tutorials and all of them were able to be opened by a windows >computer. I understand that I can develop standalones on the Mac side, >but I need to look at these tutorial on a Windows computer and adjust >the positions fields because of font issues. I would appreciate any >help that anyone could me. How did you copy it to the Windows machine? Is it possible it could have been corrupted in the copy process? For example, ftp transfer as ASCII instead of binary, or just a bad floppy!!! Cheers Dave From kray at sonsothunder.com Fri Aug 9 11:09:02 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 9 11:09:02 2002 Subject: Trim images (Ken Ray) References: Message-ID: <006b01c23fbe$3faa0b80$6401a8c0@mckinley.dom> I wish I could say... I only know that an Alpha version has been out since 7/5/02, and I know the people working on it are trying to get it out as fast as possible. If I hear more, I'll post official rumors at my web site. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "paolo mazza" To: Sent: Friday, August 09, 2002 4:15 AM Subject: Re: Trim images (Ken Ray) > You Wrote: > > The next version of Revolution (which is currently in alpha) has a "crop" > > command that will allow you to do just that. I don't know if it can be done > > in 1.1.1... > > When are they supposed to release the next version of Revolution? I mean, in > few weeks, in few months or in some years? > Thanks for your gossip... very useful in any case. > Paolo > > > > --__--__-- > > > > Message: 5 > > From: "Ken Ray" > > To: > > Subject: Re: Trim images > > Date: Tue, 6 Aug 2002 10:04:07 -0500 > > Reply-To: use-revolution at lists.runrev.com > > > > Paolo, > > > > The next version of Revolution (which is currently in alpha) has a "crop" > > command that will allow you to do just that. I don't know if it can be done > > in 1.1.1... > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > > > ----- Original Message ----- > > From: "paolo mazza" > > To: > > Sent: Tuesday, August 06, 2002 5:19 AM > > Subject: Trim images > > > > > >> Hi folks, > >> I wuold like to trim an image I drew using the paint palette. > >> In other words I wuold like to clear the transparen borders and get an > > image > >> as big as the picture that I drew. > >> How can I do it? > >> Can you write a script for this? > >> Paolo > >> > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> http://lists.runrev.com/mailman/listinfo/use-revolution > >> > > > > > > --__--__-- > > > > Message: 6 > > From: "Ken Ray" > > To: > > Subject: Re: No picture in Windows build > > Date: Tue, 6 Aug 2002 10:08:29 -0500 > > Reply-To: use-revolution at lists.runrev.com > > > >> I have two questions: > >> - what is the solution to the problem with the images? > > > > Most likely you did not embed your images (File -> Import as Control), but > > referenced them (File -> New Referenced Control), and the path to the image > > is different in your emulator. I would check the paths, or embed them with > > Import as Control. > > > >> - is Revolution better (no extra debugging) than REALbasic in converting > >> builds to Windows? > > > > Unequivocally. To convert a build to Windows is as simple as checking a > > checkbox in the Distribution Builder and making sure you have the Windows > > engine downloaded. Check out Geoff Canyon's comparison of REALBasic and > > Revolution at: > > > > http://www.runrev.com/revolution/info/compare/index.html > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > > > > > > > > > --__--__-- > > > > Message: 7 > > From: "Ken Ray" > > To: > > Subject: Re: Constructing a project (new user) > > Date: Tue, 6 Aug 2002 10:14:11 -0500 > > Reply-To: use-revolution at lists.runrev.com > > > > Nick, > > > > You're definitely going in the right direction. In Revolution, each "scene" > > is a card, and the "section" is a stack. If you create some objects that are > > to act as a background across multiple cards, group them and make sure its > > "Background Behavior" checkbox is turned on (properties palette, 'group' > > tab), everything in that group will be shared across all the cards it is > > placed on. If you created your background group before you start adding > > cards, it will automatically be placed on any new cards you add. If you have > > created your cards *before* you created the background group, you will need > > to "place" the background on each card you want it to apply to (Object -> > > Place Group). > > > > Hope this helps, > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > > > > > ----- Original Message ----- > > From: "Mr Tea" > > To: "Revolution" > > Sent: Tuesday, August 06, 2002 9:47 AM > > Subject: Constructing a project (new user) > > > > > >> Hi. > >> > >> I'm pretty new to Revolution, & my previous authoring experience is mainly > >> with mTropolis (R.I.P) and Authorware. > >> > >> What I want to do is make the equivalent of a mTropolis 'section', with a > >> 'shared scene' containing elements that are used in the whole section > >> (background image, buttons, sounds) and a sequence of scenes that display > >> stuff over the background. I've got as far as creating a Mainstack with an > >> image object for the background and, er, that's it. Am I going in the > > right > >> direction or barking up the wrong tree? > >> > >> I'd be grateful for any pointers on how to proceed. > >> > >> > >> Thanks > >> > >> > >> Nick > >> > >> -- > >> > >> _______________________________________________ > >> 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 > > > > > > End of use-revolution Digest > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From janschenkel at yahoo.com Fri Aug 9 12:40:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Aug 9 12:40:01 2002 Subject: list field question In-Reply-To: Message-ID: <20020809173816.38490.qmail@web11906.mail.yahoo.com> Hi Alan, First you need to set both the properties 'multipleLines' and 'nonContiguousHilites' to true (either via the message box, or the right-most tab in the properties palette). Then you can select multiple, non-contiguous lines by shift- and/or control/command-clicking, like in other applications. Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Alan Gayne wrote: > how do I select multiple non contiguous lines in a > list field which will be > used in a modal dialogue box? > > in othe applications this is typically done by > holding down the command > key or the shift key while clicking on the 2nd, 3rd > etc. lines - but I don't > know how to achieve this in Revolution > > Any help would be appreciated. > > Alan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com From ebuijs at knoware.nl Fri Aug 9 12:48:01 2002 From: ebuijs at knoware.nl (Eric Buijs) Date: Fri Aug 9 12:48:01 2002 Subject: No picture in Windows build In-Reply-To: <001901c23f31$2bd0d950$6401a8c0@mckinley.dom> Message-ID: Ken, I will send the jpeg to your personal email address. Regards, Eric. From kray at sonsothunder.com Fri Aug 9 13:53:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 9 13:53:01 2002 Subject: FROM REV to APPLESCRIPT References: Message-ID: <009801c23fd5$1f4143b0$6401a8c0@mckinley.dom> Paolo, You build it into the AppleScript code you write in Revolution. For example, you could do: on mouseUp put "My Hard Disk" into tHD put "tell application" && quote & "Finder & quote & cr & \ "open disk" && tHD & cr & "end tell" into tAS do tAS as AppleScript end mouseUp Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "paolo mazza" To: Sent: Friday, August 09, 2002 4:10 AM Subject: FROM REV to APPLESCRIPT > How can I set the value of a variable in an Applescript piece of code to a > field of a stack in REV? > Am I supposed to use the clipboard? > Thanks, Paolo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kee at kagi.com Fri Aug 9 14:30:01 2002 From: kee at kagi.com (Kee Nethery) Date: Fri Aug 9 14:30:01 2002 Subject: FROM REV to APPLESCRIPT In-Reply-To: References: Message-ID: >How can I set the value of a variable in an Applescript piece of code to a >field of a stack in REV? >Am I supposed to use the clipboard? >Thanks, Paolo OK, I have NOT tried this in Rev but in HyperCard I copy field "whatever" as string to thevariable or I copy field "somenumberonly" as integer to thevariable and then I do the calcs or whatever and then I copy thevariable to field "whatever" or copy thevariable to field "whatever" and that has always worked in HyperCard No idea if it works in Rev. Kee Nethery From kray at sonsothunder.com Fri Aug 9 14:40:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 9 14:40:01 2002 Subject: FROM REV to APPLESCRIPT References: Message-ID: <00b001c23fdb$ca041c90$6401a8c0@mckinley.dom> Sorry, Paolo... my answer might have been going the wrong way... Did you want to pass information from Rev to AppleScript, or return an AppleScript variable to Rev? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "paolo mazza" To: Sent: Friday, August 09, 2002 4:10 AM Subject: FROM REV to APPLESCRIPT > How can I set the value of a variable in an Applescript piece of code to a > field of a stack in REV? > Am I supposed to use the clipboard? > Thanks, Paolo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From brennalarpista at hotmail.com Fri Aug 9 15:28:01 2002 From: brennalarpista at hotmail.com (Kristy Kugler) Date: Fri Aug 9 15:28:01 2002 Subject: Looping through sets in order Message-ID: Hi all, I'm working on a quizzing program that takes its data from external files. When a user goes through for the first time, it automatically sends them to the first question set. However, when the user goes through again (any number of times), I need it to go directly to the next question set. Right now, it's random, and the first part looks like this: switch case (SavedUserData contains "SFQuiz1Passed") if SavedUserData contains "SFQuiz1Passed" then put random(4) into fileNum get URL ("file:data/SFQuizzes/SFQuiz1/Instructions" & fileNum & ".txt") repeat for 3 times if it is empty then subtract 1 from fileNum get URL ("file:data/SFQuizzes/SFQuiz1/Instructions" & fileNum & ".txt") put it into fld "instructions" else put URL ("file:data/SFQuizzes/SFQuiz1/Instructions" & fileNum & ".txt") into fld "instructions" end if end repeat Now, this works, but I want to change it so it remembers what question set has been completed and then does the next one, looping back to the beginning when it has been completed. It also needs to look for a file with information, because not all the quizzes have the same amount of question sets. I know I need to write the information to an external file, to be called upon when the user goes through again, but what do I need to do to let the program recognize which set it's been through? After that, I just need to do something like "put "Thisthing" + 1 into fileNum" right? I hope this makes sense. Thanks for the help! It's invaluable. Kristy Kugler _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From kkaufman at snet.net Fri Aug 9 17:41:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Fri Aug 9 17:41:01 2002 Subject: Looping through sets in order Message-ID: Perhaps I misunderstand, but: If you can set a "flag" variable such as "SFQuiz1Passed", can't you also set additional flags afterwards, such as "SFQuiz2Passed", etc., or even "SFQuiz1.1Passed" if you need the user to advance to multiple question sets on each "level"? Can we assume that the user cannot advance to SFQuiz2 until SFQuiz 1 is complete? If that's the case, then you'd only have to check which SFQuizXPassed is contained in the "X" part of the variable to continue to the next set..... HTH, Kurt From terry at discovery.nl Fri Aug 9 23:01:01 2002 From: terry at discovery.nl (Terry Vogelaar) Date: Fri Aug 9 23:01:01 2002 Subject: FROM REV to APPLESCRIPT In-Reply-To: Message-ID: > How can I set the value of a variable in an Applescript piece of code to a > field of a stack in REV? > Am I supposed to use the clipboard? For all smooth bi-directional RunRev-AS communication you can use the following technique: You store the AS-functions in a separate file; a normal AppleScript-file. Then you must know the path and the name of the function in the file. You call it with: get AppleScriptFunction("nameOfFunction", "path:to:file", 1, 2, "three", "four") Mind that on Mac OS classic you need to use colons in the path (2nd param), while on Mac OS X you must use slashes. Then in the stack-script you can put: function AppleScriptFunction aFun, aFile ??put "set theScript to load script (alias ""e&aFile"e&")"&return& \ ????"tell theScript to "&aFun&"(" into ASfunc ??if paramcount() > 2 then ????repeat with e = 3 to paramcount() ??????put param(e) into f ??????if param(e) is a number then ????????put f & "," after ASfunc ??????else ????????put quote & f & quote & "," after ASfunc ??????end if ????end repeat ??else ????put " " after ASfunc ??end if ??put ")" into last char of ASfunc ??do ASfunc as applescript end AppleScriptFunction Now you can call any function with any number of parameters. The value that is returned by the AppleScript-function is returned by "AppleScriptFunction" as well. So any AppleScript-variable can be sent to RunRev and vice versa this way. Terry From brennalarpista at hotmail.com Fri Aug 9 23:04:01 2002 From: brennalarpista at hotmail.com (Kristy Kugler) Date: Fri Aug 9 23:04:01 2002 Subject: Looping through sets in order Message-ID: "If you can set a "flag" variable such as "SFQuiz1Passed", can't you also set additional flags afterwards, such as "SFQuiz2Passed"", etc., or even "SFQuiz1.1Passed" if you need the user to advance to multiple question sets on each "level"?" Right now, it writes "SFQuizXPassed" if it completes the quiz, no matter which question set it's on. SFQuiz 2 is a completely different quiz. There are four quizzes in each section (for example: SF) and a possibility of up to 4 question sets within each quiz. Also, you can take the quizzes themselves in any order. I just want the question sets to go in order. How do I make it look for the next one without having to have a huge script spelling out what to do in every single case (which is the same, except that I want it to be the next in the set) If I put something like: "If SavedUserData contains "SFQUiz1.1Passed" then do whatever" than it works for that, but won't continue onward, because it does contain that. Right now, I append the information of which quiz (or in this case, question set) to the file, so that other information doesn't accidentally get erased. Thanks for the help, Kristy Kugler _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From janschenkel at yahoo.com Sat Aug 10 03:03:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Aug 10 03:03:01 2002 Subject: getting count of array with non-integer index In-Reply-To: Message-ID: <20020810080046.60751.qmail@web11903.mail.yahoo.com> Hi Trevor, As you haven't gotten a reply yet on the list, I figured I'd have a stab at it :-) First of all, you are setting up the arrays correctly, so no worries there. To answer your second question, you have a few options, depending on the circumstances. 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. Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Trevor DeVore wrote: > Hi, > > I have an array created from a db query that looks > similar to this: > > array[1,"RecID"] > array[1,"Name"] > array[2,"RecID"] > array[2,"Name"] > array[3,"RecID"] > array[3,"Name"] > > I want to loop through these results but have been > unable to find a way to determine how many elements > are in the first dimension of the array. I saw the > extents function but that only works with numeric > keys. I would like to keep the non-numeric keys if > possible in order to make my code more readable. > > So my questions are 1) Am I setting up arrays > correctly in transcript and 2) If so, how do I get > the count of the first dimension for looping > purposes? > > Thanks, > > 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 __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com From Aphcard at aol.com Sat Aug 10 04:56:01 2002 From: Aphcard at aol.com (Aphcard at aol.com) Date: Sat Aug 10 04:56:01 2002 Subject: =?ISO-8859-1?Q?Some=20keys=20in=20Script-Editor=20don=B4t=20work?= Message-ID: <6e.20d9ae46.2a863c9a@aol.com> some keys like "[" and "]" don?t work in the script-editor (all keys reachable with CtrlAlt on a german key-layout). I use rev on a windows 2000 system. I disabled the "Command Option" in the preferences, it doesn?t help. Thanks, Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: From kkaufman at snet.net Sat Aug 10 07:34:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Sat Aug 10 07:34:01 2002 Subject: Looping through sets in order Message-ID: <38EC9C24-AC5D-11D6-A374-00039348A1E6@snet.net> How about a combination of methods, such as (pseudo-script): --upon successfully completing a quiz: global gLastQuizDone append the number of the last completed quiz to the file data put its name into gLastQuizDone --somewhere else: global gLastQuizDone if gLastQuizDone is empty then startAtBeginning if gLastQuizDone is in set 1(1.1,1.2,1.3,1.4) flag which quizzes of set 1 have already been completed then offer one of the others in set 1 if gLastQuizDone is in set 2(2.1,2.2,2.3,2.4) etc. (you could set this up as as a switch also, I suppose) --------------- Depending on the number of quiz sets, this still could be a large script. I'll bet someone else on this list knows a more efficient way of doing this. -Kurt From sanke at hrz.uni-kassel.de Sat Aug 10 12:10:04 2002 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat Aug 10 12:10:04 2002 Subject: Trim images Message-ID: <3D554915.5804FA61@hrz.uni-kassel.de> On Fri, 09 Aug 2002 11:15:37 +0200 paolo mazza wrote: > > The next version of Revolution (which is currently in alpha) has a "crop" > > command that will allow you to do just that. I don't know if it can be done > > in 1.1.1... > > > When are they supposed to release the next version of Revolution? I mean, in > few weeks, in few months or in some years? > Thanks for your gossip... very useful in any case. > Paolo > Why don't you download the latest version of Metacard (ftp.metacard.com), which indeed has the crop command. Revolution uses the Metacard engine, but has yet to be updated. You can import and export your Revolution stacks and trim your images. Regards, Wilhelm Sanke From sanke at hrz.uni-kassel.de Sat Aug 10 12:17:01 2002 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat Aug 10 12:17:01 2002 Subject: No picture in Windows build Message-ID: <3D554AB3.51F5AFD5@hrz.uni-kassel.de> On Wed, 07 Aug 2002 22:40:30 +0200 Eric Buijs wrote: > Another problem I have in the Windows app is related to the Label Field. I > use the Label Field with a text, that can be scrolled vertically. Again in > the Mac app everything looks great, but in the Windows app once you scroll > up the text the Label Field becomes "cluttered" with text fragments. It > seems that the refresh of the Field is not done correctly. > I also tried the normal Field, but this gives the same problem. > > Can this problem be solved??? > > > Regards, > > Eric. > I had similar problems, but only on one of my computers, and asked Scott Raney (raney at metacard.com) about this. He thinks it may have to do with the graphics card or the graphic-card drivers. Regards, Wilhelm Sanke From simran at teleline.es Sat Aug 10 14:15:01 2002 From: simran at teleline.es (Peter Lundh) Date: Sat Aug 10 14:15:01 2002 Subject: Two basic questions... Message-ID: Hi. My project is coming along nicely. I have done the whole design in Photoshop 7 - each card, or object is a separate PS layer. 1) My first question is: Is there a special tool, or utility to help import the Photoshop layers into Revolution? In general, where can I learn more about integrating Photoshop and Revolution? 2) The last multimedia application I made with MM Director 7. I remember that there was a utility, or command to control and clean out the application memory every once in a while, to avoid it slowing down. Does Revolution have a similar problem with memory getting low? If so, what's the remedy? -Peter -- Peter Lundh Sweden simran at teleline.es From Roger.E.Eller at sealedair.com Sat Aug 10 14:47:01 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sat Aug 10 14:47:01 2002 Subject: Override QUIT Message-ID: Hi, I did a dumb thing. I put "Quit" as the last line of my openStack script. I cannot type Applekey-period fast enough to stop Revolution from exiting so I can edit my script. Is there a msgBox command to override the Quit command? Thanks. ~Roger From bornstein at designeq.com Sat Aug 10 15:11:04 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Sat Aug 10 15:11:04 2002 Subject: Override QUIT Message-ID: <200208102008.g7AK8nC19189@mailout6.nyroc.rr.com> >I did a dumb thing. I put "Quit" as the last line of my openStack script. I >cannot type Applekey-period fast enough to stop Revolution from exiting so >I can edit my script. Is there a msgBox command to override the Quit >command? In the message box, type "edit the script of stack " This will let you edit the script without running it first! Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From MFitz53 at cs.com Sat Aug 10 15:16:01 2002 From: MFitz53 at cs.com (MFitz53 at cs.com) Date: Sat Aug 10 15:16:01 2002 Subject: Can I automate the process of getting New Reference Controls? Message-ID: <194.b4a4215.2a86cdfa@cs.com> I am making a jukebox with rev 1.1.1 just to relearn the little I knew about HC. All seems to be going well with it except for having to enter all of the music files manually. I'm hoping for a few ideas as to how to automate getting new referenced controls for a player. I see no option to include an entire folder for this. As it is, I have to go under file to New Referenced Control to Quicktime Supported File..., bring it in and name each player. That's pretty tough on the eyes after a few gigs of music. Any pointers(assuming there is another way)? By the way, I'm running RR on a PC , win98se. Mike Fitz -------------- next part -------------- An HTML attachment was scrubbed... URL: From katir at hindu.org Sat Aug 10 15:44:01 2002 From: katir at hindu.org (Sivakatirswami) Date: Sat Aug 10 15:44:01 2002 Subject: Shell Commands not working in Rev 1.1.1 According to Docs Message-ID: IN theory the following should work in Rev... As this is straight out of the current documentation on mouseUp put empty into fld "Terminal Output" set shellCommand to "/bin/tcsh" put shell("ls -l *.txt") into fld "Terminal Output" put the result after fld "Terminal Output" end mouseUp The above returns: "ls -l *.txt" in Rev But, In MC 2.4.3 it returns the expected: -rw-r--r-- 1 katir staff 1425 Aug 3 16:06 test.txt 0 Since the doc in rev indicate this should be working....why doesn't it? Hinduism Today Sivakatirswami Production Manager katir at hindu.org www.HinduismToday.com, www.HimalayanAcademy.com, From drvaughan55 at mac.com Sat Aug 10 16:10:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Sat Aug 10 16:10:01 2002 Subject: Looping through sets in order In-Reply-To: <38EC9C24-AC5D-11D6-A374-00039348A1E6@snet.net> Message-ID: <4B394C39-ACA5-11D6-BE66-000393598038@mac.com> Kristy You could keep the data in an array quizSets with one entry for each set with the values 0...N quizzes. So the value of quizSets[set] is zero to the number of quizzes in that set, indicating the last one done. It is now easy to know how many sets you have, whether any quizzes in it have been attempted and which was the last one done for that set. A saved variable or custom property can hold which was the last set attempted. If you have varying counts of quizzes in sets then you can test for the possibility of another one using "if there is..." on a file name. If you allow people to take quizzes randomly in a set then extend the array to two keys [set,quiz] with value done or not done. The principles here are much the same as Kurt's suggestion but the code may be a little more compact and is quite general in what it will handle. You may need to split and combine the array if writing/reading to file data. I tend to keep these sorts of things in a custom property of a saveable stack. regards David On Saturday, August 10, 2002, at 10:32 , Kurt Kaufman wrote: > How about a combination of methods, such as (pseudo-script): > > --upon successfully completing a quiz: > global gLastQuizDone > append the number of the last completed quiz to the file data > put its name into gLastQuizDone > > --somewhere else: > global gLastQuizDone > > if gLastQuizDone is empty then startAtBeginning > > if gLastQuizDone is in set 1(1.1,1.2,1.3,1.4) > flag which quizzes of set 1 have already been completed > then offer one of the others in set 1 > > if gLastQuizDone is in set 2(2.1,2.2,2.3,2.4) > etc. > > (you could set this up as as a switch also, I suppose) > --------------- > Depending on the number of quiz sets, this still could be a large > script. I'll bet someone else on this list knows a more efficient way > of doing this. > > > -Kurt > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From drvaughan55 at mac.com Sat Aug 10 16:17:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Sat Aug 10 16:17:01 2002 Subject: Shell Commands not working in Rev 1.1.1 According to Docs In-Reply-To: Message-ID: <4CD614F3-ACA6-11D6-BE66-000393598038@mac.com> On Sunday, August 11, 2002, at 06:41 , Sivakatirswami wrote: > IN theory the following should work in Rev... As this is straight out > of the > current documentation > > on mouseUp > put empty into fld "Terminal Output" > set shellCommand to "/bin/tcsh" > put shell("ls -l *.txt") into fld "Terminal Output" > put the result after fld "Terminal Output" > end mouseUp > > The above returns: > > "ls -l *.txt" in Rev > > But, > > In MC 2.4.3 it returns the expected: > > -rw-r--r-- 1 katir staff 1425 Aug 3 16:06 test.txt > 0 > > Since the doc in rev indicate this should be working....why doesn't it? Since you are asking this question, I assume you are using a Mac. Rev 1.1.1 docs mark that the shell function does not work on OS 9 and OS X. It works in OS X using the Rev 1.5 release (Kevin, do you mind our leaking these things?) - it was one of the first things I tested. Hang in there. regards David > > > Hinduism Today > Sivakatirswami > Production Manager > katir at hindu.org > www.HinduismToday.com, www.HimalayanAcademy.com, > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From pdel at noos.fr Sat Aug 10 19:30:00 2002 From: pdel at noos.fr (Pierre Delain) Date: Sat Aug 10 19:30:00 2002 Subject: Print page number in a header In-Reply-To: <200208091512.LAA10957@www.runrev.com> Message-ID: Using RevPrintText to print texts with several pages, is it possible to print the page number in a header or footer? Thanks, P. Delain From pixelbird at interisland.net Sun Aug 11 00:58:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Aug 11 00:58:01 2002 Subject: TTS revisited In-Reply-To: <20020810080046.60751.qmail@web11903.mail.yahoo.com> Message-ID: Hello Rev list, I didn't get any Re's last time I asked, so I'll try again. Does the MetaCard TTS XCMD work only with the TTS (I forget the name of it) that comes with Windows 2000/XP? An example of my goals is to be able to listen to emails. Thanks in advance, Ken N. From terry at discovery.nl Sun Aug 11 01:56:01 2002 From: terry at discovery.nl (Terry Vogelaar) Date: Sun Aug 11 01:56:01 2002 Subject: Two basic questions... In-Reply-To: Message-ID: > Hi. My project is coming along nicely. I have done the whole design in > Photoshop 7 - each card, or object is a separate PS layer. > > 1) My first question is: Is there a special tool, or utility to help import > the Photoshop layers into Revolution? In general, where can I learn more > about integrating Photoshop and Revolution? The best way to export from PhotoShop is to save the documents as PNG files. That way you can preserve transparency and all colors without quality loss. Too bad you worked with layers instead of separate files. Maybe you can use the scripting features of PS7 to save each layer to a separate PNG file. Using AppleScript/Visual Basic/JavaScript you probably can write such a script. Support for those languages is distributed with PS7, although it is not installed with the normal installation. How exactly to do that. I don't know. Terry From yvescoppe at skynet.be Sun Aug 11 02:47:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Sun Aug 11 02:47:01 2002 Subject: problem with array Message-ID: Hi, I've such a script : split tdata using numtochar(124) and "\" and I like to extract f. ex. the element 2 in the key 3 How can I perform this ? Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From malte.brill at t-online.de Sun Aug 11 03:02:01 2002 From: malte.brill at t-online.de (malte brill) Date: Sun Aug 11 03:02:01 2002 Subject: Can I automate the process of getting New Reference Controls? Message-ID: Hi Mike. Have you tried setting the players filename? Just Create one player and set the filename to the audiofile you want to play. Hope this helps Malte From k_major at os.surf2000.de Sun Aug 11 06:54:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Sun Aug 11 06:54:01 2002 Subject: Override QUIT In-Reply-To: Message-ID: <10F75008-AD21-11D6-BE2D-000A27B49A96@os.surf2000.de> Hi Roger, > > Hi, > > I did a dumb thing. I put "Quit" as the last line of my openStack > script. I > cannot type Applekey-period fast enough to stop Revolution from exiting > so > I can edit my script. Is there a msgBox command to override the Quit > command? > > Thanks. > ~Roger > >> In the message box, type "edit the script of stack > the >> stack>" >> >> This will let you edit the script without running it first! >> >> Regards, >> >> Howard Bornstein Howards idea is a good one :-) You can also try this: Type this into the messagebox: lock messages;toplevel "name of your stack here" this will prevent the scripts from being executed and will also open that stack. Hope this helps... Regards Klaus Major k_major at os.surf2000.de From rcozens at pon.net Sun Aug 11 09:24:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Aug 11 09:24:01 2002 Subject: Override QUIT In-Reply-To: References: Message-ID: >I did a dumb thing. I put "Quit" as the last line of my openStack script. I >cannot type Applekey-period fast enough to stop Revolution from exiting so >I can edit my script. Hi Roger, In addition to the Message Box commands suggested by Howard & Klaus, you can simply open the stack, let it close, and then select it & it's script from the Application Overview. -- 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 Aug 11 09:24:57 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Aug 11 09:24:57 2002 Subject: Print page number in a header In-Reply-To: References: Message-ID: >Using RevPrintText to print texts with several pages, is it possible to >print the page number in a header or footer? Salut Pierre, From the Rev Dictionary: >If the textToPrint, headerText, or footerText contains any >expressions of the form <%expression%>, the expression is evaluated >and replaced with the value before the text is printed. The expression for page number is "<%pagenumber%>". -- 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 Sun Aug 11 09:41:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Sun Aug 11 09:41:01 2002 Subject: Override QUIT In-Reply-To: Message-ID: <69E82928-AD38-11D6-BE2D-000A27B49A96@os.surf2000.de> Hi Rob, >> I did a dumb thing. I put "Quit" as the last line of my openStack >> script. I >> cannot type Applekey-period fast enough to stop Revolution from >> exiting so >> I can edit my script. > > Hi Roger, > > In addition to the Message Box commands suggested by Howard & Klaus, > you can simply open the stack, let it close, and then select it & it's > script from the Application Overview. > -- > Rob Cozens quit <> close ;-) Regards Klaus Major k_major at os.surf2000.de From kray at sonsothunder.com Sun Aug 11 10:05:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Aug 11 10:05:00 2002 Subject: Can I automate the process of getting New Reference Controls? References: <194.b4a4215.2a86cdfa@cs.com> Message-ID: <007201c24147$b952f3e0$cca2fb40@default> Mike, Are you bringing in one player per music file? You don't need to do that (unless that's how you want it). You can have one Player control and then point the control to the music file by setting its 'filename' property. Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web site: http://www.sonsothunder.com/ ----- Original Message ----- From: MFitz53 at cs.com To: use-revolution at lists.runrev.com Sent: Saturday, August 10, 2002 2:13 PM Subject: Can I automate the process of getting New Reference Controls? I am making a jukebox with rev 1.1.1 just to relearn the little I knew about HC. All seems to be going well with it except for having to enter all of the music files manually. I'm hoping for a few ideas as to how to automate getting new referenced controls for a player. I see no option to include an entire folder for this. As it is, I have to go under file to New Referenced Control to Quicktime Supported File..., bring it in and name each player. That's pretty tough on the eyes after a few gigs of music. Any pointers(assuming there is another way)? By the way, I'm running RR on a PC , win98se. Mike Fitz -------------- next part -------------- An HTML attachment was scrubbed... URL: From kray at sonsothunder.com Sun Aug 11 10:06:55 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Aug 11 10:06:55 2002 Subject: problem with array References: Message-ID: <007401c24147$baed6a00$cca2fb40@default> Yves, Can you be a bit more specific and give an example of what is in 'tData' and what you want to return? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web site: http://www.sonsothunder.com/ ----- Original Message ----- From: Yves Copp? To: Sent: Sunday, August 11, 2002 1:47 AM Subject: problem with array > Hi, > > I've such a script : > > split tdata using numtochar(124) and "\" > > > and I like to extract f. ex. the element 2 in the key 3 > > How can I perform this ? > > 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 jportinari at uol.com.br Sun Aug 11 10:08:00 2002 From: jportinari at uol.com.br (Joao C. Portinari) Date: Sun Aug 11 10:08:00 2002 Subject: Revolution to author and present multimedia content? Message-ID: I am trying to use Revolution to author and present multimedia content (as a more powerful alternative to PowerPoint). Where can I find some examples of stacks and/or code to get me on the right track? Thanks in advance, Joao -- From yvescoppe at skynet.be Sun Aug 11 10:21:00 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Sun Aug 11 10:21:00 2002 Subject: problem with array In-Reply-To: <007401c24147$baed6a00$cca2fb40@default> References: <007401c24147$baed6a00$cca2fb40@default> Message-ID: >Yves, > >Can you be a bit more specific and give an example of what is in 'tData' and >what you want to return? > >Ken Ray >Sons of Thunder Software >Email: kray at sonsothunder.com >Web site: http://www.sonsothunder.com/ > tData is for example : 12/05/2002 \Motifs xxxx \Solution yyy \Proposition zzz|31/05/2002 \Motifs xxxxxxxxx \Solution yyyyyyyy| so I write split tdata using "|" and "\" and I'd like to know f. ex." the solution of 31/05/2002" = record 2 (using "|") = item 2 (using "\") Cheers. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From JamesHBeckmann at aol.com Sun Aug 11 11:49:01 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Sun Aug 11 11:49:01 2002 Subject: Hanging Up on internal errors Message-ID: <152.12448176.2a87eee8@aol.com> Accessing the properties of a GROUP brings up its properties window (duh!) When I attempt to CLOSE the window I get all sorts of errors in the REV internal commands - Tabposition, RECclosewindow, and I hang in the properties window. The ONLY exit to this has been QUIT. What should I do? Aside: looking at an object's properties does not seem to inform me of which group it is a member - or is it there and I don't see it? Jim From mrtea at mac.com Sun Aug 11 11:52:01 2002 From: mrtea at mac.com (Mr Tea) Date: Sun Aug 11 11:52:01 2002 Subject: FROM REV to APPLESCRIPT In-Reply-To: Message-ID: This from Terry Vogelaar - dated 10-8-02 04.58 am: > So any AppleScript-variable can be sent to RunRev and vice versa > this way. As an AppleScript enthusiast, I'm keen to find out more about integrating RunRev Stacks with AppleScripts. I'm still fumbling for the doorbell with Revolution, though, and as a consequence my attempts to understand the script that Terry posted have led to nausea, searing pains in my frontal lobe and an urgent need to lie down. If there's any further information or examples out there (or in the documentation) about integrating AS with RR, could someone please point me to it? My main interest at this stage would be in using RunRev as a front end that can launch/run applescripts and pass information entered by the user to them. Thanks Nick -- "Always remember to warm the pot." From trevor at mangomultimedia.com Sun Aug 11 11:54:00 2002 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Sun Aug 11 11:54:00 2002 Subject: getting count of array with non-integer index In-Reply-To: <20020810080046.60751.qmail@web11903.mail.yahoo.com> Message-ID: >To answer your second question, you have a few >options, depending on the circumstances. > >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 Jan, Thanks, the first example gave me just what I wanted. Trevor From wmb at internettrainer.com Sun Aug 11 12:03:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sun Aug 11 12:03:01 2002 Subject: Profile Manager In-Reply-To: <200207210554.BAA29468@www.runrev.com> Message-ID: On Sunday, July 21, 2002, at 07:54 AM, use-revolution- request at lists.runrev.com wrote: > At 1:20 PM -0700 7/15/2002, Wolfgang M. Bereuter wrote: >> Is there any way to set up a profile (change the fontsize for >> windows from >> 10 to 12) for each object with a script for all cards in the stack? > > You can use the undocumented commands revSetCardProfile (which sets the > profile of all objects on a card), revSetStackProfile (all objects in a > stack), or revSetStackFileProfile (all objects in the stacks of a stack > file). The syntax is: > > revSetCardProfile profileName, stackName -- current card of that stack > revSetStackProfile profileName, stackName > revSetStackFileProfile profileName, stackName -- all stacks in > same file G4 700MB Ram OSX 10.5 and OS 9.1 rev 1.1.1 and 1.5A for OSX abd OS9 Hi Jeanne, Thanks for that tip. But now all has changed to a bigger thing, because setting a new profile to every field by hand would be a fast and nice job in comparison with the problem I have with the text handling of rev... As I said before, I have to format single words in hundreds of textfields "by hand", because of revs lack of importing styled text. And it seems that I have to do this time-eating kind of chinese torture again, because I thought: If I do this, then I can change the size and style of the textfields with the Profile Manager to build a Win distribution with 1 or 2 points bigger text... But this was a fatal overestimation of revs texthandling capability. Why? Changing the profile of the field does change the body text of the field, but not the styled text (headers, single words), wich must be formated in browse mode. (Style text in rev is still complicated, slow and difficult) recipe: open a textfile paste text format (style) single words and phrases set the body of text to any font (let?s say to Verdana 10) change to browse mode set the headline of the text to Verdana 10 bold make new profile set the new profile to Verdana 12 change to the new profile look whats happens: Body text changes to Verdana 12, but all browse mode formated elements remains Verdana 10 - completly untouched from the new profile. If a styled word is in the body text the whole line (all words) remains untouched from the new profile. This means: every bold, italic, colored, word does not change his size, style, or whatever format to the new profile... And! you *can?t* do it by hand, because it does not work. If this is a bug and not a hidden feature I have lost about 2-3 weeks and have to waste much more time to style an extra version of my programm only to set the bigger textfont for win. After resovling the problem of crashes with the 1.1.1 engine, wich not happened with my same code in 1.1, I still can not launch my programm for this new texthandling profile "surprise", wich seems *not* "a small thing" you can work around with a bit of scripting. Or do you know this kind of scripting..? Please give me a honest answer: 1.) Will rev ever be an autoring tool..? 2.) Will the rev team add features and features for the scripters without fixing the elementary bugs and problems for the multimedia authors..? If all this is my fault, because I did not understood how the Profile Manger and the complicated unusual texthandling works, - than: SORRY for this inconveniences! But pls understand, that I m very disappointed now after waiting nearly 2 years for better - no - for basic authoring/texthandling features! Finally a personal question: I?v still recomended rev as a nice (authoring) tool to a lot of people - until now. Do you think I m an complete idiot..? 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 MFitz53 at cs.com Sun Aug 11 12:09:01 2002 From: MFitz53 at cs.com (MFitz53 at cs.com) Date: Sun Aug 11 12:09:01 2002 Subject: use-revolution digest, Vol 1 #595 - 18 msgs Message-ID: <14a.12432bae.2a87f3c9@cs.com> In a message dated 8/11/02 10:42:36 AM Eastern Daylight Time, use-revolution-request at lists.runrev.com writes: > Hi Mike. > Have you tried setting the players filename? > Just Create one player and set the filename to the audiofile you want to > play. > Hope this helps > Malte > > It did occur to me, but the real task is navigating to music folder, telling it to look for all files rather than movie files, selecting a single wav file, then going through the rest of it the process of naming the players. If I could find a way around this, I could probably use just one player instead of a player for each title by renaming and setting the file path. Heck, I may try some variation of that anyway. But I've a feeling I'm missing something really obvious(as usual). Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wow at together.net Sun Aug 11 12:42:01 2002 From: wow at together.net (wow at together.net) Date: Sun Aug 11 12:42:01 2002 Subject: Rev video in and save Message-ID: <187160-22002801117402556@M2W035.mail2web.com> I'm beginning work on a personal training program to be built in Rev. This program will give the user a host of learning material, ranging from specific knowledge available from within the application (such as pre-set video clips and textual information) to video captured real-time while the user is working with the application. Let's say the user works with the application for an hour, during which time the app has also been capturing video which shows the user following some of the training processes he is learning from the application. The user wants to be able to record all or a portion of this one hour session to CD or DVD. In the simplest case, the app will simply want to save all the captured video without modification, so the user can review it at a later time. However, I also want to give the user the ability to save only sections of their video, as well as text-based training information available through the program, along with user notes, as well as perhaps a few short video clips (also available through the app). All of this needs to be organized in some way and saved to CD/DVD for later review by the user. So let's say there is a specific card within the app that serves as the "playback" card. On this card the user can pull from and organize various components, including portions of their video, some text info, comments, etc. Questions: 1. What options are there to save this user-created Rev app to CD/DVD? Can Rev save it directly or would I need to first save the user-created app and then automatically run some type of CD writing program (like Toast) that might work in the background? 2. I'm concerned with the user having to wait too long after their session to save their customized app to CD/DVD. In other words, let's say they've just had a one hour session with this program. During that time this person has been reviewing some of the pre-set info in the program as well as grabbing video showing his or her self doing the training. They've created their personal "playback" card which contains, say, 30 minutes of video and some text info and notes. If they started the save process then (i.e. at the end of their one hour session), how long might it take to write that info to CD/DVD? For arguments sake, let's say I've got one of the faster write drives available on the market, as well as a very fast CPU. Let's also say the video is 640x480 and it's compressed. Any one have any sense of the time involved here? If it takes 10 minutes, I think I can live with that. If it's 30 minutes, that might be a problem. Can anyone imagine a way to be writing portions of the video to CD or DVD WHILE the user is still using the Rev app? Do I have to wait till they are finished or might it be possible to, for example, save video to CD/DVD while it is being captured? 3. What are the advantages/disadvantages of working with CD versus DVD for this application? Gosh...I know that's a long message, but I'd appreciate any feedback from some of you geniuses out there (and I'm happy to say that I've discovered there are quite a few very smart people on this listserve!). Thanks. Richard Miller -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From wow at together.net Sun Aug 11 12:45:01 2002 From: wow at together.net (wow at together.net) Date: Sun Aug 11 12:45:01 2002 Subject: Rev video in and save Message-ID: <48270-22002801117435681@M2W069.mail2web.com> I'm beginning work on a personal training program to be built in Rev. This program will give the user a host of learning material, ranging from specific knowledge available from within the application (such as pre-set video clips and textual information) to video captured real-time while the user is working with the application. Let's say the user works with the application for an hour, during which time the app has also been capturing video which shows the user following some of the training processes he is learning from the application. The user wants to be able to record all or a portion of this one hour session to CD or DVD. In the simplest case, the app will simply want to save all the captured video without modification, so the user can review it at a later time. However, I also want to give the user the ability to save only sections of their video, as well as text-based training information available through the program, along with user notes, as well as perhaps a few short video clips (also available through the app). All of this needs to be organized in some way and saved to CD/DVD for later review by the user. So let's say there is a specific card within the app that serves as the "playback" card. On this card the user can pull from and organize various components, including portions of their video, some text info, comments, etc. Questions: 1. What options are there to save this user-created Rev app to CD/DVD? Can Rev save it directly or would I need to first save the user-created app and then automatically run some type of CD writing program (like Toast) that might work in the background? 2. I'm concerned with the user having to wait too long after their session to save their customized app to CD/DVD. In other words, let's say they've just had a one hour session with this program. During that time this person has been reviewing some of the pre-set info in the program as well as grabbing video showing his or her self doing the training. They've created their personal "playback" card which contains, say, 30 minutes of video and some text info and notes. If they started the save process then (i.e. at the end of their one hour session), how long might it take to write that info to CD/DVD? For arguments sake, let's say I've got one of the faster write drives available on the market, as well as a very fast CPU. Let's also say the video is 640x480 and it's compressed. Any one have any sense of the time involved here? If it takes 10 minutes, I think I can live with that. If it's 30 minutes, that might be a problem. Can anyone imagine a way to be writing portions of the video to CD or DVD WHILE the user is still using the Rev app? Do I have to wait till they are finished or might it be possible to, for example, save video to CD/DVD while it is being captured? 3. What are the advantages/disadvantages of working with CD versus DVD for this application? Gosh...I know that's a long message, but I'd appreciate any feedback from some of you geniuses out there (and I'm happy to say that I've discovered there are quite a few very smart people on this listserve!). Thanks. Richard Miller beginning work on a personal training program to be built in Rev. This program will give the user a host of learning material, ranging from specific knowledge available from within the application (such as pre-set video clips and textual information) to video captured real-time while the user is working with the application. Let's say the user works with the application for an hour, during which time the app has also been capturing video which shows the user following some of the training processes he is learning from the application. The user wants to be able to record all or a portion of this one hour session to CD or DVD. In the simplest case, the app will simply want to save all the captured video without modification, so the user can review it at a later time. However, I also want to give the user the ability to save only sections of their video, as well as text-based training information available through the program, along with user notes, as well as perhaps a few short video clips (also available through the app). All of this needs to be organized in some way and saved to CD/DVD for later review by the user. So let's say there is a specific card within the app that serves as the "playback" card. On this card the user can pull from and organize various components, including portions of their video, some text info, comments, etc. Questions: 1. What options are there to save this user-created Rev app to CD/DVD? Can Rev save it directly or would I need to first save the user-created app and then automatically run some type of CD writing program (like Toast) that might work in the background? 2. I'm concerned with the user having to wait too long after their session to save their customized app to CD/DVD. In other words, let's say they've just had a one hour session with this program. During that time this person has been reviewing some of the pre-set info in the program as well as grabbing video showing his or her self doing the training. They've created their personal "playback" card which contains, say, 30 minutes of video and some text info and notes. If they started the save process then (i.e. at the end of their one hour session), how long might it take to write that info to CD/DVD? For arguments sake, let's say I've got one of the faster write drives available on the market, as well as a very fast CPU. Let's also say the video is 640x480 and it's compressed. Any one have any sense of the time involved here? If it takes 10 minutes, I think I can live with that. If it's 30 minutes, that might be a problem. Can anyone imagine a way to be writing portions of the video to CD or DVD WHILE the user is still using the Rev app? Do I have to wait till they are finished or might it be possible to, for example, save video to CD/DVD while it is being captured? 3. What are the advantages/disadvantages of working with CD versus DVD for this application? Gosh...I know that's a long message, but I'd appreciate any feedback from some of you geniuses out there (and I'm happy to say that I've discovered there are quite a few very smart people on this listserve!). Thanks. Richard Miller -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From MFitz53 at cs.com Sun Aug 11 13:15:00 2002 From: MFitz53 at cs.com (MFitz53 at cs.com) Date: Sun Aug 11 13:15:00 2002 Subject: Wait for???? Message-ID: Concerning my litle jukebox... I have a button that will save selected song titles from the general index of all of the music in a folder. In doing so, it creates a field and the user names it. It also puts the name of the field into another field as the name of the playlist. You can have a list of playlists each representing a field with the song titles listed beginning from line 2. When the I click on the name of the playlist, I am trying to play the titles in order of their line number in the field holding them. The problem, (and despite the docs) I wind up with two files playing simultaneously. I have tried find the correct command to let one line (song title) to complete before moving to the next line and playing the next title. Below is the script I am using. on mouseUp global muse -- used so as not to have to specify each file name put 2 into theline -- Titles begin at line two of each saved playlist field put the value of the clickLine into theload --puts the name of the saved playlist field into local variable theload repeat the number of lines of field theload times -- field theload is the field the song/player titles are stored in. put line theline of field theload into muse start player muse -- wait for ??????--This is where the trouble begins. Don't let anyone tell you you can't play two audio files at once. At least, I can! add 1 to theline end repeat end mouseUp -------------- next part -------------- An HTML attachment was scrubbed... URL: From MFitz53 at cs.com Sun Aug 11 13:42:01 2002 From: MFitz53 at cs.com (MFitz53 at cs.com) Date: Sun Aug 11 13:42:01 2002 Subject: use-revolution digest, Vol 1 #596 - 7 msgs Message-ID: <4a.fc964bc.2a880964@cs.com> In a message dated 8/11/02 1:01:04 PM Eastern Daylight Time, use-revolution-request at lists.runrev.com writes: > From: "Ken Ray" > To: > Subject: Re: Can I automate the process of getting New Reference Controls? > Date: Sun, 11 Aug 2002 08:50:27 -0600 > Reply-To: use-revolution at lists.runrev.com > > This is a multi-part message in MIME format. > > ------=_NextPart_000_004D_01C24114.2408C0E0 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Mike, > > Are you bringing in one player per music file? You don't need to do that = > (unless that's how you want it). You can have one Player control and = > then point the control to the music file by setting its 'filename' = > property. > > Hope this helps, > > Ken Ray > Sons of Thunder Software > Would I have to supply a filepath for each title? Up to this point, I have been working withing my own little stack world, and have not ventured out much into looking for files in the rest of the hard drive. Below is the script of the field that contains all of the music titles in the music folder. This works fine to simply play songs individually(with a player for each). Of course, if nothing is screwing up I fix it with this playlist thing. I'm wondering how I could incorporate changing to the option you mention from this.... then again, I have been looking at this screen for too long. Maybe an Old Nick is in order. on mouseUp global muse --keeps me from specifying each title if muse is not empty then --gets an error without this if nothing is in muse stop player muse --stops current player set the currentTime of player muse to 0 --resets the player to the beginning end if get the value of the clickLine --song title put it into muse --puts the player name(song title) into muse put it into field"currentplay" --just a field with current title playing start player muse --plays new song end mouseUp Thanks. I am going to play with your idea a while. mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From hammo at softcom.net Sun Aug 11 17:56:01 2002 From: hammo at softcom.net (Joe Hammons) Date: Sun Aug 11 17:56:01 2002 Subject: screen resolution Message-ID: <3D56EB01.BB750223@softcom.net> How can I change the screen resolution of the Macintosh computer monitor from 600 X 480 to 800 X 600 from a script with transcript? Joe Hammons hammo at softcom.net From ambassador at fourthworld.com Sun Aug 11 18:36:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Aug 11 18:36:01 2002 Subject: Profile Manager In-Reply-To: <200208112157.RAA19582@www.runrev.com> Message-ID: Wolfgang M. Bereuter writes: > As I said before, I have to format single words in hundreds of > textfields "by hand", because of revs lack of importing styled > text. Rev imports HTML, which can contain styles: answer file "Select a file to import:" if it is empty then exit to top set the htmlText of fld 1 to url ("file:"&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 kkaufman at snet.net Sun Aug 11 19:23:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun Aug 11 19:23:01 2002 Subject: Rev video in and save Message-ID: <647531CC-AD89-11D6-B4F4-00039348A1E6@snet.net> "...However, I also want to give the user the ability to save only sections of their video..." I don't know about video capture, but if you're asking whether Rev can be used to edit (copy/cut/clear /paste) video, the answer is "not at this time". This has been requested, and hopefully will be possible in a not-too-distant release. KK From MFitz53 at cs.com Sun Aug 11 19:47:01 2002 From: MFitz53 at cs.com (MFitz53 at cs.com) Date: Sun Aug 11 19:47:01 2002 Subject: use-revolution digest, Vol 1 #597 - 7 msgs Message-ID: <10f.155ba991.2a885ef1@cs.com> In a message dated 8/11/02 6:58:01 PM Eastern Daylight Time, use-revolution-request at lists.runrev.com writes: > > Hi Mike. > > Have you tried setting the players filename? > > Just Create one player and set the filename to the audiofile you want to > > play. > > Hope this helps > > Malte > > > > > My second reply to your tip. I DID find a way to list all of the music files in that particular folder. That really jumped my expectations to a new high. I made a single player, and have the field with the music filenames in it set to script the filename of the player. The hitch is setting the player onto the right filepath for the particular file it should play. I cannot seem to set it with a script. Think you( or anyone else) can help me overcome that hurdle? Thanks mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From sarahr at genesearch.com.au Sun Aug 11 19:55:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 11 19:55:01 2002 Subject: FROM REV to APPLESCRIPT In-Reply-To: Message-ID: Here's how I do it: Write your AppleScript & test it in the AppleScript editor with fake data in your variables. Copy the script and put it into a custom property somewhere in your stack. Edit the script to put placeholders where you variables will go e.g. put **var1** into asVar1 where **var1** represents your Rev data and asVar1 is the variable name used by the AppleScript Then in your Rev script do the following: put the cScriptProperty of me into theScript replace "**var1**" with field "my Variable" in theScript -- repeat this for all your variables do theScript as AppleScript The HyperCard method suggested will not work as it relies on the fact that HyperCard itself is AppleScriptable, while Revolution is not. Sarah On Friday, August 9, 2002, at 06:59 pm, paolo mazza wrote: > How can I set the value of a variable in an Applescript piece of code > to a > field of a stack in REV? > Am I supposed to use the clipboard? > Thanks, Paolo > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kkaufman at snet.net Sun Aug 11 20:11:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Sun Aug 11 20:11:01 2002 Subject: set player filename (was:use-revolution digest, Vol 1 #597 - 7 msgs) Message-ID: <21C92F96-AD90-11D6-92FB-00039348A1E6@snet.net> Here's one way: script of select music folder button: on mouseup answer folder "Please select a folder containing audio clips." set the defaultfolder to it put the files into fld "playList" end mouseup script of list playList (playLists' "listBehavior" and "locktext" must be set to true): on mouseup put the selectedText of me into audioToPlay set the currentTime of player "audioPlayer" to 0 set the filename of player "audioPlayer" to audioToPlay start player "audioPlayer" end mouseup -might want to set player "audioPlayer" 's showController to true. hope this helps, KK From sarahr at genesearch.com.au Sun Aug 11 22:00:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 11 22:00:01 2002 Subject: set player filename (was:use-revolution digest, Vol 1 #597 - 7 msgs) In-Reply-To: Message-ID: <84F95DB2-AD92-11D6-9698-0003937A97B8@genesearch.com.au> In case some other script has changed the default folder, or the application has been closed & opened, I would store the path to your audio files folder in a custom property and not rely on the default folder. To modify Kurt's scripts slightly: on mouseup answer folder "Please select a folder containing audio clips." set the cAudioFolderPath of this stack to it set the defaultfolder to it put the files into fld "playList" end mouseup on mouseup put the cAudioFolderPath of this stack into folderPath put the selectedText of me into audioToPlay set the currentTime of player "audioPlayer" to 0 set the filename of player "audioPlayer" to folderPath & "/" & audioToPlay start player "audioPlayer" end mouseup This way you give the complete file path to your player every time, regardless of the default folder setting. Sarah On Monday, August 12, 2002, at 11:11 am, Kurt Kaufman wrote: > Here's one way: > > script of select music folder button: > > on mouseup > answer folder "Please select a folder containing audio clips." > set the defaultfolder to it > put the files into fld "playList" > end mouseup > > > script of list playList (playLists' "listBehavior" and "locktext" must > be set to true): > > on mouseup > put the selectedText of me into audioToPlay > set the currentTime of player "audioPlayer" to 0 > set the filename of player "audioPlayer" to audioToPlay > start player "audioPlayer" > end mouseup > > -might want to set player "audioPlayer" 's showController to true. > > hope this helps, > KK > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jswitte at bloomington.in.us Sun Aug 11 22:03:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Sun Aug 11 22:03:01 2002 Subject: Extensive frame-like data structures in Rev, 'Applescript-like' communication with externals Message-ID: Hello, (This may be repeated tomorrow because I didn't realize I had unsubscribed from use-revolution when I sent it) I'm planning to make a functional-clone of the Newton Toolkit in Revolution (mainly because NTK only works under Classic, needs a serial shim workaround, doesn't support Ethernet in Windows [I think], and is a bit of a pain-in-the-neck to use). One of the major components would be a rewrite of the frame-system (like Smalltalk). Basically I need a way to accommodate a data structure like this (off the top of my head, in psudocode): type TFrame = record { VNumSlots VFrameSlotArray = } type TSlot = record { VSlotRefCount = VSlotName = string VSlotType = enum( int, boolean, long, char, string, TFrameRef) VSlotValue = } And then I need functions that will add slots to frames, remove, map functions over them (LISP-like), copy references to other places (incrementing the reference count), clone whole frames recursively, etc. Another part would be a Newtonscript->bytecode parser, and a bytecode interpreter (mainly for syntax checking initially) The package output and project file storage portions pretty much requre a frame system to be built, as the NTK file format as well as the package format are large, flattened frames. I was initially thinking of coding the system in C or C++, but then the GUI (layout) code is harder and not cross-platform, so Revolution came to mind. However, I don't know if Revolution would be suited to doing "heavy" data structures such as this. If it were as simple as taking the stuff from the GUI layout, sticking it in a text file, and then compiling it to a package, I could use an Hypercard-like external. However, the layout manager must be able to access individual pieces of the frame data, as well as perhaps tweak the code (for syntax verification and correction), or later on execute bytecode single-step (for a partial debugger). Is there a good way to handle this kind of "traditional programming language"/Revolution interaction that I don't know about (my knowledge of externals stops at HC 2.0). What I think would be ideal is if I could have revolution spawn a persistent process from an external, which I could communicate with in a Applescript-style tell block to be able to access the externals data structures (yet still have the external code be relatively platform independent in underlying memory management) Is this possible? Thanks, Jim Witte jswitte at bloomington.in.us After Midnight Lizard Products From BradAllen at mac.com Sun Aug 11 22:05:02 2002 From: BradAllen at mac.com (Brad Allen) Date: Sun Aug 11 22:05:02 2002 Subject: FROM REV to APPLESCRIPT In-Reply-To: References: Message-ID: >do theScript as AppleScript I'd like to further add to what Sarah said, that it's easy to go the other way and have Rev obtain a value from an Applescript. At the points where your Applescript might end, use the return command to return a value to Rev, as in: try doSomething set foo to whatever on error myError return myError end try return whatever After Rev executes this Applescript, it will populate the Result with the returned value from Applescript, as in: do theScript as Applescript put the result into theScriptResult From kray at sonsothunder.com Mon Aug 12 00:00:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 12 00:00:00 2002 Subject: problem with array References: <007401c24147$baed6a00$cca2fb40@default> Message-ID: <005b01c241bc$59551340$56a1fb40@default> Re: problem with arrayYves, Suppose you don't use "split", but set the lineDelimeter and itemDelimiter accordingly. So you could say: set the lineDelimiter to "|" set the itemDelimiter to "\" put item 2 of line 3 of tData into tSolution ... or something like that. Will this work for you? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web site: http://www.sonsothunder.com/ ----- Original Message ----- From: Yves Copp? To: use-revolution at lists.runrev.com Sent: Sunday, August 11, 2002 9:21 AM Subject: Re: problem with array Yves, Can you be a bit more specific and give an example of what is in 'tData' and what you want to return? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web site: http://www.sonsothunder.com/ tData is for example : 12/05/2002 \Motifs xxxx \Solution yyy \Proposition zzz|31/05/2002 \Motifs xxxxxxxxx \Solution yyyyyyyy| so I write split tdata using "|" and "\" and I'd like to know f. ex." the solution of 31/05/2002" = record 2 (using "|") = item 2 (using "\") Cheers. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From kray at sonsothunder.com Mon Aug 12 00:00:13 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 12 00:00:13 2002 Subject: FROM REV to APPLESCRIPT References: Message-ID: <005c01c241bc$5a36e7c0$56a1fb40@default> > If there's any further information or examples out there (or in the > documentation) about integrating AS with RR, could someone please point me > to it? Nick, You could take a look at the Tips page on my site... there are a couple of AppleScript examples there: http://www.sonsothunder.com/devres/revolution/revolution.htm Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web site: http://www.sonsothunder.com/ > > My main interest at this stage would be in using RunRev as a front end that > can launch/run applescripts and pass information entered by the user to > them. > > Thanks > > > Nick > -- > "Always remember to warm the pot." > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From michaell at unimelb.edu.au Mon Aug 12 00:35:01 2002 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Mon Aug 12 00:35:01 2002 Subject: Revolution to author and present multimedia content? Message-ID: I'm thrilled to hear that someone would like to replace PowerPoint with a Revolution-based application! I have been lecturing using PowerPoint in combination with Revolution and Hypercard for many years, with Revolution and Hypercard-based animations and simulations to spice up the material and make some concepts more accessible. Several of my computer-aided learning modules (CALs) that are in use in courses here have been made with Revolution and it is helpful to the students to see snippets of those modules used in a lecture prior to the students exploring the CALs themselves. After some frustrations resulting from upgrading PowerPoint to the most current version, I have very recently decided that it would be worthwhile making a Revolution application to replace PowerPoint for my own use (my preliminary stack is called 'Get to the point!). If Joao, and maybe others, is thinking along the same lines then maybe we could make it into a collaborative project. I have so made a useable (but not bug-free) automated 'dot-point' field template. and have fiddled with making cards grow to fill the screen with text being scaled appropriately. No real difficulties in those. I have mentioned my aspirations to some colleagues at my university and their response is generally unencouraging. They feel that PowerPoint is a huge application that has been developed my large numbers of programmers for many years: true enough, but in that context it is interesting to contemplate the quality of their product ;-> I believe that a project to make a PowerPoint replacement could be surprisingly manageable. First, PowerPoint is mostly bloat and flashy, but useless features. Many users regularly choose to use outside applications for things that PowerPoint could do (e.g. outlining and drawing) so there is no need to replicate those 'features'. Secondly, many of the features that would be needed are already built into Revolution. For example, the geometry manager is useful switching from edit mode to full-screen mode and the backdrop property can instantly deal with any mis-match between stack and screen proportions. Groups are a natural way to deal with the variety of slide templates. Slide transitions are built in. Image importing needs only a convenient way to get images from the clipboard. Animations are readily constructed using the animations manager. Basically, the similarity of the card and slide metaphors is such that using Revolution to make slideshows is a natural. Importantly, in order to be useful to those like me who already code in Revolution, the project needs only to supply some templates and standard slide components and behaviours; the rest can be scripted directly in Revolution. Thus such a project can be useful even at a minimal stage of development. Extra capabilities can always be added by anyone who has Revolution because the project would be naturally modular. In my imagination we will end up with a standalone application that makes and displays slideshows just like PowerPoint, and a version that runs within Revolution that will make open-ended multimedia presentations convenient for Revolutions scriptors. Anyone keen to help? -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From yvescoppe at skynet.be Mon Aug 12 00:39:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Mon Aug 12 00:39:01 2002 Subject: problem with array In-Reply-To: <005b01c241bc$59551340$56a1fb40@default> References: <007401c24147$baed6a00$cca2fb40@defaul t> <005b01c241bc$59551340$56a1fb40@default> Message-ID: >Yves, > >Suppose you don't use "split", but set the lineDelimeter and >itemDelimiter accordingly. So you could say: > > set the lineDelimiter to "|" > set the itemDelimiter to "\" > put item 2 of line 3 of tData into tSolution > >... or something like that. Will this work for you? > >Ken Ray >Sons of Thunder Software >Email: kray at sonsothunder.com >Web site: http://www.sonsothunder.com/ > > Yes but I thought that for big text files, the split command works faster. That's the reason of my question. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsc at swcp.com Mon Aug 12 00:54:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 12 00:54:01 2002 Subject: Extensive frame-like data structures in Rev, 'Applescript-like' communication with externals In-Reply-To: Message-ID: <88345B80-ADB7-11D6-A3F0-0050E4C0B205@swcp.com> On Sunday, August 11, 2002, at 09:01 PM, Jim Witte wrote: > > I was initially thinking of coding the system in C or C++, but > then the GUI (layout) code is harder and not cross-platform, so > Revolution came to mind. However, I don't know if Revolution > would be suited to doing "heavy" data structures such as this. Revolution strings can be very long. Commands and expressions allow them to be manipulated as structured text (words, items, lines) or byte sequences. Revolution has arrays. Because of that, I'd be tempted to do this all in Revolution. (How does that song go? Fools rush in where angels fear to tread...) > What I think would be ideal is if I could have revolution spawn a > persistent process from an external, which I could communicate > with in a Applescript-style tell block to be able to access the > externals data structures (yet still have the external code be > relatively platform independent in underlying memory management) > Is this possible? Perhaps you can write an associated application in C and compile it for the platforms you need. Your application based on Revolution can run that. Perhaps the communication can be UDP. Dar Scott From ambassador at fourthworld.com Mon Aug 12 01:23:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 12 01:23:01 2002 Subject: FROM REV to APPLESCRIPT In-Reply-To: <200208120436.AAA25844@www.runrev.com> Message-ID: Sarah writes: > The HyperCard method suggested will not work as it relies on the fact > that HyperCard itself is AppleScriptable, while Revolution is not. Not exactly the same, but remember that Rec accepts the "do script" and "evaluate" Apple events, so you can use AppleScript to trigger any handler or retrieve a value from any 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 g.castre at free.fr Mon Aug 12 02:37:00 2002 From: g.castre at free.fr (Guillaume CASTRE) Date: Mon Aug 12 02:37:00 2002 Subject: [HS] Second french tutorial In-Reply-To: Message-ID: <001501c241d2$b00e9b00$6e01a8c0@Guillaume> Hello, The second part of our french tutorial is on line. Available at . Thank's. Guillaume CASTRE --- Message certifi? sans virus. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.380 / Virus Database: 213 - Release Date: 24/07/2002 From terry at discovery.nl Mon Aug 12 02:59:01 2002 From: terry at discovery.nl (Terry Vogelaar) Date: Mon Aug 12 02:59:01 2002 Subject: FROM REV to APPLESCRIPT In-Reply-To: Message-ID: Mr Tea alias Nick wrote: > As an AppleScript enthusiast, I'm keen to find out more about integrating > RunRev Stacks with AppleScripts. I'm still fumbling for the doorbell with > Revolution, though, and as a consequence my attempts to understand the > script that Terry posted have led to nausea, searing pains in my frontal > lobe and an urgent need to lie down. > > If there's any further information or examples out there (or in the > documentation) about integrating AS with RR, could someone please point me > to it? > > My main interest at this stage would be in using RunRev as a front end that > can launch/run applescripts and pass information entered by the user to > them. Then Ken, a son of thunder, wrote: > You could take a look at the Tips page on my site... there are a couple of > AppleScript examples there: > > http://www.sonsothunder.com/devres/revolution/revolution.htm I am sorry, Nick Tea, for the instand headache I caused without knowing. And I have to warn you that this very same sample and therefore that same brain-torture will strike you when visiting Ken Thunder's great website. The version on Ken's site (which I posted, so it might very well be my fault), contained a typo and because copied it from that site, the version posted on this list contained the same error (Ken, could you modify the site so this error is corrected? The right version is at the bottom of this e-mail). Also, I will explain my script a bit. (The people who follow this list for a longer time will puke of it, because I post it again. Sorry for that). A very little known AppleScript feature is that you can call AS-functions from another file. Suppose there is a file "MacHD:otherFile" which contain a function named "executeThat". Then you can write: set theScript to load script (alias "MacHD:otherFile") tell theScript to executeThat("param",123) The only thing "AppleScriptFunction" does is produce these two lines correctly and execute them as AppleScript. The thing with the paramcount can be confusing as well. In Transcript, all parameters not named after the name of the function itself (in this case 2), are stored in param(3), param(4) etc. So the script puts them behind the first part of the variable ASfunc. The strings between quotes, the numbers without quotes. Then there is a part I don't understand myself; there is no explicit value returned by this function. And yet it works and it returns the same thing the function in the "otherFile" returns. Why? I don't know, but when I wanted to implement that, it already seemed to be working. So here is the bug-free, headache-proof working version of the script: You call it by using: get AppleScriptFunction("executeThat", "MacHD:otherFile", "param", 123) and in the stack-script you put: function AppleScriptFunction aFun, aFile put "set theScript to load script (alias ""e&aFile"e&")"&return& \ "tell theScript to "&aFun&"(" into ASfunc if paramcount() > 2 then repeat with e = 3 to paramcount() put param(e) into f if param(e) is a number then put f & "," after ASfunc else put quote & f & quote & "," after ASfunc end if end repeat put ")" into last char of ASfunc else put ")" after ASfunc end if do ASfunc as applescript end AppleScriptFunction Terry From wmb at internettrainer.com Mon Aug 12 05:10:00 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Aug 12 05:10:00 2002 Subject: use-revolution digest, Vol 1 #598 - 11 msgs In-Reply-To: <200208120436.AAA25844@www.runrev.com> Message-ID: <530B7837-ADDB-11D6-8B70-003065430226@internettrainer.com> On Monday, August 12, 2002, at 06:36 AM, use-revolution- request at lists.runrev.com wrote: > Rev imports HTML, which can contain styles: > > answer file "Select a file to import:" > if it is empty then exit to top > set the htmlText of fld 1 to url ("file:"&it) > Thanks Richard, I don?t know what the Profile Manager does with html, I have not tried it, because importing html would be also a costly solutions for my problem, because I must export and/or convert every single topic from an Outlinerprogramm to a html file. So i have to organise and update separatly to import them. (in small project will be hundreds of files in bigger maybe thousands! And what I have seen playing with revs html import has caused me to forget this way immediately: I have textfields, with a fixed size. And the text (of the file) must fit in these field in every OS, - without scrolling. Or must be readable also for older Users. So it must be possible to define "crossplatform-savy" exactly the size of the fonts, what is, as I know, in html only possible with CSS. Refering to a thread about CSS some time ago, rev?s html is a "kind of non standard" and far away from Standard CSS. The problem is that rev lacks not only importing rtf files, also lacks copy/paste formated text and last but not least still lacks drag and drop (rev based), what could be the best solution for the moment, if the text does not loose the style during dragging or copying. I m playing now with some Macro programms. Maybe i can find a solution there with automation or anything else... Any ideas are wellcome! Thanks 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 rodmc at runrev.com Mon Aug 12 07:43:01 2002 From: rodmc at runrev.com (Rod McCall) Date: Mon Aug 12 07:43:01 2002 Subject: Revolution Manuals Message-ID: <1029156066.3d57ace2ad3f6@mail.spamcop.net> How are we doing with the new manuals sales? I notice quite a few in Miva but how many were printed altogether? Also I notice TTTT is falling slowly so I will look into chaging the Mac OS Rumors adverts (they were brining in about 2500 visitrs for rev and TT per week but have fallen now). Also if you've got any other ideas for promoting it please say. Once may be to offer a $400 all in school licence which is time limited? Thats also the same price as that competitor you sent me a while back. cheers, rod Quoting Heather Williams : > Greetings. A note to let you all know, I am once again shipping printed > manuals. The last print run was an unqualified success, and many recipients > of the manuals have written to let us know how pleased they are with the > product. So, for your pleasure and delight, we have obtained a reprint. If > you missed out last time, you can order via our website. > > Any questions, send them direct to me, heather at runrev.com, please not to > this list, > > Regards and a happy summer to you all, > > Heather > -- > 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 > -- Rod McCall Runtime Revolution Ltd T: +44 (0) 870 747 1165 Revolution - The Solution in Software Development In Enterprise, Business and Education From Doug_Ivers at lord.com Mon Aug 12 08:00:00 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Mon Aug 12 08:00:00 2002 Subject: pull-down menu not working in standalone for windows Message-ID: <6150F6099DBED111852E0008C7241464049B3A97@NTSRV-CRD04> I create the stack and build the standalone on Mac OS, and then I test it on Windows. My pull-down menu appears when I click, but I then can't pick any menu item. Has anyone else had this problem? -- D From rodmc at runrev.com Mon Aug 12 09:47:00 2002 From: rodmc at runrev.com (Rod McCall) Date: Mon Aug 12 09:47:00 2002 Subject: Revolution Manuals (my mistake) Message-ID: <1029163487.3d57c9df5e22a@mail.spamcop.net> Hi Everyone, It appears I accidently sent an internal email to everyone. Please note the information relates to the web traffic for Ten Thumbs Typing Tutor (TTTT)from the Mac OS Rumors website only. It does NOT relate to Revolution. We have received a lot of interest in Revolution from website and magazine readers across the world and this is increasing as time goes on. Ten Thumbs Typing Tutor is a product we have had for some time and pre-dates Revolution. It was recently launched for Mac OS X and sales have increased by several hundred percent. As for the error, it occured as I am currently using a third party webmail system which has crashed six times today and has a weird interface. This is due to my laptop (with my normal email client) being in for repair after overheating. Please accept my appologies for this mistake. Anyway if you are trying to sell software online we recommend MacOS Rumors which is cost effective and so far has brought a lot of traffic to our site. Kind regards, Rod Quoting Rod McCall : > How are we doing with the new manuals sales? I notice quite a few in Miva but > how many were printed altogether? > > Also I notice TTTT is falling slowly so I will look into chaging the Mac OS > Rumors adverts (they were brining in about 2500 visitrs for rev and TT per > week but have fallen now). Also if you've got any other ideas for promoting > it please say. Once may be to offer a $400 all in school licence which is > time limited? Thats also the same price as that competitor you sent me a > while back. > > cheers, > > rod > > Quoting Heather Williams : > > > Greetings. A note to let you all know, I am once again shipping printed > > manuals. The last print run was an unqualified success, and many > recipients > > of the manuals have written to let us know how pleased they are with the > > product. So, for your pleasure and delight, we have obtained a reprint. > If > > you missed out last time, you can order via our website. > > > > Any questions, send them direct to me, heather at runrev.com, please not to > > this list, > > > > Regards and a happy summer to you all, > > > > Heather > > -- > > 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 > > > > > -- > Rod McCall > Runtime Revolution Ltd > T: +44 (0) 870 747 1165 > Revolution - The Solution in Software Development > In Enterprise, Business and Education > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Rod McCall Runtime Revolution Ltd T: +44 (0) 870 747 1165 Revolution - The Solution in Software Development In Enterprise, Business and Education From kray at sonsothunder.com Mon Aug 12 09:55:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 12 09:55:01 2002 Subject: FROM REV to APPLESCRIPT References: Message-ID: <002601c2420f$92785ee0$6da2fb40@default> Terry, > I am sorry, Nick Tea, for the instand headache I caused without knowing. And > I have to warn you that this very same sample and therefore that same > brain-torture will strike you when visiting Ken Thunder's great website. The > version on Ken's site (which I posted, so it might very well be my fault), > contained a typo and because copied it from that site, the version posted on > this list contained the same error (Ken, could you modify the site so this > error is corrected? The right version is at the bottom of this e-mail). I definitely will. It won't happen until 8/19, though, because I'm currently on vacation. :-) Thanks for the update, Terry! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web site: http://www.sonsothunder.com/ From MFitz53 at cs.com Mon Aug 12 10:06:01 2002 From: MFitz53 at cs.com (MFitz53 at cs.com) Date: Mon Aug 12 10:06:01 2002 Subject: use-revolution digest, Vol 1 #598 - 11 msgs Message-ID: <74.2130a7b8.2a892855@cs.com> In a message dated 8/12/02 1:36:16 AM Eastern Daylight Time, use-revolution-request at lists.runrev.com writes: > Message: 6 > Date: Mon, 12 Aug 2002 11:26:26 +1000 > Subject: Re: set player filename (was:use-revolution digest, Vol 1 #597 - 7 > msgs) > From: Sarah > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > In case some other script has changed the default folder, or the > application has been closed & opened, I would store the path to your > audio files folder in a custom property and not rely on the default > folder. > > To modify Kurt's scripts slightly: > > on mouseup > answer folder "Please select a folder containing audio clips." > set the cAudioFolderPath of this stack to it > set the defaultfolder to it > put the files into fld "playList" > end mouseup > > on mouseup > put the cAudioFolderPath of this stack into folderPath > put the selectedText of me into audioToPlay > set the currentTime of player "audioPlayer" to 0 > set the filename of player "audioPlayer" to folderPath & "/" & > audioToPlay > start player "audioPlayer" > end mouseup > > This way you give the complete file path to your player every time, > regardless of the default folder setting. > > Sarah > Many thanks to you and Kurt! My cpu thanks you as well as it has lost 70 headaches in the form of individual players. One could build a sandwich while waiting for the invisible objects to show up.I was confused as to player filenames and player names. I had thought them to be one and the same. I'm sorry to inject beginner questions into this forum but.........such am I. mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From wmb at internettrainer.com Mon Aug 12 12:33:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Aug 12 12:33:01 2002 Subject: Revolution to author and present multimedia content? In-Reply-To: <200208111601.MAA14295@www.runrev.com> Message-ID: <32A17A5C-AE19-11D6-9E98-003065430226@internettrainer.com> On Sunday, August 11, 2002, at 06:01 PM, use-revolution- request at lists.runrev.com wrote: > I am trying to use Revolution to author and present multimedia > content (as a more powerful alternative to PowerPoint). Where can I > find some examples of stacks and/or code to get me on the right track? I m very interested in cooperations, especially educational institutions or universities wich are prepared to give feedback or describe their expirience with my trainingsmaps? hopefully running anytime without crashing. The feedback I got in my trainings with people of all ages was astonishingly positiv. I m working with Mindmaps since about 15 years, hence the participants of my trainings liked my (personal) maps a lot, even on overhaed projectors). So i had the idea to transform them to a learning tool and developed this new brainfriendly learning GUI - called trainingsmaps?. Its an UI wich can be adapted for any theme. It?s a further development of Tony Buzans paper notation method Mindmaps to an multimedia self learning tool. The idea is: Learn in about half of time with both parts of your brain and fun instead of struggling with common left brain-only documentations. You must only know how to click for all functions, so handicaped, older and persons with less technical education can work with it easyly. And all that for a very low price. The first theme is Internet for beginners. Yes I know that sems not very exciting here, but there are about 6 Billion people out there wich have no idea about the net. But a lot of them have to learn it in the future. Later on there will be a developer-net to have rapidly a wider range of themes as trainingsmaps?. status: test version is ready problem 1: see thread about Profil Manger/textimporting (thats not a problem for a test version) its more a problem of development - except for the font height on windows) problem 2: crashing the complete system in OS9 on quit. problem 3: all description and instructions - its very important to understand how it works - are ready but german only. Portuges? no te puedo decir quando: primero ingles, despues espanol... I can send you a test version, if you can wait a bit I?ll post an Url here. Bit later on non profit organisation can get a up to 100 gratis licences of "Internet for beginners", if they are prepared to send reports about their expiriences with the programm. Finally, yes you can do multimedia authoring. But if you are not a "hardcore coder" a hard future is waiting for you! 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 Mon Aug 12 13:59:01 2002 From: heather at runrev.com (Heather Williams) Date: Mon Aug 12 13:59:01 2002 Subject: Japanese mail list Message-ID: Greetings. We're looking for someone to act as an unofficial liaison officer between Runtime and the Japanese Revolution mailing list. Unfortunately, none of our staff yet speak Japanese. Is there anyone on this list who is also on that list, and would be interested in letting us know from time to time, if there are messages that might best be responded to by ourselves, and possibly translating and posting messages from us to the Japanese list? This would help us to keep in touch with the needs of our Japanese users. If anyone thinks they might like to do this, please contact me direct, heather at runrev.com Regards, Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution - The Solution From ebuijs at knoware.nl Mon Aug 12 16:51:01 2002 From: ebuijs at knoware.nl (Eric Buijs) Date: Mon Aug 12 16:51:01 2002 Subject: No picture in Windows build In-Reply-To: <3D554AB3.51F5AFD5@hrz.uni-kassel.de> Message-ID: op 10-08-2002 19:17 schreef Wilhelm Sanke op sanke at hrz.uni-kassel.de: > I had similar problems, but only on one of my computers, and asked > Scott Raney (raney at metacard.com) about this. He thinks it may have to do > with the graphics card or the graphic-card drivers. To conclude my part of this topic. I found out that the problems with scrolling were to blame on the use of REALPC and win98 on my iMac 400. On a regular PC everything looked fine. Thanks for the help on this one. Eric. From dan at clearvisiontech.com Mon Aug 12 17:01:01 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon Aug 12 17:01:01 2002 Subject: Field Losing Focus? Message-ID: Hello! I have a field (field 1) where a user can type whatever they like. I have another field (field 2) with a list of items the user can choose from. Lastly, I have a button that the user can click to copy the the selected line in field 2 into field 1. Now, I want the text from field 2 to be placed into field 1 at the location of the cursor. In the button's script, I have this: on mouseUp focus on field 1 put word 2 of the selectedChunk into tChar put the hilitedText of field 2 into tText put tText after char tChar of field 1 end mouseUp This works fine if you don't click in field 2. As soon as you click in field 2, the selectedChunk is empty. I have set the traversalOn of both the button and field 2 to "off" Anyone have any ideas? Thanks! Dan From rcozens at pon.net Mon Aug 12 18:41:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Aug 12 18:41:00 2002 Subject: Field Losing Focus? In-Reply-To: References: Message-ID: >Now, I want the text from field 2 to be placed into field 1 at the location >of the cursor. In the button's script, I have this: > >on mouseUp > focus on field 1 > put word 2 of the selectedChunk into tChar > put the hilitedText of field 2 into tText > put tText after char tChar of field 1 >end mouseUp > >This works fine if you don't click in field 2. As soon as you click in >field 2, the selectedChunk is empty. > >... >Anyone have any ideas? Hi Dan, How about storing the field 1 selection on mouseUp and retrieving it in field 2's mouseUp? You could store it in a variable declared local to both mouseUp handlers or in a custom property. -- 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 kray at sonsothunder.com Mon Aug 12 19:08:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 12 19:08:01 2002 Subject: Field Losing Focus? References: Message-ID: <003b01c2425c$c3f78c00$48a3fb40@default> Following on Rob's coattails, here's an example: -- Field 1 Script on mouseUp put word 2 of the selectedChunk into the selChar of me end mouseUp -- Button Script on mouseUp put the hilitedText of field 2 after char (the selChar of fld 1) of fld 1 end mouseUp Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web site: http://www.sonsothunder.com/d ----- Original Message ----- From: Rob Cozens To: Sent: Monday, August 12, 2002 5:37 PM Subject: Re: Field Losing Focus? > >Now, I want the text from field 2 to be placed into field 1 at the location > >of the cursor. In the button's script, I have this: > > > >on mouseUp > > focus on field 1 > > put word 2 of the selectedChunk into tChar > > put the hilitedText of field 2 into tText > > put tText after char tChar of field 1 > >end mouseUp > > > >This works fine if you don't click in field 2. As soon as you click in > >field 2, the selectedChunk is empty. > > > >... > >Anyone have any ideas? > > Hi Dan, > > How about storing the field 1 selection on mouseUp and retrieving it > in field 2's mouseUp? You could store it in a variable declared > local to both mouseUp handlers or in a custom property. > -- > > 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 kray at sonsothunder.com Mon Aug 12 19:20:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 12 19:20:00 2002 Subject: Field Losing Focus? - Correction Message-ID: <000501c2425e$6f6452c0$f9a1fb40@default> My mistake... I checked my original scripts and they don't work. You can't get a mouseUp when the field is open, so you need to use mouseLeave; word 2 of the selectedChunk doesn't work properly - you need to use word 4; and I used the wrong syntax for setting a custom property. Here's the script that works: -- Field 1 Script on mouseUp set the selChar of me to word 4 of (the selectedChunk) end mouseUp -- Button Script on mouseUp put the hilitedText of field 2 after char (the selChar of fld 1) of fld 1 end mouseUp Sorry about that... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web site: http://www.sonsothunder.com/ ----- Original Message ----- From: Ken Ray To: Sent: Monday, August 12, 2002 6:02 PM Subject: Re: Field Losing Focus? > Following on Rob's coattails, here's an example: > > -- Field 1 Script > on mouseUp > put word 2 of the selectedChunk into the selChar of me > end mouseUp > > -- Button Script > on mouseUp > put the hilitedText of field 2 after char (the selChar of fld 1) of fld 1 > end mouseUp > > Hope this helps, > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web site: http://www.sonsothunder.com/d > > > ----- Original Message ----- > From: Rob Cozens > To: > Sent: Monday, August 12, 2002 5:37 PM > Subject: Re: Field Losing Focus? > > > > >Now, I want the text from field 2 to be placed into field 1 at the > location > > >of the cursor. In the button's script, I have this: > > > > > >on mouseUp > > > focus on field 1 > > > put word 2 of the selectedChunk into tChar > > > put the hilitedText of field 2 into tText > > > put tText after char tChar of field 1 > > >end mouseUp > > > > > >This works fine if you don't click in field 2. As soon as you click in > > >field 2, the selectedChunk is empty. > > > > > >... > > >Anyone have any ideas? > > > > Hi Dan, > > > > How about storing the field 1 selection on mouseUp and retrieving it > > in field 2's mouseUp? You could store it in a variable declared > > local to both mouseUp handlers or in a custom property. > > -- > > > > 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 clearvisiontech.com Mon Aug 12 19:44:01 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon Aug 12 19:44:01 2002 Subject: Field Losing Focus? - Correction In-Reply-To: <200207170438.AAA14499@www.runrev.com> Message-ID: This is a good workaround. However, it doesn't completely solve the problem... If your typing in field 1, then click a choice in field 2 and click the button, under your scenario it should work. What happens when the user then clicks another choice from field 2 and clicks the button? It's very likely that a user could choose as many as 5 or 6 choices -- in a row -- from field 2. Do you really think that maintaining the location of the cursor is the best solution? Do I not understand the "traversalOn" property? Shouldn't this work without a workaround? Thanks! From kkaufman at snet.net Mon Aug 12 20:01:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon Aug 12 20:01:01 2002 Subject: QTversion when no QT installed Message-ID: What does a query to QTversion bring up if QuickTime is not installed at all? "0" or "empty"? Thanks, Kurt From sarahr at genesearch.com.au Mon Aug 12 20:22:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Mon Aug 12 20:22:01 2002 Subject: pull-down menu not working in standalone for windows In-Reply-To: Message-ID: Yes, I've had this problem. Set your menu so that it activates with all mouse buttons: mode = 0. I think that is how I got it to work in the end. Sarah On Monday, August 12, 2002, at 11:05 pm, Ivers, Doug E wrote: > I create the stack and build the standalone on Mac OS, and then I test > it on Windows. My pull-down menu appears when I click, but I then > can't pick any menu item. Has anyone else had this problem? > > > -- D > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From richmond at mail.maclaunch.com Tue Aug 13 03:27:01 2002 From: richmond at mail.maclaunch.com (Mathewson) Date: Tue Aug 13 03:27:01 2002 Subject: QuickTime Player in Windows Message-ID: So there I am; all swelling with pride, having developed a full-blown CD ROM encyclopedia - pride comes before the QuickTime Player! The CD ROM I have developed features about 150 music samples demonstrating everything from 'col legno' to 'boogie-woogie': jolly nice too. HOWEVER, when I spun off the Windows version and tried it out on a PC under Win98 there was a big problem: I have made buttons that look exactly like the first frame of the .mov files I use to deliver the music (some of these tunes have still-frame video tracks of the musical score): when the buttons are clicked on they start the movie file playing over the button so to all intents and purposes it looks as though the button and the movie file are the same thing. This works well on both Win and Mac PPC (have not bothered to do a Mac OS X version as the educational market share in the UK using X is probably miniscule to the point of non-existence) - but the play button on the movie player does not work: when a movie is playing clicking on it pauses the movie (normal), but (Windows only) it cannot then be clicked on to continue playing (or replay after clicking on the 'rewind' button). This is a BIG BUGGER and I have to sort it out rapidly: would be extremely grateful for help, input, suggestions and gift-wrapped smoked fish. Richmond Mathewson --------------------------------------------------------------- Using a Macintosh? Get FREE e-mail and more at MacLaunch! http://www.maclaunch.com --------------------------------------------------------------- From preid at reidit.co.uk Tue Aug 13 04:15:01 2002 From: preid at reidit.co.uk (Peter Reid) Date: Tue Aug 13 04:15:01 2002 Subject: QuickTime Player in Windows In-Reply-To: References: Message-ID: >HOWEVER, when I spun off the Windows version and tried it >out on a PC under Win98 there was a big problem: > >(snip) > >when a movie is playing clicking on it pauses >the movie (normal), but (Windows only) it cannot then be >clicked on to continue playing (or replay after clicking on >the 'rewind' button). This is a BIG BUGGER and I have to >sort it out rapidly: would be extremely grateful for help, >input, suggestions and gift-wrapped smoked fish. > >Richmond Mathewson Which versions are you using of Rev and QuickTime on the PC? My understanding is that the latest version of Rev/QT doesn't support the click-to-pause/click-to-continue method. This is a change from an earlier version of Rev/QT which did support this method. I display the control bar in my apps so the user can stop/start/rewind QT video clips. Alternatively, I provide a separate, non-overlapping graphic/button for stop/start. Cheers Peter -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576 E-mail: preid at reidit.co.uk Web: http://www.reidit.co.uk From Doug_Ivers at lord.com Tue Aug 13 06:27:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Tue Aug 13 06:27:01 2002 Subject: pull-down menu not working in standalone for windows Message-ID: <6150F6099DBED111852E0008C7241464049B3AA3@NTSRV-CRD04> I've set the "menuMouseButton" property (which can be accessed via the Properties dialog, last tab) to zero, but it still doesn't work in Windows. It's as if the popup menu doesn't know the mouse loc -- there is no response to hover or click. -- D > -----Original Message----- > From: Sarah [mailto:sarahr at genesearch.com.au] > Sent: Monday, August 12, 2002 9:05 PM > To: use-revolution at lists.runrev.com > Subject: Re: pull-down menu not working in standalone for windows > > > Yes, I've had this problem. Set your menu so that it > activates with all > mouse buttons: mode = 0. > I think that is how I got it to work in the end. > > Sarah > > > On Monday, August 12, 2002, at 11:05 pm, Ivers, Doug E wrote: > > > I create the stack and build the standalone on Mac OS, and > then I test > > it on Windows. My pull-down menu appears when I click, but I then > > can't pick any menu item. Has anyone else had this problem? > > > > > > -- 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 matt.denton at limelight.com.au Tue Aug 13 08:02:02 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Tue Aug 13 08:02:02 2002 Subject: Stacks and substacks of a filename In-Reply-To: <200208121408.KAA02540@www.runrev.com> Message-ID: <5EC4A394-AEBC-11D6-84C7-000393924880@limelight.com.au> Heya-all. I've been having stacks of fun... I've been wading through the docs again, trying to find out what the mainStack and subStacks of a file is. For example, what is the mainstack and substacks of "/mydisk/revdocs/thisStack.rev"? Can you find this out without opening the file and loading into memory? I've checked: openstacks; mainstacks; mainstack; substacks; the stackFiles; owner; effective filename; and stacks property. It is pretty easy to find the filename of a stack, and substacks of a mainstack, ie the reverse of what I wan to do. Or the mainstack of a substack. But I'm stumped trying to find the stacks in a file, plus any substacks. I must be overlooking something pretty simple, oui? I can do a kludge by comparing the list before and after, but this seems pretty convoluted, plus you have to load the file. Plus you have to cycle through to find which of the new list is the mainstack. There is an easier way, right? I'm just up too late, right? Any help would be appreciated. Cheers, M@ From tmw at his.com Tue Aug 13 09:00:04 2002 From: tmw at his.com (tom witte) Date: Tue Aug 13 09:00:04 2002 Subject: QuickTime TimeCode track Message-ID: <200208131358.g7DDwMF05214@mail.his.com> I am before new to Revolution. While I have bought the program (under HC crossover offer last Fall) and documentation It is only now that I am trying to get into it and my first need seem not to be covered by Rev. I need in part to control and manipulate QT movies. I need to make and display timecode tracks. I need to be able to go to specific timecodes timecode tracks in QT movies. In movies that are > 2 gig. I can make TC track with and apple's "QTTimeCode" tool. Description: The tool: and do manipulation and playing Hypercard and Applescript. With this tool, HC and AppleScript I can do every thing I want to do, but since we started using > 2 gig files the timecode track is incomplete and incorrect. I suspect problem is "QTTimeCode" tool but I have not full researched. I am wishing that there would be a rich set of tools in Rev for QT that would include TC tracks. Yet I don't see QT mentioned in any of the documentation. The section on Video seems light. Can (I hope) Rev make timecode tracks in a QT movie? Am I missing something? Anyone have some suggestions? (I have posted request for help to Apple's QT list). Thanks Tom Witte From kray at sonsothunder.com Tue Aug 13 10:24:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Aug 13 10:24:01 2002 Subject: Stacks and substacks of a filename References: <5EC4A394-AEBC-11D6-84C7-000393924880@limelight.com.au> Message-ID: <003a01c242dc$bfb5db80$19a2fb40@default> Matt, I know this sounds too easy, but since you can say: edit script of stack "/mydisk/revdocs/thisStack.rev" in the Message Box, I'd assume you could also say: answer the mainStack of stack "/mydisk/revdocs/thisStack.rev" answer the substacsk of stack "/mydisk/revdocs/thisStack.rev" etc. Does this not work? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web site: http://www.sonsothunder.com/ ----- Original Message ----- From: Matt Denton To: Sent: Tuesday, August 13, 2002 6:58 AM Subject: Stacks and substacks of a filename > Heya-all. I've been having stacks of fun... > > I've been wading through the docs again, trying to find out what the > mainStack and subStacks of a file is. For example, what is the > mainstack and substacks of "/mydisk/revdocs/thisStack.rev"? Can you > find this out without opening the file and loading into memory? > > I've checked: openstacks; mainstacks; mainstack; substacks; the > stackFiles; owner; effective filename; and stacks property. It is > pretty easy to find the filename of a stack, and substacks of a > mainstack, ie the reverse of what I wan to do. Or the mainstack of a > substack. But I'm stumped trying to find the stacks in a file, plus any > substacks. > > I must be overlooking something pretty simple, oui? I can do a kludge > by comparing the list before and after, but this seems pretty > convoluted, plus you have to load the file. Plus you have to cycle > through to find which of the new list is the mainstack. There is an > easier way, right? I'm just up too late, right? > > Any help would be appreciated. > > Cheers, > > M@ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Tue Aug 13 10:24:15 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Aug 13 10:24:15 2002 Subject: Field Losing Focus? - Correction References: Message-ID: <003b01c242dc$c04ceb60$19a2fb40@default> Dan, If you want to update the insertion location, you can change the script of the button to this: on mouseUp put the hilitedText of field 2 into tText put tText after char (the selChar of fld 1) of fld 1 set the selChar of fld 1 to ((the selChar of fld 1) + length(tText)) end mouseUp It's not an optimal solution, but you can't have selections in two fields (an insertion point in one and a selected chunk of text in another), so you have to "fake it" somehow. My suggestion would be to use some kind of graphic character as a fake insertion point in field 1 triggered on the mouseLeave and on the resetting of the selChar in the button so it doesn't look like there is no insertion point in field 1. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web site: http://www.sonsothunder.com/ ----- Original Message ----- From: Dan Friedman To: RunRev Mail List Sent: Monday, August 12, 2002 6:32 PM Subject: Re: Field Losing Focus? - Correction > This is a good workaround. However, it doesn't completely solve the > problem... > > If your typing in field 1, then click a choice in field 2 and click the > button, under your scenario it should work. What happens when the user then > clicks another choice from field 2 and clicks the button? It's very likely > that a user could choose as many as 5 or 6 choices -- in a row -- from field > 2. Do you really think that maintaining the location of the cursor is the > best solution? > > Do I not understand the "traversalOn" property? Shouldn't this work without > a workaround? > > Thanks! > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Tue Aug 13 11:35:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 13 11:35:01 2002 Subject: Stacks and substacks of a filename In-Reply-To: <200208131203.IAA17116@www.runrev.com> Message-ID: Matt Denton writes: > I've been wading through the docs again, trying to find out what the > mainStack and subStacks of a file is. For example, what is the > mainstack and substacks of "/mydisk/revdocs/thisStack.rev"? Can you > find this out without opening the file and loading into memory? No. Any time any process needs information stored in a file, it will have to open the file to read it. With stack files in Rev, this will cause it to be read into RAM. Setting the destryStack property to true should help minimize its presence in RAM when it's not needed. Sad term, "destroyStack": while it means what it does in C++, for scripters it's an unnecessarily alarming term; it simply means to destry the copy in RAM when the stack is closed; the actual stack file is not destroyed. To get the mainstack of a stackfile: get the mainstack of stack "/MyDrive/MyStack.rev" To get the substacks of a stack file: get the substacks of stack "/MyDrive/MyStack.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 raney at metacard.com Tue Aug 13 12:40:01 2002 From: raney at metacard.com (Scott Raney) Date: Tue Aug 13 12:40:01 2002 Subject: QuickTime TimeCode track In-Reply-To: <200208131601.MAA21463@www.runrev.com> Message-ID: On Tue, 13 Aug 2002 tom witte wrote: > I need in part to control and manipulate QT movies. > > I need to make and display timecode tracks. > > I need to be able to go to specific timecodes timecode tracks in QT > movies. In movies that are > 2 gig. There shouldn't be any problem dealing with files this large from MC/RR, but I'd recommend not crossing that boundary as a matter of sanity: there are just too many thing that can go wrong with files when you cross the long-integer (32 bits - 1 bit for sign) boundary to make this a viable development plan. Better to just split the movie into more managable chunks and change the fileName property of the player as needed to show the appropriate chunk. > I can make TC track with and apple's "QTTimeCode" tool. > Description: > meCode.htm> > > The tool: > it> > and do manipulation and playing Hypercard and Applescript. > > With this tool, HC and AppleScript I can do every thing I want to do, but > since we started using > 2 gig files the timecode track is incomplete and > incorrect. > > I suspect problem is "QTTimeCode" tool but I have not full researched. > > I am wishing that there would be a rich set of tools in Rev for QT that > would include TC tracks. > > Yet I don't see QT mentioned in any of the documentation. > The section on Video seems light. > > Can (I hope) Rev make timecode tracks in a QT movie? No, there is no built-in support for creating QT movies (or even adding to them). Worse, in your case, there isn't even any way to access the information in a time code track from the player object. This is a job for an external. Note that you can continue to use the player object if you prefer, using the movieControllerID property to access the internal data structures the external would need to deal with the movie directly. > Am I missing something? > Anyone have some suggestions? > (I have posted request for help to Apple's QT list). Hope you have better luck there than we have ;-) Regards, Scott > Thanks > Tom Witte ******************************************************** Scott Raney raney at metacard.com http://www.metacard.com MetaCard: You know, there's an easier way to do that... From bvlahos at jpl.nasa.gov Tue Aug 13 12:51:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Tue Aug 13 12:51:01 2002 Subject: Revolution to author and present multimedia content? In-Reply-To: Message-ID: <09DC69CD-AEE5-11D6-AD5F-000393853DBC@jpl.nasa.gov> I think this would be a great idea as described. Bill Vlahos Jet Propulsion Laboratory On Sunday, August 11, 2002, at 10:33 PM, Michael J. Lew wrote: > I believe that a project to make a PowerPoint replacement could be > surprisingly manageable. First, PowerPoint is mostly bloat and flashy, > but useless features. Many users regularly choose to use outside > applications for things that PowerPoint could do (e.g. outlining and > drawing) so there is no need to replicate those 'features'. Secondly, > many of the features that would be needed are already built into > Revolution. For example, the geometry manager is useful switching from > edit mode to full-screen mode and the backdrop property can instantly > deal with any mis-match between stack and screen proportions. Groups > are a natural way to deal with the variety of slide templates. Slide > transitions are built in. Image importing needs only a convenient way > to get images from the clipboard. Animations are readily constructed > using the animations manager. Basically, the similarity of the card and > slide metaphors is such that using Revolution to make slideshows is a > natural. > > Importantly, in order to be useful to those like me who already code in > Revolution, the project needs only to supply some templates and > standard slide components and behaviours; the rest can be scripted > directly in Revolution. Thus such a project can be useful even at a > minimal stage of development. Extra capabilities can always be added by > anyone who has Revolution because the project would be naturally > modular. > > In my imagination we will end up with a standalone application that > makes and displays slideshows just like PowerPoint, and a version that > runs within Revolution that will make open-ended multimedia > presentations convenient for Revolutions scriptors. From jamervini at crtholdings.com Tue Aug 13 13:09:01 2002 From: jamervini at crtholdings.com (Joe Mervini) Date: Tue Aug 13 13:09:01 2002 Subject: Newbee question Message-ID: <3D594AE4.6060404@crtholdings.com> Hi, I am new to revolution and the whole MC environment. I was searching the net for a front-end tool that I could just glue a fortran program into. Am I barking up the wrong tree here? If not, are there perhaps some examples somewhere that I could get started from? Thanks alot Joe Mervini From bornstein at designeq.com Tue Aug 13 13:34:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Tue Aug 13 13:34:01 2002 Subject: pull-down menu not working in standalone for windows Message-ID: <200208131831.g7DIVrC11835@mailout6.nyroc.rr.com> >I've set the "menuMouseButton" property (which can be accessed via the >Properties dialog, last tab) to zero, but it still doesn't work in >Windows. It's as if the popup menu doesn't know the mouse loc -- there is >no response to hover or click. Doug, This is a long shot, but I beat my head against a wall for about 3 days with a similar problem. The answer was oblique and may not apply but I thought I'd mention it. In my coding, I was using the Hypercard version of "not equals". This is produced by typing the equals key while holding down the option key (it displays an equals sign with a line through it). Unfortunately, Windows chokes on this and acts in strange ways (often by doing nothing). When I finally figured this out and substituted the "< >" version of "not equals" everything worked properly. It's a long shot but check to see if you're using this construct in your code. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From jswitte at bloomington.in.us Tue Aug 13 13:48:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Tue Aug 13 13:48:01 2002 Subject: destroyStack property name alarming? In-Reply-To: Message-ID: > Sad term, "destroyStack": while it means what it does in C++, for > scripters it's an > unnecessarily alarming term How about "unloadWhenClosed", or (if revolution wants to go the way of Cocoa with very-long-routine-and-property-names, "unloadStackFromMemoryWhenClosed". Jim From harrison at all-auctions.com Tue Aug 13 16:13:01 2002 From: harrison at all-auctions.com (Richard Harrison) Date: Tue Aug 13 16:13:01 2002 Subject: destroyStack property name alarming? In-Reply-To: Message-ID: on 8/13/2002 2:45 PM, Jim Witte at jswitte at bloomington.in.us wrote: > How about "unloadWhenClosed", or (if revolution wants to go the way of > Cocoa with very-long-routine-and-property-names, > "unloadStackFromMemoryWhenClosed". > > Jim Jim, I agree with you 110%! "DestroyStack" is very confusing to everyone! I like your suggestions too. Rick Harrison From GernotL at t-online.de Tue Aug 13 17:20:00 2002 From: GernotL at t-online.de (Gernot Lorenz) Date: Tue Aug 13 17:20:00 2002 Subject: Override QUIT References: <69E82928-AD38-11D6-BE2D-000A27B49A96@os.surf2000.de> Message-ID: <3D596C39.1040408@rz-online.de> Hallo Klaus Major, ich fand ihre e-mail-Adresse in der mailing-Liste von run-rev (Revolution) als einzige mit einer de-Endung. Ich habe erst vor wenigen Wochen Revolution im Internet zuf?llig entdeckt und bin begeistert davon - Ende der 80er und Anfang der 90er Jahre habe ich sehr viel mit Hypercard (MacOS) gemacht und habe mich immer ge?rgert, da? Apple dieses wunderbare Werkzeug nicht weiterentwickelt hat, was nun die Leute in Schottland getan haben - vielleicht zu sp?t. Da Sie offensichtlich schon versiert sind sind, erlaube ich mir ein paar Fragen zu stellen: 1. Wie erstellt man das sog. "Apfel-Men?" (f?r MacOS bis 9.x) ? (Falls Sie mit Windows oder Linux arbeiten, bitte zur n?chsten Frage) 2. Gibt es schon eine Interessenten-/User-Gruppe in Deutschland ? 3. Was dringend n?tig w?re, ist ein gedrucktes Handbuch(-b?chlein) im Sinne einer Referenz. Aber offensichtlich gibt es sowas noch nicht oder wissen Sie mehr ? F?r mich ist das wichtig, da ich Revolution gerne als Programmiersystem im Unterricht (ich bin Lehrer) einsetzen w?rde. Gru? Gernot Lorenz > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > . > From matt.denton at limelight.com.au Tue Aug 13 17:35:03 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Tue Aug 13 17:35:03 2002 Subject: Stacks and substacks of a filename In-Reply-To: <200208131601.MAA21492@www.runrev.com> Message-ID: <8AF0E497-AF0C-11D6-933D-000393924880@limelight.com.au> Dear Ken and Richard Thank you both for your kind help, I'm not sure what weird planet I was on last night, I did try a similar construct but got an error. Many thanks for your kind help on something that is so simple and trivial -- I knew it would be! > I know this sounds too easy, but since you can say: .... > answer the mainStack of stack "/mydisk/revdocs/thisStack.rev" > answer the substacsk of stack "/mydisk/revdocs/thisStack.rev" ... > No. Any time any process needs information stored in a file, it will > have > to open the file to read it. With stack files in Rev, this will cause > it to > be read into RAM. Setting the destryStack property to true should help > minimize its presence in RAM when it's not needed. Sad term, > "destroyStack": while it means what it does in C++, for scripters it's > an > unnecessarily alarming term; it simply means to destry the copy in RAM > when > the stack is closed; the actual stack file is not destroyed. As you can see from my question "mainstack and substacks of "/mydisk/revdocs/thisStack.rev"?" in the late night haze I was neglecting to put stack before the path of the stack... a small but essential keyword wouldn't you say? How dumb of me. Thanks again, it is a beautiful morning and the haze has lifted... M@ Matt Denton From dcragg at lacscentre.co.uk Tue Aug 13 19:10:00 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue Aug 13 19:10:00 2002 Subject: libUrl updates Message-ID: Greetings Two new updates to libUrl are available at the url below: Please note that Starter Kit users won't be able to apply these updates. (This is not a marketing ploy; it's just because the script limits make it impossible to update your current libUrl script. Sorry!) Why two updates....? Version 1.0.7b5 is a relatively minor update. It fixes a few bugs that were in 1.0.7b3. (More details are on the site.) Version 1.0.8a1 involves a lot of behind-the-scenes script changes, mainly affecting the way ftp commands are handled. Because of this, it hasn't been tested "in the wild" as extensively as the earlier versions, so you are encouraged to test it thoroughly before distributing it with your applications. However, to encourage you to try it out, it includes a couple of new features: 1. There is 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. There is now 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 these features are on the website. Cheers Dave Cragg From chipp at chipp.com Wed Aug 14 01:07:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Wed Aug 14 01:07:01 2002 Subject: Draw a line? Message-ID: Okay, this should be simple, but I'm having a tough time and thought one of you could help.. How can I draw a line from 0,0 to 100,100 using Transcript? thx! -Chipp From chipp at chipp.com Wed Aug 14 01:20:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Wed Aug 14 01:20:01 2002 Subject: Draw a line? In-Reply-To: Message-ID: figured it out... on mouseUp set the style of the templateGraphic to polygon create graphic "test" put "0,0" into line 1 of tpoints put "100,100" into line 2 of tpoints set the points of graphic "test" to tpoints end mouseUp From yvescoppe at skynet.be Wed Aug 14 09:16:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Wed Aug 14 09:16:01 2002 Subject: rename command Message-ID: Hi, I have some problems with the rename command. I work on Mac OS X 10.1.5 My file is a JPEG file : filetype : "8BIMJPEG" (from photoshop) When I use the rename command, I have some problems : setting the filepath of the JPEG file again after the renaming : rename file myPreviousPath to myNewpath set the filename of image "illustration" to myNewpath some times it works fine, some times the image "illustration" is grey. Do anyone know the explanation ? I have tried with the command set the filtepath to "8BIMJPEG" before the script of renaming, but the result is the same... Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From kray at sonsothunder.com Wed Aug 14 09:19:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Wed Aug 14 09:19:01 2002 Subject: Draw a line? References: Message-ID: <000c01c2439c$dcf38060$7ca1fb40@default> Chipp, Although your code will work, I have a couple of comments: (1) you don't need to set the templateGraphic unless you want to create a bunch of lines, (2) when you create an object, the reference to that object is returned in "it" (so if you don't really want to name the object, you don't have to), and (3) the points of a polygon can be set with a single, comma-delimited string (Rev/MC use returns to help view things visually, but they are basically converted to commas before the "points" are set). Here's an example of what I mean: on mouseUp create graphic set the style of it to polygon set the points of it to "0,0,100,100" end mouseUp Just FYI, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web site: http://www.sonsothunder.com/ ----- Original Message ----- From: Chipp Walters To: Sent: Wednesday, August 14, 2002 12:18 AM Subject: RE: Draw a line? > figured it out... > > on mouseUp > set the style of the templateGraphic to polygon > create graphic "test" > put "0,0" into line 1 of tpoints > put "100,100" into line 2 of tpoints > set the points of graphic "test" to tpoints > end mouseUp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dan at danshafer.com Wed Aug 14 13:05:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Wed Aug 14 13:05:01 2002 Subject: Wired HC Article Mentions Rev - Not So Favorably Message-ID: Wired has a piece on HyperCard (in fact it's two pieces): http://www.wired.com/news/mac/0,2125,54365,00.html It mentions Rev in passing and lumps it in with products that are viewed by some "HyperCard advocates" as being "too expensive or complex for casual users." Sheesh. Still, the piece was nice to see. At least someone still thinks xCard thingies are interesting. -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 MFitz53 at cs.com Wed Aug 14 13:14:00 2002 From: MFitz53 at cs.com (MFitz53 at cs.com) Date: Wed Aug 14 13:14:00 2002 Subject: If the sound is done.... Message-ID: <127.155538f5.2a8bf76a@cs.com> I have a repeat structure to read a line from a field,play an audio file by that same name as the text on that line, wait for that file to finish playing, then go to the next line and so on until the last line of the field containing the titles I want played is empty. Inside the repeat structure and on the line following start player "x", i have tried "wait until the sound is done" to no avail. The script quickly cycles through the repeat structure listing all of the titles and stops with nothing played. I'm not sure if the done constant is applicable to audio files as opposed to audio clips. mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From aureliendurand at mac.com Wed Aug 14 13:21:01 2002 From: aureliendurand at mac.com (Aur=?ISO-8859-1?B?6Q==?=lien Durand) Date: Wed Aug 14 13:21:01 2002 Subject: A "simple" slideshow In-Reply-To: <200208131203.IAA17116@www.runrev.com> Message-ID: Hello everybody and thanks for all those usefull advices you provide everyday!:) Actually i'm making a very simple slideshow with about 30 cards. Its script is divided into those 30 cards in order to avoid the script limitation. for example, this script in each card: on openCard wait for 2 seconds visual dissolve go cd "slide004" end openCard (very very very simple isn't it?) The problem is that i'd like to be able to stop the slideshow at anytime by siply cliking on the screen and it doesn't work. Indeed, the script of each card doesn't allow any interruption (a mouseUp on the image for example). How could i make it possible? Would a "if" & "then" script work, and which one? Thanks by advance, Best regards A. Durand (Bonjour sp?cial ? toute la communaut? francophone:) From chipp at altuit.com Wed Aug 14 13:21:11 2002 From: chipp at altuit.com (chipp at altuit.com) Date: Wed Aug 14 13:21:11 2002 Subject: Offscreen Capture? In-Reply-To: <000c01c2439c$dcf38060$7ca1fb40@default> References: Message-ID: <19105533400115@chippdotcom.altuit.com> Ken (and others), Thought you might be able to help me. I'm building this org chart program which builds boxes connected by lines in a tree-structure from a text outline. I'd like to export the whole thing as a single GIF,JPG or PNG So, I build this all in an offscreen window - and size the window to fit it all, then try an offscreen capture (import snapshot), and you can guess it doesn't work. It only seems to capture stuff on screen. Any ideas or work arounds you might have and lend some insight. Thanks, Chipp From dsc at swcp.com Wed Aug 14 14:17:00 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Aug 14 14:17:00 2002 Subject: A "simple" slideshow In-Reply-To: Message-ID: On Wednesday, August 14, 2002, at 11:00 AM, Aur?lien Durand wrote: > Actually i'm making a very simple slideshow with about 30 cards. > Its script > is divided into those 30 cards in order to avoid the script limitation. > for example, this script in each card: > > on openCard > wait for 2 seconds > visual dissolve > go cd "slide004" > end openCard It might work to add "with messages" to the wait. However, I'd be inclined to do something like this (untested): on openCard send advanceSlide to me in 2 seconds end openCard on advanceSlide global slideShowOn if slideShowOn then visual dissolve go cd "slide004" end if end advanceSlide As far as avoiding the script limitation, you might be able to move the default openCard handler to the stack. You might be able to move the advanceSlide handler to a hidden field that contains the name of the next card (and perhaps other info); adjust the send accordingly. I believe the openCard is called in place during execution of the "go" without any tail recursion optimization. Also, it is not placed in the list reported by pendingMessages() for delayed execution. If those really represent the case, then the original script will will make deeper and deeper calls. Dar Scott From k_major at os.surf2000.de Wed Aug 14 15:01:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Wed Aug 14 15:01:01 2002 Subject: A "simple" slideshow In-Reply-To: Message-ID: <9BC36CC2-AFC0-11D6-B02D-000A27B49A96@os.surf2000.de> Bonsoir Aurelian, > On Wednesday, August 14, 2002, at 11:00 AM, Aur?lien Durand wrote: > >> Actually i'm making a very simple slideshow with about 30 cards. Its >> script >> is divided into those 30 cards in order to avoid the script limitation. >> for example, this script in each card: >> >> on openCard >> wait for 2 seconds >> visual dissolve >> go cd "slide004" >> end openCard > > It might work to add "with messages" to the wait. > However, I'd be inclined to do something like this (untested): > > on openCard > send advanceSlide to me in 2 seconds > end openCard > > on advanceSlide > global slideShowOn > if slideShowOn then > visual dissolve > go cd "slide004" > end if > end advanceSlide > > As far as avoiding the script limitation, you might be able to move the > default openCard handler to the stack. You might be able to move the > advanceSlide handler to a hidden field that contains the name of the > next card (and perhaps other info); adjust the send accordingly. > > I believe the openCard is called in place during execution of the "go" > without any tail recursion optimization. Also, it is not placed in the > list reported by pendingMessages() for delayed execution. If those > really represent the case, then the original script will will make > deeper and deeper calls. > > Dar Scott if i understand you right, there are about 30 cards (more or less) and each contains a different image ? In this case you can simply script this: Put this into the stack-script: global the_advancing ## This global will store the id of the pendingmessage ## (see there !) "advanceslide" ## This way you can cancel that message from being delivered ## by cancelling this id (global) on openCard send advanceSlide to me in 2 seconds ## Or whatever interval will do for you global the_advancing put the result into the_advancing ## See above... end openCard on advanceSlide visual dissolve go next cd ## Will do exactly what you need ## and will even cycle forever when reaching the ## last card in your slideshow ;-) end advanceSlide on mouseup global the_advancing cancel the_advancing ## Stop the slideshow by just clicking anywhere in the stack end mouseup ## And you still have 5 statements left in THIS script :-) Hope that helps. Au revoir Klaus Major k_major at os.surf2000.de From k_major at os.surf2000.de Wed Aug 14 15:06:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Wed Aug 14 15:06:01 2002 Subject: A "simple" slideshow In-Reply-To: <9BC36CC2-AFC0-11D6-B02D-000A27B49A96@os.surf2000.de> Message-ID: <64E121B4-AFC1-11D6-B02D-000A27B49A96@os.surf2000.de> Bonsoir Aurelian, > if i understand you right, there are about 30 cards (more or less) and > each contains > a different image ? > > In this case you can simply script this: > > Put this into the stack-script: > > > global the_advancing > ## This global will store the id of the pendingmessage > ## (see there !) "advanceslide" > ## This way you can cancel that message from being delivered > ## by cancelling this id (global) > > on openCard > send advanceSlide to me in 2 seconds > ## Or whatever interval will do for you > global the_advancing > put the result into the_advancing > ## See above... > end openCard > > on advanceSlide > visual dissolve > go next cd > ## Will do exactly what you need > ## and will even cycle forever when reaching the > ## last card in your slideshow ;-) > end advanceSlide > > on mouseup > global the_advancing > cancel the_advancing > ## Stop the slideshow by just clicking anywhere in the stack > end mouseup > > ## And you still have 5 statements left in THIS script :-) > > Hope that helps. > > Au revoir to make it clear: That is all in the stack-script, no other scripts necessary !!! A bientot Klaus Major k_major at os.surf2000.de From kkaufman at snet.net Wed Aug 14 19:57:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed Aug 14 19:57:01 2002 Subject: If the sound is done.... Message-ID: Mike, you have to handle the playStopped message with the player you are using to play the audio files (audioPlayer in the example below). Pseudo-code: on playstopped if there is a next file on the playlist then set the filename of player audioPlayer to it end if start player audioPlayer end playstopped HTH, KK From chipp at chipp.com Wed Aug 14 22:34:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Wed Aug 14 22:34:01 2002 Subject: how to show handles? Message-ID: For a graphic or group from Transcript without selecting.. In otherwords, is there a set the showhandles of group 1 to true type of property? What I want to do is do something like: on mouseDown set the showhandles of me to true grab me end mouseDown thanks, Chipp From jeanne at runrev.com Wed Aug 14 23:39:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Wed Aug 14 23:39:01 2002 Subject: Override QUIT In-Reply-To: <3D596C39.1040408@rz-online.de> References: <69E82928-AD38-11D6-BE2D-000A27B49A96@os.surf2000.de> Message-ID: At 1:29 PM -0700 8/13/2002, Gernot Lorenz wrote: >Hallo Klaus Major, >ich fand ihre e-mail-Adresse in der mailing-Liste von run-rev >(Revolution) als einzige mit einer de-Endung. >Ich habe erst vor wenigen Wochen Revolution im Internet zuf?llig >entdeckt und bin begeistert davon - Ende der 80er und Anfang der 90er >Jahre habe ich sehr viel mit Hypercard (MacOS) gemacht und habe mich >immer ge?rgert, da? Apple dieses wunderbare Werkzeug nicht >weiterentwickelt hat, was nun die Leute in Schottland getan haben - >vielleicht zu sp?t. > >Da Sie offensichtlich schon versiert sind sind, erlaube ich mir ein paar >Fragen zu stellen: > >1. Wie erstellt man das sog. "Apfel-Men?" (f?r MacOS bis 9.x) ? (Falls >Sie mit Windows oder Linux arbeiten, bitte zur n?chsten Frage) > >2. Gibt es schon eine Interessenten-/User-Gruppe in Deutschland ? > >3. Was dringend n?tig w?re, ist ein gedrucktes Handbuch(-b?chlein) im >Sinne einer Referenz. Aber offensichtlich gibt es sowas noch nicht oder >wissen Sie mehr ? F?r mich ist das wichtig, da ich Revolution gerne als >Programmiersystem im Unterricht (ich bin Lehrer) einsetzen w?rde. Hallo Gernot, Ich spreche nicht die deutsche Sprache, also benutze ich den Babelfish ?bersetzer. Ich hoffe diese Anzeige werde verst?mmelt nicht sehr viel; -) Da ich nicht noch eine Antwort von Klaus gesehen habe, schicke ich Ihnen einige Antworten. Ich hoffe sie bin n?tzlich. Ich k?nnte nicht die ?bersetzung Ihrer Frage 1 verstehen. K?nnen Sie sie anders als ausdr?cken, damit m?glicherweise Babelfish eine bessere Arbeit erledigen kann? Ich denke m?glicherweise Sie frage nach dem "nach dieser Anwendung" Einzelteil, welches das erste Einzelteil im Apple Men? ist? Wenn dieses Ihre Frage ist, setzen Sie dieses Men?einzelteil als das letzte Einzelteil in das Hilfemen?. Auf einem Mac legt Revolution dieses Einzelteil in das Apple Men? richtig. F?r Frage 2, bin ich nicht sicher, ob es eine formale Gruppe gibt. Aber es gibt definitiv Kunden in Deutschland. F?r Frage 3, gibt es gedruckte Unterlagen. Dieses hat die gleichen Informationen wie die Aufschirm Unterlagen, aber in Form von B?chern. Sie k?nnen eine Kopie der gedruckten B?cher hier kaufen: . Wenn Sie die professionelle Lizenz ("Professional License") kaufen, ist eine Kopie der gedruckten B?cher f?r keine Extrakosten enthalten. Ich hoffe dieses bin n?tzlich f?r Sie. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From bornstein at designeq.com Wed Aug 14 23:53:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Wed Aug 14 23:53:01 2002 Subject: how to show handles? Message-ID: <200208150451.g7F4pfC26467@mailout6.nyroc.rr.com> >What I want to do is do something like: > >on mouseDown > set the showhandles of me to true > grab me >end mouseDown Try this: on mouseDown select me grab me end mouseDown on mouseup select empty end mouseup Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From davethebrv at mac.com Thu Aug 15 00:14:01 2002 From: davethebrv at mac.com (David Beck) Date: Thu Aug 15 00:14:01 2002 Subject: Standalone crashing and lagging In-Reply-To: <200208141602.MAA05151@www.runrev.com> Message-ID: Hi, I'm having some problems when building a standalone from one of my stacks. The stack is designed to be a level editor for a game I am writing. Each level is divided into 16x16 cells, each which may be filled with a brick. The level is about 40 by 30 cells. The user needs to be able to paint bricks onto the level, which is represented by a card in my stack. I originally was creating a button every time the user painted a brick in one of the cells. This approach worked well, except for when I built the stack as a standalone, it had a tendency to crash when heavy brick laying was going on. The stack would crash with a type 2 error (address error) about every 3 minutes. I figured the problem stemmed from creating and deleting all those buttons. So instead, I tried covering the entire level with transparent buttons, each the size of one cell. When a brick was painted, I would just set the icon of the existing button to the icon for that brick. This also worked well, except that when I built the stack as a standalone, its performance dropped to far below acceptable speeds. It took about 4 seconds to paint a brick. I imagine this is because there are so many buttons on the card (one per cell, 40 by 30 cells = 1200 buttons). However, the same process is instantaneous when I use the stack from within the development environment. Are there any plans to fix whatever bug is causing the address error, or is there any way I can improve the performance of my standalone which uses existing buttons instead of creating them on the fly? I am out of ideas to make this stack work, and I have already spent many weeks working on it before I discovered the stability problem. I don't want my work to go to waste. Help? Thanks, Dave From jswitte at bloomington.in.us Thu Aug 15 00:15:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Thu Aug 15 00:15:01 2002 Subject: Wired HC Article - rev too complicated? In-Reply-To: Message-ID: <647D80B5-B00C-11D6-BAFB-000A27D93820@bloomington.in.us> > It mentions Rev in passing and lumps it in with products that are > viewed by some "HyperCard advocates" as being "too expensive or > complex for casual users." I was thinking about this morning. This may have already been hashed out before, but it seems that it would be useful if RunRev had some kind of "home license". this would be aimed at the home user who say wants to introduce his 10 year-old to programming or make a user database for the local Cub Scout den (When my dad was a Cub leader, we actually did this with HC!), make a personal checkbook application, etc. It either wouldn't have a script limit, have no database access (home users generally don't need external DB access I would think), have limited built-in network communication ability (or none at all), be limited only having a mainstack, and have limited standalone creation ability (or none at all), and be priced at $100-$129. One of the beauties of HC was that it let "ordinary" computer users "dabble" with programming. If you're going to put down $300 for a small-business license, you want to have a pretty good idea what you're going to do with it - which isn't a problem for a small-business, but probably is for a "casual" user. I don't know if Apple ever did any surveys about the "uses" of HC, but it would be interesting to know. I'm sort of in that position myself - I'm running a very small business reselling items and considering plastic fabrication of Newton parts (a small market indeed) and thinking of using Rev to do a customer database, but since I don't make all that much profit, it might make more since just to learn Excel VB. I'll probably end up getting a small business license, mainly because I already know quite a bit about HC scripting and like to mess with computers (geek factor). From the economic viewpoint, I don't know how much sense this makes though. You have a certain number of "casual" users who would buy such a limited version at $100 but wouldn't at $300, which is good. But you might also have some small-business people who can get with the $100 license instead of the $300 version, which isn't. To entice "micro-business" people, I'd make the license upgradable to either the SB license or the professional license for the difference in cost. There would also be the cost for RunRev to produce such a limited version - I don't know if it could be as simple as turning off compiler flags in the code, or would be more difficult than that - and the logistics of distributing such a version - the same argument against having a version with no ugrades. As for the complication factor, for an HC user - I think Rev simply *looks* a bit intimidating. I see this a lot with programs - MacDraw vs. ClarisDraw is one example I can think. If a program has a lot of menus, a lot of options in the dialogs, large palettes, etc, I think it seems more complicated than it may actually be. I don't know if there have been any HCI studies specifically about this, but any that there are would be interesting to look at. As I look at the Revolution interface, a few things that I notice that might be seen as "more complicated than HC are (don't take this as a negative criticism of Rev, just observations of comparison with HC 2.0): The distinction between the pointer tool (the hand) and the selection tool (arrow). HC didn't make a distinction, and while it makes sense if you're thinking in terms of a develop-then-test cycle, it is less conducive to "spontaneous programming" than an integrated tool. The lack of the "recent cards" command that put up the window with the miniature views of all the cards in the stack. This helps the novice user get a sense of the organization of the stack, and reinforces the idea of being "in" a stack rather than "working with it" - as you would application code in a traditional programming environment. The object property window is a lot more complicated looking. A lot of this is because there's the same window functioning as an editor for all types of objects, and because of the tab interface for basic properties, item specific properties, script, etc. The basic properties tab has a lot of options, which are of use for someone making a professional app who wants complete control over how the interface looks, but which simply add "clutter" for a novice user. The other tabs except for script don't look like they have analogues in HC, but they are nice and hidden from a novice user. As far as the "home user" license issue goes, a lot of that has to do with the fact that Apple made Hypercard, as well as the Mac, so Hypercard could almost be seen as an freebie of sorts that came with the Mac - like the iApps are now. Whether this was a good choice or not is debatable, but I think it certainly did push up adoption of HC among users, and is something that RunRev can't do (they don't have a main business making and selling computers) I suppose it one - an educator perhaps - might cast it also as a sort of public good argument - "do you want to push up the general knowledge of computer programming among Mac users?" Apple apparently though so, at least when HC was still a standard part of the OS - economically though it's hard to justify that kind of argument. Jim Witte jswitte at bloomington.in.us "Ex-Hypercard user" From dan at danshafer.com Thu Aug 15 01:46:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Thu Aug 15 01:46:01 2002 Subject: Hobbyist License? (Was: Re: Wired HC Article - rev too complicated?] Message-ID: Jim Witte suggested in a recent post that Revolution consider a scaled-down license for more casual users, something that could be sold in the $100-129 range and not cause too much impact on RR's current licensing model. In the same post, Jim talked about ways the UI could be simplified for casual or hobbyist programmers. I thought much of what he suggested in this regard made sense and of course given that the RR UI is written in Transcript and uses Rev, making those kinds of changes ought to be straight-forward. This merged in my fertile imagination with another issue I've been thinking about ever since I encountered RR. One of the things I thought made HyperCard so eminently approachable was its careful layering of capabilities. You could get your hands on HyperCard and without doing any scripting you could feel like you could accomplish a certain amount of work. Then you'd discover, "Hey! There's a scripting language in here!" and do some *way* coool stuff. This fits neatly into the broadly accepted UI paradigm called "progressive revelation." If RR could figure out a way to create a similarly layered approach to RR (and it seems to me that the potential for doing so within the context of Profiles is quite good) and then enable us to "seal off" our apps from certain levels of use, creating a product like Jim envisioned ought not be too difficult. Maybe ultimately this is yet another spinoff business much as RR is a spinoff of MC. Someone who's interested in the low-end market uses RR to create a new product for that segment and licenses appropriate stuff from MC and/or RR? -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 klaus.major at metascape.org Thu Aug 15 02:13:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Thu Aug 15 02:13:01 2002 Subject: Override QUIT In-Reply-To: Message-ID: <02162AE1-B01E-11D6-9EB4-003065D52E8E@metascape.org> Hi Jeanne, > ... > Hallo Gernot, > > Ich spreche nicht die deutsche Sprache, also benutze ich den Babelfish > ?bersetzer. Ich hoffe diese Anzeige werde verst?mmelt nicht sehr > viel; -) > Da ich nicht noch eine Antwort von Klaus gesehen habe, schicke ich Ihnen > einige Antworten. Ich hoffe sie bin n?tzlich. > > Ich k?nnte nicht die ?bersetzung Ihrer Frage 1 verstehen. K?nnen Sie sie > anders als ausdr?cken, damit m?glicherweise Babelfish eine bessere > Arbeit > erledigen kann? Ich denke m?glicherweise Sie frage nach dem "nach dieser > Anwendung" Einzelteil, welches das erste Einzelteil im Apple Men? ist? > Wenn > dieses Ihre Frage ist, setzen Sie dieses Men?einzelteil als das letzte > Einzelteil in das Hilfemen?. Auf einem Mac legt Revolution dieses > Einzelteil in das Apple Men? richtig. > > F?r Frage 2, bin ich nicht sicher, ob es eine formale Gruppe gibt. Aber > es > gibt definitiv Kunden in Deutschland. > > F?r Frage 3, gibt es gedruckte Unterlagen. Dieses hat die gleichen > Informationen wie die Aufschirm Unterlagen, aber in Form von B?chern. > Sie > k?nnen eine Kopie der gedruckten B?cher hier kaufen: > bin/miva?Merchant2/merchant.mv+Screen=PROD&Store_C > ode=RROS&Product_Code=RM&Category_Code=RM>. Wenn Sie die professionelle > Lizenz ("Professional License") kaufen, ist eine Kopie der gedruckten > B?cher f?r keine Extrakosten enthalten. > > Ich hoffe dieses bin n?tzlich f?r Sie. > > -- > Jeanne A. E. DeVoto ~ jeanne at runrev.com this is the first time that i read something that has been translated by "babelfish". As a native german speaker i have to say that i can't remember a more amusing read :-D Nevertheless it's understandable. Regards Klaus Major klaus.major at metascape.org From mazzapaolo at libero.it Thu Aug 15 02:42:00 2002 From: mazzapaolo at libero.it (paolo mazza) Date: Thu Aug 15 02:42:00 2002 Subject: selecting transparent images In-Reply-To: <200208120436.AAA25952@www.runrev.com> Message-ID: How can I select an image clicking on the transparent part of it? (By default Rev pass the click of the mouse to an higther levels when a trasparent image is clicked). Thanks, Paolo From mazzapaolo at libero.it Thu Aug 15 03:01:00 2002 From: mazzapaolo at libero.it (paolo mazza) Date: Thu Aug 15 03:01:00 2002 Subject: FROM REV to APPLESCRIPT In-Reply-To: <200208120436.AAA25952@www.runrev.com> Message-ID: Thank you for your help. Using appleScript I was able to "drive" Quicktime and produce quicktime movies from Rev. Great. Then, I have another question. Is there in Windows something similar to Applescript? How can I "drive" quicktime from Rev in Windows? > Message: 4 > Date: Mon, 12 Aug 2002 10:22:47 +1000 > Subject: Re: FROM REV to APPLESCRIPT > From: Sarah > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Here's how I do it: > > Write your AppleScript & test it in the AppleScript editor with fake > data in your variables. > Copy the script and put it into a custom property somewhere in your > stack. > Edit the script to put placeholders where you variables will go > e.g. put **var1** into asVar1 > where **var1** represents your Rev data and asVar1 is the variable name > used by the AppleScript > > Then in your Rev script do the following: > > put the cScriptProperty of me into theScript > replace "**var1**" with field "my Variable" in theScript > -- repeat this for all your variables > do theScript as AppleScript > > The HyperCard method suggested will not work as it relies on the fact > that HyperCard itself is AppleScriptable, while Revolution is not. > > Sarah > > > On Friday, August 9, 2002, at 06:59 pm, paolo mazza wrote: > >> How can I set the value of a variable in an Applescript piece of code >> to a >> field of a stack in REV? >> Am I supposed to use the clipboard? >> Thanks, Paolo >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > Message: 8 > Date: Sun, 11 Aug 2002 22:03:12 -0500 > To: use-revolution at lists.runrev.com > From: Brad Allen > Subject: Re: FROM REV to APPLESCRIPT > Reply-To: use-revolution at lists.runrev.com > >> do theScript as AppleScript > > I'd like to further add to what Sarah said, that it's easy to go the > other way and have Rev obtain a value from an Applescript. At the > points where your Applescript might end, use the return command to > return a value to Rev, as in: > > try > doSomething > set foo to whatever > on error myError > return myError > end try > return whatever > > After Rev executes this Applescript, it will populate the Result with > the returned value from Applescript, as in: > > do theScript as Applescript > put the result into theScriptResult > > > > Message: 10 > From: "Ken Ray" > To: > Subject: Re: FROM REV to APPLESCRIPT > Date: Sun, 11 Aug 2002 22:52:06 -0600 > Reply-To: use-revolution at lists.runrev.com > >> If there's any further information or examples out there (or in the >> documentation) about integrating AS with RR, could someone please point me >> to it? > > Nick, > > You could take a look at the Tips page on my site... there are a couple of > AppleScript examples there: > > http://www.sonsothunder.com/devres/revolution/revolution.htm > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web site: http://www.sonsothunder.com/ > >> >> My main interest at this stage would be in using RunRev as a front end > that >> can launch/run applescripts and pass information entered by the user to >> them. >> >> Thanks >> >> >> Nick >> -- >> "Always remember to warm the pot." >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > --__--__-- > > Message: 11 > Date: Mon, 12 Aug 2002 15:33:08 +1000 > To: use-revolution at lists.runrev.com > From: "Michael J. Lew" > Subject: Re: Revolution to author and present multimedia content? > Reply-To: use-revolution at lists.runrev.com > > I'm thrilled to hear that someone would like to replace PowerPoint > with a Revolution-based application! > > I have been lecturing using PowerPoint in combination with Revolution > and Hypercard for many years, with Revolution and Hypercard-based > animations and simulations to spice up the material and make some > concepts more accessible. Several of my computer-aided learning > modules (CALs) that are in use in courses here have been made with > Revolution and it is helpful to the students to see snippets of those > modules used in a lecture prior to the students exploring the CALs > themselves. > > After some frustrations resulting from upgrading PowerPoint to the > most current version, I have very recently decided that it would be > worthwhile making a Revolution application to replace PowerPoint for > my own use (my preliminary stack is called 'Get to the point!). If > Joao, and maybe others, is thinking along the same lines then maybe > we could make it into a collaborative project. I have so made a > useable (but not bug-free) automated 'dot-point' field template. and > have fiddled with making cards grow to fill the screen with text > being scaled appropriately. No real difficulties in those. > > I have mentioned my aspirations to some colleagues at my university > and their response is generally unencouraging. They feel that > PowerPoint is a huge application that has been developed my large > numbers of programmers for many years: true enough, but in that > context it is interesting to contemplate the quality of their product > ;-> > > I believe that a project to make a PowerPoint replacement could be > surprisingly manageable. First, PowerPoint is mostly bloat and > flashy, but useless features. Many users regularly choose to use > outside applications for things that PowerPoint could do (e.g. > outlining and drawing) so there is no need to replicate those > 'features'. Secondly, many of the features that would be needed are > already built into Revolution. For example, the geometry manager is > useful switching from edit mode to full-screen mode and the backdrop > property can instantly deal with any mis-match between stack and > screen proportions. Groups are a natural way to deal with the variety > of slide templates. Slide transitions are built in. Image importing > needs only a convenient way to get images from the clipboard. > Animations are readily constructed using the animations manager. > Basically, the similarity of the card and slide metaphors is such > that using Revolution to make slideshows is a natural. > > Importantly, in order to be useful to those like me who already code > in Revolution, the project needs only to supply some templates and > standard slide components and behaviours; the rest can be scripted > directly in Revolution. Thus such a project can be useful even at a > minimal stage of development. Extra capabilities can always be added > by anyone who has Revolution because the project would be naturally > modular. > > In my imagination we will end up with a standalone application that > makes and displays slideshows just like PowerPoint, and a version > that runs within Revolution that will make open-ended multimedia > presentations convenient for Revolutions scriptors. > > Anyone keen to help? > > -- > Michael J. Lew > > Senior Lecturer > Department of Pharmacology > The University of Melbourne > Parkville 3010 > Victoria > Australia > > Phone +613 8344 8304 > > ** > New email address: michaell at unimelb.edu.au > ** > > > --__--__-- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > End of use-revolution Digest From ambassador at fourthworld.com Thu Aug 15 03:07:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Aug 15 03:07:00 2002 Subject: Wired HC Article - rev too complicated? In-Reply-To: <200208150418.AAA17658@www.runrev.com> Message-ID: use-revolution-request at lists.runrev.com wrote: >> It mentions Rev in passing and lumps it in with products that are >> viewed by some "HyperCard advocates" as being "too expensive or >> complex for casual users." > > I was thinking about this morning. This may have already been hashed > out before, but it seems that it would be useful if RunRev had some kind > of "home license". this would be aimed at the home user who say wants > to introduce his 10 year-old to programming or make a user database for > the local Cub Scout den (When my dad was a Cub leader, we actually did > this with HC!), make a personal checkbook application, etc. It either > wouldn't have a script limit, have no database access (home users > generally don't need external DB access I would think), have limited > built-in network communication ability (or none at all), be limited only > having a mainstack, and have limited standalone creation ability (or > none at all), and be priced at $100-$129. But as Apple discovered, a $99 scripting tool does not appear to be viable. In addition to the costs associated with all other software development (mostly r&d and marketing), the support costs for scripting products are much higher than with nearly any other type of software. Even Metrowerks has relatively lower support costs, as they support only the IDE itself and not the language; the vendor of a proprietary scripting tool must support both. Further, the casual user more inclined to buy a non-professional license is likely to require more support than someone with more experience and a more disciplined approach to programming. And perhaps most significant of all is the role that personality types play in all this. HyperCard was billed as "programming for the rest of us", but in reality most HyperCard users are exactly that: they use stacks other people built. For example, how many people at Renault develop in HyperCard, and how many run those stacks? I imagine the ratio is even greater in academia, where one developer will often make stacks for an entire school, or even a district. End users don't care what system a program was developed in, as long as it works. In any given gene pool, there are only so many people who will enjoy programming, no matter how intelligent the language is (with chunk expressions and other time-saving and code-simplifying niceties, I would argue that xTaks are among the most intelligent of languages). Price points will not significantly alter the percentage of serious scripters among us. The nature of programming requires certain traits to enjoy: a love of solving puzzles, patience, the ability to break tasks down into subtasks, the ability to abstract the user experience from the underlying code, a reasonable typing ability, etc. While the xTalk family of languages requires less of these traits than most other programming languages, they must still be present for the task of scripting to be enjoyable, and not everyone has them -- some folks have lives. :) "Programming for the rest of us" has a certain ring of truth to it when we hear the phrase, but I would suspect any serious effort to profile potential users would show that most folks have personality types which simply don't indicate a proficiency, or even interest, in programming. For the rest of the rest of us, there's Revolution. :) -- 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 drvaughan55 at mac.com Thu Aug 15 03:18:00 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Thu Aug 15 03:18:00 2002 Subject: a complete digression from Override QUIT In-Reply-To: <02162AE1-B01E-11D6-9EB4-003065D52E8E@metascape.org> Message-ID: <3AA08BF9-B027-11D6-BC22-000393598038@mac.com> On Thursday, August 15, 2002, at 05:09 , Klaus Major wrote: > Hi Jeanne, > snip > > this is the first time that i read something that has been translated > by "babelfish". > > As a native german speaker i have to say that i can't remember a more > amusing read :-D > > Nevertheless it's understandable. About a couple of years ago I was conversing with a bloke in Holland, in English as I have zero Dutch. In the course of this he asked for help on a couple of english expressions, so in my next e-mail I tried to do "the right thing" by machine translating my message before sending (happily, I also sent the english version at the same time, as otherwise he would have had little idea what I meant). When he translated it back to me I could understand his hilarity. We gave that one up. So, while my German is too limited to see everything that amused Klaus, I can well imagine. Of course, english-speakers have enough trouble with their own language. Where I am working at the moment an e-mail came around just today, inviting people to farewell a retiring colleague who was "...a friend too many." :-D cheers David > > > 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 info at quantumshop.com Thu Aug 15 03:41:01 2002 From: info at quantumshop.com (Quantumshop) Date: Thu Aug 15 03:41:01 2002 Subject: : A "simple" slideshow Message-ID: <016b01c243c1$bee011e0$d86600d8@s1> This is just a simple guess, but your "wait" command is probably stopping you from doing anything. I would make a (hidden) button that goes to the next card, then use a "send" command in your card script. Then, if you want to stop that from happening you can stop any pending commands (just look up "send" in the transcript dictionary for that stuff) and interrupt the process. Hope that helps! Mark ==card== on openCard send "mouseup" to button "takemetothenextcard" in 2 seconds end openCard ==hidden button== on mouseup visual dissolve go cd "slide004" end mouseup ----- Original Message ----- From: "Aur?lien Durand" To: Sent: Wednesday, August 14, 2002 1:00 PM Subject: A "simple" slideshow > Hello everybody and thanks for all those usefull advices you provide > everyday!:) > > Actually i'm making a very simple slideshow with about 30 cards. Its script > is divided into those 30 cards in order to avoid the script limitation. > for example, this script in each card: > > on openCard > wait for 2 seconds > visual dissolve > go cd "slide004" > end openCard > > (very very very simple isn't it?) > > The problem is that i'd like to be able to stop the slideshow at anytime by > siply cliking on the screen and it doesn't work. Indeed, the script of each > card doesn't allow any interruption (a mouseUp on the image for example). > How could i make it possible? Would a "if" & "then" script work, and which > one? > Thanks by advance, > Best regards > > A. Durand > > (Bonjour sp?cial ? toute la communaut? francophone:) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -------------- next part -------------- An HTML attachment was scrubbed... URL: From GernotL at t-online.de Thu Aug 15 04:49:01 2002 From: GernotL at t-online.de (Gernot Lorenz) Date: Thu Aug 15 04:49:01 2002 Subject: About... Menu for MacOS 9.x References: <69E82928-AD38-11D6-BE2D-000A27B49A96@os.surf2000.de> Message-ID: <3D5B73C7.2020902@rz-online.de> Jeanne A. E. DeVoto schrieb: > > >> >> > >Hallo Gernot, > >Ich spreche nicht die deutsche Sprache, also benutze ich den Babelfish >?bersetzer. Ich hoffe diese Anzeige werde verst?mmelt nicht sehr viel; -) >Da ich nicht noch eine Antwort von Klaus gesehen habe, schicke ich Ihnen >einige Antworten. Ich hoffe sie bin n?tzlich. > >Ich k?nnte nicht die ?bersetzung Ihrer Frage 1 verstehen. K?nnen Sie sie >anders als ausdr?cken, damit m?glicherweise Babelfish eine bessere Arbeit >erledigen kann? Ich denke m?glicherweise Sie frage nach dem "nach dieser >Anwendung" Einzelteil, welches das erste Einzelteil im Apple Men? ist? Wenn >dieses Ihre Frage ist, setzen Sie dieses Men?einzelteil als das letzte >Einzelteil in das Hilfemen?. Auf einem Mac legt Revolution dieses >Einzelteil in das Apple Men? richtig. > >F?r Frage 2, bin ich nicht sicher, ob es eine formale Gruppe gibt. Aber es >gibt definitiv Kunden in Deutschland. > >F?r Frage 3, gibt es gedruckte Unterlagen. Dieses hat die gleichen >Informationen wie die Aufschirm Unterlagen, aber in Form von B?chern. Sie >k?nnen eine Kopie der gedruckten B?cher hier kaufen: >ode=RROS&Product_Code=RM&Category_Code=RM>. Wenn Sie die professionelle >Lizenz ("Professional License") kaufen, ist eine Kopie der gedruckten >B?cher f?r keine Extrakosten enthalten. > >Ich hoffe dieses bin n?tzlich f?r Sie. > > Hallo Jeanne, because my English is not so perfect, I wrote my questions to someone being a German speaking person - so I have choosen Klaus Major's e-mail Adress. Many thanks to You - in deed, You have helped me. Your answers to questions #2 and #3 are clear. My question #1 was not clear, I have meant the "About..."-Menu of all classical MacOS-Applications, which usually is the first menu item in the Apple Menu. As far as I have unterstood Your answer, I have to put the "About..."-menu as the last menu item of the Help MEnu ? At the moment I dont have the time to test Your suggestion. But when I will have done so sucessfully, I'll mail You. Thanks for helping. Gernot Lorenz > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From carette.pierre-marie at wanadoo.fr Thu Aug 15 05:31:01 2002 From: carette.pierre-marie at wanadoo.fr (Pierre-Marie) Date: Thu Aug 15 05:31:01 2002 Subject: Dan Shafer : Wired HC Article - rev too complicated? In-Reply-To: <200208150850.EAA23184@www.runrev.com> Message-ID: I agree with Dan The first step in HC was cool The first step in Rev is awful for a beginner (not for a old lover of HC like me) But this list illustrates that the second step in Rev is too awful even for a not beginner This list is full of exceptions, particularities (it's not only the fault of Rev, obviously). To illustrate the problem see http://www.macintouch.com/hypercard.html Perhaps "Norpath Elements Studio" is the solution for beginner Perhaps Revolution understands the threat and will make a good and easy entrance. It's urgent :actually you lost customers for that reason (all my friends don't want enter in Rev although they have a good teacher...me! :) ) That's a pity to see the best HC-savior losts its chance (think about Bill Atkinson's which thinks he missed the mark ) the dilemma : tool only for developper or tool for users ? Think to Project Builder. Compare with Rev......access Think to HTML-XML... with product like Tinderbox ...compare with your Soap Toolbox .... It's wonderful effort for you and the developpers ( and I don't forget to congratulate your works, friendly) The users vote for products like Tinderbox or others.... The history always answers : "the winners is who give more facility, more quickly and for more numerous people" Don't forget this : make quickly a easy entrance to Rev not to make Rev-application but to live better with computers Friendly... -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1480 bytes Desc: not available URL: From matt.denton at limelight.com.au Thu Aug 15 05:37:00 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Thu Aug 15 05:37:00 2002 Subject: Working with Base64 and Mac files In-Reply-To: <200208150850.EAA23184@www.runrev.com> Message-ID: <758DB9E7-B03A-11D6-884C-000393924880@limelight.com.au> Hi-ya all, I've got a small app working that updates various components of itself, using an update sequence file to download the latest bits via HTTP off the web. Works a treat! I've converted it from FTP to HTTP, which seems fine, however I have had some problems with Base64 and Mac files: sometimes they work (Rev and Acrobat) sometimes they don't (usually when an Application file). I'm assuming this is because some Mac files have a Resource fork and the base64 encode only encodes the data fork, is that correct? So my question is: how do I encode a Mac file, have it on an HTTP Server, then get it back whole and intact? I looked up 'copyResource' etc, but no luck. I was thinking to GZIP it first, then Base64 after... will this preserve the Resource Fork? Anyway other than that I'm amazed! yet again by the power of Rev (I've been away for a while). Back to the vast range of error checking needed for the web! Cheers, M@ Matt Denton From malte.brill at t-online.de Thu Aug 15 05:44:01 2002 From: malte.brill at t-online.de (malte brill) Date: Thu Aug 15 05:44:01 2002 Subject: About menu Message-ID: Guten Tag Gernot, bin auch aus Deutschland. You find the item "about" in the menumanager as item of the help menu (second item) if you create a new menu. Check Set as Menubar on MacOs Sie finden den Eintrag "about" im Menumanager unter "help" (zweiter Eintrag) Machen sie ein H?ckchen in die Checkbox Set as menubar on Mac OS. Hoffe das hilft. Gru? Malte From wmb at internettrainer.com Thu Aug 15 06:21:00 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Thu Aug 15 06:21:00 2002 Subject: [OT] babelfish was: use-revolution digest, Vol 1 #604 - 8 msgs In-Reply-To: <200208150850.EAA23176@www.runrev.com> Message-ID: <9F3D0336-B040-11D6-AF90-003065430226@internettrainer.com> On Thursday, August 15, 2002, at 10:50 AM, use-revolution- request at lists.runrev.com wrote: > this is the first time that i read something that has been > translated by > "babelfish". > > As a native german speaker i have to say that i can't remember a more > amusing read :-D > > Nevertheless it's understandable. I was surprised. It was one of the best german translations i v ever read. All the others i v seen until now have been a "lot more funny", wich means nearly not understandable... :) 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 rodmc at runrev.com Thu Aug 15 06:53:01 2002 From: rodmc at runrev.com (Rod McCall) Date: Thu Aug 15 06:53:01 2002 Subject: Wired HC Article Message-ID: <1029412298.3d5b95ca9bd6e@mail.spamcop.net> Hi Everyone, Firstly I think its time we made some comments. Initially we have had excellent feedback in relation to the usability of Revolution. Indeed many reviews in websites, magazines and elsewhere have commented on this subject. However if you feel there are specific usability or UI issues please contact us (off list) and we will see what we can do. The usability of Revolution is something we take very seriously and do expend a large amount of resources, time and effort to ensure that the user experience is of the highest possible standard for as many users as possible. However different user groups may have different needs and where possible we will try to address these issues when they arise. As regards pricing we do have a student, teacher and under 18's licence which is only $99. While this is not suitable for everyone it does allow those people (in particular students and under 18's) a product which is more in keeping with their probable budgets. Having been a PhD student (in of all things usability) for many years $99 is a fair price and is in keeping with most of our competitors. We do review pricing on a regular basis and have NO plans at this stage to alter any of the current licence prices or to offer a "hobbyist" edition. Again if you have any further suggestions regarding the trade off between features and price please feel free to contact me off list. In general we would have preferred more positive comments on Wired. However I would suspect the main gripe regarding pricing was directed at the professional $995 licence. For most people who consider pricing an issue the $299 SBE provides the facilities they need at an affordable price. It is my view that Revolution provides excellent value for money when you take into account the time saved when using it to develop any software application. Finally, it should be noted that regardless of the comments on Wired the article has resulted in a substantial amount of site traffic and downloads. We do take the views of our users seriously, therefore if anyone has any questions regarding the usability or pricing please feel free to contact me off list and myself or the person who handles UI issues will deal with your enquiry. Many thanks for using Revolution and taking the time to read this email. Kind regards, Rod -- Rod McCall Runtime Revolution Ltd T: +44 (0) 870 747 1165 Revolution - The Solution in Software Development In Enterprise, Business and Education From Doug_Ivers at lord.com Thu Aug 15 07:43:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Thu Aug 15 07:43:01 2002 Subject: pull-down menu not working in standalone for windows Message-ID: <6150F6099DBED111852E0008C7241464049B3AAF@NTSRV-CRD04> A point of clarification: I'm using a popup menu such that when the user right-clicks in a field, the menu appears. The only way I know to do this is to create a button of type popup that is hidden, and popup the menu in the mouseDown handler of the field. After further testing, it seems that I have to set the visible of the popup button to true in order to have a functioning popup menu in a standalone for Windows. However, I don't want the user to see the button itself. -- D P.S. Kevin, I'm a registered pro user. > -----Original Message----- > From: Ivers, Doug E > Sent: Tuesday, August 13, 2002 7:23 AM > To: use-revolution at lists.runrev.com > Subject: RE: pull-down menu not working in standalone for windows > > > I've set the "menuMouseButton" property (which can be > accessed via the Properties dialog, last tab) to zero, but it > still doesn't work in Windows. It's as if the popup menu > doesn't know the mouse loc -- there is no response to hover or click. > > > -- D > > > > -----Original Message----- > > From: Sarah [mailto:sarahr at genesearch.com.au] > > Sent: Monday, August 12, 2002 9:05 PM > > To: use-revolution at lists.runrev.com > > Subject: Re: pull-down menu not working in standalone for windows > > > > > > Yes, I've had this problem. Set your menu so that it > > activates with all > > mouse buttons: mode = 0. > > I think that is how I got it to work in the end. > > > > Sarah > > > > > > On Monday, August 12, 2002, at 11:05 pm, Ivers, Doug E wrote: > > > > > I create the stack and build the standalone on Mac OS, and > > then I test > > > it on Windows. My pull-down menu appears when I click, > but I then > > > can't pick any menu item. Has anyone else had this problem? > > > > > > > > > -- D > > > > > > From kkaufman at snet.net Thu Aug 15 08:31:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Thu Aug 15 08:31:01 2002 Subject: Wired HC Article - rev too complicated? Message-ID: <15C78624-B053-11D6-BA6F-00039348A1E6@snet.net> Speaking only for myself as one who had not the slightest interest in programming until I discovered HyperCard (indeed, I had NO knowledge of computers until my father-in-law, 30 years my senior, introduced me to the Mac in 1990), I do remember my initial discomfort at first using SuperCard. But I stuck with it, and eventually put aside HC. The same occurred when first trying MetaCard, but at the time I did not need to produce applications for operating systems other than Mac, so its use was not compelling. Much later, when I tried Revolution, again I felt distinctly ill-at-ease trying to deal with the notion of substacks, groups, menus-as-buttons, etc. as expressed in terms of their use in RunRev. However, needing a cross-platform solution for my clients, I stuck with it, deciding instead to learn the minimum necessary to work with RunRev, and the rest as I went along. In terms of remembering how to do something, I often seem to learn best by trial-and-error, so in having to do X, and doing it incorrectly for RunRev, helps improve the chances that the correct method will thereafter be remembered. Whether I would have become interested in programming at all were I to begin with the RunRev starter kit is difficult to say. I do think what others have already mentioned about certain people having an interest in programming much as others enjoy puzzle-solving is a key factor. Certainly the inclusion of easy-to-script tutorials with impressive results is important. For example, including a tutorial for a stack that would access a web site would also impress those who tend to think of the Internet and computers almost interchangeably. -Kurt From kkaufman at snet.net Thu Aug 15 08:54:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Thu Aug 15 08:54:01 2002 Subject: [ANN] ClipLinkViewer, MIDI Builder Message-ID: <46F83BFF-B056-11D6-BA6F-00039348A1E6@snet.net> ClipLinkViewer is an application which will play in succession all video clips within a selected folder (directory). Clips within the folder may also be viewed individually. Compatible video formats include avi, mov, dv, mpg and mp4. ClipLinkViewer is designed for conveniently viewing the video output of (primarily still-photo) digital cameras, which typically consists of many short video clips. Please note that ClipLinkViewer does not alter, or change the location of any files on your computer. MIDI Builder enables the creation of 1 to 4-voice MIDI files without the need for an external keyboard, sound module or sequencer. Both of the above applications are being released soon as "shareware", but are presently being offered free-of-charge to Runtime Revolution and MetaCard list subscribers. Naturally, both applications were produced with Revolution! Any comments and suggestions are greatly appreciated (off-list). URLs: http://www.shopperturnpike.com/usefulsoftware/midibuilder.html http://shopperturnpike.com/usefulsoftware/cliplinkviewer.html Thank you, Kurt Kaufman PS/Thanks again to the persons who tested ClipLinkViewer. From dan at danshafer.com Thu Aug 15 10:14:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Thu Aug 15 10:14:01 2002 Subject: Hobbyist License Message-ID: Richard Gaskin wrote, in part: At 4:50 AM -0400 8/15/02, use-revolution-request at lists.runrev.com wrote: >But as Apple discovered, a $99 scripting tool does not appear to be viable. I'm not actually convinced Apple learned this. I think what Apple learned was that, for a multi-million-dollar *hardware* company that found itself more or less accidentally in the software business, a $99 scripting tool isn't a viable product. And I doubt there are a lot of people in the world, let alone in xTalkLand, who would argue that Apple is a great marketing company. Historically, in fact, they are quite poor at the real guts of marketing: figuring out what customers want and then making it available broadly at an affordable price. >In addition to the costs associated with all other software development >(mostly r&d and marketing), the support costs for scripting products are >much higher than with nearly any other type of software. Even Metrowerks >has relatively lower support costs, as they support only the IDE itself and >not the language; the vendor of a proprietary scripting tool must support >both. > >Further, the casual user more inclined to buy a non-professional license is >likely to require more support than someone with more experience and a more >disciplined approach to programming. This might be a viable argument if RR provided any support for the product, but in an era of Web/Internet/user-supported software, there is no real reason why it is necessary for a buyer of a low-end product to expect or receive tech support at no additional cost from the publisher. One of the things I think Open Source and Web sites have conditioned people to -- other than the unfortunate sense that everything should cost nothing! -- is that support from fellow users is at least as good as, if not better than, what the company would provide at a fee. I don't believe support needs to play a role in crafting such product policies a we are discussing here unless the publisher wanted to make it an issue. >And perhaps most significant of all is the role that personality types play >in all this. While you are certainly right in your basic position, I would challenge your underlying assumption that programming is programming is programming and that merely reducing the price of a tool will create more programmers. On the contrary. When HyperCard was in its heyday and I was traveling the world promoting my books and speaking to user groups, I found literally thousands of people who had "accidentally" backed into becoming scripters because of the wonderfully seductive nature of the beast. And this wasn't true only of HyperCard/HyperTalk. Other tools produced similar results, though perhaps not on the scale of HC. Bonnie Nardi, who joined Apple's senior research staff for several years, wrote a book called "A Small Matter of Programming" that investigated how untrained users became programmers in many senses of the word. I studied this phenomenon closely for some years. I came up with the phrase "Inventive Users" to describe the "next layer" of programmer/scripter types who were not professional programmers, did not engage in programming for a living, and who were really intent on solving problems they or their colleagues or family members had. I published the "Inventive User Letter" for a brief period before the channel of distribution for it went away. I believe Apple studies prove that a huge proportion of the folks who bought HyperCard or used it did some measure of scripting. FWIW, my conjecture is that if Apple had left HyperCard with Claris, it would have been improved and extended so well that it would *be* what RR has become (at least conceptually), but with more market muscle behind it. Before Apple re-seized HyperCard from Claris, I saw demonstrated fully color versions of the product running on Mac and Windows. I had copies of these things (though they were time-expired and have long since disappeared). They weren't done yet, but they were clearly proof that the product was viable. So, apologies for the long-winded reply here, but I think it is important as we debate the potential resurgence of xCard/xTalk products that we not make the mistake of thinking that Apple has "been there, done that" and that it didn't work. Apple hasn't been there, didn't do that, and really doesn't know what would or wouldn't work if they gave it a legitimate shot. This is why I'm encouraged by what I see and hear of RR so far. The company's fortunes ride not on selling more overpriced, feature-laden computers to an elite group of users (including me!) but on making this product work. They have some ways to go but their progress so far is remarkable. I am encouraged each time I do something in RR and I get goose-bumps at the prospect of being able to rely on such a wonderful product as HyperCard-on-steroids (legal ones, of course!) once again for things my wife, my friends, my children, my grandchildren, and I want our computers to do but for which no software company is going to provide a solution. -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 cowhead at mac.com Thu Aug 15 11:44:01 2002 From: cowhead at mac.com (cowhead at mac.com) Date: Thu Aug 15 11:44:01 2002 Subject: wired HC article In-Reply-To: <200208150418.AAA17658@www.runrev.com> Message-ID: Jim Witte wrote: > I'm running a very small business > reselling items and considering plastic fabrication of Newton parts (a > small market indeed) and thinking of using Rev to do a customer > database, but since I don't make all that much profit, it might make > more since just to learn Excel VB. I'll probably end up getting a small > business license, mainly because I already know quite a bit about HC > scripting and like to mess with computers (geek factor). > Since this is for YOU to use, it doesn't have to look perfect and, most important, it doesn't have to be idiot proof. Idiot-proofing takes a lot of script. Skip that and life gets waaaay easier. So I would just use the free starter kit for a while. As outlined in the docs, the 10 script limit is very easy to expand. For example, you can have a series of buttons called "step1", "step2", "step3" etc. In step1 button's script you can have the line "call step2 of button step2". Button step2 has a script that starts "on step2" and includes the line "call step3 of button step3" and so on. I used metacard this way for years to make fairly complex psycholinguistic experiments. Since only 1 idiot was really using them (me) they didn't have to be completely idiot proof and it was very easy to just pass the script from button to button this way. So I would start this way, and later, if you decide you really need more, plop down the bucks for a small bus license. I don't see how you can argue for a $120 version of this thing when the free one does all you need! The Rev/meta people should perhaps make no other changes except to start selling the starter kit for $90 instead of giving it away for free. If its free, people think it has no value or they feel uncomfortable, that they are somehow cheating. Charge a small price for it and you will watch the rave reviews and profits come pouring in. mark mitchell Japan From dcragg at lacscentre.co.uk Thu Aug 15 11:55:03 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu Aug 15 11:55:03 2002 Subject: libUrl updates In-Reply-To: References: Message-ID: Hi The libUrl 1.0.8a1 updater stack announced on August 13 contained an error. If anyone has run that updater, it's likely that ftp routines won't work properly. (The 1.0.7b5 updater doesn't have the problem.) I've posted a new updater at the url below that does things correctly. Sorry for the mistake. Cheers Dave Cragg From tony.moller at drcs.com Thu Aug 15 15:24:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Thu Aug 15 15:24:01 2002 Subject: Hobbyist License In-Reply-To: Message-ID: on 8/15/02 11:12 AM, Dan Shafer at dan at danshafer.com wrote: >> But as Apple discovered, a $99 scripting tool does not appear to be viable. I have a basic problem with this statement. Look at all the advanced software Apple does put out for free, on the basis of making the Mac platform more usable: iTunes, iPhoto, iCal, iMovie, iDVD, etc. Its apparent that Apple pours lots of money into these packages, and the only return it expects is for more folks to buy Macs. I'm not sure what Apple's real reason for the limbo Hypercard is in, and since I'm not 'in the know' I'm not about to publicly speculate, but I don't think limited sales is at the top of that list - although I'm sure its on the list :) As for RR's price, I remember paying $250 for the Hypercard Developer's Kit (I think that?s what it was called) when it first came out. So, $299 for the RR SBE was not a big deal to me, and I categorize myself as a hobbyist. Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From tony.moller at drcs.com Thu Aug 15 15:31:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Thu Aug 15 15:31:01 2002 Subject: Hobbyist License In-Reply-To: Message-ID: on 8/15/02 11:12 AM, Dan Shafer at dan at danshafer.com wrote: >> But as Apple discovered, a $99 scripting tool does not appear to be viable. Not meaning to double post, but I just remembered a big thing about this statement that also bothers me. Look at the effort Apple puts into AppleScript. Its a scripting tool. Its touted by Apple as an "application development environment." And AppleScript is free. From the AppleScript Studio web site: "AppleScript Studio is now available and is included with the December 2001 Mac OS X Developer Tools. This collection is accesible by members from the Apple Developer Website as either a free download (218 MB) or as a CD ROM for $20. While online membership in the ADC Program is free, other options include Student, Select, and Premier programs offering a variety of support and access options." Personally, I think this is the reason Hypercard is in limbo. Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From jplam at netrin.com Thu Aug 15 16:02:01 2002 From: jplam at netrin.com (Jim Lambert) Date: Thu Aug 15 16:02:01 2002 Subject: Wired HC Article In-Reply-To: <200208151556.LAA31216@www.runrev.com> Message-ID: Interesting thread. Indeed, that seems to be Runtime Revolution Ltd.'s main product. Usability is the primary value you've added to MetaCard. As a HyperCarder from almost day one, I could never get hooked on MetaCard despite its wonderful advantages. Through the years I tried repeatedly, but somehow it never clicked for me - until you released Revolution. Thanks. It's a great product. I hope the company thrives where even the mighty Ellison stumbled. OMO - another two years wasted! ;) Jim Lambert P.S. In a way, Revolution does have an easy-to-grasp beginner's version - HyperCard. From dan at danshafer.com Thu Aug 15 21:15:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Thu Aug 15 21:15:01 2002 Subject: wired HC article Message-ID: At 11:56 AM -0400 8/15/02, Mark Mitchell wrote: >The Rev/meta people should perhaps make no other changes >except to start selling the starter kit for $90 instead of giving it >away for free. If its free, people think it has no value or they feel >uncomfortable, that they are somehow cheating. Charge a small price for >it and you will watch the rave reviews and profits come pouring in. Not sure I agree completely here, Mark, though I *do* take your meaning about free vs. valued seriously. I think a *lot* of us who have bought into other RAD environments at seemingly low price points and then paid a painful learning curve price would probably shy away from RR at this point without the freebie. I think RR has done exactly the right thing on pricing here for the state of their development and market penetration. Once there are hundreds of thousands of RR users, it will make sense to drop the freebie because then there are lots of samples, endorsements, etc. Right now, RR is a pretty "new kid on the block" and given that the out-of-the-box experience is, for a real beginner, pretty opaque, it's not likely that a $99 price point would be conducive to lots of new business. -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 dan at danshafer.com Thu Aug 15 21:22:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Thu Aug 15 21:22:01 2002 Subject: Wired HC Article Message-ID: Rod McCall wrote: >Firstly I think its time we made some comments. Initially we have >had excellent feedback in relation to the usability of Revolution. >Indeed many reviews in websites, magazines and elsewhere have >commented on this subject. I think that when it is compared to other similar or competitive products such as SuperCard, REALBasic, and MetaCard, RR's UI and user experience are absolutely wonderful. For me, there are not a lot of things I would like to see changed (and I suspect that as I gain more experience, this list will grow even smaller!). >However different user groups may have different needs and where >possible we will try to address these issues when they arise. As it should be, but only once the product is established in its initial niche, which I think you've chosen quite well. >As regards pricing we do have a student, teacher and under 18's >licence which is only $99. I didn't know this included "under 18's". Nice touch. Do you just take our word for it? (Speaking as an under-18...multiple times!) >We do review pricing on a regular basis and have NO plans at this >stage to alter any of the current licence prices or to offer a >"hobbyist" edition. Good, clear response, and certainly within your marketing rights. I do not think it is essential at this point that you undertake this effort. It just might be worth considering down the road. >In general we would have preferred more positive comments on Wired. >However I would suspect the main gripe regarding pricing was >directed at the professional $995 licence. Perhaps. >For most people who consider pricing an issue the $299 SBE provides >the facilities they need at an affordable price. It is my view that >Revolution provides excellent value for money when you take into >account the time saved when using it to develop any software >application. I completely agree. I intend to fork over the $300 in the near future and I figure I've already saved that much. >Finally, it should be noted that regardless of the comments on Wired >the article has resulted in a substantial amount of site traffic and >downloads. That's great! And not unexpected. >Many thanks for using Revolution and taking the time to read this email. I'm sure you got this sense, but I for one am grateful as heck to you and your team for providing this product. I want you to be successful so I can continue to count on it being out there for me to use when I want. (I built *three* apps yesterday in less time than it would have taken me to learn the editor for a "real" programming language!) -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 kkaufman at snet.net Thu Aug 15 21:37:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Thu Aug 15 21:37:01 2002 Subject: handle "About..." menupick on OS X Message-ID: I know this has come up before, but a search through recent months' list archives has not turned up an answer: (Using OS X) Short of installing a menubar using the menu manager (with File, Edit and Help menus I do not need), is there any way I can handle the menupick message generated by selecting the "About..." menuitem under the menu named for the standalone itself? If I install a menubar using menu manager (set to function as Mac menubar) and I remove the File, Edit and Help menus, I can't write a script that will handle the "About..." menupick message. If I leave the three menus in, however, the script works. If I do not install a menubar using menu manager, again, it doesn't work. For testing purposes, the script I was using was: on menupick which if which is "About..." answer "About... was selected" end menupick --also tried "About", etc. The actual menuitem seemed to vary based on whether a menubar was actually installed. What AM I doing? thanks, Kurt From bl1ng.bl1ng at gmx.net Fri Aug 16 00:34:00 2002 From: bl1ng.bl1ng at gmx.net (bl1ng.bl1ng at gmx.net) Date: Fri Aug 16 00:34:00 2002 Subject: Override QUIT References: <02162AE1-B01E-11D6-9EB4-003065D52E8E@metascape.org> Message-ID: <3D5C8D96.4010803@gmx.net> It works the other way too. I had a few good laughs setting up this email address (I used Babelfish to get a translation of the registration forms at gmx.net). Klaus Major wrote: > > this is the first time that i read something that has been translated by > "babelfish". > > As a native german speaker i have to say that i can't remember a more > amusing read :-D > > Nevertheless it's understandable. > > > Regards > > > Klaus Major > klaus.major at metascape.org > From jswitte at bloomington.in.us Fri Aug 16 00:43:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Fri Aug 16 00:43:01 2002 Subject: Hypercard and Rev (was: Hobbyist License Message-ID: <1EE24168-B0DA-11D6-99CA-000A27D93820@bloomington.in.us> > I doubt there are a lot of people in the world [..] would argue that > Apple is a great marketing company. Historically, in fact, they are > quite poor at the real guts of marketing: Amen to that! Can anyone say 'Newton'? (Horribly bad management there as well.) But I digress.. > When HyperCard was in its heyday and I was traveling the world > promoting my books and speaking to user groups, I found literally > thousands of people who had "accidentally" backed into becoming > scripters because of the wonderfully seductive nature of the beast. I always thought that what Apple should have done with HC was integrate it directly into the Finder and the OS itself. When I first looked at Applescript, I was extremely put off by the fact that the syntax was somehow harder to write than HC (especially the replacement of 'put' with 'set' - setting properties *of objects* makes sense, but 'setting' values of *containers* doesn't IMO) If Apple had integrated HC into the Finder from the beginning, allowing, say, you to put a button and field and such on the desktop itself, it could have had system-level scripting (on a GUI) at least 3-4 years before anyone else (well, I don't know about the timeline - I'm not an OS historian - Xerox PARC probably had system scripting 20 years ago!) From an 'innovation' point-of-view, this would probably be a good thing; from a business point-of-view, it debatable; and from a historical point-of-view, it's probably irrelevant - someone would have done it anyway, and by 2030 it won't matter who does (as long as the USPTO and the courts don't through a large legal wrench in the works..) As for the 'resurgence of the xTalks' (sounds like a cult movie) - could Revolution be turned into a such a 'on-the-desktop' scripting environment? > I saw demonstrated fully color versions of the product running on Mac > and Windows. I had copies of these things (though they were > time-expired and have long since disappeared). Oh GOD! Reminds me even more of Newton (the Dragon speech recogition demo). Jim -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2245 bytes Desc: not available URL: From ambassador at fourthworld.com Fri Aug 16 00:48:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 16 00:48:00 2002 Subject: Working with Base64 and Mac files In-Reply-To: <200208151556.LAA31216@www.runrev.com> Message-ID: Matt Denton writes: > I've got a small app working that updates various components of itself, > using an update sequence file to download the latest bits via HTTP off > the web. Works a treat! > > I've converted it from FTP to HTTP, which seems fine, however I have had > some problems with Base64 and Mac files: sometimes they work (Rev and > Acrobat) sometimes they don't (usually when an Application file). I'm > assuming this is because some Mac files have a Resource fork and the > base64 encode only encodes the data fork, is that correct? > > So my question is: how do I encode a Mac file, have it on an HTTP > Server, then get it back whole and intact? I looked up 'copyResource' > etc, but no luck. I was thinking to GZIP it first, then Base64 after... > will this preserve the Resource Fork? This will get the resource fork data: put url ("resfile:"&tLocalFilePath) into tResDataVar This will restore it to a file: put tResDataVar into url ("resfile:"& tLocalFilePath) The compress and uncompress functions are great. In my tests here gzip seems quite efficient: on text it often reduces the data size to about 30% of the original. -- 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 Fri Aug 16 01:03:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 16 01:03:01 2002 Subject: Dan Shafer : Wired HC Article - rev too complicated? In-Reply-To: <200208151556.LAA31216@www.runrev.com> Message-ID: Pierre-Marie writes: > To illustrate the problem see http://www.macintouch.com/hypercard.html > Perhaps "Norpath Elements Studio" is the solution for beginner > Perhaps Revolution understands the threat and will make a good and easy > entrance. I took a gander at the screen shots for Norpath. There are some tasty features there, but it got me thinking about tool scope and flexibility: It looks like one of us could build Norpath in a couple weeks with Rev, but could one build Rev with Norpath? Bill Appleton, the inventor of SuperCard, said something interesting in an interview I did with him for a magazine back in the summer of '89 after SuperCard first premiered: "HyperCard is a multimedia authoring environmemt. SuperCard is a tool you can use to build multimedia authoring environmenmts." At first you might ask: "Who needs to build authoring envirinmemnts?" For smaller projects it's not very relevant. But for large projects, the ability to craft custom environments for building specific kinds of stuff becomes more important. For example, one of my recent projects was building a prototype of a medical training system, which will ultimately be part of a 10-CD set of tutorials. With the instructional design and supporting object structure worked out, we've begun work on a custom authoring environmemt to produce the CD series at a significant cost savings over what it would take to do without such tools, turning a production cycle of a week or two down to a couple days. And even if you don't build authoring environments per se, the tools needed to do that serve well for just about any other type of application. The power of Rev over a lot of competitors is just that sort of sweet spot: you can build stuff, but you can also make tools to build stuff for you. In contrast, those with more experience than I with VB and RealBASIC (Lorin, please correct me if this is no longer accurate) have suggested that these tools cannot create applications on the fly. The ways in which objects are created and stored are limited at runtime. It wasn't clear if Norpath offered such things at all, let alone the ability to create custom tool palettes, dialogs, etc. And then there are chunk expressions, so commonly needed yet just as commonly absent from most other language families. Rev's flexibility in this regard is also a pitfall: with so many options, where do you start? Thinking in terms of the "progressive disclosure" principle (see ) I've long wondered whether it might make sense to build a sort of "RevLite" UI, something with the bare essentials exposed to let folks get their feet wet with confidence. As they gain more experience and crave more options, those options would become available. Ah, if only I had more time to actually flesh such things out, rather than ramble about them on an otherwise interesting list... :) -- 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 malte.brill at t-online.de Fri Aug 16 03:31:00 2002 From: malte.brill at t-online.de (malte brill) Date: Fri Aug 16 03:31:00 2002 Subject: handle "About..." menupick on OS X Message-ID: Hello Kurt. I?m using OS9 but I guess it will work on X too. Try creating a new menu with the menumanager. Delete all menus exept the help menu. Finaly delete the help item leaving only the about item and set as menubar. Hope that helps. Malte From ambassador at fourthworld.com Fri Aug 16 03:44:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 16 03:44:01 2002 Subject: Hobbyist License In-Reply-To: <200208151556.LAA31216@www.runrev.com> Message-ID: Dan Shafer writes: > Richard Gaskin wrote, in part: > >> Further, the casual user more inclined to buy a non-professional license is >> likely to require more support than someone with more experience and a more >> disciplined approach to programming. > > This might be a viable argument if RR provided any support for the > product, but in an era of Web/Internet/user-supported software, there > is no real reason why it is necessary for a buyer of a low-end > product to expect or receive tech support at no additional cost from > the publisher. Gee Dan, you make me feel like a dinosaur for offering a year of toll-free telephone support for the products I publish. :) I hope you're right. There was a thread here a while back about no-support licensing options, and at the time a number of folks were very vocal about the need for support. Then again, with the growing popularity of this list maybe that's less of an issue today. > I don't believe support needs to play a role in crafting such product > policies a we are discussing here unless the publisher wanted to make > it an issue. It was an issue with Aldus, Alegiant, Oracle, Sybase, and I presume for Apple as well. But admittedly that was a long time ago, and it's quite likely that today's audience would be more forgiving of support limitations. We also didn't have the Web back then, and email was still a novelty for a lot of folks (man, I'm feeling more like a dinosaur the deeper I go with this). Those two factors greatly reduce the cost of support. >> And perhaps most significant of all is the role that personality types play >> in all this. > > I've ommitted for the sake of reducing clutter but which I recommend > you read!> Dan, from one of the most widely published authorities on xTalks and other scripting languages, that's one of the kindest things anyone's said about my ramblings. You are far too generous - as you'll see here: > While you are certainly right in your basic position, I would > challenge your underlying assumption that programming is programming > is programming and that merely reducing the price of a tool will > create more programmers. You may have to retract your kind words now, as this may be just evidence of my sloppy pre-coffee writing: I had tried to convey the opposite belief, arguing that the price point is not as critical for marketshare once you've got something in the under-$300 range. (Note to self: coffee _before_ posting, not after.) But I do wholeheartedly think you're on to something big here: > On the contrary. When HyperCard was in its heyday and I was > traveling the world promoting my books and speaking > to user groups, I found literally thousands of people who had > "accidentally" backed into becoming scripters because of the > wonderfully seductive nature of the beast. True fact. It happened to me: I was in film school when one day I was poking around in this thing called HyperCard and accidentally made a button. It was like magic: I dropped out of film school to teach myself programming and never looked back. I know a lot of people with similar HyperCard experiences. > I studied this phenomenon closely for some years. I came up with the > phrase "Inventive Users" to describe the "next layer" of > programmer/scripter types who were not professional programmers, did > not engage in programming for a living, and who were really intent on > solving problems they or their colleagues or family members had. I > published the "Inventive User Letter" for a brief period before the > channel of distribution for it went away. I believe Apple studies > prove that a huge proportion of the folks who bought HyperCard or > used it did some measure of scripting. Certainly much larger than with Pascal or C, or even BASIC. Even Microsoft caught the fever: an MS employee once told me that VB was prototyped on a Mac in SuperCard. :) I think we're on the same page: scripters are in limited supply in the gene pool, but there are far more of them then programmers using more structured languages. And when you have the accessible grace and ease of xTalk specifically, we're looking at the largest of potential scripting audiences (did I mention chunk expressions this week? ). > FWIW, my conjecture is that if Apple had left HyperCard with Claris, > it would have been improved and extended so well that it would *be* > what RR has become (at least conceptually), but with more market > muscle behind it. Before Apple re-seized HyperCard from Claris, I saw > demonstrated fully color versions of the product running on Mac and > Windows. I had copies of these things (though they were time-expired > and have long since disappeared). They weren't done yet, but they > were clearly proof that the product was viable. Technically viable no doubt, but did they intend to keep the $99 price tag? > So, apologies for the long-winded reply here, but I think it is > important as we debate the potential resurgence of xCard/xTalk > products that we not make the mistake of thinking that Apple has > "been there, done that" and that it didn't work. Apple hasn't been > there, didn't do that, and really doesn't know what would or wouldn't > work if they gave it a legitimate shot. Good point. Reminds me of Apple's half-hearted attempt at cloning, which some loyalists offer as "proof" that cloning doesn't work (the explosion of the PC market somehow doesn't get factored into the analysis). > This is why I'm encouraged by what I see and hear of RR so far. The > company's fortunes ride not on selling more overpriced, feature-laden > computers to an elite group of users (including me!) but on making > this product work. They have some ways to go but their progress so > far is remarkable. I am encouraged each time I do something in RR and > I get goose-bumps at the prospect of being able to rely on such a > wonderful product as HyperCard-on-steroids (legal ones, of course!) > once again for things my wife, my friends, my children, my > grandchildren, and I want our computers to do but for which no > software company is going to provide a solution. Amen, brother. Let the Revolution revolution begin! -- 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 GernotL at t-online.de Fri Aug 16 04:24:01 2002 From: GernotL at t-online.de (Gernot Lorenz) Date: Fri Aug 16 04:24:01 2002 Subject: About menu References: Message-ID: <3D5C35A1.6070909@rz-online.de> malte brill schrieb: >Guten Tag Gernot, bin auch aus Deutschland. > >You find the item "about" in the menumanager as item of the help menu >(second item) if you create a new menu. Check Set as Menubar on MacOs > >Sie finden den Eintrag "about" im Menumanager unter "help" (zweiter Eintrag) >Machen sie ein H?ckchen in die Checkbox Set as menubar on Mac OS. > >Hoffe das hilft. >Gru? >Malte > > > Besten Dank, llieber Malte, es funktioniert in der Tat. Man mu? es halt wissen, vielleicht steht es doch in den online-Hilfen, aber ich hab es leider nicht gefunden. Gru? Gernot From heather at runrev.com Fri Aug 16 04:45:01 2002 From: heather at runrev.com (Heather Williams) Date: Fri Aug 16 04:45:01 2002 Subject: Wired HC Article In-Reply-To: <200208160745.DAA10169@www.runrev.com> Message-ID: >> As regards pricing we do have a student, teacher and under 18's >> licence which is only $99. > > I didn't know this included "under 18's". Nice touch. Do you just > take our word for it? (Speaking as an under-18...multiple times!) Ahem. While we are trusting folk, and of course all our customers are nice, honest 16 year olds, when you order a student license, you will get a polite little message from me, requesting your student id, birth certificate, or other suitable evidence... If it has a photo, all the better, I love seeing what you all look like :-) Regards, Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution - The Solution From janschenkel at yahoo.com Fri Aug 16 05:54:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Aug 16 05:54:00 2002 Subject: Disabling items in an option-style button Message-ID: <20020816105208.41030.qmail@web11905.mail.yahoo.com> Hi all, In the process of preparing a conversion of an existing FoxPro program to RunRev, I ran into a small problem. Here's the deal: The user can choose a country from a popup-menu with 14 items: the first is the selected item; the second a disabled horizontal line; then the 10 pre-selected items from the preferences; then another disabled horizontal line; then the item 'Other...' which displays a complete list where the user can pick when it's not in the 10 pre-selected items. So for testing purposes i made an option menu Belgium (- Belgium Netherlands Luxembourg United Kingdom France Germany Italy Spain Portugal United States (- Other... However, RunRev stubbornly refuses to disable the horizontal lines, if you're working with an option or combo-box style button. Admittedly, I can mimick the behaviour by building a substack, setting the menuName of the option button to that substack, and have it show a 'preOpenStack'-prepared version of a collection of 12 buttons and two horizontal lines. But is this workaround really necessary or am I missing something obvious? Btw, I'm running Revolution 1.1.1r2 under WinME. Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com From ludovic.thebault at laposte.net Fri Aug 16 06:24:01 2002 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Fri Aug 16 06:24:01 2002 Subject: get the list of open applications and windows ? In-Reply-To: References: Message-ID: <200208161321.040002445@smtp.laposte.net> in : >I had only tested this in the Script Editor but when testing in Rev, I >found that it worked with one minor problem. The AppleScript separates >the names with a "return" which to AppleScript is ascii 13. Rev uses >ascii 10 for an end of line, so the AppleScripts return didn't actually >produce a line break. Thanks. It's works. From switchedon at hsj.com Fri Aug 16 06:35:01 2002 From: switchedon at hsj.com (Bill Lynn) Date: Fri Aug 16 06:35:01 2002 Subject: wired HC article In-Reply-To: <200208160745.DAA10169@www.runrev.com> Message-ID: As an aside to the discussion of the Wired HC article, Richard Wanderman, who was interviewed awhile ago for that piece, has a number of HC stacks that he created years ago, many of them as resources for struggling readers and writers (he is a learning disabled adult). Richard and I are long-time friends and live quite near each other here in Connecticut. After reading the Wired article I asked him if he would mind making his stacks available (as stacks, not as applications as they are now) to developers on this list. He has given his consent to do so and, if there is sufficient interest, I will post them to a private folder on my web site and post the URL here. Drop me an email (please don't respond to the list) if you are interested in such stacks as Word Parts, Phonics Workout, Confusing Words, Ziggy Gets Out, The Bee and others. If I get more than a dozen or so responses I will take the time to post them for you. Cheers... Bill Lynn Simtech Publications www.hsj.com From wmb at internettrainer.com Fri Aug 16 06:52:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Fri Aug 16 06:52:01 2002 Subject: Dan Shafer : Wired HC Article - rev too complicated? In-Reply-To: <200208160745.DAA10169@www.runrev.com> Message-ID: <2873ABEA-B10E-11D6-9CEC-003065430226@internettrainer.com> On Friday, August 16, 2002, at 09:45 AM, Richard Gaskin wrote: > Pierre-Marie writes: > >> To illustrate the problem see http://www.macintouch.com/hypercard.html >> Perhaps "Norpath Elements Studio" is the solution for beginner >> Perhaps Revolution understands the threat and will make a good >> and easy >> entrance. > > I took a gander at the screen shots for Norpath. There are some tasty > features there, but it got me thinking about tool scope and > flexibility: > It looks like one of us could build Norpath in a couple weeks with Rev If this is possible why they did not make in 2 years? * the Applov (Application Overview) Window rezisable * Drag and drop * Rtf import * A better palettes handling * etc > , but > could one build Rev with Norpath? But i prefer it less overloaded and windowstyled - f.e. like iShell. Make an iShell style (not a copy) Ui run on Rev/Mc engine. I can give you a list of Apps wich have also a great UI. A brainfriendly no coder (!) Interface for the rest of us: Not more! Crossplatform and fast as rev without the need of QT (but the possiblity to run it). This will be *the* killer app in authoring. If you can do that I?ll be you first customer!! I have proposed something like this long time ago on the list, in times of rev?s beta, but I think they have only laughed at me. At this time there was no Norpath, no Supercard 4.0, no iShell for OSX, no Quarbon, etc... Now there are some of them here and alot more on the horizont and still further developed and "refuirbished" tools like Flash Mx, or (good) old fellows like Director... ... > > For example, one of my recent projects was building a prototype > of a medical > training system, which will ultimately be part of a 10-CD set > of tutorials. > With the instructional design and supporting object structure > worked out, > we've begun work on a custom authoring environmemt to produce > the CD series > at a significant cost savings over what it would take to do > without such > tools, turning a production cycle of a week or two down to a > couple days How did you do that with revs texthandling poor html, and without importing of rtf or pasting of styled text in a couple of days for 10 CD?s? I m really keen to know how you did that? Maybee you did (only) the scripting part of the project, knowing MC and Rev very well since a lot of years..? But the thread here is, that rev is to complicated for normal user, power user, scripting beginners, occasional programmers, multimedia authors, educators, pupils, trainer, without a couple of persons in background wich can do the rest of the stuff... > The power of Rev over a lot of competitors is just that sort of > sweet spot: > you can build stuff, but you can also make tools to build stuff for you ... > Rev's flexibility in this regard is also a pitfall: with so > many options, > where do you start? Thinking in terms of the "progressive disclosure" > principle (see > > ) > I've long wondered whether it might make sense to build a sort > of "RevLite" > UI, something with the bare essentials exposed to let folks get > their feet > wet with confidence. As they gain more experience and crave > more options, > those options would become available. If Omni Graffle goes further in the direction where its going now with links and scripting, than imho you are wasting your time writing "RevLite"... > > Ah, if only I had more time to actually flesh such things out, > rather than > ramble about them on an otherwise interesting list... :) I know this problem too ;) Finally we have rev as a great scripting tool but its not an Authoring tool. Therefore it will loose this kind of users. The posting from Bruce Lewis on http://www.macintouch.com/hypercard.html describes perfectly my situation. An I have to think in my future trainingsmaps? developer net. I have no idea, this was my naively thinking 2 years ago when I have decided to buy rev as an authoring tool. Now I ask myself how should this (type) of developer understand rev and how should I (teach) or at least demonstrate how it works to them... Really NO idea! I m not a scripter, but may bee a kind of power user. After 2 years struggling with rev, I fear a couple of Director Licenses (or/and some hours of Director programmers) would have been cheaper than one Pro License of Rev. I like this guys at the run rev team and the support they do is really great. But if I need help/support for so much things and still have so much UI and stability problems wich never have been solved, than i have to think in an alternative solution. I?ll do that now. The help from these lists (use and improve) the support of the team, the intelligent marketing and the price structure are the real power of rev, the tool itself - hmmmm..? 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 rodmc at runrev.com Fri Aug 16 08:34:01 2002 From: rodmc at runrev.com (Rod McCall) Date: Fri Aug 16 08:34:01 2002 Subject: Help with Languages required Message-ID: <1029504731.3d5cfedbafa9b@webmail.spamcop.net> Being from the UK my knowledge of other languages is somewhat poor (and rather embarassing), hence I am looking for people to help me. Basically the whole task take a few minutes (maximum). Therefore if you are able to speak any of the following languages please get in touch: Greek Chinese Japanese Polish Hungarian and possibly Ukranian but I'm not sure yet. Any help greatfully received. Kind regards, Rod -- Rod McCall Runtime Revolution Ltd T: +44 (0) 870 747 1165 Revolution - The Solution in Software Development In Enterprise, Business and Education From rodmc at runrev.com Fri Aug 16 08:46:00 2002 From: rodmc at runrev.com (Rod McCall) Date: Fri Aug 16 08:46:00 2002 Subject: Help with Languages required Message-ID: <1029505429.3d5d019553533@webmail.spamcop.net> Oh before I forget, Turkish would also be useful. Quoting Rod McCall : > Being from the UK my knowledge of other languages is somewhat poor (and > rather embarassing), hence I am looking for people to help me. Basically the > whole task take a few minutes (maximum). Therefore if you are able to speak > any of the following languages please get in touch: > > Greek > Chinese > Japanese > Polish > Hungarian > > and possibly Ukranian but I'm not sure yet. > > Any help greatfully received. > > Kind regards, > > Rod > > -- > Rod McCall > Runtime Revolution Ltd > T: +44 (0) 870 747 1165 > Revolution - The Solution in Software Development > In Enterprise, Business and Education > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Rod McCall Runtime Revolution Ltd T: +44 (0) 870 747 1165 Revolution - The Solution in Software Development In Enterprise, Business and Education From tony.moller at drcs.com Fri Aug 16 09:46:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Fri Aug 16 09:46:01 2002 Subject: Dumb question (delete substack) Message-ID: Okay, I realize this is probably a dumb question, but I'm having one of those Friday's where I can't seem to find anything... How do you delete a substack from a stack? I created one as a temp area, and now I don't need it... Thanks! Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From klaus.major at metascape.org Fri Aug 16 09:59:00 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 16 09:59:00 2002 Subject: Dumb question (delete substack) In-Reply-To: Message-ID: <3822EA6E-B128-11D6-864C-003065D52E8E@metascape.org> Hi Tony, > Okay, I realize this is probably a dumb question, but I'm having one of > those Friday's where I can't seem to find anything... > > How do you delete a substack from a stack? I created one as a temp > area, > and now I don't need it... > > Thanks! > Tony type this into the message box: delete stack "temp area" of stack "mainstack" ## with your stacknames of course... :-D Yo, it's friday ;-) Regards Klaus Major klaus.major at metascape.org From Doug_Ivers at lord.com Fri Aug 16 10:25:00 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Fri Aug 16 10:25:00 2002 Subject: Help with Languages required Message-ID: <6150F6099DBED111852E0008C7241464049B3AB5@NTSRV-CRD04> Turkish is not my mother tongue, and I'm not fluent, but I know Turkish to a degree. Can I be of any help? -- D From wmb at internettrainer.com Fri Aug 16 11:16:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Fri Aug 16 11:16:01 2002 Subject: Wired HC Article (Rod McCall) In-Reply-To: <200208151556.LAA31216@www.runrev.com> Message-ID: <0513F078-B133-11D6-A339-003065430226@internettrainer.com> On Thursday, August 15, 2002, at 05:56 PM, Rod McCall wrote: Hi Rod > Hi Everyone, > > Firstly I think its time we made some comments. Initially we > have had excellent feedback in relation to the usability of > Revolution. Indeed many reviews in websites, magazines and > elsewhere have commented on this subject. However if you feel > there are specific usability or UI issues please contact us > (off list) and we will see what we can do. > > The usability of Revolution is something we take very seriously > and do expend a large amount of resources, time and effort to > ensure that the user experience is of the highest possible > standard for as many users as possible. However different user > groups may have different needs and where possible we will try > to address these issues when they arise. So many times i have read here too: the rev team is waching this 2 lists all the time, and seriosly lookin for the needs of our.... So i have posted to the lists so much mails to improve the UI, the usability, the interface design etc... But what happened - a lot of new scripting and programming features have been anounced; but for the authoring - nothing! Thats ok for a scripting tool.... "The excellent feedback in relation, to the usability of rev", you are refering, is from the point of view of a programmer. For them rev may be a big improvment in UI design, but show me the reviews from the designer, layouter, or multimedia authos please... They are all mostly using iShell (Director)for authoring and rev for the scripting projects... Some days ago i have asked here on the list about the Profil Manger. A serious time eating usability problem, wich makes it impossible to set the font size bigger for windows without formating all texts by hand again. It was a reply to a tip from Jeanne about the PM. But I did not get any answer from her or from the rev team. (From the list yet) Then I forwarded this two days ago *offline* to her, - no answer until now. About a week ago I replyed to a post from Kevin to the improve list with a question about the ugly "textfield border color"-bug in OSX, no answer! During rev?s beta time I got answers from Kevin mostly on the same day after posting. The result of struggling with rev, i have deceded because it great crossplatform features is now: OS9: inexplicable engine is crashes on quit OSX: ugly border Color bug Windows: text to small. On high screen resolution nearly unreadable Linux: not tested =:O > We do take the views of our users seriously, therefore if > anyone has any questions regarding the usability or pricing > please feel free to contact me off list and myself or the > person who handles UI issues will deal with your enquiry. Why should i again waste time and send all that now offline to you when you this all? Why do you think this will help *now*? And.., if it really helps - When will it be? > Rod McCall > Runtime Revolution Ltd > T: +44 (0) 870 747 1165 > Revolution - The Solution in Software Development > In Enterprise, Business and Education 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 dan at danshafer.com Fri Aug 16 11:38:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Aug 16 11:38:01 2002 Subject: Wired HC Article - rev too complicated? Message-ID: Richard Gaskin wrote: >Rev's flexibility in this regard is also a pitfall: with so many options, >where do you start? Thinking in terms of the "progressive disclosure" >principle (see >) >I've long wondered whether it might make sense to build a sort of "RevLite" >UI, something with the bare essentials exposed to let folks get their feet >wet with confidence. As they gain more experience and crave more options, >those options would become available. Right on! But so easily fixed. By creating a simpler out-of-the-box experience using something similar to Apple's "home stack" -- and by including some badly needed example stacks and pre-built buttons, etc. -- RR could provide this capability without resorting to yet another version. this is a project only RR can solve; there's no incentive for a third party to do so. yet. Also with respect to the tool-building argument ("HyperCard is a multimedia authoring environment. SuperCard is a tool for building multimedia authoring environments."), that's an oldie but goodie. Back in the really old days (you ain't got nuthin' on me, Richard!), Lisp programmers used to belittle Prolog on the basis that you could write a Prolog interpreter in Lisp but you could never write a Lisp interpreter in Prolog. I never saw the value of that argument, though its accuracy is undoubtable. I built a ton of tools in HyperCard. And I'm already building some in RR. I do think there are levels of development tools, though, and it appears to be true that RR is better suited to building other tool-like apps than, say, NorPath (which I'll be downloading and evaluating this weekend). > > Before Apple re-seized HyperCard from Claris, I saw >> demonstrated fully color versions of the product running on Mac and >> Windows. I had copies of these things (though they were time-expired >> and have long since disappeared). They weren't done yet, but they >> were clearly proof that the product was viable. > >Technically viable no doubt, but did they intend to keep the $99 price tag? Probably not. I think there was even some talk about forking the product so that a cheap HyperCard (Mac-only, black & white) would remain available and the new product would be an upgrade/upsell. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer Writer, Spiritual Student and Teacher Founder, Fellowship of One Mind, Monterey, CA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From dan at danshafer.com Fri Aug 16 11:51:00 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Aug 16 11:51:00 2002 Subject: HyperCard and Rev [was: Hobbyist License] Message-ID: Jim Witte wrote: > I always thought that what Apple should have done with HC was >integrate it directly into the Finder and the OS itself. We're probably on the verge of starting to annoy all the new people who are still asking, "What's this HyperCard thing and who gives a rat's patoot?" but I'll risk one more anecdote. When HyperCard was about two years old or so, I was invited by the then lead Evangelist for HC (bob Perez) to lunch to discuss where Apple was considering taking HyperCard and to get my take on it. (My HyperTalk book was all the rage at the time, so I had some cachet, I suppose.) Bob outlined for me the idea of embedding HC into the Mac ROM and making it the system-wide scripting language for everything. This pre-dates AppleScript, remember. I told him I thought that was a brilliant idea. As I recall, I jumped out of my seat as I reacted to it. Think about where Apple would be if they had put HC and a TCP/IP stack in the Mac ROM in the late 80's or even early 90's. Sadly, such vision was not to carry the day. For reasons I'm sure are lost to antiquity, AppleScript -- a decent enough language but clearly not in the same league as HyperTalk -- defeated the real gem of Apple's software universe and the rest is history. As I understand it -- and I think this is accurate info based on the quality of my source -- HC3 was going to use QuickTime movies as its native format rather than the proprietary HC file format. But they couldn't get anything resembling reasonable performance out of data stored in QT formats. -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 rodmc at runrev.com Fri Aug 16 13:00:01 2002 From: rodmc at runrev.com (Rod McCall) Date: Fri Aug 16 13:00:01 2002 Subject: Wired HC Article (Rod McCall) Message-ID: <1029520682.3d5d3d2a41878@webmail.spamcop.net> hi Wolfgang (and everyone else reading this), > So many times i have read here too: the rev team is waching this > 2 lists all the time, and seriosly lookin for the needs of > our.... To be honest we do watch these lists and read them everyday! These lists are our main source of feedback from customers/users and it would be *very foolish* if we didn't pay attention to what people were saying on them. > "The excellent feedback in relation, to the usability of rev", > you are refering, is from the point of view of a programmer. For > them rev may be a big improvment in UI design, but show me the > reviews from the designer, layouter, or multimedia authos > please... I honestly don't know about the individual background of many of the reviewers but I know they vary from programmers to multimedia developers. In each case the magazines/websites go to some length to pay/obtain someone who knows something about the field. > in OSX, no answer! During rev?s beta time I got answers from > Kevin mostly on the same day after posting. Well I can't comment on specifics except to say we have put in a whole supporting structure to report, log, track and fix any technical or UI issues which appear. We have also increased the staff resources in this area. In terms of response time we will look into this and see firstly if it is a problem and secondly what can be done about it. Moreover, it should be noted we have an order of magnitude more users now than during the beta stage and our response time from what I can see has nearly always remained within 1 business day, this is despite the increase in user base. Where this isn't the case we shall investigate. I guess you've purchased a pro licenece and quite rightfully expect $995 service. > > We do take the views of our users seriously, therefore if > > anyone has any questions regarding the usability or pricing > > please feel free to contact me off list and myself or the > > person who handles UI issues will deal with your enquiry. > > Why should i again waste time and send all that now offline to > you when you this all? The main reason was to avoid the use list becoming a stream of feature requests. While feature requests are welcome on the use list they are probably better served by being dicussed on an individual basis. That way we can find out specifically what your requirements may be and dicuss them in more detail. As for UI specific issues my background is in that area so by inviting you to contact me directly I was infact offering to be helpful. I would like to put some of my studies (which have lasted far too many years!) to use :-) Moreover, I would also have forwarded them onto the person who is responsible for the user experience and they no doubt would also have been of help. > Why do you think this will help *now*? > And.., if it really helps - When will it be? A lot of issues will be fixed/implemented in 1.5 but we don't have a firm release date for this yet, as soon as we do it will be announced. Kind regards, Rod -- Rod McCall Runtime Revolution Ltd T: +44 (0) 870 747 1165 Revolution - The Solution in Software Development In Enterprise, Business and Education From Aphcard at aol.com Fri Aug 16 13:56:01 2002 From: Aphcard at aol.com (Aphcard at aol.com) Date: Fri Aug 16 13:56:01 2002 Subject: Deleting cards slower in distribution Message-ID: <179.d1ffdac.2a8ea444@aol.com> I have to delete about 150 cards in Rev (windows-vesion). I use following code: on delete_cards lock screen go to first card repeat for (number of cards + 1) try delete this card end try go previous card end repeat unlock screen end delete_cards When I execute this code inside the IDE of Rev, it takes about 1/4 sec. After building a distribution for Windows, the same code executes in about 3 seconds. I also built a distribution with Metacard 2.4.3b. In this version it runs at speedy 1/4 seconds (the same as inside the Rev-IDE). Is it a known problem of the 2.4.1 engine? Regards Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: From heather at runrev.com Fri Aug 16 14:08:01 2002 From: heather at runrev.com (Heather Williams) Date: Fri Aug 16 14:08:01 2002 Subject: Wired HC Article In-Reply-To: <200208161539.LAA19177@www.runrev.com> Message-ID: > Message: 12 > Date: Fri, 16 Aug 2002 18:12:53 +0200 > Subject: Re: Wired HC Article (Rod McCall) > From: "Wolfgang M. Bereuter" > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > > On Thursday, August 15, 2002, at 05:56 PM, Rod McCall > wrote: > Hi Rod > >> Hi Everyone, >> >> Firstly I think its time we made some comments. Initially we >> have had excellent feedback in relation to the usability of >> Revolution. Indeed many reviews in websites, magazines and >> elsewhere have commented on this subject. However if you feel >> there are specific usability or UI issues please contact us >> (off list) and we will see what we can do. >> >> The usability of Revolution is something we take very seriously >> and do expend a large amount of resources, time and effort to >> ensure that the user experience is of the highest possible >> standard for as many users as possible. However different user >> groups may have different needs and where possible we will try >> to address these issues when they arise. > > So many times i have read here too: the rev team is waching this > 2 lists all the time, and seriosly lookin for the needs of > our.... > So i have posted to the lists so much mails to improve the UI, > the usability, the interface design etc... But what happened - a > lot of new scripting and programming features have been > anounced; but for the authoring - nothing! Thats ok for a > scripting tool.... > "The excellent feedback in relation, to the usability of rev", > you are refering, is from the point of view of a programmer. For > them rev may be a big improvment in UI design, but show me the > reviews from the designer, layouter, or multimedia authos > please... They are all mostly using iShell (Director)for > authoring and rev for the scripting projects... > > Some days ago i have asked here on the list about the Profil > Manger. A serious time eating usability problem, wich makes it > impossible to set the font size bigger for windows without > formating all texts by hand again. It was a reply to a tip from > Jeanne about the PM. But I did not get any answer from her or > from the rev team. (From the list yet) Then I forwarded this two > days ago *offline* to her, - no answer until now. > About a week ago I replyed to a post from Kevin to the improve > list with a question about the ugly "textfield border color"-bug > in OSX, no answer! During rev?s beta time I got answers from > Kevin mostly on the same day after posting. Can I respectfully point out, that during the beta test period we had a limited number of testers and Kevin was working full time on the programming aspects of Rev. Now we have a very large number of users, and Kevin has an extremely busy schedule as Managing Director. While he makes every effort to keep up with his mail, and does reply to it all in as short a time scale as possible, there is only so much Kevin to go round. We have not yet managed to write a "clone Kevin" program in Rev, though it has been discussed... You are likely to get a faster response if you send your mail to support at runrev.com rather than to Kevin direct. Additionally, members of the team have been taking holidays over the last few weeks on a rotating basis (no, we are not machines, yes, we do very occasionally take holidays) and this has not helped response times. That said, your mail has been or will be read and your views taken into account. We genuinely do value them. We have a difficult juggling act to perform in prioritizing which features/bug fixes/new directions should happen next, with a limited amount of programmer time available. We'd love to be able to implement all the great suggestions I've been seeing on this list lately. We'd be ecstatic if we could eliminate every bug overnight. It's not reality. Rev is a great tool for many purposes. A large number of people are using it for pleasure and profit. It's not perfect, and it's not the best fit for everything, though we'd like it to be, and we're working towards that goal. If you feel a different tool would serve you better, that's an assessment you have to make. Regardless of what you decide, you should know that your input and support over the last year and during the development period of Revolution has been and will be valued, Regards, Heather > > The result of struggling with rev, i have deceded because it > great crossplatform features is now: > OS9: inexplicable engine is crashes on quit > OSX: ugly border Color bug > Windows: text to small. On high screen resolution nearly unreadable > Linux: not tested =:O > >> We do take the views of our users seriously, therefore if >> anyone has any questions regarding the usability or pricing >> please feel free to contact me off list and myself or the >> person who handles UI issues will deal with your enquiry. > > Why should i again waste time and send all that now offline to > you when you this all? > Why do you think this will help *now*? > And.., if it really helps - When will it be? > >> Rod McCall >> Runtime Revolution Ltd >> T: +44 (0) 870 747 1165 >> Revolution - The Solution in Software Development >> In Enterprise, Business and Education > > 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 -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution - The Solution From troy at rpsystems.net Fri Aug 16 14:22:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Aug 16 14:22:01 2002 Subject: Wired HC Article (Rod McCall) In-Reply-To: <0513F078-B133-11D6-A339-003065430226@internettrainer.com> Message-ID: <30677D37-B14D-11D6-ADAF-000393853D6C@rpsystems.net> On Friday, August 16, 2002, at 12:12 PM, Wolfgang M. Bereuter wrote: > For them rev may be a big improvment in UI design, but show me the > reviews from the designer, layouter, or multimedia authos please... > They are all mostly using iShell (Director)for authoring and rev for > the scripting projects... Interesting. I hadn't thought about it from quite that perspective, but that is my company in a nutshell (or... iShell.) When it is heavily based on media and "interactive" we use iShell, when it is scripting heavy, we use Rev. For us, this is usually a pretty clear-cut decision on which tool to use. I'm not sure that I consider it a failing of Rev, unless one wishes to accomplish ALL possible projects in one development environment. Sure, that would be nice, but I've never seen such an environment. Rev is superbly fast for code work, and the language is quite fun and readable (we call Rev scripts "stories") but it is nowhere near the speed of development when it comes to "multimedia style" work, as iShell is. We have tested this. It takes MUCH longer to develop the same content in Rev that can be done in iShell IF it is a "media rich" program. Now, on the plus side, Rev's shear power says that it has far more "headroom" regarding depth of capability, and most things that can be done in iShell can be done in Rev - with a little extra effort. So Wolfgang, I do agree that Rev has a ways to go if you wish to use it for multimedia development as opposed to the two other guys (Director and iShell.) Maybe I don't have the same expectations of the tool in that arena just yet. Besides... I really like iShell - for what it does, its powerful, stable, and extremely fast to develop in. I also really like Rev. It's even more powerful and reasonably fast - stability? That comes in time. ;) -- Troy RPSystems, LTD www.rpsystems.net From jperryl at ecs.fullerton.edu Fri Aug 16 14:24:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri Aug 16 14:24:01 2002 Subject: Stupid, Disastrous Newbie Error In-Reply-To: <179.d1ffdac.2a8ea444@aol.com> Message-ID: Hi, I don't know what dumb thing I just did, but whatever it was, in creating and attempting to use a substack, my main stack now has no window (just the Rev menu bar and environment. 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 From jperryl at ecs.fullerton.edu Fri Aug 16 14:26:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri Aug 16 14:26:01 2002 Subject: Dumb, Disastrous Newbie Error In-Reply-To: <179.d1ffdac.2a8ea444@aol.com> Message-ID: Never mind... reset the visibility. Whew! Judy From Doug_Ivers at lord.com Fri Aug 16 14:36:00 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Fri Aug 16 14:36:00 2002 Subject: pull-down menu not working in standalone for windows Message-ID: <6150F6099DBED111852E0008C7241464049B3AB8@NTSRV-CRD04> I still don't have a solution for this. Can anyone help me? Is this a bug? -- D > -----Original Message----- > From: Ivers, Doug E > Sent: Thursday, August 15, 2002 8:39 AM > To: use-revolution at lists.runrev.com; kevin at runrev.com > Subject: RE: pull-down menu not working in standalone for windows > > > A point of clarification: I'm using a popup menu such that > when the user right-clicks in a field, the menu appears. The > only way I know to do this is to create a button of type > popup that is hidden, and popup the menu in the mouseDown > handler of the field. > > After further testing, it seems that I have to set the > visible of the popup button to true in order to have a > functioning popup menu in a standalone for Windows. However, > I don't want the user to see the button itself. > > > -- D > > P.S. Kevin, I'm a registered pro user. > > > > -----Original Message----- > > From: Ivers, Doug E > > Sent: Tuesday, August 13, 2002 7:23 AM > > To: use-revolution at lists.runrev.com > > Subject: RE: pull-down menu not working in standalone for windows > > > > > > I've set the "menuMouseButton" property (which can be > > accessed via the Properties dialog, last tab) to zero, but it > > still doesn't work in Windows. It's as if the popup menu > > doesn't know the mouse loc -- there is no response to hover > or click. > > > > > > -- D > > > > > > > -----Original Message----- > > > From: Sarah [mailto:sarahr at genesearch.com.au] > > > Sent: Monday, August 12, 2002 9:05 PM > > > To: use-revolution at lists.runrev.com > > > Subject: Re: pull-down menu not working in standalone for windows > > > > > > > > > Yes, I've had this problem. Set your menu so that it > > > activates with all > > > mouse buttons: mode = 0. > > > I think that is how I got it to work in the end. > > > > > > Sarah > > > > > > > > > On Monday, August 12, 2002, at 11:05 pm, Ivers, Doug E wrote: > > > > > > > I create the stack and build the standalone on Mac OS, and > > > then I test > > > > it on Windows. My pull-down menu appears when I click, > > but I then > > > > can't pick any menu item. Has anyone else had this problem? > > > > > > > > > > > > -- D > > > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From tony.moller at drcs.com Fri Aug 16 14:57:00 2002 From: tony.moller at drcs.com (Tony Moller) Date: Fri Aug 16 14:57:00 2002 Subject: Card Size Message-ID: Can the cards in a stack have different sizes from each other, or do they all have to be the same size? Example: every card is 3x5 or half 3x5 and half 6x6? Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From bvlahos at jpl.nasa.gov Fri Aug 16 16:06:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Fri Aug 16 16:06:01 2002 Subject: Card Size In-Reply-To: Message-ID: Tony, Every card in a stack must be the same size. There are a couple of ways to solve your problem. 1. Use multiple stacks. Data can be pulled from any stack so if you want the same data displayed in different formats that is ok. 2. You can readjust the size of the card dynamically. You may, or may not, want to take advantage of the Geometry Manager when you do this. Perhaps make a hidden field with the dimensions for the card and call it in the openStack handler. Bill Vlahos On Friday, August 16, 2002, at 12:54 PM, Tony Moller wrote: > Can the cards in a stack have different sizes from each other, or do > they > all have to be the same size? Example: every card is 3x5 or half 3x5 and > half 6x6? > > Tony > ------------------------------------ > Tony Moller - Network Admin > DRCS > 6849 Old Dominion Drive - Suite 320 > McLean, VA 22101 > Tel: 703-749-3118 Fax: 703-749-0967 > Pgr: 703-719-5324 <7037195324 at my2way.com> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From bornstein at designeq.com Fri Aug 16 16:14:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Fri Aug 16 16:14:01 2002 Subject: pull-down menu not working in standalone for windows Message-ID: <200208162112.g7GLC3W20885@mailout5-0.nyroc.rr.com> > A point of clarification: I'm using a popup menu such that > when the user right-clicks in a field, the menu appears. The > only way I know to do this is to create a button of type > popup that is hidden, and popup the menu in the mouseDown > handler of the field. > Why do you have to make a hidden button and force the popup display in a mousedown handler? A regular popup should work just fine. What problems are you having with it? >After further testing, it seems that I have to set the visible of the >popup button to true in order to have a functioning popup menu in a >standalone for Windows. However, I don't want the user to see the button >itself. When I make a normal popup button, the button doesn't 'appear' as a button (except that the name is visible by default) so I don't understand what the user is seeing. But the things you can do to make sure a button won't be seen (but is still "visible") are to set the following properties: showborder=false threeD=false opaque=false showName=false showfocusBorder=false autohilite=false I made a button like this under Windows (I didn't test in as a standalone) and the popup shows up (I set menuMouseButton to 0 or 3--both worked) without the button being "visible". See if this helps. If I'm completely missing your point, try to provide a little more detail as to what the problem is. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From kkaufman at snet.net Fri Aug 16 16:39:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Fri Aug 16 16:39:01 2002 Subject: handle "About..." menupick on OS X Message-ID: <52CBE886-B160-11D6-86C5-00039348A1E6@snet.net> Thanks for your suggestion, Malte. I think that the biggest problem here is going to be that I have carefully laid out all of my objects in the stack window....if a portion is now to be covered by a menubar and subsequently hidden, then I have to rearrange everything! Is this really the way it must work? If so, it would be good practice to set up stacks intended for Mac distribution with a default menubar at the outset. This should be mentioned in the docs (if it isn't). Even better would be for the stack to be extended on TOP, so that no visible area would be hidden. Again, if I'm missing something here, please set me straight! -Kurt From alanira9 at mac.com Fri Aug 16 17:46:01 2002 From: alanira9 at mac.com (Alan Gayne) Date: Fri Aug 16 17:46:01 2002 Subject: RunRev will win IF... Message-ID: ---------- From: Alan Gayne Date: Fri, 16 Aug 2002 09:07:28 -0400 To: Jan Schenkel , Cc: Bob Subject: Re: list field on 8/16/02 7:06 AM, Jan Schenkel at janschenkel at yahoo.com wrote: > --- Alan Gayne wrote: >> [snip] >> >> Jan - thanks for direction. I'll check out those >> sites on a regular basis >> Over the years I've used Hypercard predominantly to >> automate many aspects of >> my business environment as a very sophisticated >> "database" tool. Yes, I DO >> know HC was not really intended to be a true >> database, but with a little >> ingenuity and the Reports DataPro tools I've found >> it to be far more useful >> and flexible than traditional database competitors >> such as Filemaker. > > I couldn't agree more. HC proved to be the ideal tool > for the database-type stacks I built for my dad, who > wanted to flexibly save all the data he had gathered > concerning the Belgian Railways. > I remember someone from the museum of the belgian > railways looking baffled at how things were so easily > setup and programmed. > >> However, since the end product of most business >> management is typically >> "paper", the promised reports generator is number >> one on my wish list, >> followed closely by an easy to use prefabricated >> data transfer utility >> (which will allow me to move large amounts of data >> from my existing >> Hypercard stacks to the new stacks I will create in >> Revolution) and >> similarly prefabricated search and index engines. >> Anyone whose has made any. >> significant use of Reports DataPro with Hypercard >> will know exactly what I >> mean. > > Trust me, it's number one on my wish-list as well. At > work we have a number of FoxPro apps to convert to a > new environment, and RunRev is at par with Java at > this moment. > RunRev is easier to program and will yield results > faster. Java is available for more platforms. Neither > has a report generator. > RunRev will win if one is provided. If not, we'll have > to write one ourselves, which is quite ridiculous if > the RunRev team will distribute one of their own at a > later point. > However, as there is no way of knowing what their > version will support, it might turn out we have to > build it ourselves anyway, because we literally need > _all_ the features the FoxPro Report Builder offered. > >> A lot of this stuff doesn't mean much if your main >> use of Hypercard and >> Revolution is multimedia and the like, but if the >> main use is for business, >> these features are absolutely essential. So my main >> goal is to have all of >> this stuff ready for the (inevitable?) day when you >> will no longer be able >> to buy a new Mac that will run OS 9 either as the >> main operating system or >> in the "Classic" mode. > > For some projects, we do multimedia, but the bulk is > business applications (accountancy, order processing, > invoicing, inventory management, time registration, > repair management, cash register apps,...) > We're at a critical situation where FoxPro is grinding > to a halt on some machines, and there's nothing we can > do to fix the problems. > We need a new environment, and as I stated above, > RunRev is one of the favourites. So maybe I'll write > that Report Generator after all, and try to sell it to > the Edinburgh guys ;-) > >> Thanks and regards, >> ALAN > > You're welcome, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > __________________________________________________ > Do You Yahoo!? > HotJobs - Search Thousands of New Jobs > http://www.hotjobs.com Jan: Thanks once again for your thoughtful comments on my observations. With specific reference to the "reports generator" issue, I must admit that I am at a loss why the people at RunRev have made a concerted effort to reach an agreement with the current owner of Reports DataPro, who I believe is Bob Greenberg at rpControl LLC. This is EXACTLY what RunRev needs to jump-start widespread usage of the Revolution environment. I am well aware that Reports DataPro and its ancillary products were primarily created as a group of XFCNs and XCMDs but the code warriors at RunRev shouldn't have too much trouble in duplicating the beautifully implemented features of this fully mature product, totally within the Revolution environment - IF they can purchase a license to do so from rpControl LLC. This would seem to make perfect sense since Revolution NEEDS this and rpControl LLC owns a product whose value is DECREASING EVERY DAY as the functional life of Hypercard comes to an end. Of course, making perfect sense would not always seem to apply in such matters or we would already have a Quicktime based, fully crossplatform version of Hypercard from Apple and this discussion would not be necessary. Nevertheless, just maybe our repeated vocalization of this issue and solution may serve to "bang a few heads together" to achieve some clearer thinking. Along this line, in addition to responding to you "off list" I'm posting this to the list AND sending a cc to Bob Greenberg (bob at rpcontrol.com). Hopefully,we'll be able to rattle a few cages. Alan From bornstein at designeq.com Fri Aug 16 18:46:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Fri Aug 16 18:46:01 2002 Subject: handle "About..." menupick on OS X Message-ID: <200208162344.g7GNi7C09988@mailout6.nyroc.rr.com> >I think that the biggest problem >here is going to be that I have carefully laid out all of my objects in >the stack window....if a portion is now to be covered by a menubar and >subsequently hidden, then I have to rearrange everything! Is this >really the way it must work? I've been bitten by this several times myself. I don't usually think about doing the menus until last, but with Rev you really want to do them first, even if they're not final. Get the menu bar started, let Rev adjust the stack size, and then lay out the rest of the stack. Otherwise you may have to readjust all the objects in the stack, which can be a very tedious, difficult task. I agree that a note to this effect should be mentioned in the docs. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From davethebrv at mac.com Fri Aug 16 19:02:01 2002 From: davethebrv at mac.com (David Beck) Date: Fri Aug 16 19:02:01 2002 Subject: standalone crashing and lagging In-Reply-To: <200208150418.AAA17658@www.runrev.com> Message-ID: Just wanted to write to let everyone know I resolved the issue with the slow standalone. I think the problem was that I was using a full path name to access buttons in a stack. The path changed when I built a standalone but I was still using the old path to access the buttons. I think Rev figured it out for me, but it took it was taking a while given the large amount of buttons I was accessing. I THINK this is what was causing the problem. Anyway it is resolved now. Thanks again for a great product =). Dave From tony.moller at drcs.com Fri Aug 16 19:38:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Fri Aug 16 19:38:01 2002 Subject: closing stacks vs. palettes Message-ID: I'm creating my masterpiece :), and it has a main stack, a palette substack, and a substack for preferences. If all stacks are open and visible, and I close the preferences stack, the palette closes too. If I just hide the preferences stack, the palette is okay. Why does it do this (close the palette)? Are there any drawbacks to not closing the preferences stack and just hiding it? Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From jswitte at bloomington.in.us Fri Aug 16 19:56:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Fri Aug 16 19:56:01 2002 Subject: OSX App to print fill-in forms Message-ID: (I'm cross-posting this to the RunRev list because it seems something like this might have already been done by someone using Rev..) Does anyone know of an application that can be used to print custom fill-in forms? Over the course of about an hour, I tediously constructed a template in ClarisDraw for the mailing labels I use, but it's hard to use (no way to automate that I know of except for QuicKeys, which would be more work than it's worth..), but I'd like to generate a template for postal customs forms, which would be a lot harder. PageMaker would be ideal as it allows you to specify absolute positioning of any element, but the version I have is 4.2. Any other ideas? Jim From alanira9 at mac.com Fri Aug 16 20:13:01 2002 From: alanira9 at mac.com (Alan Gayne) Date: Fri Aug 16 20:13:01 2002 Subject: OSX App to print fill-in forms In-Reply-To: Message-ID: on 8/16/02 8:53 PM, Jim Witte at jswitte at bloomington.in.us wrote: > (I'm cross-posting this to the RunRev list because it seems something > like this might have already been done by someone using Rev..) > > Does anyone know of an application that can be used to print custom > fill-in forms? Over the course of about an hour, I tediously > constructed a template in ClarisDraw for the mailing labels I use, but > it's hard to use (no way to automate that I know of except for QuicKeys, > which would be more work than it's worth..), but I'd like to generate a > template for postal customs forms, which would be a lot harder. > > PageMaker would be ideal as it allows you to specify absolute > positioning of any element, but the version I have is 4.2. Any other > ideas? > > Jim Interestingly enough, a really good solution would be Hypercard AND Reports DataPro. This combination can easily make and print almost anything you need in the way of forms - but only on a Mac - OS 9. This is exactly the point I've been trying drive home to the people at RunRev - i.e. that an EASY TO USE reports generator is absolutely essential to the widespread USAGE of the Revolution environment. If you need info about how to get in touch with the people who still sell Reports DataPro feel free to contact me again. Alan From troy at rpsystems.net Fri Aug 16 20:16:02 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Aug 16 20:16:02 2002 Subject: OSX App to print fill-in forms In-Reply-To: Message-ID: On Friday, August 16, 2002, at 08:53 PM, Jim Witte wrote: > (I'm cross-posting this to the RunRev list because it seems something > like this might have already been done by someone using Rev..) > > Does anyone know of an application that can be used to print custom > fill-in forms? Over the course of about an hour, I tediously > constructed a template in ClarisDraw for the mailing labels I use, but > it's hard to use (no way to automate that I know of except for > QuicKeys, which would be more work than it's worth..), but I'd like to > generate a template for postal customs forms, which would be a lot > harder. > > PageMaker would be ideal as it allows you to specify absolute > positioning of any element, but the version I have is 4.2. Any other > ideas? Revolution? Sure, can be done. But for what you describe - Acrobat. -- Troy RPSystems, LTD www.rpsystems.net From JamesHBeckmann at aol.com Fri Aug 16 20:26:01 2002 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Fri Aug 16 20:26:01 2002 Subject: Disappearing Scripts and Script Property Message-ID: Newbie issue: I am using version 1.1. On 2 instances now when I close the script of a fld I receive an error msg - something to the effect that line -1 of script cannot be selected (yea, I didn't read it well, duh) and I closed the error window. Well, these 2 flds no longer have their scripts. I closed the stack wihtout saving hoping to recoup the loss but the SCRIPT PROPERTY itself is missing. There is no tab in the properties window labeled script. I tried from the msg window to edit the script but I get the repsonse that the object does not have that property. The error in the Rev background appears to have stripped the script property away from these fields. Help! --Jim From kray at sonsothunder.com Fri Aug 16 20:44:03 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 16 20:44:03 2002 Subject: Disabling items in an option-style button References: <20020816105208.41030.qmail@web11905.mail.yahoo.com> Message-ID: <007001c2458e$d7a12510$6401a8c0@mckinley.dom> Jan, Both the "option" and "combobox" buttons actually use fields to display their contents (under the hood), and there is no way to draw a line in a field (right now). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Jan Schenkel" To: Sent: Friday, August 16, 2002 5:52 AM Subject: Disabling items in an option-style button > Hi all, > > In the process of preparing a conversion of an > existing FoxPro program to RunRev, I ran into a small > problem. > > Here's the deal: > The user can choose a country from a popup-menu with > 14 items: the first is the selected item; the second a > disabled horizontal line; then the 10 pre-selected > items from the preferences; then another disabled > horizontal line; then the item 'Other...' which > displays a complete list where the user can pick when > it's not in the 10 pre-selected items. > > So for testing purposes i made an option menu > > Belgium > (- > Belgium > Netherlands > Luxembourg > United Kingdom > France > Germany > Italy > Spain > Portugal > United States > (- > Other... > > However, RunRev stubbornly refuses to disable the > horizontal lines, if you're working with an option or > combo-box style button. > > Admittedly, I can mimick the behaviour by building a > substack, setting the menuName of the option button to > that substack, and have it show a > 'preOpenStack'-prepared version of a collection of 12 > buttons and two horizontal lines. > > But is this workaround really necessary or am I > missing something obvious? Btw, I'm running Revolution > 1.1.1r2 under WinME. > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > __________________________________________________ > Do You Yahoo!? > HotJobs - Search Thousands of New Jobs > http://www.hotjobs.com > _______________________________________________ > 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 Aug 16 22:51:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Fri Aug 16 22:51:01 2002 Subject: OSX App to print fill-in forms - Reports Pro In-Reply-To: Message-ID: <3D99DF3E-B191-11D6-A889-000A27D93820@bloomington.in.us> > Interestingly enough, a really good solution would be Hypercard AND > Reports > DataPro. This combination can easily make and print almost anything you > need in the way of forms - but only on a Mac - OS 9. What is Reports DataPro? Has anyone asked them if they would sanction a port to Revolution? Jim From kray at sonsothunder.com Fri Aug 16 23:15:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 16 23:15:01 2002 Subject: Deleting cards slower in distribution References: <179.d1ffdac.2a8ea444@aol.com> Message-ID: <00e901c245a3$d5038a40$6401a8c0@mckinley.dom> Andreas, Did you lock messages before deleting the cards? That would significantly speed things up... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: Aphcard at aol.com To: use-revolution at lists.runrev.com Sent: Friday, August 16, 2002 1:53 PM Subject: Deleting cards slower in distribution I have to delete about 150 cards in Rev (windows-vesion). I use following code: on delete_cards lock screen go to first card repeat for (number of cards + 1) try delete this card end try go previous card end repeat unlock screen end delete_cards When I execute this code inside the IDE of Rev, it takes about 1/4 sec. After building a distribution for Windows, the same code executes in about 3 seconds. I also built a distribution with Metacard 2.4.3b. In this version it runs at speedy 1/4 seconds (the same as inside the Rev-IDE). Is it a known problem of the 2.4.1 engine? Regards Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: From bvlahos at jpl.nasa.gov Fri Aug 16 23:26:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Fri Aug 16 23:26:01 2002 Subject: OSX App to print fill-in forms In-Reply-To: Message-ID: <2EF98577-B199-11D6-AC1F-003065EC5590@jpl.nasa.gov> Jim, If you know the form layout you want to print to, it should be easy to set up fields which match the locations of the forms, populate the fields with the data and just print it. Just make a different card for each form. Set up another card to input the data. Rev can show rulers which makes positioning the fields a breeze. Bill Vlahos On Friday, August 16, 2002, at 05:53 PM, Jim Witte wrote: > (I'm cross-posting this to the RunRev list because it seems something > like this might have already been done by someone using Rev..) > > Does anyone know of an application that can be used to print custom > fill-in forms? Over the course of about an hour, I tediously > constructed a template in ClarisDraw for the mailing labels I use, but > it's hard to use (no way to automate that I know of except for > QuicKeys, which would be more work than it's worth..), but I'd like to > generate a template for postal customs forms, which would be a lot > harder. > > PageMaker would be ideal as it allows you to specify absolute > positioning of any element, but the version I have is 4.2. Any other > ideas? > > Jim > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From janschenkel at yahoo.com Sat Aug 17 00:24:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Aug 17 00:24:01 2002 Subject: Disabling items in an option-style button In-Reply-To: <007001c2458e$d7a12510$6401a8c0@mckinley.dom> Message-ID: <20020817052245.18418.qmail@web11904.mail.yahoo.com> Hi Ken, I already had a sneaky suspicion this was the case ;-) So I built myself a simple pop-up stack and set that as the menuName, like I described below. It would have been easier if it worked in the default opion button, but that's okay. Plus, now I finally got to toy around with that more advanced part of MC/RR, and I like it *beam* Thanks for your reply, Jan Schenkel. --- Ken Ray wrote: > Jan, > > Both the "option" and "combobox" buttons actually > use fields to display > their contents (under the hood), and there is no way > to draw a line in a > field (right now). > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "Jan Schenkel" > To: > Sent: Friday, August 16, 2002 5:52 AM > Subject: Disabling items in an option-style button > > > > Hi all, > > > > In the process of preparing a conversion of an > > existing FoxPro program to RunRev, I ran into a > small > > problem. > > > > Here's the deal: > > The user can choose a country from a popup-menu > with > > 14 items: the first is the selected item; the > second a > > disabled horizontal line; then the 10 pre-selected > > items from the preferences; then another disabled > > horizontal line; then the item 'Other...' which > > displays a complete list where the user can pick > when > > it's not in the 10 pre-selected items. > > > > So for testing purposes i made an option menu > > > > Belgium > > (- > > Belgium > > Netherlands > > Luxembourg > > United Kingdom > > France > > Germany > > Italy > > Spain > > Portugal > > United States > > (- > > Other... > > > > However, RunRev stubbornly refuses to disable the > > horizontal lines, if you're working with an option > or > > combo-box style button. > > > > Admittedly, I can mimick the behaviour by building > a > > substack, setting the menuName of the option > button to > > that substack, and have it show a > > 'preOpenStack'-prepared version of a collection of > 12 > > buttons and two horizontal lines. > > > > But is this workaround really necessary or am I > > missing something obvious? Btw, I'm running > Revolution > > 1.1.1r2 under WinME. > > > > Jan Schenkel. __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com From rfarnold at bu.edu Sat Aug 17 00:34:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Sat Aug 17 00:34:01 2002 Subject: Clipboard function misbehavior in standalone Message-ID: In a simple little stack app I have created, I get completely different responses using the clipboard function from the stack in the RR development environment and as a stand-alone. To sort this out, I inserted an answer command to identify the clipboard contents. From the finder, I copy an Get Info icon image. When opening the stack in RR, the clipboard function correctly answers "image" but when I then build a stand-alone and open it, the same routine answers "text". From the finder, I check the contents of the clipboard and it is still an icon image. Identifying any text in the clipboard is a critical component of this little ditty -- so this inconsistency is, well, pretty darn frustrating. What's up with that? Any ideas? Also, the resumestack message doesn?t seem to work when leaving a running stand-alone and returning to it -- as I would have expected. This also works as one would expect in the RR enviornment -- click on the desktop, return to the stack, and viola! a resumestack message--- but in the standalone, no go (no activation of the answer command I placed in that handler). My RR frustrations with the little things are mounting. All help appreciated. -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 http://people.bu.edu/rfarnold/ From yvescoppe at skynet.be Sat Aug 17 01:00:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Sat Aug 17 01:00:01 2002 Subject: OSX App to print fill-in forms In-Reply-To: <2EF98577-B199-11D6-AC1F-003065EC5590@jpl.nasa.gov> References: <2EF98577-B199-11D6-AC1F-003065EC5590@jpl.nasa.gov> Message-ID: >Jim, > >If you know the form layout you want to print to, it should be easy >to set up fields which match the locations of the forms, populate >the fields with the data and just print it. > >Just make a different card for each form. Set up another card to >input the data. > >Rev can show rulers which makes positioning the fields a breeze. > >Bill Vlahos > I have the same problem and resolved it in this way. To locate the position of each field, i started from the point that on einch is 72 pixels. And for continental European users, one each is 2,34 cm. It works fine. But, I didn't know Rev can show rulers ???? How, where is the menu to ask the rulers ????? Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From jswitte at bloomington.in.us Sat Aug 17 01:10:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Sat Aug 17 01:10:01 2002 Subject: [OT] Continental Inches?? In-Reply-To: Message-ID: > And for continental European users, one inch is 2,34 cm. It works fine. I thought an inch was 2.54 cm. Hmm, there a spatial distortion field surround the Continent? ;-) Steve Job's Reality Distortion Field? Jim From janschenkel at yahoo.com Sat Aug 17 01:56:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Aug 17 01:56:01 2002 Subject: OSX App to print fill-in forms In-Reply-To: Message-ID: <20020817065407.31428.qmail@web11903.mail.yahoo.com> First Bill Vlahos wrote: > >Jim, > > > >If you know the form layout you want to print to, > it should be easy > >to set up fields which match the locations of the > forms, populate > >the fields with the data and just print it. > > > >Just make a different card for each form. Set up > another card to > >input the data. > > > >Rev can show rulers which makes positioning the > fields a breeze. > > > >Bill Vlahos > > > Then Yves COPPE replied: > > I have the same problem and resolved it in this way. > To locate the position of each field, i started from > the point that > on einch is 72 pixels. > And for continental European users, one each is 2,34 > cm. It works fine. > But, I didn't know Rev can show rulers ???? > How, where is the menu to ask the rulers ????? > Yves, You can activate the rulers in the menu 'View' option 'Rulers'. I still wish there was a small plug-in that would show the exact number of pixels -- maybe I'll code that one of these days :-) Jim, If you want more info and a practicl example on the pixel-to-inch-to-centimeter conversion, follow this link to the Use-Revolution Mailing List Archive: http://lists.runrev.com/pipermail/use-revolution/2002-August/006699.html Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com From janschenkel at yahoo.com Sat Aug 17 01:58:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Aug 17 01:58:01 2002 Subject: [OT] Continental Inches?? In-Reply-To: Message-ID: <20020817065624.35522.qmail@web11905.mail.yahoo.com> Lol, another Lost Soul now that As The Apple Turns have their goddess-in-training Anya ? Jan. --- Jim Witte wrote: > > And for continental European users, one inch is > 2,34 cm. It works fine. > > I thought an inch was 2.54 cm. Hmm, there a > spatial distortion field > surround the Continent? ;-) Steve Job's Reality > Distortion Field? > > Jim > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com From Aphcard at aol.com Sat Aug 17 02:41:01 2002 From: Aphcard at aol.com (Aphcard at aol.com) Date: Sat Aug 17 02:41:01 2002 Subject: Deleting cards slower in distribution Message-ID: <19c.71c22cf.2a8f5778@aol.com> Hallo Ken, thank you for the tip! "lock messages" did it :). Andreas > Andreas, > > Did you lock messages before deleting the cards? That would significantly > speed things up... > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > >> ----- Original Message ----- >> From: Aphcard at aol.com >> To: use-revolution at lists.runrev.com >> Sent: Friday, August 16, 2002 1:53 PM >> Subject: Deleting cards slower in distribution >> >> >> I have to delete about 150 cards in Rev (windows-vesion). I use following >> code: >> >> on delete_cards >> lock screen >> go to first card >> repeat for (number of cards + 1) >> try >> delete this card >> end try >> go previous card >> end repeat >> unlock screen >> end delete_cards >> >> When I execute this code inside the IDE of Rev, it takes about 1/4 sec. >> After building a distribution for Windows, the same code executes in about >> 3 seconds. I also built a distribution with Metacard 2.4.3b. In this >> version it runs at speedy 1/4 seconds (the same as inside the Rev-IDE). Is >> it a known problem of the 2.4.1 engine? >> Regards >> Andreas > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ambassador at fourthworld.com Sat Aug 17 04:36:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Aug 17 04:36:01 2002 Subject: Wired HC Article (Rod McCall) In-Reply-To: <200208162040.QAA27732@www.runrev.com> Message-ID: > ...I do agree that Rev has a ways to go if you wish to use it > for multimedia development as opposed to the two other guys (Director > and iShell.) Maybe I don't have the same expectations of the tool in > that arena just yet. Besides... I really like iShell - for what it does, > its powerful, stable, and extremely fast to develop in. Why not build an iShell-like UI for the Rev 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 ambassador at fourthworld.com Sat Aug 17 04:46:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Aug 17 04:46:01 2002 Subject: use-revolution digest, Vol 1 #610 - 12 msgs In-Reply-To: <200208170327.XAA02287@www.runrev.com> Message-ID: Jim Witte asks: > Does anyone know of an application that can be used to print custom > fill-in forms? Why not draw them in Rev? What do you need them to do? -- 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 Sat Aug 17 04:53:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Aug 17 04:53:01 2002 Subject: use-revolution digest, Vol 1 #610 - 12 msgs In-Reply-To: <200208170327.XAA02287@www.runrev.com> Message-ID: > With specific reference to the "reports generator" issue, I must admit that > I am at a loss why the people at RunRev have made a concerted effort to > reach an agreement with the current owner of Reports DataPro, who I believe > is Bob Greenberg at rpControl LLC. This is EXACTLY what RunRev needs to > jump-start widespread usage of the Revolution environment. It shouldn't be necessary: the Reports DataPro product is Mac-specific, and rewriting it to run on the 12 Rev-supported operating systems would likely be a lot more expensive than just writing it once in native Transcript. I have yet to find a printing layout that couldn't be handled by the Rev/MC engine. so the core tools are there -- the trick is to build a good UI and a library of easy-to-use handlers, to provide the simplicity that something like Reports DataPro does, so we won't have to keep reinventing printing routines. -- 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 yvescoppe at skynet.be Sat Aug 17 06:13:00 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Sat Aug 17 06:13:00 2002 Subject: OSX App to print fill-in forms In-Reply-To: <20020817065407.31428.qmail@web11903.mail.yahoo.com> References: <20020817065407.31428.qmail@web11903.mail.yahoo.com> Message-ID: > >You can activate the rulers in the menu 'View' option >'Rulers'. I still wish there was a small >plug-in that would show the exact number of pixels -- >maybe I'll code that one of these days :-) > >Jim, > >If you want more info and a practicl example on the >pixel-to-inch-to-centimeter conversion, follow this >link to the Use-Revolution Mailing List Archive: >http://lists.runrev.com/pipermail/use-revolution/2002-August/006699.html > >Best regards, > >Jan Schenkel. > >"As we grow older, we grow both wiser and more foolish 1) Oops, one inch is 2,54 and not 2,34. Sorry. 2)I'd appreciate very much such a tool. for now as I said I use : 72 pixels (you can see that in the show dimensions of the palete) = 1 inch = 2,54 cm (that's your answer on my problem) and it works. Would something easier exist ? Yes, surely if you write the code for ! So I'm waiting... Thank you very much for your help ! -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From ambassador at fourthworld.com Sat Aug 17 06:24:02 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Aug 17 06:24:02 2002 Subject: Dan Shafer : Wired HC Article - rev too complicated? In-Reply-To: <200208161539.LAA19177@www.runrev.com> Message-ID: Wolfgang M. Bereuter writes: > On Friday, August 16, 2002, at 09:45 AM, Richard Gaskin wrote: ... >> I took a gander at the screen shots for Norpath. There are some tasty >> features there, but it got me thinking about tool scope and >> flexibility: >> It looks like one of us could build Norpath in a couple weeks with Rev > If this is possible why they did not make in 2 years? > * the Applov (Application Overview) Window rezisable > * Drag and drop > * Rtf import > * A better palettes handling > * etc Different priorities. Part of that may be Rev's plarform-independent nature: remember that iShell runs on Mac and Windows only, which is fine for their audience but the Rev mission is more "write once, run anywhere". For example, Mac and Windows offer OS-level drag-and-drop support, but I don't believe that's available under X-11; the Rev/MC cutomer base currently has a disproportionately large following in the UNIX world. But even so, I wouldn't be surprised if drag-and-drop were not available in a future version of Rev. What sort of palette handling improvements would you like to see? >> could one build Rev with Norpath? > But i prefer it less overloaded and windowstyled - f.e. like > iShell. Make an iShell style (not a copy) Ui run on Rev/Mc > engine. I can give you a list of Apps wich have also a great UI. > A brainfriendly no coder (!) Interface for the rest of us: Not > more! Crossplatform and fast as rev without the need of QT (but > the possiblity to run it). This will be *the* killer app in > authoring. > If you can do that I?ll be you first customer!! Somebody wanna pay my bills for a month? :) >> For example, one of my recent projects was building a prototype >> of a medical training system, which will ultimately be part of >> a 10-CD set of tutorials. With the instructional design and >> supporting object structure worked out, we've begun work on a >> custom authoring environmemt to produce the CD series at a >> significant cost savings over what it would take to do without >> such tools, turning a production cycle of a week or two down to >> a couple days > > How did you do that with revs texthandling poor html, and > without importing of rtf or pasting of styled text in a couple > of days for 10 CD?s? I m really keen to know how you did that? No need for RTF: every text style property supported by the Rev/MC engine can be described in HTML tags. This includes standard HTML styles like "" and "", but also Rev-specific style options not found in HTML like "". If you build from templates as we're doing it gets even simpler: each field serves a different purpose in the layout (header, body text, navigation instructions, etc), so for consistency each field has its own style. Most of the time in this app we just use plain text and allow the field to define the appearance. One of the biggest time savers was creating our own set of tags within content text to describe where the data goes, similar to how XML is often (over)used but simpler to author and more efficient to parse. This way a domain expert can author content in their favorite word processor, and we run that output through our tag interpreter which constructs the stacks for us. > Maybee you did (only) the scripting part of the project, knowing > MC and Rev very well since a lot of years..? Yep: the other 90% is the Rev/MC engine. :) > But the thread here is, that rev is to complicated for normal > user, power user, scripting beginners, occasional programmers, > multimedia authors, educators, pupils, trainer, without a couple > of persons in background wich can do the rest of the stuff... I see learning Rev much like any serious hobby: start small and build on what you know. If you're trying your hand at carpentry you probably don't want to start by building a mansion. You'll probably want to start with a shed first, using only those tools from the hardware store that you'll need for that task. As you get more ambitious you may decide to build a bay window extension for your livingroom, and you'll learn more tools doing that, and so on. With Rev, you don't really need to use more than a handful of its features to get work done. As your needs and experience grow you can poke around and try new things. It's kinda like using tools from the hardware store, except with Rev you have Home Depot right on your desktop. :) >> I've long wondered whether it might make sense to build a sort of >> "RevLite" UI, something with the bare essentials exposed to let folks >> get their feet wet with confidence. As they gain more experience >> and crave more options, those options would become available. > > If Omni Graffle goes further in the direction where its going > now with links and scripting, than imho you are wasting your > time writing "RevLite"... I didn't say I was writing one at the moment; wouldn't think of it without doing a careful analysis of the market first, taking into account competing tools as you mentioned. But I'm not clear about how Omni Graffle fits in -- the vendor describes it as "Powerful diagramming and charting for Mac OS X". Are they working on a multimedia authoring tool under that name? Even if so, with OS X representing a minority of current Macs and the whole of the Mac market being a minority itself, there would seem an opportunity to pursue the other 90+%. If there's a main focus for the Rev product, it may well be its universality. There are OS-specific tools that compete strongly with Rev, but I've found none that do as good a job developing and deploying to nearly all modern computers on the planet. OS popularities may rise and fall, but with Rev you become immune to such fluctuations. > Finally we have rev as a great scripting tool but its not an > Authoring tool. Therefore it will loose this kind of users. The > posting from Bruce Lewis on > http://www.macintouch.com/hypercard.html describes perfectly my > situation. An I have to think in my future trainingsmaps? > developer net. I have no idea, this was my naively thinking 2 > years ago when I have decided to buy rev as an authoring tool. > Now I ask myself how should this (type) of developer understand > rev and how should I (teach) or at least demonstrate how it > works to them... Really NO idea! > > I m not a scripter, but may bee a kind of power user. After 2 > years struggling with rev, I fear a couple of Director Licenses > (or/and some hours of Director programmers) would have been > cheaper than one Pro License of Rev. Depends on what you want to build. Director is fairly unbeatable for some multimedia tasks, but I wouldn't build an application with it. If you're looking to hire programmers for Director, why not for Revolution? RunRev has a list of consultants at . A lot of my clients started out doing their on programming, but over time they found they could conceive features faster than they could learn to implement them, preferring to focus on product design and marketing and leave the implementation to an experienced script monkey. And since one multi-platform Rev Pro license is about half of the cost of the two Director licenses needed for cross-platform work, you just freed up licensing cash that could be put directly toward development time -- it's like getting an extra $1000 worth of programming for free. :) Is there an English version of ? I couldn't immediately tell what the mapping tool does or how it works, and Google couldn't translate the site. -- 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 alanira9 at mac.com Sat Aug 17 06:59:01 2002 From: alanira9 at mac.com (Alan Gayne) Date: Sat Aug 17 06:59:01 2002 Subject: use-revolution digest, Vol 1 #610 - 12 msgs In-Reply-To: Message-ID: on 8/17/02 5:48 AM, Richard Gaskin at ambassador at fourthworld.com wrote: >> With specific reference to the "reports generator" issue, I must admit that >> I am at a loss why the people at RunRev have made a concerted effort to >> reach an agreement with the current owner of Reports DataPro, who I believe >> is Bob Greenberg at rpControl LLC. This is EXACTLY what RunRev needs to >> jump-start widespread usage of the Revolution environment. > > It shouldn't be necessary: the Reports DataPro product is Mac-specific, and > rewriting it to run on the 12 Rev-supported operating systems would likely > be a lot more expensive than just writing it once in native Transcript. > > I have yet to find a printing layout that couldn't be handled by the Rev/MC > engine. so the core tools are there -- the trick is to build a good UI and > a library of easy-to-use handlers, to provide the simplicity that something > like Reports DataPro does, so we won't have to keep reinventing printing > routines. Richard: I am in COMPLETE agreement about not having to reinvent printing routines. My continue reference to Reports DataPro is simply my way of pointing out that getting this job done should be the NUMBER ONE PRIORITY for the people at RunRev now that the environment is relatively stable. Of course it might pay to recall that Reports DataPro was a fairly successful commercial endeavor by 3rd parties who who saw and addressed a critical need that was NOT addressed by Apple/Claris in respect to Hypercard. Maybe that's the answer. A LOT of special features were done by third parties, mostly in the for of XFCNs and XCMDs, which greatly enhanced the USABILITY of Hypercard. Most of these were freeware or shareware but some, like Reports DataPro were commerially successful. These "goodies" were createdby people who loved Hypercard and their work product helped other people, such as myself, to love WORKING with Hypercard. So there it is. If the people who love Revolution DO THEIR JOB, people like me will love to USE Revolution to DO OUR JOBS - which means the things that we actually do for a living. For most of us, that is not programming computers. In my particular case, I am an insurance underwriter. Alan From wmb at internettrainer.com Sat Aug 17 08:17:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sat Aug 17 08:17:01 2002 Subject: Wired HC Article (Rod McCall) In-Reply-To: <200208171025.GAA09798@www.runrev.com> Message-ID: <384C13FC-B1E3-11D6-8634-003065430226@internettrainer.com> On Saturday, August 17, 2002, at 12:25 PM, use-revolution- request at lists.runrev.com wrote: > Re: Wired HC Article (Rod McCall) > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > >> ...I do agree that Rev has a ways to go if you wish to use it >> for multimedia development as opposed to the two other guys (Director >> and iShell.) Maybe I don't have the same expectations of the tool in >> that arena just yet. Besides... I really like iShell - for >> what it does, >> its powerful, stable, and extremely fast to develop in. > > Why not build an iShell-like UI for the Rev engine? > Until now I though you are one of this gys playing in a league wich can answers this kind of questions;)) I cant do the scripting, but I think I can do my part for the interface design I m still waiting for "iRev?" the real authoring killer application ...;) 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 troy at rpsystems.net Sat Aug 17 09:30:02 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sat Aug 17 09:30:02 2002 Subject: Wired HC Article (Rod McCall) In-Reply-To: Message-ID: <8C0F3FF3-B1ED-11D6-9F30-000393853D6C@rpsystems.net> On Saturday, August 17, 2002, at 05:31 AM, Richard Gaskin wrote: > >> ...I do agree that Rev has a ways to go if you wish to use it >> for multimedia development as opposed to the two other guys (Director >> and iShell.) Maybe I don't have the same expectations of the tool in >> that arena just yet. Besides... I really like iShell - for what it >> does, >> its powerful, stable, and extremely fast to develop in. > > Why not build an iShell-like UI for the Rev engine? I believe that has been mentioned before. While we are doing some fairly advanced stuff with Rev, I think that you are describing a MONUMENTAL task. One which to some degree, the Rev team itself is tackling, and they are certainly more capable than we are. Imagine the application overview combined with the property palette. Now add in the script editor. Allow drag and drop of script components into it. Make it aware of all the possible parameters for each script item. Make it track all variables, and control most scripting through radio boxes and drop down menus. Now make this magic interface display and work absolutely perfectly, every time. Now put in some extra multimedia control bits, a fantastic debugger (the best I've ever seen)... and so on... Rev is very, very powerful indeed, and offers many more script components than does iShell, but I think the task is larger than we, or even the Rev team itself could handle. Currently, the application overview itself is one of the least "finished" areas of the program - to think that I could hope to make a "super-incredible-enhanced" version of it, which works with absolute elegant precision... no, I doubt it. I'm a pretty good judge of what we can do, and building a better Revolution is not it. Do I love the idea? Sure. It would be awesome to have a tool that worked like iShell that I could easily script and adapt "under the hood". Do I expect ever to see that? No, not really - by myself or anyone else. We're pretty happy with the tools as we have them. Revolution is getting better and better all the time. We have built a number of very powerful and successful applications with it. We are about to release another which is our largest yet. But I don't feel that it answers ALL development needs, all the time. And I don't have a problem with that, and it doesn't make it any less valuable to me. My home toolbox has both hammers and screwdrivers, and I don't try to use one for the other there either - and I need both. Now, if you want to give it a go, please, by all means - have at it. If it works out, I'll buy a couple copies... ;-) -- Troy RPSystems, LTD www.rpsystems.net From rfarnold at bu.edu Sat Aug 17 09:41:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Sat Aug 17 09:41:01 2002 Subject: Clipboard misbehavior Message-ID: Some new twists upon further investigation of the misbehaving clipboard function. The problem only seems to exist in a MacOS PPC build (under OS9.2). If I build a fat standalone, or OSX, the clipboard function behaves as it should, but the PPC build recognizes a picture in the clipboard as text (although it does respond correctly if the clipboard is empty). I assume this must be a (compiler?) bug. Go figure. At least I can make my current procrastination exercise work as a Fat app. Soon, the semi-infamous HC stack, "DadaPoet" will be available as a stand-alone app.! -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 http://people.bu.edu/rfarnold/ From tony.moller at drcs.com Sat Aug 17 11:05:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Sat Aug 17 11:05:01 2002 Subject: Menus in MacOS Message-ID: Help! I'm confused. Based on conversations on this list on the behavior of menus, I started my project by creating my menus. I created a stack (with one card). I used the Menu Manager to create my menu bar. Turned on the 'display as mac menu' options, and it worked fine. It shortened the window as it should. Then, I created a new card. That card is longer than the first! When I turned on 'edit menus in stack' property, the menu buttons only showed up on the first card. 1) What did I do wrong? 2) How do I get the first card back to its original height? Thanks!! Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From dan at danshafer.com Sat Aug 17 12:20:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Sat Aug 17 12:20:01 2002 Subject: Dan Shafer : Wired HC Article - rev too complicated? Message-ID: Richard Gaskin wrote: >Depends on what you want to build. Director is fairly unbeatable for some >multimedia tasks, but I wouldn't build an application with it. Tool (and language) appropriateness are difficult things to get across sometimes. I could (but won't here) make an argument that any professional programmer who knows only one language is not doing himself or his employer/clients any good at all in the long run. RR is wonderful for what it allows me to do: build small to medium-sized interactive applications for cross-platform deployment. It is far and away the best tool I've found *for my tastes* to accomplish such tasks. But if I want to build a multimedia application (complex slide show, animation display driven by a database, or pure entertainment/showoff stuff), right now I'm inclined *not* to rely on RR, not because it can't do that job but because I don't know how to do that job with RR. Since I have Director and know Lingo (which is an elegant OO language in its own right) and JavaScript (which Director supports nicely but not as well as I'd like), I'll choose that tool for that kind of task. (BTW and FWIW, I downloaded the beta of Norpath Elements based on a comment on this list and it is freaking awesome for lots of app types. If it didn't require a 1MB+ proprietary plug-in for Web deployment of its applets, it would become a serious contender for me. It may anyway. Also, I strongly disagree with the notion someone expressed that one could build Norpath Elements in RR; it has too much good support for stuff that's missing in action in RR so far, including HTML and JavaScript support to the max. But I digress.) So for me it is as it always has been. When we ask "What's the best development environment?" we are asking not only the wrong question but an unanswerable one. Until you know with *some* degree of precision what you want to accomplish, looking for One Holy Grail application development tool that will meet your needs is silly. I still remember how laughable I found it when people built sort of mini word processors in HyperCard. Why? There were already good apps like that out there and there were tools better suited to creating such products if you wanted them. I remember hearing the two Dartmouth (I think) profs who originally developed BASIC speaking at a round table of some sort very early in my career. One of them became incensed and red-faced as he screamed, "People are using BASIC to build f***ing General Ledgers! That's not what it's for!" Wrong. If you're a toolmaker, you don't to decide that people can't use your hammer to crack walnuts...or skulls. You just put the tool out there. It's up to the creators to pick the right tool for each kind of job. If they want to insist on a one-tool solution for everything, they will pay a price in efficiency and will gripe along the way about how your tool isn't quite as well suited to their task as they'd like. But it's not your fault; you just made a tool. Anyway, that's how I see it. -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 rfarnold at bu.edu Sat Aug 17 12:43:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Sat Aug 17 12:43:01 2002 Subject: menus in MacOS Message-ID: Tony Moller asks: > Help! I'm confused. Based on conversations on this list on the behavior of > menus, I started my project by creating my menus. I created a stack (with > one card). I used the Menu Manager to create my menu bar. Turned on the > 'display as mac menu' options, and it worked fine. It shortened the window > as it should. Then, I created a new card. That card is longer than the > first! When I turned on 'edit menus in stack' property, the menu buttons > only showed up on the first card. > > 1) What did I do wrong? > 2) How do I get the first card back to its original height? It took me a while but I figured this one out. Create the menubar as you have done, then HIDE it (the whole menubar group; set its visible property to false). Set the MacOS menubar option -- it now appears in the menubar, not in the stack, and the menu card DOES NOT resize. Bob Arnold -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 http://people.bu.edu/rfarnold/ From rfarnold at bu.edu Sat Aug 17 12:45:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Sat Aug 17 12:45:01 2002 Subject: MacOS menu & resizing Message-ID: Tony, One more thing, -- to return a card to its original size, in the stack propperties dialog, check the "edit menubar in stack" option -- this re-sizes the card to its original size, THEN hide the menubar, and uncheck the "edit in stack" option. Bob -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 http://people.bu.edu/rfarnold/ From jswitte at bloomington.in.us Sat Aug 17 15:24:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Sat Aug 17 15:24:01 2002 Subject: No drag-and-drop in UNIX!!? In-Reply-To: Message-ID: > or example, Mac and Windows offer OS-level drag-and-drop support, but I > don't believe that's available under X-11 What!!?? Why on earth not! D&D has only been around on the Mac for what - 5 years at lease, and on windows for at least 3. And lord knows how long Xerox PARC has had it ;-) What are those X-11 people doing over there - shredding biscuits? Jim From jswitte at bloomington.in.us Sat Aug 17 15:26:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Sat Aug 17 15:26:01 2002 Subject: Reports DataPro and Rev In-Reply-To: Message-ID: <51D3F86C-B21F-11D6-BF05-000A27D93820@bloomington.in.us> > I am in COMPLETE agreement about not having to reinvent printing > routines. > My continue reference to Reports DataPro is simply my way of pointing > out As someone pointed out, RunRev may not want to port Reports DataPro to 3 different OS specific platforms instead of just rewriting it in native Transcript. But I wonder - would rewriting it in Transcript be easier if they had the source to Reports DataPro? Jim From bvlahos at jpl.nasa.gov Sat Aug 17 15:34:00 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Sat Aug 17 15:34:00 2002 Subject: OSX App to print fill-in forms In-Reply-To: <2EF98577-B199-11D6-AC1F-003065EC5590@jpl.nasa.gov> Message-ID: <6199A272-B220-11D6-8404-003065EC5590@jpl.nasa.gov> Remember that Rev has a preference setting for the rulers to be in pixels, inches, or centimeters so you don't have to do any special conversions. Bill On Friday, August 16, 2002, at 09:24 PM, Bill Vlahos wrote: > Jim, > > If you know the form layout you want to print to, it should be easy to > set up fields which match the locations of the forms, populate the > fields with the data and just print it. > > Just make a different card for each form. Set up another card to input > the data. > > Rev can show rulers which makes positioning the fields a breeze. > > Bill Vlahos From alanira9 at mac.com Sat Aug 17 17:04:01 2002 From: alanira9 at mac.com (Alan Gayne) Date: Sat Aug 17 17:04:01 2002 Subject: Reports DataPro and Rev In-Reply-To: <51D3F86C-B21F-11D6-BF05-000A27D93820@bloomington.in.us> Message-ID: on 8/17/02 4:24 PM, Jim Witte at jswitte at bloomington.in.us wrote: >> I am in COMPLETE agreement about not having to reinvent printing >> routines. >> My continue reference to Reports DataPro is simply my way of pointing >> out > > As someone pointed out, RunRev may not want to port Reports DataPro to > 3 different OS specific platforms instead of just rewriting it in native > Transcript. But I wonder - would rewriting it in Transcript be easier > if they had the source to Reports DataPro? > > Jim > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution More than that, the "look and feel" of the Reports DataPro interface is very intuitive, far more so than Revolution itself at this point. As I've stated before, it's a mature product and a proven winner which is unfortunately totally dependent on a lame-duck product (HyperCard) To me, the main attraction of HyperCard is that allowed non-programming business people to organize and better utilize their special knowledge of their chosen fields of endeavor -- you know!, computers and programming "for the rest of us". If Revolution does not actively embrace this philosophy then it will have truly missed the boat at being the "real successor to HyperCard" Alan From katir at hindu.org Sat Aug 17 17:49:01 2002 From: katir at hindu.org (Sivakatirswami) Date: Sat Aug 17 17:49:01 2002 Subject: Send URL to program "Finder" with GURLGURL Message-ID: This has probably been asked and answered, but with no search engine for the archives.... will ask again. It's about sending raw apple events, (specifically URL's to GURLGURL) This used to work under OS 9.X but doesn't in OSX on mouseUp if the selection is empty then answer "Select an email first." with "OK" exit mouseup end if put "mailto:" & the selection into tEmail send tEmail to program "Finder" with "GURLGURL" end mouseUp How does it work in OSX? TIA Sivakatirswami Production Manager katir at hindu.org www.HinduismToday.com, www.HimalayanAcademy.com, www.Gurudeva.org, www.hindu.org From katir at hindu.org Sat Aug 17 17:50:01 2002 From: katir at hindu.org (Sivakatirswami) Date: Sat Aug 17 17:50:01 2002 Subject: Rev -- PostgreSQL Message-ID: Any hope or time frame for a PostgreSQL dbase access library for Rev? Hinduism Today Sivakatirswami Editor's Assistant/Production Manager katir at hindu.org From tony.moller at drcs.com Sat Aug 17 17:59:00 2002 From: tony.moller at drcs.com (Tony Moller) Date: Sat Aug 17 17:59:00 2002 Subject: menus in MacOS In-Reply-To: Message-ID: on 8/17/02 1:39 PM, Bob Arnold at rfarnold at bu.edu wrote: > It took me a while but I figured this one out. Create the menubar as you > have done, then HIDE it (the whole menubar group; set its visible property > to false). Set the MacOS menubar option -- it now appears in the menubar, > not in the stack, and the menu card DOES NOT resize. > One more thing, -- to return a card to its original size, in the stack > properties dialog, check the "edit menubar in stack" option -- this > re-sizes the card to its original size, THEN hide the menubar, and uncheck > the "edit in stack" option. But if I hide the menus, will they still be visible cross-platform? Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From kray at sonsothunder.com Sat Aug 17 18:12:26 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 17 18:12:26 2002 Subject: Send URL to program "Finder" with GURLGURL References: Message-ID: <00fa01c24642$b3d064c0$6401a8c0@mckinley.dom> Siva, Try this: do "open location " & quote & theURL & quote as AppleScript Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Sivakatirswami" To: Sent: Saturday, August 17, 2002 5:47 PM Subject: Send URL to program "Finder" with GURLGURL > This has probably been asked and answered, but with no search engine for the > archives.... will ask again. > > It's about sending raw apple events, (specifically URL's to GURLGURL) > > This used to work under OS 9.X but doesn't in OSX > > on mouseUp > if the selection is empty then > answer "Select an email first." with "OK" > exit mouseup > end if > put "mailto:" & the selection into tEmail > send tEmail to program "Finder" with "GURLGURL" > end mouseUp > > How does it work in OSX? > > TIA > > Sivakatirswami > 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 bornstein at designeq.com Sat Aug 17 18:33:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Sat Aug 17 18:33:01 2002 Subject: menus in MacOS Message-ID: <200208172330.g7HNUwW14453@mailout5-0.nyroc.rr.com> >But if I hide the menus, will they still be visible cross-platform? No they won't. That's the whole point of shifting the card. On the Mac, they appear in the menu bar and NOT on the card. On Windows, they appear on the card AS the menu bar. Hiding them is a good trick for Mac-only apps, but won't work for cross=platform. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From tony.moller at drcs.com Sat Aug 17 18:45:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Sat Aug 17 18:45:01 2002 Subject: menus in MacOS In-Reply-To: <200208172330.g7HNUwW14453@mailout5-0.nyroc.rr.com> Message-ID: on 8/17/02 7:31 PM, Howard Bornstein at bornstein at designeq.com wrote: >> But if I hide the menus, will they still be visible cross-platform? > > No they won't. That's the whole point of shifting the card. On the Mac, > they appear in the menu bar and NOT on the card. On Windows, they appear > on the card AS the menu bar. > > Hiding them is a good trick for Mac-only apps, but won't work for > cross=platform. That's what I figured would happen. So how do I get all the cards to resize, and not just the first? Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From bvg at mac.com Sat Aug 17 20:06:01 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat Aug 17 20:06:01 2002 Subject: Wired HC Article (Rod McCall) In-Reply-To: <384C13FC-B1E3-11D6-8634-003065430226@internettrainer.com> Message-ID: <40A48D74-B246-11D6-98E8-003065AD94A4@mac.com> I always was annoyed by almost every program I used. I always knew they lacked any sense, and especially usability. Starting to use Windows made me depressive, and every Unix application I ever saw made me sick. I believe in usability. I still believe that computers SHOULD help people. I know that programs can be done better. Im a HyperCard victim. Recently I've learned some things about shell and c++. I now know the enemy. Its called knowledge. the usual Evil believes that, to use a application properly, you have to KNOW how to use it, you have to know its commands, you have to know its quirks and you have to know its limitations. I however believe in wisdom. An application has to have the wisdom to lead my way to the goals I decided on, it has to be wise enough to tell me where it falls short, and it has to get out of my way when I finally know the commands, quirks and limitations. Programs are unfortunately made by programmers, and they are seldom wise but most often rather knowledgeable. I think, as a cross platform application, RunRev has omitted from many directions. Some are advantageous, for example its HyperCard roots. Others are desastrous especially its way of thinking about the users as a knower. The most needed Features in Revolution for me would thus be: - an useful errormessage handling/generator (would make debugger obsolete) - better automation of the scripter - simpler menu generator/assistant (would decrease list traffic) - improved UI (would increase revenue) - General uncluttering and simplifying - bug fixes (would decrease bad press) - better documentation (sad fact: its one of the best, ever!) From katir at hindu.org Sat Aug 17 21:37:01 2002 From: katir at hindu.org (Sivakatirswami) Date: Sat Aug 17 21:37:01 2002 Subject: Reminder system Message-ID: Has any one created a reminder system such as one finds in common PIM programs (Now Calendar, InfoGenie, Entourage calendar etc.) Would have some "To do" entry window with a timer, that issues a "send in" timed at 5 minutes would be enough for me... And is saved when the stack is closed and re-initialized when the stack is opened. Then, while working, if the note was "past due" it would flash at you to handle or postpone.. Before I built this myself, I thought someone else may have already invented this wheel. I have integrated so much now into my Rev PIM which developed through the years from HC to SC to MC to REV...that I run all day with this program up...it has calendar, references stacks, access to contact lists etc. email integration etc. now I could use a reminder system built in... I could easily go to some other application but then would lose the flexibility and link integration with my current system. Hinduism Today 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 scott at tactilemedia.com Sat Aug 17 23:16:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Sat Aug 17 23:16:01 2002 Subject: Send URL to program "Finder" with GURLGURL In-Reply-To: <00fa01c24642$b3d064c0$6401a8c0@mckinley.dom> Message-ID: Recently, Ken Ray wrote: > do "open location " & quote & theURL & quote as AppleScript Ken's right. And mail is just as easy: just add "mailto:" to the mail address in theURL. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From jacque at hyperactivesw.com Sat Aug 17 23:42:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat Aug 17 23:42:01 2002 Subject: menus in MacOS References: <200208180317.XAA23885@www.runrev.com> Message-ID: <3D5F2540.7050107@hyperactivesw.com> On 8/17/02 10:17 PM, Tony Moller wrote: > on 8/17/02 7:31 PM, Howard Bornstein at bornstein at designeq.com wrote: >> Hiding them is a good trick for Mac-only apps, but won't work for >> cross=platform. > > That's what I figured would happen. So how do I get all the cards to resize, > and not just the first? You'll need to place the menu bar on every card. This can be done quickly with a script, which is provided in my Rev tutorial: http://www.hyperactivesw.com/mctutorial/rrtutorialtoc.html See in particular the section on how Revolution menus work: http://www.hyperactivesw.com/mctutorial/rraboutMenus.html And the section on creating and placing menus (which includes the menu-placing script): http://www.hyperactivesw.com/mctutorial/rrcreateMenus.html There are other sections of the tutorial which deal with other aspects of menus too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tony.moller at drcs.com Sun Aug 18 00:00:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Sun Aug 18 00:00:01 2002 Subject: menus in MacOS In-Reply-To: <3D5F2540.7050107@hyperactivesw.com> Message-ID: on 8/18/02 12:40 AM, J. Landman Gay at jacque at hyperactivesw.com wrote: >> That's what I figured would happen. So how do I get all the cards to resize, >> and not just the first? > > You'll need to place the menu bar on every card. This can be done > quickly with a script, which is provided in my Rev tutorial: Thanks! Looks like I've got some reading to do this weekend :) Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From jswitte at bloomington.in.us Sun Aug 18 00:59:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Sun Aug 18 00:59:01 2002 Subject: Opaque tabbed button question and RevRTFer Message-ID: <60AF80DF-B26F-11D6-904C-000A27D93820@bloomington.in.us> I'm looking at the RevRTFer stack here, which has a tabbed button covering the entire card grouped with everything else on the card. Originally the 'pane' part of the button is transparent, but when I ungroup everything, the button goes opaque, and the 'Opaque' property doesn't do anything, nor does the layer of the button affect it. How do I get the button to go transparent again? Jim From jswitte at bloomington.in.us Sun Aug 18 01:00:00 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Sun Aug 18 01:00:00 2002 Subject: BUG?: RevRTFer not receiving clicks Message-ID: <62E1C3CF-B26F-11D6-904C-000A27D93820@bloomington.in.us> I'm using the RevRTFer utility on MacOSX, and noticing that the tab buttons at the top are sometimes not receiving their clicks don't change the name of the name of one of the buttons. There's a tab bar that gets the tab clicked, goes to a particular card based on that, and sets the name of the button. The second and third tabs always seem to execute the full script, but the first tab consistently does not change the name of the button (but it does switch cards) unless I click on it again (a quick double click on the tab doesn't work either. Jim From ambassador at fourthworld.com Sun Aug 18 03:43:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Aug 18 03:43:01 2002 Subject: No drag-and-drop in UNIX!!? In-Reply-To: <200208180317.XAA23885@www.runrev.com> Message-ID: Jim Witte writes: >> or example, Mac and Windows offer OS-level drag-and-drop support, but I >> don't believe that's available under X-11 > > What!!?? Why on earth not! D&D has only been around on the Mac for > what - 5 years at lease, and on windows for at least 3. And lord knows > how long Xerox PARC has had it ;-) What are those X-11 people doing > over there - shredding biscuits? Worse: command-line. :) While this seems primitive to us, how many of us have craved having a Message Box in the Finder? A very different philosophy governs the roots of UNIX, one historically more interested in the kernal than the window manager. On the upside, Linus Torvalds declared earlier this year that he feels the Linux kernel is good enough for now to focus on UI. Perhaps we have yet to see the true Linux explosion, when it at last moves from serbers to the desktop.... -- 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 Aug 18 04:22:04 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Aug 18 04:22:04 2002 Subject: Reports DataPro and Rev In-Reply-To: <200208180317.XAA23885@www.runrev.com> Message-ID: Alan Gayne writes: > To me, the main attraction of HyperCard is that allowed non-programming > business people to organize and better utilize their special knowledge of > their chosen fields of endeavor -- you know!, computers and programming > "for the rest of us". > > If Revolution does not actively embrace this philosophy then it will have > truly missed the boat at being the "real successor to HyperCard" The tough part is defining just who "the rest of us" describes. :) -- 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 matt.denton at limelight.com.au Sun Aug 18 06:36:00 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Sun Aug 18 06:36:00 2002 Subject: Working with Base64 and Mac files In-Reply-To: <200208160746.DAA10236@www.runrev.com> Message-ID: <587651EA-B29E-11D6-8CF6-000393924880@limelight.com.au> Dear Richard, Thanks for your reply, I've been away for a while and just found your response! I had a look at this function before hitting the list but the documentation seemed to indicate that only the Resource fork was used in the get or put, so I was looking for a combined Resource and Data fork operation. Seems by your comment that resfile is the keyword for me! I'll test it tomorrow morning, many many thanks, M@ Matt Denton > Richard Gaskin writes: > > This will get the resource fork data: > > put url ("resfile:"&tLocalFilePath) into tResDataVar > > This will restore it to a file: > > put tResDataVar into url ("resfile:"& tLocalFilePath) > > The compress and uncompress functions are great. In my tests here gzip > seems quite efficient: on text it often reduces the data size to about > 30% > of the original. From matt.denton at limelight.com.au Sun Aug 18 06:42:00 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Sun Aug 18 06:42:00 2002 Subject: How do I cancel an internet 'Load' to cache in progress? In-Reply-To: <200208160746.DAA10236@www.runrev.com> Message-ID: <1BBE5B1C-B29F-11D6-8CF6-000393924880@limelight.com.au> Hey-ya all, This may be a question for the patient Rev team: How do I cancel a pending download to the cache, when using a Load command? I want a user to be able to cancel a big download in progress, once it starts. I've sifted through the 'See Also' and the internet library in the docs. Any clues? I thought maybe 'unload url ' but that only works if it is in the cache... Cheers M@ Matt Denton From matt.denton at limelight.com.au Sun Aug 18 07:01:01 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Sun Aug 18 07:01:01 2002 Subject: Please ignore my last [Q] In-Reply-To: <200208160746.DAA10236@www.runrev.com> Message-ID: Whoops! Please ignore my last [Q] Sorry, found it: resetAll command seems to also work for 'load' commands, closing all open sockets. Not exactly what I want (I want to cancel JUST the current download, not previous big downloads patiently waiting in the cache for the full set) but it will sort of do. Is there a way to cancel JUST the current Load as it is in progress? Many thanks again, M@ Matt Denton From dcragg at lacscentre.co.uk Sun Aug 18 07:09:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sun Aug 18 07:09:01 2002 Subject: How do I cancel an internet 'Load' to cache in progress? In-Reply-To: <1BBE5B1C-B29F-11D6-8CF6-000393924880@limelight.com.au> References: <1BBE5B1C-B29F-11D6-8CF6-000393924880@limelight.com.au> Message-ID: At 9:39 pm +1000 18/8/02, Matt Denton wrote: >Hey-ya all, > >This may be a question for the patient Rev team: > >How do I cancel a pending download to the cache, when using a Load >command? I want a user to be able to cancel a big download in >progress, once it starts. I've sifted through the 'See Also' and >the internet library in the docs. > >Any clues? I thought maybe 'unload url ' but that only >works if it is in the cache... It should work for downloading urls too if they were started with the load command. Be sure you are using the latest libUrl (at least 1.0.7b4). Let me know if it still doesn't work. Cheers Dave From gbrucelewis at sympatico.ca Sun Aug 18 08:36:01 2002 From: gbrucelewis at sympatico.ca (Bruce Lewis) Date: Sun Aug 18 08:36:01 2002 Subject: Reports DataPro and Rev Message-ID: Alan Gayne wrote: >Of course it might pay to recall that Reports DataPro was a fairly >successful commercial endeavor by 3rd parties who who saw and addressed a >critical need that was NOT addressed by Apple/Claris in respect to >Hypercard. I would doubt that it had much commercial success. I used it through various versions from the beginning (and still use it --wonderful tool). As I remember, the original developers wrote it to use in connection with their own business and then expanded it and tried to sell it more generally. They discontinued it once, perhaps twice, before finally selling it to the present owners, who have done nothing with it. On each discontinuance or threat of discontinuance, there were moans and groans from HyperCard user groups, such as on MAUG on Compuserve, and they then did an update. I don't think there were many new features after the early years--just compatibility with the latest version of HyperCard. The charges became progressively higher for the updates, but they had something of a captive market. I can't believe they ever really made very much money on it. >Maybe that's the answer. A LOT of special features were done by third >parties, mostly in the for of XFCNs and XCMDs, which greatly enhanced the >USABILITY of Hypercard. Most of these were freeware or shareware but some, >like Reports DataPro were commerially successful. These "goodies" were >createdby people who loved Hypercard and their work product helped other >people, such as myself, to love WORKING with Hypercard. > >So there it is. If the people who love Revolution DO THEIR JOB, people like >me will love to USE Revolution to DO OUR JOBS - which means the things that >we actually do for a living. For most of us, that is not programming >computers. In my particular case, I am an insurance underwriter. > I agree. Regards, Bruce From rfarnold at bu.edu Sun Aug 18 10:33:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Sun Aug 18 10:33:01 2002 Subject: Menus in MasOS Message-ID: Tony, > But if I hide the menus, will they still be visible cross-platform? No, they won't be visible, but I thought the question was about MacOS. You can make a dupe of the stack for non-MacOS builds, and show (un-hide) the menu group -- and un-check the "Display in MacOS menubar" option, so that the stack doesn't resize. It may be possible to do this in a single stack with the Profiles feature, but I haven't tried that solution yet -- I find myself making slightly different versions of stacks for different OS builds (not only appearance issues, but I have also found a few scripting issues that need alteration as well)-- easier for me than tackling another unfamiliar aspect of RR. Hiding the menu group in MacOS is the only way I have found to avoid the stack/card resizing, which is attempting to do the same thing. RR, if you're listening, wouldn't automatically setting visible property to false have been a simpler, solution? I hope this helps Bob -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 http://people.bu.edu/rfarnold/ From rfarnold at bu.edu Sun Aug 18 10:35:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Sun Aug 18 10:35:01 2002 Subject: menus in MacOS Message-ID: > That's what I figured would happen. So how do I get all the cards to resize, > and not just the first? Oh, you WANT the stack to resize -- well then just copy/paste the menu bar group to all the cards in the stack (or set is background behavior to true so that it appears on all new cards). I've seen a simple script for "placing" the group on all cards, but I couldn't get it to work for me. Sorry, I thought you were trying to find a way to avoid resizing. Bob -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 http://people.bu.edu/rfarnold/ From BradAllen at mac.com Sun Aug 18 14:13:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Sun Aug 18 14:13:01 2002 Subject: MySQL localhost In-Reply-To: <20020426.140715.280.1.diskot123@juno.com> References: <20020426.140715.280.1.diskot123@juno.com> Message-ID: I've had a hard time getting Revolution to connect to a local mySQL database under Mac OS 10.1.5. This mySQL database was created using NaviCAT under the user account mysql. In the Rev 1.1.1 Database Manager, I fill out the following fields under the Text Data tab: Database Type: MYSQL Host: localhost (I've also tried the IP address of my computer) Database: demo (which is the name is the name of one of the hosted databases) Username: mysql (I've also tried root) Password: (password for mysql account) Here is the error message I receive when I press "New Connection to Database": revdberr, invalid database type I tried downloading the Software Database Demo stack, and I get the same errors. Any help on this would be appreciated. > >I have a local MySQL databases (installed and open through the Terminal) > >>and would like to see how easy would be to create a front-end from >>Revolution. >Very easy. The host to pass to revdb_connect would be localhost. You can >find database examples at >http://www.runrev.com/revolution/developers/developerdownloads/usercontri >butions.html > >In particular you'll be interested in the software database demo..which >works with all databases. You'll find a text file with the SQL you would >need to create the necessary tables for the example. You may also want to >check out the scripts to the database manager which can be found under >the tools menu. > > >Tuviah Snyder ~ tuviah 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 wmb at internettrainer.com Sun Aug 18 14:25:00 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sun Aug 18 14:25:00 2002 Subject: Dan Shafer : Wired HC Article - rev too complicated? In-Reply-To: <200208171025.GAA09798@www.runrev.com> Message-ID: Attention it is long! On Saturday, August 17, 2002, at 12:25 PM, use-revolution- request at lists.runrev.com wrote: > From: Richard Gaskin > Subject: Re: Dan Shafer : Wired HC Article - rev too complicated? > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Wolfgang M. Bereuter writes: > >> On Friday, August 16, 2002, at 09:45 AM, Richard Gaskin wrote: >>> It looks like one of us could build Norpath in a couple weeks >>> with Rev >> If this is possible why they did not make in 2 years? >> * the Applov (Application Overview) Window rezisable >> * Drag and drop >> * Rtf import >> * A better palettes handling >> * etc > > Different priorities. Part of that may be Rev's plarform-independent > nature: remember that iShell runs on Mac and Windows only, > which is fine for > their audience but the Rev mission is more "write once, run anywhere" Only its drolly. Thats more than 98% of the desktop market in the world... Rev/mc was/is described as a cbt and multimedia authoring and rapid application tool. If there was no priority in 2 years for the authoring community, then the answer is simple: Rev is *not* an cbt or multimedia authoring tool... > For example, Mac and Windows offer OS-level drag-and-drop > support, but I > don't believe that's available under X-11; the Rev/MC cutomer > base currently > has a disproportionately large following in the UNIX world. > But even so, I > wouldn't be surprised if drag-and-drop were not available in a future > version of Rev. > > What sort of palette handling improvements would you like to see? I v described this some time ago in my bigbuglist. At the moment i dont have this post here because its in an archive of the old system, but I can search it and send it to you if you like. .... > >>> For example, one of my recent projects was building a prototype >>> of a medical training system, which will ultimately be part of >>> a 10-CD set of tutorials. With the instructional design and >>> supporting object structure worked out, we've begun work on a >>> custom authoring environmemt to produce the CD series at a >>> significant cost savings over what it would take to do without >>> such tools, turning a production cycle of a week or two down to >>> a couple days >> >> How did you do that with revs texthandling poor html, and >> without importing of rtf or pasting of styled text in a couple >> of days for 10 CD?s? I m really keen to know how you did that? > > No need for RTF: every text style property supported by the > Rev/MC engine > can be described in HTML tags. This includes standard HTML styles like > "" and "", but also Rev-specific style options not found > in HTML like > "". I think you know that win and mac do not display the fonts in the same size, because of M$...,ok. How can you compensate that with *standard html* without CSS. Please tell me that... Did you ever do formating of bigger texts with rev for crossplatform apps...? If yes, how did you hide that "nice" strike through bug in the OSX engine from your clients? I cant imagine that in a 10 CD multimedia project with a *lot of text* is not one(!) scrolling text field, wich makes the text after scrolling nearly unreadable??? Again: The lack of importing rtf or pasting styled text is imho inacceptable for a professional authoring tool. Every primary school programm (dont get it negativ) like Hyperstudio can do this and most of every 20$ Dollar shareware can do it also. Why it?s from your point of view a "no need" for a 1000$ Developer tool. Even if this feature helps you save days and weeks of developing time, related to text exchanging in the standard crossplatform text format. Even when the "rev html-fortmat" is not more than a crutch..? Sorry for that hard word, but thats the ignorance of english speaking people, wich are thinking there is only one language in the world. US and Enlish people tend to forget, that there are billions speaking chinese, indian, arabic, spanish, russian, japanes, german and so on... All of them prefer (learning) software in their own language. So you have to work with multilingual texts. For that you need translators. And professional translators are working with professional texttools, wich use the crossplatform exchange format texts for text, called "what surprise": rtf Nearly all professional translators are trained to recive/deliver their work in rtf. Have you ever tried importing big textfiles of different languages to the rev?s html-"standard"-format with all that not Asci chars Umlauts und Sonderzeichen like: ? ? ? ?, ? ? ? ? ? ? ? ? ? ? ?.... AND..: Where is the Text-, Outliner-,layout-,office programm wich can export/import rev?s html-"standard"-format? >> Maybee you did (only) the scripting part of the project, knowing >> MC and Rev very well since a lot of years..? > > Yep: the other 90% is the Rev/MC engine. :) Maybe text scrolling... ;) > >> But the thread here is, that rev is to complicated for normal >> user, power user, scripting beginners, occasional programmers, >> multimedia authors, educators, pupils, trainer, without a couple >> of persons in background wich can do the rest of the stuff... > > I see learning Rev much like any serious hobby: start small > and build on > what you know. At the moment seems: more hobby than serios;) > > If you're trying your hand at carpentry you probably don't want > to start by > building a mansion. You'll probably want to start with a shed > first, using > only those tools from the hardware store that you'll need for > that task. As > you get more ambitious you may decide to build a bay window > extension for > your livingroom, and you'll learn more tools doing that, and so on. > With Rev, you don't really need to use more than a handful of > its features > to get work done. As your needs and experience grow you can > poke around and > try new things. It's kinda like using tools from the hardware > store, except > with Rev you have Home Depot right on your desktop. :) Most ways of learning are working like this. Thats why I have tried to designed my tool as simple as possible. And it wasnt the first tool and not the first thing I had to learn in my life... They are so simple that you can do it with the starter kit only. But I need more than one tool to design the maps. Mapdesign and Outliner writing are the much bigger development part, than the authoring with rev or another tool. So my idea was a simple authoring tool for the future developer net. A tool for the rest where non programmer can use on every platform. RThats why I was soenthusistic when i found rev after realizing that MC is the only real crossplatform one, but the UI is unseless for my project... >>> I've long wondered whether it might make sense to build a sort of >>> "RevLite" UI, something with the bare essentials exposed to let folks >>> get their feet wet with confidence. As they gain more experience >>> and crave more options, those options would become available. >> >> If Omni Graffle goes further in the direction where its going >> now with links and scripting, than imho you are wasting your >> time writing "RevLite"... > > I didn't say I was writing one at the moment; wouldn't think of > it without > doing a careful analysis of the market first, taking into > account competing > tools as you mentioned. > > But I'm not clear about how Omni Graffle fits in -- the vendor > describes it > as "Powerful diagramming and charting for Mac OS X". Are they > working on a > multimedia authoring tool under that name? With linking and the integration of Apple script it fullfills at least 90% of the features of a simple authoring tool. And the interface is outstanding! I havnt seen much tools with such a great UI. Unbeliveable for that price! If they will write once an engine for win/nix... > Even if so, with OS X representing a minority of current Macs > and the whole > of the Mac market being a minority itself, there would seem an > opportunity > to pursue the other 90+%. As I said a lot of times I m not a scripter, but I m working since more than 10 years with mapping and charting. If you needs a crossplatform app you can go Inspiration, or more professional ConceptDraw/ ConceptDraw MINDMAP Pro. > If there's a main focus for the Rev product, it may well be its > universality. There are OS-specific tools that compete > strongly with Rev, > but I've found none that do as good a job developing and > deploying to nearly > all modern computers on the planet. OS popularities may rise > and fall, but > with Rev you become immune to such fluctuations. Heureka! You got it: That?s part of the description of my decision to go with rev! >> I m not a scripter, but may bee a kind of power user. After 2 >> years struggling with rev, I fear a couple of Director Licenses >> (or/and some hours of Director programmers) would have been >> cheaper than one Pro License of Rev. > > Depends on what you want to build. Director is fairly > unbeatable for some > multimedia tasks, but I wouldn't build an application with it. F.e.: Have you ever seen the Rosetta Stone (learning languages)? If thats not an *application*, how would *you* call it, utility, script..? imho, there are some millions out there thinking like me, it s great App. Done in Director. > If you're looking to hire programmers for Director, why not for > Revolution? > RunRev has a list of consultants at > . What can rev consultants do against bugs in the engine..? > A lot of my clients started out doing their on programming, but > over time > they found they could conceive features faster than they could learn to > implement them, preferring to focus on product design and marketing and > leave the implementation to an experienced script monkey. ...And I have to know the basic of programming by myself to give the trainer and the (map) developer an idea of the authoring tool. It is a completly new way of learning, therefore I did not know at the beginning what would be the result at the end. This project I have reinvested by myself, because their was a unpredictabily time for development. This has a lot to do with my life story - but thats OT here. And think about that one moment: The job with the brightest future in the next years in the USA (stydy was from USA - but will be the same in other industrial countries) will be... What..? SW Developer? Multimedia Developer? Hardcore Scripter? No! Nothing of it. The winnner is: Privat Chauffeur for elder people... (because somuch of them their licences because driving a car is to complicated in a certain age) The industrial society is getting older and older. And that means more people than ever will be handicaped in any way. The need of personal service, simple UI?s for technical products from Tv to Telfon is the market for tomorrow. KISS - thats the future. I m not a Hypercard User never worked with it. Allways heared from it. Now Im beginning to understand what mistake made Apple to leave that thing in the dust. Will have a look when I have time. > And since one multi-platform Rev Pro license is about half of > the cost of > the two Director licenses needed for cross-platform work, you > just freed up > licensing cash that could be put directly toward development > time -- it's > like getting an extra $1000 worth of programming for free. :) Heureka! That?s another part of the description of my decision to go with rev! BUT... this can be big error if the "one multi-platform" does not permit to finish the programm. Then its a lot more expensive, than the the 2 licences, because you cant get money for unfinished work. > > Is there an English version of ? I couldn't > immediately tell what the mapping tool does or how it works, and Google > couldn't translate the site. > Because of some reasons on the internet site the Outliner-Text?, wich is invisible behind fullcolored symbols and appears on click, is a gif loike the map itself, so google can not translate it. - Fullcolored symbols have a hidden outliner - Colored underdlined text in symbols are internal Links (the symbold indicates to which chapter) - Blue underlined text in Symbols are external lins (Internet). Thats the complete User Manual of the whole application! The rest comes intuitiv when your start using it. But you can got to: http://www.internettrainer.com/1hilfe/3faq/00faqhandbuch.html. Here starts the Explication how you can learn brainfriendly with this maps to get out the most of them. All these 7 pages are plain text. So it should be possible to translate. My target market are not Pc experts. So they have much more problems with bugs than developer or power user. People, wich are insecure with the basics of a PC, do not realize/analyze why "that thing" is crashing... So they will stop learning. And thats exactly the opposit what I m promising with my interface. So my app must be as stable as a kiosk application in a college. Translation of the site and the application to english (first) spanish (next) is on my list. But on the top of the list is that the german version must run and must run fine. (What surprisingly did the version i have build with 1.0...) I had to cancel a lot of times meetings and pr?sentations where I should show how it works, because a lot of people are interested how their employes can save up to half of time learning with both part of the brain. Others would like to start selling the Internet for beginners App, and train with it.... finally some statements of some german speaking developer I v contacted here to have a look at rev, change to rev or do anything for me in rev..: ...Real fast developing i still do in HC. All my employes do the rest in Java. Rev has to much bugs ...Rev seems promising, but the learning curve is very steep. ...I?ll stay with Flash (MX) ...Tried to imported a 8000 card HC stack but some functions do not work. I have no time to play with it. ...Rev, thats i nice thing but wait until Version 2.0 ...i still prefer MC ...SC is a lot easyier to understand ...Director - thats the standard for multimedia A assume that not all german speaking developer are idiots None of them said I?ll start with it. It was a big surprise for me, because I was very enthusiastic for rev and recomend it nearly everywhere i could. 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 BradAllen at mac.com Sun Aug 18 14:51:00 2002 From: BradAllen at mac.com (Brad Allen) Date: Sun Aug 18 14:51:00 2002 Subject: MySQL localhost Message-ID: I found the problem; mySQL host settings and access privileges were not setup correctly. Please ignore my last question. Sorry! >Date: Sun, 18 Aug 2002 14:11:24 -0500 >To: use-revolution at lists.runrev.com >From: Brad Allen >Subject: Re: MySQL localhost >Cc: >Bcc: >X-Attachments: > >I've had a hard time getting Revolution to connect to a local mySQL >database under Mac OS 10.1.5. This mySQL database was created using >NaviCAT under the user account mysql. > >In the Rev 1.1.1 Database Manager, I fill out the following fields >under the Text Data tab: > >Database Type: MYSQL >Host: localhost (I've also tried the IP address of my computer) >Database: demo (which is the name is the name of one of the hosted databases) >Username: mysql (I've also tried root) >Password: (password for mysql account) > >Here is the error message I receive when I press "New Connection to Database": > >revdberr, invalid database type > >I tried downloading the Software Database Demo stack, and I get the >same errors. > >Any help on this would be appreciated. > > >> >I have a local MySQL databases (installed and open through the Terminal) >> >>>and would like to see how easy would be to create a front-end from >>>Revolution. >>Very easy. The host to pass to revdb_connect would be localhost. You can >>find database examples at >>http://www.runrev.com/revolution/developers/developerdownloads/usercontri >>butions.html >> >>In particular you'll be interested in the software database demo..which >>works with all databases. You'll find a text file with the SQL you would >>need to create the necessary tables for the example. You may also want to >>check out the scripts to the database manager which can be found under >>the tools menu. >> >> >>Tuviah Snyder ~ tuviah 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 ambassador at fourthworld.com Sun Aug 18 15:23:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Aug 18 15:23:01 2002 Subject: Working with Base64 and Mac files In-Reply-To: <200208181604.MAA05706@www.runrev.com> Message-ID: Matt Denton writes: >> Richard Gaskin writes: >> >> This will get the resource fork data: >> >> put url ("resfile:"&tLocalFilePath) into tResDataVar ... > Thanks for your reply, I've been away for a while and just found your > response! I had a look at this function before hitting the list but the > documentation seemed to indicate that only the Resource fork was used in > the get or put, so I was looking for a combined Resource and Data fork > operation. Seems by your comment that resfile is the keyword for me! > I'll test it tomorrow morning, many many thanks, Be sure to use the binfile keyword for the datafork, lest it be treated as text. The url type specifiers are: file - copies the file as text. Importing changes line-endings to Rev-native (linefeed character, unfortunately referred to as "cr" in scripts for HC compatibility). Exporting changes line endings to wharever is native of the platform the app is currentky running on (linefeed for UNIX, carriage return for Mac, and return&likefeed for Windows). binfile - straight binary copy of the data fork resfile - binary copy of the resource fork (Mac only, of course) -- 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 DVGlasgow at aol.com Sun Aug 18 16:11:01 2002 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Sun Aug 18 16:11:01 2002 Subject: HyperCard and Rev [was: Hobbyist License] Message-ID: <1ac.6fb5daf.2a9166f6@aol.com> In a message dated 16/8/02 6:02:08 PM, use-revolution-request at lists.runrev.com Dan Shafer writes: << -- HC3 was going to use QuickTime movies as its native format rather than the proprietary HC file format. But they couldn't get anything resembling reasonable performance out of data stored in QT formats >> So that was the reason, was it? This is the first time I have heard a plausible explanation other than Macromedia threatened to have a blue fit if Apple pulled the rug out from under them. Which explanation rather implies that the project was, technically speaking viable. Didn't a bunch of developers get to see HC as a QT layer? Best wishes, David Glasgow Home/ forensic assessments --> DVGlasgow Courses --> i-Psych From wmb at internettrainer.com Sun Aug 18 16:53:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sun Aug 18 16:53:01 2002 Subject: Wired HC Article (Rod McCall) In-Reply-To: <200208171601.MAA14092@www.runrev.com> Message-ID: <91677E7F-B2F4-11D6-AF3E-003065430226@internettrainer.com> On Saturday, August 17, 2002, at 06:01 PM, use-revolution- request at lists.runrev.com wrote: > Re: Wired HC Article (Rod McCall) > From: Troy Rollins > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > > On Saturday, August 17, 2002, at 05:31 AM, Richard Gaskin wrote: > >> >>> ...I do agree that Rev has a ways to go if you wish to use it >>> for multimedia development as opposed to the two other guys (Director >>> and iShell.) Maybe I don't have the same expectations of the tool in >>> that arena just yet. Besides... I really like iShell - for what it >>> does, >>> its powerful, stable, and extremely fast to develop in. >> >> Why not build an iShell-like UI for the Rev engine? > > I believe that has been mentioned before. While we are doing > some fairly > advanced stuff with Rev, I think that you are describing a MONUMENTAL > task. One which to some degree, the Rev team itself is tackling, and > they are certainly more capable than we are. Imagine the application > overview combined with the property palette. Now add in the script > editor. Allow drag and drop of script components into it. Make it aware > of all the possible parameters for each script item. Make it track all > variables, and control most scripting through radio boxes and drop down > menus. Now make this magic interface display and work absolutely > perfectly, every time. Now put in some extra multimedia control bits, a > fantastic debugger (the best I've ever seen)... and so on... > > Rev is very, very powerful indeed, and offers many more script > components than does iShell, but I think the task is larger than we, or > even the Rev team itself could handle. Currently, the application > overview itself is one of the least "finished" areas of the > program - to > think that I could hope to make a "super-incredible-enhanced" > version of > it, which works with absolute elegant precision... no, I doubt > it. I'm a > pretty good judge of what we can do, and building a better > Revolution is > not it. > > Do I love the idea? Sure. It would be awesome to have a tool > that worked > like iShell that I could easily script and adapt "under the hood". Do I > expect ever to see that? No, not really - by myself or anyone else. > > We're pretty happy with the tools as we have them. Revolution > is getting > better and better all the time. We have built a number of very powerful > and successful applications with it. We are about to release another > which is our largest yet. But I don't feel that it answers ALL > development needs, all the time. And I don't have a problem with that, > and it doesn't make it any less valuable to me. My home toolbox > has both > hammers and screwdrivers, and I don't try to use one for the > other there > either - and I need both. Hi Troy, I m afraid you are completly right!!!! But when I saw: "one month to pay the bills" I knew, that could be only a very light version of iShell UI. If its possible at all it would be anyhow a very nice thing for beginners and small projects. But a light copy of iShell would imho not be a good solution. Without a real new UI idea its better to forget the idea. I have used iShell only as a symbol for a excellent UI. I could say Mariner write/calc, Freeway, Transmit, BizzCross, WorkStrip X, Omni Graffle, Launchbar (was impressed what they have packed in such a small utility)... 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 wmb at internettrainer.com Sun Aug 18 17:50:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sun Aug 18 17:50:01 2002 Subject: use-revolution digest, Vol 1 #610 - 12 msgs In-Reply-To: <200208170327.XAA02287@www.runrev.com> Message-ID: <6D24783E-B2FC-11D6-AF3E-003065430226@internettrainer.com> On Saturday, August 17, 2002, at 05:27 AM, use-revolution- request at lists.runrev.com wrote: > Re: OSX App to print fill-in forms > From: Troy Rollins > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > > On Friday, August 16, 2002, at 08:53 PM, Jim Witte wrote: > >> (I'm cross-posting this to the RunRev list because it seems >> something >> like this might have already been done by someone using Rev..) >> >> Does anyone know of an application that can be used to print custom >> fill-in forms? Over the course of about an hour, I tediously >> constructed a template in ClarisDraw for the mailing labels I use, but >> it's hard to use (no way to automate that I know of except for >> QuicKeys, which would be more work than it's worth..), but I'd like to >> generate a template for postal customs forms, which would be a lot >> harder. >> >> PageMaker would be ideal as it allows you to specify absolute >> positioning of any element, but the version I have is 4.2. Any other >> ideas? > > Revolution? Sure, can be done. > > But for what you describe - Acrobat. If classic in OS X is unacceptable then I see only Acrobat for that too! If classic in OS X is acceptable then there is a german "thing" called Ragtime, wich is imho the best for forms. Never seen a better tool to make any kind of forms. I used the old one so many years and still use it in classic Mode. its a kind of Xpress (frame based) for the Office but with a spreadsheet. The frames can be text, calc (for spreadsheet and/or tables) and pictures. And also the Text in the frames can be formated in any style. Every cell in the spreadsheet can be a Textframe. You can draw the frames to any form and position them exactly by coordinates anywhere in an size. (Left right pages to print forms with any nunmber of sides. etc... Version 3 is a good old Mac Software (first release in 86 i think) but it works fine and extremly fast in Classic. Even the last 5.x (I have not tried it in Classic) wich is a bit -hmmm a big bit- feature overloaded should work well. Its gratis for personal us, professional version is about 900$ (i dont know exactly at the moment). http://www.besoftware.com/ To make it clear: I have nothing to do with this company, but I like the idea of this tool. Its simply great Mac software. If you ahve any question drop me line. Hope that helps. 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 tsj at unimelb.edu.au Sun Aug 18 17:57:01 2002 From: tsj at unimelb.edu.au (Terry Judd) Date: Sun Aug 18 17:57:01 2002 Subject: Dan Shafer : Wired HC Article - rev too complicated? In-Reply-To: References: Message-ID: >Again: The lack of importing rtf or pasting styled text is imho >inacceptable for a professional authoring tool. Every primary school >programm (dont get it negativ) like Hyperstudio can do this and most >of every 20$ Dollar shareware can do it also. Funny then that pasting styled text doesn't even work consistently in Word! From wmb at internettrainer.com Sun Aug 18 18:13:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sun Aug 18 18:13:01 2002 Subject: Wired HC Article In-Reply-To: <200208162040.QAA27732@www.runrev.com> Message-ID: On Friday, August 16, 2002, at 10:40 PM, use-revolution- request at lists.runrev.com wrote: > if you send your mail to > support at runrev.com rather than to Kevin direct. Thanks but I know that. I have not send it to Kevin direct. It was a reply back to the "watched" improove list. > Additionally, members of the team have been taking holidays > over the last > few weeks on a rotating basis (no, we are not machines, yes, we do very > occasionally take holidays) and this has not helped response times. > > That said, your mail has been or will be read and your views taken into > account. We genuinely do value them. We have a difficult > juggling act to > perform in prioritizing which features/bug fixes/new directions should > happen next, with a limited amount of programmer time > available. We'd love > to be able to implement all the great suggestions I've been > seeing on this > list lately. We'd be ecstatic if we could eliminate every bug > overnight. > It's not reality. Rev is a great tool for many purposes. A > large number of > people are using it for pleasure and profit. It's not perfect, > and it's not > the best fit for everything, though we'd like it to be, and > we're working > towards that goal. If you feel a different tool would serve you better, > that's an assessment you have to make. > > Regardless of what you decide, you should know that your input > and support > over the last year and during the development period of > Revolution has been > and will be valued, I think you did not understand "the message between the lines" in my posting. But, no problem I can explain it more clearly. Drop me a line if you like to know it. 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 dan at danshafer.com Sun Aug 18 18:25:00 2002 From: dan at danshafer.com (Dan Shafer) Date: Sun Aug 18 18:25:00 2002 Subject: HyperCard and Rev [was: Hobbyist License] Message-ID: At 4:54 PM -0400 8/18/02, David Glasgow wrote: >In a message dated 16/8/02 6:02:08 PM, >use-revolution-request at lists.runrev.com Dan Shafer writes: > ><< -- HC3 was going to use QuickTime movies as its >native format rather than the proprietary HC file format. But they >couldn't get anything resembling reasonable performance out of data >stored in QT formats >> > >So that was the reason, was it? This is the first time I have heard a >plausible explanation other than Macromedia threatened to have a blue fit if >Apple pulled the rug out from under them. Which explanation rather implies >that the project was, technically speaking viable. Didn't a bunch of >developers get to see HC as a QT layer? I believe that is true, yes. It was, actually, a brilliant idea. QT is perhaps Apple's best technology, period. And they've worked hard to make it a viable standard on the Net and across platforms. There could be some measure of truth to the Macromedia story; I know that a lot of Apple's sales are driven by Macromedia. But then Macromedia doesn't always do the right thing, either (where, oh where, are OS X versions of their apps?). -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 tony.moller at drcs.com Sun Aug 18 18:47:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Sun Aug 18 18:47:01 2002 Subject: menus in MacOS In-Reply-To: Message-ID: on 8/18/02 11:32 AM, Bob Arnold at rfarnold at bu.edu wrote: > Oh, you WANT the stack to resize -- well then just copy/paste the menu bar > group to all the cards in the stack (or set is background behavior to true > so that it appears on all new cards). I've seen a simple script for > "placing" the group on all cards, but I couldn't get it to work for me. > > Sorry, I thought you were trying to find a way to avoid resizing. Bob, sorry for the confusion :) I didn't mind the resize (since I knew it would happen). What was throwing me off was the menu on each card issue. Your comments and those of Jacqueline's have helped me greatly, and I thank you both. I think I've got things worked out now. Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From xslaugh at hotmail.com Sun Aug 18 20:42:01 2002 From: xslaugh at hotmail.com (Scott Slaugh) Date: Sun Aug 18 20:42:01 2002 Subject: Attaching externals to files Message-ID: Does anyone know of a way that I could attach an external to a Revolution stack so that I don't have to worry about telling people where to put it? Scott Slaugh -------------- next part -------------- An HTML attachment was scrubbed... URL: From jswitte at bloomington.in.us Sun Aug 18 20:44:00 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Sun Aug 18 20:44:00 2002 Subject: Reports DataPro, Rev, and Blender3D References: Message-ID: <000701c4858e$14a7ad80$3a0a8fd0@cpq> > 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. Jim jswitte at bloomington.in.us From sarahr at genesearch.com.au Sun Aug 18 22:34:00 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 18 22:34:00 2002 Subject: Send URL to program "Finder" with GURLGURL In-Reply-To: Message-ID: How about using revGoURL? This will open the default web browser or email program and works in OS X or 9. on mouseUp if the selection is empty then answer "Select an email first." with "OK" exit mouseup end if put "mailto:" & the selection into tEmail revGoURL tEmail end mouseUp Sarah On Monday, August 19, 2002, at 09:15 am, Sivakatirswami wrote: > This has probably been asked and answered, but with no search engine > for the > archives.... will ask again. > > It's about sending raw apple events, (specifically URL's to GURLGURL) > > This used to work under OS 9.X but doesn't in OSX > > on mouseUp > if the selection is empty then > answer "Select an email first." with "OK" > exit mouseup > end if > put "mailto:" & the selection into tEmail > send tEmail to program "Finder" with "GURLGURL" > end mouseUp > > How does it work in OSX? > > TIA > > Sivakatirswami > 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 sarahr at genesearch.com.au Sun Aug 18 22:52:00 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 18 22:52:00 2002 Subject: Disabling items in an option-style button In-Reply-To: Message-ID: Two thoughts here: In the menu types were this is supported, you don't need to put the bracket before the dash. The dash itself is used as a special character to indicate a dividing line rather than an extra item. The dash on it's own will give you a dividing line or space. I have tested all the different types of menu buttons and this technique works on all except the combo box. Under OS X, it certainly works with an option menu. Cheers, Sarah On Friday, August 16, 2002, at 08:55 pm, Jan Schenkel wrote: > Hi all, > > In the process of preparing a conversion of an > existing FoxPro program to RunRev, I ran into a small > problem. > > Here's the deal: > The user can choose a country from a popup-menu with > 14 items: the first is the selected item; the second a > disabled horizontal line; then the 10 pre-selected > items from the preferences; then another disabled > horizontal line; then the item 'Other...' which > displays a complete list where the user can pick when > it's not in the 10 pre-selected items. > > So for testing purposes i made an option menu > > Belgium > (- > Belgium > Netherlands > Luxembourg > United Kingdom > France > Germany > Italy > Spain > Portugal > United States > (- > Other... > > However, RunRev stubbornly refuses to disable the > horizontal lines, if you're working with an option or > combo-box style button. > > Admittedly, I can mimick the behaviour by building a > substack, setting the menuName of the option button to > that substack, and have it show a > 'preOpenStack'-prepared version of a collection of 12 > buttons and two horizontal lines. > > But is this workaround really necessary or am I > missing something obvious? Btw, I'm running Revolution > 1.1.1r2 under WinME. > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > __________________________________________________ > Do You Yahoo!? > HotJobs - Search Thousands of New Jobs > http://www.hotjobs.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Sun Aug 18 23:04:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Aug 18 23:04:01 2002 Subject: Wired HC Article (Rod McCall) In-Reply-To: <200208182054.QAA09979@www.runrev.com> Message-ID: Wolfgang M. Bereuter writes: > But when I saw: "one month to pay the bills" I knew, that could > be only a very light version of iShell UI. If its possible at > all it would be anyhow a very nice thing for beginners and small > projects. Precisely. It rarely makes sense to recreate any existing product; it's almost always cheaper to simply buy a product than to build it from scratch. But the central question was: what can Rev learn from the design of iShell? Since iShell is cited as an accessible UI, perhaps there may be value in exploring ways of employing Rev's vast capabilities to build a UI that starts the user with something inspired by the relevant portion of iShell's design, progessively disclosing additional fetures as needed. -- 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 Aug 18 23:19:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Aug 18 23:19:01 2002 Subject: HyperCard and Rev [was: Hobbyist License] In-Reply-To: <200208182054.QAA09979@www.runrev.com> Message-ID: DVGlasgow writes: > << -- HC3 was going to use QuickTime movies as its > native format rather than the proprietary HC file format. But they > couldn't get anything resembling reasonable performance out of data > stored in QT formats >> > > So that was the reason, was it? This is the first time I have heard a > plausible explanation other than Macromedia threatened to have a blue fit if > Apple pulled the rug out from under them. Which explanation rather implies > that the project was, technically speaking viable. Didn't a bunch of > developers get to see HC as a QT layer? I have the videotape evidence. :) A third-party vendor used to sell tapes of the WWDC sessions, and ironically the only one I ever ordered showed a technology that never debuted in public. -- 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 Mon Aug 19 00:11:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Mon Aug 19 00:11:01 2002 Subject: Wired HC Article - UI In-Reply-To: Message-ID: On Sunday, August 18, 2002, at 11:59 PM, Richard Gaskin wrote: > >> But when I saw: "one month to pay the bills" I knew, that could >> be only a very light version of iShell UI. If its possible at >> all it would be anyhow a very nice thing for beginners and small >> projects. > > Precisely. It rarely makes sense to recreate any existing product; it's > almost always cheaper to simply buy a product than to build it from > scratch. > > But the central question was: what can Rev learn from the design of > iShell? > > Since iShell is cited as an accessible UI, perhaps there may be value in > exploring ways of employing Rev's vast capabilities to build a UI that > starts the user with something inspired by the relevant portion of > iShell's > design, progessively disclosing additional fetures as needed. I'll respectfully (re)submit that I don't see that happening. A month? That would be cheap indeed. But I doubt that would deliver even close to the value level desired. Nor would a year. Unless you have used the iShell environment, and have experienced the fact the the UI is so incredibly consistent and fully implemented to the last detail, as well as entirely rock-solid, then you can't imagine the level of work that it would require. The Rev team has enough UI stability issues within their own chosen approach, I can only imagine the fiasco which would ensue if someone were to attempt a facsimile of a completely different metaphor. Even assuming that the intention is not to attempt providing the depth of iShell's capability, but just the general sense of UI - I still don't see it happening. The things that would be required to do it would play on all of Rev's weakest areas rather than its strengths. Rev looks and works like it does mostly because its core engine rather dictates a set of efficiencies that it plays on. The same could be said for iShell. I have seen nothing which would indicate to me that one could even simulate the other with anything close to a quality result. Now. That said, could some alternative metaphor be developed to provide certain types of users an entry-level or more graphical experience into the Rev environment? Maybe. I just think that while iShell is indeed a remarkable example of UI, only a poor replica could be achieved inside of the Rev environment. My point is, for the purposes of an alternate metaphor, I don't believe I would be looking at iShell. The two tools just function at a fundamentally different thought process from the ground up. Even Director may be a more appropriate target - its approach, environment design, and general work-flow is far closer to Rev's than iShell's is. Just my two cents. I use all three environments extensively, if that counts for anything. (like maybe one more cent.) :-) -- Troy RPSystems, LTD www.rpsystems.net From jswitte at bloomington.in.us Mon Aug 19 00:56:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Mon Aug 19 00:56:01 2002 Subject: Best way to do palettes? In-Reply-To: Message-ID: <01CB849A-B338-11D6-87A8-000A27D93820@bloomington.in.us> How can I make palettes in a stack? I can create a substack and then hide/show a card of that substack (but how do I 'get the visible' as it were), but is there a more direct way - something like 'make palette of cd 2 with height y and width x'? Jim From shaosean at unitz.ca Mon Aug 19 01:02:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Mon Aug 19 01:02:01 2002 Subject: Best way to do palettes? References: <01CB849A-B338-11D6-87A8-000A27D93820@bloomington.in.us> Message-ID: <007301c24745$3ba79870$88b15bd1@lanfear> create a substack as your palette (create it with the correct layout, size, etc) and then open it with the following command: palette stack "myPaletteStack" From janschenkel at yahoo.com Mon Aug 19 01:19:03 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Aug 19 01:19:03 2002 Subject: Disabling items in an option-style button In-Reply-To: Message-ID: <20020819061736.95968.qmail@web11904.mail.yahoo.com> Hi Sarah, Thanks for testing all those combinations and replying with this info. I'm very glad it works under MacOS X. Unfortunately, it doesn't under WinME or Win2K. Maybe they used the Carbon routines under MacOS X instead of displaying a field. At any rate, a sub-stack as menu works just as well, so I'll go ahead with that approach since it has to work on Mac+Win for sure, Linux maybe. Best regards, Jan Schenkel. --- Sarah wrote: > Two thoughts here: > > In the menu types were this is supported, you don't > need to put the > bracket before the dash. The dash itself is used as > a special character > to indicate a dividing line rather than an extra > item. The dash on it's > own will give you a dividing line or space. > > I have tested all the different types of menu > buttons and this > technique works on all except the combo box. Under > OS X, it certainly > works with an option menu. > > Cheers, > Sarah > > > On Friday, August 16, 2002, at 08:55 pm, Jan > Schenkel wrote: > > > Hi all, > > > > In the process of preparing a conversion of an > > existing FoxPro program to RunRev, I ran into a > small > > problem. > > > > Here's the deal: > > The user can choose a country from a popup-menu > with > > 14 items: the first is the selected item; the > second a > > disabled horizontal line; then the 10 pre-selected > > items from the preferences; then another disabled > > horizontal line; then the item 'Other...' which > > displays a complete list where the user can pick > when > > it's not in the 10 pre-selected items. > > > > So for testing purposes i made an option menu > > > > Belgium > > (- > > Belgium > > Netherlands > > Luxembourg > > United Kingdom > > France > > Germany > > Italy > > Spain > > Portugal > > United States > > (- > > Other... > > > > However, RunRev stubbornly refuses to disable the > > horizontal lines, if you're working with an option > or > > combo-box style button. > > > > Admittedly, I can mimick the behaviour by building > a > > substack, setting the menuName of the option > button to > > that substack, and have it show a > > 'preOpenStack'-prepared version of a collection of > 12 > > buttons and two horizontal lines. > > > > But is this workaround really necessary or am I > > missing something obvious? Btw, I'm running > Revolution > > 1.1.1r2 under WinME. > > > > Jan Schenkel. > > > > "As we grow older, we grow both wiser and more > foolish > > at the same time." (De Rochefoucald) > > __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com From jswitte at bloomington.in.us Mon Aug 19 01:34:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Mon Aug 19 01:34:01 2002 Subject: Best way to do palettes? In-Reply-To: <007301c24745$3ba79870$88b15bd1@lanfear> Message-ID: <68A4F835-B33D-11D6-8D0E-000A27D93820@bloomington.in.us> OK. Now, how do I toggle a palette? I can open and close the stack at will from the message box, but how do I tell if it's open? Also, if I "set visible of stack "Palette" to false", the 'palette' command no longer works. Is this supposed to happen? (If I close a palette stack - manually or with the close command', the visible also still remains true) Jim > palette stack "myPaletteStack" From shaosean at unitz.ca Mon Aug 19 01:43:00 2002 From: shaosean at unitz.ca (Shao Sean) Date: Mon Aug 19 01:43:00 2002 Subject: Best way to do palettes? References: <68A4F835-B33D-11D6-8D0E-000A27D93820@bloomington.in.us> Message-ID: <008701c2474a$f35940e0$88b15bd1@lanfear> if you want to show/hide the palette without closing it just use the following commands: show stack "myPaletteStack" hide stack "myPaletteStack" you will need to trap the "closeStackRequest" in your palette to make sure that you hide it and not close it (but make sure you have a way to allow it to close properly when the end-user quits your application).. to see if the palette is open, just check like so: if ("myPaletteStack" is among the lines of the openStacks) then put "my palette is open" else put "my palette is closed" end if HTH From ambassador at fourthworld.com Mon Aug 19 01:47:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 19 01:47:00 2002 Subject: Best way to do palettes? In-Reply-To: <200208190457.AAA17606@www.runrev.com> Message-ID: Jim Witte writes: > How can I make palettes in a stack? I can create a substack and then > hide/show a card of that substack (but how do I 'get the visible' as it > were), but is there a more direct way - something like 'make palette of > cd 2 with height y and width x'? Window modes in Rev are handled with these commands: palette modal modeless toplevel You can also open a specific card or a stack as palette like this: open cd 3 of stack "MyPalette" as palette open card "Err444" of stack "MyErrs" as modal -- 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 Mon Aug 19 01:58:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 19 01:58:01 2002 Subject: Dan Shafer : Wired HC Article - rev too complicated? In-Reply-To: <200208182054.QAA09979@www.runrev.com> Message-ID: Wolfgang M. Bereuter writes: [Warning: almost as long as the original post -- let me know when this is considered OT and we can take it offline] >> Different priorities. Part of that may be Rev's plarform-independent >> nature: remember that iShell runs on Mac and Windows only, >> which is fine for their audience but the Rev mission is more "write >> once, run anywhere" > > Only its drolly. Thats more than 98% of the desktop market in > the world... > Rev/mc was/is described as a cbt and multimedia authoring and > rapid application tool. If there was no priority in 2 years for > the authoring community, then the answer is simple: > Rev is *not* an cbt or multimedia authoring tool... I've built a fair number of multimedia CBTs in Rev/MC, as has Sun Microsystems and others. If the features you need have been requested by enough people, I'd be surprised if they weren't prioritized appropriately. > I think you know that win and mac do not display the fonts in > the same size, because of M$...,ok. How can you compensate that > with *standard html* without CSS. Please tell me that... CSS is a browser specification. I haven't worked in Director for years, but I don't recall that market-leading multimedia tool supporting CSS, or many other browser specifications either. I'm not sure how Director engine compensates for the OS differences in font metrics, but Rev offers the Profile Manager which lets you apply OS-specific settings for objects. > Did you ever do formating of bigger texts with rev for > crossplatform apps...? Just how big? I've released a number of OS X apps and have not had that reported here. > If yes, how did you hide that "nice" strike through bug in the > OSX engine from your clients? I cant imagine that in a 10 CD > multimedia project with a *lot of text* is not one(!) scrolling > text field, wich makes the text after scrolling nearly > unreadable??? Given my experience with the folks at RunRev and MetaCard, I'm confident that any reproducible bug of that nature will be addressed in the next release. All software always has bugs. 100% of serious bugs I've reported in the Rev engine have been fixed or are actively in progress toward a fix. And giving credit where due, I've never seen anyone match the turnaround time for bug fixes with the consistent speed of Scott Raney (MetaCard Corp.), and Tuviah Snyder (whose done wonders with some of the multimedia support -- QT and otherwise -- in the engine). > Again: The lack of importing rtf or pasting styled text is imho > inacceptable for a professional authoring tool. Every primary > school programm (dont get it negativ) like Hyperstudio can do > this and most of every 20$ Dollar shareware can do it also. > Why it?s from your point of view a "no need" for a 1000$ > Developer tool. Even if this feature helps you save days and > weeks of developing time, related to text exchanging in the > standard crossplatform text format. Even when the "rev > html-fortmat" is not more than a crutch..? I can find few tools which export RTF that don't also export HTML. For me it does what I need and lets me move on to other things. I understand from your series of posts on the matter that RTF is important to you. If enough other people need it I'm sure the Rev team will prioritize it appropriately. I've never seen them turn down a thousand sales because they simply didn't feel like adding a particular feature. :) Why doesn't someone craft a Transcript lib for importing RTF? Geoff -- got some time on your hands? :) > Sorry for that hard word, but thats the ignorance of english > speaking people, wich are thinking there is only one language in > the world. US and Enlish people tend to forget, that there are > billions speaking chinese, indian, arabic, spanish, russian, > japanes, german and so on... All of them prefer (learning) > software in their own language. So you have to work with > multilingual texts. For that you need translators. And > professional translators are working with professional > texttools, wich use the crossplatform exchange format texts for > text, called "what surprise": rtf If I'm not mistaken RTF is a proprietary Microsoft format. They do not require licensing fees, but they do control the specification. For this reason the modern open standard for internationalization is Unicode (see ), as implemented in the open standard for SGML and its offspring HTML. Rev currently has a very modest level of support for Unicode, and it's my understanding that a more complete implementation which will handle double-byte characters is in the works. > Nearly all professional translators are trained to > recive/deliver their work in rtf. Have you ever tried importing > big textfiles of different languages to the rev?s html-"standard" > -format with all that not Asci chars Umlauts und Sonderzeichen > like: ? ? ? ?, ? ? ? ? ? ? ? ? ? ? ?.... ...if you paste that in a Rev field and get the htmlText, you get:

Ä Ü Ö ß, ë ì î ñ ó ò û Æ ÿ Â Á

Which of those is not translated correctly? > AND..: Where is the Text-, Outliner-,layout-,office programm > wich can export/import rev?s html-"standard"-format? You got a word processor that handles ? :) But seriously, the only significant difference I've found is that browsers are designed to render text in relative sizes, while Rev/MC does what you're asking for: it works in fixed pixel sizes. MetaCard predates CSS, so when it was time to implement an ASCII format for describing text attributes within the engine they chose a solution that works well within the engine: fonts are specified by pixel size. If you need to export styled text for other applications you'll need to come up with a solution for the target app. For example, if you're exporting to a relative-text-size app like a browser, you can do a replace on the font strings to render them however you like. If you want pixel-specific text sizes that will work across all browsers (IE seems to handle MC HTML fine as it is) you can generate CSS definitions for your output header. And since CSS supports a corollary to backgroundcolor you can have that too. :) If it turns out that a lot of users need to export for browsers, let's continue this on the xtalk list where discussion of the details of such language additions are handled. ... >>> I m not a scripter, but may bee a kind of power user. After 2 >>> years struggling with rev, I fear a couple of Director Licenses >>> (or/and some hours of Director programmers) would have been >>> cheaper than one Pro License of Rev. >> >> Depends on what you want to build. Director is fairly >> unbeatable for some multimedia tasks, but I wouldn't build an >> application with it. > > F.e.: Have you ever seen the Rosetta Stone (learning languages)? > If thats not an *application*, how would *you* call it, utility, > script..? > imho, there are some millions out there thinking like me, it s > great App. Done in Director. My post was weak in its distinction. Yes, an "application" is an executable file, so any EXE would apply. The distinction I was after was "multimedia application" (like the excellent Rosetta Stone series) as opposed to what we might call "production application", the traditional world of things like word processors, spreadsheets, CAD, and other categories which we could characterize as producing a tangible user-created output. In this sense, "production applications" can be seen as specialized authoring tools: with a word processor you author a novel, with a spreadsheet you author a business model, with CAD you author maps, etc. I think it's this sort of thinking behind Appleton's comment about "a tool that creates authoring systems". Of course it would be silly to author a full-fledged word processor in Rev, with so many great ones out there. A "production application" development tool like Rev is best applied for vertical market solutions for which C++ would be cost-prohibitive, or at best less cost-advantageous. There are an uncountable number of software categories that are well-suited for something like Rev, with a million more waiting to be discovered. You might be able to make a mapping program using Director, but Director was never designed as a general "production application" development environment, so I suspect it'd be more work than using something built for the job like Rev. >> If you're looking to hire programmers for Director, why not for >> Revolution? >> RunRev has a list of consultants at >> . > > What can rev consultants do against bugs in the engine..? Nothing, but if you need to hire programmers for Director and not for Rev that makes a powerful statement about the accessibility of each product. Submit a reproducible recipe with your bug report and work on other aspects of your program while they resolve it. ... >> And since one multi-platform Rev Pro license is about half of >> the cost of the two Director licenses needed for cross-platform >> work, you just freed up licensing cash that could be put directly >> toward development time -- it's like getting an extra $1000 worth >> of programming for free. :) > > Heureka! That?s another part of the description of my decision > to go with rev! > BUT... this can be big error if the "one multi-platform" does > not permit to finish the programm. Then its a lot more > expensive, than the the 2 licences, because you cant get money > for unfinished work. If you have needs that are better addressed by another tool, only you can make that determination based on the unique requirements of the project at hand. ... > My target market are not Pc experts. So they have much more > problems with bugs than developer or power user. People, wich > are insecure with the basics of a PC, do not realize/analyze why > "that thing" is crashing... Are these script errors or hard crashes? If the latter, submit a recipe for reproducing the error and the Rev team can address it for you. If it's in the scripts it takes more work. :) > finally some statements of some german speaking developer I v > contacted here to have a look at rev, change to rev or do > anything for me in rev..: > > ...Real fast developing i still do in HC. A monochrome single-window architecture with a limited object model that runs only on the obsolete version of one minority OS. Why? > All my employes do the rest in Java. Ten times the development cycle, half the runtime speed. Or as a friend says, "Write once, crawl anywhere". Ever play with Marimba? ... > ...Rev seems promising, but the learning curve is very steep. And this person prefers Java? ... > ...Tried to imported a 8000 card HC stack but some functions do > not work. I have no time to play with it. Yes, HC requires a lot of HC-specific externals. When OS X no longer boots into Classic will they have time? ... > ...Director - thats the standard for multimedia And the standard for operating systems is Microsoft Windows. ;) The standard for diagramming is Visio. Does that mean no other diagramming/CAD/concept mapping tool can have any value, no matter how well it addresses a specific need? No single tool does everything in every category better than all others. While the size of an installed user base plays a useful role in making choices, the smart developer also does a critical analysis of the requirements of the project at hand vs. the features available in each tool. > A assume that not all german speaking developer are idiots Germans are some of the best gadgeteers in history. GoLive was and largely still is developed by a team of Germans, and IMHO it's a work of genius. And of course there are the classic Mercedes.... > None of them said I?ll start with it. It was a big surprise for > me, because I was very enthusiastic for rev and recomend it > nearly everywhere i could. Spread the word, brother. Helping humanity save millions of hours with true rapid development.... (wow, have I been having too much fun with this tool or what?) -- 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 Mon Aug 19 02:16:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Aug 19 02:16:01 2002 Subject: QTversion when no QT installed In-Reply-To: Message-ID: At 5:59 PM -0700 8/12/2002, Kurt Kaufman wrote: >What does a query to QTversion bring up if QuickTime is not installed at >all? "0" or "empty"? -- On Unix systems, the QTVersion function always returns 2.0. On Mac OS and Windows systems, if QuickTime is not installed, the QTVersion function returns 0.0. Otherwise, it returns the QuickTime version number. -- (from the docs) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From ambassador at fourthworld.com Mon Aug 19 02:20:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 19 02:20:01 2002 Subject: Wired HC Article - UI In-Reply-To: <200208190457.AAA17606@www.runrev.com> Message-ID: Troy Rollins writes: > On Sunday, August 18, 2002, at 11:59 PM, Richard Gaskin wrote: > >> But the central question was: what can Rev learn from the design of >> iShell? >> >> Since iShell is cited as an accessible UI, perhaps there may be value in >> exploring ways of employing Rev's vast capabilities to build a UI that >> starts the user with something inspired by the relevant portion of >> iShell's design, progessively disclosing additional fetures as needed. > > I'll respectfully (re)submit that I don't see that happening. A month? > That would be cheap indeed. But I doubt that would deliver even close to > the value level desired. Nor would a year. Unless you have used the > iShell environment, and have experienced the fact the the UI is so > incredibly consistent and fully implemented to the last detail, as well > as entirely rock-solid, then you can't imagine the level of work that it > would require. I think I'm not writing very clearly today. :) I wasn't advocating replicating iShell feature-for-feature. If you need iShell it's so much cheaper to just get buy it than rebuild it from scratch. The question was: what can Rev learn from the design of iShell? Some here have expressed that Rev is too deep too fast and that makes it hard to learn to swim gracefully in it. I believe all software can be radically improved, so maybe we can discover specific solutions. One approach would be to think about what makes iShell valuable to you, then think of what you want to do in Rev and how that work might benefit from you learn from iShell. If Rev offers too much for the user all at once, maybe there's a way to solve it for those users by thinking about progressive disclosure, a way to reveal features in stages by paying closer attention to specific tasks and contexts. -- 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 sims at ezpzapps.com Mon Aug 19 04:34:01 2002 From: sims at ezpzapps.com (sims) Date: Mon Aug 19 04:34:01 2002 Subject: scrollingList fld color In-Reply-To: References: Message-ID: If I set the foregroundColor of a single line in a scrolling List fld to any color, I can no longer click/hilite that line. I would like to be able to differentiate some lines in a scrolling list fld by using color...any way to do this? atb sims ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From sylvain.legourrierec at son-video.com Mon Aug 19 05:32:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Mon Aug 19 05:32:01 2002 Subject: crash under win2K Message-ID: <000801c2476b$7b611d30$0801a8c0@sylvain> hello, my distribution crashes under windows2000. The "revdb.dll" is involved. My apps works fine inside Revolution (win2000 version). The MacOs distribution works too.. Only windows distribution crashes. What can I do? thanks Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution -------------- next part -------------- An HTML attachment was scrubbed... URL: From dcragg at lacscentre.co.uk Mon Aug 19 06:51:00 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon Aug 19 06:51:00 2002 Subject: scrollingList fld color In-Reply-To: References: Message-ID: At 12:32 pm +0300 19/8/02, sims wrote: >If I set the foregroundColor of a single line in a scrolling List fld >to any color, I can no longer click/hilite that line. > >I would like to be able to differentiate some lines in a scrolling >list fld by using color...any way to do this? This works fine here. set the forecolor of line 2 of field 1 to "blue" After that, I can click the list, and lines hilite as expected. How are you setting the color? Cheers Dave From rodmc at runrev.com Mon Aug 19 07:03:00 2002 From: rodmc at runrev.com (Rod McCall) Date: Mon Aug 19 07:03:00 2002 Subject: Wired HC Article (Rod McCall) Message-ID: <1029758467.3d60de03a4db0@mail.spamcop.net> > > know the commands, quirks and limitations. Programs are unfortunately > made by programmers, and they are seldom wise but most often rather > knowledgeable. Well you'll be pleased to hear that not everyone here at Runtime is a 100% programmer. Alan the main designer of the UI now spends most of his time on UI related aspects of the product. Also my PhD (being handed in soon) and chapter (in a rather academic) book are both on usability - check my staff profile for more info on the usability side of me. Also as I've said elsewhere we do take UI stuff very seriously. > I think, as a cross platform application, RunRev has omitted from many > directions. Some are advantageous, for example its HyperCard roots. > Others are desastrous especially its way of thinking about the users as > a knower. > > The most needed Features in Revolution for me would thus be: > - an useful errormessage handling/generator (would make debugger > obsolete) > - better automation of the scripter > - simpler menu generator/assistant (would decrease list traffic) > - improved UI (would increase revenue) > - General uncluttering and simplifying > - bug fixes (would decrease bad press) > - better documentation (sad fact: its one of the best, ever!) ok, all relevant points and are now being added to my UI/features list on my Palm Pilot. When we come to do the next major version I hope we can fulfill atleast some if not all of the things above. For a more amusing look at usability try the Interface Hall of Shame below: I've not looked at it for a while but it was a source of many examples when I used to lecture on this subject. As yet I don't think we have a tabbed window with 30+ tabs, although we could add it if there was enough demand :-) cheers, rod -- Rod McCall Runtime Revolution Ltd T: +44 (0) 870 747 1165 Revolution - The Solution in Software Development In Enterprise, Business and Education From sims at ezpzapps.com Mon Aug 19 07:12:00 2002 From: sims at ezpzapps.com (sims) Date: Mon Aug 19 07:12:00 2002 Subject: scrollingList fld color In-Reply-To: References: Message-ID: >At 12:32 pm +0300 19/8/02, sims wrote: >>If I set the foregroundColor of a single line in a scrolling List fld >>to any color, I can no longer click/hilite that line. >> >>I would like to be able to differentiate some lines in a scrolling >>list fld by using color...any way to do this? > >This works fine here. > >set the forecolor of line 2 of field 1 to "blue" > >After that, I can click the list, and lines hilite as expected. > >How are you setting the color? I have a small database which I save as a customProp and then display only one item of that customProp in the scrolling list fld. That way, I can click on the scrolling list fld and several flds get populated with the appropriate data from a line in the customProp. When I save changes to that customProp I include in the repeat: if item 6 of tF is "true" then set the foregroundColor of line tLine in fld "urlList" to "Blue" I have tried foreColor also with no luck. It sets the color just fine but I end up not being able to click on that line in the scrolling list fld. Am using Mac OS 10.1.5 sims ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From kkaufman at snet.net Mon Aug 19 07:26:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon Aug 19 07:26:01 2002 Subject: QTversion when no QT installed Message-ID: Jeanne DeVoto wrote: "On Mac OS and Windows systems, if QuickTime is not installed, the QTVersion function returns 0.0. Otherwise, it returns the QuickTime version number. -- (from the docs)" Sorry, Jeanne. I did look at the docs, of course. How could I have missed that sentence? -Kurt From rodmc at runrev.com Mon Aug 19 07:30:01 2002 From: rodmc at runrev.com (Rod McCall) Date: Mon Aug 19 07:30:01 2002 Subject: Dan Shafer : Wired HC Article - rev too complicated? Message-ID: <1029760098.3d60e462481a0@mail.spamcop.net> > A assume that not all german speaking developer are idiots > None of them said I?ll start with it. It was a big surprise for > me, because I was very enthusiastic for rev and recomend it We assume NONE of our users are idiots! As far as I am concerned (and I speak for myself) if something is available in any product and you can't do it easily then that suggests to me there is a need to improve some aspect of that product. There are a range of methods but your could for example improve the task-interaction model to fit in more with the power user (e.g. make it faster, quicker, and shorter) and/or provide a clear step by step way of doing things for new users. This applies to Rev, Visual Basic, Real Basic and even Director. No interface can or will suit everyone 100% although there are ways to support different user types through the range of small features and enhancements which support them specifically. As for speaking languages again I can only speak for myself and say that I am still embarassed at the lack of language education in the area of the UK we are from. Although I did study German at school this was not until I was 12 or 13. As far as I am concerned there should be more lanugages taught earlier on here. Anyway enough of my "learning languages" rant. We are constantly looking at providing better support for non-English language speakers. However, these things take time, patience and a lot of money. Do remember that the localisation means we have to translate every word in the transcript dictionary, all help files as well as the interface. We are genuine in our commitment to our customers, we do provide resources to fix problems where they occur and finally we do strive to make the best developer tool possible. We can only do these things with your support and comments (good or bad) and appreciate the time take to write every comment we receive. Kind regards, rod -- Rod McCall Runtime Revolution Ltd T: +44 (0) 870 747 1165 Revolution - The Solution in Software Development In Enterprise, Business and Education From wmb at internettrainer.com Mon Aug 19 07:36:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Aug 19 07:36:01 2002 Subject: use-revolution digest, Vol 1 #616 - 13 msgs In-Reply-To: <200208190457.AAA17606@www.runrev.com> Message-ID: On Monday, August 19, 2002, at 06:57 AM, use-revolution- request at lists.runrev.com wrote: > Re: Re: Dan Shafer : Wired HC Article - rev too complicated? > Reply-To: use-revolution at lists.runrev.com > >> Again: The lack of importing rtf or pasting styled text is imho >> inacceptable for a professional authoring tool. Every primary school >> programm (dont get it negativ) like Hyperstudio can do this and most >> of every 20$ Dollar shareware can do it also. > > Funny then that pasting styled text doesn't even work > consistently in Word! Thats M$ standard...;) 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 sims at ezpzapps.com Mon Aug 19 07:55:01 2002 From: sims at ezpzapps.com (sims) Date: Mon Aug 19 07:55:01 2002 Subject: scrollingList fld color 2 In-Reply-To: References: Message-ID: > >How are you setting the color? > >Cheers >Dave This repeat will also result in lines that will not hilite in the scrolling list fld. put the num of lines in fld "urlList" into tNum repeat with i=1 to tNum if "Search" is in line i of fld "urlList" then set the foreColor of line i of fld "urlList" to "Blue" end if end repeat sims ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From sims at ezpzapps.com Mon Aug 19 08:44:01 2002 From: sims at ezpzapps.com (sims) Date: Mon Aug 19 08:44:01 2002 Subject: scrollingList fld color 3 In-Reply-To: References: Message-ID: > >This repeat will also result in lines that will not hilite >in the scrolling list fld. If I set the foreColor of two lines to a color then the hilite works fine. Once I set three lines the problems start. sims ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From MFitz53 at cs.com Mon Aug 19 09:35:01 2002 From: MFitz53 at cs.com (MFitz53 at cs.com) Date: Mon Aug 19 09:35:01 2002 Subject: playStopped Message-ID: <155.12b66204.2a925b75@cs.com> I seem to be having trouble with the playStopped message. Button 1 puts 2 into the global myspot. In the playStopped handler in the player, I have: on playStopped global myspot -- contains a line number of the field titles(2 at this point) add 1 to gggg --should make myspot 3 send mouseUp to button "playit" end playStopped Button "playit" has this as part of the script: put line myspot of field titles into audioToPlay --titles being another global containing a field name. Problem: whenthe playStopped handler in the player is not commented out, the total number of lines of field titles is added to the 2 originally in the global myspot, making the value in myspot much higher than it should be. If someone has bumped into this or may know the cause, I'd sure appreciate their ideas. -------------- next part -------------- An HTML attachment was scrubbed... URL: From troy at rpsystems.net Mon Aug 19 09:38:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Mon Aug 19 09:38:01 2002 Subject: Wired HC Article - UI In-Reply-To: Message-ID: <1015F103-B381-11D6-9B13-000393853D6C@rpsystems.net> On Monday, August 19, 2002, at 03:16 AM, Richard Gaskin wrote: > The question was: what can Rev learn from the design of iShell? > > Some here have expressed that Rev is too deep too fast and that makes it > hard to learn to swim gracefully in it. I believe all software can be > radically improved, so maybe we can discover specific solutions. > > One approach would be to think about what makes iShell valuable to you, > then > think of what you want to do in Rev and how that work might benefit > from you > learn from iShell. Richard, as usual you make excellent points. But I believe this time you have stated the intention better. But I'll also come back to the fact the overall metaphor for iShell is not very well suited to Rev's work flow style - so maybe we examine what is a better direction of optimization. In fact, from my perspective, I'm reasonably happy with Rev's UI. Room for improvement? Absolutely. Actually, Wolfgang has previously pointed out several such areas - back when he coined "AppLov". If it were me, I would focus in on the AppLov like a hawk. It is the key to examination of a project in a holistic manner. Another advantageous tool would be a true project overview - you know, like a site map. Something which has the capacity to show graphically a projects layout and interconnections. Stacks break out into cards, cards have colored icons or stripes on them representing groups, and lines show interconnections. Double clicking a card opens it for editing, new cards could be added, new links drawn, and so on... Personally, I don't need that sort of tool, but I can see where it could be helpful to folks who are not scripters at heart. Cheers. -- Troy RPSystems, LTD www.rpsystems.net From klaus.major at metascape.org Mon Aug 19 10:09:00 2002 From: klaus.major at metascape.org (Klaus Major) Date: Mon Aug 19 10:09:00 2002 Subject: playStopped In-Reply-To: <155.12b66204.2a925b75@cs.com> Message-ID: <153ECED4-B385-11D6-BA05-003065D52E8E@metascape.org> Hi MFitz53 (is that your real name ? ;-) > I seem to be having trouble with the playStopped message. > > Button 1 puts 2 into the global myspot. > > In the playStopped handler in the player, I have: > on playStopped > global myspot -- contains a line number of the field titles(2 at this > point) > add 1 to gggg --should make myspot 3 gggg ? You mean myspot !? > send mouseUp to button "playit" > end playStopped > > Button "playit" has this as part of the script: > put line myspot of field titles into audioToPlay --titles being another > global containing a field name. > > Problem: whenthe playStopped handler in the player is not commented > out, the total number of lines of field titles is added to the 2 > originally in the global myspot, making the value in myspot much higher > than it should be. > > If someone has bumped into this or may know the cause, I'd sure > appreciate their ideas. ??? the script looks OK to me... Could you please post the complete script of the "playit"-button. That would make error-checking a lot easier for us ? Thanks in advance. Regards Klaus Major klaus.major at metascape.org From Roger.E.Eller at sealedair.com Mon Aug 19 11:04:00 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Mon Aug 19 11:04:00 2002 Subject: Image from URL will not replace Message-ID: Help. I can't get the image to change to a "different" image even if I change the content of myURLimage. After the initial run, it always shows the same image. When I examine the properties, the fileName on the image tab *is* updated to the new URL. Why does this not work? My script is below. Thanks. ~Roger on mouseUp put "http://www.google.com/images/logo.gif" into myURLimage delete image "online image" of stack "Viewer" open stack "Viewer" create image "online image" set the fileName of image "online image" of stack "Viewer" to myURLimage end mouseUp From dcragg at lacscentre.co.uk Mon Aug 19 11:34:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon Aug 19 11:34:01 2002 Subject: scrollingList fld color In-Reply-To: References: Message-ID: At 3:10 pm +0300 19/8/02, sims wrote: >I have a small database which I save as a customProp >and then display only one item of that customProp in the >scrolling list fld. That way, I can click on the scrolling list fld >and several flds get populated with the appropriate data from a line >in the customProp. > >When I save changes to that customProp I include in the repeat: > > if item 6 of tF is "true" then set the foregroundColor of line >tLine in fld "urlList" to "Blue" > >I have tried foreColor also with no luck. It sets the color just >fine but I end >up not being able to click on that line in the scrolling list fld. > >Am using Mac OS 10.1.5 What happens when you click on the colored line? No hiliting at all? What about when you click on the non-colored lines? Have you set any properties of the field, or have you just used the standard scrolling list field from the tools palette? Make sure you haven't set the hiliteColor of the field (or the object it inherits from - group,card, stack, etc) to the same as the background color. Cheers Dave From dcragg at lacscentre.co.uk Mon Aug 19 11:37:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon Aug 19 11:37:01 2002 Subject: scrollingList fld color 3 In-Reply-To: References: Message-ID: At 4:42 pm +0300 19/8/02, sims wrote: >> >>This repeat will also result in lines that will not hilite >>in the scrolling list fld. > > >If I set the foreColor of two lines to a color then the hilite works fine. > >Once I set three lines the problems start. I'm not seeing anything like that here. Hiliting works however many lines I set the forecolor of. (also on Mac OS 10.1.5) What happens when you click on the colored line? No hiliting at all? What about when you click on the non-colored lines? Have you set any properties of the field, or have you just used the standard scrolling list field from the tools palette? Make sure you haven't set the hiliteColor of the field (or the object it inherits from - group,card, stack, etc) to the same as the background color. Cheers Dave From sims at ezpzapps.com Mon Aug 19 11:53:01 2002 From: sims at ezpzapps.com (sims) Date: Mon Aug 19 11:53:01 2002 Subject: scrollingList fld color 3 In-Reply-To: References: Message-ID: Thanks Dave, I've got to strip this thing down & try this again in the morning... I gotta be missing something simple here. sims > >I'm not seeing anything like that here. Hiliting works however many >lines I set the forecolor of. (also on Mac OS 10.1.5) > >What happens when you click on the colored line? No hiliting at all? >What about when you click on the non-colored lines? > >Have you set any properties of the field, or have you just used the >standard scrolling list field from the tools palette? Make sure you >haven't set the hiliteColor of the field (or the object it inherits >from - group,card, stack, etc) to the same as the background color. > >Cheers >Dave From tony.moller at drcs.com Mon Aug 19 13:46:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Mon Aug 19 13:46:01 2002 Subject: menus in MacOS In-Reply-To: Message-ID: on 8/18/02 7:44 PM, Tony Moller at tony.moller at drcs.com wrote: > Bob, sorry for the confusion :) I didn't mind the resize (since I knew it > would happen). What was throwing me off was the menu on each card issue. > Your comments and those of Jacqueline's have helped me greatly, and I thank > you both. I think I've got things worked out now. Okay, I'm about to give up on menus altogether. Everything was great last night/this morning. Thanks to HyperActive's conversion guide, I had gotten the menu's to show up on all the cards, the card window was properly resizing on a Mac and not on a PC... I was in heaven. Or so I though. Now I noticed that every time I double click on the stack file to start it in 'player' mode (on the Mac), I loose 22 pixels of the screen. Quit, reopen, loose another 22 pixels. My window is being eaten away! This also happens when I start Rev in developer mode first, then open my stack file. Someone please tell me this is a bug in Rev... and not something I did. Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From MFitz53 at cs.com Mon Aug 19 14:07:01 2002 From: MFitz53 at cs.com (MFitz53 at cs.com) Date: Mon Aug 19 14:07:01 2002 Subject: use-revolution digest, Vol 1 #618 - 15 msgs Message-ID: <129.1612e7c0.2a929b31@cs.com> In a message dated 8/19/02 12:54:29 PM Eastern Daylight Time, use-revolution-request at lists.runrev.com writes: > send mouseUp to button "playit" > > end playStopped > > > > Button "playit" has this as part of the script: > > put line myspot of field titles into audioToPlay --titles being another > > global containing a field name. > > > > Problem: whenthe playStopped handler in the player is not commented > > out, the total number of lines of field titles is added to the 2 > > originally in the global myspot, making the value in myspot much higher > > than it should be. > > > > If someone has bumped into this or may know the cause, I'd sure > > appreciate their ideas. > > ??? > the script looks OK to me... > > Could you please post the complete script of the "playit"-button. > > That would make error-checking a lot easier for us ? > > Thanks in advance. > > Regards > > Klaus Major > klaus.major at metascape.org > Thank you for your reply. Before I post the scripts involved, maybe the following may provide more information. I have been beating my brains out (not a large task)on this and finally made it around to trying something different. In the player script, I commented all else out and put the following in: on playStopped beep end playStopped The instant I send start player to the player, it beeps then plays the sound file. This accounts for ALL of the problems I have had. BTW, gggg was simply a typo. My question now is" Is RR sending the same message out for both start and stop and having it interpreted based on some condition of the player, therefore requiring some sort of qualifier, or should I just reload Revolution? Also, a question for RR. Is there a forum somewhere that is more oriented toward the beginner to novice range? Thanks again,Klaus mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From jswitte at bloomington.in.us Mon Aug 19 16:36:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Mon Aug 19 16:36:01 2002 Subject: Hobby License - on the Retrospect list! Message-ID: <19913E7F-B3BB-11D6-872C-000A27D93820@bloomington.in.us> I was surprised when I was checking mail that the issue of a 'Hobby License' has apparently come up on the Retrospect Backup list - a bit of a coincidence! Here's what they said: > I don't know how well this would work with Retrospect, buy the guys > over a > Stalker (CommunigatePro mail server) are looking at an interesting > pricing > model for their users.

Their users main gripe was that $499 was too > much to pay for those who > administered large sites (mail servers) at work and wanted the same > software > for home.

The idea was brought up for a hobby license. Basically, > when users purchased > a commercial license (50 users or more @ $499 and up), they were > eligible > for a 5 user license for home use at a cost of about $99.

This > meant that Stalker didn't have to absorb higher support costs for > "home" users because anyone that had the cheaper license was already > proficient with the software through a larger license.

It also > meant that the mail server admins were able to buy a license for home > or for use as a backupMX, without having to waste money on a large > license.

Perhaps this is something that Dantz could look at for it > users. For those > of us that bought the 100 client server license, we would be able to > buy a 5 > client license (Server version) for $99. Jim From jperryl at ecs.fullerton.edu Mon Aug 19 17:07:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon Aug 19 17:07:01 2002 Subject: Problems with Sounds In-Reply-To: <19913E7F-B3BB-11D6-872C-000A27D93820@bloomington.in.us> Message-ID: Hi, I am trying to get a rev stack to play an aif file. First I tried this: play "/Users/judy/Documents/HPGame/Sounds/TrainPassing.wav" What I get is a static burst and nothing else. (Got the path by using the Terminal app in Mac OSX and getting to the directory and then using the pwd command to get the correct directory). Next I used SoundEdit to embed the sound as a resource within the stack; then used this rev command: play audioclip "TrainPassing.wav" looping Got ongoing static. I Have tried aifs, wavs and QTMovs. I know the sound file is valid because it plays using other apps. What obvious thing am I missing? Many kind thanks, Judy Perry From jplam at netrin.com Mon Aug 19 17:41:01 2002 From: jplam at netrin.com (Jim Lambert) Date: Mon Aug 19 17:41:01 2002 Subject: Image from URL will not replace In-Reply-To: <200208191554.LAA32706@www.runrev.com> Message-ID: I've found that after setting the filename this can help: hide image "online image" show image "online image" with visual effect plain show image "online image" with visual effect plain --yep twice There may be a more elegant way to force a refresh. Another tack would be: put url myURLimage into image "online image" This shoves the data (file contents) found at the url into the image's data. If you load url myURLimage first, you could track the URLstatus of the loading and provide feedback if you want. Jim Lambert From sarahr at genesearch.com.au Mon Aug 19 21:37:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Mon Aug 19 21:37:01 2002 Subject: menus in MacOS In-Reply-To: Message-ID: <2BFFE444-B3E5-11D6-9698-0003937A97B8@genesearch.com.au> Do you have an openStack routine that resizes or pushes down depending on the platform? I have used Mac menus and apart from never remembering to do them initially, so I always have to do the pushDown routine, they all work fine. Sarah On Tuesday, August 20, 2002, at 04:48 am, Tony Moller wrote: > on 8/18/02 7:44 PM, Tony Moller at tony.moller at drcs.com wrote: > >> Bob, sorry for the confusion :) I didn't mind the resize (since I >> knew it >> would happen). What was throwing me off was the menu on each card >> issue. >> Your comments and those of Jacqueline's have helped me greatly, and I >> thank >> you both. I think I've got things worked out now. > > Okay, I'm about to give up on menus altogether. Everything was great > last > night/this morning. Thanks to HyperActive's conversion guide, I had > gotten > the menu's to show up on all the cards, the card window was properly > resizing on a Mac and not on a PC... I was in heaven. Or so I though. > Now I > noticed that every time I double click on the stack file to start it in > 'player' mode (on the Mac), I loose 22 pixels of the screen. Quit, > reopen, > loose another 22 pixels. My window is being eaten away! This also > happens > when I start Rev in developer mode first, then open my stack file. > > Someone please tell me this is a bug in Rev... and not something I did. > > Tony > > ------------------------------------ > Tony Moller - Network Admin > DRCS > 6849 Old Dominion Drive - Suite 320 > McLean, VA 22101 > Tel: 703-749-3118 Fax: 703-749-0967 > Pgr: 703-719-5324 <7037195324 at my2way.com> > > _______________________________________________ > 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 Aug 19 21:43:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Mon Aug 19 21:43:01 2002 Subject: scrollingList fld color In-Reply-To: Message-ID: <1E297FB9-B3E6-11D6-9698-0003937A97B8@genesearch.com.au> Yes, I have that problem too. The solution is to color not a line but a number of characters. Here is the handler I use to get round the problem. on colorLine lineNum, fldName, colorSpecs put the num of chars in line 1 to lineNum of fld fldName into endChar put endChar - the num of chars in line lineNum of fld fldName + 1 into startChar set the foregroundColor of char startChar to endChar of fld fldName to colorSpecs end colorLine Instead of scripting: set the foregroundColor of line 4 of fld "My Stuff" to red put this handler in your stack script or somewhere accessible and use: colorLine 4, "My Stuff", "red" The colorSpecs parameter can be a color name, RGB triplet or hex format. Cheers, Sarah On Monday, August 19, 2002, at 07:35 pm, sims wrote: > If I set the foregroundColor of a single line in a scrolling List fld > to any color, I can no longer click/hilite that line. > > I would like to be able to differentiate some lines in a scrolling > list fld by using color...any way to do this? > > > 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 jswitte at bloomington.in.us Mon Aug 19 21:48:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Mon Aug 19 21:48:01 2002 Subject: Platform-specific handlers (fork of: menus in MacOS In-Reply-To: <2BFFE444-B3E5-11D6-9698-0003937A97B8@genesearch.com.au> Message-ID: > Do you have an openStack routine that resizes or pushes down depending > on the platform? Would there be any advantage (other than perhaps bit of elegance) to having platform-specific handler names built into Rev (or would they have to be built into MetaCard?) Something like "openstackMacOS. openStackUnix, openStackWin32"? Jim From troy at rpsystems.net Mon Aug 19 22:06:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Mon Aug 19 22:06:01 2002 Subject: Platform-specific handlers (fork of: menus in MacOS In-Reply-To: Message-ID: <71744C22-B3E9-11D6-AB49-000393853D6C@rpsystems.net> On Monday, August 19, 2002, at 10:46 PM, Jim Witte wrote: > Would there be any advantage (other than perhaps bit of elegance) to > having platform-specific handler names built into Rev (or would they > have to be built into MetaCard?) Something like "openstackMacOS. > openStackUnix, openStackWin32"? There is nothing to prevent you from writing these yourself. We do it all the time in every app we write. Having dedicated of the names versions for every rather defeats the purpose of "write once run anywhere". We always have handlers for those platform specific functions which handle setup of various app specific requirements. -- Troy RPSystems, LTD www.rpsystems.net From kray at sonsothunder.com Mon Aug 19 22:08:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 19 22:08:00 2002 Subject: Platform-specific handlers (fork of: menus in MacOS References: Message-ID: <001e01c247f5$f64c2460$6401a8c0@mckinley.dom> I don't think so, Jim. It's easy enough to check 'the platform' on openStack and take action accordingly. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Jim Witte" To: Sent: Monday, August 19, 2002 9:46 PM Subject: Platform-specific handlers (fork of: menus in MacOS > > Do you have an openStack routine that resizes or pushes down depending > > on the platform? > > Would there be any advantage (other than perhaps bit of elegance) to > having platform-specific handler names built into Rev (or would they > have to be built into MetaCard?) Something like "openstackMacOS. > openStackUnix, openStackWin32"? > > Jim > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From lrivers at realsoftware.com Mon Aug 19 22:12:00 2002 From: lrivers at realsoftware.com (Lorin Rivers) Date: Mon Aug 19 22:12:00 2002 Subject: Dan Shafer : Wired HC Article - rev too complicated? In-Reply-To: <200208160745.DAA10169@www.runrev.com> Message-ID: On 8/16/02 2:45 AM, Richard Gaskin wrote: > Message: 10 > Date: Thu, 15 Aug 2002 22:13:53 -0700 > From: Richard Gaskin > Subject: Re: Dan Shafer : Wired HC Article - rev too complicated? > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > And even if you don't build authoring environments per se, the tools needed > to do that serve well for just about any other type of application. > > The power of Rev over a lot of competitors is just that sort of sweet spot: > you can build stuff, but you can also make tools to build stuff for you. In > contrast, those with more experience than I with VB and RealBASIC (Lorin, > please correct me if this is no longer accurate) have suggested that these > tools cannot create applications on the fly. RbScript allows a great deal of on the fly construction, but REALbasic clearly represents a different paradigm. That said, you can absolutely build apps in REALbasic that help you build apps in REALbasic, people do it all the time, and we continue to amplify these abilities. Of course, as REALbasic is a pretty rich environment, we don't hear much from users who'd like to be able to build apps that are self-modifying at runtime. REALbasic needs a "representation" of the objects (primarily controls) it needs to use in the compiled app. -- Lorin Rivers mailto:lrivers at realsoftware.com Vice President of Marketing 512.328.REAL (7325) x712 v REAL Software 512.328.7372 f 1705 South Capital of Texas Hwy. http://www.realsoftware.com Suite 310 REALbasic: the powerful, easy-to-use Austin, Texas 78746 tool for creating your own software for Macintosh, Mac OS X, and Windows. From bornstein at designeq.com Mon Aug 19 23:24:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Aug 19 23:24:01 2002 Subject: menus in MacOS Message-ID: <200208200422.g7K4LxW22736@mailout5-0.nyroc.rr.com> >Now I >noticed that every time I double click on the stack file to start it in >'player' mode (on the Mac), I loose 22 pixels of the screen. Quit, reopen, >loose another 22 pixels. My window is being eaten away! This also happens >when I start Rev in developer mode first, then open my stack file. I checked out my current program that uses menus by running it in Player mode as well as within Revolution and it's operating normally. When you open it in Rev and the window shrinks, have you tried going to the Stack properties palette and clicking "Edit menubar in stack" (i.e. turning on the editmenus property)? Does this bring some of the window back? Are you setting or resetting this property in any script? Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From monte at sweattechnologies.com Mon Aug 19 23:28:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Aug 19 23:28:01 2002 Subject: AppleEvents and File Exchange Message-ID: Hi All Any appleEvent guru's around? I would like a list of common appleEvents to handle. I notice Rev handles quit anre there any others that are good? I also need a script that will set the file exchange for an extension. Any idea's? PS I just found out that libSound only works on PC. Sorry about that everyone ;-( 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 Mon Aug 19 23:32:02 2002 From: katir at hindu.org (Sivakatirswami) Date: Mon Aug 19 23:32:02 2002 Subject: Send URL to program "Finder" with GURLGURL Message-ID: on 08-17-2002 06:14 PM, Scott Rossi at scott at tactilemedia.com wrote: >> do "open location " & quote & theURL & quote as AppleScript > > Ken's right. And mail is just as easy: just add "mailto:" to the mail > address in theURL. > > Regards, Thanks, indeed it does work, though I would be nervous about deploying that script in Mac standalones, since it assumes appleScript is installed, where as an appleEvent works, regardless (at least that is my understanding). Or, perhaps AppleScript is on board these days regardless of user configuration? Hinduism Today 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 janschenkel at yahoo.com Tue Aug 20 01:16:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue Aug 20 01:16:01 2002 Subject: AppleEvents and File Exchange In-Reply-To: Message-ID: <20020820061415.50436.qmail@web11901.mail.yahoo.com> Hi Monte, The standard suite of events are of class 'aevt', and tthey are of type: - 'open' -- open the application - 'odoc' -- open a document - 'pdoc' -- print a document - 'quit' -- quit the application The _definitive_ source is the Apple Event Registry, but I couldn't find a link immediately. Maybe you'll find it if you dig around long enough at: http://developer.apple.com/techpubs/macos8/mac8.html Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Monte Goulding wrote: > Hi All > > Any appleEvent guru's around? > > I would like a list of common appleEvents to handle. > I notice Rev handles > quit anre there any others that are good? > > I also need a script that will set the file exchange > for an extension. Any > idea's? > > PS I just found out that libSound only works on PC. > Sorry about that > everyone ;-( > > 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 __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com From bl1ng.bl1ng at gmx.net Tue Aug 20 01:34:01 2002 From: bl1ng.bl1ng at gmx.net (bl1ng.bl1ng at gmx.net) Date: Tue Aug 20 01:34:01 2002 Subject: Attaching externals to files References: Message-ID: <3D61E20F.40006@gmx.net> What about writing an installation script? Or creating a full blown installer? My stuff usually gets used on *nix so I can get away with just writing up a script but there's professional software available for creating executable installers. You could also create your own (installers) using either Rev or a third party programming tool. I was using something called InstallAnywhere for awhile. Although I had mixed results with the product, it does create installers for most if not all of the platforms supported under Rev. Scott Slaugh wrote: > Does anyone know of a way that I could attach an external to a > Revolution stack so that I don't have to worry about telling people > where to put it? > > Scott Slaugh From dan at danshafer.com Tue Aug 20 01:56:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Tue Aug 20 01:56:01 2002 Subject: Database Sample Nits Message-ID: Finally got around to snooping all through the database sample tonight. There's some good stuff in there, particularly given the thorough commenting of the code. Thanks to Richard Gaskin for creating this app. I encountered a couple of very small issues I thought I'd point out just by way of (hopefully) being helpful. First, the splash screen never displays its text. The window appears, pauses, and then goes away. I had the same problem with a splash screen in one of my projects and I fixed it but I have tossed the project so I can't remember what I did. Couldn't change it anyway; script limit exceed for freebie. Second, when I finish importing records into the stack from a text file, I'm left in edit mode. One needs to choose browse tool, methinks, but, again I couldn't make this fix because of the limitations on the freebie so I just pass it along. -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 monte at sweattechnologies.com Tue Aug 20 02:06:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Aug 20 02:06:01 2002 Subject: AppleEvents and File Exchange In-Reply-To: <20020820061415.50436.qmail@web11901.mail.yahoo.com> Message-ID: Thanks Jan That's what I wanted. > - 'open' -- open the application > - 'odoc' -- open a document > - 'pdoc' -- print a document > - 'quit' -- quit the application From dan at danshafer.com Tue Aug 20 02:11:00 2002 From: dan at danshafer.com (Dan Shafer) Date: Tue Aug 20 02:11:00 2002 Subject: Sample Database - More Issues Message-ID: I should have pointed out earlier that the bugs I noted with the sample database app were on OS X. The splash screen shows up fine in Win2k. The problem with being left in edit mode remains. And Windows has another problem I didn't see on OS X. It seems only able to "remember" one of the images. If I click on an image button and load a graphic,then switch to browse mode (because this operation also leaves me in edit mode), and go to a different card and load its image, the image on the first card is not preserved. The button is blank. This is true even if I save the stack between image loads. -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 klaus.major at metascape.org Tue Aug 20 03:16:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Tue Aug 20 03:16:01 2002 Subject: use-revolution digest, (playstopped not working) In-Reply-To: <129.1612e7c0.2a929b31@cs.com> Message-ID: <9D865220-B414-11D6-8BE9-003065D52E8E@metascape.org> Hi Mike, > Thank you for your reply. Before I post the scripts involved, maybe the > following may provide more information. > ?I have been beating my brains out (not a large task) LOL :-D > on this and finally made it around to trying something different. > In the player script, I commented all else out and put the following in: > > on playStopped > beep > end playStopped > > The instant I send start player to the player, it beeps then plays the > sound file. This accounts for ALL of the problems I have had. ??? > BTW, gggg was simply a typo. Ah, i guessed... > My question now is" Is RR sending the same message out for both start > and stop and having it interpreted based on some condition of the > player, therefore requiring some sort of qualifier, or should I just > reload Revolution? That should not happen. The messages is only sent when the player stops. Try reloading (you mean installing ?) RR. Works most of the times ;-) > ?Also, a question for RR. Is there a forum somewhere that is more > oriented toward the beginner to novice range? pass question ## ;-) > Thanks again,Klaus > mike You're welcome... Regards Klaus Major klaus.major at metascape.org From klaus.major at metascape.org Tue Aug 20 03:23:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Tue Aug 20 03:23:01 2002 Subject: Problems with Sounds In-Reply-To: Message-ID: <8B5ED7E8-B415-11D6-8BE9-003065D52E8E@metascape.org> Hi Judy, > Hi, > > I am trying to get a rev stack to play an aif file. First I tried this: > > play "/Users/judy/Documents/HPGame/Sounds/TrainPassing.wav" > > What I get is a static burst and nothing else. (Got the path by using > the > Terminal app in Mac OSX and getting to the directory and then using the > pwd command to get the correct directory). > > Next I used SoundEdit to embed the sound as a resource within the stack; > then used this rev command: > > play audioclip "TrainPassing.wav" looping > > Got ongoing static. > I Have tried aifs, wavs and QTMovs. I know the sound file is valid > because it plays using other apps. What obvious thing am I missing? > Many kind thanks, > > Judy Perry did you check the samplerate of these sounds ? I remember there was some trouble playing sounds in MC/RR when they did not have the right samplerate... They should be: 44.1 khz 22.05 khz 11.025 khz etc... (always the exact half...) Sampledepth (8 or 16 bit) shouldn't matter... (Other apps may be more tolerant in playing sounds...) Hope this helps... Regards Klaus Major klaus.major at metascape.org P.S. Looks like you are working on a mac. Why not use players (quicktime) ? Quicktime plays almost anything... Just a thought... From sylvain.legourrierec at son-video.com Tue Aug 20 05:06:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Tue Aug 20 05:06:01 2002 Subject: trimming ? Message-ID: <000801c24830$df1d3aa0$0801a8c0@sylvain> Hello, how can I trim spaces of a textfield, i.e. convert any " my text " into "my text"? Does a function exist or do I need to build one? thanks Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution -------------- next part -------------- An HTML attachment was scrubbed... URL: From eudio at chabashira.co.jp Tue Aug 20 05:24:00 2002 From: eudio at chabashira.co.jp (UDI) Date: Tue Aug 20 05:24:00 2002 Subject: makeSMF Message-ID: <20020820102233.1379@mail.chabashira.co.jp> Hello list. I made one stack. makeSMF make a MIDI file from strings that like a Play sentence of HyperTalk. e.g. "C4q E G..." And can sound it by the QuickTime instrument without XCMD. This script is a public domain. Have a fun ! makeSMF ( 243KB/ Zip compressed ) http://member.nifty.ne.jp/UDI/stack/makeSMF.hqx UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From klaus.major at metascape.org Tue Aug 20 06:00:00 2002 From: klaus.major at metascape.org (Klaus Major) Date: Tue Aug 20 06:00:00 2002 Subject: makeSMF In-Reply-To: <20020820102233.1379@mail.chabashira.co.jp> Message-ID: <852D7304-B42B-11D6-8BE9-003065D52E8E@metascape.org> Konichi-wa UDI-san, > Hello list. I made one stack. this is true but also understatement par excellence ;-) > makeSMF make a MIDI file from strings that like a Play sentence of > HyperTalk. e.g. "C4q E G..." > And can sound it by the QuickTime instrument without XCMD. > > This script is a public domain. Have a fun ! I do. > makeSMF ( 243KB/ Zip compressed ) > http://member.nifty.ne.jp/UDI/stack/makeSMF.hqx > > > UDI > eudio at chabashira.co.jp > http://member.nifty.ne.jp/UDI/ this is ABSOLUTELY phantastic !!! Thank you very much for this contribution to the community. You should send it to RUNREV, so thy can post it on their website. (If Alan will ever return from his vacation ;-) Everybody should (must ;-) take a look. Wonderful... Thanks again !!! Sayonara Klaus Major klaus.major at metascape.org From dcragg at lacscentre.co.uk Tue Aug 20 06:17:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue Aug 20 06:17:01 2002 Subject: trimming ? In-Reply-To: <000801c24830$df1d3aa0$0801a8c0@sylvain> References: <000801c24830$df1d3aa0$0801a8c0@sylvain> Message-ID: At 12:03 pm +0200 20/8/02, Sylvain Le Gourri?rec wrote: >Hello, > >how can I trim spaces of a textfield, i.e. convert any " my text " >into "my text"? > >Does a function exist or do I need to build one? You need to build one. This is what I use: function trimText pText put cr & tab & space into tTrimChars repeat while char 1 of pText is in tTrimChars delete char 1 of pText end repeat repeat while char -1 of pText is in tTrimChars delete char -1 of pText end repeat return pText end trimText From mike at cyber-ny.com Tue Aug 20 06:19:01 2002 From: mike at cyber-ny.com (Mike Brown) Date: Tue Aug 20 06:19:01 2002 Subject: makeSMF In-Reply-To: <20020820102233.1379@mail.chabashira.co.jp> Message-ID: Wow, that is a lot of fun! Great work. I loaded up several files and have been trying the different instruments. It all works very well. Where did you get the midi music files (text files)? Thanks, Mike on 8/20/02 6:22 AM, UDI at eudio at chabashira.co.jp wrote: > Hello list. I made one stack. > > makeSMF make a MIDI file from strings that like a Play sentence of > HyperTalk. e.g. "C4q E G..." > And can sound it by the QuickTime instrument without XCMD. > > This script is a public domain. Have a fun ! > > makeSMF ( 243KB/ Zip compressed ) > http://member.nifty.ne.jp/UDI/stack/makeSMF.hqx > > > UDI > eudio at chabashira.co.jp > http://member.nifty.ne.jp/UDI/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Mike Brown Creative Director / Partner Cyber-NY Interactive 34 East 23rd Street New York, NY 10010 Phone: 212-475-2721 Toll Free: 1-888-70-CYBER Web: www.cyber-ny.com From kkaufman at snet.net Tue Aug 20 06:54:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue Aug 20 06:54:01 2002 Subject: menus in MacOS Message-ID: <49FB306E-B433-11D6-8523-00039348A1E6@snet.net> Sarah wrote: "Do you have an openStack routine that resizes or pushes down depending on the platform? I have used Mac menus and apart from never remembering to do them initially, so I always have to do the pushDown routine, they all work fine." Would it be possible for you to make this pushDown routine available? Thanks, Kurt From kkaufman at snet.net Tue Aug 20 07:38:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue Aug 20 07:38:01 2002 Subject: makeSMF Message-ID: <702F3A64-B439-11D6-BFDF-00039348A1E6@snet.net> UDI wrote: "...makeSMF make a MIDI file from strings that like a Play sentence of HyperTalk. e.g. "C4q E G..." And can sound it by the QuickTime instrument without XCMD...." I'm especially impressed with the script that allows you to import/edit a pre-existing MIDI file! MIDI files tend to have a considerable amount of proprietary data, and unfortunately it is sometimes placed in areas where it shouldn't within the MIDI file. All the more remarkable is a script that can deal with this eventuality. This also brings up a question that I've been thinking about lately: How do Revolution developers intend to use MIDI data and MIDI files? If the intent is to actually write tunes, or allow the end-user to write tunes, clearly a character-based notation system ("C4q E G..." ) is kind of cumbersome. Yet, another method (one that I used in the stack that I recently developed) that uses a piano keyboard for selecting pitches and the number keys for note duration, also has its problems: You have to be sufficiently sophisticated musically to be able to work entirely "by ear", without a visual representation, without even the verbose character-based system. Ideally, someone might come up with a true music notation system to be coordinated with the MIDI data. BUT.....that brings us back to the first question...Who would this be for? If you need a MIDI file editor/music notation program, then there are already mature programs available that fit the bill. Of course, it would be absurd to try and match the feature set of a program like "Finale" , etc. If you need the ability to simply play pre-existing MIDI files, then QuickTime does the job nicely. -Kurt From Doug_Ivers at lord.com Tue Aug 20 07:52:01 2002 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Tue Aug 20 07:52:01 2002 Subject: pull-down menu not working in standalone for windows Message-ID: <6150F6099DBED111852E0008C7241464049B3AC6@NTSRV-CRD04> Well, I thought I had figured out a solution (it does indeed fix the original problem of not being able to select a menu item): set the visible of the popup button to true, but place it behind some button or field... but noooo.... under Windows, the popup button still manages to show up at times! Still looking for a solution, can anyone suggest something? I trimmed all but the most pertinent quote history below... -- D > -----Original Message----- > From: Ivers, Doug E > Sent: Thursday, August 15, 2002 8:40 AM > To: use-revolution at lists.runrev.com; kevin at runrev.com > Subject: RE: pull-down menu not working in standalone for windows > > > A point of clarification: I'm using a popup menu such that > when the user right-clicks in a field, the menu appears. The > only way I know to do this is to create a button of type > popup that is hidden, and popup the menu in the mouseDown > handler of the field. > > After further testing, it seems that I have to set the > visible of the popup button to true in order to have a > functioning popup menu in a standalone for Windows. However, > I don't want the user to see the button itself. > > > -- D > > P.S. Kevin, I'm a registered pro user. > > > > > > > > > I create the stack and build the standalone on Mac OS, and > > > then I test > > > > it on Windows. My pull-down menu appears when I click, > > but I then > > > > can't pick any menu item. Has anyone else had this problem? > > > > From steve at messimercomputing.com Tue Aug 20 08:02:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Tue Aug 20 08:02:01 2002 Subject: using sounds In-Reply-To: <200208200335.XAA10231@www.runrev.com> Message-ID: on 8/19/02 11:35 PM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > I Have tried aifs, wavs and QTMovs. I know the sound file is valid > because it plays using other apps. What obvious thing am I missing? > > Many kind thanks, > > Judy Perry Judy, Did you import the sounds as controls? Try this: Edit menu > Import as control > audio file... Regards, Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From rodmc at runrev.com Tue Aug 20 08:07:01 2002 From: rodmc at runrev.com (Rod McCall) Date: Tue Aug 20 08:07:01 2002 Subject: Have you got a RunRev website? Message-ID: <1029848672.3d623e60227df@webmail.spamcop.net> Hi, If you've got a website about Revolution please let us know! To do so simply email me off list (rodmc at runrev.com). Also please add your site to the RunRev webring. The webring is available from our homepage . Finally, if you have any comments or suggests please feel free to contact me. Kind regards, Rod -- Rod McCall Runtime Revolution Ltd T: +44 (0) 870 747 1165 Revolution - The Solution in Software Development In Enterprise, Business and Education From klaus.major at metascape.org Tue Aug 20 08:19:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Tue Aug 20 08:19:01 2002 Subject: makeSMF In-Reply-To: <702F3A64-B439-11D6-BFDF-00039348A1E6@snet.net> Message-ID: <02F3B4C5-B43F-11D6-8BE9-003065D52E8E@metascape.org> Guten Tag Kurt ;-), hi all, > UDI wrote: > "...makeSMF make a MIDI file from strings that like a Play sentence of > HyperTalk. e.g. "C4q E G..." > And can sound it by the QuickTime instrument without XCMD...." > > I'm especially impressed with the script that allows you to import/edit > a pre-existing MIDI file! MIDI files tend to have a considerable > amount of proprietary data, and unfortunately it is sometimes placed in > areas where it shouldn't within the MIDI file. All the more remarkable > is a script that can deal with this eventuality. Yo, incredible, isn't it ?!!! > This also brings up a question that I've been thinking about lately: > How do Revolution developers intend to use MIDI data and MIDI files? > If the intent is to actually write tunes, or allow the end-user to > write tunes, clearly a character-based notation system ("C4q E G..." > ) is kind of cumbersome. Yet, another method (one that I used in the > stack that I recently developed) that uses a piano keyboard for > selecting pitches and the number keys for note duration, also has its > problems: You have to be sufficiently sophisticated musically to be > able to work entirely "by ear", without a visual representation, > without even the verbose character-based system. Ideally, someone > might come up with a true music notation system to be coordinated with > the MIDI data. BUT.....that brings us back to the first question...Who > would this be for? If you need a MIDI file editor/music notation > program, then there are already mature programs available that fit the > bill. Of course, it would be absurd to try and match the feature set of > a program like "Finale" , etc. In version 2 of our application we are currently developing for children, we have plans to create a little "music-making" stack. Just an idea until now... But i will explore that makeSMF-stack and let me be inspired by it ;-) You are right, it is absolutely abstract to create music (especially for kids) without any graphic representation like a keyboard etc... I still have no idea about the approach to that stack we are planning, but UDI-san's stack might be a good base. Maybe i will create something with LiveStage Pro (means: directly in QuickTime !) We'll see... (For me personally it is really sad, that you cannot mix players AND the "play ac xxx"-command. But that's another story...) > If you need the ability to simply play pre-existing MIDI files, then > QuickTime does the job nicely. Exactly. > -Kurt Regards from (bloody) hot germany (Yes, i know, australia IS hotter than germany... ;-) Klaus Major klaus.major at metascape.org From sylvain.legourrierec at son-video.com Tue Aug 20 08:32:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Tue Aug 20 08:32:01 2002 Subject: trimming : thank you but... Message-ID: <000e01c2484d$ac6f9270$0801a8c0@sylvain> what is "cr" in "put cr & tab & space into tTrimChars" ? thanks Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution -------------- next part -------------- An HTML attachment was scrubbed... URL: From klaus.major at metascape.org Tue Aug 20 08:43:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Tue Aug 20 08:43:01 2002 Subject: trimming : thank you but... In-Reply-To: <000e01c2484d$ac6f9270$0801a8c0@sylvain> Message-ID: <3AC57794-B442-11D6-8BE9-003065D52E8E@metascape.org> Bonjour Sylvain, > what is "cr" in "put cr & tab & space into tTrimChars" ? it is CarriageReturn or "newline". > ?thanks a votre service ;-) > Sylvain Le Gourri?rec? ??? d?veloppement? ?? son-video-distribution Au revoir Klaus Major klaus.major at metascape.org From kkaufman at snet.net Tue Aug 20 09:18:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue Aug 20 09:18:01 2002 Subject: makeSMF Message-ID: <776AF366-B447-11D6-8CCF-00039348A1E6@snet.net> Klaus Major wrote: "...(For me personally it is really sad, that you cannot mix players AND the "play ac xxx"-command...." I'm not exactly sure what you mean by that, but you might be interested in the following plugin: http://shopperturnpike.com/usefulsoftware/revMIDIBuilder.rev.zip -Kurt From ambassador at fourthworld.com Tue Aug 20 09:18:12 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 20 09:18:12 2002 Subject: AppleEvents and File Exchange In-Reply-To: <200208201203.IAA19848@www.runrev.com> Message-ID: > The standard suite of events are of class 'aevt', and > tthey are of type: > - 'open' -- open the application > - 'odoc' -- open a document > - 'pdoc' -- print a document > - 'quit' -- quit the application And the two really cool ones: - 'dosc' -- do script; execute a Transcript handler - 'eval' -- evaluate a Trascript expression and return the result -- 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 rfarnold at bu.edu Tue Aug 20 09:29:00 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Tue Aug 20 09:29:00 2002 Subject: Menus in MacOS Message-ID: Tony Moller wrote: > Okay, I'm about to give up on menus altogether. Everything was great last > night/this morning. Thanks to HyperActive's conversion guide, I had gotten > the menu's to show up on all the cards, the card window was properly > resizing on a Mac and not on a PC... I was in heaven. Or so I though. Now I > noticed that every time I double click on the stack file to start it in > 'player' mode (on the Mac), I loose 22 pixels of the screen. Quit, reopen, > loose another 22 pixels. My window is being eaten away! This also happens > when I start Rev in developer mode first, then open my stack file. > > Someone please tell me this is a bug in Rev... and not something I did. I have had all sorts of inconsistent problems with RR menu groups and yes, I have run into this resizing inconsistency too, although I avoid the "player" mode. My advice is to avoid the resizing situation, as I explained earlier, by hiding the menu group. Given your need of cross-platform compatibility, you can do the following: "place" the menu group on all cards of the stack (which I think you have done already) but make sure they share the same group id and name, with bg behavior on. Hide this group in MacOS and show it in Windows builds -- this could be done automatically with a startup or openstack handler using the Platform functions, as in: If "win" is in the Platform then (or-- if "Mac" is not in the platform then) Show bg group "menubar 1" of stack stackname Else Hide bg group "menubar 1" of stack stackname End if This is what I have done, and it works, and the resizing problems have gone away. I hope this helps. Bob Arnold -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 http://people.bu.edu/rfarnold/ From eudio at chabashira.co.jp Tue Aug 20 09:38:01 2002 From: eudio at chabashira.co.jp (UDI) Date: Tue Aug 20 09:38:01 2002 Subject: makeSMF In-Reply-To: <852D7304-B42B-11D6-8BE9-003065D52E8E@metascape.org> References: <852D7304-B42B-11D6-8BE9-003065D52E8E@metascape.org> Message-ID: <20020820143630.25981@mail.chabashira.co.jp> Thanks all Klaus Major wrote: >Konichi-wa UDI-san, Wow! Are you a Japanese ? If different, you have wide knowledge ;-) Thank you for a lot of praise. I want you to enjoy it. Mike Brown wrote: >Where did you get the midi music files (text files)? I read music score ( by my EYE ) and wrote it one by one. In addition, I used a "Convert from SMF" button and got score from some MIDI files. But I think that this is a tool to WRITE music. I'm glad that a person with culture of music ( I don't have it! ) makes original song. In Japan, there is culture that write music with a text. The most used language is called MML ( Music Macro Language ). Kurt Kaufman wrote: >I'm especially impressed with the script that allows you to import/edit a pre existing MIDI file! This is not a main function. ( and it is incomplete and have bugs :-( I think that it is a supporting tool to write music. This button should not be used easily, because a lot of music includes a copyright. >How do Revolution developers intend to use MIDI data and MIDI files? If somebody wants to play full-scale music, I think that it is the best to play a MIDI file with vc-player. My tool simulates a Play sentence. I can't predict how used ;-) It is worthless if there are not music data. I pray for somebody offering score for this tool. And I'm glad that it is a public domain. UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From rcozens at pon.net Tue Aug 20 09:43:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Aug 20 09:43:00 2002 Subject: trimming ? In-Reply-To: <000801c24830$df1d3aa0$0801a8c0@sylvain> References: <000801c24830$df1d3aa0$0801a8c0@sylvain> Message-ID: >how can I trim spaces of a textfield, i.e. convert any " my text " >into "my text"? Hi Sylvain, The Serendipity Library includes a stripBlanks function that strips leading or trailing space characters. It also includes a justifyString function that allows one to pad a string with leading, trailing, or centering pad characters. The default pad character is space, but any character can be specified (eg: "0" for padding numbers). Altogether the Library includes 45 Transcript commands for database operations, date manipulation, input editing & validation, text & number formatting, and list & table operations. The Library is available on a pre-release basis. The functionality is basically in place: completion of the documentation is all that is holding up official release. AND, thanks to Yves Copp?, there is a French language translation file of all Library messages & prompts available. (Spanish & Dutch versions are also available, and someone is working on a German translation.) If you would like to review the Library prerelease, which will be available for royalty-free distribution upon official release, contact me privately. -- 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 eudio at chabashira.co.jp Tue Aug 20 10:00:02 2002 From: eudio at chabashira.co.jp (UDI) Date: Tue Aug 20 10:00:02 2002 Subject: makeSMF In-Reply-To: <02F3B4C5-B43F-11D6-8BE9-003065D52E8E@metascape.org> References: <02F3B4C5-B43F-11D6-8BE9-003065D52E8E@metascape.org> Message-ID: <20020820145835.21729@mail.chabashira.co.jp> Klaus Major wrote: >In version 2 of our application we are currently developing for >children, we have plans to create a little "music-making" stack. I am very a pleasure. makeSMF create MIDI from charactor data. And Transcript can make that character data. Yes! You can CREATE music on your application! I will introduce an interesting play. At first you click a "Load File" button. And select a random text file. OK, you will try to click a Play button :-) UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From klaus.major at metascape.org Tue Aug 20 10:22:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Tue Aug 20 10:22:01 2002 Subject: makeSMF In-Reply-To: <20020820143630.25981@mail.chabashira.co.jp> Message-ID: <27EFB716-B450-11D6-8BE9-003065D52E8E@metascape.org> Hi UDI, > Thanks all > > Klaus Major wrote: >> Konichi-wa UDI-san, > > Wow! Are you a Japanese ? If different, you have wide knowledge ;-) > Thank you for a lot of praise. I want you to enjoy it. Domo aregato UBI-san. No, i am not japanese (although some people sometimes think that i speak chinese to them ;-) , i am german, hai ! (I think the correct english metaphore is: ...i speak greek... :-) I just have, as you kindly put it, a wide knowledge ;-) >> In version 2 of our application we are currently developing for >> children, we have plans to create a little "music-making" stack. > > I am very a pleasure. > > makeSMF create MIDI from charactor data. > And Transcript can make that character data. > Yes! You can CREATE music on your application! That's what i thought. > I will introduce an interesting play. > At first you click a "Load File" button. > And select a random text file. > OK, you will try to click a Play button :-) > > UDI I just need a nice UI for the kids... I don't think most kids are interested in making music by typing "code" ;-) But there is still time until this decision has to be made... Sayonara Klaus Major klaus.major at metascape.org From jperryl at ecs.fullerton.edu Tue Aug 20 10:35:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Aug 20 10:35:01 2002 Subject: Problems with Sounds In-Reply-To: <8B5ED7E8-B415-11D6-8BE9-003065D52E8E@metascape.org> Message-ID: Thank you, Klaus. I finally did get a sound to play after searching through all the menus and their options and found the import -> as control command and I am guessing 'imported' the sound that was already there??? Thank you also for the info on the sample rate. It was correct, but it's a nice reminder of what to look for. Still can't figure out why playing the external file wasn't happening... Judy On Tue, 20 Aug 2002, Klaus Major wrote: > did you check the samplerate of these sounds ? From mark at bcesouth.com Tue Aug 20 10:38:03 2002 From: mark at bcesouth.com (BCE) Date: Tue Aug 20 10:38:03 2002 Subject: makeSMF References: <02F3B4C5-B43F-11D6-8BE9-003065D52E8E@metascape.org> <20020820145835.21729@mail.chabashira.co.jp> Message-ID: <001f01c2485f$6aacd5c0$d86600d8@s1> Anybody care to elaborate on the cryptic code to make the music? Is this polymetric expression? I found a site here that looks similar, but I'm not sure. http://www.fortunecity.com/victorian/dada/181/bpdoc/bp2doc-A-2.html#Index664 Otherwise, what a cool program! Thanks! Mark ----- Original Message ----- From: "UDI" To: Sent: Tuesday, August 20, 2002 10:58 AM Subject: Re[2]: makeSMF > Klaus Major wrote: > >In version 2 of our application we are currently developing for > >children, we have plans to create a little "music-making" stack. > > I am very a pleasure. > > makeSMF create MIDI from charactor data. > And Transcript can make that character data. > Yes! You can CREATE music on your application! > > I will introduce an interesting play. > At first you click a "Load File" button. > And select a random text file. > OK, you will try to click a Play button :-) > > UDI > eudio at chabashira.co.jp > http://member.nifty.ne.jp/UDI/ > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Tue Aug 20 10:46:00 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Aug 20 10:46:00 2002 Subject: using sounds In-Reply-To: Message-ID: Steve, Thank you for your helpful suggestion. I did finally figure that part out, but perhaps it should be somewhere in the documentation? (My apologies if it is, but I couldn't find it). Perhaps in the HC 'gotchas' department? Also, what does it actually do? Do I still need to use a different app to embed the sound in the stack? Still befuddled but now hearing sounds... Judy On Tue, 20 Aug 2002, Steve Messimer wrote: > Judy, > > Did you import the sounds as controls? k From jacque at hyperactivesw.com Tue Aug 20 11:53:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Aug 20 11:53:01 2002 Subject: menus in MacOS References: <200208200335.XAA10231@www.runrev.com> Message-ID: <3D627394.1080903@hyperactivesw.com> on 8/18/02 7:44 PM, Tony Moller at tony.moller at drcs.com wrote: > Okay, I'm about to give up on menus altogether. Everything was great last > night/this morning. Thanks to HyperActive's conversion guide, I had gotten > the menu's to show up on all the cards, the card window was properly > resizing on a Mac and not on a PC... I was in heaven. Or so I though. Now I > noticed that every time I double click on the stack file to start it in > 'player' mode (on the Mac), I loose 22 pixels of the screen. Quit, reopen, > loose another 22 pixels. My window is being eaten away! This also happens > when I start Rev in developer mode first, then open my stack file. > > Someone please tell me this is a bug in Rev... and not something I did. This used to happen to me all the time. I finally nailed down the reason and now I can't remember exactly what it was. I just spent some time trying to reproduce it (but I'm using the latest MC rather than Rev) and I can't get it to happen so maybe it was fixed. My vague recollection is that it involved setting the style of the window -- i.e., every time you change a window from toplevel to modal, and then back again, it would shrink. I remember making a test stack that repeatedly changed modality (if I remember right) and I was able to get the window to shrink entirely out of existence, leaving nothing but a title bar. At any rate, it was a bug in the engine. Are you changing the modality of your stack window? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Aug 20 11:57:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Aug 20 11:57:01 2002 Subject: menus in MacOS References: <200208201203.IAA19848@www.runrev.com> Message-ID: <3D62747A.50801@hyperactivesw.com> Kurt Kaufman wrote: > Sarah wrote: > "Do you have an openStack routine that resizes or pushes down depending > on the platform? > I have used Mac menus and apart from never remembering to do them > initially, so I always have to do the pushDown routine, they all work > fine." > > Would it be possible for you to make this pushDown routine available? It is publicly available in the Revolution tutorial at my web site. The main entry page is here: http://www.hyperactivesw.com/mctutorial/ And the page with the "pushdown" script is here: http://www.hyperactivesw.com/mctutorial/rrcreateMenus.html -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Aug 20 12:18:00 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Aug 20 12:18:00 2002 Subject: trimming ? References: <200208201203.IAA19848@www.runrev.com> Message-ID: <3D627976.2060704@hyperactivesw.com> Dave Cragg wrote: > > At 12:03 pm +0200 20/8/02, Sylvain Le Gourri?rec wrote: >>how can I trim spaces of a textfield, i.e. convert any " my text " >>into "my text"? >> >>Does a function exist or do I need to build one? > > You need to build one. > > This is what I use: > > function trimText pText > put cr & tab & space into tTrimChars > repeat while char 1 of pText is in tTrimChars > delete char 1 of pText > end repeat > repeat while char -1 of pText is in tTrimChars > delete char -1 of pText > end repeat > return pText > end trimText Another variation I use: function trim theText repeat for each word w in theText put w & space after temp end repeat delete last char of temp return temp end trim -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Aug 20 12:41:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Aug 20 12:41:01 2002 Subject: makeSMF In-Reply-To: <27EFB716-B450-11D6-8BE9-003065D52E8E@metascape.org> Message-ID: Recently, "Klaus Major" wrote: > I just need a nice UI for the kids... > I don't think most kids are interested in making music by typing > "code" ;-) A piano keyboard is pretty common for this in both software and hardware (toys). For entertainment, I would think a sliding control, like a slide trombone, would be fun, but perhaps not easy to keep on key. The pipe organ metaphor is also pretty common. This is still pretty much a keyboard with elongated keys (tubes), but it makes for good fun with steam coming out of the pipes. My favorite is the "beat box", where preprepared sequences are already in place, and one simply combines rhythm, melody and musical effects in a cool device-looking UI. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From tony.moller at drcs.com Tue Aug 20 13:14:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Tue Aug 20 13:14:01 2002 Subject: menus in MacOS In-Reply-To: <3D627394.1080903@hyperactivesw.com> Message-ID: on 8/20/02 12:51 PM, J. Landman Gay at jacque at hyperactivesw.com wrote: > This used to happen to me all the time. I finally nailed down the reason > and now I can't remember exactly what it was. I just spent some time > trying to reproduce it (but I'm using the latest MC rather than Rev) and > I can't get it to happen so maybe it was fixed. My vague recollection is > that it involved setting the style of the window -- i.e., every time you > change a window from toplevel to modal, and then back again, it would > shrink. I remember making a test stack that repeatedly changed modality > (if I remember right) and I was able to get the window to shrink > entirely out of existence, leaving nothing but a title bar. At any rate, > it was a bug in the engine. Are you changing the modality of your stack > window? I think this is the problem. When the file opens, it opens a splash screen, then opens the main stack. The main stack opens the palette stack (using the palette stack "name"), and then goes back to the main stack (both have default window decorations). This was the only way I could get both the main stack and the palette to show up. I did find a work around last night. In the preopenstack of the main stack, I set the window height of the main stack to the height I wanted (including the extra space for the menus). Now everything behaves 'as expected;' until 1.5 anyway :) Thanks for everyone's help! Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From tony.moller at drcs.com Tue Aug 20 13:17:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Tue Aug 20 13:17:01 2002 Subject: location 'math' Message-ID: Here's one I can't figure out... How do you do math on location coordinates? I would like to set a palette stack -x -y from the location of the main stack, but I can't figure out how to do the calculation... Thanks again! Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From kkaufman at snet.net Tue Aug 20 14:02:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue Aug 20 14:02:01 2002 Subject: using sounds Message-ID: <0C648CC4-B46F-11D6-BF90-00039348A1E6@snet.net> "Do I still need to use a different app to embed the sound in the stack?" No; see the "import" command (in the docs) to import sounds under script control. Otherwise, it is also possible to import via the Application Overview Window. Sequence: View > Application Overview > (NameOfStackFile) > (NameOfStack) > (NameOfCard) > AudioClips .....then click on disclosure triangle in upper right corner of Application Overview Window.....THEN, click IMPORT. -KK From DVGlasgow at aol.com Tue Aug 20 14:08:01 2002 From: DVGlasgow at aol.com (DVGlasgow at aol.com) Date: Tue Aug 20 14:08:01 2002 Subject: Problems with Sounds Message-ID: I am late on this one, and have three digests yet to read, so apologies if this is a repetition. I had this problem, and as I recall it was the sampling rate (but I think it can be compression? an AIFF-C?). Anyway, if you are on a mac, use the great freeware SoundApp . Often mistaken for just a dull MP3 player. You can convert and tweak all sorts of sounds. Can save a lot of space, too, if you reduce the sampling rate, save as mono, etc. I tried to find something similar on Windows, but failed. (The one problem I still have is setting the volume of different samples, recorded at different times to be similar when played) Considering how old Aif is, it works very well, but if you want to deploy on Windows, Wav is the way to go. Yes it is true a Quicktime player will deal with almost everything, IF it is installed on the Windows machine. Finally, I think the extension must be right - you mention aif but refer to .wav In a message dated 20/8/02 2:05:35 PM, Judy Perry writes: << > I am trying to get a rev stack to play an aif file. First I tried this: > > play "/Users/judy/Documents/HPGame/Sounds/TrainPassing.wav" > > What I get is a static burst and nothing else. (Got the path by using > the > Terminal app in Mac OSX and getting to the directory and then using the > pwd command to get the correct directory). > > Next I used SoundEdit to embed the sound as a resource within the stack; > then used this rev command: > > play audioclip "TrainPassing.wav" looping > > Got ongoing static. > I Have tried aifs, wavs and QTMovs. I know the sound file is valid > because it plays using other apps. What obvious thing am I missing? > Many kind thanks, > > Judy Perry >> Best wishes, David Glasgow Home/ forensic assessments --> DVGlasgow Courses --> i-Psych From dsc at swcp.com Tue Aug 20 14:09:00 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 20 14:09:00 2002 Subject: location 'math' In-Reply-To: Message-ID: On Tuesday, August 20, 2002, at 12:14 PM, Tony Moller wrote: > How do you do math on location coordinates? I would like to set a > palette > stack -x -y from the location of the main stack, but I can't > figure out how > to do the calculation... The location of a stack it at its center and is relative to the upper left corner of the screen (+ numbers going down and right). You will need to consider the width and height. For example... If you want the palette to be to the left of the main stack, set the first item of its location to be that of the main stack less half the width of the main stack, less the space you want between, less half the width of the palette. For example... If you want the tops to align, set the second item of its location to the that of the main stack less half the height of the main stack plus half the height of the palette. Dar Scott From kray at sonsothunder.com Tue Aug 20 14:18:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Aug 20 14:18:01 2002 Subject: trimming ? References: <200208201203.IAA19848@www.runrev.com> <3D627976.2060704@hyperactivesw.com> Message-ID: <005f01c2487d$6b354400$6f00a8c0@mckinley.dom> Don't forget about regular expressions... with them, you can do it in one go: function trimText pText local returnVal get matchText(pText,"^ *([^ ].*[^ ]) *$",returnVal) return returnVal end trimText Have fun! 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, August 20, 2002 12:16 PM Subject: Re: trimming ? > Dave Cragg wrote: > > > > At 12:03 pm +0200 20/8/02, Sylvain Le Gourri?rec wrote: > >>how can I trim spaces of a textfield, i.e. convert any " my text " > >>into "my text"? > >> > >>Does a function exist or do I need to build one? > > > > You need to build one. > > > > This is what I use: > > > > function trimText pText > > put cr & tab & space into tTrimChars > > repeat while char 1 of pText is in tTrimChars > > delete char 1 of pText > > end repeat > > repeat while char -1 of pText is in tTrimChars > > delete char -1 of pText > > end repeat > > return pText > > end trimText > > Another variation I use: > > function trim theText > repeat for each word w in theText > put w & space after temp > end repeat > delete last char of temp > return temp > end trim > > > -- > 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 Roger.E.Eller at sealedair.com Tue Aug 20 14:21:00 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue Aug 20 14:21:00 2002 Subject: Problems with Sounds Message-ID: Try this... File (menu) Import as control Audio File I too have heard the static burst of audio on a Mac. The above method worked for me. ~Roger In a message dated 20/8/02 2:05:35 PM, Judy Perry writes: << > I am trying to get a rev stack to play an aif file. First I tried this: > > play "/Users/judy/Documents/HPGame/Sounds/TrainPassing.wav" > > What I get is a static burst and nothing else. (Got the path by using > the > Terminal app in Mac OSX and getting to the directory and then using the > pwd command to get the correct directory). > > Next I used SoundEdit to embed the sound as a resource within the stack; > then used this rev command: > > play audioclip "TrainPassing.wav" looping > > Got ongoing static. > I Have tried aifs, wavs and QTMovs. I know the sound file is valid > because it plays using other apps. What obvious thing am I missing? > Many kind thanks, > > Judy Perry >> From tony.moller at drcs.com Tue Aug 20 14:26:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Tue Aug 20 14:26:01 2002 Subject: location 'math' In-Reply-To: Message-ID: on 8/20/02 3:04 PM, Dar Scott at dsc at swcp.com wrote: > The location of a stack it at its center and is relative to the > upper left corner of the screen (+ numbers going down and right). > You will need to consider the width and height. > > For example... If you want the palette to be to the left of the > main stack, set the first item of its location to be that of the > main stack less half the width of the main stack, less the space > you want between, less half the width of the palette. > > For example... If you want the tops to align, set the second item > of its location to the that of the main stack less half the height > of the main stack plus half the height of the palette. I understand the concept, and that locations are referenced as the center of a stack object. What I need to know is the actual syntax. When you get the location of something, its returned as "200,300". How do you subtract 150 from the 300 part of that returned value? Specific example: I want to set the palette's location on the left side of the main stack, aligned at the top. I need to set the palette's location as (-150,-120) relative to the main stack. So, I get the location of the main stack; say its currently at "400,600". Now what's the actual syntax of the set location command for the palette? Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From kray at sonsothunder.com Tue Aug 20 14:50:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Aug 20 14:50:01 2002 Subject: location 'math' References: Message-ID: <009c01c24881$ed206720$6f00a8c0@mckinley.dom> Tony, > I understand the concept, and that locations are referenced as the center of > a stack object. What I need to know is the actual syntax. When you get the > location of something, its returned as "200,300". How do you subtract 150 > from the 300 part of that returned value? Use the "item" chunk expression: item 2 of (the location of this stack) - 150 > Specific example: I want to set the palette's location on the left side of > the main stack, aligned at the top. I need to set the palette's location as > (-150,-120) relative to the main stack. So, I get the location of the main > stack; say its currently at "400,600". Now what's the actual syntax of the > set location command for the palette? put the loc of this stack into tStackLoc set the loc of stack "myPalette" to ((item 1 of tStackLoc) - 150),((item 2 of tStackLoc) - 120) Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pixelbird at interisland.net Tue Aug 20 14:50:17 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Tue Aug 20 14:50:17 2002 Subject: location 'math' In-Reply-To: Message-ID: on 8/20/02 12:24 PM, Tony Moller at tony.moller at drcs.com wrote: > I understand the concept, and that locations are referenced as the center of > a stack object. What I need to know is the actual syntax. When you get the > location of something, its returned as "200,300". How do you subtract 150 > from the 300 part of that returned value? > > Specific example: I want to set the palette's location on the left side of > the main stack, aligned at the top. I need to set the palette's location as > (-150,-120) relative to the main stack. So, I get the location of the main > stack; say its currently at "400,600". Now what's the actual syntax of the > set location command for the palette? ---------- How about something like: get the loc of stack

subtract 150 from item 1 of it subtract 120 from item 2 of it set the loc of palette to it HTH, Ken N. From tony.moller at drcs.com Tue Aug 20 15:55:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Tue Aug 20 15:55:01 2002 Subject: location 'math' In-Reply-To: <009c01c24881$ed206720$6f00a8c0@mckinley.dom> Message-ID: on 8/20/02 3:43 PM, Ken Ray at kray at sonsothunder.com wrote: > Use the "item" chunk expression: > > item 2 of (the location of this stack) - 150> put the loc of this stack into > tStackLoc > set the loc of stack "myPalette" to ((item 1 of tStackLoc) - 150),((item 2 > of tStackLoc) - 120) > > > Hope this helps, Yes it does. I thought it had something to do with chunk expressions, but didn't pick up on it. Again, many thanks! Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From n.thieberger at linguistics.unimelb.edu.au Tue Aug 20 18:53:01 2002 From: n.thieberger at linguistics.unimelb.edu.au (Nicholas Thieberger) Date: Tue Aug 20 18:53:01 2002 Subject: using sounds / QuickTime TimeCode track Message-ID: I am also having trouble with audio files. I am trying to simply play a sound file (QT/ AIFF) that is in the same directory as the RR stack. I have aound 3Gb of audio files that I absolutely do not want to segment and embed. In Hypercard I can play any selected chunk. In RR I can't even get a squeak! I haven't found the documentation that specifies the format of soundfiles, is there such a thing? nick >Message: 14 >Date: Tue, 20 Aug 2002 08:43:50 -0700 (PDT) >From: Judy Perry >To: >Subject: Re:using sounds >Reply-To: use-revolution at lists.runrev.com > >Steve, > >Thank you for your helpful suggestion. I did finally figure that part >out, but perhaps it should be somewhere in the documentation? (My >apologies if it is, but I couldn't find it). Perhaps in the HC 'gotchas' >department? > >Also, what does it actually do? Do I still need to use a different app to >embed the sound in the stack? > >Still befuddled but now hearing sounds... > >Judy > >On Tue, 20 Aug 2002, Steve Messimer wrote: > > > Judy, > > > > Did you import the sounds as controls? >k -- Department of Linguistics and Applied Linguistics University of Melbourne http://www.linguistics.unimelb.edu.au/contact/studentsites/thieberger/ From sarahr at genesearch.com.au Tue Aug 20 21:53:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Tue Aug 20 21:53:01 2002 Subject: location 'math' In-Reply-To: Message-ID: Other people have pointed out how to script the position of your palette using "the loc" i.e. the center of the stack. The other property which you might find useful is "the topLeft". This is good for setting the stack's position but it is particularly important if you resize a stack on the fly because when you resize, it resizes about the center so it effectively moves the stack. If you lock the screen, store the topLeft in a variable, resize the stack and then reset to the original topLeft, it looks like your stack never moved. Cheers, Sarah On Wednesday, August 21, 2002, at 04:17 am, Tony Moller wrote: > Here's one I can't figure out... > > How do you do math on location coordinates? I would like to set a > palette > stack -x -y from the location of the main stack, but I can't figure > out how > to do the calculation... > > Thanks again! > Tony > ------------------------------------ > Tony Moller - Network Admin > DRCS > 6849 Old Dominion Drive - Suite 320 > McLean, VA 22101 > Tel: 703-749-3118 Fax: 703-749-0967 > Pgr: 703-719-5324 <7037195324 at my2way.com> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Tue Aug 20 22:32:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue Aug 20 22:32:01 2002 Subject: location 'math' References: <200208210154.VAA10749@www.runrev.com> Message-ID: <3D630950.8000905@hyperactivesw.com> Tony Moller wrote: > Specific example: I want to set the palette's location on the left side of > the main stack, aligned at the top. Just to add to the replies so far: set the topRight of stack "myPalette" to the topLeft of stack "myMain" No math needed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Tue Aug 20 22:53:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 20 22:53:01 2002 Subject: location 'math' In-Reply-To: <3D630950.8000905@hyperactivesw.com> Message-ID: On Tuesday, August 20, 2002, at 09:30 PM, J. Landman Gay wrote: > set the topRight of stack "myPalette" to the topLeft of stack > "myMain" > > No math needed. I'm impressed, Jacqueline! The see-also for "location" does not mention these. Sigh. I think I will always be new to Revolution. Dar Scott From brymac at i-2000.com Tue Aug 20 23:00:01 2002 From: brymac at i-2000.com (bryan mccormick) Date: Tue Aug 20 23:00:01 2002 Subject: Weirdo problem grabbing Gif87a from web sites Message-ID: <3D630FCA.7090101@i-2000.com> Noticed this only with MC 2.4.3. I have a script that grabs images at an interval from a website that creates images on the fly in gif87a format. In the past this stack worked beautifully and I had not used it in some time. Dusting it off today I noticed that it worked perfectly except for displaying the picture. It appeared totally corrupted. This happened whether I was importing the image or using the URL as a file path for the image in question. I manually downloaded the image to see what might be wrong. Other than it being Gif87a I could not find anything amiss when I opened it in other packages. So I manually converted it to png. Bing, it shows up fine in the stack. Going back to the original image I save (gif) and setting the file path to the local gif file also showed it as corrupted. And to make doubly sure I just switched to the mac and did the same routine. Same issue there. Anyone have any idea why this is happening? From scott at tactilemedia.com Tue Aug 20 23:31:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Aug 20 23:31:01 2002 Subject: location 'math' In-Reply-To: Message-ID: Recently, Dar Scott wrote: >> set the topRight of stack "myPalette" to the topLeft of stack >> "myMain" >> >> No math needed. > > I'm impressed, Jacqueline! > > The see-also for "location" does not mention these. Sigh. I think > I will always be new to Revolution. Maybe the position constants are listed under something else but they're pretty easy to guess: left top right bottom topLeft topRight bottomLeft bottomRight loc (center) Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From shaosean at unitz.ca Wed Aug 21 01:39:08 2002 From: shaosean at unitz.ca (Shao Sean) Date: Wed Aug 21 01:39:08 2002 Subject: [ANN] Calendar Object v1.1.0 Message-ID: <004701c248dc$96aa3fa0$88b15bd1@lanfear> I've completely re-written my calendar object. Much simpler to use and to read the source code. Useage Guide: - place the objCalendar group where you want to use it (recommend importing into object library) - use code> send "calendar_display" to group "objCalendar" < to draw the calendar To trap when the user has clicked on a date, just handle "calendar_dateClicked", there is one parameter passed which is the dateItems of the date clicked. To trap when the user is navigating between months/years just handle "calendar_goPreviousYear", "calendar_goPreviousMonth", "calendar_goNextYear", "calendar_goNextMonth", no parameters are passed. To go back to today, use the code> send "calendar_goToday" to group "objCalendar" <. I've updated the interface to look similiar to Apple's new iCalendar. The hiliting of the clicked date has been removed (easy to add back if there's a demand for it). Click the arrows to move between next/previous months, Option/Alt-click the arrows to move between next/previous years. To-Do List: - allow for configurable start of week (currently fixed at Sunday) - allow for configurable "check for date changes" interval (currently at 1second) -- Shao Sean http://www.shaosean.tk/ From eudio at chabashira.co.jp Wed Aug 21 02:36:00 2002 From: eudio at chabashira.co.jp (UDI) Date: Wed Aug 21 02:36:00 2002 Subject: makeSMF In-Reply-To: <001f01c2485f$6aacd5c0$d86600d8@s1> References: <02F3B4C5-B43F-11D6-8BE9-003065D52E8E@metascape.org> <20020820145835.21729@mail.chabashira.co.jp> <001f01c2485f$6aacd5c0$d86600d8@s1> Message-ID: <20020821073441.9130@mail.chabashira.co.jp> Klaus Major wrote: >I just need a nice UI for the kids... Response time may become an issue. If it is XCMD, usable in a game... BCE wrote: >I found a site here that looks similar, but I'm not sure. There is such a "music description language" a lot to community of Windows and UNIX. I think that all ancestors are "MML" of "BASIC". ( It is old days.. the times of 8 bits machines ) In xTalk community, a Play sentence of HyperTalk is popular. There are some legacies. Therefore I simulated it. Because I added expansion of music, I feel that it became complicated specification disappointing. But a basis is a Play sentence. It is HyperTalk! UDI eudio at chabashira.co.jp http://member.nifty.ne.jp/UDI/ From klaus.major at metascape.org Wed Aug 21 04:26:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Aug 21 04:26:01 2002 Subject: makeSMF In-Reply-To: <776AF366-B447-11D6-8CCF-00039348A1E6@snet.net> Message-ID: <810F7813-B4E7-11D6-8FC6-003065D52E8E@metascape.org> Hi Kurt, i almost overlooked this one... > Klaus Major wrote: > "...(For me personally it is really sad, that you cannot mix players > AND > the "play ac xxx"-command...." > > I'm not exactly sure what you mean by that, but you might be interested > in the following plugin: > http://shopperturnpike.com/usefulsoftware/revMIDIBuilder.rev.zip > > -Kurt I mean that i do not like the fact that you cannot use (quicktimebased) players AND the "play ac xxx" command together on windows (works on a mac, of course). Try it by yourself. You won't hear the sound evoked with "play ac..." Even "beep" does not work in that case. I have the (VERY subjective) feeling that the latency (response time) is faster with "play ac xxx" (especially with imported and not referenced sounds) than with players. But if you want to have more than 1 sound playing at the same time you cannot but using QT. Unfortunately lot of our customers have problems insatlling QT on their win-machines. (A fact that i will better leave uncommented ;-) Regards Klaus Major klaus.major at metascape.org From klaus.major at metascape.org Wed Aug 21 04:43:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Aug 21 04:43:01 2002 Subject: makeSMF In-Reply-To: Message-ID: Hi Scott, > Recently, "Klaus Major" wrote: > >> I just need a nice UI for the kids... >> I don't think most kids are interested in making music by typing >> "code" ;-) i think i used the wrong word. Of course i have several ideas for the "metaphore" for producing the music. I actually did not mean the UI itself... I was just thinking that i would need some concepts on how to convert the user-input to something that can be saved in what format ever. Response time is extremely important. As is mentioned before, i consider creating some kind of "musix-box" with Livestage Pro, means directly in Quicktime... But there is still time until we start version 2 of our app. (I hope we will ever finish version 1 ;-) > A piano keyboard is pretty common for this in both software and hardware > (toys). > > For entertainment, I would think a sliding control, like a slide > trombone, > would be fun, but perhaps not easy to keep on key. Kinda digital tin-whistle ;-) (I remember a real good laugh when a candidate in a game-show had to guess a christmas-tune played by three other candidates on tin-whistles simultaniously :-D > The pipe organ metaphor is also pretty common. This is still pretty > much a > keyboard with elongated keys (tubes), but it makes for good fun with > steam > coming out of the pipes. > > My favorite is the "beat box", where preprepared sequences are already > in > place, and one simply combines rhythm, melody and musical effects in a > cool > device-looking UI. That's my favourite, too. To provide some rhythms and maybe chords, so the kids can play with some melody-instrument... > Regards, > > Scott Rossi Regards Klaus Major klaus.major at metascape.org From klaus.major at metascape.org Wed Aug 21 04:46:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Aug 21 04:46:01 2002 Subject: Problems with Sounds In-Reply-To: Message-ID: <51221F55-B4EA-11D6-8FC6-003065D52E8E@metascape.org> Hi David and all, > ... > Considering how old Aif is, it works very well, but if you want to > deploy on > Windows, Wav is the way to go. Yes it is true a Quicktime player will > deal > with almost everything, IF it is installed on the Windows machine. > Finally, > I think the extension must be right - you mention aif but refer to .wav I have very good crossplatform results using the AU format. It is small, the quality is good enough for most purposes and it can be used on linux/*nix, too, if needed. Regards Klaus Major klaus.major at metascape.org From wmb at internettrainer.com Wed Aug 21 05:13:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Aug 21 05:13:01 2002 Subject: Dan Shafer : Wired HC Article - rev too complicated? In-Reply-To: <200208191554.LAA32706@www.runrev.com> Message-ID: <33FEB8B2-B4EE-11D6-B67A-003065430226@internettrainer.com> On Monday, August 19, 2002, at 05:54 PM, use-revolution- request at lists.runrev.com wrote: > We assume NONE of our users are idiots! You missunderstood this. I was NOT talking about Rev Users. I was talking about my intention to convince good developers of other tools to give rev a try for a future collaboration. And listed what some of them said to me after having a look at it. So I concluded if the german speaking developer,that means developers fram Germany, Austria, Swiss, who do Software like SAP Siemens, SAP... are not idiots, then the problem must be on... > No interface can or will suit everyone 100% although there are > ways to support different user types through the range of small > features and enhancements which support them specifically. Please.., I think everybody knows that here...;) 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 wmb at internettrainer.com Wed Aug 21 05:26:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Wed Aug 21 05:26:01 2002 Subject: use-revolution digest, Vol 1 #618 - 15 msgs In-Reply-To: <200208191554.LAA32706@www.runrev.com> Message-ID: <076EFF25-B4F0-11D6-B67A-003065430226@internettrainer.com> On Monday, August 19, 2002, at 05:54 PM, use-revolution- request at lists.runrev.com wrote: > In fact, from my perspective, I'm reasonably happy with Rev's UI. Room > for improvement? Absolutely. Actually, Wolfgang has previously pointed > out several such areas - back when he coined "AppLov". If it were me, I > would focus in on the AppLov like a hawk. It is the key to examination > of a project in a holistic manner. > > Another advantageous tool would be a true project overview - you know, > like a site map. Something which has the capacity to show graphically a > projects layout and interconnections. Stacks break out into > cards, cards > have colored icons or stripes on them representing groups, and lines > show interconnections. Double clicking a card opens it for editing, new > cards could be added, new links drawn, and so on... > > Personally, I don't need that sort of tool, but I can see where > it could > be helpful to folks who are not scripters at heart. > Thanks Troy, Thats it, now I know thats NOT my english wich produces the confusion. 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 yvescoppe at skynet.be Wed Aug 21 06:56:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Wed Aug 21 06:56:01 2002 Subject: [ANN] Calendar Object v1.1.0 In-Reply-To: <004701c248dc$96aa3fa0$88b15bd1@lanfear> References: <004701c248dc$96aa3fa0$88b15bd1@lanfear> Message-ID: Hi, FANTASTIC !!!! Thank you. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From rcozens at pon.net Wed Aug 21 08:52:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Aug 21 08:52:01 2002 Subject: trimming ? In-Reply-To: <3D627976.2060704@hyperactivesw.com> References: <200208201203.IAA19848@www.runrev.com> <3D627976.2060704@hyperactivesw.com> Message-ID: >>This is what I use: >> >>function trimText pText >> put cr & tab & space into tTrimChars >> repeat while char 1 of pText is in tTrimChars >> delete char 1 of pText >> end repeat >> repeat while char -1 of pText is in tTrimChars >> delete char -1 of pText >> end repeat >> return pText >>end trimText > >Another variation I use: > >function trim theText > repeat for each word w in theText > put w & space after temp > end repeat > delete last char of temp > return temp >end trim Dave, Jacque, et al: If you're simultaneously stripping leading AND trailing spaces on a single line of text, can't you just use "get word 1 to -1 of theText"? -- 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 dcragg at lacscentre.co.uk Wed Aug 21 09:30:00 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed Aug 21 09:30:00 2002 Subject: trimming ? In-Reply-To: References: <200208201203.IAA19848@www.runrev.com> <3D627976.2060704@hyperactivesw.com> Message-ID: At 6:49 am -0700 21/8/02, Rob Cozens wrote: >>>This is what I use: >>> >>>function trimText pText >>> put cr & tab & space into tTrimChars >>> repeat while char 1 of pText is in tTrimChars >>> delete char 1 of pText >>> end repeat >>> repeat while char -1 of pText is in tTrimChars >>> delete char -1 of pText >>> end repeat >>> return pText >>>end trimText >> >>Another variation I use: >> >>function trim theText >> repeat for each word w in theText >> put w & space after temp >> end repeat >> delete last char of temp >> return temp >>end trim > >Dave, Jacque, et al: > >If you're simultaneously stripping leading AND trailing spaces on a >single line of text, can't you just use "get word 1 to -1 of >theText"? Nice one! I guess I'm ruled by habit. However, by having a line such as: put cr & tab & space into tTrimChars it's very easy to modify behavior or create new functions, for example if you want to trim out other leading and trailing characters. (I'm a copy and paste person.) Cheers Dave From rcozens at pon.net Wed Aug 21 09:42:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Aug 21 09:42:01 2002 Subject: trimming ? In-Reply-To: References: <200208201203.IAA19848@www.runrev.com> <3D627976.2060704@hyperactivesw.com> Message-ID: >>If you're simultaneously stripping leading AND trailing spaces on a >>single line of text, can't you just use "get word 1 to -1 of >>theText"? > >Nice one! > >I guess I'm ruled by habit. However, by having a line such as: > >put cr & tab & space into tTrimChars Thanks, Dave, Then again, you are checking for tabs as well as spaces, and Jacque is eliminating multiple spaces between all words. This just struck me as perhaps the best answer to the original problem. -- 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 kenl34 at earthlink.net Wed Aug 21 12:08:01 2002 From: kenl34 at earthlink.net (Ken Lipscomb) Date: Wed Aug 21 12:08:01 2002 Subject: ActiveX Controls and COM Objects Message-ID: <000001c24934$e2f66200$6501a8c0@vaio> This is a newbie question: Can Revolution use ActiveX Controls and COM Objects in the windows environment?. I am particually interested in using the WindowsMediaPlayer ActiveX control. Ken Lipscomb -------------- next part -------------- An HTML attachment was scrubbed... URL: From yvescoppe at skynet.be Wed Aug 21 13:05:00 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Wed Aug 21 13:05:00 2002 Subject: [ANN] Calendar Object v1.1.0 In-Reply-To: <004701c248dc$96aa3fa0$88b15bd1@lanfear> References: <004701c248dc$96aa3fa0$88b15bd1@lanfear> Message-ID: Hi, Could you add a feature : When I click on a date, I'd like a visual feed back on which date I clicked, something like a hilite visual effect. Is it possible ? Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From dan at danshafer.com Wed Aug 21 15:40:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Wed Aug 21 15:40:01 2002 Subject: Rev and Databases - getting started Message-ID: While the docs do a decent job of explaining how to work with a Valentina or MySQL database, there is as far as I can tell no help at all with getting started on that process. For example, I open the Database Manager from the Tools menu and Valentina as the database type. Now it wants a host and a database, but nothing in the Help tells me anything about either of these two values. I tried finding info on the Paradgima site about Valentina but unless you own a license, it seems hard to get any help there at all. I'm on OS X and I know I have mySQL installed, too, though I haven't yet completely figured out how to use it (I'm studying that now). But even assuming I dope it out in the Terminal and/or Python, I still have no clue how Database Manager or RR scripts would go about providing a host and database name. I downloaded the DB Examples from the Rev site, but double-clicking on the stacks there gets me nowhere. I get DB errors. Can someone point me in the right direction, more or less? 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 tony.moller at drcs.com Wed Aug 21 19:06:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Wed Aug 21 19:06:01 2002 Subject: Bug Reporting - how to? Message-ID: Since I only have a SBE license, how do I report a bug? Post it to this list, or email someone direct? I think I found a bug relating to scroll bars and the OSX appearance manager. Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From tony.moller at drcs.com Wed Aug 21 19:17:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Wed Aug 21 19:17:01 2002 Subject: color of scroll bars Message-ID: How do I set the scroll bar buttons (up/down/left/right) to something other than the backgroundcolor for a scrolling field? If I create just a scroll bar element, I can set the color of the buttons (or is handles a better descriptive) by changing its backgroundcolor. But changing the backgroundcolor of a scrolling field changes the color of the text area. Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From shaosean at unitz.ca Wed Aug 21 20:58:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Wed Aug 21 20:58:01 2002 Subject: color of scroll bars References: Message-ID: <002d01c2497e$98604c70$88b15bd1@lanfear> set the opaque of the field to false, drop one of those graphic boxes behind it and set it's colour to the colour you want.. ----- Original Message ----- > How do I set the scroll bar buttons (up/down/left/right) to something other > than the backgroundcolor for a scrolling field? If I create just a scroll > bar element, I can set the color of the buttons (or is handles a better > descriptive) by changing its backgroundcolor. But changing the > backgroundcolor of a scrolling field changes the color of the text area. From kevin at runrev.com Thu Aug 22 06:24:01 2002 From: kevin at runrev.com (Kevin Miller) Date: Thu Aug 22 06:24:01 2002 Subject: Bug Reporting - how to? In-Reply-To: Message-ID: On 22/8/02 1:04 am, Tony Moller wrote: > Since I only have a SBE license, how do I report a bug? Post it to this > list, or email someone direct? > > I think I found a bug relating to scroll bars and the OSX appearance > manager. If you are a SBE customer, or a Starter Kit user, please send bug reports to support at runrev.com. (Other types of license holder should follow the directions they received with their purchase.) The use-revolution list should not be used for bug reports. 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 rcozens at pon.net Thu Aug 22 09:29:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Aug 22 09:29:00 2002 Subject: Rev and Databases - getting started In-Reply-To: References: Message-ID: >Can someone point me in the right direction, more or less? I'm afraid I can't help you there, Dan. Except to make you aware that there is an alternative IF you can live with a single-user, non-SQL database: Serendipity Database Binary (or SDB). SDBs are hierarchial database stacks that support: * multiple record types * variable-length records, fields, & keys * access by * Exact or approximate key * Relative position (first,prev,next,last) * Record Id (Revolution card Id) * update & retrieval of individual fields * selection based on field contents SDB handlers are 100% Transcript (no extensions) and will be available for royalty-free distribution as part of Serendipity Library. The Library also includes a stack to create a SDB Utility standalone to create, directly browse or edit, backup, and restore SDB databases. If this of interest to you, contact me off list. -- 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 devin_asay at byu.edu Thu Aug 22 09:32:01 2002 From: devin_asay at byu.edu (Devin Asay) Date: Thu Aug 22 09:32:01 2002 Subject: Popup menu buttons Message-ID: In HyperCard it is possible to create a Popup style button and to set the width for the button name to show alongside the list that pops up. When an item is selected from the popup list, it appears in the space next to the button name. Can you do the same thing with one of Rev's menu style buttons? I have looked at them all, but can't see one that lets you show the button's name along with the selected line of the button, something like this: Choose Color: > | Yellow Does Rev not allow this, or am I missing something? Devin -- Devin Asay Humanities Research Center Brigham Young University From cowhead at mac.com Thu Aug 22 09:47:01 2002 From: cowhead at mac.com (mark mitchell) Date: Thu Aug 22 09:47:01 2002 Subject: using sounds / QuickTime TimeCode track In-Reply-To: <200208210154.VAA10749@www.runrev.com> Message-ID: Nicholas wrote: > I am also having trouble with audio files. I am trying to simply play > a sound file (QT/ AIFF) that is in the same directory as the RR > stack. I have aound 3Gb of audio files that I absolutely do not want > to segment and embed. In Hypercard I can play any selected chunk. In > RR I can't even get a squeak! > > I haven't found the documentation that specifies the format of > soundfiles, is there such a thing? The metacard help went into some detail on available formats. If I recall, AIFF was not one of them that could be embedded. But if you do not want to embed and you are going to use QT and a player, then I would convert to MP3, simply because its more universal (and then you can play it on your iPod too!). You cannot embed MP3 though, so for embedding I would use something like Next(sun) and Klaus just wrote that he likes something else. I notice you come from Hypercard. So in Rev you need to look at help under "players" and related topics. It can be confusing coming from hypercard. If the sound is not embedded you first create a player, then "set the filename of player myplayer to mySoundFile". If you do not use the full path of the file, it will look in the default folder. So use the full path to be safe. Try: answer file "what?" put it into myFile create player "myPlayer" set the showController of player myplayer to true set the fileName of it to myFile choose browse tool start player "myPlayer" You can also play selected chunks of a sound file using the using the QT units. For example, if you want to stop playing the file before the end use: set the playSelection of player myPlayer to true set the endTime of player myPlayer to myEndTime By manually stopping a player (where you want it stopped) you can then open its properties (property manager > player) and see the current QT 'time' unit. So it is very easy to find exactly where you want to start and stop a sound. All of this is pretty well documented in 'help' but look under 'players' and related and not 'play'. It's confusing coming from hypercard, I know! Kanpai! mark mitchell Japan From klaus.major at metascape.org Thu Aug 22 10:08:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Thu Aug 22 10:08:01 2002 Subject: Popup menu buttons In-Reply-To: Message-ID: <74BDC0A4-B5E0-11D6-B94B-003065D52E8E@metascape.org> Hi Devin, > In HyperCard it is possible to create a Popup style button and to set > the width for the button name to show alongside the list that pops up. > When an item is selected from the popup list, it appears in the space > next to the button name. Are you sure ? I just found HC in my archives and could not find this feature... > Can you do the same thing with one of Rev's menu style buttons? I have > looked at them all, but can't see one that lets you show the button's > name along with the selected line of the button, something like this: > > Choose Color: > | Yellow > > Does Rev not allow this, or am I missing something? > > Devin Anyway, it is not possible right out of the box. You can do this with a field on one side of the button. If you don't tell, noone will ever see the difference ;-) Regards Klaus Major klaus.major at metascape.org From klaus.major at metascape.org Thu Aug 22 10:11:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Thu Aug 22 10:11:01 2002 Subject: using sounds / QuickTime TimeCode track In-Reply-To: Message-ID: Konichi-wa Mitchell-san, > ... > You cannot embed MP3 though, so for embedding I would use something > like Next(sun) and Klaus just wrote that he likes something else. You are right i like something else ;-) But in this case i wrote that i like the AU sound format, which is in fact a Next(sun) thing... > > Kanpai! > > mark mitchell > Japan Sayonara Klaus Major klaus.major at metascape.org Germany From Zzyzx at Relia.Net Thu Aug 22 11:11:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Thu Aug 22 11:11:01 2002 Subject: If it equals? Message-ID: <000a01c249f6$4e539c40$1901000a@ZZYZX> Hello, I am trying to make a easy Log-In system. I have a big list of Names in a Text file. What I want it to do, when you enter your name to Log-In, it will check the text file to make sure that name is in the Text File, if not, it won't let you log in. I don't know how to come about on doing this. Any ideas how to do this? Thanks! - Josh Dye -------------- next part -------------- An HTML attachment was scrubbed... URL: From trevor at mangomultimedia.com Thu Aug 22 11:20:01 2002 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Thu Aug 22 11:20:01 2002 Subject: If it equals? In-Reply-To: <000a01c249f6$4e539c40$1901000a@ZZYZX> Message-ID: This is the most efficient way but you could use a repeat loop do go through each line of the file. Use open file and read from file to get the data into a variable then loop through each line comparing the entered name to the login name. If you only had one name per line then the loop might look like this: repeat i = 1 to the number of lines in myFile if loginname is equal to line i of myFile then -- the login name exists -- do stuff here exit repeat end if end repeat Hopefully this will get you started. >Hello, > I am trying to make a easy Log-In system. I have a big list of Names in a Text file. What I want it to do, >when you enter your name to Log-In, it will check the text file to make sure that name is in the Text File, if >not, it won't let you log in. I don't know how to come about on doing this. Any ideas how to do this? Thanks! > > - Josh Dye From Zzyzx at Relia.Net Thu Aug 22 11:24:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Thu Aug 22 11:24:01 2002 Subject: If it equals? References: <000a01c249f6$4e539c40$1901000a@ZZYZX> Message-ID: <001301c249f8$17c3a510$1901000a@ZZYZX> One more thing I forgot to mention. I would like to include the Coded Password on the same line of the Name. How would I retrieve the password after the person has entered his name, and make sure it is the correct password? Thanks! - Josh Dye ----- Original Message ----- From: Josh Dye To: use-revolution at lists.runrev.com Sent: Thursday, August 22, 2002 10:09 AM Subject: If it equals? Hello, I am trying to make a easy Log-In system. I have a big list of Names in a Text file. What I want it to do, when you enter your name to Log-In, it will check the text file to make sure that name is in the Text File, if not, it won't let you log in. I don't know how to come about on doing this. Any ideas how to do this? Thanks! - Josh Dye From trevor at mangomultimedia.com Thu Aug 22 11:52:01 2002 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Thu Aug 22 11:52:01 2002 Subject: Rev and Databases - getting started In-Reply-To: Message-ID: >While the docs do a decent job of explaining how to work with a >Valentina or MySQL database, there is as far as I can tell no help at >all with getting started on that process. For example, I open the >Database Manager from the Tools menu and Valentina as the database >type. Now it wants a host and a database, but nothing in the Help >tells me anything about either of these two values. For Valentina your host would be blank and the database would contain the full path to the Valentina database - Macintosh HD:Users:you:projects:db:mydb.vdb. For MySQL the Host would be "localhost", the Database would be the name of your database, the User would be root if you haven't added any users, etc. since installing MySQL. The password is either blank or whatever password you set up for the user you are connecting with. > >I'm on OS X and I know I have mySQL installed, too, though I haven't >yet completely figured out how to use it (I'm studying that now). But >even assuming I dope it out in the Terminal and/or Python, I still >have no clue how Database Manager or RR scripts would go about >providing a host and database name. > >Can someone point me in the right direction, more or less? I haven't played with MySQL yet but I do have Valentina mostly working (except that when I compile the program the program dies whenever I try to connect to the database, but that is another story). What I have done in order to keep things clean is a create a stack with all my database code in it. You cold just as easily do the same thing with an object in your stack and then insert the objects script into the message path using insert script. I then start using this stack in the program I want access to it using this code: put "DBLibrary,DBLibrary.rev" into newStackFiles set the stackFiles of this stack to newStackFiles I have setup all the correction parameters as custom properties of the stack so I can change the parameters using the custom props. I have a DB_Connect function which has the following code in it: put the filename of this stack into stackPath -- this is the path of the stack this is used in set the itemdelimiter to "/" delete last item of stackPath put "/" after stackPath if the platform contains "Mac" then put revMacFromUnixPath (stackPath & the dbName of me) into osDBPath set the connectionID of me to revdb_connect(the dbType of me, \ the dbHost of me, osDBPath, the dbUserName of me, \ the dbPassword of me, the valentinaCacheSize of me, \ the valentinaMacSerial of me, "") else set the connectionID of me to revdb_connect (the dbType of me, \ the dbHost of me, stackPath & the dbName of me, the dbUserName of me, \ the dbPassword of me, the valentinaCacheSize of me, \ "", the valentinaWinSerial of me) end if The custom props for the stack might have the following values dbType = Valentina dbHost = dbName = mydb.vdb dbUserName = dbPassword = valentinaCacheSize = 3*1024 valentinaMacSerial = YourMacSerial valentinaWinSerial = YouWinSerial So basically you get the full path to the Valentina database. Mine is in the same directory as the stack so I just get the stack path and append the name of the db to it. For mac you have to convert to a Mac style path for Valentina to work. The custom prop connectionID is set to the id of the connection that is made or has a nice error message for you to deal with. I use this connection id for all the other queries that my db library does. From here you can just execute queries using query, execute and query_blob. Hope this helps. If this wasn't what you were after let me know. Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From trevor at mangomultimedia.com Thu Aug 22 11:59:00 2002 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Thu Aug 22 11:59:00 2002 Subject: If it equals? In-Reply-To: <001301c249f8$17c3a510$1901000a@ZZYZX> Message-ID: >One more thing I forgot to mention. I would like to include the Coded >Password on the same line of the Name. How would I retrieve the password >after the person has entered his name, and make sure it is the correct >password? Thanks! If you have two items per line then just set the itemDelimiter to whatever seperates them. Then we comparing the username and password you can say: repeat i = 1 to the number of lines in myFile if loginname is equal to item 1 of line i of myFile then if password is equal to item 2 of line i of myFile then -- password is good exit repeat else -- password is bad end if else -- bad login name end if end repeat Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From k_major at os.surf2000.de Thu Aug 22 12:22:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Aug 22 12:22:01 2002 Subject: If it equals? In-Reply-To: Message-ID: Bonsoir Yves, hi Josh and Trevor, >> One more thing I forgot to mention. I would like to include the Coded >> Password on the same line of the Name. How would I retrieve the >> password >> after the person has entered his name, and make sure it is the correct >> password? Thanks! > > If you have two items per line then just set the itemDelimiter to > whatever seperates them. Then we comparing the username and password > you can say: > > repeat i = 1 to the number of lines in myFile > if loginname is equal to item 1 of line i of myFile then > if password is equal to item 2 of line i of myFile then > -- password is good > exit repeat > else > -- password is bad > end if > else > -- bad login name > end if > end repeat > > Trevor DeVore as usual, a repeat loop with "for each" will be incredibly faster. Just in case the userbase will grow you could script: (Presumed that the lines are in this format: username TAB coded password) ... set the itemdel to TAB repeat for each line l in myFile if item 1 of l is the_user then put item 2 of l into the_password exit repeat end if ask "Please enter more money ehmm your password" if it is the_password then do_the_right_thing end if ... "for each" can process up to thousands of lines in a fraction of a second ! No foolin' ;-) Hope that helps... Regards Klaus Major k_major at os.surf2000.de From tony.moller at drcs.com Thu Aug 22 12:32:00 2002 From: tony.moller at drcs.com (Tony Moller) Date: Thu Aug 22 12:32:00 2002 Subject: force exit a handler Message-ID: How do you force stop a handler from executing? I think I got myself into an infinite loop. Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From k_major at os.surf2000.de Thu Aug 22 12:37:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Aug 22 12:37:01 2002 Subject: If it equals? In-Reply-To: Message-ID: Hi all, > as usual, a repeat loop with "for each" will be incredibly faster. > > Just in case the userbase will grow you could script: > (Presumed that the lines are in this format: username TAB coded > password) > > ... > set the itemdel to TAB > repeat for each line l in myFile > if item 1 of l is the_user then > put item 2 of l into the_password > exit repeat > end if > ask "Please enter more money ehmm your password" > if it is the_password then > do_the_right_thing > end if > ... > > "for each" can process up to thousands of lines in a fraction of a > second ! > No foolin' ;-) > > Hope that helps... > > > Regards > > Klaus Major > k_major at os.surf2000.de that's nice but bullshi ;-) Sorry... Here we go: on mouseup ## or whatever set the itemdel to TAB ask "Who the hell are YOU ???" if it is empty then exit mouseup put it into the_user repeat for each line l in myFile if item 1 of l is the_user then put item 2 of l into the_password exit repeat else ## heavy complaining... exit mouseup end if ask "Please enter more money ehmm your password" if it is the_password then ### do_the_right_thing else ## heavy complaining... end if end mouseup From k_major at os.surf2000.de Thu Aug 22 12:38:00 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Aug 22 12:38:00 2002 Subject: force exit a handler In-Reply-To: Message-ID: <10BA9BCE-B5F6-11D6-9D34-000A27B49A96@os.surf2000.de> Hi Tony, > How do you force stop a handler from executing? I think I got myself > into an > infinite loop. congrats and welcome to the club ;-) Try cmd-. (Period) > Tony Regards Klaus Major k_major at os.surf2000.de From k_major at os.surf2000.de Thu Aug 22 12:40:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Aug 22 12:40:01 2002 Subject: If it equals? In-Reply-To: Message-ID: <5A9CD502-B5F6-11D6-9D34-000A27B49A96@os.surf2000.de> Hi all, >> ... >> ask "Please enter more money ehmm your password" >> if it is the_password then >> do_the_right_thing >> end if >> ... > that's nice but bullshi ;-) Here is the missing t ;-) t What's the matter with me today ??? Don't answer this question, thanks... Best Klaus Major k_major at os.surf2000.de From Zzyzx at Relia.Net Thu Aug 22 12:53:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Thu Aug 22 12:53:01 2002 Subject: If it equals? References: <5A9CD502-B5F6-11D6-9D34-000A27B49A96@os.surf2000.de> Message-ID: <003401c24a04$8e36dd00$1901000a@ZZYZX> Hello, I can't quite get it to work. Here is the script that I have so far. local the_user local the_password on mouseup set the itemdel to TAB ask "Who the hell are YOU ???" if it is empty then exit mouseup put it into the_user repeat for each line l in URL "file:\\ZZYZX\INTERFACE\Names.txt" if item 1 of l is the_user then put item 2 of l into the_password exit repeat else answer "heavy complaining..." exit mouseup end if ask "Please enter more money ehmm your password" if it is the_password then answer "do_the_right_thing" else answer "heavy complaining... again" end if end repeat end mouseup The text file reads this so far... Dr.Zzyzx TAB jOU~f1b. Kolok I can't get it to work. So any problems? - Josh Dye ----- Original Message ----- From: "Klaus Major" To: Sent: Thursday, August 22, 2002 11:41 AM Subject: Re: If it equals? > Hi all, > > >> ... > >> ask "Please enter more money ehmm your password" > >> if it is the_password then > >> do_the_right_thing > >> end if > >> ... > > > that's nice but bullshi ;-) > > Here is the missing t ;-) > > t > > What's the matter with me today ??? > Don't answer this question, thanks... > > Best > > > Klaus Major > k_major at os.surf2000.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From troy at rpsystems.net Thu Aug 22 13:01:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Thu Aug 22 13:01:01 2002 Subject: If it equals? In-Reply-To: <003401c24a04$8e36dd00$1901000a@ZZYZX> Message-ID: On Thursday, August 22, 2002, at 01:51 PM, Josh Dye wrote: > Dr.Zzyzx TAB jOU~f1b. > Kolok > > I can't get it to work. So any problems? The "Tab" in the text file should be an actual tab, not the word tab. Is that what you have? -- Troy RPSystems, LTD www.rpsystems.net From Zzyzx at Relia.Net Thu Aug 22 13:12:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Thu Aug 22 13:12:01 2002 Subject: If it equals? References: Message-ID: <006e01c24a07$38234fe0$1901000a@ZZYZX> It is a Real tab, I just put TAB in there, so you would know. It is still not working. It exits mouseup somewhere, without finishing it. - Josh ----- Original Message ----- From: "Troy Rollins" To: Sent: Thursday, August 22, 2002 11:59 AM Subject: Re: If it equals? > > On Thursday, August 22, 2002, at 01:51 PM, Josh Dye wrote: > > > Dr.Zzyzx TAB jOU~f1b. > > Kolok > > > > I can't get it to work. So any problems? > > The "Tab" in the text file should be an actual tab, not the word tab. > > Is that what you have? > > -- > 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 kee at kagi.com Thu Aug 22 13:19:01 2002 From: kee at kagi.com (Kee Nethery) Date: Thu Aug 22 13:19:01 2002 Subject: If it equals? In-Reply-To: References: Message-ID: >This is the most efficient way but you could use a repeat loop do go >through each line of the file. Use open file and read from file to >get the data into a variable then loop through each line comparing >the entered name to the login name. If you only had one name per >line then the loop might look like this: > >repeat i = 1 to the number of lines in myFile > if loginname is equal to line i of myFile then > -- the login name exists > -- do stuff here > exit repeat > end if >end repeat > >Hopefully this will get you started. My favorite method is to put a return at the top of the file and then see if return & & return is in the file No need to know which line, just if it is there (assuming you do not also store a password in the file and need to verify that). kee Nethery > > > >>Hello, >> I am trying to make a easy Log-In system. I have a big list of >>Names in a Text file. What I want it to do, >>when you enter your name to Log-In, it will check the text file to >>make sure that name is in the Text File, if >>not, it won't let you log in. I don't know how to come about on >>doing this. Any ideas how to do this? Thanks! >> >> - Josh Dye >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From tony.moller at drcs.com Thu Aug 22 13:24:01 2002 From: tony.moller at drcs.com (Tony Moller) Date: Thu Aug 22 13:24:01 2002 Subject: force exit a handler In-Reply-To: <10BA9BCE-B5F6-11D6-9D34-000A27B49A96@os.surf2000.de> Message-ID: on 8/22/02 1:39 PM, Klaus Major at k_major at os.surf2000.de wrote: >> How do you force stop a handler from executing? I think I got myself >> into an >> infinite loop. > > congrats and welcome to the club ;-) Thanks! I knew I'd get here one day :) > Try cmd-. (Period) Tried that. Didn't work. Although, I should add that I was not stuck in a loop like I thought I was. Rev didn't like this statement: put roll into next line of field "cpdieresults" I though that should work, but I guess not. If anyone knows the right way to phrase this, it would some me some lines of code... Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From kray at sonsothunder.com Thu Aug 22 13:29:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 22 13:29:00 2002 Subject: If it equals? References: Message-ID: <006b01c24a08$ea5ca890$6f00a8c0@mckinley.dom> > on mouseup ## or whatever > set the itemdel to TAB > ask "Who the hell are YOU ???" > if it is empty then exit mouseup > put it into the_user > repeat for each line l in myFile > if item 1 of l is the_user then > put item 2 of l into the_password > exit repeat > else > ## heavy complaining... > exit mouseup > end if > ask "Please enter more money ehmm your password" > if it is the_password then > ### do_the_right_thing > else > ## heavy complaining... > end if > end mouseup Or, using regular expressions: function getPassword userName,userFilePath local tPassword put url ("file:" & userFilePath) into userData repeat for each line l in userData get matchText(l,"^" & userName & tab & "(.*$)", tPassword) -- * if it is true then return tPassword end repeat return "Password not found for user " & userName end getPassword * = Read: "In line l, find userName and tab at the beginning of the line [^], followed by one or more characters [.*] at the end of the line [$], and return the value you find from the tab to the end of the line [the parentheses in "(.*$)"]. And when Rev 1.5 comes out with full PCRE support, you don't need a repeat loop: function getPassword userName,userFilePath local tPassword put url ("file:" & userFilePath) into userData get matchText(cr & userData & cr,"\n" & userName & tab & "(.*?)\n",tPassword) --** if it is true then return tPassword else return "Password not found for user " & userName end getPassword ** Since we're going to use CRs for the beginning and ending boundaries in a full text search, the text to check is bounded by CRs (cr & userData & cr), and the regular expression is similarly bounded by crs (\n on both sides). Read it as this: "In userData, find the userName and tab preceded by a return [\n], followed by one or more characters in a non-greedy way (that is, stop when you find the first match - don't go on to find any more matches) [.*?], followed by another return [\n], and then return the value you find from the tab to the return character [the parentheses in "(.*?)"]. Am I the only one that sees these regular expressions as cool? :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dsc at swcp.com Thu Aug 22 13:30:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 22 13:30:01 2002 Subject: If it equals? In-Reply-To: <001301c249f8$17c3a510$1901000a@ZZYZX> Message-ID: <9495F5A4-B5FC-11D6-B0E0-0050E4C0B205@swcp.com> On Thursday, August 22, 2002, at 10:22 AM, Josh Dye wrote: > One more thing I forgot to mention. I would like to include the Coded > Password on the same line of the Name. How would I retrieve the > password > after the person has entered his name, and make sure it is the correct > password? Thanks! Off the top of my head... function nameAndPasswordAreOK theName thePassword put uniqueCombinedNP(theName,thePassword) into np return the np is among the lines of URL "file:nameandpassword" end nameAndPasswordAreOK function uniqueCombinedNP theName thePassword --Put the pair into "canonical" form. return theName,thePassword --Add code to above to get rid of extra spaces, --to make capitalization uniform, etc, if needed. end uniqueCombinedNP Make the file so this works. Dar From k_major at os.surf2000.de Thu Aug 22 13:32:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Aug 22 13:32:01 2002 Subject: If it equals? In-Reply-To: <003401c24a04$8e36dd00$1901000a@ZZYZX> Message-ID: <88571041-B5FD-11D6-9D34-000A27B49A96@os.surf2000.de> Hi Josh, you terminate the "repeat"-loop at the wrong place if your script is what you are using. > Hello, > I can't quite get it to work. Here is the script that I have so far. > > local the_user > local the_password ## declaring these vars as local is not really necessary ## a var is valid (and thus usable) in a complete handler. ## in this case from "on mouseup" until "end mouseup" > > on mouseup > set the itemdel to TAB ### i recommend this put URL "file:\\ZZYZX\INTERFACE\Names.txt" into the_file > ask "Who the hell are YOU ???" > if it is empty then exit mouseup > put it into the_user > repeat for each line l in the_file > if item 1 of l is the_user then > put item 2 of l into the_password > exit repeat > else > answer "heavy complaining..." > exit mouseup > end if end repeat ## !!! here is the right place to end that loop ;-) > ask "Please enter more money ehmm your password" > if it is the_password then > answer "do_the_right_thing" > else > answer "heavy complaining... again" > end if > ### end repeat ## !!! > end mouseup > > The text file reads this so far... > > Dr.Zzyzx TAB jOU~f1b. > Kolok > > I can't get it to work. So any problems? > > - Josh Dye Hope this helps... Best Klaus Major k_major at os.surf2000.de From k_major at os.surf2000.de Thu Aug 22 13:37:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Aug 22 13:37:01 2002 Subject: force exit a handler In-Reply-To: Message-ID: <36811C0C-B5FE-11D6-9D34-000A27B49A96@os.surf2000.de> Hi Tony, > on 8/22/02 1:39 PM, Klaus Major at k_major at os.surf2000.de wrote: > >>> How do you force stop a handler from executing? I think I got myself >>> into an >>> infinite loop. >> >> congrats and welcome to the club ;-) > > Thanks! I knew I'd get here one day :) Yeah, it's nice in here, isn't it ?! :-) >> Try cmd-. (Period) > > Tried that. Didn't work. Although, I should add that I was not stuck > in a > loop like I thought I was. Nevertheless you are still a member of this exclisive club ;-) > Rev didn't like this statement: > > put roll into next line of field "cpdieresults" > > I though that should work, but I guess not. If anyone knows the right > way to > phrase this, it would some me some lines of code... > > Tony If you mean "the next available and free line in fld cpdieresults ;-)" then try ... put roll & CR after fld "cpdieresults" ## ;-) ... Regards Klaus Major k_major at os.surf2000.de From k_major at os.surf2000.de Thu Aug 22 13:39:01 2002 From: k_major at os.surf2000.de (Klaus Major) Date: Thu Aug 22 13:39:01 2002 Subject: If it equals? In-Reply-To: <006b01c24a08$ea5ca890$6f00a8c0@mckinley.dom> Message-ID: <9D5749B4-B5FE-11D6-9D34-000A27B49A96@os.surf2000.de> Hi Ken, > ... > else return "Password not found for user " & userName > end getPassword > > ** Since we're going to use CRs for the beginning and ending boundaries > in a > full text search, the text to check is bounded by CRs (cr & userData & > cr), > and the regular expression is similarly bounded by crs (\n on both > sides). > Read it as this: "In userData, find the userName and tab preceded by a > return [\n], followed by one or more characters in a non-greedy way > (that > is, stop when you find the first match - don't go on to find any more > matches) [.*?], followed by another return [\n], and then return the > value > you find from the tab to the return character [the parentheses > in "(.*?)"]. > > Am I the only one that sees these regular expressions as cool? :-) Let me put it this way: You are one of the few persons who know what going on here with the regex-thing ;-) Anyone to write a understandable introduction to regex ? This IS powerful, but not TOO easy... > Ken Ray Regards Klaus Major k_major at os.surf2000.de From vokey at uleth.ca Thu Aug 22 13:55:01 2002 From: vokey at uleth.ca (John Vokey) Date: Thu Aug 22 13:55:01 2002 Subject: use-revolution digest, Vol 1 #627 - 15 msgs In-Reply-To: <200208221740.NAA16964@www.runrev.com> Message-ID: Tony, should be: put return&roll after field field "cpdieresults" On Thursday, August 22, 2002, at 11:40 AM, use-revolution- request at lists.runrev.com wrote: > Tried that. Didn't work. Although, I should add that I was not stuck > in a > loop like I thought I was. Rev didn't like this statement: > > put roll into next line of field "cpdieresults" > > I though that should work, but I guess not. If anyone knows the right > way to > phrase this, it would some me some lines of code... > > Tony > > -- John R. Vokey, Ph.D. |\ _,,,---,,_ Professor /,`.-'`' -. ;-;;,_ Department of Psychology and Neuroscience |,4- ) )-,_. ,\ ( `'-' University of Lethbridge '---''(_/--' `-'\_) From Zzyzx at Relia.Net Thu Aug 22 14:04:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Thu Aug 22 14:04:01 2002 Subject: If it equals? References: <88571041-B5FD-11D6-9D34-000A27B49A96@os.surf2000.de> Message-ID: <000b01c24a0e$67be0860$1901000a@ZZYZX> Thanks a lot! Now I have two more things I want to add! :-) 1. There are certain levels of Access that the User can have. It is the same as the Rating for Games. Everyone, Teen, and Mature. What I was thinking of just having it be the Third Item, as just 'E', 'T', or 'M'. I don't know how to get the script to recognize what it is, and made the adjustments according to their User Level. Any ideas on how to do this? 2. This one is easy. But I'm not sure what exact thing to do. I just want to add new Users to the User Database Text File. What is the code to go to the last line of the Text File? Thanks! - Josh Dye ----- Original Message ----- From: "Klaus Major" To: Sent: Thursday, August 22, 2002 12:32 PM Subject: Re: If it equals? > Hi Josh, > > you terminate the "repeat"-loop at the wrong place if your script is > what you are using. > > > Hello, > > I can't quite get it to work. Here is the script that I have so far. > > > > local the_user > > local the_password > ## declaring these vars as local is not really necessary > ## a var is valid (and thus usable) in a complete handler. > ## in this case from "on mouseup" until "end mouseup" > > > > on mouseup > > set the itemdel to TAB > ### i recommend this > put URL "file:\\ZZYZX\INTERFACE\Names.txt" into the_file > > ask "Who the hell are YOU ???" > > if it is empty then exit mouseup > > put it into the_user > > repeat for each line l in the_file > > if item 1 of l is the_user then > > put item 2 of l into the_password > > exit repeat > > else > > answer "heavy complaining..." > > exit mouseup > > end if > end repeat ## !!! here is the right place to end that loop ;-) > > ask "Please enter more money ehmm your password" > > if it is the_password then > > answer "do_the_right_thing" > > else > > answer "heavy complaining... again" > > end if > > ### end repeat > ## !!! > > end mouseup > > > > The text file reads this so far... > > > > Dr.Zzyzx TAB jOU~f1b. > > Kolok > > > > I can't get it to work. So any problems? > > > > - Josh Dye > > Hope this helps... > > Best > > > Klaus Major > k_major at os.surf2000.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From devin_asay at byu.edu Thu Aug 22 14:08:00 2002 From: devin_asay at byu.edu (Devin Asay) Date: Thu Aug 22 14:08:00 2002 Subject: Popup menu buttons In-Reply-To: <200208221556.LAA08536@www.runrev.com> References: <200208221556.LAA08536@www.runrev.com> Message-ID: In a moment of cluelessness I wrote: > >In HyperCard it is possible to create a Popup style button and to set >the width for the button name to show alongside the list that pops >up. When an item is selected from the popup list, it appears in the >space next to the button name. Can you do the same thing with one of >Rev's menu style buttons? I have looked at them all, but can't see >one that lets you show the button's name along with the selected line >of the button, something like this: > > Choose Color: > | Yellow > >Does Rev not allow this, or am I missing something? > >Devin Okay, I found it. In HC you could create a popup style button, then in edit mode you could grab the left edge of the button and drag toward the center. This would create a title area on the left side of the button that displayed the button name. In Rev there is no such analogous trick, but it does support the titleWidth property (same as in HC, but I always just used the dragging trick). If you set the titleWidth to > 0 the same magic title area will appear on the left side of the button. This shows the NAME of the button as the title, not the label. The showName property has to be set to true for this to work. Devin -- Devin Asay Humanities Research Center Brigham Young University From janschenkel at yahoo.com Thu Aug 22 14:13:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Aug 22 14:13:01 2002 Subject: If it equals? In-Reply-To: <006b01c24a08$ea5ca890$6f00a8c0@mckinley.dom> Message-ID: <20020822191113.4386.qmail@web11906.mail.yahoo.com> --- Ken Ray wrote: > [snip] > > Am I the only one that sees these regular > expressions as cool? :-) > No you're not, and I'm very much looking forward to the expanded support in RunRev 1.5, so I can easily handle XML files with this feature. (grabbing what's between two tags, further decomposing that hierarchically,... *drool*) It's just a bit intimidating to people who see them the first time. I remember being amazed and puzzled at the same time, until I got a book on perl, and wih a little imagination, a lot was revealed :-) Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com From kray at sonsothunder.com Thu Aug 22 14:25:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 22 14:25:01 2002 Subject: If it equals? References: <9D5749B4-B5FE-11D6-9D34-000A27B49A96@os.surf2000.de> Message-ID: <008001c24a10$c39eeda0$6f00a8c0@mckinley.dom> Klaus, > > Am I the only one that sees these regular expressions as cool? :-) > > Let me put it this way: > > You are one of the few persons who know what going on here with > the regex-thing ;-) > > Anyone to write a understandable introduction to regex ? I may just do that... especially with the release of MC 2.4.3 and the upcoming Rev 1.5 that truly put the full power of regular expressions into the hands of us scritpers... :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From trevor at mangomultimedia.com Thu Aug 22 14:56:01 2002 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Thu Aug 22 14:56:01 2002 Subject: If it equals? In-Reply-To: <008001c24a10$c39eeda0$6f00a8c0@mckinley.dom> Message-ID: >> Let me put it this way: >> >> You are one of the few persons who know what going on here with >> the regex-thing ;-) >> >> Anyone to write a understandable introduction to regex ? > >I may just do that... especially with the release of MC 2.4.3 and the >upcoming Rev 1.5 that truly put the full power of regular expressions into >the hands of us scritpers... :-) A series of examples for Rev would be great. More examples of this stuff being applied in the Revolution environment would be very helpful. I have done basic regex stuff in BBEdit and PHP but still struggle with writing them which is frustrating. I know that regex can do just about anything but sometimes it is more of a hassle trying to figure out how then I have time for. Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From trevor at mangomultimedia.com Thu Aug 22 14:57:01 2002 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Thu Aug 22 14:57:01 2002 Subject: If it equals? In-Reply-To: Message-ID: >as usual, a repeat loop with "for each" will be incredibly faster. > Thanks for the tip Klaus. I am still figuring out the optimal way to handle things in the Revolution environment so tips like this are greatly appreciated. Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From kray at sonsothunder.com Thu Aug 22 15:13:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 22 15:13:01 2002 Subject: If it equals? References: <20020822191113.4386.qmail@web11906.mail.yahoo.com> Message-ID: <00d501c24a17$6d38fdf0$6f00a8c0@mckinley.dom> Jan, > > Am I the only one that sees these regular > > expressions as cool? :-) > > > > No you're not, and I'm very much looking forward to > the expanded support in RunRev 1.5, so I can easily > handle XML files with this feature. > (grabbing what's between two tags, further decomposing > that hierarchically,... *drool*) That's exactly what I thought as well, and so I created an XML library that was built that is pure MetaTalk/Transcript for managing and parsing XML using regular expressions... just "start using" and then call the commands in there... The Basic version is free and supports functions for reading XML, and there's also a Standard version that does more and opens up the scripts for you to look at and configure for your own use for a nominal price. If you're interested, you can take a look at it and the online documentation of the functions at: http://www.sonsothunder.com/products/metacard/xmllib.htm > It's just a bit intimidating to people who see them > the first time. I remember being amazed and puzzled at > the same time, until I got a book on perl, and wih a > little imagination, a lot was revealed :-) I know what you mean... I'm thinking of creating a tutorial for regex aimed at MC/Rev users... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From katir at hindu.org Thu Aug 22 15:14:01 2002 From: katir at hindu.org (Sivakatirswami) Date: Thu Aug 22 15:14:01 2002 Subject: OT: Video -- digital archiving Message-ID: If you had 100's of physical video tapes ranging from old VHS (and some PAL) tapes to high quality recordings on DV tape and your goal was to A) digitally archive these where the assumption is that hard drive space (raid array drives) for processing would not be an issue, but that, of course, one would eventually have to offload the files to some storage media. B) be able to view them in Metacard or Revolution for indexing, cataloging purposes. C) Preserve original quality while still finding some compression scheme that worked in B) above. D) choose a format that could be later used to take clips for production purposes to make new videos, without too much degradation thereby avoiding the process of going back to the original physical tapes to pick up clips and sequences. E) subsequently be able to create both VHS tapes and DVD's of the video for viewing by "the common man with a TV and a VCR/DVD player" Then, how would you answer the following questions: 1) What devices can read in a VHS tape or a DV stream and record that directly to a storage media? Thereby avoiding PC station/CPU time right from the start of the archival process. The idea being to create a "hardware-slave" station where we simply pump physical tapes through the device for several weeks and end up with stacks of DVD's... Which can be loaded onto hard drives as needed for cataloging and production runs. 2) What format would you want to store that video in assuming that you wanted to maintain at least MPEG2 DVD quality video through all future processes--assuming that inevitably the original tape will deteriorate beyond retrievability. 3) Could the above format be then rendered from within Metacard/Revolution. I guess this question is simply: "Can Quicktime play it?" 4) Can MPEG4 help us? MPEG 4 looks interesting, but i) does anyone know if a high bit rate MPEG4 file *really* preserves 98% of the original raw DV stream? ii) if there are any hardware devices that will read in a VHS tape or DV tape and output directly to a DVD disc in MPEG4 format? There are inexpensive machines ($700.00) that will do this job going VHS to DVD (MPEG2) but MPEG4 would should optimize space requirements... Again I don't know if there is really that much difference between a hi-res MPEG4 formatted file compared to a high quality MPEG2 Video.... Perhaps they would be about the same and MPEG4's claims to fame in terms of compression only relate to lower quality bitRates. Email me off list if you think this is a bad thread for this forum... Or, not if you think those here would like to also know about this... Then we can keep the discussion out front. Or directly me to a better forum for these questions if you think there is one... Himalayan Academy Publications. 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 Zzyzx at Relia.Net Thu Aug 22 15:24:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Thu Aug 22 15:24:01 2002 Subject: If it equals? References: <88571041-B5FD-11D6-9D34-000A27B49A96@os.surf2000.de> Message-ID: <002401c24a19$9f881a50$1901000a@ZZYZX> Hello, Found out that it is Not searching all of the lines. Here is the script. on mouseup put URL "file:\\ZZYZX\INTERFACE\Names.txt" into fld "NamePass" set the itemdel to TAB put fld "NamePass" into the_file put empty into fld "NamePass" ask "Please enter your Registered Alias" if it is empty then exit mouseup put it into the_user repeat for each line 1 in the_file if item 1 of 1 is the_user then put item 2 of 1 into the_password exit repeat else answer "Sorry, that Name is not in the User Database. Pelase check your spelling" exit mouseup end if end repeat ask password "Please enter your Case Senstive Password" if it is the_password then put "Logged In As: " & the_user into fld "LOG" hide me show btn "LOG OFF" send RateM to this stack enable btn "Games" Play "Welcome.wav" else answer "Sorry, the Entered Password was Incorrect. Pelase try again" & Return & "If you feel this has come to you in Error, Please remember that the Passwords are Case Senstive." end if end mouseup It works. But, it is not searching all of the lines. It only works for the first line. Any ideas how to get it to search all of the lines? - Josh Dye ----- Original Message ----- From: "Klaus Major" To: Sent: Thursday, August 22, 2002 12:32 PM Subject: Re: If it equals? > Hi Josh, > > you terminate the "repeat"-loop at the wrong place if your script is > what you are using. > > > Hello, > > I can't quite get it to work. Here is the script that I have so far. > > > > local the_user > > local the_password > ## declaring these vars as local is not really necessary > ## a var is valid (and thus usable) in a complete handler. > ## in this case from "on mouseup" until "end mouseup" > > > > on mouseup > > set the itemdel to TAB > ### i recommend this > put URL "file:\\ZZYZX\INTERFACE\Names.txt" into the_file > > ask "Who the hell are YOU ???" > > if it is empty then exit mouseup > > put it into the_user > > repeat for each line l in the_file > > if item 1 of l is the_user then > > put item 2 of l into the_password > > exit repeat > > else > > answer "heavy complaining..." > > exit mouseup > > end if > end repeat ## !!! here is the right place to end that loop ;-) > > ask "Please enter more money ehmm your password" > > if it is the_password then > > answer "do_the_right_thing" > > else > > answer "heavy complaining... again" > > end if > > ### end repeat > ## !!! > > end mouseup > > > > The text file reads this so far... > > > > Dr.Zzyzx TAB jOU~f1b. > > Kolok > > > > I can't get it to work. So any problems? > > > > - Josh Dye > > Hope this helps... > > Best > > > Klaus Major > k_major at os.surf2000.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Thu Aug 22 15:25:00 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Aug 22 15:25:00 2002 Subject: OT: Video -- digital archiving In-Reply-To: Message-ID: Recently, "Sivakatirswami" wrote: > If you had 100's of physical video tapes ranging from old VHS (and some PAL) > tapes to high quality recordings on DV tape and your goal was to > > A) digitally archive these where the assumption is that hard drive space > (raid array drives) for processing would not be an issue, but that, of > course, one would eventually have to offload the files to some storage > media. The answer I would offer regarding the above question is this: if you plan to do any editing of the footage in the future, you would do well to store the digital video in uncompressed form. If you compress it, you lose data as you well know. Without access to the original uncompressed video, your editing options may be limited in the future. One of our clients is a medium size post production house. We had another client come to us and ask if it was possible to edit some text out of an MPEG video. The verdict was the post production house could do it but not without visible artifacts in the final resulting MPEG. If you don't know what your future editing needs will be, the most flexible option would be to store your video uncompressed. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From yvescoppe at skynet.be Thu Aug 22 15:27:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Thu Aug 22 15:27:01 2002 Subject: If it equals? In-Reply-To: <00d501c24a17$6d38fdf0$6f00a8c0@mckinley.dom> References: <20020822191113.4386.qmail@web11906.mail.yahoo.com> <00d501c24a17$6d38fdf0$6f00a8c0@mckinley.dom> Message-ID: > >> It's just a bit intimidating to people who see them >> the first time. I remember being amazed and puzzled at >> the same time, until I got a book on perl, and wih a >> little imagination, a lot was revealed :-) > >I know what you mean... I'm thinking of creating a tutorial for regex aimed >at MC/Rev users... > >Ken Ray It would be very nioe for all the scripters of the list. Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From troy at rpsystems.net Thu Aug 22 15:31:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Thu Aug 22 15:31:01 2002 Subject: If it equals? In-Reply-To: <002401c24a19$9f881a50$1901000a@ZZYZX> Message-ID: On Thursday, August 22, 2002, at 04:22 PM, Josh Dye wrote: > Pelase check > your spelling" Ah, yeah, that too. ;-) -- Troy RPSystems, LTD www.rpsystems.net From troy at rpsystems.net Thu Aug 22 15:34:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Thu Aug 22 15:34:01 2002 Subject: OT: Video -- digital archiving In-Reply-To: Message-ID: <4445E3F0-B60E-11D6-A6EA-000393853D6C@rpsystems.net> On Thursday, August 22, 2002, at 04:22 PM, Scott Rossi wrote: > The answer I would offer regarding the above question is this: if you > plan > to do any editing of the footage in the future, you would do well to > store > the digital video in uncompressed form. If you compress it, you lose > data > as you well know. Without access to the original uncompressed video, > your > editing options may be limited in the future. > > One of our clients is a medium size post production house. We had > another > client come to us and ask if it was possible to edit some text out of an > MPEG video. The verdict was the post production house could do it but > not > without visible artifacts in the final resulting MPEG. > > If you don't know what your future editing needs will be, the most > flexible > option would be to store your video uncompressed. I agree with Scott's assessment, although given the source content you described, DV, while compressed at 5:1, would be a good storage format. There is not much point in digitizing VHS to an uncompressed video format - nothing gained but massive uses of hard drive space. -- Troy RPSystems, LTD www.rpsystems.net From jacque at hyperactivesw.com Thu Aug 22 17:47:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Aug 22 17:47:01 2002 Subject: If it equals? References: <200208221935.PAA24115@www.runrev.com> Message-ID: <3D656975.40201@hyperactivesw.com> "Josh Dye" wrote: > repeat for each line 1 in the_file > if item 1 of 1 is the_user then > It works. But, it is not searching all of the lines. It only works for the > first line. Any ideas how to get it to search all of the lines? That's an "el", not a "one". Like this: repeat for each line L in the_file if item 1 of L is the_user then... That's a common misunderstanding on lists where most everybody is using a monospaced font. Els and ones look the same. To be honest, I'm kind of surprised it worked at all. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From drvaughan55 at mac.com Thu Aug 22 20:38:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Thu Aug 22 20:38:01 2002 Subject: Popup menu buttons In-Reply-To: <74BDC0A4-B5E0-11D6-B94B-003065D52E8E@metascape.org> Message-ID: <61E106E2-B61C-11D6-81C6-000393598038@mac.com> On Friday, August 23, 2002, at 01:04 , Klaus Major wrote: > Hi Devin, > >> In HyperCard it is possible to create a Popup style button and to set >> the width for the button name to show alongside the list that pops up. >> When an item is selected from the popup list, it appears in the space >> next to the button name. > > Are you sure ? > > I just found HC in my archives and could not find this feature... >> Klaus, Devin It was a feature of most of the menu externals (e.g. menuPop()) and so often used it might have seemed part of the lanugage. However, I do not think that form of <> is still in fashion. Clicking in one place to see a list pop up somewhere else is no longer the done thing. Rather, on Macs the list is adjusted vertically so the current selection is under the mouse, and Rev handles this directly. regards David > > > 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 Zzyzx at Relia.Net Thu Aug 22 22:02:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Thu Aug 22 22:02:01 2002 Subject: Searching All Lines References: <200208221935.PAA24115@www.runrev.com> <3D656975.40201@hyperactivesw.com> Message-ID: <000d01c24a51$3ffc2210$1901000a@ZZYZX> I made sure that they were "L"s, and it still doesn't work. They were "L"s the whole time. Anyone got any other ideas on how to search all of the lines? - Josh Dye ----- Original Message ----- From: "J. Landman Gay" To: Sent: Thursday, August 22, 2002 4:45 PM Subject: Re: If it equals? > "Josh Dye" wrote: > > > repeat for each line 1 in the_file > > if item 1 of 1 is the_user then > > > It works. But, it is not searching all of the lines. It only works for the > > first line. Any ideas how to get it to search all of the lines? > > That's an "el", not a "one". Like this: > > repeat for each line L in the_file > if item 1 of L is the_user then... > > That's a common misunderstanding on lists where most everybody is using > a monospaced font. Els and ones look the same. > > To be honest, I'm kind of surprised it worked at all. :) > > -- > 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 matt.denton at limelight.com.au Thu Aug 22 22:24:01 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Thu Aug 22 22:24:01 2002 Subject: Rendering Text in Rev and OSX In-Reply-To: <200208221935.PAA24147@www.runrev.com> Message-ID: <83DC2602-B647-11D6-8226-000393924880@limelight.com.au> Hello all, This is a [Q] for the Rev Team: will the next version support the true text rendering in OSX? Apparently there are now hooks for non- cocoa apps to get the correct and proper font imaging. Is this difficult and/or is it coming? Is the pulsing Aqua objects and Drawers on the way too? All of these I'm trying to simulate, with little or no luck. OS 10.2 changes everything (looks even better now!), so I guess its best to let the OS handle it anyway. Just wondering if this is an anticipated upgrade in OSX land, Many thanks M@ Matt Denton From katir at hindu.org Thu Aug 22 22:38:01 2002 From: katir at hindu.org (Sivakatirswami) Date: Thu Aug 22 22:38:01 2002 Subject: OT: Video -- digital archiving Message-ID: on 08-22-2002 10:22 AM, Scott Rossi at scott at tactilemedia.com wrote: > If you don't know what your future editing needs will be, the most flexible > option would be to store your video uncompressed. Thanks Scott...yes, that of course would be ideal. The challenges though are obvious: A) what media is used to store the uncompressed video if not tape? I have a sinking feeling that for the quantities of data we are looking at, were one to save 1000 hours of uncompressed video to a digital format, that removal media of any kind is simply not there yet. I guess one has only to try a few hours and then do the math....what do the "big boys" do? B) how to read/view those files for cataloging... Can Quicktime "see" raw uncompressed video? I.e. Assuming assuming QT can read it, Rev can also and then the issue is time to view on-line to some harddrive on a server over the LAN... C) Troy mentions that DV might suffice for VHS tapes... We are quite ignorant here. One of my young team thinks that "uncompressed video" = DV format. But Troy says it is DV = 5 to 1. What then is the file format for "uncompressed video" if not DV? The goal is to avoid building an expensive environmentally controlled cabinet for the original tapes, and download them all as compressed MPEG's and view them in Rev. but then to go into production would require going back to the physical tapes...what is the industry standard these days for saving and archiving? Physical tapes? Uncompressed Video on what media? Hinduism Today 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 janschenkel at yahoo.com Fri Aug 23 01:14:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Aug 23 01:14:01 2002 Subject: Searching All Lines In-Reply-To: <000d01c24a51$3ffc2210$1901000a@ZZYZX> Message-ID: <20020823061215.5605.qmail@web11903.mail.yahoo.com> Hi Josh, Here's a slight variation on the approach. If you chnge the line format a bit so that it's UserNameEncodedPassword Instead of goin through the entire file, line per line, you can search for the line containing the UserName with : get lineOffset(tab&UserName&tab, the_file) "it" will be 0 if the UserName is not in the file. Otherwise, to obtain the encoded password, use : get item 2 of line it of the_file Hope this helped, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Josh Dye wrote: > I made sure that they were "L"s, and it still > doesn't work. They were "L"s > the whole time. Anyone got any other ideas on how to > search all of the > lines? > > - Josh Dye > > > ----- Original Message ----- > From: "J. Landman Gay" > To: > Sent: Thursday, August 22, 2002 4:45 PM > Subject: Re: If it equals? > > > > "Josh Dye" wrote: > > > > > repeat for each line 1 in the_file > > > if item 1 of 1 is the_user then > > > > > It works. But, it is not searching all of the > lines. It only works for > the > > > first line. Any ideas how to get it to search > all of the lines? > > > > That's an "el", not a "one". Like this: > > > > repeat for each line L in the_file > > if item 1 of L is the_user then... > > > > That's a common misunderstanding on lists where > most everybody is using > > a monospaced font. Els and ones look the same. > > > > To be honest, I'm kind of surprised it worked at > all. :) > > > > -- > > 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 > > _______________________________________________ > 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 shaosean at unitz.ca Fri Aug 23 01:48:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Fri Aug 23 01:48:01 2002 Subject: Searching All Lines References: <20020823061215.5605.qmail@web11903.mail.yahoo.com> Message-ID: <000701c24a70$341d6750$88b15bd1@lanfear> there's also "is among the lines of" ----- Original Message ----- > get lineOffset(tab&UserName&tab, the_file) From klaus.major at metascape.org Fri Aug 23 02:03:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 23 02:03:01 2002 Subject: If it equals? In-Reply-To: <008001c24a10$c39eeda0$6f00a8c0@mckinley.dom> Message-ID: Hi Ken, > Klaus, > >>> Am I the only one that sees these regular expressions as cool? :-) >> >> Let me put it this way: >> You are one of the few persons who know what going on here with >> the regex-thing ;-) >> Anyone to write a understandable introduction to regex ? > > I may just do that... especially with the release of MC 2.4.3 and the > upcoming Rev 1.5 that truly put the full power of regular expressions > into > the hands of us scritpers... :-) > > Ken Ray that's great !!! Thanks in advance, Ken :-) Regards Klaus Major klaus.major at metascape.org From jeanne at runrev.com Fri Aug 23 02:07:00 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Fri Aug 23 02:07:00 2002 Subject: Rendering Text in Rev and OSX In-Reply-To: <83DC2602-B647-11D6-8226-000393924880@limelight.com.au> References: <200208221935.PAA24147@www.runrev.com> Message-ID: At 8:22 PM -0700 8/22/2002, Matt Denton wrote: >will the next version support the true text rendering in OSX? Quartz text rendering will be supported in the next version. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From klaus.major at metascape.org Fri Aug 23 02:11:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 23 02:11:01 2002 Subject: If it equals? In-Reply-To: <002401c24a19$9f881a50$1901000a@ZZYZX> Message-ID: <0187CD29-B667-11D6-8A27-003065D52E8E@metascape.org> Hi Josh, looks like that was not our day ;-) > Hello, > Found out that it is Not searching all of the lines. Here is the > script. > > on mouseup > put URL "file:\\ZZYZX\INTERFACE\Names.txt" into fld "NamePass" > set the itemdel to TAB > put fld "NamePass" into the_file > put empty into fld "NamePass" > ask "Please enter your Registered Alias" > if it is empty then exit mouseup > put it into the_user > repeat for each line l in the_file > if item 1 of l is the_user then > put item 2 of 1 into the_password > exit repeat ### else ### answer "Sorry, that Name is not in the User Database. Pelase check ###your spelling" ### exit mouseup ### end if ## > end repeat ## now add this: if the_password is empty then ## no user no password answer "yaddayadda" exit mouseup end if > ask password "Please enter your Case Senstive Password" > if it is the_password then > put "Logged In As: " & the_user into fld "LOG" > hide me > show btn "LOG OFF" > send RateM to this stack > enable btn "Games" > Play "Welcome.wav" > else > answer "Sorry, the Entered Password was Incorrect. Pelase try > again" & > Return & "If you feel this has come to you in Error, Please remember > that > the Passwords are Case Senstive." > end if > end mouseup > > It works. But, it is not searching all of the lines. It only works for > the > first line. Any ideas how to get it to search all of the lines? > > - Josh Dye hope (for me) THIS will work for you ;-) Best Klaus Major klaus.major at metascape.org From klaus.major at metascape.org Fri Aug 23 02:25:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 23 02:25:01 2002 Subject: If it equals? In-Reply-To: <000b01c24a0e$67be0860$1901000a@ZZYZX> Message-ID: Hi Josh, > Thanks a lot! Now I have two more things I want to add! :-) > > 1. There are certain levels of Access that the User can have. It is the > same > as the Rating for Games. Everyone, Teen, and Mature. What I was > thinking of > just having it be the Third Item, as just 'E', 'T', or 'M'. I don't > know how > to get the script to recognize what it is, and made the adjustments > according to their User Level. Any ideas on how to do this? add this to the script: .... repeat for each line l in the_file if item 1 of l is the_user then put item 2 of l into the_password put item 3 of l into userlevel exit repeat ... and then after asking the password you do something with the userlevel... > 2. This one is easy. ;-) > But I'm not sure what exact thing to do. :-) > I just want to > add new Users to the User Database Text File. What is the code to go to > the > last line of the Text File? ... put CR & "new user" & TAB & "new pwd" & TAB "new userlevel" after url"file:\\ZZYZX\INTERFACE\Names.txt" ... That's all. > Thanks! > > - Josh Dye Regards Klaus Major klaus.major at metascape.org From klaus.major at metascape.org Fri Aug 23 02:38:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 23 02:38:01 2002 Subject: If it equals? In-Reply-To: Message-ID: Hi Trevor, > >> as usual, a repeat loop with "for each" will be incredibly faster. >> > > Thanks for the tip Klaus. I am still figuring out the optimal way to > handle things in the Revolution environment so tips like this are > greatly appreciated. You're welcome. But keep in mind that "for each" is just a "read only" thing. Something i always forget, resulting in this funny sound "splat" when your hand hits your forehead :-D ??? That means that you cannot do something like: ... put fld 1 into the_field repeat for each line EL in the_field if item 1 of EL is "xxx" then delete item 1 of EL end repeat put the_field into fld 1 ... does not work :-( You have to script something like this instead: ... put fld 1 into the_field repeat for each line EL in the_field if item 1 of EL is "xxx" then put item 2 to -1 of EL & CR after EM end repeat dlete char -1 of EM ## strip the last CR put EM into fld 1 ... I hope you get the picture... This is still insanely fast ;-) My experience: More than 5000 loooong lines with lots of conditions (more than the simple "if...then" in the above example) were processed in less than a second. Love that :-) > Trevor DeVore Regards Klaus Major klaus.major at metascape.org From malte.brill at t-online.de Fri Aug 23 02:42:01 2002 From: malte.brill at t-online.de (malte brill) Date: Fri Aug 23 02:42:01 2002 Subject: OT: Video -- digital archiving Message-ID: Hello Sivakatirswami, in my job I deal a lot with digital Video (hundrets of hours of videofootage) I edit with final cut, (importing DV Streams directly from tape). These streams are compressed by a hardware component (in my case a digital cam) in a 5:1 ratio, when playing back to the cam it decompresses the material and sends it to a tv-set. When I need the material for use on computers I create mpeg1 files (and am just giving Mpeg4 a try, wich implemented in QT6 seems promissing) I store the videofootage (DV) on tape, save my Projekt settings, and all other relevant data to a CD-R. Storing uncompressed video to the HD is only possible, if you have a videocard and the software you need to grab it directly. In Quicktime you would have to set the codec to none. If you grab via Firewire, you need to use the DV codec. Storing an uncompressed file, created from your DV-footage,would incredebly increase the amount of data you have to deal with, but the quality would only improve slightly. And it would take hours of rendering time. I guess storage on tape is the cheapest way, even though storage of the footage on external HDs would be more enjoyable. (Using a firewire bridge and buying a harddisc for each project for fast changes on it, leaving the tapes as backups. Have a nice day. Malte From klaus.major at metascape.org Fri Aug 23 02:49:00 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 23 02:49:00 2002 Subject: Popup menu buttons In-Reply-To: Message-ID: <677CEA05-B66C-11D6-8A27-003065D52E8E@metascape.org> Hi Devin, > In a moment of cluelessness I wrote: >> >> In HyperCard it is possible to create a Popup style button and to set >> the width for the button name to show alongside the list that pops >> up. When an item is selected from the popup list, it appears in the >> space next to the button name. Can you do the same thing with one of >> Rev's menu style buttons? I have looked at them all, but can't see >> one that lets you show the button's name along with the selected line >> of the button, something like this: >> >> Choose Color: > | Yellow >> >> Does Rev not allow this, or am I missing something? >> >> Devin > > Okay, I found it. In HC you could create a popup style button, then in > edit mode you could grab the left edge of the button and drag toward > the center. This would create a title area on the left side of the > button that displayed the button name. > > In Rev there is no such analogous trick, but it does support the > titleWidth property (same as in HC, but I always just used the dragging > trick). If you set the titleWidth to > 0 the same magic title area will > appear on the left side of the button. This shows the NAME of the > button as the title, not the label. The showName property has to be set > to true for this to work. > > Devin WOW, i just played around with it. Cool feature... What other (not so obvious) features might MC/RR have ready for us... ;-) Thanks. Regards Klaus Major klaus.major at metascape.org P.S. Sorry for my premature statement that it cannot be done right out of the box :-( From simran at teleline.es Fri Aug 23 06:32:01 2002 From: simran at teleline.es (Peter Lundh) Date: Fri Aug 23 06:32:01 2002 Subject: Switching between images... Message-ID: Hi all- Could someone please recommend a simple way to switch between two versions of the same image. The images are stacked on top of each other on a card and I would like the user to be able to toggle/switch between the two by either, clicking on them, or by doing a "mouseOver"/"rollover". Many thanks in advance -Peter -- Peter Lundh Sweden E: simran at teleline.es From klaus.major at metascape.org Fri Aug 23 06:39:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 23 06:39:01 2002 Subject: Switching between images... In-Reply-To: Message-ID: <69CA21DA-B68C-11D6-8A27-003065D52E8E@metascape.org> Hi Peter, > Hi all- > > Could someone please recommend a simple way to switch between two > versions > of the same image. The images are stacked on top of each other on a > card and > I would like the user to be able to toggle/switch between the two by > either, > clicking on them, or by doing a "mouseOver"/"rollover". > > Many thanks in advance > > -Peter a button affords less scripting ;-) Try this for btn "On/Off" :-) on mouseup set the visible of img "the image on top" to (not the visible of img "the image on top") end mouseup Any other case will require more scripting... Drop a line if you need another script. Please specify your exact demands in that case ;-) Regards Klaus Major klaus.major at metascape.org From kenl34 at earthlink.net Fri Aug 23 06:41:00 2002 From: kenl34 at earthlink.net (Ken Lipscomb) Date: Fri Aug 23 06:41:00 2002 Subject: OT: Video -- digital archiving In-Reply-To: <4445E3F0-B60E-11D6-A6EA-000393853D6C@rpsystems.net> Message-ID: <000001c24a99$a4de02a0$6501a8c0@vaio> I agree with Troy and Scott. One of the largest Media companies in the world, located in Atlanta, has a similar project that is well under way. All old footage is digitized and stored on HDD and Digital Tape for remote access from various sources. From the uncompressed data, they can transcode into any format that is needed for production or just simply web viewing. I hope that this helps. Cheers, Ken -----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, August 22, 2002 4:32 PM To: use-revolution at lists.runrev.com Subject: Re: OT: Video -- digital archiving On Thursday, August 22, 2002, at 04:22 PM, Scott Rossi wrote: > The answer I would offer regarding the above question is this: if you > plan > to do any editing of the footage in the future, you would do well to > store > the digital video in uncompressed form. If you compress it, you lose > data > as you well know. Without access to the original uncompressed video, > your > editing options may be limited in the future. > > One of our clients is a medium size post production house. We had > another > client come to us and ask if it was possible to edit some text out of an > MPEG video. The verdict was the post production house could do it but > not > without visible artifacts in the final resulting MPEG. > > If you don't know what your future editing needs will be, the most > flexible > option would be to store your video uncompressed. I agree with Scott's assessment, although given the source content you described, DV, while compressed at 5:1, would be a good storage format. There is not much point in digitizing VHS to an uncompressed video format - nothing gained but massive uses of hard drive space. -- 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 klaus.major at metascape.org Fri Aug 23 06:43:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 23 06:43:01 2002 Subject: Switching between images... In-Reply-To: Message-ID: Hi Peter, > Hi all- > > Could someone please recommend a simple way to switch between two > versions > of the same image. The images are stacked on top of each other on a > card and > I would like the user to be able to toggle/switch between the two by > either, > clicking on them, or by doing a "mouseOver"/"rollover". > > Many thanks in advance > > -Peter sorry, i did not read your mail carefully enough. Do this: 1. script of the image on top: on mouseenter hide me end mouseenter OR: on mouseup hide me end mouseup 2. script of the image below: on mouseleave show img "the image on top" end mouseleave Hope that helps... Best Klaus Major klaus.major at metascape.org From kenl34 at earthlink.net Fri Aug 23 06:50:01 2002 From: kenl34 at earthlink.net (Ken Lipscomb) Date: Fri Aug 23 06:50:01 2002 Subject: Video -- digital archiving In-Reply-To: Message-ID: <000501c24a9a$d4929370$6501a8c0@vaio> The ideal way, one that is working today, is to digitize at D2 quality. Have a hybrid automated online tape library combined with an online HDD raid jukebox. Encode in hardware on the front end and decode/transcode in software on the backend. If this is a funded project, the methodologies are readily availale. Ken -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of malte brill Sent: Friday, August 23, 2002 4:41 AM To: use-revolution at lists.runrev.com Subject: OT: Video -- digital archiving Hello Sivakatirswami, in my job I deal a lot with digital Video (hundrets of hours of videofootage) I edit with final cut, (importing DV Streams directly from tape). These streams are compressed by a hardware component (in my case a digital cam) in a 5:1 ratio, when playing back to the cam it decompresses the material and sends it to a tv-set. When I need the material for use on computers I create mpeg1 files (and am just giving Mpeg4 a try, wich implemented in QT6 seems promissing) I store the videofootage (DV) on tape, save my Projekt settings, and all other relevant data to a CD-R. Storing uncompressed video to the HD is only possible, if you have a videocard and the software you need to grab it directly. In Quicktime you would have to set the codec to none. If you grab via Firewire, you need to use the DV codec. Storing an uncompressed file, created from your DV-footage,would incredebly increase the amount of data you have to deal with, but the quality would only improve slightly. And it would take hours of rendering time. I guess storage on tape is the cheapest way, even though storage of the footage on external HDs would be more enjoyable. (Using a firewire bridge and buying a harddisc for each project for fast changes on it, leaving the tapes as backups. Have a nice day. Malte _______________________________________________ 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 Aug 23 06:50:23 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 23 06:50:23 2002 Subject: Switching between images... In-Reply-To: Message-ID: <0AD883FE-B68E-11D6-8A27-003065D52E8E@metascape.org> Hi Peter, > Hi Peter, > >> Hi all- >> >> Could someone please recommend a simple way to switch between two >> versions >> of the same image. The images are stacked on top of each other on a >> card and >> I would like the user to be able to toggle/switch between the two by >> either, >> clicking on them, or by doing a "mouseOver"/"rollover". >> >> Many thanks in advance >> >> -Peter > > sorry, i did not read your mail carefully enough. > > Do this: > > 1. script of the image on top: > > on mouseenter > hide me > end mouseenter > > OR: > > on mouseup > hide me > end mouseup > > 2. script of the image below: > > on mouseleave > show img "the image on top" > end mouseleave OR on mouseup show img "the image on top" end mouseup Sorry, i am trying to concentrate on too many things at the same time in the moment :-) Regards Klaus Major klaus.major at metascape.org From klaus.major at metascape.org Fri Aug 23 06:56:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 23 06:56:01 2002 Subject: Video -- digital archiving In-Reply-To: <000501c24a9a$d4929370$6501a8c0@vaio> Message-ID: Hi all, > The ideal way, one that is working today, is to digitize at D2 quality. > Have a hybrid automated online tape library combined with an online HDD > raid jukebox. Encode in hardware on the front end and decode/transcode > in software on the backend. If this is a funded project, the > methodologies are readily availale. > > Ken this may afford a bit more than the usual 2 cents... (Sorry, i couldn't resist ;-) Have a nice weekend Klaus Major klaus.major at metascape.org From troy at rpsystems.net Fri Aug 23 08:57:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Aug 23 08:57:01 2002 Subject: Video -- digital archiving In-Reply-To: <000501c24a9a$d4929370$6501a8c0@vaio> Message-ID: On Friday, August 23, 2002, at 07:47 AM, Ken Lipscomb wrote: > The ideal way, one that is working today, is to digitize at D2 quality. > Have a hybrid automated online tape library combined with an online HDD > raid jukebox. Encode in hardware on the front end and decode/transcode > in software on the backend. If this is a funded project, the > methodologies are readily availale. This is all true, but as far as I saw, the original footage was DV quality at best. I heard no mention of BetaSP, D1, or D2 footage in its source state. Since that is the case, there is nothing at all lost by storing footage in DV format, and a lot of space gained. DV is in fact compressed at 5:1, using discreet frame constant bit-rate compression. It makes it an excellent choice for future editing for video or web use. There is also a product on the market, I believe the name is CatDV (shareware) which will catalog DV tapes, and allow indexing, keywording, search and retrieval of footage. This makes it practical to use actual DV tape as the storage medium, and then use automated machine control for retrieval and digitization of content required for a specific project. The purpose here is that DV tape is a fraction of the cost of hard disk space as well as maintenance free. Because of the frame accurate machine control, DV can be considered a digital archiving format. -- Troy RPSystems, LTD www.rpsystems.net From sims at ezpzapps.com Fri Aug 23 09:00:01 2002 From: sims at ezpzapps.com (sims) Date: Fri Aug 23 09:00:01 2002 Subject: sms email & rev In-Reply-To: References: Message-ID: I'm testing a method of sending sms messages with Rev through email. If you want to give it a try and will email me your country code & phone number so I can try to send an sms to you (you email back to me if you receive it), please email me off-list at: sims at ezpzapps.com Thanks sims ----------- To test you must have a service with one of the following: Germany E-Plus Mannesman D2 USA Ameritech Cellular services Cellular One Cingular Comcast Cellular Communications Voicestream Wireless Corp. Canada Mobiltel Bell Mobility Clearnet Rogers AT&T Wireless From kenl34 at earthlink.net Fri Aug 23 09:46:00 2002 From: kenl34 at earthlink.net (Ken Lipscomb) Date: Fri Aug 23 09:46:00 2002 Subject: Video -- digital archiving In-Reply-To: Message-ID: <000001c24ab3$8bd97180$6501a8c0@vaio> Agreed. This is a good way to go when the data is already digital. If one was planning to replace all of the old film footage of the hollywood studios, then the D2 approach might be better. A basic system to accomplish this should be easy to construct. Ken -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Troy Rollins Sent: Friday, August 23, 2002 9:55 AM To: use-revolution at lists.runrev.com Subject: Re: Video -- digital archiving On Friday, August 23, 2002, at 07:47 AM, Ken Lipscomb wrote: > The ideal way, one that is working today, is to digitize at D2 > quality. Have a hybrid automated online tape library combined with an > online HDD raid jukebox. Encode in hardware on the front end and > decode/transcode in software on the backend. If this is a funded > project, the methodologies are readily availale. This is all true, but as far as I saw, the original footage was DV quality at best. I heard no mention of BetaSP, D1, or D2 footage in its source state. Since that is the case, there is nothing at all lost by storing footage in DV format, and a lot of space gained. DV is in fact compressed at 5:1, using discreet frame constant bit-rate compression. It makes it an excellent choice for future editing for video or web use. There is also a product on the market, I believe the name is CatDV (shareware) which will catalog DV tapes, and allow indexing, keywording, search and retrieval of footage. This makes it practical to use actual DV tape as the storage medium, and then use automated machine control for retrieval and digitization of content required for a specific project. The purpose here is that DV tape is a fraction of the cost of hard disk space as well as maintenance free. Because of the frame accurate machine control, DV can be considered a digital archiving format. -- 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 Fri Aug 23 10:33:02 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Aug 23 10:33:02 2002 Subject: Video -- digital archiving In-Reply-To: <000001c24ab3$8bd97180$6501a8c0@vaio> Message-ID: <6280FEE4-B6AD-11D6-A41A-000393853D6C@rpsystems.net> On Friday, August 23, 2002, at 10:44 AM, Ken Lipscomb wrote: > Agreed. This is a good way to go when the data is already digital. If > one was planning to replace all of the old film footage of the hollywood > studios, then the D2 approach might be better. A basic system to > accomplish this should be easy to construct. Right Ken. I totally agree on the use of D2 for film archival. As you are aware, my point was that when the source footage is VHS, and DV to begin with... well archiving VHS to D2 is rather like storing old newspapers in a gold box. It works, but the value of the newspaper doesn't improve any - just the cost of the storage. ;-) I think a lot of good advise came from this list. Quite a versatile collection of knowledge here. -- Troy RPSystems, LTD www.rpsystems.net From kenl34 at earthlink.net Fri Aug 23 10:52:01 2002 From: kenl34 at earthlink.net (Ken Lipscomb) Date: Fri Aug 23 10:52:01 2002 Subject: Video -- digital archiving In-Reply-To: <6280FEE4-B6AD-11D6-A41A-000393853D6C@rpsystems.net> Message-ID: <000201c24abc$bd226450$6501a8c0@vaio> Agreed Troy. Cheers, Ken -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Troy Rollins Sent: Friday, August 23, 2002 11:31 AM To: use-revolution at lists.runrev.com Subject: Re: Video -- digital archiving On Friday, August 23, 2002, at 10:44 AM, Ken Lipscomb wrote: > Agreed. This is a good way to go when the data is already digital. > If one was planning to replace all of the old film footage of the > hollywood studios, then the D2 approach might be better. A basic > system to accomplish this should be easy to construct. Right Ken. I totally agree on the use of D2 for film archival. As you are aware, my point was that when the source footage is VHS, and DV to begin with... well archiving VHS to D2 is rather like storing old newspapers in a gold box. It works, but the value of the newspaper doesn't improve any - just the cost of the storage. ;-) I think a lot of good advise came from this list. Quite a versatile collection of knowledge here. -- 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 jeanne at runrev.com Fri Aug 23 10:57:00 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Fri Aug 23 10:57:00 2002 Subject: Switching between images... In-Reply-To: Message-ID: At 4:30 AM -0700 8/23/2002, Peter Lundh wrote: >Could someone please recommend a simple way to switch between two versions >of the same image. The images are stacked on top of each other on a card and >I would like the user to be able to toggle/switch between the two by either, >clicking on them, or by doing a "mouseOver"/"rollover". Klaus has made some suggestions that assume you have the two images both visible. One alternative that's often handy is to use a button instead of an image, and set the button's icon property to the ID of the image you want to use. Since an icon can be any image of any size, you can use it for things other than conventional icons. And since only one object (the button) is actually shown, it's a little more convenient if you have to move the image on the card (no need to worry about moving both image objects, just move the button). Here you might create/import the two versions of the image, and either hide them or place them in a substack. Get their IDs (let's say they're 2001 and 2002). Then create a blank button of the correct size, and put this in the button script: on mouseUp -- switch from one image to the other if the ID of me is 2001 then set the ID of me to 2002 else set the ID of me to 2001 end mouseUp or else on mouseEnter set the icon of me to 2002 -- the "rollover" image end mouseEnter on mouseLeave set the icon of me to 2001 -- the "default" image end mouseLeave -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From klaus.major at metascape.org Fri Aug 23 11:14:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 23 11:14:01 2002 Subject: Switching between images... In-Reply-To: Message-ID: Hi Peter, > At 4:30 AM -0700 8/23/2002, Peter Lundh wrote: >> Could someone please recommend a simple way to switch between two >> versions >> of the same image. The images are stacked on top of each other on a >> card and >> I would like the user to be able to toggle/switch between the two by >> either, >> clicking on them, or by doing a "mouseOver"/"rollover". > > Klaus has made some suggestions that assume you have the two images both > visible. > > One alternative that's often handy is to use a button instead of an > image, > and set the button's icon property to the ID of the image you want to > use. > Since an icon can be any image of any size, you can use it for things > other > than conventional icons. And since only one object (the button) is > actually > shown, it's a little more convenient if you have to move the image on > the > card (no need to worry about moving both image objects, just move the > button). > > Here you might create/import the two versions of the image, and either > hide > them or place them in a substack. Get their IDs (let's say they're 2001 > and > 2002). Then create a blank button of the correct size, and put this in > the > button script: > > on mouseUp -- switch from one image to the other > if the ID of me is 2001 then set the ID of me to 2002 > else set the ID of me to 2001 > end mouseUp in this case you can have it even shorter (said the big TIMESAVER ;-) without any if...then...else... Just set the icon of the btn to the id of the first image and the hiliteicon of the button to the id of the other image. Then script: on mouseup set the hilite of me to (not the hilite of me) end mouseup or on mouseenter set the hilite of me to (not the hilite of me) end mouseenter and other variations... You get the picture... So you just need one line. If the images are not TOO big (screensize maybe) the performance will be as fast as ever :-) Regards (timesaving) Klaus Major klaus.major at metascape.org From rfarnold at bu.edu Fri Aug 23 11:49:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Fri Aug 23 11:49:01 2002 Subject: Subject: Re: OT: Video -- digital archiving Message-ID: Regarding Sivakatirswami's questions below: > Message: 5 > Date: Thu, 22 Aug 2002 17:36:38 -1000 > Subject: Re: OT: Video -- digital archiving > From: Sivakatirswami > To: "use-revolution at lists.runrev.com" > Reply-To: use-revolution at lists.runrev.com > > > A) what media is used to store the uncompressed video if not tape? I have a > sinking feeling that for the quantities of data we are looking at, were one > to save 1000 hours of uncompressed video to a digital format, that removal > media of any kind is simply not there yet. I guess one has only to try a few > hours and then do the math....what do the "big boys" do? As far as I know, best storage option presently is backed-up digital video tape (digi-Beta). As you note, optical devices have insufficient capacity and hard drive mechanisms will probably not last as long as the data on the tape, assuming the tape is stored properly. Film, of course, is still a preferable medium for long-term storage. > B) how to read/view those files for cataloging... Can Quicktime "see" raw > uncompressed video? I.e. Assuming assuming QT can read it, Rev can also and > then the issue is time to view on-line to some harddrive on a server over > the LAN... As most uncompressed non-linear editing systems are QT based, it must be able to, although specialized codecs may have to be supplied with the capture card. > C) Troy mentions that DV might suffice for VHS tapes... We are quite > ignorant here. One of my young team thinks that "uncompressed video" = DV > format. But Troy says it is DV = 5 to 1. DV is 4:1:1 which roughly translates to 5 to 1. Although a source of argument, it is roughly equivalent to analog BetaSP, far superior to VHS, but fine as a storage medium for VHS output -- note however that DV does NOT re-compress well, so it is NOT ideal for DVD distribution or upsampling to HD, and VHS may not have much of a future. Any 4:2:2 (3:1) compression format, such as JVC's D-9 (formerly known as Digital-S) and Panasonic's? DVCPRO50, are considerably better, and more suitable to upsampling to HD and down to DVD. Ideal, but much more expensive, is Ditial BetaCam (2:1). For a lot of useful info about DV and other digital video formats, go to: http://www.adamwilt.com/DV.html > What then is the file format for "uncompressed video" if not DV? D-5 (10-bit uncompressed component digital) D-1 (8-bit uncompressed component digital) D-2 and D-3 (uncompressed composite digital, much poorer quality, but if the original video was composite (VHS or 3/4") no difference.) > The goal is to avoid building an expensive environmentally controlled > cabinet for the original tapes, and download them all as compressed MPEG's > and view them in Rev. but then to go into production would require going > back to the physical tapes...what is the industry standard these days for > saving and archiving? Physical tapes? Uncompressed Video on what media? As far as I know, most archives (where long-term storage is the first goal) use digi-Beta tapes, everything duplicated and stored in temperature and humidity controlled environments. One, of course, should always store the original tapes, whatever format. I hope this helps. > Hinduism Today > > 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 > -- 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 dan at danshafer.com Fri Aug 23 12:52:00 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Aug 23 12:52:00 2002 Subject: Some Stacks Won't Open in Finder in OS X? Message-ID: I've just encountered something that seems strange to me. I downloaded the DB Samples a few days ago and was messing around with them this morning. I can double-click the stack in Finder and it opens and runs and things are fine. So I want to look at the underlying code and see what's going on. I open Rev, navigate to the folder where the stack is and it's dimmed out, not able to be opened from within Rev. Neither DB sample is accessible. So I figure well maybe they're read-only or something (though Finder Get Info doesn't indicate that). So I try to open revexample.rev in the Plugins folder. Same story. All of the stacks I've made work fine. All of the stacks in the components folder and sub-folders work fine. So what's the story here? What do I not understand? -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 BradAllen at mac.com Fri Aug 23 13:20:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Fri Aug 23 13:20:01 2002 Subject: running facelessly under Windows Message-ID: At 10:00 PM +0000 4/15/02, Kevin Miller wrote: >Revolution complies native, double-clickable single-file executables for >Mac, Mac OS X, Windows, Linux, Linux PPC, and all popular breeds of Unix, >including Solaris, BSD and more. It can also run facelessly on all >platforms except Mac OS 9, allowing you to do background tasks such as >server side CGI processing. Our RegEx engine is has been integrated since >version 1.0. Will running "facelessly" allow me to use the Shell function without the DOS command line window appearing? I'm using the Shell function to launch a batch file which takes awhile to run, and I don't want the user to see it. Thanks! From tony.moller at drcs.com Fri Aug 23 13:20:20 2002 From: tony.moller at drcs.com (Tony Moller) Date: Fri Aug 23 13:20:20 2002 Subject: execution order of stacks Message-ID: Can someone explain the execution order of stacks, substacks, preopenstack, and openstack to me; cause what I think should work is not. When opening a rev file, which consists of a main stack, and three substacks, what/which executes first? I know the preopenstack happens before the openstack, but what if the substacks have a preopenstack in them too? Here's the structure: mainstack (where the user will spend most of their time) substack (splash screen) substack (palette) substack (preferences) What I want to happen is the splash screen show for x seconds, then close. Then the mainstack and palette substack should open. Prefs substack should be open (accessible) but hidden. What's happening is the splash screen opens, along with the palette. Everything else seems to behave as it should. So, what commands need to be put where to execute in the order I would like? As always, thanks for the advice!! Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From scott at tactilemedia.com Fri Aug 23 13:28:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Aug 23 13:28:01 2002 Subject: running facelessly under Windows In-Reply-To: Message-ID: > Will running "facelessly" allow me to use the Shell function without > the DOS command line window appearing? I'm using the Shell function > to launch a batch file which takes awhile to run, and I don't want > the user to see it. Try: set the hideConsoleWindows to true Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Fri Aug 23 14:10:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 23 14:10:01 2002 Subject: execution order of stacks In-Reply-To: Message-ID: Tony Moller wrote: > Can someone explain the execution order of stacks, substacks, preopenstack, > and openstack to me; cause what I think should work is not. > > When opening a rev file, which consists of a main stack, and three > substacks, what/which executes first? I know the preopenstack happens before > the openstack, but what if the substacks have a preopenstack in them too? > > Here's the structure: > > mainstack (where the user will spend most of their time) > substack (splash screen) > substack (palette) > substack (preferences) The first card of the mainstack rec's the preOpenStack message first when the stack file is opened. Other stacks get the preOpenStack wheever your scripts open them. Note that the mainstack's script is available to all substacks, meaning a passed or unhandled pre/openStack message rec'd by an opening substack will trigger the mainstack's handler. If this is undesirable, you can either put an if statement in the mainstack's preOpenStack handler like: on preOpenStack if the short name of this stack <> "NameOfMainStack" then pass prepenStack else -- do stuff end if pass preOpenStack end preOpenStack ...or put the mainstack's preOpenStack handler in the script of the first cd. > What I want to happen is the splash screen show for x seconds, then close. > Then the mainstack and palette substack should open. Prefs substack should > be open (accessible) but hidden. What's happening is the splash screen > opens, along with the palette. Everything else seems to behave as it should. > So, what commands need to be put where to execute in the order I would like? Here's one way -- this would be in the mainstack script: on preOpenStack if the short name of this stack <> "NameOfMainStack" then pass prepenStack else InitApp end if pass preOpenStack end preOpenStack on InitApp toplevel "splash" send "CloseSplash" to me in 4 seconds open invisible stack "Prefs" palette "MyPaletteWindow" -- do other initialization stuff end InitApp on CloseSplash close stack "splash" end CloseSplash PS: Why do you need the Prefs stack open invisibly? Remember that you can access objects and properties of stacks without explicitely opening them. Accessing parts of a stack does cause the file to be read into memory, but it is not officially open per se and so you don't need to worry about hiding 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 Zzyzx at Relia.Net Fri Aug 23 14:42:00 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Fri Aug 23 14:42:00 2002 Subject: running facelessly under Windows References: Message-ID: <003501c24adc$df0718c0$1901000a@ZZYZX> Scott, I set it to True, and I still see the .bat file running. I still see the DOS Prompt opening, until the game opens. Is there any other things such as making the Stack Always On Top, or something of that sort that might help me and Brad out? All the best. - Josh Dye ----- Original Message ----- From: "Scott Rossi" To: Sent: Friday, August 23, 2002 12:25 PM Subject: Re: running facelessly under Windows > > Will running "facelessly" allow me to use the Shell function without > > the DOS command line window appearing? I'm using the Shell function > > to launch a batch file which takes awhile to run, and I don't want > > the user to see it. > > Try: set the hideConsoleWindows to true > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From tony.moller at drcs.com Fri Aug 23 15:07:00 2002 From: tony.moller at drcs.com (Tony Moller) Date: Fri Aug 23 15:07:00 2002 Subject: execution order of stacks In-Reply-To: Message-ID: on 8/23/02 2:44 PM, Richard Gaskin at ambassador at fourthworld.com wrote: > PS: Why do you need the Prefs stack open invisibly? Remember that you can > access objects and properties of stacks without explicitely opening them. > Accessing parts of a stack does cause the file to be read into memory, but > it is not officially open per se and so you don't need to worry about hiding > it. Richard, This helps a lot. Thanks for the explanation. I'll work on it tonight and let you know how it goes. As for opening the prefs substack in a hidden mode, I thought you had to do that to make it available. At least that?s the only way I could get it to work, but I'll see how it goes once I get all the open/preopen stack handlers cleaned up. Tony ------------------------------------ Tony Moller - Network Admin DRCS 6849 Old Dominion Drive - Suite 320 McLean, VA 22101 Tel: 703-749-3118 Fax: 703-749-0967 Pgr: 703-719-5324 <7037195324 at my2way.com> From dan at clearvisiontech.com Fri Aug 23 15:14:01 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri Aug 23 15:14:01 2002 Subject: Rev and Databases Message-ID: Fellow RR users, I read back through this list and can see that many of you are using the database functions in RR quite successfully... How did you get any of it to work?!?!? I downloaded the "DB Examples" from the User Contributions, but all I get is: ? There was an Execution Error at 12:48:14 PM Error description: Function: error in function handler Object: stack "/Macintosh HD/Desktop Folder/DB Examples/Translator/translator.rev" -------------------- put revdb_query(gtranconnectionid, thesql) into tcursor -------------------- Value: revdb_query Am I required to install something first? Delete something? Stand on my head? Write a check? -- If so, how would I know? Is there anywhere in the docs that *really* explains the databases... Not just the function calls? I went to the "Database Manager" and followed the help there... but that wasn't any help. Any advise would surly be helpful. Thanks, Dan From dsc at swcp.com Fri Aug 23 15:17:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 23 15:17:01 2002 Subject: running facelessly under Windows In-Reply-To: <003501c24adc$df0718c0$1901000a@ZZYZX> Message-ID: On Friday, August 23, 2002, at 01:40 PM, Josh Dye wrote: > I set it to True, and I still see the .bat file running. I > still see the > DOS Prompt opening, until the game opens. This works for my open process code. I think I have seen it work with shell. Could you have misspelled the property name? Dar Scott From kray at sonsothunder.com Fri Aug 23 15:29:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 23 15:29:01 2002 Subject: Some Stacks Won't Open in Finder in OS X? References: Message-ID: <003601c24ae2$effced70$6f00a8c0@mckinley.dom> Dan, I have encountered that as well, and when I checked the type code in ResEdit, everything looked just fine. I think it might be a bug in 10.1.5; I'm on 10.2 (a pre-release build), and I haven't encountered this problem yet. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Dan Shafer" To: Sent: Friday, August 23, 2002 12:51 PM Subject: Some Stacks Won't Open in Finder in OS X? > I've just encountered something that seems strange to me. > > I downloaded the DB Samples a few days ago and was messing around > with them this morning. I can double-click the stack in Finder and it > opens and runs and things are fine. So I want to look at the > underlying code and see what's going on. I open Rev, navigate to the > folder where the stack is and it's dimmed out, not able to be opened > from within Rev. Neither DB sample is accessible. > > So I figure well maybe they're read-only or something (though Finder > Get Info doesn't indicate that). So I try to open revexample.rev in > the Plugins folder. Same story. All of the stacks I've made work > fine. All of the stacks in the components folder and sub-folders work > fine. > > So what's the story here? What do I not understand? > -- > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 kray at sonsothunder.com Fri Aug 23 15:30:02 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 23 15:30:02 2002 Subject: running facelessly under Windows References: <003501c24adc$df0718c0$1901000a@ZZYZX> Message-ID: <004101c24ae3$2034d480$6f00a8c0@mckinley.dom> Josh, you shouldn't see anything... are you calling this *before* your 'shell' command, as in: set the hideConsoleWindows to true get shell("mybatch.bat") ?? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Josh Dye" To: Sent: Friday, August 23, 2002 2:40 PM Subject: Re: running facelessly under Windows > Scott, > I set it to True, and I still see the .bat file running. I still see the > DOS Prompt opening, until the game opens. Is there any other things such as > making the Stack Always On Top, or something of that sort that might help me > and Brad out? > > All the best. > > - Josh Dye > > > ----- Original Message ----- > From: "Scott Rossi" > To: > Sent: Friday, August 23, 2002 12:25 PM > Subject: Re: running facelessly under Windows > > > > > Will running "facelessly" allow me to use the Shell function without > > > the DOS command line window appearing? I'm using the Shell function > > > to launch a batch file which takes awhile to run, and I don't want > > > the user to see it. > > > > Try: set the hideConsoleWindows to true > > > > Regards, > > > > Scott Rossi > > Creative Director > > Tactile Media, Multimedia & Design > > ----- > > E: scott at tactilemedia.com > > W: http://www.tactilemedia.com > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > 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 kray at sonsothunder.com Fri Aug 23 15:35:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 23 15:35:01 2002 Subject: Switching between images... References: Message-ID: <005001c24ae3$ca2acf30$6f00a8c0@mckinley.dom> Guys, guys... don't forget that Rev automatically senses for the rollover when you set the "autoarm" to true. So set the 'icon' of the button to the first image, the 'armedicon' of the button to the second image, turn the autoarm on, and there's no script to write! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Klaus Major" To: Sent: Friday, August 23, 2002 11:10 AM Subject: Re: Switching between images... > Hi Peter, > > > At 4:30 AM -0700 8/23/2002, Peter Lundh wrote: > >> Could someone please recommend a simple way to switch between two > >> versions > >> of the same image. The images are stacked on top of each other on a > >> card and > >> I would like the user to be able to toggle/switch between the two by > >> either, > >> clicking on them, or by doing a "mouseOver"/"rollover". > > > > Klaus has made some suggestions that assume you have the two images both > > visible. > > > > One alternative that's often handy is to use a button instead of an > > image, > > and set the button's icon property to the ID of the image you want to > > use. > > Since an icon can be any image of any size, you can use it for things > > other > > than conventional icons. And since only one object (the button) is > > actually > > shown, it's a little more convenient if you have to move the image on > > the > > card (no need to worry about moving both image objects, just move the > > button). > > > > Here you might create/import the two versions of the image, and either > > hide > > them or place them in a substack. Get their IDs (let's say they're 2001 > > and > > 2002). Then create a blank button of the correct size, and put this in > > the > > button script: > > > > on mouseUp -- switch from one image to the other > > if the ID of me is 2001 then set the ID of me to 2002 > > else set the ID of me to 2001 > > end mouseUp > > in this case you can have it even shorter (said the big TIMESAVER ;-) > without any if...then...else... > > Just set the icon of the btn to the id of the first image and the > hiliteicon > of the button to the id of the other image. > > Then script: > > on mouseup > set the hilite of me to (not the hilite of me) > end mouseup > > or > > on mouseenter > set the hilite of me to (not the hilite of me) > end mouseenter > > and other variations... > You get the picture... > > So you just need one line. > > If the images are not TOO big (screensize maybe) the performance > will be as fast as ever :-) > > > Regards > > (timesaving) 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 Zzyzx at Relia.Net Fri Aug 23 16:28:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Fri Aug 23 16:28:01 2002 Subject: running facelessly under Windows References: <003501c24adc$df0718c0$1901000a@ZZYZX> <004101c24ae3$2034d480$6f00a8c0@mckinley.dom> Message-ID: <000b01c24aeb$c41844d0$1901000a@ZZYZX> Ken, I wasn't using "get shell". I tried it with "get shell" and it worked great. Thanks! - Josh Dye ----- Original Message ----- From: "Ken Ray" To: Sent: Friday, August 23, 2002 2:24 PM Subject: Re: running facelessly under Windows > Josh, you shouldn't see anything... are you calling this *before* your > 'shell' command, as in: > > set the hideConsoleWindows to true > get shell("mybatch.bat") > > ?? > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "Josh Dye" > To: > Sent: Friday, August 23, 2002 2:40 PM > Subject: Re: running facelessly under Windows > > > > Scott, > > I set it to True, and I still see the .bat file running. I still see > the > > DOS Prompt opening, until the game opens. Is there any other things such > as > > making the Stack Always On Top, or something of that sort that might help > me > > and Brad out? > > > > All the best. > > > > - Josh Dye > > > > > > ----- Original Message ----- > > From: "Scott Rossi" > > To: > > Sent: Friday, August 23, 2002 12:25 PM > > Subject: Re: running facelessly under Windows > > > > > > > > Will running "facelessly" allow me to use the Shell function without > > > > the DOS command line window appearing? I'm using the Shell function > > > > to launch a batch file which takes awhile to run, and I don't want > > > > the user to see it. > > > > > > Try: set the hideConsoleWindows to true > > > > > > Regards, > > > > > > Scott Rossi > > > Creative Director > > > Tactile Media, Multimedia & Design > > > ----- > > > E: scott at tactilemedia.com > > > W: http://www.tactilemedia.com > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > 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 Zzyzx at Relia.Net Fri Aug 23 16:36:00 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Fri Aug 23 16:36:00 2002 Subject: running facelessly under Windows References: <003501c24adc$df0718c0$1901000a@ZZYZX> Message-ID: <001801c24aec$d11de5d0$1901000a@ZZYZX> Does anyone know of something like Always On Top? Or anything that would keep Rev on top, and not let it be minimized, etc. Anything would be helpful. Thanks! - Josh Dye ----- Original Message ----- From: "Josh Dye" To: Sent: Friday, August 23, 2002 1:40 PM Subject: Re: running facelessly under Windows > Scott, > I set it to True, and I still see the .bat file running. I still see the > DOS Prompt opening, until the game opens. Is there any other things such as > making the Stack Always On Top, or something of that sort that might help me > and Brad out? > > All the best. > > - Josh Dye > > > ----- Original Message ----- > From: "Scott Rossi" > To: > Sent: Friday, August 23, 2002 12:25 PM > Subject: Re: running facelessly under Windows > > > > > Will running "facelessly" allow me to use the Shell function without > > > the DOS command line window appearing? I'm using the Shell function > > > to launch a batch file which takes awhile to run, and I don't want > > > the user to see it. > > > > Try: set the hideConsoleWindows to true > > > > Regards, > > > > Scott Rossi > > Creative Director > > Tactile Media, Multimedia & Design > > ----- > > E: scott at tactilemedia.com > > W: http://www.tactilemedia.com > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > 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 kray at sonsothunder.com Fri Aug 23 16:55:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 23 16:55:01 2002 Subject: running facelessly under Windows References: <003501c24adc$df0718c0$1901000a@ZZYZX> <001801c24aec$d11de5d0$1901000a@ZZYZX> Message-ID: <007a01c24aee$de122c40$6f00a8c0@mckinley.dom> Sorry, Josh, it can't be done with regular Transcript. You'd need to have a DLL written to do that. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Josh Dye" To: Sent: Friday, August 23, 2002 4:34 PM Subject: Re: running facelessly under Windows > Does anyone know of something like Always On Top? Or anything that would > keep Rev on top, and not let it be minimized, etc. Anything would be > helpful. Thanks! > > - Josh Dye > > > ----- Original Message ----- > From: "Josh Dye" > To: > Sent: Friday, August 23, 2002 1:40 PM > Subject: Re: running facelessly under Windows > > > > Scott, > > I set it to True, and I still see the .bat file running. I still see > the > > DOS Prompt opening, until the game opens. Is there any other things such > as > > making the Stack Always On Top, or something of that sort that might help > me > > and Brad out? > > > > All the best. > > > > - Josh Dye > > > > > > ----- Original Message ----- > > From: "Scott Rossi" > > To: > > Sent: Friday, August 23, 2002 12:25 PM > > Subject: Re: running facelessly under Windows > > > > > > > > Will running "facelessly" allow me to use the Shell function without > > > > the DOS command line window appearing? I'm using the Shell function > > > > to launch a batch file which takes awhile to run, and I don't want > > > > the user to see it. > > > > > > Try: set the hideConsoleWindows to true > > > > > > Regards, > > > > > > Scott Rossi > > > Creative Director > > > Tactile Media, Multimedia & Design > > > ----- > > > E: scott at tactilemedia.com > > > W: http://www.tactilemedia.com > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > 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 jswitte at bloomington.in.us Sat Aug 24 01:11:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Sat Aug 24 01:11:01 2002 Subject: Possible Virus on list In-Reply-To: <200208240555.g7O5tqq20478@kirkwood.hoosier.net> Message-ID: Hello, I just got a strange email for the use-revolution list with a subject line: 'Spice girls' vocal concert' (not something I would expect from use-rev!) and one attached file, which looked like a page from the the HTML spec sheets (input[1].html). Is this a new worm of some kind? The complete headers follow: From: use-revolution Date: Fri Aug 23, 2002 6:07:59 PM America/Indianapolis To: jswitte at bloomington.in.us Subject: Spice girls' vocal concert Return-Path: Received: from fido.kiva.net (fido.kiva.net [216.9.137.65]) by kirkwood.hoosier.net (8.11.6/8.11.6) with SMTP id g7NN7xq16516 for ; Fri, 23 Aug 2002 18:07:59 -0500 Received: (qmail 7737 invoked from network); 23 Aug 2002 23:07:27 -0000 Received: from dial-219.bton.kiva.net (HELO Caobsu) (208.143.10.219) by fido.kiva.net with SMTP; 23 Aug 2002 23:07:27 -0000 Message-Id: <200208232307.g7NN7xq16516 at kirkwood.hoosier.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=XV966Q4HQGP5L4Iu31x87ph1WH9v66UY Status: RO Attachments: There is 1 attachment From jeanne at runrev.com Sat Aug 24 02:02:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Aug 24 02:02:01 2002 Subject: Possible Virus on list In-Reply-To: References: <200208240555.g7O5tqq20478@kirkwood.hoosier.net> Message-ID: At 11:09 PM -0700 8/23/2002, Jim Witte wrote: > I just got a strange email for the use-revolution list with a subject >line: 'Spice girls' vocal concert' (not something I would expect from >use-rev!) and one attached file, which looked like a page from the the >HTML spec sheets (input[1].html). Is this a new worm of some kind? >The complete headers follow: Looking at the headers, this didn't go through the mail server we use for the list. (Nor did I get a copy.) There are some viruses that harvest an address from the victim's mail address book to use as a faked "From:" address, and my guess is that's what happened here: someone on the list who has both the use-revolution address and your address in their address book was attacked by the Klez virus or a variant. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From heather at runrev.com Sat Aug 24 02:31:00 2002 From: heather at runrev.com (Heather Williams) Date: Sat Aug 24 02:31:00 2002 Subject: use-revolution digest, Vol 1 #631 - 13 msgs In-Reply-To: <200208232030.QAA24922@www.runrev.com> Message-ID: I'm sorry, I'm currently on holiday. I will be back on Monday, 2nd sept, and will respond to your query as soon as possible after that, Regards, Heather From swartart at iafrica.com Sat Aug 24 03:14:01 2002 From: swartart at iafrica.com (Ryno) Date: Sat Aug 24 03:14:01 2002 Subject: Switching between images... In-Reply-To: <200208231551.LAA14815@www.runrev.com> Message-ID: I am a novice (still, after all these years)but would this work? In each image... on mouseUp set the layer of me to bottom end mouseUp works, but with mouseEnter it is messy. Have a look. Somebody recently suggested a special forum for less experienced users of Rev. This list would of course be best, as long as we feel that it is OK to ask basic questions, and knowing that we would not be a bother. Ah, but what if we should offer bad advice to each other? Maybe we could identify our subject line with an asterisk or "novice" or something. Ryno. Simon's Town. From cowhead at mac.com Sat Aug 24 05:11:01 2002 From: cowhead at mac.com (mark mitchell) Date: Sat Aug 24 05:11:01 2002 Subject: Dist Builder Busted In-Reply-To: <200208231551.LAA14815@www.runrev.com> Message-ID: <9AB788DA-B749-11D6-AC00-0030656DAB8E@mac.com> On my G4 tower (OS 10.1.5) I have lost the ability to build a distribution. Distribution builder says "copying files......" but thats where it stops. After that, nothing. It creates the distribution folder but nothing is inside. Anyone else seen this problem? I have tried downloading a 'fresh' version of Rev and running a fsck -y on the OSX, all to no avail. tia, mark mitchell Japan From fredericrossoni at laposte.net Sat Aug 24 05:52:01 2002 From: fredericrossoni at laposte.net (Fred) Date: Sat Aug 24 05:52:01 2002 Subject: Newbies In-Reply-To: References: Message-ID: A 22:11 +0200 le 23/08/02, Ryno a ?crit : >Somebody recently suggested a special forum for less experienced >users of Rev. This list would of course be best, as long as we feel >that it is OK to ask basic questions, and knowing that we would not >be a bother. Ah, but what if we should offer bad advice to each >other? Maybe we could identify our subject line with an asterisk or >"novice" or something. I do agree. Fred. From rcozens at pon.net Sat Aug 24 10:33:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Aug 24 10:33:01 2002 Subject: Dist Builder Busted In-Reply-To: <9AB788DA-B749-11D6-AC00-0030656DAB8E@mac.com> References: <9AB788DA-B749-11D6-AC00-0030656DAB8E@mac.com> Message-ID: >On my G4 tower (OS 10.1.5) I have lost the ability to build a >distribution. Distribution builder says "copying files......" but >thats where it stops. After that, nothing. It creates the >distribution folder but nothing is inside. Anyone else seen this >problem? Hi Mark, Do you update the distribution build info with each build? I have had occasions where I would build a standalone, test it, revise the source stack, and build it again. I have witnessed behavior similar to what you describe when I do a second or subsequent build without updating the build info, even if it doesn't change. In particular, I remove the stack name from the build list and reselect it. I am guessing that the Distribution builder expects to find the stack in RAM, and when one quits Rev, starts it again, and does a build without selecting the stack(s), it chokes. -- 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 Sat Aug 24 11:08:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sat Aug 24 11:08:01 2002 Subject: Dist Builder Busted In-Reply-To: Message-ID: <815A557E-B77B-11D6-A1A3-000393853D6C@rpsystems.net> On Saturday, August 24, 2002, at 11:29 AM, Rob Cozens wrote: > I have had occasions where I would build a standalone, test it, revise > the source stack, and build it again. I have witnessed behavior > similar to what you describe when I do a second or subsequent build > without updating the build info, even if it doesn't change. In > particular, I remove the stack name from the build list and reselect it. > > I am guessing that the Distribution builder expects to find the stack > in RAM, and when one quits Rev, starts it again, and does a build > without selecting the stack(s), it chokes. Hmm. On OSX at least, I regularly open rev, and do a build from a saved build file, without ever opening the stack or modifying the build saved values. We frequently update the stack to be built over the network, and then just run the same builder config, without modification. Mark is using the same OS as me. What are you using Rob? -- Troy RPSystems, LTD www.rpsystems.net From jperryl at ecs.fullerton.edu Sat Aug 24 12:14:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat Aug 24 12:14:01 2002 Subject: Newbies In-Reply-To: Message-ID: As a newbie (defined as not extensive experience despite having had and used it periodically for more than a year, possibly two), I have to wonder if what this will result in will be a convenient means of filtering out queries people simply don't want to be bothered with but don't want to look bad by saying so. I have myself received polite assistance on such stupid questions as "how the #*^%#! do I get sound into my stack?" -- something which, along with file types allowed, I could not find in the documentation. It would be sad, as well as inappropriate, for these requests for assistance to instead be answered by the friendly folks on the Hypercard list. Judy Perry > A 22:11 +0200 le 23/08/02, Ryno a ?crit : > > >Somebody recently suggested a special forum for less experienced > >users of Rev. This list would of course be best, as long as we feel > >that it is OK to ask basic questions, and knowing that we would not > >be a bother. Ah, but what if we should offer bad advice to each > >other? Maybe we could identify our subject line with an asterisk or > >"novice" or something. > From mparis at nc.rr.com Sat Aug 24 13:14:01 2002 From: mparis at nc.rr.com (Mark Paris) Date: Sat Aug 24 13:14:01 2002 Subject: Newbies References: Message-ID: <002301c24bb1$86f9af00$6beafea9@nc.rr.com> Well, in April I put up this forum, which got little posting, though I only mentioned it once to the list. But it is definitely geared towards newbies, and it would be great to see some tutorials posted to it. And if some Revmasters out there would care to peruse it, newbies could post questions there as well. Mark ----- Original Message ----- From: "Judy Perry" To: Sent: Saturday, August 24, 2002 10:12 AM Subject: Re: Newbies > As a newbie (defined as not extensive experience despite having had and > used it periodically for more than a year, possibly two), I have to wonder > if what this will result in will be a convenient means of filtering out > queries people simply don't want to be bothered with but don't want to > look bad by saying so. > > I have myself received polite assistance on such stupid questions as "how > the #*^%#! do I get sound into my stack?" -- something which, along with > file types allowed, I could not find in the documentation. > > It would be sad, as well as inappropriate, for these requests for > assistance to instead be answered by the friendly folks on the Hypercard > list. > > Judy Perry > > > A 22:11 +0200 le 23/08/02, Ryno a ?crit : > > > > >Somebody recently suggested a special forum for less experienced > > >users of Rev. This list would of course be best, as long as we feel > > >that it is OK to ask basic questions, and knowing that we would not > > >be a bother. Ah, but what if we should offer bad advice to each > > >other? Maybe we could identify our subject line with an asterisk or > > >"novice" or something. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From mparis at nc.rr.com Sat Aug 24 13:14:22 2002 From: mparis at nc.rr.com (Mark Paris) Date: Sat Aug 24 13:14:22 2002 Subject: Newbies (forum link!) References: Message-ID: <002901c24bb1$adde0b20$6beafea9@nc.rr.com> LOL. The link to the forum would help! http://www.mailping.net/cgi-bin/yabb/YaBB.cgi ----- Original Message ----- From: "Judy Perry" To: Sent: Saturday, August 24, 2002 10:12 AM Subject: Re: Newbies > As a newbie (defined as not extensive experience despite having had and > used it periodically for more than a year, possibly two), I have to wonder > if what this will result in will be a convenient means of filtering out > queries people simply don't want to be bothered with but don't want to > look bad by saying so. > > I have myself received polite assistance on such stupid questions as "how > the #*^%#! do I get sound into my stack?" -- something which, along with > file types allowed, I could not find in the documentation. > > It would be sad, as well as inappropriate, for these requests for > assistance to instead be answered by the friendly folks on the Hypercard > list. > > Judy Perry > > > A 22:11 +0200 le 23/08/02, Ryno a ?crit : > > > > >Somebody recently suggested a special forum for less experienced > > >users of Rev. This list would of course be best, as long as we feel > > >that it is OK to ask basic questions, and knowing that we would not > > >be a bother. Ah, but what if we should offer bad advice to each > > >other? Maybe we could identify our subject line with an asterisk or > > >"novice" or something. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From tony.perry at numbat.com Sat Aug 24 19:10:01 2002 From: tony.perry at numbat.com (Digital Studio (Australia) Pty Ltd) Date: Sat Aug 24 19:10:01 2002 Subject: Using Revolution for server-side scripts Message-ID: <000f01c24bcb$d70e7b50$7d868890@goblin> Hi all, Thought I'd share my experience of trying to use Revolution for server-side scripting. I followed the instructions at http://www.runrev.com/revolution/developers/articles/tipoftheweek/6.html to install the Revolution engine for Linux (the OS my hosting service runs) and my simple Hello World script then, ran my script and got this output -- revolution: error while loading shared libraries: libXext.so.6: cannot open shared object file: No such file or directory My hosting service sent me the following when I queried this message -- Your revolution binary is compiled needing XFree86 libs which are not on the webserver and will not be as the webservers do not run Xwindows. If you can compile this without needing the XFree86 libs then your revolution binary may work. Unless there is a version of the Revolution engine for Linux out there somewhere that doesn't require XFree86 libs on the host server, I suspect many of you will share my experience if you attempt to use Revolution for server-side scripting. Regards, Tony Perry From Zzyzx at Relia.Net Sat Aug 24 20:01:00 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Sat Aug 24 20:01:00 2002 Subject: Coded Passwords Message-ID: <000a01c24bd2$a81551a0$1901000a@ZZYZX> Hello, If you do something like this... on mouseup ask password "Please enter your password" put it into fld "Pass" end mouseup And lets say you put in "admin" in the Ask Dialog box; It will come out as "9/d&+" in the Field. Is there any way to reverse that process, and change "9/d&+" back into "admin"? Another thing. I want to enter a password into a fld, in plain text; And then, convert it to password form. Then, put it back into that same fld, but Converted to Password form. The only way I could think of is doing it this way: on mouseup ask password "Convert" with (the text of fld "Pass") put it into fld "Pass" end mouseup It works. But I want to be able just to hit the button, and it will convert it, instead of having to click "OK" in the ask Dialog box. Any ideas? Thanks for listing to all of my stupid questions! - Josh Dye -------------- next part -------------- An HTML attachment was scrubbed... URL: From monte at sweattechnologies.com Sat Aug 24 22:50:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat Aug 24 22:50:01 2002 Subject: OS X Message-ID: Hi All Can someone fill me in on a few things about OS X: Do OS X directory paths use "/" or ":"? Does OS X use Unix/Windows style filtering for answer file? Does OS X have a File Exchange type Control that can be applescripted to set the file extension mapping? If not how do you register an extension for an app? Sorry for the stupid questions but I can't find these things on the apple site. 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 jburtt at earthlink.net Sun Aug 25 01:19:01 2002 From: jburtt at earthlink.net (John) Date: Sun Aug 25 01:19:01 2002 Subject: revPrintText function... In-Reply-To: <200208241602.MAA02521@www.runrev.com> References: <200208241602.MAA02521@www.runrev.com> Message-ID: In writing a printing handler, I prefer using the revPrintText function because it allows the use of the header and footer parameters. But, I'm having trouble formatting the textFont and textSize attributes. I first place the text into a field where I set the font, size, and color. Then, I put the htmlText of that field into a variable. When I look at the htmlText I see that it does not contain reference to the textFont, textSize, or textColor tags. When printed, it seems to print in the system's default settings - not the settings that I set for the field. I tried adding the font tags in my handler, but it still doesn't print in the font I specified. Is it possible to specify the font and size? If so, How? John From jeanne at runrev.com Sun Aug 25 01:40:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Aug 25 01:40:01 2002 Subject: revPrintText function... In-Reply-To: References: <200208241602.MAA02521@www.runrev.com> <200208241602.MAA02521@www.runrev.com> Message-ID: At 11:17 PM -0700 8/24/2002, John wrote: >In writing a printing handler, I prefer using the revPrintText >function because it allows the use of the header and footer >parameters. But, I'm having trouble formatting the textFont and >textSize attributes. I first place the text into a field where I set >the font, size, and color. Then, I put the htmlText of that field >into a variable. When I look at the htmlText I see that it does not >contain reference to the textFont, textSize, or textColor tags. When >printed, it seems to print in the system's default settings - not the >settings that I set for the field. I tried adding the font tags in my >handler, but it still doesn't print in the font I specified. Is it >possible to specify the font and size? If so, How? There's a fourth parameter (undocumented in 1.1.1 because I didn't know about it) that lets you specify a reference to a field you want to use as the "base" field for its font attributes. For example, you can use the line revPrintText myText,myHeader,myFooter,the long ID of field "My Text" -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From rcozens at pon.net Sun Aug 25 08:46:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Aug 25 08:46:01 2002 Subject: Dist Builder Busted In-Reply-To: <815A557E-B77B-11D6-A1A3-000393853D6C@rpsystems.net> References: <815A557E-B77B-11D6-A1A3-000393853D6C@rpsystems.net> Message-ID: >What are you using Rob? I'm running Mac OS9, Troy. My situation is a little more complicated than I first described: I was testing and editing the stack in Rev 1.5A7 and then replacing the stack in my Rev 1.1.1 folder, where I was building the standalone. I believe twice I tried rebuilding the standalone without removing the stack and reselecting it. I recall thinking, "what is this...AppleScript? Is Rev looking for an internal file id instead of the stack name?". I know I have experienced the "Building distribution..." to nowhere behavior that Mark described. I don't believe it has happened since I habitually deleted & reselected the stack. Perhaps Mark's experience will shed some light on this. -- 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 Sun Aug 25 12:43:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Sun Aug 25 12:43:01 2002 Subject: running facelessly under Windows In-Reply-To: References: Message-ID: At 11:25 AM -0700 8/23/02, Scott Rossi wrote: > >Try: set the hideConsoleWindows to true Thanks! That worked. From dsc at swcp.com Sun Aug 25 13:02:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sun Aug 25 13:02:01 2002 Subject: How? (was running facelessly...) In-Reply-To: Message-ID: <293236DA-B854-11D6-BF64-0050E4C0B205@swcp.com> On Friday, August 23, 2002, at 12:17 PM, Brad Allen wrote: > At 10:00 PM +0000 4/15/02, Kevin Miller wrote: >> Revolution complies native, double-clickable single-file >> executables for >> Mac, Mac OS X, Windows, Linux, Linux PPC, and all popular breeds >> of Unix, >> including Solaris, BSD and more. It can also run facelessly on all >> platforms except Mac OS 9, allowing you to do background tasks such as >> server side CGI processing. Is a faceless app simply a script? Can it be a standalone? Can libraries be used? Dar Scott From BradAllen at mac.com Sun Aug 25 13:11:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Sun Aug 25 13:11:01 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: <000701c4858e$14a7ad80$3a0a8fd0@cpq> References: <000701c4858e$14a7ad80$3a0a8fd0@cpq> Message-ID: At 8:44 PM -0500 8/18/04, Jim Witte wrote: > 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. Open-sourcing Reports Datapro is an interesting idea. I wonder if it would be major undertaking to adapt it for Rev in such a way that it would work with Rev and Rev standalones. I recently delved back into Reports Datapro, and found myself once again really appreciating the functionality, including the ability to generate reports on plain textual data (as opposed to HyperCard stacks.) Reports Datapro is a great software package with many features beyond just reporting (indexing, sort & select, table views, etc.). If the Rev folks are considering adding reporting capabilities, I hope they'll take a close look at the design of Reports Datapro. I suppose we have some alternatives for reporting data out of Rev; for instance, Rev can output delimited text to a specified directory and then launch a FileMaker standalone which could automatically import text from the specified directory and generate a report. Of course, FileMaker developer costs $500. I wonder if there currently exist any good open source programs that Rev could hook into for generating reports? From BradAllen at mac.com Sun Aug 25 13:11:15 2002 From: BradAllen at mac.com (Brad Allen) Date: Sun Aug 25 13:11:15 2002 Subject: Dist Builder Busted In-Reply-To: References: <9AB788DA-B749-11D6-AC00-0030656DAB8E@mac.com> Message-ID: At 8:29 AM -0700 8/24/02, Rob Cozens wrote: >I have had occasions where I would build a standalone, test it, >revise the source stack, and build it again. I have witnessed >behavior similar to what you describe when I do a second or >subsequent build without updating the build info, even if it doesn't >change. In particular, I remove the stack name from the build list >and reselect it. I do the same thing out of habit, because of problems I once experienced building standalones on Mac OS 9 in which my saved changes to a Rev project file did not make it into my standalones. From BradAllen at mac.com Sun Aug 25 13:19:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Sun Aug 25 13:19:01 2002 Subject: obtain file version info under Windows Message-ID: Obtaining the version of an application file is easy under Mac OS using Applescript, but how do you obtain file meta-data under Windows? I've seen another app called NetOctopus obtain this meta-data about files on Windows systems, so it has to be available somehow. Is it possible to get this using Rev? Thanks! From yannek at mac.com Sun Aug 25 13:37:01 2002 From: yannek at mac.com (Benjamin Dubois) Date: Sun Aug 25 13:37:01 2002 Subject: Global variables, Message Handlers, Functions In-Reply-To: <200208030204.WAA19557@www.runrev.com> Message-ID: <535A4C3F-B859-11D6-9A3A-000A277AA1B4@mac.com> Hi Everyone, I am finally working on my first project using Revolution. I had to use VB for the last one... Needless to say I now try to think in the transcript way and I need some time to adapt. I also started programming with traditional languages such as C, C++, Java. And No I never ever touched HyperCard or anything like it. So I wanted to check if I understood some thing correctly: 1. Functions are used when we need to return something. Otherwise custom handler are used for functions which would return void like in C, say. 2. The keyword 'global' is the same as a global variable defined in C but we hace to declare in all the handler, we use it. Which kind of freak me out. I am like wait if I declare it again it is going to think it is a new one. I have read much of the documentation but I still need some time to get use to it. 3. Which card or stack handler should I use if I want to call a custom handler, when the user close the current window, substack. I tried closeStackRequest it launches my custom handler but the stack does not close (?). Any comments, help would be greatly appreciated. Best, Benjamin J. S. Dubois Les Esprits Sages Applications, Inc. From ambassador at fourthworld.com Sun Aug 25 14:04:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Aug 25 14:04:01 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: Message-ID: Brad Allen wrote: > I suppose we have some alternatives for reporting data out of Rev; > for instance, Rev can output delimited text to a specified directory > and then launch a FileMaker standalone which could automatically > import text from the specified directory and generate a report. Of > course, FileMaker developer costs $500. I wonder if there currently > exist any good open source programs that Rev could hook into for > generating reports? No need. Native Transcript can handle pretty much anything you need, and wuld be available for all supported platforms rather than Mac OS only. All that's needed is for someone to afford the time to provide that functionality in a script library, preferably with a UI to help with layout. In the meantime, report printing in Rev is more work than in HC, but also more flexible and certainly not impossible. You can create a printing stack sized to the current page setup options, add any objects you like, fill them with any data you like, and issue a print command. It'd be nice to have a subset of these options available in a library of one-liners, but if you need report printing today there's no need to wait. -- 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 kenl34 at earthlink.net Sun Aug 25 14:36:01 2002 From: kenl34 at earthlink.net (Ken Lipscomb) Date: Sun Aug 25 14:36:01 2002 Subject: Using Windows DLL's and COM objects Message-ID: <000001c24c6e$68e2e910$6501a8c0@vaio> Is there any way of using Windows DLL's and/or COM objects with RunRev? I would like to call the WindowsMediaPlayer COM object. Ken Lipscomb -------------- next part -------------- An HTML attachment was scrubbed... URL: From bvg at mac.com Sun Aug 25 14:59:01 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun Aug 25 14:59:01 2002 Subject: Global variables, Message Handlers, Functions In-Reply-To: <535A4C3F-B859-11D6-9A3A-000A277AA1B4@mac.com> Message-ID: On Sonntag, August 25, 2002, at 08:34 , Benjamin Dubois wrote: > Hi Everyone, > I am finally working on my first project using Revolution. > I had to use VB for the last one... Needless to say I now try > to think in the transcript way and I need some time to adapt. > I also started programming with traditional languages such as C, C++, > Java. > And No I never ever touched HyperCard or anything like it. > So I wanted to check if I understood some thing correctly: > 1. Functions are used when we need to return something. > Otherwise custom handler are used for functions which would return > void like in C, say. Exact, you can also just use normal handlers and pass data via variables, properties, fields... whatever is best for your need. > 2. The keyword 'global' is the same as a global variable defined in C > but we hace to declare in all the handler, we use it. > Which kind of freak me out. I am like wait if I declare it again > it is going to think it is a new one. I have read much > of the documentation but I still need some time to get use to it. A global variable is accessible from every handler which calls it. thus you have to call it... It IS rather strange, but i guess that it makes runrev faster (kind of explicit declaration) > 3. Which card or stack handler should I use if I want to call a > custom handler, when the user close the current window, substack. > I tried closeStackRequest it launches my custom handler but the > stack does not close (?). closeStack is your message, as it never traps the actual closing of the window. When you use closeStackRequest, you may use the "pass" control structure to close the window (for example from within an "if" handler) > Any comments, help would be greatly appreciated. > Best, > Benjamin J. S. Dubois > Les Esprits Sages Applications, Inc. Thank you for your appreciation Bj?rnke From ambassador at fourthworld.com Sun Aug 25 15:45:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Aug 25 15:45:01 2002 Subject: Global variables, Message Handlers, Functions In-Reply-To: Message-ID: Bj?rnke von Gierke wrote: > A global variable is accessible from every handler which calls it. thus > you have to call it... It IS rather strange, but i guess that it makes > runrev faster (kind of explicit declaration) The global keyword is adopted from HyperCard 1.0, and has been a part of all xTalk implementation since. How else would the engine know whether to treat a variable as local or global without such a keyword? Rev is fast because most of the interpretation is done when a script is closed, compiled to plaform-independent byte code similar to Java (but tends to outperform Java for reasons of granularity not worth getting into here). -- 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 Sun Aug 25 16:13:01 2002 From: katir at hindu.org (Sivakatirswami) Date: Sun Aug 25 16:13:01 2002 Subject: Video -- digital archiving Message-ID: Thanks for all the insightful inputs on this thread. I am unable to find a device which does 100% of what we want. http://www.video-direct.com/accessories/dazzle/index.html Dazzle hollywood DV Bridge looks interesting, but only take the DV stream into a computer, not directly to a DVD burner. So, looks like we will be settling for the PHILLIPS DVDR 985, "Stand-alone" DVD Recorder Which takes an analog signal from a VCR or a Digital Cam and writes them out to a DVD disk. The CODEC is to MPEG 2. But we will have to extract this later if we want to use it instead of going back to the physical tapes. Anyone know of a way to drive DVD file inside Rev? Quicktime will not see them. Hinduism Today 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 jacque at hyperactivesw.com Sun Aug 25 16:38:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun Aug 25 16:38:01 2002 Subject: Using Revolution for server-side scripts References: <200208251603.MAA20201@www.runrev.com> Message-ID: <3D694DE0.3040500@hyperactivesw.com> "Digital Studio \(Australia\) Pty Ltd" wrote: > Thought I'd share my experience of trying to use Revolution for server-side > scripting. I followed the instructions at > http://www.runrev.com/revolution/developers/articles/tipoftheweek/6.html to > install the Revolution engine for Linux (the OS my hosting service runs) and > my simple Hello World script then, ran my script and got this output -- > > revolution: error while loading shared libraries: libXext.so.6: cannot open > shared object file: No such file or directory > > My hosting service sent me the following when I queried this message -- > > Your revolution binary is compiled needing XFree86 libs which are not on the > webserver and will not be as the webservers do not run Xwindows. If you can > compile this without needing the XFree86 libs then your revolution binary > may work. > > Unless there is a version of the Revolution engine for Linux out there > somewhere that doesn't require XFree86 libs on the host server, I suspect > many of you will share my experience if you attempt to use Revolution for > server-side scripting. The same thing happened to me a while back. I was told that you don't need the actual libraries installed because Revolution doesn't use them. So you can put dummy 1K text files in there if you want, as long as they have the right names. There were two libraries that were missing on my web hosting server -- one was the same as you mention above, and the second one I'm sorry but I can't remember. I never had a chance to see if dummy files worked because I changed web hosting companies right after that. But it is worth a shot. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alanira9 at mac.com Sun Aug 25 16:40:01 2002 From: alanira9 at mac.com (Alan Gayne) Date: Sun Aug 25 16:40:01 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: Message-ID: on 8/25/02 2:03 PM, Brad Allen at BradAllen at mac.com wrote: > At 8:44 PM -0500 8/18/04, Jim Witte wrote: >> 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. > > Open-sourcing Reports Datapro is an interesting idea. I wonder if it > would be major undertaking to adapt it for Rev in such a way that it > would work with Rev and Rev standalones. > > I recently delved back into Reports Datapro, and found myself once > again really appreciating the functionality, including the ability to > generate reports on plain textual data (as opposed to HyperCard > stacks.) Reports Datapro is a great software package with many > features beyond just reporting (indexing, sort & select, table views, > etc.). If the Rev folks are considering adding reporting > capabilities, I hope they'll take a close look at the design of > Reports Datapro. > > I suppose we have some alternatives for reporting data out of Rev; > for instance, Rev can output delimited text to a specified directory > and then launch a FileMaker standalone which could automatically > import text from the specified directory and generate a report. Of > course, FileMaker developer costs $500. I wonder if there currently > exist any good open source programs that Rev could hook into for > generating reports? > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Seems very silly to "re-invent the wheel",espeicially when the Bob Greenberg (bob at rpControl.com), the current owner of this product is VERY willing to make a deal with RunRev. Why not do the deal, make the necessary conversions and offer the RunRev Reports product as a "value added" additional product, the profits from which could be shared by both RunRev and rpControl LLC. Not doing this makes about as much sense as a major league baseball strike. Both side lose if they can't make a deal. Alan From kenl34 at earthlink.net Sun Aug 25 17:24:01 2002 From: kenl34 at earthlink.net (Ken Lipscomb) Date: Sun Aug 25 17:24:01 2002 Subject: Video -- digital archiving In-Reply-To: Message-ID: <000001c24c85$da805500$6501a8c0@vaio> It really depends on how elaborate of a system you want to have. Also, the platform makes a difference...MacOSX or Windows. A new i-Mac can burn DVD's from digital video files stored on it's HDD that will playback on consumer decks. There are also more high end MPEG encoders such as those from Minerva Newtowks(www.minervanetworks.com). If you wanted to go all Windows, an elegant solutions could possibly be built around the .NET platform. Would you like to purchase a complete solution? Ken -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Sivakatirswami Sent: Sunday, August 25, 2002 5:12 PM To: use-revolution at lists.runrev.com Subject: Re: Video -- digital archiving Thanks for all the insightful inputs on this thread. I am unable to find a device which does 100% of what we want. http://www.video-direct.com/accessories/dazzle/index.html Dazzle hollywood DV Bridge looks interesting, but only take the DV stream into a computer, not directly to a DVD burner. So, looks like we will be settling for the PHILLIPS DVDR 985, "Stand-alone" DVD Recorder Which takes an analog signal from a VCR or a Digital Cam and writes them out to a DVD disk. The CODEC is to MPEG 2. But we will have to extract this later if we want to use it instead of going back to the physical tapes. Anyone know of a way to drive DVD file inside Rev? Quicktime will not see them. Hinduism Today 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 rcozens at pon.net Sun Aug 25 17:28:02 2002 From: rcozens at pon.net (Rob Cozens) Date: Sun Aug 25 17:28:02 2002 Subject: Global variables, Message Handlers, Functions In-Reply-To: <535A4C3F-B859-11D6-9A3A-000A277AA1B4@mac.com> References: <535A4C3F-B859-11D6-9A3A-000A277AA1B4@mac.com> Message-ID: Salut Benjamin! >1. Functions are used when we need to return something. > Otherwise custom handler are used for functions which would >return void like in C, say. The MetaCard User Guide defines four types of handlers: A. Message Handlers: "Message Handlers are statements beginning with the word on." B. Function Handlers: "The difference between a function handler and a message handler is that a message handler is a statement..., whereas a function handler is called as part of an expression. C. Setprop Handlers, and D. Getprop Handlers which run when custom properties are set and called in an expression respectively. Leaving aside the special issue of setprop/getprop, function handlers MUST return a value to be used when evaluating the expression containing the function call, and message handlers MAY optionally return a value. In the case of message handlers the value returned is obtained by checking the result function after the call. Eg: runMyMessageHandler arg1,arg2,arg3 get the result >2. The keyword 'global' is the same as a global variable defined >in C but we hace to declare in all the handler, we use it. Globals must be declared in all scripts that use them; but all handlers in a script can reference a global (or local, for that matter) variable declared outside of any individual handler. >3. Which card or stack handler should I use if I want to call a >custom handler, when the user close the current window, substack. > I tried closeStackRequest it launches my custom handler but >the stack does not close (?) You must pass the closeStackRequest message OR include a statement such as "close this stack" in your custom handler. Hope this helps. -- 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 sarahr at genesearch.com.au Sun Aug 25 18:54:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 25 18:54:01 2002 Subject: OS X In-Reply-To: Message-ID: > Do OS X directory paths use "/" or ":"? / > Does OS X use Unix/Windows style filtering for answer file? I don't think so. The only one that seems to work for me is using type and specifying the 4 character file type e.g. answer file "Select a text file" of type "TEXT" > Does OS X have a File Exchange type Control that can be applescripted > to set > the file extension mapping? If not how do you register an extension > for an > app? I think OS X still uses the old Apple file type & creator type to link an app to it's documents. You can change the mapping manually using the Get Info dialog, but I don't know how to do it with AppleScript. Cheers, Sarah From sarahr at genesearch.com.au Sun Aug 25 18:58:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Aug 25 18:58:01 2002 Subject: Some Stacks Won't Open in Finder in OS X? In-Reply-To: Message-ID: <32C27F8A-B886-11D6-BB9B-0003937A97B8@genesearch.com.au> I don't know why this is happening, but I think I can provide a workaround. Boot Rev and then go to the Finder and double-click the stack. Once Rev is running, this will open the stack within the Rev environment. Another option is to make sure that the filetype & creator codes are set correctly. In the User contributions section of the Rev website, I posted an AppleScript droplet called Rev Droplet File Type Converter, that can do this for you. Cheers, Sarah On Friday, August 23, 2002, at 10:53 am, Dan Shafer wrote: > I've just encountered something that seems strange to me. > > I downloaded the DB Samples a few days ago and was messing around with > them this morning. I can double-click the stack in Finder and it opens > and runs and things are fine. So I want to look at the underlying code > and see what's going on. I open Rev, navigate to the folder where the > stack is and it's dimmed out, not able to be opened from within Rev. > Neither DB sample is accessible. > > So I figure well maybe they're read-only or something (though Finder > Get Info doesn't indicate that). So I try to open revexample.rev in > the Plugins folder. Same story. All of the stacks I've made work fine. > All of the stacks in the components folder and sub-folders work fine. > > So what's the story here? What do I not understand? > -- > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 troy at rpsystems.net Sun Aug 25 19:04:00 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sun Aug 25 19:04:00 2002 Subject: Video -- digital archiving In-Reply-To: Message-ID: <17A882F2-B887-11D6-801B-000393853D6C@rpsystems.net> On Sunday, August 25, 2002, at 05:11 PM, Sivakatirswami wrote: > So, looks like we will be settling for the > > PHILLIPS DVDR 985, "Stand-alone" DVD Recorder > > Which takes an analog signal from a VCR or a Digital Cam and writes > them out > to a DVD disk. The CODEC is to MPEG 2. But we will have to extract this > later if we want to use it instead of going back to the physical tapes. > > Anyone know of a way to drive DVD file inside Rev? Quicktime will not > see > them. I'l reiterate that MPEG2 is probably the least desirable format to archive video in, if future editing is a consideration. For one thing, because it is temporally compressed, it no longer contains discreet frames of video. While some software solutions exist which will reassemble frames suitable for editing from you can never actually get back what has been discarded in the initial compression process. MPEG2 is a final distribution format, and is not considered an archival format for source media. Additionally, I know of no way for the DVD format to be decoded inside the Rev environment, and doubt that we will see one. -- Troy RPSystems, LTD www.rpsystems.net From mpetrides at earthlink.net Sun Aug 25 19:37:01 2002 From: mpetrides at earthlink.net (Marian Petrides) Date: Sun Aug 25 19:37:01 2002 Subject: Video -- digital archiving In-Reply-To: <17A882F2-B887-11D6-801B-000393853D6C@rpsystems.net> Message-ID: <8467B027-B88B-11D6-8350-0003936D5826@earthlink.net> > I'm coming in at the tail end of this and apologize if I'm repeating > something someone else has said and/or not answering the specific > question--which I do not have in front of me. It sounds like the > requirement is to capture video easily and then burn to DVD, yet > retain the ability to edit the video. Is that right? If so, consider 1) Capturing via firewire (using Dazzle Hollywood DV Bridge or other comparable device--Sony makes one, too that is supposed to be quite good--to convert analog to digital) into iMovie 2) Output iMovie to iDVD 3) Author and burn to DVD using iDVD 4) In addition to the DVD-video disk in #3, burn an archive of captured video to DVD using Toast, for further editing Above requires a Mac with built-in DVD-R drive. The 15 inch flat panel iMac will do very well. If this does not answer the original question, please forgive me. Marian -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 953 bytes Desc: not available URL: From MFitz53 at cs.com Sun Aug 25 20:51:00 2002 From: MFitz53 at cs.com (MFitz53 at cs.com) Date: Sun Aug 25 20:51:00 2002 Subject: Another newbie question... Message-ID: <4e.10153d57.2a9ae323@cs.com> I really dislike cluttering up this list with this beginner question, but have had no success with figuring out why I cannot make this work. I have tried moving scripts and changing the orders of the handlers and have not gotten rid of this particular problem. My intent is to be able to load a playist(field) of music titles and play them in the order they are listed. This part will work fine. The problem arises when I use the button to stop the current playlist and load a different playlist. After I stop the current playlist, I must repeat the process of loading another playlist twice. I do not know or have been able to see why. Qusetion: Can this problem be attributed to having the process split up between handlers as a workaround for the 10 line script limitation? I am about to buy the SB license, but this has me a little worried. So here it is folks, my whole playlist team of scripts (and some of yours as well!). BTN "Load Playlist"script: Step One on mouseUp global mySpot,folderPath put 1 into mySpot put the cAudioFolderPath of this stack into folderPath end mouseUp Field "playlistnames" script: Step Two The list where the names of the playlists (and the fields by the same name) are kept on mouseUp global titles put the value of the selectedLine into titles send mouseUp to button"playit" end mouseUp BTN "playit"script: Step Three on mouseUp global titles global mySpot add 1 to mySpot put item mySpot of fld titles into audioToPlay put the cAudioFolderPath of this stack into folderPath set the filename of player"audioPlayer" to folderPath&"/"&audioToPlay set the currentTime of player"audioPlayer" to 0 put audioToPlay into fld"currentplay" start player "audioPlayer" end mouseUp -- All works well until I want to stop the current playlist and load a new one. The following BTN "Stop Music"script: This is part of the problem. When I use this, then attempt to load another playlist, I must use "Load Playlist" again and select again before it will play. When I check the message box for the condition of my global variables, "mySpot" (which should be 1 when I load a new playlist) always contains a number too high to be used unti I repeat the process a second time. on mouseUp global titles,mySpot,folderpath delete global mySpot -- I was using put empty with the same results delete global titles stop player"audioPlayer" set the currentTime of player"audioPlayer" to 0 put empty into field"currentplay" end mouseUp Player audioPlayer script: on playStopped send mouseUp to button"playit" end playStopped Thanks mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From BradAllen at mac.com Sun Aug 25 22:29:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Sun Aug 25 22:29:01 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: References: Message-ID: >Seems very silly to "re-invent the wheel",espeicially when the Bob Greenberg >(bob at rpControl.com), the current owner of this product is VERY willing to >make a deal with RunRev. > >Why not do the deal, make the necessary conversions and offer the RunRev >Reports product as a "value added" additional product, the profits from >which could be shared by both RunRev and rpControl LLC. > I agree. I would buy such a product if it were priced in the $100 range. At 11:57 AM -0700 8/25/02, Richard Gaskin wrote: >No need. Native Transcript can handle pretty much anything you need, and >wuld be available for all supported platforms rather than Mac OS only. All True, Reports Datapro is Mac-only, for now. FYI, FileMaker Pro can create runtime standalones for both Mac and Windows. Designing a report, with break sections, subsummaries, etc., is considerably quicker and easier in FileMaker than in Rev. At 11:57 AM -0700 8/25/02, Richard Gaskin wrote: >In the meantime, report printing in Rev is more work than in HC, but also >more flexible and certainly not impossible. You can create a printing stack Designing a printing stack with header sections, detail sections, subsummaries, break sections, trailing grand summaries, all of changeable length to accomodate arbitrary data sets...sounds like a major programming project. Another idea is to export the desired data as XML and run it through a utility like XMLmill to convert to PDF. ( http://www.xmlmill.com/controller.jsp?pageid=110 ) I suspect there is a database reporting-oriented XML namespace and DTD somewhere out there... From monte at sweattechnologies.com Sun Aug 25 22:31:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Aug 25 22:31:01 2002 Subject: OS X In-Reply-To: Message-ID: > > Do OS X directory paths use "/" or ":"? > / > OK > > Does OS X use Unix/Windows style filtering for answer file? > I don't think so. The only one that seems to work for me is using type > and specifying the 4 character file type > e.g. answer file "Select a text file" of type "TEXT" OK > > > Does OS X have a File Exchange type Control that can be applescripted > > to set > > the file extension mapping? If not how do you register an extension > > for an > > app? > I think OS X still uses the old Apple file type & creator type to link > an app to it's documents. You can change the mapping manually using the > Get Info dialog, but I don't know how to do it with AppleScript. I have the appleScript for doing it on everything before OS X but that's where I get stuck. Cheers Monte From kray at sonsothunder.com Sun Aug 25 23:12:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Aug 25 23:12:00 2002 Subject: obtain file version info under Windows References: Message-ID: <001901c24cb5$fcfa2a40$6401a8c0@mckinley.dom> Brad, I'd assume it's in the registry, but I'm not sure exactly what you are looking to find... can you be a bit more specific? 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, August 25, 2002 1:17 PM Subject: obtain file version info under Windows > Obtaining the version of an application file is easy under Mac OS > using Applescript, but how do you obtain file meta-data under > Windows? I've seen another app called NetOctopus obtain this > meta-data about files on Windows systems, so it has to be available > somehow. Is it possible to get this using Rev? > > Thanks! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Sun Aug 25 23:13:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Aug 25 23:13:01 2002 Subject: Using Windows DLL's and COM objects References: <000001c24c6e$68e2e910$6501a8c0@vaio> Message-ID: <002301c24cb6$17ed6d30$6401a8c0@mckinley.dom> Using Windows DLL's and COM objectsKen, Not naturally. An external would need to be written for Rev to allow connectivity to other DLLs or COM objects. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: Ken Lipscomb To: use-revolution at lists.runrev.com Sent: Sunday, August 25, 2002 2:34 PM Subject: Using Windows DLL's and COM objects Is there any way of using Windows DLL's and/or COM objects with RunRev? I would like to call the WindowsMediaPlayer COM object. Ken Lipscomb -------------- next part -------------- An HTML attachment was scrubbed... URL: From alanira9 at mac.com Sun Aug 25 23:19:01 2002 From: alanira9 at mac.com (Alan Gayne) Date: Sun Aug 25 23:19:01 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: Message-ID: Brad: I have been advised by Bob Greenberg at rpControl LLC that ALMOST ALL of the Reports DataPro utilities and features are actually stacks that are called by a single though fairly complex external from which the company gets its name - i.e. "rpControl". It follows that the stack controls in Reports DataPro should be realtively easy to recreate in Revolution if one knows the ins and outs of the underlying scripting. That would only (only?) leave using transcript to replicate the calls made be the rpControl external (have I got this right, Bob?). The end result should be as "cross platform" as evolution itself. rpControl could provide the "blueprint" while RunRev could code the "hooks" Come on guys! Let's get this together! on 8/25/02 11:27 PM, Brad Allen at BradAllen at mac.com wrote: >> Seems very silly to "re-invent the wheel",espeicially when the Bob Greenberg >> (bob at rpControl.com), the current owner of this product is VERY willing to >> make a deal with RunRev. >> >> Why not do the deal, make the necessary conversions and offer the RunRev >> Reports product as a "value added" additional product, the profits from >> which could be shared by both RunRev and rpControl LLC. >> > > I agree. I would buy such a product if it were priced in the $100 range. > > At 11:57 AM -0700 8/25/02, Richard Gaskin wrote: >> No need. Native Transcript can handle pretty much anything you need, and >> wuld be available for all supported platforms rather than Mac OS only. All > > True, Reports Datapro is Mac-only, for now. FYI, FileMaker Pro can > create runtime standalones for both Mac and Windows. Designing a > report, with break sections, subsummaries, etc., is considerably > quicker and easier in FileMaker than in Rev. > > At 11:57 AM -0700 8/25/02, Richard Gaskin wrote: >> In the meantime, report printing in Rev is more work than in HC, but also >> more flexible and certainly not impossible. You can create a printing stack > > Designing a printing stack with header sections, detail sections, > subsummaries, break sections, trailing grand summaries, all of > changeable length to accomodate arbitrary data sets...sounds like a > major programming project. > > Another idea is to export the desired data as XML and run it through > a utility like XMLmill to convert to PDF. ( > http://www.xmlmill.com/controller.jsp?pageid=110 ) I suspect there > is a database reporting-oriented XML namespace and DTD somewhere out > there... > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Sun Aug 25 23:31:00 2002 From: katir at hindu.org (Sivakatirswami) Date: Sun Aug 25 23:31:00 2002 Subject: IMAP: Download contents of sub folder Message-ID: Has anyone scripted the downloading the emails of a sub-folder of an IMAP account? We have one that does POP, but we need one that does IMAP. Hinduism Today 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 dan at danshafer.com Mon Aug 26 00:09:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Mon Aug 26 00:09:01 2002 Subject: Some Stacks Won't Open in Finder in OS X? Message-ID: At 10:07 PM -0700 8/25/02, Sarah wrote: >I don't know why this is happening, but I think I can provide a >workaround. Boot Rev and then go to the Finder and double-click the >stack. Once Rev is running, this will open the stack within the Rev >environment. Good thought, Sarah. It worked. 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 ambassador at fourthworld.com Mon Aug 26 02:56:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 26 02:56:01 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: Message-ID: Brad Allen wrote: > True, Reports Datapro is Mac-only, for now. FYI, FileMaker Pro can > create runtime standalones for both Mac and Windows. Designing a > report, with break sections, subsummaries, etc., is considerably > quicker and easier in FileMaker than in Rev. Absolutely. And if you use the Merge format when importing into FileMaker you get to specify field names as well. If you're making an internal production tool that would be a great cost-effective solution; there are many ways MC and FileMaker can work together. But if you're shipping a commercial application, it's just not a very integrated design to launch another program when the user selects "Print..." Most apps support printing internally, and Rev-based app can as well. > Designing a printing stack with header sections, detail sections, > subsummaries, break sections, trailing grand summaries, all of > changeable length to accomodate arbitrary data sets...sounds like a > major programming project. Only if you truly need all possible configurations of all of those features -- at that point you're not writing a print routine, but rather a printing library. If you just need to get a report out the door while someone else writes a generalized printllib, describe what you need and maybe we can all benefit from looking at how a specific printing task would be solved using Rev 1.1 out of the box. It's quite a capable little engine -- check out these property entries in the Language Guide: printCardBorders printColors printGutters printMargins printPaperSize printRowsFirst printScale -- 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 kevin at runrev.com Mon Aug 26 05:15:01 2002 From: kevin at runrev.com (Kevin Miller) Date: Mon Aug 26 05:15:01 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: Message-ID: On 25/8/02 10:30 pm, Alan Gayne wrote: > Seems very silly to "re-invent the wheel",espeicially when the Bob Greenberg > (bob at rpControl.com), the current owner of this product is VERY willing to > make a deal with RunRev. > > Why not do the deal, make the necessary conversions and offer the RunRev > Reports product as a "value added" additional product, the profits from > which could be shared by both RunRev and rpControl LLC. > > Not doing this makes about as much sense as a major league baseball strike. > Both side lose if they can't make a deal. Everything that is needed to do a complete reports generator is already included in Revolution. Adapting Reports pro would: Be a significant undertaking because of the huge number of enhancements between Revolution and HyperCard Result in a solution that only works on the Mac OS The amount of work in doing that is going to be greater than writing a native reports generator with a modern feature set in Revolution. Such a feature would then work on all platforms that Revolution supports without any externals. That?s what we're doing. And it won't be long now. 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 gbrucelewis at sympatico.ca Mon Aug 26 06:01:01 2002 From: gbrucelewis at sympatico.ca (Bruce Lewis) Date: Mon Aug 26 06:01:01 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: References: Message-ID: At 10:27 PM -0500 8/25/02, Brad Allen wrote: >I agree. I would buy such a product if it were priced in the $100 range. > Reports has always been a high-priced product (except perhaps for the very first release). Current prices are $249.99 U.S. for **each** of the four components, $1,000 altogether (although we may only be talking about two or three of the components). Upgrades are $149.99 each (though there is a single $149.99 upgrade of "Office", which I believe has all the other components). I've paid this kind of price several times over the years (with no reduction for small site licences). How much royalty would have to be added to the base price of the product if it were licenced for Revolution? Revolution should do their own. Regards, Bruce From kenl34 at earthlink.net Mon Aug 26 06:09:01 2002 From: kenl34 at earthlink.net (Ken Lipscomb) Date: Mon Aug 26 06:09:01 2002 Subject: Using Windows DLL's and COM objects In-Reply-To: <002301c24cb6$17ed6d30$6401a8c0@mckinley.dom> Message-ID: <001301c24cf0$c2509c40$6501a8c0@vaio> That is what I thought. Does the Rev architecture allow for a stable and scalable external implementation? Ken -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Ken Ray Sent: Monday, August 26, 2002 12:07 AM To: use-revolution at lists.runrev.com Subject: Re: Using Windows DLL's and COM objects Ken, Not naturally. An external would need to be written for Rev to allow connectivity to other DLLs or COM objects. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: Ken Lipscomb To: use-revolution at lists.runrev.com Sent: Sunday, August 25, 2002 2:34 PM Subject: Using Windows DLL's and COM objects Is there any way of using Windows DLL's and/or COM objects with RunRev? I would like to call the WindowsMediaPlayer COM object. Ken Lipscomb -------------- next part -------------- An HTML attachment was scrubbed... URL: From janschenkel at yahoo.com Mon Aug 26 06:37:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Aug 26 06:37:01 2002 Subject: Reports DataPro, Rev, and Blender3D In-Reply-To: Message-ID: <20020826113547.52714.qmail@web11901.mail.yahoo.com> Hi Kevin, Thank you very much for putting in some feedback on this topic, on behalf of the RunRev team. I do agree that an integrated solution is the way to go. And as I studied the possibility of writing a report generator for RunRev, I've come to some pretty good conclusions for what would be needed just for us, which doesn't apply to all the RunRev developers. So I'm really looking forward to a RunRev-backed solution. However the phrase "And it won't be long now" is cryptic at best. Is it scheduled for 1.5, 1.6, 2.0, ... ? Just so we have an idea of when we can expect it, as that will influence not only the decision at our own company, but at other companies as well, I'm sure. In our projected development cycle, we would _need_ a report generator by next June, so we can have our product out the door on schedule. We have a lot to code before we get down to the actual reports -- that would be the last part to port from FoxPro to RunRev, after we've redone the gui and business logic. But the question remains: are we talking about 3, 6, 9 or 12 months from now? Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Kevin Miller wrote: > On 25/8/02 10:30 pm, Alan Gayne > wrote: > > > Seems very silly to "re-invent the > wheel",espeicially when the Bob Greenberg > > (bob at rpControl.com), the current owner of this > product is VERY willing to > > make a deal with RunRev. > > > > Why not do the deal, make the necessary > conversions and offer the RunRev > > Reports product as a "value added" additional > product, the profits from > > which could be shared by both RunRev and rpControl > LLC. > > > > Not doing this makes about as much sense as a > major league baseball strike. > > Both side lose if they can't make a deal. > > Everything that is needed to do a complete reports > generator is already > included in Revolution. Adapting Reports pro would: > > Be a significant undertaking because of the huge > number of enhancements > between Revolution and HyperCard > > Result in a solution that only works on the Mac OS > > The amount of work in doing that is going to be > greater than writing a > native reports generator with a modern feature set > in Revolution. Such a > feature would then work on all platforms that > Revolution supports without > any externals. That?s what we're doing. And it > won't be long now. > > 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. > > _______________________________________________ > 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 tony.perry at numbat.com Mon Aug 26 06:58:01 2002 From: tony.perry at numbat.com (Digital Studio (Australia) Pty Ltd) Date: Mon Aug 26 06:58:01 2002 Subject: Using Revolution for server-side scripts Message-ID: <004101c24cf7$f84d6510$7d868890@goblin> Great idea Jacqueline. Unfortunately it didn't work for me, the error message from my hosts server remained the same. I placed a dummy file named, libXext.so.6 into my cgi-bin directory (didn't know where else to put it) but I suspect the Revolution engine expects to find these shared files in a different location, such as /usr/lib. Regards Tony Perry From matt.denton at limelight.com.au Mon Aug 26 08:14:01 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Mon Aug 26 08:14:01 2002 Subject: OSX and Application Menu In-Reply-To: <200208260321.XAA01795@www.runrev.com> Message-ID: <76F4C490-B8F3-11D6-8451-000393924880@limelight.com.au> Hi-ya all, I'm trying to add Preferences to the Application menu in OSX (First menu before the File Menu), just below the 'About' menu. Went through the documentation but can't seem to be able to add more than one item to the the Application menu, strangely accomplished by adding to the Help menu (I guess for cross-platform compatibility, as per the docs). How can I add a Command Q to the Quit in the OSX Application menu *(currently it automatically appears, but without the command-key equivalent)? How can I add a Preferences menu, under my about box, in the OSX Application menu? Can I more menu choices to this menu? (I keep having long dry spells away from Rev but love it when I come back, apologies if this has been covered earlier (I had a quick hunt in the List archives). Any help would be appreciated, M@ Matt Denton From matt.denton at limelight.com.au Mon Aug 26 08:18:00 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Mon Aug 26 08:18:00 2002 Subject: HTML not plain, sorry In-Reply-To: <76F4C490-B8F3-11D6-8451-000393924880@limelight.com.au> Message-ID: Whoops, how annoying! Sorry, forgot to turn off default HTML text, apologies. M@ From kray at sonsothunder.com Mon Aug 26 08:43:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 26 08:43:01 2002 Subject: Using Windows DLL's and COM objects References: <001301c24cf0$c2509c40$6501a8c0@vaio> Message-ID: <001301c24d05$bef026a0$6f00a8c0@mckinley.dom> MessageIf what you mean by "scalable" is that it will continue to work with new versions of Rev, the answer is "yes". If you mean is it flexible enough to call *any* DLL, that would depend on how the external for Rev was written; it is far easier to write an external that acts as an API to a specific Windows DLL than it is to try and write one that will call *any* DLL (a large undertaking because of the structs and custom types needed to be passed as params to DLLs like user32.dll/shell32.dll/etc.). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: Ken Lipscomb To: use-revolution at lists.runrev.com Sent: Monday, August 26, 2002 6:07 AM Subject: RE: Using Windows DLL's and COM objects That is what I thought. Does the Rev architecture allow for a stable and scalable external implementation? Ken -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Ken Ray Sent: Monday, August 26, 2002 12:07 AM To: use-revolution at lists.runrev.com Subject: Re: Using Windows DLL's and COM objects Ken, Not naturally. An external would need to be written for Rev to allow connectivity to other DLLs or COM objects. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: Ken Lipscomb To: use-revolution at lists.runrev.com Sent: Sunday, August 25, 2002 2:34 PM Subject: Using Windows DLL's and COM objects Is there any way of using Windows DLL's and/or COM objects with RunRev? I would like to call the WindowsMediaPlayer COM object. Ken Lipscomb -------------- next part -------------- An HTML attachment was scrubbed... URL: From cowhead at mac.com Mon Aug 26 08:46:02 2002 From: cowhead at mac.com (mark mitchell) Date: Mon Aug 26 08:46:02 2002 Subject: global variables In-Reply-To: <200208252125.RAA27722@www.runrev.com> Message-ID: On Monday, August 26, 2002, at 06:25 AM, use-revolution- request at lists.runrev.com wrote: > The global keyword is adopted from HyperCard 1.0, and has been a part > of all > xTalk implementation since. How else would the engine know whether to > treat > a variable as local or global without such a keyword? Presumably it would maintain a list and then every time you used a variable, it would have to check to see if it was in the list. But once you added a variable to the list, you would never have to add it again, which would be a nice feature. How many times have you made the error of forgetting to declare a global variable in subsequent handlers? Maybe I'm a bit brain-dead, but I must have made that error some 30 times. mark mitchell Japan From matt.denton at limelight.com.au Mon Aug 26 09:12:01 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Mon Aug 26 09:12:01 2002 Subject: Clone and invisible stacks In-Reply-To: <200208261244.IAA09743@www.runrev.com> Message-ID: <8C78FABA-B8FD-11D6-8451-000393924880@limelight.com.au> Hello. I'm trying to clone a stack and keep it invisible while certain visual aspects (such as size) are fixed up on it before showing. Unfortunately cloning shows the stack, even if the stack is way off screen, or invisible etc. Well call me pedantic... but making it immediately invisible shows it for a second, no matter what I do. Not very good. My question is: does anyone know how to effectively copy a stack, complete, into an off-screen or invisible empty stack? Essentially cloning but not showing the stack till later. The only way I can think of at this stage is to duplicate the actual disk file, rename it etc. Pretty sloppy. Again I've searched the docs and I"m sure it is staring me in the face (it's 2am). Any help?>? Many thanks yet again. M@ From rcozens at pon.net Mon Aug 26 09:54:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Aug 26 09:54:01 2002 Subject: Clone and invisible stacks In-Reply-To: <8C78FABA-B8FD-11D6-8451-000393924880@limelight.com.au> References: <8C78FABA-B8FD-11D6-8451-000393924880@limelight.com.au> Message-ID: >My question is: does anyone know how to effectively copy a stack, >complete, into an off-screen or invisible empty stack? Essentially >cloning but not showing the stack till later. Hi Matt, Look at the doFileNew handler in the stack script of Richard Gaskin's components/help/tutorial/Employee Database.rev. -- 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 Mon Aug 26 09:54:22 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Aug 26 09:54:22 2002 Subject: global variables In-Reply-To: References: Message-ID: >>The global keyword is adopted from HyperCard 1.0, and has been a part of all >>xTalk implementation since. How else would the engine know whether to treat >>a variable as local or global without such a keyword? > >Presumably it would maintain a list and then every time you used a >variable, it would have to check to see if it was in the list. But >once you added a variable to the list, you would never have to add >it again, which would be a nice feature. Whoa Mark, That would mean every time one wrote a handler one would have to check EVERY local variable name to make sure it was not on the global list. This would include handlers in other people's stacks as well as your own. As an aside, just as Revolution has less need to use externals than HyperCard, it also has less need to use global variables. One can define local variables that are shared by all handlers in a script and whose values persist until the stack is closed. I was able to replace all globals in my original HyperCard library design with locally-declared variables. -- 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 Mon Aug 26 10:13:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Aug 26 10:13:01 2002 Subject: Using Windows DLL's and COM objects In-Reply-To: <001301c24d05$bef026a0$6f00a8c0@mckinley.dom> Message-ID: On Monday, August 26, 2002, at 07:37 AM, Ken Ray wrote: > If what you mean by "scalable" is that it will continue to work > with new versions of Rev, the answer is "yes". If you mean is it > flexible enough to call *any* DLL, that would depend on how the > external for Rev was written; it is far easier to write an > external that acts as an API to a specific Windows DLL than it is > to try and write one that will call *any* DLL (a large undertaking > because of the structs and custom types needed to be passed as > params to DLLs like user32.dll/shell32.dll/etc.). Some years ago I used LabView quite a bit and I miss it. It included the ability to call DLLs in enough ways that I found it useful. I think an external that can handle a large class of DLL calls would be handy. Dar Scott From rcozens at pon.net Mon Aug 26 10:18:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Aug 26 10:18:00 2002 Subject: global variables Message-ID: >One can define local variables that are shared by all handlers in a script >and whose values persist until the stack is closed. One last note: although declared locally in one script, local variables in a stack script can be read and changed anywhere in the stack by providing get and set handlers. If the stack is a library, the variables can be read and changed by handlers in other stacks as well. Example stack script -- local pseudoGlobal -- stack handlers that use pseudoGlobal internally on addPG aNumber add aNumber to pseudoGlobal end addPG on subtractPG aNumber subtract aNumber from pseudoGlobal end subtractPG -- stack handlers that allow access to pseudoGlobal outside the stack script function getPG return pseudoGlobal end getPG on setPG theValue put theValue into pseudoGlobal end setPG -- 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 Mon Aug 26 11:08:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Aug 26 11:08:01 2002 Subject: Script Editor Opening Positioning Message-ID: Hi All, Is there a way to get the Script Editor to open a script scrolled to the last handler edited...without setting a bookmark? (A generic "Last" bookmark that resets when the script closes would suffice.) -- 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 sanke at hrz.uni-kassel.de Mon Aug 26 11:52:01 2002 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Mon Aug 26 11:52:01 2002 Subject: Some Stacks Won't Open in Finder in OS X? Message-ID: <3D6A5CFF.E616C6FD@hrz.uni-kassel.de> On Sun, 25 Aug 2002 Sarah Reichelt wrote: (snip) > Another option is to make sure that the filetype & creator codes are > set correctly. In the User contributions section of the Rev website, I > posted an AppleScript droplet called Rev Droplet File Type Converter, > that can do this for you. > I encountered a maybe related problem, where Sarah Reichelt's "Rev Droplet" proved to be valuable. It concerns the transfer of stacks created with the Windows version of Metacard 2.4.3 to the latest MacOSX of Metacard. As there may be similar problems with transferring Rev files from Windows to MacX (I did so far not have time to explore this) I cite my post here to the Metacard list: > To: metacard at lists.runrev.com > > Subject: Transferring Metacard 2.4.3 stacks from Windows to MacOSX > > This problem may be related to the thread "Mac OS X Bug?: MetaCard won't open its own stacks". > > I tried to open stacks created with Metacard 2.4.3 Windows (the latest available build of July, 28th) in Metacard > 2.4.3X (build of August 20th) under MacOS 10.1.4. > > The stacks appear as dimmed and cannot be opened. Adjusting the file type with Filetyper under MacOS 9.2.2 before > (I do not have a filetyper for OSX, nor could I find one) does not help here. > > But I found two workarounds: > > 1. Happily I came across an older MetaCardCarbon 2.4 (build 3) version that could open the Windows 2.4.3 stacks. > Once saved in the MetaCardCarbon version, the stacks are now accessible in Metacard 2.4.3X. > > I noticed another advantage of the older MetaCardCarbon version: You can open ".rev"-files because there is a filter ( > You can do that in the latest Windows version, too), but you cannot do this in Metacard 2.4.3X. > > 2. The other workaround I found is to use the "RevDroplet" of Sarah Reichelt. This can be downloaded from the > developers contributions from the RunRev site (www.runrev.com). > > You drop your Metacard-Windows stack on the droplet, get a Metacard stack with a Rev icon, but can then open the > stack under Metacard 2.4.3X.- > > Request: Could the described features of the MetacarCardCarbon version not be re-integrated into the new Metacard > 2.4.3X version? > > Regards, > > Wilhelm Sanke > From gary.rathbone at btclick.com Mon Aug 26 12:21:01 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Mon Aug 26 12:21:01 2002 Subject: Look Sidewards - Reports DataPro / Standard Protocols Message-ID: <002001c24d24$9c6e4930$862e22d9@server> Depends what you mean by a "Report Generator". Rev can talk to anything, although sometimes may need a 'standard translator'. Just thought I'd post my experiments at... http://www.garyrathbone.net/repgen/ Regards Gary Rathbone -------------- next part -------------- An HTML attachment was scrubbed... URL: From kenl34 at earthlink.net Mon Aug 26 12:24:01 2002 From: kenl34 at earthlink.net (Ken Lipscomb) Date: Mon Aug 26 12:24:01 2002 Subject: Using Windows DLL's and COM objects In-Reply-To: Message-ID: <000201c24d25$1de9b760$6501a8c0@vaio> Agreed. Cheers, Ken -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Dar Scott Sent: Monday, August 26, 2002 11:09 AM To: use-revolution at lists.runrev.com Subject: Re: Using Windows DLL's and COM objects On Monday, August 26, 2002, at 07:37 AM, Ken Ray wrote: > If what you mean by "scalable" is that it will continue to work > with new versions of Rev, the answer is "yes". If you mean is it > flexible enough to call *any* DLL, that would depend on how the > external for Rev was written; it is far easier to write an > external that acts as an API to a specific Windows DLL than it is > to try and write one that will call *any* DLL (a large undertaking > because of the structs and custom types needed to be passed as > params to DLLs like user32.dll/shell32.dll/etc.). Some years ago I used LabView quite a bit and I miss it. It included the ability to call DLLs in enough ways that I found it useful. I think an external that can handle a large class of DLL calls would be handy. Dar Scott _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From bvlahos at jpl.nasa.gov Mon Aug 26 12:28:00 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Mon Aug 26 12:28:00 2002 Subject: Add options to open dialog Message-ID: How can I add options to the answer file dialog box? For example, my program can open different formatted text log files but since the format (field order) is different for each type I want the user to be able to specify which format to use. I don't see any options to specify this. Any suggestions? Bill Vlahos From BradAllen at mac.com Mon Aug 26 13:11:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Mon Aug 26 13:11:01 2002 Subject: obtain file version info under Windows In-Reply-To: <001901c24cb5$fcfa2a40$6401a8c0@mckinley.dom> References: <001901c24cb5$fcfa2a40$6401a8c0@mckinley.dom> Message-ID: I'm working on a Rev stack to inventory software on client computers at work and dump the results on an FTP server. On the Mac side, I just generate a report from the Apple System Profiler, but on Windows PCs I'm using the DOS "dir /S" command to collect all the filenames on each local filesystem. Unfortunately, the "dir" command doesn't collect the version information for application files; all I can get are filenames, modification dates, and filesizes. I'm trying to get the version of files like winword.exe. >I'd assume it's in the registry, but I'm not sure exactly what you are >looking to find... can you be a bit more specific? > >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, August 25, 2002 1:17 PM >Subject: obtain file version info under Windows > > >> Obtaining the version of an application file is easy under Mac OS >> using Applescript, but how do you obtain file meta-data under >> Windows? I've seen another app called NetOctopus obtain this >> meta-data about files on Windows systems, so it has to be available >> somehow. Is it possible to get this using Rev? >> >> 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 steve at messimercomputing.com Mon Aug 26 14:00:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Mon Aug 26 14:00:01 2002 Subject: Clone and invisible stacks Message-ID: Matt, MAybe this is too simple but it might be worth a try. Have you tried locking the screen until you are done with what ever you want to do? Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From Roger.E.Eller at sealedair.com Mon Aug 26 14:02:01 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Mon Aug 26 14:02:01 2002 Subject: Look Sidewards - Reports DataPro / Standard Protocols Message-ID: Gary, I must say that this integrated connectivity "out of the box" that Rev offers is AWSOME! I have bookmarked your link for future reference. Thanks for sharing the experience. ~Roger Eller > Depends what you mean by a "Report Generator".? Rev can talk to anything, although > sometimes may need a 'standard translator'. Just thought I'd post my experiments at... > > http://www.garyrathbone.net/repgen/ > > > Regards > > Gary Rathbone From janschenkel at yahoo.com Mon Aug 26 14:04:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Aug 26 14:04:01 2002 Subject: Look Sidewards - Reports DataPro / Standard Protocols In-Reply-To: <002001c24d24$9c6e4930$862e22d9@server> Message-ID: <20020826190212.19769.qmail@web11906.mail.yahoo.com> Hi Gary, First of all, my compliments for your clever use of the links Rev can make to other environments (the Web, Excel, Word,...). The main issue here, however, is getting data onto paper. We cannot expect our customers to buy Word or Excel just to be able to print a report from an invoicing application written in RunRev. And even though HTML can get you a long way, it's hardly WYSIWYG if it has to fit into a particular 7 x 30 mm spot on a preprinted form. Yes, we can do all this within RunRev, building report-stacks with cards that have everything hand-tweaked. Which is why I'm looking forward very much to the report generator that's upcoming. Once again, it's good to see that RunRev integrates so easily with other applications. It only makes me more confident that RunRev is an excellent choice to replace our current development environments with. Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Gary Rathbone wrote: > Depends what you mean by a "Report Generator". Rev > can talk to anything, although sometimes may need a > 'standard translator'. Just thought I'd post my > experiments at... > > http://www.garyrathbone.net/repgen/ > > > Regards > > Gary Rathbone > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From jacque at hyperactivesw.com Mon Aug 26 14:05:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Aug 26 14:05:01 2002 Subject: Using Revolution for server-side scripts References: <200208261244.IAA09730@www.runrev.com> Message-ID: <3D6A7B96.3000202@hyperactivesw.com> "Digital Studio \(Australia\) Pty Ltd" wrote: > Great idea Jacqueline. > > Unfortunately it didn't work for me, the error message from my hosts server > remained the same. I placed a dummy file named, libXext.so.6 into my > cgi-bin directory (didn't know where else to put it) but I suspect the > Revolution engine expects to find these shared files in a different > location, such as /usr/lib. As I mentioned, I didn't get a chance to try it, but the dummy files should go in the same place with the rest of the Apache libraries. In my case (and probably for most people who rent a web hosting company,) the libraries are part of the main Apache install on the server, outside of any user domain. I had no access to that location and I had to ask my ISP to place them there for me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Roger.E.Eller at sealedair.com Mon Aug 26 14:13:01 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Mon Aug 26 14:13:01 2002 Subject: Using Revolution for server-side scripts Message-ID: Wouldn't it be great if the Revolution/MetaCard engine (and necessary libraries) could be part of a major Linux distribution like Red Hat so that Apache would be ready to process rev scripts by default? I know that because of the legalities it can't happen, but just let me dream please. ~Roger Eller > "Digital Studio \(Australia\) Pty Ltd" wrote: > >> Great idea Jacqueline. >> >> Unfortunately it didn't work for me, the error message from my hosts server >> remained the same. I placed a dummy file named, libXext.so.6 into my >> cgi-bin directory (didn't know where else to put it) but I suspect the >> Revolution engine expects to find these shared files in a different >> location, such as /usr/lib. > > As I mentioned, I didn't get a chance to try it, but the dummy files > should go in the same place with the rest of the Apache libraries. In my > case (and probably for most people who rent a web hosting company,) the > libraries are part of the main Apache install on the server, outside of > any user domain. I had no access to that location and I had to ask my > ISP to place them there for me. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Aug 26 14:40:06 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Aug 26 14:40:06 2002 Subject: Look Sidewards - Reports DataPro / Standard Protocols In-Reply-To: <20020826190212.19769.qmail@web11906.mail.yahoo.com> Message-ID: Jan Schenkel wrote: > The main issue here, however, is getting data onto > paper. We cannot expect our customers to buy Word or > Excel just to be able to print a report from an > invoicing application written in RunRev. .. > Yes, we can do all this within RunRev, building > report-stacks with cards that have everything > hand-tweaked. Which is why I'm looking forward very > much to the report generator that's upcoming. The invitation from yesterday still stands: If you just need to get a report out the door while someone else writes a generalized printllib, describe what you need and maybe we can all benefit from looking at how a specific printing task would be solved using Rev 1.1 out of the box. -- 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 Mon Aug 26 15:36:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Aug 26 15:36:01 2002 Subject: Look Sidewards - Reports DataPro / Standard Protocols In-Reply-To: Message-ID: <20020826203432.76906.qmail@web11903.mail.yahoo.com> --- Richard Gaskin wrote: > Jan Schenkel wrote: > > > The main issue here, however, is getting data onto > > paper. We cannot expect our customers to buy Word > or > > Excel just to be able to print a report from an > > invoicing application written in RunRev. > .. > > Yes, we can do all this within RunRev, building > > report-stacks with cards that have everything > > hand-tweaked. Which is why I'm looking forward > very > > much to the report generator that's upcoming. > > The invitation from yesterday still stands: > > If you just need to get a report out the door > while > someone else writes a generalized printllib, > describe what you need and maybe we can all > benefit > from looking at how a specific printing task > would > be solved using Rev 1.1 out of the box. > > > -- > Richard Gaskin > Hi Richard, 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 :-) Jan Schenkel. __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com From kray at sonsothunder.com Mon Aug 26 15:52:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Aug 26 15:52:00 2002 Subject: obtain file version info under Windows References: <001901c24cb5$fcfa2a40$6401a8c0@mckinley.dom> Message-ID: <004801c24d41$941062b0$6f00a8c0@mckinley.dom> Sorry, Brad... I don't know how to get at that data. I would suspect that this information is in the binary header data of each executable, and that NetOctopus (and the like) find the path to the executables on a PC by looking in HKEY_CLASSES_ROOT and following the "shell" path to the file extension's owner. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Brad Allen" To: Sent: Monday, August 26, 2002 1:09 PM Subject: Re: obtain file version info under Windows > I'm working on a Rev stack to inventory software on client computers > at work and dump the results on an FTP server. On the Mac side, I > just generate a report from the Apple System Profiler, but on Windows > PCs I'm using the DOS "dir /S" command to collect all the filenames > on each local filesystem. Unfortunately, the "dir" command doesn't > collect the version information for application files; all I can get > are filenames, modification dates, and filesizes. I'm trying to get > the version of files like winword.exe. > > >I'd assume it's in the registry, but I'm not sure exactly what you are > >looking to find... can you be a bit more specific? > > > >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, August 25, 2002 1:17 PM > >Subject: obtain file version info under Windows > > > > > >> Obtaining the version of an application file is easy under Mac OS > >> using Applescript, but how do you obtain file meta-data under > >> Windows? I've seen another app called NetOctopus obtain this > >> meta-data about files on Windows systems, so it has to be available > >> somehow. Is it possible to get this using Rev? > >> > >> 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 > > _______________________________________________ > 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 Aug 26 16:14:01 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Mon Aug 26 16:14:01 2002 Subject: Look Sidewards - Reports DataPro / Standard Protocols References: <20020826203432.76906.qmail@web11903.mail.yahoo.com> Message-ID: <012501c24d45$24309100$e02d22d9@server> >On 26th August Jan Schenkel wrote... >--snip-- >The main issue here, however, is getting data onto >paper. We cannot expect our customers to buy Word.... --snip-- >What we need to print is... --snip-- >Hmm, I guess I'll stop rambling here and let other >people post their suggestions/remarks :-) --snip-- > >On 26th August Richard Gaskin wrote: >If you just need to get a report out the door while someone else writes a generalized printllib, describe what you >need and maybe we can all benefit. > >On 26th August Kevin Miller wrote : >Everything that is needed to do a complete reports generator is already >included in Revolution... Looks like your on the way to writing a Spec !!! Rev can do everything you require... From gary.rathbone at btclick.com Mon Aug 26 16:28:01 2002 From: gary.rathbone at btclick.com (Gary Rathbone) Date: Mon Aug 26 16:28:01 2002 Subject: Using Revolution for server-side scripts References: Message-ID: <015401c24d47$19debe00$e02d22d9@server> Not too sure on the *nix stuff. BUT surely a Rev Appliacation on a server (Mac, Win, *nix) would provide the necessary functionality... If the app was self contained and didn't require .lib .dll etc then the remote server platform would be irrelevant (bar the exe upload !) Just a thought... Gary Rathbone ----- Original Message ----- From: To: Sent: Monday, August 26, 2002 8:12 PM Subject: Re: Using Revolution for server-side scripts > > Wouldn't it be great if the Revolution/MetaCard engine (and necessary > libraries) could be part of a major Linux distribution like Red Hat so that > Apache would be ready to process rev scripts by default? I know that > because of the legalities it can't happen, but just let me dream please. > > ~Roger Eller > > > > "Digital Studio \(Australia\) Pty Ltd" wrote: > > > >> Great idea Jacqueline. > >> > >> Unfortunately it didn't work for me, the error message from my hosts > server > >> remained the same. I placed a dummy file named, libXext.so.6 into my > >> cgi-bin directory (didn't know where else to put it) but I suspect the > >> Revolution engine expects to find these shared files in a different > >> location, such as /usr/lib. > > > > As I mentioned, I didn't get a chance to try it, but the dummy files > > should go in the same place with the rest of the Apache libraries. In my > > case (and probably for most people who rent a web hosting company,) the > > libraries are part of the main Apache install on the server, outside of > > any user domain. I had no access to that location and I had to ask my > > ISP to place them there for me. > > > > > > -- > > 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 shaosean at unitz.ca Mon Aug 26 21:00:10 2002 From: shaosean at unitz.ca (Shao Sean) Date: Mon Aug 26 21:00:10 2002 Subject: [ANN] libString 1.0.0 and objCalendar 1.1.2 Message-ID: <000f01c24d6c$8d0cfac0$88b15bd1@lanfear> Based on the discussion on the mailing list (RunRev) lately about a trim function, I went to PHP.net and copied some of their string functions and put them into a library for others to use. A list of the current features are as follows: - libString_pad : pad a string to a certain length with another string - libString_ltrim : strip whitespace from the beginning of a string - libString_rtrim : strip whitespace from the end of a string - libString_trim : strip whitespace from the beginning and end of a string - libString_explode : splits a string into an array - libString_quotedPrintableEncode : converts an 8-bit string into quoted-printable string - libString_repeat : repeats a string - libString_reverse : reverses a string - libString_wrap : wraps a string to lines of a specificed length If you feel like contributing to the library feel free to email me =) And based on email feedback from a user (please email me so i can give you credit, i deleted the emails from you =/ ) I've updated the calendar object. What's new: - today's date is in bold - clicked date is hilited in blue - can trap for user navigation - can script navigation - clicking month/year header displays the months for jumping - option/alt clicking navigation arrows jumps by a year instead of month Thank you for your interest ^_^ -- Shao Sean http://www.shaosean.tk/ From janschenkel at yahoo.com Mon Aug 26 21:05:00 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Aug 26 21:05:00 2002 Subject: Look Sidewards - Reports DataPro / Standard Protocols In-Reply-To: <012501c24d45$24309100$e02d22d9@server> Message-ID: <20020827020306.12771.qmail@web11902.mail.yahoo.com> --- Gary Rathbone wrote: > >On 26th August Jan Schenkel > wrote... > >--snip-- > >The main issue here, however, is getting data onto > >paper. We cannot expect our customers to buy > Word.... --snip-- > >What we need to print is... --snip-- > >Hmm, I guess I'll stop rambling here and let other > >people post their suggestions/remarks :-) --snip-- > > > >On 26th August Richard Gaskin > wrote: > >If you just need to get a report out the door > while someone else writes a > generalized printllib, describe what you >need and > maybe we can all benefit. > > > >On 26th August Kevin Miller wrote : > >Everything that is needed to do a complete reports > generator is already > >included in Revolution... > > Looks like your on the way to writing a Spec !!! Rev > can do everything you > require... > Heh, while I'm at it, I might as well drag out the 'needs' and 'wishes' list :-) Fields are placed (within the band) either: [need] - at a fixed place from the top, or - at a fixed place from the top but can stretch vertically, or - at a fixed place from the bottom (so they automatically stay below the stretching fields) Fields can be printed conditionally [need] and styling and colour can be set conditionally as well [wish] And perhaps the most flexible thing that's been going round in my head: 'print' to an XML file, by setting the tag and sub-tag/attribute information. [wish] Example: The band in which a field resides has tag 'customer' Field itself has: tag 'customer' attribute 'memo' In the XML file the content of the field would be automatically placed within the enclosing ... block, within its own ... block. Now that I've got that off my chest, I'm going back to bed :-) 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 drvaughan55 at mac.com Mon Aug 26 22:07:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Mon Aug 26 22:07:01 2002 Subject: global variables In-Reply-To: Message-ID: On Tuesday, August 27, 2002, at 12:52 , Rob Cozens wrote: >>> The global keyword is adopted from HyperCard 1.0, and has been a part >>> of all >>> xTalk implementation since. How else would the engine know whether >>> to treat >>> a variable as local or global without such a keyword? >> >> Presumably it would maintain a list and then every time you used a >> variable, it would have to check to see if it was in the list. But >> once you added a variable to the list, you would never have to add it >> again, which would be a nice feature. > > Whoa Mark, > > That would mean every time one wrote a handler one would have to check > EVERY local variable name to make sure it was not on the global list. > This would include handlers in other people's stacks as well as your > own. > > As an aside, just as Revolution has less need to use externals than > HyperCard, it also has less need to use global variables. One can > define local variables that are shared by all handlers in a script and > whose values persist until the stack is closed. ...and that is the key: declaring global or local variables at the top of scripts rather than in handlers. It was one of the immediate changes I made to HyperCard-patterns of scripting. Better yet, I basically never use globals anyway. On the occasions a local declaration will not serve, I prefer a custom property (of any suitable object). It is globally accessible, persistent and non-conflicting with other variable naming. regards David > > I was able to replace all globals in my original HyperCard library > design with locally-declared variables. > -- > 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 mazzapaolo at libero.it Tue Aug 27 04:11:01 2002 From: mazzapaolo at libero.it (paolo mazza) Date: Tue Aug 27 04:11:01 2002 Subject: Uploading images and Ram exploitation In-Reply-To: <200208252125.RAA27802@www.runrev.com> Message-ID: I wonder how Rev use the RAM memory when an image is uploaded. I realized that when I upload and image from a file of 3000 bytes (jpg or png) Revolution takes more than 1 MB of Ram to handle it. Why? Bye, Paolo From cowhead at mac.com Tue Aug 27 04:37:01 2002 From: cowhead at mac.com (mark mitchell) Date: Tue Aug 27 04:37:01 2002 Subject: globals In-Reply-To: <200208261601.MAA16026@www.runrev.com> Message-ID: <52AA473C-B9A0-11D6-A99D-0030656DAB8E@mac.com> Rob wrote: >> Presumably it would maintain a list and then every time you used a >> variable, it would have to check to see if it was in the list. But >> once you added a variable to the list, you would never have to add >> it again, which would be a nice feature. > > Whoa Mark, > > That would mean every time one wrote a handler one would have to > check EVERY local variable name to make sure it was not on the global > list. This would include handlers in other people's stacks as well > as your own. > Doesn't Rev already do something like this for the built-in constants and properties and what-not on compiling? I have tried to use variable names before which caused the script to fail as the name was already 'taken' by something. > > I was able to replace all globals in my original HyperCard library > design with locally-declared variables. Isn't removing the distinction between global and local variables (by eliminating one entirely) a little like picking all the raisins out of your raisin bran? You do all this extra work to end up with boring bran flakes. Well, to each his own. Whatever works for you. A friendly Australian shared with me off-list the idea of simply making all your globals an array, call it myGlobal. Then you need only declare "global myGlobal" at the start of each handler. Pretty nifty (although typing the variable name within each hadler e.g. myglobal[startTime] becomes a bit more cumbersome.) My own habit is to now simply copy and paste the initial global declaring line from the previous handler into any new handler I start. Keep adding to the line as needed. The list can get long, but you have all your global variable names readily visible (good for Mr. Short-term memory). Using this technique, I haven't made a misspelling or failure to declare error in years. best, mark mitchell Japan From sylvain.legourrierec at son-video.com Tue Aug 27 05:07:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Tue Aug 27 05:07:01 2002 Subject: custom interface? Message-ID: <000801c24db1$4b309360$0801a8c0@sylvain> hello, I am a poor developper used to work with Windows... MacOs habits seem to me very strange! I can't stand with those palettes which remain in background. I would like any window I focus displays in foreground... Is it possible to write a script that automates the process at Revolution start? thanks Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution -------------- next part -------------- An HTML attachment was scrubbed... URL: From ambassador at fourthworld.com Tue Aug 27 07:24:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 27 07:24:01 2002 Subject: custom interface? In-Reply-To: <000801c24db1$4b309360$0801a8c0@sylvain> Message-ID: Sylvain Le Gourri?rec wrote: > I am a poor developper used to work with Windows... MacOs habits seem to me > very strange! I can't stand with those palettes which remain in background. I > would like any window I focus displays in foreground... Alas, palette windows are not merely a Mac window style; they're part of the MS UI spec and can be found on most other OSes as well. Windows apps that use them include Freehand, Dreamweaver, GoLive, Flash, Photoshop, PaintShop Pro, Director.... However, there is the question of which windows really need to be palettes, and which might be better served as modeless. The property sheet windows in VB and ToolBook, for example, are modeless rather than palettes. > Is it possible to write a script that automates the process at Revolution > start? set the raisepalettes to false -- global property -- 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 mrtea at mac.com Tue Aug 27 10:06:01 2002 From: mrtea at mac.com (Mr Tea) Date: Tue Aug 27 10:06:01 2002 Subject: FROM REV to APPLESCRIPT In-Reply-To: Message-ID: This from Ken Ray - dated 12-8-02 05.52 am: > You could take a look at the Tips page on my site... and this from Terry Vogelaar - dated 12-8-02 08.56 am: > The right version is at the bottom of this e-mail Thanks, fellas, and apologies for the delay in acknowledging. I'm just back from my Summer break and will dive into the recommended resources as soon as the choppy waters of my just-installed OS X 10.2 upgrade have calmed down a little. Cordially Nick From mike at cyber-ny.com Tue Aug 27 10:16:01 2002 From: mike at cyber-ny.com (Mike Brown) Date: Tue Aug 27 10:16:01 2002 Subject: Icon Error In-Reply-To: <3D6A5CFF.E616C6FD@hrz.uni-kassel.de> Message-ID: Hello, I am having difficulty producing a suitable icon for my Windows standalone applications. I am currently using "Icon Snatcher" and "Icon Grabber" utilities to convert my PhotoShop bmp files to .ico files. When I go to make my Standalone app from Revs "Build Distribution" stack, I get the following error: "Windows Application icon file is wrong size (must be 744 bytes). Make sure you have created a 16 color icon and try again" I limited my icon color palette to 16 colors and tried some variations but I just can't get it! Any recommendations on method for creating icons or a great utility for converting my graphics to icons? I am more of a Mac user so this topic really baffles me (Mac Icons are easy to deal with). I do have a Windows machine available for the conversion/creation of icons. Any and all recommendations are welcome. Thanks, Mike Mike Brown Cyber-NY Interactive 212-475-2721 1-888-70-CYBER mike at cyber-ny.com From rcozens at pon.net Tue Aug 27 10:33:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Aug 27 10:33:01 2002 Subject: globals In-Reply-To: <52AA473C-B9A0-11D6-A99D-0030656DAB8E@mac.com> References: <52AA473C-B9A0-11D6-A99D-0030656DAB8E@mac.com> Message-ID: Mark, et al: >>That would mean every time one wrote a handler one would have to >>check EVERY local variable name to make sure it was not on the global >>list. This would include handlers in other people's stacks as well >>as your own. >> > >Doesn't Rev already do something like this for the built-in >constants and properties and what-not on compiling? I have tried to >use variable names before which caused the script to fail as the >name was already 'taken' by something. Reserved words are a different animal. For one thing, they are all documented and universally known to all Rev developers. For another, the list cannot be added to by other developers.. If you want your stacks & apps to run seamlessly with other Rev stacks & apps, how would you know what globals were declared in the other peoples' stacks, or what non-declared local handler variables in others' stacks had the same name as your globals? > >> >>I was able to replace all globals in my original HyperCard library >>design with locally-declared variables. > >Isn't removing the distinction between global and local variables >(by eliminating one entirely) a little like picking all the raisins >out of your raisin bran? You do all this extra work to end up with >boring bran flakes. Well, to each his own. Whatever works for you. First, lets make sure we are using the same terms. There is a difference between "locally-declared" variables and "local" variables. HyperTalk allows: 1. global variables, whose values persist until the engine quits and are accessible to any handler in the runtime environment. 2. local variables, whose values persist only so long as the handler runs and are accessible only to that handler. 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. You asked for the functionality of global variables without having to declare the global in every script (you wrote "handler", but I presume you now know you can make the declaration in the script outside of any handlers and have it apply to all that reference the variable). I was trying to show you how that can be done by extending the accessibility of locally-declared variables. To use your analogy, global raisins in my bran are available to any handler in the current runtime environment that wants them. They can also be had accidentally, when the a calling handler asks for raisins, not knowing that another handler has been messing in the bran already. Locally-declared raisins are only available to those handlers within the scope I dictate. So long as the get & set commands have different names in different scripts, duplicate local variable names can never cause a name conflict. IMFO, it is global variable users that risk ending up with boring bran: any handler in any stack/app can get to one's raisins; whereas if a locally-declared variable user winds up with bran, it's because he/she has already eaten all the raisins. -- 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 Tue Aug 27 11:46:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 27 11:46:01 2002 Subject: globals In-Reply-To: Message-ID: Rob Cozens wrote: > First, lets make sure we are using the same terms. There is a > difference between "locally-declared" variables and "local" > variables. HyperTalk allows: > 1. global variables, whose values persist until the engine quits and > are accessible to any handler in the runtime environment. > 2. local variables, whose values persist only so long as the handler > runs and are accessible only to that handler. > > 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. But once you get the hang of using static vars in MC, it may well change your programming style dramatically. These are especially useful for helping to keep code well factored, as they avoid the inter-object name space collisions that make globals problematic, yet persist as globals do. Perfect for making discrete libraries. Also, FWIW the revised Script Style Guide was updated to include reference to this new variable type: -- 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 Zzyzx at Relia.Net Tue Aug 27 11:46:24 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Tue Aug 27 11:46:24 2002 Subject: Icon Error References: Message-ID: <000f01c24de9$0d6b26c0$1901000a@ZZYZX> I had the same exact problem, and couldn't figure it out. I hope someone has an answer for us! :-) - Josh Dye ----- Original Message ----- From: "Mike Brown" To: Sent: Tuesday, August 27, 2002 9:14 AM Subject: Icon Error > Hello, > > I am having difficulty producing a suitable icon for my Windows standalone > applications. I am currently using "Icon Snatcher" and "Icon Grabber" > utilities to convert my PhotoShop bmp files to .ico files. When I go to > make my Standalone app from Revs "Build Distribution" stack, I get the > following error: > > "Windows Application icon file is wrong size (must be 744 bytes). Make sure > you have created a 16 color icon and try again" > > I limited my icon color palette to 16 colors and tried some variations but I > just can't get it! > > Any recommendations on method for creating icons or a great utility for > converting my graphics to icons? I am more of a Mac user so this topic > really baffles me (Mac Icons are easy to deal with). I do have a Windows > machine available for the conversion/creation of icons. Any and all > recommendations are welcome. > > Thanks, > Mike > > Mike Brown > Cyber-NY Interactive > 212-475-2721 > 1-888-70-CYBER > mike at cyber-ny.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Tue Aug 27 12:49:00 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Aug 27 12:49:00 2002 Subject: globals In-Reply-To: Message-ID: On Tuesday, August 27, 2002, at 10:21 AM, Richard Gaskin wrote: > It may > have been less confusing if MC had adopted a new "static" keyword > to reflect > this very different type of declaration. I don't think this word is meaningful to most people. And many programmers may have forgotten the computer science meaning. I like local. Local to a script or local to a handler. Dar Scott From ambassador at fourthworld.com Tue Aug 27 13:50:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue Aug 27 13:50:01 2002 Subject: globals In-Reply-To: Message-ID: Dar Scott wrote: > > On Tuesday, August 27, 2002, at 10:21 AM, Richard Gaskin wrote: > >> It may >> have been less confusing if MC had adopted a new "static" keyword >> to reflect >> this very different type of declaration. > > I don't think this word is meaningful to most people. And many > programmers may have forgotten the computer science meaning. > > I like local. Local to a script or local to a handler. But when we refer to a local var in an explanation or converationally, clarity requires a whole sentence rather than just two syllables ( "no, not that kind of local..."). I understand the thinking behind using that one word for two different things. But as with English homonyms, they slow learning. "static" may not be ideal but any word will require learning; the core question is how to make that learning as simple as possible (e.g., how many times do we need to explain that "destroyStack" does not destroy the stack file? ). -- 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 rpresender at earthlink.net Tue Aug 27 16:28:01 2002 From: rpresender at earthlink.net (Robert Presender) Date: Tue Aug 27 16:28:01 2002 Subject: Icon error/use-revolution digest, Vol 1 #640 Message-ID: Hi Josh and Mike, You may want to try a free download of 'Icon Studio' for Windows PCs at: http://www.html-helper.com. I used it for my Will Creator program (initially done on my Mac put completed and built on my PC. I assume that you have a Windows PC. Regards ... Bob > Hello, > > I am having difficulty producing a suitable icon for my Windows > standalone > applications. I am currently using "Icon Snatcher" and "Icon Grabber" > utilities to convert my PhotoShop bmp files to .ico files. When I go > to > make my Standalone app from Revs "Build Distribution" stack, I get the > following error: > > "Windows Application icon file is wrong size (must be 744 bytes). Make sure > you have created a 16 color icon and try again" > > I limited my icon color palette to 16 colors and tried some variations > but I > just can't get it! > > Any recommendations on method for creating icons or a great utility for > converting my graphics to icons? I am more of a Mac user so this topic > really baffles me (Mac Icons are easy to deal with). I do have a > Windows > machine available for the conversion/creation of icons. Any and all > recommendations are welcome. > > Thanks, > Mike > > Mike Brown > Cyber-NY Interactive > 212-475-2721 > 1-888-70-CYBER > mike at cyber-ny.com > > _____________ From mike at cyber-ny.com Wed Aug 28 08:33:01 2002 From: mike at cyber-ny.com (Mike Brown) Date: Wed Aug 28 08:33:01 2002 Subject: Icon error/use-revolution digest, Vol 1 #640 In-Reply-To: Message-ID: Hi Robert and Josh, Your Solution Worked! Thanks!! The www.html-helper.com web site was very helpful and provides some interesting tools. I downloaded Icon Studio and found that using the 32 x 32 size icon at 16 color setting, I could successfully create an ico file compatible for a Rev standalone exe. I did not find a feature (yet) in Icon Studio that allowed you to import an image file to convert to an icon... for this I used Icon Grabber (available for free at download.com) to import a BMP file and convert to .ico format. You can then import the .ico file into Icon Studio for final tweaking. Cool application. This has saved me a lot of time. Thanks Again, Mike Mike Brown Cyber-NY Interactive 212-475-2721 1-888-70-CYBER mike at cyber-ny.com > From: Robert Presender > Reply-To: use-revolution at lists.runrev.com > Date: Tue, 27 Aug 2002 14:26:24 -0700 > To: use-revolution at lists.runrev.com > Subject: Re:Icon error/use-revolution digest, Vol 1 #640 > > Hi Josh and Mike, > > You may want to try a free download of 'Icon Studio' for Windows PCs at: > http://www.html-helper.com. > > I used it for my Will Creator program (initially done on my Mac put > completed and built on my PC. I assume that you have a Windows PC. > > Regards ... Bob > >> Hello, >> >> I am having difficulty producing a suitable icon for my Windows >> standalone >> applications. I am currently using "Icon Snatcher" and "Icon Grabber" >> utilities to convert my PhotoShop bmp files to .ico files. When I go >> to >> make my Standalone app from Revs "Build Distribution" stack, I get the >> following error: >> >> "Windows Application icon file is wrong size (must be 744 bytes). Make > sure >> you have created a 16 color icon and try again" >> >> I limited my icon color palette to 16 colors and tried some variations >> but > I >> just can't get it! >> >> Any recommendations on method for creating icons or a great utility for >> converting my graphics to icons? I am more of a Mac user so this topic >> really baffles me (Mac Icons are easy to deal with). I do have a >> Windows >> machine available for the conversion/creation of icons. Any and all >> recommendations are welcome. >> >> Thanks, >> Mike >> >> Mike Brown >> Cyber-NY Interactive >> 212-475-2721 >> 1-888-70-CYBER >> mike at cyber-ny.com >> >> _____________ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From matt.denton at limelight.com.au Wed Aug 28 16:42:01 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Wed Aug 28 16:42:01 2002 Subject: Clone and invisible stacks In-Reply-To: <200208262018.QAA25008@www.runrev.com> Message-ID: <9AC6D10C-BACE-11D6-A67B-000393924880@limelight.com.au> Hey-ya Steve Yes, of course, the first step, but didn't work. (Sorry for slow response, I'm only able to pop in now and then to the Rev list!) Thanks anyway. (Maybe it is just OSX that doesn't lock the screen, I haven't tested under OS9 or Windows.) On Tuesday, August 27, 2002, at 06:18 AM, Steve Messimer wrote: > > Have you tried locking the screen until you are done with what ever > you want > to do? > > M@ Matt Denton matt.denton at limelight.com.au From matt.denton at limelight.com.au Wed Aug 28 16:46:01 2002 From: matt.denton at limelight.com.au (Matt Denton) Date: Wed Aug 28 16:46:01 2002 Subject: Clone and invisible stacks In-Reply-To: <200208261601.MAA16080@www.runrev.com> Message-ID: <3BA57A2E-BACF-11D6-A67B-000393924880@limelight.com.au> Thanks Rob, I'll check it out. Sorry about the slow response, I'm only able to pop in drop by the list now and then, work is outrageously busy. Now if I could just get a client to want a job that required Rev and not DVD or other multimedia!###@ Thanks for you kind help , it is greatly appreciated. On Tuesday, August 27, 2002, at 02:01 AM, Rob Cozens wrote: > Hi Matt, > > Look at the doFileNew handler in the stack script of Richard Gaskin's > components/help/tutorial/Employee Database.rev. > M@ Matt Denton matt.denton at limelight.com.au From tim11 at bellatlantic.net Thu Aug 29 02:42:01 2002 From: tim11 at bellatlantic.net (Tim) Date: Thu Aug 29 02:42:01 2002 Subject: CGI Darwin and Rev Message-ID: After following the cgi thread, I successfully created the obligatory "Hello World" cgi script. However after experimenting further with "get URL tURLArticlePath", I realized that the server (local Apache runing on OS X 10. 1.5) would return an empty string. I'm wondering whether this is because of it being an unsupported feature of the Darwin version of the MetaCard engine, or is it something much more arcane? I should add that locally, using the Rev environment this works without a hitch. If any sapient CGI/Rev/Apache/Pearl-knowing guru could explain why, I'd be... TIA, -- Tim From yvescoppe at skynet.be Thu Aug 29 04:27:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Thu Aug 29 04:27:01 2002 Subject: Sort Message-ID: Hi, Can you help me for the "sort lines" command. The sort lines is based on the US language. When I sort lines in French, the lines beginning with an accent as "?" or "?" are at the end of the list. Is it possible to obtain a sort based on international sorting key ? Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From janschenkel at yahoo.com Thu Aug 29 07:02:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Aug 29 07:02:01 2002 Subject: Sort In-Reply-To: Message-ID: <20020829120008.2336.qmail@web11903.mail.yahoo.com> --- yves COPPE wrote: > Hi, > > Can you help me for the "sort lines" command. > > The sort lines is based on the US language. > When I sort lines in French, the lines beginning > with an accent as > "?" or "?" are at the end of the list. > Is it possible to obtain a sort based on > international sorting key ? > Hi Yves, One work-around that's always available, is to first convert the lines to capitals with the toUpper() function. This will get rid of the diacritical marks. If there is no built-in way to change the diacritical-sorting (couldn't find any right away in the docs), you could always: put toUpper(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 And then resultVar should be pretty close to what you want. It will eat some memory of course... 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 rcozens at pon.net Thu Aug 29 08:45:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Aug 29 08:45:01 2002 Subject: Sort In-Reply-To: References: Message-ID: >Is it possible to obtain a sort based on international sorting key ? Salut Yves, From kray at sonsothunder.com Thu Aug 29 08:50:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 29 08:50:01 2002 Subject: Sort References: <20020829120008.2336.qmail@web11903.mail.yahoo.com> Message-ID: <001b01c24f62$2ed5fb80$6601a8c0@mckinley.dom> One gotcha: don't forget to "set the wholeMatches to true" before you do your lineoffset checks, otherwise you might get messed-up results. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Jan Schenkel" To: Sent: Thursday, August 29, 2002 7:00 AM Subject: Re: Sort > --- yves COPPE wrote: > > Hi, > > > > Can you help me for the "sort lines" command. > > > > The sort lines is based on the US language. > > When I sort lines in French, the lines beginning > > with an accent as > > "?" or "?" are at the end of the list. > > Is it possible to obtain a sort based on > > international sorting key ? > > > > Hi Yves, > > One work-around that's always available, is to first > convert the lines to capitals with the toUpper() > function. This will get rid of the diacritical marks. > > If there is no built-in way to change the > diacritical-sorting (couldn't find any right away in > the docs), you could always: > > put toUpper(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 > > And then resultVar should be pretty close to what you > want. It will eat some memory of course... > > 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 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From harrison at all-auctions.com Thu Aug 29 09:33:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Thu Aug 29 09:33:01 2002 Subject: Button Fonts in Mac OS X In-Reply-To: Message-ID: Hi there, I'm working on an application which uses buttons with the standard Mac OS X aqua interface. I like it because the buttons throb nicely etc. However I'm not happy with the size of the text on the button itself - too small etc. Is there anyway to increase the text size or change the font on the button and keep the Mac OS X aqua feel too? Thanks in advance! Rick Harrison From harrison at all-auctions.com Thu Aug 29 10:49:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Thu Aug 29 10:49:01 2002 Subject: Button Fonts in Mac OS X - Never mind... In-Reply-To: Message-ID: Hi again, Never mind.. I figured it out. doh... Use the Label for the button and the text tool to change font etc. I'm just a little too tired today! Rick Harrison From carstenlist at itinfo.dk Thu Aug 29 11:36:01 2002 From: carstenlist at itinfo.dk (Carsten Levin) Date: Thu Aug 29 11:36:01 2002 Subject: Sound recording to aif file - support request In-Reply-To: <200208281605.MAA22515@www.runrev.com> Message-ID: With Rev 1.1 we tried using the recording, and it didnt work under Mac OS X. Now we are trying again with Revolution 1.1.1 and Mac OS X 10.2 running QuickTime 6. And we are still having the same old problems. We need to be able to record .aif files stored in folders with our Revolution solutions. Untill now we have succesfully used the "recordsound" external. But this external doesnt work with Mac OS X and Windows, and the new (rev 1.1) internal recording is easyer to controll using scripts. But when recording: "record sound file "sounds/myOwnSound" with best quality" The file is correctly created in the folder etc. etc. It is a fine QuickTime sound file that plays splendid in movieplayer ... but when using: "play audioclip "sounds/myOwnSound""from within Revolution it sounds awfull, to put it gently. tried "play "sounds/myOwnSound"" ... not any better. To make sure that we did everything correctly I copied the scriptline from the Transscript dictionary and only modified the finer details. Also tried with "as codec" ... MAC3, and some of the other suggested options. Same result - or if possible ... worse. Whats wrong with our script ... or with the Revolution documentation? Best regards Carsten Levin From yvescoppe at skynet.be Thu Aug 29 11:38:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Thu Aug 29 11:38:01 2002 Subject: Sort In-Reply-To: <20020829120008.2336.qmail@web11903.mail.yahoo.com> References: <20020829120008.2336.qmail@web11903.mail.yahoo.com> Message-ID: >Hi Yves, > >One work-around that's always available, is to first >convert the lines to capitals with the toUpper() >function. This will get rid of the diacritical marks. > >If there is no built-in way to change the >diacritical-sorting (couldn't find any right away in >the docs), you could always: > > put toUpper(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 > >And then resultVar should be pretty close to what you >want. It will eat some memory of course... > >Hope this helped, > Hi Jan and Ken Try this : on mouseUp put "?cole"&cr&"fus?e"&cr&"soleil"&cr&"appareil" into tData answer InternationalSort(tdata) end mouseUp function InternationalSort sourceVar set the wholeMatches to true put toUpper(sourceVar) into upperVar put upperVar into sortVar sort lines of sortVar repeat for each line theLine in sortVar put line (lineOffset(theLine, upperVar)) of \ sourceVar & return after resultVar end repeat delete char -1 of resultVar set the wholeMatches to false return resultVar end InternationalSort IT DOES THE SAME AS THE SORT LINES Command !!!! So there is no difference for me and the alfabet is not correct in french if I write : sort lines of tdata international, it's worse !!!! any other idea ???? -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From kray at sonsothunder.com Thu Aug 29 12:08:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Aug 29 12:08:01 2002 Subject: Button Fonts in Mac OS X References: Message-ID: <002801c24f7d$d6b0c310$6601a8c0@mckinley.dom> Rick, How are you getting the buttons to throb? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Rick Harrison" To: Sent: Thursday, August 29, 2002 9:31 AM Subject: Button Fonts in Mac OS X > Hi there, > > I'm working on an application which uses buttons > with the standard Mac OS X aqua interface. I like > it because the buttons throb nicely etc. However > I'm not happy with the size of the text on the button > itself - too small etc. Is there anyway to increase > the text size or change the font on the button and > keep the Mac OS X aqua feel too? > > Thanks in advance! > > Rick Harrison > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From carstenlist at itinfo.dk Thu Aug 29 12:18:00 2002 From: carstenlist at itinfo.dk (Carsten Levin) Date: Thu Aug 29 12:18:00 2002 Subject: Sound recording to aif file - Carsten Levin In-Reply-To: <200208291603.MAA04985@www.runrev.com> Message-ID: I wrote that we wanted a .aif file. But if thats not possible in Revolution anymore, then we can of course live with quicktime. We just need to be able to generate files that plays well with "play audioclip "path/filename"" or "play "path/filename"" Best regards Carsten Levin From usher at cnbcom.net Thu Aug 29 12:55:01 2002 From: usher at cnbcom.net (Philip Usher) Date: Thu Aug 29 12:55:01 2002 Subject: Sound recording to aif file - support request In-Reply-To: <200208291601.MAA04877@www.runrev.com> Message-ID: on 8/29/02 11:01 AM, Carsten Levin wrote: > "play audioclip "sounds/myOwnSound" Assuming your sound file is a valid aif file then, if you want to play an external aif sound file then: create a player object... i.e. "player 1" click on the player tab in the properites palette for player 1 and set the filepath of the player to the external sound file to play the sound from a script, use the command "start player 1" otherwise: if you want to play a sound imported into the stack then: import the aif sound (i.e. "my_sound.aif) into the stack using the "Audio File..." submenu in the "Import As Control" submenu in the "File" menu. to play the imported sound, use the following command: play "my_sound.aif" -- Phil Usher From Yennie at aol.com Thu Aug 29 12:57:01 2002 From: Yennie at aol.com (Yennie at aol.com) Date: Thu Aug 29 12:57:01 2002 Subject: CGI Darwin and Rev Message-ID: <1ac.797f309.2a9fba14@aol.com> One thought: the Darwin engine probably expects POSIX-style paths, as does Metacard 2.4.3 (and most likely Rev 1.5?). Does the script work with relative paths? I would try with this style path: /Library/WebServer/Documents/somefile.txt instead of something like: /Macintosh HD/Library/WebServer/Documents/somefile.txt HTH, Brian > < "Hello > World" cgi script. However after experimenting further with "get URL > tURLArticlePath",? I realized that the server (local Apache runing on OS X > 10. 1.5) would return an empty string. I'm wondering whether this is > because > of it being an unsupported feature of the Darwin version of the MetaCard > engine, or is it something much more arcane? I should add that locally, > using the Rev environment this works without a hitch. If any sapient > CGI/Rev/Apache/Pearl-knowing guru could explain why, I'd be...>> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bornstein at designeq.com Thu Aug 29 13:10:00 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Thu Aug 29 13:10:00 2002 Subject: Button Fonts in Mac OS X Message-ID: <200208291808.g7TI8kC21450@mailout6.nyroc.rr.com> > >How are you getting the buttons to throb? Well, first you cozy right up to it and smile sweetly. Then, ...well, you know! :-) From cowhead at mac.com Thu Aug 29 13:24:01 2002 From: cowhead at mac.com (cowhead at mac.com) Date: Thu Aug 29 13:24:01 2002 Subject: sound recording to AIFF file In-Reply-To: <200208291602.MAA04952@www.runrev.com> Message-ID: <4613F070-BB7C-11D6-A079-0003934DCEFE@mac.com> If it sounds fine in quicktime/moviePlayer then the recording is apparently fine. It is playing you are having problems with. Have tried starting with a player, then setting the fileName of player "myPlayer" to your sound file? Using this technique, can you play any other sound files recorded with other programs? Try playing an MP3 file this way. If that doesn't work, there is something wrong with your Rev. Here is quick script that works on multiple machines, using Mac OS 10.1.5 and QT6: on mouseUp answer file "what?" put it into myFile create player "myPlayer" set the showController of player myPlayer to true set the fileName of player myPlayer to myFile start player myPlayer end mouseUp mark mitchell Japan Carsten wrote: > But when recording: > "record sound file "sounds/myOwnSound" with best quality" > The file is correctly created in the folder etc. etc. > It is a fine QuickTime sound file that plays splendid in > movieplayer ... but > when using: > "play audioclip "sounds/myOwnSound""from within Revolution it sounds > awfull, > to put it gently. > tried "play "sounds/myOwnSound"" ... not any better. From janschenkel at yahoo.com Thu Aug 29 13:26:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Aug 29 13:26:01 2002 Subject: Sort In-Reply-To: Message-ID: <20020829182420.93443.qmail@web11906.mail.yahoo.com> --- yves COPPE wrote: > [snip] > > IT DOES THE SAME AS THE SORT LINES Command !!!! > > So there is no difference for me and the alfabet is > not correct in french > My mistake, I misjudged the documentation, and _assumed_ it would eat the diacritical marks. Of course it's still possible to write one's own myUpper() function that converts those special chars to their non-diacritical equivalent. 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... return toUpper(pChar) end myUpperChar > if I write : sort lines of tdata international, it's > worse !!!! > Actually, if I use sort lines of tData international on this machine, it works just fine -- I had been looking for that keyword in the docs, as I vaguely remembered it from HyperCard. My result is (on WinME/Dutch) appareil ?cole fus?e soleil What is the result you get? If I recall correctly, you're running MacOS X 10.1.5 ; are your control panels set correctly? Just a few thoughts, 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 Roger.E.Eller at sealedair.com Thu Aug 29 14:11:00 2002 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Thu Aug 29 14:11:00 2002 Subject: Revolution - firewall - httpProxy Message-ID: Hello, Has anyone used Rev to access the internet from behind a firewall? What is the proper way to pass a firewall username/password combination so the firewall will not complain? I posted this to runrev support, but still have not got it to work. Thanks. ~Roger Eller roger.e.eller at sealedair.com > Geoff, > > Hi, > > Thanks for responding so promptly. > >> Do you normally have to supply a password? > Yes, our security department really takes their job seriously. A typical user would always > get a dialog/requestor asking for the username and password to the Firewall when > accessing a page outside the corporate LAN (the internet). > > I tried your suggestion "username:password at some.place.com" and got the following > response. I have successfully used this format for FTP inside our LAN. Nothing gets > through the firewall unless we fill in the firewall user/pass pop-up that appears in internet > explorer. So, I thought maybe it had to be entered in the "set httpProxy" command, but > that did not work either. Any other suggestions? Thanks again for your help. > > > Firewall Error: URL form not supported > >

URL form not supported

> The URL that you tried to use is not supported by the proxy. > This may be due to an unsupported scheme, or possibly that > the URL was malformed. The URL that was seen by the firewall > was: >
  • > http://myUsername:myPassword at www.google.com >
>
> Optional diagnostic information: >
  • > Couldn't parse port number; it may have been negative or greater than 65535 >
>
> Please check the format of the URL and try again. If the error was in a link > and you did not make a typographical mistake, please contact the webmaster of > the server where you found this URL. > > > Roger Eller > roger.e.eller at sealedair.com > ------------------------------------------------------------------------------------------- > > To: Roger.E.Eller at sealedair.com > cc: > > Subject: Re: httpProxy - Getting past the firewall > > >>Hi >> >>I have included this line in my script as the example in Rev Help shows. >>set the httpProxy to "127.0.0.0:80" >> >>I replaced the "127.0.0.0:80" with "our.actual.firewall:80", and port 80 is >>what we use in internet explorer. >> >>But this is the returned html I recieve back... >> >> >>Firewall Error: Authentication Failure >> >> >>

Authentication Failure

>>This username/password combination cannot be used for access through the >>firewall. >>The reason given is: >>

  • >> Unauthorized >>
>>

>>If this problem persists, then you should contact your firewall >>administrator. >> >> >>Is my URL that I am requesting supposed to include Username/Password for >>the firewall? >>If so, what is the proper syntax for that? >> >>Thanks. >>~Roger Eller > > Do you normally have to supply a password? The problem sounds a bit odd. If you > have a firewall admin, I'd check with them. ordinarily you supply a password in the format: > > username:password at some.place.com > -- > > I hope this helps. Feel free to contact me if you have any further questions. > > regards, > > Geoff Canyon > Revolution Support From yvescoppe at skynet.be Thu Aug 29 14:35:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Thu Aug 29 14:35:01 2002 Subject: Sort In-Reply-To: <20020829182420.93443.qmail@web11906.mail.yahoo.com> References: <20020829182420.93443.qmail@web11906.mail.yahoo.com> Message-ID: >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... > return toUpper(pChar) >end myUpperChar > >> if I write : sort lines of tdata international, it's >> worse !!!! > > Yes now it works !!!!!! thank you >Actually, if I use > sort lines of tData international >on this machine, it works just fine -- I had been >looking for that keyword in the docs, as I vaguely >remembered it from HyperCard. > >My result is (on WinME/Dutch) > >appareil >?cole >fus?e >soleil > >What is the result you get? If I recall correctly, >you're running MacOS X 10.1.5 ; are your control >panels set correctly? > >Just a few thoughts, > my controi panels is good (or system preferences) I've tried on Mac OS 9.x and Mac OS X the result is the same sort lines of tData international gives the tData in the reverse order the first line becomes the last, and so on... thank you for your script. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From tim11 at bellatlantic.net Thu Aug 29 14:39:01 2002 From: tim11 at bellatlantic.net (Tim) Date: Thu Aug 29 14:39:01 2002 Subject: CGI Darwin and Rev In-Reply-To: <1ac.797f309.2a9fba14@aol.com> Message-ID: On 8/29/02 1:55 PM, "Yennie at aol.com" wrote: > One thought: the Darwin engine probably expects POSIX-style paths, as does > Metacard 2.4.3 (and most likely Rev 1.5?). > > Does the script work with relative paths? > > I would try with this style path: > > /Library/WebServer/Documents/somefile.txt > > instead of something like: > > /Macintosh HD/Library/WebServer/Documents/somefile.txt > > > HTH, > Brian > > < World" cgi script. However after experimenting further with "get URL > tURLArticlePath",? I realized that the server (local Apache runing on OS X > 10. 1.5) would return an empty string. I'm wondering whether this is because > of it being an unsupported feature of the Darwin version of the MetaCard > engine, or is it something much more arcane? I should add that locally, > using the Rev environment this works without a hitch. If any sapient > CGI/Rev/Apache/Pearl-knowing guru could explain why, I'd be...>> > > > Hi Brian, The tURLArticlePath contains an absolute path like ?http://www.whatever.com/folder/file.html.? It works locally from Rev environment, but doesn?t work from the local server. What?s worse, is that if you put ?return or put the result?, you get nothing either. I tried using open file tURLArticlePath foe read, but no luck as well. -- Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlrodrig at ariadna.d5.ub.es Thu Aug 29 15:21:01 2002 From: jlrodrig at ariadna.d5.ub.es (Jose L. Rodriguez Illera) Date: Thu Aug 29 15:21:01 2002 Subject: sort In-Reply-To: <200208291603.MAA04985@www.runrev.com> Message-ID: Hi Yves, Sort international works well with Metacard 2.4.2 but not with Rev 1.1.1 which is built upon engine 2.4.1 You may report the bug to Rev, but it is sure it will solved in the next version (if you are not in a hurry, you may develop as if the "sort international" command works, then build the application when the next version appears). Best regards, Jos? L. Rodr?guez El 29/8/2002 18:03, use-revolution-request at lists.runrev.com escribi?: > > if I write : sort lines of tdata international, it's worse !!!! > > any other idea ???? > -- > Greetings. > > Yves COPPE > > Email : yvescoppe at skynet.be > > > --__--__-- From kee at kagi.com Thu Aug 29 16:27:01 2002 From: kee at kagi.com (Kee Nethery) Date: Thu Aug 29 16:27:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? Message-ID: -- Test A I am pulling text from a database and in the text, I have the word "Default", followed by an ASCII 13 which is a CR or return, followed by another word "Your". In Hypercard and in Tex-Edit under MacOS X this displays as Default Your In Revolution on MacOSX it displays as DefaultYour When I copy all the characters starting with "t" and ending with "Y" and paste into Tex-Edit, it shows that I have indeed captured three characters and the middle character is a return. But in the revolution text field the two words appear to run together. -- Test B When I create a text string of "t", followed by a return, followed by a linefeed, followed by "Y" and I paste that into the place of the three chars in Revolution, I get something that looks like: Default Your and when I then copy from the "t" to and including the "Y" and paste into Tex-Edit, I have four characters but ... instead of t CR LF Y I now have t CR CR Y The linefeed gets converted by Revolution into a return. -- Test C When I replace the "t" to "Y" with a "t" linefeed and then "Y" the text in Revolution displays as Default Your and when I copy this text and paste it into Tex-Edit, again it has converted the linefeed into a return so that now the text is t CR Y -- Test D When I paste that combination into Revolution, it remains as t CR Y and ... it still displays as Default Your So essentially, if I pull text out of the database that contains a return, and put it into the text field, it appears to ignore the returns but they are there. When I paste the text from Revolution into a text editor and do nothing to it, it shows the returns. When I copy that text and paste it into Revolution, it now displays the returns. The text is exactly the same but now it displays differently. -- Questions 1. What the ... is going on here? 2. Why is Revolution ignoring the lone CR initially and then not ignoring it later? 3. Why is Revolution changing the CR LF characters to CR CR? 4. What does Revolution want to see between the "t" and the "Y" so that the "Y" appears to be on the line below the "t"? 5. Is there some setting I should use that will cause Revolution to pay attention to returns in text fields without having to paste into a text editor and then copy them back? 6. Is there some hack, some magic moves I can perform in script to get Revolution to display the lone returns? Kee Nethery From dsc at swcp.com Thu Aug 29 16:34:00 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 29 16:34:00 2002 Subject: Revolution - firewall - httpProxy In-Reply-To: Message-ID: <790EFCE1-BB96-11D6-B291-0050E4C0B205@swcp.com> On Thursday, August 29, 2002, at 01:09 PM, Roger.E.Eller at sealedair.com wrote: > Has anyone used Rev to access the internet from behind a > firewall? What is > the proper way to pass a firewall username/password combination so the > firewall will not complain? I posted this to runrev support, but still > have not got it to work. There are several things that might be happening. If you have firewall client software on your computer, it may be asking for a password. If so, it should be separate from the web browsing. Most likely though, the web proxy is asking for it. It might ask one of a couple ways. It might be using HTTP authentication or it might be using a web page for authentication. The first one results in a boring popup dialog box with site and realm information and fields for the user name and password. The second results in a web page asking for the password. It may be you are seeing the first. If the LAN is presumed to be secure, it might be using Basic Authentication. This takes less work than other methods. It essentially means attaching these to the headers as "Authorization: Basic goblygook" where the goblygook is a scrambling of the name and password. If that looks like the case, then setting the httpHeaders or a related property might work. (I have not used this and I'm not sure which commands it applies to.) You have to look up the method to computer the goblygook, though. Dar Scott From carstenlist at itinfo.dk Thu Aug 29 16:47:00 2002 From: carstenlist at itinfo.dk (Carsten Levin) Date: Thu Aug 29 16:47:00 2002 Subject: More on soundrecording and playback In-Reply-To: <200208292028.QAA13383@www.runrev.com> Message-ID: Philip Usher wrote > if you want to play an external aif sound file then: > create a player object... i.e. "player 1" > click on the player tab in the properites palette for player 1 and set the > filepath of the player to the external sound file > to play the sound from a script, use the command "start player 1" No, an aif file would play perfectly well just with this: play audioClip "path/filename" no need to create a player. And while your method (clicking and choosing in a players properties) is great, it wouldnt work in our case ... we need to create the sound file with new names and to play them ... and we actually do so without any problems in Mac OS 9 using the two scripts shown under this text ... with the external recordsound to do the actual recording. The playback is done just by the scriptline And according to the scripting guide (se record sound and play audio) the same should be possible with the recording/playing technology build into Revolution 1.1 OUR OLD EXAMLPE (only Mac OS ... not windows and Mac OS X) --glbstilfilsti contains the path to our rev application. glblydnavn contains the actual name of the file ... and .aif is added by the script. on srtrecordsound global glbstilfilsti global glbLydnavn if platform() is "MacOS" then get extInit(MacinfoBA,3050298) put glbstilfilsti & "ress/sounds/opgavelyde/" & glbLydnavn & ".aif" into tempLYD ext_recordSound tempLYD,1 play tempLYD wait until the sound is done else answer "Optagelse af indtalt lyd kan kun ske under Mac OS" with OK end if end srtrecordsound on srtplaysound global glbstilfilsti global glbLydnavn put (glbstilfilsti & ("ress/sounds/opgavelyde/") & glbLydnavn & (".aif")) into tempLYD play audioClip tempLYD end srtplaysound Best regards Carsten From tim11 at bellatlantic.net Thu Aug 29 16:50:01 2002 From: tim11 at bellatlantic.net (Tim) Date: Thu Aug 29 16:50:01 2002 Subject: CGI engine Message-ID: After contacting my Web Host and wrangling the info from them, I found out that they're using DecAlpha processors on Solaris. I didn't find the appropriate rev engine for that platform on the rev site. Is there any workaround or would I have to switch to different provider? -- Tim From jacque at hyperactivesw.com Thu Aug 29 16:54:00 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu Aug 29 16:54:00 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? References: <200208292028.QAA13350@www.runrev.com> Message-ID: <3D6E97AD.1040005@hyperactivesw.com> Kee Nethery wrote: > I am pulling text from a database and in the text, I have the word > "Default", followed by an ASCII 13 which is a CR or return, followed > by another word "Your". In Hypercard and in Tex-Edit under MacOS X > this displays as > > Default > Your > > In Revolution on MacOSX it displays as > > DefaultYour > [snip] > 1. What the ... is going on here? > > 2. Why is Revolution ignoring the lone CR initially and then not > ignoring it later? > > 3. Why is Revolution changing the CR LF characters to CR CR? > > 4. What does Revolution want to see between the "t" and the "Y" so > that the "Y" appears to be on the line below the "t"? > > 5. Is there some setting I should use that will cause Revolution to > pay attention to returns in text fields without having to paste into > a text editor and then copy them back? > > 6. Is there some hack, some magic moves I can perform in script to > get Revolution to display the lone returns? Because of the cross-platform capabilities, Rev displays ascii 13 and linefeeds variously on different platforms. To get the proper results no matter which platform the stack is on, try: replace numtochar(13) with cr in fld By using the built-in "cr" constant, Rev will substitute the right number of returns and/or linefeeds for whatever OS is running. In other words, let the engine do the work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Aug 29 17:14:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Aug 29 17:14:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: Message-ID: Kee Nethery wrote: > -- Test A > I am pulling text from a database and in the text, I have the word > "Default", followed by an ASCII 13 which is a CR or return, followed > by another word "Your". In Hypercard and in Tex-Edit under MacOS X > this displays as > > Default > Your > > In Revolution on MacOSX it displays as > > DefaultYour > > When I copy all the characters starting with "t" and ending with "Y" > and paste into Tex-Edit, it shows that I have indeed captured three > characters and the middle character is a return. But in the > revolution text field the two words appear to run together. ... > -- Questions > 1. What the ... is going on here? > > 2. Why is Revolution ignoring the lone CR initially and then not > ignoring it later? > 3. Why is Revolution changing the CR LF characters to CR CR? Rev gives you a choice of having line engings converted or not (see #5 below). > 4. What does Revolution want to see between the "t" and the "Y" so > that the "Y" appears to be on the line below the "t"? Depends on how you tell it to read yhe data (see #5 below). > 5. Is there some setting I should use that will cause Revolution to > pay attention to returns in text fields without having to paste into > a text editor and then copy them back? You can read as text or binary. Text converts line endings, binary leaves everything as it is natively. As text: open file tMyFile for read - OR - open file tMyFile for text read - OR - put url ("file:"&tMyFile) into tMyData As binary: open file tMyFile for binary read - OR - put url ("binfile:"&tMyFile) into tMyData > 6. Is there some hack, some magic moves I can perform in script to > get Revolution to display the lone returns? replace numtochar(10) with cr in tMyText -- 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 Thu Aug 29 18:31:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu Aug 29 18:31:01 2002 Subject: Revolution - firewall - httpProxy In-Reply-To: References: Message-ID: At 3:09 pm -0400 29/8/02, Roger.E.Eller at sealedair.com wrote: >Hello, > >Has anyone used Rev to access the internet from behind a firewall? What is >the proper way to pass a firewall username/password combination so the >firewall will not complain? Be warned, I've used proxy servers, but never ones that required authentication. But I read about it. :) (in rfc 2616 and rfc 2617) First, you will need to set the httpProxy property to your proxy server's address: set the httpProxy to 192.1xx.xxx.xxx:80 ##or whatever Then you should try setting a Proxy-Authorization header using the httpHeaders property. This header field looks something like this: Proxy-Authorization: Basic encodedString The encoded string is made up the username and password separated by a colon, and then the whole lot is base64encoded. So you would do something like: put myUserName & ":" & myPassword into tAuthString put base64Encode(tAuthString) into tEncString put "Proxy-Authorization: Basic" && tEncString into tHeader set the httpHeaders to tHeader Then try doing the regular thing: get url "http://www.runrev.com/index.html" If that doesn't work, try again, this time without setting the Proxy-Authorization header (but do set the httpProxy). This time, check the result function after the get url call. Hopefully it will look something like this: error 407 Proxy-Authorization required If so, use the libUrlLastRhHeaders() function, and it should give you information about the authorization scheme. At that point, you could look at one of the rfc's above to see what it means. Or get back to the list. If the result returned something different... well let us know, or perhaps find out more about the authorization scheme from someone who looks after the proxy server. Hopefully, it will just involve setting the httpHeaders property appropriately. Good luck! Dave From kee at kagi.com Thu Aug 29 18:45:01 2002 From: kee at kagi.com (Kee Nethery) Date: Thu Aug 29 18:45:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: <3D6E97AD.1040005@hyperactivesw.com> References: <200208292028.QAA13350@www.runrev.com> <3D6E97AD.1040005@hyperactivesw.com> Message-ID: >Kee Nethery wrote: >> >> >>6. Is there some hack, some magic moves I can perform in script to >>get Revolution to display the lone returns? > >Because of the cross-platform capabilities, Rev displays ascii 13 >and linefeeds variously on different platforms. To get the proper >results no matter which platform the stack is on, try: > > replace numtochar(13) with cr in fld > >By using the built-in "cr" constant, Rev will substitute the right >number of returns and/or linefeeds for whatever OS is running. In >other words, let the engine do the work. > On Mac OS X, cr = linefeed On Mac OS 9, cr = return Mac OS X is being treated as Unix. this means that before I store data back into the database, I need to replace all the linefeeds with returns. Thanks everyone. Revolution team: CR as a constant is not in the paper docs. The display of text in a text field on a per platform basis did not appear in the docs for "field". kee nethery From monte at sweattechnologies.com Thu Aug 29 22:15:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Aug 29 22:15:01 2002 Subject: Background in OS X Message-ID: Hi All How do we get the correct default background on OS X. When I create a new stack it's all white! Regards 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 ambassador at fourthworld.com Thu Aug 29 22:21:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Aug 29 22:21:00 2002 Subject: Icon Error Message-ID: > I am having difficulty producing a suitable icon for my Windows standalone > applications. I am currently using "Icon Snatcher" and "Icon Grabber" > utilities to convert my PhotoShop bmp files to .ico files. When I go to > make my Standalone app from Revs "Build Distribution" stack, I get the > following error: > > "Windows Application icon file is wrong size (must be 744 bytes). > Make sure you have created a 16 color icon and try again" Yeah, it takes a lot of tweaking to get proper icons. Where is the spec that describes the format of such icons? Maybe we can build an editor in Rev and be done with this annoyance forever... -- 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 jswitte at bloomington.in.us Thu Aug 29 22:35:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Thu Aug 29 22:35:01 2002 Subject: Revolution and screen savers, writing real quartz transitions externals Message-ID: <3C7C586B-BBC9-11D6-951F-000A27D93820@bloomington.in.us> This doesn't really have anything to do with Revolution (well maybe), but I just poted this to the Apple StudentDev list after enquiring about the new 'slideSaver' type that has appeared in Jaguar: -- Wouldn't it would be nice if you could make a nice programming language to make them that would go like: show image "Initial" with visual dissolve 4 seconds for 5 seconds repeat 5 put random( "dissolve slow", "dissolve", "zoom in very slow") into visEffect show image (randomImageNotShown()) with visual visEffect for (random 3) seconds end repeat repeat 5 if (random(1)) -- 0-based random function show image (randomImage()) with visual dissolve slow and shrinkTransition to randomPoint() for (4+random(2)) seconds else show image (randomImage()) with visual dissolve and expandTransition from randomPoint() end if end repeat (Can you tell I like HyperTalk/Transcript?) Kinda like the new Smart Playlists. "(Extra) Smart ScreenSavers.." -- (More to the point of a Revolution list:) This raises a question that relates more to Revolution: would it be possible to write externals that could do Quarz transitions between cards like this? (translucency dragging of elements, image warping effects a l? the Genie effect, scaling, etc) The actual interface elements of a revolution stack I assume are rendered either with the native controls of the OS and Quarz or Quickdraw for the graphics. As such, could an external get hold of those data structures to play with (or make a copy of them, hide the "original" structures that Rev uses, play with their copy, then destroy the copy at the end, and let a Rev script move the stack elements around to "match" what the final image the external had made? Does that make *any* sense? Jim From shaosean at unitz.ca Thu Aug 29 22:45:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Thu Aug 29 22:45:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? References: <200208292028.QAA13350@www.runrev.com> <3D6E97AD.1040005@hyperactivesw.com> Message-ID: <003f01c24fd6$c0db7a40$88b15bd1@lanfear> i use the constant LINEFEED and let the engine determine if it's just 0x10, 0x13 or both.. From scott at tactilemedia.com Thu Aug 29 22:49:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Thu Aug 29 22:49:01 2002 Subject: Revolution and screen savers, writing real quartz transitions externals In-Reply-To: <3C7C586B-BBC9-11D6-951F-000A27D93820@bloomington.in.us> Message-ID: Recently, Jim Witte wrote: > This raises a question that relates more to Revolution: would it be > possible to write externals that could do Quarz transitions between > cards like this? (translucency dragging of elements, image warping > effects a l? the Genie effect, scaling, etc) The actual interface > elements of a revolution stack I assume are rendered either with the > native controls of the OS and Quarz or Quickdraw for the graphics. As > such, could an external get hold of those data structures to play with > (or make a copy of them, hide the "original" structures that Rev uses, > play with their copy, then destroy the copy at the end, and let a Rev > script move the stack elements around to "match" what the final image > the external had made? Does that make *any* sense? Since visual effects in Rev/MC can now be based on QuickTime, take a look at the visual effects (transitions) available. Some of what you describe, or something close, may already be in there. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From ambassador at fourthworld.com Thu Aug 29 23:01:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Aug 29 23:01:01 2002 Subject: Revolution and screen savers, writing real quartz transitions externals In-Reply-To: <3C7C586B-BBC9-11D6-951F-000A27D93820@bloomington.in.us> Message-ID: Jim Witte wrote: > This doesn't really have anything to do with Revolution (well maybe), > but I just poted this to the Apple StudentDev list after enquiring > about the new 'slideSaver' type that has appeared in Jaguar: > > -- > Wouldn't it would be nice if you could make a nice programming > language to make them that would go like: > > show image "Initial" with visual dissolve 4 seconds for 5 seconds > repeat 5 > put random( "dissolve slow", "dissolve", "zoom in very slow") into > visEffect > show image (randomImageNotShown()) with visual visEffect for (random > 3) seconds > end repeat > repeat 5 > if (random(1)) -- 0-based random function > show image (randomImage()) with visual dissolve slow and > shrinkTransition to randomPoint() for (4+random(2)) seconds > else > show image (randomImage()) with visual dissolve and expandTransition > from randomPoint() > end if > end repeat > > (Can you tell I like HyperTalk/Transcript?) > > Kinda like the new Smart Playlists. "(Extra) Smart ScreenSavers.." With a few custom Transcript handlers and some slight modification of syntax, the above snippet could be executable. One of the trickier handlers would be the shrinkTransition command, but remember that Rev supports all QT transition effects: answer effect put it The string returned by the answer effect command could be stored in a field or custom property, and accessed like this: on mouseUp visual GetFX("ShrinkThang") go next end mouseUp function GetFX pEffect return the fx[pEffect] of this stack end GetFX Variants of the above could be used to hide/show images and other controls in addition to card-to-card transitions. Transcript is very powerful. Nearly anything you can dream up can be scripted, even a multimedia slide show/screen saver engine as you describe. -- 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 Thu Aug 29 23:11:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Aug 29 23:11:01 2002 Subject: Revolution - firewall - httpProxy In-Reply-To: Message-ID: <790EFCE1-BB96-11D6-B291-0050E4C0B205@swcp.com> On Thursday, August 29, 2002, at 01:09 PM, Roger.E.Eller at sealedair.com wrote: > Has anyone used Rev to access the internet from behind a > firewall? What is > the proper way to pass a firewall username/password combination so the > firewall will not complain? I posted this to runrev support, but still > have not got it to work. There are several things that might be happening. If you have firewall client software on your computer, it may be asking for a password. If so, it should be separate from the web browsing. Most likely though, the web proxy is asking for it. It might ask one of a couple ways. It might be using HTTP authentication or it might be using a web page for authentication. The first one results in a boring popup dialog box with site and realm information and fields for the user name and password. The second results in a web page asking for the password. It may be you are seeing the first. If the LAN is presumed to be secure, it might be using Basic Authentication. This takes less work than other methods. It essentially means attaching these to the headers as "Authorization: Basic goblygook" where the goblygook is a scrambling of the name and password. If that looks like the case, then setting the httpHeaders or a related property might work. (I have not used this and I'm not sure which commands it applies to.) You have to look up the method to computer the goblygook, though. Dar Scott From bvlahos at jpl.nasa.gov Thu Aug 29 23:43:00 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Thu Aug 29 23:43:00 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: Message-ID: My understanding is that OS X will make either cr=return or linefeed depending on what application is generating it. Traditional MacOS application continue to make "return" while command line apps make linefeeds. I thought that Rev 1.1.x made returns but don't know about 1.5. Bill Vlahos On Thursday, August 29, 2002, at 04:10 PM, Kee Nethery wrote: >> Kee Nethery wrote: >>> >>> >>> 6. Is there some hack, some magic moves I can perform in script to >>> get Revolution to display the lone returns? >> >> Because of the cross-platform capabilities, Rev displays ascii 13 and >> linefeeds variously on different platforms. To get the proper results >> no matter which platform the stack is on, try: >> >> replace numtochar(13) with cr in fld >> >> By using the built-in "cr" constant, Rev will substitute the right >> number of returns and/or linefeeds for whatever OS is running. In >> other words, let the engine do the work. >> > > On Mac OS X, cr = linefeed > On Mac OS 9, cr = return > > Mac OS X is being treated as Unix. > > this means that before I store data back into the database, I need to > replace all the linefeeds with returns. > > Thanks everyone. > > > Revolution team: > > CR as a constant is not in the paper docs. > > The display of text in a text field on a per platform basis did not > appear in the docs for "field". > > kee nethery > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Fri Aug 30 00:09:00 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 30 00:09:00 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: Message-ID: ASCII CR is 13 (decimal) ASCII LF is 10 (decimal) From the Rev Doc-- Windows line-end: ASCII CR LF (But see below.) Mac OS line-end: ASCII CR Unix line-end: ASCII LF Revolution: The line-end is 10. charToNum(linefeed) ==> 10 charToNum(return) ==> 10 charToNum(CR) ==> 10 charToNum(char 1 of CRLF) ==> 13 charToNum(char 2 of CRLF) ==> 10 (There is no LF constant.) put "default" & numToChar(13) & "your" into field "report" ---displays--> defaultyour put "default" & numToChar(10) & "your" into field "report" ---> default your put "default" & numToChar(13) & numToChar(13) & "your" into field "report" ---> defaultyour put "default" & numToChar(13) & numToChar(10) & "your" into field "report" ---> default your put "default" & numToChar(10) & numToChar(13) & "your" into field "report" ---> default your put "default" & numToChar(10) & numToChar(10) & "your" into field "report" ---> default your Binary I/O will preserve numToChar(10) and numToChar(13). Text I/O will attempt to convert to and from the standard for the the current platform. (Text I/O doesn't always work right. First, this is because the standard is violated; some Windows apps use ASCII CR-LF-LF for double spacing. Second, it may not work as expected; for example, on Windows, read process will convert every ASCII CR-LF to ASCII LF-LF instead of LF, creating a double spacing.) I hope this helps. Dar Scott From dsc at swcp.com Fri Aug 30 00:11:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 30 00:11:01 2002 Subject: Icon Error In-Reply-To: Message-ID: <4DF46A1E-BBD6-11D6-A7AE-0050E4C0B205@swcp.com> On Thursday, August 29, 2002, at 09:13 PM, Richard Gaskin wrote: > Yeah, it takes a lot of tweaking to get proper icons. > Where is the spec that describes the format of such icons? > Maybe we can build an editor in Rev and be done with this annoyance > forever... Yes! Dar Scott From kray at sonsothunder.com Fri Aug 30 00:29:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 30 00:29:01 2002 Subject: Icon Error References: Message-ID: <005c01c24fe5$5000ccd0$6601a8c0@mckinley.dom> Here you go: http://www.sover.net/~bassltd/icon.html Have fun! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Richard Gaskin" To: Sent: Thursday, August 29, 2002 10:13 PM Subject: Re: Icon Error > > I am having difficulty producing a suitable icon for my Windows standalone > > applications. I am currently using "Icon Snatcher" and "Icon Grabber" > > utilities to convert my PhotoShop bmp files to .ico files. When I go to > > make my Standalone app from Revs "Build Distribution" stack, I get the > > following error: > > > > "Windows Application icon file is wrong size (must be 744 bytes). > > Make sure you have created a 16 color icon and try again" > > Yeah, it takes a lot of tweaking to get proper icons. > Where is the spec that describes the format of such icons? > Maybe we can build an editor in Rev and be done with this annoyance > forever... > > -- > 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Fri Aug 30 00:42:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Aug 30 00:42:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? References: <200208300302.XAA21537@www.runrev.com> Message-ID: <3D6F0544.6030901@hyperactivesw.com> "Shao Sean" wrote: > i use the constant LINEFEED and let the engine determine if it's just 0x10, > 0x13 or both.. I think the constant "return" also does the same thing as "linefeed" and "cr". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri Aug 30 00:46:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 30 00:46:01 2002 Subject: Icon Error In-Reply-To: <005c01c24fe5$5000ccd0$6601a8c0@mckinley.dom> Message-ID: Ken Ray wrote: > Here you go: > > http://www.sover.net/~bassltd/icon.html > Cool. Does MC have a command for adjusting color depth, or do I need to find an algorithm for doing that with the imagedata? -- 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 Fri Aug 30 00:57:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Fri Aug 30 00:57:01 2002 Subject: Button Fonts in Mac OS X In-Reply-To: <002801c24f7d$d6b0c310$6601a8c0@mckinley.dom> Message-ID: on 8/29/2002 1:02 PM, Ken Ray at kray at sonsothunder.com wrote: > Rick, > > How are you getting the buttons to throb? > > Ken Ray Ken, They only throb when selected. It's not really a throb animation they just change to the aqua blue color when selected. Sorry to get you all excited. Rick Harrison From ambassador at fourthworld.com Fri Aug 30 01:07:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 30 01:07:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: <3D6F0544.6030901@hyperactivesw.com> Message-ID: J. Landman Gay wrote: > "Shao Sean" wrote: > >> i use the constant LINEFEED and let the engine determine if it's just 0x10, >> 0x13 or both.. > > I think the constant "return" also does the same thing as "linefeed" and > "cr". Pretty much, with the exception of its use in "crlf": Linefeed = ASCII 10 cr/return = ASCII 10 -- the UNIX line ending crlf = ASCII 13 & ASCII 10 So much confusion surrounds the misnamed constants "return" and "cr", which suggest ASCII 13 but are actually ASCII 10. I understand that it's there for compatibility with Mac-specific tools like HC, but it does create confusion (hence this oft-repeated thread). -- 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 cowhead at mac.com Fri Aug 30 02:05:01 2002 From: cowhead at mac.com (mark mitchell) Date: Fri Aug 30 02:05:01 2002 Subject: recording and playing sounds In-Reply-To: <200208300302.XAA21537@www.runrev.com> Message-ID: Carsten wrote: > if platform() is "MacOS" then > get extInit(MacinfoBA,3050298) > put glbstilfilsti & "ress/sounds/opgavelyde/" & glbLydnavn & > ".aif" > into tempLYD > ext_recordSound tempLYD,1 > play tempLYD > wait until the sound is done > else > answer "Optagelse af indtalt lyd kan kun ske under Mac OS" with OK > end if > end srtrecordsound > I thought even with that external you had to Stop recording at some point. You seem to be recording and playing the sound simultaneously, and never stopping. There's something weird there. I had had problems in OSX getting record sound to work, as the 'quality' setting did not seem to be recognized, and always reverted to the worst. I got around this using the 'do' command: put "record sound file zaFile as zaFormat with" && zaQual && "quality" into zaMan do zaMan Using the above script, you can set any path to zaFile, any 4character codec to zaFormat (with new QT6, MP4 is available here!) and good, better or best to zaQual. But you still have to "stop recording" before you try to play it back, me thinks. good luck mark mitchell Japan From Esa.Kivela at ncrc.fi Fri Aug 30 03:09:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Aug 30 03:09:01 2002 Subject: TXT field dates problem Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6CEC@ktk7.ad.kuluttajatutkimuskeskus.fi> Greetings from Finland to all Revolution users :-) My name is Esa Kivel? and yesterday I just downlaod that Revolutions Starter Kit and I'd like it because Im a old HC coder with my ex-Mac. Anyhow here's my problem: We develop our firm intranet to the new look and there is a main www-page where lies a box wich shown "quick messages" to all workers in intra. When I donloaded Revolution I think "chees what a relief no I don't have to learn ie. PHP/Java/Perl anymore, I just code that quick messages thing with good old HC style!!" And so I started planning how users when they click "create new message"-link in that box and can send quick messages ie. "coffee barke at 6th floor, ice cream and cake served..get your pieces NOW before its too late!!" and so on without any emails via Outlook. But then I get first problem: users want that new messages in the txt field shown as red color and old ones ie. in black. I think that I use the date function and old ones change to blac but hey..all messages change their color in that txt fld. So how ie 2 days old messages can be changed black and todays messages remain red? Is that possible to do in same text field? EsaK From shaosean at unitz.ca Fri Aug 30 03:21:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Fri Aug 30 03:21:01 2002 Subject: TXT field dates problem References: <961D94BBE7448D4C8E4440CB7920D9E01B6CEC@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <000701c24ffd$5c3c6fa0$88b15bd1@lanfear> > So how ie 2 days old messages can be changed black and todays messages remain red? Is that possible to do in same text field? yes (and is there any cake left? ;-) i'll email again with an example for you, just need to write one From Esa.Kivela at ncrc.fi Fri Aug 30 03:47:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Aug 30 03:47:01 2002 Subject: VS: TXT field dates problem Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6CED@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Shao Sean [mailto:shaosean at unitz.ca] > L?hetetty: 30. elokuuta 2002 11:15 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: TXT field dates problem > > > > So how ie 2 days old messages can be changed black and > todays messages > remain red? Is that possible to do in same text field? > > yes (and is there any cake left? ;-) Yep two cakes today is my boss birthday. Wich piece You want? ;-) > i'll email again with an example for you, just need to write one It would be great *bows deeply* :-) can You sen copy of email directly to me too? EsaK From shaosean at unitz.ca Fri Aug 30 03:55:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Fri Aug 30 03:55:01 2002 Subject: TXT field dates problem References: <961D94BBE7448D4C8E4440CB7920D9E01B6CEC@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <001901c25002$296b26c0$88b15bd1@lanfear> > So how ie 2 days old messages can be changed black and todays messages remain red? Is that possible to do in same text field? on addMessage pDateItems, pMessageToAdd local todaysDateItems lock screen convert the seconds to dateItems put it into todaysDateItems put pMessageToAdd & LINEFEED before field "newMessages" if ((item 1 of pDateItems = item 1 of todaysDateItems) AND \ (item 2 of pDateItems = item 2 of todaysDateItems) AND \ (item 3 of pDateItems = item 3 of todaysDateItems)) then -- it's today (item 1 = year, item 2 = month, item 3 = date) select char 1 to (the number of chars in pMessageToAdd) of field "newMessages" set the foregroundColor of the selectedChunk to "red" end if end addMessage there ya go.. nicely wrapped into a handler for you ;-).. any questions, feel free to ask (i'm gonna be up for another 10mins then beddy-bye time) From Esa.Kivela at ncrc.fi Fri Aug 30 04:03:03 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Aug 30 04:03:03 2002 Subject: VS: TXT field dates problem Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6CEF@ktk7.ad.kuluttajatutkimuskeskus.fi> many thanks :-) may I add that script to the button? txt field name is "viestit" and that another where usres type text is "tekstit" (those are finnish language). Hmmm may I sen that stack to You via email? I use revolution in PC EsaK From shaosean at unitz.ca Fri Aug 30 04:08:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Fri Aug 30 04:08:01 2002 Subject: TXT field dates problem References: <961D94BBE7448D4C8E4440CB7920D9E01B6CEF@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <003201c25003$dd676520$88b15bd1@lanfear> > many thanks :-) may I add that script to the button? txt field name is "viestit" and that another where usres > type text is "tekstit" (those are finnish language). add my code to the card script (if there's nothing already there).. replace "newMessages" with "viestit".. put in your "save" button on mouseUp local dateTimeStamp convert the seconds to dateItems put it into dateTimeStamp addMessage dateTimeStamp, the text of field "tekstit" put empty into field "tekstit" end mouseUp > Hmmm may I sen that stack to You via email? I use revolution in PC feel free to.. on addMessage pDateItems, pMessageToAdd local todaysDateItems lock screen convert the seconds to dateItems put it into todaysDateItems put pMessageToAdd & LINEFEED before field "newMessages" if ((item 1 of pDateItems = item 1 of todaysDateItems) AND \ (item 2 of pDateItems = item 2 of todaysDateItems) AND \ (item 3 of pDateItems = item 3 of todaysDateItems)) then -- it's today (item 1 = year, item 2 = month, item 3 = date) select char 1 to (the number of chars in pMessageToAdd) of field "newMessages" set the foregroundColor of the selectedChunk to "red" end if end addMessage there ya go.. nicely wrapped into a handler for you ;-).. any questions, feel free to ask (i'm gonna be up for another 10mins then beddy-bye time) From shaosean at unitz.ca Fri Aug 30 04:11:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Fri Aug 30 04:11:01 2002 Subject: TXT field dates problem References: <961D94BBE7448D4C8E4440CB7920D9E01B6CEF@ktk7.ad.kuluttajatutkimuskeskus.fi> <003201c25003$dd676520$88b15bd1@lanfear> Message-ID: <004301c25004$61cf1dd0$88b15bd1@lanfear> my apologies to the list.. i'm over half asleep =/ From Esa.Kivela at ncrc.fi Fri Aug 30 04:15:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Aug 30 04:15:01 2002 Subject: VS: TXT field dates problem Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6CF3@ktk7.ad.kuluttajatutkimuskeskus.fi> Np :-) > -----Alkuper?inen viesti----- > L?hett?j?: Shao Sean [mailto:shaosean at unitz.ca] > L?hetetty: 30. elokuuta 2002 12:05 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: TXT field dates problem > > > my apologies to the list.. i'm over half asleep =/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From carstenlist at itinfo.dk Fri Aug 30 05:17:01 2002 From: carstenlist at itinfo.dk (Carsten Levin) Date: Fri Aug 30 05:17:01 2002 Subject: Recording and playing sounds In-Reply-To: <200208300809.EAA30360@www.runrev.com> Message-ID: Hi Mark ... and everybody :-) Thanks for the advice on how to get better/acceptable quality. We are having the same problem ... And regarding your question on recording with ext_recordsound ... no the recording is stopped ... it is controlled by the pallette called by the external ... record/stop/playback. Best regards Carsten Levin > Message: 10 > Date: Fri, 30 Aug 2002 16:03:46 +0900 > Subject: Re: recording and playing sounds > From: mark mitchell > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > > Carsten wrote: > >> if platform() is "MacOS" then >> get extInit(MacinfoBA,3050298) >> put glbstilfilsti & "ress/sounds/opgavelyde/" & glbLydnavn & >> ".aif" >> into tempLYD >> ext_recordSound tempLYD,1 >> play tempLYD >> wait until the sound is done >> else >> answer "Optagelse af indtalt lyd kan kun ske under Mac OS" with OK >> end if >> end srtrecordsound >> > > I thought even with that external you had to Stop recording at some > point. You seem to be recording and playing the sound simultaneously, > and never stopping. There's something weird there. > > I had had problems in OSX getting record sound to work, as the 'quality' > setting did not seem to be recognized, and always reverted to the > worst. I got around this using the 'do' command: > > put "record sound file zaFile as zaFormat with" && zaQual && "quality" > into zaMan > do zaMan > > Using the above script, you can set any path to zaFile, any 4character > codec to zaFormat (with new QT6, MP4 is available here!) and good, > better or best to zaQual. But you still have to "stop recording" > before you try to play it back, me thinks. > > good luck > > mark mitchell > Japan From sims at ezpzapps.com Fri Aug 30 05:36:01 2002 From: sims at ezpzapps.com (sims) Date: Fri Aug 30 05:36:01 2002 Subject: login.asp & Set-Cookie In-Reply-To: References: Message-ID: I am trying to access web page which requires the user to input a username & password into a dialog that pops up when one tries to access the web page. I have tried the following: put tUser & ":" & tPW into tAuthString put base64Encode(tAuthString) into tEncString put "Authorization: Basic realm=www.someDomain.com" && tEncString into tHeader set the httpHeaders to tHeader put URL tURL into fld "page" The web page does not appear but... From libUrlLastRhHeaders() I get the following info: HTTP/1.1 302 Object moved Server: Microsoft-IIS/5.0 Date: Fri, 30 Aug 2002 10:19:49 GMT MicrosoftOfficeWebServer: 5.0_Pub Location: login.asp Content-Length: 130 Content-Type: text/html Set-Cookie: ASPSESSIONIDQGGGGWBO=IIJJMGCBHMHHMEDFALDDGDCH; path=/ Cache-control: private Age: 7287 Via: HTTP/1.1 noc-ts1 (Traffic-Server/4.0.18 [c s f ]) Questions: Does the libUrlLastRhHeaders say that after checking & approving the username & password a cookie was sent to me? If above is true, how can I use this cookie info to obtain the web page? If I am all wrong here (which would not surprise me... ;-) how can I do this? TIA sims ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From cowhead at mac.com Fri Aug 30 06:08:01 2002 From: cowhead at mac.com (mark mitchell) Date: Fri Aug 30 06:08:01 2002 Subject: Broken Dist builder..beware big butts In-Reply-To: <200208241604.MAA02607@www.runrev.com> Message-ID: <817654A1-BC08-11D6-832E-0030656DAB8E@mac.com> Thanks to Rob and Troy for their input. I found the problem! It turns out, one stack was very problematic. It was slowing down the development environment under OSX to a crawl. If I attempted to build a distribution with this stack, it would freeze dist builder, and and even rebooting and clean stacks did not help. I finally took apart this bad stack to see what the problem was. Any guesses?. Really Big 3D buttons! If your button is set to 3D and standard or shadow, under OSX anyway, if the button surpasses some threshold size, everything goes to hell. I think OSX can't handle drawing it anymore. Little buttons are fine. Changing the buttons to non-3d immediately fixes everything, including the distribution builder. There's not even any need to save the stack. You get an immediate fix. So beware of big 3D buttons under OSX . Thanks again, mark mitchell Japan Twas written: >> On my G4 tower (OS 10.1.5) I have lost the ability to build a >> distribution. Distribution builder says "copying files......" but >> thats where it stops. After that, nothing. It creates the >> distribution folder but nothing is inside. Anyone else seen this >> problem? > > Hi Mark, > > Do you update the distribution build info with each build? > > I have had occasions where I would build a standalone, test it, > revise the source stack, and build it again. I have witnessed > behavior similar to what you describe when I do a second or > subsequent build without updating the build info, even if it doesn't > change. In particular, I remove the stack name from the build list > and reselect it. > > I am guessing that the Distribution builder expects to find the stack > in RAM, and when one quits Rev, starts it again, and does a build > without selecting the stack(s), it chokes. > -- > > 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: 10 > Date: Sat, 24 Aug 2002 12:06:53 -0400 > Subject: Re: Dist Builder Busted > From: Troy Rollins > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > > On Saturday, August 24, 2002, at 11:29 AM, Rob Cozens wrote: > >> I have had occasions where I would build a standalone, test it, revise >> the source stack, and build it again. I have witnessed behavior >> similar to what you describe when I do a second or subsequent build >> without updating the build info, even if it doesn't change. In >> particular, I remove the stack name from the build list and reselect >> it. >> >> I am guessing that the Distribution builder expects to find the stack >> in RAM, and when one quits Rev, starts it again, and does a build >> without selecting the stack(s), it chokes. > > Hmm. On OSX at least, I regularly open rev, and do a build from a saved > build file, without ever opening the stack or modifying the build saved > values. We frequently update the stack to be built over the network, and > then just run the same builder config, without modification. Mark is > using the same OS as me. What are you using Rob? > > -- > Troy > RPSystems, LTD > www.rpsystems.net From Esa.Kivela at ncrc.fi Fri Aug 30 06:51:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Aug 30 06:51:01 2002 Subject: day and time fomat to European? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6CFE@ktk7.ad.kuluttajatutkimuskeskus.fi> 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 From kee at kagi.com Fri Aug 30 07:32:01 2002 From: kee at kagi.com (Kee Nethery) Date: Fri Aug 30 07:32:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: References: Message-ID: >J. Landman Gay wrote: > >> "Shao Sean" wrote: >> >>> i use the constant LINEFEED and let the engine determine if it's just 0x10, >>> 0x13 or both.. >> >> I think the constant "return" also does the same thing as "linefeed" and >> "cr". > >Pretty much, with the exception of its use in "crlf": > >Linefeed = ASCII 10 >cr/return = ASCII 10 -- the UNIX line ending >crlf = ASCII 13 & ASCII 10 > >So much confusion surrounds the misnamed constants "return" and "cr", which >suggest ASCII 13 but are actually ASCII 10. I understand that it's there >for compatibility with Mac-specific tools like HC, but it does create >confusion (hence this oft-repeated thread). might be better to create a new constant called "LineEnd" that is platform specific. Return and CR should mean "carriage Return" which should be ascii(13). Pretty much every ASCII table I've ever seen labels "CR" as ASCII(13). Kee From klaus.major at metascape.org Fri Aug 30 07:38:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 30 07:38:01 2002 Subject: day and time fomat to European? In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6CFE@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: Hi Esa, > Greetings again mates! :-) > > How I can change day formats from 8/30/02 to 30.8.02 wich format we > use here in Finland? use "the system date" instead of "the date" ;-) See the index, also "usesystemdate". > Thansk at advance "thansk" really sounds finnish ;-) > Yours > > EsaK Regards and a nice weekend Klaus Major klaus.major at metascape.org From Esa.Kivela at ncrc.fi Fri Aug 30 07:43:00 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Aug 30 07:43:00 2002 Subject: VS: day and time fomat to European? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D00@ktk7.ad.kuluttajatutkimuskeskus.fi> jep I done that and its works fine :-) Thanks for help. EsaK > -----Alkuper?inen viesti----- > L?hett?j?: Klaus Major [mailto:klaus.major at metascape.org] > L?hetetty: 30. elokuuta 2002 15:35 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: day and time fomat to European? > > > Hi Esa, > > > Greetings again mates! :-) > > > > How I can change day formats from 8/30/02 to 30.8.02 wich format we > > use here in Finland? > > use "the system date" instead of "the date" ;-) > > See the index, also "usesystemdate". > > > Thansk at advance > > "thansk" really sounds finnish ;-) > > > Yours > > > > EsaK > > Regards and a nice weekend > > > 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 Esa.Kivela at ncrc.fi Fri Aug 30 07:59:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Aug 30 07:59:01 2002 Subject: Time from the text field? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D01@ktk7.ad.kuluttajatutkimuskeskus.fi> how I get date from text field? I tried get the date from field "viestit" but it won't work. I try to code that when card open its check date from text filed "viestit" and if is not the same as the systemDate program put empty into field "viestit". Only thing is that how I get that date from field? EsaK From sylvain.legourrierec at son-video.com Fri Aug 30 08:12:01 2002 From: sylvain.legourrierec at son-video.com (=?iso-8859-1?Q?Sylvain_Le_Gourri=E9rec?=) Date: Fri Aug 30 08:12:01 2002 Subject: escape char Message-ID: <000801c25026$93fdac50$0801a8c0@sylvain> hello, I do not find the list of escape char in the doc. I mean quote for ", cr for newline... thanks Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution -------------- next part -------------- An HTML attachment was scrubbed... URL: From klaus.major at metascape.org Fri Aug 30 08:42:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 30 08:42:01 2002 Subject: Time from the text field? In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6D01@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: Hi Esa, > how I get date from text field? I tried get the date from field > "viestit" but it won't work. > > I try to code that when card open its check date from text filed > "viestit" and if is not the same as the systemDate program put empty > into field "viestit". > > Only thing is that how I get that date from field? > > EsaK Sean is asleep now, so i will help you out for today ;-) Try this (will work ;-) on mouseup ## or whatever if offset(the system date, fld "viestit") is 0 then put empty into fld "viestit" end mouseup offset("what to look for", "where") will be 0 if the string is NOT found in "where" (be it a field of var or whatsoever...) That's all... Regards Klaus Major klaus.major at metascape.org From Esa.Kivela at ncrc.fi Fri Aug 30 09:03:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Aug 30 09:03:01 2002 Subject: VS: Time from the text field? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D02@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Klaus Major [mailto:klaus.major at metascape.org] > L?hetetty: 30. elokuuta 2002 16:38 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: Time from the text field? > > > Hi Esa, > > > how I get date from text field? I tried get the date from field > > "viestit" but it won't work. > > > > I try to code that when card open its check date from text filed > > "viestit" and if is not the same as the systemDate program > put empty > > into field "viestit". > > > > Only thing is that how I get that date from field? > > > > EsaK > > > Sean is asleep now, so i will help you out for today ;-) *bows deeply to the Guru* ;-) > > Try this (will work ;-) > > on mouseup ## or whatever > if offset(the system date, fld "viestit") is 0 then put empty into > fld "viestit" > end mouseup Global backround: that etxt field is quick message field in our intranet. So there is mesagse format is this day, time, message. here's an example fron text field "viestit": 30.8.2002 16:49: Naah nobody comes to my party damit!! 30.8.2002 16:49: Hi cofee from cellar with a lillte bottle of beer too! EsaK Just typed those so they have same day and time ;-). So then its transfer all messages to file named "uutinen.htm" wich show then our intranet main page. Anyway, I tried that it take orginal sytemDate to the variable named "aika" then it gonna chek what is that date or time in that text filed and put it into variable named "uusiaika" and if aika < uusiaka then put empty into field -> so every morning when peoples start FIRST time in the morning that stack its send empty to field and clear then that uutinen.htm (because its send empty into that file too) file. Meanwhile along the working day that text field may stay filled. That's why I assume that the day function is better than the time. But how it can get that ie date from those 30.8.2002 16:49: Naah nobody comes to my party damit!! 30.8.2002 16:49: Hi cofee from cellar with a lillte bottle of beer too! EsaK ?? EsaK From dsc at swcp.com Fri Aug 30 09:18:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 30 09:18:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: Message-ID: <95997D20-BC22-11D6-906C-0050E4C0B205@swcp.com> On Friday, August 30, 2002, at 06:28 AM, Kee Nethery wrote: >> So much confusion surrounds the misnamed constants "return" and >> "cr", which >> suggest ASCII 13 but are actually ASCII 10. I understand that >> it's there >> for compatibility with Mac-specific tools like HC, but it does create >> confusion (hence this oft-repeated thread). > > might be better to create a new constant called "LineEnd" that is > platform specific. Return and CR should mean "carriage Return" > which should be ascii(13). Pretty much every ASCII table I've ever > seen labels "CR" as ASCII(13). I would prefer a new constant named lineEnd that is _Revolution_ specific. This would allow the same stack to move across platforms without line end changes. For backwards compatibility, it should be ASCII 10. Maybe there can be a short name, but line and end are already taken. With that, new constants asciiCR, asciiLF, and asciiCRLF are also defined. With the above, use of return and CR can be discouraged. And lineFeed and CRLF need not be used. However, I've seen examples from old timers on the list that include return quite a bit. I find that jarring and sometimes confusing. Yet, others might find it quite natural. Dar Scott From klaus.major at metascape.org Fri Aug 30 09:18:15 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 30 09:18:15 2002 Subject: VS: Time from the text field? In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6D02@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: Hi Esa, > > >> -----Alkuper?inen viesti----- >> L?hett?j?: Klaus Major [mailto:klaus.major at metascape.org] >> L?hetetty: 30. elokuuta 2002 16:38 >> Vastaanottaja: use-revolution at lists.runrev.com >> Aihe: Re: Time from the text field? >> >> >> Hi Esa, >> >>> how I get date from text field? I tried get the date from field >>> "viestit" but it won't work. >>> >>> I try to code that when card open its check date from text filed >>> "viestit" and if is not the same as the systemDate program >> put empty >>> into field "viestit". >>> >>> Only thing is that how I get that date from field? >>> >>> EsaK >> >> >> Sean is asleep now, so i will help you out for today ;-) > > *bows deeply to the Guru* ;-) much deeper, please ;-) >> Try this (will work ;-) >> >> on mouseup ## or whatever >> if offset(the system date, fld "viestit") is 0 then put empty into >> fld "viestit" >> end mouseup > > Global backround: that etxt field is quick message field in our > intranet. So there is mesagse format is this day, time, message. > here's an example fron text field "viestit": > > 30.8.2002 16:49: Naah nobody comes to my party damit!! > 30.8.2002 16:49: Hi cofee from cellar with a lillte bottle of beer > too! EsaK > > Just typed those so they have same day and time ;-). So then its > transfer all messages to file named "uutinen.htm" wich show then our > intranet main page. > > Anyway, I tried that it take orginal sytemDate to the variable named > "aika" > then it gonna chek what is that date or time in that text filed and > put it into variable named "uusiaika" and if aika < uusiaka then put > empty into field -> so every morning when peoples start FIRST time in > the morning that stack its send empty to field and clear then that > uutinen.htm (because its send empty into that file too) file. > Meanwhile along the working day that text field may stay filled. > That's why I assume that the day function is better than the time. > > But how it can get that ie date from those > 30.8.2002 16:49: Naah nobody comes to my party damit!! > 30.8.2002 16:49: Hi cofee from cellar with a lillte bottle of beer > too! EsaK ?? > > EsaK i am sorry, but i don't get exactly what you want to achieve...??? Please give me a hint ;-) Regards Klaus Major klaus.major at metascape.org From Esa.Kivela at ncrc.fi Fri Aug 30 09:24:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Aug 30 09:24:01 2002 Subject: VS: VS: Time from the text field? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D04@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Klaus Major [mailto:klaus.major at metascape.org] > L?hetetty: 30. elokuuta 2002 17:15 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: VS: Time from the text field? > > > Hi Esa, > > > > > > >> -----Alkuper?inen viesti----- > >> L?hett?j?: Klaus Major [mailto:klaus.major at metascape.org] > >> L?hetetty: 30. elokuuta 2002 16:38 > >> Vastaanottaja: use-revolution at lists.runrev.com > >> Aihe: Re: Time from the text field? > >> > >> > > EsaK > > i am sorry, but i don't get exactly what you want to achieve...??? every morning stack chek that text field and get date of the last message. If it is oleder than the current day stack clears that text filed. if is the same day field is not cleared untill tomorrow when messages dates are one day old. EasK From kray at sonsothunder.com Fri Aug 30 09:30:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 30 09:30:00 2002 Subject: Button Fonts in Mac OS X References: Message-ID: <008501c25030$f85de2f0$6601a8c0@mckinley.dom> ----- Original Message ----- From: "Rick Harrison" To: Sent: Friday, August 30, 2002 12:55 AM Subject: Re: Button Fonts in Mac OS X > on 8/29/2002 1:02 PM, Ken Ray at kray at sonsothunder.com wrote: > > > Rick, > > > > How are you getting the buttons to throb? > > > > Ken Ray > > Ken, > > They only throb when selected. It's not really > a throb animation they just change to the aqua > blue color when selected. Sorry to get you all > excited. > > Rick Harrison > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Fri Aug 30 09:31:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 30 09:31:01 2002 Subject: Button Fonts in Mac OS X References: Message-ID: <008c01c25031$1942c120$6601a8c0@mckinley.dom> Thanks for filling me in... I am looking forward to the day when we can get real throbbing default Aqua buttons... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Rick Harrison" To: Sent: Friday, August 30, 2002 12:55 AM Subject: Re: Button Fonts in Mac OS X > on 8/29/2002 1:02 PM, Ken Ray at kray at sonsothunder.com wrote: > > > Rick, > > > > How are you getting the buttons to throb? > > > > Ken Ray > > Ken, > > They only throb when selected. It's not really > a throb animation they just change to the aqua > blue color when selected. Sorry to get you all > excited. > > Rick Harrison > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Fri Aug 30 09:35:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 30 09:35:00 2002 Subject: escape char References: <000801c25026$93fdac50$0801a8c0@sylvain> Message-ID: <00b801c25031$9a0ae4e0$6601a8c0@mckinley.dom> Sylvain, Go to the Transcript Language Dictionary, and select "Constants" from the "Show:" popup menu above the list of keywords. 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: use-revolution at lists.runrev.com Sent: Friday, August 30, 2002 8:10 AM Subject: escape char hello, I do not find the list of escape char in the doc. I mean quote for ", cr for newline... thanks Sylvain Le Gourri?rec -- d?veloppement -- son-video-distribution -------------- next part -------------- An HTML attachment was scrubbed... URL: From klaus.major at metascape.org Fri Aug 30 09:39:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 30 09:39:01 2002 Subject: VS: VS: Time from the text field? In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6D04@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: Hi Esa, >> -----Alkuper?inen viesti----- >> L?hett?j?: Klaus Major [mailto:klaus.major at metascape.org] >> L?hetetty: 30. elokuuta 2002 17:15 >> Vastaanottaja: use-revolution at lists.runrev.com >> Aihe: Re: VS: Time from the text field? >> >> Hi Esa, >>>> -----Alkuper?inen viesti----- >>>> L?hett?j?: Klaus Major [mailto:klaus.major at metascape.org] >>>> L?hetetty: 30. elokuuta 2002 16:38 >>>> Vastaanottaja: use-revolution at lists.runrev.com >>>> Aihe: Re: Time from the text field? >>>> >>>> > >>> EsaK >> >> i am sorry, but i don't get exactly what you want to achieve...??? > > every morning stack chek that text field and get date of the last > message. > If it is oleder than the current day stack clears that text filed. > if is the same day field is not cleared untill tomorrow when messages > dates are one day old. > > EasK ahhh, i think i have it now ;-) just script this: ... if offset(the system date, line -1 of fld "viestit") is 0 then put empty into fld "viestit" ... This will just look for a match in the last line of that field. if (that is what you need) then enjoy_and_be_happy else drop_another_line ## ;-) end if Regards Klaus Major klaus.major at metascape.org From zellner at neo.tamu.edu Fri Aug 30 09:41:02 2002 From: zellner at neo.tamu.edu (Ronald D. Zellner) Date: Fri Aug 30 09:41:02 2002 Subject: QuickTime Frame capture Message-ID: 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? Thanks, Ron Zellner From Esa.Kivela at ncrc.fi Fri Aug 30 09:47:00 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Aug 30 09:47:00 2002 Subject: VS: VS: VS: Time from the text field? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D05@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Klaus Major [mailto:klaus.major at metascape.org] > L?hetetty: 30. elokuuta 2002 17:36 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: Re: VS: VS: Time from the text field? > > > Hi Esa, > > >> -----Alkuper?inen viesti----- > >> L?hett?j?: Klaus Major [mailto:klaus.major at metascape.org] > >> L?hetetty: 30. elokuuta 2002 17:15 > >> Vastaanottaja: use-revolution at lists.runrev.com > >> Aihe: Re: VS: Time from the text field? > >> > >> Hi Esa, > >>>> -----Alkuper?inen viesti----- > >>>> L?hett?j?: Klaus Major [mailto:klaus.major at metascape.org] > >>>> L?hetetty: 30. elokuuta 2002 16:38 > >>>> Vastaanottaja: use-revolution at lists.runrev.com > >>>> Aihe: Re: Time from the text field? > >>>> > >>>> > > > >>> EsaK > >> > >> i am sorry, but i don't get exactly what you want to achieve...??? > > > > every morning stack chek that text field and get date of the last > > message. > > If it is oleder than the current day stack clears that text filed. > > if is the same day field is not cleared untill tomorrow > when messages > > dates are one day old. > > > > EasK > > ahhh, i think i have it now ;-) > > just script this: > > ... > if offset(the system date, line -1 of fld "viestit") is 0 then put > empty into fld "viestit" > ... ahaa and where it compare it? regular date? Many thanks EsaK From dcragg at lacscentre.co.uk Fri Aug 30 09:49:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri Aug 30 09:49:01 2002 Subject: login.asp & Set-Cookie In-Reply-To: References: Message-ID: At 1:34 pm +0300 30/8/02, sims wrote: >I am trying to access web page which requires the user to input >a username & password into a dialog that pops up when one tries to access >the web page. > >I have tried the following: > >put tUser & ":" & tPW into tAuthString >put base64Encode(tAuthString) into tEncString >put "Authorization: Basic realm=www.someDomain.com" && tEncString into tHeader >set the httpHeaders to tHeader >put URL tURL into fld "page" > > >The web page does not appear but... >From libUrlLastRhHeaders() I get the following info: > > >HTTP/1.1 302 Object moved >Server: Microsoft-IIS/5.0 >Date: Fri, 30 Aug 2002 10:19:49 GMT >MicrosoftOfficeWebServer: 5.0_Pub >Location: login.asp >Content-Length: 130 >Content-Type: text/html >Set-Cookie: ASPSESSIONIDQGGGGWBO=IIJJMGCBHMHHMEDFALDDGDCH; path=/ >Cache-control: private >Age: 7287 >Via: HTTP/1.1 noc-ts1 (Traffic-Server/4.0.18 [c s f ]) > > > >Questions: > >Does the libUrlLastRhHeaders say that after checking & approving the >username & password a cookie was sent to me? > >If above is true, how can I use this cookie info to obtain the web page? > >If I am all wrong here (which would not surprise me... ;-) how can I do this? The response is principally saying that the url you asked for is no longer there. (HTTP/1.1 302 Object moved) I don't think any authorization took place. libUrl should try to get the new url. However, I think it is expecting a full url in the "Location:" field, and not the relative path in this case. Do you know what was returned in the result function after the line: put URL tURL into fld "page" I would imagine an error of some kind. I also think that libUrl will not use the httpHeaders you have set when it tries to connect to the moved url, so your authorization field will be lost. (But a moot point in this case.) I'll take a look at this area of libUrl and see what improvements can be made for the next release. In the meantime, you might try swapping the final part of the original url you connected to with "login.asp" and see what happens. For example: http://www.someserver.com/somefile.html becomes http://www.someserver.com/login.asp Also, are you sure the Authorization field needs the realm information? I thought this was only provided by the server to the client (so that browsers don't have to prompt users for a password each time they return to that realm within a session). Unless you are sure you need to provide the realm information, you don't need to set the Authorization field yourself. If you include the name and password in the url like this: http://myName:myPassword at www.someserver.com/login.asp libUrl will set the headers appropriately. The Cookie field is just asking you to set a cookie. It's up to you what you do with this. Typically you store it, and return it in a header when you connect to that url again. Cheers Dave From klaus.major at metascape.org Fri Aug 30 09:54:00 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 30 09:54:00 2002 Subject: QuickTime Frame capture In-Reply-To: Message-ID: 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? Yes, i do :-) > Thanks, No problem ;-) > Ron Zellner Regards Klaus Major klaus.major at metascape.org P.S. Ooops, almost forgot... Here's the script: on mouseUp import snapshot from rect(globalloc(the topleft of player 1), globalloc(the bottomright of player 1)) end mouseUp From klaus.major at metascape.org Fri Aug 30 10:00:00 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 30 10:00:00 2002 Subject: VS: VS: VS: Time from the text field? In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6D05@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: Hi Esa, >>> ... >>> EasK >> >> ahhh, i think i have it now ;-) >> just script this: >> ... >> if offset(the system date, line -1 of fld "viestit") is 0 then put >> empty into fld "viestit" >> ... > > ahaa and where it compare it? regular date? > Many thanks > > EsaK The "system date" is always the actual date. If the actual date is the same as the date in the last line of that field erase the content of fld "viestit" (= vistiting time ? Sounds like to me :-) Is that what you mean ? I hope so, else... ;-) Regards Klaus Major klaus.major at metascape.org From Esa.Kivela at ncrc.fi Fri Aug 30 10:02:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Aug 30 10:02:01 2002 Subject: VS: VS: VS: Time from the text field? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D06@ktk7.ad.kuluttajatutkimuskeskus.fi> > -----Alkuper?inen viesti----- > L?hett?j?: Esa Kivel? > L?hetetty: 30. elokuuta 2002 17:45 > Vastaanottaja: use-revolution at lists.runrev.com > Aihe: VS: VS: VS: Time from the text field? > > > > > > -----Alkuper?inen viesti----- > > L?hett?j?: Klaus Major [mailto:klaus.major at metascape.org] > > L?hetetty: 30. elokuuta 2002 17:36 > > Vastaanottaja: use-revolution at lists.runrev.com > > Aihe: Re: VS: VS: Time from the text field? > > > > > > Hi Esa, > > > > >> -----Alkuper?inen viesti----- > > >> L?hett?j?: Klaus Major [mailto:klaus.major at metascape.org] > > >> L?hetetty: 30. elokuuta 2002 17:15 > > >> Vastaanottaja: use-revolution at lists.runrev.com > > >> Aihe: Re: VS: Time from the text field? > > >> > > >> Hi Esa, > > >>>> -----Alkuper?inen viesti----- > > >>>> L?hett?j?: Klaus Major [mailto:klaus.major at metascape.org] > > >>>> L?hetetty: 30. elokuuta 2002 16:38 > > >>>> Vastaanottaja: use-revolution at lists.runrev.com > > >>>> Aihe: Re: Time from the text field? > > >>>> > > >>>> > > > > > >>> EsaK > > >> > > >> i am sorry, but i don't get exactly what you want to > achieve...??? > > > > > > every morning stack chek that text field and get date of the last > > > message. > > > If it is oleder than the current day stack clears that text filed. > > > if is the same day field is not cleared untill tomorrow > > when messages > > > dates are one day old. > > > > > > EasK > > > > ahhh, i think i have it now ;-) > > > > just script this: > > > > ... > > if offset(the system date, line -1 of fld "viestit") is > 0 then put > > empty into fld "viestit" > > ... may I put that code to the card, or stack? EsaK From yvescoppe at skynet.be Fri Aug 30 10:09:00 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Fri Aug 30 10:09:00 2002 Subject: VS: VS: Time from the text field? In-Reply-To: References: Message-ID: > >just script this: > >... > if offset(the system date, line -1 of fld "viestit") is 0 then put >empty into fld "viestit" >... > >This will just look for a match in the last line of that field. > >if (that is what you need) then > enjoy_and_be_happy >else > drop_another_line ## ;-) >end if > Just a question : if you script : put system date into tdate put last line of fld "viestit" into tLastData put offset(tdate, tLastData) into tLine if tLine <> 0 then put empty into fld "viestit" end if It's just the same as you write but with more details. My question is : does it make a difference in the speed of the script ??? this sample works on a little data, so the comparison of time consuming in this case will be difficult to test, but on a big file for example, would it be faster to write a script as you do or there would be any difference in time with my script ?? any idea ? -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From klaus.major at metascape.org Fri Aug 30 10:12:02 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 30 10:12:02 2002 Subject: VS: VS: VS: Time from the text field? In-Reply-To: <961D94BBE7448D4C8E4440CB7920D9E01B6D06@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <3A3E82C6-BC2A-11D6-9C13-003065D52E8E@metascape.org> Hi Esa, > may I put that code to the card, or stack? You may put it anywhere you want, even on the mantlepiece :-D Sorry for that cheap joke, but i can never resist... I think you could put it into an preopencard-handler. Will make sense there. Si the field is ready when the card shows up. > EsaK Best from germany Klaus Major klaus.major at metascape.org From klaus.major at metascape.org Fri Aug 30 10:17:02 2002 From: klaus.major at metascape.org (Klaus Major) Date: Fri Aug 30 10:17:02 2002 Subject: VS: VS: Time from the text field? In-Reply-To: Message-ID: <1FAD0153-BC2B-11D6-9C13-003065D52E8E@metascape.org> Bonjour Yves, >> just script this: >> >> ... >> if offset(the system date, line -1 of fld "viestit") is 0 then put >> empty into fld "viestit" >> ... >> This will just look for a match in the last line of that field. >> >> if (that is what you need) then >> enjoy_and_be_happy >> else >> drop_another_line ## ;-) >> end if > > Just a question : > if you script : > > put system date into tdate > put last line of fld "viestit" into tLastData > put offset(tdate, tLastData) into tLine > if tLine <> 0 then > put empty into fld "viestit" > end if > > It's just the same as you write but with more details. > My question is : does it make a difference in the speed of the script > ??? I am just lazy, so i write as short as possible ;-) > this sample works on a little data, so the comparison of time > consuming in this case will be difficult to test, but on a big file > for example, would it be faster to write a script as you do or there > would be any difference in time with my script ?? I don't think so, since the important part is the "offset". That function first collects all necessary info (tDate and tLastdate) and THEN it will be executed. So execution-time only depends on the size of the data. > any idea ? > -- > Greetings. > > Yves COPPE Au revoir, mon ami... Klaus Major klaus.major at metascape.org From Esa.Kivela at ncrc.fi Fri Aug 30 10:32:01 2002 From: Esa.Kivela at ncrc.fi (=?iso-8859-1?Q?Esa_Kivel=E4?=) Date: Fri Aug 30 10:32:01 2002 Subject: Stand alone via www-page? Message-ID: <961D94BBE7448D4C8E4440CB7920D9E01B6D07@ktk7.ad.kuluttajatutkimuskeskus.fi> 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 From David.Glasgow at cstone-tr.nwest.nhs.uk Fri Aug 30 10:56:00 2002 From: David.Glasgow at cstone-tr.nwest.nhs.uk (Glasgow, David) Date: Fri Aug 30 10:56:00 2002 Subject: Revolution and screen savers, writing real quartz transitions externals Message-ID: <92C2FCA79EE22F4B98185EB58BF2D3B351B99B@mercury.cstone-tr.nwest.nhs.uk> Richard Gaskin wrote: >>One of the trickier handlers would be the shrinkTransition command, but remember that Rev supports all QT transition effects: answer effect put it << I tried this in the message box (WIN 2000, RR 1.1.b1), and got the amazing list of effects. Nice. When I closed the dialog, the message box filled with AAAA6nF0ZngAAAAAAAAAAAAAAAAAAADWc2VhbgAAAAEAAAAGAAAAAAAAABh3aGF0AAAAAQAA AAAAAAAAeHBsbwAAABhiTW9kAAAAAQAAAAAAAAAAAAAAAQAAABpwTXVsAAAAAQAAAAAAAAAA ////////AAAASHBjbnQAAAABAAAAAgAAAAAAAAAYdHdudAAAAAEAAAAAAAAAAAAAAAMAAAAc ZGF0YQAAAAEAAAAAAAAAAAAAAAAAAQAAAAAAGHhjbnQAAAABAAAAAAAAAAAAAAAAAAAAGHlj bnQAAAABAAAAAAAAAAAAAAAA The more effects you try out, the more AAAA6nF0ZngAAAAAAAAAAAAAAAAAAADWc2VhbgAAAAEAAAAGAAAAAAAAABh3aGF0AAAAAQAA AAAAAAAAeHBsbwAAABhiTW9kAAAAAQAAAAAAAAAAAAAAAQAAABpwTXVsAAAAAQAAAAAAAAAA ////////AAAASHBjbnQAAAABAAAAAgAAAAAAAAAYdHdudAAAAAEAAAAAAAAAAAAAAAMAAAAc ZGF0YQAAAAEAAAAAAAAAAAAAAAAAAQAAAAAAGHhjbnQAAAABAAAAAAAAAAAAAAAAAAAAGHlj bnQAAAABAAAAAAAAAAAAAAAA you get. (Incidentally, if Phil is reading this, wouldn't the QT transitions be a good way of rolling over the people chooser?) Best wishes, David Glasgow Courses HTTP://www.i-Psych.co.uk > From kee at kagi.com Fri Aug 30 11:39:01 2002 From: kee at kagi.com (Kee Nethery) Date: Fri Aug 30 11:39:01 2002 Subject: is the value of CR really platform dependant? Message-ID: 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 From kee at kagi.com Fri Aug 30 11:46:01 2002 From: kee at kagi.com (Kee Nethery) Date: Fri Aug 30 11:46:01 2002 Subject: platform() = MacOS (9 with ascii(13) or X with ascii(10))? Message-ID: Regardless whether CR is platform specific, I know that Mac OS 9 uses a ascii(13) to delimit lines and I assume revolution honors that on Mac OS 9. It appears that revolution in Mac OS X uses ascii(10) to delimit lines. Since platform() is supposed to return "MacOS" for both versions of the MacOS and because the two platforms appear to use different line endings in Revolution ... how do I tell whether I need to convert line endings from ascii(13) to ascii(10) or leave them as ascii(13)? How do I know which MacOS I am on given that Revolution appears to treat them differently? Kee Nethery From ambassador at fourthworld.com Fri Aug 30 11:56:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 30 11:56:01 2002 Subject: is the value of CR really platform dependant? In-Reply-To: Message-ID: Kee Nethery 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? The following is true on all platforms: You can read as text or binary. Text mode converts line endings, binary leaves everything as it is natively. As text: open file tMyFile for read - OR - open file tMyFile for text read - OR - put url ("file:"&tMyFile) into tMyData As binary: open file tMyFile for binary read - OR - put url ("binfile:"&tMyFile) into tMyData If you read in text mode, the line endings are handled for you automatically on all platforms. The reverse is also true: when writing to a file, text mode changes line endings to whatever form is customary on the machine it's being run on. -- 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 jacque at hyperactivesw.com Fri Aug 30 12:21:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri Aug 30 12:21:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? References: <200208301319.JAA06229@www.runrev.com> Message-ID: <3D6FA910.3010701@hyperactivesw.com> Dar Scott wrote: > I would prefer a new constant named lineEnd that is _Revolution_ > specific. This would allow the same stack to move across platforms > without line end changes. That's pretty much what "cr" and "return" do already. > For backwards compatibility, it should > be ASCII 10. Maybe there can be a short name, but line and end are > already taken. > > With that, new constants asciiCR, asciiLF, and asciiCRLF are also > defined. > > With the above, use of return and CR can be discouraged. And > lineFeed and CRLF need not be used. > > > However, I've seen examples from old timers on the list that > include return quite a bit. I find that jarring and sometimes > confusing. Yet, others might find it quite natural. It's a holdover from HyperCard and SuperCard, where "return" has been in use since the beginning. As you say, it's very natural for anyone coming from another xtalk environment. The synonym "cr" is what others probably want to use, it's the same thing. I'm not convinced we need a new constant though, but of course I could easily be missing something. I have always just used "cr" or "return" (interchangeably) and line endings have always been converted correctly no matter what platform I move my stack to. Never had any problems with it. If hard binary data needs to be converted, as in the case we've been discussing, then I just replace the appropriate ascii characters with "cr" or "return" and it fixes things. This also works when writing text files; the correct line endings get written depending on the platform. I suppose if you were writing binary data, you'd need a switch statement to write the correct line endings depending on platform, but those constants already exist. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri Aug 30 12:25:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 30 12:25:01 2002 Subject: platform() = MacOS (9 with ascii(13) or X with ascii(10))? In-Reply-To: Message-ID: Kee Nethery wrote: > Regardless whether CR is platform specific, I know that Mac OS 9 uses > a ascii(13) to delimit lines and I assume revolution honors that on > Mac OS 9. It appears that revolution in Mac OS X uses ascii(10) to > delimit lines. > > Since platform() is supposed to return "MacOS" for both versions of > the MacOS and because the two platforms appear to use different line > endings in Revolution ... how do I tell whether I need to convert > line endings from ascii(13) to ascii(10) or leave them as ascii(13)? > > How do I know which MacOS I am on given that Revolution appears to > treat them differently? function IsOSX if the platform is not "MacOS" then return false get the systemversion set the itemdel to "." if item 1 of it >= 10 then return true return false end IsOSX But if you read in text mode you won't have to worry about converting line endings, as it will be done for you by the 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 SRWIMBRO at advo.com Fri Aug 30 12:26:01 2002 From: SRWIMBRO at advo.com (Steve Wimbrow) Date: Fri Aug 30 12:26:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? ( -Reply) Message-ID: I am out of the office this week, Aug 26-30; I will respond to your email upon my return, Tuesday, Sept 3. Please direct all Graphics Gallery technical support issues to John Juanteguy, System Administrator, at 443-259-3580 (EST). Macintosh Operating System questions may be directed to Steve Robinson, National Graphics Print Technical Director, at 480-443-6653, MST. Mac Techs at other ADVO branches may be able to help you: Pittsburgh, Mike Rose, 412-809-3287, EST Milwaukee, Keith Marcinkevic, 414-325-2739, CST Phoenix, Shane Morris, 602-417-1665, MST For questions relating to Information Technology support and services, the ADVO Help Center number is 1-877-ADVOHLP (1-877-238-6457). Thanks very much, talk to you soon. From bvlahos at jpl.nasa.gov Fri Aug 30 12:27:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Fri Aug 30 12:27:01 2002 Subject: is the value of CR really platform dependant? In-Reply-To: Message-ID: <787B745F-BC3D-11D6-819C-000393853DBC@jpl.nasa.gov> Richard, Are you saying that if I use "open file tMyFile for text read" all the platforms will do the right conversion regardless of the format of the text file (LF, CR, or CRLF)? Using the get URL("file:"&tMyFile) Linux and Solaris platforms don't work properly with CR delimited text files. What I have found is that if the text file is unix formatted linefeed delimited, then all of the platforms can read them correctly. It was a pain to figure this out. If the open...for text read is the does everything right, then it is the holy grail we have been looking for. Do I have it correct? Bill On Friday, August 30, 2002, at 09:48 AM, Richard Gaskin wrote: > As text: > > open file tMyFile for read > - OR - > open file tMyFile for text read > - OR - > put url ("file:"&tMyFile) into tMyData > > As binary: > > open file tMyFile for binary read > - OR - > put url ("binfile:"&tMyFile) into tMyData > > If you read in text mode, the line endings are handled for you > automatically > on all platforms. From kray at sonsothunder.com Fri Aug 30 12:34:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 30 12:34:00 2002 Subject: platform() = MacOS (9 with ascii(13) or X with ascii(10))? References: Message-ID: <00f201c2504a$aa82b550$6601a8c0@mckinley.dom> Kee, Check the systemVersion() function. So you can say: if the platform is "MacOS" then if the systemVersion < 10 then -- OS 9 stuff else -- OS 10 stuff end if end if Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Kee Nethery" To: Sent: Friday, August 30, 2002 11:44 AM Subject: platform() = MacOS (9 with ascii(13) or X with ascii(10))? > Regardless whether CR is platform specific, I know that Mac OS 9 uses > a ascii(13) to delimit lines and I assume revolution honors that on > Mac OS 9. It appears that revolution in Mac OS X uses ascii(10) to > delimit lines. > > Since platform() is supposed to return "MacOS" for both versions of > the MacOS and because the two platforms appear to use different line > endings in Revolution ... how do I tell whether I need to convert > line endings from ascii(13) to ascii(10) or leave them as ascii(13)? > > How do I know which MacOS I am on given that Revolution appears to > treat them differently? > > Kee Nethery > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kee at kagi.com Fri Aug 30 12:46:00 2002 From: kee at kagi.com (Kee Nethery) Date: Fri Aug 30 12:46:00 2002 Subject: is the value of CR really platform dependant? In-Reply-To: References: Message-ID: > > >The following is true on all platforms: > >You can read as text or binary. Text mode converts line endings, binary >leaves everything as it is natively. > >As text: > > open file tMyFile for read > - OR - > open file tMyFile for text read > - OR - > put url ("file:"&tMyFile) into tMyData > >As binary: > > open file tMyFile for binary read > - OR - > put url ("binfile:"&tMyFile) into tMyData > >If you read in text mode, the line endings are handled for you automatically >on all platforms. > >The reverse is also true: when writing to a file, text mode changes line >endings to whatever form is customary on the machine it's being run on. But I'm not reading text files, I'm getting data via a network connection and I need to manually alter the line endings to display correctly within Revolution text fields. Is CR a real constant that varies by platform or do I need to convert the text I receive from the database according to the platform my stack is running on? Thanks, Kee From kee at kagi.com Fri Aug 30 12:46:18 2002 From: kee at kagi.com (Kee Nethery) Date: Fri Aug 30 12:46:18 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: <3D6FA910.3010701@hyperactivesw.com> References: <200208301319.JAA06229@www.runrev.com> <3D6FA910.3010701@hyperactivesw.com> Message-ID: >Dar Scott wrote: > >>I would prefer a new constant named lineEnd that is _Revolution_ >>specific. This would allow the same stack to move across platforms >>without line end changes. > >That's pretty much what "cr" and "return" do already. > >>For backwards compatibility, it should be ASCII 10. Maybe there >>can be a short name, but line and end are already taken. >> >>With that, new constants asciiCR, asciiLF, and asciiCRLF are also defined. >> >>With the above, use of return and CR can be discouraged. And >>lineFeed and CRLF need not be used. >> >> >>However, I've seen examples from old timers on the list that >>include return quite a bit. I find that jarring and sometimes >>confusing. Yet, others might find it quite natural. > >It's a holdover from HyperCard and SuperCard, where "return" has >been in use since the beginning. As you say, it's very natural for >anyone coming from another xtalk environment. The synonym "cr" is >what others probably want to use, it's the same thing. > >I'm not convinced we need a new constant though, but of course I >could easily be missing something. I have always just used "cr" or >"return" (interchangeably) and line endings have always been >converted correctly no matter what platform I move my stack to. >Never had any problems with it. If hard binary data needs to be >converted, as in the case we've been discussing, then I just replace >the appropriate ascii characters with "cr" or "return" and it fixes >things. This also works when writing text files; the correct line >endings get written depending on the platform. I suppose if you were >writing binary data, you'd need a switch statement to write the >correct line endings depending on platform, but those constants >already exist. 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. put the number of chars in CR put chartonum(char 1 of CR) and if the number of chars is more than 1 put chartonum(char of CR) Sorry to be such a pest, I'm not getting my data from a text file, I'm not getting my data from a URL, I am getting it via a database connection and unless I manually muck with the text, it will not display properly. If there are changes to the text, I have to manually convert it back to what the database expects so that it gets stored properly. I cannot use these silent behind the scenes "Revolution will do it for you" kinds of file saves. Thanks all for the help. Kee Nethery From kee at kagi.com Fri Aug 30 12:50:01 2002 From: kee at kagi.com (Kee Nethery) Date: Fri Aug 30 12:50:01 2002 Subject: platform() = MacOS (9 with ascii(13) or X with ascii(10))? In-Reply-To: References: Message-ID: > > >function IsOSX > if the platform is not "MacOS" then return false > get the systemversion > set the itemdel to "." > if item 1 of it >= 10 then return true > return false >end IsOSX > Excellent, systemversion is a call I was not aware of, thank you. >But if you read in text mode you won't have to worry about converting line >endings, as it will be done for you by the engine. I'm coming in via a database connection so I cannot "read in text mode". Thank you, Now I just want to confirm that CR as a Revolution constant really is different on different platforms. Kee Nethery From ambassador at fourthworld.com Fri Aug 30 13:07:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 30 13:07:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: <3D6FA910.3010701@hyperactivesw.com> Message-ID: J. Landman Gay wrote: > Dar Scott wrote: > >> However, I've seen examples from old timers on the list that >> include return quite a bit. I find that jarring and sometimes >> confusing. Yet, others might find it quite natural. > > It's a holdover from HyperCard and SuperCard, where "return" has been in > use since the beginning. As you say, it's very natural for anyone coming > from another xtalk environment. The synonym "cr" is what others probably > want to use, it's the same thing. > > I'm not convinced we need a new constant though, but of course I could > easily be missing something. I have always just used "cr" or "return" > (interchangeably) and line endings have always been converted correctly > no matter what platform I move my stack to. Never had any problems with > it. If hard binary data needs to be converted, as in the case we've been > discussing, then I just replace the appropriate ascii characters with > "cr" or "return" and it fixes things. With one issue: it is perfectly reasonable to expect an intelligent person to attempt to use "cr" or "return" in cases where they realy need a _real_ return (numtochar(13)). This disparity between the Mac-authoring-tool convention and the UNIX-favoring MC engine presents a learnability problem for anyone who hasn't yet learned that the "return" constant does not denote a return character. :) In looking for ways to solve the problem, we have to ask ourselves: should we give real and true values to constants for the benefit of all future users, or do we keep answering this question ad infinitum in order to preserve compatibility with 10 years' of legacy code. Not an easy call to make. As has been done in other cases where new behavior may require substantial revisio to legacy code, we could consider a global property, something like the useOldStyleConstants, so we can retain compatibility by adding only one line of code. -- 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 Fri Aug 30 13:07:16 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 30 13:07:16 2002 Subject: is the value of CR really platform dependant? In-Reply-To: <787B745F-BC3D-11D6-819C-000393853DBC@jpl.nasa.gov> Message-ID: Bill Vlahos wrote: > On Friday, August 30, 2002, at 09:48 AM, Richard Gaskin wrote: > >> As text: >> >> open file tMyFile for read >> - OR - >> open file tMyFile for text read >> - OR - >> put url ("file:"&tMyFile) into tMyData >> >> As binary: >> >> open file tMyFile for binary read >> - OR - >> put url ("binfile:"&tMyFile) into tMyData >> >> If you read in text mode, the line endings are handled for you >> automatically >> on all platforms. > > Are you saying that if I use "open file tMyFile for text read" all the > platforms will do the right conversion regardless of the format of the > text file (LF, CR, or CRLF)? > > Using the get URL("file:"&tMyFile) Linux and Solaris platforms don't > work properly with CR delimited text files. What I have found is that > if the text file is unix formatted linefeed delimited, then all of the > platforms can read them correctly. It was a pain to figure this out. > > If the open...for text read is the does everything right, then it is > the holy grail we have been looking for. > > Do I have it correct? I can only describe the intent. :) Text mode should convert platform-specific line endings to the UNIX standard ( a single linefeed character, ASCII 10, denoted by the constant "cr" or "return"). Writing should take care of that in reverse: the engine's UNIX line endings become native to the OS the file is being written on (CRLF for Win, ASCII 13 for Mac OS). If the engine is doing anything different in text mode, I would consider it a bug unless there's a benefit to such an exception that I'm not seeing. -- 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 shaosean at unitz.ca Fri Aug 30 13:11:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Fri Aug 30 13:11:01 2002 Subject: day and time fomat to European? References: <961D94BBE7448D4C8E4440CB7920D9E01B6CFE@ktk7.ad.kuluttajatutkimuskeskus.fi> Message-ID: <002b01c2504f$c9a49480$88b15bd1@lanfear> if your system is set to display that way, try using put the system date From bvlahos at jpl.nasa.gov Fri Aug 30 13:25:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Fri Aug 30 13:25:01 2002 Subject: Can lineOffSet find last occurance? Message-ID: <8CECCE22-BC45-11D6-819C-000393853DBC@jpl.nasa.gov> 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 From kray at sonsothunder.com Fri Aug 30 13:56:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 30 13:56:01 2002 Subject: Can lineOffSet find last occurance? References: <8CECCE22-BC45-11D6-819C-000393853DBC@jpl.nasa.gov> Message-ID: <011c01c25056$25724310$6601a8c0@mckinley.dom> ----- Original Message ----- From: "Bill Vlahos" To: Sent: Friday, August 30, 2002 1:23 PM Subject: Can lineOffSet find last occurance? > 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 kray at sonsothunder.com Fri Aug 30 13:59:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 30 13:59:00 2002 Subject: Can lineOffSet find last occurance? References: <8CECCE22-BC45-11D6-819C-000393853DBC@jpl.nasa.gov> Message-ID: <012201c25056$796d4910$6601a8c0@mckinley.dom> MAN! I'm getting tired of send email before I've typed in anything! Sheesh! ======================================================= Anyway, Bill, what I was going to say was that if you have the lines already sorted in one direction, couldn't you sort them in the opposite direction and then use lineOffset()? (When Rev 1.5 comes out, you'll be able to use the matchText() function with regEx to do a "greedy" match (which will find the last occurrence in a container), but until that time, we'll have to settle for lineOffset.) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Bill Vlahos" To: Sent: Friday, August 30, 2002 1:23 PM Subject: Can lineOffSet find last occurance? > 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 ludovic.thebault at laposte.net Fri Aug 30 14:08:01 2002 From: ludovic.thebault at laposte.net (Ludovic Th=?ISO-8859-1?Q?=E9?=bault) Date: Fri Aug 30 14:08:01 2002 Subject: Two "type" in the same time ? Message-ID: <20020830210429.A9DEF4%00000000@laposte.net> 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 :-) From kee at kagi.com Fri Aug 30 14:19:01 2002 From: kee at kagi.com (Kee Nethery) Date: Fri Aug 30 14:19:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: References: Message-ID: >J. Landman Gay wrote: > >> Dar Scott wrote: >> >>> However, I've seen examples from old timers on the list that >>> include return quite a bit. I find that jarring and sometimes >>> confusing. Yet, others might find it quite natural. >> >> It's a holdover from HyperCard and SuperCard, where "return" has been in >> use since the beginning. As you say, it's very natural for anyone coming >> from another xtalk environment. The synonym "cr" is what others probably >> want to use, it's the same thing. >> >> I'm not convinced we need a new constant though, but of course I could >> easily be missing something. I have always just used "cr" or "return" >> (interchangeably) and line endings have always been converted correctly >> no matter what platform I move my stack to. Never had any problems with >> it. If hard binary data needs to be converted, as in the case we've been >> discussing, then I just replace the appropriate ascii characters with >> "cr" or "return" and it fixes things. > >With one issue: it is perfectly reasonable to expect an intelligent person >to attempt to use "cr" or "return" in cases where they realy need a _real_ >return (numtochar(13)). > >This disparity between the Mac-authoring-tool convention and the >UNIX-favoring MC engine presents a learnability problem for anyone who >hasn't yet learned that the "return" constant does not denote a return >character. :) > >In looking for ways to solve the problem, we have to ask ourselves: should >we give real and true values to constants for the benefit of all future >users, or do we keep answering this question ad infinitum in order to >preserve compatibility with 10 years' of legacy code. Not an easy call to >make. > >As has been done in other cases where new behavior may require substantial >revisio to legacy code, we could consider a global property, something like >the useOldStyleConstants, so we can retain compatibility by adding only one >line of code. I think you have described the dilemma for Revolution and have hit on a very good suggested solution. There is no international specification that I am aware of that uses the symbol of CR to mean ASCII 10. Every specification I have ever seen refers to CR as an abbreviation for Carriage Return and it always refers to ASCII 13. Even Revolution has CR equal to ASCII 13 in the CRLF constant. Secondly, I have never seen any international specification where Return is not just a shorthand way of saying Carriage Return. Thus to my mind, the only value that Return or CR should equal, under all circumstances is ASCII 13. If there is doubt about the generally accepted value of CR, please refer to RFC318 which is just one example. Keep in mind that back in 1972 this RFC was probably created on a Unix machine where lines are terminated with a linefeed and in this spec CR is still denoted as ASCII 13. I'm just guessing here but perhaps someone in the past Revolution history saw the text printed on the return key ("return") and decided that because on a unix system hitting the key labelled return inserted a LineFeed, that it made sense to them to have the Return value equal the value created when hitting the Return key on the keyboard on their unix machine (the value of LineFeed). Then because Return is equivalent to Carriage Return they made the CR constant equal ASCII 10 also. They were mistaken to connect the result of hitting the Return key to the specific result as seen in a Unix text file. If I was the one to decide how to modify Revolution going forward, I'd chose to make Revolution compatible with all the desired future users. 1. I'd correct Revolution in the next revision so that CR and return are always ASCII 13, regardless of platform. 2. I'd put in a switch for backwards compatibility. useOldStyleConstants is a reasonable suggestion. 3. I'd introduce a new constant like endOfLine or LineEnd or LineTermination or something else as long as it is not already being used in some character specification, and that constant would be whatever that specific platform and system uses to terminate lines. My newly created function calls to make sure I do the right thing with the data I get from a database are: function adjustLineEndOS thetext replace (numtochar(13) & numtochar(10)) with numtochar(13) in thetext replace numtochar(10) with numtochar(13) in thetext replace numtochar(10) with getLineEnd() in thetext return thetext end adjustLineEndOS function getLineEnd switch platform() case "Win32" put numtochar(13) & numtochar(10) into lineEnd break case "MacOS" put the systemVersion into ver put char 1 to (offset(".",ver)-1) of ver into ver if ver > 9 then put numtochar(10) into lineEnd else put numtochar(13) into lineEnd end if break default put numtochar(10) into lineEnd end switch return lineEnd end getLineEnd Thanks to everyone who offered suggestions and assistance, much appreciated. I'll stop talking about this issue and go back to work. Kee Nethery From raney at metacard.com Fri Aug 30 14:23:01 2002 From: raney at metacard.com (Scott Raney) Date: Fri Aug 30 14:23:01 2002 Subject: CGI engine In-Reply-To: <200208301757.NAA24262@www.runrev.com> Message-ID: On Thu, 29 Aug 2002 Tim wrote: > After contacting my Web Host and wrangling the info from them, I found out > that they're using DecAlpha processors on Solaris. I didn't find the > appropriate rev engine for that platform on the rev site. Is there any > workaround or would I have to switch to different provider? If they really told you that, it's time to switch to a different provider ;-) You see, Solaris doesn't run on Alpha processors, only on SPARC and x86 processors. Alpha processors can run Tru64 UNIX (aka "Digital UNIX"), Linux, and if you're really a glutton for punishment, VMS. The bigger problem with Alpha processors being that they were one of the casualties of the DEC/Compaq merger and were effectively discontinued several years ago (I think you can still by old stock, but AFAIK they've even discontinued manufacturing of replacement parts now). Bottom line, you don't want to be using a hosting service that uses Alpha systems. Solaris is fine, and you'll want the solsparc package (at least, that's what it's called in the MetaCard distribution). Linux is also good, but be sure to get an ISP that has installed the X11 libraries. Most do, but some don't under the mistaken impression that they're not needed in a server environment. Regards, Scott > -- > Tim ******************************************************** Scott Raney raney at metacard.com http://www.metacard.com MetaCard: You know, there's an easier way to do that... From kee at kagi.com Fri Aug 30 14:56:04 2002 From: kee at kagi.com (Kee Nethery) Date: Fri Aug 30 14:56:04 2002 Subject: end of line code fix Message-ID: There was a typo in the code I submitted earlier, sorry. My newly created function calls to make sure I do the right thing with the data I get from a database are: function adjustLineEndOS thetext replace (numtochar(13) & numtochar(10)) with numtochar(13) in thetext replace numtochar(10) with numtochar(13) in thetext -- ooops, this next line had a typo (now corrected) replace numtochar(13) with getLineEnd() in thetext return thetext end adjustLineEndOS function getLineEnd switch platform() case "Win32" put numtochar(13) & numtochar(10) into lineEnd break case "MacOS" put the systemVersion into ver put char 1 to (offset(".",ver)-1) of ver into ver if ver > 9 then put numtochar(10) into lineEnd else put numtochar(13) into lineEnd end if break default put numtochar(10) into lineEnd end switch return lineEnd end getLineEnd From jperryl at ecs.fullerton.edu Fri Aug 30 15:03:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri Aug 30 15:03:01 2002 Subject: Where did all my images go?? In-Reply-To: Message-ID: Hi again, I am wondering if the following is a known bug. I have been working on a Harry Potter game of sorts using Rev 1.1.1 on Mac OSX. I have 3 or 4 substacks. I have a background group. I have many images that were links to the image files rather than embedded/imported into the stack itself (largely because when I used the picture/graphic tool and double-clicked the container I created, I only saw the option to link and, never considering that an image could be a 'control', only recently figured out how to import). Anyway, so probably not the best way of going about it, but it was working fine for several weeks until yesterday. I opened my mainstack and, poof! No graphics. Zip. Nada. Nuthin'. I didn't move the graphics, didn't modify them, I rechecked the path for the link... Just no images. As you can imagine, this can make one rather cross. Any ideas? Many kind thanks, Judy Perry From BradAllen at mac.com Fri Aug 30 15:07:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Fri Aug 30 15:07:01 2002 Subject: strange indentation Message-ID: 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.) switch clientPlatform12 case "MacOS" put getReportTextProperty (cpuheader,"IP address") into ip11 --for Mac put getReportTextProperty (cpuheader,"RAM") into ram13 --for Mac put word 1 of getReportTextProperty (cpuheader,"Mac OS Version") into OSvers14 --for Mac put getReportTextProperty (cpuheader,"Applescript Report Date") into asDate15 --for Mac put getReportTextProperty (cpuheader,"Processor Speed") into pspeed16 --for Mac put getReportTextProperty (cpuheader,"Processor Type") into ptype17 --for Mac put getReportTextProperty (cpuheader,"Model Name") into modelName18 --for Mac put getReportTextProperty (cpuheader,"Number of Processors") into numP19 --for Mac put getReportTextProperty (cpuheader,"Keyboard") into kbd20 --for Mac put getReportTextSection (textBucket,"") into mem21 --for Mac put getReportTextSection (textBucket,"") into dev22 --for Mac put getReportTextSection (textBucket,"") into print23 --for Mac break case "Win32" global win32swRefList put getW32swReferenceList() into win32swReferenceList put getTagContent(textBucket,"","") into ipconfigText put getTagContent(textBucket,"","<\environVars>") into environVarText put extractWin32ethernetAddress(ipconfigText) into ethernetAddress put extractWin32ipAddress(ipconfigText) into ip11 put getTagContent(textBucket,"","") into OSvers14 put getReportTextProperty (cpuheader,"PC CPU Model") into numP19 put "OEM Label: " & getReportTextProperty (cpuheader,"OEM Label") into print23 put extractWin32environVar("NUMBER_OF_PROCESSORS",environVarText) into numP19 put empty into ram13 put "n/a" into asDate15 put empty into pspeed16 put empty into mem21 put empty into dev22 break end switch From BradAllen at mac.com Fri Aug 30 15:28:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Fri Aug 30 15:28:01 2002 Subject: progress bar stalls Message-ID: I'm using a progressbar to provide the user a sense the the script is progressing, but it's not as smooth as I would like, due to a lack of multithreading in the script. In fact, script execution (and therefore the progressbar) completely stops moving while waiting for certain commands to execute, such as DOS shell commands or do Applescript commands. I tried using the "send" command to trigger delayed messages to my updateProgressMessage handler, but these delayed send messages were for some reason held up while the shell command was executing. -- send "updateProgressMessage " & quote & "Please wait. Generating report......" & quote & ",55" to this stack in 60 seconds Any ideas on this? Thanks... From ambassador at fourthworld.com Fri Aug 30 15:37:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 30 15:37:00 2002 Subject: Can lineOffSet find last occurance? In-Reply-To: <8CECCE22-BC45-11D6-819C-000393853DBC@jpl.nasa.gov> Message-ID: 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? The optional third param to the lineoffset funtion will let you specify a starting point for the next iteration. -- 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 Fri Aug 30 15:37:24 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 30 15:37:24 2002 Subject: Where did all my images go?? In-Reply-To: Message-ID: Judy Perry wrote: > I am wondering if the following is a known bug. I have been working on a > Harry Potter game of sorts using Rev 1.1.1 on Mac OSX. I have 3 or 4 > substacks. I have a background group. I have many images that were links > to the image files rather than embedded/imported into the stack itself > (largely because when I used the picture/graphic tool and double-clicked > the container I created, I only saw the option to link and, never > considering that an image could be a 'control', only recently figured out > how to import). > > Anyway, so probably not the best way of going about it, but it was working > fine for several weeks until yesterday. I opened my mainstack and, poof! > No graphics. Zip. Nada. Nuthin'. I didn't move the graphics, didn't > modify them, I rechecked the path for the link... Just no images. > > As you can imagine, this can make one rather cross. > > Any ideas? The good news is that referenced images are used by enough people that it's generally pretty solid. Probably just a script thing or a path thing. Are these paths relative or absolute? If absolute, have you moved the folder containing your stack and/or images? If relative, what is the value of the directory property when the images don't show? -- 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 Fri Aug 30 15:48:00 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 30 15:48:00 2002 Subject: is the value of CR really platform dependant? In-Reply-To: Message-ID: Kee Nethery wrote: >> >> >> The following is true on all platforms: >> >> You can read as text or binary. Text mode converts line endings, binary >> leaves everything as it is natively. >> >> As text: >> >> open file tMyFile for read >> - OR - >> open file tMyFile for text read >> - OR - >> put url ("file:"&tMyFile) into tMyData >> >> As binary: >> >> open file tMyFile for binary read >> - OR - >> put url ("binfile:"&tMyFile) into tMyData >> >> If you read in text mode, the line endings are handled for you automatically >> on all platforms. >> >> The reverse is also true: when writing to a file, text mode changes line >> endings to whatever form is customary on the machine it's being run on. > > But I'm not reading text files, I'm getting data via a network > connection How? Using which syntax? > and I need to manually alter the line endings to display > correctly within Revolution text fields. > > Is CR a real constant that varies by platform... No, rather the opposite. "cr" and "return" always denote ASCII 10. That should be the only confusing part. What determines which line endings are in data depends on how it's read and where's it's coming from. Share that and we can solve the mystery. -- 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 mpetrides at earthlink.net Fri Aug 30 16:00:01 2002 From: mpetrides at earthlink.net (Marian Petrides) Date: Fri Aug 30 16:00:01 2002 Subject: Where did all my images go?? In-Reply-To: Message-ID: <0AD592FF-BC5B-11D6-8054-0003936D5826@earthlink.net> RE: Judy Perry's disappearing images question: Not sure this is on point but I've found strange behavior if I have a distribution file which is deeply nested; these problems are resolved by bringing the stack one or two folders up in the heirarchy. The following are two problems I noted in the past: Had trouble with cryptic error messages (got errors that opened the script error window for Revolution?s source script) when I had the source file very deeply nested. Went away if I brought it one or two folders closer to root. Likewise, when I have my distribution executable files deeply nested, sounds do no play but when I put them at or near desktop there is no problem. I've also noted problems with saving when the filename gets excessively long due to deep nesting. So maybe you can fix your problem by bringing the stack up a few folders in the hierarchy.... just a thought, something to try if Richard's suggestion doesn't solve the problem Marian On Friday, August 30, 2002, at 03:23 PM, Richard Gaskin wrote: > Judy Perry wrote: > >> I am wondering if the following is a known bug. I have been working >> on a >> Harry Potter game of sorts using Rev 1.1.1 on Mac OSX. I have 3 or 4 >> substacks. I have a background group. I have many images that were >> links >> to the image files rather than embedded/imported into the stack itself >> (largely because when I used the picture/graphic tool and >> double-clicked >> the container I created, I only saw the option to link and, never >> considering that an image could be a 'control', only recently figured >> out >> how to import). >> >> Anyway, so probably not the best way of going about it, but it was >> working >> fine for several weeks until yesterday. I opened my mainstack and, >> poof! >> No graphics. Zip. Nada. Nuthin'. I didn't move the graphics, >> didn't >> modify them, I rechecked the path for the link... Just no images. >> >> As you can imagine, this can make one rather cross. >> >> Any ideas? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2031 bytes Desc: not available URL: From ambassador at fourthworld.com Fri Aug 30 16:02:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 30 16:02:01 2002 Subject: progress bar stalls In-Reply-To: Message-ID: Brad Allen wrote: > I'm using a progressbar to provide the user a sense the the script is > progressing, but it's not as smooth as I would like, due to a lack of > multithreading in the script. In fact, script execution (and > therefore the progressbar) completely stops moving while waiting for > certain commands to execute, such as DOS shell commands or do > Applescript commands. > > I tried using the "send" command to trigger delayed messages to my > updateProgressMessage handler, but these delayed send messages were > for some reason held up while the shell command was executing. > > -- send "updateProgressMessage " & quote & "Please wait. > Generating report......" & quote & ",55" to this stack in 60 seconds > > Any ideas on this? Thanks... The "send in..." option simply sends the message after the specified time has elapsed, BUT it doesn't interrupt executing scripts to do so. In this sence, Rev does not attempt to be truly threaded, merely convenient. :) If your script hangs while waiting for a lengthy synchronous process, I wonder if there's a way to make the process asynchrnous. Post the snippets that are hanging and maybe one of us has an asynch alternative. -- 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 Fri Aug 30 16:08:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri Aug 30 16:08:01 2002 Subject: Where did all my images go?? In-Reply-To: Message-ID: Hi Richard, Thanks for the reply. > The good news is that referenced images are used by enough people that it's > generally pretty solid. Probably just a script thing or a path thing. > > Are these paths relative or absolute? If absolute, have you moved the > folder containing your stack and/or images? If relative, what is the value > of the directory property when the images don't show? They are whatever is set in when you use the browse feature to select a file to which to link. No, I did not move the images. At least, I don't think I did until everything disappeared and I took this as a sign that perhaps I should really be doing things the other way... I've just tried moving back a copy and still no go. Is it really that picky? If so, I *really* need to get with the program and import those little dudes. Along some of the same lines, I did import a series of 4 images for a single card and set their visibles to false. The idea is that the player is randomly selected for a Hogwarts House and then the appropriate House image is set to true. It doesn't. Similarly, when I import it (as control), I am not able to set its visible to false, either in script or the message box. Is this not doable? Shouldn't it be doable? It's doable if I don't change the image's name from within Rev, but since at this point it's not a reference to an external file, *shouldn't* I be able to reset its name and refer to it by its new name? Judy Perry From jperryl at ecs.fullerton.edu Fri Aug 30 16:10:01 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri Aug 30 16:10:01 2002 Subject: Where did all my images go?? In-Reply-To: <0AD592FF-BC5B-11D6-8054-0003936D5826@earthlink.net> Message-ID: Thanks, Marian. I'll try that if Richard's suggestions don't work. Judy On Fri, 30 Aug 2002, Marian Petrides wrote: > RE: Judy Perry's disappearing images question: > > Not sure this is on point but I've found strange behavior if I have a > distribution file which is deeply nested; these problems are resolved > by bringing the stack one or two folders up in the heirarchy. The > following are two problems I noted in the past: From kray at sonsothunder.com Fri Aug 30 16:15:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 30 16:15:00 2002 Subject: progress bar stalls References: Message-ID: <016401c25069$7a828f00$6601a8c0@mckinley.dom> Brad, If you can use "open process" instead of "shell" (at least for Windows), that will allow you to continue updating your progress bar. I don't know if it works the same for Mac and AppleScript, though... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Brad Allen" To: Sent: Friday, August 30, 2002 3:26 PM Subject: progress bar stalls > I'm using a progressbar to provide the user a sense the the script is > progressing, but it's not as smooth as I would like, due to a lack of > multithreading in the script. In fact, script execution (and > therefore the progressbar) completely stops moving while waiting for > certain commands to execute, such as DOS shell commands or do > Applescript commands. > > I tried using the "send" command to trigger delayed messages to my > updateProgressMessage handler, but these delayed send messages were > for some reason held up while the shell command was executing. > > -- send "updateProgressMessage " & quote & "Please wait. > Generating report......" & quote & ",55" to this stack in 60 seconds > > Any ideas on this? Thanks... > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Fri Aug 30 16:17:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 30 16:17:01 2002 Subject: Where did all my images go?? References: <0AD592FF-BC5B-11D6-8054-0003936D5826@earthlink.net> Message-ID: <017401c25069$c21d8d60$6601a8c0@mckinley.dom> Yes... you reminded me of a similar situation a long time ago. I think there's a 255 character limit to file paths on Mac OS. This is a limitation that was removed in the 2.4.2 and higher MetaCard engine (which will be "underneath" the next version of Rev when it is released). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: Marian Petrides To: use-revolution at lists.runrev.com Sent: Friday, August 30, 2002 3:57 PM Subject: Re: Where did all my images go?? RE: Judy Perry's disappearing images question: Not sure this is on point but I've found strange behavior if I have a distribution file which is deeply nested; these problems are resolved by bringing the stack one or two folders up in the heirarchy. The following are two problems I noted in the past: Had trouble with cryptic error messages (got errors that opened the script error window for Revolution?s source script) when I had the source file very deeply nested. Went away if I brought it one or two folders closer to root. Likewise, when I have my distribution executable files deeply nested, sounds do no play but when I put them at or near desktop there is no problem. I've also noted problems with saving when the filename gets excessively long due to deep nesting. So maybe you can fix your problem by bringing the stack up a few folders in the hierarchy.... just a thought, something to try if Richard's suggestion doesn't solve the problem Marian On Friday, August 30, 2002, at 03:23 PM, Richard Gaskin wrote: Judy Perry wrote: I am wondering if the following is a known bug. I have been working on a Harry Potter game of sorts using Rev 1.1.1 on Mac OSX. I have 3 or 4 substacks. I have a background group. I have many images that were links to the image files rather than embedded/imported into the stack itself (largely because when I used the picture/graphic tool and double-clicked the container I created, I only saw the option to link and, never considering that an image could be a 'control', only recently figured out how to import). Anyway, so probably not the best way of going about it, but it was working fine for several weeks until yesterday. I opened my mainstack and, poof! No graphics. Zip. Nada. Nuthin'. I didn't move the graphics, didn't modify them, I rechecked the path for the link... Just no images. As you can imagine, this can make one rather cross. Any ideas? From tim11 at bellatlantic.net Fri Aug 30 16:33:01 2002 From: tim11 at bellatlantic.net (Tim) Date: Fri Aug 30 16:33:01 2002 Subject: CGI engine In-Reply-To: Message-ID: On 8/30/02 3:21 PM, "Scott Raney" wrote: > On Thu, 29 Aug 2002 Tim wrote: > >> After contacting my Web Host and wrangling the info from them, I found out >> that they're using DecAlpha processors on Solaris. I didn't find the >> appropriate rev engine for that platform on the rev site. Is there any >> workaround or would I have to switch to different provider? >> -- >> Tim > > If they really told you that, it's time to switch to a different > provider ;-) > > You see, Solaris doesn't run on Alpha processors, only on SPARC and > x86 processors. Alpha processors can run Tru64 UNIX (aka "Digital > UNIX"), Linux, and if you're really a glutton for punishment, VMS. > The bigger problem with Alpha processors being that they were one of > the casualties of the DEC/Compaq merger and were effectively > discontinued several years ago (I think you can still by old stock, > but AFAIK they've even discontinued manufacturing of replacement parts > now). Bottom line, you don't want to be using a hosting service that > uses Alpha systems. Solaris is fine, and you'll want the solsparc > package (at least, that's what it's called in the MetaCard > distribution). Linux is also good, but be sure to get an ISP that has > installed the X11 libraries. Most do, but some don't under the > mistaken impression that they're not needed in a server environment. > Regards, > Scott > > > ******************************************************** > Scott Raney raney at metacard.com http://www.metacard.com > MetaCard: You know, there's an easier way to do that... > Thanks for the info. Rest assured that I've switched my Web Hosting provider with much enthusiasm! It's incompetence coupled with expensiveness. I've found another provider who's using Linux, which should be easy enough. I guess the important part is having someone with Unix untar and upload the engine to the server. I've done it on a Mac (os x) and it doesn't work yet. -- Tim From tim11 at bellatlantic.net Fri Aug 30 16:42:01 2002 From: tim11 at bellatlantic.net (Tim) Date: Fri Aug 30 16:42:01 2002 Subject: CGI question Message-ID: Hello, I asked this question before, but must have been lost in the dust of the other threads, so here it is again: Installed the Darwin engine properly, launched apache locally, the hello world and other scripts work but the command: put URL "http://www.yahoo.com" does not work. Can anyone running Rev as faceless CGI try this or similar commands? I can't get over this hump. Thanks, -- Tim From ambassador at fourthworld.com Fri Aug 30 16:58:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Aug 30 16:58:01 2002 Subject: Where did all my images go?? In-Reply-To: Message-ID: Judy Perry wrote: > Hi Richard, > > Thanks for the reply. > >> The good news is that referenced images are used by enough people that it's >> generally pretty solid. Probably just a script thing or a path thing. >> >> Are these paths relative or absolute? If absolute, have you moved the >> folder containing your stack and/or images? If relative, what is the value >> of the directory property when the images don't show? > > They are whatever is set in when you use the browse feature to select a > file to which to link. No, I did not move the images. At least, I don't > think I did until everything disappeared and I took this as a sign that > perhaps I should really be doing things the other way... I've just tried > moving back a copy and still no go. Is it really that picky? If so, I > *really* need to get with the program and import those little dudes. I just tried your recipe and got a good result: 1. Selected an image 2. In the Properties palette I click the "Browse..." button in the Link To File section 3. Select the image in the GetFile dialog 4. The image is drawn as I would expect. To test further: 5. Saved and closed the stack 6. Quit Rev 7. Launch Rev again 8. Opened the stack - the image is drawn. How different is this recipe from what you're doing? > Along some of the same lines, I did import a series of 4 images for a > single card and set their visibles to false. The idea is that the player > is randomly selected for a Hogwarts House and then the appropriate House > image is set to true. It doesn't. Similarly, when I import it (as > control), I am not able to set its visible to false, either in script or > the message box. Is this not doable? Shouldn't it be doable? It's > doable if I don't change the image's name from within Rev, but since at > this point it's not a reference to an external file, *shouldn't* I be able > to reset its name and refer to it by its new name? You should. I've been doing it here for years. What does the script that's not performing as you'd expect look like? -- 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 Aug 30 16:58:52 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 30 16:58:52 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: Message-ID: On Friday, August 30, 2002, at 01:03 PM, Kee Nethery wrote: > function adjustLineEndOS thetext > replace (numtochar(13) & numtochar(10)) with numtochar(13) in thetext > replace numtochar(10) with numtochar(13) in thetext > replace numtochar(10) with getLineEnd() in thetext > return thetext > end adjustLineEndOS I don't think this will work. I think one of us got you off into the wrong direction. The line end on Revolution is numToChar(10). Maybe this will work... function adjustLineEndInput thetext replace (numtochar(13) & numtochar(10)) with numtochar(13) in thetext replace numtochar(13) with numtochar(10) in thetext -- fixed typo return thetext end adjustLineEndInput This is just yours above with a typo correction. It is even better than what I have been using. I'm going to try it! This even handles the hybrid cr lf lf correctly. Cool! Dar Scott From BradAllen at mac.com Fri Aug 30 17:02:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Fri Aug 30 17:02:01 2002 Subject: progress bar stalls In-Reply-To: <016401c25069$7a828f00$6601a8c0@mckinley.dom> References: <016401c25069$7a828f00$6601a8c0@mckinley.dom> Message-ID: >Brad, > >If you can use "open process" instead of "shell" (at least for Windows), >that will allow you to continue updating your progress bar. I don't know if >it works the same for Mac and AppleScript, though... That looks interesting...however, I don't fully understand the documentation for Open Process and Read from Process. Can you use this with any kind of program at all, or does it have to be Rev standalone, or something like a shell script or DOS batch file? Thanks! From dsc at swcp.com Fri Aug 30 17:23:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Aug 30 17:23:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: Message-ID: <650D5A82-BC66-11D6-9BA8-0050E4C0B205@swcp.com> On Friday, August 30, 2002, at 11:42 AM, Richard Gaskin wrote: > As has been done in other cases where new behavior may require > substantial > revisio to legacy code, we could consider a global property, > something like > the useOldStyleConstants, so we can retain compatibility by adding > only one > line of code. Good idea. However, some of us might mix libraries and examples from the new school and from the old timers. I like: lineEnd = 10 asciiCR = 13 asciiLF = 10 These can handle most needs. Rev makes booing sound when CR or return are used in a script that is saved unless some version of legacy 'card is installed on the system. And the TD has a separate page for CR and return, each, and each page includes a sad face in the upper right corner. This way code can be mixed. Dar Scott From jswitte at bloomington.in.us Fri Aug 30 17:37:01 2002 From: jswitte at bloomington.in.us (Jim Witte) Date: Fri Aug 30 17:37:01 2002 Subject: Q about Palettes floating over transcript dictionary - raisePalettes not working? Message-ID: I was thinking about the problem/question someone raised (no pun intended) recently about how all the palettes float over the transcript dictionary, meaning that you have to rearrange everything to read it. One way I found to get around this is to do palette stack "revDocsLanguageReference" to open it as a palette itself. But I also poked around and found the raisePalettes property, which when set to false should allow all palettes (including properties) to be shuffled with all the other windows. The only problem is, on MacOS X, it doesn't seem to work.. Jim From kray at sonsothunder.com Fri Aug 30 18:13:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Aug 30 18:13:01 2002 Subject: progress bar stalls References: <016401c25069$7a828f00$6601a8c0@mckinley.dom> Message-ID: <000e01c25079$fbc7dec0$6601a8c0@mckinley.dom> Brad, It can be any application. The basic thing is that when Rev executes a program with "open process", it keeps track of it in the openProcesses global, and can force it closed because it "owns" the process. This also allows it to be asynchronous (unlike shell()) and move on with your scripts. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Brad Allen" To: Sent: Friday, August 30, 2002 4:55 PM Subject: Re: progress bar stalls > >Brad, > > > >If you can use "open process" instead of "shell" (at least for Windows), > >that will allow you to continue updating your progress bar. I don't know if > >it works the same for Mac and AppleScript, though... > > That looks interesting...however, I don't fully understand the > documentation for Open Process and Read from Process. Can you use > this with any kind of program at all, or does it have to be Rev > standalone, or something like a shell script or DOS batch file? > > Thanks! > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dcragg at lacscentre.co.uk Sat Aug 31 02:44:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat Aug 31 02:44:01 2002 Subject: CGI question In-Reply-To: References: Message-ID: At 5:39 pm -0400 30/8/02, Tim wrote: >Hello, > >I asked this question before, but must have been lost in the dust of the >other threads, so here it is again: > >Installed the Darwin engine properly, launched apache locally, the hello >world and other scripts work but the command: > >put URL "http://www.yahoo.com" > >does not work. Can anyone running Rev as faceless CGI try this or similar >commands? I can't get over this hump. The problem is that the libUrl library script isn't loaded as it's not part of the engine. You'll need to transfer the libUrl script and its properties from the revlibrary stack to a separate stack, and save it where the darwin engine is located. Then call "start using" somewhere in your mt script before making url calls. Cheers Dave From sims at ezpzapps.com Sat Aug 31 03:17:01 2002 From: sims at ezpzapps.com (sims) Date: Sat Aug 31 03:17:01 2002 Subject: post to authorization form Message-ID: I am trying to send a username & password to an authorization form on a web page. It works fine when I use my browser (IE). I use the following to 'Post' to that same url but have no success, can anyone advise where I am screwing up? [I post to the location listed in the form] Is the server expecting something other than a colon ":" between user & pw? The libUrlLastRhHeaders seem to be saying I've arrived at the right place with the "HTTP/1.1 200 OK" but the Authorization seems to expect something different.... TIA sims on mouseUp set the cursor to watch put fld "url" into tUrl put fld "user" into tUser -- sims is username put fld "pw" into tPW -- sims is password put tUser &":"& tPW into tAuthString post URLEncode(tAuthString) to tUrl put it end mouseUp For a web page (it) I get back:

Authorization Failed.


Please try again. From libUrlLastRhHeaders() I get the following info: HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Sat, 31 Aug 2002 07:44:36 GMT MicrosoftOfficeWebServer: 5.0_Pub Content-Length: 101 Content-Type: text/html Set-Cookie: ASPSESSIONIDQGGGGWBO=BINKMGCBKLJIOLCHNGNFDPGN; path=/ Cache-control: private Age: 7287 Via: HTTP/1.1 noc-ts1 (Traffic-Server/4.0.18 [c sSf ]) ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From simran at teleline.es Sat Aug 31 03:23:00 2002 From: simran at teleline.es (Peter Lundh) Date: Sat Aug 31 03:23:00 2002 Subject: Typography problems in OS X Message-ID: 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 From dcragg at lacscentre.co.uk Sat Aug 31 03:56:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat Aug 31 03:56:01 2002 Subject: post to authorization form In-Reply-To: References: Message-ID: At 11:15 am +0300 31/8/02, sims wrote: >I am trying to send a username & password to an authorization >form on a web page. It works fine when I use my browser (IE). > >I use the following to 'Post' to that same url but have no success, can >anyone advise where I am screwing up? > [I post to the location listed in the form] Is it really expecting POST , or is it just a standard http authorization? You might try putting the name and password in the url and see what happens. Use this style: http://username:password at www.whatever.com/whatever.html If it is using POST, then you will probably have to examine the html form from your browser to see what data has to be posted. Cheers Dave From sims at ezpzapps.com Sat Aug 31 04:17:01 2002 From: sims at ezpzapps.com (sims) Date: Sat Aug 31 04:17:01 2002 Subject: post to authorization form In-Reply-To: References: Message-ID: > >Is it really expecting POST , or is it just a standard http >authorization? You might try putting the name and password in the >url and see what happens. Use this style: > >http://username:password at www.whatever.com/whatever.html When I try the method shown above, I get back You are not authorized to view this page and from the server: HTTP/1.1 401 Access Denied > >If it is using POST, then you will probably have to examine the html >form from your browser to see what data has to be posted. The form is as follows, I have also tried sending login=sims:password=sims with the post but with no success (also URLEncoded). Not sure how to proceed from here... Thanks, sims

 

Database Editor Login


From dcragg at lacscentre.co.uk Sat Aug 31 04:53:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat Aug 31 04:53:01 2002 Subject: post to authorization form In-Reply-To: References: Message-ID: At 12:15 pm +0300 31/8/02, sims wrote: > >The form is as follows, I have also tried sending login=sims:password=sims >with the post but with no success (also URLEncoded). Try using an ampersand to separate the fields: login=sims&password=sims I think only the values should be urlencoded, which in this case will make no difference, so it shouldn't be necessary. Cheers Dave From sims at ezpzapps.com Sat Aug 31 07:44:01 2002 From: sims at ezpzapps.com (sims) Date: Sat Aug 31 07:44:01 2002 Subject: post to authorization form In-Reply-To: References: Message-ID: Thanks Dave, No go, but I also tried that page with Web Devil which indicates that it will do password & username auth and it failed in getting that that page. Must be a tricky business, using auth to get web pages. Web devil also failed with cookie enabled (such as interior pages of the New York Times) pages....but to be honest, WD doesn't make any claims to do cookies. I'm sure Rev has plenty of more urgent things to do than add cookie features but it would be nice...also be nice to have sample test pages set up to learn how this stuff works. atb sims >Try using an ampersand to separate the fields: > > login=sims&password=sims > >I think only the values should be urlencoded, which in this case >will make no difference, so it shouldn't be necessary. ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From rcozens at pon.net Sat Aug 31 09:20:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Aug 31 09:20:01 2002 Subject: platform() = MacOS (9 with ascii(13) or X with ascii(10))? In-Reply-To: <00f201c2504a$aa82b550$6601a8c0@mckinley.dom> References: <00f201c2504a$aa82b550$6601a8c0@mckinley.dom> Message-ID: >Check the systemVersion() function. So you can say: > >if the platform is "MacOS" then > if the systemVersion < 10 then > -- OS 9 stuff > else > -- OS 10 stuff > end if >end if Ken, Kee, et al: This does NOT work. On OS 9 the system version is 9.x.x and OS X is 10.x.x, so the if gives incorrect results. Note Richard Gaskin's handler that checks item 1 of systemVersion. Since Rev does not run on Mac OS systems < 7, I use "if char 1 of systemVersion() < 7", which should work through Mac OS version 69.x.x. -- 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 kray at sonsothunder.com Sat Aug 31 10:22:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 31 10:22:01 2002 Subject: platform() = MacOS (9 with ascii(13) or X with ascii(10))? References: <00f201c2504a$aa82b550$6601a8c0@mckinley.dom> Message-ID: <001201c25101$65e6d900$6601a8c0@mckinley.dom> Rob, > Ken, Kee, et al: > > This does NOT work. On OS 9 the system version is 9.x.x and OS X is > 10.x.x, so the if gives incorrect results. > > Note Richard Gaskin's handler that checks item 1 of systemVersion. Thanks for the correction. I noted that when I saw Richard's post, and have changed my handlers accordingly. > Since Rev does not run on Mac OS systems < 7, I use > > "if char 1 of systemVersion() < 7", If Rev doesn't run on systems < 7, how can you get the code above to even run? It's like saying in SuperCard "if the platform is Windows then..." ;-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From rcozens at pon.net Sat Aug 31 11:14:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Aug 31 11:14:01 2002 Subject: platform() = MacOS (9 with ascii(13) or X with ascii(10))? In-Reply-To: <001201c25101$65e6d900$6601a8c0@mckinley.dom> References: <00f201c2504a$aa82b550$6601a8c0@mckinley.dom> <001201c25101$65e6d900$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, function isOSClassic -- after testing platform is Mac if char 1 of systemVersion() < 7 the return false else return true end isOSClassic -- 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 Sat Aug 31 11:35:00 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 31 11:35:00 2002 Subject: post to authorization form In-Reply-To: Message-ID: <5F344410-BCFF-11D6-8D82-0050E4C0B205@swcp.com> On Saturday, August 31, 2002, at 02:15 AM, sims wrote: > I am trying to send a username & password to an authorization > form on a web page. It works fine when I use my browser (IE). > > I use the following to 'Post' to that same url but have no success, can > anyone advise where I am screwing up? As Dave asked, are you sure you need post? That is, are you sure it is a web page you are seeing? An HTTP authorization request will create a dialog box on your browser, but it is not a web page. It will typically be a boring little dialog box with site and realm data displayed and with text boxes for name and password. If it is a Basic Authorization request, see if you can build a header line and add it to the headers. If it is a post, take care to get the encoding right. You can use the Rev functions, but they are not complete for a post. Dar Scott From rcozens at pon.net Sat Aug 31 11:48:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Aug 31 11:48:01 2002 Subject: platform() = MacOS (9 with ascii(13) or X with ascii(10))? In-Reply-To: <001201c25101$65e6d900$6601a8c0@mckinley.dom> References: <00f201c2504a$aa82b550$6601a8c0@mckinley.dom> <001201c25101$65e6d900$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 -- 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 Sat Aug 31 11:52:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Sat Aug 31 11:52:01 2002 Subject: platform() = MacOS (9 with ascii(13) or X with ascii(10))? Message-ID: Apologies All, Eudora told me my penultimate message on this subject was unsent when I got disconnected from the Net; so I reworded it and sent it a second time. -- 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 jacque at hyperactivesw.com Sat Aug 31 12:05:00 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat Aug 31 12:05:00 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? References: <200208310645.CAA10108@www.runrev.com> Message-ID: <3D70F6F7.9010300@hyperactivesw.com> Dar Scott wrote: > Maybe this will work... > > function adjustLineEndInput thetext > replace (numtochar(13) & numtochar(10)) with numtochar(13) in thetext > replace numtochar(13) with numtochar(10) in thetext -- fixed typo > return thetext > end adjustLineEndInput > > This is just yours above with a typo correction. It is even better > than what I have been using. I'm going to try it! > > This even handles the hybrid cr lf lf correctly. Cool! > I hope I don't seem too dense, but I'm still not clear on why a script would need to replace line endings manually this way. I'd like to understand it. When would a simple replacement with the "return" constant not work? For example, in Kee's problem, I'd think that this would work okay: get data from database, put it in a variable replace database line endings with returns in the variable put variable into a field It seems to me that the above would convert all line endings to machine-specific line endings without any manual manipulation, and would go cross-platform without any changes. When the data needs to go back to the database: put the field text into a variable replace returns with database-specific line endings send variable back to the database What am I missing? Doesn't this work? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Sat Aug 31 12:45:01 2002 From: dsc at swcp.com (Dar Scott) Date: Sat Aug 31 12:45:01 2002 Subject: text in fields (CR/LF, CR, LF) which is correct? In-Reply-To: <3D70F6F7.9010300@hyperactivesw.com> Message-ID: <18D2A6EB-BD09-11D6-8D82-0050E4C0B205@swcp.com> On Saturday, August 31, 2002, at 11:03 AM, J. Landman Gay wrote: > For example, in Kee's problem, I'd think that this would work okay: > > get data from database, put it in a variable > replace database line endings with returns in the variable > put variable into a field > > It seems to me that the above would convert all line endings to > machine-specific line endings without any manual manipulation, and > would go cross-platform without any changes. When the data needs > to go back to the database: > > put the field text into a variable > replace returns with database-specific line endings > send variable back to the database > > What am I missing? Doesn't this work? Yes, with the caveat that "return" here means the Rev constant "return" and not the more common meaning of ASCII Carriage Return, numToChar(13). This also has the advantage of addressing the complementary problem of writing back to the DB. However, this requires that one know the "database-specific line endings" beforehand and adapt should they change (over time, or across platforms or DB). Of course, if there is a requirement to write back out to the DB then it must be used. Also, this does not address the general foreign file or stream or message or clipboard concern in cases where Rev text I/O does not work or does not apply. Also, it might not be robust in handling variations. The Modified Nethery Function is shown below: function adjustedLineEndInput thetext replace (numtochar(13) & numtochar(10)) with numtochar(13) in thetext replace numtochar(13) with numtochar(10) in thetext return thetext end adjustedLineEndInput Takes text from almost any environment and converts it to internal Rev text. The word "Input" is in the name to emphasize that it only does half of what Jacqueline's scheme does. (If lineEnd were a constant, the function could use that for numToChar(10) in the second replace. If asciiCR and asciiLF were constants, they could be used in the rest of the function.) This does two replaces and Jacqueline's does one. I don't think one more replace is a high price. (The Modified Nethery Function beats the function I had been using which had three replaces, but does the same thing.) Dar Scott From kray at sonsothunder.com Sat Aug 31 13:13:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Aug 31 13:13:00 2002 Subject: platform() = MacOS (9 with ascii(13) or X with ascii(10))? References: <00f201c2504a$aa82b550$6601a8c0@mckinley.dom> <001201c25101$65e6d900$6601a8c0@mckinley.dom> Message-ID: <006801c25119$47e24a80$6601a8c0@mckinley.dom> Ah... NOW I understand. I thought you were trying to run Rev in System 6... :-) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Rob Cozens" To: Sent: Saturday, August 31, 2002 11:45 AM Subject: Re: platform() = MacOS (9 with ascii(13) or X with ascii(10))? > > > "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 > -- > > 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 BradAllen at mac.com Sat Aug 31 19:22:01 2002 From: BradAllen at mac.com (Brad Allen) Date: Sat Aug 31 19:22:01 2002 Subject: progress bar stalls In-Reply-To: References: Message-ID: >If your script hangs while waiting for a lengthy synchronous process, I >wonder if there's a way to make the process asynchrnous. > >Post the snippets that are hanging and maybe one of us has an asynch >alternative. Thanks for the offer...if I can't get the "open process feature" to work I may take you up on that. From BradAllen at mac.com Sat Aug 31 19:35:00 2002 From: BradAllen at mac.com (Brad Allen) Date: Sat Aug 31 19:35:00 2002 Subject: alignment of combo box label text Message-ID: 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... From katir at hindu.org Sat Aug 31 22:05:01 2002 From: katir at hindu.org (Sannyasin Sivakatirswami) Date: Sat Aug 31 22:05:01 2002 Subject: CGI engine on Darwin In-Reply-To: <200208310645.CAA10061@www.runrev.com> Message-ID: <787E178C-BD57-11D6-AEE3-003065FB9830@hindu.org> On Friday, August 30, 2002, at 08:45 PM, use-revolution-request at lists.runrev.com wrote: > put URL "http://www.yahoo.com" > > does not work. Can anyone running Rev as faceless CGI try this or > similar > commands? I can't get over this hump. > > Thanks, > -- > Tim\\ yes, i am using it on Darwin to develop CGI's and then when they are runnng fine, move them to my ISP's server... really speeds up dev time. put URL "http://www.somesite.com" Won't work the same as in Rev in faceless mode because the library that processes the URL commands is not present. Assuming your goal is to have the CGI cause the browser to browser a specific web page that is not on your hard drive (which is what your example infers), you will have to issue an apache command If your goal is to have the CGI "send" a remote web page to your browser then try put "Status: 301 Moved Permanently" & cr put "Location: " & newURL & cr & cr\\ In the above scenariothe CGI is not actually processing any html/data/file at all, but simply tells the browser to go fetch the URL that you are sending to it. then the browser does the rest... The status line could be different... this is just an example from a CGI that process's 404's and sends a new URL to the browser. \ If you are trying to generate web pages to serve up, that's different. Then you would need to send a file from the hard drive to the browser with the proper headers: put url "file:../forms-templates/redirect_404.html" into buffer ## or any html file put "Content-Type: text/html" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer ========== Hinduism Today Sannyasin Sivakatirswami From tim11 at bellatlantic.net Sat Aug 31 22:28:00 2002 From: tim11 at bellatlantic.net (Tim) Date: Sat Aug 31 22:28:00 2002 Subject: CGI question -REQUEST FOR RUNREV In-Reply-To: Message-ID: On 8/31/02 3:18 AM, "Dave Cragg" wrote: > At 5:39 pm -0400 30/8/02, Tim wrote: >> Hello, >> >> I asked this question before, but must have been lost in the dust of the >> other threads, so here it is again: >> >> Installed the Darwin engine properly, launched apache locally, the hello >> world and other scripts work but the command: >> >> put URL "http://www.yahoo.com" >> >> does not work. Can anyone running Rev as faceless CGI try this or similar >> commands? I can't get over this hump. > > The problem is that the libUrl library script isn't loaded as it's > not part of the engine. You'll need to transfer the libUrl script and > its properties from the revlibrary stack to a separate stack, and > save it where the darwin engine is located. Then call "start using" > somewhere in your mt script before making url calls. > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution 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. Thanks, -- Tim From tim11 at bellatlantic.net Sat Aug 31 23:32:01 2002 From: tim11 at bellatlantic.net (Tim) Date: Sat Aug 31 23:32:01 2002 Subject: CGI engine on Darwin In-Reply-To: <787E178C-BD57-11D6-AEE3-003065FB9830@hindu.org> Message-ID: On 8/31/02 11:04 PM, "Sannyasin Sivakatirswami" wrote: > > On Friday, August 30, 2002, at 08:45 PM, > use-revolution-request at lists.runrev.com wrote: > >> put URL "http://www.yahoo.com" >> >> does not work. Can anyone running Rev as faceless CGI try this or >> similar >> commands? I can't get over this hump. >> >> Thanks, >> -- >> Tim\\ > > yes, i am using it on Darwin to develop CGI's and then when they are > runnng fine, move them to my ISP's server... really speeds up dev time. > > put URL "http://www.somesite.com" > > Won't work the same as in Rev in faceless mode because the library > that processes the URL commands is not present. Assuming your goal is > to have the CGI cause the browser to browser a specific web page that > is not on your hard drive (which is what your example infers), you will > have to issue an apache command > > If your goal is to have the CGI "send" a remote web page to your > browser then try > > put "Status: 301 Moved Permanently" & cr > put "Location: " & newURL & cr & cr\\ > > In the above scenariothe CGI is not actually processing any > html/data/file at all, but simply tells the browser to go fetch the > URL that you are sending to it. then the browser does the rest... The > status line could be different... this is just an example from a CGI > that process's 404's and sends a new URL to the browser. \ > > If you are trying to generate web pages to serve up, that's different. > Then you would need to send a file from the hard drive to the browser > with the proper headers: > > put url "file:../forms-templates/redirect_404.html" into buffer ## or > any html file > put "Content-Type: text/html" & cr > put "Content-Length:" && the length of buffer & cr & cr > put buffer > ========== > > Hinduism Today > > Sannyasin Sivakatirswami > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution Thank you for this informative (hitherto unknown to me) bit of info. I like your approach of developing locally and then uploading to a remote server. My current problems are: 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. 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). 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. -- Tim
Username:
Password: