From monte at sweattechnologies.com Mon Jul 1 02:36:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Jul 1 02:36:01 2002 Subject: Window rect Message-ID: How do you get the rect of a stack including the actual window? "put the rect of window myStackName" compiled but ended up being the same as "put the rect of stack myStackName". "put the rect of window (the windowID of stack myStackName)" doesn't compile. Any idea's??? Cheers Monte From peter.fink at tiscali.ch Mon Jul 1 05:57:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Mon Jul 1 05:57:01 2002 Subject: Documentation Message-ID: <3D0D86C4000046AD@flu-stateless-02.tiscalinet.ch> It is great that there is structured documentation now. Big question: is it available PDF'ed? Peter From janschenkel at yahoo.com Mon Jul 1 06:21:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon Jul 1 06:21:01 2002 Subject: Documentation In-Reply-To: <3D0D86C4000046AD@flu-stateless-02.tiscalinet.ch> Message-ID: <20020701111742.193.qmail@web11905.mail.yahoo.com> Hi Peter, This question was answered before, but is unfortunately not on the RunRev website. Follow this link to the use-revolution mailing list archive for a link to the actual PDF. http://lists.runrev.com/pipermail/use-revolution/2002-June/005594.html Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- peter.fink at tiscali.ch wrote: > It is great that there is structured documentation > now. > Big question: is it available PDF'ed? > > Peter > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com From giulio at cantoberon.it Mon Jul 1 07:09:01 2002 From: giulio at cantoberon.it (Giulio Mastrosanti) Date: Mon Jul 1 07:09:01 2002 Subject: strange Mysql behaviour on os x Message-ID: Hi all, I have an application working with a mysql database, on the openstack event of the mainstack it connects to the database, loads some variable data, then asks the user for a password and checks it on the mysql db. It works fine on mac and windows. Now I've jumped to os x and I've tryed to build an os x standalone. While the applications runs perfect on the os x Rev environment, as a standalone the stack appears and immediately crashes. I put some "answer something..." to discover where crash happens, and i find that: 1) the application crashes on the revdb_connect command. 2) if i put an "answer something" command before connecting all is working fine! well, i thinked to myself, maybe it needs some time at startup to load the maysql library, so I put a wait some seconds command before connecting, but the application waits (i tryed also 20 seconds) and then crashes. Have someone of you noticed this problem? Can you suggest me a more elegant workaround than starting my application with a message box? Thanx, Giulio From mark at bcesouth.com Mon Jul 1 08:25:01 2002 From: mark at bcesouth.com (BCE) Date: Mon Jul 1 08:25:01 2002 Subject: cgi example References: <33E34B88-8ABE-11D6-B1EC-000393853DBC@jpl.nasa.gov> <002001c21ed0$f54d2620$d86600d8@s1> Message-ID: <002e01c22102$3ed394e0$d86600d8@s1> For anyone stumbling around like me, I have finally gotten this to work on OS X, not sure what I did wrong, but here is the exact script for anyone who is interested in the "Hello World" type of thing: (Also, I named the script "myscript.cgi" --- the extension is optional, but that's what I used. Both the engine and script go into the cgi-bin, and the permissions are set to 755 for both) Hope that's helpful! Mark #!/Library/WebServer/CGI-Executables/Darwin on startUp put "Hello World!" into tresponse put "Content-Type: text/html" & cr put "Content-Length:" & the length of tresponse & cr & cr put tresponse end startUp From harrison at all-auctions.com Mon Jul 1 09:18:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Mon Jul 1 09:18:01 2002 Subject: strange Mysql behaviour on os x In-Reply-To: Message-ID: on 7/1/2002 8:06 AM, Giulio Mastrosanti at giulio at cantoberon.it wrote: >... > 2) if i put an "answer something" command before connecting all is > working fine! >... > > Have someone of you noticed this problem? > Can you suggest me a more elegant workaround than starting my > application with a message box? > > Thanx, > > Giulio Giulio, If you don't find another solution to this problem, just make the message something meaningful. Try something as simple as "This program is registered to ____". Or a credit, "This program was written by _____". Or, for technical support please write to: giulio at ______. No one will ever know the difference! Good luck, Rick Harrison From kray at sonsothunder.com Mon Jul 1 10:43:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Jul 1 10:43:01 2002 Subject: Documentation References: <20020701111742.193.qmail@web11905.mail.yahoo.com> Message-ID: <007601c22114$fcf2d370$6401a8c0@mckinley.dom> And for everyone's benefit, I have added downloads of all three different forms of the Rev docs (PDF, RTF and TXT) to the Downloads area of the Rev page of my site: http://www.sonsothunder.com/devres/revolution/revolution.htm They are zipped for your protection. ;-) I also plan to maintain an updated copy of the docs as new versions of Rev come out, so if you ever need to see the most recent versions, I should have them. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Jan Schenkel" To: Sent: Monday, July 01, 2002 6:17 AM Subject: Re: Documentation > Hi Peter, > > This question was answered before, but is > unfortunately not on the RunRev website. Follow this > link to the use-revolution mailing list archive for a > link to the actual PDF. > > http://lists.runrev.com/pipermail/use-revolution/2002-June/005594.html > > Best regards, > > Jan Schenkel. > > "As we grow older, we grow both wiser and more foolish > at the same time." (De Rochefoucald) > > --- peter.fink at tiscali.ch wrote: > > It is great that there is structured documentation > > now. > > Big question: is it available PDF'ed? > > > > Peter > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From yvescoppe at skynet.be Mon Jul 1 11:37:00 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Mon Jul 1 11:37:00 2002 Subject: Print card Message-ID: Hello, I'm coming again with my problem without answer 1) Is it possible to print a card from a stack, being in another stack : something like print card 1 of stack "otherstack" 2) if I want ot print a card of a stack, my script goes so : ... ... lock screen go stack "otherstack" revShowPrintDialog false,true print card 1 go stack "AAA" unlock screen ... ... The lock screen doesn't seem to work. The user sees we go in another stack.. Any idea ? Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From kee at kagi.com Mon Jul 1 12:19:00 2002 From: kee at kagi.com (Kee Nethery) Date: Mon Jul 1 12:19:00 2002 Subject: cgi example In-Reply-To: <002e01c22102$3ed394e0$d86600d8@s1> References: <33E34B88-8ABE-11D6-B1EC-000393853DBC@jpl.nasa.gov> <002001c21ed0$f54d2620$d86600d8@s1> <002e01c22102$3ed394e0$d86600d8@s1> Message-ID: >For anyone stumbling around like me, I have finally gotten this to work on >OS X, not sure what I did wrong, but here is the exact script for anyone who >is interested in the "Hello World" type of thing: > >(Also, I named the script "myscript.cgi" --- the extension is optional, but >that's what I used. Both the engine and script go into the cgi-bin, and the >permissions are set to 755 for both) Hope that's helpful! > > >Mark > > > >#!/Library/WebServer/CGI-Executables/Darwin > >on startUp > put "Hello World!" into tresponse > put "Content-Type: text/html" & cr > put "Content-Length:" & the length of tresponse & cr & cr > put tresponse >end startUp > This is an excellent first start. Have you figured out how to collect all the client browser data from the incoming connection? Have you figured out how to data sent via POST or GET? Thanks for the above posting. Kee Nethery From kray at sonsothunder.com Mon Jul 1 12:41:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Jul 1 12:41:01 2002 Subject: Print card References: Message-ID: <000b01c22125$9509a8e0$7c00a8c0@mckinley.dom> Yves, Can you try: put the short name of this stack into currStack lock screen set the defaultStack to "otherstack" refShowPrintDialog false,true print card 1 set the defaultStack to currStack unlock screen This is off the top of my head, but it should work... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "yves COPPE" To: Sent: Monday, July 01, 2002 11:33 AM Subject: Print card > Hello, > > I'm coming again with my problem without answer > > 1) Is it possible to print a card from a stack, being in another stack : > > something like > > print card 1 of stack "otherstack" > > 2) if I want ot print a card of a stack, my script goes so : > > ... > ... > lock screen > go stack "otherstack" > revShowPrintDialog false,true > print card 1 > go stack "AAA" > unlock screen > ... > ... > > > The lock screen doesn't seem to work. The user sees we go in another stack.. > > Any idea ? > > 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 ambassador at fourthworld.com Mon Jul 1 13:05:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Jul 1 13:05:01 2002 Subject: Icon Editor in Rev In-Reply-To: <200207011603.MAA31295@www.runrev.com> Message-ID: > I would like to try and make an icon editor that runs in Revolution, > allowing me to create and edit icons without having to use another program. > I would like it to be basically like HyperCard's. However, there is one > thing I cannot figure out. How would I go about making it zoomed in when I > edited the icon, as did HyperCard's? I have thought about this a bit and > cannot think about how to do it. Any ideas? One weirdly implemented solution: Command-Option-click on a paint object and see what happens.... -- Richard Gaskin Fourth World Media Corporation Custom Software and Web Development for All Major Platforms Developer of WebMerge 2.0: Publish any Database on Any Site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Tel: 323-225-3717 AIM: FourthWorldInc From yvescoppe at skynet.be Mon Jul 1 13:38:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Mon Jul 1 13:38:01 2002 Subject: Print card In-Reply-To: <000b01c22125$9509a8e0$7c00a8c0@mckinley.dom> References: <000b01c22125$9509a8e0$7c00a8c0@mckinley.dom> Message-ID: >Yves, > >Can you try: > >put the short name of this stack into currStack >lock screen >set the defaultStack to "otherstack" >refShowPrintDialog false,true >print card 1 >set the defaultStack to currStack >unlock screen > >This is off the top of my head, but it should work... > I get an error : * There was an Execution Error at 8:31:52 PM Error description: print: card or stack must be open to print it so I must "go to stack" and although the lock screen you see the go to stack on the screen... Any other idea ? Thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From kray at sonsothunder.com Mon Jul 1 16:17:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Jul 1 16:17:01 2002 Subject: Print card References: <000b01c22125$9509a8e0$7c00a8c0@mckinley.dom> Message-ID: <006a01c22143$a82a5ff0$6f00a8c0@mckinley.dom> Sorry, Yves, I thought the printing stack was already open. You can use "open inv stack" to open a stack invisibly, and it will automatically get the focus, as in: open inv stack "printStack" refShowPrintDialog false,true print card 1 close stack "printStack" Personally, I would lock messages before opening the printing stack and unlock them afterwards, just so you don't have extra open/close stack messages flying around (unless of course you depend on them). Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Yves Copp?" To: Sent: Monday, July 01, 2002 1:36 PM Subject: Re: Print card > >Yves, > > > >Can you try: > > > >put the short name of this stack into currStack > >lock screen > >set the defaultStack to "otherstack" > >refShowPrintDialog false,true > >print card 1 > >set the defaultStack to currStack > >unlock screen > > > >This is off the top of my head, but it should work... > > > > I get an error : > > * There was an Execution Error at 8:31:52 PM > Error description: print: card or stack must be open to print it > > > so I must "go to stack" and although the lock screen you see the go > to stack on the screen... > > Any other idea ? > > 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 michaell at unimelb.edu.au Mon Jul 1 17:43:01 2002 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Mon Jul 1 17:43:01 2002 Subject: Video capture... Message-ID: For my biomedical experiments I'd like to be able to have about 10 frames per second (greyscale only) displayed and have an array of the pixel values available for processing within Rev. I think these are fairly minimal requirements but I am not sure that Quicktime is necessarily going to give them to me if I don't ask. So I'm asking... I want direct code access (getting and setting) to the pixel values. -- 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 bvlahos at jpl.nasa.gov Mon Jul 1 18:18:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Mon Jul 1 18:18:01 2002 Subject: Force line feed delimiter Message-ID: <642DD000-8D48-11D6-AACC-000393853DBC@jpl.nasa.gov> From a Mac do I put URL "binfile" a field that is delimited with line feeds instead of the Mac default of CR for a text file save? Bill From sarahr at genesearch.com.au Mon Jul 1 19:34:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Mon Jul 1 19:34:01 2002 Subject: Window rect In-Reply-To: Message-ID: I haven't looked into this much, but if I understand you correctly, the rect of the stack (or window) only gives you the rect of the section INSIDE all the window decorations. If this is not enough, can you just work out what the border & window title sizes are (presumably they vary between platforms) and apply them to the window rect yourself. It isn't an elegant solution but it should work. Sarah On Monday, July 1, 2002, at 05:36 PM, Monte Goulding wrote: > > How do you get the rect of a stack including the actual window? > > "put the rect of window myStackName" compiled but ended up being the > same as > "put the rect of stack myStackName". "put the rect of window (the > windowID > of stack myStackName)" doesn't compile. > > Any idea's??? > > Cheers > > Monte > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From monte at sweattechnologies.com Mon Jul 1 21:40:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Jul 1 21:40:01 2002 Subject: Window rect In-Reply-To: Message-ID: Yes this is the solution that I have used at this stacge but because there is such a large variation for each platform (and even on the one platform) I was hoping to get something more reliable. > > I haven't looked into this much, but if I understand you correctly, the > rect of the stack (or window) only gives you the rect of the section > INSIDE all the window decorations. If this is not enough, can you just > work out what the border & window title sizes are (presumably they vary > between platforms) and apply them to the window rect yourself. It isn't > an elegant solution but it should work. > > From rbarber at yhb.att.ne.jp Mon Jul 1 21:57:01 2002 From: rbarber at yhb.att.ne.jp (Ron) Date: Mon Jul 1 21:57:01 2002 Subject: CR & LF importing In-Reply-To: Message-ID: Hi I'm starting with 2 strikes against me: I come from another xtalk background and I have been Mac only so please keep me from striking out. I am trying to read in a custom prop to a list fld. The data is of the form: part1,a*b*c*d*k part2,z*s*w*e*d it is stored in a custom prop that is part of a custpropset ('names') in the mainstack ('startwd'). I am trying to read it in to a fld in a substack. The script that reads it in is: put the names of stack "startwd" into thelist split thelist by return and comma put thelist[part1] into thetext replace "*" with return in thetext put thetext into fld "otbook" The result is a single line of text with a lf symbol? in place of the '*'. However, if the same script is put in another mainstack and read into a list fld of the same attributes as the list fld in the original mainstack, the items are correctly separated and display in the fld one per line. I've tried to get rid of the lf symbol but can't paste it anywhere to get it. I've tried various combinations of numtochar(10) and (13) and still haven't been successful. The entry for return in the dictionary states: > The return constant is a synonym for linefeed. This is different from some > other languages, in which return is equivalent to the carriage return > character (ASCII 13, Control-M). For most purposes, Revoluton translates the > linefeed constant and its synonyms into the appropriate end-of-line character > for the current operating system. However, you should keep this nuance in mind > when processing data from another system, which Revolution has not translated: > return is not ASCII 13. So, I was expecting Rev to handle this but it does not act the way I expect. Can someone help me adjust my thinkng and get the line of items to display one per line in a list fld of the original mainstack? Thanks Ron BTW this is on OS 9 From shaosean at unitz.ca Mon Jul 1 23:34:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Mon Jul 1 23:34:01 2002 Subject: CR & LF importing References: Message-ID: <001101c22181$13e18600$88b15bd1@lanfear> > replace "*" with return in thetext try: replace "*" with LINEFEED in thetext lookup linefeed in the dictionary From rbarber at yhb.att.ne.jp Tue Jul 2 02:04:01 2002 From: rbarber at yhb.att.ne.jp (Ron) Date: Tue Jul 2 02:04:01 2002 Subject: CR & LF importing In-Reply-To: <001101c22181$13e18600$88b15bd1@lanfear> Message-ID: Thanks for the advice but it doesn't work for me. That is what I would expect since the linefeed item in the dictionary is a synonym for return: > The return constant is a synonym for linefeed... Or maybe you mean something else? Thanks Ron > From: "Shao Sean" > Reply-To: use-revolution at lists.runrev.com > Date: Tue, 2 Jul 2002 00:29:38 -0400 > To: > Subject: Re: CR & LF importing > >> replace "*" with return in thetext > > try: replace "*" with LINEFEED in thetext > > lookup linefeed in the dictionary > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From peter.fink at tiscali.ch Tue Jul 2 03:03:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Tue Jul 2 03:03:01 2002 Subject: Manual announcement Message-ID: <3D0D86C400004A2E@flu-stateless-02.tiscalinet.ch> Hi, According the shop this costs extra 35$ (at least inside EU). This keeps me from ordering at the moment. Or will my credit card just show the promised 79$ ? Can someone please fix the shop. pleasepleaseplease :) Gru?, Claus Dreischer. Shipping to Switzerland is even more, USD 55, from UK (while actual shipping cost isn o more than around USD10). Switzerland is still in Europe. Peter From Rick at all-auctions.com Tue Jul 2 03:04:38 2002 From: Rick at all-auctions.com (Rick Harrison) Date: Tue Jul 2 03:04:38 2002 Subject: strange Mysql behaviour on os x In-Reply-To: Message-ID: on 7/1/2002 8:06 AM, Giulio Mastrosanti at giulio at cantoberon.it wrote: > 2) if i put an "answer something" command before connecting all is > working fine! > >... > > Have someone of you noticed this problem? > Can you suggest me a more elegant workaround than starting my > application with a message box? > > Thanx, > > Giulio > Giulio, If you don't find another solution to this problem, just make the message something meaningful. Try something as simple as "This program is registered to ____". Or a credit, "This program was written by _____". Or, for technical support please write to: giulio at ______. No one will ever know the difference! Good luck, Rick Harrison From mazzapaolo at libero.it Tue Jul 2 05:13:01 2002 From: mazzapaolo at libero.it (=?utf-8?Q?mazzapaolo@liber?=) Date: Tue Jul 2 05:13:01 2002 Subject: (no subject) Message-ID: Dear Revolutinaries, is there anybody coming to Padova (Italy) at webb-it from the 5th of July to the 7th of July? There will be people form Runrev talking about Revolution! Paolo From rbarber at yhb.att.ne.jp Tue Jul 2 06:03:02 2002 From: rbarber at yhb.att.ne.jp (Ron) Date: Tue Jul 2 06:03:02 2002 Subject: CR & LF importing In-Reply-To: Message-ID: Well, I struck out. The third strike was my ignorance. Turns out the script works fine and is not a problem with transcript's implementation of cr and lf nor with my understanding of that. The clue was that it worked in one stack and not the other. The problem was that the textfont of the 'bad' stack was set to 'Osaka'. I guess this is a no-no even though there were no 2byte characters in the fld or the custom properties. Resetting the textfont of the stack to 'Geneva' or 'Courier' solves the problem and the methods below work fine. Sorry to trouble the list over this, but I'll be back... Thanks Ron > From: Ron > Reply-To: use-revolution at lists.runrev.com > Date: Tue, 02 Jul 2002 11:57:32 +0900 > To: > Subject: CR & LF importing > > Hi > > I'm starting with 2 strikes against me: I come from another xtalk background > and I have been Mac only so please keep me from striking out. > > I am trying to read in a custom prop to a list fld. The data is of the form: > > part1,a*b*c*d*k > part2,z*s*w*e*d > > it is stored in a custom prop that is part of a custpropset ('names') in the > mainstack ('startwd'). I am trying to read it in to a fld in a substack. > The script that reads it in is: > > put the names of stack "startwd" into thelist > split thelist by return and comma > put thelist[part1] into thetext > replace "*" with return in thetext > put thetext into fld "otbook" > > The result is a single line of text with a lf symbol? in place of the '*'. > However, if the same script is put in another mainstack and read into a list > fld of the same attributes as the list fld in the original mainstack, the > items are correctly separated and display in the fld one per line. > > I've tried to get rid of the lf symbol but can't paste it anywhere to get > it. I've tried various combinations of numtochar(10) and (13) and still > haven't been successful. > > The entry for return in the dictionary states: >> The return constant is a synonym for linefeed. This is different from some >> other languages, in which return is equivalent to the carriage return >> character (ASCII 13, Control-M). For most purposes, Revoluton translates the >> linefeed constant and its synonyms into the appropriate end-of-line character >> for the current operating system. However, you should keep this nuance in >> mind >> when processing data from another system, which Revolution has not >> translated: >> return is not ASCII 13. > > So, I was expecting Rev to handle this but it does not act the way I expect. > Can someone help me adjust my thinkng and get the line of items to display > one per line in a list fld of the original mainstack? > > Thanks > Ron > > BTW this is on OS 9 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rodmc at runrev.com Tue Jul 2 07:11:01 2002 From: rodmc at runrev.com (Rod McCall) Date: Tue Jul 2 07:11:01 2002 Subject: Manual announcement In-Reply-To: <3D0D86C400004A2E@flu-stateless-02.tiscalinet.ch> Message-ID: <5.1.0.14.2.20020702121917.024a82c0@mail.spamcop.net> Dear All, >Shipping to Switzerland is even more, USD 55, from UK (while actual shipping >cost isn o more than around USD10). Switzerland is still in Europe. Firstly I would like to say that we do not enjoy charging people carriage for the manuals, indeed we would prefer not to. However it is simply not cost effective for us to offer free shipping. This is due to the fact that all manuals are sent from Wales (in the UK) to their final destination. The destinations vary from the US to Australia, UK, Romania and Japan. Also the manuals weigh 3kg (approx.) and therefore do attract a significant charge. In terms of the costs we charge, these are based on the actual cost to ourselves which in turn is from a contract we have with DHL It should be noted we do NOT make a profit on the shipping charges. Indeed the rates charged by us are substantially lower than had we not negotiated a contract. We aim to provide a first class delivery service which is one reason why we chose DHL above other carriers. Indeed my own experience of other carriers is that boxes destined for Scotland do occasionally end up somewhere in France. While DHL may be slightly more expensive for some destinations we would rather know the manuals will be delivered in one piece, rather than late, in bits and to the wrong country. As ever we do take the views of our customers seriously but on this occasion we had no alternative but to charge at cost. It should also be noted that to date we've had very positive feedback with regard to the quality of the manuals, delivery times and costs. Finally, if any one has any questions, comments, suggestions or complaints regarding the manuals please feel free to email me directly rather than posting on the list. Kind regards, Rod Rod McCall Runtime Revolution Ltd Revolution - The Solution for Software Development tel: +44 (0) 870 747 1165 fax: +44 (0) 131 718 4334 From heather at runrev.com Tue Jul 2 07:59:01 2002 From: heather at runrev.com (Heather Williams) Date: Tue Jul 2 07:59:01 2002 Subject: Manual announcement In-Reply-To: <200207021004.GAA14367@www.runrev.com> Message-ID: > Shipping to Switzerland is even more, USD 55, from UK (while actual shipping > cost isn o more than around USD10). Switzerland is still in Europe. No, shipping to Switzerland is rated at $35. We count it as part of Europe, even if not part of the EU. However, all this is rather a moot point at the moment. I have sold out of manuals. How much interest is there still in purchasing manuals from the people on this list? We need to assess whether there is sufficient demand for a reprint. The price will go up to $99 (since a smaller number of books would be printed, costing us proportionately more). Please, please, do not respond to the list. Respond to me, personally, heather at runrev.com. Regards, Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Ten Thumbs Typing Tutor Teach your Fingers to Dance From harrison at all-auctions.com Tue Jul 2 08:11:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Tue Jul 2 08:11:01 2002 Subject: Manual announcement In-Reply-To: Message-ID: on 7/2/2002 8:55 AM, Heather Williams at heather at runrev.com wrote: >> Shipping to Switzerland is even more, USD 55, from UK (while actual shipping >> cost isn o more than around USD10). Switzerland is still in Europe. > > No, shipping to Switzerland is rated at $35. We count it as part of Europe, > even if not part of the EU. > > However, all this is rather a moot point at the moment. I have sold out of > manuals. How much interest is there still in purchasing manuals from the > people on this list? We need to assess whether there is sufficient demand > for a reprint. The price will go up to $99 (since a smaller number of books > would be printed, costing us proportionately more). > > Please, please, do not respond to the list. Respond to me, personally, > heather at runrev.com. > > Regards, > > Heather Heather, Considering how quickly you sold all of them, I suggest you print a bunch more. The revolution has just begun! :-) Rick Harrison President ALL-AUCTIONS.COM From kevin at runrev.com Tue Jul 2 08:33:01 2002 From: kevin at runrev.com (Kevin Miller) Date: Tue Jul 2 08:33:01 2002 Subject: Event in Italy In-Reply-To: Message-ID: On 2/7/02 11:09 am, mazzapaolo at liber wrote: > Dear Revolutinaries, > is there anybody coming to Padova (Italy) at webb-it from the 5th of > July to the 7th of July? > There will be people form Runrev talking about Revolution! Yes indeed, Rod is going to be there and will be giving a talk about Revolution! Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From lestangp at club-internet.fr Tue Jul 2 08:49:01 2002 From: lestangp at club-internet.fr (Philippe Lestang) Date: Tue Jul 2 08:49:01 2002 Subject: Large styled text database Message-ID: Hello, How would you manage, using Revolution, a large database of styled texts (with bold, italics, etc.)? If there were only some dozens of them, I would probably use fields. But will Revo support without problems thousands of fields on a single card? Regards Philippe Lestang -- La documentation chretienne http://www.ladoc.org Membre des webmestres chretiens http://www.eklesia.net From benr_mc at cogapp.com Tue Jul 2 08:54:01 2002 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue Jul 2 08:54:01 2002 Subject: Window rect In-Reply-To: Message-ID: on 2/7/02 1:30 am, Sarah at sarahr at genesearch.com.au wrote: > I haven't looked into this much, but if I understand you correctly, the > rect of the stack (or window) only gives you the rect of the section > INSIDE all the window decorations. If this is not enough, can you just > work out what the border & window title sizes are (presumably they vary > between platforms) and apply them to the window rect yourself. It isn't > an elegant solution but it should work. Remembering unfortunately that these can change on a single platform - eg on Windows a user can adjust the titlebar height to a nominal value anywhere in the range 15-100 pixels (on the fly, while your stack is running). Of course the vast majority of users never adjust these settings - but if you really need to get it right, you'll have to some way to find these values, you can't hardwire them. Does anyone know if they're stored in the registry? Otherwise, presumably an external could take a Rev window id and return the actual rect it occupies. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From yvescoppe at skynet.be Tue Jul 2 09:33:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Tue Jul 2 09:33:01 2002 Subject: Print card In-Reply-To: <006a01c22143$a82a5ff0$6f00a8c0@mckinley.dom> References: <000b01c22125$9509a8e0$7c00a8c0@mckinley.dom> <006a01c22143$a82a5ff0$6f00a8c0@mckinley.dom> Message-ID: >Sorry, Yves, I thought the printing stack was already open. You can use >"open inv stack" to open a stack invisibly, and it will automatically get >the focus, as in: > >open inv stack "printStack" >refShowPrintDialog false,true >print card 1 >close stack "printStack" > >Personally, I would lock messages before opening the printing stack and >unlock them afterwards, just so you don't have extra open/close stack >messages flying around (unless of course you depend on them). > >Hope this helps, > IT WORKS !!!!!!!! thank you very much -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From yvescoppe at skynet.be Tue Jul 2 10:25:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Tue Jul 2 10:25:01 2002 Subject: Event in Italy In-Reply-To: References: Message-ID: >On 2/7/02 11:09 am, mazzapaolo at liber wrote: > >> Dear Revolutinaries, >> is there anybody coming to Padova (Italy) at webb-it from the 5th of >> July to the 7th of July? >> There will be people form Runrev talking about Revolution! > >Yes indeed, Rod is going to be there and will be giving a talk about >Revolution! > >Kevin > The same question about the APLLE Expo in Paris from the 12th to the 14th of September ? Thank you. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From kevin at runrev.com Tue Jul 2 10:46:00 2002 From: kevin at runrev.com (Kevin Miller) Date: Tue Jul 2 10:46:00 2002 Subject: Event in Italy In-Reply-To: Message-ID: On 2/7/02 3:02 pm, yves COPPE wrote: > The same question about the APLLE Expo in Paris from the 12th to the > 14th of September ? Yes, we will be there. Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From dsc at swcp.com Tue Jul 2 12:25:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Jul 2 12:25:01 2002 Subject: one dialog per stack or several Message-ID: I'm about to make some related dialog boxes. They are also related to a library script I need to put some place. Should I make one stack for each dialog box or figure out some way to put all of them in the same stack? They may not be the same size. I'll sneak in another question: For tabbed sections, should I use multiple cards? How do I make the untabbed part have the same data on all cards? Or should I use multiple groups? If the latter, I do I edit them? Dar Scott From yvescoppe at skynet.be Tue Jul 2 12:32:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Tue Jul 2 12:32:01 2002 Subject: Event in Italy In-Reply-To: References: Message-ID: >On 2/7/02 3:02 pm, yves COPPE wrote: > >> The same question about the APLLE Expo in Paris from the 12th to the >> 14th of September ? > >Yes, we will be there. > >Kevin > Youpie ! -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From devin_asay at byu.edu Tue Jul 2 13:25:01 2002 From: devin_asay at byu.edu (Devin Asay) Date: Tue Jul 2 13:25:01 2002 Subject: Select no lines of a popup In-Reply-To: <200206291601.MAA31283@www.runrev.com> References: <200206291601.MAA31283@www.runrev.com> Message-ID: In HyperCard, when you wanted to have no line of a popup button selected (so nothing would be showing in the popup menu), you could use the command 'select line 0 of cd btn "myPopup" '. When you try this in Rev, line one is selected. Is this a bug or a feature? Is there a straightforward way to do this in Rev? Devin -- Devin Asay Humanities Research Center Brigham Young University From jeanne at runrev.com Tue Jul 2 14:16:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Jul 2 14:16:01 2002 Subject: one dialog per stack or several In-Reply-To: Message-ID: At 10:20 AM -0700 7/2/2002, Dar Scott wrote: >I'm about to make some related dialog boxes. They are also related >to a library script I need to put some place. > >Should I make one stack for each dialog box or figure out some way >to put all of them in the same stack? They may not be the same >size. You can do this either way, of course - either separate substacks, or put all the controls in a single stack and do a bit of fancy footwork in preOpenStack to hide/show/move/resize controls appropriately. But I would think in almost all cases the separate-stacks approach would be simpler. >I'll sneak in another question: For tabbed sections, should I use >multiple cards? How do I make the untabbed part have the same data >on all cards? Or should I use multiple groups? If the latter, I >do I edit them? Either way works for me. If you use multiple cards, you can create a group out of the controls in the untabbed part, and place it on all the cards. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From shaosean at unitz.ca Tue Jul 2 14:38:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Tue Jul 2 14:38:01 2002 Subject: Window rect References: Message-ID: <006101c221ff$3f8827e0$88b15bd1@lanfear> > Does anyone know if they're stored in the registry? Otherwise, presumably with my version of windows2000 it's stored in the following key HKEY_CURRENT_USER Control Panel Desktop WindowMetrics not exactly 100% certain how they do the math (ScrollWidth/Height = -270 when the pixels are set at 16, -300 when the pixels are 20).. From cgaraffa at creativeaim.com Tue Jul 2 14:51:01 2002 From: cgaraffa at creativeaim.com (Chris Garaffa) Date: Tue Jul 2 14:51:01 2002 Subject: MacWorld in NY (was: Re: Event in Italy) In-Reply-To: Message-ID: >>> The same question about the APLLE Expo in Paris from the 12th to the >>> 14th of September ? >> >> Yes, we will be there. OK, well, same question, but now about MacWorld in New York City... Anyone representing Revolution/RunRev? -- Chris Garaffa use perl; my %contact_info = ( name = "Chris Garaffa", email = "aquax at optonline.net", work = "cgaraffa at creativeaim.com", cell = "203.803.9066" ) From dsc at swcp.com Tue Jul 2 16:34:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Jul 2 16:34:01 2002 Subject: Maintaining scripts and groups in library files Message-ID: I have just discovered the stackfiles property. Cool! I think have been going down a bunny trail in trying to keep libraries and library-like stacks as substacks. I want to maintain a handful of libraries to be used by several mainstacks. I am beginning to think these should not be substacks but separate mainstacks found by stackfiles. However, I have some questions about this. Can I refer to all objects and handlers of a stack just by virtue of stackfiles? Can I "call" a handler in such a stack if I don't want to use "start using"? I don't want my standalones to go over the 50 limit for "start using". If I use a stack through stackfiles in a mainstack, is there an easy way to make it part of the standalone built from the mainstack? A not-so-easy way? Do I need to make sure that all stacks used directly and indirectly have unique names? That is, suppose I use several stacks through stackfiles and each of these have several substacks used as dialog boxes, can these have the same name? Can a mainstack be used as a qualifier to specify a substack? Do substacks "see" the stackfiles of the mainstack? Do substacks of mainstacks set in "start using" count as the 50 limit for standalones? Can I place a group on a card in one stack and that group is defined and maintained by a stack found through stackfiles? Well, six questions are probably over my quota; I'll stop there. Dar Scott From briank at bkms.com Tue Jul 2 17:06:01 2002 From: briank at bkms.com (Brian Kelly) Date: Tue Jul 2 17:06:01 2002 Subject: externals with MacOS Message-ID: I have Revolution 1.1.1Classic, running under Mac OS 9.2.2. I built the externals project (the PPC target) using CodeWarrior, but cannot seem to get the externals to be recognized. The code resource is in the file created by CodeWarrior. I put the compiled CODE resource file in the Revolution folder, but using the "External Tutorial.rev" stack, it fails when I try to use the "sprintf" button, or any of the others. I also tried putting it in the same folder as the stack, and in the plugins folder, but to no avail. Am I putting the file in the wrong place? Does it need a special extension or name? Below is the message in the error window. Any pointers from those who have gone before? Cheers, Brian Kelly =============== * There was an Execution Error at 2:57:48 PM Error description: Function: error in function handler Object: button id 1002 of card id 1001 of stack "/Macintosh HD/Applications (Mac OS 9)/Revolution 1.1.1 Classic/External SDK/External Tutorial.rev" -------------------- get sprintf ("before %s after", field "results") -------------------- Value: sprintf From harrison at all-auctions.com Tue Jul 2 22:12:00 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Tue Jul 2 22:12:00 2002 Subject: MacWorld in NY (was: Re: Event in Italy) In-Reply-To: Message-ID: on 7/2/2002 2:50 PM, Chris Garaffa at cgaraffa at creativeaim.com wrote: >>>> The same question about the APLLE Expo in Paris from the 12th to the >>>> 14th of September ? >>> >>> Yes, we will be there. > > OK, well, same question, but now about MacWorld in New York City... Anyone > representing Revolution/RunRev? > How about just getting a bunch of us Revolution developers together somewhere for MacWorld in NYC. I will certainly be there. Anyone else? Rick Harrison President ALL-AUCTIONS.COM From monte at sweattechnologies.com Tue Jul 2 22:52:00 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Jul 2 22:52:00 2002 Subject: Window rect In-Reply-To: Message-ID: As this is only for a plugin I'll be posting soon I'm only going to go to the trouble of allowing the user to set the top and border pixels for each of the stack styles. This means the user will just need to try it a few times but it doesn't take long. FYI the plugin (Screen Grabber) is something I've developed to aid in taking screenshots to be used in user manual's and promotions etc. You can use it to take, store and export snapshots of all, the current or specific cards of any open stack. You can also choose to hide Rev during the snapshot and select from screen rect, stack rect, estimated window rect and the window bounding rect. Cheers Monte > > Remembering unfortunately that these can change on a single > platform - eg on > Windows a user can adjust the titlebar height to a nominal value > anywhere in > the range 15-100 pixels (on the fly, while your stack is running). Of > course the vast majority of users never adjust these settings - but if you > really need to get it right, you'll have to some way to find these values, > you can't hardwire them. > From mcompanys at mac.com Tue Jul 2 23:14:01 2002 From: mcompanys at mac.com (Manuel Companys) Date: Tue Jul 2 23:14:01 2002 Subject: Event in Italy In-Reply-To: Message-ID: Le 2/07/02 15:30, ??Kevin Miller?? a ?crit?: Had it been two days later .... Too bad! But I'll be at Paris Apple Expo, of course. Manuel > On 2/7/02 11:09 am, mazzapaolo at liber wrote: > >> Dear Revolutinaries, >> is there anybody coming to Padova (Italy) at webb-it from the 5th of >> July to the 7th of July? >> There will be people form Runrev talking about Revolution! > > Yes indeed, Rod is going to be there and will be giving a talk about > Revolution! > > Kevin > > Kevin Miller > Runtime Revolution Limited - The Solution for Software Development > Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From monte at sweattechnologies.com Tue Jul 2 23:20:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue Jul 2 23:20:01 2002 Subject: Maintaining scripts and groups in library files In-Reply-To: Message-ID: > I want to maintain a handful of libraries to be used by several > mainstacks. I am beginning to think these should not be substacks > but separate mainstacks found by stackfiles. I've got an idea ;-) Why not use my Script Library plugin to manage library stacks! I don't want my standalones to go over > the 50 limit for "start using". Why would they? 50 is a big number. Are you developing a system that is so complex that it requires more than 50 separate script libraries? Even if you did I'm sure you could manage that by only using libraries when you need them. > > If I use a stack through stackfiles in a mainstack, is there an > easy way to make it part of the standalone built from the > mainstack? A not-so-easy way? Use the distribution builder to add it at build time. It will also set the stackFiles property for you. > > Do I need to make sure that all stacks used directly and indirectly > have unique names? Yes That is, suppose I use several stacks through > stackfiles and each of these have several substacks used as dialog > boxes, can these have the same name? No > Do substacks of mainstacks set in "start using" count as the 50 > limit for standalones? No > > Can I place a group on a card in one stack and that group is > defined and maintained by a stack found through stackfiles? No. That would be nice and would make the object library fantastic. > > Well, six questions are probably over my quota; I'll stop there. > > Dar Scott It sounds like you are developing some standard dialogs that you want to be able to reuse. What I would do is create a library stack as your main stack and dialogs as your substacks. The library stack can contain scripts for opening and sending/returning data to/from the dialogs. It can also contain any scripts that are common to more than one of the dialogs. Cheers Monte From mcompanys at mac.com Tue Jul 2 23:23:01 2002 From: mcompanys at mac.com (Manuel Companys) Date: Tue Jul 2 23:23:01 2002 Subject: Event in Italy In-Reply-To: Message-ID: Le 2/07/02 17:43, ??Kevin Miller?? a ?crit?: > On 2/7/02 3:02 pm, yves COPPE wrote: > >> The same question about the APLLE Expo in Paris from the 12th to the >> 14th of September ? > > Yes, we will be there. > > Kevin I'll be there too. Maybe at "Stand du Doktor Kleanor" a group with several beginner revolutionnaries. Manuel From bvlahos at jpl.nasa.gov Tue Jul 2 23:46:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Tue Jul 2 23:46:01 2002 Subject: MacWorld in NY (was: Re: Event in Italy) In-Reply-To: Message-ID: <612B7B72-8E3F-11D6-A8BF-0003936A2C42@jpl.nasa.gov> Already set up. I will be hosting a Birds of a Feather (BOF) session on Revolution at Macworld NY on Wednesday at 6pm. Click on the following link for details. http://www.macworldexpo.com/macworldexpo/v31/conference/track.cvn?id=6&tID= 24 The BOFs are free to all Macworld attendees (any badge) so I hope we get a big turnout. Bill Vlahos Network Services Engineer Jet Propulsion Laboratory PS. I will also be presenting Macworld Pro and User Conference sessions on wireless networking. http://www.macworldexpo.com/macworldexpo/v31/conference/speaker_bio.cvn?id= 32&p_navID=&sort_letter=v On Tuesday, July 2, 2002, at 08:08 PM, Rick Harrison wrote: > OK, well, same question, but now about MacWorld in New York City... > Anyone > representing Revolution/RunRev? > > > How about just getting a bunch of us Revolution developers together > somewhere for MacWorld in NYC. I will certainly be there. Anyone else? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 982 bytes Desc: not available URL: From rcozens at pon.net Tue Jul 2 23:51:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Jul 2 23:51:01 2002 Subject: Maintaining scripts and groups in library files In-Reply-To: References: Message-ID: Hi Dar, >I want to maintain a handful of libraries to be used by several >mainstacks. I am beginning to think these should not be substacks >but separate mainstacks found by stackfiles. > I have yet to play with stackFiles, but my first impression is that the mechanism is basically a means of manipulating information in a stack without opening it, and that "start using" is more appropriate for your purpose. There is a third option : You can make your libraries substacks of a main library stack. The library stack can be bundled in the standalone or distributed as a separate file. >Can I refer to all objects and handlers of a stack just by virtue of >stackfiles? Can I "call" a handler in such a stack if I don't want >to use "start using"? I don't want my standalones to go over the 50 >limit for "start using". Again, I have not tried this but it seems to me once you have "set the stackFiles of stack someStack to myStackList", you should be able to address any object in any stack in myStackList by name without specifically opening the stacks. With regards to calling a handler, I think the answer is "no". Note the description of the stackFiles property says "The stackFiles property specifies a list of stacks and their file names, to be used when a stack that's not open is referenced in a handler." In other words, if your standalone has a handler statement like "put mySpecialFunction() into field 1 of card 1 of stack someClosedStack", the engine will look for mySpecialFunction in stacksInUse, and will only check stackFiles for someClosedStack. >If I use a stack through stackfiles in a mainstack, is there an easy >way to make it part of the standalone built from the mainstack? A >not-so-easy way? A. You should be able to bundle them with the main app or distribute them as separate files: just have the main app include them in its stackFiles. > >Do I need to make sure that all stacks used directly and indirectly >have unique names? That is, suppose I use several stacks through >stackfiles and each of these have several substacks used as dialog >boxes, can these have the same name? Can a mainstack be used as a >qualifier to specify a substack? Best test this one. I don't see how including a mainStack in the stackFiles brings it's substacks into play... > >Do substacks "see" the stackfiles of the mainstack? According to the Rev Dictionary, yes they do. > >Do substacks of mainstacks set in "start using" count as the 50 >limit for standalones? I doubt it, as I don't think handlers in substacks of stacks in use are accessible without putting the substacks in use also. > >Can I place a group on a card in one stack and that group is defined >and maintained by a stack found through stackfiles? If you mean, can one change a group in one stack and have the changes automatically apply to any stack that adds the first stack to its stackFiles, I think not. -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From kray at sonsothunder.com Wed Jul 3 00:38:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Wed Jul 3 00:38:00 2002 Subject: Fun With ImageData, MaskData and AlphaData Message-ID: <019501c22252$c84430d0$6401a8c0@mckinley.dom> Just wanted to let you all know that I've been working with these cool image-manipulation features of Revolution and wrapped my head around them enough to write up a treatise on how to use them along with some examples. Here's the relevant links to the Tips section of the Revolution page of my site to those who are interested : http://www.sonsothunder.com/devres/revolution/revolution.htm Click on the following links: imag003 - Understanding ImageData, MaskData and AlphaData imag004 - Making a Single Color Transparent Using MaskData imag005 - Making an Image Translucent Using AlphaData Enjoy! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From david at kwinter.ca Wed Jul 3 02:53:01 2002 From: david at kwinter.ca (David Kwinter) Date: Wed Jul 3 02:53:01 2002 Subject: Where'd the menubar go? Message-ID: <67DA2536-8E1A-11D6-9AC8-0003939A04C2@kwinter.ca> I think my PC is losing its mind. Once I've opened Revolution (in WinXP), the only visible pieces of the program I have to work with are the toolbar and the message box. No "New/Open/Save/Cut/Copy.." menubar to be seen. Monitor resolutions adjustments don't seem to help. Any ideas on why my Rev came to be like this, or how I can fix it? Thanks, David From benr_mc at cogapp.com Wed Jul 3 04:30:01 2002 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed Jul 3 04:30:01 2002 Subject: one dialog per stack or several In-Reply-To: Message-ID: on 2/7/02 7:00 pm, Jeanne A. E. DeVoto at jeanne at runrev.com wrote: > You can do this either way, of course - either separate substacks, or put > all the controls in a single stack and do a bit of fancy footwork in > preOpenStack to hide/show/move/resize controls appropriately. But I would > think in almost all cases the separate-stacks approach would be simpler. The recent case I've come to is where I've got a set of related dialogs that I want to 'think about' similarly. I made them separate cards of one stack. There wasn't very much fancy footwork required; I made the first line of the dialog data be the card name of the dialog actually required, and the preOpenStack just does this: on preOpenStack get line 1 of the dialogData if there is a cd it then go to cd it else go to cd "Raw" answer "SNH: No card ?" & it & "?" end if end preOpenStack Then each card has it's own 'preOpenCard' handler to do whatever setup is required for that dialog, based on the dialog data; each of them also call a handler 'doResizeDialog', also defined in the stack: on doResizeDialog set the width of this window to \ 16 + (item 3 of the formattedRect of this card) set the height of this window to \ 16 + (item 4 of the formattedRect of this card) end doResizeDialog So that was the only overhead of combining them into one stack. The payoff is that I can share as much or as little code or controls between the dialogs as required (and I have eight less substacks to look at in my App Overview). But hourse for courses, of course; and in the same project I have three other dialogs each in their own substacks. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From mparis at nc.rr.com Wed Jul 3 05:52:03 2002 From: mparis at nc.rr.com (Mark Paris) Date: Wed Jul 3 05:52:03 2002 Subject: Fun With ImageData, MaskData and AlphaData References: <019501c22252$c84430d0$6401a8c0@mckinley.dom> Message-ID: <004301c22297$4e05bc40$6beafea9@nc.rr.com> Ken, The image info is great, and so is the whole page --- thanks!!! Mark ----- Original Message ----- From: "Ken Ray" To: Sent: Tuesday, July 02, 2002 10:30 PM Subject: Fun With ImageData, MaskData and AlphaData > Just wanted to let you all know that I've been working with these cool > image-manipulation features of Revolution and wrapped my head around them > enough to write up a treatise on how to use them along with some examples. > Here's the relevant links to the Tips section of the Revolution page of my > site to those who are interested : > > http://www.sonsothunder.com/devres/revolution/revolution.htm > > Click on the following links: > > imag003 - Understanding ImageData, MaskData and AlphaData > imag004 - Making a Single Color Transparent Using MaskData > imag005 - Making an Image Translucent Using AlphaData > > Enjoy! > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From Yennie at aol.com Wed Jul 3 06:31:01 2002 From: Yennie at aol.com (Yennie at aol.com) Date: Wed Jul 3 06:31:01 2002 Subject: externals with MacOS Message-ID: <2b.29860af0.2a5439c1@aol.com> Hi, You need to compile the external into the resource fork of the stack you want to use them in. In Codewarrior, this means choosing "merge to file". You can also put the external in a stack and "start using" that stack (see in docs) to make it available. HTH, Brian From peter.fink at tiscali.ch Wed Jul 3 07:08:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Wed Jul 3 07:08:01 2002 Subject: Documentation another PDF Message-ID: <3D0D86C40000581F@flu-stateless-02.tiscalinet.ch> First thanks to Jan and Ken for pointing me to the resources. I'd like to post my other, derived version of the PDFed online docs at the address below. main difference is a bookmarked structure. http://home.tiscalinet.ch/peter.fink/ Peter From peter.fink at tiscali.ch Wed Jul 3 07:08:12 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Wed Jul 3 07:08:12 2002 Subject: Re Manual Announcement Message-ID: <3CDAA30200012DB2@flu-stateless-01.tiscalinet.ch> >shipping to Switzerland is rated at $35. We count it as part of Europe, >even if not part of the EU. USD 134 (total amount), or USD 114 is next to nothing, or infinitely huge, depending on the use to be made. And it is not just one item, but to be multiplied by a dozen other tools. I agree however completely that no one can do its work below cost (there might the PDF distribution be handy, which does not require a printer and a dhl). Peter From Zzyzx at Relia.Net Wed Jul 3 09:07:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Wed Jul 3 09:07:01 2002 Subject: Where'd the menubar go? References: <67DA2536-8E1A-11D6-9AC8-0003939A04C2@kwinter.ca> Message-ID: <001101c2229a$7706af70$1501000a@xhead> I have the same Problem, same Platform... Any ideas anyone? - Josh Dye ----- Original Message ----- From: "David Kwinter" To: Sent: Tuesday, July 02, 2002 6:18 PM Subject: Where'd the menubar go? > I think my PC is losing its mind. Once I've opened Revolution (in > WinXP), the only visible pieces of the program I have to work with are > the toolbar and the message box. No "New/Open/Save/Cut/Copy.." menubar > to be seen. Monitor resolutions adjustments don't seem to help. Any > ideas on why my Rev came to be like this, or how I can fix it? > > Thanks, > > David > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From troy at rpsystems.net Wed Jul 3 09:19:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Wed Jul 3 09:19:01 2002 Subject: Fun With ImageData, MaskData and AlphaData In-Reply-To: <019501c22252$c84430d0$6401a8c0@mckinley.dom> Message-ID: <642D09D0-8E8F-11D6-9031-000393853D6C@rpsystems.net> On Wednesday, July 3, 2002, at 01:30 AM, Ken Ray wrote: > Just wanted to let you all know that I've been working with these cool > image-manipulation features of Revolution and wrapped my head around > them > enough to write up a treatise on how to use them along with some > examples. > Here's the relevant links to the Tips section of the Revolution page of > my > site to those who are interested : > > http://www.sonsothunder.com/devres/revolution/revolution.htm > Nicely done, Ken! Thanks. -- Troy RPSystems, LTD www.rpsystems.net From raney at metacard.com Wed Jul 3 10:49:00 2002 From: raney at metacard.com (Scott Raney) Date: Wed Jul 3 10:49:00 2002 Subject: externals with MacOS In-Reply-To: <200207030352.XAA00371@www.runrev.com> Message-ID: On Tue, 2 Jul 2002 Brian Kelly wrote: > I have Revolution 1.1.1Classic, running under Mac OS 9.2.2. > I built the externals project (the PPC target) using CodeWarrior, > but cannot seem to get the externals to be recognized. > The code resource is in the file created by CodeWarrior. > I put the compiled CODE resource file in the Revolution folder, but > using the "External Tutorial.rev" stack, it fails when I try to use > the "sprintf" button, or any of the others. > I also tried putting it in the same folder as the stack, and in the > plugins folder, but to no avail. > Am I putting the file in the wrong place? Does it need a special > extension or name? Below is the message in the error window. The CODE resource needs to be placed *in the stack file*, not in a separate file. Note that this is only true for MacOS: all other platforms (including the Mach-O OS X engine) the external is stored as a separate file which is found using the "externals" property of the stack. Regards, Scott > Cheers, > Brian Kelly ******************************************************** Scott Raney raney at metacard.com http://www.metacard.com MetaCard: You know, there's an easier way to do that... From mike at cyber-ny.com Wed Jul 3 10:59:01 2002 From: mike at cyber-ny.com (Mike Brown) Date: Wed Jul 3 10:59:01 2002 Subject: displaying movies in Rev In-Reply-To: Message-ID: Hi All, What is the best format for displaying a video clip in Revolution on a Windows system such as XP or Win 2000? I have used .avi files in the past with mixed results an would like to know if anyone has recommendations on the best, optimized format. Thanks, Mike Brown Cyber-NY Interactive 212-475-2721 1-888-70-CYBER mike at cyber-ny.com From kevin at runrev.com Wed Jul 3 11:08:01 2002 From: kevin at runrev.com (Kevin Miller) Date: Wed Jul 3 11:08:01 2002 Subject: MacWorld in NY (was: Re: Event in Italy) In-Reply-To: Message-ID: On 2/7/02 7:50 pm, Chris Garaffa wrote: > OK, well, same question, but now about MacWorld in New York City... Anyone > representing Revolution/RunRev? Yes, we will be at that too - we will have a booth and there is a Birds of a Feather Session as Bill just mentioned. A more extensive announcement to follow shortly... Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From k_major at osnabrueck.netsurf.de Wed Jul 3 11:16:01 2002 From: k_major at osnabrueck.netsurf.de (Klaus Major) Date: Wed Jul 3 11:16:01 2002 Subject: displaying movies in Rev In-Reply-To: Message-ID: <0029CB33-8EA0-11D6-A19C-000A27B49A96@osnabrueck.netsurf.de> Hi Mike, > Hi All, > > What is the best format for displaying a video clip in Revolution on a > Windows system such as XP or Win 2000? > > I have used .avi files in the past with mixed results an would like to > know > if anyone has recommendations on the best, optimized format. > > Thanks, > Mike Brown first there is nothing like a "best" format ;-) It depends on the situation, hardware etc... But in general i can say that i have the "best" results when using the QuickTIme format with its wonderful codecs. Of course this demands QT to be installed on the system. I think it is already pre-installed on XP... Is it ? With QT you will have excellent playback in RR and lots of possibilities to control the movie (more than a simple start and stop...) And QT supports lots of different file-types. So you can put avi, mpg, swf (yes, Flash !) and mov into a player and it will play. (Not to mention the sound and image formats that are supported by QT, but that is another story... :-) That's why i choose QT for playback of video-footage in RR/MC. Hope that helps... Regards Klaus Major k_major at osnabrueck.netsurf.de From mike at cyber-ny.com Wed Jul 3 11:26:01 2002 From: mike at cyber-ny.com (Mike Brown) Date: Wed Jul 3 11:26:01 2002 Subject: displaying movies in Rev In-Reply-To: <0029CB33-8EA0-11D6-A19C-000A27B49A96@osnabrueck.netsurf.de> Message-ID: Hi Klaus, > With QT you will have excellent playback in RR and > lots of possibilities to control the movie (more than a simple start and > stop...) I agree with you QT is the best but unfortunately is not widely supported within the Win OS world. I need a fairly dependable format for a presentation distributed to Win users. I will ask around and see if QT is pre-installed with XP OS... Thanks, Mike > From: Klaus Major > Reply-To: use-revolution at lists.runrev.com > Date: Wed, 3 Jul 2002 18:14:50 +0200 > To: use-revolution at lists.runrev.com > Subject: Re: displaying movies in Rev > > Hi Mike, > >> Hi All, >> >> What is the best format for displaying a video clip in Revolution on a >> Windows system such as XP or Win 2000? >> >> I have used .avi files in the past with mixed results an would like to >> know >> if anyone has recommendations on the best, optimized format. >> >> Thanks, >> Mike Brown > > first there is nothing like a "best" format ;-) > > It depends on the situation, hardware etc... > > But in general i can say that i have the "best" results when using > the QuickTIme format with its wonderful codecs. > > Of course this demands QT to be installed on the system. > I think it is already pre-installed on XP... Is it ? > > With QT you will have excellent playback in RR and > lots of possibilities to control the movie (more than a simple start and > stop...) > > And QT supports lots of different file-types. So you can put avi, mpg, > swf (yes, Flash !) > and mov into a player and it will play. > > (Not to mention the sound and image formats that are supported by QT, > but that is another story... :-) > > That's why i choose QT for playback of video-footage in RR/MC. > > Hope that helps... > > > Regards > > Klaus Major > k_major at osnabrueck.netsurf.de > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From kurtkaufman at hotmail.com Wed Jul 3 15:30:01 2002 From: kurtkaufman at hotmail.com (Kurt Kaufman) Date: Wed Jul 3 15:30:01 2002 Subject: BOF? Message-ID: <423DAE37-8EC3-11D6-881D-00039348A1E6@hotmail.com> K.M. wrote: "Yes, we will be at that too - we will have a booth and there is a Birds of a Feather Session as Bill just mentioned. A more extensive announcement to follow shortly..." What is a Birds of a Feather Session? From kurtkaufman at hotmail.com Wed Jul 3 15:44:01 2002 From: kurtkaufman at hotmail.com (Kurt Kaufman) Date: Wed Jul 3 15:44:01 2002 Subject: BOF! Message-ID: <2D1A637B-8EC5-11D6-A34B-00039348A1E6@hotmail.com> Apple says: "Birds-of-a-Feather Meetings (BOFs) are casual, informal discussions where attendees can meet like-minded Mac users. They are a great forum to network with other people, discuss resources for doing your job, and get answers to tough questions." -just in case anyone besides myself did not know :-) From bvlahos at jpl.nasa.gov Wed Jul 3 15:54:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Wed Jul 3 15:54:01 2002 Subject: BOF! In-Reply-To: <2D1A637B-8EC5-11D6-A34B-00039348A1E6@hotmail.com> Message-ID: <9356ECBD-8EC6-11D6-AACC-000393853DBC@jpl.nasa.gov> Kurt, There are only six (6) BOFs at Macworld so it is a big deal that we got one for Revolution. Please go to the following link to find out the details and even see my picture. http://www.macworldexpo.com/macworldexpo/v31/conference/track.cvn?id=6&tID= 24 The BOFs are free to all Macworld attendees (any badge). Bill Vlahos Host Revolution BOF at Macworld On Wednesday, July 3, 2002, at 01:40 PM, Kurt Kaufman wrote: > Apple says: > "Birds-of-a-Feather Meetings (BOFs) are casual, informal discussions > where attendees can meet like-minded Mac users. They are a great forum > to network with other people, discuss resources for doing your job, and > get answers to tough questions." > > -just in case anyone besides myself did not know :-) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1001 bytes Desc: not available URL: From bvlahos at jpl.nasa.gov Wed Jul 3 16:17:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Wed Jul 3 16:17:01 2002 Subject: Passing parameters to a handler Message-ID: I can't seem to get passing parameters correctly. When I execute this cascade button script: on menuPick graphMe plotChart "graph2" end menuPick to the handler in the Card script: on graphClicked n, x, y set the bottomLeft of field "graphpoint" to the mouseLoc put (x - trunc(x)) * 60 into mTime put trunc(y) & " ms @ " & trunc(x) & ":" & trunc(mTime) into field "graphpoint" show field "graphpoint" end graphClicked on plotChart whichGraph --,chartDimentions hide field "graphpoint" hide group whichGraph I get an error relating to the on graphClicked handler. Why does it go there instead of the plotChart handler? Bill Vlahos From kray at sonsothunder.com Wed Jul 3 16:38:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Wed Jul 3 16:38:01 2002 Subject: Passing parameters to a handler References: Message-ID: <029e01c222d8$f2f63fe0$6401a8c0@mckinley.dom> Bill, what error are you getting? Also, note that in the menuPick handler, 'graphMe' isn't being used (should it have been "plotChart graphMe" ?). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Bill Vlahos" To: Sent: Wednesday, July 03, 2002 4:13 PM Subject: Passing parameters to a handler > I can't seem to get passing parameters correctly. > > When I execute this cascade button script: > on menuPick graphMe > plotChart "graph2" > end menuPick > > to the handler in the Card script: > on graphClicked n, x, y > set the bottomLeft of field "graphpoint" to the mouseLoc > put (x - trunc(x)) * 60 into mTime > put trunc(y) & " ms @ " & trunc(x) & ":" & trunc(mTime) into > field "graphpoint" > show field "graphpoint" > end graphClicked > > on plotChart whichGraph --,chartDimentions > hide field "graphpoint" > hide group whichGraph > > > I get an error relating to the on graphClicked handler. Why does it go > there instead of the plotChart handler? > > Bill Vlahos > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bvlahos at jpl.nasa.gov Wed Jul 3 16:56:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Wed Jul 3 16:56:01 2002 Subject: Passing parameters to a handler In-Reply-To: <029e01c222d8$f2f63fe0$6401a8c0@mckinley.dom> Message-ID: <3E8797AE-8ECF-11D6-AACC-000393853DBC@jpl.nasa.gov> Ken, That was it. I actually wanted to pass several parameters and forgot to include graphMe. It works now. Thanks. Bill Vlahos On Wednesday, July 3, 2002, at 02:31 PM, Ken Ray wrote: > Bill, what error are you getting? > > Also, note that in the menuPick handler, 'graphMe' isn't being used > (should > it have been "plotChart graphMe" ?). > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > ----- Original Message ----- > From: "Bill Vlahos" > To: > Sent: Wednesday, July 03, 2002 4:13 PM > Subject: Passing parameters to a handler > > >> I can't seem to get passing parameters correctly. >> >> When I execute this cascade button script: >> on menuPick graphMe >> plotChart "graph2" >> end menuPick >> >> to the handler in the Card script: >> on graphClicked n, x, y >> set the bottomLeft of field "graphpoint" to the mouseLoc >> put (x - trunc(x)) * 60 into mTime >> put trunc(y) & " ms @ " & trunc(x) & ":" & trunc(mTime) into >> field "graphpoint" >> show field "graphpoint" >> end graphClicked >> >> on plotChart whichGraph --,chartDimentions >> hide field "graphpoint" >> hide group whichGraph >> >> >> I get an error relating to the on graphClicked handler. Why does it go >> there instead of the plotChart handler? >> >> Bill Vlahos >> >> _______________________________________________ >> 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 mparis at nc.rr.com Wed Jul 3 17:00:01 2002 From: mparis at nc.rr.com (Mark Paris) Date: Wed Jul 3 17:00:01 2002 Subject: swf control? References: Message-ID: <001501c222e9$f64a8b40$6beafea9@nc.rr.com> Is there a way to embed an .swf (flash) file into a Rev program as a control? Linking a player to an external flash movie works fine, but importing an .swf file doesn't seem to work. Thanks! Mark From sarahr at genesearch.com.au Wed Jul 3 17:34:00 2002 From: sarahr at genesearch.com.au (Sarah) Date: Wed Jul 3 17:34:00 2002 Subject: Fun With ImageData, MaskData and AlphaData In-Reply-To: Message-ID: Excellent tips Ken. Thanks very much. One small point: they could probably be made quite a bit faster by using "repeat for each" loops rather for "repeat with". Cheers, Sarah On Wednesday, July 3, 2002, at 03:37 PM, Ken Ray wrote: > Just wanted to let you all know that I've been working with these cool > image-manipulation features of Revolution and wrapped my head around > them > enough to write up a treatise on how to use them along with some > examples. > Here's the relevant links to the Tips section of the Revolution page of > my > site to those who are interested : > > http://www.sonsothunder.com/devres/revolution/revolution.htm > > Click on the following links: > > imag003 - Understanding ImageData, MaskData and AlphaData > imag004 - Making a Single Color Transparent Using MaskData > imag005 - Making an Image Translucent Using AlphaData > > Enjoy! > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Wed Jul 3 20:43:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Wed Jul 3 20:43:01 2002 Subject: Fun With ImageData, MaskData and AlphaData References: Message-ID: <02c901c222fb$3c4e1100$6401a8c0@mckinley.dom> True. I forget about that some times... I'll update the tips and repost them with revised code. Thanks, Sarah! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Sarah" To: Sent: Wednesday, July 03, 2002 5:31 PM Subject: Re: Fun With ImageData, MaskData and AlphaData > Excellent tips Ken. Thanks very much. > > One small point: they could probably be made quite a bit faster by using > "repeat for each" loops rather for "repeat with". > > Cheers, > Sarah > > On Wednesday, July 3, 2002, at 03:37 PM, Ken Ray wrote: > > > Just wanted to let you all know that I've been working with these cool > > image-manipulation features of Revolution and wrapped my head around > > them > > enough to write up a treatise on how to use them along with some > > examples. > > Here's the relevant links to the Tips section of the Revolution page of > > my > > site to those who are interested : > > > > http://www.sonsothunder.com/devres/revolution/revolution.htm > > > > Click on the following links: > > > > imag003 - Understanding ImageData, MaskData and AlphaData > > imag004 - Making a Single Color Transparent Using MaskData > > imag005 - Making an Image Translucent Using AlphaData > > > > Enjoy! > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.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 terry at discovery.nl Wed Jul 3 22:19:00 2002 From: terry at discovery.nl (Terry Vogelaar) Date: Wed Jul 3 22:19:00 2002 Subject: "Export" to QT movie (the edge between on- and off-topic) In-Reply-To: Message-ID: Is there a way to capture what RunRev displays on screen in a QuickTime movie? I'm planning to make a (kind of a) presentation using RR and put it on a SVCD or DVD. Video-data will not be used by the application; only artwork, sound and text. If the sound brings up problems, it can be handled separately. Any suggestions? Maybe a prog that captures to QT anything displayed on screen? Or maybe there is a build-in Revolutionary way that I am not aware of. Terry From katir at hindu.org Wed Jul 3 23:16:06 2002 From: katir at hindu.org (Sivakatirswami) Date: Wed Jul 3 23:16:06 2002 Subject: Running CGI's locally on OSX Message-ID: I have moved up to OSX (it's wonderful) and want to develop CGI's on my own machine. The mail lists have snippets, but not enough to put it all together. I put a copy of the darwin engine into /Library/WebServe/CGI-Executables/ But, that's as far as I can get, the terminal.app on -ls returns only my user directory. "/" returns permission denied...so OSX won't let me deeper than my own user directory to CHMOD 755 to make the engine executable. Anyone figure this out yet? If so, suggest you would help us all to write a small FAQ on the subject. Now, I am wondering if we need to use that library at all, really, if one just made a cgi-bin directory in one's own "Sites" folder, then one could set permissions from the terminal.app. But, I don't want to re-invent the wheel just now. This has got to be simple. 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 monte at sweattechnologies.com Wed Jul 3 23:23:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed Jul 3 23:23:01 2002 Subject: Announcement: Plugins and Libraries Message-ID: Hi All I've just updated my site (http://www.sweattechnologies.com/rev/) to include the following: - A new plugin called Happy Snap (revHappySnap.rev) that will aid you in taking screenshots to be used in user manual's and promotions etc. You can use it to take, store and export snapshots of all, the current or specific cards of any open stack. You can also choose to hide Rev during the snapshot and select from screen rect, stack rect, estimated window rect and the window bounding rect. - A bug fixed version of Script Library - Two new script libraries (one for browser style cursor management and the other to give buttons and text links sound) Note: if anyone has some better user interface sounds for different button styles I'd love some cooperative work on libSound.rev - I've also changed a couple of things in libXMLText. I found out you can actually access the index of the customProperty set you handle in a setProp message so I've changed the style setting API. I've also posted the html docs that Script Library generates for each library so you can check them out more before you download. Sometime in the next few weeks I plan to post a plugin to give a simple user interface for the StyleXML custom property set. Eventually I'll build a parser to parse CSS documents into the custom property set but that will need to wait for a bit. 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 sarahr at genesearch.com.au Wed Jul 3 23:49:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Wed Jul 3 23:49:01 2002 Subject: Running CGI's locally on OSX In-Reply-To: Message-ID: <000CDE78-8F09-11D6-9615-0003937A97B8@genesearch.com.au> You can use "sudo" in Terminal to do things which normally require root permission. You should be able to navigate to the folder OK. I make great use of the tab key to auto-complete path names, so type "cd /L" & then press tab. It should fill in Library. Then type "Web" and press tab, then "CG" & tab again. This should have filled in the complete path for you to navigate to. Then if you try "chmod 755 myTest.cgi" you will probably get "permission denied". If so, try "sudo chmod 755 myTest.cgi". When it asks for a password enter your normal login password and it all should happen OK. Use "ls -la" to list all the files with their permissions visible so you can check that it has worked. Cheers, Sarah On Thursday, July 4, 2002, at 02:15 PM, Sivakatirswami wrote: > I have moved up to OSX (it's wonderful) and want to develop CGI's on my > own > machine. The mail lists have snippets, but not enough to put it all > together. > > I put a copy of the darwin engine into > > /Library/WebServe/CGI-Executables/ > > But, that's as far as I can get, the terminal.app on -ls returns only my > user directory. "/" returns permission denied...so OSX won't let me > deeper > than my own user directory to CHMOD 755 to make the engine executable. > > Anyone figure this out yet? If so, suggest you would help us all to > write a > small FAQ on the subject. > > Now, I am wondering if we need to use that library at all, really, if > one > just made a cgi-bin directory in one's own "Sites" folder, then one > could > set permissions from the terminal.app. But, I don't want to re-invent > the > wheel just now. This has got to be simple. > > 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 katir at hindu.org Thu Jul 4 00:11:01 2002 From: katir at hindu.org (Sivakatirswami) Date: Thu Jul 4 00:11:01 2002 Subject: Running CGI's locally on OSX Message-ID: OK, see previous post... I "hit the books" and was able to do the following Put the Darwin engine in the two places /Users/katir/Sites/cgi-bin/ And also in the /Library/WebServer/CGI-Executables/ I figured out how to use the terminal.app on OSX and went in and CHMOD everything to 755 (both engines in both places, the cgi-bin in my own Sites folder and my test script below.) #! /mc On startUp Put "hello" End startUP If I invoke the cgi from my browser http:/my.machine.ip/~katir/cgi-bin/test-mc.cgi It just returns the ascii text of the cgi... I.e. Nothing is executed... Same thing happens if I change the path to the engine to: #! /Library/WebServer/CGI-Executables/mc Still no go... Any clues? 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 webmaster at studioalice.se Thu Jul 4 01:51:01 2002 From: webmaster at studioalice.se (=?ISO-8859-1?Q?Magnus_von_Br=F6msen?=) Date: Thu Jul 4 01:51:01 2002 Subject: printing problem In-Reply-To: Message-ID: On s?ndag, juni 30, 2002, at 10:03 , Yves Copp? wrote: > > > 3) > although the card to be printed has a text beginning at the extreme > topleft, it is printed with a big margin from top and from left on the > page. Maybe this not helping at all --but-- I always set both dialogs to "true": revShowPrintDialog true, true For your other questions, sorry, no idea. /magnus ---------------------------------------------------------------------------- "Tiden g?r och Macen best?r" ----------------------------------------------------------------------------- Studio Alice Magnus von Br?msen 0702-212 495 0322-633 833 www.studioalice.se From benr_mc at cogapp.com Thu Jul 4 04:35:01 2002 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu Jul 4 04:35:01 2002 Subject: externals with MacOS In-Reply-To: Message-ID: on 3/7/02 4:46 pm, Scott Raney at raney at metacard.com wrote: > The CODE resource needs to be placed *in the stack file*, not in a > separate file. Note that this is only true for MacOS: all other > platforms (including the Mach-O OS X engine) the external is stored as > a separate file which is found using the "externals" property of the > stack. Interestingly, this means that the externals system is more flexible on MacOS than on the other platforms (unless I've got the wrong end of the stick) because you can put the external into a stack, and then 'start using' that stack at any time during the life of your standalone; whereas on the other platforms the externals are only located at startup. This means that you can't scan a set of folders to locate the external; or unpack it from within the stack and then start using it; etc. (The best I've been able to do is make a standalone that has a copy of the external as a binary property; at startup it checks if the external has been loaded from the subfolder where it expects it; if not, it saves a new copy out from the binary property, throws up a dialog asking the user to launch it again, and then quits. Not the neatest thing in the world.) (This is on a particular app which we recoded in Revolution from VB, because we wanted to be able to supply a single app and say 'use this', rather than the horrible process of making sure all the VB and explorer DLLs are installed properly.) If I'm wrong about this, please correct me - otherwise would it be possible to have some specific commands to load or unload externals after launch, cf start and stop using? (For compatibility, on MacOS these could reference a resource file which was not a stack file.) Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From mparis at nc.rr.com Thu Jul 4 06:06:01 2002 From: mparis at nc.rr.com (Mark Paris) Date: Thu Jul 4 06:06:01 2002 Subject: Running CGI's locally on OSX References: Message-ID: <004301c22361$6dd6f8c0$6beafea9@nc.rr.com> Have you tried http://my.machine.ip/cgi-bin/test-mc.cgi ? This should work. I'm thinking you need to configure Apache some more to run a cgi-bin in your user folder, but the main cgi-bin (CGI-Executables folder) should be ok. ----- Original Message ----- From: "Sivakatirswami" To: ; "Metacard List" Cc: "Fontenot, Joe*" Sent: Wednesday, July 03, 2002 10:08 PM Subject: Running CGI's locally on OSX > OK, see previous post... I "hit the books" and was able to do the following > > Put the Darwin engine in the two places /Users/katir/Sites/cgi-bin/ > > And also in the /Library/WebServer/CGI-Executables/ > > I figured out how to use the terminal.app on OSX and went in and CHMOD > everything to 755 (both engines in both places, the cgi-bin in my own Sites > folder and my test script below.) > > #! /mc > On startUp > Put "hello" > End startUP > > If I invoke the cgi from my browser > > http:/my.machine.ip/~katir/cgi-bin/test-mc.cgi > > It just returns the ascii text of the cgi... I.e. Nothing is executed... > Same thing happens if I change the path to the engine to: > > #! /Library/WebServer/CGI-Executables/mc > > > Still no go... > > Any clues? > > > 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 tedl at voyager.net Thu Jul 4 08:51:00 2002 From: tedl at voyager.net (Ted) Date: Thu Jul 4 08:51:00 2002 Subject: "Export" to QT movie" Message-ID: <000e01c22361$9f250ac0$e7ce59cf@egl> Terry Vogelaar wrote: >Is there a way to capture what RunRev displays on screen in a QuickTime >movie? I'm planning to make a (kind of a) presentation using RR and put it >on a SVCD or DVD. Video-data will not be used by the application; only >artwork, sound and text. If the sound brings up problems, it can be handled >separately. Any suggestions? Maybe a prog that captures to QT anything >displayed on screen? Or maybe there is a build-in Revolutionary way that I >am not aware of. Terry, have a look at Snapz Pro: http://www.ambrosiasw.com/utilities/snapzpro/ Ted From dsc at swcp.com Thu Jul 4 10:41:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Jul 4 10:41:01 2002 Subject: Externals and libraries ( was externals with MacOS) In-Reply-To: Message-ID: On Thursday, July 4, 2002, at 03:31 AM, Ben Rubinstein wrote: > on 3/7/02 4:46 pm, Scott Raney at raney at metacard.com wrote: > >> The CODE resource needs to be placed *in the stack file*, not in a >> separate file. Note that this is only true for MacOS: all other >> platforms (including the Mach-O OS X engine) the external is stored as >> a separate file which is found using the "externals" property of the >> stack. > > Interestingly, this means that the externals system is more flexible on > MacOS than on the other platforms (unless I've got the wrong end of the > stick) because you can put the external into a stack, and then > 'start using' > that stack at any time during the life of your standalone; whereas > on the > other platforms the externals are only located at startup. Well, since Brian and Scott mentioned what needed to be done I've been forming a question of style or common practice, so I'm glad you brought this up. This fits into my questions about libraries (thanks, folks!). Because of this MACOS requirement, I wonder if every external might best have its own stack. Or in other words, every library is a stack whether it uses an external or not. I think this has some advantages: 1. Some platforms and/or future versions of Revolution may not need the stack. 2. A library stack is used on all platforms. 3. The stack can provide some sugar coating and range & syntax checking. (I'm just getting started with externals and the best I can tell only binary strings that might have nulls cannot be passed or returned directly used with external functions or commands; indirect communication through variables is needed. A handler can hide that.) 4. The library stack can include the test and diagnostic cards for the external. 5. This allows the developer to mock up some designs in Transcript and then move those portions to the external as needed. 6. The stack can handle the setup and shutdown functions for the external. (Hmmm. What handlers? preOpenStack? OpenStack? startup? libraryStack? And closeStack? Some other handler to shutdown the external?) I there something that would keep this from working? Ben, I, too, have been thinking of the idea of the standalone creating needed files if they are not there. They can be compressed and stored in properties. This can be generalized to all files whether dlls, stacks, text files or whatever. To the stack of the standalone, maybe these can be simply files; it doesn't have to know that some are DLLs. If the files get big, it might be better to create an installer that does this. It is not completely clear to me when the DLL external is loaded on Windows. I think when stack is opened. I'm not sure what this means, but I would guess that "start using" will do that. Is that true? Does a stack have to be visible to be opened? I don't know whether this is before or after the startup handler is called, but I would assume before. Based on all those assumptions, I would guess your idea might work. It might require spitting out the library, too. (As you can see, I'm being too lazy to run the experiments, preferring to hear from experience first.) Dar Scott From karlpet at mac.com Thu Jul 4 12:17:01 2002 From: karlpet at mac.com (Karl Petersen) Date: Thu Jul 4 12:17:01 2002 Subject: printing problem In-Reply-To: References: Message-ID: Yves, For the script #1, is the stack "mi_print" actually open? It must be, I believe, for Rev to print a card from the stack. it's my experience (which is NOT considerable) that locking the screen can cause unpredictable results. Perhaps script #2 works because the screen isn't actually locked. Does going to the stack "mi_print" cause a script in that stack to unlock the screen? That might explain why you can see the stack change. You might try setting lockMessages to true before going to the stack. That should stop unlocking the screen. If the script stops working, the screen lock may be contributing factor. For #3, check out the printMargins property, which lets you set the print margins. According to the Transcript Dictionary, revShowPrintDialog works only if the handler calls revPrintField or revPrintText, which your script doesn't seem to do. That shouldn't prevent printing, but you may want to try the script without that command. (Running Mac OS 9.1 here, the revShowPrintDialog is ignored unless one of the other commands is present.) Karl At 10:03 PM +0200 6/30/02, Yves Copp? wrote: >my script is : >... >... >revShowPrintDialog false,true >set the printScale to "1" >print card 1 of stack "mi_print" > > > >1) it doesn't work. > >But when I script >lock screen >go to stack "mi_print" >revShowPrintDialog false,true >set the printScale to "1" >print card 1 >go to stack "myStack" >unlock screen > >then it works >but >2) >although the lock screen, the user sees the changing of stack before printing > > >3) >although the card to be printed has a text beginning at the extreme >topleft, it is printed with a big margin from top and from left on >the page. From katir at hindu.org Thu Jul 4 13:05:01 2002 From: katir at hindu.org (Sivakatirswami) Date: Thu Jul 4 13:05:01 2002 Subject: Running CGI's locally on OSX In-Reply-To: <200207041601.MAA31751@www.runrev.com> Message-ID: on 07-04-2002 06:01 AM, use-revolution-request at lists.runrev.com at "Mark Paris" wrote > Have you tried http://my.machine.ip/cgi-bin/test-mc.cgi ? This should > work. I'm thinking you need to configure Apache some more to run a cgi-bin > in your user folder, but the main cgi-bin (CGI-Executables folder) should be > ok. No go... You must declare your user directory in the URL "~katir" or it will fail. Also I put mc and the script itself into the CGI-Executables folder and tried: http://my.machine.ip/Library/WebServer/CGI-Executables/test-mc.cgi But I get a 404, file not found Still throwing stones at mangos too high to pick. I'll look into the config thing.. I do recall something about having to do something to some config file, but don't know what it would be... 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 dsc at swcp.com Thu Jul 4 13:44:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Jul 4 13:44:01 2002 Subject: Externals and libraries ( was externals with MacOS) In-Reply-To: Message-ID: <9D0F7B66-8F7D-11D6-A6F5-0050E4C0B205@swcp.com> On Thursday, July 4, 2002, at 09:37 AM, Dar Scott wrote: > I think this has some advantages: > > 1. Some platforms and/or future versions of Revolution may not > need the stack. Yikes! I meant some platforms and or future versions might not need the external. ^^^^^^^^ For example, suppose some capability is available via some built-in commands on some platforms, but needs to be added by external on others. A single library might be able do take advantage of this, using an external on some platforms. Or an external provides a bug workaround or a temporary method for an upcoming feature. When future versions of Revolution have the capability, the external is dropped, but the library simply evolves and stacks that use the library need no change. (The rest of the typos are left to the student.) Dar Scott From yvescoppe at skynet.be Thu Jul 4 14:04:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Thu Jul 4 14:04:01 2002 Subject: printing problem In-Reply-To: References: Message-ID: >Yves, > >For the script #1, is the stack "mi_print" actually open? It must >be, I believe, for Rev to print a card from the stack. > >it's my experience (which is NOT considerable) that locking the >screen can cause unpredictable results. Perhaps script #2 works >because the screen isn't actually locked. Does going to the stack >"mi_print" cause a script in that stack to unlock the screen? That >might explain why you can see the stack change. You might try >setting lockMessages to true before going to the stack. That should >stop unlocking the screen. If the script stops working, the screen >lock may be contributing factor. > >For #3, check out the printMargins property, which lets you set the >print margins. > >According to the Transcript Dictionary, revShowPrintDialog works >only if the handler calls revPrintField or revPrintText, which your >script doesn't seem to do. That shouldn't prevent printing, but you >may want to try the script without that command. (Running Mac OS 9.1 >here, the revShowPrintDialog is ignored unless one of the other >commands is present.) > >Karl Thank you for your help 1? with the printMargins property property, it works now very well 2? if I call another stack to print I see the changing of stack the screen being locked or not. There are no script to unlock the screen in the called stack. 3? I solved the problem with the script : go invisible to stack "mi_print" 4? I can use the printing DLOG when I use print card with the open printing with dialog line Thank you for your help. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From dropboxforspam at yahoo.com Thu Jul 4 14:19:01 2002 From: dropboxforspam at yahoo.com (DropBox ForSpam) Date: Thu Jul 4 14:19:01 2002 Subject: use-revolution digest, Vol 1 #380 - 12 msgs In-Reply-To: <200205032327.TAA06966@www.runrev.com> Message-ID: <20020703221121.56217.qmail@web9401.mail.yahoo.com> I asked this a few days ago, with no response. I hope it just got missed rather then there being no solution (which I can't believe, really) How can I Eject a CD under Mac OS X from within a stack? I know Finder has an entry in its AppleScript dictionary for "Eject", but I am completely AppleScript impaired! Bonus points for being able to open and close an empty try too. __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From monte.goulding at senet.com.au Thu Jul 4 14:19:08 2002 From: monte.goulding at senet.com.au (Monte Goulding) Date: Thu Jul 4 14:19:08 2002 Subject: Announcement: Plugins and Libraries Message-ID: Hi All I've just updated my site (http://www.sweattechnologies.com/rev/) to include the following: - A new plugin called Happy Snap (revHappySnap.rev) that will aid you in taking screenshots to be used in user manual's and promotions etc. You can use it to take, store and export snapshots of all, the current or specific cards of any open stack. You can also choose to hide Rev during the snapshot and select from screen rect, stack rect, estimated window rect and the window bounding rect. - A bug fixed version of Script Library - Two new script libraries (one for browser style cursor management and the other to give buttons and text links sound) Note: if anyone has some better user interface sounds for different button styles I'd love some cooperative work on libSound.rev - I've also changed a couple of things in libXMLText. I found out you can actually access the index of the customProperty set you handle in a setProp message so I've changed the style setting API. I've also posted the html docs that Script Library generates for each library so you can check them out more before you download. Sometime in the next few weeks I plan to post a plugin to give a simple user interface for the StyleXML custom property set. Eventually I'll build a parser to parse CSS documents into the custom property set but that will need to wait for a bit. 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 yvescoppe at skynet.be Thu Jul 4 14:52:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Thu Jul 4 14:52:01 2002 Subject: Folder problem Message-ID: Hello, If you have the pathway to a folder how can I know if the folder is empty or contains one or more files ? For example : answer folder "WhichOne" put it into tFolderpath if folder tFolderpath is empty then ... this last line gives an error any idea ? -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From shaosean at unitz.ca Thu Jul 4 15:02:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Thu Jul 4 15:02:01 2002 Subject: Folder problem References: Message-ID: <001d01c22395$0f5cbb70$88b15bd1@lanfear> put the defaultFolder into the oldDefaultFolder -- if you require this (see note 1 below) answer folder "WhichOne" if (it is not empty) then set the defaultFolder to it if (the number of lines in the files = 0) then #empty folder else #non-empty folder end if end if note 1: storing the old defaultFolder at the beginning of your code allows you to reset it at the end so the path that was there before is there again (other code may be accessing it after your code and this allows you to be friendly =) From dsc at swcp.com Thu Jul 4 15:04:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Jul 4 15:04:01 2002 Subject: Folder problem In-Reply-To: Message-ID: On Thursday, July 4, 2002, at 01:50 PM, Yves Copp? wrote: > If you have the pathway to a folder > how can I know if the folder is empty or contains one or more files ? An idea... Set the defaultFolder to the path and then use the folders and files functions. Or just files, depending on what you want. I would guess the values returned would be completely empty. Then restore the defaultFolder, perhaps. Look in the Transcript Dictionary for these: defaultFolder folders files Dar Scott From yvescoppe at skynet.be Thu Jul 4 15:14:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Thu Jul 4 15:14:01 2002 Subject: Folder problem In-Reply-To: <001d01c22395$0f5cbb70$88b15bd1@lanfear> References: <001d01c22395$0f5cbb70$88b15bd1@lanfear> Message-ID: >put the defaultFolder into the oldDefaultFolder -- if you require this (see >note 1 below) >answer folder "WhichOne" >if (it is not empty) then > set the defaultFolder to it > if (the number of lines in the files = 0) then > #empty folder > else > #non-empty folder > end if >end if > >note 1: >storing the old defaultFolder at the beginning of your code allows you to >reset it at the end so the path that was there before is there again (other >code may be accessing it after your code and this allows you to be friendly >=) > >_______________________________________________ On mac OS X, I have an empty folder when I use your script above and take the detailed files in the result I get : .DS_Store,6148,0,1025820432,1025820432,0,0,0,0,666, So your script answer "non-empty folder" but in the folder, there is nothing !! Another idea ? -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From janschenkel at yahoo.com Thu Jul 4 15:24:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu Jul 4 15:24:01 2002 Subject: Folder problem In-Reply-To: Message-ID: <20020704202040.93363.qmail@web11906.mail.yahoo.com> Hi Yves, As MacOSX is basically Unix, a file starting with a dot is invisible. So you could apply a filter such as put the files into theFiles filter the lines of theFiles with "[a-Z]" Hope this helped a bit, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- Yves Copp? wrote: > >put the defaultFolder into the oldDefaultFolder -- > if you require this (see > >note 1 below) > >answer folder "WhichOne" > >if (it is not empty) then > > set the defaultFolder to it > > if (the number of lines in the files = 0) then > > #empty folder > > else > > #non-empty folder > > end if > >end if > > > >note 1: > >storing the old defaultFolder at the beginning of > your code allows you to > >reset it at the end so the path that was there > before is there again (other > >code may be accessing it after your code and this > allows you to be friendly > >=) > > > >_______________________________________________ > > > > On mac OS X, I have an empty folder > when I use your script above and take the detailed > files in the result I get : > > .DS_Store,6148,0,1025820432,1025820432,0,0,0,0,666, > > So your script answer "non-empty folder" but in the > folder, there is nothing !! > > Another idea ? > -- > 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!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From yvescoppe at skynet.be Thu Jul 4 15:29:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Thu Jul 4 15:29:01 2002 Subject: Front and back window Message-ID: Hello, Suppose you have two windows (two substacks open) With the stacksInUse function I can know which windows are open. Now, how can I know which of those windows is the frontmost window and how can I write a script to bring a window which is in the background to the front ? Thank you. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From dsc at swcp.com Thu Jul 4 16:08:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Jul 4 16:08:01 2002 Subject: Front and back window In-Reply-To: Message-ID: On Thursday, July 4, 2002, at 01:17 PM, Yves Copp? wrote: > Suppose you have two windows (two substacks open) > With the stacksInUse function I can know which windows are open. > > Now, how can I know which of those windows is the frontmost window > and how can I write a script to bring a window which is in the > background to the front ? You can get the info you want from frontMost, topStack and/or openStacks, depending on what you mean by front. I think you can move a window to the front with go. Just go to the stack. Watch out for odd properties. Dar Scott From dsc at swcp.com Thu Jul 4 16:11:00 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Jul 4 16:11:00 2002 Subject: one dialog per stack or several In-Reply-To: Message-ID: <359C0F40-8F92-11D6-A6F5-0050E4C0B205@swcp.com> On Wednesday, July 3, 2002, at 03:26 AM, Ben Rubinstein wrote: > The recent case I've come to is where I've got a set of related > dialogs that > I want to 'think about' similarly. I made them separate cards of > one stack. I'll consider that. Will this work for only modal dialog boxes? Or is there a way to open a stack in more than one window? Dar Scott From bornstein at designeq.com Thu Jul 4 16:13:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Thu Jul 4 16:13:01 2002 Subject: Adding objects to a group Message-ID: <200207042110.g64LAIL24111@mailout5.nyroc.rr.com> I just discovered a cool thing about groups. When editing a group you can obviously delete individual objects. You can also create a new object, say a button, during a group edit and it'll become part of the group. But I always wondered how to add an existing object into a group. It turns out that if you do a "cut objects" of those objects you want to add before you start to edit the group, you can simply paste the objects into the group. If the group has its "background behavior" turned on, the new objects become part of the background (and appear on all the cards that the current group shows up on.) This provides a lot of flexibility in modifying background-type groups. Maybe everyone already knew this but I was jazzed to finally discover it! Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From yvescoppe at skynet.be Thu Jul 4 16:39:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Thu Jul 4 16:39:01 2002 Subject: Folder problem In-Reply-To: <20020704202040.93363.qmail@web11906.mail.yahoo.com> References: <20020704202040.93363.qmail@web11906.mail.yahoo.com> Message-ID: >Hi Yves, > >As MacOSX is basically Unix, a file starting with a >dot is invisible. So you could apply a filter such as > > put the files into theFiles > filter the lines of theFiles with "[a-Z]" > >Hope this helped a bit, > >Jan Schenkel. > It doesn't help a bit, it helps very much because it works !!! -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From mparis at nc.rr.com Thu Jul 4 21:35:01 2002 From: mparis at nc.rr.com (Mark Paris) Date: Thu Jul 4 21:35:01 2002 Subject: Running CGI's locally on OSX References: Message-ID: <007a01c223e4$2b17f060$6beafea9@nc.rr.com> Sivakatirswami, What do you get when you try: http://my.machine.ip/ or http://localhost/ ??? This should return the Apache default page if you haven't altered that directory. And the cgi-bin should work, but you may indeed need to configure the apache config file to make it do so. Check out some sites on apache, or maybe on Terminal for OS X and it should tell you how to edit those files. Try this one for starters: http://www.macdevcenter.com/pub/a/mac/2001/12/14/apache_two.html This is another, more geared towards php/mysql stuff: http://www.macdevcenter.com/pub/a/mac/2002/01/29/apache_macosx_four.html Hope that helps! Mark ----- Original Message ----- From: "Sivakatirswami" To: Sent: Thursday, July 04, 2002 11:02 AM Subject: Re: Running CGI's locally on OSX > on 07-04-2002 06:01 AM, use-revolution-request at lists.runrev.com at "Mark > Paris" wrote > > > Have you tried http://my.machine.ip/cgi-bin/test-mc.cgi ? This should > > work. I'm thinking you need to configure Apache some more to run a cgi-bin > > in your user folder, but the main cgi-bin (CGI-Executables folder) should be > > ok. > > No go... You must declare your user directory in the URL "~katir" or it will > fail. Also I put mc and the script itself into the CGI-Executables folder > and tried: > > > http://my.machine.ip/Library/WebServer/CGI-Executables/test-mc.cgi > > But I get a 404, file not found > > Still throwing stones at mangos too high to pick. > > I'll look into the config thing.. I do recall something about having to do > something to some config file, but don't know what it would be... > > > 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 monte at sweattechnologies.com Thu Jul 4 22:09:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Jul 4 22:09:01 2002 Subject: Front and back window In-Reply-To: Message-ID: > You can get the info you want from frontMost when did frontMost become a transcript function? From ehaskell at selfcorp.com Thu Jul 4 22:16:01 2002 From: ehaskell at selfcorp.com (Edwin Haskell) Date: Thu Jul 4 22:16:01 2002 Subject: Running CGI's locally on OSX In-Reply-To: <200207050136.VAA10559@www.runrev.com> Message-ID: <0B165CB0-8FC5-11D6-9BA2-0030654C9E38@selfcorp.com> On Thursday, July 4, 2002, at 07:36 PM, use-revolution- request at lists.runrev.com wrote: >> http://my.machine.ip/Library/WebServer/CGI-Executables/test-mc.cgi >> >> But I get a 404, file not found I think Apache reconfigures " /CGI-Executables" to "/cgi-bin" I ran through the same problem you are getting but now when I type in: http://127.0.0.1/cgi-bin/helloworld.cgi I get an internal server error and in the error log file I'm getting the message: /Library/WebServer/CGI-Executables/helloworld.cgi failed [Thu Jul 4 20:50:01 2002] [error] [client 127.0.0.1] Premature end of script headers: /Library/WebServer/CGI-Executables/helloworld.cgi Any suggestions? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 825 bytes Desc: not available URL: From sarahr at genesearch.com.au Thu Jul 4 22:31:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Thu Jul 4 22:31:01 2002 Subject: Running CGI's locally on OSX In-Reply-To: Message-ID: <2EEC130C-8FC3-11D6-A94A-0003937A97B8@genesearch.com.au> This is probably a stupid question, but have you switched on Web sharing in the Sharing system pref? There was an example of using OS X's web server on the list a while ago and it put this in the first line of the cgi: #!/Library/WebServer/CGI-Executables/Darwin What is your engine's file name? I presume it is "mc" since that is what you use as the first line of your script. Sarah On Thursday, July 4, 2002, at 03:10 PM, Sivakatirswami wrote: > OK, see previous post... I "hit the books" and was able to do the > following > > Put the Darwin engine in the two places /Users/katir/Sites/cgi-bin/ > > And also in the /Library/WebServer/CGI-Executables/ > > I figured out how to use the terminal.app on OSX and went in and CHMOD > everything to 755 (both engines in both places, the cgi-bin in my own > Sites > folder and my test script below.) > > #! /mc > On startUp > Put "hello" > End startUP > > If I invoke the cgi from my browser > > http:/my.machine.ip/~katir/cgi-bin/test-mc.cgi > > It just returns the ascii text of the cgi... I.e. Nothing is executed... > Same thing happens if I change the path to the engine to: > > #! /Library/WebServer/CGI-Executables/mc > > > Still no go... > > Any clues? > > > 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 sarahr at genesearch.com.au Thu Jul 4 22:43:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Thu Jul 4 22:43:01 2002 Subject: use-revolution digest, Vol 1 #380 - 12 msgs In-Reply-To: Message-ID: <21B241A7-8FC9-11D6-A94A-0003937A97B8@genesearch.com.au> Here is an AppleScript to eject every removable disk: tell application "Finder" set diskList to every disk whose ejectable = true repeat with d in diskList eject d end repeat end tell put it in a custom property and then in your Rev script say: do cAppleScriptProp as AppleScript This is tested under OS X but should work under 9 as well. Sorry, I don;t know how to open an empty tray :-( Sarah On Friday, July 5, 2002, at 05:18 AM, DropBox ForSpam wrote: > > I asked this a few days ago, with no response. I hope > it just got missed rather then there being no solution > (which I can't believe, really) > > How can I Eject a CD under Mac OS X from within a > stack? I know Finder has an entry in its AppleScript > dictionary for "Eject", but I am completely > AppleScript impaired! > > Bonus points for being able to open and close an empty > try too. > > > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Zzyzx at Relia.Net Thu Jul 4 23:15:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Thu Jul 4 23:15:01 2002 Subject: Running Program Problems... Message-ID: <001101c223d9$ff3abc70$1501000a@xhead> Hello, I have one slight problem. I am tiring to build a "Interface" for my upcoming Business. I need to be able to run games off of a mouse click. I have tried the Externals way, I have tried the "Open_process" way, and nothing works. It can open some programs, but very few games. I tried to open Quake 3 using that, and it didn't work. I have tried every game that I own; (Which is a lot) And nearly nothing works. Any ideas anyone? Thanks! - Josh Dye From shaosean at unitz.ca Thu Jul 4 23:28:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Thu Jul 4 23:28:01 2002 Subject: Folder problem References: <001d01c22395$0f5cbb70$88b15bd1@lanfear> Message-ID: <000701c223db$bc958240$88b15bd1@lanfear> > > if (the number of lines in the files = 0) then > when I use your script above and take the detailed files in the result I get : did i say to use detailed files? nope.. ;-) also, files may actually return "." and ".." entries under *nix, osx and windows (sorry about that).. then again, those may only show up in folders.. From dsc at swcp.com Thu Jul 4 23:38:00 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Jul 4 23:38:00 2002 Subject: Front and back window In-Reply-To: Message-ID: <8692CEB1-8FD0-11D6-B2E0-0050E4C0B205@swcp.com> On Thursday, July 4, 2002, at 09:05 PM, Monte Goulding wrote: >> You can get the info you want from frontMost > > when did frontMost become a transcript function? Whoops. Sorry, wrong universe. In this universe you have to write your own. Its the first stack in openStacks() that is visible. Dar Scott From ehaskell at selfcorp.com Fri Jul 5 00:04:01 2002 From: ehaskell at selfcorp.com (Edwin Haskell) Date: Fri Jul 5 00:04:01 2002 Subject: cgi example In-Reply-To: <200207021004.GAA14367@www.runrev.com> Message-ID: <403C7A18-8FD4-11D6-9BA2-0030654C9E38@selfcorp.com> On Tuesday, July 2, 2002, at 04:04 AM, use-revolution- request at lists.runrev.com wrote: >> #!/Library/WebServer/CGI-Executables/Darwin >> >> on startUp >> put "Hello World!" into tresponse >> put "Content-Type: text/html" & cr >> put "Content-Length:" & the length of tresponse & cr & cr >> put tresponse >> end startUp >> > > This is an excellent first start. > > Have you figured out how to collect all the client browser data from > the incoming connection? Have you figured out how to data sent via > POST or GET? Here are some scripts I got from Andu Novak that might address this. So far I'm still stuck with a header error. #!mc on startUp read from stdin until empty #read the POST/GET request from Apache #do whatever you want with the content and put it in a variable(var1) put "Content-Type: text/html" & crlf put "Content-Length: " & length(var1) & crlf & crlf put var1 end startUp Remember, the toughest thing with cgis is debugging since you can only do it in terminal and you hardly get any input as to where the problems might be. Best way is to test the script in a stack (and debug it) and then copy/paste in the cgi file. bellow is the typical echo.cgi script which should help you testing the functionality: #!mc on startup read from stdin until empty put it into tBuffer # loop over all of the global variables, getting name and value repeat for each item i in the globals put i & "=" & value(i) & cr after tBuffer end repeat replace cr with "
" in tBuffer put "Content-Length:" && the length of tBuffer & crlf put "Content-Type: text/html" & crlf & crlf put tBuffer end startup From katir at hindu.org Fri Jul 5 00:05:01 2002 From: katir at hindu.org (Sivakatirswami) Date: Fri Jul 5 00:05:01 2002 Subject: Running CGI's locally on OSX In-Reply-To: <200207050136.VAA10520@www.runrev.com> Message-ID: > From: "Mark Paris" wrote > > What do you get when you try: > > http://my.machine.ip/ or http://localhost/ ??? > [SNIP] Thanks Mark, the macDevCenter page on Apache for OSX was useful, if only to help get some more terminal skills up and running...and yes, you are right http://my.machine.ip/cgi-bin/ does map to the /Library/ and I am getting the default Apache page... OK, I uncommented the httpd.conf file at the point where the AddHandler cgi-script .cgi As this was the sole semi- related recommendation and also recommended by Richard MacLemale last year... (Though that should not affect running CGI's in the /Library/WebServer/CGI-Executables/ which should be enabled by default...according to the MacDevCenter article) Theoretically there is nothing else to do. OK. So far so good, but, now I am getting a "Premature end of script headers" error message in the error_log when trying to call this script: ======test-mc.cgi #!/mc on startup put "Hello" into buffer put "Content-Type: text/html" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer end startup ========= I don't know if this means that the MC Darwin engine is working or not... Anyone else have clues? Again, seems simple, but doesn't work. recap: --Darwin engine downloaded and installed into /Library/WebServer/CGI-Executables/ --And the above test script as well... Both files permissions set to CHMOD 755 --"AddHandler cgi-script .cgi " was enabled in the httpd.conf file --But http://my.machine.ip/cgi-bin/test-mc.cgi still doesn't work --Error log says: "Premature end of script headers: /Library/WebServer/CGI-Executables/test-mc.cgi" 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 sarahr at genesearch.com.au Fri Jul 5 01:38:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Fri Jul 5 01:38:01 2002 Subject: Running CGI's locally on OSX In-Reply-To: Message-ID: <7AD120E4-8FE1-11D6-A94A-0003937A97B8@genesearch.com.au> Trying the same thing, my error log gets 2 entries: [Fri Jul 5 16:17:18 2002] [error] (2)No such file or directory: exec of /Library/WebServer/CGI-Executables/hello.cgi failed [Fri Jul 5 16:17:18 2002] [error] [client 192.168.0.14] Premature end of script headers: /Library/WebServer/CGI-Executables/hello.cgi I downloaded the Darwin engine and put it in the relevant CGI folder. I used virtually the same hello world script as used below, saved it in a text file, set it's permissions and tried the following in my browser: http://my.ip.address/cgi-bin/hello.cgi OS X is just using Apache, same as most of the world, so it seems this should work. Any ideas would be much appreciated. Sarah On Friday, July 5, 2002, at 03:04 PM, Sivakatirswami wrote: >> From: "Mark Paris" wrote > >> >> What do you get when you try: >> >> http://my.machine.ip/ or http://localhost/ ??? >> > [SNIP] > > Thanks Mark, the macDevCenter page on Apache for OSX was useful, if > only to > help get some more terminal skills up and running...and yes, you are > right > http://my.machine.ip/cgi-bin/ does map to the /Library/ and I am > getting the > default Apache page... > > OK, I uncommented the httpd.conf file at the point where the > > AddHandler cgi-script .cgi > > As this was the sole semi- related recommendation and also recommended > by > Richard MacLemale last year... (Though that should not affect running > CGI's > in the /Library/WebServer/CGI-Executables/ which should be enabled by > default...according to the MacDevCenter article) > > Theoretically there is nothing else to do. OK. So far so good, but, > now I > am getting a > > "Premature end of script headers" error message in the error_log when > trying > to call this script: > > ======test-mc.cgi > #!/mc > on startup > put "Hello" into buffer > put "Content-Type: text/html" & cr > put "Content-Length:" && the length of buffer & cr & cr > put buffer > end startup > ========= > > I don't know if this means that the MC Darwin engine is working or > not... > > Anyone else have clues? Again, seems simple, but doesn't work. > > recap: > --Darwin engine downloaded and installed into > /Library/WebServer/CGI-Executables/ > --And the above test script as well... Both files permissions set to > CHMOD > 755 > --"AddHandler cgi-script .cgi " was enabled in the httpd.conf file > --But http://my.machine.ip/cgi-bin/test-mc.cgi still doesn't work > --Error log says: "Premature end of script headers: > /Library/WebServer/CGI-Executables/test-mc.cgi" > > > > 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 mark_mitchell at kmug.org Fri Jul 5 02:02:01 2002 From: mark_mitchell at kmug.org (Mark Mitchell) Date: Fri Jul 5 02:02:01 2002 Subject: Put into URL with OSX In-Reply-To: <200207041601.MAA31751@www.runrev.com> References: <200207041601.MAA31751@www.runrev.com> Message-ID: Hello all! If I put something in an RTF file using URL, : put "something" into URL "file:xxxxxx" on OSX it makes another copy of the original file. You now have 2 files of the same name in the same folder, with one being newer than the other. The original file remains the same. Is this normal behaviour? If so, how do I just change the text in the file duplicating it? Do I have to use "open for write" and so on? mark mitchell Japan From sarahr at genesearch.com.au Fri Jul 5 02:31:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Fri Jul 5 02:31:01 2002 Subject: Put into URL with OSX In-Reply-To: Message-ID: <00BCB640-8FE9-11D6-A94A-0003937A97B8@genesearch.com.au> I'll bet that one of them has a file extension which isn't showing. In Finder Prefs, turn on "Always show file extensions" and you will be able to see exactly what the two files are called. Cheers, Sarah On Friday, July 5, 2002, at 05:07 PM, Mark Mitchell wrote: > Hello all! > > If I put something in an RTF file using URL, : > > put "something" into URL "file:xxxxxx" > > on OSX it makes another copy of the original file. You now have 2 > files of the > same name in the same folder, with one being newer than the other. The > original file > remains the same. Is this normal behaviour? If so, how do I just > change the > text in the file duplicating it? Do I have to use "open for write" and > so on? > > mark mitchell > Japan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From mazzapaolo at libero.it Fri Jul 5 02:31:16 2002 From: mazzapaolo at libero.it (=?utf-8?Q?mazzapaolo@liber?=) Date: Fri Jul 5 02:31:16 2002 Subject: =?iso-8859-1?Q?FTP-list_of_files?= Message-ID: How can I get the list of the files posted in a server using FTP? Bye, Paolo From pydan at danshafer.com Fri Jul 5 02:43:01 2002 From: pydan at danshafer.com (Dan Shafer) Date: Fri Jul 5 02:43:01 2002 Subject: Standalones from Old HyperCard Stack Message-ID: <5.1.0.14.0.20020705004123.00ae5e48@mail.hurrah.com> I have a simple HyperCard stack I wrote about 300 years ago. My wife wants to set up her new boss to use it but she's on Windows, so I break out Revolution. The initial conversion *appeared* to go extremely well. But I've encountered some issues and the docs on distribution building that I can locate are pretty sparse and not very informative. Two problems I've encountered so far. There are several navigation buttons on the background. When I run the stack in Rev after importing it, these buttons appear and work as expected. But when I create a distribution, the buttons are not visible. Clicking where they are *supposed* to be executes their scripts so I figure either I have a resource issue or a layering problem. I go back to Revolution and I move all of these buttons to the front. After each such move, i get the following execution error in Revolution: * There was an Execution Error at 12:21:07 AM Error description: repeat: error in statement Revolution User Interface Error: Object: button id 1140 of group id 1136 of card id 1002 of stack "/Diskourse/Applications/Revolution 1.1 OS X/components/tools/revmenubar.rev" -------------------- switch pWhich -------------------- Value: top The move seems to have worked, however, because when I build a new distribution, I can see the buttons (which are all icons) and they seem to function. So that *seems* to be a cosmetic or bogus bug but someone should look into it. The real problem I'm dealing with now is that when I add cards to the stack in the standalone, the changes don't stick. The new cards appear fine until I exit the app. On restart, only the original cards are still there. if I suspend the Rev UI in developer mode and run the stack, I can add cards and they stick. They even appear in the standalone executable. But any cards I add don't work. Where can I look for help on this issue? Cany anyone shed light here? This is tantalizingly close to enabling me to do a bunch of fairly powerful stuff I've built in the halcyon days of HyperCard and perhaps make it successful at last. But I'm clearly missing something! Dan Shafer, Chief Scribe and Tablet Keeper PythonCard Open Source Project http://pythoncard.sourceforge.net From drvaughan55 at mac.com Fri Jul 5 03:05:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Fri Jul 5 03:05:01 2002 Subject: Standalones from Old HyperCard Stack In-Reply-To: <5.1.0.14.0.20020705004123.00ae5e48@mail.hurrah.com> Message-ID: <6EA968A3-8FED-11D6-A917-000393598038@mac.com> On Friday, July 5, 2002, at 0 snip > The real problem I'm dealing with now is that when I add cards to the > stack in the standalone, the changes don't stick. The new cards appear > fine until I exit the app. On restart, only the original cards are > still there. if I suspend the Rev UI in developer mode and run the > stack, I can add cards and they stick. They even appear in the > standalone executable. But any cards I add don't work. > > Where can I look for help on this issue? Cany anyone shed light here? Dan This is a classic HC-->RR conversion issue. A Rev standalone is an executable and hence no records are saved to it. This is normal for Unix and Windows and enforced for Mac. Solve your problem by creating a splash screen as a main stack and make your app a substack of it. Ask for separate files for main and substacks when building your distribution. Bingo. cheers David > > Dan Shafer, Chief Scribe and Tablet Keeper > PythonCard Open Source Project > http://pythoncard.sourceforge.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at kwinter.ca Fri Jul 5 03:07:00 2002 From: david at kwinter.ca (David Kwinter) Date: Fri Jul 5 03:07:00 2002 Subject: Where'd the menubar go? In-Reply-To: <001101c2229a$7706af70$1501000a@xhead> Message-ID: <2AA77222-8F95-11D6-9CA4-0003939A04C2@kwinter.ca> If anyone could lend some help it would be appreciated. This is a very disabling bug, there are keyboard shortcuts for only so many commands.. On Wednesday, July 3, 2002, at 07:03 AM, Josh Dye wrote: > I have the same Problem, same Platform... Any ideas anyone? > > - Josh Dye > > > ----- Original Message ----- > From: "David Kwinter" > To: > Sent: Tuesday, July 02, 2002 6:18 PM > Subject: Where'd the menubar go? > > >> I think my PC is losing its mind. Once I've opened Revolution (in >> WinXP), the only visible pieces of the program I have to work with are >> the toolbar and the message box. No "New/Open/Save/Cut/Copy.." menubar >> to be seen. Monitor resolutions adjustments don't seem to help. Any >> ideas on why my Rev came to be like this, or how I can fix it? >> >> Thanks, >> >> David >> >> _______________________________________________ >> 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 peter.fink at tiscali.ch Fri Jul 5 03:07:10 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Fri Jul 5 03:07:10 2002 Subject: Geometry Manager, also Archive question Message-ID: <3D0D86C40000623B@flu-stateless-02.tiscalinet.ch> I found that the Geometry Manager is Profile-sensitive. If conclude this from the behaviour in my tutorial stack. (that is, as to express it in the tutorial context, geometry works in the Master profile but not in the LargeFont profile). How do I search this subject in the Archives? across all months at once, not month-by-month? Thanks Peter From chipp at chipp.com Fri Jul 5 03:14:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Jul 5 03:14:01 2002 Subject: Standalones from Old HyperCard Stack In-Reply-To: <5.1.0.14.0.20020705004123.00ae5e48@mail.hurrah.com> Message-ID: Hey Dan, Cut my teeth on a bunch of your books, nice to see you're trying out RunRev / MC. I spent a few years with SC but left it all behind when I switched to PC's. Jerry Daniels turned me onto RR 7 or 8 months ago -- and it all came back. RR/MC is so much better than SC/HC with many more features, compiled executables and much, much more. Regarding your second question about the cards... RR executables can't write to themselves - I believe because Windows and Linux don't allow for executables to do this sort of thing, so none of the RR/MC versions allow for this. No problem though, just write to a different stack which is not in an executable. It would be a separate file. So...you could have your executable as a startup screen which called the main app - your old HC stack and things should work fine. Also, you can edit your stack at anytime. You can also easily update it by storing your stack (this example is test02.rev) on a website and calling: open URL "http://www.altuit.com/webs/altuit2/runrev/test02.rev" from your executable. All very cool. You can check out my RunRev site for some tips and downloads. http://www.altuit.com/webs/altuit2/RunRev/default.htm -Chipp Walters > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer > Sent: Friday, July 05, 2002 2:48 AM > To: use-revolution at lists.runrev.com > Subject: Standalones from Old HyperCard Stack > > > I have a simple HyperCard stack I wrote about 300 years ago. My > wife wants > to set up her new boss to use it but she's on Windows, so I break out > Revolution. > > The initial conversion *appeared* to go extremely well. But I've > encountered some issues and the docs on distribution building that I can > locate are pretty sparse and not very informative. > > Two problems I've encountered so far. > > There are several navigation buttons on the background. When I run the > stack in Rev after importing it, these buttons appear and work as > expected. > But when I create a distribution, the buttons are not visible. Clicking > where they are *supposed* to be executes their scripts so I > figure either I > have a resource issue or a layering problem. > > I go back to Revolution and I move all of these buttons to the > front. After > each such move, i get the following execution error in Revolution: > > * There was an Execution Error at 12:21:07 AM > Error description: repeat: error in statement > Revolution User Interface Error: Object: button id 1140 of group > id 1136 of > card id 1002 of stack "/Diskourse/Applications/Revolution 1.1 OS > X/components/tools/revmenubar.rev" > -------------------- > switch pWhich > -------------------- > Value: top > > The move seems to have worked, however, because when I build a new > distribution, I can see the buttons (which are all icons) and > they seem to > function. > > So that *seems* to be a cosmetic or bogus bug but someone should > look into it. > > The real problem I'm dealing with now is that when I add cards to > the stack > in the standalone, the changes don't stick. The new cards appear > fine until > I exit the app. On restart, only the original cards are still there. if I > suspend the Rev UI in developer mode and run the stack, I can add > cards and > they stick. They even appear in the standalone executable. But > any cards I > add don't work. > > Where can I look for help on this issue? Cany anyone shed light here? > > This is tantalizingly close to enabling me to do a bunch of > fairly powerful > stuff I've built in the halcyon days of HyperCard and perhaps make it > successful at last. But I'm clearly missing something! > > > > Dan Shafer, Chief Scribe and Tablet Keeper > PythonCard Open Source Project > http://pythoncard.sourceforge.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Fri Jul 5 03:34:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Jul 5 03:34:01 2002 Subject: Running Program Problems... In-Reply-To: <001101c223d9$ff3abc70$1501000a@xhead> Message-ID: Josh, Just updated my website with some new shell launch type scripts from Mark Mark Luetzelschwab (thanks Mark!) He's spent more time than anyone on this type of thing. Check them out at: http://www.altuit.com/webs/altuit2/RunRev/UsefulScripts.htm Hope it helps! -Chipp From dcragg at lacscentre.co.uk Fri Jul 5 04:40:00 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri Jul 5 04:40:00 2002 Subject: FTP-list of files In-Reply-To: References: Message-ID: At 9:28 am +0200 5/7/02, =?utf-8?Q?mazzapaolo at liber?= wrote: >How can I get the list of the files posted in a server using FTP? You can get a directory listing by just using the directory path in the url. For example: get url "ftp://somehost/path/directory/" But you'll have to parse the reply to extract only the file names. Cheers Dave Cragg From janschenkel at yahoo.com Fri Jul 5 07:13:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Jul 5 07:13:01 2002 Subject: FTP-list of files In-Reply-To: Message-ID: <20020705121017.50344.qmail@web11901.mail.yahoo.com> --- Dave Cragg wrote: > At 9:28 am +0200 5/7/02, > =?utf-8?Q?mazzapaolo at liber?= wrote: > >How can I get the list of the files posted in a > server using FTP? > > You can get a directory listing by just using the > directory path in > the url. For example: > > get url "ftp://somehost/path/directory/" > > But you'll have to parse the reply to extract only > the file names. > Which you can do easily by filtering the results, as files start with a '-' and folders/directories/however you like to call themstart with a 'd'. So in this case. put URL("ftp://user:paswd at theserver.com/thepath/"\ into theDirContent #don't forget the last '/' filter theDirContent with "-" As the filenames are at the end of each lineand items are delimited with a space, you can then retrieve those with the following script: put the itemDelimiter into oldDelim set the itemDelimiter to " " put empty into theFileList #process each line -- FAST thanks to 'for each' repeat for each line theLine of theDirContent put item -1 of theLine & return after theFileList end repeat #get rid of the trailing return delete char -1 of theFileList set the itemDelimiter to oldDelim Hope this helped a bit, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From steve at messimercomputing.com Fri Jul 5 08:36:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Fri Jul 5 08:36:01 2002 Subject: tab order issues Message-ID: I am currently working with nested groups and I have noticed an interesting problem. I have a group consisting of fields that I would like to create a tab order for. The grp is nested within a grp which is itself nested in a group. Try as I might, I am unable to disable the "Don't Tab to Contained Objects" under the grps tab of the grps property window. When I set this property I can apparently save the change but then when I check to see if the change has been accepted I find the "Don't Tab to Contained Objects" checkbox is still enabled. This is present in all nested grps and as you know prevents me from tabbing to contained objects. I tried setting the tabGroupBehavior of each group separately using the msg box but the result was the same. Anybody else run into this problem? System config: Mac OS 9.2.2, X 10.1.5, G-4 450 tower 512 MB RAM. RR v 1.1.1r2 Regards Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From mparis at nc.rr.com Fri Jul 5 08:59:01 2002 From: mparis at nc.rr.com (Mark Paris) Date: Fri Jul 5 08:59:01 2002 Subject: Running CGI's locally on OSX References: Message-ID: <003c01c22443$b2c8ad60$6beafea9@nc.rr.com> Sivakatirswami, Try this one instead---I just changed the first line. Make sure the Darwin engine is in that directory and chmod'ed to 755, and put your script in there for good measure (755 also) and then try to run it as http://myip/cgi-bin/test-mc.cgi If that doesn't work, try my original "hello" script verbatim from my post a few days back, with the same directory structure/placement. I think you must be close! I know I found it very frustrating to have a system with so much ability and so little documentation. I don't know what Apple is thinking, but it seems that they want to give a great product, yet keep the instructions on how to use it a big secret. Lol. ?! Anyway, let me know if it works for you! Mark ======test-mc.cgi #! /Library/WebServer/CGI-Executables/Darwin 2 on startup put "Hello" into buffer put "Content-Type: text/html" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer end startup ----- Original Message ----- From: "Sivakatirswami" To: "Metacard List" Cc: Sent: Thursday, July 04, 2002 9:22 PM Subject: Re: Running CGI's locally on OSX > > From: "Mark Paris" wrote > > > > > What do you get when you try: > > > > http://my.machine.ip/ or http://localhost/ ??? > > > [SNIP] > > Thanks Mark, the macDevCenter page on Apache for OSX was useful, if only to > help get some more terminal skills up and running...and yes, you are right > http://my.machine.ip/cgi-bin/ does map to the /Library/ and I am getting the > default Apache page... > > OK, I uncommented the httpd.conf file at the point where the > > AddHandler cgi-script .cgi > > As this was the sole semi- related recommendation and also recommended by > Richard MacLemale last year... (Though that should not affect running CGI's > in the /Library/WebServer/CGI-Executables/ which should be enabled by > default...according to the MacDevCenter article) > > Theoretically there is nothing else to do. OK. So far so good, but, now I > am getting a > > "Premature end of script headers" error message in the error_log when trying > to call this script: > > ======test-mc.cgi > #!/mc > on startup > put "Hello" into buffer > put "Content-Type: text/html" & cr > put "Content-Length:" && the length of buffer & cr & cr > put buffer > end startup > ========= > > I don't know if this means that the MC Darwin engine is working or not... > > Anyone else have clues? Again, seems simple, but doesn't work. > > recap: > --Darwin engine downloaded and installed into > /Library/WebServer/CGI-Executables/ > --And the above test script as well... Both files permissions set to CHMOD > 755 > --"AddHandler cgi-script .cgi " was enabled in the httpd.conf file > --But http://my.machine.ip/cgi-bin/test-mc.cgi still doesn't work > --Error log says: "Premature end of script headers: > /Library/WebServer/CGI-Executables/test-mc.cgi" > > > > 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 benr at cogapp.com Fri Jul 5 09:49:01 2002 From: benr at cogapp.com (Ben Rubinstein) Date: Fri Jul 5 09:49:01 2002 Subject: FTP-list of files In-Reply-To: <20020705121017.50344.qmail@web11901.mail.yahoo.com> Message-ID: on 5/7/02 1:10 pm, Jan Schenkel at janschenkel at yahoo.com wrote: >> But you'll have to parse the reply to extract only >> the file names. >> > > Which you can do easily by filtering the results, as > files start with a '-' and folders/directories/however > you like to call themstart with a 'd'. Beware: this will work on many FTP servers, but by no means all. IIS offers two formats - there's a checkbox on the control panel of the server to determine which one FTP clients will see. Tragically there is NO standard, only a number of conventions. Ludicrously, the FTP RFC (standard) defines that an FTP server should respond to the LIST command (which is what is being used here) with a listing in a 'human readable' format, and doesn't specify it. There is another command (I think NLIST, but my memory may be faulty) - which you'll have to hack libURL to send - which is defined to be easy for machines to read - but this doesn't include such useful information as whether this file is a directory or not. AFAIK there is no simple correct solution; you just have to code a parser to respond to all the formats you encounter/care about, and do lots of checking to be that the format you think you are parsing is exactly right. When I last looked into this, I hoped at least to find a helpful web page somewhere that would say 'these X FTP servers account for approx Y% of the installed base and these are the format(s) that each might respond to LIST with'. But I found no such thing. I found quite a few code snippets in various different languages/environments that claimed to parse FTP listings, but actually only parsed one format; some that took account of a few. It's a nightmare. Of course, you may only be interested in a single case, in which case ignore all of this and just look at what you're getting back from that server. If you are trying to write a generally accurate parser - please share any research you come up with! Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From karlpet at mac.com Fri Jul 5 11:39:01 2002 From: karlpet at mac.com (Karl Petersen) Date: Fri Jul 5 11:39:01 2002 Subject: tab order issues In-Reply-To: References: Message-ID: At 9:33 AM -0400 7/5/02, Steve Messimer wrote: >I tried setting the tabGroupBehavior of each group separately using the msg >box but the result was the same. The tabGroupBehavior issue occurs with single-group objects too, in my experience. Try both setting AND getting the tabGroupBehavior property from the message box. My experience is the Properties palette turns on tabGroupBehavior when you close the palette. It's a palette issue, not a property issue. To force the palette to apply/re-apply your setting, be sure to click on the tabGroupBehavior checkbox before leaving the palette. If you don't, the palette (inappropriately) turns on tabGroupBehavior when you leave. But if you click the checkbox, the palette applies the setting you want. Karl From fuegox at mac.com Fri Jul 5 14:18:01 2002 From: fuegox at mac.com (Mark Talluto) Date: Fri Jul 5 14:18:01 2002 Subject: Export to QT movie In-Reply-To: <200207041601.MAA31760@www.runrev.com> Message-ID: <822B15BC-904B-11D6-80F6-000502774FC1@mac.com> > Terry Vogelaar wrote: > >> Is there a way to capture what RunRev displays on screen in a QuickTime >> movie? I'm planning to make a (kind of a) presentation using RR and >> put it >> on a SVCD or DVD. Video-data will not be used by the application; only >> artwork, sound and text. If the sound brings up problems, it can be >> handled >> separately. Any suggestions? Maybe a prog that captures to QT anything >> displayed on screen? Or maybe there is a build-in Revolutionary way >> that I >> am not aware of. > > Terry, have a look at Snapz Pro: > > http://www.ambrosiasw.com/utilities/snapzpro/ > > > Ted While I love Snapz Pro, it would be very cool to be able to do this from within RR. It is a standard option on most presentation tools to out put a slideshow, etc... to a QT movie. To be able to offer that feature in our apps would be very nice indeed. I have expressed this before on the MC side. Maybe the RR guys can get this in. -Mark From katir at hindu.org Fri Jul 5 14:54:00 2002 From: katir at hindu.org (Sivakatirswami) Date: Fri Jul 5 14:54:00 2002 Subject: Running CGI's locally on OSX In-Reply-To: <200207051601.MAA27955@www.runrev.com> Message-ID: OK, this is solved now... See below for the "skinny Primer" > on 07-05-2002 06:01 AM, Mark Paris at use-revolution-request at lists.runrev.com > wrote: > Try #! /Library/WebServer/CGI-Executables/Darwin 2 > On the first line > And > on Thu, 04 Jul 2002 13:17:12 Richard MacLemale at > wrote > Ask and ye shall receive... > > http://mitchellonline.pasco.k12.fl.us/training/metacardcgi.htm > Let me know if there's any mistakes in it, because I wrote it half a year > ago. Also, there's one important piece of info that I think I left out. > When writing a cgi script for darwin mc, the script must contain UNIX line > breaks, NOT Mac line breaks. Which means you can't write it in TextEdit or > SimpleText. The best, easiest way to do this is to grab a free copy of > BBEdit Lite, which can save files with UNIX line breaks. Then you're off to > the races! Yes, this now works! : ======test-mc.cgi #! /Library/WebServer/CGI-Executables/mc #or whatever engine filename on startup put "Hello" into buffer put "Content-Type: text/html" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer end startup But (duh!) #!mc On the first line will also work. Putting a slash in front when the engine filename was obviously the wrong thing to do (Unix thinks it's a directory) So.. It was a "path thing" that was the trouble... OK, that's a wrap. And, Richard... You page looks good except a) Yes, we need to document using Unix endlines (I did use BBEdit and I just save scripts that way as standard procedure... So I also didn't think about it, but needs to be told..." and b) you only need the one file -- the engine itself (no home stack tools etc) in the CGI-Executables Thanks for everyone's input... What a great forum! =============Kevin... Someone could polish this for a tip of the week: SKINNY PRIMER: installing faceless Metacard or Revolution On your MAX OSX machine for running CGI's on your own machine: 0) Go to system preferences and turn on Web Sharing 1) Download the Darwin engine, untar and put it in: /Library/WebServer/CGI-Executables 2) Put your CGI script in the same folder: but, caveat: be sure to save your script in BBEdit as generic text with Unix endlines 3) Using Terminal.app... Navigate to CGI-Executables and then run From pydan at danshafer.com Fri Jul 5 15:27:01 2002 From: pydan at danshafer.com (Dan Shafer) Date: Fri Jul 5 15:27:01 2002 Subject: Standalones from Old HyperCard Stack In-Reply-To: References: <5.1.0.14.0.20020705004123.00ae5e48@mail.hurrah.com> Message-ID: <5.1.0.14.0.20020705132659.00ab8bf0@mail.hurrah.com> At 03:10 AM 7/5/2002 -0500, you wrote: >Hey Dan, > >Cut my teeth on a bunch of your books, nice to see you're trying out RunRev >/ MC. I spent a few years with SC but left it all behind when I switched to >PC's. Jerry Daniels turned me onto RR 7 or 8 months ago -- and it all came >back. RR/MC is so much better than SC/HC with many more features, compiled >executables and much, much more. Thanks for remembering me! RR looks very interesting. I've poked at it a few times over the last few months but it never seems quite "finished" if you know what I mean. Today, in working on a very simple stack, I ran into: *numerous execution errors that are clearly pointing to built-in RR scripts I didn't write * mysterious and sudden relocation of the window I am working on as I switch out of RR and back * on two occasions, the button to return to RR after suspending its UI became empty and non-responsive and I could not for the life of me figure out how to get back. Even quitting the app didn't work. I had to quit RR. * mysterious case where a card/stack suddenly had multiple groups (maybe a user error, but there was no way I could see that would remove the unwanted groups; everything I tried seemed to work but the groups never went away) * an inability to get create card to make a card with a group on it. (Finally sent a note on this one to the list a bit ago). It does seem to be stabilizing some, but, boy, it feels like there are a lot of rough edges here. Is this just me? I'm running on OS X, by the way; I have it installed in Win2K and haven't tried building anything there at all since Mac is my native environment. But maybe these are OS X issues and I'd be better off building on Win2K. (I refuse to back to Mac Classic; I'd switch to WIn2K first!) Anyway, it will be nice when the differences between HC and RR become more second nature to me than they are now. I've read the "About Revolution for HyperCard Developers" three times but every time I think I got it, something else crops up. >Regarding your second question about the cards... RR executables can't write >to themselves - I believe because Windows and Linux don't allow for >executables to do this sort of thing, so none of the RR/MC versions allow >for this. No problem though, just write to a different stack which is not in >an executable. It would be a separate file. So...you could have your >executable as a startup screen which called the main app - your old HC stack >and things should work fine. Also, you can edit your stack at anytime. You >can also easily update it by storing your stack (this example is test02.rev) >on a website and calling: > >open URL "http://www.altuit.com/webs/altuit2/runrev/test02.rev" > >from your executable. All very cool. You can check out my RunRev site for >some tips and downloads. >http://www.altuit.com/webs/altuit2/RunRev/default.htm > >-Chipp Walters > > > -----Original Message----- > > From: use-revolution-admin at lists.runrev.com > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer > > Sent: Friday, July 05, 2002 2:48 AM > > To: use-revolution at lists.runrev.com > > Subject: Standalones from Old HyperCard Stack > > > > > > I have a simple HyperCard stack I wrote about 300 years ago. My > > wife wants > > to set up her new boss to use it but she's on Windows, so I break out > > Revolution. > > > > The initial conversion *appeared* to go extremely well. But I've > > encountered some issues and the docs on distribution building that I can > > locate are pretty sparse and not very informative. > > > > Two problems I've encountered so far. > > > > There are several navigation buttons on the background. When I run the > > stack in Rev after importing it, these buttons appear and work as > > expected. > > But when I create a distribution, the buttons are not visible. Clicking > > where they are *supposed* to be executes their scripts so I > > figure either I > > have a resource issue or a layering problem. > > > > I go back to Revolution and I move all of these buttons to the > > front. After > > each such move, i get the following execution error in Revolution: > > > > * There was an Execution Error at 12:21:07 AM > > Error description: repeat: error in statement > > Revolution User Interface Error: Object: button id 1140 of group > > id 1136 of > > card id 1002 of stack "/Diskourse/Applications/Revolution 1.1 OS > > X/components/tools/revmenubar.rev" > > -------------------- > > switch pWhich > > -------------------- > > Value: top > > > > The move seems to have worked, however, because when I build a new > > distribution, I can see the buttons (which are all icons) and > > they seem to > > function. > > > > So that *seems* to be a cosmetic or bogus bug but someone should > > look into it. > > > > The real problem I'm dealing with now is that when I add cards to > > the stack > > in the standalone, the changes don't stick. The new cards appear > > fine until > > I exit the app. On restart, only the original cards are still there. if I > > suspend the Rev UI in developer mode and run the stack, I can add > > cards and > > they stick. They even appear in the standalone executable. But > > any cards I > > add don't work. > > > > Where can I look for help on this issue? Cany anyone shed light here? > > > > This is tantalizingly close to enabling me to do a bunch of > > fairly powerful > > stuff I've built in the halcyon days of HyperCard and perhaps make it > > successful at last. But I'm clearly missing something! > > > > > > > > Dan Shafer, Chief Scribe and Tablet Keeper > > PythonCard Open Source Project > > http://pythoncard.sourceforge.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 Dan Shafer, Chief Scribe and Tablet Keeper PythonCard Open Source Project http://pythoncard.sourceforge.net From troy at rpsystems.net Fri Jul 5 15:42:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Fri Jul 5 15:42:01 2002 Subject: Standalones from Old HyperCard Stack In-Reply-To: <5.1.0.14.0.20020705132659.00ab8bf0@mail.hurrah.com> Message-ID: <337B2E62-9057-11D6-9BC0-000393853D6C@rpsystems.net> On Friday, July 5, 2002, at 04:32 PM, Dan Shafer wrote: > It does seem to be stabilizing some, but, boy, it feels like there are > a lot of rough edges here. Is this just me? I'm running on OS X, by the > way; I have it installed in Win2K and haven't tried building anything > there at all since Mac is my native environment. But maybe these are OS > X issues and I'd be better off building on Win2K. (I refuse to back to > Mac Classic; I'd switch to WIn2K first!) Well, yes. The "rough edges" are certainly part of the experience. We run Rev on OSX and Win98, and it is so on both platforms. It IS getting better with each release, and overall it does hold up on most of its promises, which is more than I can say for many environments. The OSX experience is probably the cleanest of all actually, at least in my experience. Probably the worst part is in fact the "window juggling", the numerous panels and windows that seem to be all over the place, and never reliably "under control". This point has been made extensively on the "improve RR list", and I believe it has been heard by the development team as an area that needs work. I think (and hope) that some of those edges are being smoothed, and we'll be seeing those improvements soon. In the meantime, while occasionally frustrating, RR is able to accomplish some pretty amazing tasks with what we already have. -- Troy RPSystems, LTD www.rpsystems.net From kurtkaufman at hotmail.com Fri Jul 5 16:01:01 2002 From: kurtkaufman at hotmail.com (Kurt Kaufman) Date: Fri Jul 5 16:01:01 2002 Subject: Printed Manuals Message-ID: The printed documentation is great to have; I even find myself picking up the User Guide and Dictionary and browsing from time to time in a way that I would not have done on-screen. In doing so I end up learning about capabilities and short-cuts, etc. that I might have not otherwise discovered. One question: I've noticed some minor typos and sentence displacements; to whom do I direct this information? Thanks again to Jeanne and the others who contributed their efforts; much appreciated! -Kurt From briank at bkms.com Fri Jul 5 16:02:01 2002 From: briank at bkms.com (Brian Kelly) Date: Fri Jul 5 16:02:01 2002 Subject: externals with MacOS In-Reply-To: References: Message-ID: Thanks to Scott and Brian for their help. I can now get my external to run. Turns out the latest CodeWarrior has some problems with merging into an existing file which really didn't help. >The CODE resource needs to be placed *in the stack file*, not in a >separate file. Note that this is only true for MacOS: all other >platforms (including the Mach-O OS X engine) the external is stored as >a separate file which is found using the "externals" property of the stack. I'm a bit confused here. I built the external separately and put it into the stack using Resorcerer and all seems to be well in both Mac OS 9.2.2 and Mac OS X (10.1.5). Should I be doing something different for OS X? Or are there a separate engines for Mach-O and carbon? According to the Transcript dictionary the externals property is not available in OS 9 or X. Either way I've got my code working, thanks, Brian From pydan at danshafer.com Fri Jul 5 16:06:01 2002 From: pydan at danshafer.com (Dan Shafer) Date: Fri Jul 5 16:06:01 2002 Subject: Create Card Not Adding Group? Message-ID: <5.1.0.14.0.20020705131515.02c4ae90@mail.hurrah.com> I have a Rev stack. (Gave up on the HC conversion. The stack is so simple I figure it's easier just to start from scratch.) It has a group that consists of two fields and four buttons. The group's backbroundBehavior property is true. In a script, I go to the last card of the stack, retrieve a custom property to populate one of the fields, and then send "create card." The card gets created but it's blank. No controls. I think this is supposed to work. So I'm obviously doing something wrong.Any ideas? Dan Shafer, Chief Scribe and Tablet Keeper PythonCard Open Source Project http://pythoncard.sourceforge.net From briank at bkms.com Fri Jul 5 16:07:00 2002 From: briank at bkms.com (Brian Kelly) Date: Fri Jul 5 16:07:00 2002 Subject: ask dialog not appearing in my stack Message-ID: This may be a total newbie question, but why doesn't the ask dialog show up when I run my stack when Revolution isn't running? This running Mac OS 10.1.5. This isn't running as a standalone built distribution, just the stack itself. I thought in this situation I would have access to the resources of the Revolution app itself. If that is not the case, can I just copy the relevant dialogs over to the stack using Resorcerer? Thanks, Brian From pydan at danshafer.com Fri Jul 5 16:09:01 2002 From: pydan at danshafer.com (Dan Shafer) Date: Fri Jul 5 16:09:01 2002 Subject: Almost There Message-ID: <5.1.0.14.0.20020705140757.02c60e20@mail.hurrah.com> OK, I'm almost there. My stack kept losing icons until I figured out i had to include the MetaCard Compatible icon resource. Now it's working basically fine except I still can't get it to write any data out. I add cards with content, which in turn resets a custom property of the stack. I quit. I relaunch. THings are as they were before I added any cards. I think I have followed all the directions I've gotten. In the Distribution Builder, I have: * right file and stacks selected * "Move substacks into individual files" selected, with the default checkbox on and the first one off * on Resources tab, I have cursors, geometry libraries, printing libraries, both standard and MC icons but not database or internet * on Resources tab, I have also set "Make resources substacks of standalone mainstack" on. * I have changed nothing on Mac OS or Windows tabs I get a stack that looks like it runs but the data never gets updated. This is all quite bewildering. Dan Shafer, Chief Scribe and Tablet Keeper PythonCard Open Source Project http://pythoncard.sourceforge.net From chipp at chipp.com Fri Jul 5 16:15:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Jul 5 16:15:01 2002 Subject: Create Card Not Adding Group? In-Reply-To: <5.1.0.14.0.20020705131515.02c4ae90@mail.hurrah.com> Message-ID: Dan, I set the backgroundbehavior of group 1 to true then issued a: create card and the group showed up on the next card... But if I do a New from the revMenuBar it doesn't...hmmm It appears that runrev IDE doesn't acknowledge the backgroundbehavior of groups when it creates new cards. Just use the create card command and it should work. -Chipp From scott at tactilemedia.com Fri Jul 5 16:19:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Jul 5 16:19:01 2002 Subject: Almost There In-Reply-To: <5.1.0.14.0.20020705140757.02c60e20@mail.hurrah.com> Message-ID: Recently, "Dan Shafer" wrote: > I get a stack that looks like it runs but the data never gets updated. Is your data stack part of a Rev-built standalone application? If yes, you cannot save data to a standalone, you need to keep your data stacks separate from the standalone engine. If your data stack is not part of a standalone, are you saving the stack before quitting? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From kurtkaufman at hotmail.com Fri Jul 5 16:20:01 2002 From: kurtkaufman at hotmail.com (Kurt Kaufman) Date: Fri Jul 5 16:20:01 2002 Subject: ask dialog not appearing in my stack Message-ID: <8E89D60D-905C-11D6-A0A2-00039348A1E6@hotmail.com> BK wrote: "...but why doesn't the ask dialog show up when I run my stack when Revolution isn't running?..." Hi Brian, I believe that you need to open up your stack from WITHIN Revolution in order to access the dialog resources (among other resources, color and font settings, etc.) HTH, Kurt From Lynn at turnkeydesign.net Fri Jul 5 16:30:01 2002 From: Lynn at turnkeydesign.net (Lynn M. Loeffel) Date: Fri Jul 5 16:30:01 2002 Subject: digest form of mailing list? In-Reply-To: References: Message-ID: <20020705212705.17033@mailhost.mil.ameritech.net> Hello all, Does anyone know if this subscription is available in digest form, rather than as individual emails? Thanks!! -Lynn From kurtkaufman at hotmail.com Fri Jul 5 17:36:01 2002 From: kurtkaufman at hotmail.com (Kurt Kaufman) Date: Fri Jul 5 17:36:01 2002 Subject: digest form of mailing list? Message-ID: <2F6F2C46-9067-11D6-9705-00039348A1E6@hotmail.com> Send an email to: use-revolution-request at lists.runrev.com with the subject "help" (without quotes) for all you ever wanted to know about the list options :-) -KK From raney at metacard.com Fri Jul 5 18:10:00 2002 From: raney at metacard.com (Scott Raney) Date: Fri Jul 5 18:10:00 2002 Subject: externals with MacOS In-Reply-To: <200207052032.QAA04013@www.runrev.com> Message-ID: On Fri, 5 Jul 2002 Brian Kelly wrote: > Turns out the latest CodeWarrior has some problems with merging into > an existing file which really didn't help. Ah, forgot about that one. One of many reasons why we're going to start supplying Project Builder templates for the externals in the future ;-) > >The CODE resource needs to be placed *in the stack file*, not in a > >separate file. Note that this is only true for MacOS: all other > >platforms (including the Mach-O OS X engine) the external is stored as > >a separate file which is found using the "externals" property of the > stack. > > I'm a bit confused here. I built the external separately and put it > into the stack using Resorcerer and all seems to be well in both Mac > OS 9.2.2 and Mac OS X (10.1.5). Should I be doing something different > for OS X? Or are there a separate engines for Mach-O and carbon? > > According to the Transcript dictionary the externals property is not > available in OS 9 or X. This is true for the current version of RR, and is because the Carbon engine is CFM format, not Mach-O, for that release. This will change in the next release, though: the Carbon engine will be the OS X native Mach-O format, and you'll have to build separate externals for the PPC/CFM and the Carbon/Mach-O platforms. The PPC engine will still use a CODE resource but the Carbon engine will use a Bundle (dynamic library) which will be loaded via the externals property as is done on Win32 and the other UNIX systems. Regards, Scott > Either way I've got my code working, thanks, > Brian ******************************************************** Scott Raney raney at metacard.com http://www.metacard.com MetaCard: You know, there's an easier way to do that... From chipp at chipp.com Fri Jul 5 20:26:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Jul 5 20:26:01 2002 Subject: Standalones from Old HyperCard Stack In-Reply-To: <5.1.0.14.0.20020705132659.00ab8bf0@mail.hurrah.com> Message-ID: Dan, When I started with RR, I also encountered some strange behavior in the IDE. After awhile, it seemed to go away. I guess I just figured out where the potholes are. Also, I'm running on WinXP -- my experience running under MacOS 9+ was worse. More crashes during development. But, the executables seem remarkably stable! Once you get the hang of it, it just gets better and better. It has so many more handlers and functions. I'd recommend you purchasing the manuals if you get a chance. Great bedtime reading;-) -Chipp >Today, > in working on a very simple stack, I ran into: > > *numerous execution errors that are clearly pointing to built-in > RR scripts > I didn't write > * mysterious and sudden relocation of the window I am working on as I > switch out of RR and back > * on two occasions, the button to return to RR after suspending its UI > became empty and non-responsive and I could not for the life of me figure > out how to get back. Even quitting the app didn't work. I had to quit RR. > * mysterious case where a card/stack suddenly had multiple groups > (maybe a > user error, but there was no way I could see that would remove > the unwanted > groups; everything I tried seemed to work but the groups never went away) > * an inability to get create card to make a card with a group on it. > (Finally sent a note on this one to the list a bit ago). > > It does seem to be stabilizing some, but, boy, it feels like there are a > lot of rough edges here. Is this just me? I'm running on OS X, by > the way; > I have it installed in Win2K and haven't tried building anything there at > all since Mac is my native environment. But maybe these are OS X > issues and > I'd be better off building on Win2K. (I refuse to back to Mac > Classic; I'd > switch to WIn2K first!)> From janschenkel at yahoo.com Sat Jul 6 00:15:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat Jul 6 00:15:01 2002 Subject: FTP-list of files In-Reply-To: Message-ID: <20020706051200.21242.qmail@web11905.mail.yahoo.com> Thanks for the heads-up, Ben. My bad -- I had forgotten that one little incident at my previous job where our program ran quite happily at our testsite but wouldn't run in the real environment (was a monstrosity written in VB ; the IIS-server was returning lines separated with 2 crlf's if i'm not mistaking) If our friend is running this to get dta from a Unix-styleserver, this should work on most of them. the rest requires some tweaking. So have a look at what the "get URL" returns. Hopefully my earlier hints are of use to you.. Best regards, Jan. --- Ben Rubinstein wrote: > on 5/7/02 1:10 pm, Jan Schenkel at > janschenkel at yahoo.com wrote: > > >> But you'll have to parse the reply to extract > only > >> the file names. > >> > > > > Which you can do easily by filtering the results, > as > > files start with a '-' and > folders/directories/however > > you like to call themstart with a 'd'. > > Beware: this will work on many FTP servers, but by > no means all. IIS offers > two formats - there's a checkbox on the control > panel of the server to > determine which one FTP clients will see. > > Tragically there is NO standard, only a number of > conventions. Ludicrously, > the FTP RFC (standard) defines that an FTP server > should respond to the LIST > command (which is what is being used here) with a > listing in a 'human > readable' format, and doesn't specify it. There is > another command (I think > NLIST, but my memory may be faulty) - which you'll > have to hack libURL to > send - which is defined to be easy for machines to > read - but this doesn't > include such useful information as whether this file > is a directory or not. > > AFAIK there is no simple correct solution; you just > have to code a parser to > respond to all the formats you encounter/care about, > and do lots of checking > to be that the format you think you are parsing is > exactly right. > > When I last looked into this, I hoped at least to > find a helpful web page > somewhere that would say 'these X FTP servers > account for approx Y% of the > installed base and these are the format(s) that each > might respond to LIST > with'. But I found no such thing. I found quite a > few code snippets in > various different languages/environments that > claimed to parse FTP listings, > but actually only parsed one format; some that took > account of a few. It's > a nightmare. > > Of course, you may only be interested in a single > case, in which case ignore > all of this and just look at what you're getting > back from that server. If > you are trying to write a generally accurate parser > - please share any > research you come up with! > > Ben Rubinstein | Email: > benr_mc at cogapp.com > Cognitive Applications Ltd | Phone: +44 > (0)1273-821600 > http://www.cogapp.com | Fax : +44 > (0)1273-728866 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From mcompanys at mac.com Sat Jul 6 00:52:01 2002 From: mcompanys at mac.com (Manuel Companys) Date: Sat Jul 6 00:52:01 2002 Subject: File maker and Japanese Message-ID: jean-jacques asks this in the macFR.net list. Could anybody help him? ****BEGIN I suppose there should be some add in for File Maker, so we can use this program in Japanese. Now we can write in japanese all right, but with a huge problem: a 5-chars word needs as much room as a 10 chars one. If we switch to the japanese version, then we cannot even open the files. ****END Thanks. Manuel From pydan at danshafer.com Sat Jul 6 01:06:01 2002 From: pydan at danshafer.com (Dan Shafer) Date: Sat Jul 6 01:06:01 2002 Subject: Almost There In-Reply-To: References: <5.1.0.14.0.20020705140757.02c60e20@mail.hurrah.com> Message-ID: <5.1.0.14.0.20020705231007.02c469b8@mail.hurrah.com> At 02:15 PM 7/5/2002 -0700, Scott Rossi wrote: >Recently, "Dan Shafer" wrote: > > > I get a stack that looks like it runs but the data never gets updated. > >Is your data stack part of a Rev-built standalone application? If yes, you >cannot save data to a standalone, you need to keep your data stacks separate >from the standalone engine. > >If your data stack is not part of a standalone, are you saving the stack >before quitting? Oh, you mean JUST LIKE THE DOCS SAY!!?? I can't believe it. I read the docs three times. I remembered something about not auto-saving. But I'm still stuck in HyperCard mode. Thanks. This did the trick. >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 Dan Shafer, Chief Scribe and Tablet Keeper PythonCard Open Source Project http://pythoncard.sourceforge.net From jeanne at runrev.com Sat Jul 6 02:00:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Jul 6 02:00:01 2002 Subject: Icon Editor in Rev In-Reply-To: Message-ID: At 9:20 PM -0700 6/30/2002, Scott Slaugh wrote: >I would like to try and make an icon editor that runs in Revolution, >allowing me to create and edit icons without having to use another program. >I would like it to be basically like HyperCard's. However, there is one >thing I cannot figure out. How would I go about making it zoomed in when I >edited the icon, as did HyperCard's? I have thought about this a bit and >cannot think about how to do it. Any ideas? Is the magnify window adequate for this? (Set the image's magnify to true.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Jul 6 02:00:12 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Jul 6 02:00:12 2002 Subject: Large styled text database In-Reply-To: Message-ID: At 6:13 AM -0700 7/2/2002, Philippe Lestang wrote: >How would you manage, using Revolution, a large database of styled >texts (with bold, italics, etc.)? Depends on how large, but one method would be to store the text as htmlText - in custom properties, in files, or in a separate database - and then set the htmlText of a field to the custom property (or whatever) to display and modify the text. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Jul 6 02:01:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Jul 6 02:01:01 2002 Subject: Create Card Not Adding Group? In-Reply-To: References: <5.1.0.14.0.20020705131515.02c4ae90@mail.hurrah.com> Message-ID: At 2:13 PM -0700 7/5/2002, Chipp Walters wrote: >I set the backgroundbehavior of group 1 to true then issued a: > >create card > >and the group showed up on the next card... > >But if I do a New from the revMenuBar it doesn't...hmmm Works here for me - are you sure nothing else was going on that might have affected this? Dan, are you on a card with the group when you issue the create card command? The backgroundBehavior property only affects groups on the current card: that is, when you create a new card, only groups on the current card (whose backgroundBehavior is true) are placed on the new card. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Jul 6 02:02:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Jul 6 02:02:01 2002 Subject: Printed Manuals In-Reply-To: Message-ID: At 1:57 PM -0700 7/5/2002, Kurt Kaufman wrote: >One question: I've noticed some minor typos and sentence displacements; >to whom do I direct this information? Send your tired, your poor, your typos, your documentation bugs to me (via private email). ;-) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From kray at sonsothunder.com Sat Jul 6 09:46:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sat Jul 6 09:46:01 2002 Subject: Almost There References: <5.1.0.14.0.20020705140757.02c60e20@mail.hurrah.com> <5.1.0.14.0.20020705231007.02c469b8@mail.hurrah.com> Message-ID: <05d201c224fa$e08016f0$6401a8c0@mckinley.dom> Dan, Frederic Rinaldi makes an "auto-save" plugin for Rev that might help if you have a tendency to forget to save. You can get it at: http://perso.wanadoo.fr/frederic.rinaldi/ Click on "Revolution Plugins"... it's called SmartSave. Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Dan Shafer" To: Sent: Saturday, July 06, 2002 1:10 AM Subject: Re: Almost There > At 02:15 PM 7/5/2002 -0700, Scott Rossi wrote: > >Recently, "Dan Shafer" wrote: > > > > > I get a stack that looks like it runs but the data never gets updated. > > > >Is your data stack part of a Rev-built standalone application? If yes, you > >cannot save data to a standalone, you need to keep your data stacks separate > >from the standalone engine. > > > >If your data stack is not part of a standalone, are you saving the stack > >before quitting? > > Oh, you mean JUST LIKE THE DOCS SAY!!?? > > I can't believe it. I read the docs three times. I remembered something > about not auto-saving. But I'm still stuck in HyperCard mode. > > Thanks. > > This did the trick. > > >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 > > Dan Shafer, Chief Scribe and Tablet Keeper > PythonCard Open Source Project > http://pythoncard.sourceforge.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kenl34 at earthlink.net Sat Jul 6 10:35:00 2002 From: kenl34 at earthlink.net (Ken Lipscomb) Date: Sat Jul 6 10:35:00 2002 Subject: Displaying graphics elements or buttons on top of a QuickTime movie In-Reply-To: Message-ID: I am working on an Interactive TV application. Is it possible to have buttons or graphics elements overlay a QuickTime movie? It seems that you can place the graphic over the still QT image/movie during application layout; however when I start the movie the object/graphic moves behind the movie. Thoughts? Ken From troy at rpsystems.net Sat Jul 6 10:57:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sat Jul 6 10:57:01 2002 Subject: Displaying graphics elements or buttons on top of a QuickTime movie In-Reply-To: Message-ID: <9EF17742-90F8-11D6-82D3-000393853D6C@rpsystems.net> On Saturday, July 6, 2002, at 11:33 AM, Ken Lipscomb wrote: > I am working on an Interactive TV application. Is it possible to have > buttons or graphics elements overlay a QuickTime movie? It seems that > you can place the graphic over the still QT image/movie during > application layout; however when I start the movie the object/graphic > moves behind the movie. Thoughts? > You'll probably be disappointed with the results, as it will dramatically impact your frame rate, but - __________________________ (from the dictionary) Comments: If a player?s alwaysBuffer is false, the movie it contains is drawn in front of all objects. The visual effect command does not affect the screen area inside the rectangle of a player whose alwaysBuffer is false. Important! If a player?s alwaysBuffer property is set to true, it cannot be controlled with the controller bar and must be operated by script control. Note: Setting the alwaysBuffer to true always increases memory usage, and may make movie playing more jerky. ___________________________ "May" is a gentle term for "will" in this case, as in "and WILL make movie playing more jerky." This is not the fault of Revolution - it is always the case with laying content on top of a QuickTime. If you can live with it, then there is your answer. Most have to develop an alternate layout where overlay is not required. -- Troy RPSystems, LTD www.rpsystems.net From pydan at danshafer.com Sat Jul 6 11:23:01 2002 From: pydan at danshafer.com (Dan Shafer) Date: Sat Jul 6 11:23:01 2002 Subject: Create Card Not Adding Group? In-Reply-To: References: <5.1.0.14.0.20020705131515.02c4ae90@mail.hurrah.com> Message-ID: <5.1.0.14.0.20020706092643.02c62c58@mail.hurrah.com> At 09:44 PM 7/5/2002 -0700, you wrote: >At 2:13 PM -0700 7/5/2002, Chipp Walters wrote: > >I set the backgroundbehavior of group 1 to true then issued a: > > > >create card > > > >and the group showed up on the next card... > > > >But if I do a New from the revMenuBar it doesn't...hmmm > >Works here for me - are you sure nothing else was going on that might have >affected this? > >Dan, are you on a card with the group when you issue the create card >command? The backgroundBehavior property only affects groups on the current >card: that is, when you create a new card, only groups on the current card >(whose backgroundBehavior is true) are placed on the new card. Yes, I was on the card. I think I finally diagnosed the problem. Somehow (and I have no clue how it happened but it's clearly operator error!), I ended up with two groups, one of which did not have the backgroundBehavior property set. When i finally figured out how to get rid of the uncooperative group and restarted, I got this to work. >-- >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 Dan Shafer, Chief Scribe and Tablet Keeper PythonCard Open Source Project http://pythoncard.sourceforge.net From kenl34 at earthlink.net Sat Jul 6 11:23:08 2002 From: kenl34 at earthlink.net (Ken Lipscomb) Date: Sat Jul 6 11:23:08 2002 Subject: Displaying graphics elements or buttons on top of a QuickTime movie In-Reply-To: Message-ID: Troy Thanks for the info. I will try out your suggestion. ...One thing I noticed is that the pointer/cursor can be seen on top of a QTMovie with no apparent degradation in speed. Is it possible to have a graphic exist in the pointer/cursor plane? 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: Saturday, July 06, 2002 11:54 AM To: use-revolution at lists.runrev.com Subject: Re: Displaying graphics elements or buttons on top of a QuickTime movie On Saturday, July 6, 2002, at 11:33 AM, Ken Lipscomb wrote: > I am working on an Interactive TV application. Is it possible to have > buttons or graphics elements overlay a QuickTime movie? It seems that > you can place the graphic over the still QT image/movie during > application layout; however when I start the movie the object/graphic > moves behind the movie. Thoughts? > You'll probably be disappointed with the results, as it will dramatically impact your frame rate, but - __________________________ (from the dictionary) Comments: If a player?s alwaysBuffer is false, the movie it contains is drawn in front of all objects. The visual effect command does not affect the screen area inside the rectangle of a player whose alwaysBuffer is false. Important! If a player?s alwaysBuffer property is set to true, it cannot be controlled with the controller bar and must be operated by script control. Note: Setting the alwaysBuffer to true always increases memory usage, and may make movie playing more jerky. ___________________________ "May" is a gentle term for "will" in this case, as in "and WILL make movie playing more jerky." This is not the fault of Revolution - it is always the case with laying content on top of a QuickTime. If you can live with it, then there is your answer. Most have to develop an alternate layout where overlay is not required. -- 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 Sat Jul 6 17:21:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Sat Jul 6 17:21:01 2002 Subject: Displaying graphics elements or buttons on top of a QuickTime movie In-Reply-To: Message-ID: <4FCF00F8-912E-11D6-82D3-000393853D6C@rpsystems.net> On Saturday, July 6, 2002, at 12:21 PM, Ken Lipscomb wrote: > Thanks for the info. I will try out your suggestion. ...One thing I > noticed is that the pointer/cursor can be seen on top of a QTMovie with > no apparent degradation in speed. Is it possible to have a graphic > exist in the pointer/cursor plane? Well, yes and no. QT respects the cursor of course, but that plane is only available to cursors. You can of course replace the cursor within Revolution, but I suspect that you'll find that in order for a graphic which is "behaving" as the cursor to pass in front of, rather than behind, the QT, you'll need to alwaysbuffer=true the player anyway - which of course, rather defeats the intention. Most programs which do cursor replacement are actually hiding the cursor and then dragging a graphic where the cursor should be. Rev can also replace the cursor with a valid cursor resource, but unless the graphics you want to use are 16 pixels square and black and white... The only real way to have buttons on top of QuickTime without significant performance hits is to create "wired movies" - meaning that the buttons are actually in the Quicktime, and not layered on top of it. -- Troy RPSystems, LTD www.rpsystems.net From gcanyon at inspiredlogic.com Sat Jul 6 18:55:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Jul 6 18:55:01 2002 Subject: Printed Manuals In-Reply-To: References: Message-ID: At 9:47 PM -0700 7/5/02, Jeanne A. E. DeVoto wrote: >At 1:57 PM -0700 7/5/2002, Kurt Kaufman wrote: >>One question: I've noticed some minor typos and sentence displacements; >>to whom do I direct this information? > >Send your tired, your poor, your typos, your documentation bugs to me (via >private email). ;-) If the typos, etc., are in the printed documentation but not the online docs, please cc: me. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From gcanyon at inspiredlogic.com Sat Jul 6 19:11:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Jul 6 19:11:01 2002 Subject: ask dialog not appearing in my stack In-Reply-To: References: Message-ID: At 2:03 PM -0700 7/5/02, Brian Kelly wrote: >This may be a total newbie question, but why doesn't the ask dialog show up when I run my stack when Revolution isn't running? > >This running Mac OS 10.1.5. > >This isn't running as a standalone built distribution, just the stack itself. I thought in this situation I would have access to the resources of the Revolution app itself. If that is not the case, can I just copy the relevant dialogs over to the stack using Resorcerer? The ask and answer dialogs are not built-in resources (as they were in HyperCard, if you are familiar with it). Instead, they are separate stacks. They are built into the Revolution development environment. The standalone builder will bundle them with your application automatically, so including them in your stack yourself generally isn't necessary. It does mean that you can't run your stack without the development environment, though. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From bvg at mac.com Sat Jul 6 19:25:01 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat Jul 6 19:25:01 2002 Subject: ask dialog not appearing in my stack In-Reply-To: Message-ID: <6984CB93-913F-11D6-AE00-003065AD94A4@mac.com> On Sonntag, Juli 7, 2002, at 02:08 , Geoff Canyon wrote: > ... Talking about Ask/answer Dialog ... > It does mean that you can't run your stack without the development > environment, though. > -- Well you have to build it before you can use it without the dev-environment, like the readme (or was it in the docs?) states: "If you want to share your stack with others then we recommend that you use the distribution builder to ensure full functionality." (or similar phrase) clarifying Bj?rnke From gcanyon at inspiredlogic.com Sat Jul 6 19:45:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Jul 6 19:45:01 2002 Subject: Icon Editor in Rev In-Reply-To: References: Message-ID: At 9:40 PM -0700 7/5/02, Jeanne A. E. DeVoto wrote: >Is the magnify window adequate for this? (Set the image's magnify to true.) Pretty neat -- I hadn't seen this before. The effect of the zooming box on the image is quite...hypnotic is a kind word. ;-) -- regards, Geoff Canyon gcanyon at inspiredlogic.com From rodneys at io.com Sat Jul 6 19:54:01 2002 From: rodneys at io.com (Rodney Somerstein) Date: Sat Jul 6 19:54:01 2002 Subject: How to set the layer of draggable objects? Message-ID: I have 12 groups of objects (each consisting of a rectangle with a label) on a card and need to set the layer of each one that I click on to be higher than all of the others. These groups are set up to be able to drag them around the card using the script from the Tip of the Week section of runrev.com with the addition of one statement to set the layer of the group. local lMouseDown on mouseDown set the layer of me to top put true into lMouseDown end mouseDown on mouseMove x,y if lMouseDown then set the loc of me to x,y end mouseMove on mouseUp put false into lMouseDown end mouseUp on mouseRelease mouseUp end mouseRelease The group does move to the top layer. However, sometimes the group doesn't seem to detect that I have let go of the mouse button and the movement of the object continues to track my mouse. I thought that maybe I could simply put an if statement in the mouseDown handler and check to see if the group was currently the top one. The only way that I can think to do that is see if the layer of the group is less than the number of card parts. This doesn't seem to solve the issue of detecting the mouseUp. Does anyone know a way around this? Also, I would like to set the layer of the group to be higher than any other group, but no higher than the buttons, or possibly other objects later, that are on the card. How do I go about doing this? I can't simply set the layer to top to accomplish that as the layer of the rectangle will then be higher than any buttons as well. Any suggestions here would also be appreciated. Thanks, -Rodney From gcanyon at inspiredlogic.com Sat Jul 6 20:16:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Jul 6 20:16:01 2002 Subject: ask dialog not appearing in my stack In-Reply-To: <6984CB93-913F-11D6-AE00-003065AD94A4@mac.com> References: <6984CB93-913F-11D6-AE00-003065AD94A4@mac.com> Message-ID: At 2:20 AM +0200 7/7/02, Bj?rnke von Gierke wrote: >On Sonntag, Juli 7, 2002, at 02:08 , Geoff Canyon wrote: > >> ... Talking about Ask/answer Dialog ... > >> It does mean that you can't run your stack without the development environment, though. >> -- > >Well you have to build it before you can use it without the dev-environment, like the readme (or was it in the docs?) states: >"If you want to share your stack with others then we recommend that you use the distribution builder to ensure full functionality." (or similar phrase) Sorry -- to be clear, you _can_ run the stack without the development environment. It's just that things like ask and answer won't work. With Revolution, the assumption is that you will create a standalone for distribution, rather than simply sending out a stack to people. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From rfarnold at bu.edu Sat Jul 6 22:22:00 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Sat Jul 6 22:22:00 2002 Subject: How to set the layer of draggable objects? In-Reply-To: Message-ID: on 7/6/02 8:50 PM, Rodney Somerstein wrote: > > The group does move to the top layer. However, sometimes the group > doesn't seem to detect that I have let go of the mouse button and the > movement of the object continues to track my mouse. > I too have found a frustrating inconsistency in a handler (apparently randomly) not recognizing that the mouse is no longer down -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 http://people.bu.edu/rfarnold/ From dan at danshafer.com Sat Jul 6 23:40:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Sat Jul 6 23:40:01 2002 Subject: Participation in Improvement List Message-ID: I'm a bit of a Johnny-Come-Lately here and although I've posted my share of questions in the past couple of days, my long standing as a curmudgeon and a pundit prevents me from being silent when there's a policy issue that doesn't seem to make sense or that I just don't get. I understand the pricing strategy at Revolution, even though I'm not altogether sure how I feel about paying $300 for a product and getting NO support. it's been a long time since I saw a practice like that. What I *don't* understand is how/why Revolution would limit its customer feedback mailing list (improve-revolution) to folks who cough up a grand for the professional license. That seems to me to be counter-productive. Even those who run the free runtime can have good ideas for improving the product, no? And certainly those who pay $300 for the small business license and are reasonably serious developers ought to be able to participate in that dialog. So what am I missing? Why the restriction on communication, particularly given the intentional lack of tech support for all but the highest-paying customers? -- Dan Shafer, Product Development Expert Helping you turn your best ideas into products that sell http://www.danshafer.com From drvaughan55 at mac.com Sat Jul 6 23:56:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Sat Jul 6 23:56:01 2002 Subject: Participation in Improvement List In-Reply-To: Message-ID: <5C50DD2C-9165-11D6-A917-000393598038@mac.com> On Sunday, July 7, 2002, at 02:36 , Dan Shafer wrote: > I'm a bit of a Johnny-Come-Lately here and although I've posted my > share of questions in the past couple of days, my long standing as a > curmudgeon and a pundit prevents me from being silent when there's a > policy issue that doesn't seem to make sense or that I just don't get. > > > > I understand the pricing strategy at Revolution, even though I'm not > altogether sure how I feel about paying $300 for a product and getting > NO support. it's been a long time since I saw a practice like that. > Dan I understand your feeling as you put it but what is this premise that there is no support on the use-revolution list? In just the last seven days (the limit of my Deleted folder) there have been eleven specific technical help responses from different Runrev people to the user list, accessible to anyone with any version of Revolution, aside from other information about manuals and events. If you ask on the use-revolution list, or propose something, it does not go unnoticed. There is not "merely" a user list. This is not intended as a flame on my part but rather, surprise. I think perhaps you may not yet have discovered the level of support actually available to everyone. regards David > > -- Dan Shafer, Product Development Expert > Helping you turn your best ideas into products that sell > http://www.danshafer.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dan at danshafer.com Sun Jul 7 00:11:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Sun Jul 7 00:11:01 2002 Subject: Participation in Improvement List In-Reply-To: <5C50DD2C-9165-11D6-A917-000393598038@mac.com> References: <5C50DD2C-9165-11D6-A917-000393598038@mac.com> Message-ID: >On Sunday, July 7, 2002, at 02:36 , Dan Shafer wrote: > >>I'm a bit of a Johnny-Come-Lately here and although I've posted my >>share of questions in the past couple of days, my long standing as >>a curmudgeon and a pundit prevents me from being silent when >>there's a policy issue that doesn't seem to make sense or that I >>just don't get. >> >> >> >>I understand the pricing strategy at Revolution, even though I'm >>not altogether sure how I feel about paying $300 for a product and >>getting NO support. it's been a long time since I saw a practice >>like that. >> >Dan > >I understand your feeling as you put it but what is this premise >that there is no support on the use-revolution list? In just the >last seven days (the limit of my Deleted folder) there have been >eleven specific technical help responses from different Runrev >people to the user list, accessible to anyone with any version of >Revolution, aside from other information about manuals and events. >If you ask on the use-revolution list, or propose something, it does >not go unnoticed. There is not "merely" a user list. No, No. I said it wrong. The license provisions for the small business license specifically excludes official tech support. If it hadn't been for this list: (a) I probably would never have tried to tackle a project unless I could afford the Pro license. (b) I couldn't have finished my first project. I completely understand the value of this list and want to assure everyone that I am not denigrating that at all. I'm just not accustomed to spending several hundred dollars on a piece of software whose license terms explicitly indicate no tech support. Seems kind of bizarre! >This is not intended as a flame on my part but rather, surprise. I >think perhaps you may not yet have discovered the level of support >actually available to everyone. > >regards >David > >> >>-- Dan Shafer, Product Development Expert >>Helping you turn your best ideas into products that sell >>http://www.danshafer.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 -- Dan Shafer, Product Development Expert Helping you turn your best ideas into products that sell http://www.danshafer.com From kray at sonsothunder.com Sun Jul 7 00:50:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Jul 7 00:50:01 2002 Subject: Participation in Improvement List References: <5C50DD2C-9165-11D6-A917-000393598038@mac.com> Message-ID: <069e01c22579$2d8e82a0$6401a8c0@mckinley.dom> Dan, > I completely understand the value of this list and want to assure > everyone that I am not denigrating that at all. I'm just not > accustomed to spending several hundred dollars on a piece of software > whose license terms explicitly indicate no tech support. Seems kind > of bizarre! I know what you mean. When I first got involved with MetaCard, it was the same situation, but for a $995 price tag (not $300 like Revolution). But it was kind of like a leap of faith... the email support and list support I received was more than sufficient for any problems that I encountered, and I never needed the kind of telephone support that other companies provide for a limited period of time after your purchase their product. But most (if not all of them) also don't get personally involved in a day-to-day basis with the "rank and file" that uses the product. But Runtime Revolution *does* get involved; I have been very happy with the support from RunRev, and (personally) I don't think that getting telephone support would add that much to the overall value of the product. Now as to your comment about providing access to the improve-revolution list, I don't know why it is restricted. Perhaps someone from RunRev can comment on that directly. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From chipp at chipp.com Sun Jul 7 01:06:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Sun Jul 7 01:06:01 2002 Subject: Participation in Improvement List In-Reply-To: Message-ID: Dan, Couple of points. First, I agree with you. I don't understand why RR wouldn't want ALL USERS of RR to be able to post to the improve list -- unless it's a kind of paid for beta-testers only list. I would imagine the folks at RR would welcome all developer input regarding bugs, etc.. In fact, exclusive posting to the improve list only started a couple of months ago. That being said, as someone who has a Professional License, I don't think you're missing out on a lot not being subscribed to the improve list. The bigger value of a Professional license is the ability to communicate directly with Kevin and others at RR. Of course, as you get to know the individuals on this list better, you'll find plenty of VERY good technical support here. Kind of like the old days on AOL/CIS with Chris Watson et al.. The other point is one you know very well. Like you, I spent too many hours in HC / SC / ToolBook only to see these companies and products NOT succeed. Fact is, the old model of charging $199 for an authoring tool just doesn't work for these 'talk' products. I'm glad to be able to support RR (even though their product is new -- and IMHO not as finished as could be) and I don't mind supporting the cause. In fact, I also purchased a MetaCard license as well -- with which you can then Email directly to Scott himself your question (though not too often!). Since the SC/HC days, I've used VB, Java, Flash, Director and others and nothing can compete with RR/MC for the speed of development. Plus... the executables are remarkably stable and fast! 2cents, Chipp From dan at danshafer.com Sun Jul 7 01:09:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Sun Jul 7 01:09:01 2002 Subject: Participation in Improvement List In-Reply-To: <069e01c22579$2d8e82a0$6401a8c0@mckinley.dom> References: <5C50DD2C-9165-11D6-A917-000393598038@mac.com> <069e01c22579$2d8e82a0$6401a8c0@mckinley.dom> Message-ID: >Dan, > >> I completely understand the value of this list and want to assure >> everyone that I am not denigrating that at all. I'm just not >> accustomed to spending several hundred dollars on a piece of software >> whose license terms explicitly indicate no tech support. Seems kind >> of bizarre! > >I know what you mean. When I first got involved with MetaCard, it was the >same situation, but for a $995 price tag (not $300 like Revolution). But it >was kind of like a leap of faith... the email support and list support I >received was more than sufficient for any problems that I encountered, and I >never needed the kind of telephone support that other companies provide for >a limited period of time after your purchase their product. But most (if not >all of them) also don't get personally involved in a day-to-day basis with >the "rank and file" that uses the product. But Runtime Revolution *does* get >involved; I have been very happy with the support from RunRev, and >(personally) I don't think that getting telephone support would add that >much to the overall value of the product. So far, I have no reason to doubt that I will be able to be quite successful with Revolution relying on this list for support. Still, the price tag is steep enough you'd think they'd provide *some* kind of official support! Or lower the price. (I just noticed SuperCard 3.6 is $149, e.g. Please, no flaming comparisons. I never liked SuperCard's bifurcated development environment and convoluted editor, either, and I doubt that it's even yet cross-platform.) >Now as to your comment about providing access to the improve-revolution >list, I don't know why it is restricted. Perhaps someone from RunRev can >comment on that directly. > >Ken Ray >Sons of Thunder Software >Email: kray at sonsothunder.com >Web Site: http://www.sonsothunder.com/ > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution -- Dan Shafer, Product Development Expert Helping you turn your best ideas into products that sell http://www.danshafer.com From chipp at chipp.com Sun Jul 7 01:22:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Sun Jul 7 01:22:01 2002 Subject: ask dialog not appearing in my stack In-Reply-To: Message-ID: Geoff, Can you tell me where the ask and answer stacks are in RR? I want to create an htmltext enabled version of them and would like to see the originals if possible. Thanks, Chipp From scott at tactilemedia.com Sun Jul 7 03:46:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Sun Jul 7 03:46:01 2002 Subject: Participation in Improvement List In-Reply-To: Message-ID: > I just noticed SuperCard > 3.6 is $149, e.g. Please, no flaming comparisons. I never liked > SuperCard's bifurcated development environment and convoluted editor, > either, and I doubt that it's even yet cross-platform. If you're referring to SuperCard's (previously) separate layout and runtime environments, I for one very much liked this approach and believe it has several merits. Regardless, I used to be a die-hard SuperCard user in need of a card-based way to do Windows development. Years ago I discovered MetaCard (Revolution's base technology) and have stuck with it ever since. IMO, there's very little one can do in SuperCard that can't be done in MC/Rev, and there's a lot that can be done in MC/Rev that can't be done in SuperCard. The MC/Rev technology and this list have served me very well over the years, and now a decent portion of my professional income is derived from MetaCard projects (wasn't really able to pull this off with SuperCard). For myself, $1000 was well worth the initial investment, but if you're interested in cost comparisons of related technologies, I believe list member Richard Gaskin put together a list some time ago that stacks up the main players in the market. Best Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From bvg at mac.com Sun Jul 7 03:54:01 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun Jul 7 03:54:01 2002 Subject: ask dialog not appearing in my stack In-Reply-To: Message-ID: <9F5C11E0-9186-11D6-AE00-003065AD94A4@mac.com> You can look at all the stacks from runrev when you mark the first checkbox in the "general" preference. the ask and answer dialogs are in the first stack, (License.rev) Bj?rnke On Sonntag, Juli 7, 2002, at 08:18 , Chipp Walters wrote: > Geoff, > > Can you tell me where the ask and answer stacks are in RR? I want to > create > an htmltext enabled version of them and would like to see the originals > if > possible. > > Thanks, > > Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gcanyon at inspiredlogic.com Sun Jul 7 03:56:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Jul 7 03:56:01 2002 Subject: ask dialog not appearing in my stack In-Reply-To: References: Message-ID: >Geoff, > >Can you tell me where the ask and answer stacks are in RR? I want to create >an htmltext enabled version of them and would like to see the originals if >possible. > >Thanks, > >Chipp > In license.rev. In the application overview, with View/Revolution UI Stacks In Lists checked. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From gcanyon at inspiredlogic.com Sun Jul 7 04:03:03 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Jul 7 04:03:03 2002 Subject: Participation in Improvement List In-Reply-To: References: Message-ID: At 1:03 AM -0500 7/7/02, Chipp Walters wrote: >I don't understand why RR >wouldn't want ALL USERS of RR to be able to post to the improve list -- >unless it's a kind of paid for beta-testers only list. Exactly the case. General feedback is welcome from everyone. Quoting from the license information page at : In addition, we offer access to a private discussion group which discusses Revolution's features and future product development. We listen to all our professional users so if Revolution is important to you and you want to play a part in shaping its development to best meet your needs, this is the license type to get. The Professional license also includes exclusive access to any alpha and beta test releases of new versions, so you can try them out before other users. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From gcanyon at inspiredlogic.com Sun Jul 7 04:27:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Jul 7 04:27:01 2002 Subject: Participation in Improvement List In-Reply-To: References: <5C50DD2C-9165-11D6-A917-000393598038@mac.com> <069e01c22579$2d8e82a0$6401a8c0@mckinley.dom> Message-ID: At 11:05 PM -0700 7/6/02, Dan Shafer wrote: >So far, I have no reason to doubt that I will be able to be quite successful with Revolution relying on this list for support. Still, the price tag is steep enough you'd think they'd provide *some* kind of official support! Or lower the price. (I just noticed SuperCard 3.6 is $149, e.g. Please, no flaming comparisons. I never liked SuperCard's bifurcated development environment and convoluted editor, either, and I doubt that it's even yet cross-platform.) First, it may not be official, but several of the RunRev staff read the lists, and if something goes without a response, generally will jump in. Second, sorry if this seems like a "flaming response," but casually tossing out SuperCard's price requires some sort of reply. SuperCard is (IMHO) a great product at a great price. Nevertheless, Revolution has advantages that (again, IMHO) more than cover a $299 vs. $149 difference in price. Among them are: -- Platform support: SuperCard is beta testing OS X support, Revolution supports OS X, Windows, Linux, BSD, and several other Unixen -- Database access -- Multiple groups/backgrounds on a card -- URL access -- Speed, speed, and speed -- Perl-compatible regular expressions -- Repeat for each (did I mention speed?) -- Associative arrays -- XML -- Many more commands and functions -- etc. -- And, oh yes, speed. I'll step off the soap box now... -- regards, Geoff Canyon gcanyon at inspiredlogic.com From chipp at chipp.com Sun Jul 7 04:29:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Sun Jul 7 04:29:01 2002 Subject: ask dialog not appearing in my stack In-Reply-To: Message-ID: Found the windows...but no code. Do you know where the answer code might be located? Or is it 'hard-wired?' It seems to me that: answer "hello world" with "okay" or "cancel" doesn't conform to handler syntax...or does it? (with not defined) btw- can't find the code in debug mode either. best, Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Geoff Canyon > Sent: Sunday, July 07, 2002 3:53 AM > To: use-revolution at lists.runrev.com > Subject: RE: ask dialog not appearing in my stack > > > >Geoff, > > > >Can you tell me where the ask and answer stacks are in RR? I > want to create > >an htmltext enabled version of them and would like to see the > originals if > >possible. > > > >Thanks, > > > >Chipp > > > > In license.rev. In the application overview, with View/Revolution > UI Stacks In Lists checked. > -- > > regards, > > Geoff Canyon > gcanyon at inspiredlogic.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From yvescoppe at skynet.be Sun Jul 7 04:33:00 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Sun Jul 7 04:33:00 2002 Subject: Array problem Message-ID: Hello, I have a customproperty set : cPoints each key is the name of a student and each value show the points on ten f. ex. : get the cPoints["Lennon John"] --> gives 6 get the cPoints["Harrisson George"] --> gives 8 So I'd like to search all the students who have 5 or more points I make a script with the combine command using return and comma to make a text file and then with "repeat" I get what I search : repeat for each line L in tresult if item 2 of L ? 5 then put L&cr after myList end repeat delete last char of myList and it works good. Is there a way to get the same but on a faster way ?? -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From kenl34 at earthlink.net Sun Jul 7 06:02:01 2002 From: kenl34 at earthlink.net (Ken Lipscomb) Date: Sun Jul 7 06:02:01 2002 Subject: Displaying graphics elements or buttons on top of a QuickTime movie In-Reply-To: Message-ID: Troy, Thanks again. I tried this several years ago in the SuperCard environment and I guess that everything still holds the same. 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: Saturday, July 06, 2002 6:19 PM To: use-revolution at lists.runrev.com Subject: Re: Displaying graphics elements or buttons on top of a QuickTime movie On Saturday, July 6, 2002, at 12:21 PM, Ken Lipscomb wrote: > Thanks for the info. I will try out your suggestion. ...One thing I > noticed is that the pointer/cursor can be seen on top of a QTMovie > with no apparent degradation in speed. Is it possible to have a > graphic exist in the pointer/cursor plane? Well, yes and no. QT respects the cursor of course, but that plane is only available to cursors. You can of course replace the cursor within Revolution, but I suspect that you'll find that in order for a graphic which is "behaving" as the cursor to pass in front of, rather than behind, the QT, you'll need to alwaysbuffer=true the player anyway - which of course, rather defeats the intention. Most programs which do cursor replacement are actually hiding the cursor and then dragging a graphic where the cursor should be. Rev can also replace the cursor with a valid cursor resource, but unless the graphics you want to use are 16 pixels square and black and white... The only real way to have buttons on top of QuickTime without significant performance hits is to create "wired movies" - meaning that the buttons are actually in the Quicktime, and not layered on top of it. -- 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 Sun Jul 7 08:35:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Jul 7 08:35:01 2002 Subject: Array problem References: Message-ID: <06ee01c225ba$2c5b2230$6401a8c0@mckinley.dom> Yves, As long as cPoints only has student data (i.e. every element in cPoints is what you'll be checking), you can do this: put "" into myList put 1 into elementNum repeat for each element e in cPoints if e >= 5 then put line elementNum of keys(cPoints) & cr after myList end if add 1 to elementNum end repeat Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "yves COPPE" To: Sent: Sunday, July 07, 2002 3:00 AM Subject: Array problem > Hello, > > > I have a customproperty set : cPoints > > each key is the name of a student and each value show the points on ten > > f. ex. : > get the cPoints["Lennon John"] --> gives 6 > get the cPoints["Harrisson George"] --> gives 8 > > So I'd like to search all the students who have 5 or more points > > I make a script with the combine command using return and comma to > make a text file and then with "repeat" I get what I search : > > repeat for each line L in tresult > if item 2 of L " 5 then put L&cr after myList > end repeat > delete last char of myList > > and it works good. > > Is there a way to get the same but on a faster way ?? > > -- > Greetings. > > Yves COPPE > > Email : yvescoppe at skynet.be > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From yvescoppe at skynet.be Sun Jul 7 09:52:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Sun Jul 7 09:52:01 2002 Subject: Array problem In-Reply-To: <06ee01c225ba$2c5b2230$6401a8c0@mckinley.dom> References: <06ee01c225ba$2c5b2230$6401a8c0@mckinley.dom> Message-ID: >Yves, > >As long as cPoints only has student data (i.e. every element in cPoints is >what you'll be checking), you can do this: > >put "" into myList >put 1 into elementNum >repeat for each element e in cPoints > if e >= 5 then > put line elementNum of keys(cPoints) & cr after myList > end if > add 1 to elementNum >end repeat > >Hope this helps, > it returns an empty list ! where is the problem ? I don't know about this syntax : element, so I cannot see what happens in your code. Are you sure of your code ? -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From yvescoppe at skynet.be Sun Jul 7 10:06:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Sun Jul 7 10:06:01 2002 Subject: Array problem In-Reply-To: <06ee01c225ba$2c5b2230$6401a8c0@mckinley.dom> References: <06ee01c225ba$2c5b2230$6401a8c0@mckinley.dom> Message-ID: >Yves, > >As long as cPoints only has student data (i.e. every element in cPoints is >what you'll be checking), you can do this: > >put "" into myList >put 1 into elementNum >repeat for each element e in cPoints > if e >= 5 then > put line elementNum of keys(cPoints) & cr after myList > end if > add 1 to elementNum >end repeat > >Hope this helps, I find something : if I begin the code with put the short name of this stack into MYstackName put the customProperties["cPoints"] of stack MYstackName into myTxt put "" into myList put 1 into elementNum repeat for each element e in myTxt ... ... ... then I get the list...BUT it is ONLY the list of the students who have ? 5 but not the points they have I'd like something like sudentname,points Then I add the line put comma&the cPoints[line elementNum of keys(myTxt)] after myList Is it correct to do so ? thanks. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From dan at danshafer.com Sun Jul 7 10:27:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Sun Jul 7 10:27:01 2002 Subject: Participation in Improvement List In-Reply-To: References: <5C50DD2C-9165-11D6-A917-000393598038@mac.com> <069e01c22579$2d8e82a0$6401a8c0@mckinley.dom> Message-ID: >Second, sorry if this seems like a "flaming response," but casually >tossing out SuperCard's price requires some sort of reply. > >SuperCard is (IMHO) a great product at a great price. Nevertheless, >Revolution has advantages that (again, IMHO) more than cover a $299 >vs. $149 difference in price. Among them are: :-) I would never have intended to imply that there was a comparison between RR and SC. And you're right...just tossing out the price with no qualifiers was not very helpful. Of course, I haven't kept up with SC development and didn't want to take the time to do a feature analysis (so I'm glad you did). I think the point I was trying to make is that the traditional fee for xTalk tools has been in that under-$200 range. I remember when I first saw MetaCard, I said, "Alright! This looks like it could be really powerful." Then I looked at the license price and choked. As I recall, it was several hundred dollars per platform. And the UI? Ugly, ugly, ugly. RR may well be worth $300. I'm starting to think it is. The main thrust of my concern was *only* that the official license excludes tech support for a $300 product, something I had never seen before. I was surprised. >I'll step off the soap box now... Ah, but you fit it well! Got room up there for two? :-) >-- > >regards, > >Geoff Canyon >gcanyon at inspiredlogic.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution -- Dan Shafer, Product Development Expert Helping you turn your best ideas into products that sell http://www.danshafer.com From dan at danshafer.com Sun Jul 7 10:34:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Sun Jul 7 10:34:01 2002 Subject: Participation in Improvement List In-Reply-To: References: Message-ID: Chipp Walters wrote: >Dan, > >Couple of points. First, I agree with you. I don't understand why RR >wouldn't want ALL USERS of RR to be able to post to the improve list -- >unless it's a kind of paid for beta-testers only list. I would imagine the >folks at RR would welcome all developer input regarding bugs, etc.. In fact, >exclusive posting to the improve list only started a couple of months ago. Well, I see they do have a place for non-pro users to make suggestions about product enhancements, so there is at least an open channel. >The other point is one you know very well. Like you, I spent too many hours >in HC / SC / ToolBook only to see these companies and products NOT succeed. >Fact is, the old model of charging $199 for an authoring tool just doesn't >work for these 'talk' products. I'm glad to be able to support RR (even >though their product is new -- and IMHO not as finished as could be) and I >don't mind supporting the cause. Good point. It *would* be nice to find a product that would give me all this power *and* be around for a while. Frankly, I felt so burned by Apple on HyperCard that i *seriously* considered switching my entire life to Windows in protest. But I figured it would be a meaningless gesture and then i'd be giving up my most comfortable platform for one where I know enough to get around but where I'm not really happy. Seen from that perspective, paying the larger license fee just to support RR might have some real merit. I don't intend to make money from RR (though I might do so accidentally), so justifying a grand may be hard. But $300? I can probably do that. Your observation that RR is "not as finished as could be" is worrisome for me, but only a little. I keep encountering runtime errors in the development environment that are pointing to code I didn't write. Strangely, most of the time these errors *appear* to be bogus, but the fact that they pop up is not only annoying, it concerns me that I'm missing some real bug and going blithely on my way and that they will jump up down the road and bite me where I sit! > >Since the SC/HC days, I've used VB, Java, Flash, Director and others and >nothing can compete with RR/MC for the speed of development. Plus... the >executables are remarkably stable and fast! I hear you. And I agree that the executables are really fast. In fact, the executables seem even more stable than the apps in process inside RR on some levels. Still too early to pinpoint specifics, just a feeling. >2cents, > >Chipp > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution -- Dan Shafer, Product Development Expert Helping you turn your best ideas into products that sell http://www.danshafer.com From ludovic.thebault at laposte.net Sun Jul 7 11:25:01 2002 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Sun Jul 7 11:25:01 2002 Subject: Get icon's file Message-ID: <200207071821.080001132@smtp.laposte.net> Hi, It is possible to get an icon of a file or a folder and display it in rev ? - on Mac or on windows - with or without an external Thanks ! -- Ludovic Th?bault : sorry for my poooooor english. From bornstein at designeq.com Sun Jul 7 12:05:03 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Sun Jul 7 12:05:03 2002 Subject: Icon Editor in Rev Message-ID: <200207071702.g67H2Rp24403@mailout6.nyroc.rr.com> >>Is the magnify window adequate for this? (Set the image's magnify to true.) > >Pretty neat -- I hadn't seen this before. The effect of the zooming box on >the image is quite...hypnotic is a kind word. ;-) I agree it's hypnotic. So much so that I can't seem to grab it. The docs say: "At the same time, a box appears in the stack window showing you what portion of the image is magnified. Drag this box by its edges to magnify different parts of the image." However, everytime I try to grab the box, it disappears and the image is selected and the zoom window closes. I've tried grabbing at the edge, at the center--doesn't seem to help. Also, command-clicking an image, while I have gotten it to work once, mostly doesn't bring up the magnify image. Am I too hypnotized to see it? Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From bornstein at designeq.com Sun Jul 7 12:15:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Sun Jul 7 12:15:01 2002 Subject: How to set the layer of draggable objects? Message-ID: <200207071712.g67HCYp05176@mailout6.nyroc.rr.com> >I too have found a frustrating inconsistency in a handler (apparently >randomly) not recognizing that the mouse is no longer down This appears to be a bug in the revolution environment as this occurs while using the rev UI as well. This activity has been reported on this list before. I've recently run into two variations of it again. 1). When clicking the arrows in the property palette to change the location of an object, the arrows get "stuck" in the down position (as though the mouse is still down). The object starts sliding off the screen. This can only be aborted by multiple command-periods (on a Mac). 2) While simply clicking an object in a stack, to bring up the property palette, the object gets stuck to the cursor and is dragged around the screen when you move the mouse. It would be good if this could be addressed in the next version of Rev. Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From gcanyon at inspiredlogic.com Sun Jul 7 12:55:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Jul 7 12:55:01 2002 Subject: Icon Editor in Rev In-Reply-To: <200207071702.g67H2Rp24403@mailout6.nyroc.rr.com> References: <200207071702.g67H2Rp24403@mailout6.nyroc.rr.com> Message-ID: >>>Is the magnify window adequate for this? (Set the image's magnify to true.) >> >>Pretty neat -- I hadn't seen this before. The effect of the zooming box on >>the image is quite...hypnotic is a kind word. ;-) > > >I agree it's hypnotic. So much so that I can't seem to grab it. The docs >say: At the least, you can select any of the paint tools and command/control-click where you want it. Holding the command/control key down also allows you to drag the zoom box by clicking on it and dragging. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From carstenlist at itinfo.dk Sun Jul 7 12:55:17 2002 From: carstenlist at itinfo.dk (Carsten Levin) Date: Sun Jul 7 12:55:17 2002 Subject: Rev. 1.1.1 for Mac OS 9 and X In-Reply-To: <200207071602.MAA13199@www.runrev.com> Message-ID: We are usually running Mac OS X when developing - and testing/using on Mac OS 9.X and Windows 98/2000/XP. But today I accidentally started my Revolution 1.1.1 downloaded for Mac OS X while running Mac OS 9, and it worked. To be on the safe side I stopped and used the one I downloaded for Mac OS 9. But now my Question is: Are there two versions or can I just keep the Mac OS X version and use that for Mac OS 9 and X? Best regards Carsten Levin From jeanne at runrev.com Sun Jul 7 13:00:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Jul 7 13:00:01 2002 Subject: Rev. 1.1.1 for Mac OS 9 and X In-Reply-To: References: <200207071602.MAA13199@www.runrev.com> Message-ID: At 10:52 AM -0700 7/7/2002, Carsten Levin wrote: >But today I accidentally started my Revolution 1.1.1 downloaded for Mac OS X >while running Mac OS 9, and it worked. > >To be on the safe side I stopped and used the one I downloaded for Mac OS 9. > >But now my Question is: Are there two versions or can I just keep the Mac OS >X version and use that for Mac OS 9 and X? There are two separate versions. The OS X version of 1.1.1 is a Carbon application, and will run on Mac OS systems as long as they have a sufficiently recent version of CarbonLib installed; however, this is not recommended and you may encounter some stability problems. It's better to use the Mac OS version instead. (Also, in future versions, it won't be possible to run the OS X version on Mac OS any more, because of changes needed to support new functionality on OS X.) -- 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 Sun Jul 7 13:17:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Sun Jul 7 13:17:01 2002 Subject: Icon Editor in Rev Message-ID: <200207071814.g67IE8L14698@mailout5.nyroc.rr.com> >At the least, you can select any of the paint tools and >command/control-click where you want it. Holding the command/control key >down also allows you to drag the zoom box by clicking on it and dragging. Yes! These seem to work. Very cool! Thanks Geoff! Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From kray at sonsothunder.com Sun Jul 7 13:24:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Sun Jul 7 13:24:01 2002 Subject: Array problem References: <06ee01c225ba$2c5b2230$6401a8c0@mckinley.dom> Message-ID: <071201c225e2$8ab50170$6401a8c0@mckinley.dom> Yves, I assumed that the cPoints array was already filled with data inside the same handler before it entered my code. If you have an array like: cPoints["Ken"] = 5 cPoints["Yves"] = 7 and then go into the code, "e" will contain 7 or 5 depending on which loop it goes through. The keys(cPoints) will return: Ken Yves So you see, when you run it through my code: put "" into myList put 1 into elementNum repeat for each element e in cPoints if e >= 5 then put line elementNum of keys(cPoints) & cr after myList end if add 1 to elementNum end repeat The first time through the loop, "e" will be 5, and will put line 1 of keys(cPoints) ("Ken") & cr after myList. The second time through the loop, "e" will b 7, and will put line 2 of keys(cPoints) ("Yves") & cr after myList. Also, I don't know how "the customProperties" will work; I think you meant "customKeys". The problem is that the customKeys brings back the name of the keys themselves given an object descriptor; that is, in my example, it would return "Ken" and "Yves" in a return-delimited list. If you then try to get the keys of "Ken" or "Yves", you should get nothing coming back. I hope I'm being clear. My code above only retrieves the names ("Ken", "Yves") and not their scores to do that, amend it as follows: put "" into myList put 1 into elementNum repeat for each element e in cPoints if e >= 5 then put line elementNum of keys(cPoints) & "," & e & cr after myList end if add 1 to elementNum end repeat Hope this helps, 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, July 07, 2002 10:04 AM Subject: Re: Array problem > >Yves, > > > >As long as cPoints only has student data (i.e. every element in cPoints is > >what you'll be checking), you can do this: > > > >put "" into myList > >put 1 into elementNum > >repeat for each element e in cPoints > > if e >= 5 then > > put line elementNum of keys(cPoints) & cr after myList > > end if > > add 1 to elementNum > >end repeat > > > >Hope this helps, > > > I find something : > > if I begin the code with > > put the short name of this stack into MYstackName > put the customProperties["cPoints"] of stack MYstackName into myTxt > put "" into myList > put 1 into elementNum > repeat for each element e in myTxt > ... > ... > ... > > then I get the list...BUT > it is ONLY the list of the students who have " 5 but not the points they have > > I'd like something like > > sudentname,points > > Then I add the line > > put comma&the cPoints[line elementNum of keys(myTxt)] after myList > > Is it correct to do so ? > > 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 xslaugh at hotmail.com Sun Jul 7 14:23:01 2002 From: xslaugh at hotmail.com (Scott Slaugh) Date: Sun Jul 7 14:23:01 2002 Subject: Icon Editor in Rev Message-ID: >Is the magnify window adequate for this? (Set the image's magnify to true.) Well, I am on vacation right now, so I can't try it at the moment. However, when I get home, I will try. Thanks! Scott Slaugh _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com From ambassador at fourthworld.com Sun Jul 7 14:43:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun Jul 7 14:43:01 2002 Subject: Participation in Improvement List In-Reply-To: <200207071435.KAA11336@www.runrev.com> Message-ID: Dan Shafer writes: >> The other point is one you know very well. Like you, I spent too many hours >> in HC / SC / ToolBook only to see these companies and products NOT succeed. >> Fact is, the old model of charging $199 for an authoring tool just doesn't >> work for these 'talk' products. I'm glad to be able to support RR (even >> though their product is new -- and IMHO not as finished as could be) and I >> don't mind supporting the cause. > > Good point. It *would* be nice to find a product that would give me > all this power *and* be around for a while. Frankly, I felt so burned > by Apple on HyperCard that i *seriously* considered switching my > entire life to Windows in protest. Many felt similarly, and MS' unparallelled success in evangelizing a platform-specific high-level tool (VB) demonstrates the value of such things for ensuring app proliferation for a platform. One of the things Rev gives me and my clients is a way to step off that roundabout: my fulfilling Java's promise of "write once, run anywhere" (Java is more like "write once, crawl anywhere"), we are at last liberated from the whims of any specific OS vendor. An OS can gain or lose marketshare, but as long as people use any modern computer at all Rev lets us reach them. While Revolution is a relative newcomer, it's MetaCard engine just turned 10 years old this weekend, making MetaCard Corp. the longest-lived xTalk vendor ever, and the MetaCard engine the second-longest-lived xTalk engine still in development (after SC, which turned 13 in May), roughly as old as VB. Basing the Rev UI on such a solid engine from such a strong partner company can only bode well for Rev's viability. -- 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 Sun Jul 7 15:52:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Sun Jul 7 15:52:01 2002 Subject: Array problem In-Reply-To: <071201c225e2$8ab50170$6401a8c0@mckinley.dom> References: <06ee01c225ba$2c5b2230$6401a8c0@mckinley.dom> <071201c225e2$8ab50170$6401a8c0@mckinley.dom> Message-ID: >Yves, > >I assumed that the cPoints array was already filled with data inside the >same handler before it entered my code. If you have an array like: > >cPoints["Ken"] = 5 >cPoints["Yves"] = 7 > >and then go into the code, "e" will contain 7 or 5 depending on which loop >it goes through. The keys(cPoints) will return: > >Ken >Yves > >So you see, when you run it through my code: > >put "" into myList >put 1 into elementNum >repeat for each element e in cPoints > if e >= 5 then > put line elementNum of keys(cPoints) & cr after myList > end if > add 1 to elementNum >end repeat > >The first time through the loop, "e" will be 5, and will put line 1 of >keys(cPoints) ("Ken") & cr after myList. >The second time through the loop, "e" will b 7, and will put line 2 of >keys(cPoints) ("Yves") & cr after myList. > >Also, I don't know how "the customProperties" will work; I think you meant >"customKeys". The problem is that the customKeys brings back the name of the >keys themselves given an object descriptor; that is, in my example, it would >return "Ken" and "Yves" in a return-delimited list. If you then try to get >the keys of "Ken" or "Yves", you should get nothing coming back. > >I hope I'm being clear. My code above only retrieves the names ("Ken", >"Yves") and not their scores to do that, amend it as follows: > >put "" into myList >put 1 into elementNum >repeat for each element e in cPoints > if e >= 5 then > put line elementNum of keys(cPoints) & "," & e & cr after myList > end if > add 1 to elementNum >end repeat > >Hope this helps, You've been very clear and I understand now what I do. Thank you very much because I can use your code and also adapt it for other searchs, now I understand the process. Cheers. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From niklas_almesjo at yahoo.com Sun Jul 7 16:01:00 2002 From: niklas_almesjo at yahoo.com (Niklas Almesjö) Date: Sun Jul 7 16:01:00 2002 Subject: ftp-problems - libURLftpUpload, libUrlErrorData = booked...? In-Reply-To: <200207071601.MAA13158@www.runrev.com> Message-ID: <20020707205747.55781.qmail@web12303.mail.yahoo.com> Still having problems with uploading using libURLftpUpload (or put for that matter) to upload text to some textfiles on a ftp-server. Has anyone got that working? I am using the latest version of libUrl (although libUrlVersion returns 1.0.6b8) Anyone got a tip? Are these things not ready to use yet? Or does this command only work with some ftp-servers? thanks, /Niklas __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From dan at danshafer.com Sun Jul 7 16:11:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Sun Jul 7 16:11:01 2002 Subject: Participation in Improvement List In-Reply-To: References: Message-ID: Richard Gaskin wrote: >One of the things Rev gives me and my clients is a way to step off that >roundabout: my fulfilling Java's promise of "write once, run anywhere" >(Java is more like "write once, crawl anywhere"), we are at last liberated >from the whims of any specific OS vendor. An OS can gain or lose >marketshare, but as long as people use any modern computer at all Rev lets >us reach them. Yes. Precisely. >While Revolution is a relative newcomer, it's MetaCard engine just turned 10 >years old this weekend, making MetaCard Corp. the longest-lived xTalk vendor >ever, and the MetaCard engine the second-longest-lived xTalk engine still in >development (after SC, which turned 13 in May), roughly as old as VB. As significant to me as the solidity of the engine is the question of the durability of the underlying graphics library. In my work with PythonCard, one of the things I'm experiencing - and a little frustrated by - is the reliance on wxPython for the Mac. Development seems streaky and our current best guess is it will be at *least* the end of the year before that graphics library is working well on X. And it will never run on Classic. I assume Revolution is using a proprietary graphics package, but perhaps they've licensed or relied on something more solid. Can't tell. >Basing the Rev UI on such a solid engine from such a strong partner company >can only bode well for Rev's viability. True. And the company not being in one of the Silicon Locations in the US is another advantage, I think. Maybe those who invest in Revolution will take a longer view than what's in the next quarter 10K. >-- > 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 -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 sarahr at genesearch.com.au Sun Jul 7 18:13:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Jul 7 18:13:01 2002 Subject: Running CGI's locally on OSX In-Reply-To: Message-ID: <9824C2EE-91FE-11D6-AC95-0003937A97B8@genesearch.com.au> > 2) Put your CGI script in the same folder: but, caveat: be sure to save > your > script in BBEdit as generic text with Unix endlines > This was the only solution I needed. Thanks for that. Sarah From mparis at nc.rr.com Sun Jul 7 20:17:01 2002 From: mparis at nc.rr.com (Mark Paris) Date: Sun Jul 7 20:17:01 2002 Subject: ftp-problems - libURLftpUpload, libUrlErrorData = booked...? References: <20020707205747.55781.qmail@web12303.mail.yahoo.com> Message-ID: <001501c22634$2a634960$6beafea9@nc.rr.com> Some servers require setting the upload method to "active" rather than passive (default) --- it's in the Rev docs in one of the sections on ftp, hopefully that will point you in the right direction... ----- Original Message ----- From: "Niklas Almesj?" To: Sent: Sunday, July 07, 2002 1:57 PM Subject: ftp-problems - libURLftpUpload, libUrlErrorData = booked...? > Still having problems with uploading using libURLftpUpload (or put for > that matter) to upload text to some textfiles on a ftp-server. Has anyone > got that working? I am using the latest version of libUrl (although > libUrlVersion returns 1.0.6b8) > Anyone got a tip? Are these things not ready to use yet? Or does this > command only work with some ftp-servers? > > thanks, > /Niklas > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.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 Jul 8 00:47:02 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Mon Jul 8 00:47:02 2002 Subject: Problems with Background... Plz Help! Message-ID: <001701c22642$759744a0$1501000a@xhead> Hello, I put a group into the background, it works, until I put some fields in the group. When I edit them inside the group, it works fine. I go back out, and they are all White! They are suppose to be Black. Then when I go into a new card, the fields are there, but no text! What is my problem here? Any ideas on how to get Background to work better? From kray at sonsothunder.com Mon Jul 8 01:18:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Jul 8 01:18:00 2002 Subject: Problems with Background... Plz Help! References: <001701c22642$759744a0$1501000a@xhead> Message-ID: <078a01c22646$4a26acd0$6401a8c0@mckinley.dom> Josh, you need to go into the group and set the sharedText of each of the fields to true. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Josh Dye" To: Sent: Monday, July 08, 2002 12:43 AM Subject: Problems with Background... Plz Help! > Hello, > I put a group into the background, it works, until I put some fields in > the group. When I edit them inside the group, it works fine. I go back out, > and they are all White! They are suppose to be Black. Then when I go into a > new card, the fields are there, but no text! What is my problem here? Any > ideas on how to get Background to work better? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dan at danshafer.com Mon Jul 8 01:46:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Mon Jul 8 01:46:01 2002 Subject: Component Model Message-ID: Does RR have a true component model? One that would allow me, e.g., to create a new *type* of component either by aggregating existing ones or by starting with an existing component, changing default properties and then saving it in a way that I could transparently use it in my RR apps? Overly simplistic example: I note that when I create a menubar in RR, for some reason its backgroundbehavior property is not set. I consider that an oversight, but that's beside the point. How could I create a new menubar component (assuming menubar is a component, and I'm not at all sure it is) that would have that property set by default? Slightly more interesting example: If I want to create a tri-state toggle button, it seems like there would be a fair amount of scripting work involved. how, if at all, would I go about creating a new button type that I could just plop into an app? -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 Mon Jul 8 01:46:12 2002 From: dan at danshafer.com (Dan Shafer) Date: Mon Jul 8 01:46:12 2002 Subject: Suggestion for List Manager Message-ID: Could the person responsible for managing the list change the configuration so that the subject line is always preceded with some recognizable label like [use-RR] or some such? I'm a member of a number of other lists using this same technology and they all supply that helpful hint. It makes it easier to sort through mail for someone who gets as much as I do. 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 sylvain at bouju.net Mon Jul 8 02:11:01 2002 From: sylvain at bouju.net (Sylvain Bouju) Date: Mon Jul 8 02:11:01 2002 Subject: Suggestion for List Manager In-Reply-To: Message-ID: on 8/07/02 8:43, Dan Shafer at dan at danshafer.com wrote: > Could the person responsible for managing the list change the > configuration so that the subject line is always preceded with some > recognizable label like [use-RR] or some such? I'm a member of a > number of other lists using this same technology and they all supply > that helpful hint. It makes it easier to sort through mail for > someone who gets as much as I do. On the other side, this introduce some unusefull characters in the visible part of the subject... You can create a specific folder, and a rule based on the "To", for example (That works OK for me, for nearly 20 mailing lists) -- Sylvain Bouju sylvain at bouju.net -- From rbarber at yhb.att.ne.jp Mon Jul 8 02:29:01 2002 From: rbarber at yhb.att.ne.jp (Ron) Date: Mon Jul 8 02:29:01 2002 Subject: Custom property sets In-Reply-To: <071201c225e2$8ab50170$6401a8c0@mckinley.dom> Message-ID: Greetings I have two custompropertysets which I set on startup: english japanese Each set has the same 3 keys but the keys have different content based on the language: btnnames errors fldcontents The contents of btnnames is like this: btn1,this is a btn btn2, this is another btn etc I split it to make an array and reference the items using: set the label of btn1 to btnnames[btn1] This sets the name to the appropriate language throughout the substacks. However, I have run into a problem referencing other customproperties. If I make a customproperty in a substack, say 'prefs', and try to call it, it is not available. Presumably because the custompropertyset of the main stack does not contain this customproperty? Is there a way to call customproperties in the substack without creating another set, then setting the custompropertyset to the new set, referencing the property, then resetting the set to 'english'? Thanks Ron From peter.fink at tiscali.ch Mon Jul 8 02:58:00 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Mon Jul 8 02:58:00 2002 Subject: Script Editor Menus missing Message-ID: <3D0D86C400006804@flu-stateless-02.tiscalinet.ch> The script editor menus: File, Edit and Text are missing. They are in the Documentation. The other menus: Handler, Script, Bookmarks and View are present in the script editor window. And there are some little buttons for example Plain Bold and LineWrapAround. The Script and View menus contain some of the missing commands. I'm not sure if this matters or is just a newer script editor. From emmanuel.companys at wanadoo.fr Mon Jul 8 02:58:13 2002 From: emmanuel.companys at wanadoo.fr (Emmanuel) Date: Mon Jul 8 02:58:13 2002 Subject: FileMaker and Japanese Message-ID: jean-jacques asks this in the macFR.net list. Could anybody help him? ****BEGIN I suppose there should be some add in for File Maker, so we can use this program in Japanese. Now we can write in japanese all right, but with a huge problem: a 5-chars word needs as much room as a 10 chars one. If we switch to the japanese version, then we cannot even open the files. ****END Thanks. Manuel From bruce at lewiscoll.com Mon Jul 8 02:58:23 2002 From: bruce at lewiscoll.com (Bruce Lewis) Date: Mon Jul 8 02:58:23 2002 Subject: Icon Editor in Rev In-Reply-To: References: Message-ID: Jeanne, Can I turn off the throbbing in the box appears in the stack window. It is torture. Bruce > >Is the magnify window adequate for this? (Set the image's magnify to true.) > >-- >Jeanne A. E. DeVoto ~ jeanne at runrev.com >Runtime Revolution Limited - The Solution for Software Development >http://www.runrev.com/ > -- Bruce Lewis Lewis & Collyer 160 John Street, Suite 401 Toronto, Ontario Canada M5V 2E5 (416) 598-4357 FAX (416) 598-1067 bruce at lewiscoll.com nancy at lewiscoll.com sandy at lewiscoll.com joan at lewiscoll.com eva at lewiscoll.com From dan at gui.com Mon Jul 8 02:58:34 2002 From: dan at gui.com (Dan Shafer) Date: Mon Jul 8 02:58:34 2002 Subject: Participation in Improvement List Message-ID: I'm a bit of a Johnny-Come-Lately here and although I've posted my share of questions in the past couple of days, my long standing as a curmudgeon and a pundit prevents me from being silent when there's a policy issue that doesn't seem to make sense or that I just don't get. I understand the pricing strategy at Revolution, even though I'm not altogether sure how I feel about paying $300 for a product and getting NO support. it's been a long time since I saw a practice like that. What I *don't* understand is how/why Revolution would limit its customer feedback mailing list (improve-revolution) to folks who cough up a grand for the professional license. That seems to me to be counter-productive. Even those who run the free runtime can have good ideas for improving the product, no? And certainly those who pay $300 for the small business license and are reasonably serious developers ought to be able to participate in that dialog. So what am I missing? Why the restriction on communication, particularly given the intentional lack of tech support for all but the highest-paying customers? -- Dan Shafer, Product Development Expert Helping you turn your best ideas into products that sell http://www.danshafer.com From dan at gui.com Mon Jul 8 02:58:45 2002 From: dan at gui.com (Dan Shafer) Date: Mon Jul 8 02:58:45 2002 Subject: HTML Rendering Engine Message-ID: has anyone had any success either writing or hooking up an existing HTML rendering engine to Revolution? -- Dan Shafer, Product Development Expert Helping you turn your best ideas into products that sell http://www.danshafer.com From peter.fink at tiscali.ch Mon Jul 8 02:58:56 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Mon Jul 8 02:58:56 2002 Subject: Participation in Improvement List In-Reply-To: Message-ID: <3CDAA302000140FB@flu-stateless-01.tiscalinet.ch> >-- Original-Nachricht -- >To: use-revolution at lists.runrev.com >From: Geoff Canyon >Subject: Re: Participation in Improvement List I'm right now in the processing of learning Revolution RR. It looks like a great tool. Since I'm yet learning I will not contribute in detail to the subject. RR looks stable, featureful, useful and with the same amount of glitches that similar tools in the course of development do have (remember anyone those Basilisk builds <100?). Peter From dan at gui.com Mon Jul 8 02:59:07 2002 From: dan at gui.com (Dan Shafer) Date: Mon Jul 8 02:59:07 2002 Subject: Suggestion for List Management Message-ID: Could the person responsible for managing the list change the configuration so that the subject line is always preceded with some recognizable label like [use-RR] or some such? I'm a member of a number of other lists using this same technology and they all supply that helpful hint. It makes it easier to sort through mail for someone who gets as much as I do. Thanks. -- Dan Shafer, Product Development Expert Helping you turn your best ideas into products that sell http://www.danshafer.com From dan at gui.com Mon Jul 8 02:59:17 2002 From: dan at gui.com (Dan Shafer) Date: Mon Jul 8 02:59:17 2002 Subject: Component Model Message-ID: Does RR have a true component model? One that would allow me, e.g., to create a new *type* of component either by aggregating existing ones or by starting with an existing component, changing default properties and then saving it in a way that I could transparently use it in my RR apps? Overly simplistic example: I note that when I create a menubar in RR, for some reason its backgroundbehavior property is not set. I consider that an oversight, but that's beside the point. How could I create a new menubar component (assuming menubar is a component, and I'm not at all sure it is) that would have that property set by default? Slightly more interesting example: If I want to create a tri-state toggle button, it seems like there would be a fair amount of scripting work involved. how, if at all, would I go about creating a new button type that I could just plop into an app? -- Dan Shafer, Product Development Expert Helping you turn your best ideas into products that sell http://www.danshafer.com From peter.fink at tiscali.ch Mon Jul 8 02:59:28 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Mon Jul 8 02:59:28 2002 Subject: Questions of 7 jul 02 Message-ID: <3D0D86C400006C07@flu-stateless-02.tiscalinet.ch> I'd like to ask if someone could help me clarify some questions that I did not find the answer to. 1) accept command returns a connectionID. How and where is it returned? 2) import command creates an image. how to reference that image? what is its ID? 3) import snapshot creates an image. how to reference that image? what is its ID? 4) how to work with the image library? how to accumulate images to be used as icons? (I found that an image placed on a card appears in the image library and can be used as an icon (really great), but how put an image into the library without showing it on a card first) thanks for help (or a pointer to where all this is documented). Peter From levin at itinfo.dk Mon Jul 8 02:59:39 2002 From: levin at itinfo.dk (Carsten Levin) Date: Mon Jul 8 02:59:39 2002 Subject: Mac OS 9 or X? Message-ID: Jeanne A. E. DeVoto, Thanks for a good and precise answer. A supplementary question: We are using ----if platform() is "MacOS" then ... etc. ---- to check before using som exts that require Mac OS 9. But how can we determine if the system is Mac OS 9 or Mac OS X? Best regards Carsten Levin Ps. You should considder implementing a dialoque warning people when using the wrong Mac Rev-version of 1.1.1 on the wrong Mac OS. > There are two separate versions. The OS X version of 1.1.1 is a Carbon > application, and will run on Mac OS systems as long as they have a > sufficiently recent version of CarbonLib installed; however, this is not > recommended and you may encounter some stability problems. It's better to > use the Mac OS version instead. > > (Also, in future versions, it won't be possible to run the OS X version on > Mac OS any more, because of changes needed to support new functionality on > OS X.) From kmajor at metascape.org Mon Jul 8 03:11:01 2002 From: kmajor at metascape.org (Klaus Major) Date: Mon Jul 8 03:11:01 2002 Subject: Mac OS 9 or X? In-Reply-To: Message-ID: <427D2BC4-9249-11D6-A8AA-003065D52E8E@metascape.org> Hi Carsten, > Jeanne A. E. DeVoto, > > Thanks for a good and precise answer. A supplementary question: We are > using > ----if platform() is "MacOS" then ... etc. ---- > to check before using som exts that require Mac OS 9. But how can we > determine if the system is Mac OS 9 or Mac OS X? > > Best regards > > Carsten Levin check out "the systemversion" It will return "10.xxx" on OS X and something else for OS 9. I am not working on ) anymore, so you will have to check it out by yourself. Hope that helps. Regards Klaus Major klaus.major at metascape.org From drvaughan55 at mac.com Mon Jul 8 03:13:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Mon Jul 8 03:13:01 2002 Subject: Suggestion for List Manager In-Reply-To: Message-ID: <2D331A8B-924A-11D6-8F4B-000393598038@mac.com> On Monday, July 8, 2002, at 05:08 , Sylvain Bouju wrote: > on 8/07/02 8:43, Dan Shafer at dan at danshafer.com wrote: > >> Could the person responsible for managing the list change the >> configuration so that the subject line is always preceded with some >> recognizable label like [use-RR] or some such? I'm a member of a >> number of other lists using this same technology and they all supply >> that helpful hint. It makes it easier to sort through mail for >> someone who gets as much as I do. > > On the other side, this introduce some unusefull characters in > the visible part of the subject... > > You can create a specific folder, and a rule based on the "To", > for example (That works OK for me, for nearly 20 mailing lists) I agree with Sylvain. Keep the subject to the point. If you are managing a lot of input then use a rules-based e-mail client either to colourise certain mail classes or to allocate them to folders or some combination. regards David > > -- > Sylvain Bouju > sylvain at bouju.net > -- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From heather at runrev.com Mon Jul 8 03:16:01 2002 From: heather at runrev.com (Heather Williams) Date: Mon Jul 8 03:16:01 2002 Subject: printed documentation In-Reply-To: <200207070510.BAA30420@www.runrev.com> Message-ID: >>> One question: I've noticed some minor typos and sentence displacements; >>> to whom do I direct this information? >> >> Send your tired, your poor, your typos, your documentation bugs to me (via >> private email). ;-) > > If the typos, etc., are in the printed documentation but not the online docs, > please cc: me. Oh, um, and if you think it's a formatting issue...please cc me :-). In fact, I want to see all typos as if we get another print run done I'll need to fix them before we do. Sorry for the slow response time on that, I actually had the weekend off, Regards, Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Ten Thumbs Typing Tutor Teach your Fingers to Dance From yvescoppe at skynet.be Mon Jul 8 03:19:00 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Mon Jul 8 03:19:00 2002 Subject: Mac OS 9 or X? In-Reply-To: References: Message-ID: >Jeanne A. E. DeVoto, > >Thanks for a good and precise answer. A supplementary question: We are using > ----if platform() is "MacOS" then ... etc. ---- >to check before using som exts that require Mac OS 9. But how can we >determine if the system is Mac OS 9 or Mac OS X? > >Best regards > >Carsten Levin > >Ps. You should considder implementing a dialoque warning people when using >the wrong Mac Rev-version of 1.1.1 on the wrong Mac OS. check the systemVersion function if it is "10" then --you run on Mac OS X else --you run on another Mac OS (8.x or 9.x) end if Hope this helps -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From ro.nagey at verizon.net Mon Jul 8 03:59:01 2002 From: ro.nagey at verizon.net (Ro Nagey) Date: Mon Jul 8 03:59:01 2002 Subject: Vertical or horizontal progress bars In-Reply-To: Message-ID: Weird behavior...I have a horizontal progress bar. It works fine. I copy it, rename it, set it to being a vertical scrollbar. Amazingly enough, no matter what I set the thumbpos to, it doesn't fill up the progress bar. What incredibly stupid thing am I doing? Ro Nagey Royal Software, Inc. From benr at cogapp.com Mon Jul 8 04:36:01 2002 From: benr at cogapp.com (Ben Rubinstein) Date: Mon Jul 8 04:36:01 2002 Subject: Participation in Improvement List In-Reply-To: Message-ID: on 7/7/02 4:30 pm, Dan Shafer at dan at danshafer.com wrote: > Your observation that RR is "not as finished as could be" is > worrisome for me, but only a little. I keep encountering runtime > errors in the development environment that are pointing to code I > didn't write. Strangely, most of the time these errors *appear* to be > bogus, but the fact that they pop up is not only annoying, it > concerns me that I'm missing some real bug and going blithely on my > way and that they will jump up down the road and bite me where I sit! > [snip] > In fact, the executables seem even more stable than the apps in process inside > RR on some levels. Still too early to pinpoint specifics, just a feeling. Point of information: your feeling is correct, and the runtime errors pointing to code you didn't write is not as spooky as you might think. Explanation: Revolution IDE is entirely built in Transcript. Hence there is a huge amount of code that you didn't write that you are exercising when you are working in the development environment. The IDE is less than a year old, and growing fast - hence has a reasonable number of bugs. The underlying engine is licensed from MetaCard, and has been ten years in the refining - hence is very stable. When you create an executable, you are basically stripping out all of Revolution's code (apart from any libraries you may choose to add in, eg database, geometry manager) and just sticking your code directly onto the MetaCard engine. Hence it is indeed generally the case that standalones are more stable. It's an important point of reassurance for anyone concerned about the instability of Rev; this either is or isn't sufficient, in your particular case, to counter the productivity advantages of this product (for me, I find the pros massively outweigh the cons, hence I do as much as I can in Rev versus alternatives such as Java, C++, RealBasic or even MetaCard all of which may have more stable environments, but in which I am nonetheless less productuve) - but one thing you don't have to worry about is that the standalones you deliver to someone else will be as unstable. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From mike at cyber-ny.com Mon Jul 8 06:03:01 2002 From: mike at cyber-ny.com (Mike Brown) Date: Mon Jul 8 06:03:01 2002 Subject: More Movie Difficulties In-Reply-To: Message-ID: Hello, I am still having problems displaying avi movies in Rev on Windows (98, 2000, ME) systems on a consistent basis. My avi movies will play on a PC through the Windows Media Player, but once imported into Rev, will not display with the "play movie" command. I can not locate any detailed information on movie playback in the Rev documentation. What is the proper format and codec for displaying video on the Windows OS? Where is documentation on this located? ... please, No QuickTime (Not widely supported on Windows). Thanks, Mike From j.waibel at soldax.com Mon Jul 8 06:15:01 2002 From: j.waibel at soldax.com (=?iso-8859-1?Q?J=FCrgen_Waibel?=) Date: Mon Jul 8 06:15:01 2002 Subject: Problem with videoplayer on HP-UX Message-ID: Hi, i just discovered a strange problem on building a multi-plattform application. as part of the application i use a player object that is used to play differnet avi-files. The controls of the player are build with different buttons. To start playing the videos i use a command like "start player id 1057". Other buttons to stop and continue playing contain something like " set the paused of player id 1057 to true" (this is for halting a running video). Now to my problem. This application is working on MacOS, Windows and Linux without problems. The Problem is on the HP-UX version where the button that normaly starts the player is stopping in and the button that normaly stops it is starting the video. Everything else in the application is working without problems. The applications are of the same building process. Has anybody else seen this problem before and/or is there a known solution to this. Any help is welcome. kind regards Soldax GmbH Juergen Waibel -- ______________________________________________________________________ soldax GmbH Sickingenstrasse 18 69126 Heidelberg Germany Fon: +49 6221 33898-700 j.waibel at soldax.com Fax: +49 6221 33898-800 From davecalk at surfbest.net Mon Jul 8 07:48:01 2002 From: davecalk at surfbest.net (Dave Calkins) Date: Mon Jul 8 07:48:01 2002 Subject: use-revolution digest, Vol 1 #519 - 14 msgs References: <200207070510.BAA30380@www.runrev.com> Message-ID: <3D298AC8.F79EEE39@surfbest.net> > > >Well you have to build it before you can use it without the dev-environment, like the readme (or was it in the docs?) states: > >"If you want to share your stack with others then we recommend that you use the distribution builder to ensure full functionality." (or similar phrase) > > Sorry -- to be clear, you _can_ run the stack without the development environment. It's just that things like ask and answer won't work. With Revolution, the assumption is that you will create a standalone for distribution, rather than simply sending out a stack to people. > -- > > regards, > > Geoff Canyon > gcanyon at inspiredlogic.com This type of information should be documented better. If it has been well then I'm sorry, but I missed it too. Dave Calkins From yvescoppe at skynet.be Mon Jul 8 07:56:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Mon Jul 8 07:56:01 2002 Subject: Custom property sets In-Reply-To: References: Message-ID: >Greetings > >I have two custompropertysets which I set on startup: >english >japanese > >Each set has the same 3 keys but the keys have different content based on >the language: > >btnnames >errors >fldcontents > >The contents of btnnames is like this: > >btn1,this is a btn >btn2, this is another btn >etc > >I split it to make an array and reference the items using: > >set the label of btn1 to btnnames[btn1] > >This sets the name to the appropriate language throughout the substacks. >However, I have run into a problem referencing other customproperties. If I >make a customproperty in a substack, say 'prefs', and try to call it, it is >not available. Presumably because the custompropertyset of the main stack >does not contain this customproperty? > >Is there a way to call customproperties in the substack without creating >another set, then setting the custompropertyset to the new set, referencing >the property, then resetting the set to 'english'? > >Thanks >Ron > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution You have to refer to the stack : set the label of btn1 to btnnames[btn1] of this stack -- or of stack "YourstackName" or something like : put the short name of this stack into MYstackName set the label of btn1 to btnnames[btn1] of stack MYstackName or you can also try : set the customPropertySet of stack MYstackName to btnnames --your script ... ... ... --and then you reset with set the customPropertySet of stack MYstackName to empty hope this helps -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From kray at sonsothunder.com Mon Jul 8 09:05:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Jul 8 09:05:01 2002 Subject: Custom property sets References: Message-ID: <001601c22687$7b857720$6f00a8c0@mckinley.dom> Ron, you should be able to address it directly like: set the label of btn1 to btnNames[btn1] of stack Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Ron" To: Sent: Monday, July 08, 2002 2:30 AM Subject: Custom property sets > Greetings > > I have two custompropertysets which I set on startup: > english > japanese > > Each set has the same 3 keys but the keys have different content based on > the language: > > btnnames > errors > fldcontents > > The contents of btnnames is like this: > > btn1,this is a btn > btn2, this is another btn > etc > > I split it to make an array and reference the items using: > > set the label of btn1 to btnnames[btn1] > > This sets the name to the appropriate language throughout the substacks. > However, I have run into a problem referencing other customproperties. If I > make a customproperty in a substack, say 'prefs', and try to call it, it is > not available. Presumably because the custompropertyset of the main stack > does not contain this customproperty? > > Is there a way to call customproperties in the substack without creating > another set, then setting the custompropertyset to the new set, referencing > the property, then resetting the set to 'english'? > > Thanks > Ron > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Mon Jul 8 09:07:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Jul 8 09:07:01 2002 Subject: HTML Rendering Engine References: Message-ID: <003a01c22687$cfa1e7d0$6f00a8c0@mckinley.dom> Dan, It depends on how much of HTML you want to render. Revolution will allow you to set the "htmlText" of a field to a chunk of HTML, and it will render it accordingly. But only those things that are supported in Revolution fields are supported in the htmlText, so you lose out on tables, etc. Check it out and see if that does what you need; if not, let us know. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Dan Shafer" To: Sent: Sunday, July 07, 2002 1:09 AM Subject: HTML Rendering Engine > has anyone had any success either writing or hooking up an existing > HTML rendering engine to Revolution? > -- > Dan Shafer, Product Development Expert > Helping you turn your best ideas into products that sell > http://www.danshafer.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rfarnold at bu.edu Mon Jul 8 09:09:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Mon Jul 8 09:09:01 2002 Subject: How to set the layer of draggable objects? In-Reply-To: <200207071712.g67HCYp05176@mailout6.nyroc.rr.com> Message-ID: on 7/7/02 1:12 PM, Howard Bornstein at bornstein at designeq.com wrote: >> I too have found a frustrating inconsistency in a handler (apparently >> randomly) not recognizing that the mouse is no longer down > > This appears to be a bug in the revolution environment as this occurs > while using the rev UI as well. This activity has been reported on this > list before. I've recently run into two variations of it again. > > 1). When clicking the arrows in the property palette to change the > location of an object, the arrows get "stuck" in the down position (as > though the mouse is still down). The object starts sliding off the > screen. This can only be aborted by multiple command-periods (on a Mac). > > 2) While simply clicking an object in a stack, to bring up the property > palette, the object gets stuck to the cursor and is dragged around the > screen when you move the mouse. Me too -- > It would be good if this could be addressed in the next version of Rev. --and making the push/pop and go back/recent work predictably > > 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 > -- Robert Arnold Associate Professor of Film College of Communication Boston University 640 Commonwealth Avenue Boston, MA 02215 Tel: 617 353-7735 Fax: 617-353-1084 Email: rfarnold at bu.edu Http: people.bu.edu/rfarnold "Seeing is an art that has to be learned." M. Duras, Hiroshima mon Amour From dsc at swcp.com Mon Jul 8 10:03:00 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Jul 8 10:03:00 2002 Subject: HTML Rendering Engine In-Reply-To: <003a01c22687$cfa1e7d0$6f00a8c0@mckinley.dom> Message-ID: <60152932-9283-11D6-BBF6-0050E4C0B205@swcp.com> On Monday, July 8, 2002, at 08:00 AM, Ken Ray wrote: > It depends on how much of HTML you want to render. Revolution will > allow you > to set the "htmlText" of a field to a chunk of HTML, and it will > render it > accordingly. But only those things that are supported in > Revolution fields > are supported in the htmlText, so you lose out on tables, etc. I think there are a few things that make htmlText based on an html-like formatting language rather than a subset of body html. The handling of white space is an example. Dar Scott From chipp at chipp.com Mon Jul 8 11:09:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Mon Jul 8 11:09:01 2002 Subject: HTML Rendering Engine In-Reply-To: Message-ID: Dan, Check you weblog. I posted a comment on that subject there. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer > Sent: Sunday, July 07, 2002 1:09 AM > To: use-revolution at lists.runrev.com > Subject: HTML Rendering Engine > > > has anyone had any success either writing or hooking up an existing > HTML rendering engine to Revolution? > -- > Dan Shafer, Product Development Expert > Helping you turn your best ideas into products that sell > http://www.danshafer.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From shedrup at ms9.hinet.net Mon Jul 8 11:49:01 2002 From: shedrup at ms9.hinet.net (Friedrich F. Grohmann) Date: Mon Jul 8 11:49:01 2002 Subject: FileMaker and Japanese Message-ID: <200207081647.AAA28848@msr.hinet.net> Emmanuel asked for jean-jacques , regarding FileMaker >Now we can write in japanese all right, but with a huge problem: a 5-chars >word needs as much room as a 10 chars one. Though this question is FileMaker related, I think it's good to be reminded of the problems users of two-byte scripts quite often face with software. In this case, though, I think it has less to do with FileMaker itself than with changes Apple introduced in more recent versions of the system. For example, I've been using WordPerfect to do modest Chinese DTP with OS 7.5, but at least since OS 9 this trusted piece of software has become completely useless in this respect. I had to switch to Nisus. Same problem with HyperCard which, however, I'm not abandoning. FileMaker drove me nuts when I tried to do something in Chinese with it, until some enlightened soul told me the trick how to make "find" results meaningful -and this in a database. Still, after OS 8, the position of the insertion point does not correspond any longer to what one sees on the screen though the discrepancy is not as drastic as what Jean-Jacques mentions. My suggestion is to check which version of the system and of FileMaker Jean-Jacques is using. He could also try to consult the archives of the FileMaker Lists to see whether anything relevant has been discussed there, or put his question directly on one of the lists. There are two, if I remember correctly. All the best, Fritz From dan at danshafer.com Mon Jul 8 12:13:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Mon Jul 8 12:13:01 2002 Subject: Participation in Improvement List In-Reply-To: References: Message-ID: >Explanation: Revolution IDE is entirely built in Transcript. Hence there is >a huge amount of code that you didn't write that you are exercising when you >are working in the development environment. Yes, i was aware of that. Much like the Smalltalk world where I've spent a lot of time over the years. I was merely surprised at the number of times actions I thought were sort of in keeping with the planned use of the product popped up these errors in the underlying code, particularly when I couldn't find any documentation for these bugs or any discussion of them on the list. >The IDE is less than a year >old, and growing fast - hence has a reasonable number of bugs. A "reasonable number of bugs" is zero! :-) At least that's what my clients keep telling me. ;-) > The >underlying engine is licensed from MetaCard, and has been ten years in the >refining - hence is very stable. When you create an executable, you are >basically stripping out all of Revolution's code (apart from any libraries >you may choose to add in, eg database, geometry manager) and just sticking >your code directly onto the MetaCard engine. Hence it is indeed generally >the case that standalones are more stable. Makes sense. And, ultimately, is what matters. > Ben Rubinstein | Email: benr_mc at cogapp.com > Cognitive Applications Ltd | Phone: +44 (0)1273-821600 > http://www.cogapp.com | Fax : +44 (0)1273-728866 > > >_______________________________________________ >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 karlpet at mac.com Mon Jul 8 12:22:00 2002 From: karlpet at mac.com (Karl Petersen) Date: Mon Jul 8 12:22:00 2002 Subject: Component Model In-Reply-To: References: Message-ID: At 11:42 PM -0700 7/7/02, Dan Shafer wrote: >Does RR have a true component model? One that would allow me, e.g., >to create a new *type* of component either by aggregating existing >ones or by starting with an existing component, changing default >properties and then saving it in a way that I could transparently >use it in my RR apps? Dan, check out the Object Library in the Development menu. It allows you to install Rev-defined objects that ship in the Library, plus install your own objects you've added to the Library. You can also create new libraries you access via the Object Library. It that's not exactly what you need, it's not difficult to create your own custom object library that uses your own installer scripts. Your script can refuse to install a field unless a group is selected as its destination, for example. Remember too that like HyperCard, Rev sends a new message to a new object when it is created. (NewField, newButton, newImage, et. al.) That lets you create very smart objects that can help install themselves. They can even create/configure other objects around them. Like you, I wanted a special field I could quickly install in new stacks. I wanted it to know how to resize itself when the window size changed and modify the appearance of its scrollbars when the stack is suspended/resumed. (The field covers its scrollbars with buttons so they look "disabled" like normal Mac OS scrollbars.) Responding to the newField message it receives, the field creates the scrollbar cover buttons it needs, saves their button IDs in a field property, and installs a group script that broadcasts resizeStack/suspend/resume messages to all objects in the group. When done, the field also removes its own newField handlers. A running field script can't perform certain tasks -- modify its own script, for example -- but that can be accomplished by "sending" a message to a group owner for execution a few milliseconds after the field is installed. Rev's custom properties are extremely useful here too. A property of the field stores the group script, for example. When the field is finished installing itself, it deletes all the custom properties it no longer needs. Note that the new message is NOT sent when you Paste an object, so Copying and Pasting is limited to simpler objects. But beyond that limitation, just about anything is possible. Karl From dan at danshafer.com Mon Jul 8 12:30:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Mon Jul 8 12:30:01 2002 Subject: Suggestion for List Manager In-Reply-To: <2D331A8B-924A-11D6-8F4B-000393598038@mac.com> References: <2D331A8B-924A-11D6-8F4B-000393598038@mac.com> Message-ID: >On Monday, July 8, 2002, at 05:08 , Sylvain Bouju wrote: > >>on 8/07/02 8:43, Dan Shafer at dan at danshafer.com wrote: >> >>>Could the person responsible for managing the list change the >>>configuration so that the subject line is always preceded with some >>>recognizable label like [use-RR] or some such? I'm a member of a >>>number of other lists using this same technology and they all supply >>>that helpful hint. It makes it easier to sort through mail for >>>someone who gets as much as I do. >> >>On the other side, this introduce some unusefull characters in >>the visible part of the subject... >> >>You can create a specific folder, and a rule based on the "To", >>for example (That works OK for me, for nearly 20 mailing lists) > >I agree with Sylvain. Keep the subject to the point. If you are >managing a lot of input then use a rules-based e-mail client either >to colourise certain mail classes or to allocate them to folders or >some combination. Well, I disagree. I subscribe to about 10 lists that run the same software as the Rev list and *all* of them prepend the subject with the list name. It just makes my life easier. But it's not a big deal. >regards >David >> >>-- >>Sylvain Bouju >>sylvain at bouju.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 -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 ehaskell at selfcorp.com Mon Jul 8 12:32:01 2002 From: ehaskell at selfcorp.com (Edwin Haskell) Date: Mon Jul 8 12:32:01 2002 Subject: Running CGI's locally on OSX In-Reply-To: <200207052032.QAA04013@www.runrev.com> Message-ID: <33E3A446-9298-11D6-B401-0030654C9E38@selfcorp.com> On Friday, July 5, 2002, at 02:32 PM, use-revolution- request at lists.runrev.com wrote: > 3) Using Terminal.app... Navigate to CGI-Executables and then run >> From the command line: > > chmod 755 darwinEngine myCGIscript.cgi > > For some reason I have to chmod my files to 777 (very dangerous I presume) in order to get them to run. Any ideas? From dan at danshafer.com Mon Jul 8 12:42:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Mon Jul 8 12:42:01 2002 Subject: HTML Rendering Engine In-Reply-To: <003a01c22687$cfa1e7d0$6f00a8c0@mckinley.dom> References: <003a01c22687$cfa1e7d0$6f00a8c0@mckinley.dom> Message-ID: >Dan, > >It depends on how much of HTML you want to render. Revolution will allow you >to set the "htmlText" of a field to a chunk of HTML, and it will render it >accordingly. But only those things that are supported in Revolution fields >are supported in the htmlText, so you lose out on tables, etc. > >Check it out and see if that does what you need; if not, let us know. Well, it doesn't appear that it's even close to what I need. Links don't work (presumably have to be programmed in Transcript separately?) and the lack of table support is a real problem since tables are the most commonly used technique for layout precision. >Ken Ray >Sons of Thunder Software >Email: kray at sonsothunder.com >Web Site: http://www.sonsothunder.com/ > >----- Original Message ----- >From: "Dan Shafer" >To: >Sent: Sunday, July 07, 2002 1:09 AM >Subject: HTML Rendering Engine > > >> has anyone had any success either writing or hooking up an existing >> HTML rendering engine to Revolution? >> -- >> Dan Shafer, Product Development Expert >> Helping you turn your best ideas into products that sell >> http://www.danshafer.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 -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 Mon Jul 8 12:44:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Mon Jul 8 12:44:01 2002 Subject: Bug in Scolling Text Field? Message-ID: I don't see a bug repository anywhere. If there is one I should search before posting bugs here, please point me to it. Also, if this list is not the right place to post bug reports, please tell me that as well! I created a one-card stack to test the htmltext property. I put a scolling field in place and a button. Scripted the button to retrieve a URL and then put it into the field using the htmltext property. The scrolling field stubbornly refuses to scroll. I see the scrollbar. But it never becomes active, whether I click in the field or not, whether I try to drag the scroller. Nothing. I found that if I went into edit mode and resized the field slightly, then it worked. Clearly a bug, no? -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 bvlahos at jpl.nasa.gov Mon Jul 8 12:46:00 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Mon Jul 8 12:46:00 2002 Subject: Standalones remember path Message-ID: <2264931B-929A-11D6-BBE3-000393853DBC@jpl.nasa.gov> I have an application in which I open text files and it analyzes the data. These files are typically on a server but they can be anywhere. Somehow the standalones remember the path to the server even though I don't remember programming it to. I do run the stack in the IDE and I guessing that is where it is getting the path when I open a file to test my application. How does Rev do this? How can I make it stop? What happens is that users on other platforms have to wait for a timeout when they try to open a file because the path is not the same for them. This is kind of a neat feature but in this case not a good idea. Bill Vlahos From dan at danshafer.com Mon Jul 8 12:50:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Mon Jul 8 12:50:01 2002 Subject: Component Model In-Reply-To: References: Message-ID: >At 11:42 PM -0700 7/7/02, Dan Shafer wrote: >>Does RR have a true component model? One that would allow me, e.g., >>to create a new *type* of component either by aggregating existing >>ones or by starting with an existing component, changing default >>properties and then saving it in a way that I could transparently >>use it in my RR apps? > >Dan, check out the Object Library in the Development menu. It allows >you to install Rev-defined objects that ship in the Library, plus >install your own objects you've added to the Library. You can also >create new libraries you access via the Object Library. Very cool. I hadn't even discovered this little gem yet. There's obviously a need for an intro book to this rich environment! I will explore this stuff and see if it will do what I need. On first blush, it looks as if it might. Thanks for the pointer! -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 kevin at runrev.com Mon Jul 8 12:51:01 2002 From: kevin at runrev.com (Kevin Miller) Date: Mon Jul 8 12:51:01 2002 Subject: Participation in Improvement List In-Reply-To: <069e01c22579$2d8e82a0$6401a8c0@mckinley.dom> Message-ID: On 7/7/02 6:43 am, Ken Ray wrote: > Now as to your comment about providing access to the improve-revolution > list, I don't know why it is restricted. Perhaps someone from RunRev can > comment on that directly. We simply can't afford to spend the level of time on a high maintenance list like the improve list with users on it paying anything less than professional license prices. Whilst posts to both lists are read, posts to that list are always followed up - sometimes on the list and sometimes after we've had a chance to consider the suggestions or track down a bug. We also provide access to alpha and beta test releases on that list - something that we would rather restrict to a smaller group. It seems right that customers who are able to pay more to support the product should play a greater part in its development. The use list is read by people here - in fact I read it myself. Suggestions are taken on board and some level of unofficial support is provided, but generally users do answer each others questions. Its not as good as having direct access to our tech support mailbox, and you don't get involved in the alpha and beta test releases either, but it is enough for many of our users. If you need more than that then you have to pay for it, and what you get for paying the extra price is very good value. In fact, it is inexpensive compared with other tools, a great way to support Revolution and be supported, particularly if you're using it day to day. 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 kray at sonsothunder.com Mon Jul 8 12:54:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Jul 8 12:54:00 2002 Subject: Vertical or horizontal progress bars References: Message-ID: <00a001c226a7$860bcf30$6f00a8c0@mckinley.dom> Ro, You can't have a vertical progress bar. The only thing you can have is a vertical scroll bar or scale (neither of which "fill up"). Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Ro Nagey" To: Sent: Monday, July 08, 2002 3:43 AM Subject: Vertical or horizontal progress bars > Weird behavior...I have a horizontal progress bar. It works fine. > > I copy it, rename it, set it to being a vertical scrollbar. Amazingly > enough, no matter what I set the thumbpos to, it doesn't fill up the > progress bar. > > What incredibly stupid thing am I doing? > > Ro Nagey > Royal Software, Inc. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kevin at runrev.com Mon Jul 8 12:55:00 2002 From: kevin at runrev.com (Kevin Miller) Date: Mon Jul 8 12:55:00 2002 Subject: Bug in Scolling Text Field? In-Reply-To: Message-ID: On 8/7/02 6:40 pm, Dan Shafer wrote: > I don't see a bug repository anywhere. If there is one I should > search before posting bugs here, please point me to it. Also, if this > list is not the right place to post bug reports, please tell me that > as well! It isn't the right place, you can send reports direct to support at runrev.com. We will reply quickly and try to suggest a workaround if you are a pro user, or investigate them and send an acknowledgement if not. There is a new bug repository online, but at present it is being tested by the pro users on the improve list. It will become generally available when the current product test cycle happening over on that list is complete. Kevin Kevin Miller Runtime Revolution Limited - The Solution for Software Development Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kray at sonsothunder.com Mon Jul 8 12:58:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Jul 8 12:58:00 2002 Subject: Vertical or horizontal progress bars Message-ID: <00a601c226a8$0800b320$6f00a8c0@mckinley.dom> Actually, let me be more clear. You CAN have what appears to be a vertical progress bar, but it is useless. What you actually get is a horizontal progress bar that is tall and skinny. Due to this, it can be drawn in two states: no progress or full (because the thumb is huge and when it is displayed it takes up the whole width of the skinny bar). Hope that is more clear, 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, July 08, 2002 12:47 PM Subject: Re: Vertical or horizontal progress bars > Ro, > > You can't have a vertical progress bar. The only thing you can have is a > vertical scroll bar or scale (neither of which "fill up"). > > Hope this helps, > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > ----- Original Message ----- > From: "Ro Nagey" > To: > Sent: Monday, July 08, 2002 3:43 AM > Subject: Vertical or horizontal progress bars > > > > Weird behavior...I have a horizontal progress bar. It works fine. > > > > I copy it, rename it, set it to being a vertical scrollbar. Amazingly > > enough, no matter what I set the thumbpos to, it doesn't fill up the > > progress bar. > > > > What incredibly stupid thing am I doing? > > > > Ro Nagey > > Royal Software, Inc. > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From kray at sonsothunder.com Mon Jul 8 13:39:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Jul 8 13:39:01 2002 Subject: HTML Rendering Engine References: <003a01c22687$cfa1e7d0$6f00a8c0@mckinley.dom> Message-ID: <002701c226ad$c2a7f4e0$6f00a8c0@mckinley.dom> Dan, You're right. Links can be programmed in via Transcript (check out the "link" entry in the Transcript Dictionary - it's similar to HC's "group" style, but extends it to show underlines, visited states, etc.), but tables can't be. One of the anticipated things for Rev is have a real browser control (a la VB, et. al.). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Dan Shafer" To: Sent: Monday, July 08, 2002 12:38 PM Subject: Re: HTML Rendering Engine > >Dan, > > > >It depends on how much of HTML you want to render. Revolution will allow you > >to set the "htmlText" of a field to a chunk of HTML, and it will render it > >accordingly. But only those things that are supported in Revolution fields > >are supported in the htmlText, so you lose out on tables, etc. > > > >Check it out and see if that does what you need; if not, let us know. > > Well, it doesn't appear that it's even close to what I need. Links > don't work (presumably have to be programmed in Transcript > separately?) and the lack of table support is a real problem since > tables are the most commonly used technique for layout precision. > > >Ken Ray > >Sons of Thunder Software > >Email: kray at sonsothunder.com > >Web Site: http://www.sonsothunder.com/ > > > >----- Original Message ----- > >From: "Dan Shafer" > >To: > >Sent: Sunday, July 07, 2002 1:09 AM > >Subject: HTML Rendering Engine > > > > > >> has anyone had any success either writing or hooking up an existing > >> HTML rendering engine to Revolution? > >> -- > >> Dan Shafer, Product Development Expert > >> Helping you turn your best ideas into products that sell > >> http://www.danshafer.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 > > > -- > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 dan at danshafer.com Mon Jul 8 13:43:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Mon Jul 8 13:43:01 2002 Subject: Participation in Improvement List In-Reply-To: References: Message-ID: >On 7/7/02 6:43 am, Ken Ray wrote: > >> Now as to your comment about providing access to the improve-revolution >> list, I don't know why it is restricted. Perhaps someone from RunRev can > > comment on that directly. > >It seems right that customers >who are able to pay more to support the product should play a greater part >in its development. Ah, and here is where we find our fundamental disagreement. I've been in this business a long time (some would say too long) and it is my universal experience that the more input you have from real-world users into a product and how it works, the greater quality you can put into the finished product. It is also my universal experience that there is absolutely *no* correlation between how much money a customer spends on your product and the degree of either his or her passion or expertise. In fact, it is often exactly the opposite. Those who would be your most passionate and vociferous advocates and feedback mechanisms are those who cannot justify spending large sums of money on a single development tool. So while the economic justification for your position seems intuitively correct, it is often very wrong-headed when viewed practically. >The use list is read by people here - in fact I read it myself. Suggestions >are taken on board and some level of unofficial support is provided, but >generally users do answer each others questions. Its not as good as having >direct access to our tech support mailbox, and you don't get involved in the >alpha and beta test releases either, but it is enough for many of our users. > >If you need more than that then you have to pay for it, and what you get for >paying the extra price is very good value. In fact, it is inexpensive >compared with other tools, a great way to support Revolution and be >supported, particularly if you're using it day to day. I agree that those who pay a higher fee should be entitled to a much greater level of support. No quarrel there at all. My problem is that it seems to me that you have perhaps confused premium support (which is an outgoing customer benefit) with valued input from customers (which is of more benefit to you than the customer). Now all of this may just be confusion caused by the name of the mailing list. I mean, I think you have said you want and value *all* customer feedback on improving the product. So maybe you need to call the other list something like "premium-support" or some such thing, without changing its purpose and role. It would be less confusing for a pain-in-the-butt newcomer like me! :-) BTW, I *fully* agree with the idea that betas should be restricted to a small group and that your highest-paying customers get first crack at that. I'm sure you also have a small group of insiders who may or may not be Pro license holders whose opinions you value sufficiently that you include them in beta programs and that is as it should be. >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 -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 Mon Jul 8 13:58:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Mon Jul 8 13:58:01 2002 Subject: Splash Screen Displays Empty Message-ID: OK, I have my first RR app almost done. I have one cosmetic problem. Since I have to use a splasher so the substack that comprises the main functionality of my stack can be a data repository, I've designed a splasher with two text fields in it. It's pretty small. When I open the stack, the splasher shows, but its text contents do not. The splasher pauses for 3 seconds (per script) and then closes itself and the substack appears. Here's the openStack script in the splasher stack (mainstack): on openStack show this stack wait 3 seconds hide this stack open stack "Lateral File" show stack "Lateral File" set the defaultStack to "Lateral File" end openStack I suspect I don't need the last line but it's left over from earlier testing. I put the first line in because when the app is quit, the splasher isn't visible and it seemed that when I opened the stack under those conditions, the splasher would not appear visible. -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 jacque at hyperactivesw.com Mon Jul 8 14:33:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon Jul 8 14:33:01 2002 Subject: HC-RR tutorial problem References: <200207081740.NAA16389@www.runrev.com> Message-ID: <3D29E83E.3020604@hyperactivesw.com> I've received a report of a problem from someone working through the online HyperCard to Revolution conversion tutorial at the HyperActive Software site. About a third of the way through, while working on the Records card, saving the converted RR stack fails, and the backup copy (the one named with the tilde) also cannot be re-loaded. This was repeatable twice. I'd like to know if anyone else who has worked through the tutorial has received errors while trying to save the stack, in order to figure out whether the online files are faulty, or if something else is going on. If you've worked through the tutorial and had any trouble saving the converted stack in Revolution, please let me know via private mail at the address in my signature below. Thanks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pixelbird at interisland.net Mon Jul 8 14:47:00 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Jul 8 14:47:00 2002 Subject: Vertical or horizontal progress bars In-Reply-To: <00a601c226a8$0800b320$6f00a8c0@mckinley.dom> Message-ID: on 7/8/02 10:51 AM, Ken Ray at kray at sonsothunder.com wrote: > Actually, let me be more clear. You CAN have what appears to be a vertical > progress bar, but it is useless. What you actually get is a horizontal > progress bar that is tall and skinny. Due to this, it can be drawn in two > states: no progress or full (because the thumb is huge and when it is > displayed it takes up the whole width of the skinny bar). ---------- 'Course you can always roll your own. Might be more fun anyway. I haven't tried it yet, but it might make a cool 'small project' for to learn on. Best regards, Ken N. From bornstein at designeq.com Mon Jul 8 15:47:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Jul 8 15:47:01 2002 Subject: regarding Tooltips Message-ID: <200207082043.g68Khsp27180@mailout6.nyroc.rr.com> Is it possible to modify anything about the way Tooltips displays? I'd primarily like to change the background color that the text is displayed against, but I guess all the typical modifications that might be possible come into question: change the text font, size, style, color, border... Can any of this be done? Thanks, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From nedlud at postoffice.pacbell.net Mon Jul 8 15:55:01 2002 From: nedlud at postoffice.pacbell.net (nedlud at postoffice.pacbell.net) Date: Mon Jul 8 15:55:01 2002 Subject: Participation in Improvement List Message-ID: <0GYY001361SMQM@mta5.snfc21.pbi.net> January 22, 1998 From: Jonathan To: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Dan has hit on the real point of confusion. The name of the pro list should better reflect it's purpose. I recognize that there is a historical reason for the list name, but it has now changed and its name should reflect the new reality. I also agree with Dan that the headings should have an identifying tag. This is not an issue for those who are getting digests, but for those of us who prefer to consume our postings raw and subscribe to multiple lists such an addition provides useful context. J/ Dan Shafer wrote on 7/8/2002 11:39 AM >Now all of this may just be confusion caused by the name of the >mailing list. I mean, I think you have said you want and value *all* >customer feedback on improving the product. So maybe you need to call >the other list something like "premium-support" or some such thing, >without changing its purpose and role. > >It would be less confusing for a pain-in-the-butt newcomer like me! :-) ------------------- Jonathan Feinstein Shrink2Fit Software From ro.nagey at verizon.net Mon Jul 8 15:55:26 2002 From: ro.nagey at verizon.net (Ro Nagey) Date: Mon Jul 8 15:55:26 2002 Subject: Vertical or horizontal progress bars In-Reply-To: <00a001c226a7$860bcf30$6f00a8c0@mckinley.dom> Message-ID: Thanks, Ken. I hope this gets fixed in a future release. I've written my own version to meet my immediate needs- very quick and dirty. I may write up something more formal as I also want to change the color of the "thumb" [or whatever you call it when it's a progress bar] on the fly. Ro > You can't have a vertical progress bar. The only thing you can have is a > vertical scroll bar or scale (neither of which "fill up"). > > Hope this helps, > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > ----- Original Message ----- > From: "Ro Nagey" > To: > Sent: Monday, July 08, 2002 3:43 AM > Subject: Vertical or horizontal progress bars > > > > Weird behavior...I have a horizontal progress bar. It works fine. > > > > I copy it, rename it, set it to being a vertical scrollbar. Amazingly > > enough, no matter what I set the thumbpos to, it doesn't fill up the > > progress bar. > > > > What incredibly stupid thing am I doing? > > > > Ro Nagey > > Royal Software, Inc. > > > From chipp at chipp.com Mon Jul 8 16:20:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Mon Jul 8 16:20:01 2002 Subject: Splash Screen Displays Empty In-Reply-To: Message-ID: Try: on openStack show this stack send "hideme" to this stack in 3 seconds end openStack on hideme hide this stack open stack "Lateral File" show stack "Lateral File" set the defaultStack to "Lateral File" end hideme > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer > Sent: Monday, July 08, 2002 1:55 PM > To: use-revolution at lists.runrev.com > Subject: Splash Screen Displays Empty > > > OK, I have my first RR app almost done. I have one cosmetic problem. > Since I have to use a splasher so the substack that comprises the > main functionality of my stack can be a data repository, I've > designed a splasher with two text fields in it. It's pretty small. > > When I open the stack, the splasher shows, but its text contents do > not. The splasher pauses for 3 seconds (per script) and then closes > itself and the substack appears. > > Here's the openStack script in the splasher stack (mainstack): > > on openStack > show this stack > wait 3 seconds > hide this stack > open stack "Lateral File" > show stack "Lateral File" > set the defaultStack to "Lateral File" > end openStack > > I suspect I don't need the last line but it's left over from earlier > testing. I put the first line in because when the app is quit, the > splasher isn't visible and it seemed that when I opened the stack > under those conditions, the splasher would not appear visible. > -- > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 dsc at swcp.com Mon Jul 8 16:21:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Jul 8 16:21:01 2002 Subject: Suggestion for List Manager In-Reply-To: Message-ID: <462B0918-92B8-11D6-BBF6-0050E4C0B205@swcp.com> On Monday, July 8, 2002, at 12:43 AM, Dan Shafer wrote: > Could the person responsible for managing the list change the > configuration so that the subject line is always preceded with > some recognizable label like [use-RR] or some such? I'm a member > of a number of other lists using this same technology and they all > supply that helpful hint. It makes it easier to sort through mail > for someone who gets as much as I do. I have my mail sorting rules sort on something other than subject line. For the RR lists, for example, I sort on Reply-To:. People send me comments off list about what I said on list and subject sorting would put those in the wrong place (for my needs). I can live with the subject tags you suggest, but they would do me little good. (Except to id not sorted to the list as being about the list.) You might want to try alternate automated mail sorting. Dar Scott From rikp1964 at yahoo.com Mon Jul 8 16:36:01 2002 From: rikp1964 at yahoo.com (Rik Panero) Date: Mon Jul 8 16:36:01 2002 Subject: More Movie Difficulties In-Reply-To: References: Message-ID: <5.1.0.14.0.20020708141301.00a2bb00@pop.mail.yahoo.com> >I am still having problems displaying avi movies in Rev on Windows (98, >2000, ME) systems on a consistent basis. My avi movies will play on a PC >through the Windows Media Player, but once imported into Rev, will not >display with the "play movie" command. I can not locate any detailed >information on movie playback in the Rev documentation. What is the proper >format and codec for displaying video on the Windows OS? Where is >documentation on this located? ... please, No QuickTime (Not widely >supported on Windows). I don't think I have the answer for you, but IIRC the only video file type guaranteed to run on all Windows platforms is uncompressed AVIs, not very usable information, I know. Another option is to use one of the (few) compression codecs installed with Windows, which would have a reasonable guarantee of being on whatever computer your app ends up on, but the only two I can think of are "Video 1" and "RLE" which aren't really all that great. Similar to your case, I have a 3D program that renders to an MJPEG format that Media Player will play, but Revolution won't. But Revolution *will* play files rendered with any other codec I have installed, even my capture card's compression codec, so I don't know what the discrepancy is. -------------------- Rik Panero rikp1964 at yahoo.com -------------------- "If I find a film dull, I find it infinitely more entertaining to watch the scratches." Norman McLaren (Animator, b.1914-d.1987) "Many people find joy in actually doing something the pragmatist would call useless. " Dorothy Tanning - the "oldest living surrealist" (b. 1910) From bvlahos at jpl.nasa.gov Mon Jul 8 17:11:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Mon Jul 8 17:11:01 2002 Subject: Open multiple files Message-ID: <27C9289B-92BF-11D6-BBE3-000393853DBC@jpl.nasa.gov> Is there a simple way to open more than one file using the answer file command? I could have the user select the folder using the answer folder, bring in all of the files, and then present them to the user; but I think that would not be intuitive. Bill Vlahos From trevor at mangomultimedia.com Mon Jul 8 17:23:02 2002 From: trevor at mangomultimedia.com (Trevor DeVore) Date: Mon Jul 8 17:23:02 2002 Subject: Suggestion for List Manager In-Reply-To: <462B0918-92B8-11D6-BBF6-0050E4C0B205@swcp.com> Message-ID: I personally do not like having the subject tags identifying the list added. When I am browsing through subject titles in my email program It means I can see less of the actual title. I am subscribed to over 26 email lists and have always just sorted by who the email is sent to such as use-revolution at lists.runrev.com. My filters just put that into the RunRev folder. Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com > >On Monday, July 8, 2002, at 12:43 AM, Dan Shafer wrote: > >> Could the person responsible for managing the list change the >> configuration so that the subject line is always preceded with >> some recognizable label like [use-RR] or some such? I'm a member >> of a number of other lists using this same technology and they all >> supply that helpful hint. It makes it easier to sort through mail >> for someone who gets as much as I do. > >I have my mail sorting rules sort on something other than subject >line. For the RR lists, for example, I sort on Reply-To:. People >send me comments off list about what I said on list and subject >sorting would put those in the wrong place (for my needs). > >I can live with the subject tags you suggest, but they would do me >little good. (Except to id not sorted to the list as being about >the list.) > >You might want to try alternate automated mail sorting. > >Dar Scott > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Mon Jul 8 17:28:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Mon Jul 8 17:28:01 2002 Subject: More Movie Difficulties In-Reply-To: Message-ID: Mike, I could be wrong, but my understanding is that RR uses QT to play .avi movies. In otherwords, without QuickTime, avi movies cannot be played. I don't think RR or MC supports playback except through QT. -Chipp PS you can alway include a QT installer on your CD-ROM. > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Mike Brown > Sent: Monday, July 08, 2002 6:01 AM > To: use-revolution at lists.runrev.com > Subject: More Movie Difficulties > > > Hello, > > I am still having problems displaying avi movies in Rev on Windows (98, > 2000, ME) systems on a consistent basis. My avi movies will play on a PC > through the Windows Media Player, but once imported into Rev, will not > display with the "play movie" command. I can not locate any detailed > information on movie playback in the Rev documentation. What is > the proper > format and codec for displaying video on the Windows OS? Where is > documentation on this located? ... please, No QuickTime (Not widely > supported on Windows). > > Thanks, > Mike > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From troy at rpsystems.net Mon Jul 8 17:34:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Mon Jul 8 17:34:01 2002 Subject: Suggestion for List Manager In-Reply-To: Message-ID: <6934E3D3-92C2-11D6-8087-000393853D6C@rpsystems.net> On Monday, July 8, 2002, at 06:18 PM, Trevor DeVore wrote: > I personally do not like having the subject tags identifying the list > added. > When I am browsing through subject titles in my email program It means > I can see > less of the actual title. I am subscribed to over 26 email lists and > have > always just sorted by who the email is sent to such as > use-revolution at lists.runrev.com. My filters just put that into the > RunRev > folder. Ditto. -- Troy RPSystems, LTD www.rpsystems.net From drvaughan55 at mac.com Mon Jul 8 19:30:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Mon Jul 8 19:30:01 2002 Subject: Participation in Improvement List In-Reply-To: <0GYY001361SMQM@mta5.snfc21.pbi.net> Message-ID: <89CDD241-92D2-11D6-8F4B-000393598038@mac.com> On Tuesday, July 9, 2002, at 04:53 , nedlud at postoffice.pacbell.net wrote: > January 22, 1998 > From: Jonathan > To: > Mime-Version: 1.0 > Content-Type: text/plain; charset="US-ASCII" > > I also agree with Dan that the headings should have an identifying tag. > This is not an issue for those who are getting digests, but for those of > us who prefer to consume our postings raw and subscribe to multiple > lists > such an addition provides useful context. This is a ridiculous suggestion and I trust the legs will fall off it soon. The problem is solvable by yourself using free or dirt cheap e-mail clients for selective disposition of various mails based on source, as I do myself for multiple lists and sources, which include both the use- and premium- lists here. Asking for clutter in the subject is simply imposing your problem on other people. Both in perusing subjects for important items and in those I file, I do not need rubbish at the start of each title just so that you can continue being lazy or antiquated about your mail management. ranting David > > J/ > > > > Dan Shafer wrote on 7/8/2002 11:39 AM > >> Now all of this may just be confusion caused by the name of the >> mailing list. I mean, I think you have said you want and value *all* >> customer feedback on improving the product. So maybe you need to call >> the other list something like "premium-support" or some such thing, >> without changing its purpose and role. >> >> It would be less confusing for a pain-in-the-butt newcomer like me! :-) > > > > ------------------- > Jonathan Feinstein > Shrink2Fit Software > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dan at danshafer.com Mon Jul 8 19:47:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Mon Jul 8 19:47:01 2002 Subject: Editing Menu Groups Message-ID: OK, what am I missing? I create a menubar. I set its background behavior and apply it to all the existing cards in the stack. Now I want to edit the menubar. I open the Menu Tool, click "edit" select the menubar in the resulting list, and it shows up in the editor, but its name is grayed out and none of its buttons appears in the list. The *only* way I've been able to find to edit this sucker is to remove its background behavior property in the property window, then edit it, then set it back. Is that really how this works? -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 Mon Jul 8 19:55:00 2002 From: dan at danshafer.com (Dan Shafer) Date: Mon Jul 8 19:55:00 2002 Subject: Participation in Improvement List In-Reply-To: <89CDD241-92D2-11D6-8F4B-000393598038@mac.com> References: <89CDD241-92D2-11D6-8F4B-000393598038@mac.com> Message-ID: >On Tuesday, July 9, 2002, at 04:53 , nedlud at postoffice.pacbell.net wrote: > >>January 22, 1998 >>From: Jonathan >>To: >>Mime-Version: 1.0 >>Content-Type: text/plain; charset="US-ASCII" >> >>I also agree with Dan that the headings should have an identifying tag. >>This is not an issue for those who are getting digests, but for those of >>us who prefer to consume our postings raw and subscribe to multiple lists >>such an addition provides useful context. > >This is a ridiculous suggestion and I trust the legs will fall off >it soon. The problem is solvable by yourself using free or dirt >cheap e-mail clients for selective disposition of various mails >based on source, as I do myself for multiple lists and sources, >which include both the use- and premium- lists here. Asking for >clutter in the subject is simply imposing your problem on other >people. Both in perusing subjects for important items and in those I >file, I do not need rubbish at the start of each title just so that >you can continue being lazy or antiquated about your mail management. I've been online a lot of years, David, but seldom do I see such vitriol in response to a perfectly legitimate suggestion. You obviously have a lot of emotion tied up in this issue. I originated this suggestion because I belong to a fairly large number of mailing lists that all use the same list manager as this one. Every single one of them prepends the list name to the subject. Every one. So the suggestion is patently not "ridiculous." I would characterize myself without too much hesitation as a power email user and I certainly know how to deal with email using scripts and filters, your aspersions about my laziness notwithstanding. There are advantages to my being able to group all of my email from one list in my In box and do a quick scan of their contents. Yeah, I could have them routed to a folder and do the same thing, but since other list managers have seen fit to make it easier for me by modifying the subject line, I thought it might be a useful idea here. Obviously, you not only disagree, you take the suggestion personally. Too bad you had to turn this perfectly reasonable discussion into a flame. Hopefully you'll reconsider your tone in the future. >ranting >David >> >>J/ >> >> >> >>Dan Shafer wrote on 7/8/2002 11:39 AM >> >>>Now all of this may just be confusion caused by the name of the >>>mailing list. I mean, I think you have said you want and value *all* >>>customer feedback on improving the product. So maybe you need to call >>>the other list something like "premium-support" or some such thing, >>>without changing its purpose and role. >>> >>>It would be less confusing for a pain-in-the-butt newcomer like me! :-) >> >> >> >>------------------- >>Jonathan Feinstein >>Shrink2Fit Software >> >> >>_______________________________________________ >>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 -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 rbarber at yhb.att.ne.jp Mon Jul 8 20:44:01 2002 From: rbarber at yhb.att.ne.jp (Ron) Date: Mon Jul 8 20:44:01 2002 Subject: Custom property sets In-Reply-To: Message-ID: Thanks Yves and Ken, I didn't communicate very well, so let me make sure I understood your suggestions. I am not having trouble referencing btnnames[btn1], but in referencing another customproperty, called 'prefs', that is not a part of either the english or japanese sets. 'prefs' is a customproperty of just one substack. That substack also needs access to the main english or japanese sets. You have confirmed that I need to explicitly call the stack to use the customproperties. I was hoping for a default name of 'me' if no stack was made explicit. eg 'put the prefs into myvar' would call the customprop prefs or that I could call keys from the sets without explicit reference. My mistake. Thanks Ron > From: yves COPPE > Reply-To: use-revolution at lists.runrev.com > Date: Mon, 8 Jul 2002 10:11:54 +0200 > To: use-revolution at lists.runrev.com > Subject: Re: Custom property sets > >> Greetings >> >> I have two custompropertysets which I set on startup: >> english >> japanese >> >> Each set has the same 3 keys but the keys have different content based on >> the language: >> >> btnnames >> errors >> fldcontents >> >> The contents of btnnames is like this: >> >> btn1,this is a btn >> btn2, this is another btn >> etc >> >> I split it to make an array and reference the items using: >> >> set the label of btn1 to btnnames[btn1] >> >> This sets the name to the appropriate language throughout the substacks. >> However, I have run into a problem referencing other customproperties. If I >> make a customproperty in a substack, say 'prefs', and try to call it, it is >> not available. Presumably because the custompropertyset of the main stack >> does not contain this customproperty? >> >> Is there a way to call customproperties in the substack without creating >> another set, then setting the custompropertyset to the new set, referencing >> the property, then resetting the set to 'english'? >> >> Thanks >> Ron >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > > You have to refer to the stack : > set the label of btn1 to btnnames[btn1] of this stack -- or of stack > "YourstackName" > > or something like : > put the short name of this stack into MYstackName > set the label of btn1 to btnnames[btn1] of stack MYstackName > > or you can also try : > set the customPropertySet of stack MYstackName to btnnames > --your script > ... > ... > ... > --and then you reset with > set the customPropertySet of stack MYstackName to empty > > hope this helps > -- > Greetings. > > Yves COPPE From skycap at earthlink.net Mon Jul 8 21:31:01 2002 From: skycap at earthlink.net (Bruce Wilson) Date: Mon Jul 8 21:31:01 2002 Subject: Participation in Improvement List References: <89CDD241-92D2-11D6-8F4B-000393598038@mac.com> Message-ID: <3D2A4A4C.20900@earthlink.net> Chill David, Lets keep it fun. I would just as soon have Dan keep posting to this list. Bruce Wilson David Vaughan wrote: > > On Tuesday, July 9, 2002, at 04:53 , nedlud at postoffice.pacbell.net wrote: > >> January 22, 1998 >> From: Jonathan >> To: >> Mime-Version: 1.0 >> Content-Type: text/plain; charset="US-ASCII" >> >> I also agree with Dan that the headings should have an identifying tag. >> This is not an issue for those who are getting digests, but for those of >> us who prefer to consume our postings raw and subscribe to multiple lists >> such an addition provides useful context. > > > This is a ridiculous suggestion and I trust the legs will fall off it > soon. The problem is solvable by yourself using free or dirt cheap > e-mail clients for selective disposition of various mails based on > source, as I do myself for multiple lists and sources, which include > both the use- and premium- lists here. Asking for clutter in the subject > is simply imposing your problem on other people. Both in perusing > subjects for important items and in those I file, I do not need rubbish > at the start of each title just so that you can continue being lazy or > antiquated about your mail management. > > ranting > David > >> >> J/ >> >> >> >> Dan Shafer wrote on 7/8/2002 11:39 AM >> >>> Now all of this may just be confusion caused by the name of the >>> mailing list. I mean, I think you have said you want and value *all* >>> customer feedback on improving the product. So maybe you need to call >>> the other list something like "premium-support" or some such thing, >>> without changing its purpose and role. >>> >>> It would be less confusing for a pain-in-the-butt newcomer like me! :-) >> >> >> >> >> ------------------- >> Jonathan Feinstein >> Shrink2Fit Software >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Mon Jul 8 21:42:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Mon Jul 8 21:42:01 2002 Subject: Participation in Improvement List In-Reply-To: <89CDD241-92D2-11D6-8F4B-000393598038@mac.com> Message-ID: > > This is a ridiculous suggestion and I trust the legs will fall off it > soon. The problem is solvable by yourself using free or dirt cheap > e-mail clients for selective disposition of various mails based on > source, as I do myself for multiple lists and sources, which include > both the use- and premium- lists here. Asking for clutter in the subject > is simply imposing your problem on other people. Both in perusing > subjects for important items and in those I file, I do not need rubbish > at the start of each title just so that you can continue being lazy or > antiquated about your mail management. > > ranting > David > Geez, Dave. Don't sugar-coat it. Tell us what you really think! From chipp at chipp.com Mon Jul 8 22:03:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Mon Jul 8 22:03:01 2002 Subject: Participation in Improvement List In-Reply-To: Message-ID: As long as we're voting. I'd prefer having the tags included. I've got one folder with all RunRev and MC lists and it would be nice to be able to sort them quickly. -Chipp From sarahr at genesearch.com.au Mon Jul 8 22:20:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Mon Jul 8 22:20:01 2002 Subject: Questions of 7 jul 02 In-Reply-To: Message-ID: <598CD49C-92EA-11D6-AC95-0003937A97B8@genesearch.com.au> > 2) import command creates an image. how to reference that image? what is > its ID? > > 3) import snapshot creates an image. how to reference that image? what > is > its ID? Both these can be answered by getting the ID of the last image just after importing. on mouseUp import snapshot put the ID of last image into newID answer "The new image has an ID of " & newID end mouseUp Sorry, I can't help with your other queries. Cheers, Sarah From drvaughan55 at mac.com Mon Jul 8 22:38:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Mon Jul 8 22:38:01 2002 Subject: Participation in Improvement List In-Reply-To: Message-ID: On Tuesday, July 9, 2002, at 12:39 , Chipp Walters wrote: snip >> re: >> ranting >> David >> > > Geez, Dave. Don't sugar-coat it. Tell us what you really think! The pussyfoot hereby returns. My core point remains that it is a user preference and should not be imposed by list. Practices of other lists do not compel me over the principle. I'll pad off now. cheers David > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Mon Jul 8 23:04:00 2002 From: chipp at chipp.com (Chipp Walters) Date: Mon Jul 8 23:04:00 2002 Subject: Questions of 7 jul 02 In-Reply-To: <3D0D86C400006C07@flu-stateless-02.tiscalinet.ch> Message-ID: > > 1) accept command returns a connectionID. How and where is it returned? Peter, It's returned with the message. here's part of a script from my stack cross-platform file transfer utility "Sendreiver" with source code located at: http://www.altuit.com/webs/altuit2/RunRev/Sendreiver.htm moreData is the message sent s is the connectionID sent m is the data sent actually, it's a bit easier to just download the stack and look in the stack script. Sorry it's not too pretty, but it is easy to read. on moreData s,m global gDATA #doMsg m put m after gDATA if last line of gData = "" then #doMsg "got last line" delete last line of gData hide img "spin" set the repeatcount of img "spin" to 0 put line 1 of gDATA into f1Name delete line 1 of gDATA put fld "default_folder" &"/"& f1Name into fName domsg "fName:" & fName put base64decode(gDATA) into gDATA open file fName for binary write write gDATA to file fName close file fName doMsg "File Transfered: " & f1Name closeConnection s else doMsg "still reading" read from socket s with message "moreData" end if end moreData > > 2) import command creates an image. how to reference that image? what is > its ID? > > 3) import snapshot creates an image. how to reference that image? what is > its ID? > As Sara points out, use "last image" > 4) how to work with the image library? how to accumulate images to be used > as icons? > (I found that an image placed on a card appears in the image library and > can be used as an icon (really great), but how put an image into > the library > without showing it on a card first) > FWIW, I'm not too crazy about the image library. You'll need to copy the images from the library to your stack before creating an executable (unless you include the image library stack) and when you copy the images, they all get new image ID's which screws up your icons on your buttons. I've found it better to just copy the images I want to a blank card on my stack, then reference them from there. Perhaps I just don't 'get it' best, Chipp From jmac at consensustech.com Mon Jul 8 23:11:01 2002 From: jmac at consensustech.com (Jim MacConnell) Date: Mon Jul 8 23:11:01 2002 Subject: Participation in Improvement List In-Reply-To: Message-ID: Voting? I love voting.... No tags please. Makes my color coding based on any recipient containing runner redundant.... One can always write a rule to add the prefix "RunRev:" to the mail from runrev (Outlook users only?). It is harder to delete something from the subject line since it may not always be there. My 2 cents..... Jim From dsc at swcp.com Mon Jul 8 23:54:01 2002 From: dsc at swcp.com (Dar Scott) Date: Mon Jul 8 23:54:01 2002 Subject: Questions of 7 jul 02 In-Reply-To: Message-ID: <7A55B9E4-92F7-11D6-8CE3-0050E4C0B205@swcp.com> On Monday, July 8, 2002, at 10:00 PM, Chipp Walters wrote: >> 1) accept command returns a connectionID. How and where is it >> returned? > > Peter, It's returned with the message. There may be a potential for confusion here. Revolution tcp/ip documentation refers to both socketID and connectionID. When I first read connectionID, I thought socketID, too. The accept command includes a callbackmessage. This is the name of a handler. A message will be sent to the handler for each connection made in the case of tcp and for each datagram received for udp. If the accept is for tcp (the "datagram" keyword is not included), the message has only one parameter. It is a socketID, a string used to represent the connection. It uniquely represents the connection created. It includes the remote IP address and port, but that is not always enough to make the connection unique, so a connectionID is added. As far as I know, its only use is to make the socketID unique. Use the socketID to communicate through the socket. If the accept is for udp, the message has two parameters and the handler would normally be written for two. The second is the datagram value. You may ignore the socket id; in Revolution 1.1.1 it does not represent a real socket. Dar Scott From dan at danshafer.com Tue Jul 9 00:24:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Tue Jul 9 00:24:01 2002 Subject: Splash Screen Displays Empty In-Reply-To: References: Message-ID: Thanks, Chipp. that worked. I guess I was running into a RR peculiarity with timing, eh? >Try: > on openStack > show this stack > send "hideme" to this stack in 3 seconds > end openStack > >on hideme > hide this stack > open stack "Lateral File" > show stack "Lateral File" > set the defaultStack to "Lateral File" >end hideme > > >> -----Original Message----- >> From: use-revolution-admin at lists.runrev.com >> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer >> Sent: Monday, July 08, 2002 1:55 PM >> To: use-revolution at lists.runrev.com >> Subject: Splash Screen Displays Empty >> >> >> OK, I have my first RR app almost done. I have one cosmetic problem. >> Since I have to use a splasher so the substack that comprises the >> main functionality of my stack can be a data repository, I've >> designed a splasher with two text fields in it. It's pretty small. >> >> When I open the stack, the splasher shows, but its text contents do >> not. The splasher pauses for 3 seconds (per script) and then closes >> itself and the substack appears. >> >> Here's the openStack script in the splasher stack (mainstack): >> >> on openStack >> show this stack >> wait 3 seconds >> hide this stack >> open stack "Lateral File" >> show stack "Lateral File" >> set the defaultStack to "Lateral File" >> end openStack >> >> I suspect I don't need the last line but it's left over from earlier >> testing. I put the first line in because when the app is quit, the >> splasher isn't visible and it seemed that when I opened the stack >> under those conditions, the splasher would not appear visible. >> -- >> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- >> 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 >_______________________________________________ >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 chipp at chipp.com Tue Jul 9 00:53:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Tue Jul 9 00:53:01 2002 Subject: Splash Screen Displays Empty In-Reply-To: Message-ID: Yep, it wasn't letting the screen refresh in the middle of a handler. The send command is pretty cool. You can use it to effectively create threading in applications. Much better than wait or on idle. In fact, you really should never use on idle. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer > Sent: Monday, July 08, 2002 10:15 PM > To: use-revolution at lists.runrev.com > Subject: RE: Splash Screen Displays Empty > > > Thanks, Chipp. that worked. I guess I was running into a RR > peculiarity with timing, eh? > >Try: > > on openStack > > show this stack > > send "hideme" to this stack in 3 seconds > > end openStack > > > >on hideme > > hide this stack > > open stack "Lateral File" > > show stack "Lateral File" > > set the defaultStack to "Lateral File" > >end hideme > > > > > >> -----Original Message----- > >> From: use-revolution-admin at lists.runrev.com > >> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer > >> Sent: Monday, July 08, 2002 1:55 PM > >> To: use-revolution at lists.runrev.com > >> Subject: Splash Screen Displays Empty > >> > >> > >> OK, I have my first RR app almost done. I have one cosmetic problem. > >> Since I have to use a splasher so the substack that comprises the > >> main functionality of my stack can be a data repository, I've > >> designed a splasher with two text fields in it. It's pretty small. > >> > >> When I open the stack, the splasher shows, but its text contents do > >> not. The splasher pauses for 3 seconds (per script) and then closes > >> itself and the substack appears. > >> > >> Here's the openStack script in the splasher stack (mainstack): > >> > >> on openStack > >> show this stack > >> wait 3 seconds > >> hide this stack > >> open stack "Lateral File" > >> show stack "Lateral File" > >> set the defaultStack to "Lateral File" > >> end openStack > >> > >> I suspect I don't need the last line but it's left over from earlier > >> testing. I put the first line in because when the app is quit, the > >> splasher isn't visible and it seemed that when I opened the stack > >> under those conditions, the splasher would not appear visible. > >> -- > >> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > >> 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 > >_______________________________________________ > >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 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From carstenlist at itinfo.dk Tue Jul 9 01:29:01 2002 From: carstenlist at itinfo.dk (Carsten Levin) Date: Tue Jul 9 01:29:01 2002 Subject: Thanks In-Reply-To: <200207081602.MAA10030@www.runrev.com> Message-ID: I dont want to fill this list with irrelevant input. But let me just for once say "Thanks". Not only to Yves Coppe ... and Jeanne DeVoto and Kevin from Runrev, but to all the people here who are giving relevant and helpfull advice. Best regards Carsten Levin Ps. And thanks for the ever lasting patience with the "English" you have to live with from us morons who has it as our second or third language. And ... PPs: :-) My license is a proffessional one, and I recieved the manuals, but have dropped out of the "improve" list. How do I get back in? > check the systemVersion function > > if it is "10" then > --you run on Mac OS X > else > --you run on another Mac OS (8.x or 9.x) > end if > > Hope this helps > -- > Greetings. > > Yves COPPE From dan at danshafer.com Tue Jul 9 02:25:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Tue Jul 9 02:25:01 2002 Subject: Thanks In-Reply-To: References: Message-ID: Carsten Levin wrote: > >Ps. And thanks for the ever lasting patience with the "English" you have to >live with from us morons who has it as our second or third language. Hmmm. I wonder who the "morons" are? Those who *have* a second or third language or those who think everyone should just learn to speak English. -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 gcanyon at inspiredlogic.com Tue Jul 9 02:28:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Jul 9 02:28:01 2002 Subject: Vertical or horizontal progress bars In-Reply-To: References: Message-ID: At 9:02 AM -1000 7/8/02, Ro Nagey wrote: >Thanks, Ken. I hope this gets fixed in a future release. Speaking as someone who's been around awhile, the probability is low. This has been a documented issue (it's in the readme) for a loooong time. I don't know whether there is a technical issue underlying it -- does the toolbox support vertical progress bars? -- or if it's just that no one asks for it. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From gcanyon at inspiredlogic.com Tue Jul 9 02:35:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Jul 9 02:35:01 2002 Subject: Participation in Improvement List In-Reply-To: References: Message-ID: At 11:39 AM -0700 7/8/02, Dan Shafer wrote: >I've been in this business a long time (some would say too long) and it is my universal experience that the more input you have from real-world users into a product and how it works, the greater quality you can put into the finished product. It is also my universal experience that there is absolutely *no* correlation between how much money a customer spends on your product and the degree of either his or her passion or expertise. In fact, it is often exactly the opposite. I think the disconnect here is between expertise and influence. There may actually be an inverse relationship between money spent on Revolution and passion for it. I don't know. But pro users have more money riding on Revolution, and have more money in RunRev. Put in plain words, they've paid for influence. This is not to say that a deaf ear is turned to all others. Kevin's email address is known to all, as are the rest of the RunRev staff. There are people who have never purchased a license, using only the starter kit, who have significant impact on Revolution's development exactly and solely based on the quality of their input. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From kray at sonsothunder.com Tue Jul 9 02:48:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Jul 9 02:48:01 2002 Subject: Custom property sets References: Message-ID: <00fb01c2271c$06999050$6401a8c0@mckinley.dom> Ron, If the defaultStack happens to be the stack the contains the custom property, you can use "this stack" instead of an explicit reference. For example, suppose you have two stacks, one called "Stack1" and one called "Stack2". Both of these stacks have the same custom property in them, "prefs". If you have Stack 1 open (and it is the defaultStack) and wish to get the "prefs" of stack "Stack1", you can just say: put the prefs of this stack into myVar If, however, you want to get the prefs from stack "Stack2", you can do one of the following: put the prefs of stack "Stack2" into myVar or set the defaultStack to "Stack2" put the prefs of this stack into myVar Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Ron" To: Sent: Monday, July 08, 2002 8:45 PM Subject: Re: Custom property sets > Thanks Yves and Ken, > > I didn't communicate very well, so let me make sure I understood your > suggestions. I am not having trouble referencing btnnames[btn1], but in > referencing another customproperty, called 'prefs', that is not a part of > either the english or japanese sets. 'prefs' is a customproperty of just one > substack. That substack also needs access to the main english or japanese > sets. > > You have confirmed that I need to explicitly call the stack to use the > customproperties. I was hoping for a default name of 'me' if no stack was > made explicit. eg 'put the prefs into myvar' would call the customprop prefs > or that I could call keys from the sets without explicit reference. My > mistake. > > Thanks > Ron > > > From: yves COPPE > > Reply-To: use-revolution at lists.runrev.com > > Date: Mon, 8 Jul 2002 10:11:54 +0200 > > To: use-revolution at lists.runrev.com > > Subject: Re: Custom property sets > > > >> Greetings > >> > >> I have two custompropertysets which I set on startup: > >> english > >> japanese > >> > >> Each set has the same 3 keys but the keys have different content based on > >> the language: > >> > >> btnnames > >> errors > >> fldcontents > >> > >> The contents of btnnames is like this: > >> > >> btn1,this is a btn > >> btn2, this is another btn > >> etc > >> > >> I split it to make an array and reference the items using: > >> > >> set the label of btn1 to btnnames[btn1] > >> > >> This sets the name to the appropriate language throughout the substacks. > >> However, I have run into a problem referencing other customproperties. If I > >> make a customproperty in a substack, say 'prefs', and try to call it, it is > >> not available. Presumably because the custompropertyset of the main stack > >> does not contain this customproperty? > >> > >> Is there a way to call customproperties in the substack without creating > >> another set, then setting the custompropertyset to the new set, referencing > >> the property, then resetting the set to 'english'? > >> > >> Thanks > >> Ron > >> > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at lists.runrev.com > >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > You have to refer to the stack : > > set the label of btn1 to btnnames[btn1] of this stack -- or of stack > > "YourstackName" > > > > or something like : > > put the short name of this stack into MYstackName > > set the label of btn1 to btnnames[btn1] of stack MYstackName > > > > or you can also try : > > set the customPropertySet of stack MYstackName to btnnames > > --your script > > ... > > ... > > ... > > --and then you reset with > > set the customPropertySet of stack MYstackName to empty > > > > hope this helps > > -- > > Greetings. > > > > Yves COPPE > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From heather at runrev.com Tue Jul 9 03:07:01 2002 From: heather at runrev.com (Heather Williams) Date: Tue Jul 9 03:07:01 2002 Subject: Subject heading prefix Message-ID: Ladies and Gentlemen. Clearly I cannot please everyone on this delicate subject, a prefix is either there or it isn't. However, surely a couple of letters, say, RRU to designate use rev and RRI to designate improve rev wouldn't be too ugly to tolerate? Would it actually break anything? Could add the desired functionality for those that wish, and hardly obscure much of the subject heading for those that don't need it. You can still colour it pink if you like... Nice, friendly colour, pink. Warm regards to all Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution - The Solution From chipp at chipp.com Tue Jul 9 03:23:07 2002 From: chipp at chipp.com (Chipp Walters) Date: Tue Jul 9 03:23:07 2002 Subject: Color reference and convert In-Reply-To: <00db01c2271a$f84c2d10$6401a8c0@mckinley.dom> Message-ID: Sorry for the double post, but I thought this would be interesting for all RR users. > > Hi > > > > The convert command should be extended to include color references. For > > example: > > > > put the accentColor into tColor > > convert tColor to RGB > > > > This would be much better than having to maintain a list of > color name to > > RGB's. I notice that even Jeanne (Color Reference stack) had to > develop a > > needless workaround because there is no built in convert function for > color > > references. I use the following: (a mouseMove handler in the stack script) on mouseMove put the mouseColor into thecolor set the numberFormat to "##" put formathex(baseConvert(item 1 of thecolor,10,16)) into R put formathex(baseConvert(item 2 of thecolor,10,16)) into G put formathex(baseConvert(item 3 of thecolor,10,16)) into B put thecolor into cd fld 1 end mouseMove function formathex thevalue if the length of thevalue is 1 then put "0" before thevalue return thevalue end formathex From peter.fink at tiscali.ch Tue Jul 9 03:26:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Tue Jul 9 03:26:01 2002 Subject: Questions of 7 jul 02 (connectionID) In-Reply-To: <7A55B9E4-92F7-11D6-8CE3-0050E4C0B205@swcp.com> Message-ID: <3CDAA302000149D7@flu-stateless-01.tiscalinet.ch> > >>> 1) accept command returns a connectionID. How and where is it >>> returned? >> >> Peter, It's returned with the message. > > >If the accept is for tcp (the "datagram" keyword is not included), >the message has only one parameter. It is a socketID, a string >used to represent the connection. It uniquely represents the >connection created. It includes the remote IP address and port, >but that is not always enough to make the connection unique, so a >connectionID is added. As far as I know, its only use is to make Scott thanks. The RR docs say that the parameter to the callback msg of accept is the IP address, but you specify that it is the connection ID. This clarifies it. Peter From dcragg at lacscentre.co.uk Tue Jul 9 04:08:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue Jul 9 04:08:01 2002 Subject: Participation in Improvement List In-Reply-To: References: <89CDD241-92D2-11D6-8F4B-000393598038@mac.com> Message-ID: At 5:52 pm -0700 8/7/02, Dan Shafer wrote: >I originated this suggestion because I belong to a fairly large >number of mailing lists that all use the same list manager as this >one. Every single one of them prepends the list name to the subject. About half of the lists I subscribe to prepend a tag to the subject. Personally, I find scanning the subject lines in these lists far more difficult, and I'm sure most left-to-right readers (over a certain age) will have the same difficulty. I know nothing about list managing software, but I'm inclined to think that the lists that don't use tags took the decision to turn off the feature. :) So I'm for filters and no tags. I probably won't write to the Scottish Parliament about it, but if the voting gets close I may have to offer my son's second favorite BeyBlade to Heather as a bribe. Cheers Dave Cragg From ludovic.thebault at laposte.net Tue Jul 9 04:30:00 2002 From: ludovic.thebault at laposte.net (Ludovic Thebault) Date: Tue Jul 9 04:30:00 2002 Subject: Armed button and border Message-ID: <3D2AAC71.7090704@laposte.net> It is possible to hide the border when the autoarm is true ? Thanks. From kmajor at metascape.org Tue Jul 9 04:34:00 2002 From: kmajor at metascape.org (Klaus Major) Date: Tue Jul 9 04:34:00 2002 Subject: More Movie Difficulties In-Reply-To: Message-ID: <146F0570-931E-11D6-BCD5-003065D52E8E@metascape.org> Hi Mike and Chipp, > Mike, > > I could be wrong, but my understanding is that RR uses QT to play .avi > movies. In otherwords, without QuickTime, avi movies cannot be played. I > don't think RR or MC supports playback except through QT. > > -Chipp > > PS you can alway include a QT installer on your CD-ROM. RR uses QT, if QT is installed. If not it uses the (poor ;-) build-in video capabilities of windows. AVis with the RLE, Indeo3.2, Cinepak and Video1 codec (and even MPG, so i've heard) are supported. The MS-mpg4-clone is not supported and no DIV-x. That means that you cannot use all the videos that WMP is playing. I f noone can supply a list of supported AVI-codecs, i am afraid you will have to check it with different AVIs by yourself. (Please supply the list after that ;-) Hope that helps a bit... Regards Klaus Major klaus.major at metascape.org P.S. I know, i know... ...but QT is an industry-standard, even on windows. Sorry for that, i couldn't resist ;-) From pixelbird at interisland.net Tue Jul 9 04:44:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Tue Jul 9 04:44:01 2002 Subject: Vertical or horizontal progress bars In-Reply-To: Message-ID: on 7/9/02 12:24 AM, Geoff Canyon at gcanyon at inspiredlogic.com wrote: > Speaking as someone who's been around awhile, the probability is low. This has > been a documented issue (it's in the readme) for a loooong time. I don't know > whether there is a technical issue underlying it -- does the toolbox support > vertical progress bars? -- or if it's just that no one asks for it. ---------- Howcum we need vertical progress bars anywho? I've actually never seen a vertical progress bar, but I bet you could make some really cute ones. For a barometer or a thermometer, maybe? Just curious... G'nite all, Ken N. From peter.fink at tiscali.ch Tue Jul 9 05:43:02 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Tue Jul 9 05:43:02 2002 Subject: Questions of 7 jul 02 (image library) In-Reply-To: Message-ID: <3CDAA302000149E4@flu-stateless-01.tiscalinet.ch> >> 4) how to work with the image library? how to accumulate images to be used >> as icons? >> (I found that an image placed on a card appears in the image library and >> can be used as an icon (really great), but how put an image into >> the library >> without showing it on a card first) >> > >FWIW, I'm not too crazy about the image library. You'll need to copy the >images from the library to your stack before creating an executable (unless >you include the image library stack) and when you copy the images, they all >get new image ID's which screws up your icons on your buttons. I've found >it >better to just copy the images I want to a blank card on my stack, then >reference them from there. > Chipp thanks for your opinion. it is not clear how to work with the library. your suggestion to place the images on a blank card makes sense. Thats what I'm doing for other objects anyway, since ever. Peter From peter.fink at tiscali.ch Tue Jul 9 05:43:14 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Tue Jul 9 05:43:14 2002 Subject: Questions of 7 jul 02 (import thanks) In-Reply-To: <598CD49C-92EA-11D6-AC95-0003937A97B8@genesearch.com.au> Message-ID: <3CDAA302000149E9@flu-stateless-01.tiscalinet.ch> >Both these can be answered by getting the ID of the last image just >after importing. >on mouseUp > import snapshot > put the ID of last image into newID > answer "The new image has an ID of " & newID >end mouseUp > Sarah, many thanks. Peter From heather at runrev.com Tue Jul 9 07:37:00 2002 From: heather at runrev.com (Heather Williams) Date: Tue Jul 9 07:37:00 2002 Subject: Participation in Improvement List In-Reply-To: <200207090944.FAA07651@www.runrev.com> Message-ID: > So I'm for filters and no tags. I probably won't write to the > Scottish Parliament about it, but if the voting gets close I may have > to offer my son's second favorite BeyBlade to Heather as a bribe. Lol. Any other offers? So far, I'm getting more strong negative responses than positive. If you feel strongly in favour of the tags better say so... Regards, Heather -- Heather Williams Runtime Revolution Ltd. Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707 Revolution - The Solution From steve at messimercomputing.com Tue Jul 9 09:01:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Tue Jul 9 09:01:01 2002 Subject: setting decimal precision Message-ID: Hi all, Anybody know how to set the decimal precision of a numeric value? I have looked through the docs but I can't seem to find the reference. Thanks, Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From rcozens at pon.net Tue Jul 9 09:15:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Jul 9 09:15:00 2002 Subject: Editing Menu Groups In-Reply-To: References: Message-ID: >Is that really how this works? Hi Dan, I only use the Menu Manager to create new menu groups, as I have developed the habit of maintaining controls in a group (and just about everything else) from the Application Overview. From the AO, one can select a group from Groups, click on the expansion triangle (twice), and see a list of all controls in the group. One can then select a control and edit its script or properties, and change its layer. This can also be done by selecting (in AO) any card containing an instance of the group. The longer I use Revolution, the more I find the AO is the best starting point for maintaining existing objects. -- 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 Tue Jul 9 09:18:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Jul 9 09:18:00 2002 Subject: setting decimal precision In-Reply-To: References: Message-ID: >Anybody know how to set the decimal precision of a numeric value? I have >looked through the docs but I can't seem to find the reference. Hi Steve, Did you check the numberFormat 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 rfarnold at bu.edu Tue Jul 9 09:54:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Tue Jul 9 09:54:01 2002 Subject: Editing Menu Groups In-Reply-To: Message-ID: on 7/9/02 9:49 AM, Rob Cozens at rcozens at pon.net wrote: > I only use the Menu Manager to create new menu groups, as I have > developed the habit of maintaining controls in a group (and just > about everything else) from the Application Overview. To Rob or anyone else, Do you have any idea why, after a menu is created (and edited several times) I am unable to address the menu group from a script? The menu group "menubar 1" exists, and if not on card, it is appears on the "Place Group" list of available groups, but if I attempt to place it on a card via a script (from button or message box) I always get a "no such object" response. Thanks Bob -- Robert Arnold Associate Professor of Film College of Communication Boston University 640 Commonwealth Avenue Boston, MA 02215 Tel: 617 353-7735 Fax: 617-353-1084 Email: rfarnold at bu.edu Http: people.bu.edu/rfarnold "Seeing is an art that has to be learned." M. Duras, Hiroshima mon Amour From dsc at swcp.com Tue Jul 9 10:30:00 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Jul 9 10:30:00 2002 Subject: Questions of 7 jul 02 (connectionID) In-Reply-To: <3CDAA302000149D7@flu-stateless-01.tiscalinet.ch> Message-ID: <589B2854-9350-11D6-9025-0050E4C0B205@swcp.com> On Tuesday, July 9, 2002, at 02:17 AM, peter.fink at tiscali.ch wrote: > Scott thanks. The RR docs say that the parameter to the callback msg of > accept is the IP address, but you specify that it is the connection ID. > This clarifies it. Call me Dar. There is only one true Scott. ;-) I may not have been clear. The parameter is the socketID for TCP. It has this format: ipAddress:port|connectionID You can parse that for the IP address. You will find it in openSockets(). You will need to eventually close the socket using the entire socketID. (I never tried closing with the connectionID portion and I would guess that it would not work.) The first parameter may also be called socketID for UDP (datagram). Assume it has this format: ipAddress[:port][|other] In Revolution 1.1.1, this does not correspond to a socket. The term connectionID is used two ways in Revolution. The term in sockets (tcp/ip) is not the same as the one in the db capability. The tcp/ip term comes up again in "open socket". Here, if there is a chance you will open two or more connections to the same remote port (and same IP address), you need to specify a unique connectionID as part of the socketID you create. (Well, unique relative to that port, probably.) The socketID you create contains key information for making the connection and works as a unique reference to the socket. The socketID is used in other functions to refer to a specific socket. In some parts of the doc, connectionID is called simply ID. As far as I know, the connectionID in sockets has no other purpose than to make the socketID unique. Other environments use other methods to uniquely refer to sockets. > but you specify that Of course, I don't specify anything; I'm always learning about Revolution, too. Dar Scott From klaus.major at metascape.org Tue Jul 9 10:31:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Tue Jul 9 10:31:01 2002 Subject: Editing Menu Groups Message-ID: Hi Bob and Rob, > on 7/9/02 9:49 AM, Rob Cozens at rcozens at pon.net wrote: > > I only use the Menu Manager to create new menu groups, as I have > developed the habit of maintaining controls in a group (and just > about everything else) from the Application Overview. > > To Rob or anyone else, > > Do you have any idea why, after a menu is created (and edited several > times) > I am unable to address the menu group from a script? The menu group > "menubar > 1" exists, and if not on card, it is appears on the "Place Group" list > of > available groups, but if I attempt to place it on a card via a script > (from > button or message box) I always get a "no such object" response. > > Thanks > > Bob this could be a semantic issue ;-) (Maybe not, of course...) When a grp has its backgroundbehaviour checked, then it has to be called background "xxx" if it is not on the card where it is called in the script. Try to change your script and see if it works: use bg "menubar 1" instead of grp "menubar 1" Hope that helps. Regards anyone else ;-) Klaus Major klaus.major at metascape.org From rfarnold at bu.edu Tue Jul 9 10:36:00 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Tue Jul 9 10:36:00 2002 Subject: Editing Menu Groups In-Reply-To: Message-ID: on 7/9/02 11:24 AM, Klaus Major at klaus.major at metascape.org wrote: > Try to change your script and see if it works: use > > bg "menubar 1" > > instead of > > grp "menubar 1" Ah, thanks, I will try this -- I was trying "bg grp ..." not simply "bg..." As this is inconsistent with naming of fields and buttons, I hadn't thought of it. Thanks again. -- Robert Arnold Associate Professor of Film College of Communication Boston University 640 Commonwealth Avenue Boston, MA 02215 Tel: 617 353-7735 Fax: 617-353-1084 Email: rfarnold at bu.edu Http: people.bu.edu/rfarnold "Seeing is an art that has to be learned." M. Duras, Hiroshima mon Amour From karlpet at mac.com Tue Jul 9 10:53:01 2002 From: karlpet at mac.com (Karl Petersen) Date: Tue Jul 9 10:53:01 2002 Subject: Editing Menu Groups In-Reply-To: References: Message-ID: At 5:44 PM -0700 7/8/02, Dan Shafer wrote: >I open the Menu Tool, click "edit" select the menubar in the >resulting list, and it shows up in the editor, but its name is >grayed out and none of its buttons appears in the list. The *only* >way I've been able to find to edit this sucker is to remove its >background behavior property in the property window, then edit it, >then set it back. Is that really how this works? That's not the normal behavior, Dan. I've never seen that. Here I'm allowed to edit a menubar group without first turning off its backgroundBehavior property. I poked around a bit trying to force the graying out of a menu, but had no luck. No idea what might cause that. Karl From klaus.major at metascape.org Tue Jul 9 11:14:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Tue Jul 9 11:14:01 2002 Subject: Editing Menu Groups In-Reply-To: Message-ID: Hi Bob, > on 7/9/02 11:24 AM, Klaus Major at klaus.major at metascape.org wrote: > >> Try to change your script and see if it works: use >> >> bg "menubar 1" >> >> instead of >> >> grp "menubar 1" > > Ah, thanks, I will try this -- I was trying "bg grp ..." not simply > "bg..." > As this is inconsistent with naming of fields and buttons, I hadn't > thought > of it. Thanks again. > -- > Robert Arnold i think the intention to have 2 different names for (almost) identical objects was to be able to address backgrounds (groups with backgroundbeh. set to true) from everywhere in a stack even if these groups are not on the card where the script is executed. Try to think of bgs and groups, depending on the checked/ not checked properties. Took years for me to get used to that ;-) Best from germany Klaus Major klaus.major at metascape.org From dan at danshafer.com Tue Jul 9 11:15:00 2002 From: dan at danshafer.com (Dan Shafer) Date: Tue Jul 9 11:15:00 2002 Subject: Editing Menu Groups In-Reply-To: References: Message-ID: >>Is that really how this works? > >Hi Dan, > >I only use the Menu Manager to create new menu groups, as I have >developed the habit of maintaining controls in a group (and just >about everything else) from the Application Overview. > >From the AO, one can select a group from Groups, click on the >expansion triangle (twice), and see a list of all controls in the >group. One can then select a control and edit its script or >properties, and change its layer. > >This can also be done by selecting (in AO) any card containing an >instance of the group. > >The longer I use Revolution, the more I find the AO is the best >starting point for maintaining existing objects. Well, it seems like you are right. this is very much like a Smalltalk browser, to which I became addicted...er...accustomed. I am going to spend some more time getting friendly with the AO and see if that alters my efficiency in managing RR apps. Thanks for the input! >-- > >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 -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 Tue Jul 9 11:21:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Tue Jul 9 11:21:01 2002 Subject: Editing Menu Groups In-Reply-To: References: Message-ID: >At 5:44 PM -0700 7/8/02, Dan Shafer wrote: >>I open the Menu Tool, click "edit" select the menubar in the >>resulting list, and it shows up in the editor, but its name is >>grayed out and none of its buttons appears in the list. The *only* >>way I've been able to find to edit this sucker is to remove its >>background behavior property in the property window, then edit it, >>then set it back. Is that really how this works? > >That's not the normal behavior, Dan. I've never seen that. Here I'm >allowed to edit a menubar group without first turning off its >backgroundBehavior property. > >I poked around a bit trying to force the graying out of a menu, but >had no luck. No idea what might cause that. Hmmm. I'm running under OS X. I'll try this same thing on Win2k later and see if the behavior is perhaps a platform quirk. >Karl > > > > >_______________________________________________ >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 rfarnold at bu.edu Tue Jul 9 11:22:02 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Tue Jul 9 11:22:02 2002 Subject: Editing Menu Groups In-Reply-To: Message-ID: on 7/9/02 11:50 AM, Karl Petersen at karlpet at mac.com wrote: > At 5:44 PM -0700 7/8/02, Dan Shafer wrote: >> I open the Menu Tool, click "edit" select the menubar in the >> resulting list, and it shows up in the editor, but its name is >> grayed out and none of its buttons appears in the list. The *only* >> way I've been able to find to edit this sucker is to remove its >> background behavior property in the property window, then edit it, >> then set it back. Is that really how this works? > > That's not the normal behavior, Dan. I've never seen that. Here I'm > allowed to edit a menubar group without first turning off its > backgroundBehavior property. > > I poked around a bit trying to force the graying out of a menu, but > had no luck. No idea what might cause that. I've had the same problem/experience as Dan -- if the bg behavior is checked (on) I cannot edit the menu via the menu manager (greyed out).. I've been editing the buttons directly on the card ("edit the script of btn "File"" for instance), so I also appreciate the suggestion of using the AO. Bob -- Robert Arnold Associate Professor of Film College of Communication Boston University 640 Commonwealth Avenue Boston, MA 02215 Tel: 617 353-7735 Fax: 617-353-1084 Email: rfarnold at bu.edu Http: people.bu.edu/rfarnold "Seeing is an art that has to be learned." M. Duras, Hiroshima mon Amour From skycap at earthlink.net Tue Jul 9 11:43:01 2002 From: skycap at earthlink.net (Bruce Wilson) Date: Tue Jul 9 11:43:01 2002 Subject: Help with downloading web page Message-ID: <3D2B1209.3070503@earthlink.net> Can anyone help with a generic RR script to download a web page. It should include ability to include httpheaders information and to post information. The following script has worked on about 80% of web sites but it appears some sites require me to post info or wants to set cookies, be a big browser,etc. which goes beyond my scripting abilities. on mouseup put word 1 of fld "symbol" into sym --Stock symbol put char 1 of sym into b put "http://user:psswrd at biz.yahoo.com/n/"&b&"/"&sym&".html" into myurl put url myurl into dataVar put HTMLtoTXT (dataVar) into dataVar --HTMLtoTXT is external Func. put cleanUpTXT (dataVar) into fld "data" --clean up & put into fld end mouseup Thanks in advance for any help. Bruce Wilson From peter.fink at tiscali.ch Tue Jul 9 13:31:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Tue Jul 9 13:31:01 2002 Subject: Questions of 7 jul 02 (socketID) In-Reply-To: <589B2854-9350-11D6-9025-0050E4C0B205@swcp.com> Message-ID: <3D0D86C400007880@flu-stateless-02.tiscalinet.ch> > >The parameter is the socketID for TCP. It has this format: > > ipAddress:port|connectionID > Scott you are right, the parameter to the callback msg is a socketID. (I was wrong and would have changed my posting if possible). (what is also true: accept "assigns" a connection ID, but does not deliver it to the script(s). the script(s) learn the connection ID at callback time and in the form of a socket ID.) Peter From mike at cyber-ny.com Tue Jul 9 13:41:01 2002 From: mike at cyber-ny.com (Mike Brown) Date: Tue Jul 9 13:41:01 2002 Subject: More & More Movie Difficulties In-Reply-To: Message-ID: Unless I am misunderstanding the Rev documentation, it states an .avi file can be imported and played using the play command in the following script: on mouseup play videoclip "moviename.avi" end mouseup This does not use the QuickTime player. Metacard also has this ability. I have made a variety of avi files but can not get them to display using that script. Has anyone done this successfully? If so how?? Thanks > > Mike, > > I could be wrong, but my understanding is that RR uses QT to play .avi > movies. In otherwords, without QuickTime, avi movies cannot be played. I > don't think RR or MC supports playback except through QT. > > -Chipp > > PS you can alway include a QT installer on your CD-ROM. > >> -----Original Message----- >> From: use-revolution-admin at lists.runrev.com >> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Mike Brown >> Sent: Monday, July 08, 2002 6:01 AM >> To: use-revolution at lists.runrev.com >> Subject: More Movie Difficulties >> >> >> Hello, >> >> I am still having problems displaying avi movies in Rev on Windows (98, >> 2000, ME) systems on a consistent basis. My avi movies will play on a PC >> through the Windows Media Player, but once imported into Rev, will not >> display with the "play movie" command. I can not locate any detailed >> information on movie playback in the Rev documentation. What is >> the proper >> format and codec for displaying video on the Windows OS? Where is >> documentation on this located? ... please, No QuickTime (Not widely >> supported on Windows). >> >> Thanks, >> Mike >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From troy at rpsystems.net Tue Jul 9 13:48:01 2002 From: troy at rpsystems.net (Troy Rollins) Date: Tue Jul 9 13:48:01 2002 Subject: More & More Movie Difficulties In-Reply-To: Message-ID: On Tuesday, July 9, 2002, at 02:37 PM, Mike Brown wrote: > Unless I am misunderstanding the Rev documentation, it states an .avi > file > can be imported and played using the play command in the following > script: > > on mouseup > play videoclip "moviename.avi" > end mouseup > > This does not use the QuickTime player. Metacard also has this ability. Mike, I'm curious... how do you know that last statement to be the fact? If it is not using the QT engine, what is it using? -- Troy RPSystems, LTD www.rpsystems.net From dsc at swcp.com Tue Jul 9 14:03:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Jul 9 14:03:01 2002 Subject: Questions of 7 jul 02 (socketID) In-Reply-To: <3D0D86C400007880@flu-stateless-02.tiscalinet.ch> Message-ID: <070BD399-936E-11D6-9025-0050E4C0B205@swcp.com> On Tuesday, July 9, 2002, at 11:30 AM, peter.fink at tiscali.ch wrote: > (what is also true: accept "assigns" a connection ID, but does not > deliver > it to the script(s). the script(s) learn the connection ID at > callback time > and in the form of a socket ID.) Yes. This is because you can get more than one connection--even at the same time. The accept sets up the listen mechanism and that spins off callbacks. The name "accept" might be confusing if you have used sockets in other environments; it does the work of "listen", but it also sets up a mechanism to "accept" connections and turn them into callbacks. (If you only want one connection, you might want to write script to immediately close connections while one is active.) I wish you well in your tcp/ip projects. Dar Scott (not THE Scott) From mike at cyber-ny.com Tue Jul 9 14:07:01 2002 From: mike at cyber-ny.com (Mike Brown) Date: Tue Jul 9 14:07:01 2002 Subject: More & More Movie Difficulties In-Reply-To: Message-ID: Troy, on a Windows OS machine it would most likely use Windows Media Player. I'm not sure though - somebody at Rev could better answer that question. You can test the theory by implementing the script in a MetaCard stack and playing back on a Win OS PC without QuickTime Installed. I created several presentations this way. > > > On Tuesday, July 9, 2002, at 02:37 PM, Mike Brown wrote: > >> Unless I am misunderstanding the Rev documentation, it states an .avi >> file >> can be imported and played using the play command in the following >> script: >> >> on mouseup >> play videoclip "moviename.avi" >> end mouseup >> >> This does not use the QuickTime player. Metacard also has this ability. > > Mike, I'm curious... how do you know that last statement to be the fact? > If it is not using the QT engine, what is it using? > > -- > 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 steve at messimercomputing.com Tue Jul 9 15:41:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Tue Jul 9 15:41:01 2002 Subject: numberFormat prop Message-ID: Rob, >> Anybody know how to set the decimal precision of a numeric value? I have >> looked through the docs but I can't seem to find the reference. > > Hi Steve, > > Did you check the numberFormat property? After thrashing around a bit I did find the numberFormat property on my own. For some reason I was unable to get it to work correctly. I think the issue had to do with how and to what type of container it can be applied. I presumed that it can be applied to any container. I tried: set the numberFormat of fld "myFld" to "00.0" -- (and 00.0 and "##.#") none of which worked then I tried: set the numberFormat of calcHolder to 00.0 -- where calcHolder is a var. (also tried 00.0 and "##.#") didn't work either Finally, I just trunc'd the dang thing and I got pretty much what I was aiming for. I decided I really didn't need the decimal after all. put trunc(calcHolder * 100) into fld "myFld" That having been said it would be nice to see an example of how the numberFormat should work. :-) Any examples will be much appreciated. Regards, Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From scott at tactilemedia.com Tue Jul 9 15:51:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Jul 9 15:51:01 2002 Subject: numberFormat prop In-Reply-To: Message-ID: Recently, "Steve Messimer" wrote: > it would be nice to see an example of how the > numberFormat should work. I believe the numberFormat is a global property, not applied to specific controls. So you simply say "set the numberFormat to 0.00" and then any scripts currently executing use this format. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From wmb at internettrainer.com Tue Jul 9 15:53:00 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Tue Jul 9 15:53:00 2002 Subject: Editing Menu Groups In-Reply-To: <200207091601.MAA16384@www.runrev.com> Message-ID: am 09.07.2002 18:01 Uhr schrieb use-revolution-request at lists.runrev.com unter use-revolution-request at lists.runrev.com: > The longer I use Revolution, the more I find the AO is the best > starting point for maintaining existing objects. Thats why I m struggling for improvment of the Applov since 0.9 pls support me :) 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 dsc at swcp.com Tue Jul 9 16:04:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Jul 9 16:04:01 2002 Subject: numberFormat prop In-Reply-To: Message-ID: On Tuesday, July 9, 2002, at 02:48 PM, Scott Rossi wrote: > Recently, "Steve Messimer" wrote: > >> it would be nice to see an example of how the >> numberFormat should work. > > I believe the numberFormat is a global property, not applied to > specific > controls. So you simply say "set the numberFormat to 0.00" and > then any > scripts currently executing use this format. It's local. And be sure and read the paragraph marked "important" that explains that this applies only to numbers becoming strings, not to those just sitting there looking like numerals. (Values can be character strings and--in a not-quite transparent way--numbers.) Dar Scott From larry at rmg.net Tue Jul 9 16:43:01 2002 From: larry at rmg.net (Larry Forsgren) Date: Tue Jul 9 16:43:01 2002 Subject: sockets Message-ID: <003b01c22791$3157bd10$052aa8c0@LARRYS> Hi I need a bit of assistance on sockets. Trying something like open socket "mailserver:110" read from socket server until linefeed answer it close socket "mailserver:110" I get a neat respons such as "+OK Qpop ..." When trying to run the script again it fails until I restart revolution. Isnt?t it sufficient to close the socket before attempting to use it again? Any second attempt to access the socket fails, such as write to socket etc. I only manage to open it and get a response once for every time the socket is opened. Please enlighten me what I am doing wrong. Best regards Larry -------------- next part -------------- An HTML attachment was scrubbed... URL: From sarahr at genesearch.com.au Tue Jul 9 18:02:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Tue Jul 9 18:02:01 2002 Subject: numberFormat prop In-Reply-To: Message-ID: <88E8C09A-938F-11D6-AC95-0003937A97B8@genesearch.com.au> It is often necessary to do a fake calculation to force the numberFormat to be applied. Try this script: put "123.56789" into theNum set the numberFormat to "#.00" answer theNum -- gives 123.56789 add 0 to theNum answer theNum -- gives 123.57 You can't apply a numberFormat to a field but you can take the number out of the field, format it and put it back again, perhaps in a closeField handler. Cheers, Sarah On Wednesday, July 10, 2002, at 06:42 AM, Steve Messimer wrote: > Rob, > >>> Anybody know how to set the decimal precision of a numeric value? I >>> have >>> looked through the docs but I can't seem to find the reference. >> >> Hi Steve, >> >> Did you check the numberFormat property? > > After thrashing around a bit I did find the numberFormat property on my > own. > For some reason I was unable to get it to work correctly. I think the > issue > had to do with how and to what type of container it can be applied. I > presumed that it can be applied to any container. > > I tried: > > set the numberFormat of fld "myFld" to "00.0" -- (and 00.0 and "##.#") > none > of which worked > > then I tried: > > set the numberFormat of calcHolder to 00.0 -- where calcHolder is a var. > (also tried 00.0 and "##.#") didn't work either > > Finally, I just trunc'd the dang thing and I got pretty much what I was > aiming for. I decided I really didn't need the decimal after all. > > put trunc(calcHolder * 100) into fld "myFld" > > That having been said it would be nice to see an example of how the > numberFormat should work. :-) Any examples will be much appreciated. > > Regards, > > Steve > > Stephen R. Messimer > Messimer Computing, Inc > 208 1st Ave South > Escanaba, MI 49829 > www.messimercomputing.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Tue Jul 9 18:08:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Tue Jul 9 18:08:01 2002 Subject: sockets In-Reply-To: Message-ID: <6C9E045F-9390-11D6-AC95-0003937A97B8@genesearch.com.au> This may be because you aren't closing the connection to the POP server correctly, so it has to wait until your connection times out. Try sending "QUIT" to the POP server and reading it's response, before you close the socket. Sarah On Wednesday, July 10, 2002, at 07:46 AM, Larry Forsgren wrote: > Hi > ? > I need a bit of assistance on sockets. Trying something like > ? > ? open socket "mailserver:110" > ? read from socket server until linefeed > ? answer it > ? close socket "mailserver:110" > ? > I get a neat respons such as "+OK Qpop ..." > When trying to run the script again it fails until > I restart revolution. Isnt?t it sufficient to close > the socket before attempting to use it again? > Any second attempt to access the socket fails, > such as write to socket etc. I only manage to > open it and get a response once for every time > the socket is opened. Please enlighten me > what I am doing wrong. > ? > Best regards > Larry > ? From llitton at littontech.com Tue Jul 9 18:14:01 2002 From: llitton at littontech.com (Larry Litton) Date: Tue Jul 9 18:14:01 2002 Subject: Functionkey Message-ID: <288896E4-9391-11D6-9715-000393A36278@littontech.com> Hello, I have a simple script that doesn't seem to work in OSX! I'm using the "Functionkey" function to intercept the function keys. I use a group of 60 cards to allow outputting up to 32000+ characters depending on the function key pushed. If the F10 key or above is pushed, it becomes a 2 stroke function, giving me 60 Fkeys. The functionkey function seems to be skipped and works for the default OSX function. Anyone using the functionkey routine? on functionKey whichKey global fkeyopt,Foffset put the number of cds in background keyboardcd into gnum if whichkey = 11 then put 10 into foffset else if whichkey = 12 then put 20 into foffset else if whichkey = 13 then put 30 into foffset else if whichkey = 14 then put 40 into foffset else if whichkey = 15 then put 50 into foffset else if gnum < (whichkey + foffset) then beep put (whichkey + foffset) put empty into foffset exit functionkey else if whichKey < 11 then put fld fkeys of cd (whichkey + foffset) of bkgnd keyboardcd into packet SendCommand packet put 0 into foffset end if end functionKey ________________________________________________ Larry E. Litton Litton Technologies USA: Mexico: Home - 530-265-2799 Home - 011-52-315-35-15155 FAX - 530-470-0810 FAX: - 011-52-315-35-15137 Cell - 530-906-1806 Cell - 011-52-314-35-30906 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1664 bytes Desc: not available URL: From mike at cyber-ny.com Tue Jul 9 18:22:04 2002 From: mike at cyber-ny.com (Mike Brown) Date: Tue Jul 9 18:22:04 2002 Subject: More & More Movie Difficulties In-Reply-To: Message-ID: Sorry to keep bringing this up... but I still have not received an answer regarding .avi support in REV. I did test my .avi movies and script in Metacard and they work fine. The script is: on mouseup play videoclip "moviename.avi" end mouseup Same script and .avi file will not play back in REV. Why is this? Is the play videoclip script no longer valid in REV or am I doing something wrong. Once again, I am not referring to the QuickTime player but rather non Quicktime playback of .avi video for Windows OS. Maybe somebody from Revolution can help out. Thanks, Mike >Troy, on a Windows OS machine it would most likely use Windows Media Player. >I'm not sure though - somebody at Rev could better answer that question. You >can test the theory by implementing the script in a MetaCard stack and playing >back on a Win OS PC without QuickTime Installed. I created several >presentations this way. > > > On Tuesday, July 9, 2002, at 02:37 PM, Mike Brown wrote: > >> Unless I am misunderstanding the Rev documentation, it states an .avi >> file >> can be imported and played using the play command in the following >> script: >> >> on mouseup >> play videoclip "moviename.avi" >> end mouseup >> >> This does not use the QuickTime player. Metacard also has this ability. > > Mike, I'm curious... how do you know that last statement to be the fact? > If it is not using the QT engine, what is it using? > > -- > 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 larry at rmg.net Tue Jul 9 19:17:01 2002 From: larry at rmg.net (Larry Forsgren) Date: Tue Jul 9 19:17:01 2002 Subject: sockets References: <200207092223.SAA25702@www.runrev.com> Message-ID: <000c01c227a6$ac300dc0$052aa8c0@LARRYS> Thanks for your reply Sarah, I actually did try to close the socket by sending "QUIT" to it using the write command but that didn't change anything. I only get a reply from the socket the first time so the quit command is not forwarded either. I also tried to wait for the connection to time out but I cannot access the socket again until I restart Revolution. Perhaps someone has a Rev example of how to use sockets to access a mail server. (I run this on Windows XP if that has any bearing on this). Larry > Message: 12 > Date: Wed, 10 Jul 2002 09:05:56 +1000 > Subject: Re: sockets > From: Sarah > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > This may be because you aren't closing the connection to the POP server > correctly, so it has to wait until your connection times out. Try > sending "QUIT" to the POP server and reading it's response, before you > close the socket. > > Sarah > > > > On Wednesday, July 10, 2002, at 07:46 AM, Larry Forsgren wrote: > > > Hi > > > > I need a bit of assistance on sockets. Trying something like > > > > open socket "mailserver:110" > > read from socket server until linefeed > > answer it > > close socket "mailserver:110" > > > > I get a neat respons such as "+OK Qpop ..." > > When trying to run the script again it fails until > > I restart revolution. Isnt?t it sufficient to close > > the socket before attempting to use it again? > > Any second attempt to access the socket fails, > > such as write to socket etc. I only manage to > > open it and get a response once for every time > > the socket is opened. Please enlighten me > > what I am doing wrong. > > > > Best regards > > Larry > > From dsc at swcp.com Tue Jul 9 19:19:01 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Jul 9 19:19:01 2002 Subject: accept on multihomed computers Message-ID: <23EE5D2C-939A-11D6-9102-0050E4C0B205@swcp.com> I had thought that "accept socket" and "accept datagram socket" would apply to the default IP address (and the adaptor associated with it) of the local computer. Now, I'm not so sure. Anybody know what address(es) accept will listen on? (I guess I can run some tests, but I'm very, very lazy.) Dar Scott Let's see. RunRev HQ is NE of my house. And my house is about NW of RunRev HQ. How can that be? (Very lazy.) From Zzyzx at Relia.Net Tue Jul 9 19:35:04 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Tue Jul 9 19:35:04 2002 Subject: accept on multihomed computers References: <23EE5D2C-939A-11D6-9102-0050E4C0B205@swcp.com> Message-ID: <002001c227a9$22c77b10$1501000a@xhead> Our might lord Dar Scott has a QUESTION! ::Gasps, then runs in corner, hiding, keeping a lookout both NE and NW:: :-) J/k, I have no idea. Now, if I were ever to come up with a ANSWER (The exact opposite of QUESTION, for all ye lazy people out there...) Then I would have to slap myself....... Wait a second........ - Josh Dye ----- Original Message ----- From: "Dar Scott" To: Sent: Tuesday, July 09, 2002 6:15 PM Subject: accept on multihomed computers > I had thought that "accept socket" and "accept datagram socket" > would apply to the default IP address (and the adaptor associated > with it) of the local computer. > > Now, I'm not so sure. > > Anybody know what address(es) accept will listen on? > > (I guess I can run some tests, but I'm very, very lazy.) > > Dar Scott > Let's see. RunRev HQ is NE of my house. And my house is about NW > of RunRev HQ. How can that be? > > (Very lazy.) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Tue Jul 9 19:49:00 2002 From: dsc at swcp.com (Dar Scott) Date: Tue Jul 9 19:49:00 2002 Subject: sockets In-Reply-To: <003b01c22791$3157bd10$052aa8c0@LARRYS> Message-ID: <67FD18AC-939E-11D6-9102-0050E4C0B205@swcp.com> On Tuesday, July 9, 2002, at 03:40 PM, Larry Forsgren wrote: > I need a bit of assistance on sockets. Trying something like > ? > ? open socket "mailserver:110" > ? read from socket server until linefeed > ? answer it > ? close socket "mailserver:110" > I assume server contains "mailserver:110". You can set up some diagnostics. After each socket command, log the result, the sysError, and the openSockets to a field. Make handlers for socketError and socketClosed and log those calls, too. You might as well log the data from read while you are at it. This can give you a "heads up" that might indicate the problem or provide details to send to the list. Dar Scott From steve at messimercomputing.com Tue Jul 9 20:21:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Tue Jul 9 20:21:01 2002 Subject: numberFormat Message-ID: Scott, Dar, & Sarah, Thanks for your insights regarding the numberFormat property. I think I have enough info to use it now should the need arise again. It sure would be nice if it could be applied directly to a control tho. ;-) hint hint. Thanks for your help. Regards Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From sarahr at genesearch.com.au Tue Jul 9 20:32:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Tue Jul 9 20:32:01 2002 Subject: sockets In-Reply-To: Message-ID: <7B56750B-93A4-11D6-AC95-0003937A97B8@genesearch.com.au> Sorry for the long email, but here are the basic routines I use for POP communications. You'll need to customize to fit in with your field names instead of mine. Also, check the setupNextCall handler as that is specifically for my button ID. Everything gets logged so debugging is quite easy. Regards, Sarah ----------------------------- -- these variables are up here so all handlers in this button can use it local socketAddr, msgList on mouseUp put empty into fld "Log" put empty into fld "Email" put "Checking email..." into fld "Status" -- close any open sockets (in case there has been a failure already) repeat until the openSockets is empty close socket line 1 of the openSockets end repeat -- open POP port & login (fld "POP" contains the address of my mail server) put fld "POP" & ":110" into socketAddr open socket to socketAddr with message "startEmail" end mouseUp -- this handler gets called after the socket has opened on startEmail -- read the welcome message from the server read from socket socketAddr until CRLF put it & cr after fld "Log" -- send all the header stuff, checking for a response after each one -- the error checking is in the sendReceive handler sendReceive "USER " & fld "User" sendReceive "PASS " & the cHiddenPass of fld "Password" getList -- this puts a list of waiting emails into msgList repeat for each line m in msgList put "Reading email..." into fld "Status" put getMsg(msgNum) into newMsg put newMsg & cr after fld "Email" -- delete message from server -- comment this out while you're testing sendReceive "DELE " & msgNum end repeat -- close the port before closing the socket sendReceive "QUIT" close socket socketAddr setupNextCall end startEmail on setupNextCall -- set up next check, making sure to delete any leftover pending messages put the pendingMessages into pendMsg repeat for each line L in pendMsg if L contains "button ID 1013" then cancel item 1 of L end repeat send mouseUp to button ID 1013 in (fld "Check" * 60) seconds put the seconds + (fld "Check" * 60) into checkTime convert checkTime to long time put "Next check at " & checkTime into fld "Status" end setupNextCall -- this function gets the list and extracts the number of waiting emails on getList sendOnly "LIST" read from socket socketAddr until "." & CRLF put it into msgList -- delete header & footer put line 2 to -2 of msgList into msgList put msgList & cr after fld "Log" end getList -- this function retrieves the whole message if it is small enough function getMsg msgNum sendOnly "RETR " & msgNum read from socket socketAddr until "." & CRLF return it end getMsg -- this routine sends data to the server and reads the response -- POP responses always start with +OK or -ERR on sendReceive theData put "-> " & theData & cr after fld "Log" write theData & CRLF to socket socketAddr read from socket socketAddr until CRLF put it after fld "Log" if word 1 of it is not "+OK" then close socket socketAddr exit to top end if end sendReceive -- this routine is for sending only, with no response expected on sendOnly theData put "-> " & theData & cr after fld "Log" write theData & CRLF to socket socketAddr end sendOnly -- these 2 handlers are just to catch a connection failure on socketTimeOut close socket socketAddr setupNextCall exit to top end socketTimeOut on socketError sockID, errMsg close socket socketAddr setupNextCall exit to top end socketError ----------------------------- On Wednesday, July 10, 2002, at 10:21 AM, Larry Forsgren wrote: > Thanks for your reply Sarah, > > I actually did try to close the socket by sending "QUIT" to it > using the write command but that didn't change anything. > I only get a reply from the socket the first time so the quit > command is not forwarded either. I also tried to wait for the > connection to time out but I cannot access the socket again > until I restart Revolution. > Perhaps someone has a Rev example of how to use sockets > to access a mail server. > (I run this on Windows XP if that has any bearing on this). > > Larry From yvescoppe at skynet.be Tue Jul 9 22:48:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Tue Jul 9 22:48:01 2002 Subject: Editing Menu Groups In-Reply-To: References: Message-ID: >on 7/9/02 11:50 AM, Karl Petersen at karlpet at mac.com wrote: > >> At 5:44 PM -0700 7/8/02, Dan Shafer wrote: >>> I open the Menu Tool, click "edit" select the menubar in the >>> resulting list, and it shows up in the editor, but its name is >>> grayed out and none of its buttons appears in the list. The *only* >>> way I've been able to find to edit this sucker is to remove its >>> background behavior property in the property window, then edit it, >>> then set it back. Is that really how this works? >> >> That's not the normal behavior, Dan. I've never seen that. Here I'm >> allowed to edit a menubar group without first turning off its >> backgroundBehavior property. >> >> I poked around a bit trying to force the graying out of a menu, but >> had no luck. No idea what might cause that. > >I've had the same problem/experience as Dan -- if the bg behavior is checked >(on) I cannot edit the menu via the menu manager (greyed out).. I've been >editing the buttons directly on the card ("edit the script of btn "File"" >for instance), so I also appreciate the suggestion of using the AO. > I too work on mac OS X but didn't encounter the problem. if menubar is/or not checked for bg behav, I can always edit it using the menu tools...never meet a grayed out menubar name in the list I don't know why this difference although I have sometimes another problem (similar) It happens that the menubar is merely not in the list !!! and I also don't know how it happens. I delete the menubar with AO and I re-create my menubar with the menu tools..;and thne it works. Cheers. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From shaosean at unitz.ca Tue Jul 9 23:26:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Tue Jul 9 23:26:01 2002 Subject: sockets References: <003b01c22791$3157bd10$052aa8c0@LARRYS> Message-ID: <002c01c227c9$30a27c60$88b15bd1@lanfear> are you on windows? if so we've noticed that using a socket right after closing it will fail.. you'll need to give it some time in which to timeout (as was mentioned by someone else on the list.. they said to lower the socket timeout).. ----- Original Message ----- When trying to run the script again it fails until From dsc at swcp.com Wed Jul 10 00:22:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Jul 10 00:22:01 2002 Subject: sockets In-Reply-To: <002c01c227c9$30a27c60$88b15bd1@lanfear> Message-ID: <9B2134F4-93C4-11D6-9102-0050E4C0B205@swcp.com> On Tuesday, July 9, 2002, at 10:20 PM, Shao Sean wrote: > are you on windows? if so we've noticed that using a socket right after > closing it will fail.. you'll need to give it some time in which > to timeout > (as was mentioned by someone else on the list.. they said to lower the > socket timeout).. I'd like to learn more of this. (Stop that quivering, Josh.) I'm aware of tcp TIME WAIT, and this might be that, but it looks like it might be something else. Dar Scott From katir at hindu.org Wed Jul 10 00:51:01 2002 From: katir at hindu.org (Sivakatirswami) Date: Wed Jul 10 00:51:01 2002 Subject: Coerce number into numberFormatted integer--How? Message-ID: Well, developing CGI for the net on Mac OSX with Darwin on your own station really "rocks" as the kids say...thank you Scott Raney! I am in the middle of developing a mini ecommerce site for where people can purchase a coloring book in quantity... It's soooo very simple with MC/Rev Minor problem: shouldn't numberformat recognize and format a simple integer returned by a function? If I set the numberFormat to "#.00" we get: Subtotal 30.00 Shipping and handling: 8 Total 38.00 If I comment that out I will get 30 8 38 So, we can see it *is* working.. But how to coerce the simple integer that is not a result of math into the dollar format... I *can* just "fake" a calculation put (1*tShipping) into tShipping. And that works, but, hoping not to have to be doing that in the long term, as one day someone else looking at the code will be asking "What is That for?" I suppose if there is no other option we will just explain that line with a comment... And end up with two extra lines of workaround code. Shouldn't numberFormat recognize a numeric value returned by a function as a "calculation" of sorts? Script snipped below. #!mc On startup if $REQUEST_METHOD is "POST" then read from stdin until empty ## put the form data into an array put urlDecode (it) into tDataIn split tDataIn by "&" and "=" if "buyer_location" is among the lines of keys(tDataIn) then ## this is the initial selection of product/location/quantity choices ## so we process the quantity to build the order form. ## one version for all foreign orders and one version for USA/Canada set the numberformat to "#.00" put (tDataIn[quantity]*3.75) into tSubTotal put calculateShipping (tDataIn[quantity]) into tShipping put tsubtotal+tshipping into tTotal put url "file:/Users/katir/Sites/mystic_mouse/mouse_order_form.html" into tOrderForm replace "###Quantity###" with tDataIn[quantity] in tOrderForm replace "###Subtotal###" with tSubtotal in tOrderForm replace "###Shipping###" with tShipping in tOrderForm replace "###Total###" with tTotal in tOrderForm put tSubtotal & "
" & tShipping into tResponse put "Content-Type: text/html" & cr put "Content-Length:" && the length of tResponse & cr & cr put tResponse end if end startup function calculateShipping x switch case (x>4 and x<11) put 8 into tShipping break case (x>10 and x<16) put 9 into tShipping break case (x>15 and x<21) put 10 into tShipping break case (x>20 and x<26) put 11 into tShipping break case (x>25 and x<31) put 12 into tShipping break end switch return tShipping end calculateShipping ========= 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 gcanyon at inspiredlogic.com Wed Jul 10 01:00:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Jul 10 01:00:01 2002 Subject: accept on multihomed computers In-Reply-To: <23EE5D2C-939A-11D6-9102-0050E4C0B205@swcp.com> References: <23EE5D2C-939A-11D6-9102-0050E4C0B205@swcp.com> Message-ID: At 6:15 PM -0600 7/9/02, Dar Scott wrote: >Let's see. RunRev HQ is NE of my house. And my house is about NW of RunRev HQ. How can that be? It's possible for RunRev HQ to be exactly NE of you, _and_ for you to be exactly NW of them. The concepts of NW and NE define great circles (paths which circle the globe, cutting it in two equal halves). Any two great circles (that aren't the same) intersect in exactly two places. NE and NW defines two great circles that are at right angles, which means the two of them cut the globe into fourths. If RunRev HQ is at one intersection of the two great circles in Edinburgh, you must be at the other intersection, on the exact opposite side of the globe. Edinburgh is at roughly 55 degrees North Latitude 3 degrees West Longitude. The place exactly opposite of that is 55 degrees South Latitude 177 degrees East Longitude. This is roughly halfway between New Zealand and Antarctica. My globe doesn't show anything but water near there. Since you said, "about" the choice seems to be New Zealand. Of course, swcp.com is "Southwest Cyberport (SWCP), providers of quality Internet service in Albuquerque, Santa Fe, and Los Alamos, New Mexico." So I'd have to say that, riddle notwithstanding, you're in the USA. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From shaosean at unitz.ca Wed Jul 10 01:04:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Wed Jul 10 01:04:01 2002 Subject: accept on multihomed computers References: <23EE5D2C-939A-11D6-9102-0050E4C0B205@swcp.com> Message-ID: <006101c227d6$e0ab1bf0$88b15bd1@lanfear> i think someone needs a project to work on ;-) ----- Original Message ----- > This is roughly halfway between New Zealand and Antarctica. My globe doesn't show anything but water near there. Since you said, "about" the choice seems to be New Zealand. > > Of course, swcp.com is "Southwest Cyberport (SWCP), providers of quality Internet service in Albuquerque, Santa Fe, and Los Alamos, New Mexico." So I'd have to say that, riddle notwithstanding, you're in the USA. From janschenkel at yahoo.com Wed Jul 10 01:20:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Jul 10 01:20:01 2002 Subject: numberFormat woes In-Reply-To: Message-ID: <20020710061703.15093.qmail@web11904.mail.yahoo.com> Steve Messimer and Sivakatirswami both had questions/remarks regarding the numberFormat. It wasn't always behaving properly for me either, which is why I switched to using the 'format' command. It's quite flexible indeed, though its C-inherited syntax is a bit awkward at first. I'm using that to put formatted data from cursors into a list field, as RR has no tables -- and it works great, so have a go at it :-) Best regards, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From peter.fink at tiscali.ch Wed Jul 10 02:57:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Wed Jul 10 02:57:01 2002 Subject: numberFormat prop In-Reply-To: Message-ID: <3CDAA30200014E7D@flu-stateless-01.tiscalinet.ch> > >Rob, > >>> Anybody know how to set the decimal precision of a numeric value? I have >>> looked through the docs but I can't seem to find the reference. >> >> Hi Steve, >> >> Did you check the numberFormat property? > thats easy, fields do not have a numberFormat property. It works as follows: set the numberFormat to "0.00" put (numeric expression) into fld "xy" set the numberFormat to "0.000" add 0 to fld "xy" set the numberFormat to "0.0000" put fld "xy"+0 into fld "xy" set the numberFormat to "0.00000" put (numeric expression) & "" into variable true, at least it worked this way in Hypercard (see p. 442). Peter From ro.nagey at verizon.net Wed Jul 10 02:57:23 2002 From: ro.nagey at verizon.net (Ro Nagey) Date: Wed Jul 10 02:57:23 2002 Subject: The sound of silence In-Reply-To: <23EE5D2C-939A-11D6-9102-0050E4C0B205@swcp.com> Message-ID: OK, being the moron I am, I am having trouble deciphering how to play a sound. I imported a sound into my stack "curly.wav" There's a button that says: -- on mouseup play audioclip "curly.wav" answer the result end mouseup the result is random and increasing I can create a playercontrol with an external sound and have a btn that works: on mouseup start player "playit" end mouseup but that doesn't take care of the internal sound. So, quite obviously, I am missing something wrong...and, no doubt, obvious. What am I missing...how do I play a sound I've imported into the stack? TIA, Ro Nagey From chipp at chipp.com Wed Jul 10 04:28:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Wed Jul 10 04:28:01 2002 Subject: The sound of silence In-Reply-To: Message-ID: play audioclip "curly.wav" works for me. Are you sure the name of the clip is "curly.wav" Use the Application Overview to check. Speakers plugged in ;-) > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ro Nagey > Sent: Tuesday, July 09, 2002 8:26 PM > To: use-revolution at lists.runrev.com > Subject: The sound of silence > > > OK, being the moron I am, I am having trouble deciphering how to play a > sound. > > I imported a sound into my stack "curly.wav" > > There's a button that says: -- > on mouseup > play audioclip "curly.wav" > answer the result > end mouseup > > the result is random and increasing > > I can create a playercontrol with an external sound and have a btn that > works: > on mouseup > start player "playit" > end mouseup > > but that doesn't take care of the internal sound. > > So, quite obviously, I am missing something wrong...and, no > doubt, obvious. > > What am I missing...how do I play a sound I've imported into the stack? > > TIA, > Ro Nagey > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus.major at metascape.org Wed Jul 10 05:08:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Jul 10 05:08:01 2002 Subject: The sound of silence In-Reply-To: Message-ID: Hi Ro and Chipp, this is an excerpt from a conversation i had with Mr. Scott Raney, concerning "play ac..." an players... It may help... > > 2. (windows only) > One cannot use quicktime(-players) and "play ac xxx" together. > Of course not together at the same time but you can't mix them. > Multisounds with QT or single-sound with "play..." > Even the (system) "beep" command does not work then. > > Right ? > >> Right. > > Looks like QT is taking over the universe ;-) > >> QT *will* play most sound files with "play vc xxx" and will mix when >> required, though you can only have one ac playing at a time. Hope this helps. Regards Klaus Major klaus.major at metascape.org From roja at dds.nl Wed Jul 10 05:23:01 2002 From: roja at dds.nl (John Roos) Date: Wed Jul 10 05:23:01 2002 Subject: Using XCMDs/XCFNs in Revolution Message-ID: I've used HyperCard a lot in the past, and have recently started working with Revolution. In my HyperCard stacks, I've used a lot of XCMDs/XCFNs, and I would like to keep using them. However, I haven't been able yet to get them to work. What I've done so far is create a main stack in Revolution and then use ResEdit to copy the XCMD/XCFN into the .rev file that Revolution creates. From what I've read so far, this should be enough, but it doesn't really work for me. Here's a simple example that doesn't work for me. I created a stack in Revolution with just a field with some text, and a button. The button's script contains this: on mouseup put CaseChange(field 1,u) into field 1 end mouseup I copied the CaseChange XFCN (from Rinaldi) to my stack using ResEdit, but the result when I click the button is that the text in the field is cleared. The external should convert the text in the field to upper case. (BTW, this is just an example. I know that this can be easily coded using Transcript. It's just to show what happens when I try to use an external.) Something similar happens when I use Rinaldi's FullFind XFCN. Another XCMD that I've tried didn't work either. Is this to be expected? Do a lot of externals not work with Revolution? Or am I doing something wrong? From gbrucelewis at sympatico.ca Wed Jul 10 05:28:01 2002 From: gbrucelewis at sympatico.ca (Bruce Lewis) Date: Wed Jul 10 05:28:01 2002 Subject: Icon Editor in Rev Message-ID: Jeanne, Can I turn off the throbbing in the box that appears in the stack window. It is torture. Bruce > >Is the magnify window adequate for this? (Set the image's magnify to true.) > >-- >Jeanne A. E. DeVoto ~ jeanne at runrev.com >Runtime Revolution Limited - The Solution for Software Development >http://www.runrev.com/ > From peter.fink at tiscali.ch Wed Jul 10 05:42:00 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Wed Jul 10 05:42:00 2002 Subject: script editor @\[ ] on non-english keyboard Message-ID: <3D0D86C400007BE0@flu-stateless-02.tiscalinet.ch> - I cant type the following characters in the script editor. In a text field however (and elsewhere) it works. @ \ | [ ] { } these characters have to be typed locally with the Alt Gr modifier, or with ctrl+alt. - Additionally, pressing Alt Gr opens the script editor (seemingly half the time only, or Alt Gr 2x) in addition to placing the character in the field. - my keyboard is swiss-german Deutsch (Schweiz) where those characters are on Alt Gr positions. The same phenomen is also on the FRG-german keyboard setting Deutsch (Standard) where all the characters are on different positions (but all with Alt Gr). This is on Windows. Peter From drvaughan55 at mac.com Wed Jul 10 06:49:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Wed Jul 10 06:49:01 2002 Subject: Using XCMDs/XCFNs in Revolution In-Reply-To: Message-ID: On Wednesday, July 10, 2002, at 08:20 , John Roos wrote: > I've used HyperCard a lot in the past, and have recently started working > with Revolution. In my HyperCard stacks, I've used a lot of > XCMDs/XCFNs, and > I would like to keep using them. John This does not directly answer your question, and how you read it depends a bit on whether you are developing Rev solely for yourself on a Mac or have broader possibilities... Reiterating a conversation on this list from early this year, if you are new to Rev then I really encourage you to try flying without the XCMDs. With a bit of digging among the new (HC-superset) features, you will be amazed at both the capability and speed of Rev. I speak from experience in that I quite deliberately chose not to rely on XCMDs when moving from HC to Rev, even though I had some 200 catalogued in my library and had written more than half of those myself. I have not regretted that bit of cold turkey but have learned faster in consequence. You may have a particular need and the XCMDs you have mentioned may be just perfect so don't let me put you off. However, you did say you were relatively new to Rev and I have inferred from that that you have some ground to explore in the language. Try it without the old HC expectations and I am confident you will enjoy it a lot. regards David From karlpet at mac.com Wed Jul 10 07:56:01 2002 From: karlpet at mac.com (Karl Petersen) Date: Wed Jul 10 07:56:01 2002 Subject: Functionkey In-Reply-To: <288896E4-9391-11D6-9715-000393A36278@littontech.com> References: <288896E4-9391-11D6-9715-000393A36278@littontech.com> Message-ID: At 4:11 PM -0700 7/9/02, Larry Litton wrote: >I have a simple script that doesn't seem to work in OSX! I'm using >the "Functionkey" function to intercept the function keys. I use a >group of 60 cards to allow outputting up to 32000+ characters >depending on the function key pushed. If the F10 key or above is >pushed, it becomes a 2 stroke function, giving me 60 Fkeys. The >functionkey function seems to be skipped and works for the default >OSX function. Anyone using the functionkey routine? No experience here with functionKeys in Mac OS X, but in Mac OS 9 Rev doesn't send a functionKey message for the keys F13 through F15. You must use a rawKeyDown handler instead to trap those keys. If your functionKey handler works correctly for F10-F12 but not F13-F15, that may be the cause. Here are their key codes: F13 = 65377 F14 = 65300 F15 = 65299 Karl From roja at dds.nl Wed Jul 10 08:15:01 2002 From: roja at dds.nl (John Roos) Date: Wed Jul 10 08:15:01 2002 Subject: Drag and drop file from Finder in a field? Message-ID: I was wondering if it is possible in Revolution to drag and drop a file from the Finder onto a field in a stack after which the contents of the field are set to the full path of the file dropped onto it. I'm working with OS X. Thanks - John From ludovic.thebault at laposte.net Wed Jul 10 08:24:00 2002 From: ludovic.thebault at laposte.net (Ludovic Thebault) Date: Wed Jul 10 08:24:00 2002 Subject: Drag and drop file from Finder in a field? References: Message-ID: <3D2C34F3.8070709@laposte.net> John Roos wrote: > I was wondering if it is possible in Revolution to drag and drop a file from > the Finder onto a field in a stack after which the contents of the field are > set to the full path of the file dropped onto it. I'm working with OS X. > Thanks - John > Download the external collection to do it : From roja at dds.nl Wed Jul 10 09:18:01 2002 From: roja at dds.nl (John Roos) Date: Wed Jul 10 09:18:01 2002 Subject: Drag and drop file from Finder in a field? In-Reply-To: <3D2C34F3.8070709@laposte.net> Message-ID: > John Roos wrote: >> I was wondering if it is possible in Revolution to drag and drop a file from >> the Finder onto a field in a stack after which the contents of the field are >> set to the full path of the file dropped onto it. I'm working with OS X. >> Thanks - John >> > > Download the external collection to do it : > ction.html> Many thanks for pointing me into the right direction. I've tried it and it works fine! From dsc at swcp.com Wed Jul 10 10:37:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Jul 10 10:37:01 2002 Subject: accept on multihomed computers In-Reply-To: Message-ID: <7F13157C-941A-11D6-94EC-0050E4C0B205@swcp.com> On Tuesday, July 9, 2002, at 11:57 PM, Geoff Canyon wrote: > At 6:15 PM -0600 7/9/02, Dar Scott wrote: >> Let's see. RunRev HQ is NE of my house. And my house is about >> NW of RunRev HQ. How can that be? > > It's possible for RunRev HQ to be exactly NE of you, _and_ for you > to be exactly NW of them. ... > This is roughly halfway between New Zealand and Antarctica. My > globe doesn't show anything but water near there. Since you said, > "about" the choice seems to be New Zealand. There is another solution near British Columbia, Canada. (Do we know anybody there?) The latitude should be the same as Edinburg, but I don't know a quick way to get the longitude. The "about" makes this riddle apply to just about any place in western North America including New Mexico and California. Oh, yeah, and New Zealand and Australia. Follow the great circle going NW from Edinburgh. Shortly, you are going WNW. After you pass Greenland, you are going west. At some point near BC you are going SW. You cross the equator going SSW. Near the Tasman Basin (by Australia and New Zealand) you are going SW again. In the southern Indian Ocean you are going west and then NW. You cross the equator near western Africa going NNW. When you get back to Edinburg, you are going NW again. You may stop. The solutions are those that have the direction SW, since the opposite direction is NE. Now, my other question? Dar Scott From dsc at swcp.com Wed Jul 10 11:06:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Jul 10 11:06:01 2002 Subject: Coerce number into numberFormatted integer--How? In-Reply-To: Message-ID: <8FE80B52-941E-11D6-94EC-0050E4C0B205@swcp.com> On Tuesday, July 9, 2002, at 11:47 PM, Sivakatirswami wrote: > So, we can see it *is* working.. But how to coerce the simple > integer that > is not a result of math into the dollar format... I *can* just "fake" a > calculation put (1*tShipping) into tShipping. And that works, but, > hoping > not to have to be doing that in the long term, as one day someone else > looking at the code will be asking "What is That for?" I suppose > if there is > no other option we will just explain that line with a comment... > And end up > with two extra lines of workaround code. First the creation of dollar strings You can make a few functions called dollar and dollarComma and dollarCommaSign, or some better names you think up. The first simply uses round to round to two digits; it is for math. Use it on the result of every every multiply involving money. For display or output always use dollarComma and dollarCommaSign. The first adds 0 to force to number, uses numberFormat and, say, "& empty" to force to string and then adds the commas for multiples of $1,000. The second takes that and adds $. You might want dollarComma to throw if the arg is not a number. If you want to make sure functions return money, insert the appropriate function into your return commands. Comments about numberFormat are only in one place. The next I would do is ask how that 8 got there. Shouldn't that process have put it into the form you want? (If you use the above functions for display, it shouldn't matter though.) Applying numberFormat to every return would require math functions we write to have to set numberFormmat every time and would use up cpu cycles for every return and for every use of functions. Dar Scott From dsc at swcp.com Wed Jul 10 11:14:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Jul 10 11:14:01 2002 Subject: numberFormat prop In-Reply-To: <3CDAA30200014E7D@flu-stateless-01.tiscalinet.ch> Message-ID: On Tuesday, July 9, 2002, at 02:58 PM, peter.fink at tiscali.ch wrote: > thats easy, fields do not have a numberFormat property. Ah, but maybe you can make one! And a number property, too, of course, to set and get the number. Add a few more handlers for events to handle input and (tah-dah) a numeric field! Dar Scott From dsc at swcp.com Wed Jul 10 11:20:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Jul 10 11:20:01 2002 Subject: sockets In-Reply-To: <003b01c22791$3157bd10$052aa8c0@LARRYS> Message-ID: <65BECC98-9420-11D6-94EC-0050E4C0B205@swcp.com> On Tuesday, July 9, 2002, at 03:40 PM, Larry Forsgren wrote: > When trying to run the script again it fails until > I restart revolution. Any chance your mailserver is the same computer? And on Windows? If so, I may have run into something similar. Dar Scott From mazzapaolo at libero.it Wed Jul 10 11:48:01 2002 From: mazzapaolo at libero.it (paolo mazza) Date: Wed Jul 10 11:48:01 2002 Subject: Export snapshots In-Reply-To: <200207071435.KAA11410@www.runrev.com> Message-ID: I want to get from Rev a jpg file of the card on top of my application. After some attempts, I came up with this script (which it works): on MouseUP put the rect of this stack into FINESTRA import snapshot from rect FINESTRA put the number of images of this stack into NUMIMM export image NUMIMM to URL "binfile:immagine1.jpg" as JPEG delete image NUMIMM choose browse tool end MouseUP Is there any easier way to accomplish the same task? From mazzapaolo at libero.it Wed Jul 10 11:48:28 2002 From: mazzapaolo at libero.it (paolo mazza) Date: Wed Jul 10 11:48:28 2002 Subject: Send to finder In-Reply-To: <200207100658.CAA02324@www.runrev.com> Message-ID: How can I send a command "control+shift+3" to the finder? A kind of: on MouseUp send "control+shift+3" to program finder end MouseUp or on MouseUp send "control+shift+3" to program applescript end MouseUp I need this peace of script to open the program "Snapz Pro" from Rev and let this program to record a Quicktime movie of the animation is running on the window on top of my stack. Any of you ever tryed to use Rev and "Snapz Pro" together? From jacque at hyperactivesw.com Wed Jul 10 11:52:01 2002 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed Jul 10 11:52:01 2002 Subject: Coerce number into numberFormatted integer--How? References: <200207100658.CAA02251@www.runrev.com> Message-ID: <3D2C6573.4020502@hyperactivesw.com> On 7/10/02 1:58 AM, Sivakatirswami wrote: > > But how to coerce the simple integer that > is not a result of math into the dollar format... I *can* just "fake" a > calculation put (1*tShipping) into tShipping. And that works, but, hoping > not to have to be doing that in the long term, Numberformat only operates on the result of a calculation, and some type of math is required before numberformat will kick in. That's how HyperCard works too. Sometimes it is necessary to force a fake calculation, for example when formatting numbers typed into a field ("add 0 to me" in a closefield handler), but most of the time there is usually some kind of calculation going on in the script anyway; the secret is just to place the numberformat command before any of the calculations happen. Sometimes just placing the numberformat instruction at the top of the handler is all it takes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rcozens at pon.net Wed Jul 10 12:03:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Jul 10 12:03:01 2002 Subject: Coerce number into numberFormatted integer--How? In-Reply-To: <8FE80B52-941E-11D6-94EC-0050E4C0B205@swcp.com> References: <8FE80B52-941E-11D6-94EC-0050E4C0B205@swcp.com> Message-ID: >>So, we can see it *is* working.. But how to coerce the simple integer that >>is not a result of math into the dollar format... I *can* just "fake" a >>calculation put (1*tShipping) into tShipping. And that works, but, hoping >>not to have to be doing that in the long term, as one day someone else >>looking at the code will be asking "What is That for?" I suppose if there is >>no other option we will just explain that line with a comment... And end up >>with two extra lines of workaround code. > >First the creation of dollar strings > >You can make a few functions called dollar and dollarComma and >dollarCommaSign, or some better names you think up. Dar, et al: OR, as I eMailed Sivakatirswami privately this morning, you can request a "pre-prerelease" version of The Serendipity Library: >> FYI, my soon-to-be-prereleased Revolution library includes handlers to: * Convert numbers stored in "generic format" to a display format selected by the user. * Convert numeric user input into the selected display format. * > Pad or strip (w/rounding) trailing decimal digits to a specified precision. < * Strip a number formatted for display, converting it to a "generic format" for storage. * Validate user input is numeric. It also includes a dialog stack to set a mainstack's number format property, which specifies currency symbol (leading/trailing), thousands separator, and decimal separator. The library will be released for free distribution when testing & documentation are completed. The above routines have been completed & tested; however documentation is not finished yet. If you would like a pre-prerelease version, I would be happy to provide it to you. << Any other interested parties should 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 mark_mitchell at kmug.org Wed Jul 10 12:03:09 2002 From: mark_mitchell at kmug.org (Mark Mitchell) Date: Wed Jul 10 12:03:09 2002 Subject: Put into URL In-Reply-To: <200207051601.MAA27955@www.runrev.com> References: <200207051601.MAA27955@www.runrev.com> Message-ID: OK, I'm going to ask this question on the list one more time before I bug the poor folks at rev. On OSX, the command put "my mothers nose" into URL "file:xxxxxx" where the 'file' is an RTF file, creates a NEW RTF file with the content "my mothers nose" and retains the old RTF file with the previous content. Is this correct behaviour? It's a bit of a pain (sarcasm) as one rapidly creates hundreds of new files this way. (PS Thanks Sahra for the input on the file extensions, but it doesn't address the essential problem of creating all these new files.) mark mitchell Japan From scott at tactilemedia.com Wed Jul 10 12:23:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Jul 10 12:23:01 2002 Subject: The sound of silence In-Reply-To: Message-ID: Recently, "Ro Nagey" wrote: > I imported a sound into my stack "curly.wav" > > There's a button that says: -- > on mouseup > play audioclip "curly.wav" > answer the result > end mouseup > > the result is random and increasing You might want to check the sampling/bit rate of the file as well. While sound editors can play pretty much any sound file, MC/Rev is more picky. Make sure your files use standard sampling rates such as 44k, 22k, 11k and bit rates of 8 bit and 16 bit. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ro.nagey at verizon.net Wed Jul 10 12:27:01 2002 From: ro.nagey at verizon.net (Ro Nagey) Date: Wed Jul 10 12:27:01 2002 Subject: The sound of silence In-Reply-To: Message-ID: You can imagine how embarrassing it is to say "I can't play a sound"... Using Windows 98, I played the sound from the desktop, using WinAmp...works fine. I import the sound. Tried playing the sound. Nothing. Exited RunRev, restarted, and clicked the button...nothing. When I 'put the result' it gives a number that *might* represent the seconds since the button was last pressed. Just for the fun of it, I created a SECOND btn that had the same script. It, too, returns a result that is always increasing and, apparently, in relation to the result returned from the first btn. > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Chipp Walters > Sent: Tuesday, July 09, 2002 11:25 PM > To: use-revolution at lists.runrev.com > Subject: RE: The sound of silence > > > play audioclip "curly.wav" > > works for me. Are you sure the name of the clip is "curly.wav" > > Use the Application Overview to check. > Speakers plugged in ;-) > > > > > -----Original Message----- > > From: use-revolution-admin at lists.runrev.com > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ro Nagey > > Sent: Tuesday, July 09, 2002 8:26 PM > > To: use-revolution at lists.runrev.com > > Subject: The sound of silence > > > > > > OK, being the moron I am, I am having trouble deciphering how to play a > > sound. > > > > I imported a sound into my stack "curly.wav" > > > > There's a button that says: -- > > on mouseup > > play audioclip "curly.wav" > > answer the result > > end mouseup > > > > the result is random and increasing > > > > I can create a playercontrol with an external sound and have a btn that > > works: > > on mouseup > > start player "playit" > > end mouseup > > > > but that doesn't take care of the internal sound. > > > > So, quite obviously, I am missing something wrong...and, no > > doubt, obvious. > > > > What am I missing...how do I play a sound I've imported into the stack? > > > > TIA, > > Ro Nagey > > > > _______________________________________________ > > 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 ro.nagey at verizon.net Wed Jul 10 12:27:08 2002 From: ro.nagey at verizon.net (Ro Nagey) Date: Wed Jul 10 12:27:08 2002 Subject: The sound of silence In-Reply-To: Message-ID: Not running a QT movie....just trying to play a sound. Thanks. Ro > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Klaus Major > Sent: Wednesday, July 10, 2002 12:01 AM > To: use-revolution at lists.runrev.com > Subject: Re: The sound of silence > > > Hi Ro and Chipp, > > > this is an excerpt from a conversation i had with Mr. Scott Raney, > concerning "play ac..." an players... > > It may help... > > > > > 2. (windows only) > > One cannot use quicktime(-players) and "play ac xxx" together. > > Of course not together at the same time but you can't mix them. > > Multisounds with QT or single-sound with "play..." > > Even the (system) "beep" command does not work then. > > > > Right ? > > > >> Right. > > > > Looks like QT is taking over the universe ;-) > > > >> QT *will* play most sound files with "play vc xxx" and will mix when > >> required, though you can only have one ac playing at a time. > > Hope this helps. > > > 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 ro.nagey at verizon.net Wed Jul 10 12:27:15 2002 From: ro.nagey at verizon.net (Ro Nagey) Date: Wed Jul 10 12:27:15 2002 Subject: The learning curve is the burning curve In-Reply-To: <3D2C6573.4020502@hyperactivesw.com> Message-ID: As if being unable to play a sound isn't embarrassing enough... I tried the "send" vs. "idle" example...called "updateClock"...watched the time get placed in the field...sat around...and nothing. Getting the feeling that I can't do anything right... Ro From yvescoppe at skynet.be Wed Jul 10 12:42:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Wed Jul 10 12:42:01 2002 Subject: Strip Message-ID: Hi, I get a problem with filter command I have a fld with lines. some lines end with "(*)" something like : xxx xxxxxx xxx xxx xxx (*) xxx xxxxxx xxx xxx xxxxxx (*) xxx xxxxxx xxxX I'd like to strip the "(*)" at the end of the lines so I write put fld "myData" into tData filter tData with ?????? Heer I need your help. I don't find the trick !! Thank you for your help. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From kray at sonsothunder.com Wed Jul 10 12:49:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Wed Jul 10 12:49:01 2002 Subject: The learning curve is the burning curve References: Message-ID: <039601c22839$23b50cf0$6401a8c0@mckinley.dom> Ro, Here's a simple "send" script that puts the current time into a field: (I made this the script of a button, but you can change it to anything you like): on mouseUp send updateClock to me in 10 milliseconds end mouseUp on updateClock put the long time into field 1 send updateClock to me in 500 milliseconds end updateClock Does this help? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Ro Nagey" To: Sent: Wednesday, July 10, 2002 12:14 PM Subject: The learning curve is the burning curve > > As if being unable to play a sound isn't embarrassing enough... > > I tried the "send" vs. "idle" example...called "updateClock"...watched the > time get placed in the field...sat around...and nothing. > > Getting the feeling that I can't do anything right... > > Ro > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus.major at metascape.org Wed Jul 10 12:51:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Jul 10 12:51:01 2002 Subject: Strip In-Reply-To: Message-ID: <94C02B2E-942C-11D6-A37F-003065D52E8E@metascape.org> Bonsoir Yves, > Hi, > > I get a problem with filter command > > I have a fld with lines. > some lines end with "(*)" > > something like : > xxx xxxxxx xxx > xxx xxx (*) > xxx xxxxxx xxx > xxx xxxxxx (*) > xxx xxxxxx xxxX > > > I'd like to strip the "(*)" at the end of the lines > > so I write > > put fld "myData" into tData > filter tData with ?????? > > Heer I need your help. I don't find the trick !! > Thank you for your help. > -- Greetings. > > Yves COPPE try this ... put fld "myData" into tData repeat for each line l in tData if char -3 to -1 of l is not "(*)" then put l & CR after cleanedup end if end repeat put cleanedup into fld "tData" ... Is billion times faster than parsing the field and deleting these chars in the field directly. Au revoir Klaus Major klaus.major at metascape.org From chipp at chipp.com Wed Jul 10 12:57:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Wed Jul 10 12:57:01 2002 Subject: Export snapshots In-Reply-To: Message-ID: on MouseUP import snapshot from rect (rect of this stack) export last image to URL "binfile:immagine1.jpg" as JPEG delete image NUMIMM choose browse tool end MouseUP This is two lines shorter...and I believe will work. From klaus.major at metascape.org Wed Jul 10 13:21:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Wed Jul 10 13:21:01 2002 Subject: Export snapshots In-Reply-To: Message-ID: Hi Chipp, > on MouseUP > import snapshot from rect (rect of this stack) > export last image to URL "binfile:immagine1.jpg" as JPEG > delete image NUMIMM > choose browse tool > end MouseUP > > This is two lines shorter...and I believe will work. It will if you replace "delete image NUMIMM" with "delete last image" ;-) Best Klaus Major klaus.major at metascape.org From larry at rmg.net Wed Jul 10 14:31:00 2002 From: larry at rmg.net (Larry Forsgren) Date: Wed Jul 10 14:31:00 2002 Subject: sockets Message-ID: <009901c22847$fabfad50$052aa8c0@LARRYS> Dar scott Unfortunately not. The mail server is on Unix (and I have tried a few which give the same result) and the client is on Windows XP. I can open the socket and read the welcome from the mail server but not access the socket with any command after that. It times out and nothing else happens. When I check the socket it is reported as still open. Larry > When trying to run the script again it fails until > I restart revolution. >Any chance your mailserver is the same computer? And on Windows? >If so, I may have run into something similar. >Dar Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From harrison at all-auctions.com Wed Jul 10 14:37:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Wed Jul 10 14:37:01 2002 Subject: Send to finder In-Reply-To: Message-ID: on 7/10/2002 12:59 PM, paolo mazza at mazzapaolo at libero.it wrote: > How can I send a command "control+shift+3" to the finder? > > A kind of: > on MouseUp > send "control+shift+3" to program finder > end MouseUp > or > on MouseUp > send "control+shift+3" to program applescript > end MouseUp > > I need this peace of script to open the program "Snapz Pro" from Rev and let > this program to record a Quicktime movie of the animation is running on the > window on top of my stack. > Any of you ever tryed to use Rev and "Snapz Pro" together? > I think what you need to do is to have Rev run an applescript which sends the control+shift+3 asc equivalent to the finder. Good luck, Rick Harrison From larry at rmg.net Wed Jul 10 14:44:02 2002 From: larry at rmg.net (Larry Forsgren) Date: Wed Jul 10 14:44:02 2002 Subject: sockets Message-ID: <00a601c22849$c4ceb540$052aa8c0@LARRYS> Correct, server contains "mailsever:110". I logged the results to a field but it came up empty. The sysError is 0 which I don?t know what it means. The actual code as it looks currently is below. It does not matter if I change to a different mail server. on revPOP_connect # Description..: connects to the mail account # Parameter...: "server, user, losen" set socketTimeoutInterval to 1000 put item 1 of param(1) & ":110" into server put item 2 of param(1) into user put item 3 of param(1) into losen open socket server read from socket server until linefeed if offset("+OK",it) is zero then answer the sysError close socket server answer "No connection!" else put "Connected to" && server & return into field id 1004 write "USER" && user to socket server read from socket server until linefeed put return & it after field id 1004 end if end revPOP_connect Larry >> I need a bit of assistance on sockets. Trying something like >> >> open socket "mailserver:110" >> read from socket server until linefeed >> answer it >> close socket "mailserver:110" >> >I assume server contains "mailserver:110". >You can set up some diagnostics. After each socket command, log >the result, the sysError, and the openSockets to a field. Make >handlers for socketError and socketClosed and log those calls, >too. You might as well log the data from read while you are at it. >This can give you a "heads up" that might indicate the problem or >provide details to send to the list. >Dar Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsc at swcp.com Wed Jul 10 15:03:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Jul 10 15:03:01 2002 Subject: sockets In-Reply-To: <009901c22847$fabfad50$052aa8c0@LARRYS> Message-ID: <9A8AFEF2-943F-11D6-94EC-0050E4C0B205@swcp.com> On Wednesday, July 10, 2002, at 01:28 PM, Larry Forsgren wrote:? > Unfortunately not. The mail server is on Unix (and I have tried a few > which give the same result) and the client is on Windows XP. I can open > the socket and read the welcome from the mail server but not access > the socket with any command after that. It times out and nothing > else happens. > When I check the socket it is reported as still open. By openSockets()? By netstat? ... > >Any chance your mailserver is the same computer?? And on Windows? > > >If so, I may have run into something similar. Is the mail server on the same LAN? I have seen the same symptoms on an XP client to LAN server that I have with W2K to same computer. I think the problem is related to a fast response. How fast is your XP compared to your net? At the same open where I can't write in the problem I'm seeding, I also don't get an open callback. The socketID is in openSockets and the other end thinks it is open and my realtime tcp watcher thinks it is open. Callback failure is so much easier than checking write, that I use it as the primary indicator for this problem. On my XP I found that my stack would work just fine for a connection out on the Internet but would fail in this manner on my LAN. Is that something you can check? OK. This next one is weird, but it won't take long. This happens on my Windows 2000 computers. Each time before you click the button to run your test, grab the title bar of the window with the mouse and move the window a little bit. Then click the button to run the test. If that makes it work, then it is probably the same problem. If not, we don't know. Of course, it may be something else. Put in your diagnostics and let us know what the results are like. Dar Scott From Zzyzx at Relia.Net Wed Jul 10 15:26:00 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Wed Jul 10 15:26:00 2002 Subject: Always on Top? And Disabling Stuff Message-ID: <000e01c2284f$96c11980$1501000a@xhead> Hello, I made a stack, that opens up games, etc. It works, so I put it into a Standalone. I ran it, worked good (Except that the boxes are all White, anyone know why?) Then, when I exited the game, it went back to the normal windows desktop. Is there a "Always on Top" option at all? Also, is there a way to disable certain keys? I would like to disable Windows + D, Alt + Tab, Alt + F4, and some others. Any ideas? - Josh Dye From shaosean at unitz.ca Wed Jul 10 15:38:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Wed Jul 10 15:38:01 2002 Subject: sockets References: <00a601c22849$c4ceb540$052aa8c0@LARRYS> Message-ID: <006c01c22850$e7a01d00$88b15bd1@lanfear> > write "USER" && user to socket server try: write "USER" && user & CRLF to socket server remember you need to send the CRLF at the end of every command (just like SMTP).. From kkaufman at snet.net Wed Jul 10 15:38:15 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Wed Jul 10 15:38:15 2002 Subject: Put into URL Message-ID: <9867E97A-9444-11D6-9C7D-00039348A1E6@snet.net> Mark, This is probably not the answer you were looking for, but you could check for the existence of an old rtf file first: if there is a file "my_mothers_nose.rtf" then delete file "my_mothers_nose.rtf" end if -before creating a new "my_mothers_nose.rtf". -Kurt From dsc at swcp.com Wed Jul 10 15:50:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Jul 10 15:50:01 2002 Subject: sockets In-Reply-To: <00a601c22849$c4ceb540$052aa8c0@LARRYS> Message-ID: <424DD559-9446-11D6-94EC-0050E4C0B205@swcp.com> On Wednesday, July 10, 2002, at 01:41 PM, Larry Forsgren wrote: > Correct, server contains "mailsever:110". > I logged the results to a field but it came up empty. > The sysError is 0 which I don?t know what it means. > The actual code as it looks currently is below. > It does not matter if I change to a different mail server. > ? > on revPOP_connect > ? # Description..: connects to the mail account > ? # Parameter...: "server, user, losen" > ? set socketTimeoutInterval to 1000 > ? put item 1 of param(1) & ":110" into server > ? put item 2 of param(1) into user > ? put item 3 of param(1) into losen > ? open socket server > ? read from socket server until linefeed > ? if offset("+OK",it) is zero then > ???? answer the sysError > ???? close socket server > ???? answer "No connection!" > ?? else > ???? put "Connected to" && server & return into field id 1004 > ???? write "USER" && user to socket server > ???? read from socket server until linefeed > ???? put return & it after field id 1004 > ? end if > end revPOP_connect > The sysError is meaningful in some cases (all sockets) if result is not empty. For this case it will be a Winsock error code. You may need to step back and do a little more on diagnostics. Add a multiline field named "log", maybe with a scrollbar. (I would also make a test button on a different card that does the bare i/o, but you can do this in your code if you want.) Add this: on clearLog put empty into field "log" -- clear base for long seconds if you add that later end clearLog on logIt loggedEvent -- add putting long seconds delta into log if you want -- add other info if you want put loggedEvent & linefeed after field "log" -- add openSockets if you want -- add something to force scrolling if you want end logIt on logResult loggedEvent, resultVal, sysErrVal logIt loggedEvent & " " \ & "result = " & quote & resultVal & quote & " " \ & "sysErro = " & sysErrVal end logIt on socketError socketID, errorString logIt "socketError " & socketID & " error = " & quote & errorString & quote end socketError on socketClosed socketID logIt "socketClosed " & socketID end socketClosed on socketTimeOut socketID logIt "socketTimeOut " & socketID end socketTimOut Those are off the top of my head and may have errors. Put them in the path where they will be found for callbacks. The stack should work. Call clearLog at the top of your handler. You can call it from a button instead; if you do you still might want to set the timer offset at the top of your handler. Call the logResult after EVERY socket command with the appropriate parameters, like this: logResult "open", the result, the sysError Use logIt to log the results of read, what you write and so on. If you add the timer, use it whenever you need to log the timer value. Send results to the list. Dar Scott From dcragg at lacscentre.co.uk Wed Jul 10 16:13:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed Jul 10 16:13:01 2002 Subject: Strip In-Reply-To: References: Message-ID: At 3:57 pm +0200 10/7/02, Yves Copp? wrote: >Hi, > >I get a problem with filter command > >I have a fld with lines. >some lines end with "(*)" > >something like : >xxx xxxxxx xxx >xxx xxx (*) >xxx xxxxxx xxx >xxx xxxxxx (*) >xxx xxxxxx xxxX > > >I'd like to strip the "(*)" at the end of the lines How about: put cr after field x replace "(*)" & cr with cr in field x delete char -1 of field x Cheers Dave From kray at sonsothunder.com Wed Jul 10 16:43:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Wed Jul 10 16:43:01 2002 Subject: Strip References: Message-ID: <041801c22859$db41acf0$6401a8c0@mckinley.dom> Dave, How about a little shorter version: replace "(*)" & cr with cr in field x if char -1 of field x is cr then delete char -1 of field x -- of course, this is only if one wants to remove a trailing cr... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Dave Cragg" To: Sent: Wednesday, July 10, 2002 3:12 PM Subject: Re: Strip > At 3:57 pm +0200 10/7/02, Yves Copp? wrote: > >Hi, > > > >I get a problem with filter command > > > >I have a fld with lines. > >some lines end with "(*)" > > > >something like : > >xxx xxxxxx xxx > >xxx xxx (*) > >xxx xxxxxx xxx > >xxx xxxxxx (*) > >xxx xxxxxx xxxX > > > > > >I'd like to strip the "(*)" at the end of the lines > > How about: > > put cr after field x > replace "(*)" & cr with cr in field x > delete char -1 of field x > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dcragg at lacscentre.co.uk Wed Jul 10 18:37:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Wed Jul 10 18:37:01 2002 Subject: Strip In-Reply-To: <041801c22859$db41acf0$6401a8c0@mckinley.dom> References: <041801c22859$db41acf0$6401a8c0@mckinley.dom> Message-ID: At 4:36 pm -0500 10/7/02, Ken Ray wrote: >Dave, > >How about a little shorter version: > > replace "(*)" & cr with cr in field x > if char -1 of field x is cr then delete char -1 of field x > >-- of course, this is only if one wants to remove a trailing cr... If the last line ends with "(*)", without a trailing cr the replace won't work. So I added one, just in case, and removed it later. >> put cr after field x >> replace "(*)" & cr with cr in field x >> delete char -1 of field x Cheers Dave From yvescoppe at skynet.be Wed Jul 10 18:38:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Wed Jul 10 18:38:01 2002 Subject: Strip In-Reply-To: <94C02B2E-942C-11D6-A37F-003065D52E8E@metascape.org> References: <94C02B2E-942C-11D6-A37F-003065D52E8E@metascape.org> Message-ID: >Bonsoir Yves, > >try this > >... >put fld "myData" into tData > repeat for each line l in tData > if char -3 to -1 of l is not "(*)" then > put l & CR after cleanedup > end if > end repeat >put cleanedup into fld "tData" >... > >Is billion times faster than parsing the field and deleting >these chars in the field directly. > > >Au revoir > > >Klaus Major >klaus.major at metascape.org > Thank you very much. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From davecalk at surfbest.net Thu Jul 11 02:34:01 2002 From: davecalk at surfbest.net (Dave Calkins) Date: Thu Jul 11 02:34:01 2002 Subject: Tag to the Subject References: <200207090944.FAA07622@www.runrev.com> Message-ID: <3D2D3599.54007540@surfbest.net> > > So I'm for filters and no tags. I probably won't write to the > Scottish Parliament about it, but if the voting gets close I may have > to offer my son's second favorite BeyBlade to Heather as a bribe. > > Cheers > Dave Cragg > I'm for filters and no tags also. Dave Calkins From ro.nagey at verizon.net Thu Jul 11 02:59:01 2002 From: ro.nagey at verizon.net (Ro Nagey) Date: Thu Jul 11 02:59:01 2002 Subject: The learning curve is the burning curve In-Reply-To: <039601c22839$23b50cf0$6401a8c0@mckinley.dom> Message-ID: That certainly did work - thanks! Now to figure out where I went so tragically wrong. :) Ro > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Ray > Sent: Wednesday, July 10, 2002 7:42 AM > To: use-revolution at lists.runrev.com > Subject: Re: The learning curve is the burning curve > > > Ro, > > Here's a simple "send" script that puts the current time into a field: > > (I made this the script of a button, but you can change it to anything you > like): > > on mouseUp > send updateClock to me in 10 milliseconds > end mouseUp > > on updateClock > put the long time into field 1 > send updateClock to me in 500 milliseconds > end updateClock > > > Does this help? > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "Ro Nagey" > To: > Sent: Wednesday, July 10, 2002 12:14 PM > Subject: The learning curve is the burning curve > > > > > > As if being unable to play a sound isn't embarrassing enough... > > > > I tried the "send" vs. "idle" example...called > "updateClock"...watched the > > time get placed in the field...sat around...and nothing. > > > > Getting the feeling that I can't do anything right... > > > > Ro > > > > _______________________________________________ > > 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 peter.fink at tiscali.ch Thu Jul 11 07:19:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Thu Jul 11 07:19:01 2002 Subject: comments and questions of 11 july 2002 Message-ID: <3D0D86C400008338@flu-stateless-02.tiscalinet.ch> Comments I'm really impressed by RR. it is rich of features. Everything on the HC level I touched works. The new things that I touched work too. I'm impressed by images (blend, image icons) and sound (QT player). The additions upon HC make sense. There are glitches, but no worse than other environments I know. Questions 1) menuButton() function: what is it supposed to do? it does not return a sensible result to me. 2) newTool message: I do get this message for the choose someTool command in a script, but not when a tool is clicked in the object or paint palette. How to make that work? 3) how to edit a polygon graphic: I can move points and insert new points (even accidentally), but how to delete a point? 4) what are the built-in sounds, if any? where is "boing", "harpsichord"? where is play "boing" tempo 200 "c4e c dq c f eh" ? 5) I can't type the characters \ | [ ] @ in the script editor on a swiss-german keyboard, as they are typed here with the AltGr modifier key. How to fix this ? (I'm not asking for bypasses). Peter From roja at dds.nl Thu Jul 11 07:31:01 2002 From: roja at dds.nl (John Roos) Date: Thu Jul 11 07:31:01 2002 Subject: Using XCMDs/XCFNs in Revolution In-Reply-To: Message-ID: >> I've used HyperCard a lot in the past, and have recently started working >> with Revolution. In my HyperCard stacks, I've used a lot of >> XCMDs/XCFNs, and >> I would like to keep using them. > > John > > This does not directly answer your question, and how you read it depends > a bit on whether you are developing Rev solely for yourself on a Mac or > have broader possibilities... > > Reiterating a conversation on this list from early this year, if you are > new to Rev then I really encourage you to try flying without the XCMDs. > With a bit of digging among the new (HC-superset) features, you will be > amazed at both the capability and speed of Rev. I speak from experience > in that I quite deliberately chose not to rely on XCMDs when moving from > HC to Rev, even though I had some 200 catalogued in my library and had > written more than half of those myself. I have not regretted that bit of > cold turkey but have learned faster in consequence. > > You may have a particular need and the XCMDs you have mentioned may be > just perfect so don't let me put you off. However, you did say you were > relatively new to Rev and I have inferred from that that you have some > ground to explore in the language. Try it without the old HC > expectations and I am confident you will enjoy it a lot. > > regards > David Thanks for the reply and you are 100% correct. However, at least for some quick-and-dirty stacks some XCMDs would certainly come in very handy. So, I've tried a few more XCMDs/XFCNs, but they all don't yield any result. So my question remains: to make XCMDs/XFCNs work, is there more to it than just copying them to the .rev file using ResEdit? From kkaufman at snet.net Thu Jul 11 07:51:00 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Thu Jul 11 07:51:00 2002 Subject: built-in sounds (was:comments and questions of 11 july 2002) Message-ID: <83266591-94CC-11D6-8AE2-00039348A1E6@snet.net> It Was Written: "...what are the built-in sounds, if any? where is "boing", "harpsichord"? where is play "boing" tempo 200 "c4e c dq c f eh" ?..." I believe those were files stored as "sound resources" (Mac only) that were resampled by HC. To the best of my knowledge, you cannot use the same shorthand to play sounds in RR at different rates (but see the playRate property). However, it might interest you to know that I have written some routines and a plugin that permit the construction and playback of MIDI files from within RR. In this manner, without having to store sound resources, you would have at your disposal the 128 General MIDI sounds, at any pitch or length, and in multiple tracks. We should have these available in the near future. -Kurt From klaus.major at metascape.org Thu Jul 11 08:00:02 2002 From: klaus.major at metascape.org (Klaus Major) Date: Thu Jul 11 08:00:02 2002 Subject: comments and questions of 11 july 2002 In-Reply-To: <3D0D86C400008338@flu-stateless-02.tiscalinet.ch> Message-ID: <29516A4A-94CD-11D6-8E3D-003065D52E8E@metascape.org> Hi Peter (gruezi :-), i can answer question 4 to 5. I will leave the other ones to someone else ;-) > Comments > > I'm really impressed by RR. it is rich of features. Everything on the HC > level I touched works. The new things that I touched work too. I'm > impressed > by images (blend, image icons) and sound (QT player). The additions upon > HC make sense. > There are glitches, but no worse than other environments I know. > > Questions > > ... > > 4) what are the built-in sounds, if any? > where is "boing", "harpsichord"? > where is play "boing" tempo 200 "c4e c dq c f eh" ? Sorry, no built-in sounds and no "play xxx tempo yyy c d e f g ba b c" This is where the HC-compatibility stops... > 5) I can't type the characters \ | [ ] @ in the script editor on a > swiss-german > keyboard, as they are typed here with the AltGr modifier key. How to fix > this ? (I'm not asking for bypasses). I am working with a german keyboard and have no problems getting these chars. > , as they are typed here with the AltGr modifier key. What exactly do you mean by this ? These characters cannot be typed on windows but with the ALT-GR-key. (You can get these chars by holding "ALT" and typing the ASCII-Number on the number-keyboard on the right, though. A leftover from the old DOS-days ;-) > Peter Sorry that i cannot help more... (Ut desint vires tamen est laudandas voluptas. Oh my god, i still remember that one ;-) Regards from germany Klaus Major klaus.major at metascape.org From kkaufman at snet.net Thu Jul 11 08:36:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Thu Jul 11 08:36:01 2002 Subject: unexpected quit on closeStackRequest Message-ID: The following causes a (repeatable) unexpected quit (according to Mac OS X) only when run from within a stack, not as a standalone: on closeStackRequest answer "This will close this application." with "Cancel" or "Close" if it is "Cancel" then exit to top else if there is a file "tempfile.txt" then delete file "tempfile.txt" end if pass closeStackRequest end if end closeStackRequest Do I perhaps have a line out-of-place? Thanks, Kurt From kkaufman at snet.net Thu Jul 11 08:46:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Thu Jul 11 08:46:01 2002 Subject: unexpected quit on closeStackRequest Message-ID: <36E8CF90-94D4-11D6-B1E0-00039348A1E6@snet.net> Incidentally, the unexpected quit mentioned in the previous message does not occur if the stack is run as a plugin. From rcozens at pon.net Thu Jul 11 09:11:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Jul 11 09:11:01 2002 Subject: unexpected quit on closeStackRequest In-Reply-To: References: Message-ID: >The following causes a (repeatable) unexpected quit (according to >Mac OS X) only when run from within a stack, not as a standalone: > >on closeStackRequest > answer "This will close this application." with "Cancel" or "Close" > if it is "Cancel" then exit to top > else > if there is a file "tempfile.txt" then > delete file "tempfile.txt" > end if > pass closeStackRequest > end if >end closeStackRequest Hi Kurt, FWIW, your handler runs fine on Mac OS 9. One thought: closeStackRequest should be speciific to the stack whose close box is clicked on: I see no reason to pass 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 peter.fink at tiscali.ch Thu Jul 11 09:25:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Thu Jul 11 09:25:01 2002 Subject: comments and questions of 11 july 2002 (@) In-Reply-To: <29516A4A-94CD-11D6-8E3D-003065D52E8E@metascape.org> Message-ID: <3CDAA302000159B9@flu-stateless-01.tiscalinet.ch> >>> 5) I can't type the characters \ | [ ] @ in the script editor on a >> swiss-german >> keyboard, as they are typed here with the AltGr modifier key. How to fix >> this ? (I'm not asking for bypasses). > >I am working with a german keyboard and have no problems getting these >chars. > >> , as they are typed here with the AltGr modifier key. > >What exactly do you mean by this ? > >These characters cannot be typed on windows but with the ALT-GR-key. Klaus, this does mean that, when I press the keys that should produce said characters, they do not go into the script in the script editor of RR. For example AltGr+2 does not produce the @ (Deutsch (Schweiz)) For example AltGr+Q does not produce the @ (Deutsch (Standard)). Could you try on your system pls? Thanks Peter From klaus.major at metascape.org Thu Jul 11 09:33:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Thu Jul 11 09:33:01 2002 Subject: comments and questions of 11 july 2002 (@) In-Reply-To: <3CDAA302000159B9@flu-stateless-01.tiscalinet.ch> Message-ID: <30F6D1B5-94DA-11D6-8E3D-003065D52E8E@metascape.org> Hi Peter, > Klaus, this does mean that, when I press the keys that should produce > said > characters, they do not go into the script in the script editor of RR. > For example AltGr+2 does not produce the @ (Deutsch (Schweiz)) > For example AltGr+Q does not produce the @ (Deutsch (Standard)). > > Could you try on your system pls? Thanks Peter works here on a german keyboard... Regards Klaus Major klaus.major at metascape.org From bvlahos at jpl.nasa.gov Thu Jul 11 09:56:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Thu Jul 11 09:56:01 2002 Subject: How can I tell if an app is running? Message-ID: Both of these relate only to OS X. 1. How can I tell if an application is running using just Revolution? 2. How can I tell if an application is the frontmost app or is in the background? I would rather not rely on AppleScripts unless I have to. Bill Vlahos From kevin at runrev.com Thu Jul 11 10:41:04 2002 From: kevin at runrev.com (Kevin Miller) Date: Thu Jul 11 10:41:04 2002 Subject: Revolution at MacWorld: Exhibition and Birds of a Feather Session Message-ID: Hi, I'm pleased to announce that we will be exhibiting at MacWorld next week in New York. Birds of a Feather ------------------ We are also delighted to announce that there will be an official Revolution Birds of a Feather session, taking place on Wednesday the 17th between 6PM and 7:30PM. The session is titled "Beyond HyperCard: Revolution" and is being hosted by Bill Vlahos from NASA. Top experts from Runtime will be attending. Anyone interested in Revolution is very welcome to come along to chat with other users and ask and answer questions. Exhibition ---------- Come and visit our booth - open Wednesday to Friday, no. 2023 - where we will be showing off a preview of the next version of Revolution, version 1.5. We'll also be happy to answer any questions you may have about Revolution in general. Some of the new features being previewed include: - New OS X mach-o architecture and the ability to hook into the UNIX shell - New sound recording architecture - New XML capabilities - Spreadsheet-type field display - Preview of some of the usability and Mac OS X look and feel improvements in the development environment - A preview of a new section in the documentation with fully worked examples - A preview of a new library for the creation of MIDI files - A preview of a new library for Soap Calls The Small Business Edition and Student Edition will also be available from DevDepot, and a free upgrade to 1.5 (when shipping) is included. And Finally... -------------- Runtime is pleased to bring fun to the world of software development in the form of Maggie the kilt wearing programming Scottish Teddy Bear and her soft toy silver PowerBook. Software developers of all ages are welcome to come along and have a look. MacWorld is going to be a great event, so please do drop by our booth and don't miss the Birds of a Feather session. We look forward to seeing you there! 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 benr_mc at cogapp.com Thu Jul 11 11:49:01 2002 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu Jul 11 11:49:01 2002 Subject: HTML Rendering Engine In-Reply-To: <003a01c22687$cfa1e7d0$6f00a8c0@mckinley.dom> Message-ID: on 7/7/02 7:09 am, Dan Shafer at dan at gui.com wrote: > has anyone had any success either writing or hooking up an existing > HTML rendering engine to Revolution? on 8/7/02 3:00 pm, Ken Ray at kray at sonsothunder.com wrote: > It depends on how much of HTML you want to render. Revolution will allow you > to set the "htmlText" of a field to a chunk of HTML, and it will render it > accordingly. But only those things that are supported in Revolution fields > are supported in the htmlText, so you lose out on tables, etc. I've previously proposed on the 'improve' list that this property should really be named something else, eg 'styledText'. It's really the way that you can set and get the formatted text of a field all in one go (by contrast with eg HyperCard, where you pretty much need to go character by character). It just happens that the perfectly sensible format which the developers came up with to do this was to use embedded codes in the text, and making that resemble HTML is obviously very convenient. But naming it the 'htmlText' is really misleading, and sets up expectations that Rev/MC doesn't (and in my opinion, shouldn't) deliver (at least not through this channel). I'd be very interested if anyone had done work with an actual HTML rendering engine. Both MacOS (since 8.? 9.?) and Windows have one theoretically available to other apps. When I looked at the MacOS one a while ago the API looked fine, but couldn't find all the headers to access it - and Apple didn't seem to be making much noise about it. Has anyone tried using either of these (not necessarily in Rev/MC)? Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From benr_mc at cogapp.com Thu Jul 11 11:53:01 2002 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu Jul 11 11:53:01 2002 Subject: Subject heading prefix In-Reply-To: Message-ID: on 9/7/02 9:03 am, Heather Williams at heather at runrev.com wrote: > Ladies and Gentlemen. Clearly I cannot please everyone on this delicate > subject, a prefix is either there or it isn't. However, surely a couple of > letters, say, RRU to designate use rev and RRI to designate improve rev > wouldn't be too ugly to tolerate? Would it actually break anything? Could > add the desired functionality for those that wish, and hardly obscure much > of the subject heading for those that don't need it. You can still colour it > pink if you like... Nice, friendly colour, pink. > > Warm regards to all > > Heather FWIW, my vote (if we're voting) is no prefix. But I don't want to start a fight about it... Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From benr_mc at cogapp.com Thu Jul 11 13:37:14 2002 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu Jul 11 13:37:14 2002 Subject: Bug in Scolling Text Field? In-Reply-To: Message-ID: on 8/7/02 6:40 pm, Dan Shafer at dan at danshafer.com wrote: > I created a one-card stack to test the htmltext property. I put a > scolling field in place and a button. Scripted the button to retrieve > a URL and then put it into the field using the htmltext property. > > The scrolling field stubbornly refuses to scroll. I see the > scrollbar. But it never becomes active, whether I click in the field > or not, whether I try to drag the scroller. Nothing. I found that if > I went into edit mode and resized the field slightly, then it worked. > Clearly a bug, no? There is a known bug in Rev 1.1.1r2 - it's intermittent, but some situations provoke it more often than not. Actually there are two, either or both of which can occur; sometimes the field is drawn inactive when you set the htmlText. (This occasionally happens in the main documentation stack, when you filter terms for the Transcript Dictionary - workaround there is to use the little arrows to go next, then previous - it then redraws correctly.) In your own code, for now I use the following code fragment to work around both bugs: set the htmlText of fld fName to fVal set the enabled of fld fName to the enabled of fld it -- w/a 1.1.1r2 bug if the vScrollbar of fld fName then -- w/a another 1.1.1r2 bug set the vScrollbar of fld fName to false set the vScrollbar of fld fName to true end if (Just setting the 'enabled' property seems to fix that problem, even though you're not changing the value. For scrollbar, it's necessary to toggle it off and on again.) I think you can expect this bug to be fixed in a future release. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From ehaskell at selfcorp.com Thu Jul 11 13:37:43 2002 From: ehaskell at selfcorp.com (Edwin Haskell) Date: Thu Jul 11 13:37:43 2002 Subject: Using XCMDs/XCFNs in Revolution In-Reply-To: <200207111201.IAA00620@www.runrev.com> Message-ID: <0B0F50BD-94F1-11D6-9B03-0030654C9E38@selfcorp.com> On Thursday, July 11, 2002, at 06:01 AM, use-revolution- request at lists.runrev.com wrote: > >>> I've used HyperCard a lot in the past, and have recently started >>> working >>> with Revolution. In my HyperCard stacks, I've used a lot of >>> XCMDs/XCFNs, and >>> I would like to keep using them. I agree. I've written so many work-arounds for XCMDs and XCFNs that it's not a big issue now, but I'm beginning to wonder if it really is possible to put them in Revolution. From benr_mc at cogapp.com Thu Jul 11 13:38:53 2002 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu Jul 11 13:38:53 2002 Subject: Displaying graphics elements or buttons on top of a QuickTime movie In-Reply-To: <4FCF00F8-912E-11D6-82D3-000393853D6C@rpsystems.net> Message-ID: on 6/7/02 11:18 pm, Troy Rollins at troy at rpsystems.net wrote: > The only real way to have buttons on top of QuickTime without > significant performance hits is to create "wired movies" - meaning that > the buttons are actually in the Quicktime, and not layered on top of it. And it's worth noting that wired movies/QT sprites are actually pretty fine things; and can call back to Revolution. Check out 'QTDebugStr' in the docs. (Question to Rev/MC - is there anyway for a Rev app to trap the mcActionLinkToURL or mcActionCustomButtonClick events? These offer more flexibility than the DebugStr solution - and in particular are helpful when embedding a Flash file through QuickTime.) Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From herz at ucsd.edu Thu Jul 11 13:39:16 2002 From: herz at ucsd.edu (Richard Herz) Date: Thu Jul 11 13:39:16 2002 Subject: Revolution at MacWorld: Exhibition and Birds of a Feather Session Message-ID: <003e01c22902$d728bd80$58bfef84@herzpc1> Kevin, Could you please take some photos of the Rev people and booth at MacWorld and post them at the Rev web site? Have a fun and profitable time at MacWorld! Thanks Rich Herz herz at ucsd.edu www.ReactorLab.com From yvescoppe at skynet.be Thu Jul 11 15:33:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Thu Jul 11 15:33:01 2002 Subject: Using XCMDs/XCFNs in Revolution In-Reply-To: References: Message-ID: > >Thanks for the reply and you are 100% correct. However, at least for some >quick-and-dirty stacks some XCMDs would certainly come in very handy. So, >I've tried a few more XCMDs/XFCNs, but they all don't yield any result. So >my question remains: to make XCMDs/XFCNs work, is there more to it than just >copying them to the .rev file using ResEdit? > i've long worked with HC and crossed over revolution since 6 months. So, I encountered the same problem as you. 1) There are externals with HC call backs. They didn't work anymore. Rinaldi makes now the difference in his website between the 2 sorts. 2) For the externals : many are built-in with rev. So they don't need to be used anymore. 3) For the others, I've written in transcript language the same code as for the externals...and it works fine. You don't see the difference in speed, because the engine in Rev is so fast. Now I don't use any externals anymore. You are more independant to do so and sure you don't let any bugs. If there is a bug you can fix it yourself without having to wait a new version of the external. there is well 2 things that make problem : 1) Table format in Rev doesn't exist and the chart with. 2) Print capacity is very poor. For such difficult problem I use sometimes externals (listtable-chartoid and prinReport). I hope those points are better with new versions of rev. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From dsc at swcp.com Thu Jul 11 15:34:00 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Jul 11 15:34:00 2002 Subject: OS X Server; standalones as OS X services Message-ID: <0B7CEA49-950D-11D6-ABDD-0050E4C0B205@swcp.com> The introduction of the XServe 1U rack server makes OS X Server a little bit more interesting to me. See... http://www.apple.com/xserve/ OS X is listed as a compatible platform at the RunRev site, but it is not clear to me whether this includes OS X Server. Does it? I have used Revolution applications as utilities on Windows 2000 Server and I have experimented with running them as services on Windows 2000 Pro. I hope to run them as noncritical services on Windows 2000 Servers soon. I don't know what the equivalent of services are in OS X--I have some homework to do. Has anybody been successful in running a Revolution standalone as a start-at-boot server of some sort on either OS X? At this point I'm not even sure how to say "XServe." Dar Scott From shaosean at unitz.ca Thu Jul 11 15:58:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Thu Jul 11 15:58:01 2002 Subject: OS X Server; standalones as OS X services References: <0B7CEA49-950D-11D6-ABDD-0050E4C0B205@swcp.com> Message-ID: <000d01c2291c$d32f22e0$88b15bd1@lanfear> > At this point I'm not even sure how to say "XServe." sweet =)~~ From dcragg at lacscentre.co.uk Thu Jul 11 16:34:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Thu Jul 11 16:34:01 2002 Subject: comments and questions of 11 july 2002 In-Reply-To: <3D0D86C400008338@flu-stateless-02.tiscalinet.ch> References: <3D0D86C400008338@flu-stateless-02.tiscalinet.ch> Message-ID: At 2:16 pm +0200 11/7/02, peter.fink at tiscali.ch wrote: >5) I can't type the characters \ | [ ] @ in the script editor on a >swiss-german >keyboard, as they are typed here with the AltGr modifier key. How to fix >this ? (I'm not asking for bypasses). > >Peter This may be a problem with some keyboards/drivers. Below is a part of an old exchange from the Metacard list: >> >I experience the same problem. Actually this is not @ but the >> >right Alt key that is affected. >> >So the person can not use the backslash (Alt-? in german layout) as well. >> >I use Logitech Wireless keyboard. So to avoid this "limitation" I >> >have to remove service program for the keyboard from the systray >> >everytime I have to edit a metacard script. >> > >> Could you expain a little more how you avoid this "limitation"? Are >> you saying the problem is related to the driver/software for the >> particular keyboard? >I think so >>Would that explain why it works (in NT, XP at >> least) with my "plain" keyboard? >Just tried to load/remove the driver "iTouch.exe" for the keyboard. >it seems to be the troublemaker. Cheers Dave From bvlahos at jpl.nasa.gov Thu Jul 11 16:44:02 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Thu Jul 11 16:44:02 2002 Subject: OS X Server; standalones as OS X services In-Reply-To: <0B7CEA49-950D-11D6-ABDD-0050E4C0B205@swcp.com> Message-ID: XServe is pronounced "ex-serve" and it should make an outstanding Rev server application platform. OS X Server OS even on regular Mac hardware would also be outstanding. There are some considerations that we as developers would want to make regarding running server apps. under OS X Server. Any Revolution server app should work just fine without these considerations but even better following them. Considerations 1. There is a built-in application called WatchDog which can be configured to autorestart an application if it should crash thereby assuring that your program would always be running. This would be similar to running as a service under Windows for all practical purposes. 2. GUI based applications require a display card which is an option for XServe so it may not be included in all XServe installations. 3. If a server app has a GUI the server needs to come up fully to the desktop which means that the server must log in automatically and then call the screen saver to provide the security lock. Revolution can certainly build non-GUI apps and they would not have this requirement. 4. Apple's server software in built in two parts. 1. A faceless non-GUI server app. and 2. Administrative front end which communicates over interfaces such as SSH, telnet, terminal, etc. and can be run on the server itself as well as a remote computer. This is probably a good model to follow and Revolution makes this pretty easy as it is cross-platform by nature. 5. You can get XServes with multiple CPUs (up to 2 at the moment but I would expect more in the future). I have not heard much in the way of discussion on Revolution's ability to use multiple CPUs on any platform but certainly the OS is fully able to work with multiple CPUs. I suspect that Revolution's unix roots will make life pretty good for OS X. 6. There are a bunch of features in the current and very soon to be released next major update to OS X, code named Jaguar, which specifically take advantage of some pretty nifty things on the XServe relating to high availability, redundancy, and performance which I expect to hear about next week at Macworld. Now if I only had an application in mind for all this power... Bill Vlahos On Thursday, July 11, 2002, at 01:30 PM, Dar Scott wrote: > The introduction of the XServe 1U rack server makes OS X Server a > little bit more interesting to me. See... > > http://www.apple.com/xserve/ > > OS X is listed as a compatible platform at the RunRev site, but it is > not clear to me whether this includes OS X Server. Does it? > > I have used Revolution applications as utilities on Windows 2000 Server > and I have experimented with running them as services on Windows 2000 > Pro. I hope to run them as noncritical services on Windows 2000 > Servers soon. I don't know what the equivalent of services are in OS > X--I have some homework to do. Has anybody been successful in running > a Revolution standalone as a start-at-boot server of some sort on > either OS X? > > At this point I'm not even sure how to say "XServe." > > Dar Scott > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dsc at swcp.com Thu Jul 11 19:16:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Jul 11 19:16:01 2002 Subject: OS X Server; standalones as OS X services In-Reply-To: Message-ID: <0D959EA6-952C-11D6-BB45-0050E4C0B205@swcp.com> On Thursday, July 11, 2002, at 03:41 PM, Bill Vlahos wrote: > Considerations > 1. There is a built-in application called WatchDog which can be > configured to autorestart an application if it should crash > thereby assuring that your program would always be running. This > would be similar to running as a service under Windows for all > practical purposes. Will this start it the first time, that is, at boot? Is this on regular ol OS X, too? > 2. GUI based applications require a display card which is an > option for XServe so it may not be included in all XServe > installations. Will GUI be ignored if there is no card or will it break something? > 3. If a server app has a GUI the server needs to come up fully to > the desktop which means that the server must log in automatically > and then call the screen saver to provide the security lock. > Revolution can certainly build non-GUI apps and they would not > have this requirement. With Windows 2000 I have been able to run Rev-based services with a GUI or with the GUI ignored. How do I make a non-GUI app with Revolution? I always get a stack showing. > 4. Apple's server software in built in two parts. 1. A faceless > non-GUI server app. and 2. Administrative front end which > communicates over interfaces such as SSH, telnet, terminal, etc. > and can be run on the server itself as well as a remote computer. > This is probably a good model to follow and Revolution makes this > pretty easy as it is cross-platform by nature. Cool! I'm already splitting mine in two. I'm using tcp/ip for communication. My admin half is a GUI. Based on what you are recommending, maybe it (or a version) should also run over telnet or terminal. Wow! Thanks for all the info, Bill! Dar Scott From peter.fink at tiscali.ch Thu Jul 11 20:13:00 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Thu Jul 11 20:13:00 2002 Subject: comments and questions of 11 july 2002 (AltGr) In-Reply-To: Message-ID: <3D0D86C400008608@flu-stateless-02.tiscalinet.ch> > >>5) I can't type the characters \ | [ ] @ in the script editor on a >>swiss-german >>keyboard, as they are typed here with the AltGr modifier key. How to fix >>this ? (I'm not asking for bypasses). >> >>Peter > >This may be a problem with some keyboards/drivers. Below is a part of >an old exchange from the Metacard list: > > >>> >I experience the same problem. Actually this is not @ but the >>> >right Alt key that is affected. Dave thanks, you point into a plausible direction. the AltGr key counts as an option key, and the script editor looks for it. My notebook has a left Alt and an AltGr. However not everything is transparent, because a test keydown handler in a field behaved strange: on keydown ch if the optionkey then.... pass keydown end keydown Peter From sarahr at genesearch.com.au Thu Jul 11 20:30:00 2002 From: sarahr at genesearch.com.au (Sarah) Date: Thu Jul 11 20:30:00 2002 Subject: comments and questions of 11 july 2002 In-Reply-To: Message-ID: On Thursday, July 11, 2002, at 10:19 PM, peter.fink at tiscali.ch wrote: > 3) how to edit a polygon graphic: I can move points and insert new > points > (even accidentally), but how to delete a point? > > If you select your polygon and choose the reshape polygon tool, you can move various points around with the mouse. Option-dragging from a point gives a new point and command-clicking on a point deletes it. (These modifier keys are what works on a Mac - other system users will just have to see what works for them.) Alternatively, open the Properties palette for the graphic and under the Graphic tab, you will find a list of the points specified as a pair of coordinates per line. These can be edited, deleted, duplicated etc either in the palette or by a script. Cheers, Sarah From kkaufman at snet.net Thu Jul 11 20:46:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Thu Jul 11 20:46:01 2002 Subject: unexpected quit on closeStackRequest Message-ID: KURT: >The following causes a (repeatable) unexpected quit (according to >Mac OS X) only when run from within a stack, not as a standalone: > >on closeStackRequest > answer "This will close this application." with "Cancel" or "Close" > if it is "Cancel" then exit to top > else > if there is a file "tempfile.txt" then > delete file "tempfile.txt" > end if > pass closeStackRequest > end if >end closeStackRequest ROB: FWIW, your handler runs fine on Mac OS 9. One thought: closeStackRequest should be speciific to the stack whose close box is clicked on: I see no reason to pass it. KURT: Thanks for testing the script, Rob. However, if I comment out the line: pass closeStackRequest in the above script, the stack does not close after deleting the temp file. Perhaps the Rev editor has to do some stuff which it doesn't get done if the closeStackRequest is not passed? Curious. From bvlahos at jpl.nasa.gov Thu Jul 11 20:58:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Thu Jul 11 20:58:01 2002 Subject: OS X Server; standalones as OS X services In-Reply-To: <0D959EA6-952C-11D6-BB45-0050E4C0B205@swcp.com> Message-ID: <5C57011A-953A-11D6-B8C1-0003936A2C42@jpl.nasa.gov> Dar, On Thursday, July 11, 2002, at 05:12 PM, Dar Scott wrote: > > On Thursday, July 11, 2002, at 03:41 PM, Bill Vlahos wrote: > >> Considerations >> 1. There is a built-in application called WatchDog which can be >> configured to autorestart an application if it should crash thereby >> assuring that your program would always be running. This would be >> similar to running as a service under Windows for all practical >> purposes. > Will this start it the first time, that is, at boot? Is this on > regular ol OS X, too? To have any application autostart at boot simply add it to the Login Items in the System Preferences either by clicking the Add... button and selecting the file (either application or document) or, even easier, just drag the file icon to the Login Items window. This works with any version of OS X. For the geeks among us, this actually edits the file in the /User/Library/Preference/loginwindow.plist file which is an XML file. I haven't looked to see if WatchDog does this automatically but it might. On OS 9 or earlier, simply put the file or alias to the file in the Startup Items folder in the System Folder. > >> 2. GUI based applications require a display card which is an option >> for XServe so it may not be included in all XServe installations. > Will GUI be ignored if there is no card or will it break something? I'm told the XServe would need to have a video card or a GUI app won't run. I don't think the video card has to actually be connected to a monitor though. > >> 3. If a server app has a GUI the server needs to come up fully to the >> desktop which means that the server must log in automatically and then >> call the screen saver to provide the security lock. Revolution can >> certainly build non-GUI apps and they would not have this requirement. > With Windows 2000 I have been able to run Rev-based services with a GUI > or with the GUI ignored. > > How do I make a non-GUI app with Revolution? I always get a stack > showing. I'll let others on this list answer this because I've never done it. I'm a little old fashioned in that I like a server that I can see working by looking at it directly. > >> 4. Apple's server software in built in two parts. 1. A faceless >> non-GUI server app. and 2. Administrative front end which communicates >> over interfaces such as SSH, telnet, terminal, etc. and can be run on >> the server itself as well as a remote computer. This is probably a >> good model to follow and Revolution makes this pretty easy as it is >> cross-platform by nature. > > Cool! I'm already splitting mine in two. I'm using tcp/ip for > communication. > > My admin half is a GUI. Based on what you are recommending, maybe it > (or a version) should also run over telnet or terminal. That is exactly right. The idea is that the Admin functions work over whatever connection and platform you have access to even if that means running the Admin app on the server itself or serial connect to the built in XServe comm port. If you have a GUI admin app then that is the most feature rich way to go and if not you can telnet/SSH from any platform. Of course with Revolution your Admin app can work on any platform and communicate to your server via SSH or whatever. > > Wow! Thanks for all the info, Bill! You're welcome. Bill Vlahos From shaosean at unitz.ca Thu Jul 11 21:05:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Thu Jul 11 21:05:01 2002 Subject: unexpected quit on closeStackRequest References: Message-ID: <003401c22947$b3a447e0$88b15bd1@lanfear> from the docs Handle the closeStackRequest message if you want to prevent a stack from being closed. Notes: If the closeStackRequest handler does not pass the message or send it to a further object in the message path, the stack does not close. Passing the message allows the stack to close. From ehaskell at selfcorp.com Thu Jul 11 23:14:01 2002 From: ehaskell at selfcorp.com (Edwin Haskell) Date: Thu Jul 11 23:14:01 2002 Subject: Using XCMDs/XCFNs in Revolution In-Reply-To: <200207120100.VAA23682@www.runrev.com> Message-ID: <590BDC16-954D-11D6-9B03-0030654C9E38@selfcorp.com> On Thursday, July 11, 2002, at 07:00 PM, use-revolution- request at lists.runrev.com wrote: > For such difficult problem I use sometimes externals > (listtable-chartoid and prinReport). I hope those points are better > with new versions of rev. It sounds like you were able to make some externals work. How do you do it? From ambassador at fourthworld.com Thu Jul 11 23:30:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Jul 11 23:30:01 2002 Subject: unexpected quit on closeStackRequest In-Reply-To: <200207120100.VAA23682@www.runrev.com> Message-ID: > ROB: > FWIW, your handler runs fine on Mac OS 9. One thought: > closeStackRequest should be speciific to the stack whose close box is > clicked on: I see no reason to pass it. > > KURT: > Thanks for testing the script, Rob. However, if I comment out the line: > pass closeStackRequest > > in the above script, the stack does not close after deleting the temp > file. > Perhaps the Rev editor has to do some stuff which it doesn't get done if > the closeStackRequest is not passed? Curious. This is one of this cases where passing a system message is more than just a good habit, and instead directlt affects behavior: trapping closeStackRequest without passing stops the request -- the stack does not close. To close the stack, pass the message and the Rev engine will complete the request. -- 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 dan at danshafer.com Fri Jul 12 00:11:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Jul 12 00:11:01 2002 Subject: Updating Data Substacks Message-ID: It just occurred to me that the RR model which requires me to create a separate stack to hold the data for my app might be an obstacle to product upgrades. My mainstack is a splasher. My substacks are a palette (which can change) and the primary data stack (which will change). If in my next rev of the product, I wish to add features (e.g., a menu or even a button on that stack with some new functions), I would expect to ask my users to replace their current stack with the new one. But that will, obviously, result in the loss of all their data. How should this work? What am I missing? -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 john at oneChip.com Fri Jul 12 00:27:01 2002 From: john at oneChip.com (John) Date: Fri Jul 12 00:27:01 2002 Subject: The learning curve is the burning curve In-Reply-To: <039601c22839$23b50cf0$6401a8c0@mckinley.dom> Message-ID: <90074E42-9557-11D6-B7FA-00039397DF4E@oneChip.com> On Wednesday, July 10, 2002, at 10:42 AM, Ken Ray wrote: > Ro, > > Here's a simple "send" script that puts the current time into a field: > > (I made this the script of a button, but you can change it to anything > you > like): > > on mouseUp > send updateClock to me in 10 milliseconds > end mouseUp > > on updateClock > put the long time into field 1 > send updateClock to me in 500 milliseconds > end updateClock It seems that this would work with only "updateClock" in the mouseUp handler (it does when I try it). I can't figure out why the mousUp handler is shown as it is. Is it necessary for some reason? Thanks, John From scott at tactilemedia.com Fri Jul 12 00:39:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Jul 12 00:39:01 2002 Subject: Updating Data Substacks In-Reply-To: Message-ID: Recently, Dan Shafer wrote: > It just occurred to me that the RR model which requires me to create > a separate stack to hold the data for my app might be an obstacle to > product upgrades. > > My mainstack is a splasher. My substacks are a palette (which can > change) and the primary data stack (which will change). If in my next > rev of the product, I wish to add features (e.g., a menu or even a > button on that stack with some new functions), I would expect to ask > my users to replace their current stack with the new one. But that > will, obviously, result in the loss of all their data. > > How should this work? What am I missing? Two options I can think of: Good) Keep your data separate from the UI. This way you can update the UI independently of the data. Not So Good) If you really want to keep the UI and data in the same stack, include an "export data" option or similar in the stack. When a user wants to upgrade they hit "export" and then import the exported data into the upgrade stack. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From janschenkel at yahoo.com Fri Jul 12 00:43:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Jul 12 00:43:01 2002 Subject: The learning curve is the burning curve In-Reply-To: <90074E42-9557-11D6-B7FA-00039397DF4E@oneChip.com> Message-ID: <20020712054030.46113.qmail@web11908.mail.yahoo.com> Hi John, The mouseUp handler triggers the very first updateCLock. After that, updateCLock calls itself repeatedly afterwards until you remove it from the pendingMessages or RR quits (whichever comes first) You can also manually fire the updateClock from the message box, or from another script such as your card's openCard handler. The system doesn't know about the updateCLock event itself, so it doesn't know it's supposed to call it. Hope this cleared things up a bit, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) --- John wrote: > > On Wednesday, July 10, 2002, at 10:42 AM, Ken Ray > wrote: > > > Ro, > > > > Here's a simple "send" script that puts the > current time into a field: > > > > (I made this the script of a button, but you can > change it to anything > > you > > like): > > > > on mouseUp > > send updateClock to me in 10 milliseconds > > end mouseUp > > > > on updateClock > > put the long time into field 1 > > send updateClock to me in 500 milliseconds > > end updateClock > > It seems that this would work with only > "updateClock" in the mouseUp > handler (it does when I try it). I can't figure out > why the mousUp > handler is shown as it is. Is it necessary for some > reason? > > Thanks, > John > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From dan at danshafer.com Fri Jul 12 00:50:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Jul 12 00:50:01 2002 Subject: Updating Data Substacks In-Reply-To: References: Message-ID: At 10:37 PM -0700 7/11/02, Scott Rossi wrote: >Recently, Dan Shafer wrote: > >> It just occurred to me that the RR model which requires me to create >> a separate stack to hold the data for my app might be an obstacle to >> product upgrades. >> >> My mainstack is a splasher. My substacks are a palette (which can >> change) and the primary data stack (which will change). If in my next >> rev of the product, I wish to add features (e.g., a menu or even a >> button on that stack with some new functions), I would expect to ask >> my users to replace their current stack with the new one. But that >> will, obviously, result in the loss of all their data. >> >> How should this work? What am I missing? > >Two options I can think of: > >Good) Keep your data separate from the UI. This way you can update the UI >independently of the data. Thanks for the fast reply, Scott. But this would require storing it in a text file and managing all the data manipulation stuff or alternatively using a database, right? If I have to do those things to keep data from being munged when I upgrade the app, I might just as well use a conventional programming environment! Transparency of data storage is crucial to stackware applications. >Not So Good) If you really want to keep the UI and data in the same stack, >include an "export data" option or similar in the stack. When a user wants >to upgrade they hit "export" and then import the exported data into the >upgrade stack. > >Regards, > >Scott Rossi >Creative Director > >Tactile Media, Multimedia & Design >Email: scott at tactilemedia.com >Web: www.tactilemedia.com > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 janschenkel at yahoo.com Fri Jul 12 00:58:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Jul 12 00:58:01 2002 Subject: Updating Data Substacks In-Reply-To: Message-ID: <20020712055456.60804.qmail@web11901.mail.yahoo.com> If nobody minds me putting in my 2 eurocents.. --- Scott Rossi wrote: > Recently, Dan Shafer wrote: > > > It just occurred to me that the RR model which > requires me to create > > a separate stack to hold the data for my app might > be an obstacle to > > product upgrades. > > > > My mainstack is a splasher. My substacks are a > palette (which can > > change) and the primary data stack (which will > change). If in my next > > rev of the product, I wish to add features (e.g., > a menu or even a > > button on that stack with some new functions), I > would expect to ask > > my users to replace their current stack with the > new one. But that > > will, obviously, result in the loss of all their > data. > > > > How should this work? What am I missing? > > Two options I can think of: > > Good) Keep your data separate from the UI. This way > you can update the UI > independently of the data. > I'd have to second this approach. Have the data in a substack that you can easily edit all the data (including more low-level content that you don't usually display on-screen) in case something has gone wrong ; have the UI in another stack, and 'on openCard' fetch the necessary data from the data-stack. This approach also means you don't have to go about devising your own file format. > Not So Good) If you really want to keep the UI and > data in the same stack, > include an "export data" option or similar in the > stack. When a user wants > to upgrade they hit "export" and then import the > exported data into the > upgrade stack. > As at times you'll have to provide some sort of data "update" procedure, you could do this either via an export/import, or -- pretty interesting imho-- with the use of 'create field' for what is new in your data format. I recall having made an update script in HC for this sort of thing. It looked something like: put "Updating data file... (This may take a while)" lock screen doMenu "Background" select field tool doMenu "New field" put the number of bg fields into theLastOne set the name of fld theLastOne to "Something" set the topLeft of fld theLastOne to theTopLeft ... etc ... Especially the whole workaround of having to select the field tool to get to the "New field" menu makes me ever so grateful for the create command in RR :-) Hope this helped a bit, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From dsc at swcp.com Fri Jul 12 01:11:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Jul 12 01:11:01 2002 Subject: OS X Server; standalones as OS X services In-Reply-To: <5C57011A-953A-11D6-B8C1-0003936A2C42@jpl.nasa.gov> Message-ID: On Thursday, July 11, 2002, at 07:54 PM, Bill Vlahos wrote: >>> >>> 1. There is a built-in application called WatchDog which can be >>> configured to autorestart an application if it should crash >>> thereby assuring that your program would always be running. This >>> would be similar to running as a service under Windows for all >>> practical purposes. >> Will this start it the first time, that is, at boot? Is this on >> regular ol OS X, too? > To have any application autostart at boot simply add it to the > Login Items in the System Preferences either by clicking the > Add... button and selecting the file (either application or > document) or, even easier, just drag the file icon to the Login > Items window. This works with any version of OS X. For the geeks > among us, this actually edits the file in the > /User/Library/Preference/loginwindow.plist file which is an XML > file. I haven't looked to see if WatchDog does this automatically > but it might. > I found this info on startup items: http://developer.apple.com/techpubs/macosx/Darwin/PortingUNIX/additionalfeatures/ Boot_Sequence.html This looks like applies to all OS X and does not require login. I wonder if there is a tool that helps in creating and editing items in /library/startupItems. Dar Scott From scott at tactilemedia.com Fri Jul 12 01:12:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Jul 12 01:12:01 2002 Subject: Updating Data Substacks In-Reply-To: Message-ID: Recently, Dan Shafer wrote: >> Good) Keep your data separate from the UI. This way you can update the UI >> independently of the data. > > Thanks for the fast reply, Scott. > > But this would require storing it in a text file and managing all the > data manipulation stuff or alternatively using a database, right? If > I have to do those things to keep data from being munged when I > upgrade the app, I might just as well use a conventional programming > environment! Transparency of data storage is crucial to stackware > applications. If I understand your correctly, the answer is no. Data can be stored in a stack, in fields, user props, whatever you want. Personally, I use mirrored controls in the UI stack and the data stack -- this makes it easy to keep track of where the data is going. To write/store the data, I open the data stack invisibly and write any data changes/updates in the UI stack to the data stack on closeField messages. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From dan at danshafer.com Fri Jul 12 01:15:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Jul 12 01:15:01 2002 Subject: Updating Data Substacks In-Reply-To: <20020712055456.60804.qmail@web11901.mail.yahoo.com> References: <20020712055456.60804.qmail@web11901.mail.yahoo.com> Message-ID: >If nobody minds me putting in my 2 eurocents.. > >--- Scott Rossi wrote: >> Recently, Dan Shafer wrote: >> >> > It just occurred to me that the RR model which >> requires me to create >> > a separate stack to hold the data for my app might >> be an obstacle to >> > product upgrades. >> > >> > My mainstack is a splasher. My substacks are a >> palette (which can >> > change) and the primary data stack (which will >> change). If in my next >> > rev of the product, I wish to add features (e.g., >> a menu or even a >> > button on that stack with some new functions), I >> would expect to ask >> > my users to replace their current stack with the >> new one. But that >> > will, obviously, result in the loss of all their >> data. >> > >> > How should this work? What am I missing? >> >> Two options I can think of: >> >> Good) Keep your data separate from the UI. This way >> you can update the UI >> independently of the data. >> > >I'd have to second this approach. Have the data in a >substack that you can easily edit all the data >(including more low-level content that you don't >usually display on-screen) in case something has gone >wrong ; have the UI in another stack, and 'on >openCard' fetch the necessary data from the >data-stack. >This approach also means you don't have to go about >devising your own file format. Ah, I see your plan. Intriguing. So rather than a splasher and a "traditional" HyperCard-style stack containing UI and data, have the mainstack be the UI stack which has no data in it (and can't be updated by default) and then have an invisible stack that just stores the data card by card. Hmmm. I'll have to ponder this. It may be a great solution, though. Thanks for the thought. > > Not So Good) If you really want to keep the UI and >> data in the same stack, >> include an "export data" option or similar in the >> stack. When a user wants >> to upgrade they hit "export" and then import the >> exported data into the >> upgrade stack. >> > >As at times you'll have to provide some sort of data >"update" procedure, you could do this either via an >export/import, or -- pretty interesting imho-- with >the use of 'create field' for what is new in your data >format. >I recall having made an update script in HC for this >sort of thing. It looked something like: > put "Updating data file... (This may take a while)" > lock screen > doMenu "Background" > select field tool > doMenu "New field" > put the number of bg fields into theLastOne > set the name of fld theLastOne to "Something" > set the topLeft of fld theLastOne to theTopLeft > ... etc ... >Especially the whole workaround of having to select >the field tool to get to the "New field" menu makes me >ever so grateful for the create command in RR :-) > >Hope this helped a bit, > >Jan Schenkel. > >"As we grow older, we grow both wiser and more foolish >at the same time." (De Rochefoucald) > >__________________________________________________ >Do You Yahoo!? >Sign up for SBC Yahoo! Dial - First Month Free >http://sbc.yahoo.com >_______________________________________________ >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 janschenkel at yahoo.com Fri Jul 12 01:40:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Jul 12 01:40:01 2002 Subject: Updating Data Substacks In-Reply-To: Message-ID: <20020712063747.47749.qmail@web11905.mail.yahoo.com> --- Dan Shafer wrote: > Ah, I see your plan. Intriguing. So rather than a > splasher and a > "traditional" HyperCard-style stack containing UI > and data, have the > mainstack be the UI stack which has no data in it > (and can't be > updated by default) and then have an invisible stack > that just stores > the data card by card. Hmmm. I'll have to ponder > this. It may be a > great solution, though. > Were you to take that path, you can easily avoid import/export schemes by adding new field in your data-stack via the 'copy/paste' or 'create' schemes. This means that 'on startUp' you could see if the file-format-version of your data-stack is lower than the current in the program-stack, and execute an upgrade procedure that adds the necessary fields to the cards in the data-stack. In the old HC-days, I used a UI/data separation scheme for a multi-user project. Using the 'request' command I'd contact a "server" stack running remotely, and fetch the data I'd display locally. That worked great and was much more flexible/cheaper than using a 'true' multi-user database. I'll stop rambling/reminiscing now :-) Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com From dan at danshafer.com Fri Jul 12 01:48:00 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Jul 12 01:48:00 2002 Subject: Updating Data Substacks In-Reply-To: References: Message-ID: >Recently, Dan Shafer wrote: > >>> Good) Keep your data separate from the UI. This way you can update the UI >>> independently of the data. >> >> Thanks for the fast reply, Scott. >> >> But this would require storing it in a text file and managing all the >> data manipulation stuff or alternatively using a database, right? If >> I have to do those things to keep data from being munged when I >> upgrade the app, I might just as well use a conventional programming >> environment! Transparency of data storage is crucial to stackware >> applications. > >If I understand your correctly, the answer is no. Data can be stored in a >stack, in fields, user props, whatever you want. Personally, I use mirrored >controls in the UI stack and the data stack -- this makes it easy to keep >track of where the data is going. To write/store the data, I open the data >stack invisibly and write any data changes/updates in the UI stack to the >data stack on closeField messages. That sounds like an efficient way of doing things. that should make it unnecessary to change the data stack unless I make some fundamental change in data structures, which I don't anticipate. Thanks. This feels like it might work, though it is less and less like HyperCard! >Regards, > >Scott Rossi >Creative Director > >Tactile Media, Multimedia & Design >Email: scott at tactilemedia.com >Web: www.tactilemedia.com > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 mark_mitchell at kmug.org Fri Jul 12 01:57:01 2002 From: mark_mitchell at kmug.org (Mark Mitchell) Date: Fri Jul 12 01:57:01 2002 Subject: unexpected quit on closeStackRequest In-Reply-To: <200207120100.VAA23665@www.runrev.com> References: <200207120100.VAA23665@www.runrev.com> Message-ID: Hi Kurt, I often get an 'unexpected quit' message on OSX, even when I quit an application legitimately. It also happens with the rev development environment. I thought it was a bug in OSX. I just shout at the computer "It was NOT unexpected!" and move on. mark mitchell Japan From dan at danshafer.com Fri Jul 12 02:16:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Jul 12 02:16:01 2002 Subject: defaultStack Scope Message-ID: It appears that setting the defaultStack of a stack file is a temporary action. If I change it from the Message Box, e.g., it never "sticks." If I say: set the defaultStack to "Foo" and then put the defaultStack it always returns the stack that was the default before I typed the message. I can put the same two commands in a button's mouseUp handler and it works. So the question is what else can reset the defaultStack property without my doing so explicitly? -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 chipp at chipp.com Fri Jul 12 02:56:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Jul 12 02:56:01 2002 Subject: defaultStack Scope In-Reply-To: Message-ID: Appears to me, it's the last non palette stack to have focus. So, changing focus of a stack makes it the defaultStack. -Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer > Sent: Friday, July 12, 2002 2:13 AM > To: use-revolution at lists.runrev.com > Subject: defaultStack Scope > > > It appears that setting the defaultStack of a stack file is a > temporary action. If I change it from the Message Box, e.g., it never > "sticks." If I say: > > set the defaultStack to "Foo" > > and then > > put the defaultStack > > it always returns the stack that was the default before I typed > the message. > > I can put the same two commands in a button's mouseUp handler and > it works. > > So the question is what else can reset the defaultStack property > without my doing so explicitly? > -- > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 chipp at chipp.com Fri Jul 12 02:56:27 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Jul 12 02:56:27 2002 Subject: Updating Data Substacks In-Reply-To: Message-ID: Dan, You could also store your data as XML outside or in a stack property. Use one of the available XML libraries to read it. This has the added benefit of being a 'portable' file format. just a suggestion, Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer > Sent: Friday, July 12, 2002 12:07 AM > To: use-revolution at lists.runrev.com > Subject: Updating Data Substacks > > > It just occurred to me that the RR model which requires me to create > a separate stack to hold the data for my app might be an obstacle to > product upgrades. > > My mainstack is a splasher. My substacks are a palette (which can > change) and the primary data stack (which will change). If in my next > rev of the product, I wish to add features (e.g., a menu or even a > button on that stack with some new functions), I would expect to ask > my users to replace their current stack with the new one. But that > will, obviously, result in the loss of all their data. > > How should this work? What am I missing? > -- > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 chipp at chipp.com Fri Jul 12 03:00:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Jul 12 03:00:01 2002 Subject: defaultStack Scope In-Reply-To: Message-ID: Oh, and check out the topstack function. Because you're only using palettes, you may find the revMenuBar stack keeps becoming the defaultstack in the IDE. > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer > Sent: Friday, July 12, 2002 2:13 AM > To: use-revolution at lists.runrev.com > Subject: defaultStack Scope > > > It appears that setting the defaultStack of a stack file is a > temporary action. If I change it from the Message Box, e.g., it never > "sticks." If I say: > > set the defaultStack to "Foo" > > and then > > put the defaultStack > > it always returns the stack that was the default before I typed > the message. > > I can put the same two commands in a button's mouseUp handler and > it works. > > So the question is what else can reset the defaultStack property > without my doing so explicitly? > -- > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 ambassador at fourthworld.com Fri Jul 12 03:17:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri Jul 12 03:17:01 2002 Subject: Updating Data Substacks In-Reply-To: <200207120541.BAA29999@www.runrev.com> Message-ID: Dan Shafer asks: >> Good) Keep your data separate from the UI. This way you can update the UI >> independently of the data. > > Thanks for the fast reply, Scott. > > But this would require storing it in a text file and managing all the > data manipulation stuff or alternatively using a database, right? If > I have to do those things to keep data from being munged when I > upgrade the app, I might just as well use a conventional programming > environment! Transparency of data storage is crucial to stackware > applications. The UNIX and Windows restriction of executables being unable to write to themselves (Rev carries this forward to Mac OS as well for consistency) does require some re-thinking of data storage if you're used to working in Mac-specific xTalks. Fortunately Rev makes it easy: You could store your data in an external text file, but then you'd have to parse it to have any useful structure to it. If the nature of your data suggests a need for more structure than a single block of text, you could use a separate stack file for data storage. The main benefit of using a stack file as opposed to a text file is the hierarchical structure afforded with objects and their custom properties. Remember that every Rev object can have custom properties, and even multiple sets of custom properties. Accessing these is very fast -- much faster than fields, and only a tiny bit slower than globals. You can use array notation if you like, and they can store binary data as well as text. Since a new stack file contains one card in one mainstack, you instantly get this rich structure for organizing your data (for just 363 bytes of overhead): stack | ------------------------------------ | | | custom property cust. prop. set | | | custom property | | card | --------------------------- | | custom property cust. prop. set | custom property Of course you can enrich this data hierarchy by adding more cards to the stack, adding objects to the cards, adding substacks, etc. With multiple property sets, every object inherently has a two-dimensional data space; with multiple objects in nested groups across multiple cards in mutiple substacks, you can effectively create an n-dimensional data space in one stack file. Using the substacks, cardNames, customKeys, and customPropertySets properties you can instantly obtain lists of any collection of members at any level of the hierarchy. If you need a rich hierarchy with a lot of objects when the user creates a new data file, you can have a template data stack in your app's stack file, use the clone command to make a copy in memory, and set the filename propery of the newly-cloned data stack to assign it a file path; when you issue a save command for that stack, it'll save to the assigned path. Because the storage space and access speed overhead are so low with custom properties, you can use stack files for data sets as large as memory allows and expect pretty snappy performance. In this sense, it rivals Panorama and other RAM-based databases, with all the ease and flexibility of an xTalk. A simple example of using custom props for data storage: on StoreData repeat with i = 1 to the number of flds set the UserData[i] of stack "MyDataStack.rev" to fld i end repeat end StoreData on DisplayData lock screen repeat with i = 1 to the number of flds put the UserData[i] of stack "MyDataStack.rev" into fld i end repeat unlock screen end DisplayData Tip: if your data file needs to store images, just copy them to the card(s) of your data stack, and use buttons in your app's UI stacks to dispay those images by setting the button's icon. Unlike most other xTalks, Rev icons have no practical limit on size, and using this method allows a single image object to be displayed in multiple button objects with minimal RAM overhead. Another tip: If you want to store data in a way that isn't obvious for someone to read if they open the stack file in a binary editor, you can use the compress and decompress functions on data you store in custom props, which will also reduce the size of the data 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 larry at rmg.net Fri Jul 12 03:26:01 2002 From: larry at rmg.net (Larry Forsgren) Date: Fri Jul 12 03:26:01 2002 Subject: sockets Message-ID: <000801c2297d$4f832200$052aa8c0@LARRYS> Thank you all for your interest in my problems with sockets, I certainly learned something from your replies. Summarizing the problems I had it was impossible to open a socket to a mail server and then get any more than the initial welcome response from that server until I restarted revolution. This actually turned out to be one real problem and a stupid mistake working together to thwart my efforts at mail server communication. In sending commands to the mail server I used linefeed as described in the Revolution documentation write "command" & linefeed to socket "socket" This certainly does not work on Windows but replacing linefeed with CRLF works just fine as someone pointed out. write "command" & CRLF to socket "socket" Correcting the above I have been able to talk to the mail server without problems until I close the socket and attempt to open it again. That does not work and is a Revolution specific problem. Once a socket has been opened and used and it is then closed, it is spent. Whatever clean up, clearing buffers or other things that need to be done in relation to a close socket command, this does not work. I even tried libResetAll. The only workaround I know for the moment is to restart Revolution or the standalone. I will continue to work and learn more about sockets in Revolution. For the moment I can check if there is mail on a pop3 server using a few lines of Revolution, which is a great promise that there are more exciting things that can be done with sockets. Thanks Larry -------------- next part -------------- An HTML attachment was scrubbed... URL: From livfoss at blueyonder.co.uk Fri Jul 12 03:34:00 2002 From: livfoss at blueyonder.co.uk (Graham Samuel) Date: Fri Jul 12 03:34:00 2002 Subject: Using XCMDs/XCFNs in Revolution Message-ID: On Thu, 11 Jul 2002 15:57:27 +0200 yves COPPE wrote: >[...] > >there is well 2 things that make problem : > >1) Table format in Rev doesn't exist and the chart with. >2) Print capacity is very poor. > >For such difficult problem I use sometimes externals >(listtable-chartoid and prinReport). I hope those points are better >with new versions of rev. Curses! I'm now at least half a year late in starting serious Revo work based on Mac-only products I've already written using SuperCard. In one I make heavy use of HyperGraph and in all my products I need reasonable levels of printing sophistication currently provided by PrintReport. As one of my main motives is to go cross-platform, XCMDs/XCFNs wouldn't help me anyway. HyperGraph (Boojum/Royal Software - still working in MacOS 9.2.2 after all these years!) is essentially a chart-drawing utility which draws a repertoire of charts from data in arrays - I now think one of my early scripting projects will have to be something similar (but not a rip-off!), unless someone's already done it. I've missed a few weeks of this list - does anyone know of work already done in this area? TIA Graham -- ------------------------------------------------------------------- Graham Samuel / The Living Fossil Co. / London, UK From ro.nagey at verizon.net Fri Jul 12 03:41:00 2002 From: ro.nagey at verizon.net (Ro Nagey) Date: Fri Jul 12 03:41:00 2002 Subject: Updating Data Substacks In-Reply-To: Message-ID: Another approach that I implemented on a POS WAN back in the pre-Internet days: Ship the new stack[s] under a new name. On startup, it checks to see what it's name is...if it isn't MyOldStackName then it reads the data from the old stack[s] into the new stack[s], changes the name of the old stacks, then changes the name of the current stack to MyOldStackName. That way, you're previous rev is still there in case something goes tragically wrong. Ro > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer > Sent: Thursday, July 11, 2002 7:07 PM > To: use-revolution at lists.runrev.com > Subject: Updating Data Substacks > > > It just occurred to me that the RR model which requires me to create > a separate stack to hold the data for my app might be an obstacle to > product upgrades. > > My mainstack is a splasher. My substacks are a palette (which can > change) and the primary data stack (which will change). If in my next > rev of the product, I wish to add features (e.g., a menu or even a > button on that stack with some new functions), I would expect to ask > my users to replace their current stack with the new one. But that > will, obviously, result in the loss of all their data. > > How should this work? What am I missing? > -- > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > 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 drvaughan55 at mac.com Fri Jul 12 03:58:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Fri Jul 12 03:58:01 2002 Subject: Updating Data Substacks In-Reply-To: Message-ID: <0BA429E9-9575-11D6-82B1-000393598038@mac.com> On Friday, July 12, 2002, at 04:36 , Ro Nagey wrote: > Another approach that I implemented on a POS WAN back in the > pre-Internet > days: > > Ship the new stack[s] under a new name. On startup, it checks to see > what > it's name is...if it isn't MyOldStackName then it reads the data from > the > old stack[s] into the new stack[s], changes the name of the old stacks, > then > changes the name of the current stack to MyOldStackName. > > That way, you're previous rev is still there in case something goes > tragically wrong. This is a good option, and I like the hidden data stack as well. A logical counterpart to Ro's suggestion (and which I have used in HC but not tested in Rev, although I believe it should work) is to ship a code/UI updater rather than either a replacement stack or a data mover. This enables you to keep data in the (non-splash) stack structure and simply modify the controls and scripts. It really depends which is more complex and risky, moving and modifying the data or modifying the controls. Changes to field/data structures has implications for any of the models suggested. regards David > > Ro > >> -----Original Message----- >> From: use-revolution-admin at lists.runrev.com >> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer >> Sent: Thursday, July 11, 2002 7:07 PM >> To: use-revolution at lists.runrev.com >> Subject: Updating Data Substacks >> >> >> It just occurred to me that the RR model which requires me to create >> a separate stack to hold the data for my app might be an obstacle to >> product upgrades. >> >> My mainstack is a splasher. My substacks are a palette (which can >> change) and the primary data stack (which will change). If in my next >> rev of the product, I wish to add features (e.g., a menu or even a >> button on that stack with some new functions), I would expect to ask >> my users to replace their current stack with the new one. But that >> will, obviously, result in the loss of all their data. >> >> How should this work? What am I missing? >> -- >> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- >> 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 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From peter.fink at tiscali.ch Fri Jul 12 04:23:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Fri Jul 12 04:23:01 2002 Subject: Updating Data Substacks In-Reply-To: Message-ID: <3CDAA30200015DBF@flu-stateless-01.tiscalinet.ch> > >Recently, Dan Shafer wrote: > >> It just occurred to me that the RR model which requires me to create >> a separate stack to hold the data for my app might be an obstacle to >> product upgrades. >> > my users to replace their current stack with the new one. But that >> will, obviously, result in the loss of all their data. >> >> How should this work? What am I missing? > updating the software will "always" need updating of the data, for the new data structure, anyway. your question was also relevant in HC. I solved it this way: on an application administration card of the (new) stack, there was an Import Data button. Peter From dan at danshafer.com Fri Jul 12 04:53:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Jul 12 04:53:01 2002 Subject: Minor Bug Message-ID: When you finish building a Distribution on OS X, Cmd-Q does not quit the process. The menu works but the command key does not. -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 yvescoppe at skynet.be Fri Jul 12 06:49:00 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Fri Jul 12 06:49:00 2002 Subject: Updating Data Substacks In-Reply-To: References: Message-ID: >Dan Shafer asks: > >>> Good) Keep your data separate from the UI. This way you can update the UI >>> independently of the data. >> >> Thanks for the fast reply, Scott. >> >> But this would require storing it in a text file and managing all the >> data manipulation stuff or alternatively using a database, right? If >> I have to do those things to keep data from being munged when I >> upgrade the app, I might just as well use a conventional programming >> environment! Transparency of data storage is crucial to stackware >> applications. > >The UNIX and Windows restriction of executables being unable to write to >themselves (Rev carries this forward to Mac OS as well for consistency) does >require some re-thinking of data storage if you're used to working in >Mac-specific xTalks. > >Fortunately Rev makes it easy: > >You could store your data in an external text file, but then you'd have to >parse it to have any useful structure to it. > >If the nature of your data suggests a need for more structure than a single >block of text, you could use a separate stack file for data storage. > >The main benefit of using a stack file as opposed to a text file is the >hierarchical structure afforded with objects and their custom properties. > >Remember that every Rev object can have custom properties, and even multiple >sets of custom properties. Accessing these is very fast -- much faster than >fields, and only a tiny bit slower than globals. You can use array notation >if you like, and they can store binary data as well as text. > >Since a new stack file contains one card in one mainstack, you instantly get >this rich structure for organizing your data (for just 363 bytes of >overhead): > > I'm busy with the development of a big database. I do it with text files with the : put into URL("file:") and put URL("file:") into It's very easy and very fast Afterwards the parsing with repeat for each... makes it also very fast. You also need to build your own indexes when saving your data to text files for retrieving your searches quickly afterwards. Hope this helps. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From kray at sonsothunder.com Fri Jul 12 07:31:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Fri Jul 12 07:31:01 2002 Subject: defaultStack Scope References: Message-ID: <059301c2299f$249441b0$6401a8c0@mckinley.dom> Dan, The defaultStack is changed whenever a new stack is opened, so if you do this: on mouseUp set the defaultStack to "A" -- defaultStack is "A" open inv stack "B" -- defaultStack is now "B", even though A still appears (UI-wise) to be the current stack -- To reset the focus, call it again: set the defaultStack to "A" end mouseUp You can see how the focus shifts from one to the other. SuperCard had a similar property called "topWindow" that did the same thing. 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, July 12, 2002 2:13 AM Subject: defaultStack Scope > It appears that setting the defaultStack of a stack file is a > temporary action. If I change it from the Message Box, e.g., it never > "sticks." If I say: > > set the defaultStack to "Foo" > > and then > > put the defaultStack > > it always returns the stack that was the default before I typed the message. > > I can put the same two commands in a button's mouseUp handler and it works. > > So the question is what else can reset the defaultStack property > without my doing so explicitly? > -- > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > Dan Shafer > Technology Visionary - Technology Assessment - Documentation > "Looking at technology from every angle" > http://www.danshafer.com > 831-392-1127 Voice - 831-401-2531 Fax > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rfarnold at bu.edu Fri Jul 12 07:45:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Fri Jul 12 07:45:01 2002 Subject: Minor Bug In-Reply-To: Message-ID: on 7/12/02 1:16 AM, Dan Shafer wrote: > When you finish building a Distribution on OS X, Cmd-Q does not quit > the process. The menu works but the command key does not. > -- On OS 9 also. 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 Fri Jul 12 07:50:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Fri Jul 12 07:50:01 2002 Subject: Where am I? (volume) In-Reply-To: Message-ID: I am hoping users of my nearly finished camera tutorial will copy it to their hard drives, but some may simply run it from the distribution CD. Is there some way in RR to determine what "kind" of volume a RR app is running from? I use several "waits" at various points to regulate the speed of animations and I would like the app to be able to adjust this for slower CD devices. Thanks Bob -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 http://people.bu.edu/rfarnold/ From rcozens at pon.net Fri Jul 12 08:35:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Fri Jul 12 08:35:00 2002 Subject: unexpected quit on closeStackRequest In-Reply-To: References: Message-ID: >ROB: >FWIW, your handler runs fine on Mac OS 9. One thought: >closeStackRequest should be speciific to the stack whose close box is >clicked on: I see no reason to pass it. > >KURT: >Thanks for testing the script, Rob. However, if I comment out the line: >pass closeStackRequest Your're right, Kurt, I now realize all my closeStackRequest handlers either call a shutdown handler or include "close this stack"; so I've never passed the message. -- 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 David.Glasgow at cstone-tr.nwest.nhs.uk Fri Jul 12 09:24:00 2002 From: David.Glasgow at cstone-tr.nwest.nhs.uk (Glasgow, David) Date: Fri Jul 12 09:24:00 2002 Subject: Updating Data Substacks Message-ID: <92C2FCA79EE22F4B98185EB58BF2D3B351B961@mercury.cstone-tr.nwest.nhs.uk> Richard Gaskin started >Fortunately Rev makes it easy: and finished (eventually) >which will also reduce the size of the data file. This, and what went between, gets my vote for post of the month, and is going straight in the scrapbook. And while I'm on, does anyone remember a reference on this or the MC list to a criterion based content analysis program? Best wishes, David Glasgow Courses HTTP://www.i-Psych.co.uk From dsc at swcp.com Fri Jul 12 09:38:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Jul 12 09:38:01 2002 Subject: sockets In-Reply-To: <000801c2297d$4f832200$052aa8c0@LARRYS> Message-ID: <8C7A5C34-95A4-11D6-8F3C-0050E4C0B205@swcp.com> On Friday, July 12, 2002, at 02:22 AM, Larry Forsgren wrote: > In sending commands to the mail server I used linefeed > as described in the Revolution documentation > ?? write "command" & linefeed to socket "socket" > This certainly does not work on Windows but replacing > linefeed with CRLF works just fine as someone pointed out. > ?? write "command" & CRLF to socket "socket" > This is a characteristic of the protocol, not Windows. (I'm assuming that POP is like SMTP and does use crlf as the line end.) Your pop client code will be able to port to other platforms without your changing this. (Good catch, Shao Sean!) Dar Scott From fuegox at mac.com Fri Jul 12 09:47:03 2002 From: fuegox at mac.com (Mark Talluto) Date: Fri Jul 12 09:47:03 2002 Subject: The sound of silence In-Reply-To: <200207101845.OAA21244@www.runrev.com> Message-ID: > > Not running a QT movie....just trying to play a sound. Thanks. > > Ro Ro, Send me your stack and the sound file and I will take a look at it. Best regards, Mark Talluto http://www.canelasoftware.com From bvlahos at jpl.nasa.gov Fri Jul 12 09:54:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Fri Jul 12 09:54:01 2002 Subject: Using XCMDs/XCFNs in Revolution In-Reply-To: Message-ID: Ken Simons has created a very useful but somewhat limited chart object which is entirely written in transcript and is free. You can find it in the user contributed area of the Rev site. It only can plot line and scatter (i.e. points without connecting the lines) plots but it does a pretty good job of them. It does not appear that he is trying to take it much further to all of the other plots types (bar, column, area, and the other goofy ones). You might want to ask him. Ken's chart object is perfectly fine for my in house application but it would be great to have another option. Bill Vlahos On Friday, July 12, 2002, at 01:30 AM, Graham Samuel wrote: > On Thu, 11 Jul 2002 15:57:27 +0200 yves COPPE > wrote: > >> [...] > >> >> there is well 2 things that make problem : >> >> 1) Table format in Rev doesn't exist and the chart with. >> 2) Print capacity is very poor. >> >> For such difficult problem I use sometimes externals >> (listtable-chartoid and prinReport). I hope those points are better >> with new versions of rev. > > Curses! I'm now at least half a year late in starting serious Revo work > based on Mac-only products I've already written using SuperCard. In > one I make heavy use of HyperGraph and in all my products I need > reasonable levels of printing sophistication currently provided by > PrintReport. As one of my main motives is to go cross-platform, > XCMDs/XCFNs wouldn't help me anyway. > > HyperGraph (Boojum/Royal Software - still working in MacOS 9.2.2 after > all these years!) is essentially a chart-drawing utility which draws a > repertoire of charts from data in arrays - I now think one of my early > scripting projects will have to be something similar (but not a > rip-off!), unless someone's already done it. I've missed a few weeks of > this list - does anyone know of work already done in this area? > > TIA > > Graham > > -- ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / London, UK > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From davecalk at surfbest.net Fri Jul 12 11:07:01 2002 From: davecalk at surfbest.net (Dave Calkins) Date: Fri Jul 12 11:07:01 2002 Subject: Transcript Dictionary Suggestion References: <200207092223.SAA25702@www.runrev.com> Message-ID: <3D2E0EBA.9C681BFF@surfbest.net> > > Subject: Re: numberFormat prop > From: Scott Rossi > To: > Reply-To: use-revolution at lists.runrev.com > > Recently, "Steve Messimer" wrote: > > > it would be nice to see an example of how the > > numberFormat should work. > > I believe the numberFormat is a global property, not applied to specific > controls. So you simply say "set the numberFormat to 0.00" and then any > scripts currently executing use this format. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- There is one thing that was in the hypercard dictionaries be nice to have in the transcript dictionaries. The HC dictionaries had buttons that demonstrated the command and could be examined for the syntax. Being able to examine an actual working script would clear up an awful lot of the the miss understandings that people are having to ask these lists about. That would save a great deal of time and energy that is now having to be expended. The above types of miss understandings would not happen as often. Just a thought. Dave Calkins From dan at danshafer.com Fri Jul 12 12:33:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Jul 12 12:33:01 2002 Subject: defaultStack Scope In-Reply-To: References: Message-ID: >Appears to me, it's the last non palette stack to have focus. So, changing >focus of a stack makes it the defaultStack. Which I think explains what I'm seeing. Message Box is a stack. So when I type into it, it changes the defaultStack I just set? But it goes to the topStack, which isn't message box because it's a palette? So what am I not getting? >-Chipp > >> -----Original Message----- >> From: use-revolution-admin at lists.runrev.com >> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer >> Sent: Friday, July 12, 2002 2:13 AM >> To: use-revolution at lists.runrev.com >> Subject: defaultStack Scope >> >> >> It appears that setting the defaultStack of a stack file is a >> temporary action. If I change it from the Message Box, e.g., it never >> "sticks." If I say: >> >> set the defaultStack to "Foo" >> >> and then >> >> put the defaultStack >> >> it always returns the stack that was the default before I typed >> the message. >> >> I can put the same two commands in a button's mouseUp handler and >> it works. >> >> So the question is what else can reset the defaultStack property >> without my doing so explicitly? >> -- >> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- >> 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 > >_______________________________________________ >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 bornstein at designeq.com Fri Jul 12 12:50:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Fri Jul 12 12:50:01 2002 Subject: Where am I? (volume) Message-ID: <200207121746.g6CHkvL19414@mailout5.nyroc.rr.com> >I am hoping users of my nearly finished camera tutorial will copy it to >their hard drives, but some may simply run it from the distribution CD. Is >there some way in RR to determine what "kind" of volume a RR app is running >from? I use several "waits" at various points to regulate the speed of >animations and I would like the app to be able to adjust this for slower CD >devices. You could try two things: 1) Since it's your distribution CD, you know the volume name. Once the defaultfolder is set to a file in that volume (i.e. by having them select a file from the volume) you can get the volume name thusly: put the defaultfolder into df set the itemdelimiter to "/" delete the first char of df put the first item of df into volname if volname = "your cd name" then -- you're running off the CD end if 2) A quick and dirty method of determining if it's a CD (not the best approach) is to try to write a file to the CD. If you get an error, then it's write protected (and thus probably a CD--again, the defaultfolder must already be pointed at the CD): open file "test" for write if the result is "Can't open that file" then -- CD-specific code end if Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From chipp at chipp.com Fri Jul 12 16:11:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Fri Jul 12 16:11:01 2002 Subject: defaultStack Scope In-Reply-To: Message-ID: Doesn't work that way on my machine (WinXP). Open Rev -> Create New Stack and name it "foo". Type: put the defaultstack into the messagebox returns: stack "foo" > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer > Sent: Friday, July 12, 2002 12:30 PM > To: use-revolution at lists.runrev.com > Subject: RE: defaultStack Scope > > > >Appears to me, it's the last non palette stack to have focus. > So, changing > >focus of a stack makes it the defaultStack. > > Which I think explains what I'm seeing. Message Box is a stack. So > when I type into it, it changes the defaultStack I just set? But it > goes to the topStack, which isn't message box because it's a palette? > So what am I not getting? > > >-Chipp > > > >> -----Original Message----- > >> From: use-revolution-admin at lists.runrev.com > >> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer > >> Sent: Friday, July 12, 2002 2:13 AM > >> To: use-revolution at lists.runrev.com > >> Subject: defaultStack Scope > >> > >> > >> It appears that setting the defaultStack of a stack file is a > >> temporary action. If I change it from the Message Box, e.g., it never > >> "sticks." If I say: > >> > >> set the defaultStack to "Foo" > >> > >> and then > >> > >> put the defaultStack > >> > >> it always returns the stack that was the default before I typed > >> the message. > >> > >> I can put the same two commands in a button's mouseUp handler and > >> it works. > >> > >> So the question is what else can reset the defaultStack property > >> without my doing so explicitly? > >> -- > >> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > >> 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 > > > >_______________________________________________ > >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 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From dan at danshafer.com Fri Jul 12 16:36:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Jul 12 16:36:01 2002 Subject: defaultStack Scope In-Reply-To: References: Message-ID: >Doesn't work that way on my machine (WinXP). Open Rev -> Create New Stack >and name it "foo". Type: > >put the defaultstack > >into the messagebox > >returns: > >stack "foo" OK. Are you starting clean? I'm in a situation where there is a mainstack open, along with two substacks. If I have the mainstack open and I type set the defaultStack to "foo" (not the name, but...) into the message box and then immediately type put the defaultStack I get the name of the mainstack. > > -----Original Message----- >> From: use-revolution-admin at lists.runrev.com >> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer >> Sent: Friday, July 12, 2002 12:30 PM >> To: use-revolution at lists.runrev.com >> Subject: RE: defaultStack Scope >> >> >> >Appears to me, it's the last non palette stack to have focus. >> So, changing >> >focus of a stack makes it the defaultStack. >> >> Which I think explains what I'm seeing. Message Box is a stack. So >> when I type into it, it changes the defaultStack I just set? But it >> goes to the topStack, which isn't message box because it's a palette? >> So what am I not getting? >> >> >-Chipp >> > >> >> -----Original Message----- >> >> From: use-revolution-admin at lists.runrev.com >> >> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Dan Shafer >> >> Sent: Friday, July 12, 2002 2:13 AM >> >> To: use-revolution at lists.runrev.com >> >> Subject: defaultStack Scope >> >> >> >> >> >> It appears that setting the defaultStack of a stack file is a >> >> temporary action. If I change it from the Message Box, e.g., it never >> >> "sticks." If I say: >> >> >> >> set the defaultStack to "Foo" >> >> >> >> and then >> >> >> >> put the defaultStack >> >> >> >> it always returns the stack that was the default before I typed >> >> the message. >> >> >> >> I can put the same two commands in a button's mouseUp handler and >> >> it works. >> >> >> >> So the question is what else can reset the defaultStack property >> >> without my doing so explicitly? >> >> -- >> >> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- >> >> 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 > > > > > >_______________________________________________ > > >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 >> _______________________________________________ >> 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 -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 peter.fink at tiscali.ch Fri Jul 12 16:49:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Fri Jul 12 16:49:01 2002 Subject: comment and questions of 12 jul 02 Message-ID: <3D0D86C400008BCC@flu-stateless-02.tiscalinet.ch> comment I'm now thru with the Transcript Dictionary, all 1303 pages. I consider it good documentation. The descriptions do contain the answer to most of the questions one might have und give a clear, concise idea of the RR concepts. The format and technical writing is good. I'd like to give a positive feedback here. questions of today (there are still some) 1) where is beep? it does not work for me. 2) can the linktext be entered in the development system, in some panel? 3) how to create spray, brush, cursor shapes as images? specially how to create the transparent pixels? 4)(repeat) how does the image library work? 5) how to make the little icons in the Go Back and See Also buttons of the Transcript Dictionary? thanks to Sarah, Klaus, Dave, Dar, Ken, Jan, Heather, Geoff and the whole community for their previous and future answers. Peter peter.fink at tiscali.ch From scott at tactilemedia.com Fri Jul 12 16:50:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Jul 12 16:50:01 2002 Subject: defaultStack Scope In-Reply-To: Message-ID: Recently, "Dan Shafer" wrote: >> Doesn't work that way on my machine (WinXP). Open Rev -> Create New Stack >> and name it "foo". Type: >> >> put the defaultstack >> >> into the messagebox >> >> returns: >> >> stack "foo" > > OK. Are you starting clean? I'm in a situation where there is a > mainstack open, along with two substacks. If I have the mainstack > open and I type > > set the defaultStack to "foo" (not the name, but...) > > into the message box and then immediately type > > put the defaultStack > > I get the name of the mainstack. I believe defaultStack is a global property that operates locally. So, if you type in the message box: set the defaultStack to "foo";put the defaultStack You should get "foo". In other words, once a handler is done executing, the defaultStack is reset to the top stack. Since you typed your test scripts separately in the message box. The defaultStack was reset by the time you queried it. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From Zzyzx at Relia.Net Fri Jul 12 17:04:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Fri Jul 12 17:04:01 2002 Subject: comment and questions of 12 jul 02 References: <3D0D86C400008BCC@flu-stateless-02.tiscalinet.ch> Message-ID: <005d01c229ef$a1403f20$1501000a@xhead> > 1) where is beep? it does not work for me. It works for me. Just a simple code... on mouseup beep end mouseup You must have a PC Speaker installed to be able to work. The beep does not come through the speakers. You could find a beeping ".wav" file, then import it into your stack. > 3) how to create spray, brush, cursor shapes as images? specially how to > create the transparent pixels? I'm not sure that Rev can do this. My guess is just to make it in a external program, like Photoshop, then import that image into your Stack. 4)(repeat) how does the image library work? Should be self-explanatory... - Josh Dye ----- Original Message ----- From: To: "use-revolution" Sent: Friday, July 12, 2002 3:46 PM Subject: comment and questions of 12 jul 02 > comment > > I'm now thru with the Transcript Dictionary, all 1303 pages. > > I consider it good documentation. The descriptions do contain the answer > to most of the questions one might have und give a clear, concise idea of > the RR concepts. The format and technical writing is good. I'd like to give > a positive feedback here. > > questions of today (there are still some) > > 1) where is beep? it does not work for me. > > 2) can the linktext be entered in the development system, in some panel? > > 3) how to create spray, brush, cursor shapes as images? specially how to > create the transparent pixels? > > 4)(repeat) how does the image library work? > > 5) how to make the little icons in the Go Back and See Also buttons of the > Transcript Dictionary? > > > thanks to Sarah, Klaus, Dave, Dar, Ken, Jan, Heather, Geoff and the whole > community for their previous and future answers. > > Peter > peter.fink at tiscali.ch > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From rfarnold at bu.edu Fri Jul 12 17:12:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Fri Jul 12 17:12:01 2002 Subject: Windows printing problems -- HELP!!! In-Reply-To: Message-ID: Arrrggghhh, Sorry, I'm trying to debug a Windows stand-alone made-on-Mac RR app, and I am having a lot of difficulty. Slowly working my way through weird inconsistencies between performance on Mac vs Windows, but can't figure out the following: Printing cards on Win seems to print 1/2 to 3/4 of card regardless of print scale, or rotation (set through the Windows printer dialog). No change when I added the card dimensions to the print script. Works fine on Mac versions (always prints entire card). Some details: Running Windows 2000 in Virtual PC on Mac G4 733 Epson SC880 inkjet. Card rectangle: 0,0,780,560 Any ideas? Thanks Bob -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 http://people.bu.edu/rfarnold/ From dan at danshafer.com Fri Jul 12 18:16:01 2002 From: dan at danshafer.com (Dan Shafer) Date: Fri Jul 12 18:16:01 2002 Subject: defaultStack Scope In-Reply-To: References: Message-ID: >Recently, "Dan Shafer" wrote: > >>> Doesn't work that way on my machine (WinXP). Open Rev -> Create New Stack >>> and name it "foo". Type: >>> >>> put the defaultstack >>> >>> into the messagebox >>> >>> returns: >>> >>> stack "foo" >> >> OK. Are you starting clean? I'm in a situation where there is a >> mainstack open, along with two substacks. If I have the mainstack >> open and I type >> >> set the defaultStack to "foo" (not the name, but...) >> >> into the message box and then immediately type >> >> put the defaultStack >> >> I get the name of the mainstack. > >I believe defaultStack is a global property that operates locally. So, if >you type in the message box: > > set the defaultStack to "foo";put the defaultStack > >You should get "foo". > >In other words, once a handler is done executing, the defaultStack is reset >to the top stack. Since you typed your test scripts separately in the >message box. The defaultStack was reset by the time you queried it. That appears to be correct. That will work OK where I need this capability. Thanks, Scott! >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 -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 peter.fink at tiscali.ch Fri Jul 12 18:56:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Fri Jul 12 18:56:01 2002 Subject: questions of 12 jul 02 (beep) Message-ID: <3D0D86C400008BE9@flu-stateless-02.tiscalinet.ch> >-- Original-Nachricht -- >From: "Josh Dye" > >> 1) where is beep? it does not work for me. > > >It works for me. Just a simple code... > >on mouseup >beep >end mouseup > >You must have a PC Speaker installed to be able to work. The beep does Josh, thats what I tried. I have Windows 98SE, internal speakers, the PC speakers are enabled (as the modem card noises thru PC speakers) and the rest of the sound (mp3, wav used) works in RR and elsewhere. The missing beep must be on another setting. Maybe the multimedia control panel? I'm out of ideas. > >4)(repeat) how does the image library work? > >Should be self-explanatory > I don't know how to add images to the library and where they reside. I know however how to add images to a stack from a file and these show up in the library. Maybe I don't see what the exact purpose of the library is. Peter From ro.nagey at verizon.net Sat Jul 13 08:03:01 2002 From: ro.nagey at verizon.net (Ro Nagey) Date: Sat Jul 13 08:03:01 2002 Subject: Where am I? (volume) In-Reply-To: Message-ID: A trivial approach that may have gotcha's lurking: try creating a file...if your stack is running on a CD the operation will fail, if it succeeds, then it's on a writable drive. Hope this helps, Ro > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Bob Arnold > Sent: Friday, July 12, 2002 2:46 AM > To: use-revolution at lists.runrev.com > Subject: Where am I? (volume) > > > I am hoping users of my nearly finished camera tutorial will copy it to > their hard drives, but some may simply run it from the distribution CD. Is > there some way in RR to determine what "kind" of volume a RR app > is running > from? I use several "waits" at various points to regulate the speed of > animations and I would like the app to be able to adjust this for > slower CD > devices. > > Thanks > > Bob > -- > Robert Arnold > Associate Professor of Film > Boston University > Tel (617) 353-7735 Fax (617) 353-1084 > http://people.bu.edu/rfarnold/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From Zzyzx at Relia.Net Sat Jul 13 09:31:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Sat Jul 13 09:31:01 2002 Subject: questions of 12 jul 02 (beep) References: <3D0D86C400008BE9@flu-stateless-02.tiscalinet.ch> Message-ID: <000901c22a79$7c9c9080$1501000a@xhead> > Josh, thats what I tried. I have Windows 98SE, internal speakers, the > PC speakers are enabled (as the modem card noises thru PC speakers) and > the rest of the sound (mp3, wav used) works in RR and elsewhere. > The missing beep must be on another setting. Maybe the multimedia control > panel? I'm out of ideas. Try re-installing Rev. This might help. If not, then I also, am out of ideas. Just make sure that your PC Speaker is enabled, and set all the way up. - Josh Dye ----- Original Message ----- From: To: Sent: Friday, July 12, 2002 5:53 PM Subject: Re: questions of 12 jul 02 (beep) > >-- Original-Nachricht -- > >From: "Josh Dye" > > > >> 1) where is beep? it does not work for me. > > > > > >It works for me. Just a simple code... > > > >on mouseup > >beep > >end mouseup > > > >You must have a PC Speaker installed to be able to work. The beep does > > Josh, thats what I tried. I have Windows 98SE, internal speakers, the > PC speakers are enabled (as the modem card noises thru PC speakers) and > the rest of the sound (mp3, wav used) works in RR and elsewhere. > The missing beep must be on another setting. Maybe the multimedia control > panel? I'm out of ideas. > > > >4)(repeat) how does the image library work? > > > >Should be self-explanatory > > > > I don't know how to add images to the library and where they reside. > I know however how to add images to a stack from a file and these show up > in the library. Maybe I don't see what the exact purpose of the library > is. > > Peter > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From bvg at mac.com Sat Jul 13 09:50:01 2002 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat Jul 13 09:50:01 2002 Subject: questions of 12 jul 02 (beep) In-Reply-To: <3D0D86C400008BE9@flu-stateless-02.tiscalinet.ch> Message-ID: <643EA3A4-966F-11D6-9E6D-003065AD94A4@mac.com> On Samstag, Juli 13, 2002, at 01:53 , peter.fink at tiscali.ch wrote: >> >> 4)(repeat) how does the image library work? >> >> Should be self-explanatory >> > > I don't know how to add images to the library and where they reside. > I know however how to add images to a stack from a file and these show > up > in the library. Maybe I don't see what the exact purpose of the library > is. > Peter I found out that there is a "import picture into stack" menu item under the file menu, since then i haven't touched the dreaded image library pos. My advise: don't use it. From skycap at earthlink.net Sat Jul 13 12:39:01 2002 From: skycap at earthlink.net (Bruce Wilson) Date: Sat Jul 13 12:39:01 2002 Subject: Help with web page download Message-ID: <3D306522.7050400@earthlink.net> The following script has worked on about 80% of web sites to download pages. However some sites require me to post info or wants to set cookies, or to be a big browser,etc. which goes beyond my scripting abilities. Any help would be appreciated. Bruce Wilson on mouseup put word 1 of fld "symbol" into sym --Stock symbol put char 1 of sym into b put "http://user:psswrd at biz.yahoo.com/n/"&b&"/"&sym&".html" into myurl put url myurl into dataVar put HTMLtoTXT (dataVar) into dataVar --HTMLtoTXT is external Func. put cleanUpTXT (dataVar) into fld "data" --clean up & put into fld end mouseup From ambassador at fourthworld.com Sat Jul 13 14:06:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat Jul 13 14:06:01 2002 Subject: defaultStack Scope In-Reply-To: <200207131332.JAA25915@www.runrev.com> Message-ID: Dan Shafer asks: >> Appears to me, it's the last non palette stack to have focus. So, changing >> focus of a stack makes it the defaultStack. > > Which I think explains what I'm seeing. Message Box is a stack. So > when I type into it, it changes the defaultStack I just set? But it > goes to the topStack, which isn't message box because it's a palette? > So what am I not getting? Modeless windows. Rev windows can be opened as toplevel, palette, modal, and modeless. Toplevel has the standard document window behavaviors normally associated with modern GUIs. The topstack returns the top-most window of this type, and changes in interaction mode ("the tool") are reflected in these windows. Palette is a floating utility window. These are not returned by "the topstack" unless no toplevel windows are open, and are impervious to changes in the user interaction mode (indeed, such changes are usually triggered by the user's selection of tools in such windows). Modal is a modal dialog. These are brought in front of other windows for situations requiring brief and immediate attention of the user. While displayed the script that called it is suspended. These windows are also impervious to changes in the user interaction mode. Modeless windows appear and behave like toplevel, except that such windows are only returned by "the topstack" only when no toplevel window is open, and are impervious to changes in the user interaction mode. This type allows property sheets and other utility window designs where it would not be desirable to have them float above other windows as with palettes, or suspend activity as with dialogs. Consider the document-centric philosophy behind the design of modern GUIs (one could argue that modern GUIs are application-centric, but that's looking at the larger OS context; here I'm thinking only of the context within an application): The document window ("toplevel") is the focal point of interaction. It holds the user's data, and accordingly it responds to the user's choice of "tool" (interaction mode) and is the default focus for keyboard and mouse activity. All other window types are secondary to the document, serving to support activities taking place in the document window. Ideally the designs of non-document windows reinforce this visually, making the document the visual focal point of the layout. This is why, for example, OS X draws document windows with a white background while other window types are drawn with the pinstripe background, helping them visually recede and making the document stand out in bright contrast to them. Less automatic in Rev, this is also reflected in the Win32 convention of having a document's content region drawn white while the content region of secondary windows are gray. Revolution's modeless windows simply give us another type of secondary supporting window for those cirumstances where a palette or modal dialog would be inappropriate or at least suboptimal. Rev's Message Box is able to transfer focus of the execution of its contents by simply shifting the defaultstack property to the topstack: set defaultStack to the topStack -- 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 davecalk at surfbest.net Sat Jul 13 18:44:01 2002 From: davecalk at surfbest.net (Dave Calkins) Date: Sat Jul 13 18:44:01 2002 Subject: Updating Data Substacks References: <200207120742.DAA02414@www.runrev.com> Message-ID: <3D30BC18.24F61ACD@surfbest.net> > .... Stack > | > ------------------------------------ > | | | > custom property cust. prop. set | > | | > custom property | > | > card > | > --------------------------- > | | > custom property cust. prop. set > | > custom property > > Of course you can enrich this data hierarchy by adding more cards to the > stack, .... Good information Richard, Thanks for sharing, Dave Calkins From jeanne at runrev.com Sat Jul 13 20:59:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Jul 13 20:59:01 2002 Subject: Armed button and border In-Reply-To: <3D2AAC71.7090704@laposte.net> Message-ID: At 2:27 AM -0700 7/9/2002, Ludovic Thebault wrote: >It is possible to hide the border when the autoarm is true ? Setting the armBorder property to false should do it. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Jul 13 20:59:38 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Jul 13 20:59:38 2002 Subject: Always on Top? And Disabling Stuff In-Reply-To: <000e01c2284f$96c11980$1501000a@xhead> Message-ID: At 1:22 PM -0700 7/10/2002, Josh Dye wrote: > I made a stack, that opens up games, etc. It works, so I put it into a >Standalone. I ran it, worked good (Except that the boxes are all White, >anyone know why?) By "boxes" do you mean icon buttons? If so, did you use icons from one of the image libraries? If you do, you need to check off that library in Distribution Builder when you make the standalone. >Also, is there a >way to disable certain keys? I would like to disable Windows + D, Alt + Tab, >Alt + F4, and some others. Any ideas? Check keyDown and rawKeyDown. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From monte at sweattechnologies.com Sat Jul 13 21:14:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat Jul 13 21:14:01 2002 Subject: questions of 12 jul 02 (beep) In-Reply-To: <643EA3A4-966F-11D6-9E6D-003065AD94A4@mac.com> Message-ID: > > I found out that there is a "import picture into stack" menu item under > the file menu, since then i haven't touched the dreaded image library > pos. > My advise: don't use it. > Why would you advise that? The image library is a useful place to store images that you use often as icons. When you want to build a distribution then you just include the image libraries that you used. This is how to use it: - import an image - select it - open the image library - click on new library and name it "My Icons" or whatever - click on move selected image into this library You now have an image stored in a custom image library. When you want a button that uses this image as an icon the quickest thing to do is open the image library, choose your "my Icons" library, click on your image then click "Insert Button Reference into Stack". Cheers Monte From jeanne at runrev.com Sat Jul 13 22:55:05 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Jul 13 22:55:05 2002 Subject: comment and questions of 12 jul 02 In-Reply-To: <3D0D86C400008BCC@flu-stateless-02.tiscalinet.ch> Message-ID: At 2:46 PM -0700 7/12/2002, peter.fink at tiscali.ch wrote: >I'm now thru with the Transcript Dictionary, all 1303 pages. Gulp. Congratulations - I think you're probably one of under a dozen who's read the whole thing front to back. ;-) >1) where is beep? it does not work for me. Do other sounds work in Rev? If you play an audioclip or player, does the sound come through? >2) can the linktext be entered in the development system, in some panel? Not yet. >4)(repeat) how does the image library work? The Image Library is essentially an interface for seeing and choosing images in a stack. The built-in libraries are all stacks (that are part of Rev); choosing one shows you the images in that stack and lets you copy an image into your own stack, use it as an icon, and so on. When you create a standalone, if you have used images in a built-in library as icons, you'll need to check off these libraries to include them in the standalone. When you select a stack of your own to display in the image library, it scans the stack and displays all images. This is mostly convenient when you have a stack you use especially to store images such as icons - using the Image Library window you can create and manage the stack, then easily examine the images and choose one. You never need to show the stack to the user - just put one image on each card (or however you want to arrange them). >5) how to make the little icons in the Go Back and See Also buttons of the >Transcript Dictionary? They're just icons underneath a transparent button which is the menu - no special feature. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Jul 13 22:56:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Jul 13 22:56:01 2002 Subject: Editing Menu Groups In-Reply-To: Message-ID: At 8:24 AM -0700 7/9/2002, Klaus Major wrote: >When a grp has its backgroundbehaviour checked, then it has to be called >background "xxx" if it is not on the card where it is called in the >script. This is close, but not quite correct. A group is referred to relative to a card, just like any other control. So if you refer to "group xxx", and you're not on a card that has that group placed on it, you'll run into a problem, because Rev looks for the group on the current card and doesn't find it. Background references to groups, however, are relative to the stack, not just a card where the group may be placed. Every group in a stack can be referred to as a background, because (obviously) it's in the stack even if it isn't on every card. The backgroundBehavior setting doesn't affect this; it's just whether the group is placed on the current card or not. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Jul 13 22:56:17 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Jul 13 22:56:17 2002 Subject: comments and questions of 11 july 2002 In-Reply-To: <3D0D86C400008338@flu-stateless-02.tiscalinet.ch> Message-ID: At 5:16 AM -0700 7/11/2002, peter.fink at tiscali.ch wrote: >1) menuButton() function: what is it supposed to do? it does not return >a sensible result to me. It's for use with stack menus. You create a stack menu by laying out the menu items on a stack window, then creating a menu button and setting its menuName property to the stack's name. Stack menus are more complicated to build than ordinary button menus, but they allow a great deal of control over layout and appearance. There's some information on them at the end of "About menus and the menu bar". Normally, you handle choosing an item from a stack menu in a mouseUp handler. The menuButton returns the name of the button that triggered the stack menu's display, so (for example) you can use the same stack menu for various menu buttons, and do different things depending on the button. For example, you might create a stack menu listing all your mailboxes, and call it from a "Delete this mailbox" button and also from an "Open this mailbox" button. In this case, checking the menuButton from within the stack menu lets you respond appropriately to the choice of a mailbox, either deleting it or opening it. >2) newTool message: I do get this message for the choose someTool command >in a script, but not when a tool is clicked in the object or paint palette. >How to make that work? I'm getting it, and I don't see anything offhand that ought to block it... what method are you using to intercept the message? -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Jul 13 22:56:34 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Jul 13 22:56:34 2002 Subject: Icon Editor in Rev In-Reply-To: References: Message-ID: At 9:48 AM -0700 7/6/2002, Bruce Lewis wrote: >Can I turn off the throbbing in the box appears in the stack window. It is >torture. In the Magnify window, you mean? Unfortunately no, unless there's a trick I don't know about. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From jeanne at runrev.com Sat Jul 13 22:56:56 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Jul 13 22:56:56 2002 Subject: More & More Movie Difficulties In-Reply-To: References: Message-ID: At 11:37 AM -0700 7/9/2002, Mike Brown wrote: >Unless I am misunderstanding the Rev documentation, it states an .avi file >can be imported and played using the play command in the following script: > >on mouseup >play videoclip "moviename.avi" >end mouseup > >This does not use the QuickTime player. Metacard also has this ability. >I have made a variety of avi files but can not get them to display using >that script. Has anyone done this successfully? If so how?? Are you using the same versions of both engines? (Check the version and buildNumber properties in Rev and in MC to find out.) Are you sure the videoclip is present in the stack? Look in the App Overview, or else enter something like "put the name of videoclip 1" in the message box, after importing. These are just the first questions I'd ask to try to track down the problem. -- 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 Sun Jul 14 01:40:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Sun Jul 14 01:40:01 2002 Subject: image library Message-ID: <200207140637.g6E6b9p01704@mailout6.nyroc.rr.com> >When you select a stack of your own to display in the image library, it >scans the stack and displays all images. Uh, how exactly is this done? Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From jeanne at runrev.com Sun Jul 14 02:02:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Jul 14 02:02:01 2002 Subject: image library In-Reply-To: <200207140637.g6E6b9p01704@mailout6.nyroc.rr.com> Message-ID: At 11:37 PM -0700 7/13/2002, Howard Bornstein wrote: >>When you select a stack of your own to display in the image library, it >>scans the stack and displays all images. > >Uh, how exactly is this done? The "Library" popup menu at the top of the Image Library window. (It lets you choose the current stack.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From mike at cyber-ny.com Sun Jul 14 08:31:01 2002 From: mike at cyber-ny.com (Mike Brown) Date: Sun Jul 14 08:31:01 2002 Subject: More & More Movie Difficulties In-Reply-To: Message-ID: Hi Jeanne, Thanks for your response to my videoclip playback issue. I already tried all of those recommendations in my last two weeks of investigating videoclip display. I have spent a lot of time setting up test fields and test stacks to identify the clip to be played. After trying every available codec and testing across multiple platforms, the only format of video I have personally been able to play back within Revolution is the .mov (Quicktime) format. This script only plays back .mov format: on mouseup play videoclip "moviename.avi" end mouseup I am only looking for confirmation on this. If I create an .avi movie file using the industry standard "Media Cleaner Pro" application in any compression codec (intel indeo, cinepak, ir 2, sorenson, etc...), it will not play back from Rev although the same clip will play back in MetaCard, Windows Media Player, QuickTime and in some cases Real on both Mac and Win OS. Rev documentation offers very sparse info on movie play back but it does list the ability to play back a .avi clip from the script I described. I guess I though video playback through REV would be a hotter issue, but it seems to be falling flat on the discussion list - so I apologize for bringing it up again. I will be sure to list anything I find out about this in the event somebody else experiences the same issues. Thanks, Mike on 7/13/02 11:41 PM, Jeanne A. E. DeVoto at jeanne at runrev.com wrote: > At 11:37 AM -0700 7/9/2002, Mike Brown wrote: >> Unless I am misunderstanding the Rev documentation, it states an .avi file >> can be imported and played using the play command in the following script: >> >> on mouseup >> play videoclip "moviename.avi" >> end mouseup >> >> This does not use the QuickTime player. Metacard also has this ability. >> I have made a variety of avi files but can not get them to display using >> that script. Has anyone done this successfully? If so how?? > > Are you using the same versions of both engines? (Check the version and > buildNumber properties in Rev and in MC to find out.) > > Are you sure the videoclip is present in the stack? Look in the App > Overview, or else enter something like "put the name of videoclip 1" in the > message box, after importing. > > These are just the first questions I'd ask to try to track down the problem. > > -- > 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 sanke at hrz.uni-kassel.de Sun Jul 14 14:42:01 2002 From: sanke at hrz.uni-kassel.de (sanke at hrz.uni-kassel.de) Date: Sun Jul 14 14:42:01 2002 Subject: More & More Movie Difficulties Message-ID: <1026675542.3d31d356cd3cf@www.uni-kassel.de> On Sat, 13 Jul 2002 "Jeanne A. E. DeVoto" wrote: >At 11:37 AM -0700 7/9/2002, Mike Brown wrote: >>Unless I am misunderstanding the Rev documentation, it states an .avi file >>can be imported and played using the play command in the following script: >> >>on mouseup >>play videoclip "moviename.avi" >>end mouseup >> >>This does not use the QuickTime player. Metacard also has this ability. >>I have made a variety of avi files but can not get them to display using >>that script. Has anyone done this successfully? If so how?? >Are you using the same versions of both engines? (Check the version and >buildNumber properties in Rev and in MC to find out.) >Are you sure the videoclip is present in the stack? Look in the App >Overview, or else enter something like "put the name of videoclip 1" in the >mess>age box, after importing. >These are just the first questions I'd ask to try to track down the problem. -- >Jeanne A. E. DeVoto ~ jeanne at runrev.com Avi-files run here without problems (on a Windows computer) and with Metacard or Revolution both in the player object and with the "play videoclip" command. Also, the videoclip need *not* be a part of the stack, it can be called with "play videoclip "xy.avi"" from the current folder or any other folder if you add the path. Regards, Wilhelm Sanke From davecalk at surfbest.net Sun Jul 14 14:45:00 2002 From: davecalk at surfbest.net (Dave Calkins) Date: Sun Jul 14 14:45:00 2002 Subject: use-revolution digest, Vol 1 #543 - 14 msgs References: <200207141601.MAA14345@www.runrev.com> Message-ID: <3D31D529.B59D1FBF@surfbest.net> > > Subject: Help with web page download > Reply-To: use-revolution at lists.runrev.com > > The following script has worked on about 80% of web sites to download > pages. However some sites require me to post info or wants to set > cookies, or to be a big browser,etc. which goes beyond my scripting > abilities. Any help would be appreciated. Bruce Wilson > > on mouseup > put word 1 of fld "symbol" into sym --Stock symbol > put char 1 of sym into b > put "http://user:psswrd at biz.yahoo.com/n/"&b&"/"&sym&".html" into myurl > put url myurl into dataVar > put HTMLtoTXT (dataVar) into dataVar --HTMLtoTXT is external Func. > put cleanUpTXT (dataVar) into fld "data" --clean up & put into fld > end mouseup I would like to see your HTMLtoTXT and cleanUpTXT functions. Would you care to share them? I am ignorant about the cookie and browser maintenance though. Sorry, Dave Calkins From Zzyzx at Relia.Net Sun Jul 14 14:50:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Sun Jul 14 14:50:01 2002 Subject: Always on Top? And Disabling Stuff References: Message-ID: <000201c22b6f$3a2f5560$1401000a@xhead> > By "boxes" do you mean icon buttons? If so, did you use icons from one of > the image libraries? If you do, you need to check off that library in > Distribution Builder when you make the standalone. Boxes as in like the "Ask" and "Answer" Dialog. Thanks! - Josh Dye ----- Original Message ----- From: "Jeanne A. E. DeVoto" To: Sent: Saturday, July 13, 2002 7:53 PM Subject: Re: Always on Top? And Disabling Stuff > At 1:22 PM -0700 7/10/2002, Josh Dye wrote: > > I made a stack, that opens up games, etc. It works, so I put it into a > >Standalone. I ran it, worked good (Except that the boxes are all White, > >anyone know why?) > > By "boxes" do you mean icon buttons? If so, did you use icons from one of > the image libraries? If you do, you need to check off that library in > Distribution Builder when you make the standalone. > > >Also, is there a > >way to disable certain keys? I would like to disable Windows + D, Alt + Tab, > >Alt + F4, and some others. Any ideas? > > Check keyDown and rawKeyDown. > > -- > 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 mike at cyber-ny.com Sun Jul 14 14:55:00 2002 From: mike at cyber-ny.com (Mike Brown) Date: Sun Jul 14 14:55:00 2002 Subject: More & More Movie Difficulties In-Reply-To: <1026675542.3d31d356cd3cf@www.uni-kassel.de> Message-ID: Hi Wilhelm, What kind of compression codec are you using for the avi? Thanks, Mike on 7/14/02 3:39 PM, sanke at hrz.uni-kassel.de at sanke at hrz.uni-kassel.de wrote: > On Sat, 13 Jul 2002 "Jeanne A. E. DeVoto" wrote: > >> At 11:37 AM -0700 7/9/2002, Mike Brown wrote: > >>> Unless I am misunderstanding the Rev documentation, it states an .avi file >>> can be imported and played using the play command in the following script: >>> >>> on mouseup >>> play videoclip "moviename.avi" >>> end mouseup >>> >>> This does not use the QuickTime player. Metacard also has this ability. >>> I have made a variety of avi files but can not get them to display using >>> that script. Has anyone done this successfully? If so how?? > > >> Are you using the same versions of both engines? (Check the version and >> buildNumber properties in Rev and in MC to find out.) > >> Are you sure the videoclip is present in the stack? Look in the App >> Overview, or else enter something like "put the name of videoclip 1" in the >> mess>age box, after importing. > >> These are just the first questions I'd ask to try to track down the problem. > > -- >> Jeanne A. E. DeVoto ~ jeanne at runrev.com > > > Avi-files run here without problems (on a Windows computer) and with Metacard > or > Revolution both in the player object and with the "play videoclip" command. > > Also, the videoclip need *not* be a part of the stack, it can be called with > "play videoclip "xy.avi"" from the current folder or any other folder if you > add > the path. > > Regards, > > Wilhelm Sanke > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From drvaughan55 at mac.com Sun Jul 14 17:19:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Sun Jul 14 17:19:01 2002 Subject: NisA Message-ID: <5273CD08-9777-11D6-9CE8-000393598038@mac.com> Bjornke Saw your NiSA (v0.1.1) app on Versiontracker this morning. Nice to see a Rev app appearing. I will have a look and offer some thoughts. regards David From peter.fink at tiscali.ch Sun Jul 14 17:26:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Sun Jul 14 17:26:01 2002 Subject: More & More Movie Difficulties (videoclip, audioclip, player) In-Reply-To: Message-ID: <3D0D86C400008FBF@flu-stateless-02.tiscalinet.ch> On this Windows 98 SE system, the following 11 facts hold, regarding movies, and the folling facts 4 regarding sounds. (a) play videoclip "movie.avi" does not play the movie that is contained in the stack. (b) play videoclip "movie.mpeg" does not the the movie that is contained in the stack. (c) play videoclip "f:/movie.avi" does play the file indicated. (d) play videoclip "f:/movie.mpeg" does play the file indicated. (e) play videoclip "movie.avi" does not play the file in the defaultfolder. (f) play videoclip "./movie.avi" does not play the file in the defaultfolder. (g) play videoclip "../revolution1.1.1/movie.avi) does play the file in the defaultfolder. (h) (i) (k) same for "movie.mpeg" as (e) thru (g). (l) creating a quicktime player works mostly as advertised, for movies. Except some .mpeg cause an error message "cannot create movie reference". (m) play audioclip "sound.wav" does play the sound contained in the stack. (n) play audioclip "f:/sound.wav" does play the file indicated. (o) creating a quicktime player works exactly as advertised, for wav and mp3 sound files. (p) a quicktime player is always at the front layer. It cannot be hidden with an opaque button (which would make sense, given the quality of some test videos that are available to me). Peter From pixelbird at interisland.net Sun Jul 14 17:30:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Jul 14 17:30:01 2002 Subject: One quick question In-Reply-To: Message-ID: Hello Rev list, This is probably covered elsewhere, but I can't read the docs on this laptop (it runs out of memory when they open, at the moment) and the subject of programming standards compliance came up over at the HC list: Most classic HC recipe-type db stacks almost always allow text field updates, new cards, deleting of old cards, etc., auto-saved back to the standalone (because it contains a player in it). What happens if one tries to convert such a stack to Rev, or even rewrite it as a Rev standalone? Best regards, Ken N. From bornstein at designeq.com Sun Jul 14 17:37:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Sun Jul 14 17:37:01 2002 Subject: Commnd-J on menu disappears (???) Message-ID: <200207142234.g6EMYZp16596@mailout6.nyroc.rr.com> This is strange. I just decided to add some keyboard controls to menu items I've created with the Menu Manager. One of the menu items is set to command-J (upper case). When I set this, nothing appears after the menu item. All the rest of the menu items have command-key equivalents and work with no problem. "J" just doesn't seem to work. If I use lower case "j", this works fine, but as soon as I substitute upper case J, nothing shows up in the menu after the menu item. Has anyone else run into anything like this? I can use command-J just fine in a popup menu. It's when I try to add it to a menubar menu (on a Mac) that it sort of vanishes. Very strange! I'd appreciate any insight as to what's going on here. Thanks, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From rfarnold at bu.edu Sun Jul 14 17:51:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Sun Jul 14 17:51:01 2002 Subject: Editing Menu Groups In-Reply-To: Message-ID: on 7/13/02 11:23 PM, Jeanne A. E. DeVoto wrote: > At 8:24 AM -0700 7/9/2002, Klaus Major wrote: >> When a grp has its backgroundbehaviour checked, then it has to be called >> background "xxx" if it is not on the card where it is called in the >> script. > > This is close, but not quite correct. > > A group is referred to relative to a card, just like any other control. So > if you refer to "group xxx", and you're not on a card that has that group > placed on it, you'll run into a problem, because Rev looks for the group on > the current card and doesn't find it. > > Background references to groups, however, are relative to the stack, not > just a card where the group may be placed. Every group in a stack can be > referred to as a background, because (obviously) it's in the stack even if > it isn't on every card. > > The backgroundBehavior setting doesn't affect this; it's just whether the > group is placed on the current card or not. > Well, my problem of being unable to place a group on a card via a script (or message box) didn't go away by calling the group "group" or "background." (or background group, or by id) Still don't get it, but since I am able to place a group using the menu (card by card) I have given up trying to figure it out. Thanks to all for all the (otherwise) useful insights. Bob -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 http://people.bu.edu/rfarnold/ From sarahr at genesearch.com.au Sun Jul 14 18:05:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Sun Jul 14 18:05:01 2002 Subject: One quick question In-Reply-To: Message-ID: The stack will import OK but you will have to add a save button/menu or an auto-save feature of some kind. If you want to make a standalone, the splash screen method is probably the easiest method, so your original HC stack can still be the main data storage and get saved but the engine is in a non-writable application file with a splash screen. Sarah On Monday, July 15, 2002, at 08:40 AM, Ken Norris (dialup) wrote: > Hello Rev list, > > This is probably covered elsewhere, but I can't read the docs on this > laptop > (it runs out of memory when they open, at the moment) and the subject of > programming standards compliance came up over at the HC list: > > Most classic HC recipe-type db stacks almost always allow text field > updates, new cards, deleting of old cards, etc., auto-saved back to the > standalone (because it contains a player in it). > > What happens if one tries to convert such a stack to Rev, or even > rewrite it > as a Rev standalone? > > Best regards, > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From peter.fink at tiscali.ch Sun Jul 14 18:57:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Sun Jul 14 18:57:01 2002 Subject: Re2: More & More Movie Difficulties (videoclip, audioclip, player) In-Reply-To: <3D0D86C400008FBF@flu-stateless-02.tiscalinet.ch> Message-ID: <3CDAA302000166CF@flu-stateless-01.tiscalinet.ch> UPS, fact (e) is more subtle, on this Windows 98 SE system. (e1) play "movie.avi" does not play the file in the default folder, in case there is a videoclip with the same name present in the stack. Nothing is played. (e2) play "movie.avi" does indeed play the file in the default folder, if there is no videoclip with the same name in the stack. (f) and (g) continue to hold. (h1), (h2), (i), (k) are as (e1),(e2), (f), (g), for "movie.mpeg" . Peter From gcanyon at inspiredlogic.com Sun Jul 14 19:44:03 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Jul 14 19:44:03 2002 Subject: One quick question In-Reply-To: References: Message-ID: >Hello Rev list, > >This is probably covered elsewhere, but I can't read the docs on this laptop >(it runs out of memory when they open, at the moment) and the subject of >programming standards compliance came up over at the HC list: > >Most classic HC recipe-type db stacks almost always allow text field >updates, new cards, deleting of old cards, etc., auto-saved back to the >standalone (because it contains a player in it). > >What happens if one tries to convert such a stack to Rev, or even rewrite it >as a Rev standalone? > >Best regards, >Ken N. The stack will likely be fine, although Revolution doesn't autosave, so that will need to be handled. When built as an application, though, the functionality will stop. This is because Windows and Unix do not allow changes to a running application. The Mac is similarly restricted in Revolution. There are (at least) two ways to adjust for this. On the runrev web site, there is a preferences manager by Rinaldi. Also, you can store the stacks that need to be saved externally to the application. The Standalone Builder handles this for you. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From pixelbird at interisland.net Sun Jul 14 21:14:00 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Jul 14 21:14:00 2002 Subject: Another quick question In-Reply-To: Message-ID: on 7/14/02 5:40 PM, Geoff Canyon at gcanyon at inspiredlogic.com wrote: > The stack will likely be fine, although Revolution doesn't autosave, so that > will need to be handled. > > When built as an application, though, the functionality will stop. This is > because Windows and Unix do not allow changes to a running application. The > Mac is similarly restricted in Revolution. There are (at least) two ways to > adjust for this. On the runrev web site, there is a preferences manager by > Rinaldi. Also, you can store the stacks that need to be saved externally to > the application. The Standalone Builder handles this for you. ---------- Thanks, Geoff. I'll look into it. BTW, I have an app I'm working on in HC, designed with an RR shell in mind as well. As part of the editing process, there will be fields of phrase categories and associated phrase lists in the group. If, for example, the user adds a new category, the app must add a new field to hold the phrases, plus, similarly, if a category is deleted, it must delete the associated field. Also, it must have the ability to add, delete, or edit phrases in any of the categories. In HC, the category list is a Shared Text bg field at present, operated from the HC app (or a player). Will the Standalone Builder help me handle this as well? TIA, Ken N. From pixelbird at interisland.net Sun Jul 14 22:05:00 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Jul 14 22:05:00 2002 Subject: One quick question In-Reply-To: Message-ID: on 7/14/02 4:01 PM, Sarah at sarahr at genesearch.com.au wrote: > The stack will import OK but you will have to add a save button/menu or > an auto-save feature of some kind. If you want to make a standalone, the > splash screen method is probably the easiest method, so your original HC > stack can still be the main data storage and get saved but the engine is > in a non-writable application file with a splash screen. ---------- Thanks Sarah. Of course, I'd rather distribute a standalone, but maybe I was being a little too simplistic. The app I'm thinking about certainly isn't a recipe stack, and it has to do things like add and delete text fields from a group, and make adjustments (like preferences) to a fairly broad range of audio/visual feedback and operational options. Best regards, Ken N. From pixelbird at interisland.net Sun Jul 14 22:18:02 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Sun Jul 14 22:18:02 2002 Subject: Cross-platform text-to-speech In-Reply-To: Message-ID: Hello Rev list, The subject line really says it all. I need some help researching random text-to-speech for use in Rev cross-platform. My Macs have talked for years, but what I need is some sort of cheap English text-to-speech software that can be accessed from both Macs and PCs. Also, I need it to speak over the phone (no, it is NOT telemarketing), so I'm looking to solve a similar problem with cross-platform telephony access as well. Ideas? Pointers? TIA, Ken N. From monte at sweattechnologies.com Sun Jul 14 23:15:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun Jul 14 23:15:01 2002 Subject: Announcement: New libColor and updated libXMLText Message-ID: Hi All I've just updated my website with a new script library that addresses a problem being discussed on the improve-rev list. The problem is that transcript has no native convert function for to change color references between the three types that can be used. These are "text/name/colorName", "RGB" and "HEX/HTML" types. Anyway the syntax is libColor_Convert(MyColorReference,"text| name| colorName| RGB| HEX| HTML") MyColorReference could be "black" or "#000000" or "0,0,0" Also an important note to libXMLText users. There is an new version (v0.3) on the site that makes use of libColor so you must use both together! 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 harrison at all-auctions.com Sun Jul 14 23:29:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Sun Jul 14 23:29:01 2002 Subject: Cross-platform text-to-speech In-Reply-To: Message-ID: on 7/14/2002 11:20 PM, Ken Norris (dialup) at pixelbird at interisland.net wrote: > Hello Rev list, > > The subject line really says it all. I need some help researching random > text-to-speech for use in Rev cross-platform. My Macs have talked for years, > but what I need is some sort of cheap English text-to-speech software that > can be accessed from both Macs and PCs. > > Also, I need it to speak over the phone (no, it is NOT telemarketing), so > I'm looking to solve a similar problem with cross-platform telephony access > as well. > > Ideas? Pointers? > > TIA, > Ken N. Ken, Do you know in advance what the text is to be spoken? Rick Harrison From pixelbird at interisland.net Mon Jul 15 00:29:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Jul 15 00:29:01 2002 Subject: Cross-platform text-to-speech In-Reply-To: Message-ID: Thanks for replying, Rick. on 7/14/02 9:26 PM, Rick Harrison at harrison at all-auctions.com wrote: ---------- > Do you know in advance what the text is to be spoken? ---------- Some yes, some no. There are about 80 buttons and 21 "planned" fields that have full voice feed back, plus over 300 common words, maybe 1000 common idiomatic phrases with full voice feedback, all of which can be edited and added to (or deleted from) by the users, plus hundreds of special phrases, and main field user voice simulation (generally a different voice choice than the feedback voice, because it will simulate speech for a speech-impaired user). What the user types or places from the phrase/word lists into the main field and any new or edited words and phrases can't be known in advance. I guess I've been spoiled by the Mac's ability to speak. Too bad Windows doesn't offer similar utilities. The HC version has very few problems speaking. I've even gotten some very old LC's to speak over the phone using the Limited Edition HC version. The person on the other end was very surprised to find that my side of the conversation was generated with nothing but a mouse. This is what I'm looking to do with Rev cross-platform, if possible. Best regards, Ken N. From gcanyon at inspiredlogic.com Mon Jul 15 01:40:01 2002 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon Jul 15 01:40:01 2002 Subject: Another quick question In-Reply-To: References: Message-ID: At 7:15 PM -0700 7/14/02, Ken Norris (dialup) wrote: >BTW, I have an app I'm working on in HC, designed with an RR shell in mind >as well. As part of the editing process, there will be fields of phrase >categories and associated phrase lists in the group. If, for example, the >user adds a new category, the app must add a new field to hold the phrases, >plus, similarly, if a category is deleted, it must delete the associated >field. Also, it must have the ability to add, delete, or edit phrases in any >of the categories. In HC, the category list is a Shared Text bg field at >present, operated from the HC app (or a player). > >Will the Standalone Builder help me handle this as well? You could certainly do this. Depending on how much information you're talking about, I'd be very tempted to separate it out: create the interface in Rev, store the data externally, and swap it in and out as needed. -- regards, Geoff Canyon gcanyon at inspiredlogic.com From jeanne at runrev.com Mon Jul 15 02:12:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Jul 15 02:12:01 2002 Subject: Always on Top? And Disabling Stuff In-Reply-To: <000201c22b6f$3a2f5560$1401000a@xhead> References: Message-ID: At 12:37 PM -0700 7/14/2002, Josh Dye wrote: >> By "boxes" do you mean icon buttons? If so, did you use icons from one of >> the image libraries? If you do, you need to check off that library in >> Distribution Builder when you make the standalone. > > > Boxes as in like the "Ask" and "Answer" Dialog. Thanks! Oh in that case. You need to check off the dialogs you want in the Resources tab when you build the standalone. (The ask and answer dialogs are stacks within Rev; checking off this option copies them into your standalone as substacks so you can use the commands.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From dcragg at lacscentre.co.uk Mon Jul 15 04:28:00 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon Jul 15 04:28:00 2002 Subject: Help with web page download In-Reply-To: <3D306522.7050400@earthlink.net> References: <3D306522.7050400@earthlink.net> Message-ID: At 10:36 am -0700 13/7/02, Bruce Wilson wrote: >The following script has worked on about 80% of web sites to >download pages. However some sites require me to post info or wants >to set cookies, or to be a big browser,etc. which goes beyond my >scripting abilities. Any help would be appreciated. Bruce Wilson > > >on mouseup > put word 1 of fld "symbol" into sym --Stock symbol > put char 1 of sym into b > put "http://user:psswrd at biz.yahoo.com/n/"&b&"/"&sym&".html" into myurl > put url myurl into dataVar > put HTMLtoTXT (dataVar) into dataVar --HTMLtoTXT is external Func. > put cleanUpTXT (dataVar) into fld "data" --clean up & put into fld >end mouseup I can't offer much help. I think you'll have to deal with those 20% of sites on a case-by-case basis. For sites that want you to post data, you'll need to know the format of the data to be posted. Examining a web page that posts to the site should help you find out what is required. If a form is used to post data from a web page, the pattern of the data is typically of the style: field1="value_1"&field_2="value_2"&field_3="value_3" where field_1, etc. is the name of the form field. If you have to be a big browser, setting the "User-Agent" field in the http headers should help. Something like the following before getting the url: put "User-Agent: Mozilla/4.0 (compatible; MSIE 5.0b2; Windows NT)" into tAgentString set the httpHeaders to tAgentString You can probably find suitable strings on the web. This example was taken from: Note that the httpHeaders gets reset after each url request. For cookies, this is from an older mail: >I've not done it, and don't know too much about the mechanism, but >it should be possible using the httpHeaders property and the >libUrlLastRHHeaders() function. > >libUrlLastRHHeaders() returns the headers of the reponse to the most >recent http request. You should be able to parse out the cookie >header from this, and store it or whatever you need to do. > >When sending a cookie from client to server, you can set the >httpHeaders to something like: > >Cookie: $Version="1"; Customer="WILE_E_COYOTE"; $Path="/acme" > >(example from rfc 2965. ) Cheers Dave Cragg From fgalimbe at FastWebnet.it Mon Jul 15 04:43:01 2002 From: fgalimbe at FastWebnet.it (Filippo Galimberti) Date: Mon Jul 15 04:43:01 2002 Subject: defaultFolder usage Message-ID: <5.0.0.25.2.20020715112342.00b2c890@pop.fastwebnet.it> Dear All, I'm having problems with setting of the defaultFolder; for example, I run the following script in the (multiline) message box: answer folder "Select the default folder..." -- I choose, e.g., "C:/Documents and Settings/Filippo/Documenti" if it is not empty then set the defaultFolder to it put the defaultFolder -- I check that the defaultFolder is set to the folder I chose; in fact I get "C:/Documents and Settings/Filippo/Documenti" in the message box result line answer file "Select the file..." end if contrary to my expectations, the "answer file" box is not opened in the folder I chose; sometimes it's opened in the last folder I used to open a Revolution stack, and sometimes one level up from the folder I chose, e.g., "C:/Documents and Settings/Filippo" for the above example this is on Windows XP Pro with Revolution 1.1.1r2 (engine 2.4.1). Any suggestion is mostly welcome. TIA. Kind regards Filippo Galimberti From davethebrv at mac.com Mon Jul 15 04:46:01 2002 From: davethebrv at mac.com (David Beck) Date: Mon Jul 15 04:46:01 2002 Subject: Upgrading from 1.0 In-Reply-To: <200207150219.WAA24058@www.runrev.com> Message-ID: Hi, I searched the web site but can't find the price for an upgrade from Rev 1.0 to 1.1.1. Am I missing something or is this not an option? Thanks, Dave From drvaughan55 at mac.com Mon Jul 15 05:19:01 2002 From: drvaughan55 at mac.com (David Vaughan) Date: Mon Jul 15 05:19:01 2002 Subject: Upgrading from 1.0 In-Reply-To: Message-ID: On Monday, July 15, 2002, at 07:42 , David Beck wrote: > > > Hi, > > I searched the web site but can't find the price for an upgrade from > Rev 1.0 > to 1.1.1. Am I missing something or is this not an option? You should ask RunRev (heather at runrev.com) about any commercial question because it is their bailiwick, not ours. However...as far as I know the cost should be zilch. My licence bought free upgrades for a year. Anyway, check with Rev for the authoritative answer. cheers David > > Thanks, > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From peter.fink at tiscali.ch Mon Jul 15 06:15:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Mon Jul 15 06:15:01 2002 Subject: Re3: More & More Movie Difficulties (./ Notation) Message-ID: <3D0D86C4000092E8@flu-stateless-02.tiscalinet.ch> > >(f) play videoclip "./movie.avi" does not play the file in the defaultfolder. > The notation "./some-file" does not work in play videoclip "./some-file" and as the filename in a player. It does however work in the command open file "./some-file" The notation "../folder/some-file" works in all three cases. Peter From kkaufman at snet.net Mon Jul 15 07:36:01 2002 From: kkaufman at snet.net (Kurt Kaufman) Date: Mon Jul 15 07:36:01 2002 Subject: Cross-platform text-to-speech Message-ID: <15A91068-97EF-11D6-8A30-00039348A1E6@snet.net> See the following message regarding TTS on Windows: http://lists.runrev.com/pipermail/use-revolution/2002-June/005368.html KK From harrison at all-auctions.com Mon Jul 15 09:16:01 2002 From: harrison at all-auctions.com (Richard Harrison) Date: Mon Jul 15 09:16:01 2002 Subject: Cross-platform text-to-speech In-Reply-To: Message-ID: on 7/15/2002 1:31 AM, Ken Norris (dialup) at pixelbird at interisland.net wrote: > Thanks for replying, Rick. > > on 7/14/02 9:26 PM, Rick Harrison at harrison at all-auctions.com wrote: > ---------- >> Do you know in advance what the text is to be spoken? > ---------- > Some yes, some no. > >... > > I guess I've been spoiled by the Mac's ability to speak. Too bad Windows > doesn't offer similar utilities. The HC version has very few problems > speaking. I've even gotten some very old LC's to speak over the phone using > the Limited Edition HC version. The person on the other end was very > surprised to find that my side of the conversation was generated with > nothing but a mouse. > > This is what I'm looking to do with Rev cross-platform, if possible. > > Best regards, > Ken N. Ken, If you knew what was going to be said in advance you could have just pre-generated some .wav or .aiff sound files. In your case you really do need some text to speech tools for Windows. Kurt Kaufman's suggestion is probably your only solution. If you get it to work please let me know. Thanks, Rick Harrison From rcozens at pon.net Mon Jul 15 09:20:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Jul 15 09:20:00 2002 Subject: defaultFolder usage In-Reply-To: <5.0.0.25.2.20020715112342.00b2c890@pop.fastwebnet.it> References: <5.0.0.25.2.20020715112342.00b2c890@pop.fastwebnet.it> Message-ID: >answer folder "Select the default folder..." >-- I choose, e.g., "C:/Documents and Settings/Filippo/Documenti" >if it is not empty then > set the defaultFolder to it > put the defaultFolder > -- I check that the defaultFolder is set to the folder I >chose; in fact I get "C:/Documents and Settings/Filippo/Documenti" >in the message box result line > answer file "Select the file..." >end if Hello Filippo, Both ask & answer file include an optional argument, [with I'm looking for some reasonable, i.e. PG or better rating, sample movies in avi and mpeg formats, or a download place. Ideally they would be 10 seconds, around 200-300 KBytes, size 132x172 or so. Most preferred would be cats. My recherche in the internet did not find such. Thanks for a pointer!! Peter peter.fink at tiscali.ch From skycap at earthlink.net Mon Jul 15 11:27:01 2002 From: skycap at earthlink.net (Bruce Wilson) Date: Mon Jul 15 11:27:01 2002 Subject: Help with web page download References: <3D306522.7050400@earthlink.net> Message-ID: <3D32F742.5060206@earthlink.net> Thanks for your Help Dave. Bruce Dave Cragg wrote: > At 10:36 am -0700 13/7/02, Bruce Wilson wrote: > >> The following script has worked on about 80% of web sites to >> download pages. However some sites require me to post info or wants >> to set cookies, or to be a big browser,etc. which goes beyond my >> scripting abilities. Any help would be appreciated. Bruce Wilson >> >> >> on mouseup >> put word 1 of fld "symbol" into sym --Stock symbol >> put char 1 of sym into b >> put "http://user:psswrd at biz.yahoo.com/n/"&b&"/"&sym&".html" into myurl >> put url myurl into dataVar >> put HTMLtoTXT (dataVar) into dataVar --HTMLtoTXT is external Func. >> put cleanUpTXT (dataVar) into fld "data" --clean up & put into fld >> end mouseup > > > I can't offer much help. I think you'll have to deal with those 20% of > sites on a case-by-case basis. > > For sites that want you to post data, you'll need to know the format of > the data to be posted. Examining a web page that posts to the site > should help you find out what is required. If a form is used to post > data from a web page, the pattern of the data is typically of the style: > > field1="value_1"&field_2="value_2"&field_3="value_3" > > where field_1, etc. is the name of the form field. > > If you have to be a big browser, setting the "User-Agent" field in the > http headers should help. Something like the following before getting > the url: > > put "User-Agent: Mozilla/4.0 (compatible; MSIE 5.0b2; Windows NT)" into > tAgentString > set the httpHeaders to tAgentString > > You can probably find suitable strings on the web. This example was > taken from: > > > Note that the httpHeaders gets reset after each url request. > > For cookies, this is from an older mail: > >> I've not done it, and don't know too much about the mechanism, but >> it should be possible using the httpHeaders property and the >> libUrlLastRHHeaders() function. >> >> libUrlLastRHHeaders() returns the headers of the reponse to the most >> recent http request. You should be able to parse out the cookie >> header from this, and store it or whatever you need to do. >> >> When sending a cookie from client to server, you can set the >> httpHeaders to something like: >> >> Cookie: $Version="1"; Customer="WILE_E_COYOTE"; $Path="/acme" >> >> (example from rfc 2965. ) > > > > Cheers > Dave Cragg > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bornstein at designeq.com Mon Jul 15 12:07:00 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Jul 15 12:07:00 2002 Subject: Commnd-J on menu disappears (???) Message-ID: <200207151704.g6FH47p16248@mailout6.nyroc.rr.com> > I can use command-J just >fine in a popup menu. It's when I try to add it to a menubar menu (on a >Mac) that it sort of vanishes. As a followup, if I make a standalone of the stack, the command-J appears just fine in the menu. For some reason, it simply won't appear in the IDE when the stack's menu is displayed. Go figure. Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From scott at tactilemedia.com Mon Jul 15 12:19:00 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Jul 15 12:19:00 2002 Subject: Cross-platform text-to-speech In-Reply-To: <200207151531.LAA16839@irresistable.cnchost.com> Message-ID: Recently, "Ken Norris (dialup)" wrote: > I guess I've been spoiled by the Mac's ability to speak. Too bad Windows > doesn't offer similar utilities. It does. Look in the built-in help under Narrator. Not sure how available this is on various system versions, but then again, speech functionality is not installed on all Macs either. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From sanke at hrz.uni-kassel.de Mon Jul 15 12:22:01 2002 From: sanke at hrz.uni-kassel.de (sanke at hrz.uni-kassel.de) Date: Mon Jul 15 12:22:01 2002 Subject: More & More Movie Difficulties Message-ID: <1026753543.3d330407a7e6b@www.uni-kassel.de> On Sun, 14 Jul 2002 Mike Brown wrote: >Hi Wilhelm, >What kind of compression codec are you using for the avi? >Thanks, >Mike In this case it is MSVC, i.e. Microsoft Video 1. Regards, Wilhelm From sanke at hrz.uni-kassel.de Mon Jul 15 12:26:00 2002 From: sanke at hrz.uni-kassel.de (sanke at hrz.uni-kassel.de) Date: Mon Jul 15 12:26:00 2002 Subject: More & More Movie Difficulties Message-ID: <1026753777.3d3304f19ec5c@www.uni-kassel.de> On Sun, 14 Jul 2002 Mike Brown wrote: >Hi Wilhelm, >What kind of compression codec are you using for the avi? >Thanks, >Mike In this case it is MSVC, i.e. Microsoft Video 1. Regards, Wilhelm From pixelbird at interisland.net Mon Jul 15 12:36:03 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Jul 15 12:36:03 2002 Subject: Cross-platform text-to-speech In-Reply-To: Message-ID: on 7/15/02 7:13 AM, Richard Harrison at harrison at all-auctions.com wrote: > Kurt Kaufman's suggestion is probably your only solution. If you get > it to work please let me know. ---------- Hi Rick, Here's a PC externals collection for MC that includes TTS: Now I have to get a PC up to D/L Rev and this collection to test it. Best regards, Ken N. From pixelbird at interisland.net Mon Jul 15 12:44:00 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Jul 15 12:44:00 2002 Subject: Cross-platform text-to-speech In-Reply-To: Message-ID: on 7/15/02 10:15 AM, Scott Rossi at scott at tactilemedia.com wrote: > It does. Look in the built-in help under Narrator. Not sure how available > this is on various system versions, but then again, speech functionality is > not installed on all Macs either. ---------- What Windows version are you using that has it? Are you saying it came with standard installation of Windows? Never heard that before. All Mac OS' since 7.5 or somewhere back in there automatically install with text-to-speech extensions (MacInTalk and voices collection), unless you do a custom install without them. Best Regards, Ken N. From pixelbird at interisland.net Mon Jul 15 12:46:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Mon Jul 15 12:46:01 2002 Subject: Cross-platform text-to-speech In-Reply-To: Message-ID: on 7/15/02 10:15 AM, Scott Rossi at scott at tactilemedia.com wrote: > It does. ---------- Sorry. Terrible manners, I forgot to thank you for that valuable info concerning Narrator on Windows. I'll definitely check it out. Thanks again, Ken N. From scott at tactilemedia.com Mon Jul 15 12:56:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Jul 15 12:56:01 2002 Subject: Cross-platform text-to-speech In-Reply-To: Message-ID: Recently, "Ken Norris (dialup)" wrote: >> It does. Look in the built-in help under Narrator. Not sure how available >> this is on various system versions, but then again, speech functionality is >> not installed on all Macs either. > What Windows version are you using that has it? Are you saying it came with > standard installation of Windows? Never heard that before. Narrator appears to be present on 2K and XP, didn't see it on 98. Not sure if this is what you're looking for, but it appears to be a bare bones text to speech engine for reading dialogs/alerts/etc. Even Microsoft acknowledges that users may need a third party utility if they want something with more features. Run a search on Google and you'll find a bunch of references to Narrator and comparable utilities. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From j.waibel at soldax.com Mon Jul 15 13:02:01 2002 From: j.waibel at soldax.com (=?us-ascii?Q?Jurgen_Waibel?=) Date: Mon Jul 15 13:02:01 2002 Subject: More & More Movie Difficulties Message-ID: Hi, this is what we do in a application: the defaultPath is set to the phat of the running application in an openCard Script: global runningVideo get the filename of this stack set the itemDelimiter to "/" delete last item of it set the defaultFolder to it This is done whe a user presses a button: global runningVideo put "VIDEO/C1PREP.MPG" into runningVideo play videoClip runningVideo at 539,329 This works with avi and mpeg on Windows 2000 and MacOS and even on a HP-UX with xanim as player for the avi's. What i discovered that this isn't running on WinNT 4.0 or Win 98. If i put a player object into my applicaion an set the name of my video to the filename of this player this is also working on WinNt 4.0 and Win 98. > >Unless I am misunderstanding the Rev documentation, it > states an .avi file > >can be imported and played using the play command in the > following script: > > > >on mouseup > >play videoclip "moviename.avi" > >end mouseup > > > >This does not use the QuickTime player. Metacard also has > this ability. > >I have made a variety of avi files but can not get them to > display using > >that script. Has anyone done this successfully? If so how?? > > Are you using the same versions of both engines? (Check the > version and > buildNumber properties in Rev and in MC to find out.) > > Are you sure the videoclip is present in the stack? Look in the App > Overview, or else enter something like "put the name of > videoclip 1" in the > message box, after importing. > > These are just the first questions I'd ask to try to track > down the problem. > > -- > 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 > Mit freundlichen Gruessen Soldax GmbH Juergen Waibel -- ______________________________________________________________________ soldax GmbH Sickingenstrasse 18 69126 Heidelberg Germany Fon: +49 6221 33898-700 j.waibel at soldax.com Fax: +49 6221 33898-800 From fgalimbe at FastWebnet.it Mon Jul 15 13:43:01 2002 From: fgalimbe at FastWebnet.it (Filippo Galimberti) Date: Mon Jul 15 13:43:01 2002 Subject: RE - defaultFolder usage Message-ID: <5.0.0.25.2.20020715193551.00b3c950@pop.fastwebnet.it> >>answer folder "Select the default folder..." >>-- I choose, e.g., "C:/Documents and Settings/Filippo/Documenti" >>if it is not empty then >> set the defaultFolder to it >> put the defaultFolder >> -- I check that the defaultFolder is set to the folder I chose; in fact I get "C:/Documents and Settings/Filippo/Documenti" in the message box result line >> answer file "Select the file..." >>end if > >Hello Filippo, >Both ask & answer file include an optional argument, [with for the default path instead of useing the defaultFolder. >Try answer file "Select the file..." with "C:/Documents and Settings/Filippo/Documenti" >-- >Rob Cozens Hello Rob, thank you for your suggestion. I'm aware of the optional "with defaultPath" and "with defaulFilePath" parameter of answer and ask file commands. The problem is that I need to set the defaultFolder directly. I got a few hundreds of scripts ported from Hypercard, where I used a XCMD (stdFile folderPath) to set the folder before ask and answer file commands. I'm trying to replace the XCMD with a Revolution command, instead of changing all the scripts: on stdFile cartella set the defaultFolder to cartella end stdFile -- cartella is a folder name, correctly formatted for the platform The problem is that I get the same results of the example above, which was just to show the problem. For example: ... stdFile "C:/Documents and Settings/Filippo/Documenti" the defaultFolder is setted to "C:/Documents and Settings/Filippo/Documenti" ask file "Select file" -- open the box in the last used folder, or, sometimes, in "C:/Documents and Settings/Filippo", but the never in "C:/Documents and Settings/Filippo/Documenti" This behavior happens for all folders I've tried, with both Windows 2000 and Windows XP Pro. Kind regards Filippo Galimberti From bornstein at designeq.com Mon Jul 15 14:27:02 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Jul 15 14:27:02 2002 Subject: RE - defaultFolder usage Message-ID: <200207151924.g6FJOXL15707@mailout5.nyroc.rr.com> Hi Filippo, Here's an easy solution for the Mac and Unix: answer folder "Select the default folder..." -- I choose, e.g., "C:/Documents and Settings/Filippo/Documenti" if it is not empty then set the defaultFolder to it put the defaultfolder into df put "/" after df put df -- to check it answer file "Select the file..." with df end if But according to the docs: "Cross-platform note: The defaultPath parameter applies only to Mac OS and Unix systems. On Windows systems, this parameter has no effect." Since your example indicated a windows system, this may not be too helpful. Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From wmb at internettrainer.com Mon Jul 15 15:24:01 2002 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Mon Jul 15 15:24:01 2002 Subject: Profile Manager In-Reply-To: <200207150219.WAA24058@www.runrev.com> Message-ID: Hi Jeanne, some "years" ago you answered: > You can do this already actually with the Profile Manager. All you need to > do is set up a profile for each object whose fontsize is set - one profile > for Mac and one for Windows in this case - and then choose the appropriate > profile in Distribution Builder when you're building the standalone. > > It's not completely automatic, but you only need to do it once, and in most > stacks you won't need to do it for many objects - just those whose font > size you've set. After solving some more urgent problems I come back now to this problem: 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? I have very much text fields in every stack (hundreds in all stacks), so it would help me a lot if I could do this with a script. Thanks for any help in advance... regards Wolfgang M. Bereuter Learn easy with trainingsmaps? INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com, wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539 From rcozens at pon.net Mon Jul 15 15:35:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Mon Jul 15 15:35:01 2002 Subject: RE - defaultFolder usage In-Reply-To: <5.0.0.25.2.20020715193551.00b3c950@pop.fastwebnet.it> References: <5.0.0.25.2.20020715193551.00b3c950@pop.fastwebnet.it> Message-ID: >The problem is that I get the same results of the example above, >which was just to show the problem. >For example: >... >stdFile "C:/Documents and Settings/Filippo/Documenti" >the defaultFolder is setted to "C:/Documents and Settings/Filippo/Documenti" >ask file "Select file" >-- open the box in the last used folder, or, sometimes, in >"C:/Documents and Settings/Filippo", but the never in "C:/Documents >and Settings/Filippo/Documenti" > >This behavior happens for all folders I've tried, with both Windows >2000 and Windows XP Pro. Read the following exchange from the improve-rev list and weep, Filippo: > >>> After the handler is run, the message box shows the defaultFolder is >>>> reset; however the Open Stack dialog defaults to the last folder >>>> opened. >>> >>> This is pretty much expected behavior, no? >> >> >> Jeanne, et al: >> >> The Rev dictionary says, "Use the defaultFolder to specify which >> folder to show initially in file dialog boxes," >> >> It isn't happening. > >Sounds like a docs glitch: you should specify the folder as part of the >"answer file" command instead. This is a feature - it used to work the >other way but was changed to better follow OS standards. > >Kevin When you're done weeping, contact Kevin Miller and tell him, as I did, "You had it right the first 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 kray at sonsothunder.com Mon Jul 15 15:41:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Jul 15 15:41:01 2002 Subject: RE - defaultFolder usage References: <200207151924.g6FJOXL15707@mailout5.nyroc.rr.com> Message-ID: <00b201c22c3f$0ceb8a80$6f00a8c0@mckinley.dom> Actually, guys, it *does* work in Windows, just not in all *versions* of Windows. For example, in Windows 2000 it will work just fine. However in Windows XP, it won't. Filippo, what version of Windows are you using? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Howard Bornstein" To: Sent: Monday, July 15, 2002 2:24 PM Subject: Re: RE - defaultFolder usage > Hi Filippo, > > Here's an easy solution for the Mac and Unix: > > answer folder "Select the default folder..." > -- I choose, e.g., "C:/Documents and Settings/Filippo/Documenti" > if it is not empty then > set the defaultFolder to it > put the defaultfolder into df > put "/" after df > put df -- to check it > > answer file "Select the file..." with df > end if > > But according to the docs: "Cross-platform note: The defaultPath > parameter applies only to Mac OS and Unix systems. On Windows systems, > this parameter has no effect." > > Since your example indicated a windows system, this may not be too > helpful. > > 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 steve at messimercomputing.com Mon Jul 15 17:26:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Mon Jul 15 17:26:01 2002 Subject: animated btns Message-ID: Hi, I am attempting to create an animated button. Here's what I want to do ... on mouseUp repeat 2 set the icon of me to "rl.1.gif" wait 2 set the icon of me to "rl.2.gif" wait 3 set the icon of me to "rl.3.gif" wait 3 set the icon of me to "rl.4.gif" wait 3 set the icon of me to "rl.5.gif" wait 3 set the icon of me to "rl.6.gif" wait 3 set the icon of me to "rl.7.gif" wait 3 set the icon of me to "rl.8.gif" end repeat set the icon of me to "rl.1.gif" --pop card end mouseUp the images are all saved to the stack as controls. This works fine. However inorder to get the images into the image chooser I had to save them all as controls. this left the images on a card. When I deleted the images the images I thought were stored in the image chooser were deleted as well. What am I doing wrong here. My expectation was that an image saved as a control was stored permanently in the image chooser. Thanks Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From kray at sonsothunder.com Mon Jul 15 18:17:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Mon Jul 15 18:17:01 2002 Subject: animated btns References: Message-ID: <000b01c22c54$e3838ec0$6401a8c0@mckinley.dom> Steve, Revolution supports animated GIFs; can't you make an animated GIF timed appropriately and just play it in Rev? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Steve Messimer" To: "use-revolution mailing list" Sent: Monday, July 15, 2002 5:21 PM Subject: animated btns > Hi, > > I am attempting to create an animated button. Here's what I want to do ... > > on mouseUp > repeat 2 > set the icon of me to "rl.1.gif" > wait 2 > set the icon of me to "rl.2.gif" > wait 3 > set the icon of me to "rl.3.gif" > wait 3 > set the icon of me to "rl.4.gif" > wait 3 > set the icon of me to "rl.5.gif" > wait 3 > set the icon of me to "rl.6.gif" > wait 3 > set the icon of me to "rl.7.gif" > wait 3 > set the icon of me to "rl.8.gif" > end repeat > set the icon of me to "rl.1.gif" > --pop card > > end mouseUp > > the images are all saved to the stack as controls. This works fine. However > inorder to get the images into the image chooser I had to save them all as > controls. this left the images on a card. When I deleted the images the > images I thought were stored in the image chooser were deleted as well. > What am I doing wrong here. My expectation was that an image saved as a > control was stored permanently in the image chooser. > > Thanks > > Steve > > Stephen R. Messimer > Messimer Computing, Inc > 208 1st Ave South > Escanaba, MI 49829 > www.messimercomputing.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jeremy at wagnerkorb.com Mon Jul 15 18:25:01 2002 From: jeremy at wagnerkorb.com (Jeremy Korb) Date: Mon Jul 15 18:25:01 2002 Subject: scheduling and user permissions Message-ID: <001401c22c56$8b6a6310$6401a8c0@multimedia2> Hello all on the list, I'm new to this list and this platform. I have a question that maybe some of you have some experience with. I am developing a small application and I need it to run all the time in the background and fire events based on a schedule. I would also need to make sure that the application is being run as a specific user on the system. This would be on the windows platform only for now. Does anyone have any experience with scheduling and user permissions on windows while programming with Revolution? If so, perhaps I could make my questions more specific offline with the right people... Thanks, Jeremy -------------- next part -------------- An HTML attachment was scrubbed... URL: From pixelbird at interisland.net Mon Jul 15 18:38:01 2002 From: pixelbird at interisland.net (pixelbird at interisland.net) Date: Mon Jul 15 18:38:01 2002 Subject: Cross-platform text-to-speech Message-ID: <200207152334.g6FNYGY16446@lopez.interisland.net> > Narrator appears to be present on 2K and XP, didn't see it on 98. Not sure > if this is what you're looking for, but it appears to be a bare bones text > to speech engine for reading dialogs/alerts/etc. ---------- Yep! Its in the accessories. We just looked at it in W2K. All it does is alert and Windows stuff. We couldn't get it to speak the text of any docs. It actually will say the letter you type, too, even with the onscreen keyboard thing, but only _after_ you hit the key. Couldn't figure out the point of that. If it's supposed to help vision impaired users, they just _might_ want to know what the key is _before_ they press it, like it does with the Windows controls. ---------- > Even Microsoft > acknowledges that users may need a third party utility if they want > something with more features. Run a search on Google and you'll find a > bunch of references to Narrator and comparable utilities. ---------- You can AS the MacInTalk speech utility with any text anytime, in any of 17 voices, plus HC has it as a button task if you wish, plus you can select any text, and it will speak it. I use it to feedback voice on all the buttons (rollover) in the app, plus speak the entire main field, or any selected portion thereof. I have a version of the Bible I can just choose a book, chapter, and verse, choose a voice, and it takes off, meaning it acts much like audio books. It will keep going 'till the end of the chapter (in this particular software version). This is what I need for Windows if the app is to work in that system, plus, I will need to control it to turn it off and on, volume, voice choices, etc., from Rev. I found the MetaCard external for TTS, but I don't know what functions it's supposed to control, or for what TTS app. Best regards, Ken N. --------------------------------------------- The Computer Place Info = info at interisland.net http://www.compplace.com/ From ambassador at fourthworld.com Mon Jul 15 19:57:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon Jul 15 19:57:01 2002 Subject: Tip for handling external media files In-Reply-To: <200207152218.SAA14931@www.runrev.com> Message-ID: When using media external to a stack, such as QuickTime files, you can use paths relative to the standalone (e.g., "/mediafolder/mymovie.mov"). This works well at runtime, but during development it requires that you keep your work files in the same folder as the Rev application. If you're like me, maintaining many different code bases for different projects, keeping everything in the Rev folder is a lot less convenient than keeping them separate with other files related to each project. A solution I use here is to ignore the defaultFolder as often as possible, and instead rely on a handy lil' function: function AppPath get the filename of stack "MyAppManStack" set the itemDel to "/" delete last item of it return it&"/" end AppPath When assigning media, AppPath is called like this: set the filename of player 1 to AppPath()&"Media/Movie1.mov" The nifty thing about this approach is that it works equally well whether my stack is running as a standalone or within the Rev IDE, regardless of where the mainstack file os located. As long as I keep my work files together in one folder to maintain their own relative paths, I can move that folder anywhere -- across drives or even across machines. If you access a lot of external files from a given folder, you can further simplify your scripts with something like this: function MediaPath pShortFileName return AppPath()&"Media/"&pShortFileName end MediaPath You can then assign media with: set the filename of player 1 to MediaPath("Movie1.mov") You can add error-chrecking for a more complete implementation: function MediaPath pShortFileName get AppPath()&"Media/"&pShortFileName if there is not a file it then answer "Couldn't find file ""e&it"e exit to top else return it end MediaPath -- 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 skycap at earthlink.net Mon Jul 15 19:57:18 2002 From: skycap at earthlink.net (Bruce Wilson) Date: Mon Jul 15 19:57:18 2002 Subject: use-revolution digest, Vol 1 #543 - 14 msgs References: <200207141601.MAA14345@www.runrev.com> <3D31D529.B59D1FBF@surfbest.net> Message-ID: <3D336EC4.3080506@earthlink.net> Hi Dave, The HTMLtoTXT and cleanUpTXT functions are part of HyperTinker (v.m. PPC 2.5 beta) (Hypercard externals) Actually the cleanUpTXT is just a script in the stack script of Hypertinker that takes out empty lines double spaces etc. They both do a good job though. http://private.convey.ru/apreal/ http://members.aol.com/apreal/ Hope that helps. Bruce Dave Calkins wrote: >>Subject: Help with web page download >>Reply-To: use-revolution at lists.runrev.com >> >>The following script has worked on about 80% of web sites to download >>pages. However some sites require me to post info or wants to set >>cookies, or to be a big browser,etc. which goes beyond my scripting >>abilities. Any help would be appreciated. Bruce Wilson >> >>on mouseup >> put word 1 of fld "symbol" into sym --Stock symbol >> put char 1 of sym into b >> put "http://user:psswrd at biz.yahoo.com/n/"&b&"/"&sym&".html" into myurl >> put url myurl into dataVar >> put HTMLtoTXT (dataVar) into dataVar --HTMLtoTXT is external Func. >> put cleanUpTXT (dataVar) into fld "data" --clean up & put into fld >>end mouseup >> > > I would like to see your HTMLtoTXT and cleanUpTXT functions. Would you care to > share them? I am ignorant about the cookie and browser maintenance though. > Sorry, > > Dave Calkins > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > From glenbledsoe at mac.com Mon Jul 15 20:03:01 2002 From: glenbledsoe at mac.com (Glen L. Bledsoe) Date: Mon Jul 15 20:03:01 2002 Subject: Newbie question In-Reply-To: <200206241405.KAA18140@www.runrev.com> Message-ID: <61BBA196-9856-11D6-98F6-0050E4EE0555@mac.com> I've figured out (with help from below) how to set the size and style of selected text. I've created a menu/button "Fonts" but I can't figure out how to set selected text to fonts that are on any given computer. I added on openStack put fontnames() into btn "Fonts" end openStack to the stack script. What do I do next? Thank, Glen On Monday, June 24, 2002, at 07:05 AM, use-revolution- request at lists.runrev.com wrote: > > Also, there will be a number of scripts to handle Text menus in the > upcoming Cookbook (next version). Here's one: > > on menuPick theMenuItem -- goes in the menu button > set the itemDelimiter to "|" > switch item 1 of theMenuItem -- the submenu name > case "Font" > set the textFont of field "Example Text" to item 2 of theMenuItem > break > case "Size" > set the textSize of field "Example Text" to item 2 of theMenuItem > break > case "Color" > set the textColor of field "Example Text" to item 2 of theMenuItem > break > case "Plain" > -- plain removes all styles > set the textStyle of field "Example Text" to empty > default -- for Bold, Italic, Underline > put the textStyle of field "Example Text" into currentStyle > set the itemDelimiter to comma > if theMenuItem is among the items of currentStyle then > -- already has that style, so remove it > delete item (itemOffset(theMenuItem,currentStyle)) \ > of currentStyle > else > -- add the style to any existing styles > put comma & theMenuItem after currentStyle > end if > set the textStyle of field "Example Text" to currentStyle > end switch > end menuPick From Zzyzx at Relia.Net Mon Jul 15 20:33:00 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Mon Jul 15 20:33:00 2002 Subject: Cross-platform text-to-speech References: <200207152334.g6FNYGY16446@lopez.interisland.net> Message-ID: <002801c22c68$5033d3f0$1401000a@xhead> I have (And had for the longest time) a simple stack that is TTS for Windows. You can get it here: http://www.geocities.com/pkdrzzyzx/speak.zip You MUST copy the "Ext.dll" to plain C Drive (C:\) Then run the program with rev, and Valla! Click the button, type some stuff, and it should work! (Thats if you are on Win2k or XP. You might need some more stuff) - Josh ----- Original Message ----- From: To: Sent: Monday, July 15, 2002 5:35 PM Subject: Re: Cross-platform text-to-speech > > > Narrator appears to be present on 2K and XP, didn't see it > on 98. Not sure > > if this is what you're looking for, but it appears to be a > bare bones text > > to speech engine for reading dialogs/alerts/etc. > ---------- > Yep! Its in the accessories. We just looked at it in W2K. > All it does is alert and Windows stuff. We couldn't get it > to speak the text of any docs. It actually will say the > letter you type, too, even with the onscreen keyboard thing, > but only _after_ you hit the key. Couldn't figure out the > point of that. If it's supposed to help vision impaired > users, they just _might_ want to know what the key is > _before_ they press it, like it does with the Windows controls. > ---------- > > Even Microsoft > > acknowledges that users may need a third party utility if > they want > > something with more features. Run a search on Google and > you'll find a > > bunch of references to Narrator and comparable utilities. > ---------- > You can AS the MacInTalk speech utility with any text > anytime, in any of 17 voices, plus HC has it as a button > task if you wish, plus you can select any text, and it will > speak it. I use it to feedback voice on all the buttons > (rollover) in the app, plus speak the entire main field, or > any selected portion thereof. > > I have a version of the Bible I can just choose a book, > chapter, and verse, choose a voice, and it takes off, > meaning it acts much like audio books. It will keep going > 'till the end of the chapter (in this particular software > version). > > This is what I need for Windows if the app is to work in > that system, plus, I will need to control it to turn it off > and on, volume, voice choices, etc., from Rev. > > I found the MetaCard external for TTS, but I don't know what > functions it's supposed to control, or for what TTS app. > > Best regards, > Ken N. > > > > > > > > > --------------------------------------------- > The Computer Place > Info = info at interisland.net > http://www.compplace.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From jeanne at runrev.com Mon Jul 15 20:45:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Jul 15 20:45:01 2002 Subject: Newbie question In-Reply-To: <61BBA196-9856-11D6-98F6-0050E4EE0555@mac.com> References: <200206241405.KAA18140@www.runrev.com> Message-ID: At 5:53 PM -0700 7/15/2002, Glen L. Bledsoe wrote: >I've figured out (with help from below) how to set the size and style of >selected text. I've created a menu/button "Fonts" but I can't figure out >how to set selected text to fonts that are on any given computer. on menuPick theNewFont set the textFont of the selectedChunk to theNewFont end menuPick -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From dan at clearvisiontech.com Mon Jul 15 22:02:01 2002 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon Jul 15 22:02:01 2002 Subject: Icons and OSX Message-ID: Hello! Does anyone know how to attach Carbon Icons to a Rev Standalone? I made the file in Icon Builder but, what do you do with it? ... I miss those simple days of ResEdit. :) Thank you for your time, Dan From jportinari at uol.com.br Mon Jul 15 22:24:01 2002 From: jportinari at uol.com.br (Joao C. Portinari) Date: Mon Jul 15 22:24:01 2002 Subject: Revolution for Presentations? Message-ID: Hi Revolution Friends, I would be grateful if you could kindly send me any pointers on using Revolution for authoring and presenting multimedia content. Has anyone authored a multimedia presentation with Revolution? Thanks in advance. Cheers, Joao Portinari -- Prof. Dr. Jo?o Candido Portinari Diretor-Geral Projeto Portinari Pontif?cia Universidade Cat?lica do Rio de Janeiro Rua Marqu?s de S?o Vicente 225 G?vea Rio de Janeiro, RJ 22453-900 Brasil Telefaxes: 21-3114-1438/ 1439/ 1440/ 1441 E-Mail: jportinari at uol.com.br ou portinari at portinari.org.br portinari at openlink.com.br joao.portinari at globo.com.br http://www.portinari.org.br Cel.: 21-9142-2639 Res. 21-3322-2875 From steve at messimercomputing.com Mon Jul 15 22:34:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Mon Jul 15 22:34:01 2002 Subject: re animated btns Message-ID: > Steve, > > Revolution supports animated GIFs; can't you make an animated GIF timed > appropriately and just play it in Rev? > > Ken Ray Ken, Thanks for the reply. The answer is... yes I could use an animated gif but I'd rather swap out icons. Its more convenient to changing the rate at which images are swapped in my btn's script than it would be if I had to go to another program to tweek the gif anmiation. Besides I really want to learn more about how the image chooser is supposed to work. Using this feature of RR should make my use of images in general more efficient. So I tried to load up the images again thinking that the reason they dissappeared from the image chooser was that I didn't actually save them the last time. So I loaded all of them again and saved the stack. When I deleted the images from the card they were again deleted from the image chooser. hmmm Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From bornstein at designeq.com Mon Jul 15 22:49:01 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Mon Jul 15 22:49:01 2002 Subject: Tip for handling external media files Message-ID: <200207160346.g6G3k3p06812@mailout6.nyroc.rr.com> >When using media external to a stack, such as QuickTime files, you can use >paths relative to the standalone (e.g., "/mediafolder/mymovie.mov"). This >works well at runtime, but during development it requires that you keep your >work files in the same folder as the Rev application I know in other cases relating to relative paths, aliases work, so you may simply be able to put aliases to your external media into the Rev application folder rather than the files themselves. Not as slick as your functions, but easy to do. :-) Regards, Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From monte at sweattechnologies.com Mon Jul 15 23:24:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon Jul 15 23:24:01 2002 Subject: Announcement: libColor v0.2 Message-ID: Sorry for the quick releases but thanks to Sarah Reichelt I was able to to include HSV format in the convert function. The libColor_Convert function will now accept HSV as an option in the second (convert to) parameter and a new optional third (convert from) parameter accepts the same list of color reference types as (convert from) but is really only needed for HSV because it is not possible to test the data to tell if it is RGB or HSV. Note that if the third parameter is not supplied then if there are three items in the color reference is is assumed to be RGB. If anyone else has any other RGB to color reference type conversion functions they think should be included in the library then I'm happy to please ;-) You can download it and my other stuff from www.sweattechnologies.com/rev/ Cheers Monte Goulding B.App.Sc. (Hons.) Executive Director Sweat Technologies email: monte at sweattechnologies.com website: www.sweattechnologies.com mobile: (+61) 0421 138 274 From pixelbird at interisland.net Tue Jul 16 00:57:01 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Tue Jul 16 00:57:01 2002 Subject: Cross-platform text-to-speech In-Reply-To: <002801c22c68$5033d3f0$1401000a@xhead> Message-ID: on 7/15/02 6:30 PM, Josh Dye at Zzyzx at relia.net wrote: > I have (And had for the longest time) a simple stack that is TTS for > Windows. > You can get it here: > http://www.geocities.com/pkdrzzyzx/speak.zip > > You MUST copy the "Ext.dll" to plain C Drive (C:\) > Then run the program with rev, and Valla! Click the button, type some stuff, > and it should work! (Thats if you are on Win2k or XP. You might need some > more stuff) ---------- Thanks Josh. Now I just need a PC running W2K to check it out on. What software does it work with? Best regards, Ken N. From shaosean at unitz.ca Tue Jul 16 01:21:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Tue Jul 16 01:21:01 2002 Subject: animated btns References: Message-ID: <003301c22c90$549970d0$88b15bd1@lanfear> > controls. this left the images on a card. When I deleted the images the > images I thought were stored in the image chooser were deleted as well. set the visible to false From mazzapaolo at libero.it Tue Jul 16 01:51:01 2002 From: mazzapaolo at libero.it (paolo mazza) Date: Tue Jul 16 01:51:01 2002 Subject: Animation-QuickTIme In-Reply-To: <200207150219.WAA24076@www.runrev.com> Message-ID: I have a short animation mad with "animation Manager" in a window of my Stack. I wuold like to export this animation as a Quick-time file. I know I can use external programs like Snapz Pro .... but I wuold like to do this from Rev. Has anybody experienced this using some external library? Wuoldn't be nice to have this in the next release of Rev? (if we can record sounds via Quick Time I think we can record movies too!!??) Regards, Paolo Mazza From jeanne at runrev.com Tue Jul 16 02:05:01 2002 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Jul 16 02:05:01 2002 Subject: re animated btns In-Reply-To: Message-ID: At 8:30 PM -0700 7/15/2002, Steve Messimer wrote: >So I tried to load up the images again thinking that the reason they >dissappeared from the image chooser was that I didn't actually save them the >last time. So I loaded all of them again and saved the stack. When I >deleted the images from the card they were again deleted from the image >chooser. They were deleted from the image chooser because they're not in the stack any longer, and therefore when you display the images in the stack, they don't show up, not being there. You can't display an image that no longer exists. One simple way to manage images you want to use but not show is to put them in a substack. You never need to open this substack (except to edit your images), and the user never has to see it; it images are available any time the stack file is open, whether the substack window is open or not. Another way is to place the images on a different card of the main stack. You can also make the images invisible, as Shao suggested. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com Runtime Revolution Limited - The Solution for Software Development http://www.runrev.com/ From chipp at chipp.com Tue Jul 16 02:17:01 2002 From: chipp at chipp.com (Chipp Walters) Date: Tue Jul 16 02:17:01 2002 Subject: Cross-platform text-to-speech In-Reply-To: Message-ID: Did anyone ever successfully get Narrator to work with the Externals Collection on XP? From cvt at clearvisiontech.com Tue Jul 16 04:20:59 2002 From: cvt at clearvisiontech.com (CVT) Date: Tue Jul 16 04:20:59 2002 Subject: Standalones and OSX Message-ID: Does anyone know how to attach application and file type icons to a Rev OSX standalone? I created a file in Icon Composer... but, what do you do with it... Oh, I miss the simple days of ResEdit! Thanks! Dan From mike at cyber-ny.com Tue Jul 16 06:31:01 2002 From: mike at cyber-ny.com (Mike Brown) Date: Tue Jul 16 06:31:01 2002 Subject: Revolution for Presentations? In-Reply-To: Message-ID: Hi Joao, I have created several presentations using revolution. It has most of the necessary elements for a multimedia presentation including, transition effects, sound play back, object animation, hyperlinks, screen backdrop, image import and QuickTime movie playback. I have been having some difficulty displaying a variety of movie formats but am trying to work past this. Did you have any particular questions? Mike Brown Creative Director / Partner Cyber-NY Interactive Phone: 212-475-2721 Toll Free: 1-888-70-CYBER Web: www.cyber-ny.com on 7/15/02 11:20 PM, Joao C. Portinari at jportinari at uol.com.br wrote: > Hi Revolution Friends, > > I would be grateful if you could kindly send me any pointers on using > Revolution for authoring and presenting multimedia content. > > Has anyone authored a multimedia presentation with Revolution? > > Thanks in advance. > > Cheers, > > Joao Portinari From fgalimbe at FastWebnet.it Tue Jul 16 07:32:01 2002 From: fgalimbe at FastWebnet.it (Filippo Galimberti) Date: Tue Jul 16 07:32:01 2002 Subject: RE - defaultFolder usage Message-ID: <5.0.0.25.2.20020716141945.01fe1058@pop.fastwebnet.it> > Actually, guys, it *does* work in Windows, just not in all *versions* of > Windows. For example, in Windows 2000 it will work just fine. However in > Windows XP, it won't. Filippo, what version of Windows are you using? > Ken Ray Dear Ken, thank you for the information. I'm working mostly on XP Pro, but I also did some brief testing on 2K (Pro Service Pack 2 Italian and Server Italian), and "defaultFolder" seems to not work correctly on both. Best regards Filippo Galimberti From steve at messimercomputing.com Tue Jul 16 08:35:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Tue Jul 16 08:35:01 2002 Subject: No subject Message-ID: >> controls. this left the images on a card. When I deleted the images the >> images I thought were stored in the image chooser were deleted as well. > > set the visible to false Shoa Sean, Thanks for your response. I discovered this work around. It works just fine but is ... a bit sloppy. Is this really the way we are supposed to handle images that are used as icons? It seems to me that this feature of RR needs a bit more work. It would be nice if there were a way that you could store images in a stack without having the image expressed as a object. Forinstance when you select the "Import as control" menu item of the file menu. It would be nice if the image were stored in the stack permanently irrespective of whether or not it was used as an image on the current card. In addition it would be nice if the image chooser had the capability to import images and to delete images that have been stored. This of course would require that the image chooser was capable of being invoked via another method rather than setting the icon property. Why is this an issue? Well I am currently working on a rather large project. I want my code and the resources stored in the stack to be as small and efficient as possible. Currently when I look at the custom Image library for the stack I see a large number of stored images that are redundant. There are perhaps 60 or more images stored. There are only about 15 unique images used as icons in the stack. Given the current situation I am not sure that I can safely delete any of them. The fact that they are there is a consequence of me adding them as controls. Perhaps a bit more information from the folks at RR regarding icon management and the use of custom image libraries might be helpful here. I guess what I am longing for here is a set of features that are similar to resCopy. If there are different ways to load, access and use images in RR that I am missing, please anybody chime in. Regards, Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From klaus.major at metascape.org Tue Jul 16 09:27:01 2002 From: klaus.major at metascape.org (Klaus Major) Date: Tue Jul 16 09:27:01 2002 Subject: No subject In-Reply-To: Message-ID: <0BEE8321-98C7-11D6-AD57-003065D52E8E@metascape.org> Hi Steve and all, >>> controls. this left the images on a card. When I deleted the images >>> the >>> images I thought were stored in the image chooser were deleted as >>> well. >> >> set the visible to false > > Shoa Sean, .... > If there are different ways to load, access and use images in RR that I > am > missing, please anybody chime in. > > Regards, > > Steve first i have to confess that i still use MetaCard although i got a Pro RR license, because we are in the middle of a big project that i started with MC. Since everything concerning MC applies to RR i can tell you a scenario how i use my custom-build image-libraries. 1st scenario: I have a mainstack, that has NO images inside (to avoid id conflicts, see scenario 2) Then i have a substack of that mainstack where i imported ALL needed images (preferrably referenced...) Now i can put the appropriate ids into the btns of the mainstack... Et voila, image-library nr. 1 2nd scenario: A mainstack, that has images inside. Then i have a substack of that mainstack where i imported ALL needed images (preferrably referenced...) To avoid id conflicts you now should give all the images in the substack NEW IDs. Here you should start to number them with (incredibly ;-) high numbers, best done via script. Start at 2000000 to be sure Be careful to not use ids that might be used by the RR image-library (they use the same technique ;-) Now i can put the appropriate ids into the btns of the mainstack... Et voila, image-library nr. 2. I hope you get the picture... This is from the MC index concerning icons: > MetaCard allows you to use any image object as an icon, fill pattern, > brush shape, or cursor. The image that will be used when each of these > properties is set is located by checking the id of the image objects. > Images with ids less than 1000 are reserved for the standard MetaCard > icons, cursors, and fill patterns: cursors are ids 1-100, brush shapes > 101-200, fill patterns 136-300. and icons 301-1000. The start value of > each of these is subtracted when you set one of these properties to a > value less than 1000. For example, setting an object's backPattern > property to 2 causes the image with id 137 to be used to fill the > background of that object. > > All stacks and substacks are searched for an image of the correct id > when you set one of these properties. To facilitate finding the right > image, you can set the id property of image objects (they are the only > MetaCard objects that allow this). To avoid the problem where you have > multiple objects with the same id, you should only set ids to very > large numbers (at least 6 digits). Note that if you set an id to a > value used by another object in a stack (or another object is created > with that id), one or both of the objects can be lost. And this from the RR index: > Use the icon property to change a button?s appearance, or to set a > stack?s appearance when iconified on Unix systems. > > Value: > The icon property is the ID or name of an image to use for an icon. > Revolution looks for the specified image first in the current stack, > then in other open stacks. > Hope that helps... Regards from germany Klaus Major klaus.major at metascape.org From ludovic.thebault at laposte.net Tue Jul 16 09:29:01 2002 From: ludovic.thebault at laposte.net (Ludovic Thebault) Date: Tue Jul 16 09:29:01 2002 Subject: get the list of open applications and windows ? Message-ID: <3D342D2D.7020807@laposte.net> It is possible to get the list of all running applications and their windows ? Thanks. From rcozens at pon.net Tue Jul 16 10:11:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Jul 16 10:11:01 2002 Subject: No subject In-Reply-To: <0BEE8321-98C7-11D6-AD57-003065D52E8E@metascape.org> References: <0BEE8321-98C7-11D6-AD57-003065D52E8E@metascape.org> Message-ID: >Start at 2000000 to be sure > >Be careful to not use ids that might be used by the RR image-library >(they use the same technique ;-) Klaus, et al: Check the Rev Dictionary id property: "The following ids are reserved and should not be used for image ids:" [summarized} 1 - 135* 236 - 1000* 101K - 103K 200K - 299K * The MetaCard User Guide says 1 - 1000 are reserved -- 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 Tue Jul 16 10:15:01 2002 From: kray at sonsothunder.com (Ken Ray) Date: Tue Jul 16 10:15:01 2002 Subject: RE - defaultFolder usage References: <5.0.0.25.2.20020716141945.01fe1058@pop.fastwebnet.it> Message-ID: <004e01c22cda$9c516d70$6f00a8c0@mckinley.dom> Filippo, trying to set the defaultFolder before opening an answer file dialog does indeed fail to work in Win2K and WinXP. However, in Win2K you can pass the directory to open in the answer file command: answer file "Pick a file:" with "C:/" However after some additional research, here's what I found (under both Windows 2000 and Windows XP). Keep in mind that in Windows, there is a "File name:" box at the bottom of the open file dialog box which is editable and changes to the name of the file you select in the dialog box (I'll call this the "file name box"). 1) answer file "Pick a file:" with "C:/" - opens to the C drive with nothing in the file name box. 2) answer file "Pick a file:" with "C:/winnt/" - opens to the last folder MetaCard remembered me opening files from, with nothing in the file name box. 3) answer file "Pick a file:" with "C:/winnt" - opens to the C drive, with "winnt" in the file name box. 4) answer file "Pick a file:" with "C:/winnt/notepad.exe" - opens to the "C:/winnt/" directory, with "notepad.exe" in the file name box. It appears that unless you are pointing at the root level of a volume, you cannot open to the specified directory *unless* you provide a file name also (which will appear in the file name box), and that the only time you can open to a specific directory *without* something in the file name box is when you point at the root level of a volume. This means you can do something like: answer file "Pick a file:" with "C:/winnt/(select a file)" and it will open to the "C:/winnt/" directory with "(select a file)" in the file name box but this is funky. Perhaps there's some way around this? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Filippo Galimberti" To: Sent: Tuesday, July 16, 2002 7:28 AM Subject: RE - defaultFolder usage > > Actually, guys, it *does* work in Windows, just not in all *versions* of > > Windows. For example, in Windows 2000 it will work just fine. However in > > Windows XP, it won't. Filippo, what version of Windows are you using? > > Ken Ray > > Dear Ken, > thank you for the information. > I'm working mostly on XP Pro, but I also did some brief testing on 2K (Pro > Service Pack 2 Italian and Server Italian), and "defaultFolder" seems to > not work correctly on both. > Best regards > Filippo Galimberti > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Zzyzx at Relia.Net Tue Jul 16 10:22:01 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Tue Jul 16 10:22:01 2002 Subject: get the list of open applications and windows ? References: <3D342D2D.7020807@laposte.net> Message-ID: <001f01c22cdc$05e29d80$1401000a@xhead> Yup! You need the "Ext.dll" that I provided on my website. Copy that to C:\, then make stack, add "EXT.dll" as a external. (View -> Application Overview -> Click on your stack -> Click on the Main Card -> Click the little Arrow to expand it -> Go to the LAST tab -> Click "Add Reference to External" -> Find "EXT.dll" -> Save stack, re-open Rev.) Then add this to a Button script. on mouseUp put ext_appsOpen() into fld "Open Apps" end mouseUp http://www.geocities.com/pkdrzzyzx/speak.zip (EXT.Dll is included in that .Zip file) - Josh Dye ----- Original Message ----- From: "Ludovic Thebault" To: Sent: Tuesday, July 16, 2002 8:26 AM Subject: get the list of open applications and windows ? > It is possible to get the list of all running applications and their > windows ? > > Thanks. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From Zzyzx at Relia.Net Tue Jul 16 10:24:02 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Tue Jul 16 10:24:02 2002 Subject: Cross-platform text-to-speech References: Message-ID: <002001c22cdc$2c62e0a0$1401000a@xhead> This is built with Rev, so any program that you use Rev with, this will work. Just remember to add "EXT.dll" to all of your stacks as an External. (Steps provided in last E-Mail) - Josh Dye ----- Original Message ----- From: "Ken Norris (dialup)" To: Sent: Monday, July 15, 2002 11:59 PM Subject: Re: Cross-platform text-to-speech > on 7/15/02 6:30 PM, Josh Dye at Zzyzx at relia.net wrote: > > > I have (And had for the longest time) a simple stack that is TTS for > > Windows. > > You can get it here: > > http://www.geocities.com/pkdrzzyzx/speak.zip > > > > You MUST copy the "Ext.dll" to plain C Drive (C:\) > > Then run the program with rev, and Valla! Click the button, type some stuff, > > and it should work! (Thats if you are on Win2k or XP. You might need some > > more stuff) > ---------- > Thanks Josh. Now I just need a PC running W2K to check it out on. What > software does it work with? > > Best regards, > Ken N. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From Zzyzx at Relia.Net Tue Jul 16 10:28:00 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Tue Jul 16 10:28:00 2002 Subject: Cross-platform text-to-speech References: Message-ID: <002101c22cdc$db7e4cf0$1401000a@xhead> Hello, I have. Easy. Here is the link to the stuff that you will need to download to be able to use TTS on Windows 98, and XP. 2k should have it built in. Wouldn't hurt it to download this programs as well. http://download.microsoft.com/download/platformsdk/Redist/2.0/WIN98MeXP/EN-U S/msaginst.EXE That is 17.4 megs, But it includes everything. - Josh Dye ----- Original Message ----- From: "Chipp Walters" To: Sent: Tuesday, July 16, 2002 1:14 AM Subject: RE: Cross-platform text-to-speech > Did anyone ever successfully get Narrator to work with the Externals > Collection on XP? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From rcozens at pon.net Tue Jul 16 11:26:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Tue Jul 16 11:26:01 2002 Subject: Observations Re: Images--Followup Message-ID: >A resizeIcon property would be useful, but if it resizes the image, then one >has the caveat that if you want to use it in other instances at a different >size... what happens? Sivakatirswami, et al: My experiences since posting, "I have done some testing in the current Rev environment ..., and it is not a problem that can't be dealt with." have brought me back with a retraction. It simply proved to be more trouble that it was worth to try to deal with the issue of resizing each image for different sized buttons in the current environment...which is why it would be a useful feature to have built in if it can be done correctly. In the meantime, I've made my buttons 3D & bordered, and returned all images to their original size. <\foole's hat> -- Rob Cozens CCW, Serendipity Software Company http://www.oenolog.com/who.htm "And I, which was two fooles, do so grow three; Who are a little wise, the best fooles bee." from "The Triple Foole" by John Donne (1572-1631) From scott at tactilemedia.com Tue Jul 16 12:28:01 2002 From: scott at tactilemedia.com (Scott Rossi) Date: Tue Jul 16 12:28:01 2002 Subject: re animated btns In-Reply-To: Message-ID: >> Revolution supports animated GIFs; can't you make an animated GIF timed >> appropriately and just play it in Rev? > Thanks for the reply. The answer is... yes I could use an animated gif but > I'd rather swap out icons. Its more convenient to changing the rate at > which images are swapped in my btn's script than it would be if I had to go > to another program to tweek the gif anmiation. Actually, Ken's suggestion is a valid one. You don't need to go to another program to tweek the frame rate, nor are you limited to the GIF's encoded frame rate when playing it within MC/Rev. You can set the repeatCount of an animated GIF to 0, which causes the GIF's animation to pause on the current frame. You can also display any frame of the animated GIF using the currentFrame property, and you can do this using your own timing. Animated GIF control is actually a very powerful feature of MC/Rev that is often overlooked. See your Help files for related terms (currentFrame, repeatCount, frameCount, etc). > It seems to me that this feature of RR needs a bit more work. It would be > nice if there were a way that you could store images in a stack without > having the image expressed as a object. Forinstance when you select the > "Import as control" menu item of the file menu. It would be nice if the > image were stored in the stack permanently irrespective of whether or not it > was used as an image on the current card. I can't comment on Rev's specific features here, but it seems easy enough to get the behavior you want -- you simply import the image and place it in a group. When you want the image, place the group on the card. To remove the image, remove the group from the card; the image will still be available to the stack. You could also place all your images in a hidden group. To display an individual image, you set the icon of a button to the ID of your desired image; to remove the image, set the ID of the button to 0. The bottom line is, the images need to be stored *somewhere*. Whether you place them on a card, in a group or in separate stack is up to you, but IMO, it's nice to have these several options. > I guess what I am longing for here is a set of features that are similar to > resCopy. I would hazard a guess that ResCopy doesn't do anything which can't be done natively in Rev. Perhaps if you describe the features that resCopy offers which you can't figure out in Rev, a solution can be found that fits your needs. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From alex at mindlube.com Tue Jul 16 13:53:01 2002 From: alex at mindlube.com (Alex Rice) Date: Tue Jul 16 13:53:01 2002 Subject: Icons and OSX In-Reply-To: Message-ID: On Monday, July 15, 2002, at 08:49 PM, Dan Friedman wrote: > Hello! Does anyone know how to attach Carbon Icons to a Rev > Standalone? I > made the file in Icon Builder but, what do you do with it? ... I miss > those > simple days of ResEdit. :) > > Thank you for your time, Have you tried making a bundle out of your app? (I don't know-- does Rev create it's OS X standalones as bundles?) In a Cocoa app, in the bundle, Info.plist, CFBundleDocumentTypes is a dictionary that takes a key CFBundleTypeIconFile. The value is the filename "yourfilename.icns", the file you have created with IconComposer, which comes with Apple's developer tools. If you don't have it I can mail you IconComposer. I am assuming this method would work for any bundle, not just Cocoa apps. Alex Rice Mindlube Software http://www.mindlube.com/ From shaosean at unitz.ca Tue Jul 16 14:22:01 2002 From: shaosean at unitz.ca (Shao Sean) Date: Tue Jul 16 14:22:01 2002 Subject: No subject References: Message-ID: <002f01c22cfd$57f02860$88b15bd1@lanfear> > Thanks for your response. I discovered this work around. It works just fine > but is ... a bit sloppy. Is this really the way we are supposed to handle > images that are used as icons? it's one of the ways available to handle icons.. one of the better ways (especially if you're writing something bigger than a one card, one icon project) is to create a sub-stack that will contain all of your icons, images, etc.. (as was mentioned by Jeanne.. i hope i spelt that right).. > that have been stored. This of course would require that the image chooser > was capable of being invoked via another method rather than setting the icon it is.. go under the "Development" menu and select the "Image Chooser" menu item =) From mail at richard-hillen.de Tue Jul 16 15:33:01 2002 From: mail at richard-hillen.de (Richard Hillen) Date: Tue Jul 16 15:33:01 2002 Subject: revCopyFolder Message-ID: <3D348249.32413B11@richard-hillen.de> Hello list, I need your help with this script: on mouseup answer folder "Sourcefolder please" put it into SF answer Folder "Destinationfolder please" put it into DF revCopyFolder SF,DF put the result end mouseup The result: "Execution error". Why? Thanx, Richard. From peter.fink at tiscali.ch Tue Jul 16 15:38:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Tue Jul 16 15:38:01 2002 Subject: empty (images) In-Reply-To: Message-ID: <3D0D86C400009E3E@flu-stateless-02.tiscalinet.ch> > > >>> controls. this left the images on a card. When I deleted the images >the >>> images I thought were stored in the image chooser were deleted as well. >> >> set the visible to false > >Shoa Sean, > >Thanks for your response. I discovered this work around. It works just fine >but is ... a bit sloppy. Is this really the way we are supposed to handle >images that are used as icons? > >It seems to me that this feature of RR needs a bit more work. It would be >nice if there were a way that you could store images in a stack without >having the image expressed as a object. Forinstance when you select the In my opinion the way how RR handles images as objects on cards, in a stack or a substack, is ok. In my larger stacks there are anyway some cards that hold the scripts and other program data. The images can go to similar cards. It makes sense if the images do not need be stored in every stack that uses them. It seems (by other posts) that this is indeed the case. Peter From peter.fink at tiscali.ch Tue Jul 16 15:45:00 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Tue Jul 16 15:45:00 2002 Subject: Observations Re: Images--Followup In-Reply-To: Message-ID: <3D0D86C400009E44@flu-stateless-02.tiscalinet.ch> someone wrote (my webmailer does not handle this well): >-- Original-Nachricht -- >To: use-revolution at lists.runrev.com > >>A resizeIcon property would be useful, but if it resizes the image, then >one >>has the caveat that if you want to use it in other instances at a different >>size... what happens? > > >It simply proved to be more trouble that it was worth to try to deal >with the issue of resizing each image for different sized buttons in >the current environment...which is why it would be a useful feature >to have built in if it can be done correctly. > I vote for images that can be scaled, cropped, possibly flipped, possibly rotated by n*90 degrees, sqr(possibly) rotated by any degree. Peter From bornstein at designeq.com Tue Jul 16 16:35:00 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Tue Jul 16 16:35:00 2002 Subject: revCopyFolder Message-ID: <200207162132.g6GLWMp07691@mailout6.nyroc.rr.com> >on mouseup > answer folder "Sourcefolder please" > put it into SF > answer Folder "Destinationfolder please" > put it into DF > > revCopyFolder SF,DF > put the result > >end mouseup > >The result: "Execution error". I tried this and many variations and also could not get this to work, even when I hard-coded absolute paths in the revCopyFolder command. (Mac OS 9.2.1) ??? Howard Bornstein ____________________ D E S I G N E Q www.designeq.com From sarahr at genesearch.com.au Tue Jul 16 17:26:00 2002 From: sarahr at genesearch.com.au (Sarah) Date: Tue Jul 16 17:26:00 2002 Subject: images In-Reply-To: Message-ID: <8FD7D9E1-990A-11D6-AC95-0003937A97B8@genesearch.com.au> I haven't done much with image libraries but as I understand it, the standard Rev image libraries are just normal stacks that contain all their images. If you need any of these images, you need to include the library in your standalone, meaning that you are effectively including copies of all those icons even if you only use one. If you make your own images substack, either as an image library or as part of your working file, you can be much more selective about the images you include, while producing the same result. Sarah > It seems to me that this feature of RR needs a bit more work. It would > be > nice if there were a way that you could store images in a stack without > having the image expressed as a object. Forinstance when you select the > "Import as control" menu item of the file menu. It would be nice if the > image were stored in the stack permanently irrespective of whether or > not it > was used as an image on the current card. In addition it would be nice > if > the image chooser had the capability to import images and to delete > images > that have been stored. This of course would require that the image > chooser > was capable of being invoked via another method rather than setting the > icon > property. > > Why is this an issue? Well I am currently working on a rather large > project. I want my code and the resources stored in the stack to be as > small and efficient as possible. Currently when I look at the custom > Image > library for the stack I see a large number of stored images that are > redundant. There are perhaps 60 or more images stored. There are only > about > 15 unique images used as icons in the stack. Given the current > situation I > am not sure that I can safely delete any of them. The fact that they are > there is a consequence of me adding them as controls. > > Perhaps a bit more information from the folks at RR regarding icon > management and the use of custom image libraries might be helpful here. > > I guess what I am longing for here is a set of features that are > similar to > resCopy. > > If there are different ways to load, access and use images in RR that I > am > missing, please anybody chime in. > > Regards, > > Steve > > Stephen R. Messimer > Messimer Computing, Inc > 208 1st Ave South > Escanaba, MI 49829 > www.messimercomputing.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From rfarnold at bu.edu Tue Jul 16 18:14:01 2002 From: rfarnold at bu.edu (Bob Arnold) Date: Tue Jul 16 18:14:01 2002 Subject: Installing stand-alone apps on Windows In-Reply-To: <8FD7D9E1-990A-11D6-AC95-0003937A97B8@genesearch.com.au> Message-ID: Hello List! Distributing my project to Windows, can someone tell me what the usual protocol is for installing an app on a Windows machine? It seems that the mac's simple "drag it to where you want it" may not suffice. Does someone have an installation script they might be willing to share? Thanks much Bob -- Robert Arnold Associate Professor of Film Boston University Tel (617) 353-7735 Fax (617) 353-1084 http://people.bu.edu/rfarnold/ From extensor at cybonix.com Tue Jul 16 19:09:01 2002 From: extensor at cybonix.com (Extensor) Date: Tue Jul 16 19:09:01 2002 Subject: Installing stand-alone apps on Windows References: Message-ID: <001e01c22d26$1e3c2320$30383fd1@kooky> I use install Maker. It handles compression and creates an installer. It also lets you include an uninstall in the menu. Best of all it is free. :) http://www.clickteam.com ----- Original Message ----- From: "Bob Arnold" To: Sent: Tuesday, July 16, 2002 4:10 PM Subject: Installing stand-alone apps on Windows > Hello List! > > Distributing my project to Windows, can someone tell me what the usual > protocol is for installing an app on a Windows machine? It seems that the > mac's simple "drag it to where you want it" may not suffice. Does someone > have an installation script they might be willing to share? > > Thanks much > > Bob > -- > Robert Arnold > Associate Professor of Film > Boston University > Tel (617) 353-7735 Fax (617) 353-1084 > http://people.bu.edu/rfarnold/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Tue Jul 16 20:09:00 2002 From: sarahr at genesearch.com.au (Sarah) Date: Tue Jul 16 20:09:00 2002 Subject: revCopyFolder In-Reply-To: Message-ID: <697FC8B4-9921-11D6-AC95-0003937A97B8@genesearch.com.au> Your script works perfectly under Mac OS X but I think with Mac systems, the revCopyFolder command uses AppleScript and it is different on others. What system do you use? The only other thing I can think of is if you are trying to do a copy that can't work, like copying a folder to itself or inside itself or onto a protected disk. Sarah On Wednesday, July 17, 2002, at 06:40 AM, Richard Hillen wrote: > Hello list, > > I need your help with this script: > > on mouseup > answer folder "Sourcefolder please" > put it into SF > answer Folder "Destinationfolder please" > put it into DF > > revCopyFolder SF,DF > put the result > > end mouseup > > The result: "Execution error". > > Why? > > Thanx, Richard. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From harrison at all-auctions.com Tue Jul 16 21:09:01 2002 From: harrison at all-auctions.com (Rick Harrison) Date: Tue Jul 16 21:09:01 2002 Subject: Where at Macworld? - Birds of a feather In-Reply-To: <697FC8B4-9921-11D6-AC95-0003937A97B8@genesearch.com.au> Message-ID: Hi there, I've been looking at the old posts about this and noticed that an exact place was not mentioned for the Rev. Birds of a Feather gathering at MacWorld in NYC tomorrow evening. Does anyone know where we are meeting? Thanks, Rick Harrison From yvescoppe at skynet.be Tue Jul 16 21:35:01 2002 From: yvescoppe at skynet.be (Yves =?iso-8859-1?Q?Copp=E9?=) Date: Tue Jul 16 21:35:01 2002 Subject: diffdays Message-ID: Hello, Can someone help me to write a function that returns the difference of days between two dates ? Please don't forget the dateformat can be different from a system to another (U.S,French,German,...) Thank you. -- Salutations. Yves COPPE Email : yvescoppe at skynet.be From sarahr at genesearch.com.au Tue Jul 16 23:30:00 2002 From: sarahr at genesearch.com.au (Sarah) Date: Tue Jul 16 23:30:00 2002 Subject: diffdays In-Reply-To: Message-ID: <7B3727B0-993D-11D6-9378-0003937A97B8@genesearch.com.au> If you convert both dates to seconds, and divide the difference by 86400 (the number of seconds in a day), then you will get the number of days between the dates. When you convert, specify what format you are starting with e.g. convert from short system date to seconds This will allow for localised date formats. Cheers, Sarah On Wednesday, July 17, 2002, at 12:42 PM, Yves Copp? wrote: > Hello, > > Can someone help me to write a function that returns the difference of > days between two dates ? > Please don't forget the dateformat can be different from a system to > another (U.S,French,German,...) > > Thank you. > -- > Salutations. > > 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 terry at discovery.nl Tue Jul 16 23:57:01 2002 From: terry at discovery.nl (Terry Vogelaar) Date: Tue Jul 16 23:57:01 2002 Subject: diffdays In-Reply-To: Message-ID: > Can someone help me to write a function that returns the difference > of days between two dates ? > Please don't forget the dateformat can be different from a system to > another (U.S,French,German,...) Hello Yves, I don't know if this is the smartest way, but this should do it: on mouseUp put "dinsdag, 9 juli 2002" into DateA convert DateA from system long date to seconds put "7/17/02" into DateB convert DateB from short date to seconds put DateA - DateB into diff divide diff by 86400 -- No of seconds in 1 day if char 1 of diff = "-" then delete char 1 of diff put diff end mouseUp and the message box shows the date of 10 days ago in French (or Dutch, or whatever language you are using). As long as RR can understand the date format provided, and you specify which format it is, there shouldn't be a problem. The only thing is if the data provided is in languages other then the system language of the user and English, in other words: on my system, I can only interpret Dutch or English dates; not Frech or German. Maybe a nice feature request to add a few more languages than English... Terry From sims at ezpzapps.com Wed Jul 17 00:37:01 2002 From: sims at ezpzapps.com (sims) Date: Wed Jul 17 00:37:01 2002 Subject: diffdays In-Reply-To: References: Message-ID: What is the best way if the date is much earlier? If I do the following, I get only 730 days: on mouseUp put "7/17/1900" into DateA convert DateA from system long date to seconds put "7/17/2002" into DateB convert DateB from short date to seconds put DateA - DateB into diff divide diff by 86400 -- No of seconds in 1 day if char 1 of diff = "-" then delete char 1 of diff put diff end mouseUp sims > >on mouseUp > put "dinsdag, 9 juli 2002" into DateA > convert DateA from system long date to seconds > put "7/17/02" into DateB > convert DateB from short date to seconds > put DateA - DateB into diff > divide diff by 86400 -- No of seconds in 1 day > if char 1 of diff = "-" then delete char 1 of diff > put diff >end mouseUp From yvescoppe at skynet.be Wed Jul 17 00:56:01 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Wed Jul 17 00:56:01 2002 Subject: revCopyFolder In-Reply-To: <697FC8B4-9921-11D6-AC95-0003937A97B8@genesearch.com.au> References: <697FC8B4-9921-11D6-AC95-0003937A97B8@genesearch.com.au> Message-ID: >On Wednesday, July 17, 2002, at 06:40 AM, Richard Hillen wrote: > >>Hello list, >> >>I need your help with this script: >> >>on mouseup >> answer folder "Sourcefolder please" >> put it into SF >> answer Folder "Destinationfolder please" >> put it into DF >> >> revCopyFolder SF,DF >> put the result >> >>end mouseup >> >>The result: "Execution error". >> >>Why? >> I've tried your script on macOS X and it works fine... Hope this helps. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From yvescoppe at skynet.be Wed Jul 17 00:56:11 2002 From: yvescoppe at skynet.be (yves COPPE) Date: Wed Jul 17 00:56:11 2002 Subject: diffdays In-Reply-To: References: Message-ID: > > Can someone help me to write a function that returns the difference >> of days between two dates ? >> Please don't forget the dateformat can be different from a system to >> another (U.S,French,German,...) > >Hello Yves, > >I don't know if this is the smartest way, but this should do it: > >on mouseUp > put "dinsdag, 9 juli 2002" into DateA > convert DateA from system long date to seconds > put "7/17/02" into DateB > convert DateB from short date to seconds > put DateA - DateB into diff > divide diff by 86400 -- No of seconds in 1 day > if char 1 of diff = "-" then delete char 1 of diff > put diff >end mouseUp > >and the message box shows the date of 10 days ago in French (or Dutch, or >whatever language you are using). As long as RR can understand the date >format provided, and you specify which format it is, there shouldn't be a >problem. The only thing is if the data provided is in languages other then >the system language of the user and English, in other words: on my system, I >can only interpret Dutch or English dates; not Frech or German. Maybe a nice >feature request to add a few more languages than English... > >Terry > Thank you very much. It works fine on a french system. -- Greetings. Yves COPPE Email : yvescoppe at skynet.be From kee at kagi.com Wed Jul 17 03:41:00 2002 From: kee at kagi.com (Kee Nethery) Date: Wed Jul 17 03:41:00 2002 Subject: Installing stand-alone apps on Windows In-Reply-To: References: Message-ID: >Hello List! > >Distributing my project to Windows, can someone tell me what the usual >protocol is for installing an app on a Windows machine? It seems that the >mac's simple "drag it to where you want it" may not suffice. Does someone >have an installation script they might be willing to share? I am not a windows expert, I repeat, I am not a windows expert but ... The only standalone I have created so far was deployed onto windows NT. I transferred it via AIM and then made an alias that I put onto the desktop and it launches. It appeared to me that my expectations of "drag it to where you want it" seemed to work. Again, I use Mac OS X and am not a windows expert but just dropping it onto the hard drive seemed to be enough. Kee Nethery From malte.brill at t-online.de Wed Jul 17 07:35:01 2002 From: malte.brill at t-online.de (malte brill) Date: Wed Jul 17 07:35:01 2002 Subject: Playing back Videofiles on multiple Platforms Message-ID: Hello. I?m building some small presentations playing back Mpeg1 Movies on Mac and Win. It all works fine if Quicktime is installed. I?ve talked to Apple and they allow to put the Installer on the CD if you fill out a simple Licence Agreement (without charging fees). I tested it on multiple Systems and realized that the playback Quality strongly depends on a) the processor speed (>300 MHz), b)if the graphic card is onboard or not, c) if there is enough Hardiscspace (>400MB) and d) the speed of the CD-Rom Drive. While c and d might be checked or solved by building an installer, I wonder if it?s possible to get the Processor speed and check if there is an extra graphic card in order to disable playback of video on low end systems. Something like if the system is slower than 300 MHz and has no extra graphic device. go card "sorry" endif thanks in advance Malte From janschenkel at yahoo.com Wed Jul 17 07:45:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed Jul 17 07:45:01 2002 Subject: Installing stand-alone apps on Windows In-Reply-To: Message-ID: <20020717124228.85309.qmail@web11907.mail.yahoo.com> --- Kee Nethery wrote: > >Hello List! > > > >Distributing my project to Windows, can someone > tell me what the usual > >protocol is for installing an app on a Windows > machine? It seems that the > >mac's simple "drag it to where you want it" may not > suffice. Does someone > >have an installation script they might be willing > to share? > > [snip] > > Again, I use Mac OS X and am not a windows expert > but just dropping > it onto the hard drive seemed to be enough. > > Kee Nethery Hi Bob, Hi Kee. One of our current products (not written in RunRev, but another language) is deployed the same way: copy the folder onto the hard drive. The only tricky bit is that Windows thinks that files from a cd are locked, thus you can't write to any datafiles that are copied from the cd. Of course you can make a 'firstrun' batch file that will do an attrib -r *.* in the appropriate directories. Apart from that, I've noticed that our Windows users find it quite disconcerting at first. They're used to flashy installers that put things in places they don't even want to know exist. So for the more conservative of users, an install script that merely copies the file to the hard drive goes a long way towards putting them at ease -- however silly that may sound. Just my 2 eurocents, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From bwoodruf at butler.edu Wed Jul 17 09:55:01 2002 From: bwoodruf at butler.edu (Burrton Woodruff) Date: Wed Jul 17 09:55:01 2002 Subject: How to add blank line to end of variable Message-ID: <4BD141D9-9983-11D6-BCB0-0050E46E4C63@butler.edu> Hi Folk, I'm using set the points of graphic "histogon" plotVector to graph a data set. Works beautifully except I can't code for a polygon that is not closed. Transcript dictionary says a blank line at the end of the list of points will create an open polygon. I want a blank line at the end of the plotVector so the polygon will NOT be closed. I've tried all sorts of coding to do this and cannot make it happen. With "Script Debug" I can put a blank line at the end of plotVect and the polygon is NOT closed. None of the following code fragments work. In every instance the polygon is closed put the number of lines in plotVect into numlines ... put empty into line numlines + 1 of plotVect [does NOT add line to plotVect} ... stands in for "line numlines + 1 of plotVect put "" into ... [does not add a line to plotVect] put " " into ... [ adds line and the polygon is still closed] put "," into ... [ adds line and the polygon is still closed] put " , " into ... [adds line and the polygon is still closed] put return after plotVect [does not add line and...] put return & space after plotvect [adds line and the polygon is still closed] Help. Burrton Woodruff Ripple Software bwoodruf at butler.edu http://www.bgwoodruff.com From glenbledsoe at mac.com Wed Jul 17 10:40:01 2002 From: glenbledsoe at mac.com (Glen L. Bledsoe) Date: Wed Jul 17 10:40:01 2002 Subject: Switching Mainstacks In-Reply-To: <200207170438.AAA14499@www.runrev.com> Message-ID: <025E208A-999A-11D6-A723-0050E4EE0555@mac.com> I've converted a SuperCard project to a Revolution stack. With a little work it appears to work more or less as the original. I want to make it a standalone, but owing to the way Revolution saves, I don't want the mainstack where I'll want to save changes to be the mainstack. I want the splash stack to be the main stack. Is there any way to do this without having to recreate the whole thing, splash stack first, and copy and paste between the two stacks? Glen L. Bledsoe Computer teacher Molalla Elementary School From glenbledsoe at mac.com Wed Jul 17 10:44:00 2002 From: glenbledsoe at mac.com (Glen L. Bledsoe) Date: Wed Jul 17 10:44:00 2002 Subject: Newbie Question In-Reply-To: <200207160522.BAA23828@www.runrev.com> Message-ID: <9757433E-999A-11D6-A723-0050E4EE0555@mac.com> Works like a charm. Many thanks! Glen L. Bledsoe Computer teacher Molalla Elementary School On Monday, July 15, 2002, at 10:22 PM, use-revolution- request at lists.runrev.com wrote: > At 5:53 PM -0700 7/15/2002, Glen L. Bledsoe wrote: >> I've figured out (with help from below) how to set the size and style >> of >> selected text. I've created a menu/button "Fonts" but I can't figure >> out >> how to set selected text to fonts that are on any given computer. > > on menuPick theNewFont > set the textFont of the selectedChunk to theNewFont > end menuPick > > -- > Jeanne A. E. DeVoto ~ jeanne at runrev.com > Runtime Revolution Limited - The Solution for Software Development > http://www.runrev.com/ From mail at richard-hillen.de Wed Jul 17 10:46:00 2002 From: mail at richard-hillen.de (Richard Hillen) Date: Wed Jul 17 10:46:00 2002 Subject: revCopyFolder References: <200207170440.AAA14544@www.runrev.com> Message-ID: <3D359073.5C082A11@richard-hillen.de> Hello Sarah , Hello Howard, Re revCopyFolder, Sarah, 17.7.2002: My Parameters: Mac Powerbook G4, Mac OS 9.2.2 (german) Richard. > Message: 11 > Date: Wed, 17 Jul 2002 11:06:23 +1000 > Subject: Re: revCopyFolder > From: Sarah > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > Your script works perfectly under Mac OS X but I think with Mac systems, > the revCopyFolder command uses AppleScript and it is different on > others. What system do you use? > > The only other thing I can think of is if you are trying to do a copy > that can't work, like copying a folder to itself or inside itself or > onto a protected disk. > > Sarah > > On Wednesday, July 17, 2002, at 06:40 AM, Richard Hillen wrote: > > > Hello list, > > > > I need your help with this script: > > > > on mouseup > > answer folder "Sourcefolder please" > > put it into SF > > answer Folder "Destinationfolder please" > > put it into DF > > > > revCopyFolder SF,DF > > put the result > > > > end mouseup > > > > The result: "Execution error". > > > > Why? > > > > Thanx, Richard. > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > --__--__-- > > Message: 12 > Date: Tue, 16 Jul 2002 22:06:39 -0400 > Subject: Where at Macworld? - Birds of a feather > From: Rick Harrison > To: > Reply-To: use-revolution at lists.runrev.com > > Hi there, > > I've been looking at the old posts about this > and noticed that an exact place was not mentioned > for the Rev. Birds of a Feather gathering at MacWorld > in NYC tomorrow evening. > > Does anyone know where we are meeting? > > Thanks, > > Rick Harrison > > --__--__-- > > Message: 13 > Date: Tue, 16 Jul 2002 22:20:25 +0200 > To: use-revolution at lists.runrev.com > From: Yves =?iso-8859-1?Q?Copp=E9?= > Subject: diffdays > Reply-To: use-revolution at lists.runrev.com > > Hello, > > Can someone help me to write a function that returns the difference > of days between two dates ? > Please don't forget the dateformat can be different from a system to > another (U.S,French,German,...) > > Thank you. > -- > Salutations. > > Yves COPPE > > Email : yvescoppe at skynet.be > > --__--__-- > > Message: 14 > Date: Wed, 17 Jul 2002 14:27:19 +1000 > Subject: Re: diffdays > From: Sarah > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > If you convert both dates to seconds, and divide the difference by 86400 > (the number of seconds in a day), then you will get the number of days > between the dates. When you convert, specify what format you are > starting with e.g. > convert from short system date to seconds > This will allow for localised date formats. > > Cheers, > Sarah > > On Wednesday, July 17, 2002, at 12:42 PM, Yves Copp? wrote: > > > Hello, > > > > Can someone help me to write a function that returns the difference of > > days between two dates ? > > Please don't forget the dateformat can be different from a system to > > another (U.S,French,German,...) > > > > Thank you. > > -- > > Salutations. > > > > 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 > > > > --__--__-- > > Message: 15 > Date: Wed, 17 Jul 2002 06:53:33 +0200 > Subject: Re: diffdays > From: Terry Vogelaar > To: > Reply-To: use-revolution at lists.runrev.com > > > Can someone help me to write a function that returns the difference > > of days between two dates ? > > Please don't forget the dateformat can be different from a system to > > another (U.S,French,German,...) > > Hello Yves, > > I don't know if this is the smartest way, but this should do it: > > on mouseUp > put "dinsdag, 9 juli 2002" into DateA > convert DateA from system long date to seconds > put "7/17/02" into DateB > convert DateB from short date to seconds > put DateA - DateB into diff > divide diff by 86400 -- No of seconds in 1 day > if char 1 of diff = "-" then delete char 1 of diff > put diff > end mouseUp > > and the message box shows the date of 10 days ago in French (or Dutch, or > whatever language you are using). As long as RR can understand the date > format provided, and you specify which format it is, there shouldn't be a > problem. The only thing is if the data provided is in languages other then > the system language of the user and English, in other words: on my system, I > can only interpret Dutch or English dates; not Frech or German. Maybe a nice > feature request to add a few more languages than English... > > Terry > > --__--__-- > > Message: 16 > Date: Wed, 17 Jul 2002 07:38:06 +0200 > To: use-revolution at lists.runrev.com > From: sims > Subject: Re: diffdays > Reply-To: use-revolution at lists.runrev.com > > What is the best way if the date is much earlier? > > If I do the following, I get only 730 days: > > on mouseUp > put "7/17/1900" into DateA > convert DateA from system long date to seconds > put "7/17/2002" into DateB > convert DateB from short date to seconds > put DateA - DateB into diff > divide diff by 86400 -- No of seconds in 1 day > if char 1 of diff = "-" then delete char 1 of diff > put diff > end mouseUp > > sims > > > > >on mouseUp > > put "dinsdag, 9 juli 2002" into DateA > > convert DateA from system long date to seconds > > put "7/17/02" into DateB > > convert DateB from short date to seconds > > put DateA - DateB into diff > > divide diff by 86400 -- No of seconds in 1 day > > if char 1 of diff = "-" then delete char 1 of diff > > put diff > >end mouseUp > > --__--__-- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > End of use-revolution Digest From bvlahos at jpl.nasa.gov Wed Jul 17 11:09:01 2002 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Wed Jul 17 11:09:01 2002 Subject: Where at Macworld? - Birds of a feather In-Reply-To: Message-ID: <2344A3CA-999F-11D6-8BB4-000393853DBC@jpl.nasa.gov> The Macworld brochure correctly lists in on page 17 as room 1E10 which is on the ground floor to the far left (as you enter the Javits center). This is also where the Pro Conference sessions are. See you there at 6pm tonight. Bill Vlahos Jet Propulsion Laboratory Host: Revolution BOF On Tuesday, July 16, 2002, at 10:06 PM, Rick Harrison wrote: > Hi there, > > I've been looking at the old posts about this > and noticed that an exact place was not mentioned > for the Rev. Birds of a Feather gathering at MacWorld > in NYC tomorrow evening. > > Does anyone know where we are meeting? > > Thanks, > > Rick Harrison > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From rcozens at pon.net Wed Jul 17 11:22:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Jul 17 11:22:00 2002 Subject: First Time Blues Message-ID: Hi All, I've been observing this problem for months, and though I can see what is happening I'm no closer to a clue as to why than I was when it first occurred: Scenario: * Library stack with database template substack. * Database Utilities stack that starts using the library stack, containing menuPick handlers to create a new db stack by cloning the template a la Richard Gaskin's Employee Database & to open, backup, and restore a database. Problem: The first time a new database stack is opened (after creation), it does NOT receive an openStack message. I note "after creation", because the stack is opened and closed during the creation process; but it still doesn't receive openStack the first time it is opened after the creation handler quits. I've placed answer dialogs in the preopenStack & openStack handlers, and have confirmed that preopenStack runs to conclusion and openStack is NEVER received... UNLESS the database has already been opened and closed after it is created OR it is opened by a standalone instead of the Rev Development engine. I have been living with this because the utilities stack is meant to be used as a standalone; however now I'm finding I cannot open a database if the utilities stack's "Restore Database" menuItem is run...both in Rev and with a standalone; so I think I need to get to the bottom of this or look for a workaround. Suggestions anyone? -- 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 bornstein at designeq.com Wed Jul 17 11:27:00 2002 From: bornstein at designeq.com (Howard Bornstein) Date: Wed Jul 17 11:27:00 2002 Subject: revCopyFolder Message-ID: <200207171624.g6HGOiL02339@mailout5.nyroc.rr.com> >My Parameters: > >Mac Powerbook G4, Mac OS 9.2.2 (german) Hi Richard, From steve at messimercomputing.com Wed Jul 17 11:55:01 2002 From: steve at messimercomputing.com (Steve Messimer) Date: Wed Jul 17 11:55:01 2002 Subject: re animated buttons Message-ID: Everyone, Thanks for all your responses on this thread. I have gotten several really good tips that will make my application a much stronger program. Much appreciated. :-) Steve Stephen R. Messimer Messimer Computing, Inc 208 1st Ave South Escanaba, MI 49829 www.messimercomputing.com From rcozens at pon.net Wed Jul 17 12:26:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Wed Jul 17 12:26:00 2002 Subject: Switching Mainstacks In-Reply-To: <025E208A-999A-11D6-A723-0050E4EE0555@mac.com> References: <025E208A-999A-11D6-A723-0050E4EE0555@mac.com> Message-ID: >I want to make it a standalone, but owing to the way Revolution >saves, I don't want the mainstack where I'll want to save changes to >be the mainstack. I want the splash stack to be the main stack. Is >there any way to do this without having to recreate the whole thing, >splash stack first, and copy and paste between the two stacks? Hi Glen, First, if all of your stacks will be included in the distribution builder, I don't believe you need to make any connections between the two stacks except a statement in the splash stack, "go to stack whatever". If you want the main stack to be a substack of the splash stack then type set the mainstack of stack yourMainStack to yourSplashStack from the message box. If you do this with the AO open, you will see the change reflected there. -- 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 Wed Jul 17 12:51:00 2002 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Wed Jul 17 12:51:00 2002 Subject: ask dialog not appearing in my stack Message-ID: <3D35AE5C.2202C078@hrz.uni-kassel.de> Looking through the digests it seems to me that the last request of Chipp Walters of July, 7th, has not yet been asnwered. Chipp Walters" on Sun, 7 Jul 2002 wrote: > Found the windows...but no code. Do you know where the answer code might be located? Or is it 'hard-wired?' > It seems to me that: answer "hello world" with "okay" or "cancel" doesn't conform to handler syntax...or does it? (with > not defined) btw- can't find the code in debug mode either. > best, > Chipp > Hi Chipp, the Rev answer dialog has 1 card, with 1 field, 1 icon button, and 7 more buttons with the IDs from 1240 to 1242 and 1245 to 1248. All controls are *without" code, i.e. scripts. The only code is in the card script, which is rather long. If you do not need the full flexibility of the Rev answer dialog, you should write your own customized - and very short - answer dialog, which is even possible within the restrictions of the Starter Kit. Regards, Wilhelm Sanke Here is the full text of the answer dialog script: ##Card Script of Rev answer dialog on preOpenStack global gAPKLargeFonts --platform specific font adjustments set the defaultStack to "answer dialog" set the default of button 2 to false switch the platform case "MacOS" set the loc of this stack to the screenLoc set the top of this stack to round(item 4 of the screenRect/5) repeat with i = 2 to the number of btns set the bottomMargin of btn i to 3 set the height of btn i to 20 end repeat if char 1 of the systemVersion is 1 then --OS X set the textFont of this stack to "Lucida Grande" set the textSize of this stack to 13 set the textSize of fld 1 to 11 put "210002 210001 210012 210009" into tIcons else set the textFont of this stack to "usesystemfont" set the textSize of this stack to 12 set the textFont of fld 1 to "Geneva" set the textSize of fld 1 to 10 put "210002 210001 210012 210009" into tIcons end if break case "Win32" if gAPKLargeFonts then put 26 into tNumber put 7 into tMargin else put 21 into tNumber put 5 into tMargin end if repeat with i = 2 to the number of btns set the bottomMargin of btn i to tMargin set the height of btn i to tNumber set the traversalOn of btn i to false set the mnemonic of btn i to 0 end repeat set the textFont of this stack to "MS Sans Serif" set the textSize of this stack to 10 set the textFont of fld 1 to empty put "210005 210011 210003 210004" into tIcons break default repeat with i = 2 to the number of btns set the bottomMargin of btn i to 4 set the height of btn i to 21 set the traversalOn of btn i to false set the mnemonic of btn i to 0 end repeat set the textFont of this stack to "Helvetica" if gAPKLargeFonts then set the textSize of this stack to 14 else set the textSize of this stack to 12 set the textFont of fld 1 to empty put "210008 210010 210006 210010" into tIcons break end switch --is there an icon to display or not? set the itemDelimiter to numToChar(0) if word 2 of item 1 of the dialogData is "plain" then set the loc of btn 1 to -100,21 put 0 into tIconAllowance else set the loc of btn 1 to 26,21 set the icon of button "icon" to word wordOffset(word 2 of item 1 of the dialogData, "information error warning question") of tIcons put 40 into tIconAllowance end if --title if item 2 of the dialogData is empty then set the title of this stack to space else set the title of this stack to item 2 of the dialogData put item 3 of dialogData into fld 1 if the platform is "MacOS" then set the textFont of fld 1 to "usesystemfont" set the textSize of fld 1 to 12 end if --buttons put item 4 of dialogData into tButtonNames put the number of lines in tButtonNames into tNoOfButtons if tButtonNames is empty then put "OK" into tButtonNames put 1 into tNoOfButtons end if put 32 into tTotalBtnWidth --truncate more buttons to the maximum allowed (7) if tNoOfButtons > the number of buttons - 1 then put the number of buttons - 1 into tNoOfButtons put empty into tMnemonicString repeat with i = 2 to (tNoOfButtons + 1) -- put "got here 1" && i && tNoOfButtons --set the loc of btn i to the cPrevLoc of btn i --show btn set the name of button i to line tNoOfButtons - (i - 2) of tButtonNames -- put "got here 2" && i if the platform is "Win32" and the short name of btn i is not in "OKCancel" then -- put "got here 3" && i put 0 into tNo --put "got here 4" && i repeat for each char x in the short name of btn i -- put "got here 5" && i add 1 to tNo -- put "got here 6" && i if x is not in tMnemonicString then -- put "got here 7" && i put x after tMnemonicString -- put "got here 8" && i set the mnemonic of btn i to tNo -- put "got here 9" && i exit repeat -- put "got here 10" && i end if -- put "got here 11" && i end repeat -- put "got here 12" && i end if set the width of button i to 58 -- put "got here 13" && i if the width of btn i < the formattedWidth of btn i then set the width of btn i to the formattedWidth of btn i + 8 -- put "got here 14" && i add the width of button i + 12 to tTotalBtnWidth -- put "got here 15" && i end repeat set the dontWrap of field 1 to true put max(the formattedWidth of field 1 + tIconAllowance + 16, tTotalBtnWidth) into tWidth if tWidth < 278 then put 278 into tWidth if tWidth > 600 then put 600 into twidth set the width of field 1 to twidth - tIconAllowance - 16 set the dontWrap of field 1 to false end if put the width of this stack into oldwidth set the width of this stack to twidth put the formattedHeight of field 1 + 68 into tHeight if tHeight > 400 then set the vScrollbar of field 1 to true put 400 into tHeight else set the vScrollbar of field 1 to false set the height of this stack to tHeight set the height of field 1 to tHeight - 68 -- set the top of button 1 to the height of field 1 div 2 - 12 set the top of btn 1 to 6 set the topLeft of field 1 to tIconAllowance + 8, 8 set the itemDel to comma get the rect of fld 1 put (the width of this stack - 12) into item 3 of it set the rect of fld 1 to it put the width of this stack -12 into tStartRight if the platform is "MacOS" then repeat with i = 2 to tNoOfButtons + 1 set the right of btn i to tStartRight subtract the width of btn i + 12 from tStartRight set the bottom of btn i to the height of this stack - 12 end repeat else repeat with i = (tNoOfButtons + 1) down to 2 set the right of btn i to tStartRight subtract the width of btn i + 12 from tStartRight set the bottom of btn i to the height of this stack - 12 set the traversalOn of btn i to true end repeat end if if the platform is "MacOS" then set the top of this stack to round(item 4 of the screenRect/5) set the default of button 2 to true end preOpenStack on commandKeyDown pKey if pKey is "." then if there is a btn "Cancel" then click at the loc of btn "cancel" exit commandKeyDown end if end if repeat with i = 2 to the number of btns if item 1 of the loc of btn i < 1 then next repeat if char 1 of the short name of btn i is pKey then click at the loc of btn i exit repeat end if end repeat end commandKeyDown on escapeKey if there is a btn "cancel" then click at the loc of btn "cancel" end escapeKey on closeStack --show invisibles compatible removal of btns repeat with i = 3 to the number of buttons set the cPrevLoc of btn i to the loc of btn i set the loc of btn i to -100,-100 end repeat set the dialogData to empty end closeStack on mouseUp if the name of the target contains "button" then close this stack set the dialogData to the short name of the target end if end mouseUp on returnKey pass returnKey to top end returnKey From peter.fink at tiscali.ch Wed Jul 17 15:23:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Wed Jul 17 15:23:01 2002 Subject: How to create a MPEG movie Message-ID: <3D0D86C40000A556@flu-stateless-02.tiscalinet.ch> Hi this is not really a RR question. The context that I can play MPEG movies in RR but the ones I pulled from the internet are not really presentable. I'm also able to create a movie, from my web cam, in .AVI format, e.g. with INDEO 5 compression (and others). But I cannot make it in .MPEG format. Saving with Microsoft MPEG V4 compression does not work either. What tool(s) would allow me to create a movie in .MPEG format? How is that usually done? What is .MPEG, as opposed to .AVI with some compressor? Thanks for all answers! Peter From claus at dreischer.de Wed Jul 17 15:40:01 2002 From: claus at dreischer.de (Claus Dreischer) Date: Wed Jul 17 15:40:01 2002 Subject: How to create a MPEG movie References: <3D0D86C40000A556@flu-stateless-02.tiscalinet.ch> Message-ID: <3D35D567.9030909@dreischer.de> > Hi Hi Peter, (first time i can give an answer here :) > What tool(s) would allow me to create a movie in .MPEG format? How is that > usually done? What is .MPEG, as opposed to .AVI with some compressor? Most used MPEG formats are MPEG 1 (Video CD) and MPEG 2 (Super Video CD, DVD). Best (quality/cost) programm for encoding is the Tsunami MPEG Encoder, TMPGEnc. It's Windows only. http://www.tmpgenc.net/e_main.html AVI, for my understanding, is a kind of container for various formats. I did some VideoCDs and SuperVideoCDs (you can whatch them with your DVD-player). If you have further questions regarding the encoding, i may help you. > Thanks for all answers! > > Peter Gru?, Claus. From mike at cyber-ny.com Wed Jul 17 15:53:01 2002 From: mike at cyber-ny.com (Mike Brown) Date: Wed Jul 17 15:53:01 2002 Subject: How to create a MPEG movie In-Reply-To: <3D0D86C40000A556@flu-stateless-02.tiscalinet.ch> Message-ID: Hi Peter, I use Media Cleaner Pro. It allows you to compress video into just about every format as long as you have the codec. - Mike Mike Brown Cyber-NY Interactive 212-475-2721 1-888-70-CYBER mike at cyber-ny.com > From: peter.fink at tiscali.ch > Reply-To: use-revolution at lists.runrev.com > Date: Wed, 17 Jul 2002 22:20:17 +0200 > To: "use-revolution" > Subject: How to create a MPEG movie > > Hi > this is not really a RR question. The context that I can play MPEG movies > in RR but the ones I pulled from the internet are not really presentable. > > I'm also able to create a movie, from my web cam, in .AVI format, e.g. with > INDEO 5 compression (and others). But I cannot make it in .MPEG format. > Saving with Microsoft MPEG V4 compression does not work either. > > What tool(s) would allow me to create a movie in .MPEG format? How is that > usually done? What is .MPEG, as opposed to .AVI with some compressor? > > Thanks for all answers! > > Peter > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From sarahr at genesearch.com.au Wed Jul 17 17:32:00 2002 From: sarahr at genesearch.com.au (Sarah) Date: Wed Jul 17 17:32:00 2002 Subject: Switching Mainstacks In-Reply-To: Message-ID: <9461FA30-99D4-11D6-9378-0003937A97B8@genesearch.com.au> In the Application Overview, select your actual file (not one of the stacks). Then expand the window and you will see "Show stack mover" at the bottom of the extended part of the window. (If you see "Show stacks" instead then you are already in stack mover.) This allows you to move stacks and to make any of the substacks into the main stack, so create your splash screen as a substack and then use the stack mover to make it the main. The only problem I have encountered with this technique is that the scripts in the stack script of your main stack are available to all substacks. If you make another stack into the mainstack, you may need to move stack scripts from the previous main stack into the new one, so they are still accessible. Sarah On Thursday, July 18, 2002, at 01:40 AM, Glen L. Bledsoe wrote: > I've converted a SuperCard project to a Revolution stack. With a little > work it appears to work more or less as the original. I want to make it > a standalone, but owing to the way Revolution saves, I don't want the > mainstack where I'll want to save changes to be the mainstack. I want > the splash stack to be the main stack. Is there any way to do this > without having to recreate the whole thing, splash stack first, and > copy and paste between the two stacks? > > Glen L. Bledsoe > Computer teacher > Molalla Elementary School > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Wed Jul 17 17:34:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Wed Jul 17 17:34:01 2002 Subject: diffdays In-Reply-To: Message-ID: You have entered a SHORT date for DateA but then the conversion is done from a LONG date. Change the first convert line to say "from system short date" or "from short date" and it should work fine. Sarah On Wednesday, July 17, 2002, at 03:42 PM, sims wrote: > What is the best way if the date is much earlier? > > If I do the following, I get only 730 days: > > > on mouseUp > put "7/17/1900" into DateA > convert DateA from system long date to seconds > put "7/17/2002" into DateB > convert DateB from short date to seconds > put DateA - DateB into diff > divide diff by 86400 -- No of seconds in 1 day > if char 1 of diff = "-" then delete char 1 of diff > put diff > end mouseUp > > > sims > > > >> >> on mouseUp >> put "dinsdag, 9 juli 2002" into DateA >> convert DateA from system long date to seconds >> put "7/17/02" into DateB >> convert DateB from short date to seconds >> put DateA - DateB into diff >> divide diff by 86400 -- No of seconds in 1 day >> if char 1 of diff = "-" then delete char 1 of diff >> put diff >> end mouseUp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sims at ezpzapps.com Wed Jul 17 17:59:01 2002 From: sims at ezpzapps.com (sims) Date: Wed Jul 17 17:59:01 2002 Subject: diffdays In-Reply-To: References: Message-ID: >You have entered a SHORT date for DateA but then the conversion is >done from a LONG date. Change the first convert line to say "from >system short date" or "from short date" and it should work fine. > >Sarah I changed it as follows but it still puts 730 days. 7/17/1900 to 7/17/2002 is a bit more days than that. sims on mouseUp put "7/17/1900" into DateA convert DateA from short date to seconds put "7/17/2002" into DateB convert DateB from short date to seconds put DateA - DateB into diff divide diff by 86400 -- No of seconds in 1 day if char 1 of diff = "-" then delete char 1 of diff put diff end mouseUp From sarahr at genesearch.com.au Wed Jul 17 18:11:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Wed Jul 17 18:11:01 2002 Subject: How to add blank line to end of variable In-Reply-To: Message-ID: Put 2 returns after your list of points. Sarah On Thursday, July 18, 2002, at 12:57 AM, Burrton Woodruff wrote: > Hi Folk, > > I'm using > > set the points of graphic "histogon" plotVector > > to graph a data set. > > Works beautifully except I can't code for a polygon that is not closed. > > Transcript dictionary says a blank line at the end of the list of > points will create an open polygon. I want a blank line at the end of > the plotVector so the polygon will NOT be closed. I've tried all sorts > of coding to do this and cannot make it happen. > > With "Script Debug" I can put a blank line at the end of plotVect and > the polygon is NOT closed. None of the following code fragments work. > In every instance the polygon is closed > > put the number of lines in plotVect into numlines > ... > put empty into line numlines + 1 of plotVect [does NOT add line to > plotVect} > > ... stands in for "line numlines + 1 of plotVect > put "" into ... [does not add a line to plotVect] > put " " into ... [ adds line and the polygon is still closed] > put "," into ... [ adds line and the polygon is still closed] > put " , " into ... [adds line and the polygon is still closed] > > put return after plotVect [does not add line and...] > put return & space after plotvect [adds line and the polygon is still > closed] > > Help. > > Burrton Woodruff > Ripple Software > bwoodruf at butler.edu > http://www.bgwoodruff.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Wed Jul 17 18:51:01 2002 From: dsc at swcp.com (Dar Scott) Date: Wed Jul 17 18:51:01 2002 Subject: diffdays In-Reply-To: Message-ID: On Wednesday, July 17, 2002, at 04:59 PM, sims wrote: > I changed it as follows but it still puts 730 days. > 7/17/1900 to 7/17/2002 is a bit more days than that. You are running into a limitation in time representation and arithmetic. Try it with 7/17/1935 or 7/17/2035; maybe that would work. Dar Scott From peter.fink at tiscali.ch Wed Jul 17 19:38:00 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Wed Jul 17 19:38:00 2002 Subject: diffdays In-Reply-To: Message-ID: <3CDAA30200017CE9@flu-stateless-01.tiscalinet.ch> sims you uncovered a bug. it is easier to try the following, using Script Debug Mode. on mouseUp put "17.7.1901" into dateA convert dateA from short system date to dateItems end mouseUp and see 2001,7,17,2,0,0,3 . the same happens with the long system date and similarly with short and long dates. another question comes to mind: what do you expect as the correct number of days between 1900 and 2002, including switching days (Schalttage)? 37253,37254,37255,37256,...? Peter > >I changed it as follows but it still puts 730 days. >7/17/1900 to 7/17/2002 is a bit more days than that. > >sims > >on mouseUp > put "7/17/1900" into DateA > convert DateA from short date to seconds > put "7/17/2002" into DateB > convert DateB from short date to seconds > put DateA - DateB into diff > divide diff by 86400 -- No of seconds in 1 day > if char 1 of diff = "-" then delete char 1 of diff > put diff >end mouseUp > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From pixelbird at interisland.net Wed Jul 17 22:19:01 2002 From: pixelbird at interisland.net (pixelbird at interisland.net) Date: Wed Jul 17 22:19:01 2002 Subject: Windows machine Q Message-ID: <200207180315.g6I3F1Q13109@lopez.interisland.net> Hello Rev List, Although I'm basically a Mac person and will do most of my Rev work on a G4, I'm looking for a Windows machine to write some Rev stuff and test distr. standalones, etc. Someone in my neighborhood has an AMD K6-2 500mhz, 64mb RAM, 10g HD, Sound card, 8mb video, 52K modem, CD-ROM (don't know the speed), 15" monitor, and has Windows XP Pro and Office. He's asking $300 U.S. for the system. I checked eBay and Half.com for pricing and it seems to be in there. It needs more RAM which I can get locally at 128mb for $38 + tax, which will give it 192mb total. ..and I can save shipping costs (or a trip to a used PC store on the mainland). I don't know PC/Windows-based systems that well. I'm just asking for opinions. Is it a good deal, and will it serve my purposes with Rev? (Much) TIA, Ken N. --------------------------------------------- The Computer Place Info = info at interisland.net http://www.compplace.com/ From oshima at kyushu-id.ac.jp Wed Jul 17 22:59:01 2002 From: oshima at kyushu-id.ac.jp (Hisao Oshima) Date: Wed Jul 17 22:59:01 2002 Subject: Announcement: a Japanese ML for Revolution In-Reply-To: <200207180220.WAA00563@www.runrev.com> Message-ID: SuperCard Users Japan has created a new Japanese mailing list for Runtime Revolution because more and more members of SCUJ are interested in Revolution as an alternative authoring environment of xTalk. The Revolution ML in Japanese started on July 1, 2002. In order to join the Japanese ML, send an email with "subscribe" or "subscribe digest" in its subject / title to the address below: Revolution at gdrama.kyushu-id.ac.jp The language used in the list's discussion is Japanese, and you need a PC compatible with Japanese characters. The greatest limitation of Revolution for Japanese users is that we cannot put Japanese directly into fields from the standard Japanese input methods of Mac such as Kotoeri and ATOK. You can paste Japanese characters into fields all right, but it's a pity because Revolution adopts Unicode. In spite of this difficulty, our members of the new Japanese list are diligently discussing now how to use and process Japanese characters in Rev. SCUJ hopes you welcome this start of our Japanese mailing list for Revolution as a part of the Revolution user community, and we wish from all our hearts that Revolution will become fully compatible with Japanese characters soon. This might be a great step for Revolution to reach Asian countries with similar 2 byte national characters. Hisao Oshima Secretary of SCUJ SCUJ is a NP user group for SuperCard users and other xTalkers in Japan. ----------------------------------- Hisao Oshima oshima at kyushu-id.ac.jp Kanji Sign: ????? ----------------------------------- From terry at discovery.nl Wed Jul 17 23:25:01 2002 From: terry at discovery.nl (Terry Vogelaar) Date: Wed Jul 17 23:25:01 2002 Subject: diffdays In-Reply-To: <3CDAA30200017CE9@flu-stateless-01.tiscalinet.ch> Message-ID: Sims: > I changed it as follows but it still puts 730 days. > 7/17/1900 to 7/17/2002 is a bit more days than that. Peter: > you uncovered a bug. > it is easier to try the following, using Script Debug Mode. > > on mouseUp > put "17.7.1901" into dateA > convert dateA from short system date to dateItems > end mouseUp > > and see 2001,7,17,2,0,0,3 . The problem in both cases is that the input is not 'correct'. A short date has only two digits for the year: 7/17/01. Using the CenturyCutOff property, you can determine when you mean 1901 or 2001. Conclusion: only use a short date when it's about the recent past or the near future. Or should RunRev add another date format: the NotQuiteShort date, or shall we call it: the MillenniumBugProofShort date, or the YearExpressedInFourDigitsKindaShort date. Terry From shaosean at unitz.ca Thu Jul 18 00:11:12 2002 From: shaosean at unitz.ca (Shao Sean) Date: Thu Jul 18 00:11:12 2002 Subject: [ANN] update to libSMTP References: Message-ID: <008401c22e18$cc95b010$88b15bd1@lanfear> there was a small bug with the mime boundaries when attachments were sent with the email.. the majority of email clients will work around the bug, but a few email clients will not work around the bug and attachments will not be shown to the user.. just a few lines of internal code have changed and you can safely swap the v1.1.0 library with the new v1.1.1 library available on my website.. -- Shao Sean http://www.shaosean.tk/ From ambassador at fourthworld.com Thu Jul 18 00:18:01 2002 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu Jul 18 00:18:01 2002 Subject: diffdays In-Reply-To: <200207180220.WAA00493@www.runrev.com> Message-ID: >> You have entered a SHORT date for DateA but then the conversion is >> done from a LONG date. Change the first convert line to say "from >> system short date" or "from short date" and it should work fine. >> >> Sarah > > I changed it as follows but it still puts 730 days. > 7/17/1900 to 7/17/2002 is a bit more days than that. > > sims > > on mouseUp > put "7/17/1900" into DateA > convert DateA from short date to seconds > put "7/17/2002" into DateB > convert DateB from short date to seconds > put DateA - DateB into diff > divide diff by 86400 -- No of seconds in 1 day > if char 1 of diff = "-" then delete char 1 of diff > put diff > end mouseUp See the centuryCutoff global property im the Rev docs. The core of the problem reflects a limitation of the date routines in most OSes (the original Mac OS, for example, natively handles date ranges from 1904 to 2042). The solution is to use Julian dates. This was the topic of a long thread on the MetaCard list last fall. Perhaps the most complete algorithm was listed in this message: You may also want to search for "Julian" in the MetaCard List archives to get some more detailed background info on the issues involved. Would be nicer to have DateToJulian and JulianToDate functions built into 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 peter.fink at tiscali.ch Thu Jul 18 03:42:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Thu Jul 18 03:42:01 2002 Subject: diffdays In-Reply-To: Message-ID: <3CDAA30200017E80@flu-stateless-01.tiscalinet.ch> >-- Original-Nachricht -- >Subject: Re: diffdays >From: Terry Vogelaar >To: >Reply-To: use-revolution at lists.runrev.com >Date: Thu, 18 Jul 2002 06:22:16 +0200 > > >Sims: >> I changed it as follows but it still puts 730 days. >> 7/17/1900 to 7/17/2002 is a bit more days than that. > >Peter: >> you uncovered a bug. >> it is easier to try the following, using Script Debug Mode. >> >> on mouseUp >> put "17.7.1901" into dateA >> convert dateA from short system date to dateItems >> end mouseUp >> >> and see 2001,7,17,2,0,0,3 . > >The problem in both cases is that the input is not 'correct'. A short date >has only two digits for the year: 7/17/01. Using the CenturyCutOff property, >you can determine when you mean 1901 or 2001. Conclusion: only use a short No, that's not the problem. There's a bug. Additionally, dateItems sets midnight to 2 AM which is also a bug. sims: it is not a lot of work to do the date conversion by hand. it needs a Switching Year (Schaltjahr) algorithm for calculation of the length of february, and a list of the length of the months (31,28,31,30,31 etc.). You can even use the partially correct date items to do part of the parsing. Peter From webmaster at studioalice.se Thu Jul 18 03:48:01 2002 From: webmaster at studioalice.se (=?ISO-8859-1?Q?Magnus_von_Br=F6msen?=) Date: Thu Jul 18 03:48:01 2002 Subject: Icons and OSX In-Reply-To: Message-ID: <433F3B4B-9A2A-11D6-A3D8-003065CCBD1A@studioalice.se> Hi Dan I'm using the plug-in IconBuilder 3.5 (from Iconfactory) in Photoshop. To attache the new icon to the Standalone, just use the old OS9-way by choosing "Show Info" -- and then just copy&past the new icon. Really easy. /magnus On tisdag, juli 16, 2002, at 04:49 , Dan Friedman wrote: > Hello! Does anyone know how to attach Carbon Icons to a Rev > Standalone? I > made the file in Icon Builder but, what do you do with it? ... I miss > those > simple days of ResEdit. :) > > Thank you for your time, > Dan > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sims at ezpzapps.com Thu Jul 18 03:54:01 2002 From: sims at ezpzapps.com (sims) Date: Thu Jul 18 03:54:01 2002 Subject: diffdays In-Reply-To: <3CDAA30200017E80@flu-stateless-01.tiscalinet.ch> References: <3CDAA30200017E80@flu-stateless-01.tiscalinet.ch> Message-ID: >sims: it is not a lot of work to do the date conversion by hand. it needs >a Switching Year (Schaltjahr) algorithm for calculation of the length of >february, and a list of the length of the months (31,28,31,30,31 etc.). >You can even use the partially correct date items to do part of the parsing. > Peter Yes, I am sure that it can be calculated (although I had never heard of the Schaltjahr, thank you for telling me about it). At 22:14 -0700 07/17/2002, Richard Gaskin wrote: >Would be nicer to have DateToJulian and JulianToDate functions built into >the engine.... I agree with Richard - it would be 'nicer' to be able to do it easier. atb sims ___________________________________________ http://EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From peter.fink at tiscali.ch Thu Jul 18 09:18:01 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Thu Jul 18 09:18:01 2002 Subject: diffdays In-Reply-To: Message-ID: <3CDAA302000181AD@flu-stateless-01.tiscalinet.ch> >-- Original-Nachricht -- >To: use-revolution at lists.runrev.com >From: sims >Subject: Re: diffdays >Reply-To: use-revolution at lists.runrev.com >Date: Thu, 18 Jul 2002 11:55:44 +0300 > > >>sims: it is not a lot of work to do the date conversion by hand. it needs >>a Switching Year (Schaltjahr) algorithm for calculation of the length of >>february, and a list of the length of the months (31,28,31,30,31 etc.). >>You can even use the partially correct date items to do part of the parsing. >> >Peter > >Yes, I am sure that it can be calculated (although I had never heard of the >Schaltjahr, thank you for telling me about it). > >At 22:14 -0700 07/17/2002, Richard Gaskin wrote: >>Would be nicer to have DateToJulian and JulianToDate functions built into >>the engine.... > >I agree with Richard - it would be 'nicer' to be able to do it easier. > it is no more than about 20 lines of code, from a parsed date. and an option on a control card whether to use the RR built-in code or the application hand-made code. Both are nice and easy. actually it is better to have the starting days of the months in a list, i.e. 0,31,59,90,... for a non-switching year, but 0,31,60,91,... for a switching year. Peter From troy at rpsystems.net Thu Jul 18 09:20:00 2002 From: troy at rpsystems.net (Troy Rollins) Date: Thu Jul 18 09:20:00 2002 Subject: Windows machine Q In-Reply-To: <200207180315.g6I3F1Q13109@lopez.interisland.net> Message-ID: <0B686668-9A59-11D6-AF9C-000393853D6C@rpsystems.net> On Wednesday, July 17, 2002, at 11:16 PM, pixelbird at interisland.net wrote: > I don't know PC/Windows-based systems that well. I'm just > asking for opinions. Is it a good deal, and will it serve my > purposes with Rev? Sounds like a good enough mid-level test machine for the price. After all, Office alone costs more than that. -- Troy RPSystems, LTD www.rpsystems.net From rcozens at pon.net Thu Jul 18 09:36:00 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Jul 18 09:36:00 2002 Subject: Locked Stack Error Message Message-ID: Hi All, Scenario: * Group with one image & one field, image in lower layer. * Replace image with a new image, now in upper layer. Problem: The Application Overview will not let me change the layer numbers of the image & field (buttons are disabled). "set the layer of image ..." from the message box returns "Stack is locked." I have done nothing to explicitly lock this stack, and the stack's cantModify property is false. Where/how is the stack locked, and how do I unlock 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 rcozens at pon.net Thu Jul 18 09:42:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Jul 18 09:42:01 2002 Subject: Locked Stack Error Message II Message-ID: >Where/how is the stack locked, and how do I unlock it? PS: I know I can fix this particular problem by deleting and recreating the group's field; but I want to understand where the lock is coming from. -- 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 Thu Jul 18 09:48:01 2002 From: dsc at swcp.com (Dar Scott) Date: Thu Jul 18 09:48:01 2002 Subject: diffdays In-Reply-To: <3CDAA30200017E80@flu-stateless-01.tiscalinet.ch> Message-ID: <0E78A015-9A5D-11D6-ABAC-0050E4C0B205@swcp.com> On Thursday, July 18, 2002, at 02:39 AM, peter.fink at tiscali.ch wrote: > sims: it is not a lot of work to do the date conversion by hand. > it needs > a Switching Year (Schaltjahr) algorithm for calculation of the > length of > february, and a list of the length of the months (31,28,31,30,31 etc.). It looks like Switching Year is what I know as Leap Year. Dar From kray at sonsothunder.com Thu Jul 18 09:49:00 2002 From: kray at sonsothunder.com (Ken Ray) Date: Thu Jul 18 09:49:00 2002 Subject: diffdays References: <3CDAA30200017CE9@flu-stateless-01.tiscalinet.ch> Message-ID: <003a01c22e69$675fa380$6f00a8c0@mckinley.dom> > you uncovered a bug. > it is easier to try the following, using Script Debug Mode. > > on mouseUp > put "17.7.1901" into dateA > convert dateA from short system date to dateItems > end mouseUp > > and see 2001,7,17,2,0,0,3 . > > the same happens with the long system date and similarly with short and > long dates. This is true, and is related to the centuryCutoff setting (which is by default "35" - any two digit date below 35 is 20xx, and below 35 is 19xx); for example, if I put this in the message box: convert "7/17/1934" to dateItems;put it I get this: 2034,7,17,2,0,0,2 But if I do this: convert "7/17/1935" to dateItems;put it I get an error: invalid date If I adjust the centuryCutoff to "36", and rerun the "convert 7/17/1935" code, I get: 2035,7,17,2,0,0,2 but trying to do it with "7/17/36" gets the same "invalid date" error. There is definitely some bugs in date management here... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From extensor at cybonix.com Thu Jul 18 11:13:01 2002 From: extensor at cybonix.com (Extensor) Date: Thu Jul 18 11:13:01 2002 Subject: Migrating from Director References: <3CDAA30200017CE9@flu-stateless-01.tiscalinet.ch> <003a01c22e69$675fa380$6f00a8c0@mckinley.dom> Message-ID: <006d01c22e75$f1544bc0$5c383fd1@kooky> Hi All, I've been developing games using Macromedia Director since the early 90's (ver. 1.0). My question is this. What is the equivlent to importing graphics into the cast area and then displaying them using lingo in a sprite channel on the screen. I would really like to move to RunRev. Thanx in advance, Anthony From peter.fink at tiscali.ch Thu Jul 18 11:18:03 2002 From: peter.fink at tiscali.ch (peter.fink at tiscali.ch) Date: Thu Jul 18 11:18:03 2002 Subject: diffdays (Schaltjahr) In-Reply-To: <0E78A015-9A5D-11D6-ABAC-0050E4C0B205@swcp.com> Message-ID: <3D0D86C40000AAE9@flu-stateless-02.tiscalinet.ch> >> a Switching Year (Schaltjahr) algorithm for calculation of the >> length of >> february, and a list of the length of the months (31,28,31,30,31 etc.). > >It looks like Switching Year is what I know as Leap Year. > >Dar > Dar you're right. The more hurting issue is not related to date and RR. A "button" is locally, and thru all Germany called a "Switching Area" (Schaltfl?che), not a "Leap Area". Peter From bwoodruf at butler.edu Thu Jul 18 11:29:01 2002 From: bwoodruf at butler.edu (Burrton Woodruff) Date: Thu Jul 18 11:29:01 2002 Subject: How to add blank line to end of variable In-Reply-To: Message-ID: <18E406AE-9A6B-11D6-8495-0050E46E4C63@butler.edu> Thankyou Sarah, Works beautifully. Burt Woodruff On Wednesday, July 17, 2002, at 05:37 PM, Sarah wrote: > Put 2 returns after your list of points. > > Sarah > > On Thursday, July 18, 2002, at 12:57 AM, Burrton Woodruff wrote: > >> Hi Folk, >> >> I'm using >> >> set the points of graphic "histogon" plotVector >> >> to graph a data set. >> >> Works beautifully except I can't code for a polygon that is not closed. >> >> Transcript dictionary says a blank line at the end of the list of >> points will create an open polygon. I want a blank line at the end of >> the plotVector so the polygon will NOT be closed. I've tried all sorts >> of coding to do this and cannot make it happen. >> >> With "Script Debug" I can put a blank line at the end of plotVect and >> the polygon is NOT closed. None of the following code fragments >> work. In every instance the polygon is closed >> >> put the number of lines in plotVect into numlines >> ... >> put empty into line numlines + 1 of plotVect [does NOT add line to >> plotVect} >> >> ... stands in for "line numlines + 1 of plotVect >> put "" into ... [does not add a line to plotVect] >> put " " into ... [ adds line and the polygon is still closed] >> put "," into ... [ adds line and the polygon is still closed] >> put " , " into ... [adds line and the polygon is still closed] >> >> put return after plotVect [does not add line and...] >> put return & space after plotvect [adds line and the polygon is still >> closed] >> >> Help. >> >> Burrton Woodruff >> Ripple Software >> bwoodruf at butler.edu >> http://www.bgwoodruff.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 > Burrton Woodruff http://www.bgwoodruff.com From glenbledsoe at mac.com Thu Jul 18 12:45:01 2002 From: glenbledsoe at mac.com (Glen L. Bledsoe) Date: Thu Jul 18 12:45:01 2002 Subject: Switching Mainstacks In-Reply-To: <200207180220.WAA00493@www.runrev.com> Message-ID: <4EAFE104-9A6E-11D6-B919-0050E4EE0555@mac.com> On Wednesday, July 17, 2002, at 07:20 PM, use-revolution- request at lists.runrev.com wrote: > If you want the main stack to be a substack of the splash stack then > type > > set the mainstack of stack yourMainStack to yourSplashStack > > from the message box. If you do this with the AO open, you will see > the change reflected there. For some reason I couldn't get this to work. > In the Application Overview, select your actual file (not one of the > stacks). Then expand the window and you will see "Show stack mover" at > the bottom of the extended part of the window. (If you see "Show stacks" > instead then you are already in stack mover.) > > This allows you to move stacks and to make any of the substacks into the > main stack, so create your splash screen as a substack and then use the > stack mover to make it the main. This worked like a charm. I didn't even notice the stack mover feature in the AO. There are so many features to Rev that it takes a while to get familiar with them. Many thanks. Glen L. Bledsoe Computer Teacher Molalla Elementary School From jperryl at ecs.fullerton.edu Thu Jul 18 14:16:00 2002 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu Jul 18 14:16:00 2002 Subject: Embarassing Newbie Problem In-Reply-To: <006d01c22e75$f1544bc0$5c383fd1@kooky> Message-ID: Hi, I have decided to force myself to learn RunRev in organizing my medieval research data into a database that contains graphics, text, family trees, and the like. Simple, no? I have placed as a background behavior group a series of text field boxes. Problem #1: For those fields which are scrolling fields, I find that I cannot place text in excess of the physical size of the text field box by using the return key to create a new paragraph or blank line of text (but I can, strangely to me, enter text in excess of the size of the box by copying and pasting a large block of text). If I type continuously (that is, no new paragraphs), this behavior is absent. Problem #2: What I would think would be 'normal' behavior of using "tab" to move from field to field in the order in which the field was created, and insert text in said field(s), also does not seem to be happenning for me. In the "field" tab of the properties box, "can receive keyboard focus" is checked; however I notice that in the "custom" tab, in the "properties" box is the word "false". What am I doing wrong, pray tell? Many kind thanks for your consideration, Judy Perry From brennalarpista at hotmail.com Thu Jul 18 16:18:01 2002 From: brennalarpista at hotmail.com (Kristy Roggio) Date: Thu Jul 18 16:18:01 2002 Subject: switching which external files to use Message-ID: Hi, I'm a newbie to the list, and I have a question. I'm trying to finish up a quizzing program, and my data is all stored in different external files so it can be changed after it is turned into a standalone. Right now, I'm using a switch command that recognizes if the user has completed and passed/failed the quiz. It looks like this: on OpenCard global answerChosen,numberMiss,numberCorrect,SavedUserData switch case (SavedUserData contains "SFQuiz1Passed") put URL "file:data/SFQuizzes/SFQuiz1/Instructions2.txt" into fld "instructions" put URL "file:data/SFQuizzes/SFQuiz1/Answers2.txt" into fld "answers" get URL "file:data/SFQuizzes/SFQuiz1/questions2.txt" set the questions of group "quesControl" to URL "file:data/SFQuizzes/SFQuiz1/questions2.txt" get URL "file:data/SFQuizzes/SFQuiz1/corrAnswers2.txt" set the corrAnswers of group "quesControl" to URL "file:data/SFQuizzes/SFQuiz1/corrAnswers2.txt" break case (SavedUserData contains "SFQuiz1Failed") put URL "file:data/SFQuizzes/SFQuiz1/Instructions2.txt" into fld "instructions" put URL "file:data/SFQuizzes/SFQuiz1/Answers2.txt" into fld "answers" get URL "file:data/SFQuizzes/SFQuiz1/questions2.txt" set the questions of group "quesControl" to URL "file:data/SFQuizzes/SFQuiz1/questions2.txt" get URL "file:data/SFQuizzes/SFQuiz1/corrAnswers2.txt" set the corrAnswers of group "quesControl" to URL "file:data/SFQuizzes/SFQuiz1/corrAnswers2.txt" break default put URL "file:data/SFQuizzes/SFQuiz1/Instructions.txt" into fld "instructions" put URL "file:data/SFQuizzes/SFQuiz1/Answers.txt" into fld "answers" get URL "file:data/SFQuizzes/SFQuiz1/questions.txt" set the questions of group "quesControl" to URL "file:data/SFQuizzes/SFQuiz1/questions.txt" get URL "file:data/SFQuizzes/SFQuiz1/corrAnswers.txt" set the corrAnswers of group "quesControl" to URL "file:data/SFQuizzes/SFQuiz1/corrAnswers.txt" end switch end OpenCard Now, this is great if I only have 2 different sets...the originals and the "2" set. How do I tell it to cycle through the next set of external files? Can I use a repeat cycle to insert the info from "/Instructions3.txt" and the rest of those txt files the next time the user wants to take that quiz? How do I automatically change which question set files are being accessed? I hope my question makes sense, and any help would be a life saver. Thanks, Kristina Kugler _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx From troy at rpsystems.net Thu Jul 18 16:23:00 2002 From: troy at rpsystems.net (Troy Rollins) Date: Thu Jul 18 16:23:00 2002 Subject: switching which external files to use In-Reply-To: Message-ID: <2FE890D6-9A94-11D6-8618-000393853D6C@rpsystems.net> On Thursday, July 18, 2002, at 05:14 PM, Kristy Roggio wrote: > Now, this is great if I only have 2 different sets...the originals and > the "2" set. How do I tell it to cycle through the next set of > external files? Can I use a repeat cycle to insert the info from > "/Instructions3.txt" and the rest of those txt files the next time the > user wants to take that quiz? How do I automatically change which > question set files are being accessed? I hope my question makes sense, > and any help would be a life saver. Why not make a little handler that generates the URLS as variables? The problem is using all of the very specific URLs... -- Troy RPSystems, LTD www.rpsystems.net From davethebrv at mac.com Thu Jul 18 17:45:01 2002 From: davethebrv at mac.com (David Beck) Date: Thu Jul 18 17:45:01 2002 Subject: Send command question In-Reply-To: <200207181531.LAA13796@www.runrev.com> Message-ID: Is it true that handlers invoked using the Send command are not executed immediately? That is to say, if I have a script: cmd1 Send "myMessage" to fld "Whatever" of cd 2 cmd2 cmd3 ... That cmd2 and cmd3 might be executed before "myMessage" starts executing or in parallel with myMessage? I haven't been able to confirm this myself but I am running into issues which suggest to me that this might be the case. Does anyone know for sure? Are there conditions in which the Send command behaves differently than calling a handler in the usual fashion (excluding the send in #ofticks option)? Thanks in advance, Dave ps. Go Revolution! You guys are awesome! From rcozens at pon.net Thu Jul 18 17:57:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Jul 18 17:57:01 2002 Subject: Embarassing Newbie Problem In-Reply-To: References: Message-ID: >I have placed as a background behavior group a series of text field boxes. > >Problem #1: For those fields which are scrolling fields, I find that I >cannot place text in excess of the physical size of the text field box by >using the return key to create a new paragraph or blank line of text (but >I can, strangely to me, enter text in excess of the size of the box by >copying and pasting a large block of text). If I type continuously (that >is, no new paragraphs), this behavior is absent. > >Problem #2: What I would think would be 'normal' behavior of using "tab" >to move from field to field in the order in which the field was created, >and insert text in said field(s), also does not seem to be happenning for >me. In the "field" tab of the properties box, "can receive keyboard >focus" is checked; however I notice that in the "custom" tab, in the >"properties" box is the word "false". > >What am I doing wrong, pray tell? Hi Judy, The only answer I can give you is "I have not been able to duplicate the problems here". I created a one-card stack with a group containing two scrolling fields: the first was installed as a scrolling field; the second as a scrolling list field that was made editable by changing its properties. I can keep hitting return at the bottom of either field, and I get a new blank line every time. The tab key correctly moves the selection from one field to the other here. That's the tabs custom property. It has to do with tabStops, not the tab key order. Sorry I have nothing better to offer. -- 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 Jul 18 18:04:01 2002 From: rcozens at pon.net (Rob Cozens) Date: Thu Jul 18 18:04:01 2002 Subject: Embarassing Newbie Problem #1 Solved? Message-ID: >Problem #1: For those fields which are scrolling fields, I find that I >cannot place text in excess of the physical size of the text field box by >using the return key to create a new paragraph or blank line of text (but >I can, strangely to me, enter text in excess of the size of the box by >copying and pasting a large block of text). If I type continuously (that >is, no new paragraphs), this behavior is absent. Hi again Judy, Check the fields' field properties...see if "Return key move to next field" is checked. 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 rbarber at yhb.att.ne.jp Thu Jul 18 19:07:01 2002 From: rbarber at yhb.att.ne.jp (Ron) Date: Thu Jul 18 19:07:01 2002 Subject: cloned stacks persistence In-Reply-To: Message-ID: Hi I would like to allow the user to open a new document as many times as they want during a session, like most word processor or spreadsheet apps do. I thought that the best way to do this was to make a template stack and then use the clone command. I also set a counter that is updated each time a new stack is opened so that they do not all have the same name but 'new wd 1', 'new wd 2' etc. This works and creates stacks that show up in the application overview. I made a loop that deletes the cloned stacks from the main application on quit that also works. But is it necessary? It seems that cloned stacks are automatically deleted from the main application. What happens to cloned stacks once the application quits? Thanks Ron From sarahr at genesearch.com.au Thu Jul 18 19:13:01 2002 From: sarahr at genesearch.com.au (Sarah) Date: Thu Jul 18 19:13:01 2002 Subject: switching which external files to use In-Reply-To: Message-ID: I would rename the original set of files so they all have 1 at the end of their names. Then you can use something like: put 2 into fileNum put URL ("file:data/SFQuizzes/SFQuiz1/Instructions" & fileNum & ".txt") into fld "instructions" put URL ("file:data/SFQuizzes/SFQuiz1/Answers" & fileNum & ".txt" into fld "answers" if you structure the file names carefully, your switch routine should just set this number and then you will have a general routine to use the files. This will make your script much less verbose and easier to debug. In your script you have the following four lines which do the same thing twice. You can either delete lines 1 & 3 completely, or leave them and change lines 2 & 4 to say "set the whatever to it" get URL "file:data/SFQuizzes/SFQuiz1/questions2.txt" set the questions of group "quesControl" to URL "file:data/SFQuizzes/SFQuiz1/questions2.txt" get URL "file:data/SFQuizzes/SFQuiz1/corrAnswers2.txt" set the corrAnswers of group "quesControl" to URL "file:data/SFQuizzes/SFQuiz1/corrAnswers2.txt" Cheers, Sarah On Friday, July 19, 2002, at 07:21 AM, Kristy Roggio wrote: > Now, this is great if I only have 2 different sets...the originals and > the "2" set. How do I tell it to cycle through the next set of > external files? Can I use a repeat cycle to insert the info from > "/Instructions3.txt" and the rest of those txt files the next time the > user wants to take that quiz? How do I automatically change which > question set files are being accessed? I hope my question makes sense, > and any help would be a life saver. From davethebrv at mac.com Thu Jul 18 19:16:00 2002 From: davethebrv at mac.com (David Beck) Date: Thu Jul 18 19:16:00 2002 Subject: Question about masks In-Reply-To: <200207181531.LAA13796@www.runrev.com> Message-ID: One more question.. What is the easiest was to create and use a mask for an image? Can you import in a format which has a built in mask, or do you need to use the "import with mask" command with two seperate files? If this is the case, is there a format which can be used for the 1-bit mask, as opposed to trying to create the bitmat manually? Thank you very much for any help. Dave From degbert at mac.com Thu Jul 18 22:56:00 2002 From: degbert at mac.com (David Egbert) Date: Thu Jul 18 22:56:00 2002 Subject: Long file names in Mac OS X. Message-ID: Has anyone found a workaround to the long file name bug in Mac OS X? If I use this script: on mouseUp answer file "Please choose a file:" answer it end mouseUp And I choose this file: This_is_longer_than_thirty_two_chars.txt I get this response: This_is_longer_than_thirt#4A01D Is this code on the end that can be re-converted to the original text? Is there another way to get the true file name? Many Thanks. -- David Egbert From monte at sweattechnologies.com Thu Jul 18 23:11:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Jul 18 23:11:01 2002 Subject: Click through advertising in apps Message-ID: Hi All Just wondering if anyone has developed click through advertising in a Rev/MC app???? I have an app due for release in September that has a free version for a particular type of user. It would be ideal if I could still raise revenue from that version without making the user pay. 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 degbert at mac.com Thu Jul 18 23:33:01 2002 From: degbert at mac.com (David Egbert) Date: Thu Jul 18 23:33:01 2002 Subject: Spaces in URLEncode? Message-ID: I always thought that spaces were converted to "%20" in a URL string and the + sign was used for JavaScript. Am I off base here? Is there another function that will convert the spaces to "%20"? Many Thanks. -- David Egbert From Zzyzx at Relia.Net Thu Jul 18 23:35:00 2002 From: Zzyzx at Relia.Net (Josh Dye) Date: Thu Jul 18 23:35:00 2002 Subject: Click through advertising in apps References: Message-ID: <000b01c22edd$457857c0$1401000a@xhead> I'm not quite sure what you are trying to get at here Monte. Are you trying to make a program that will advertise for you? Or are you trying to make a program that will "Click" their way through ads, so the end-user doesn't see them? - Josh ----- Original Message ----- From: "Monte Goulding" To: "Use-Revolution at Lists. Runrev. Com" Sent: Thursday, July 18, 2002 10:07 PM Subject: Click through advertising in apps > Hi All > > Just wondering if anyone has developed click through advertising in a Rev/MC > app???? > > I have an app due for release in September that has a free version for a > particular type of user. It would be ideal if I could still raise revenue > from that version without making the user pay. > > Cheers > > Monte Goulding > B.App.Sc. (Hons.) > > Executive Director > Sweat Technologies > > email: monte at sweattechnologies.com > website: www.sweattechnologies.com > mobile: (+61) 0421 138 274 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From monte at sweattechnologies.com Thu Jul 18 23:53:01 2002 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu Jul 18 23:53:01 2002 Subject: Click through advertising in apps In-Reply-To: <000b01c22edd$457857c0$1401000a@xhead> Message-ID: Sorry Josh I was unclear I'm thinking something a bit like a rotating banner on the main screen that people could purchase time/clicks through to a web page??? The main things I'm unsure about are how to manage are the server side things like counting clicks and deducting them from an account. The original plan was to not have this function in the program in the first release then when there was a reasonable installed base add the function. But it would be good to have it there from the start and switch it on at some point. Cheers Monte > > I'm not quite sure what you are trying to get at here Monte. Are > you trying > to make a program that will advertise for you? Or are you trying to make a > program that will "Click" their way through ads, so the end-user > doesn't see > them? > > - Josh > > > ----- Original Message ----- > From: "Monte Goulding" > To: "Use-Revolution at Lists. Runrev. Com" > Sent: Thursday, July 18, 2002 10:07 PM > Subject: Click through advertising in apps > > > > Hi All > > > > Just wondering if anyone has developed click through advertising in a > Rev/MC > > app???? > > > > I have an app due for release in September that has a free version for a > > particular type of user. It would be ideal if I could still > raise revenue > > from that version without making the user pay. > > > > Cheers > > > > Monte Goulding > > B.App.Sc. (Hons.) > > > > Executive Director > > Sweat Technologies > > > > email: monte at sweattechnologies.com > > website: www.sweattechnologies.com > > mobile: (+61) 0421 138 274 > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From terry at discovery.nl Thu Jul 18 23:56:01 2002 From: terry at discovery.nl (Terry Vogelaar) Date: Thu Jul 18 23:56:01 2002 Subject: diffdays In-Reply-To: <3CDAA302000181AD@flu-stateless-01.tiscalinet.ch> Message-ID: >>> Would be nicer to have DateToJulian and JulianToDate functions built into >>> the engine.... >> >> I agree with Richard - it would be 'nicer' to be able to do it easier. > > it is no more than about 20 lines of code, from a parsed date. > and an option on a control card whether to use the RR built-in code or the > application hand-made code. Both are nice and easy. > > actually it is better to have the starting days of the months in a list, > i.e. 0,31,59,90,... for a non-switching year, but 0,31,60,91,... for a > switching > year. Could you share these 20 lines of code? I don't have a clue where to start. Terry From pixelbird at interisland.net Fri Jul 19 00:03:00 2002 From: pixelbird at interisland.net (Ken Norris (dialup)) Date: Fri Jul 19 00:03:00 2002 Subject: Windows machine Q In-Reply-To: <0B686668-9A59-11D6-AF9C-000393853D6C@rpsystems.net> Message-ID: on 7/18/02 7:17 AM, Troy Rollins at troy at rpsystems.net wrote: > Sounds like a good enough mid-level test machine for the price. After > all, Office alone costs more than that. ---------- Thanks Troy. Hard to believe, but it's doubtful I will ever use Office. Still, one never knows... I think I'll go ahead and get it. I have several old PCs, but they're too old to do much of anything, or have bad HDs. Thanks again, Ken N. From janschenkel at yahoo.com Fri Jul 19 00:14:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Jul 19 00:14:01 2002 Subject: Send command question In-Reply-To: Message-ID: <20020719051144.35349.qmail@web11902.mail.yahoo.com> --- David Beck wrote: > Is it true that handlers invoked using the Send > command are not executed > immediately? > [snip] > Are there conditions in which > the Send command behaves > differently than calling a handler in the usual > fashion (excluding the send > in #ofticks option)? Thanks in advance, > > Dave > Hi Dave, Your assessment is correct: a 'send' will not execute until the end of the current thread of code. The idea is: 'Send' actually puts it on a to-do list, which it will go through once the normal exectuion of the handlers has ended. Then it will see if there are any 'pendingMessages', and check if it is time they are executed or not. So in your example, cmd2 and cmd3 will be executed _before_ the sent message is handled. Hope this cleared things up a bit, Jan Schenkel. "As we grow older, we grow both wiser and more foolish at the same time." (De Rochefoucald) __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com From janschenkel at yahoo.com Fri Jul 19 00:25:01 2002 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri Jul 19 00:25:01 2002 Subject: cloned stacks persistence In-Reply-To: Message-ID: <20020719052209.39277.qmail@web11903.mail.yahoo.com> --- Ron wrote: > [snip] > What happens to cloned stacks once the application > quits? > > Thanks > Ron > Hi Ron, I've used the same 'cloning' technique for FoxPro-like 'memo' windows -- works great, doesn't it? MC/RR won't write a file to disc unless you 'save' the stack. So when you quit your stand-alone, the cloned stacks evaporate, basically. However, within the IDE, they will persist until you purge them from memory with the 'Purge' button in the Application Overview (I love that thing) or manually via the 'delete stack' command. 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! Autos - Get free new car price quotes http://autos.yahoo.com From dsc at swcp.com Fri Jul 19 01:20:01 2002 From: dsc at swcp.com (Dar Scott) Date: Fri Jul 19 01:20:01 2002 Subject: Send command question In-Reply-To: Message-ID: <31758B4A-9ADF-11D6-B0B3-0050E4C0B205@swcp.com> On Thursday, July 18, 2002, at 04:42 PM, David Beck wrote: > Is it true that handlers invoked using the Send command are not > executed > immediately? That is to say, if I have a script: > > cmd1 > Send "myMessage" to fld "Whatever" of cd 2 > cmd2 > cmd3 > ... > > That cmd2 and cmd3 might be executed before "myMessage" starts > executing or > in parallel with myMessage? I haven't been able to confirm this > myself but I > am running into issues which suggest to me that this might be the case. This script... on testA put "A " after field "Report" end testA on testB put "B " after field "Report" end testB on testC put "C " after field "Report" end testC on mouseUp put "one " after field "Report" send "testA" to me put "two " after field "Report" call "testB" of me put "three " after field "Report" send "testC " to me in 0 seconds put "four " after field "Report" end mouseUp ...puts "one A two B three four C " into field "Report" on my OS X. In this simple case, a send (without the time) seems to work. You might have more than one field named "Whatever". You might have no such handler field "Whatever", but one in the path that is executed. You might want to see if a "call" will work better. Dar Scott From dcragg at lacscentre.co.uk Fri Jul 19 01:32:01 2002 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri Jul 19 01:32:01 2002 Subject: Send command question In-Reply-To: References: Message-ID: At 3:42 pm -0700 18/7/02, David Beck wrote: >Is it true that handlers invoked using the Send command are not executed >immediately? That is to say, if I have a script: > >cmd1 >Send "myMessage" to fld "Whatever" of cd 2 >cmd2 >cmd3 A simple send will cause the "sent message" to execute immediately. Using "send ... in