From johng at cablespeed.com Sat Dec 1 00:12:02 2001 From: johng at cablespeed.com (John) Date: Sat Dec 1 00:12:02 2001 Subject: Serial communication In-Reply-To: Message-ID: <99AFCE9E-1F8F-11B2-B7C3-003065847600@cablespeed.com> On Friday, November 30, 2001, at 08:56 PM, Troy Rollins wrote: I have been informed that you CAN talk to serial ports from Linux by starting an external port process, and then passing data from the process back to Rev. This is my intended path for accomplishing it, but I've yet to get to the stage of my program where I have tried it. When accomplish this it might be of interest to others on the list also - will you let us (or at least me) know when you work it out. Perhaps a user contributed stack on the Revolution site? I think it would make a nice contributions that others could use. If it works with Linux perhaps it would work with OS X..... Thanks, John Miskimins -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 739 bytes Desc: not available URL: From troy at rpsystems.net Sat Dec 1 00:41:47 2001 From: troy at rpsystems.net (Troy Rollins) Date: Sat Dec 1 00:41:47 2001 Subject: Serial communication In-Reply-To: <99AFCE9E-1F8F-11B2-B7C3-003065847600@cablespeed.com> Message-ID: John wrote: > I have been informed that you CAN talk to serial ports from Linux by > starting an external port process, and then passing data from the process > back to Rev. This is my intended path for accomplishing it, but I've yet to > get to the stage of my program where I have tried it. > > > When accomplish this it might be of interest to others on the list also - will > you let us (or at least me) know when you work it out. Perhaps a user > contributed stack on the Revolution site? I think it would make a nice > contributions that others could use. If it works with Linux perhaps it would > work with OS X..... I'll certainly consider it John. I do have several tasks in front of this one right now. If I haven't heard of anyone else making strides on this when I get to it, I'll let you know. OR, very likely you'll notice my "what the hell am I supposed to do now?" posts on this list anyway... ;) -- Troy RPSystems www.rpsystems.net From jcuccio at pacbell.net Sat Dec 1 03:15:00 2001 From: jcuccio at pacbell.net (John Cuccio) Date: Sat Dec 1 03:15:00 2001 Subject: Group button Message-ID: I have only gotten this to work one time. Rev 1.1 I put two check box buttons on the card. I group them. I thought the docs said if I group this type of button then when I check one of them the other is un checked. It does not work. How do I do this. Thank you From heather at runrev.com Sat Dec 1 04:02:01 2001 From: heather at runrev.com (Heather Williams) Date: Sat Dec 1 04:02:01 2001 Subject: Help! Resubscribed..now I get all digests twice! In-Reply-To: <200112010526.AAA07420@www.runrev.com> Message-ID: > Aloha, Kevin or List Master: > > Something strange started happening... I get digests for both the improve > and use rev lists now, daily, and also sporadically I keep getting the the > notice that I have been subscribed? Again and again? Well, you will have got a couple of these as we moved the subscriptions for each of the lists, but if you look at them closely, they should be for different lists. If not, and if they keep on coming, let me know. Re the digests, were you getting digest form before or single messages? Which do you want? You may have been getting some duplication due to the old listserv still having some messages queued, this should now have stopped. Please reply direct to me, heather at runrev.com, and if anyone else is also experiencing difficulties with the lists, please do the same, after waiting 24 hours to see if the problem goes away by itself. We're ironing out the glitches, I think we're nearly there now, Regards and thanks to all for your patience, Heather > > Can you stop this? Thanks! > > > Hinduism Today > > Sivakatirswami -- 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 John at onechip.com Sat Dec 1 04:56:01 2001 From: John at onechip.com (John) Date: Sat Dec 1 04:56:01 2001 Subject: Serial communication In-Reply-To: <2794ED92-E5ED-11D5-8EAA-003065E6E4BC@jpl.nasa.gov> Message-ID: On Friday, November 30, 2001, at 03:51 PM, Bill Vlahos wrote: > I want to receive information coming in via a serial connection and > capture for processing in Rev. When I use a terminal application > (ZTerm) the info comes across as plain text so it looks Snip... Bill, I asked a similar question on the list quite some time ago and did not receive a reply. In my case the only application I currently need to write requires the serial port. From what I can gather the only platform with serial port support is Windows. Macs have not had a "printer" port in a very long time and the "modem" port is taken by the modem. Despite this I could not pass up the HyperCard cross grade offer and took the plunge. If you need access to serial ports and are looking for a nice development environment you might try RealBasic. I have used it extensively for control applications that use the serial port (pretty much all I do when it come to programming). It works very well, has a nice development environment, and good documentation including third party books. I really wish serial port support was added for both the Mac and Linux. I would like to try RR for something serious (I am just playing now). Good luck, John Miskimins From John at onechip.com Sat Dec 1 04:58:45 2001 From: John at onechip.com (John) Date: Sat Dec 1 04:58:45 2001 Subject: Serial communication In-Reply-To: Message-ID: <1BD07056-1F8F-11B2-B7C3-003065847600@onechip.com> On Friday, November 30, 2001, at 08:56 PM, Troy Rollins wrote: > > I have been informed that you CAN talk to serial ports from Linux by > starting an external port process, and then passing data from the > process > back to Rev. This is my intended path for accomplishing it, but I've > yet to > get to the stage of my program where I have tried it. > When accomplish this it might be of interest to others on the list also - will you let us (or at least me) know when you work it out. Perhaps a user contributed stack on the Revolution site? I think it would make a nice contributions that others could use. If it works with Linux perhaps it would work with OS X..... Thanks, John Miskimins From gcanyon at inspiredlogic.com Sat Dec 1 11:44:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Dec 1 11:44:01 2001 Subject: Group button In-Reply-To: References: Message-ID: At 12:12 AM -0800 12/1/01, John Cuccio wrote: >I put two check box buttons on the card. I group them. I thought the docs >said if I group this type of button then when I check one of them the other >is un checked. It does not work. How do I do this. Just checking -- checkboxes should not be mutually exclusive, only radio buttons -- which are you using? regards, gc From markmac at shaw.ca Sat Dec 1 14:53:00 2001 From: markmac at shaw.ca (Mark MacKenzie (Shaw)) Date: Sat Dec 1 14:53:00 2001 Subject: Penultimate outcome of "Constraining movement" Message-ID: <001b01c17aa1$d02b3360$797d4718@ss.shawcable.net> Well, the training wheels are most definitely still on BUT, a first cut of a demo stack is working for the "ThumbNail Scroller". Scripts are all available, some comments but not enough of them. Great loads of thanks to all who helped by contributing code examples and critiques to this former thread. The second phase is where this becomes a real tool. But, if anyone is interested in taking it for a test drive I will send it to you. Just give me some feedback if you can on any improvements in coding, etc. Send me an email address if you can handle a 1.5 meg rev stack (this uses .png image files for real life test). If there is enough interest I will put it on my ftp site and possibly set up upload and share type of system. As I mentioned before, once finished it will be offered as a demo and teaching stack as well as a free multimedia element creation tool. As always, regards to the list. Mark MacKenzie Chief Techno-Mage (most definitely not for Rev yet!!) Historical Treasures & Ancient Arts www.digitalheritage.ca markmac at shaw.ca From jdhardin at facstaff.wisc.edu Sat Dec 1 18:14:00 2001 From: jdhardin at facstaff.wisc.edu (Jeff Hardin) Date: Sat Dec 1 18:14:00 2001 Subject: Mac OS X - QT standard controller acting badly Message-ID: Hi folks- I'm new to RunRev, so maybe this has been documented extensively. In RunRev for Mac OS X or OS 9, Quicktime 5, Quicktime movies displayed on a card have what looks like the standard controller. However, when the screen gets updated, or if the movie is played, the controller doesn't get updated, gets erased and not redrawn, etc. If one clicks in the location where the controller should be, it can receive mouse clicks. Has anyone noticed this, and, if so, is there some fix? There doesn't seem to be a call that services the movies as in some other HyperText-based apps. Thanks! Jeff -- ********************************* Jeff Hardin - Dept. of Zoology - Univ. of Wisconsin 1117 W. Johnson St. - Madison, WI 53706 USA voice: (608) 262-9634 (office)/ (608) 265-2520 (lab) fax: (608) 262-7319 email: jdhardin at facstaff.wisc.edu WWW: http://www.wisc.edu/zoology/faculty/fac/Har/Har.html ********************************* From cyberscope at home.com Sat Dec 1 19:49:01 2001 From: cyberscope at home.com (Gene Kennedy) Date: Sat Dec 1 19:49:01 2001 Subject: Serial Ports References: <200112011715.MAA16138@www.runrev.com> Message-ID: <3C0978AD.37F631C8@home.com> It is possible to read/write data from/to serial ports via AppleScript, a KeySpan USB to Serial Adapter and a shareware Serial Port Scripting Addition (you can download from various sites). On my iMac, I can access any of the three serial ports (i.e. the internal modem, KeySpan #1 and KeySpan #2) using the above combination. The only trick part is using quotes properly in the AppleScript statements. For example: -- use a handler to open the desired serial port, write the data to it, then close the port. On SendIt do "Open serial port " & quote & "P#1USA28X012" & quote as AppleScript -- this uses KeySpan port#1 put the result into thePort -- some variable to hold the port reference for the scripting addition do "serial port write " & theData & "to " & thePort as AppleScript do "Close serial port " & thePort as AppleScript End SendIt Although I am just getting started with Revolution myself, this scheme works reliably for me on an iMac and an iBook using System 8.6.1 and 9.1 respectively. For what it's worth, I have used the KeySpan adapters in all of the systems I have delivered over the past four years and never experienced a failure. I hope I'll be able to say that about my apps someday. PS I have no experience with OS X so I don't know if the above will apply! Best regards, Gene Kennedy From timothy.brown1 at virgin.net Sun Dec 2 14:52:01 2001 From: timothy.brown1 at virgin.net (Tim Brown) Date: Sun Dec 2 14:52:01 2001 Subject: QT Controller problems Message-ID: <649.D95%timothy.brown1@virgin.net> Hi everyone, I'm new to Revolution and the list and have been using the program for only the last ten days or so...it's a truly wonderful concept... but extremely buggy, at least on my system (OS 9.1, G3 PB). I am persisting though, and building a multimedia AV catalogue for a client which involves many instances of the QT Controller. The controllers are okay on first visit but on subsequent visits they disappear - this is the case in both the IDE and the standalone...I see that Jeff Hardin has had the same problem...any fix available? Also, sorry to ask what's probably an obvious question from a novice, but how can you script a button to open/play an audioClip directly into a stack, without using a player? I've tried importing it from a file then using 'play' - it worked once (!) but hasn't done so since... Thanks for your time Tim Brown London UK From sjoerdoptland at mac.com Sun Dec 2 15:06:01 2001 From: sjoerdoptland at mac.com (Sjoerd Op 't Land) Date: Sun Dec 2 15:06:01 2001 Subject: Serial communication In-Reply-To: <2794ED92-E5ED-11D5-8EAA-003065E6E4BC@jpl.nasa.gov> Message-ID: Bill Vlahos wrote/ schreef: > on openCard > open file "KeyUSA28X91.1:" > end openCard > > on idle > set the serialControlString to "KeyUSA28X91.1" > read from file "KeyUSA28X91.1:" for 1 line > put it after field "Incoming" > end idle I don't know, but try some debugging: on openCard open file "KeyUSA28X91.1:" answer "Opened the port. Result:" & return & the result end openCard on idle set the serialControlString to "KeyUSA28X91.1" -- guess the above line is incorrect, it has to be something like set the serialcontrolstring to "BAUD=9400" -- and that it should be set when you open the port read from file "KeyUSA28X91.1:" for 1 line put it after field "Incoming" end idle Hope this helps. Regards, / Groeten, Sjoerd From sarahr at genesearch.com.au Sun Dec 2 18:22:01 2001 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Sun Dec 2 18:22:01 2001 Subject: Serial communication In-Reply-To: Message-ID: Hi Bill, I have sucessfully sent & received through a serial port, only with Mac OS 9.1 but I don't see why it wouldn't work with OS X. The Keyspan adapter allows it's port 1 to be referred to as "printer:" so that should work without any problem. You need to set the serialControlString to show the parameters for your communications e.g. "BAUD=9600 PARITY=N" etc etc, rather than setting it to the name of your port. Or don't set it at all to use the defaults, but that's probably a bad idea. I have a test communications stack that I can make available or send to anyone that is interested. Cheers, Sarah > > I want to receive information coming in via a serial connection and > capture for processing in Rev. When I use a terminal application (ZTerm) > the info comes across as plain text so it looks like it will be easy to > capture. I'm using Mac OS X and a KeySpan USB to serial adapter. The > Rev. docs say that Rev expect Mac serial ports to be "Printer:" or > "Modem:" but the KeySpan driver doesn't allow renaming. ZTerm lists the > port name as "KeyUSA28X91.1". I have created a stack in the IDE (Rev > 1.1) with a field to display the data and have written the following > card script which doesn't seem to do anything: > > on openCard > open file "KeyUSA28X91.1:" > end openCard > > on idle > set the serialControlString to "KeyUSA28X91.1" > read from file "KeyUSA28X91.1:" for 1 line > put it after field "Incoming" > end idle > > When I run this it doesn't appear to do anything. I think I see the > insertion point blinking but it may also be my imagination. Eventually I > will want to send commands out the serial port to but I want to get this > working first. The settings of the device match the defaults for Rev > (i.e. baud rate, etc.) > > Bill Vlahos > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From johng at cablespeed.com Sun Dec 2 19:28:01 2001 From: johng at cablespeed.com (John) Date: Sun Dec 2 19:28:01 2001 Subject: Serial communication In-Reply-To: Message-ID: <3BD21143-20FA-11B2-9B66-003065847600@cablespeed.com> On Sunday, December 2, 2001, at 03:19 PM, Sarah Reichelt wrote: > Hi Bill, > > I have sucessfully sent & received through a serial port, only with Mac > OS > 9.1 but I don't see why it wouldn't work with OS X. > > The Keyspan adapter allows it's port 1 to be referred to as "printer:" > so > that should work without any problem. > Snip... Having access to a single serial port would in most cases be adequate I suppose. It would be nice (and in some cases necessary) to access all of the available serial ports. This is allowed under Windows. I have seen suggestions that it is possible via Apple Script but this seems something of a workaround. Does anyone know if full access to all available serial ports is planned in the future for the Mac and Linux? I know that no development environment has everything but this seems like a rather basic omission. Thanks, John Miskimins From xslaugh at hotmail.com Sun Dec 2 21:45:01 2001 From: xslaugh at hotmail.com (Scott Slaugh) Date: Sun Dec 2 21:45:01 2001 Subject: Running in background Message-ID: I would like to make a program that would run in the background somehow. I want to be able to have the program running and be able to do things over my network with it. However, I don't want it to be visible on the other computer. Anyone have any ideas on how to do this? Scott Slaugh -------------- next part -------------- An HTML attachment was scrubbed... URL: From benr_mc at cogapp.com Mon Dec 3 05:25:01 2001 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon Dec 3 05:25:01 2001 Subject: Adding Objects to Groups In-Reply-To: <002901c179d6$8cb4b5a0$ab755dd8@egl> Message-ID: on 30/11/01 7:38 PM, Ted at tedl at voyager.net wrote: > Here's how I do it: b. Ted Thanks for the tip - that makes a third way to do it (the other two being to set relayerGroupedControls to true, and move the object up or down the layers to enter the group; or to ungroup the existing members, then immediately regroup with the new candidates). That cat is skinned. regards, 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 Mon Dec 3 05:27:18 2001 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon Dec 3 05:27:18 2001 Subject: Revolution and XML In-Reply-To: <01ab01c178f2$0f21b2d0$9865fea9@mc14> Message-ID: on 29/11/01 4:22 PM, Ken Ray at kray at sonsothunder.com wrote: > Hey, Ben... can you post your code? It would be a great one to "optimize" on > the list (just like we did with the "Constraining Movement" thread)... No objection in principle (when the thing is in a better state) to distributing the library - and delighted if an improved version results - but I don't think optimizing the code is really the key thing - as I said, it's plenty fast (enough for my purposes, at least). The shortcomings are more in the shortcuts and liberties I've taken with the XML spec. I think that kind of improvement is probably better done by people playing with the stack itself rather than discussing on list. Before diving into that, I'd like to get the API right. on 28/11/01 2:25 PM, Kevin Miller at kevin at runrev.com wrote: >> (or perhaps this belongs on the xtalks list?) > It does I'll post a description of my current API I've got so far on the xtalks list and see what arises. 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 rolfk at vetvir.unizh.ch Mon Dec 3 09:29:01 2001 From: rolfk at vetvir.unizh.ch (Rolf Kocherhans) Date: Mon Dec 3 09:29:01 2001 Subject: Development Environment Message-ID: What is the best way to test for the Development Environment ? ala... on check for Environment if DE = true then do this else do that end if end check for Environment any ideas ? Cheers Rolf From gwickenden at brooklineuk.com Mon Dec 3 12:23:30 2001 From: gwickenden at brooklineuk.com (Guy Wickenden) Date: Mon Dec 3 12:23:30 2001 Subject: Unsubscribe Message-ID: Hi Is it possible for me to change the E-mail address that this is sent to from guy at brooklineuk.com to gwickenden at hotmail.com Thanks, Guy Wickenden -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin at runrev.com Mon Dec 3 13:52:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Mon Dec 3 13:52:01 2001 Subject: Mac OS X - QT standard controller acting badly In-Reply-To: Message-ID: On 1/12/01 11:11 pm, Jeff Hardin wrote: > I'm new to RunRev, so maybe this has been documented extensively. In > RunRev for Mac OS X or OS 9, Quicktime 5, Quicktime movies displayed > on a card have what looks like the standard controller. However, when > the screen gets updated, or if the movie is played, the controller > doesn't get updated, gets erased and not redrawn, etc. If one clicks > in the location where the controller should be, it can receive mouse > clicks. > > Has anyone noticed this, and, if so, is there some fix? There doesn't > seem to be a call that services the movies as in some other > HyperText-based apps. This is a known issue with QuickTime 5 (documented in the read me file). We're looking at it. Regards, Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Mon Dec 3 13:53:19 2001 From: kevin at runrev.com (Kevin Miller) Date: Mon Dec 3 13:53:19 2001 Subject: Development Environment In-Reply-To: Message-ID: On 3/12/01 2:25 pm, Rolf Kocherhans wrote: > What is the best way to test for the Development Environment ? The environment() function. Or you can check for the presence of a Revolution stack "if there is a stack "revMenubar" then..." Regards, Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Mon Dec 3 13:56:02 2001 From: kevin at runrev.com (Kevin Miller) Date: Mon Dec 3 13:56:02 2001 Subject: Serial communication In-Reply-To: <2794ED92-E5ED-11D5-8EAA-003065E6E4BC@jpl.nasa.gov> Message-ID: On 30/11/01 11:51 pm, Bill Vlahos wrote: > on openCard > open file "KeyUSA28X91.1:" > end openCard Have you tried the "open driver" command? > on idle I can't recommend using idle for anything, it is obsolete and chews up the processor when it doesn't need to. Much has been written on this subject, including the current tip of the week on our web site :-) Regards, Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From tsj at unimelb.edu.au Mon Dec 3 17:06:00 2001 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon Dec 3 17:06:00 2001 Subject: Revolution and XML In-Reply-To: References: Message-ID: >I'll post a description of my current API I've got so far on the xtalks list >and see what arises. > Where do I find the xtalk list? -- ___________________________________________________________________________ Dr Terry Judd Lecturer in Instructional Design / Multimedia Developer Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Email: t.judd at bmu.unimelb.edu.au Phone: 03 9344 0187 Fax: 03 9344 4998 ___________________________________________________________________________ From gcanyon at inspiredlogic.com Mon Dec 3 18:11:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon Dec 3 18:11:01 2001 Subject: Revolution and XML In-Reply-To: References: Message-ID: At 9:04 AM +1100 12/4/01, Terry Judd wrote: >Where do I find the xtalk list? Mailing-List: list xTalks at yahoogroups.com; contact xTalks-owner at yahoogroups.com Delivered-To: mailing list xTalks at yahoogroups.com List-Unsubscribe: I would assume that xTalks-subscribe at yahoogroups.com would sign you up. gc From chipp at chipp.com Mon Dec 3 23:41:00 2001 From: chipp at chipp.com (Chipp Walters) Date: Mon Dec 3 23:41:00 2001 Subject: Moving a window without a dragbar... In-Reply-To: <200111272035.PAA06136@www.runrev.com> Message-ID: I'm writing a little handler to move a window by clicking on it and dragging. I've inserted the following into the stack script: local startX,startY,dragWd on mouseDown put true into dragWd put the mouseH into startX put the mouseV into startY end mouseDown on mouseMove newMouseH, newMouseV if dragWd then set the loc of this stack to \ item 1 of the loc of this stack - startX + newMouseH, \ item 2 of the loc of this stack - startY + newMouseV end if end mouseMove on mouseUp put false into dragWd end mouseUp on mouseRelease put false into dragWd end mouseRelease on mouseLeave put false into dragWd end mouseLeave This way you can build a project with no window borders or titlebar, and have it still be dragged around the screen. How can I get buttons to not react to the handlers above without explicitly coding "catch" handlers? From kray at sonsothunder.com Tue Dec 4 01:13:01 2001 From: kray at sonsothunder.com (Ken Ray) Date: Tue Dec 4 01:13:01 2001 Subject: Moving a window without a dragbar... References: Message-ID: <001201c17c8b$074e60c0$9865fea9@mc14> Chipp, Use a frontScript. This way, mouse messages will hit the frontScript first, and won't go to the buttons (unless you explicitly pass them). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Chipp Walters" To: Sent: Monday, December 03, 2001 10:40 PM Subject: Moving a window without a dragbar... > I'm writing a little handler to move a window by clicking on it and > dragging. I've inserted the following into the stack script: > > local startX,startY,dragWd > > on mouseDown > put true into dragWd > put the mouseH into startX > put the mouseV into startY > end mouseDown > > on mouseMove newMouseH, newMouseV > if dragWd then > set the loc of this stack to \ > item 1 of the loc of this stack - startX + newMouseH, \ > item 2 of the loc of this stack - startY + newMouseV > end if > end mouseMove > > on mouseUp > put false into dragWd > end mouseUp > > on mouseRelease > put false into dragWd > end mouseRelease > > on mouseLeave > put false into dragWd > end mouseLeave > > This way you can build a project with no window borders or titlebar, and > have it still be dragged around the screen. How can I get buttons to not > react to the handlers above without explicitly coding "catch" handlers? > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From shaosean at 23am.org Tue Dec 4 01:19:00 2001 From: shaosean at 23am.org (Shao Sean) Date: Tue Dec 4 01:19:00 2001 Subject: Running in background Message-ID: <200112040617.fB46HI302810@ns1.nws.ca> > I would like to make a program that would run in the background somehow. I want to be able to have the program running and be able to do things over my network with it. However, I don't want it to be visible on the other computer. Anyone have any ideas on how to do this? Create a window off to the left (open it at -100)...? From shaosean at 23am.org Tue Dec 4 01:22:00 2001 From: shaosean at 23am.org (Shao Sean) Date: Tue Dec 4 01:22:00 2001 Subject: Moving a window without a dragbar... Message-ID: <200112040620.fB46Kd902981@ns1.nws.ca> > I'm writing a little handler to move a window by clicking on it and > dragging. I've inserted the following into the stack script: i did the exact same thing =) > This way you can build a project with no window borders or titlebar, and > have it still be dragged around the screen. How can I get buttons to not > react to the handlers above without explicitly coding "catch" handlers? i had the code in a group and leave the "shared background" property TRUE.. make it FALSE to have it only react in the group.. From monte.goulding at senet.com.au Tue Dec 4 01:52:01 2001 From: monte.goulding at senet.com.au (Monte Goulding) Date: Tue Dec 4 01:52:01 2001 Subject: Serial communication In-Reply-To: Message-ID: There is no mention of this command in the Rev 1.1 Docs -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Kevin Miller Sent: Tuesday, 4 December 2001 5:24 AM To: use-revolution at lists.runrev.com Subject: Re: Serial communication On 30/11/01 11:51 pm, Bill Vlahos wrote: > on openCard > open file "KeyUSA28X91.1:" > end openCard Have you tried the "open driver" command? > on idle I can't recommend using idle for anything, it is obsolete and chews up the processor when it doesn't need to. Much has been written on this subject, including the current tip of the week on our web site :-) Regards, Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! 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 chipp at chipp.com Tue Dec 4 02:00:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 4 02:00:01 2001 Subject: Moving a window without a dragbar... In-Reply-To: <001201c17c8b$074e60c0$9865fea9@mc14> Message-ID: Ken, Not sure ?HOW? to use a frontscript. Can you explain? thx -Chipp -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Ray Sent: Tuesday, December 04, 2001 12:15 AM To: use-revolution at lists.runrev.com Subject: Re: Moving a window without a dragbar... Chipp, Use a frontScript. This way, mouse messages will hit the frontScript first, and won't go to the buttons (unless you explicitly pass them). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Chipp Walters" To: Sent: Monday, December 03, 2001 10:40 PM Subject: Moving a window without a dragbar... > I'm writing a little handler to move a window by clicking on it and > dragging. I've inserted the following into the stack script: > > local startX,startY,dragWd > > on mouseDown > put true into dragWd > put the mouseH into startX > put the mouseV into startY > end mouseDown > > on mouseMove newMouseH, newMouseV > if dragWd then > set the loc of this stack to \ > item 1 of the loc of this stack - startX + newMouseH, \ > item 2 of the loc of this stack - startY + newMouseV > end if > end mouseMove > > on mouseUp > put false into dragWd > end mouseUp > > on mouseRelease > put false into dragWd > end mouseRelease > > on mouseLeave > put false into dragWd > end mouseLeave > > This way you can build a project with no window borders or titlebar, and > have it still be dragged around the screen. How can I get buttons to not > react to the handlers above without explicitly coding "catch" handlers? > > > _______________________________________________ > 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 jeanne at runrev.com Tue Dec 4 02:21:01 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Dec 4 02:21:01 2001 Subject: Moving a window without a dragbar... In-Reply-To: References: <200111272035.PAA06136@www.runrev.com> Message-ID: At 8:40 PM -0800 12/3/2001, Chipp Walters wrote: >I'm writing a little handler to move a window by clicking on it and >dragging. I've inserted the following into the stack script: > >local startX,startY,dragWd > >on mouseDown > put true into dragWd > put the mouseH into startX > put the mouseV into startY >end mouseDown [etc] >This way you can build a project with no window borders or titlebar, and >have it still be dragged around the screen. How can I get buttons to not >react to the handlers above without explicitly coding "catch" handlers? One way is to check the target, and pass the message if the target's not a card: on mouseDown if word 1 of the target is not "card" then pass mouseDown put true into dragWd put the mouseH into startX put the mouseV into startY end mouseDown -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From kray at sonsothunder.com Tue Dec 4 02:26:01 2001 From: kray at sonsothunder.com (Ken Ray) Date: Tue Dec 4 02:26:01 2001 Subject: Moving a window without a dragbar... References: Message-ID: <005f01c17c95$37c39360$9865fea9@mc14> Chipp, Here's how it works: You create an object to hold a script (I usually use a button, but you can use anything) that you are going to insert into the "front" of the message passing hierarchy. Let's call this button "FS" (for "frontScript") and for ease of coding, place it on the window that needs to trap the messages. When your window opens, you use this code: on preOpenCard insert the script of btn "FS" into front end preOpenCard Button "FS" has all your 'mouseDown', 'mouseUp', 'mouseMove', etc. code What happens is that normally, when you click on a card object, the message gets processed in the following order: Card Object -> Card -> Group -> Stack Inserting a frontScript puts it *in front* of the objects on the card, so the new message hierarchy after inserting the script of btn "FS" is as follows: Button "FS" -> Card Object -> Card -> Group -> Stack You can have multiple frontScripts; each new one is placed "in front" of all the others. For example, if I had another button "FS2" that I inserted next, the hierarchy would be: Button "FS2" -> Button "FS" -> Card Object -> Card -> Group -> Stack Messages will not proceed up the hierarchy without being explicitly passed. So in order for the buttons on your window to work (assuming they have code in them), you'll need to "pass" the message after you're done moving the window. Hope this is clear; if not, let me know. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Chipp Walters" To: Sent: Tuesday, December 04, 2001 12:59 AM Subject: RE: Moving a window without a dragbar... > Ken, > > Not sure ?HOW? to use a frontscript. Can you explain? thx > > -Chipp > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Ray > Sent: Tuesday, December 04, 2001 12:15 AM > To: use-revolution at lists.runrev.com > Subject: Re: Moving a window without a dragbar... > > > Chipp, > > Use a frontScript. This way, mouse messages will hit the frontScript first, > and won't go to the buttons (unless you explicitly pass them). > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "Chipp Walters" > To: > Sent: Monday, December 03, 2001 10:40 PM > Subject: Moving a window without a dragbar... > > > > I'm writing a little handler to move a window by clicking on it and > > dragging. I've inserted the following into the stack script: > > > > local startX,startY,dragWd > > > > on mouseDown > > put true into dragWd > > put the mouseH into startX > > put the mouseV into startY > > end mouseDown > > > > on mouseMove newMouseH, newMouseV > > if dragWd then > > set the loc of this stack to \ > > item 1 of the loc of this stack - startX + newMouseH, \ > > item 2 of the loc of this stack - startY + newMouseV > > end if > > end mouseMove > > > > on mouseUp > > put false into dragWd > > end mouseUp > > > > on mouseRelease > > put false into dragWd > > end mouseRelease > > > > on mouseLeave > > put false into dragWd > > end mouseLeave > > > > This way you can build a project with no window borders or titlebar, and > > have it still be dragged around the screen. How can I get buttons to not > > react to the handlers above without explicitly coding "catch" handlers? > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Tue Dec 4 02:44:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 4 02:44:01 2001 Subject: Moving a window without a dragbar... In-Reply-To: <005f01c17c95$37c39360$9865fea9@mc14> Message-ID: Ken, Thanks for the excellent explanation. I'll find it valuable in the future. But, what I'm trying to do it to NOT have the mouseDown, mouseMove, mouseUp, mouseLeave etc.. be passed to buttons and fields so that buttons and fields may have regular mouse functions. I can do that by putting on mouseDown exit to top end mouseDown on mouseMove exit to top end mouseMove etc.. in each button, image and fld. Can frontscripts be somehow used? Perhaps Jeanne's handler suggetion would be something like: (in the stack script) on mouseDown if the target contains "stack" then put true into dragWd ... Thanks again for your help, Chipp -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Ray Sent: Tuesday, December 04, 2001 1:28 AM To: use-revolution at lists.runrev.com Subject: Re: Moving a window without a dragbar... Chipp, Here's how it works: You create an object to hold a script (I usually use a button, but you can use anything) that you are going to insert into the "front" of the message passing hierarchy. Let's call this button "FS" (for "frontScript") and for ease of coding, place it on the window that needs to trap the messages. When your window opens, you use this code: on preOpenCard insert the script of btn "FS" into front end preOpenCard Button "FS" has all your 'mouseDown', 'mouseUp', 'mouseMove', etc. code What happens is that normally, when you click on a card object, the message gets processed in the following order: Card Object -> Card -> Group -> Stack Inserting a frontScript puts it *in front* of the objects on the card, so the new message hierarchy after inserting the script of btn "FS" is as follows: Button "FS" -> Card Object -> Card -> Group -> Stack You can have multiple frontScripts; each new one is placed "in front" of all the others. For example, if I had another button "FS2" that I inserted next, the hierarchy would be: Button "FS2" -> Button "FS" -> Card Object -> Card -> Group -> Stack Messages will not proceed up the hierarchy without being explicitly passed. So in order for the buttons on your window to work (assuming they have code in them), you'll need to "pass" the message after you're done moving the window. Hope this is clear; if not, let me know. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Chipp Walters" To: Sent: Tuesday, December 04, 2001 12:59 AM Subject: RE: Moving a window without a dragbar... > Ken, > > Not sure ?HOW? to use a frontscript. Can you explain? thx > > -Chipp > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Ray > Sent: Tuesday, December 04, 2001 12:15 AM > To: use-revolution at lists.runrev.com > Subject: Re: Moving a window without a dragbar... > > > Chipp, > > Use a frontScript. This way, mouse messages will hit the frontScript first, > and won't go to the buttons (unless you explicitly pass them). > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "Chipp Walters" > To: > Sent: Monday, December 03, 2001 10:40 PM > Subject: Moving a window without a dragbar... > > > > I'm writing a little handler to move a window by clicking on it and > > dragging. I've inserted the following into the stack script: > > > > local startX,startY,dragWd > > > > on mouseDown > > put true into dragWd > > put the mouseH into startX > > put the mouseV into startY > > end mouseDown > > > > on mouseMove newMouseH, newMouseV > > if dragWd then > > set the loc of this stack to \ > > item 1 of the loc of this stack - startX + newMouseH, \ > > item 2 of the loc of this stack - startY + newMouseV > > end if > > end mouseMove > > > > on mouseUp > > put false into dragWd > > end mouseUp > > > > on mouseRelease > > put false into dragWd > > end mouseRelease > > > > on mouseLeave > > put false into dragWd > > end mouseLeave > > > > This way you can build a project with no window borders or titlebar, and > > have it still be dragged around the screen. How can I get buttons to not > > react to the handlers above without explicitly coding "catch" handlers? > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Tue Dec 4 02:58:02 2001 From: kray at sonsothunder.com (Ken Ray) Date: Tue Dec 4 02:58:02 2001 Subject: Moving a window without a dragbar... References: Message-ID: <006701c17c98$f67a06b0$9865fea9@mc14> Chipp, Ah... it's now much clearer. :-) I think Jeanne's suggestion is much better for what you're intending on doing. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Chipp Walters" To: Sent: Tuesday, December 04, 2001 1:43 AM Subject: RE: Moving a window without a dragbar... > Ken, > > Thanks for the excellent explanation. I'll find it valuable in the future. > But, what I'm trying to do it to NOT have the mouseDown, mouseMove, mouseUp, > mouseLeave etc.. be passed to buttons and fields so that buttons and fields > may have regular mouse functions. I can do that by putting > > on mouseDown > exit to top > end mouseDown > > on mouseMove > exit to top > end mouseMove > > etc.. in each button, image and fld. Can frontscripts be somehow used? > > Perhaps Jeanne's handler suggetion would be something like: (in the stack > script) > > on mouseDown > if the target contains "stack" then put true into dragWd > ... > > Thanks again for your help, > > Chipp > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Ray > Sent: Tuesday, December 04, 2001 1:28 AM > To: use-revolution at lists.runrev.com > Subject: Re: Moving a window without a dragbar... > > > Chipp, > > Here's how it works: > > You create an object to hold a script (I usually use a button, but you can > use anything) that you are going to insert into the "front" of the message > passing hierarchy. Let's call this button "FS" (for "frontScript") and for > ease of coding, place it on the window that needs to trap the messages. When > your window opens, you use this code: > > on preOpenCard > insert the script of btn "FS" into front > end preOpenCard > > Button "FS" has all your 'mouseDown', 'mouseUp', 'mouseMove', etc. code > > What happens is that normally, when you click on a card object, the message > gets processed in the following order: > > Card Object -> Card -> Group -> Stack > > Inserting a frontScript puts it *in front* of the objects on the card, so > the new message hierarchy after inserting the script of btn "FS" is as > follows: > > Button "FS" -> Card Object -> Card -> Group -> Stack > > You can have multiple frontScripts; each new one is placed "in front" of all > the others. For example, if I had another button "FS2" that I inserted next, > the hierarchy would be: > > Button "FS2" -> Button "FS" -> Card Object -> Card -> Group -> Stack > > Messages will not proceed up the hierarchy without being explicitly passed. > So in order for the buttons on your window to work (assuming they have code > in them), you'll need to "pass" the message after you're done moving the > window. > > Hope this is clear; if not, let me know. > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > ----- Original Message ----- > From: "Chipp Walters" > To: > Sent: Tuesday, December 04, 2001 12:59 AM > Subject: RE: Moving a window without a dragbar... > > > > Ken, > > > > Not sure ?HOW? to use a frontscript. Can you explain? thx > > > > -Chipp > > > > -----Original Message----- > > From: use-revolution-admin at lists.runrev.com > > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Ray > > Sent: Tuesday, December 04, 2001 12:15 AM > > To: use-revolution at lists.runrev.com > > Subject: Re: Moving a window without a dragbar... > > > > > > Chipp, > > > > Use a frontScript. This way, mouse messages will hit the frontScript > first, > > and won't go to the buttons (unless you explicitly pass them). > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > > > ----- Original Message ----- > > From: "Chipp Walters" > > To: > > Sent: Monday, December 03, 2001 10:40 PM > > Subject: Moving a window without a dragbar... > > > > > > > I'm writing a little handler to move a window by clicking on it and > > > dragging. I've inserted the following into the stack script: > > > > > > local startX,startY,dragWd > > > > > > on mouseDown > > > put true into dragWd > > > put the mouseH into startX > > > put the mouseV into startY > > > end mouseDown > > > > > > on mouseMove newMouseH, newMouseV > > > if dragWd then > > > set the loc of this stack to \ > > > item 1 of the loc of this stack - startX + newMouseH, \ > > > item 2 of the loc of this stack - startY + newMouseV > > > end if > > > end mouseMove > > > > > > on mouseUp > > > put false into dragWd > > > end mouseUp > > > > > > on mouseRelease > > > put false into dragWd > > > end mouseRelease > > > > > > on mouseLeave > > > put false into dragWd > > > end mouseLeave > > > > > > This way you can build a project with no window borders or titlebar, and > > > have it still be dragged around the screen. How can I get buttons to not > > > react to the handlers above without explicitly coding "catch" handlers? > > > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From heather at runrev.com Tue Dec 4 04:42:00 2001 From: heather at runrev.com (Heather Williams) Date: Tue Dec 4 04:42:00 2001 Subject: unsubscribe In-Reply-To: <200112040751.CAA12445@www.runrev.com> Message-ID: > Hi > > Is it possible for me to change the E-mail address that this is sent to from > guy at brooklineuk.com to gwickenden at hotmail.com Yes, you can manage your subscription by going to the url given in your subscription email, which looks something like this; http://lists.runrev.com/mailman/options/use-revolution/(youremail%address) If you have problems with this please email me directly, heather at runrev.com, please do not send this sort of mail to the list, Regards, Heather > Thanks, > Guy Wickenden -- 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 rpresender at mail.earthlink.net Tue Dec 4 11:42:01 2001 From: rpresender at mail.earthlink.net (Robert Presender) Date: Tue Dec 4 11:42:01 2001 Subject: Revolution and XML Message-ID: At 9:04 AM +1100 12/4/01, Terry Judd wrote: >Where do I find the xtalk list? This may be of interest to you. http://www.flexiblelearning.com/xtalk/ Regards ...Bob From steve at messimercomputing.com Tue Dec 4 12:18:07 2001 From: steve at messimercomputing.com (Steve Messimer) Date: Tue Dec 4 12:18:07 2001 Subject: relative paths and Quicktime Message-ID: Hi, I need a bit of help with a few issues. 1. When a standalone is created are all the resources (Graphics sounds movies ) incorporated directly in the application? 2. I want to include large quicktime movies with my application but I want to include them in a data folder that will use a relative path. Try as I might I am not able to figure out how this is done. I have reviewed the documentation regarding relative vs absolute paths and I understand the difference between the two. I note that when a QT player is created that a path to the file is required. I can easily establish an absolute path to the file using this method but not a relative path. Thanks in advance for the help. Steve Stephen R. Messimer President Messimer Computing, Inc 2501 14th Ave South Escanaba, MI 49829 www.messimercomputing.com From geza67 at freestart.hu Tue Dec 4 13:36:01 2001 From: geza67 at freestart.hu (Geza Lakner MD) Date: Tue Dec 4 13:36:01 2001 Subject: Player Standalone auto-updates from Web In-Reply-To: <200111280229.VAA13913@www.runrev.com> References: <200111280229.VAA13913@www.runrev.com> Message-ID: <141456589.20011204193341@freestart.hu> Hello Chipp, > Very Impressive. My buddy who programs JAVA, C, Python, TKL, C++ etc said he > couldn't do the same and tested on all platforms in under 3 weeks! Kudos for > this programming environment! Just look at the "dark side of the moon" :-) : REBOL (www.rebol.com). Although not an IDE just a script interpreter, it has full cross-platform GUI support. You only need to deploy a 500K exe (the interpreter itself and your script. The "teaching example" of REBOL is an 8K (!) instant messenger with bells and whistles (GUI) ... Like Rev, it is a commercial product, with a quite different licensing scheme. The free version of REBOL has no code length limitation but restricts access to the OS (e.g. no external command execution, no DLL importing, no ODBC). It has a VERY strong parsing engine (give way lex & yacc :-) ) with inherent and instant BNF syntaxes parsing ... Now the cons: the REBOL language is definitely NOT for those familiar with traditional programming languages (C, Java, Pascal and alikes)- it has strong roots in FORTH and LISP/Scheme and has some functional programming flairs, too. BUT even therefore it has FULL introspective capabilities (code IS data and data IS code: they are equivalent in representation; producing self-modifying code is almost an obligatory excercise :-)) ), is very expressive and code readability is nearly unprecedented. Worth to look at it! -- Best regards, Geza mailto:geza67 at freestart.hu From dburgun at earthlink.net Tue Dec 4 14:19:01 2001 From: dburgun at earthlink.net (David Burgun) Date: Tue Dec 4 14:19:01 2001 Subject: Error when using Scroll Bars Message-ID: Hi, I just downloaded the trial version of Revolution and was playing around. The first thing I did was to create a Scroll Bar. It defaulted to Horizontal, I double-clicked it, selected "Scroll Bar" Tab and then selected "Vertical" which produced the following error message: * There was an Execution Error at 12:56:20 PM Error description: Chunk: can't select object that isn't open Revolution User Interface Error: Object: card id 1002 of stack "revErrorDisplay" of stack "/YouthfulIndiscretion/Desktop Folder/Revolution 1.1 Classic/license.rev" -------------------- select line 1 to 7 of fld "error" -------------------- Value: openCard Should I be worried? Is the software still usable? Is there an update? Help!! Thanks in Advance Dave From richardpilot2000 at hotmail.com Tue Dec 4 14:32:01 2001 From: richardpilot2000 at hotmail.com (Richard Pilot) Date: Tue Dec 4 14:32:01 2001 Subject: Custom Browser Message-ID: An HTML attachment was scrubbed... URL: From guillaume_reys at mac.com Tue Dec 4 16:22:01 2001 From: guillaume_reys at mac.com (Guillaume Reys) Date: Tue Dec 4 16:22:01 2001 Subject: use-revolution digest, Vol 1 #40 - 13 msgs In-Reply-To: <200111301715.MAA05229@www.runrev.com> Message-ID: Hello all Does revolution can works with mysql ? Thanks Guillaume REYS France From chipp at chipp.com Tue Dec 4 16:28:00 2001 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 4 16:28:00 2001 Subject: Inside RR IDE... In-Reply-To: Message-ID: I was wondering about the internals of RR. I know it's programmed in Transcript (MetaTalk) but I'm wondering how it does some things. For instance, in Preferences, when you check the "destroyStack property is set to true for new stacks," I assume it automatically sets that property when creating / saving a new stack. Where in the stack is this recorded...or is the property something that is set once and not needed to be set ever again "on Startup" or "on OpenStack." So this would mean a script like "set the destroyStack property of this stack to true" would not be necessary in a standalone because standalones can't modify themselves...and if destroyStack is set appropriately when saving, it never need be futzed with again (futz being a technical term used round this part of Texas). If this is so, then can I assume that RR does not automatically include any "hidden" scripts in my stack? If it does, where and when? Just wondering, Thanks, Chipp Walters -------------- next part -------------- An HTML attachment was scrubbed... URL: From xslaugh at hotmail.com Tue Dec 4 16:40:01 2001 From: xslaugh at hotmail.com (Scott Slaugh) Date: Tue Dec 4 16:40:01 2001 Subject: Tip of the Week Message-ID: Why hasn't there been a new tip of the week for the past few weeks? If you can't think of a topic, I'm sure that you could ask the people on this list and get quite a few. Scott Slaugh -------------- next part -------------- An HTML attachment was scrubbed... URL: From gcanyon at inspiredlogic.com Tue Dec 4 16:58:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Dec 4 16:58:01 2001 Subject: Inside RR IDE... In-Reply-To: References: Message-ID: At 3:13 PM -0600 12/4/01, Chipp Walters wrote: >For instance, in Preferences, when you check the "destroyStack property is set to true for new stacks," I assume it automatically sets that property when creating / saving a new stack. Where in the stack is this recorded...or is the property something that is set once and not needed to be set ever again "on Startup" or "on OpenStack." > >So this would mean a script like "set the destroyStack property of this stack to true" would not be necessary in a standalone because standalones can't modify themselves...and if destroyStack is set appropriately when saving, it never need be futzed with again (futz being a technical term used round this part of Texas). > >If this is so, then can I assume that RR does not automatically include any "hidden" scripts in my stack? If it does, where and when? DestroyStack is a property of the stack. Once set, it never needs to be set again. So there is no script inserted for that. In general, Rev doesn't insert any scripts you don't ask it too. That means that if you use the animation manager or the geometry manager, at the very least those get included in your project. This is true of other things as well, I just picked those two as examples. A more definitive answer would have to come from the rev crew themselves. regards, Geoff From gcanyon at inspiredlogic.com Tue Dec 4 17:01:26 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Dec 4 17:01:26 2001 Subject: use-revolution digest, Vol 1 #40 - 13 msgs In-Reply-To: References: Message-ID: At 10:21 PM +0100 12/4/01, Guillaume Reys wrote: >Does revolution can works with mysql ? As of version 1.1, yes. regards, Geoff From dburgun at earthlink.net Tue Dec 4 19:47:01 2001 From: dburgun at earthlink.net (David Burgun) Date: Tue Dec 4 19:47:01 2001 Subject: Error when using Scroll Bars Message-ID: Hi, I just downloaded the trial version of Revolution and was playing around. The first thing I did was to create a Scroll Bar. It defaulted to Horizontal, I double-clicked it, selected "Scroll Bar" Tab and then selected "Vertical" which produced the following error message: * There was an Execution Error at 12:56:20 PM Error description: Chunk: can't select object that isn't open Revolution User Interface Error: Object: card id 1002 of stack "revErrorDisplay" of stack "/YouthfulIndiscretion/Desktop Folder/Revolution 1.1 Classic/license.rev" -------------------- select line 1 to 7 of fld "error" -------------------- Value: openCard Should I be worried? Is the software still usable? Is there an update? Help!! Thanks in Advance Dave From chipp at chipp.com Tue Dec 4 23:47:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 4 23:47:01 2001 Subject: multiple stacks within files... In-Reply-To: Message-ID: Can you create a single file which has multiple stacks within it? I know it can be done as a standalone, but can you do it with just a stack? thanks, Chipp -------------- next part -------------- An HTML attachment was scrubbed... URL: From gcanyon at inspiredlogic.com Wed Dec 5 01:12:00 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Dec 5 01:12:00 2001 Subject: multiple stacks within files... In-Reply-To: References: Message-ID: At 10:46 PM -0600 12/4/01, Chipp Walters wrote: >Can you create a single file which has multiple stacks within it? I know it can be done as a standalone, but can you do it with just a stack? Yes, easily -- just create a substack, and it will be included in the same (stack) file. regards, Geoff From chipp at chipp.com Wed Dec 5 01:26:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Wed Dec 5 01:26:01 2001 Subject: multiple stacks within files... In-Reply-To: Message-ID: Thanks for the help Geoff. It's great having someone like you around;-) -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Geoff Canyon Sent: Wednesday, December 05, 2001 12:11 AM To: use-revolution at lists.runrev.com Subject: Re: multiple stacks within files... At 10:46 PM -0600 12/4/01, Chipp Walters wrote: >Can you create a single file which has multiple stacks within it? I know it can be done as a standalone, but can you do it with just a stack? Yes, easily -- just create a substack, and it will be included in the same (stack) file. regards, Geoff _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From undo at cloud9.net Wed Dec 5 02:07:01 2001 From: undo at cloud9.net (andu) Date: Wed Dec 5 02:07:01 2001 Subject: multiple stacks within files... References: Message-ID: <3C0DC6C8.13BB9E08@cloud9.net> Chipp Walters wrote: > > Thanks for the help Geoff. It's great having someone like you around;-) > Don't forget, Christmas is coming... -- __________________________ Regards, Andu From matt.denton at limelight.com.au Wed Dec 5 02:22:01 2001 From: matt.denton at limelight.com.au (Matt Denton) Date: Wed Dec 5 02:22:01 2001 Subject: Storing Scripts In-Reply-To: <200112031712.MAA30422@www.runrev.com> Message-ID: <8A1D825F-E950-11D5-AB97-0003930B4708@limelight.com.au> Hi List, I'm trying to work out a way to create a central place to store a series of handlers specific to a type of field I have created: the field simply automatically opens to the maximum depth, resizes when typed in, and closes when you leave the field. My first idea was to place the handlers in a group. No good, placed other 'group movent' restrictions, but kind of right idea. Next idea was in the card Script. No good, this would trap field events (openField etc) for fields that I didn't want trapped. Next idea: Insert Script command. Again trapped events for fields that I didn't want trapped. Of course I could write: on openField goDoSomething end openField on closeField goDoSomethingElse end closeField etc but that would mean updates would require adding to every single field. So is there a way to say: "send all messages for this field to this script". ... sort of an insert script command but at an object level. I'm sure this OO scenario has been worked out, I just don't know how to do it yet.. oui [ ] non [ ]? Group scripts exhibit this behavior; just need a group script that doesn't group the object's movement. Any help would be appreciated. Thanks Matt Denton From undo at cloud9.net Wed Dec 5 02:42:01 2001 From: undo at cloud9.net (andu) Date: Wed Dec 5 02:42:01 2001 Subject: Storing Scripts References: <8A1D825F-E950-11D5-AB97-0003930B4708@limelight.com.au> Message-ID: <3C0DCF35.9D390C02@cloud9.net> Matt Denton wrote: > > Hi List, > > I'm trying to work out a way to create a central place to store a series > of handlers specific to a type of field I have created: the field simply > automatically opens to the maximum depth, resizes when typed in, and > closes when you leave the field. > > My first idea was to place the handlers in a group. No good, placed > other 'group movent' restrictions, but kind of right idea. > > Next idea was in the card Script. No good, this would trap field events > (openField etc) for fields that I didn't want trapped. > > Next idea: Insert Script command. Again trapped events for fields that I > didn't want trapped. > > Of course I could write: > > on openField > goDoSomething > end openField > > on closeField > goDoSomethingElse > end closeField > > etc > > but that would mean updates would require adding to every single field. > So is there a way to say: > > "send all messages for this field to this script". > > ... sort of an insert script command but at an object level. I'm sure > this OO scenario has been worked out, I just don't know how to do it > yet.. oui [ ] non [ ]? Group scripts exhibit this behavior; just need a > group script that doesn't group the object's movement. > > Any help would be appreciated. This was just discussed in the past few days: Put all handlers in the stack or card script and specify in them what action to trigger depending on object name. on openField switch the short name of the target case "field1" do_some_stuff #specific for field "field1" break case "field2" do_other_stuff #specific for field "field2" break #...and so on... end switch end openField > > Thanks > > Matt Denton > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- __________________________ Regards, Andu From drvaughan55 at mac.com Wed Dec 5 05:46:01 2001 From: drvaughan55 at mac.com (David Vaughan) Date: Wed Dec 5 05:46:01 2001 Subject: Change stack in openStack In-Reply-To: <8A1D825F-E950-11D5-AB97-0003930B4708@limelight.com.au> Message-ID: Hi In accord with advice on the web site, I have a sub-stack which contains data to be saved between runs of the application. When opening the main stack, I want to retrieve some defaults and last user data and populate the main stack fields. This is a fragment of the code: on openStack global gPinions, gSpurs set hilite of button "Pinion" to false [more "set" statements deleted] set hilite of button "Rollout" to true put empty into field "poss rollout" put 0.5 into field "Tolerance" lock screen go stack "Gears" [more lines deleted] end openStack I tried painfully building the lines until I could isolate where it fell over, as the debugger seems arcane. It is when you add the code <> when it produces this error, apparently from one of the tool stacks, not mine. This is the message: ============== ? There was an Execution Error at 9:30:23 PM Error description: if-then: error in statement Revolution User Interface Error: Object: button id 1137 of group id 1136 of card id 1002 of stack "/Elsewhere/Users/davidv/Applications/Revolution 1.1 OS X/components/tools/revmenubar.rev" -------------------- if it is not empty then -------------------- Value: menuPick =============== The same code works perfectly if I put it in a button and execute it "manually". What is going on here please? thanks David Vaughan From drvaughan55 at mac.com Wed Dec 5 05:48:01 2001 From: drvaughan55 at mac.com (David Vaughan) Date: Wed Dec 5 05:48:01 2001 Subject: Change stack in openStack In-Reply-To: <8A1D825F-E950-11D5-AB97-0003930B4708@limelight.com.au> Message-ID: <059F4405-E96D-11D5-8B3D-00039344C7B8@mac.com> Hi In accord with advice on the web site, I have a sub-stack which contains data to be saved between runs of the application. When opening the main stack, I want to retrieve some defaults and last user data and populate the main stack fields. This is a fragment of the code: on openStack global gPinions, gSpurs set hilite of button "Pinion" to false [more "set" statements deleted] set hilite of button "Rollout" to true put empty into field "poss rollout" put 0.5 into field "Tolerance" lock screen go stack "Gears" [more lines deleted] end openStack I tried painfully building the lines until I could isolate where it fell over, as the debugger seems arcane. It is when you add the code <> when it produces this error, apparently from one of the tool stacks, not mine. This is the message: ============== ? There was an Execution Error at 9:30:23 PM Error description: if-then: error in statement Revolution User Interface Error: Object: button id 1137 of group id 1136 of card id 1002 of stack "/Elsewhere/Users/davidv/Applications/Revolution 1.1 OS X/components/tools/revmenubar.rev" -------------------- if it is not empty then -------------------- Value: menuPick =============== The same code works perfectly if I put it in a button and execute it "manually". What is going on here please? thanks David Vaughan From matt.denton at limelight.com.au Wed Dec 5 06:08:01 2001 From: matt.denton at limelight.com.au (Matt Denton) Date: Wed Dec 5 06:08:01 2001 Subject: OpenField Message In-Reply-To: <200112041707.MAA20041@www.runrev.com> Message-ID: <0471E1BD-E970-11D5-AB97-0003930B4708@limelight.com.au> Hey all, Not sure why an OpenField message is being sent every time a card is opened, is that normal behavior? Try this: create a new stack, add two cards, add a field to one of the cards and put: on openField beep end openField and type 'go next cd' and return a few times in the msg box. A beep! Is this something to do with Traversal On? The field isn't opened but the message is being sent. Checked through the documentation but could find nothing. Any help -- logic and reason behind this -- would be of help. Kind regards, M@ Matt Denton From gcanyon at inspiredlogic.com Wed Dec 5 11:38:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Dec 5 11:38:01 2001 Subject: OpenField Message In-Reply-To: <0471E1BD-E970-11D5-AB97-0003930B4708@limelight.com.au> References: <0471E1BD-E970-11D5-AB97-0003930B4708@limelight.com.au> Message-ID: At 10:05 PM +1100 12/5/01, Matt Denton wrote: >Not sure why an OpenField message is being sent every time a card is opened, is that normal behavior? > >Try this: create a new stack, add two cards, add a field to one of the cards and put: > >on openField > beep >end openField > >and type 'go next cd' and return a few times in the msg box. A beep! >Is this something to do with Traversal On? The field isn't opened but the message is being sent. Checked through the documentation but could find nothing. > >Any help -- logic and reason behind this -- would be of help. If I remember correctly, the first field gets focus when you go to a card, because on non-mac platforms, it's a requirement that if anything _can_ have the focus, one of those things must has the focus at all times. One way around this is to have another field outside the bounds of the window, at a lower(?) layer than any other field, so that it receives the focus. regards, gc From jerry at danielsfamily.org Wed Dec 5 11:56:01 2001 From: jerry at danielsfamily.org (Jerry Daniels) Date: Wed Dec 5 11:56:01 2001 Subject: String width Message-ID: <001401c17dad$6e2f6aa0$3b83f6d1@mshome.net> Does anyone know how to determine the width of a string (given it's font, style and size) within an executable that is running on either a Windows, Linux or Mac? I know there were plenty of XFCNs on the Mac to do this, but is there anything on the Windows or Linux for this? Thanks, in advance, for any help. From dburgun at earthlink.net Wed Dec 5 12:16:02 2001 From: dburgun at earthlink.net (David Burgun) Date: Wed Dec 5 12:16:02 2001 Subject: Error when using Scroll Bars In-Reply-To: References: Message-ID: Hi, Since the posting below I have tried using it some more and am getting the same type of error all over the place! This is the system I am running it on: Mac PowerBook G3/233/192 MacOS 8.6 Is this a known problem? It's pretty unusable as it is now. Thanks in advance for any advice All the Best Dave >Hi, > >I just downloaded the trial version of Revolution and was playing >around. The first thing I did was to create a Scroll Bar. It >defaulted to Horizontal, I double-clicked it, selected "Scroll Bar" >Tab and then selected "Vertical" which produced the following error >message: > > * There was an Execution Error at 12:56:20 PM >Error description: Chunk: can't select object that isn't open >Revolution User Interface Error: Object: card id 1002 of stack >"revErrorDisplay" of stack "/YouthfulIndiscretion/Desktop >Folder/Revolution 1.1 Classic/license.rev" >-------------------- >select line 1 to 7 of fld "error" >-------------------- >Value: openCard > > >Should I be worried? Is the software still usable? Is there an update? > >Help!! > >Thanks in Advance >Dave >_______________________________________________ >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 Dec 5 12:17:19 2001 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Wed Dec 5 12:17:19 2001 Subject: Serial communications and Mac OS X Message-ID: Gene, Thanks for the info on the Serial Port Scripting Addition. I have contacted the author of it and he is looking at making it work in X but sees it as a big job so it won't be ready very soon. I also contacted the author of ZTerm which is the only OS X native application I am aware of which works fine with the KeySpan adapter. He sent me the following Apple Developer Links which include programming samples for Project Builder and Code Warrior. Perhaps someone can adapt these for Revolution. See: http://developer.apple.com/qa/dv/dv39.html and http://developer.apple.com/samplecode/Sample_Code/Devices_and_Hardware/Serial/ SerialPortSample.htm Bill Vlahos Jet Propulsion Laboratory > Message: 3 > Date: Sat, 01 Dec 2001 19:41:19 -0500 > From: Gene Kennedy > Organization: cyberscope > To: use-revolution at lists.runrev.com > Subject: Re: Serial Ports > Reply-To: use-revolution at lists.runrev.com > > It is possible to read/write data from/to serial ports via AppleScript, > a KeySpan USB to Serial Adapter and > a shareware Serial Port Scripting Addition (you can download from > various sites). On my iMac, I can access > any of the three serial ports (i.e. the internal modem, KeySpan #1 and > KeySpan #2) using the above > combination. The only trick part is using quotes properly in the > AppleScript statements. > > For example: > > -- use a handler to open the desired serial port, write the data to it, > then close the port. > > On SendIt > do "Open serial port " & quote & "P#1USA28X012" & quote as > AppleScript -- this uses KeySpan port#1 > put the result into thePort -- some variable to hold the port > reference for the scripting addition > do "serial port write " & theData & "to " & thePort as AppleScript > do "Close serial port " & thePort as AppleScript > End SendIt > > > Although I am just getting started with Revolution myself, this scheme > works reliably for me on an iMac and > an iBook using System 8.6.1 and 9.1 respectively. For what it's worth, > I have used the KeySpan adapters in > all of the systems I have delivered over the past four years and never > experienced a failure. I hope I'll > be able to say that about my apps someday. > > PS I have no experience with OS X so I don't know if the above will > apply! > > Best regards, > > Gene Kennedy -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2445 bytes Desc: not available URL: From kray at sonsothunder.com Wed Dec 5 12:31:01 2001 From: kray at sonsothunder.com (Ken Ray) Date: Wed Dec 5 12:31:01 2001 Subject: Apple Advertising Revolution! Message-ID: <002301c17db2$ff25c2c0$9865fea9@mc14> Didn't know if you knew this, but on the Mac OS X home page at apple's site, Revolution appears under the What's New column! Great to see Apple advertising Rev! Go to : http://www.apple.com/macosx/ Enjoy! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From undo at cloud9.net Wed Dec 5 13:10:01 2001 From: undo at cloud9.net (andu) Date: Wed Dec 5 13:10:01 2001 Subject: Apple Advertising Revolution! References: <002301c17db2$ff25c2c0$9865fea9@mc14> Message-ID: <3C0E6234.AB2D4FB6@cloud9.net> Ken Ray wrote: > > Didn't know if you knew this, but on the Mac OS X home page at apple's site, > Revolution appears under the What's New column! Great to see Apple > advertising Rev! I'm not surprised, with so few applications running on OSX. That is to say that Metacard/Revolution should've been advertised by Apple a long time ago not only because it's such a great product but also because it covered an area they neglected for such a long time. > > Go to : http://www.apple.com/macosx/ > > Enjoy! > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ -- __________________________ Regards, Andu From cspooner at lamar.colostate.edu Wed Dec 5 13:17:00 2001 From: cspooner at lamar.colostate.edu (Craig Spooner) Date: Wed Dec 5 13:17:00 2001 Subject: Apple Advertising Revolution! In-Reply-To: <002301c17db2$ff25c2c0$9865fea9@mc14> References: <002301c17db2$ff25c2c0$9865fea9@mc14> Message-ID: I looked around for a while before I found it at http://www.apple.com/downloads/macosx/development_tools/revolution.html >Didn't know if you knew this, but on the Mac OS X home page at apple's site, >Revolution appears under the What's New column! Great to see Apple >advertising Rev! > >Go to : http://www.apple.com/macosx/ > >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 -- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ Craig Spooner Instructional Technology Training and Development WebCT Administrator Office of Instructional Services Colorado State University (970) 491-2516 From kray at sonsothunder.com Wed Dec 5 13:47:00 2001 From: kray at sonsothunder.com (Ken Ray) Date: Wed Dec 5 13:47:00 2001 Subject: Apple Advertising Revolution! References: <002301c17db2$ff25c2c0$9865fea9@mc14> Message-ID: <003501c17dbd$8a238880$9865fea9@mc14> Wow! People at Apple move quickly! It was just there (in the What's New column) this morning, and now it (along with Illustrator 10) is gone! Thanks for finding it, Craig! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Craig Spooner" To: Sent: Wednesday, December 05, 2001 12:14 PM Subject: Re: Apple Advertising Revolution! > I looked around for a while before I found it at > http://www.apple.com/downloads/macosx/development_tools/revolution.html > > > > >Didn't know if you knew this, but on the Mac OS X home page at apple's site, > >Revolution appears under the What's New column! Great to see Apple > >advertising Rev! > > > >Go to : http://www.apple.com/macosx/ > > > >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 > > > -- > > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ > \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ > > Craig Spooner > Instructional Technology Training and Development > WebCT Administrator > Office of Instructional Services > Colorado State University > (970) 491-2516 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dburgun at earthlink.net Wed Dec 5 13:58:00 2001 From: dburgun at earthlink.net (David Burgun) Date: Wed Dec 5 13:58:00 2001 Subject: Apple Advertising Revolution! In-Reply-To: <3C0E6234.AB2D4FB6@cloud9.net> References: <002301c17db2$ff25c2c0$9865fea9@mc14> <3C0E6234.AB2D4FB6@cloud9.net> Message-ID: >Ken Ray wrote: >> >> Didn't know if you knew this, but on the Mac OS X home page at apple's site, >> Revolution appears under the What's New column! Great to see Apple >> advertising Rev! > >I'm not surprised, with so few applications running on OSX. That is to >say that Metacard/Revolution should've been advertised by Apple a long >time ago not only because it's such a great product but also because it >covered an area they neglected for such a long time. Totally agree, they are so desperate for X apps/developers etc. that they'll envangelize anything at the moment. Not that RR doesn't *deserve* to be envangelized, but "normally" I'm willing to bet that they'd see it as competition for AS Studio and not advertise it. Cheers Dave From gcanyon at inspiredlogic.com Wed Dec 5 14:03:06 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Dec 5 14:03:06 2001 Subject: String width In-Reply-To: <001401c17dad$6e2f6aa0$3b83f6d1@mshome.net> References: <001401c17dad$6e2f6aa0$3b83f6d1@mshome.net> Message-ID: At 10:53 AM -0600 12/5/01, Jerry Daniels wrote: >Does anyone know how to determine the width of a string (given it's >font, style and size) within an executable that is running on either a >Windows, Linux or Mac? > >I know there were plenty of XFCNs on the Mac to do this, but is there >anything on the Windows or Linux for this? As is so often the case with Revolution, no external is required -- the functionality is already there. Check out the formattedWidth function. I love saying "It's built-in" :-) regards, Geoff From gcanyon at inspiredlogic.com Wed Dec 5 14:06:00 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Dec 5 14:06:00 2001 Subject: Error when using Scroll Bars In-Reply-To: References: Message-ID: At 10:02 AM -0700 12/5/01, David Burgun wrote: >Since the posting below I have tried using it some more and am getting the same type of error all over the place! > >This is the system I am running it on: > >Mac PowerBook G3/233/192 >MacOS 8.6 > >Is this a known problem? It's pretty unusable as it is now. Odd -- I did see the same error with scrollbars you did, but the environment overall is working fine for me. (I know, it's frustrating to hear that) Have you tried starting with a fresh copy of Revolution and a different stack? Is it a converted HyperCard stack? Can you give some more specifics, or post the stack in question someplace with a recipe to cause failure? regards, Geoff From dburgun at earthlink.net Wed Dec 5 14:15:01 2001 From: dburgun at earthlink.net (David Burgun) Date: Wed Dec 5 14:15:01 2001 Subject: Error when using Scroll Bars In-Reply-To: References: Message-ID: >At 10:02 AM -0700 12/5/01, David Burgun wrote: >>Since the posting below I have tried using it some more and am >>getting the same type of error all over the place! >> >>This is the system I am running it on: >> >>Mac PowerBook G3/233/192 >>MacOS 8.6 >> >>Is this a known problem? It's pretty unusable as it is now. > >Odd -- I did see the same error with scrollbars you did, but the >environment overall is working fine for me. (I know, it's >frustrating to hear that) Have you tried starting with a fresh copy >of Revolution and a different stack? I just created a New "Play" Stack and was just defining some "test" objects and generally playing around. I'll go back and see if I can re-trace exactly which objects are causing the errors. Scroll Bars Definitely do it, but I've found it in a couple of other places too. If I get these errors is it ok to just ignore them? By "Unusable" I actually meant I was scared to use it in case I was in danger of causing dammage to the system/environment and/or wasting my time because the stack would be invalid. >Is it a converted HyperCard stack? No > >Can you give some more specifics, or post the stack in question >someplace with a recipe to cause failure? Will do. Thanks a lot for the help Dave From tfseibert at mac.com Wed Dec 5 15:12:01 2001 From: tfseibert at mac.com (Tom) Date: Wed Dec 5 15:12:01 2001 Subject: filter command and "not" wildcards Message-ID: <47AF5D81-E9BC-11D5-AEC1-000502F65112@mac.com> Hi, I love the filter command and keep trying to make it do more. I would now like to use it to "find" all lines that do not contain a certain item. Specifically filtering for the following string "* 3 *" will find any line that has a 3 as the second item (item delimiter defined as a TAB), but I can't get a string to work that will "find" all lines using the following syntax: "* [^3] *". Also, is there some type of syntax that will not find words like the [^chars] will not find characters? There are no examples of this in the "Regular Expressions Syntax" section. Thanks. Tom Seibert From undo at cloud9.net Wed Dec 5 15:37:01 2001 From: undo at cloud9.net (andu) Date: Wed Dec 5 15:37:01 2001 Subject: filter command and "not" wildcards References: <47AF5D81-E9BC-11D5-AEC1-000502F65112@mac.com> Message-ID: <3C0E84D7.BC704F75@cloud9.net> Tom wrote: > > Hi, > > I love the filter command and keep trying to make it do more. I would > now like to use it to "find" all lines that do not contain a certain > item. Specifically filtering for the following string "* 3 *" will find > any line that has a 3 as the second item (item delimiter defined as a > TAB), but I can't get a string to work that will "find" all lines using > the following syntax: > "* [^3] *". Also, is there some type of syntax that will not find > words like the [^chars] will not find characters? There are no examples > of this in the "Regular Expressions Syntax" section. Thanks. Look up "matchText()" > > Tom Seibert > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- __________________________ Regards, Andu From kray at sonsothunder.com Wed Dec 5 15:52:01 2001 From: kray at sonsothunder.com (Ken Ray) Date: Wed Dec 5 15:52:01 2001 Subject: OpenField Message References: <0471E1BD-E970-11D5-AB97-0003930B4708@limelight.com.au> Message-ID: <00ad01c17dce$f610ddc0$9865fea9@mc14> Geoff, I'm pretty sure it's possible to not have an object take the focus when a card opens. Just make sure the traversalOn property of all objects on the card is false. I do this especially when the first object on a card is a list field, and I don't want the first item in the list field highlighted (which will happen if the traversalOn is true). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Geoff Canyon" To: Sent: Wednesday, December 05, 2001 10:37 AM Subject: Re: OpenField Message > At 10:05 PM +1100 12/5/01, Matt Denton wrote: > >Not sure why an OpenField message is being sent every time a card is opened, is that normal behavior? > > > >Try this: create a new stack, add two cards, add a field to one of the cards and put: > > > >on openField > > beep > >end openField > > > >and type 'go next cd' and return a few times in the msg box. A beep! > >Is this something to do with Traversal On? The field isn't opened but the message is being sent. Checked through the documentation but could find nothing. > > > >Any help -- logic and reason behind this -- would be of help. > > If I remember correctly, the first field gets focus when you go to a card, because on non-mac platforms, it's a requirement that if anything _can_ have the focus, one of those things must has the focus at all times. One way around this is to have another field outside the bounds of the window, at a lower(?) layer than any other field, so that it receives the focus. > > regards, > > gc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From jerry at danielsfamily.org Wed Dec 5 16:01:01 2001 From: jerry at danielsfamily.org (Jerry Daniels) Date: Wed Dec 5 16:01:01 2001 Subject: String width In-Reply-To: Message-ID: <004401c17dcf$9fdf5340$3b83f6d1@mshome.net> Thx, Geoff. -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Geoff Canyon Sent: Wednesday, December 05, 2001 1:01 PM To: use-revolution at lists.runrev.com Subject: Re: String width At 10:53 AM -0600 12/5/01, Jerry Daniels wrote: >Does anyone know how to determine the width of a string (given it's >font, style and size) within an executable that is running on either a >Windows, Linux or Mac? > >I know there were plenty of XFCNs on the Mac to do this, but is there >anything on the Windows or Linux for this? As is so often the case with Revolution, no external is required -- the functionality is already there. Check out the formattedWidth function. I love saying "It's built-in" :-) regards, Geoff _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From gcanyon at inspiredlogic.com Wed Dec 5 16:28:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Dec 5 16:28:01 2001 Subject: Error when using Scroll Bars In-Reply-To: References: Message-ID: At 12:13 PM -0700 12/5/01, David Burgun wrote: >If I get these errors is it ok to just ignore them? By "Unusable" I actually meant I was scared to use it in case I was in danger of causing dammage to the system/environment and/or wasting my time because the stack would be invalid. I haven't had a situation like this since 1.0, but my standard reaction if I start getting errors like this is to not be too concerned, but also not push it too hard -- if I get numerous errors, I'm likely to exit Rev and go back in. Revolution (the development environment) operates at a high level -- when it rearranges a scrollbar from vertical to horizontal, it does so in the same transcript terms you might use -- certainly you would understand the commands it uses to drive the underlying engine. As such, issues of stack corruption are near-impossible. The worst I could imagine is that properties (size, location, style, color, etc.) might be set to inappropriate values, forcing you to change them back or go to a backup copy of the stack. The concept of "hidden" corruption is foreign to Revolution -- it just doesn't happen. (knock on wood, since _anything_ can happen if you give it long enough and push it hard enough) I assume that the Revolution environment saves itself only under controlled circumstances, so the possibility of mangling it is remote as well. In short, your stacks are very safe. Environment errors should only concern you if they cause unexpected results -- clicking the "go next" button, and going two cards forward would be a good example :-/ regards, Geoff PS -- For anyone who's curious or doubtful, here's the script of the popup that changes scrollbars from vertical to horizontal and back: on menuPick pWhich lock screen put revPaletteObjects() into tObjects if pWhich is "Horizontal" then repeat for each line l in tObjects put max(the height of l,the width of l) into tWidth put min(the width of l, the height of l) into tHeight put the loc of l into tLoc set the width of l to tWidth set the height of l to tHeight set the loc of l to tLoc end repeat else --make orientation vertical repeat for each line l in tObjects put max(the height of l,the width of l) into tHeight put min(the width of l, the height of l) into tWidth put the loc of l into tLoc set the width of l to tWidth set the height of l to tHeight set the loc of l to tLoc end repeat end if unlock screen end menuPick From dburgun at earthlink.net Wed Dec 5 16:44:01 2001 From: dburgun at earthlink.net (David Burgun) Date: Wed Dec 5 16:44:01 2001 Subject: Error when using Scroll Bars In-Reply-To: References: Message-ID: Thanks a lot for the advice, you made me feel better. Now for a question on this: >PS -- For anyone who's curious or doubtful, here's the script of the >popup that changes scrollbars from vertical to horizontal and back: > >on menuPick pWhich > lock screen > put revPaletteObjects() into tObjects > if pWhich is "Horizontal" then > repeat for each line l in tObjects > put max(the height of l,the width of l) into tWidth > put min(the width of l, the height of l) into tHeight > put the loc of l into tLoc > set the width of l to tWidth > set the height of l to tHeight > set the loc of l to tLoc > end repeat > else > --make orientation vertical > repeat for each line l in tObjects > put max(the height of l,the width of l) into tHeight > put min(the width of l, the height of l) into tWidth > put the loc of l into tLoc > set the width of l to tWidth > set the height of l to tHeight > set the loc of l to tLoc > end repeat > end if > unlock screen >end menuPick What exactly is being moved here? Is it the actual Pixel Values from the PixMap? Also, is there any documentation in PDF form that I can print off and read away from the screen? I like to sit back and relax when learning something new. Thanks for all your help Dave From jperryl at ecs.fullerton.edu Wed Dec 5 16:56:01 2001 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed Dec 5 16:56:01 2001 Subject: Apple Advertising Revolution! In-Reply-To: <003501c17dbd$8a238880$9865fea9@mc14> Message-ID: I believe it's been there a week or more... Judy On Wed, 5 Dec 2001, Ken Ray wrote: > Wow! People at Apple move quickly! From gcanyon at inspiredlogic.com Wed Dec 5 17:51:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Dec 5 17:51:01 2001 Subject: OpenField Message In-Reply-To: <00ad01c17dce$f610ddc0$9865fea9@mc14> References: <0471E1BD-E970-11D5-AB97-0003930B4708@limelight.com.au> <00ad01c17dce$f610ddc0$9865fea9@mc14> Message-ID: At 2:53 PM -0600 12/5/01, Ken Ray wrote: >I'm pretty sure it's possible to not have an object take the focus when a >card opens. Just make sure the traversalOn property of all objects on the >card is false. I do this especially when the first object on a card is a >list field, and I don't want the first item in the list field highlighted >(which will happen if the traversalOn is true). Well, I did say "If I remember correctly..." ;-) But doesn't that mean that you can't type in the field, if it is a text field as opposed to a list field? regards, geoff From gcanyon at inspiredlogic.com Wed Dec 5 17:58:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Dec 5 17:58:01 2001 Subject: Error when using Scroll Bars In-Reply-To: References: Message-ID: At 2:42 PM -0700 12/5/01, David Burgun wrote: >What exactly is being moved here? Is it the actual Pixel Values from the PixMap? No, it's just changing the width and height of the object so that it is the same size, but oriented a certain way. Here's the script again, with some comments. Bear in mind that I didn't write this, so mistakes in commenting are possible. -- This is the script from the Horizontal/Vertical popup in the -- properties palette. You see it when you show properties -- on a scrollbar. on menuPick pWhich -- prevent screen updates lock screen -- get a list of the objects the user has selected put revPaletteObjects() into tObjects -- are we going to make them all horizontal, or vertical? -- if horizontal if pWhich is "Horizontal" then -- do this for each of the objects the user has selected repeat for each line l in tObjects -- get the larger dimension of the object put max(the height of l,the width of l) into tWidth -- get the smaller dimension of the object put min(the width of l, the height of l) into tHeight -- get the current location of the object put the loc of l into tLoc -- set the width of the object to the larger dimension set the width of l to tWidth -- set the height of the object to the smaller dimension set the height of l to tHeight -- make sure the object remains at the same location set the loc of l to tLoc end repeat else --make orientation vertical -- imagine the same comments here, in reverse :-) repeat for each line l in tObjects put max(the height of l,the width of l) into tHeight put min(the width of l, the height of l) into tWidth put the loc of l into tLoc set the width of l to tWidth set the height of l to tHeight set the loc of l to tLoc end repeat end if unlock screen end menuPick From kray at sonsothunder.com Wed Dec 5 18:25:01 2001 From: kray at sonsothunder.com (Ken Ray) Date: Wed Dec 5 18:25:01 2001 Subject: Apple Advertising Revolution! References: Message-ID: <001201c17de3$74e816e0$74d1f018@charter.net> Sorry. But this was the first I'd heard of it on the list, so I thought I'd been the first one to see it. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Website: http://www.sonsothunder.com/ ----- Original Message ----- From: "Judy Perry" To: Sent: Wednesday, December 05, 2001 3:54 PM Subject: Re: Apple Advertising Revolution! > I believe it's been there a week or more... > > Judy > > On Wed, 5 Dec 2001, Ken Ray wrote: > > > Wow! People at Apple move quickly! > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Wed Dec 5 18:29:00 2001 From: kray at sonsothunder.com (Ken Ray) Date: Wed Dec 5 18:29:00 2001 Subject: OpenField Message References: <0471E1BD-E970-11D5-AB97-0003930B4708@limelight.com.au> <00ad01c17dce$f610ddc0$9865fea9@mc14> Message-ID: <002801c17de3$fc81d5a0$74d1f018@charter.net> True, you can't. There are workarounds (of course). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Website: http://www.sonsothunder.com/ ----- Original Message ----- From: "Geoff Canyon" To: Sent: Wednesday, December 05, 2001 4:49 PM Subject: Re: OpenField Message > At 2:53 PM -0600 12/5/01, Ken Ray wrote: > >I'm pretty sure it's possible to not have an object take the focus when a > >card opens. Just make sure the traversalOn property of all objects on the > >card is false. I do this especially when the first object on a card is a > >list field, and I don't want the first item in the list field highlighted > >(which will happen if the traversalOn is true). > > Well, I did say "If I remember correctly..." ;-) But doesn't that mean that you can't type in the field, if it is a text field as opposed to a list field? > > regards, > > geoff > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Wed Dec 5 19:05:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Wed Dec 5 19:05:01 2001 Subject: armedicon property In-Reply-To: <002801c17de3$fc81d5a0$74d1f018@charter.net> Message-ID: Has anyone seen a problem with the armedicon property and a button staying "armed" after the mouse has left it? You can see what I mean - Check out the stack at http://www.altuit.com/webs/altuit2/RunRev/HemingwayTools.htm PC VERSION ONLY (mac isn't ready yet so don't download it) and you can see the problem. This project is a self updating application which checks the version number at a server ASP page and downloads. It also has a silent check mode which executes after the stack is open for 10 seconds then lights up an interface light if a new version becomes available. -Chipp From Zzyzx at Relia.Net Wed Dec 5 19:37:01 2001 From: Zzyzx at Relia.Net (Josh Dye) Date: Wed Dec 5 19:37:01 2001 Subject: ATTENTION ALL: Message-ID: <002901c17df7$06cf5650$0200a8c0@ws1> Hello, I would just like to say that I am getting WAY too many E-Mail messages a day. I think we all should really cut down on the sending of the E-Mails. I have at least 400 un-read messages that I don't nearly have the time to read. I get at least a minimum of 50 E-Mails a day just from this list(s). So, I am just asking you please to cut down on the E-Mails that you send. Perhaps you could combine 3 messages into 1 E-mail. Do whatever, just if you could please try to cut down on the Messages. Thank you all. - Josh Dye From jerry at danielsfamily.org Wed Dec 5 19:52:01 2001 From: jerry at danielsfamily.org (Jerry Daniels) Date: Wed Dec 5 19:52:01 2001 Subject: ATTENTION ALL: In-Reply-To: <002901c17df7$06cf5650$0200a8c0@ws1> Message-ID: <005901c17def$d3e5e800$3b83f6d1@mshome.net> Ironic that this one got sent twice to me! -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Josh Dye Sent: Wednesday, December 05, 2001 7:41 PM To: improve-revolution at lists.runrev.com Cc: use-revolution at lists.runrev.com Subject: ATTENTION ALL: Hello, I would just like to say that I am getting WAY too many E-Mail messages a day. I think we all should really cut down on the sending of the E-Mails. I have at least 400 un-read messages that I don't nearly have the time to read. I get at least a minimum of 50 E-Mails a day just from this list(s). So, I am just asking you please to cut down on the E-Mails that you send. Perhaps you could combine 3 messages into 1 E-mail. Do whatever, just if you could please try to cut down on the Messages. Thank you all. - Josh Dye _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From undo at cloud9.net Wed Dec 5 20:05:01 2001 From: undo at cloud9.net (andu) Date: Wed Dec 5 20:05:01 2001 Subject: ATTENTION ALL: References: <002901c17df7$06cf5650$0200a8c0@ws1> Message-ID: <3C0EC389.8EF357D2@cloud9.net> Josh Dye wrote: > > Hello, > I would just like to say that I am getting WAY too many E-Mail messages > a day. I think we all should really cut down on the sending of the E-Mails. > I have at least 400 un-read messages that I don't nearly have the time to > read. I get at least a minimum of 50 E-Mails a day just from this list(s). > So, I am just asking you please to cut down on the E-Mails that you send. > Perhaps you could combine 3 messages into 1 E-mail. Do whatever, just if you > could please try to cut down on the Messages. > Thank you all. How about if you unsubscribe yourself and one of us can send you an edited edition of our monthly exchanges just so that you don't have to go through al the non essential stuff yourself. We can even make sure all scripts posted actually work and comment them where necessary. Promise to keep it short and entertaining to the max with lots of pictures (wink, wink). > > - Josh Dye > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- __________________________ Regards, Andu From dburgun at earthlink.net Wed Dec 5 20:08:01 2001 From: dburgun at earthlink.net (David Burgun) Date: Wed Dec 5 20:08:01 2001 Subject: ATTENTION ALL: In-Reply-To: <002901c17df7$06cf5650$0200a8c0@ws1> References: <002901c17df7$06cf5650$0200a8c0@ws1> Message-ID: If you don't want to receive messages on the subject, then why subscribe in the first place? Joining three messages into one won't cut down on the amount of reading that people have to do and it will make it harder to see which thread(s) you are interested in and so will make it harder work to everyone else. I'll post as many messages to the list as the list mom allows, if it's all too much for you then just un-subscribe or use some filters to get better control of your mail. I receive over 200 messages a day and I can cope. I don't read em all, I just use filters to push them into mail boxes that I scan occasionally to see if there is anything of interest................ Might I suggest you implement a similar scheme? Dave >Hello, > I would just like to say that I am getting WAY too many E-Mail messages >a day. I think we all should really cut down on the sending of the E-Mails. >I have at least 400 un-read messages that I don't nearly have the time to >read. I get at least a minimum of 50 E-Mails a day just from this list(s). >So, I am just asking you please to cut down on the E-Mails that you send. >Perhaps you could combine 3 messages into 1 E-mail. Do whatever, just if you >could please try to cut down on the Messages. >Thank you all. > > > > - Josh Dye > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From katir at hindu.org Wed Dec 5 20:24:02 2001 From: katir at hindu.org (Sivakatirswami) Date: Wed Dec 5 20:24:02 2001 Subject: relative paths and Quicktime In-Reply-To: <200112050724.CAA01695@www.runrev.com> Message-ID: on 12/4/01 9:24 PM, Steve wrote: > 2. I want to include large quicktime movies with my application but I want > to include them in a data folder that will use a relative path. Try as I > might I am not able to figure out how this is done. I have reviewed the > documentation regarding relative vs absolute paths and I understand the > difference between the two. Steve: First of all, the directory thing may "drive you crazy" in the beginning, especially if you are a Mac user, because you may never know exactly where you are and Rev/Metacard is based on UNIX paradigm of dynamically setting the directory location. But after a while the haze will fade. Since this was a source of a lot of blood, sweat and tearing of hair (grin) out of compassion we offer this experience, hope it helps: Note, if you are making CD's and put a standalone on the top level of the CD and your media in a separate directory also on the top level, it may not work on Windows. I don't know if microBrain every fixed this bug, but it appears in other contexts as well, and has nothing to do with Rev or Metacard, but files on the top level of a CD don't seem to know "where they are" on Windows.... That said, this works for us here and we can move the entire show to any server on the LAN and Ethernet clients can play it over the network and all the path thing works regardless of where it is: a) Make a folder/directory, call it "My Great Multi-Media Show" b) put your main stack (or standalone) inside that folder and then c) put your media folders on the same level inside that folder, Movies, Sounds, Images, Text etc d) use the following script in your stack script. global gRootDir on preOpenStack #find and set the root Directory #for all subsequent file references to "lower" media setRootDir # now your other preopenStack script go here end preopenStack on setRootDir put the filename of this stack into stackLocation set the itemdel to "/" delete the last item of stackLocation put stackLocation into gRootDir set the directory to gRootDir end setRootDir Later you can use the global gRootDir to "get home" as needed for scripts like the one below. During runtime development you can just type in the message box "setRootDir" if file refs seem not to be working. MAJOR CAVEAT: Note, if you are manually clicking in the properties window to set the filename reference to link images, you will want to be careful to delete the path info that is "higher" than your gRootDir in the filename link field of the image properties dialog box. e.g. if you choose the image it might put a ref like this: /MyhardDrive/workingProjects/GreatShow/movies/intro.mov even though your stack is actually in the GreatShow directory...but, using the above script in the preopen stack will set your working directory to /MyhardDrive/workingProjects/GreatShow/ and your full path links WILL BREAK. So you have to manually cut out the leading path information and just leave: movies/intro.mov Because this is very tedious due to a) the field being too short and b) the lack of cursor control bug in that field (as you previously noted) I prefer to create custom tools/buttons on a working palette to set the file ref by script to exactly the needed directory path. i.e. point to a file with ask file, parse the file name by script build the path "movies/intro.mov" put it into some var tFileRef and then set the filename of some image/player to tFileRef. all under script control, then you never have to "touch" or deal with the problems of that field in the properties box.... well worth the time to get that button working on your own floating development tools palette if you plan, as we did, to be linking lots of media. I actually found it easier to dynamically set the filename ref by script to just a minimum of image objects and movie players for almost all media presented. Be sure to declare your global (obviously gRootDir) as needed in other separate object scripts. Good luck. The following plays a slide show of randomly selected images behind a talk with soft background music. A top card level button passes the four parameters to this stack script. Note this uses the very "frowned on" mouse is down test to make the script break if the user wants to bail out of the show. But I couldn't find any other way to bail out of a repeat loop like this. My scripting skills failed on that one...kept creating more problems global gRootDir on runTalk thePixFolder, theRate, theTalk, theMusic open stack Theater set the directory to "Innersearch CD/Media/" --the above moves the directory "down" to make subsequent file refs --require nothing more than their own file name set the filename of player "talkPlayer" to theTalk set the playloudness of player "MusicPlayer" to 100 set the filename of player "MusicPlayer" to theMusic set the playloudness of player "MusicPlayer" to 5 start player "MusicPlayer" wait 1 secs start player "talkPlayer" set the directory to thePixFolder put the files into tShow set the filename of image 1 to line (random(the number of lines of tShow)) of tShow show image 1 move image 1 from -680,-680 to 400,270 in 100 ticks without waiting repeat until the mouse is down -- there is supposed to be a better way to do this -- but I don't know what it is... -- i.e. let the user quit the show with a mouseclick wait theRate secs with messages hide image 1 with dissolve slowly set the filename of image 1 to \ line (random(the number of lines of tShow)) of tShow show image 1 with reveal very slowly if the currentTime of player "talkPlayer"= the duration of player "talkPlayer" then stop player "talkPlayer" stop player "MusicPlayer" set the directory to gRootDir close this stack end if end repeat end runTalk Hope that helps! Hinduism Today Sivakatirswami Editor's Assistant/Production Manager katir at hindu.org www.HinduismToday.com, www.HimalayanAcademy.com, www.Gurudeva.org, www.hindu.org Read The Master Course Lesson of the Day at http://www.gurudeva.org/lesson.shtml From sarahr at genesearch.com.au Wed Dec 5 22:34:00 2001 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed Dec 5 22:34:00 2001 Subject: ATTENTION ALL: In-Reply-To: Message-ID: Josh: how about subscribing to the digest and only getting one email a day per list. Everyone else: please don't combine multiple topics into a single email as this would make it impossible to scan subjects for items of interest or to follow a particular thread. Cheers, Sarah > Hello, > I would just like to say that I am getting WAY too many E-Mail messages > a day. I think we all should really cut down on the sending of the E-Mails. > I have at least 400 un-read messages that I don't nearly have the time to > read. I get at least a minimum of 50 E-Mails a day just from this list(s). > So, I am just asking you please to cut down on the E-Mails that you send. > Perhaps you could combine 3 messages into 1 E-mail. Do whatever, just if you > could please try to cut down on the Messages. > Thank you all. > > > > - Josh Dye > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From tsimmons at employmentlawadvisors.com Thu Dec 6 00:10:01 2001 From: tsimmons at employmentlawadvisors.com (William T. Simmons) Date: Thu Dec 6 00:10:01 2001 Subject: ATTENTION ALL: References: Message-ID: <001601c17e13$d6d2c460$9dab343f@elanet> My vote's with Sarah. Most people like being able to quickly scan subject lines and have confidence that the message fits the subject. I just get a lot of practice hitting the "X" button in my Outlook Express! ;-) Tommy Simmons Employment Law Advisory Network, Inc. www.employmentlawadvisors.com ----- Original Message ----- > Josh: how about subscribing to the digest and only getting one email a day > per list. > > Everyone else: please don't combine multiple topics into a single email as > this would make it impossible to scan subjects for items of interest or to > follow a particular thread. > > Cheers, > Sarah > ----- Original Message ----- > > > Hello, > > I would just like to say that I am getting WAY too many E-Mail messages > > a day. I think we all should really cut down on the sending of the E-Mails. > > I have at least 400 un-read messages that I don't nearly have the time to > > read. I get at least a minimum of 50 E-Mails a day just from this list(s). > > So, I am just asking you please to cut down on the E-Mails that you send. > > Perhaps you could combine 3 messages into 1 E-mail. Do whatever, just if you > > could please try to cut down on the Messages. > > Thank you all. > > > > - Josh Dye From undo at cloud9.net Thu Dec 6 00:33:01 2001 From: undo at cloud9.net (andu) Date: Thu Dec 6 00:33:01 2001 Subject: ATTENTION ALL: References: <005901c17def$d3e5e800$3b83f6d1@mshome.net> Message-ID: <3C0F024E.51CA717C@cloud9.net> Jerry Daniels wrote: > > Ironic that this one got sent twice to me! I think even more ironic is that he was taken seriously by some. > > Hello, > I would just like to say that I am getting WAY too many E-Mail > messages a day. I think we all should really cut down on the sending of > the E-Mails. I have at least 400 un-read messages that I don't nearly > have the time to read. I get at least a minimum of 50 E-Mails a day just > from this list(s). So, I am just asking you please to cut down on the > E-Mails that you send. Perhaps you could combine 3 messages into 1 > E-mail. Do whatever, just if you could please try to cut down on the > Messages. Thank you all. > > - Josh Dye > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > -- __________________________ Regards, Andu From ludovic.thebault at laposte.net Thu Dec 6 02:37:01 2001 From: ludovic.thebault at laposte.net (Ludovic =?iso-8859-1?Q?Th=E9bault?=) Date: Thu Dec 6 02:37:01 2001 Subject: Text font and platform Message-ID: <3C0F1FD4.A66AB335@laposte.net> It is possible to encapsulate a font in a stack ? Because between mac Os 9, mac oS X and Windows (and Unixs), it's very difficult to found the same font on every system ! Thanks ! From gcanyon at inspiredlogic.com Thu Dec 6 03:16:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Thu Dec 6 03:16:01 2001 Subject: Please stop (was Re: ATTENTION ALL:) In-Reply-To: <3C0F024E.51CA717C@cloud9.net> References: <005901c17def$d3e5e800$3b83f6d1@mshome.net> <3C0F024E.51CA717C@cloud9.net> Message-ID: Maybe Josh's request was ill-advised, but adding more messages to the list criticizing him accomplishes nothing and is off-topic. I'm not the list mom, but please stop. Geoff From kevin at runrev.com Thu Dec 6 05:10:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Thu Dec 6 05:10:01 2001 Subject: Please stop (was Re: ATTENTION ALL:) In-Reply-To: Message-ID: On 6/12/01 8:14 am, Geoff Canyon wrote: > I'm not the list mom, but please stop. Agreed. This subject has no relevance - there are countless other places where one can discuss dealing with high volumes of email. As someone already pointed out, we offer a digest mode. Regards, Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Thu Dec 6 05:13:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Thu Dec 6 05:13:01 2001 Subject: Apple Advertising Revolution! In-Reply-To: <003501c17dbd$8a238880$9865fea9@mc14> Message-ID: On 5/12/01 6:49 pm, Ken Ray wrote: > Wow! People at Apple move quickly! It was just there (in the What's New > column) this morning, and now it (along with Illustrator 10) is gone! Thanks > for finding it, Craig! It was actually up for a couple of weeks, and has generated a great deal of interest... Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From benr_mc at cogapp.com Thu Dec 6 05:56:01 2001 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu Dec 6 05:56:01 2001 Subject: filter command and "not" wildcards In-Reply-To: <47AF5D81-E9BC-11D5-AEC1-000502F65112@mac.com> Message-ID: on 5/12/01 8:11 PM, Tom at tfseibert at mac.com wrote: > I love the filter command and keep trying to make it do more. I would > now like to use it to "find" all lines that do not contain a certain > item. I've also requested this. Suggested syntax: filter excluding It should be one of those things where a relatively small programming effort produces a considerable expansion in facility. 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 kevin at runrev.com Thu Dec 6 09:51:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Thu Dec 6 09:51:01 2001 Subject: Training class at MacWorld Message-ID: Hi, Would anyone be interested in attending a Revolution training class at MacWorld? If so, please drop me a note off list. If you have any comments about specific areas you would like to see covered, please let include that too. Thanks, Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From Marian.Petrides at sm13.texas.rr.com Thu Dec 6 10:52:01 2001 From: Marian.Petrides at sm13.texas.rr.com (Marian.Petrides at sm13.texas.rr.com) Date: Thu Dec 6 10:52:01 2001 Subject: So subscribe to the digest already! In-Reply-To: <002901c17df7$06cf5650$0200a8c0@ws1> Message-ID: <66F874A0-E9E6-11D5-8384-000A27D91A2A@earthlink.net> Josh, You need not get more than one message a day from each of the lists. If you don't want to get individual messages, the easiest thing to do is just to elect to get the digest format. Then you would simply get one email a day from use-rev and another from improve-rev (assuming you are subscribed to both). Marian On Wednesday, December 5, 2001, at 07:40 PM, Josh Dye wrote: > Hello, > I would just like to say that I am getting WAY too many E-Mail > messages > a day. I think we all should really cut down on the sending of the > E-Mails. > I have at least 400 un-read messages that I don't nearly have the time > to > read. I get at least a minimum of 50 E-Mails a day just from this > list(s). > So, I am just asking you please to cut down on the E-Mails that you > send. > Perhaps you could combine 3 messages into 1 E-mail. Do whatever, just > if you > could please try to cut down on the Messages. > Thank you all. > > > > - Josh Dye > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > Marian Petrides, M.D. mpetrides at earthlink.net mpetrides at pathology.umsmed.edu From jperryl at ecs.fullerton.edu Thu Dec 6 13:50:04 2001 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu Dec 6 13:50:04 2001 Subject: ATTENTION ALL: In-Reply-To: <001601c17e13$d6d2c460$9dab343f@elanet> Message-ID: That's what it's there for... ;-) Judy On Wed, 5 Dec 2001, William T. Simmons wrote: > I just get a > lot of practice hitting the "X" button in my Outlook Express! ;-) From chipp at chipp.com Thu Dec 6 15:08:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Thu Dec 6 15:08:01 2001 Subject: How to get the name of the top palette? Message-ID: I know topstack() but how do I reference the top palette window? Thanks, Chipp ---------------------------- | ___ ____ _ __ | | / _ | / / /___ __(_) /_ | | / __ |/ / __/ // / / __/ | | /_/ |_/_/\__/\_,_/_/\__/ | | http://www.altuit.com | ---------------------------- From katir at hindu.org Thu Dec 6 16:12:00 2001 From: katir at hindu.org (Sivakatirswami) Date: Thu Dec 6 16:12:00 2001 Subject: filter command and "not" wildcards In-Reply-To: <200112061813.NAA04542@www.runrev.com> Message-ID: on 12/6/01 8:13 AM, use-revolution-request at lists.runrev.com at use-revolution-request at lists.runrev.com wrote: > I've also requested this. Suggested syntax: > > filter excluding > > It should be one of those things where a relatively small programming effort > produces a considerable expansion in facility. This is very fast: put url "file:harddrive/somefile.txt" into dataToFilter repeat for each line x in dataTofilter if x contains (expression) then next repeat else put x & cr after dataOutPut end if end repeat put dataOutPut into url "file/processed/theFilteredData.txt" I have processed lists up to 120,000 lines with the above in under 2 secs 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 chipp at chipp.com Thu Dec 6 17:28:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Thu Dec 6 17:28:01 2001 Subject: Copy Image to Clipboard? Message-ID: I'm trying to copy and image to the clipboard for pasting into another program like Photoshop. I've tried the 'cut' command and it doesn't work. Any ideas if this can be done in RR? thanks, Chipp ---------------------------- | ___ ____ _ __ | | / _ | / / /___ __(_) /_ | | / __ |/ / __/ // / / __/ | | /_/ |_/_/\__/\_,_/_/\__/ | | http://www.altuit.com | ---------------------------- From Marian.Petrides at sm13.texas.rr.com Thu Dec 6 19:18:05 2001 From: Marian.Petrides at sm13.texas.rr.com (Marian.Petrides at sm13.texas.rr.com) Date: Thu Dec 6 19:18:05 2001 Subject: Training class at MacWorld In-Reply-To: Message-ID: Kevin, I think this is a GREAT idea--unfortunately there's very little likelihood that I will be able to make MacWorld. ;-( Marian On Thursday, December 6, 2001, at 08:49 AM, Kevin Miller wrote: > Hi, > > Would anyone be interested in attending a Revolution training class at > MacWorld? If so, please drop me a note off list. If you have any > comments > about specific areas you would like to see covered, please let include > that > too. > > Thanks, > > Kevin > > Kevin Miller > Runtime Revolution Limited - Power to the Developer! > 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 > > Marian Petrides, M.D. mpetrides at earthlink.net mpetrides at pathology.umsmed.edu From niklas_almesjo at yahoo.com Thu Dec 6 19:26:01 2001 From: niklas_almesjo at yahoo.com (Niklas Almesjö) Date: Thu Dec 6 19:26:01 2001 Subject: Fullscreen of player? In-Reply-To: <200112060127.UAA03114@www.runrev.com> Message-ID: <20011207002352.8757.qmail@web12305.mail.yahoo.com> Is there any way to use the fullscreen or present-movie options in Quicktime with a player? thanks, /Niklas __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From dburgun at earthlink.net Thu Dec 6 19:38:01 2001 From: dburgun at earthlink.net (David Burgun) Date: Thu Dec 6 19:38:01 2001 Subject: Training class at MacWorld In-Reply-To: References: Message-ID: >Kevin, >I think this is a GREAT idea--unfortunately there's very little >likelihood that I will be able to make MacWorld. ;-( MacWorld, where?? !! Dave From gcanyon at inspiredlogic.com Thu Dec 6 21:16:02 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Thu Dec 6 21:16:02 2001 Subject: Training class at MacWorld In-Reply-To: References: Message-ID: >>Kevin, >>I think this is a GREAT idea--unfortunately there's very little likelihood that I will be able to make MacWorld. ;-( > >MacWorld, where?? !! > >Dave >_______________________________________________ San Francisco, in a few weeks. regards, Geoff From jcuccio at pacbell.net Thu Dec 6 21:52:01 2001 From: jcuccio at pacbell.net (John Cuccio) Date: Thu Dec 6 21:52:01 2001 Subject: Apple script & Rev Message-ID: Not sure if this is a apple script question or a rev, but will try here first I am having rev doing a few apple scripts to control another program. I want to be able to know when the script has finished. Send to rev I am finished with that script. Right now ,but i do not like it, is apple script creates a file that rev checks for everry 3 seconds. If the file is there then rev goes on. Thank You From jcuccio at pacbell.net Thu Dec 6 22:10:00 2001 From: jcuccio at pacbell.net (John Cuccio) Date: Thu Dec 6 22:10:00 2001 Subject: Progress bar Message-ID: <3C103285.FAC2D0A6@pacbell.net> any idea how to do a progress bar in rev. From troy at rpsystems.net Thu Dec 6 22:22:00 2001 From: troy at rpsystems.net (Troy Rollins) Date: Thu Dec 6 22:22:00 2001 Subject: Progress bar In-Reply-To: <3C103285.FAC2D0A6@pacbell.net> Message-ID: John Cuccio wrote: > any idea how to do a progress bar in rev. Basically you set the endValue of the scrollbar to your maximum (whatever would equal 100%). Then increment the thumbPosition based on your events. -- Troy RPSystems www.rpsystems.net From rpresender at mail.earthlink.net Thu Dec 6 22:39:01 2001 From: rpresender at mail.earthlink.net (Robert Presender) Date: Thu Dec 6 22:39:01 2001 Subject: Mac/Windows Fonts Message-ID: Hi, Seeking suggestions re what combination of fonts work on both Mac and Windows. So far I haven't been able to find a font that works in an application for both MAC and Windows without making changes in one or the other. The changes are mainly in size. Mac OS 9.2, Windows ME, Rev 1.1 Suggestions will be appreciated. Regards ... Bob From sarahr at genesearch.com.au Thu Dec 6 22:59:01 2001 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu Dec 6 22:59:01 2001 Subject: Mac/Windows Fonts In-Reply-To: Message-ID: The main problem here is that Windows runs it's monitors at 100 dpi (I think) and Macs use 72 dpi, so the same size font (in pixels) looks differently sized on the different screens. As regards the font itself, I prefer fonts like Arial or Times which are common to both, but the size may need to be reset for each platform. If you use the stack's font, without specifying a separate font for each object, you can have an openStack script that has something like this: if the platform = "Win32" then set the textSize of this stack to 14 else if the platform = "MacOS" then set the textSize of this stack to 12 else -- do something else end if Cheers, Sarah > > Hi, > > Seeking suggestions re what combination of fonts work on both Mac and Windows. > So far I haven't been able to find a font that works in an application for > both MAC and Windows without making changes in one or the other. The changes > are mainly in size. > > Mac OS 9.2, Windows ME, Rev 1.1 > > Suggestions will be appreciated. > > Regards ... Bob > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From tsimmons at employmentlawadvisors.com Thu Dec 6 23:11:01 2001 From: tsimmons at employmentlawadvisors.com (William T. Simmons) Date: Thu Dec 6 23:11:01 2001 Subject: armedicon property References: Message-ID: <032201c17ed4$acc5df60$8fab343f@elanet> Chipp, I noticed that sticky mouse phenomenon each time I started the app and told my ZoneAlarm not to let the app access the Internet. One click of the left mouse button and it became unstuck. If I did let it access the Internet, the mouse wasn't sticky. BTW, the screen capture utility you built is great! I did a couple of test grabs and found the resulting JPEGs to be indistinguishable from the originals. Very nice... Tommy Simmons Employment Law Advisory Network, Inc. www.employmentlawadvisors.com ----- Original Message ----- > Has anyone seen a problem with the armedicon property and a button staying > "armed" after the mouse has left it? > > You can see what I mean - Check out the stack at > > http://www.altuit.com/webs/altuit2/RunRev/HemingwayTools.htm > > PC VERSION ONLY (mac isn't ready yet so don't download it) > > and you can see the problem. > > This project is a self updating application which checks the version number > at a server ASP page and downloads. It also has a silent check mode which > executes after the stack is open for 10 seconds then lights up an interface > light if a new version becomes available. > > -Chipp From chipp at chipp.com Thu Dec 6 23:16:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Thu Dec 6 23:16:01 2001 Subject: Mac/Windows Fonts In-Reply-To: Message-ID: Sarah, Actually, both Mac and Windows use different dpi's for screen resolution. If you're on a 17" monitor and choose to view at 640 x 480 you get a rather low dpi (probably around 50 or so) but if you choose a 1024 x768 resolution you get a much higher dpi. The difference in the fonts between the two is how the fonts are mapped from one system to the other. Indeed, you can perform the same script as you demonstrated if you wish to dynamically scale the fonts. It would be helpful if there was some documentation regarding how different fonts are mapped on the different platforms. For instance Windows Arial maps to Mac Helvetica (I suppose). I hope such documentation exists. -Chipp -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Sarah Reichelt Sent: Thursday, December 06, 2001 9:56 PM To: use-revolution at lists.runrev.com Subject: Re: Mac/Windows Fonts The main problem here is that Windows runs it's monitors at 100 dpi (I think) and Macs use 72 dpi, so the same size font (in pixels) looks differently sized on the different screens. As regards the font itself, I prefer fonts like Arial or Times which are common to both, but the size may need to be reset for each platform. If you use the stack's font, without specifying a separate font for each object, you can have an openStack script that has something like this: if the platform = "Win32" then set the textSize of this stack to 14 else if the platform = "MacOS" then set the textSize of this stack to 12 else -- do something else end if Cheers, Sarah > > Hi, > > Seeking suggestions re what combination of fonts work on both Mac and Windows. > So far I haven't been able to find a font that works in an application for > both MAC and Windows without making changes in one or the other. The changes > are mainly in size. > > Mac OS 9.2, Windows ME, Rev 1.1 > > Suggestions will be appreciated. > > Regards ... Bob > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Fri Dec 7 00:51:01 2001 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri Dec 7 00:51:01 2001 Subject: Mac/Windows Fonts In-Reply-To: Message-ID: Geneva, no? Judy On Thu, 6 Dec 2001, Chipp Walters wrote: > For instance Windows Arial maps to Mac Helvetica (I > suppose). I hope such documentation exists. From gcanyon at inspiredlogic.com Fri Dec 7 00:52:28 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Dec 7 00:52:28 2001 Subject: Apple script & Rev In-Reply-To: References: Message-ID: At 6:49 PM -0800 12/6/01, John Cuccio wrote: >I am having rev doing a few apple scripts to control another program. I want >to be able to know when the script has finished. Send to rev I am finished >with that script. Right now ,but i do not like it, is apple script creates a >file that rev checks for everry 3 seconds. If the file is there then rev >goes on. Generally speaking, AppleScripts will wait until a tell is complete before continuing. What are you experiencing? regards, geoff From dgreen at lowebroadway.com Fri Dec 7 08:21:01 2001 From: dgreen at lowebroadway.com (dell) Date: Fri Dec 7 08:21:01 2001 Subject: Revolutions REgExplementation Message-ID: Hi, Anyone no how to match a pattern up to an 'endOFline marker' ie.. 'The Quick Brown fox jumps over the Lazy dog The Quick Brown fox jumps over the Lazy dog The Quick Brown fox jumps over the Lazy dog' Pattern needs to return: 'The Quick Brown fox jumps over the Have tried all traditional RegEx patterns and in Revolution, I can't seem to match up to a newline character, linefeed or carriage return. Anyone found it? Dell dgreen at lowebroadway.com From niklas_almesjo at yahoo.com Fri Dec 7 09:49:01 2001 From: niklas_almesjo at yahoo.com (Niklas Almesjö) Date: Fri Dec 7 09:49:01 2001 Subject: best way to read and write variables? In-Reply-To: <200112060127.UAA03114@www.runrev.com> Message-ID: <20011207144740.46603.qmail@web12303.mail.yahoo.com> What is the best way to write and read variables? When using Authorware there was a pretty convinient way to do it with property lists. Property lists looked something like this: "width":50, "height": 30 then you could just write the list to a textfile, read it in and do a List(theText) and you had the list again. Anything similar (or even better) in Rev? thanks, /Niklas __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From benr_mc at cogapp.com Fri Dec 7 10:37:03 2001 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri Dec 7 10:37:03 2001 Subject: filter command and "not" wildcards In-Reply-To: Message-ID: on 6/12/01 9:10 PM, Sivakatirswami at katir at hindu.org wrote: >> filter excluding >> >> It should be one of those things where a relatively small programming effort >> produces a considerable expansion in facility. > > This is very fast: > > repeat for each line x in dataTofilter > if x contains (expression) then > next repeat > else > put x & cr after dataOutPut > end if > end repeat > > put dataOutPut into url "file/processed/theFilteredData.txt" > > I have processed lists up to 120,000 lines with the above in under 2 secs A tribute to the speed of MC/Rev! but to have the same effect as the proposed 'not filter', you'd have to replace the use of 'contains' with a call to 'matchChunk'. I don't know, but I'd guess the performance hit here could be more substantial; often regular expression matches have to do quite a bit of setup as they parse the expression, and in the absence of the 'not filter', using a routine like that you propose above, this setup cost would be paid 120,000 times in your example, rather than once. I agree - this isn't a case in which we can't do what we want within the current language, it's just something where what seems to be a small change could provide much increased performance. But if I had to choose, I'd rather get features that would unlock things I currently do at all in Rev/MC, like access to styled text in the clipboard, or better printing facilities. 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 psahores at easynet.fr Fri Dec 7 11:59:01 2001 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Dec 7 11:59:01 2001 Subject: use-revolution digest, Vol 1 #52 - 20 msgs References: <200112071547.KAA31778@www.runrev.com> Message-ID: <3C10F406.321C2D87@easynet.fr> > Message: 10 > Date: Thu, 06 Dec 2001 19:07:50 -0800 > From: John Cuccio > Subject: Progress bar > To: rev discussion > Reply-To: use-revolution at lists.runrev.com > > any idea how to do a progress bar in rev. > > --__--__-- > > Message: 11 > Date: Thu, 06 Dec 2001 22:20:37 -0500 > Subject: Re: Progress bar > From: Troy Rollins > To: > Reply-To: use-revolution at lists.runrev.com > > John Cuccio wrote: > > > any idea how to do a progress bar in rev. > > Basically you set the endValue of the scrollbar to your maximum (whatever > would equal 100%). Then increment the thumbPosition based on your events. > -- > Troy > RPSystems > www.rpsystems.net Hi John, Just picked on the Metacard list... > You can try something like this : > > > on mouseUp > > if the shiftkey is down then edit script of me > > else > > set cursor to watch > > put 100 into oldcolls > > put "0" into stfwd > > put (102 / oldcolls) * 2 into gofwd > > repeat with ltr = 1 to oldcolls > > wait 10 # to replace by what ever you need > > put ltr & "/" & oldcolls into fld "ETrait" # the counter fld > > add gofwd to stfwd > > get the left of fld "progress" # the progressbar fld > > set the width of fld "progress" to stfwd > > set the left of fld "progress" to it > > end repeat > > end if > > end mouseUp > > Regards, Pierre Sahores > > WEB & VPN applications & databases servers > Inspection acad?mique de Seine-Saint-Denis > Qualifier & produire l'avantage comp?titif Cheers, Pierre From psahores at easynet.fr Fri Dec 7 12:00:33 2001 From: psahores at easynet.fr (Pierre Sahores) Date: Fri Dec 7 12:00:33 2001 Subject: any idea how to do a progress bar in rev References: <200112071547.KAA31778@www.runrev.com> Message-ID: <3C10F435.684FD75E@easynet.fr> > Message: 10 > Date: Thu, 06 Dec 2001 19:07:50 -0800 > From: John Cuccio > Subject: Progress bar > To: rev discussion > Reply-To: use-revolution at lists.runrev.com > > any idea how to do a progress bar in rev. > > --__--__-- > > Message: 11 > Date: Thu, 06 Dec 2001 22:20:37 -0500 > Subject: Re: Progress bar > From: Troy Rollins > To: > Reply-To: use-revolution at lists.runrev.com > > John Cuccio wrote: > > > any idea how to do a progress bar in rev. > > Basically you set the endValue of the scrollbar to your maximum (whatever > would equal 100%). Then increment the thumbPosition based on your events. > -- > Troy > RPSystems > www.rpsystems.net Hi John, Just picked on the Metacard list... > You can try something like this : > > > on mouseUp > > if the shiftkey is down then edit script of me > > else > > set cursor to watch > > put 100 into oldcolls > > put "0" into stfwd > > put (102 / oldcolls) * 2 into gofwd > > repeat with ltr = 1 to oldcolls > > wait 10 # to replace by what ever you need > > put ltr & "/" & oldcolls into fld "ETrait" # the counter fld > > add gofwd to stfwd > > get the left of fld "progress" # the progressbar fld > > set the width of fld "progress" to stfwd > > set the left of fld "progress" to it > > end repeat > > end if > > end mouseUp > > Regards, Pierre Sahores > > WEB & VPN applications & databases servers > Inspection acad?mique de Seine-Saint-Denis > Qualifier & produire l'avantage comp?titif Cheers, Pierre From rbarber66 at earthlink.net Fri Dec 7 13:36:00 2001 From: rbarber66 at earthlink.net (rbarber66 at earthlink.net) Date: Fri Dec 7 13:36:00 2001 Subject: Japanese on Revolution In-Reply-To: <20011207144740.46603.qmail@web12303.mail.yahoo.com> Message-ID: Greetings Is anyone using Japanese text in a Revolution application? I am aware of the limitations with 16bit fonts but perhaps there is someone using a workaround that may be suitable. Thanks Ron From scott at tactilemedia.com Fri Dec 7 13:50:01 2001 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Dec 7 13:50:01 2001 Subject: Japanese on Revolution In-Reply-To: Message-ID: Recently, rbarber66 at earthlink.net wrote: > Is anyone using Japanese text in a Revolution application? I am aware of the > limitations with 16bit fonts but perhaps there is someone using a workaround > that may be suitable. What workaround are you looking for? If you're talking about *display* of fonts, REV should work just fine as long as the appropriate fonts and support are available on the user's system. MacOS requires the Japanese language kit, while Windows needs either system level support or a third party enhancement such as those available from TwinBridge systems (http://www.twinbridge.com/). I've built a MetaCard application that displays text in 5 languages, with two of them being double byte Chinese. The only limitation I found was that text needs to be broken manually -- MC wraps lines based on spaces between words. Maybe MC/REV will come up with a fix to wrap by character at some point. Regards, Scott _____________________________________________________________________ Scott Rossi Tactile Media - Multimedia & Design Creative Director Email: scott at tactilemedia.com Web: http://www.tactilemedia.com From dcragg at lacscentre.co.uk Fri Dec 7 16:10:02 2001 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri Dec 7 16:10:02 2001 Subject: Japanese on Revolution In-Reply-To: References: Message-ID: At 10:48 am -0800 7/12/01, Scott Rossi wrote: >Recently, rbarber66 at earthlink.net wrote: > >> Is anyone using Japanese text in a Revolution application? I am aware of the >> limitations with 16bit fonts but perhaps there is someone using a workaround >> that may be suitable. > >What workaround are you looking for? > >If you're talking about *display* of fonts, REV should work just fine as >long as the appropriate fonts and support are available on the user's >system. MacOS requires the Japanese language kit, while Windows needs >either system level support or a third party enhancement such as those >available from TwinBridge systems (http://www.twinbridge.com/). > >I've built a MetaCard application that displays text in 5 languages, with >two of them being double byte Chinese. The only limitation I found was that >text needs to be broken manually -- MC wraps lines based on spaces between >words. Maybe MC/REV will come up with a fix to wrap by character at some >point. In addition to the wrapping issue, you'll have to watch for the mac/iso conversions that Rev automatically does in fields when changing between Mac and Windows. Japanese text that is Shift-JIS coded, for example, is the same on Mac and Windows. But Rev will try to convert when you switch platforms. One way round this is to keep the text in a custom property and load it into a field when needed, on openCard for example. Cheers Dave Cragg From scott at tactilemedia.com Fri Dec 7 16:24:00 2001 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Dec 7 16:24:00 2001 Subject: Japanese on Revolution In-Reply-To: Message-ID: Recently, Dave Cragg wrote: > In addition to the wrapping issue, you'll have to watch for the > mac/iso conversions that Rev automatically does in fields when > changing between Mac and Windows. Japanese text that is Shift-JIS > coded, for example, is the same on Mac and Windows. But Rev will try > to convert when you switch platforms. One way round this is to keep > the text in a custom property and load it into a field when needed, > on openCard for example. Another option is to store the text as external files in their own folder and read them in at runtime or when needed (what I did in my project). This way writers/editors can easily make corrections to simple text files and you just need to dump the new files into the main folder when you make updates. Regards, Scott _____________________________________________________________________ Scott Rossi Tactile Media - Multimedia & Design Creative Director Email: scott at tactilemedia.com Web: http://www.tactilemedia.com From rpresender at earthlink.net Fri Dec 7 18:56:00 2001 From: rpresender at earthlink.net (Robert Presender) Date: Fri Dec 7 18:56:00 2001 Subject: Mac/Windows Fonts (Vol 1 #52) Message-ID: <5.1.0.14.0.20011207154810.009fb380@mail.earthlink.net> Hi, My many thanks to Sarah, Judy and Chip for your very informative info on this subject. It has given me a very good insight re fonts. Regards ...Bob -------------- next part -------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.286 / Virus Database: 152 - Release Date: 10/9/2001 From rbarber66 at earthlink.net Fri Dec 7 21:19:01 2001 From: rbarber66 at earthlink.net (rbarber66 at earthlink.net) Date: Fri Dec 7 21:19:01 2001 Subject: Japanese on Revolution In-Reply-To: Message-ID: Thanks Scott for the advice. I don't think spaces will be a problem since Japanese does not have any, at least not single byte ones. I've been a HC/SC user for years and watching MC from v1 hoping it will someday add 2byte font support viz. not just correct display but also allow input. My app is in both English and Japanese - menus, dialogs, texts etc. So, at minimum, I need to be able to select 2byte text. Ultimately, I need to input 2byte text as well. By 'Workaround' I meant some way to select or input text without producing 'mojibake'. > From: Scott Rossi > Reply-To: use-revolution at lists.runrev.com > Date: Fri, 07 Dec 2001 10:48:35 -0800 > To: > Subject: Re: Japanese on Revolution > > Recently, rbarber66 at earthlink.net wrote: > >> Is anyone using Japanese text in a Revolution application? I am aware of the >> limitations with 16bit fonts but perhaps there is someone using a workaround >> that may be suitable. > > What workaround are you looking for? > > If you're talking about *display* of fonts, REV should work just fine as > long as the appropriate fonts and support are available on the user's > system. MacOS requires the Japanese language kit, while Windows needs > either system level support or a third party enhancement such as those > available from TwinBridge systems (http://www.twinbridge.com/). > > I've built a MetaCard application that displays text in 5 languages, with > two of them being double byte Chinese. The only limitation I found was that > text needs to be broken manually -- MC wraps lines based on spaces between > words. Maybe MC/REV will come up with a fix to wrap by character at some > point. > > Regards, > > Scott > > _____________________________________________________________________ > Scott Rossi Tactile Media - Multimedia & Design > Creative Director Email: scott at tactilemedia.com > Web: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From rbarber66 at earthlink.net Fri Dec 7 21:20:30 2001 From: rbarber66 at earthlink.net (rbarber66 at earthlink.net) Date: Fri Dec 7 21:20:30 2001 Subject: Japanese on Revolution In-Reply-To: Message-ID: Hi Dave > > In addition to the wrapping issue, you'll have to watch for the > mac/iso conversions that Rev automatically does in fields when > changing between Mac and Windows. Japanese text that is Shift-JIS > coded, for example, is the same on Mac and Windows. But Rev will try > to convert when you switch platforms. One way round this is to keep > the text in a custom property and load it into a field when needed, > on openCard for example. Thanks for the warning on this. My text files exist as separate files on disk that I read in. I can follow your suggestion or maybe make modifications when I read it. Does Rev try to change btn names and labels between platforms? thanks ron From scott at tactilemedia.com Fri Dec 7 21:29:01 2001 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Dec 7 21:29:01 2001 Subject: Japanese on Revolution In-Reply-To: Message-ID: Recently, rbarber66 at earthlink.net wrote: > Thanks Scott for the advice. I don't think spaces will be a problem since > Japanese does not have any, at least not single byte ones. Actually, this is indeed a problem. If there are no spaces present in the text, the text will not wrap in the field, and you will get the appearance of having only a single incomplete text line in the field. Spaces must be present in the text in order for MC to know where to break and wrap the lines. Regards, Scott _____________________________________________________________________ Scott Rossi Tactile Media - Multimedia & Design Creative Director Email: scott at tactilemedia.com Web: http://www.tactilemedia.com From jperryl at ecs.fullerton.edu Fri Dec 7 22:43:01 2001 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri Dec 7 22:43:01 2001 Subject: Can't find handler error? In-Reply-To: <3C10F435.684FD75E@easynet.fr> Message-ID: Hi, I am hoping someone can help me figure out what I am doing wrong. 1. I create a new Mainstack. 2. I paste in a graphic (jpg) 3. I go to the OBJECT menu and select CARD PROPERTIES so that I can assign a card script. 4. I get this: There was an Execution Error at 6:12:55 PM Error description: Handler: can't find handler Revolution User Interface Error: Object: stack "/Macintosh HD/Applications/Revolution 1.1 OS X/components/properties palettes/revpropertiesshell.rev" -------------------- send "REVPreOpenCard" to this cd -------------------- Value: REVPreOpenCard 5. It worked only a couple of days ago... Very distressing to be cut down on one's very first card :( I am using Rev 1.1 on Mac OS 10.1 on a dual processor G4 w/256 MB RAM. Judy From jeanne at runrev.com Sat Dec 8 02:50:01 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 8 02:50:01 2001 Subject: Custom Browser In-Reply-To: Message-ID: At 11:29 AM -0800 12/4/2001, Richard Pilot wrote: >How do You display a html file either from the internet, a >hard-drive or from html code from the application itself? Check out the htmlText property. For example, if you have HTML in a variable called "foo", you can view the effect of the HTML by setting a field's htmlText property to the contents of "foo": set the htmlText of field "Test" to foo Or similarly, to view HTML from the web, you would set the htmlText of your field to the URL of the web page you want to view: set the htmlText of field "Test" to URL "http://www.example.org" (The htmlText is not a complete implementation of HTML - it focuses on text-styling properties.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From jeanne at runrev.com Sat Dec 8 02:51:31 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 8 02:51:31 2001 Subject: How to get the name of the top palette? In-Reply-To: Message-ID: At 12:06 PM -0800 12/6/2001, Chipp Walters wrote: >I know topstack() but how do I reference the top palette window? Try using this: line 1 of the openStacks -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From jeanne at runrev.com Sat Dec 8 02:52:55 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 8 02:52:55 2001 Subject: Japanese on Revolution In-Reply-To: References: Message-ID: At 6:16 PM -0800 12/7/2001, rbarber66 at earthlink.net wrote: >Does Rev try to change btn names and labels between platforms? Yes, it converts properties (other than custom properties). -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From jeanne at runrev.com Sat Dec 8 02:55:48 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 8 02:55:48 2001 Subject: relative paths and Quicktime In-Reply-To: Message-ID: At 9:08 AM -0800 12/4/2001, Steve Messimer wrote: >1. When a standalone is created are all the resources (Graphics sounds >movies ) incorporated directly in the application? Anything that is in the stack is included in the standalone application, but external files referenced by the stack are not automatically included. (Normally you'd put these into a "data stacks" folder in the same folder as the app - the Distribution Builder has an option to create such a folder.) Just to clarify, audio clips, video clips, and images created with the paint tools or with the "Import as Control" submenu are part of the stack, and become part of the standalone when it's created. Movies and sounds displayed in a player rather than an audio clip or video clip, and images created with the "New Referenced Control" submenu, are not part of the stack and they remain external files after the standalone is created. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From jcuccio at pacbell.net Sat Dec 8 02:58:01 2001 From: jcuccio at pacbell.net (John Cuccio) Date: Sat Dec 8 02:58:01 2001 Subject: Substack ? Message-ID: I have a substack. rev 1.1 From chipp at chipp.com Sat Dec 8 03:13:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Sat Dec 8 03:13:01 2001 Subject: set the filled of last graphic to false In-Reply-To: Message-ID: is there a way to do this in the RR IDE? I'm sure there is, but I can't find it for the life of me;-) thanks, Chipp From undo at cloud9.net Sat Dec 8 04:12:01 2001 From: undo at cloud9.net (andu) Date: Sat Dec 8 04:12:01 2001 Subject: Substack ? References: Message-ID: <3C11D87F.64A014E9@cloud9.net> John Cuccio wrote: > > I have a substack. rev 1.1 > > >From the main stack openstack handler I put > on openstack --(from main stack) > open stack "progress" -- the substack set the defaultStack to "main" ####go to card 1 of stack "main" > end openstack > > I put the second line in because I want the main stack to be active. Because > of line 1 the substack is active. This second line does not do it. How do I > make the main stack the active stack. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- __________________________ Regards, Andu From gwills at ozemail.com.au Sat Dec 8 08:30:01 2001 From: gwills at ozemail.com.au (Greg Wills) Date: Sat Dec 8 08:30:01 2001 Subject: printing an area In-Reply-To: <200112080925.EAA17227@www.runrev.com> References: <200112080925.EAA17227@www.runrev.com> Message-ID: Hi everyone Just a simple question. Is Rev 1.1 able to print an area of a card, not the whole thing? Greg From wmb at internettrainer.com Sat Dec 8 08:47:01 2001 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sat Dec 8 08:47:01 2001 Subject: Mac/Windows Fonts In-Reply-To: <200112071542.KAA31494@www.runrev.com> Message-ID: am 07.12.2001 16:42 Uhr schrieb use-revolution-request at lists.runrev.com unter use-revolution-request at lists.runrev.com: > > Message: 13 > Date: Fri, 07 Dec 2001 13:55:58 +1000 > Subject: Re: Mac/Windows Fonts > From: Sarah Reichelt > To: > Reply-To: use-revolution at lists.runrev.com > > The main problem here is that Windows runs it's monitors at 100 dpi (I > think) and Macs use 72 dpi, so the same size font (in pixels) looks > differently sized on the different screens. Yes that?s the f... Win/Mac Layout problem since years... > As regards the font itself, I prefer fonts like Arial or Times which are > common to both, but the size may need to be reset for each platform. > Verdana (some more to, have a look at M$ page) is the font especially designed from M$ for the Screen. It comes with IE so nearly every Mac User has it on his system to. Be carefully with Arial. Every college Word newby does "Layout-jobs" with it. So you work could look like newbie layout, even it?s made professional... The (small) serif font "Times" is for printing output - not for the Screen. On the Monitor (max 72dpi) serif fonts are hard to read. If it is smaller than 12 points its is very hard to read - on a Mac, and uglily on WIN... I m dreaming of a feature (wishlist was sent to kevin) for a future distribution builder: a feature that changes the font size "one up" for the win version and "one down" for a Mac version: f.e. db changes all Verdana 9 to Verdana 10 for Mac standallone) Maybee this is a unrealistic idea, but as you (or some of you) know I m not a programmer... regards Wolfgang M. Bereuter Learn easy with trainingsmaps and outliner INTERNETTRAINER Wolfgang M. Bereuter Edelhofg. 17/11, A-1180 Wien, Austria ............................... http://www.internettrainer.com wmb at internettrainer.com ............................... Tel: ++43/1/ 961 0418 Fax: ++43/1/ 479 2539 From wmb at internettrainer.com Sat Dec 8 08:53:01 2001 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Sat Dec 8 08:53:01 2001 Subject: Mac/Windows Fonts In-Reply-To: <200112071542.KAA31494@www.runrev.com> Message-ID: am 07.12.2001 16:42 Uhr schrieb use-revolution-request at lists.runrev.com unter use-revolution-request at lists.runrev.com: > Message: 16 > Date: Thu, 6 Dec 2001 21:49:15 -0800 (PST) > From: Judy Perry > To: > Subject: RE: Mac/Windows Fonts > Reply-To: use-revolution at lists.runrev.com > > Geneva, no? > Yes no doubt: geneva ist the best for the Screen, but where is it on Win and nix? regards Wolfgang M. Bereuter Learn easy with trainingsmaps and outliner 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 jperryl at ecs.fullerton.edu Sat Dec 8 12:55:01 2001 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sat Dec 8 12:55:01 2001 Subject: Mac/Windows Fonts In-Reply-To: Message-ID: My response was to the question of what Arial (Win) mapped to on the Mac. Judy On Sat, 8 Dec 2001, Wolfgang M. Bereuter wrote: > am 07.12.2001 16:42 Uhr schrieb use-revolution-request at lists.runrev.com > unter use-revolution-request at lists.runrev.com: > > Geneva, no? > > > Yes no doubt: geneva ist the best for the Screen, but where is it on Win and > nix? From jeanne at runrev.com Sat Dec 8 21:29:01 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 8 21:29:01 2001 Subject: Mac/Windows Fonts In-Reply-To: References: <200112071542.KAA31494@www.runrev.com> Message-ID: At 5:45 AM -0800 12/8/2001, Wolfgang M. Bereuter wrote: >Verdana (some more to, have a look at M$ page) is the font especially >designed from M$ for the Screen. It comes with IE so nearly every Mac User >has it on his system to. It's also the font the docs are in on Windows and Mac, just as a data point. >I m dreaming of a feature (wishlist was sent to kevin) for a future >distribution builder: a feature that changes the font size "one up" for the >win version and "one down" for a Mac version: f.e. db changes all Verdana 9 >to Verdana 10 for Mac standallone) 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. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From jeanne at runrev.com Sat Dec 8 21:30:36 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 8 21:30:36 2001 Subject: printing an area In-Reply-To: References: <200112080925.EAA17227@www.runrev.com> <200112080925.EAA17227@www.runrev.com> Message-ID: At 10:55 PM -0800 12/8/2001, Greg Wills wrote: >Just a simple question. Is Rev 1.1 able to print an area of a card, >not the whole thing? Yes: print this card from 20,20 to 150,250 -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From bennie at lemoorenet.com Sun Dec 9 00:27:01 2001 From: bennie at lemoorenet.com (Bennie Warren) Date: Sun Dec 9 00:27:01 2001 Subject: SNMP In-Reply-To: Message-ID: Is anyone doing anything with SNMP, telnet or ping in Revolution for OSX? Is it even possible to do these things? Thanks Bennie -- ************************************** Bennie Warren LemooreNet 320 West D Street Lemoore, CA 93245 Phone: 559.924.5909 Fax 559.924.9578 bennie at lemoorenet.com http://www.lemoorenet.com ************************************** From kray at sonsothunder.com Sun Dec 9 01:24:01 2001 From: kray at sonsothunder.com (Ken Ray) Date: Sun Dec 9 01:24:01 2001 Subject: Mac/Windows Fonts References: Message-ID: <005301c18079$77514ee0$74d1f018@charter.net> Judy, I believe Arial maps to Helvetica on a Mac that does not have Arial installed (it gets installed if you install some of the Microsoft products on a Mac; I know that MS Office installs it). Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Website: http://www.sonsothunder.com/ ----- Original Message ----- From: "Judy Perry" To: Sent: Saturday, December 08, 2001 11:53 AM Subject: RE: Mac/Windows Fonts > My response was to the question of what Arial (Win) mapped to on the Mac. > > Judy > > On Sat, 8 Dec 2001, Wolfgang M. Bereuter wrote: > > > am 07.12.2001 16:42 Uhr schrieb use-revolution-request at lists.runrev.com > > unter use-revolution-request at lists.runrev.com: > > > > Geneva, no? > > > > > Yes no doubt: geneva ist the best for the Screen, but where is it on Win and > > nix? > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From undo at cloud9.net Sun Dec 9 02:32:01 2001 From: undo at cloud9.net (andu) Date: Sun Dec 9 02:32:01 2001 Subject: SNMP References: Message-ID: <3C1312B2.C775C351@cloud9.net> Bennie Warren wrote: > > Is anyone doing anything with SNMP, telnet or ping in Revolution for OSX? Is > it even possible to do these things? It is for all other platforms, not sure about OSX. There is a minimal telnet stack on ftp.metacard.com, if I remember correctly. > > Thanks > Bennie > > -- > ************************************** > Bennie Warren > LemooreNet > 320 West D Street > Lemoore, CA 93245 > Phone: 559.924.5909 > Fax 559.924.9578 > bennie at lemoorenet.com > http://www.lemoorenet.com > ************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- __________________________ Regards, Andu From markmac at shaw.ca Sun Dec 9 03:06:01 2001 From: markmac at shaw.ca (Mark MacKenzie (Shaw)) Date: Sun Dec 9 03:06:01 2001 Subject: set the filled of last graphic to false References: Message-ID: <000f01c18088$5af50840$797d4718@ss.shawcable.net> Chipp, I was experimenting with: set the filled of graphic xlrf to false But found that the graphic then would not respond to mouse clicks as I wished it to. If you wish it to be transparent and still respond to normal mouse clicks without selecting it first then working with the inks property might work for you. If so, you can try: set the ink of graphic xlrf to noOp Regards Mark ----- Original Message ----- From: "Chipp Walters" To: Sent: Saturday, December 08, 2001 2:12 AM Subject: set the filled of last graphic to false > is there a way to do this in the RR IDE? I'm sure there is, but I can't find > it for the life of me;-) > > thanks, > > Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Sun Dec 9 05:33:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Sun Dec 9 05:33:01 2001 Subject: set the filled of last graphic to false In-Reply-To: <000f01c18088$5af50840$797d4718@ss.shawcable.net> Message-ID: Mark, Thanks. What I was wanting was to create 'hollow' rectangle graphics for use in 'decorating' windows. If i set the ink property, it will affect the both the rectangle inside and the outside line. I can do it from the msg but I was looking for a button. hmmm Chipp -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Mark MacKenzie (Shaw) Sent: Sunday, December 09, 2001 12:06 AM To: use-revolution at lists.runrev.com Subject: Re: set the filled of last graphic to false Chipp, I was experimenting with: set the filled of graphic xlrf to false But found that the graphic then would not respond to mouse clicks as I wished it to. If you wish it to be transparent and still respond to normal mouse clicks without selecting it first then working with the inks property might work for you. If so, you can try: set the ink of graphic xlrf to noOp Regards Mark ----- Original Message ----- From: "Chipp Walters" To: Sent: Saturday, December 08, 2001 2:12 AM Subject: set the filled of last graphic to false > is there a way to do this in the RR IDE? I'm sure there is, but I can't find > it for the life of me;-) > > thanks, > > Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From Zzyzx at Relia.Net Sun Dec 9 10:00:00 2001 From: Zzyzx at Relia.Net (Josh Dye) Date: Sun Dec 9 10:00:00 2001 Subject: Print Screen Command? Message-ID: <001701c180cb$128fb990$0200a8c0@ws1> Hey, Does anybody know if there is any way for on PC, to tell it to Print Screen? Basically the same thing as the "Print Scrn" button next to Scroll Lock. What I want it to do is get the screen of another computer and put it open that .Jpg or whatever on a different computer. Anything would be quite helpful! :-) - Josh Dye From shedrup at ms9.hinet.net Sun Dec 9 12:25:21 2001 From: shedrup at ms9.hinet.net (Friedrich F. Grohmann) Date: Sun Dec 9 12:25:21 2001 Subject: Chinese Message-ID: <200112091722.BAA04496@ms9.hinet.net> Is it possible to type Chinese directly into a field? I have a number of years of experience with HyperCard which handles all kinds of different scripts, both mono and double byte, extremely well. As a matter of fact, I've got most of my academic research material (including voluminous dictionaries of Asian languages) conveniently available in HC. I just tried to see whether Revolution could be of any use for the type of work I'm doing (philological research and language teaching) but had to discover that it seems impossible to type Chinese or Japanese into a field. Tibetan, Devanagari and Hebrew work but with Chinese I only succeed to paste text created in another application. Am I missing something? Regards, Fritz From joseph at positivepractices.com Sun Dec 9 14:26:01 2001 From: joseph at positivepractices.com (Joseph) Date: Sun Dec 9 14:26:01 2001 Subject: ShowList External In-Reply-To: <200112081710.MAA31977@www.runrev.com> Message-ID: Greetings Everyone, I have used, extensively, the ShowList External with HyperCard for some years now. The external allows one to create a dialog box with lengthy a selectable/clickable list. I'm toying around with converting some stacks to Revolution. Does anyone of a similar component of/for revolution? Many thanks, Joseph Joseph Martinez joseph at positivepractices.com http://www.positivepractices.com From kray at sonsothunder.com Sun Dec 9 15:33:00 2001 From: kray at sonsothunder.com (Ken Ray) Date: Sun Dec 9 15:33:00 2001 Subject: ShowList External References: Message-ID: <000f01c180f0$1cfc7ce0$74d1f018@charter.net> Joseph, You can do this in MetaCard directly without an external. You create a substack (or stack) as your dialog box, put on a field with the listBehavior set to true (to make it a list field), and then put your text into it. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Website: http://www.sonsothunder.com/ ----- Original Message ----- From: "Joseph" To: Sent: Sunday, December 09, 2001 1:28 PM Subject: ShowList External > Greetings Everyone, > > I have used, extensively, the ShowList External with HyperCard for some > years now. The external allows one to create a dialog box with lengthy a > selectable/clickable list. I'm toying around with converting some stacks to > Revolution. Does anyone of a similar component of/for revolution? > > Many thanks, > > Joseph > > Joseph Martinez > joseph at positivepractices.com > http://www.positivepractices.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From stuart_milliken at sil.org Sun Dec 9 20:32:24 2001 From: stuart_milliken at sil.org (Stuart Milliken) Date: Sun Dec 9 20:32:24 2001 Subject: Chinese Message-ID: Dear Fritz, I just started trying out Rev a couple of days ago, and hadn't tried Chinese until I saw your message. Yikes! Here's the little I've discovered since (not "solutions", just observations): You can: 1) enter Chinese in the normal way into a field that is not set to a Chinese font, then change the font setting to Chinese. 2) enter Chinese into the msg box (displaying a non-Chinese font) and "put" it into the field from there. 3) enter Chinese via an object's script. 4) Registering Rev as Chinese (with the Language Register program) does not help. However, when the field is set to a Chinese font: 1) it is possible to select text only at the beginning and end of the text string; you can't select between characters. 2) Of the arrow keys, only the leftward pointing arrow works. It jumps the selection from the end of the string to the start. Other arrow keys do nothing. 3) The delete key does not delete characters, but rather moves the selection rightward, one character per two clicks. 4) The return key works normally, but of course only at the beginning and end of the string. 5) Alpha-numeric keys do nothing. 6) For a string of ten characters, Rev thinks "the length" is 20 and "the number of chars" is 20. (In HyperCard this is 20 and 10 respectively.) 7) From a script you can select between characters, e.g. "select after char 4 of fld 1" will select after the second character. Not quite what I want! Hope there's a fix for this! Yours, Stuart ---------- >From: "Friedrich F. Grohmann" >To: >Subject: Chinese >Date: Mon, Dec 10, 2001, 1:22 AM > > Is it possible to type Chinese directly into a field?... From bennie at lemoorenet.com Sun Dec 9 21:19:01 2001 From: bennie at lemoorenet.com (Bennie Warren) Date: Sun Dec 9 21:19:01 2001 Subject: SNMP In-Reply-To: <3C1312B2.C775C351@cloud9.net> Message-ID: I found and downloaded it. The problem I have is getting it to open in Rev. Am I missing something here? Thanks Bennie On 12/8/01 11:28 PM, "andu" wrote: > Bennie Warren wrote: >> >> Is anyone doing anything with SNMP, telnet or ping in Revolution for OSX? Is >> it even possible to do these things? > > It is for all other platforms, not sure about OSX. There is a minimal > telnet stack on ftp.metacard.com, if I remember correctly. > >> >> Thanks >> Bennie >> >> -- >> ************************************** >> Bennie Warren >> LemooreNet >> 320 West D Street >> Lemoore, CA 93245 >> Phone: 559.924.5909 >> Fax 559.924.9578 >> bennie at lemoorenet.com >> http://www.lemoorenet.com >> ************************************** >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/use-revolution -- ************************************** Bennie Warren LemooreNet 320 West D Street Lemoore, CA 93245 Phone: 559.924.5909 Fax 559.924.9578 bennie at lemoorenet.com http://www.lemoorenet.com ************************************** From troy at rpsystems.net Sun Dec 9 21:34:01 2001 From: troy at rpsystems.net (Troy Rollins) Date: Sun Dec 9 21:34:01 2001 Subject: SNMP In-Reply-To: Message-ID: Bennie Warren wrote: > I found and downloaded it. The problem I have is getting it to open in Rev. > Am I missing something here? I snagged it too, and got the same weird problem. Since I don't use metacard and never did - I wasn't sure what to do... But here's what I did... Changed the .mc extension to .rev (Rev still wouldn't see it) Tried to drop the icon onto Rev's (Rev ignored me) Dropped the icon on Internet Explorer's icon (Which promptly opened it in Rev) Saved the stack in Rev. Now it works fine. Go figure. ;) -- Troy RPSystems www.rpsystems.net From jperryl at ecs.fullerton.edu Sun Dec 9 22:18:01 2001 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun Dec 9 22:18:01 2001 Subject: Mac/Windows Fonts In-Reply-To: <005301c18079$77514ee0$74d1f018@charter.net> Message-ID: Ken, I was under the impression that Arial was the default font used in Windows whereas Geneva was on the Mac. Do I understand you correctly that this is not the case? Thanks, Judy On Sun, 9 Dec 2001, Ken Ray wrote: > Judy, > > I believe Arial maps to Helvetica on a Mac that does not have Arial > installed (it gets installed if you install some of the Microsoft products > on a Mac; I know that MS Office installs it). From kray at sonsothunder.com Sun Dec 9 23:13:01 2001 From: kray at sonsothunder.com (Ken Ray) Date: Sun Dec 9 23:13:01 2001 Subject: Mac/Windows Fonts References: Message-ID: <001501c18130$59bf3100$74d1f018@charter.net> Judy, No, you're right... Arial is the default *system font* under Windows and Geneva is the default *system font* on the Mac. However the original question was what does Arial map to on the Macintosh in MetaCard. If you create a blank field in MC/Mac, the font is set to Helvetica (or it is on 2.3 MC, which is the only MC I have handy right now). If a field with a font set to Arial on Windows is moved to a Mac without Arial, I'm pretty sure it maps it to Helvetica. I may be wrong; can anyone confirm? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Website: http://www.sonsothunder.com/ ----- Original Message ----- From: "Judy Perry" To: Sent: Sunday, December 09, 2001 9:15 PM Subject: Re: Mac/Windows Fonts > Ken, > > I was under the impression that Arial was the default font used in Windows > whereas Geneva was on the Mac. Do I understand you correctly that this is > not the case? > > Thanks, > > Judy > > On Sun, 9 Dec 2001, Ken Ray wrote: > > > Judy, > > > > I believe Arial maps to Helvetica on a Mac that does not have Arial > > installed (it gets installed if you install some of the Microsoft products > > on a Mac; I know that MS Office installs it). > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From niklas_almesjo at yahoo.com Mon Dec 10 08:37:01 2001 From: niklas_almesjo at yahoo.com (Niklas Almesjö) Date: Mon Dec 10 08:37:01 2001 Subject: Fullscreen (or present movie) with player? In-Reply-To: <200112071542.KAA31494@www.runrev.com> Message-ID: <20011210133451.77636.qmail@web12306.mail.yahoo.com> As I?ve understood it, the present movie option in Quicktime player sort of lets Quicktime occupy the processor just to play the movie.. So, can anyone comment on if its possible to use this feature from within an app? I mean, does the qt-api let you do this? Because it doesnt seem possible to do it from within Rev, right? /Niklas Message: 6 Date: Thu, 6 Dec 2001 16:23:52 -0800 (PST) From: Niklas "Almesj?" Subject: Fullscreen of player? To: use-revolution at lists.runrev.com Reply-To: use-revolution at lists.runrev.com Is there any way to use the fullscreen or present-movie options in Quicktime with a player? thanks, /Niklas __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From niklas_almesjo at yahoo.com Mon Dec 10 08:40:01 2001 From: niklas_almesjo at yahoo.com (Niklas Almesjö) Date: Mon Dec 10 08:40:01 2001 Subject: best way to read and write variables? In-Reply-To: <200112071542.KAA31494@www.runrev.com> Message-ID: <20011210133754.25666.qmail@web12305.mail.yahoo.com> Come on people.. give me a hand here. this must be a common task, no? - What is the simplest way to store variables outside of Rev? Message: 19 Date: Fri, 7 Dec 2001 06:47:40 -0800 (PST) From: Niklas "Almesj?" Subject: best way to read and write variables? To: use-revolution at lists.runrev.com Reply-To: use-revolution at lists.runrev.com What is the best way to write and read variables? When using Authorware there was a pretty convinient way to do it with property lists. Property lists looked something like this: "width":50, "height": 30 then you could just write the list to a textfile, read it in and do a List(theText) and you had the list again. Anything similar (or even better) in Rev? thanks, /Niklas __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From mmckenzie at rubygordon.com Mon Dec 10 11:48:02 2001 From: mmckenzie at rubygordon.com (Michael McKenzie) Date: Mon Dec 10 11:48:02 2001 Subject: Changing the tab order. Message-ID: Hi all, I'm new here. I'm trying out the "free" version to decide if I should upgrade my copy of RealBasic or go with Revolution. Anyway, I was wondering if there's an easy way (or anyway) to change the text field tab order on a card? Any help would be appreciated. From kray at sonsothunder.com Mon Dec 10 12:00:01 2001 From: kray at sonsothunder.com (Ken Ray) Date: Mon Dec 10 12:00:01 2001 Subject: best way to read and write variables? References: <20011210133754.25666.qmail@web12305.mail.yahoo.com> Message-ID: <004f01c1819c$6c3cf4e0$9865fea9@mc14> Niklas, You could do the same thing as you do in Authorware, but using a "do" statement, as in: -- Assume a comma- and return-delimited list of , pairs on mouseUp put url "file:c:\vars.txt" into varFile repeat for each line l in varFile do "put " & quote & (item 2 of l) & quote & " into " & (item 1 of l) end repeat end mouseUp I think most people haven't responded because they probably don't normally keep variable data in external files. (Just a guess...) Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Niklas Almesj?" To: Sent: Monday, December 10, 2001 7:37 AM Subject: Re: best way to read and write variables? > Come on people.. give me a hand here. this must be a > common task, no? > - What is the simplest way to store variables outside > of Rev? > > > > > Message: 19 > Date: Fri, 7 Dec 2001 06:47:40 -0800 (PST) > From: Niklas "Almesj?" > Subject: best way to read and write variables? > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > What is the best way to write and read variables? > When using Authorware there was a pretty convinient > way to do it with property lists. Property lists > looked something like this: "width":50, "height": 30 > then you could just write the list to a textfile, read > it in and do a List(theText) and you had the list > again. Anything similar (or even better) in Rev? > thanks, > /Niklas > > > > __________________________________________________ > Do You Yahoo!? > Send your FREE holiday greetings online! > http://greetings.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From colin at funnygarbage.com Mon Dec 10 12:43:01 2001 From: colin at funnygarbage.com (Autoresponder) Date: Mon Dec 10 12:43:01 2001 Subject: use-revolution digest, Vol 1 #57 - 12 msgs Message-ID: <20011210174108.3565.qmail@lepen.pair.com> Due to unexpected down time of the Funny Garbage email server, your mail has not been delivered. Please call your contact at Funny Garbage at 212.343.2534 Mail Admin, Funny Garbage From gcanyon at inspiredlogic.com Mon Dec 10 12:53:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon Dec 10 12:53:01 2001 Subject: SNMP In-Reply-To: References: Message-ID: At 9:32 PM -0500 12/9/01, Troy Rollins wrote: >Bennie Warren wrote: > >> I found and downloaded it. The problem I have is getting it to open in Rev. >> Am I missing something here? > >I snagged it too, and got the same weird problem. Since I don't use metacard >and never did - I wasn't sure what to do... But here's what I did... > >Changed the .mc extension to .rev (Rev still wouldn't see it) >Tried to drop the icon onto Rev's (Rev ignored me) >Dropped the icon on Internet Explorer's icon (Which promptly opened it in >Rev) >Saved the stack in Rev. >Now it works fine. Go figure. ;) I'm assuming it's just a file type issue. Another way around it is to type the following in the message box: answer file "Choose:";go it Hit return, and select the file you want to open in the open file dialog. regards, Geoff From devin_asay at byu.edu Mon Dec 10 13:00:01 2001 From: devin_asay at byu.edu (Devin Asay) Date: Mon Dec 10 13:00:01 2001 Subject: Changing the tab order. In-Reply-To: References: Message-ID: At 11:09 AM -0500 12/10/01, Michael McKenzie wrote: >Hi all, > >I'm new here. I'm trying out the "free" version to decide if I should >upgrade my copy of RealBasic or go with Revolution. Anyway, I was wondering >if there's an easy way (or anyway) to change the text field tab order on a >card? Any help would be appreciated. You change the tab order by changing the layer order in the basic properties palette. Tab order is lowest layer to highest. For a quick re-ordering, open the Alignment Palette from the Object menu. Then shift-click all of the fields you want to tab to in the order you want. Then click on either the relayer ascending or relayer descending button. The fields will be automatically relayered in the order you chose them. Devin -- Devin Asay Humanities Research Center Brigham Young University From dcragg at lacscentre.co.uk Mon Dec 10 13:20:01 2001 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon Dec 10 13:20:01 2001 Subject: best way to read and write variables? In-Reply-To: <20011207144740.46603.qmail@web12303.mail.yahoo.com> References: <20011207144740.46603.qmail@web12303.mail.yahoo.com> Message-ID: At 6:47 am -0800 7/12/01, Niklas "Almesj?" wrote: >What is the best way to write and read variables? >When using Authorware there was a pretty convinient >way to do it with property lists. Property lists >looked something like this: "width":50, "height": 30 >then you could just write the list to a textfile, read >it in and do a List(theText) and you had the list >again. Anything similar (or even better) in Rev? >thanks, >/Niklas You bet! :) The equivalent of Authorware's property lists is Rev's associative arrays. So you might do something in your app like this: put 50 into tData["width"] put 30 into tData["height"] put "wood" into tData["material"] In Rev 1.1 (I think) the combine and split commands allow you to convert between arrays and text easily, So, using the above data: combine tData using cr and "=" will convert tData to the following width=50 height=30 material=wood To put this into a file: put tData into url "file:C:/whatever.txt" #(or similar) To do the reverse: put url "file:C:/whatever.txt" into tData split tData using cr and "=" Cheers Dave Cragg From scott at tactilemedia.com Mon Dec 10 13:25:00 2001 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Dec 10 13:25:00 2001 Subject: best way to read and write variables? In-Reply-To: <20011210133754.25666.qmail@web12305.mail.yahoo.com> Message-ID: Recently, Almesj? Niklas wrote: > Come on people.. give me a hand here. this must be a > common task, no? > - What is the simplest way to store variables outside > of Rev? Write data to a text file or another stack. Regards, Scott _____________________________________________________________________ Scott Rossi Tactile Media - Multimedia & Design Creative Director Email: scott at tactilemedia.com Web: http://www.tactilemedia.com From mikelmac at mac.com Mon Dec 10 13:52:01 2001 From: mikelmac at mac.com (Mike McKenzie) Date: Mon Dec 10 13:52:01 2001 Subject: Changing the tab order. In-Reply-To: Message-ID: on 12/10/01 12:57 PM, Devin Asay at devin_asay at byu.edu wrote: > You change the tab order by changing the layer order in the basic > properties palette. Tab order is lowest layer to highest. > > For a quick re-ordering, open the Alignment Palette from the Object > menu. Then shift-click all of the fields you want to tab to in the > order you want. Then click on either the relayer ascending or > relayer descending button. The fields will be automatically > relayered in the order you chose them. > > Devin Thanks for the answer. It wouldn't hurt me to look in the documentation either. :-) Michael McKenzie Director of Advertising Ruby-Gordon Inc. From chipp at chipp.com Mon Dec 10 13:58:00 2001 From: chipp at chipp.com (Chipp Walters) Date: Mon Dec 10 13:58:00 2001 Subject: Stack Security Message-ID: I'm writing a stack which accesses a server using a username and password. It there any way I can 'protect' this stack from being opened in RR or MC without creating a standalone? thanks, Chipp ---------------------------- | ___ ____ _ __ | | / _ | / / /___ __(_) /_ | | / __ |/ / __/ // / / __/ | | /_/ |_/_/\__/\_,_/_/\__/ | | http://www.altuit.com | ---------------------------- From chipp at chipp.com Mon Dec 10 14:09:00 2001 From: chipp at chipp.com (Chipp Walters) Date: Mon Dec 10 14:09:00 2001 Subject: Print Screen Command? In-Reply-To: <001701c180cb$128fb990$0200a8c0@ws1> Message-ID: Josh, Not exactly sure what you're asking here. But if what you want to know is how to print out the screen, here's my 2 cents: --make a window the size of the screen set the rect of stack "myWindow" to screenRect() -hide the window hide stack "myWindow" --take a picture of the screen import snapshot rectangle screenRect() --print the picture print this card from 0,0 to the width stack "myWindow",the height of stack "myWindow" --delete the picture , don't need it anymore delete last image of stack "myWindow" --resize myWindow to something other than the screenrect set the rect of stack "myWindow" to 100,100,300,300 --now show it show stack "myWindow" I haven't tested this, but think it should work. You may have to move the stack offscreen instead of hiding it. hope this helps, Chipp to put a copy of the -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Josh Dye Sent: Sunday, December 09, 2001 10:03 AM To: use-revolution at lists.runrev.com Subject: Print Screen Command? Hey, Does anybody know if there is any way for on PC, to tell it to Print Screen? Basically the same thing as the "Print Scrn" button next to Scroll Lock. What I want it to do is get the screen of another computer and put it open that .Jpg or whatever on a different computer. Anything would be quite helpful! :-) - Josh Dye _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From scott at tactilemedia.com Mon Dec 10 14:11:01 2001 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Dec 10 14:11:01 2001 Subject: Stack Security In-Reply-To: Message-ID: Recently, Chipp Walters wrote: > I'm writing a stack which accesses a server using a username and password. > It there any way I can 'protect' this stack from being opened in RR or MC > without creating a standalone? Giving the stack a password is one way. Regards, Scott _____________________________________________________________________ Scott Rossi Tactile Media - Multimedia & Design Creative Director Email: scott at tactilemedia.com Web: http://www.tactilemedia.com From lorenz.tschudi at ggaweb.ch Mon Dec 10 14:15:01 2001 From: lorenz.tschudi at ggaweb.ch (Lorenz Tschudi) Date: Mon Dec 10 14:15:01 2001 Subject: best way to read and write variables? In-Reply-To: <200112101715.MAA12230@www.runrev.com> References: <200112101715.MAA12230@www.runrev.com> Message-ID: <20011210191203.2026@mail.ggaweb.ch> Instead of using Authorware's format ("width":50, "height":30) you could use the xml format. In that case your example would look lik this: 50 30. Using this method you can use quotes and commas or any other character in your variables without having problems when you retrieve your data. Lorenz From undo at cloud9.net Mon Dec 10 14:33:00 2001 From: undo at cloud9.net (andu) Date: Mon Dec 10 14:33:00 2001 Subject: best way to read and write variables? References: <20011207144740.46603.qmail@web12303.mail.yahoo.com> Message-ID: <3C150D1C.80D78B9F@cloud9.net> Dave Cragg wrote: > > At 6:47 am -0800 7/12/01, Niklas "Almesj-" wrote: > >What is the best way to write and read variables? Depends on the task. Writing it to a file as Dave suggests is one way, though I never needed to use a separate file for variables. I use custom properties for persistent values of properties and variables which are stored in the stack or object itself and you can do quite complex operations on them. Also you can declare values at the beginning of a script (outside the script): constant x=a+b or local x=a+b > >When using Authorware there was a pretty convinient > >way to do it with property lists. Property lists > >looked something like this: "width":50, "height": 30 > >then you could just write the list to a textfile, read > >it in and do a List(theText) and you had the list > >again. Anything similar (or even better) in Rev? > >thanks, > >/Niklas > > You bet! :) > > The equivalent of Authorware's property lists is Rev's associative > arrays. So you might do something in your app like this: > > put 50 into tData["width"] > put 30 into tData["height"] > put "wood" into tData["material"] > > In Rev 1.1 (I think) the combine and split commands allow you to > convert between arrays and text easily, So, using the above data: > > combine tData using cr and "=" > > will convert tData to the following > > width=50 > height=30 > material=wood > > To put this into a file: > > put tData into url "file:C:/whatever.txt" #(or similar) > > To do the reverse: > > put url "file:C:/whatever.txt" into tData > split tData using cr and "=" > > Cheers > Dave Cragg > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution -- __________________________ Regards, Andu From mikelmac at mac.com Mon Dec 10 15:41:00 2001 From: mikelmac at mac.com (Mike McKenzie) Date: Mon Dec 10 15:41:00 2001 Subject: Rotate? Message-ID: Is it possible to rotate an object or text lable? Thanks! Michael McKenzie Director of Advertising Ruby-Gordon Inc. From chipp at chipp.com Mon Dec 10 16:10:00 2001 From: chipp at chipp.com (Chipp Walters) Date: Mon Dec 10 16:10:00 2001 Subject: putting a file to a web server Message-ID: I tried: put url "file:c:\test.txt" into url "http://myserver.com/test.txt" to put a file on my server and it doesn't work. It appears that RR uses "PUT" and IIS doesn't support this (I think). If anyone has done this successfully, please let me know. The alternative is to FTP a file up to a server, then use an ASP page to copy it to the correct directory. -Chipp ---------------------------- | ___ ____ _ __ | | / _ | / / /___ __(_) /_ | | / __ |/ / __/ // / / __/ | | /_/ |_/_/\__/\_,_/_/\__/ | | http://www.altuit.com | ---------------------------- From undo at cloud9.net Mon Dec 10 16:31:01 2001 From: undo at cloud9.net (andu) Date: Mon Dec 10 16:31:01 2001 Subject: putting a file to a web server References: Message-ID: <3C152896.D009FDE6@cloud9.net> Chipp Walters wrote: > > I tried: > > put url "file:c:\test.txt" into url "http://myserver.com/test.txt" > > to put a file on my server and it doesn't work. It appears that RR uses > "PUT" and IIS doesn't support this (I think). If anyone has done this > successfully, please let me know. I don't think any public web server would allow PUT without authentication even if it did support it. Try put url "file:c:\test.txt" into url "http://username:password at myserver.com/test.txt" and make sure you have the right permissions to upload files. As to using ftp, why not upload it directly to the correct directory. > > The alternative is to FTP a file up to a server, then use an ASP page to > copy it to the correct directory. > > -Chipp > -- __________________________ Regards, Andu From rbarber66 at earthlink.net Mon Dec 10 16:42:02 2001 From: rbarber66 at earthlink.net (rbarber66 at earthlink.net) Date: Mon Dec 10 16:42:02 2001 Subject: Japanese,Chinese and Multi-byte text In-Reply-To: <200112091722.BAA04496@ms9.hinet.net> Message-ID: Fritz, Stuart, Dave, Scott R., In the past week, you have all expressed an interest in or experience with trying to use double byte texts with Rev/MC. I share that interest and frustration. I think the Rev/MC people (ultimately Scott of course) are open to meeting this need if it is seen to be great enough to justify the effort. If you want to see this ability added to Rev., lets go to the feature request page on Rev's website and start requesting it. I _know_ there is greater demand for double byte text handling than a French version... ;) And to Rev, I would like to say that with your special offer to HC/SC people to crossgrade, you can expect to see this request more and more. There is a great market in Japan, and its heading toward RB. MC should claim its share of this market with its great product. I recognize the difficulties of doing this cross-platform but it certianly isn't beyond Scott's wonderful programming ability. I think it has taken a back seat to some features that were seen as more essential. Perhaps now is the time to reconsider and move ahead in this area. Let's let Rev know what the need is and how many of us would benefit from the ability to use multi-byte text in our apps. Thanks Ron From niklas_almesjo at yahoo.com Mon Dec 10 16:58:01 2001 From: niklas_almesjo at yahoo.com (Niklas Almesjö) Date: Mon Dec 10 16:58:01 2001 Subject: use-revolution digest, Vol 1 #57 - 12 msgs In-Reply-To: <200112101714.MAA12129@www.runrev.com> Message-ID: <20011210215616.56648.qmail@web12305.mail.yahoo.com> Another qt-question: Is there any message sent when a movie (player) is done playing? /Niklas __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com From scott at tactilemedia.com Mon Dec 10 17:05:01 2001 From: scott at tactilemedia.com (Scott Rossi) Date: Mon Dec 10 17:05:01 2001 Subject: use-revolution digest, Vol 1 #57 - 12 msgs In-Reply-To: <20011210215616.56648.qmail@web12305.mail.yahoo.com> Message-ID: Recently, Almesj? Niklas wrote: > Is there any message sent when a movie (player) is > done playing? playStopped Query "the target" to get the short name of the player if you need it. Regards, Scott _____________________________________________________________________ Scott Rossi Tactile Media - Multimedia & Design Creative Director Email: scott at tactilemedia.com Web: http://www.tactilemedia.com From chipp at chipp.com Mon Dec 10 17:50:02 2001 From: chipp at chipp.com (Chipp Walters) Date: Mon Dec 10 17:50:02 2001 Subject: putting a file to a web server In-Reply-To: <3C152896.D009FDE6@cloud9.net> Message-ID: Good idea, but I don't want to have to deal with all the permission settings for each and every directory I want to upload to. Potential security risk. The directories are typically webpage directories I'm uploading to. -Chipp -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of andu Sent: Monday, December 10, 2001 3:27 PM To: use-revolution at lists.runrev.com Subject: Re: putting a file to a web server Chipp Walters wrote: > > I tried: > > put url "file:c:\test.txt" into url "http://myserver.com/test.txt" > > to put a file on my server and it doesn't work. It appears that RR uses > "PUT" and IIS doesn't support this (I think). If anyone has done this > successfully, please let me know. I don't think any public web server would allow PUT without authentication even if it did support it. Try put url "file:c:\test.txt" into url "http://username:password at myserver.com/test.txt" and make sure you have the right permissions to upload files. As to using ftp, why not upload it directly to the correct directory. > > The alternative is to FTP a file up to a server, then use an ASP page to > copy it to the correct directory. > > -Chipp > -- __________________________ Regards, Andu _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jeanne at runrev.com Mon Dec 10 18:15:00 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Mon Dec 10 18:15:00 2001 Subject: best way to read and write variables? In-Reply-To: <20011210133754.25666.qmail@web12305.mail.yahoo.com> References: <200112071542.KAA31494@www.runrev.com> Message-ID: At 5:37 AM -0800 12/10/2001, Niklas "Almesj?" wrote: >Come on people.. give me a hand here. this must be a >common task, no? Well, no, not really. Can you explain a little about why you'd want to store the contents of a variable in a separate file? What you would accomplish by doing this? Several people have suggested methods for doing this, and they'll all work fine, but without any idea why you're doing this in the first place I'm not sure whether writing a separate file is the best way to accomplish what you want to accomplish.... -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From undo at cloud9.net Mon Dec 10 18:45:00 2001 From: undo at cloud9.net (andu) Date: Mon Dec 10 18:45:00 2001 Subject: putting a file to a web server References: Message-ID: <3C154828.CCBEE8C2@cloud9.net> Chipp Walters wrote: > > Good idea, but I don't want to have to deal with all the permission settings > for each and every directory I want to upload to. Potential security risk. > The directories are typically webpage directories I'm uploading to. I don't get it, if you don't have the write to access a directory, what is the way to put files in it short of asking the administrator to do it for you. One assumes that if you use a web hosting service you do have rights to access any directories within your domain either via ftp or http if the web server supports uploads. > > -Chipp > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of andu > Sent: Monday, December 10, 2001 3:27 PM > To: use-revolution at lists.runrev.com > Subject: Re: putting a file to a web server > > Chipp Walters wrote: > > > > I tried: > > > > put url "file:c:\test.txt" into url "http://myserver.com/test.txt" > > > > to put a file on my server and it doesn't work. It appears that RR uses > > "PUT" and IIS doesn't support this (I think). If anyone has done this > > successfully, please let me know. > > I don't think any public web server would allow PUT without > authentication even if it did support it. > Try > put url "file:c:\test.txt" into url > "http://username:password at myserver.com/test.txt" > and make sure you have the right permissions to upload files. > > As to using ftp, why not upload it directly to the correct directory. > > > > > The alternative is to FTP a file up to a server, then use an ASP page to > > copy it to the correct directory. > > > > -Chipp > > > > -- > __________________________ > Regards, Andu > _______________________________________________ > 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 -- __________________________ Regards, Andu From chipp at chipp.com Mon Dec 10 19:40:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Mon Dec 10 19:40:01 2001 Subject: putting a file to a web server In-Reply-To: <3C154828.CCBEE8C2@cloud9.net> Message-ID: Andu My understanding of this is: IIS and other servers don't support the PUT feature. They support POST and GET, but custom headers are typically written to tell the server what MIME type etc.. FTP gets around this and is easier to use but less secure. Currently, RR uses the PUT mode of sending files via http to servers. I'm talking about some things I don't fully understand, but this is how it was explained to me. I tried the put command and the server couldn't recognize nor do anything with it. -Chipp -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of andu Sent: Monday, December 10, 2001 5:41 PM To: use-revolution at lists.runrev.com Subject: Re: putting a file to a web server Chipp Walters wrote: > > Good idea, but I don't want to have to deal with all the permission settings > for each and every directory I want to upload to. Potential security risk. > The directories are typically webpage directories I'm uploading to. I don't get it, if you don't have the write to access a directory, what is the way to put files in it short of asking the administrator to do it for you. One assumes that if you use a web hosting service you do have rights to access any directories within your domain either via ftp or http if the web server supports uploads. > > -Chipp > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of andu > Sent: Monday, December 10, 2001 3:27 PM > To: use-revolution at lists.runrev.com > Subject: Re: putting a file to a web server > > Chipp Walters wrote: > > > > I tried: > > > > put url "file:c:\test.txt" into url "http://myserver.com/test.txt" > > > > to put a file on my server and it doesn't work. It appears that RR uses > > "PUT" and IIS doesn't support this (I think). If anyone has done this > > successfully, please let me know. > > I don't think any public web server would allow PUT without > authentication even if it did support it. > Try > put url "file:c:\test.txt" into url > "http://username:password at myserver.com/test.txt" > and make sure you have the right permissions to upload files. > > As to using ftp, why not upload it directly to the correct directory. > > > > > The alternative is to FTP a file up to a server, then use an ASP page to > > copy it to the correct directory. > > > > -Chipp > > > > -- > __________________________ > Regards, Andu > _______________________________________________ > 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 -- __________________________ Regards, Andu _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From undo at cloud9.net Mon Dec 10 20:50:01 2001 From: undo at cloud9.net (andu) Date: Mon Dec 10 20:50:01 2001 Subject: putting a file to a web server References: Message-ID: <3C15657A.95ECC80A@cloud9.net> Chipp Walters wrote: > > Andu > > My understanding of this is: > IIS and other servers don't support the PUT feature. They support POST and > GET, but custom headers are typically written to tell the server what MIME > type etc.. FTP gets around this and is easier to use but less secure. > Currently, RR uses the PUT mode of sending files via http to servers. > > I'm talking about some things I don't fully understand, but this is how it > was explained to me. I tried the put command and the server couldn't > recognize nor do anything with it. Few web servers actually support PUT and the security level is minimal (password is base64 encoded) so I wouldn't worry too much just for website updating. Use FTP and you should have no problem. Try put url ...file into url "ftp://user:password at ftp.host.com/file". > > -Chipp > -- __________________________ Regards, Andu From slu at cycast.com Mon Dec 10 21:57:01 2001 From: slu at cycast.com (Steve Lu) Date: Mon Dec 10 21:57:01 2001 Subject: How do I access ODBC database? Message-ID: <003401c181f1$cd80b430$9865fea9@vaio> How do I access an ODBC database from script? I think this is one of the advertised features of Revolution 1.1, but so far I have found no script command that issue SQL querys. is a separate plug-in required? steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From chipp at chipp.com Tue Dec 11 00:28:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 11 00:28:01 2001 Subject: Print Stack problem... In-Reply-To: <3C15657A.95ECC80A@cloud9.net> Message-ID: I was building a test stack for Josh to show him how to print the screen. After building the capture part, I used Jeanne's script she mentioned awhile back: print this card from 20,20 to 150,250 but couldn't get the card to print. The test program is at the top of this page: http://www.altuit.com/webs/altuit2/RunRev/Bugs.htm Anyone out there tell me what I'm doing wrong? -Chipp From markmac at shaw.ca Tue Dec 11 00:37:01 2001 From: markmac at shaw.ca (Mark MacKenzie (Shaw)) Date: Tue Dec 11 00:37:01 2001 Subject: set the filled of last graphic to false References: Message-ID: <001c01c18205$f3b72d00$797d4718@ss.shawcable.net> True but I get around that in a current project by using a box graphic (opaque property ) but with ink set to noOp, with a surrounding box (acting as a frame). This surrounding box is set to be not opaque but with margins of 4. I set the colour of this to red for clarity's sake. I group these two graphics and handle them as one unit by handling the group. This may sound a tad convoluted but it allows the transparent area inside the frame to receive mouse related actions. It is really very handy. Regards Mark ----- Original Message ----- From: "Chipp Walters" To: Sent: Sunday, December 09, 2001 4:30 AM Subject: RE: set the filled of last graphic to false > Mark, > > Thanks. What I was wanting was to create 'hollow' rectangle graphics for use > in 'decorating' windows. If i set the ink property, it will affect the both > the rectangle inside and the outside line. I can do it from the msg but I > was looking for a button. > > hmmm > > Chipp > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Mark > MacKenzie (Shaw) > Sent: Sunday, December 09, 2001 12:06 AM > To: use-revolution at lists.runrev.com > Subject: Re: set the filled of last graphic to false > > > Chipp, I was experimenting with: > > set the filled of graphic xlrf to false > > But found that the graphic then would not respond to mouse clicks as I > wished it to. If you wish it to be transparent and still respond to normal > mouse clicks without selecting it first then working with the inks property > might work for you. > > If so, you can try: > > set the ink of graphic xlrf to noOp > > Regards Mark > > ----- Original Message ----- > From: "Chipp Walters" > To: > Sent: Saturday, December 08, 2001 2:12 AM > Subject: set the filled of last graphic to false > > > > is there a way to do this in the RR IDE? I'm sure there is, but I can't > find > > it for the life of me;-) > > > > thanks, > > > > Chipp > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From markmac at shaw.ca Tue Dec 11 00:44:00 2001 From: markmac at shaw.ca (Mark MacKenzie (Shaw)) Date: Tue Dec 11 00:44:00 2001 Subject: Disappearing dialog Message-ID: <000a01c18206$f4be2040$797d4718@ss.shawcable.net> I have a simple quit script on a mouseUp handler in a button. on mouseUp answer "Are you sure you want to quit?" with "No" or "OK" if it is "OK" then quit end if end mouseUp This works like a charm in the Rev editor environment. However it will not work in the Rev player environment. No dialog appears. I have checked for locked messages, etc. and not got anywhere. Win ME Rev. 1.1 Am I simply doing something wrong here or do I need to look further for a bug or other scripting defect? Regards Mark From undo at cloud9.net Tue Dec 11 01:58:02 2001 From: undo at cloud9.net (Andu) Date: Tue Dec 11 01:58:02 2001 Subject: Print Stack problem... Message-ID: <20011211065554.2DA8328E78@russian-caravan.cloud9.net> > >I was building a test stack for Josh to show him how to print the screen. >After building the capture part, I used Jeanne's script she mentioned awhile >back: > >print this card from 20,20 to 150,250 Try print this card into rect 20,20,150,150 > >but couldn't get the card to print. The test program is at the top of this >page: > > >http://www.altuit.com/webs/altuit2/RunRev/Bugs.htm > >Anyone out there tell me what I'm doing wrong? >-Chipp > Regards, Andu ____________________________ undo at cloud9.net From undo at cloud9.net Tue Dec 11 02:06:01 2001 From: undo at cloud9.net (Andu) Date: Tue Dec 11 02:06:01 2001 Subject: Disappearing dialog Message-ID: <20011211070353.38A5428E7E@russian-caravan.cloud9.net> > >I have a simple quit script on a mouseUp handler in a button. > >on mouseUp > answer "Are you sure you want to quit?" with "No" or "OK" > if it is "OK" then > quit > end if >end mouseUp > >This works like a charm in the Rev editor environment. However it will not >work in the Rev player environment. No dialog appears. I have checked for >locked messages, etc. and not got anywhere. Sounds as if you are running the stack outside the IDE and forgot to move the dialog stack into the stack - same as for standalones. > >Win ME Rev. 1.1 > >Am I simply doing something wrong here or do I need to look further for a >bug or other scripting defect? > >Regards Mark Regards, Andu ____________________________ undo at cloud9.net From chipp at chipp.com Tue Dec 11 02:13:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 11 02:13:01 2001 Subject: Print Stack problem... In-Reply-To: <20011211065554.2DA8328E78@russian-caravan.cloud9.net> Message-ID: I tried that too, with the same lack of success. Any other ideas? -Chipp -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Andu Sent: Tuesday, December 11, 2001 12:56 AM To: use-revolution at lists.runrev.com Subject: Re: Print Stack problem... > >I was building a test stack for Josh to show him how to print the screen. >After building the capture part, I used Jeanne's script she mentioned awhile >back: > >print this card from 20,20 to 150,250 Try print this card into rect 20,20,150,150 > >but couldn't get the card to print. The test program is at the top of this >page: > > >http://www.altuit.com/webs/altuit2/RunRev/Bugs.htm > >Anyone out there tell me what I'm doing wrong? >-Chipp > Regards, Andu ____________________________ undo at cloud9.net _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From shaosean at 23am.org Tue Dec 11 02:26:01 2001 From: shaosean at 23am.org (Shao Sean) Date: Tue Dec 11 02:26:01 2001 Subject: Disappearing dialog References: <000a01c18206$f4be2040$797d4718@ss.shawcable.net> Message-ID: <007201c18213$5817aa60$88b15bd1@dreamlanpc> in the "Distribution Builder" dialog, go to the "Resources" tab.. make sure that the "Answer Dialog" option is checked, that will include the answer stack into your project.. -- Sean From chipp at chipp.com Tue Dec 11 03:08:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 11 03:08:01 2001 Subject: Running a batch file in DOS In-Reply-To: <007201c18213$5817aa60$88b15bd1@dreamlanpc> Message-ID: Jerry, try: open process "C:\WINDOWS\COMMAND.COM /C test.bat" this runs the batch file "test.bat" from within the windows directory -Chipp >>I got one for you...how do you run a batch file under Windows? From chipp at chipp.com Tue Dec 11 04:18:00 2001 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 11 04:18:00 2001 Subject: Running a batch file in DOS In-Reply-To: <001901c1821e$9b6fa6e0$3d779d40@mshome.net> Message-ID: Jerry, The /C is a switch which tells DOS to close after running the batch file. test.bat is the name of the file...in the same directory as the command.com file. because it is difficult to always know you have a correct path, it is easier to just put the file in the same directory as command.com you might try fooling around with a designated path like "C:\bin\newmon.bat" It would look like: open process "C:\WINDOWS\COMMAND.COM /C C:\bin\newmon.bat" hope it works! -----Original Message----- From: Jerry Daniels [mailto:jerry at danielsfamily.org] Sent: Tuesday, December 11, 2001 2:34 AM To: 'Chipp Walters' Subject: RE: Running a batch file in DOS Specifically, the batch file I'm trying to open is -----Original Message----- From: Chipp Walters [mailto:chipp at chipp.com] Sent: Tuesday, December 11, 2001 2:08 AM To: use-revolution at lists.runrev.com; jerry at danielsfamily.org Subject: RE: Running a batch file in DOS Jerry, try: open process "C:\WINDOWS\COMMAND.COM /C test.bat" this runs the batch file "test.bat" from within the windows directory -Chipp >>I got one for you...how do you run a batch file under Windows? From shaosean at 23am.org Tue Dec 11 05:09:01 2001 From: shaosean at 23am.org (Shao Sean) Date: Tue Dec 11 05:09:01 2001 Subject: SMTP Client Socket v1.0 Message-ID: <00d101c1822a$020ae3f0$88b15bd1@dreamlanpc> I just sent the wonderful people over at RunRev a new copy of my SMTP Client Socket (now at version 1.0).. Basically it's the same thing as the previous release, except the fact that i rewrote it and removed any formatting code from the socket.. this may sound like a bad thing, but i've now seperated the socket code from the formatting code to make both more transportable across projects (i should have a semi-usable encoder available in a day or two).. -- Sean From wmb at internettrainer.com Tue Dec 11 05:15:25 2001 From: wmb at internettrainer.com (Wolfgang M. Bereuter) Date: Tue Dec 11 05:15:25 2001 Subject: Mac/Windows Fonts In-Reply-To: <200112091714.MAA24329@www.runrev.com> Message-ID: am 09.12.2001 18:14 Uhr schrieb use-revolution-request at lists.runrev.com unter use-revolution-request at lists.runrev.com: > 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. Ohh, thanks a lot I did not know that. Where is you book "rev for pro-dummies?) regards Wolfgang M. Bereuter Learn easy with trainingsmaps and outliner 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 benr_mc at cogapp.com Tue Dec 11 07:55:00 2001 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue Dec 11 07:55:00 2001 Subject: can a handler find out its caller's value of a local property Message-ID: Specifically, if I'm writing a library routine which might optionally do its work in a case sensitive way, the elegant way to expose this choice would be for the library routine to use the value of the 'caseSensitive' property. Is there a way in MetaTalk/Transcript to check the value, or force the inheritance of, the 'caseSensitive' property? TIA, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From porretta at integraitalia.com Tue Dec 11 08:51:01 2001 From: porretta at integraitalia.com (Federico Porretta) Date: Tue Dec 11 08:51:01 2001 Subject: informazione Message-ID: Buongiorno sono un grafico multimediale che incomincia da poco lavora con Revolution. Mi potete spiegare come si fa a passare da una pagina a un'altra? E come si fa ad avere un manuale in italiano di revolution? A chiunque mi potesse rispondere, un grazie. Distinti saluti -- Federico Porretta web graphic designer porretta at integraitalia.com Tel. 085 8074407 Fax 085 8074210 www.integraitalia.com From benr_mc at cogapp.com Tue Dec 11 09:25:02 2001 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue Dec 11 09:25:02 2001 Subject: relationship between "call" and "send" Message-ID: What is the relationship between "call" and "send"? I can see that send can take some optional extra parameters for scheduling - apart from that are they fundamentally different? TIA, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From benr_mc at cogapp.com Tue Dec 11 09:27:01 2001 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue Dec 11 09:27:01 2001 Subject: can a handler access the calling path? Message-ID: ie, can a handler find out which handler/function called it; and which called that one? TIA, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From diskot123 at juno.com Tue Dec 11 10:35:01 2001 From: diskot123 at juno.com (diskot123 at juno.com) Date: Tue Dec 11 10:35:01 2001 Subject: How do I access ODBC database? Message-ID: <20011211.103657.190.0.diskot123@juno.com> >How do I access an ODBC database from script? >I think this is one of the advertised features of Revolution 1.1, >but so far I have found no script command that issue SQL querys. Check out the database manager under the tools menu..also check out revdb_connect in the transcript dictionary. Tuviah From mikelmac at mac.com Tue Dec 11 10:57:00 2001 From: mikelmac at mac.com (Mike McKenzie) Date: Tue Dec 11 10:57:00 2001 Subject: Adding numbers Message-ID: My appologizes to the programers here, but as I am not, my questions will be of the "dumb" variety. I wish I had a printed manual so I could try to find the answers off-line. Anyway here's my question: How do I perform a math function (like add, subtract, etc.) on the number input into a text field and then display the result in another textfield? (Just your basic spreadsheet) Also how do I restrict the input to only numbers? Michael McKenzie Director of Advertising Ruby-Gordon Inc. From dd at interlink.com.ar Tue Dec 11 11:30:01 2001 From: dd at interlink.com.ar (Diego D'Alessio) Date: Tue Dec 11 11:30:01 2001 Subject: informazione In-Reply-To: Message-ID: > Buongiorno > sono un grafico multimediale che incomincia da poco lavora con Revolution. > Mi potete spiegare come si fa a passare da una pagina a un'altra? > E come si fa ad avere un manuale in italiano di revolution? > > A chiunque mi potesse rispondere, un grazie. > Distinti saluti Hola! Parla Ingles?. Capito piccolo italiano. Espa?ol? Puedo ayudarlo. Diego DAlessio -- D'Alessio & Wacholder Multimedia Developers Tel: +(54-11) 43 27 49 41 email: dd at dyw.com.ar http://www.dyw.com.ar Lavalle 662, 11th Floor, Suite 416 (C1047AAN), Buenos Aires, AR From devin_asay at byu.edu Tue Dec 11 11:33:01 2001 From: devin_asay at byu.edu (Devin Asay) Date: Tue Dec 11 11:33:01 2001 Subject: Adding numbers In-Reply-To: References: Message-ID: At 10:57 AM -0500 12/11/01, Mike McKenzie wrote: >My appologizes to the programers here, but as I am not, my questions will be >of the "dumb" variety. I wish I had a printed manual so I could try to find >the answers off-line. Anyway here's my question: > >How do I perform a math function (like add, subtract, etc.) on the number >input into a text field and then display the result in another textfield? >(Just your basic spreadsheet) put fld "foo" + 15 into fld "bar" -- OR put fld "foo" + fld "bar" into fld "foobar" -- OR add 15 to fld "foo" -- result will appear in fld "foo" >Also how do I restrict the input to only numbers? > if not (inputVariable is a number) then ... Devin -- Devin Asay Humanities Research Center Brigham Young University From gcanyon at inspiredlogic.com Tue Dec 11 11:45:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Dec 11 11:45:01 2001 Subject: Adding numbers In-Reply-To: References: Message-ID: At 10:57 AM -0500 12/11/01, Mike McKenzie wrote: >My appologizes to the programers here, but as I am not, my questions will be >of the "dumb" variety. I wish I had a printed manual so I could try to find >the answers off-line. Anyway here's my question: > >How do I perform a math function (like add, subtract, etc.) on the number >input into a text field and then display the result in another textfield? >(Just your basic spreadsheet) > >Also how do I restrict the input to only numbers? You can create your own printed manual using the RTFer stack: You can perform math functions just by describing them. For the above, for example, you might use: put 5 + field "some field" into fld "another field" To verify that something is a number, just say so: if field "some field" is a number then put 5 + field "some field" into fld "another field" else answer "Please enter a number!" end if regards, Geoff From gcanyon at inspiredlogic.com Tue Dec 11 11:50:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Dec 11 11:50:01 2001 Subject: informazione In-Reply-To: References: Message-ID: At 2:52 PM +0100 12/11/01, Federico Porretta wrote: >Buongiorno >sono un grafico multimediale che incomincia da poco lavora con Revolution. >Mi potete spiegare come si fa a passare da una pagina a un'altra? >E come si fa ad avere un manuale in italiano di revolution? > >A chiunque mi potesse rispondere, un grazie. >Distinti saluti Benvenuto ! Non parlo italiano, ma fa un piccolo. Spiacente se buono. Potete esportare il manuale di giro usando una pila a . Allora potreste fare funzionare il testo tramite un mezzo di traduzione. riguardi, Geoff From chipp at chipp.com Tue Dec 11 13:37:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 11 13:37:01 2001 Subject: Running a batch file in DOS In-Reply-To: Message-ID: Jerry, Chris tells me to use cmd.exe instead of command.com so try this: cmd /c c:\test.bat cmd -- short for cmd.exe /c -- run then terminate c:\test.bat --filepath of batch file to run -Chipp -----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, December 11, 2001 3:17 AM To: Jerry Daniels; use-revolution at lists.runrev.com Subject: RE: Running a batch file in DOS Jerry, The /C is a switch which tells DOS to close after running the batch file. test.bat is the name of the file...in the same directory as the command.com file. because it is difficult to always know you have a correct path, it is easier to just put the file in the same directory as command.com you might try fooling around with a designated path like "C:\bin\newmon.bat" It would look like: open process "C:\WINDOWS\COMMAND.COM /C C:\bin\newmon.bat" hope it works! -----Original Message----- From: Jerry Daniels [mailto:jerry at danielsfamily.org] Sent: Tuesday, December 11, 2001 2:34 AM To: 'Chipp Walters' Subject: RE: Running a batch file in DOS Specifically, the batch file I'm trying to open is -----Original Message----- From: Chipp Walters [mailto:chipp at chipp.com] Sent: Tuesday, December 11, 2001 2:08 AM To: use-revolution at lists.runrev.com; jerry at danielsfamily.org Subject: RE: Running a batch file in DOS Jerry, try: open process "C:\WINDOWS\COMMAND.COM /C test.bat" this runs the batch file "test.bat" from within the windows directory -Chipp >>I got one for you...how do you run a batch file under Windows? _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From Meta at Dimensional.com Tue Dec 11 13:39:00 2001 From: Meta at Dimensional.com (Jamie) Date: Tue Dec 11 13:39:00 2001 Subject: Adding numbers References: Message-ID: <3C16512D.876C2E21@Dimensional.com> And if you have to add a lot of numbers at once you can use the "sum" function. For example: on closeField put sum (field "thisfield", field "thatfield", field "someotherfield") into field "result" end closeField Best Regards, -Jamie Devin Asay wrote: > > At 10:57 AM -0500 12/11/01, Mike McKenzie wrote: > >My appologizes to the programers here, but as I am not, my questions will be > >of the "dumb" variety. I wish I had a printed manual so I could try to find > >the answers off-line. Anyway here's my question: > > > >How do I perform a math function (like add, subtract, etc.) on the number > >input into a text field and then display the result in another textfield? > >(Just your basic spreadsheet) > > put fld "foo" + 15 into fld "bar" > > -- OR > > put fld "foo" + fld "bar" into fld "foobar" > > -- OR > > add 15 to fld "foo" -- result will appear in fld "foo" > > >Also how do I restrict the input to only numbers? > > > > if not (inputVariable is a number) then ... > > Devin > -- > Devin Asay > Humanities Research Center > Brigham Young University > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From mikelmac at mac.com Tue Dec 11 14:46:01 2001 From: mikelmac at mac.com (Mike McKenzie) Date: Tue Dec 11 14:46:01 2001 Subject: Adding numbers (and limiting the result) In-Reply-To: <3C16512D.876C2E21@Dimensional.com> Message-ID: Wow! Thanks to everyone who responded to my questions! Now I'm trying to limit the result to just 2 decimal places. I tried searching the help files but I'm not even sure what to call what I'm looking for. Message-ID: Recently, Mike McKenzie wrote: > I'm trying to limit the result to just 2 decimal places. Sounds like you want the numberFormat. Regards, Scott _____________________________________________________________________ Scott Rossi Tactile Media - Multimedia & Design Creative Director Email: scott at tactilemedia.com Web: http://www.tactilemedia.com From jerry at danielsfamily.org Tue Dec 11 17:24:01 2001 From: jerry at danielsfamily.org (Jerry Daniels) Date: Tue Dec 11 17:24:01 2001 Subject: Running a batch file in DOS In-Reply-To: Message-ID: <002901c18292$1d9318a0$47769d40@mshome.net> Chip, This worked: do "open process" && quote & "C:\bin\newmon.bat" & quote do "close process" && quote & "C:\bin\newmon.bat" & quote I tried everything I could think of in the message box until I got the batch file to run. And then the message script wouldn't work in the button, so I resorted to "do" as you see above. Maybe I had a typo. Who knows? I'm low on sleep. I couldn't figure out how to get the "C/" part of the script to work and time was running out, so the cmd window remained open behind the PowerBuilder app that I opened. Thanks, again for the help. Jerry -----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, December 11, 2001 3:17 AM To: Jerry Daniels; use-revolution at lists.runrev.com Subject: RE: Running a batch file in DOS Jerry, The /C is a switch which tells DOS to close after running the batch file. test.bat is the name of the file...in the same directory as the command.com file. because it is difficult to always know you have a correct path, it is easier to just put the file in the same directory as command.com you might try fooling around with a designated path like "C:\bin\newmon.bat" It would look like: open process "C:\WINDOWS\COMMAND.COM /C C:\bin\newmon.bat" hope it works! -----Original Message----- From: Jerry Daniels [mailto:jerry at danielsfamily.org] Sent: Tuesday, December 11, 2001 2:34 AM To: 'Chipp Walters' Subject: RE: Running a batch file in DOS Specifically, the batch file I'm trying to open is -----Original Message----- From: Chipp Walters [mailto:chipp at chipp.com] Sent: Tuesday, December 11, 2001 2:08 AM To: use-revolution at lists.runrev.com; jerry at danielsfamily.org Subject: RE: Running a batch file in DOS Jerry, try: open process "C:\WINDOWS\COMMAND.COM /C test.bat" this runs the batch file "test.bat" from within the windows directory -Chipp >>I got one for you...how do you run a batch file under Windows? _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From michaell at unimelb.edu.au Tue Dec 11 17:43:00 2001 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Tue Dec 11 17:43:00 2001 Subject: Adding numbers Message-ID: Sometimes (mostly) I find it best to prevent a non-number input rather than complain about it later. Put the following script into a field that you want the user to enter a number into: on keyDown theKey if theKey is in "1234567890-." then pass keyDown end keyDown -- 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 chipp at chipp.com Tue Dec 11 17:44:24 2001 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 11 17:44:24 2001 Subject: easy one? Message-ID: How do I click a tab through a script? I've tried everything I can think of. Thought it would be easier if someone else has already solved this one. thx. -chipp ---------------------------- | ___ ____ _ __ | | / _ | / / /___ __(_) /_ | | / __ |/ / __/ // / / __/ | | /_/ |_/_/\__/\_,_/_/\__/ | | http://www.altuit.com | | chipp at altuit.com | ---------------------------- From chipp at chipp.com Tue Dec 11 17:45:48 2001 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 11 17:45:48 2001 Subject: Running a batch file in DOS In-Reply-To: <002901c18292$1d9318a0$47769d40@mshome.net> Message-ID: Jerry, great...fyi the "C/" part is "/C" just so you know. -Chipp -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Jerry Daniels Sent: Tuesday, December 11, 2001 4:21 PM To: use-revolution at lists.runrev.com Subject: RE: Running a batch file in DOS Chip, This worked: do "open process" && quote & "C:\bin\newmon.bat" & quote do "close process" && quote & "C:\bin\newmon.bat" & quote I tried everything I could think of in the message box until I got the batch file to run. And then the message script wouldn't work in the button, so I resorted to "do" as you see above. Maybe I had a typo. Who knows? I'm low on sleep. I couldn't figure out how to get the "C/" part of the script to work and time was running out, so the cmd window remained open behind the PowerBuilder app that I opened. Thanks, again for the help. Jerry -----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, December 11, 2001 3:17 AM To: Jerry Daniels; use-revolution at lists.runrev.com Subject: RE: Running a batch file in DOS Jerry, The /C is a switch which tells DOS to close after running the batch file. test.bat is the name of the file...in the same directory as the command.com file. because it is difficult to always know you have a correct path, it is easier to just put the file in the same directory as command.com you might try fooling around with a designated path like "C:\bin\newmon.bat" It would look like: open process "C:\WINDOWS\COMMAND.COM /C C:\bin\newmon.bat" hope it works! -----Original Message----- From: Jerry Daniels [mailto:jerry at danielsfamily.org] Sent: Tuesday, December 11, 2001 2:34 AM To: 'Chipp Walters' Subject: RE: Running a batch file in DOS Specifically, the batch file I'm trying to open is -----Original Message----- From: Chipp Walters [mailto:chipp at chipp.com] Sent: Tuesday, December 11, 2001 2:08 AM To: use-revolution at lists.runrev.com; jerry at danielsfamily.org Subject: RE: Running a batch file in DOS Jerry, try: open process "C:\WINDOWS\COMMAND.COM /C test.bat" this runs the batch file "test.bat" from within the windows directory -Chipp >>I got one for you...how do you run a batch file under Windows? _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From sarahr at genesearch.com.au Tue Dec 11 18:33:01 2001 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue Dec 11 18:33:01 2001 Subject: Adding numbers (and limiting the result) In-Reply-To: Message-ID: You could use numberFormat as suggested, or the round function. put round(myNumber,2) into fld "Whatever" This will give you 2 decimal places rounded by financial rules. If you want statistical rounding rules, use the statRound function. Cheers, Sarah > > Wow! > > Thanks to everyone who responded to my questions! > > Now I'm trying to limit the result to just 2 decimal places. > > I tried searching the help files but I'm not even sure what to call what I'm > looking for. > Thanks again! > > > Michael McKenzie > Director of Advertising > Ruby-Gordon Inc. > > > > _______________________________________________ > 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 Dec 11 18:38:01 2001 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue Dec 11 18:38:01 2001 Subject: Adding numbers In-Reply-To: Message-ID: Don't forget to allow backspace, delete and perhaps return. You might need to use rawKeyDown instead and check the ASCII value of each key pressed. Cheers, Sarah > > Sometimes (mostly) I find it best to prevent a non-number input > rather than complain about it later. Put the following script into a > field that you want the user to enter a number into: > > on keyDown theKey > if theKey is in "1234567890-." then pass keyDown > end keyDown > > -- > Michael J. Lew > > Senior Lecturer > Department of Pharmacology > The University of Melbourne > Parkville 3010 > Victoria > Australia > > Phone +613 8344 8304 > > ** > New email address: michaell at unimelb.edu.au > ** > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From bfether at mac.com Tue Dec 11 19:10:01 2001 From: bfether at mac.com (Ben C. Fetherston, Jr.) Date: Tue Dec 11 19:10:01 2001 Subject: Find/Replace feature Message-ID: I have been attempting to create a script in a database stack that will automatically change particular key letter combinations into a word or phrase within a field when the field is closed. I have a script that works great with the "replace" command. However, the replace command will not "find whole" words, but will replace the letters within another word. The key letter combinations all have a space at the end, so the words that get changed that I don't want changed are the ones that end in the particular key letter combinations. I have tried to use the "find whole" command in a script, but can't seem to find a command to change the selectedText. I have tried to use the replaceText function, but I can't seem to avoid the same error message, even though I have entered the command the same as it appears in the Dictionary. Any suggestions? Best regards. .signature-------- bfether at earthlink.net bfether at mac.com Ben C. Fetherston, Jr. Clark, Lindauer, Fetherston, Edmonds & Lippold, LLP Salem, Oregon USA This is legal advice only if you are a client. NOTICE: This communication may contain privileged or other confidential information. If you have received it in error, please advise the sender by reply email and immediately delete the message and any attachments without copying or disclosing the contents. Thank you. From Zzyzx at Relia.Net Tue Dec 11 19:32:01 2001 From: Zzyzx at Relia.Net (Josh Dye) Date: Tue Dec 11 19:32:01 2001 Subject: A very hard Syntax to figure out... Message-ID: <000f01c182ad$49e14e20$0200a8c0@ws1> Hey, I need a bit of help. Ok, here is the syntax I am looking into... on mouseup set the rect of stack "test1" to screenRect() hide stack "test1" import snapshot from rectangle the screenRect set the rect of stack "test1" to the screenRect show stack "test1" set the rect of stack "test1" to 300,300,500,500 --set the name of graphic "image id 1013" to "Test1" end mouseup Ok, the line ({[ --set the name of graphic "image id 1013" to "Test1" ]}) doesn't work. What I want it to do, once it took a picture of the stack is to set the name of that graphic to a different name. So, when I do it over and over again, I want it to have a different name every time I do it. I also want to save it somewhere. One big question... Can you open a graphic from a syntax command line and have it appear? What I am basically doing is tiring to get a screen from computer 'B' and have that picture open up on computer 'A'. I want to send the command to take a picture of computer 'B' from computer 'A'. I can do the networking part of that... I don't want anything to change on computer 'B' while I do this. Anything would be quite the useful thing. - Josh Dye From niklas_almesjo at yahoo.com Tue Dec 11 20:21:00 2001 From: niklas_almesjo at yahoo.com (Niklas Almesjö) Date: Tue Dec 11 20:21:00 2001 Subject: best way to read and write variables? In-Reply-To: <200112102252.RAA24708@www.runrev.com> Message-ID: <20011212011933.39479.qmail@web12307.mail.yahoo.com> Dave Cragg wrote: "..put 50 into tData["width"] put 30 into tData["height"] put "wood" into tData["material"].." Thanks Dave! Looks great.. just what I need! Jeanne A. E. DeVoto wrote: "..Well, no, not really. Can you explain a little about why you'd want to store the contents of a variable in a separate file? What you would accomplish by doing this?.." - I need to specify some settings for a program using textfiles, thus the need to read/write variables. But at any case I thought it was the only way to store the value of variables when a program quits.. Are there other ways? Lorenz wrote: "..50 30.." - XML is nice, but I didnt know Rev handled it? thanks, /Niklas __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com From kray at sonsothunder.com Tue Dec 11 20:53:01 2001 From: kray at sonsothunder.com (Ken Ray) Date: Tue Dec 11 20:53:01 2001 Subject: A very hard Syntax to figure out... References: <000f01c182ad$49e14e20$0200a8c0@ws1> Message-ID: <002a01c182af$1c442440$74d1f018@charter.net> Josh, You don't need to use "graphic" when talking about images. So you can just use this line instead: set the name of image id 1013 to "Test1" Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Website: http://www.sonsothunder.com/ ----- Original Message ----- From: "Josh Dye" To: Sent: Tuesday, December 11, 2001 7:35 PM Subject: A very hard Syntax to figure out... > Hey, > I need a bit of help. Ok, here is the syntax I am looking into... > > > on mouseup > set the rect of stack "test1" to screenRect() > hide stack "test1" > import snapshot from rectangle the screenRect > set the rect of stack "test1" to the screenRect > show stack "test1" > set the rect of stack "test1" to 300,300,500,500 > --set the name of graphic "image id 1013" to "Test1" > end mouseup > > > Ok, the line ({[ --set the name of graphic "image id 1013" to Test1" ]}) > doesn't work. What I want it to do, once it took a picture of the stack is > to set the name of that graphic to a different name. So, when I do it over > and over again, I want it to have a different name every time I do it. I > also want to save it somewhere. One big question... Can you open a graphic > from a syntax command line and have it appear? > > What I am basically doing is tiring to get a screen from computer 'B' and > have that picture open up on computer 'A'. I want to send the command to > take a picture of computer 'B' from computer 'A'. I can do the networking > part of that... I don't want anything to change on computer 'B' while I do > this. Anything would be quite the useful thing. > > > > - Josh Dye > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Tue Dec 11 21:12:00 2001 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 11 21:12:00 2001 Subject: A very hard Syntax to figure out... In-Reply-To: <000f01c182ad$49e14e20$0200a8c0@ws1> Message-ID: Josh, refer to the 'snapshot' as last image so it would be set the name of last image to "test1" -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Josh Dye Sent: Tuesday, December 11, 2001 7:35 PM To: use-revolution at lists.runrev.com Subject: A very hard Syntax to figure out... Hey, I need a bit of help. Ok, here is the syntax I am looking into... on mouseup set the rect of stack "test1" to screenRect() hide stack "test1" import snapshot from rectangle the screenRect set the rect of stack "test1" to the screenRect show stack "test1" set the rect of stack "test1" to 300,300,500,500 --set the name of graphic "image id 1013" to "Test1" end mouseup Ok, the line ({[ --set the name of graphic "image id 1013" to "Test1" ]}) doesn't work. What I want it to do, once it took a picture of the stack is to set the name of that graphic to a different name. So, when I do it over and over again, I want it to have a different name every time I do it. I also want to save it somewhere. One big question... Can you open a graphic from a syntax command line and have it appear? What I am basically doing is tiring to get a screen from computer 'B' and have that picture open up on computer 'A'. I want to send the command to take a picture of computer 'B' from computer 'A'. I can do the networking part of that... I don't want anything to change on computer 'B' while I do this. Anything would be quite the useful thing. - Josh Dye _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From cyberscope at home.com Tue Dec 11 21:42:00 2001 From: cyberscope at home.com (Gene Kennedy) Date: Tue Dec 11 21:42:00 2001 Subject: AppleScript Question References: <200112120156.UAA29731@www.runrev.com> Message-ID: <3C16C1EF.DCDECD10@home.com> I understand how to use AppleScript with the "Do" command but I am also interested in knowing: Is there a way to call compiled AppleScript scripts or AppleScript applications from Transcript and have the ability to pass parameter values back and forth? Thanks for any help. Gene Kennedy From JamesHBeckmann at aol.com Tue Dec 11 22:03:01 2001 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Tue Dec 11 22:03:01 2001 Subject: Recurring Error Msg Message-ID: <1e.1fd82c3c.29482285@aol.com> Recurring error message on opening properties: >? There was an Execution Error at 7:56:20 PM >Error description: Chunk: can't find card >Revolution User Interface Error: Object: stack "REVPropertyPalette4" >-------------------- >set the topleft of group i of card i to tTopLeft >-------------------- Apparent references to Rev stacks behind the scenes: ? There was an Execution Error at 8:03:50 PM Error description: Chunk: can't find card Revolution User Interface Error: Object: stack "REVPropertyPalette4" -------------------- put the groupNames of card lDeleteObjectName of stack lDeletePaletteName into tGroupNames -------------------- Value: REVDeletePropertyPaletteCard ? There was an Execution Error at 8:03:35 PM Error description: Chunk: can't find card Revolution User Interface Error: Object: stack "REVPropertyPalette4" -------------------- set the cREVWhichTab of cd i to empty -------------------- Value: revCloseStack OK, seems to me the stack "REVPropertyPalette4" should be easily found. Jim From cyberscope at home.com Tue Dec 11 22:21:01 2001 From: cyberscope at home.com (Gene Kennedy) Date: Tue Dec 11 22:21:01 2001 Subject: How to pass data to a launched process References: <200112120156.UAA29731@www.runrev.com> Message-ID: <3C16CB21.A90BF517@home.com> I have read the Transcript dictionary descriptions of the process-related commands namely: Open Process, Close Process, Write to Process and Read from Process but do not have an understanding yet as to how one actually sets up the inter-application process. What I'd like to do is to create two applications A & B. Normally only app A would be running however under certain conditions I would like App a to open process B then send it some initialization data. Then, after process B has done its work, send data back to process A (or have process a "Read from Process B"). What do you use as a container in each app to send and receive the data to and fro? Does anybody have an example they would be willing to share? Thanks for any help. Gene Kennedy From JamesHBeckmann at aol.com Tue Dec 11 22:38:01 2001 From: JamesHBeckmann at aol.com (JamesHBeckmann at aol.com) Date: Tue Dec 11 22:38:01 2001 Subject: Errors in the Tutorial Message-ID: <30.1f56270c.29482aa9@aol.com> The following are more errors encountered in the Tutorial after creating the button "Show Me!"? Error description: Chunk: can't find card set the topleft of group i of card i to tTopLeft Line: 667 Character: 23 Value: Error description: Chunk: can't find object set the topleft of group i of card i to tTopLeft Line: 667 Character: 23 Value: Error description: Object: can't set object property set the topleft of group i of card i to tTopLeft Line: 667 Character: 7 Value: 203 Error description: set: can't set property set the topleft of group i of card i to tTopLeft Line: 667 Character: 1 Value: 203 Error description: repeat: error in statement repeat for each item i in tTabs Line: 666 Character: 1 Value: Error description: if-then: error in statement if not gREVBuildingPaletteExemption and the cREVStackOffset of this stack is not empty and the cRevStackOffset of this stack is not 0 then Line: 634 Character: 1 Value: Error description: Handler: error in statement if not gREVBuildingPaletteExemption and the cREVStackOffset of this stack is not empty and the cRevStackOffset of this stack is not 0 then Line: 634 Character: 1 Value: REVPositionTabs Error description: Handler: can't find handler if tSelectedObject is not empty then REVPositionTabs Line: 550 Character: 35 Value: REVPositionTabs From jperryl at ecs.fullerton.edu Tue Dec 11 23:26:00 2001 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Dec 11 23:26:00 2001 Subject: Recurring Error Msg In-Reply-To: <1e.1fd82c3c.29482285@aol.com> Message-ID: Lucky you. At least you can GET to the properties window... Judy On Tue, 11 Dec 2001 JamesHBeckmann at aol.com wrote: > Recurring error message on opening properties: > > > >??? There was an Execution Error at 7:56:20 PM > >Error description: Chunk: can't find card > >Revolution User Interface Error: Object: stack "REVPropertyPalette4" > >-------------------- > >set the topleft of group i of card i to tTopLeft > >-------------------- > > Doesn't allow me to close the properties window. > > Jim From jperryl at ecs.fullerton.edu Tue Dec 11 23:27:30 2001 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue Dec 11 23:27:30 2001 Subject: More Errors In-Reply-To: <14e.5949065.2948244a@aol.com> Message-ID: This sounds remarkably like my problem... Judy On Tue, 11 Dec 2001 JamesHBeckmann at aol.com wrote: > Apparent references to Rev stacks behind the scenes: > > ??? There was an Execution Error at 8:03:50 PM > Error description: Chunk: can't find card > Revolution User Interface Error: Object: stack "REVPropertyPalette4" > -------------------- > put the groupNames of card lDeleteObjectName of stack lDeletePaletteName into > tGroupNames > -------------------- > Value: REVDeletePropertyPaletteCard > > ??? There was an Execution Error at 8:03:35 PM > Error description: Chunk: can't find card > Revolution User Interface Error: Object: stack "REVPropertyPalette4" > -------------------- > set the cREVWhichTab of cd i to empty > -------------------- > Value: revCloseStack > > > OK, seems to me the stack "REVPropertyPalette4" should be easily found. From scott at tactilemedia.com Wed Dec 12 01:40:01 2001 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Dec 12 01:40:01 2001 Subject: How to pass data to a launched process In-Reply-To: <3C16CB21.A90BF517@home.com> Message-ID: Recently, Gene Kennedy wrote: > I have read the Transcript dictionary descriptions of the process-related > commands > namely: Open Process, Close Process, Write to Process and Read from Process > but do > not have an understanding yet as to how one actually sets up the > inter-application > process. > > What I'd like to do is to create two applications A & B. Normally only app A > would be running however under certain conditions I would like App a to open > process B then send it some initialization data. Then, after process B has > done > its work, send data back to process A (or have process a "Read from Process > B"). > What do you use as a container in each app to send and receive the data to and > fro? Does anybody have an example they would be willing to share? One way to do this (actually two ways) is AppleEvents on MacOS and DDE (Dynamic Data Exchange) on Windows, which requires Tuviah Snyder's external collection. I've done this on the Windows side only, just by following the examples in the external stack. Let me know if this is of any use to you. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From jeanne at runrev.com Wed Dec 12 01:41:19 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Wed Dec 12 01:41:19 2001 Subject: can a handler find out its caller's value of a local property In-Reply-To: Message-ID: At 4:54 AM -0800 12/11/2001, Ben Rubinstein wrote: >Specifically, if I'm writing a library routine which might optionally do its >work in a case sensitive way, the elegant way to expose this choice would be >for the library routine to use the value of the 'caseSensitive' property. > >Is there a way in MetaTalk/Transcript to check the value, or force the >inheritance of, the 'caseSensitive' property? How about passing the value of the caseSensitive as a (optional) parameter, and setting the caseSensitive to that value first thing in the called handler if the parameter isn't empty? -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From jeanne at runrev.com Wed Dec 12 01:42:09 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Wed Dec 12 01:42:09 2001 Subject: easy one? In-Reply-To: Message-ID: At 2:40 PM -0800 12/11/2001, Chipp Walters wrote: >How do I click a tab through a script? I've tried everything I can think of. set the menuHistory of button "My tabbed button" to 2 -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From shaosean at 23am.org Wed Dec 12 04:08:01 2001 From: shaosean at 23am.org (Shao Sean) Date: Wed Dec 12 04:08:01 2001 Subject: [TIP] Converting strings to hexadecimal Message-ID: <000701c182ec$415e8210$88b15bd1@dreamlanpc> like me, you may be needing to converting simple strings into hex.. after much research online looking for code to do such said conversion, i came across a simple function in metatalk "binaryEncode".. it didn't help, but it's counterpart "binaryDecode" did.. the equal sign "=" in hex is 3D, so the following code allows you to easily convert this, as well as others: local vHex get binaryDecode("H*", "=", vHex) put toUpper(vHex) into vHex what does it mean? H* means to convert all the characters to the hex, starting with the high end (make a note, that this is what you want to do, the lowercase 'h*' will return something different and incorrect) = the character(s) to convert vHex existing variable (either local or global) one other note, the results returned from this function will give lowercase letters ("=" => 3d) instead of the correct uppercase ("=" => 3D).. while this may seem trivial it does make a difference in some applications (even though implementations of said applications should handle lowercase as equal to uppercase) -- Sean From kevin at runrev.com Wed Dec 12 08:21:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Wed Dec 12 08:21:01 2001 Subject: Copy Image to Clipboard? In-Reply-To: Message-ID: On 6/12/01 10:26 pm, Chipp Walters wrote: > I'm trying to copy and image to the clipboard for pasting into another > program like Photoshop. > > I've tried the 'cut' command and it doesn't work. Any ideas if this can be > done in RR? Yes, you need to select inside the image with a paint selection tool. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Wed Dec 12 08:22:32 2001 From: kevin at runrev.com (Kevin Miller) Date: Wed Dec 12 08:22:32 2001 Subject: Fullscreen of player? In-Reply-To: <20011207002352.8757.qmail@web12305.mail.yahoo.com> Message-ID: On 7/12/01 12:23 am, Almesj? Niklas wrote: > Is there any way to use the fullscreen or > present-movie options in Quicktime with a player? Yes, set the rect of the stack to the screenRect, show the backDrop and hide the menuBar. Regards, Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Wed Dec 12 08:29:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Wed Dec 12 08:29:01 2001 Subject: putting a file to a web server In-Reply-To: Message-ID: On 10/12/01 9:09 pm, Chipp Walters wrote: > put url "file:c:\test.txt" Should be: put URL "file:c:/test.txt" Revolution always uses "/" on all platforms. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Wed Dec 12 08:31:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Wed Dec 12 08:31:01 2001 Subject: Disappearing dialog In-Reply-To: <20011211070353.38A5428E7E@russian-caravan.cloud9.net> Message-ID: On 11/12/01 7:03 am, Andu wrote: > Sounds as if you are running the stack outside the IDE and forgot to move the > dialog > stack into the stack - same as for standalones. Use the Build Files option in the Distribution Builder - ensuring that "Answer Dialog" is checked on the resources tab. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Wed Dec 12 08:38:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Wed Dec 12 08:38:01 2001 Subject: Recurring Error Msg In-Reply-To: Message-ID: On 12/12/01 4:24 am, Judy Perry wrote: > Lucky you. At least you can GET to the properties window... We've corrected a fair number of these here. But if you have a recipe - i.e. can talk us through it step by step to get the problem, please send it in so we can make sure it is fixed. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Wed Dec 12 10:25:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Wed Dec 12 10:25:01 2001 Subject: Change stack in openStack In-Reply-To: <059F4405-E96D-11D5-8B3D-00039344C7B8@mac.com> Message-ID: On 5/12/01 10:44 am, David Vaughan wrote: > The same code works perfectly if I put it in a button and execute it > "manually". > What is going on here please? Can you send me a copy of the stack off-list? Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From bvlahos at jpl.nasa.gov Wed Dec 12 10:39:01 2001 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Wed Dec 12 10:39:01 2001 Subject: Stupid Unix tricks Message-ID: <184563A0-EF16-11D5-8B09-003065E6E4BC@jpl.nasa.gov> There are some command line programs I would like to put in a nice UI. It seems like Revolution would make this pretty easy except I don't see in the documentation how to write it. Is there a way to program Rev for command line functions directly? I would like to send "commands" and read and display the results in Rev and would rather not simply AppleScript the Terminal app. I only need to do this for Mac OS X but I suspect the principal would be the same for other platforms too. Bill Vlahos Jet Propulsion Laboratory From gcanyon at inspiredlogic.com Wed Dec 12 11:17:00 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Dec 12 11:17:00 2001 Subject: best way to read and write variables? In-Reply-To: <20011212011933.39479.qmail@web12307.mail.yahoo.com> References: <20011212011933.39479.qmail@web12307.mail.yahoo.com> Message-ID: At 5:19 PM -0800 12/11/01, Niklas "Almesj?" wrote: >Jeanne A. E. DeVoto wrote: >"..Well, no, not really. Can you explain a little >about why you'd want to >store the contents of a variable in a separate file? >What you would >accomplish by doing this?.." > >- I need to specify some settings for a program using >textfiles, thus the need to read/write variables. But >at any case I thought it was the only way to store the >value of variables when a program quits.. Are there >other ways? > >Lorenz wrote: >"..50 30.." > >- XML is nice, but I didnt know Rev handled it? A running application can't modify and save itself, but you can use an external stack file and then modify and save that however you like. Doing this brings it back as close to the HyperCard model as is possible on PCs and Unix. Many people create an application that is pretty much a splash screen turned into a standalone, and then develop the main body of their application as a separate stack. Revolution handles XML just fine -- it's just text with a few tagging rules. regards, geoff From gcanyon at inspiredlogic.com Wed Dec 12 11:20:00 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Dec 12 11:20:00 2001 Subject: Find/Replace feature In-Reply-To: References: Message-ID: At 4:08 PM -0800 12/11/01, Ben C. Fetherston, Jr. wrote: >I have been attempting to create a script in a database stack that will >automatically change particular key letter combinations into a word or >phrase within a field when the field is closed. I have a script that works >great with the "replace" command. > >However, the replace command will not "find whole" words, but will replace >the letters within another word. The key letter combinations all have a >space at the end, so the words that get changed that I don't want changed >are the ones that end in the particular key letter combinations. > >I have tried to use the "find whole" command in a script, but can't seem to >find a command to change the selectedText. > >I have tried to use the replaceText function, but I can't seem to avoid the >same error message, even though I have entered the command the same as it >appears in the Dictionary. Take a look at the wholeMatches property and the wordOffset function. regards, Geoff From andre.rombauts at win.be Wed Dec 12 11:30:01 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Wed Dec 12 11:30:01 2001 Subject: displaying a Web page Message-ID: i'm testing Revolution. Nice piece of work! How can I display a web page on a card? put url "xxxxx" into ???? Thanks. Andr? From heather at runrev.com Wed Dec 12 12:25:01 2001 From: heather at runrev.com (Heather Williams) Date: Wed Dec 12 12:25:01 2001 Subject: FW: changing a menu In-Reply-To: Message-ID: Except you sent it to me instead... ;) don't worry, I'll just forward it to the list Heather From: Gareth Jones Date: Wed, 12 Dec 2001 08:23:25 -0800 To: use-revolution-admin at lists.runrev.com Subject: changing a menu Hello from a new subscriber. I've decided to give my friendly contact at Runtime Revolution (hi, Kevin!) a bit of a rest by posting here first. I have a stack and I've created a custom menubar for it by using the Menu Manager. Now I'd like to add and delete items from individual menus, changing things around. Since the menu does not show up now for editing in the Menu Manager window, this will have to be done manually, probably through the Message box. So, for example, how do I put "Save as Text File..." before the "Quit" option in the custom "File" menu? To my credit, I did figure out how to change the script associated with the menu: edit the script of bg btn "File" of group "Addresses menu" -Gareth Jones -- From scott at tactilemedia.com Wed Dec 12 13:07:00 2001 From: scott at tactilemedia.com (Scott Rossi) Date: Wed Dec 12 13:07:00 2001 Subject: displaying a Web page In-Reply-To: Message-ID: Recently, Andre Rombauts wrote: > How can I display a web page on a card? REV doesn't interpret HTML, if that's what you're asking. You either need to parse the HTML yourself and build your own rendering of the page (pretty major chore unless it's a simple page), or display a screenshot of the page. Regards, Scott _____________________________________________________________________ Scott Rossi Tactile Media - Multimedia & Design Creative Director Email: scott at tactilemedia.com Web: http://www.tactilemedia.com From steve at messimercomputing.com Wed Dec 12 13:52:01 2001 From: steve at messimercomputing.com (Steve Messimer) Date: Wed Dec 12 13:52:01 2001 Subject: Standalone issues Message-ID: Hi, I am finished with my project and I want to create a standalone app. I am still having problems creating relative paths for the standalone. Since this process is key to creating any distribution I think there should be some detailed directions regarding how this is accomplished. Is there a way that this can be done using the distribution builder? I have a rev stack and a data folder with 6 qt movs. A cookbook explanation of how this is done would be very much appreciated. Thanks Steve From sjoerdoptland at mac.com Wed Dec 12 13:55:01 2001 From: sjoerdoptland at mac.com (Sjoerd Op 't Land) Date: Wed Dec 12 13:55:01 2001 Subject: Stupid Unix tricks In-Reply-To: <184563A0-EF16-11D5-8B09-003065E6E4BC@jpl.nasa.gov> Message-ID: Bill Vlahos wrote/ schreef: > There are some command line programs I would like to put in a nice UI. > It seems like Revolution would make this pretty easy except I don't see > in the documentation how to write it. Is there a way to program Rev for > command line functions directly? > > I would like to send "commands" and read and display the results in Rev > and would rather not simply AppleScript the Terminal app. > > I only need to do this for Mac OS X but I suspect the principal would be > the same for other platforms too. AFAIK, you can use the shell() function on Wintel/*NIX platforms, except MacOS (X), unfortunately. > Bill Vlahos > Jet Propulsion Laboratory Regards, / Groeten, Sjoerd From sjoerdoptland at mac.com Wed Dec 12 13:57:15 2001 From: sjoerdoptland at mac.com (Sjoerd Op 't Land) Date: Wed Dec 12 13:57:15 2001 Subject: Running a batch file in DOS In-Reply-To: <002901c18292$1d9318a0$47769d40@mshome.net> Message-ID: Jerry Daniels wrote/ schreef: > I couldn't figure out how to get the "C/" part of the script to work and > time was running out, so the cmd window remained open behind the > PowerBuilder app that I opened. Does set hideConsoldeWindows to true help? > Thanks, again for the help. > > Jerry Regards, / Groeten, Sjoerd From gcanyon at inspiredlogic.com Wed Dec 12 14:01:02 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Dec 12 14:01:02 2001 Subject: displaying a Web page In-Reply-To: References: Message-ID: At 5:27 PM +0100 12/12/01, Andre Rombauts wrote: >i'm testing Revolution. Nice piece of work! > >How can I display a web page on a card? > >put url "xxxxx" into ???? Check out the htmlText property of fields: set the htmlText of fld "somefield" to url "http://www.apple.com" From bfether at earthlink.net Wed Dec 12 17:13:03 2001 From: bfether at earthlink.net (Ben C. Fetherston, Jr.) Date: Wed Dec 12 17:13:03 2001 Subject: Find/Replace feature Message-ID: I have been attempting to create a script in a database stack that will automatically change particular key letter combinations into a word or phrase within a field when the field is closed. I have a script that works great with the "replace" command. However, the replace command will not "find whole" words, but will replace the letters within another word. The key letter combinations all have a space at the end, so the words that get changed that I don't want changed are the ones that end in the particular key letter combinations. I have tried to use the "find whole" command in a script, but can't seem to find a command to change the selectedText. I have tried to use the replaceText function, but I can't seem to avoid the same error message, even though I have entered the command the same as it appears in the Dictionary. Any suggestions? Best regards. .signature-------- bfether at earthlink.net Ben C. Fetherston, Jr. Clark, Lindauer, Fetherston, Edmonds & Lippold, LLP Salem, Oregon USA This is legal advice only if you are a client. NOTICE: This communication may contain privileged or other confidential information. If you have received it in error, please advise the sender by reply email and immediately delete the message and any attachments without copying or disclosing the contents. Thank you. From John at onechip.com Wed Dec 12 17:15:50 2001 From: John at onechip.com (John) Date: Wed Dec 12 17:15:50 2001 Subject: Find/Replace feature In-Reply-To: Message-ID: On Tuesday, December 11, 2001, at 04:08 PM, Ben C. Fetherston, Jr. wrote: > I have been attempting to create a script in a database stack that will > automatically change particular key letter combinations into a word or > phrase within a field when the field is closed. I have a script that > works > great with the "replace" command. > > However, the replace command will not "find whole" words, but will > replace > the letters within another word. The key letter combinations all have a > space at the end, so the words that get changed that I don't want > changed > are the ones that end in the particular key letter combinations. > Snip.... Are the "whole words" also preceded by a space? If so could you pad what you are searching for with a leading and following space? Just a thought, John Miskimins From Ritch.Houdek at med.ge.com Wed Dec 12 17:28:01 2001 From: Ritch.Houdek at med.ge.com (Houdek, Ritch (MED)) Date: Wed Dec 12 17:28:01 2001 Subject: Best way to launch other applications Message-ID: What is the best way to launch other applications on a Windows platform? I have used "launch filename with appname" with limited success. The problems with it are: - Only 1 document can be opened at a time per application. In order to open a 2nd document, you must quit the entire application and relaunch it. - I can't launch Excel files this way after building a distribution. They launch within the Revolution IDE but not after a distribution is built. Thanks in advance, Ritch Houdek From kray at sonsothunder.com Wed Dec 12 17:54:00 2001 From: kray at sonsothunder.com (Ken Ray) Date: Wed Dec 12 17:54:00 2001 Subject: Best way to launch other applications References: Message-ID: <018d01c18360$3e545da0$9865fea9@mc14> Ritch, You can use either "open process" or "shell()". Shell is useful when you want Rev to stop in mid-stream and wait until the program is finished. For example: on mouseUp set the hideConsoleWindows to true get shell("C:\myfile.pdf") answer "Thank you!" end mouseUp This will launch the application associated with .pdf files (Acrobat Reader or Acrobat) and then wait until that application is closed, effectively "pausing" the Rev app. Once the app is closed, it goes on to the next line and answers "Thank you!". "Open process" comes back after it has executed and moves on (it doesn't wait). Hope this helps, Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Houdek, Ritch (MED)" To: Sent: Wednesday, December 12, 2001 4:24 PM Subject: Best way to launch other applications > > What is the best way to launch other applications on a Windows platform? > I have used "launch filename with appname" with limited success. > > The problems with it are: > > - Only 1 document can be opened at a time per application. In order to > open > a 2nd document, you must quit the entire application and relaunch it. > > - I can't launch Excel files this way after building a distribution. > They launch > within the Revolution IDE but not after a distribution is built. > > Thanks in advance, > > Ritch Houdek > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Zzyzx at Relia.Net Wed Dec 12 18:00:00 2001 From: Zzyzx at Relia.Net (Josh Dye) Date: Wed Dec 12 18:00:00 2001 Subject: Best way to launch other applications References: <018d01c18360$3e545da0$9865fea9@mc14> Message-ID: <000701c18369$a52ab9d0$0200a8c0@ws1> Sounds good. Is there a way to do that same exact thing with opening Games that have to open Dll's? Anything would be great Ken! :-) - Josh Dye ----- Original Message ----- From: "Ken Ray" To: Sent: Wednesday, December 12, 2001 2:49 PM Subject: Re: Best way to launch other applications > Ritch, > > You can use either "open process" or "shell()". Shell is useful when you > want Rev to stop in mid-stream and wait until the program is finished. For > example: > > on mouseUp > set the hideConsoleWindows to true > get shell("C:\myfile.pdf") > answer "Thank you!" > end mouseUp > > This will launch the application associated with .pdf files (Acrobat Reader > or Acrobat) and then wait until that application is closed, effectively > "pausing" the Rev app. Once the app is closed, it goes on to the next line > and answers "Thank you!". > > "Open process" comes back after it has executed and moves on (it doesn't > wait). > > Hope this helps, > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > ----- Original Message ----- > From: "Houdek, Ritch (MED)" > To: > Sent: Wednesday, December 12, 2001 4:24 PM > Subject: Best way to launch other applications > > > > > > What is the best way to launch other applications on a Windows platform? > > I have used "launch filename with appname" with limited success. > > > > The problems with it are: > > > > - Only 1 document can be opened at a time per application. In order to > > open > > a 2nd document, you must quit the entire application and relaunch it. > > > > - I can't launch Excel files this way after building a distribution. > > They launch > > within the Revolution IDE but not after a distribution is built. > > > > Thanks in advance, > > > > Ritch Houdek > > _______________________________________________ > > 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 gwills at ozemail.com.au Wed Dec 12 18:27:01 2001 From: gwills at ozemail.com.au (Greg Wills) Date: Wed Dec 12 18:27:01 2001 Subject: printing an area In-Reply-To: <200112081712.MAA32127@www.runrev.com> References: <200112081712.MAA32127@www.runrev.com> Message-ID: Thanks Jeanne, I appreciate your support. Greg At 10:55 PM -0800 12/8/2001, Greg Wills wrote: >Just a simple question. Is Rev 1.1 able to print an area of a card, >not the whole thing? Yes: print this card from 20,20 to 150,250 -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From jerry at danielsfamily.org Wed Dec 12 18:36:01 2001 From: jerry at danielsfamily.org (Jerry Daniels) Date: Wed Dec 12 18:36:01 2001 Subject: Best way to launch other applications In-Reply-To: Message-ID: <004501c18365$5c8a7d40$b45ef4d1@mshome.net> Ritch, See the "Running a batch file in DOS" for tips in using the shell to launch. I'm certainly not an expert, but then info in that thread might be helpful. But, as far as I know, "launch doc with app" and "open process app doc" are the only two ways known to me. Happy hunting, Jerry Daniels -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Houdek, Ritch (MED) Sent: Wednesday, December 12, 2001 4:24 PM To: 'use-revolution at lists.runrev.com' Subject: Best way to launch other applications What is the best way to launch other applications on a Windows platform? I have used "launch filename with appname" with limited success. The problems with it are: - Only 1 document can be opened at a time per application. In order to open a 2nd document, you must quit the entire application and relaunch it. - I can't launch Excel files this way after building a distribution. They launch within the Revolution IDE but not after a distribution is built. Thanks in advance, Ritch Houdek _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From stuart_milliken at sil.org Wed Dec 12 19:11:01 2001 From: stuart_milliken at sil.org (Stuart Milliken) Date: Wed Dec 12 19:11:01 2001 Subject: changing a menu Message-ID: To display an existing menu group in the Menu Manage Window, click the "Edit" button on the MM Window and then select the desired menu group from the "Edit Existing Menu Bar" window that appears. I found this a little confusing at first myself--I was expecting maybe a "View" or "Select" button. You can also change the contents of a menu button with scripts, treating them just like return-separated lists of text in a field. (Just be sure the scripts of the menu buttons work with whatever changes you make!) Hope this helps. Stuart > I have a stack and I've created a custom menubar for it by using the > Menu Manager. Now I'd like to add and delete items from individual > menus, changing things around. Since the menu does not show up now > for editing in the Menu Manager window, this will have to be done > manually, probably through the Message box. So, for example, how do I > put "Save as Text File..." before the "Quit" option in the custom > "File" menu? > > To my credit, I did figure out how to change the script associated > with the menu: edit the script of bg btn "File" of group "Addresses > menu" > > -Gareth Jones From kray at sonsothunder.com Wed Dec 12 20:53:01 2001 From: kray at sonsothunder.com (Ken Ray) Date: Wed Dec 12 20:53:01 2001 Subject: Best way to launch other applications References: <018d01c18360$3e545da0$9865fea9@mc14> <000701c18369$a52ab9d0$0200a8c0@ws1> Message-ID: <001301c18378$46400740$1842d818@charter.net> Josh, Can you clarify what you mean about "opening Games that have to open Dll's"? What game(s) are you thinking of and what DLLs? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Website: http://www.sonsothunder.com/ ----- Original Message ----- From: "Josh Dye" To: Sent: Wednesday, December 12, 2001 6:03 PM Subject: Re: Best way to launch other applications > Sounds good. Is there a way to do that same exact thing with opening Games > that have to open Dll's? Anything would be great Ken! :-) > > > - Josh Dye > > > > ----- Original Message ----- > From: "Ken Ray" > To: > Sent: Wednesday, December 12, 2001 2:49 PM > Subject: Re: Best way to launch other applications > > > > Ritch, > > > > You can use either "open process" or "shell()". Shell is useful when you > > want Rev to stop in mid-stream and wait until the program is finished. For > > example: > > > > on mouseUp > > set the hideConsoleWindows to true > > get shell("C:\myfile.pdf") > > answer "Thank you!" > > end mouseUp > > > > This will launch the application associated with .pdf files (Acrobat > Reader > > or Acrobat) and then wait until that application is closed, effectively > > "pausing" the Rev app. Once the app is closed, it goes on to the next line > > and answers "Thank you!". > > > > "Open process" comes back after it has executed and moves on (it doesn't > > wait). > > > > Hope this helps, > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Web Site: http://www.sonsothunder.com/ > > > > > > ----- Original Message ----- > > From: "Houdek, Ritch (MED)" > > To: > > Sent: Wednesday, December 12, 2001 4:24 PM > > Subject: Best way to launch other applications > > > > > > > > > > What is the best way to launch other applications on a Windows platform? > > > I have used "launch filename with appname" with limited success. > > > > > > The problems with it are: > > > > > > - Only 1 document can be opened at a time per application. In order to > > > open > > > a 2nd document, you must quit the entire application and relaunch it. > > > > > > - I can't launch Excel files this way after building a distribution. > > > They launch > > > within the Revolution IDE but not after a distribution is built. > > > > > > Thanks in advance, > > > > > > Ritch Houdek > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From Zzyzx at Relia.Net Wed Dec 12 21:27:00 2001 From: Zzyzx at Relia.Net (Josh Dye) Date: Wed Dec 12 21:27:00 2001 Subject: Best way to launch other applications References: <018d01c18360$3e545da0$9865fea9@mc14> <000701c18369$a52ab9d0$0200a8c0@ws1> <001301c18378$46400740$1842d818@charter.net> Message-ID: <000901c18386$7cca8cf0$0200a8c0@ws1> Well, For instance, Quake 3: Arena. When I use any sort of opening of program, it won't load all of the required DLL's. Try it at your house. Almost any game will give you a error message, With some few exceptions... - Josh Dye ----- Original Message ----- From: "Ken Ray" To: Sent: Wednesday, December 12, 2001 5:48 PM Subject: Re: Best way to launch other applications > Josh, > > Can you clarify what you mean about "opening Games that have to open Dll's"? > What game(s) are you thinking of and what DLLs? > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Website: http://www.sonsothunder.com/ > > ----- Original Message ----- > From: "Josh Dye" > To: > Sent: Wednesday, December 12, 2001 6:03 PM > Subject: Re: Best way to launch other applications > > > > Sounds good. Is there a way to do that same exact thing with opening Games > > that have to open Dll's? Anything would be great Ken! :-) > > > > > > - Josh Dye > > > > > > > > ----- Original Message ----- > > From: "Ken Ray" > > To: > > Sent: Wednesday, December 12, 2001 2:49 PM > > Subject: Re: Best way to launch other applications > > > > > > > Ritch, > > > > > > You can use either "open process" or "shell()". Shell is useful when you > > > want Rev to stop in mid-stream and wait until the program is finished. > For > > > example: > > > > > > on mouseUp > > > set the hideConsoleWindows to true > > > get shell("C:\myfile.pdf") > > > answer "Thank you!" > > > end mouseUp > > > > > > This will launch the application associated with .pdf files (Acrobat > > Reader > > > or Acrobat) and then wait until that application is closed, effectively > > > "pausing" the Rev app. Once the app is closed, it goes on to the next > line > > > and answers "Thank you!". > > > > > > "Open process" comes back after it has executed and moves on (it doesn't > > > wait). > > > > > > Hope this helps, > > > > > > Ken Ray > > > Sons of Thunder Software > > > Email: kray at sonsothunder.com > > > Web Site: http://www.sonsothunder.com/ > > > > > > > > > ----- Original Message ----- > > > From: "Houdek, Ritch (MED)" > > > To: > > > Sent: Wednesday, December 12, 2001 4:24 PM > > > Subject: Best way to launch other applications > > > > > > > > > > > > > > What is the best way to launch other applications on a Windows > platform? > > > > I have used "launch filename with appname" with limited success. > > > > > > > > The problems with it are: > > > > > > > > - Only 1 document can be opened at a time per application. In order > to > > > > open > > > > a 2nd document, you must quit the entire application and relaunch it. > > > > > > > > - I can't launch Excel files this way after building a distribution. > > > > They launch > > > > within the Revolution IDE but not after a distribution is built. > > > > > > > > Thanks in advance, > > > > > > > > Ritch Houdek > > > > _______________________________________________ > > > > use-revolution mailing list > > > > use-revolution at lists.runrev.com > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From zink at newmex.com Wed Dec 12 23:49:01 2001 From: zink at newmex.com (Nelson Zink) Date: Wed Dec 12 23:49:01 2001 Subject: Selected Text Color Message-ID: I just got a copy of Revolution 1.1 and the selected text color in the ask/answer box, the script editor, etc. is gray. Any place to set this to a more palatable color? Nelson Zink From panch_power at hotmail.com Wed Dec 12 23:53:01 2001 From: panch_power at hotmail.com (Carls) Date: Wed Dec 12 23:53:01 2001 Subject: How Can I make an animation loop? Message-ID: How can I make an animation made using the animation manager loop. I use the revPlayAnimation function on preloadstack handler. I tried to do it using the send option in the animation manager but it doesn't work. Thanks From gslj at intergate.ca Thu Dec 13 01:25:01 2001 From: gslj at intergate.ca (Gareth Jones) Date: Thu Dec 13 01:25:01 2001 Subject: changing a menu In-Reply-To: References: Message-ID: Thanks, Stuart. As I mentioned, the name of the menu bar doesn't show up in the Menu Manager window. However, your advice about the command-line worked like a charm. Exactly what was needed! -Gareth Jones >To display an existing menu group in the Menu Manage Window, click the >"Edit" button on the MM Window and then select the desired menu group from >the "Edit Existing Menu Bar" window that appears. I found this a little >confusing at first myself--I was expecting maybe a "View" or "Select" >button. > >You can also change the contents of a menu button with scripts, treating >them just like return-separated lists of text in a field. (Just be sure the >scripts of the menu buttons work with whatever changes you make!) > >Hope this helps. > >Stuart -- From chipp at chipp.com Thu Dec 13 03:21:00 2001 From: chipp at chipp.com (Chipp Walters) Date: Thu Dec 13 03:21:00 2001 Subject: FTP async staus? Interrupt? In-Reply-To: Message-ID: I believe FTP is an asynchronous operation. How can check the status of an upload? And, how can I cancel an upload? I understand the load and urlstatus commands work with downloads, not uploads. Can anyone help? thx, Chipp From niklas_almesjo at yahoo.com Thu Dec 13 09:48:00 2001 From: niklas_almesjo at yahoo.com (Niklas Almesjö) Date: Thu Dec 13 09:48:00 2001 Subject: access the keys of an array.. In-Reply-To: <200112130155.UAA28015@www.runrev.com> Message-ID: <20011213144550.14133.qmail@web12307.mail.yahoo.com> Got the associative arrays working like a charm.. One question though: Is there any way to access the keys of an array. I would like to do a repeat loop that loops through an array and use the keys.. thanks, /Niklas __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com From troy at rpsystems.net Thu Dec 13 09:51:01 2001 From: troy at rpsystems.net (Troy Rollins) Date: Thu Dec 13 09:51:01 2001 Subject: FTP async staus? Interrupt? In-Reply-To: Message-ID: Chipp Walters wrote: > How can check the status of an upload? And, how can I cancel an upload? I > understand the load and urlstatus commands work with downloads, not uploads. > Can anyone help? I am told that urlStatus works with uploads as well, I will likely be working with exactly that today... With fingers crossed. -- Troy RPSystems www.rpsystems.net From niklas_almesjo at yahoo.com Thu Dec 13 10:46:01 2001 From: niklas_almesjo at yahoo.com (Niklas Almesjö) Date: Thu Dec 13 10:46:01 2001 Subject: setting the default folder to the folder where the stack is.. In-Reply-To: <200112130155.UAA28015@www.runrev.com> Message-ID: <20011213154425.90244.qmail@web12301.mail.yahoo.com> How do you set the default folder to the same folder where the stack is? I suppose its just to use "the filename of this stack" and remove the filename..? I am using the starterkit. so if its possible to do it with two statements, that would be grand! /Niklas __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com From devin_asay at byu.edu Thu Dec 13 11:31:00 2001 From: devin_asay at byu.edu (Devin Asay) Date: Thu Dec 13 11:31:00 2001 Subject: setting the default folder to the folder where the stack is.. In-Reply-To: <20011213154425.90244.qmail@web12301.mail.yahoo.com> References: <20011213154425.90244.qmail@web12301.mail.yahoo.com> Message-ID: At 7:44 AM -0800 12/13/01, Niklas wrote: >How do you set the default folder to the same folder >where the stack is? >I suppose its just to use "the filename of this stack" >and remove the filename..? >I am using the starterkit. so if its possible to do it >with two statements, that would be grand! >/Niklas I often put this function into my stack script to provide a simple way to get the path to the current folder: function getPath stackPath set the itemDelimiter to "/" delete first item of stackPath delete last item of stackPath return "/" & stackPath end getPaths Then call the function like this: put getPath(the long name of this stack) into pathName or set the defaultFolder to getPath(the long name of this stack) Devin -- Devin Asay Humanities Research Center Brigham Young University From kray at sonsothunder.com Thu Dec 13 12:14:02 2001 From: kray at sonsothunder.com (Ken Ray) Date: Thu Dec 13 12:14:02 2001 Subject: Best way to launch other applications References: <018d01c18360$3e545da0$9865fea9@mc14> <000701c18369$a52ab9d0$0200a8c0@ws1> <001301c18378$46400740$1842d818@charter.net> <000901c18386$7cca8cf0$0200a8c0@ws1> Message-ID: <002401c183f8$ed802190$9865fea9@mc14> Did you pass the parameters that Quake 3 needs? I'm assuming you're launching it via a shortcut on the Start menu. If you get properties on the shortcut, you can see the parameters that are being passed. You'll need to make sure those same parameters are passed when you use "open process" or "shell". Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Josh Dye" To: Sent: Wednesday, December 12, 2001 9:30 PM Subject: Re: Best way to launch other applications > Well, > For instance, Quake 3: Arena. When I use any sort of opening of program, > it won't load all of the required DLL's. Try it at your house. Almost any > game will give you a error message, With some few exceptions... > > > - Josh Dye > > > > ----- Original Message ----- > From: "Ken Ray" > To: > Sent: Wednesday, December 12, 2001 5:48 PM > Subject: Re: Best way to launch other applications > > > > Josh, > > > > Can you clarify what you mean about "opening Games that have to open > Dll's"? > > What game(s) are you thinking of and what DLLs? > > > > Ken Ray > > Sons of Thunder Software > > Email: kray at sonsothunder.com > > Website: http://www.sonsothunder.com/ > > > > ----- Original Message ----- > > From: "Josh Dye" > > To: > > Sent: Wednesday, December 12, 2001 6:03 PM > > Subject: Re: Best way to launch other applications > > > > > > > Sounds good. Is there a way to do that same exact thing with opening > Games > > > that have to open Dll's? Anything would be great Ken! :-) > > > > > > > > > - Josh Dye > > > > > > > > > > > > ----- Original Message ----- > > > From: "Ken Ray" > > > To: > > > Sent: Wednesday, December 12, 2001 2:49 PM > > > Subject: Re: Best way to launch other applications > > > > > > > > > > Ritch, > > > > > > > > You can use either "open process" or "shell()". Shell is useful when > you > > > > want Rev to stop in mid-stream and wait until the program is finished. > > For > > > > example: > > > > > > > > on mouseUp > > > > set the hideConsoleWindows to true > > > > get shell("C:\myfile.pdf") > > > > answer "Thank you!" > > > > end mouseUp > > > > > > > > This will launch the application associated with .pdf files (Acrobat > > > Reader > > > > or Acrobat) and then wait until that application is closed, > effectively > > > > "pausing" the Rev app. Once the app is closed, it goes on to the next > > line > > > > and answers "Thank you!". > > > > > > > > "Open process" comes back after it has executed and moves on (it > doesn't > > > > wait). > > > > > > > > Hope this helps, > > > > > > > > Ken Ray > > > > Sons of Thunder Software > > > > Email: kray at sonsothunder.com > > > > Web Site: http://www.sonsothunder.com/ > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Houdek, Ritch (MED)" > > > > To: > > > > Sent: Wednesday, December 12, 2001 4:24 PM > > > > Subject: Best way to launch other applications > > > > > > > > > > > > > > > > > > What is the best way to launch other applications on a Windows > > platform? > > > > > I have used "launch filename with appname" with limited success. > > > > > > > > > > The problems with it are: > > > > > > > > > > - Only 1 document can be opened at a time per application. In order > > to > > > > > open > > > > > a 2nd document, you must quit the entire application and relaunch > it. > > > > > > > > > > - I can't launch Excel files this way after building a distribution. > > > > > They launch > > > > > within the Revolution IDE but not after a distribution is built. > > > > > > > > > > Thanks in advance, > > > > > > > > > > Ritch Houdek > > > > > _______________________________________________ > > > > > use-revolution mailing list > > > > > use-revolution at lists.runrev.com > > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > > > > > > > _______________________________________________ > > > > use-revolution mailing list > > > > use-revolution at lists.runrev.com > > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at lists.runrev.com > > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Dec 13 12:16:11 2001 From: kray at sonsothunder.com (Ken Ray) Date: Thu Dec 13 12:16:11 2001 Subject: Selected Text Color References: Message-ID: <003001c183f9$02a1d460$9865fea9@mc14> Nelson, Are you on a Mac, PC or Unix box? Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Nelson Zink" To: Sent: Wednesday, December 12, 2001 6:47 AM Subject: Selected Text Color > I just got a copy of Revolution 1.1 and the selected text color in the > ask/answer box, the script editor, etc. is gray. Any place to set this to a > more palatable color? > > Nelson Zink > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From kray at sonsothunder.com Thu Dec 13 12:20:27 2001 From: kray at sonsothunder.com (Ken Ray) Date: Thu Dec 13 12:20:27 2001 Subject: access the keys of an array.. References: <20011213144550.14133.qmail@web12307.mail.yahoo.com> Message-ID: <003e01c183f9$27cd0ed0$9865fea9@mc14> Look at the "customKeys" and "customPropertySets" properties of the object. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Niklas Almesj?" To: Sent: Thursday, December 13, 2001 8:45 AM Subject: access the keys of an array.. > Got the associative arrays working like a charm.. > One question though: Is there any way to access the > keys of an array. I would like to do a repeat loop > that loops through an array and use the keys.. > thanks, > /Niklas > > __________________________________________________ > Do You Yahoo!? > Check out Yahoo! Shopping and Yahoo! Auctions for all of > your unique holiday gifts! Buy at http://shopping.yahoo.com > or bid at http://auctions.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dan at clearvisiontech.com Thu Dec 13 13:19:01 2001 From: dan at clearvisiontech.com (Dan Friedman) Date: Thu Dec 13 13:19:01 2001 Subject: Sending a file to a server Message-ID: Hello Rev Users! I am attempting to send a file to a web server. I am able to get REV to download a file, but the upload seems to be giving me some trouble. The information I have to work with is: The host address (ie, 123.456.7.89), the UserName, the password and the Directory. I know that the folder permissions are Ok. I've been through the documentation and can't seem to get it to work. Anyone out there know how to do this? If so, please enlighten me. Thank you in advance for your time, Dan. From niklas_almesjo at yahoo.com Thu Dec 13 13:38:00 2001 From: niklas_almesjo at yahoo.com (Niklas Almesjö) Date: Thu Dec 13 13:38:00 2001 Subject: title bar In-Reply-To: <200112131709.MAA07725@www.runrev.com> Message-ID: <20011213183617.76336.qmail@web12304.mail.yahoo.com> How do you tell Rev not to display a title bar? Searched the docs, but the only thing I came up with was the hide menubar that is said to be mac only.. /Niklas __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com From troy at rpsystems.net Thu Dec 13 13:44:00 2001 From: troy at rpsystems.net (Troy Rollins) Date: Thu Dec 13 13:44:00 2001 Subject: Sending a file to a server In-Reply-To: Message-ID: Dan Friedman wrote: > I am attempting to send a file to a web server. I am able to get REV to > download a file, but the upload seems to be giving me some trouble. The > information I have to work with is: > > The host address (ie, 123.456.7.89), the UserName, the password and the > Directory. I know that the folder permissions are Ok. > > I've been through the documentation and can't seem to get it to work. > Anyone out there know how to do this? If so, please enlighten me. Well, not much help, but I'm getting pretty much the same results on an FTP server. The log in happens, but the file don't go. -- Troy RPSystems www.rpsystems.net From kray at sonsothunder.com Thu Dec 13 13:50:01 2001 From: kray at sonsothunder.com (Ken Ray) Date: Thu Dec 13 13:50:01 2001 Subject: title bar References: <20011213183617.76336.qmail@web12304.mail.yahoo.com> Message-ID: <009201c18407$5c8ce6a0$9865fea9@mc14> Look under the "decorations" property of a stack. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Niklas Almesj?" To: Sent: Thursday, December 13, 2001 12:36 PM Subject: title bar > How do you tell Rev not to display a title bar? > Searched the docs, but the only thing I came up with > was the hide menubar that is said to be mac only.. > /Niklas > > __________________________________________________ > Do You Yahoo!? > Check out Yahoo! Shopping and Yahoo! Auctions for all of > your unique holiday gifts! Buy at http://shopping.yahoo.com > or bid at http://auctions.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sjoerdoptland at mac.com Thu Dec 13 16:42:01 2001 From: sjoerdoptland at mac.com (Sjoerd Op 't Land) Date: Thu Dec 13 16:42:01 2001 Subject: setting the default folder to the folder where the stack is.. In-Reply-To: Message-ID: Devin Asay wrote/ schreef: > At 7:44 AM -0800 12/13/01, Niklas wrote: >> How do you set the default folder to the same folder >> where the stack is? >> I suppose its just to use "the filename of this stack" >> and remove the filename..? >> I am using the starterkit. so if its possible to do it >> with two statements, that would be grand! >> /Niklas > > I often put this function into my stack script to provide a simple > way to get the path to the current folder: > [snip] With your solution, it would still cost Niklas some lines in his stack script. Another solution would be: set itemDel to "/" set the directory to item 1 to -2 of the fileName of this stack (Have used the starter kit for some years, so... ;-) Hope this helps. Regards, / Groeten, Sjoerd From sjoerdoptland at mac.com Thu Dec 13 16:42:42 2001 From: sjoerdoptland at mac.com (Sjoerd Op 't Land) Date: Thu Dec 13 16:42:42 2001 Subject: Rotate? In-Reply-To: Message-ID: Mike McKenzie wrote/ schreef: > Is it possible to rotate an object or text lable? AFAIK, it's only possible to rotate images. Of course you could then convert another kind of object to an image, and then rotate that. Hope this is of some use. > Thanks! > > > Michael McKenzie > Director of Advertising > Ruby-Gordon Inc. Regards, / Groeten, Sjoerd From sjoerdoptland at mac.com Thu Dec 13 16:44:09 2001 From: sjoerdoptland at mac.com (Sjoerd Op 't Land) Date: Thu Dec 13 16:44:09 2001 Subject: displaying a Web page In-Reply-To: Message-ID: Geoff Canyon wrote/ schreef: > At 5:27 PM +0100 12/12/01, Andre Rombauts wrote: >> i'm testing Revolution. Nice piece of work! >> >> How can I display a web page on a card? >> >> put url "xxxxx" into ???? > > Check out the htmlText property of fields: > > set the htmlText of fld "somefield" to url "http://www.apple.com" Note: MetaCard only interprets a limited subset of the 'real' HTML. So for example, Apple's webpage won't show up properly. Regards, / Groeten, Sjoerd From dan at clearvisiontech.com Thu Dec 13 16:47:00 2001 From: dan at clearvisiontech.com (Dan Friedman) Date: Thu Dec 13 16:47:00 2001 Subject: setting the default folder to the folder where the stack is.. Message-ID: Niklas, Here's what I use: Set the defaultFolder to applicationPath() -- function applicationPath put the fileName of this stack into appPath set the itemDel to "/" delete last item of appPath return appPath end applicationPath Hope this helps, Dan From kevin at runrev.com Thu Dec 13 16:54:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Thu Dec 13 16:54:01 2001 Subject: access the keys of an array.. In-Reply-To: <003e01c183f9$27cd0ed0$9865fea9@mc14> Message-ID: On 13/12/01 5:11 pm, Ken Ray wrote: > Look at the "customKeys" and "customPropertySets" properties of the object. Or simply the keys() function if the array is a variable. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Thu Dec 13 16:55:28 2001 From: kevin at runrev.com (Kevin Miller) Date: Thu Dec 13 16:55:28 2001 Subject: Sending a file to a server In-Reply-To: Message-ID: On 13/12/01 6:41 pm, Troy Rollins wrote: > Well, not much help, but I'm getting pretty much the same results on an FTP > server. The log in happens, but the file don't go. Let me know if this is still happening in 1.1.1 when we start beta testing that (soon). Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From troy at rpsystems.net Thu Dec 13 17:20:24 2001 From: troy at rpsystems.net (Troy Rollins) Date: Thu Dec 13 17:20:24 2001 Subject: Sending a file to a server In-Reply-To: Message-ID: Kevin Miller wrote: >> Well, not much help, but I'm getting pretty much the same results on an FTP >> server. The log in happens, but the file don't go. > > Let me know if this is still happening in 1.1.1 when we start beta testing > that (soon). > > Kevin At this point I think I've determined that 1.1 won't do it (at least not through the "Put" functions.) I've tried every possible variety and parameter modification with the same or worse results. Incidentally, I used the same user/password/path combination in a simple FTP client, as well as with iShell and received successful results the first time. Looking forward to 1.1.1 - I really don't want to launch a separate app for this function... -- Troy RPSystems www.rpsystems.net From chipp at chipp.com Thu Dec 13 17:42:00 2001 From: chipp at chipp.com (Chipp Walters) Date: Thu Dec 13 17:42:00 2001 Subject: Sending a file to a server In-Reply-To: Message-ID: Hey guys, I've been having some FTP problems, but figured it out. I posted a simple working FTP stack at the bottom of page: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm In Windows, it also allows for drag and drop files on a standalone in Windows. -Chipp -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Troy Rollins Sent: Thursday, December 13, 2001 12:42 PM To: use-revolution at lists.runrev.com Subject: Re: Sending a file to a server Dan Friedman wrote: > I am attempting to send a file to a web server. I am able to get REV to > download a file, but the upload seems to be giving me some trouble. The > information I have to work with is: > > The host address (ie, 123.456.7.89), the UserName, the password and the > Directory. I know that the folder permissions are Ok. > > I've been through the documentation and can't seem to get it to work. > Anyone out there know how to do this? If so, please enlighten me. Well, not much help, but I'm getting pretty much the same results on an FTP server. The log in happens, but the file don't go. -- Troy RPSystems 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 Thu Dec 13 17:54:01 2001 From: troy at rpsystems.net (Troy Rollins) Date: Thu Dec 13 17:54:01 2001 Subject: Sending a file to a server In-Reply-To: Message-ID: Chipp Walters wrote: > I've been having some FTP problems, but figured it out. I posted a simple > working FTP stack at the bottom of page: > > http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm Hey Chipp - Quite elegantly done. But at the end of the day, you are using exactly the same command line that I have been failing with (on MacOS). I haven't had a chance to actually try to use yours yet with my project, but I'm not going to hold my breath, since I can't see where it could make any difference in the problem. Nevertheless, I will try it - you never know. Thanks a lot. I've bookmarked your little Rev site - it's great! -- Troy RPSystems www.rpsystems.net From chipp at chipp.com Thu Dec 13 20:40:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Thu Dec 13 20:40:01 2001 Subject: Sending a file to a server In-Reply-To: Message-ID: Troy, I checked it out on a Mac and it works fine. In fact, I uploaded the Mac version to the same place: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm -Chipp -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Troy Rollins Sent: Thursday, December 13, 2001 4:52 PM To: use-revolution at lists.runrev.com Subject: Re: Sending a file to a server Chipp Walters wrote: > I've been having some FTP problems, but figured it out. I posted a simple > working FTP stack at the bottom of page: > > http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm Hey Chipp - Quite elegantly done. But at the end of the day, you are using exactly the same command line that I have been failing with (on MacOS). I haven't had a chance to actually try to use yours yet with my project, but I'm not going to hold my breath, since I can't see where it could make any difference in the problem. Nevertheless, I will try it - you never know. Thanks a lot. I've bookmarked your little Rev site - it's great! -- Troy RPSystems 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 Thu Dec 13 21:17:00 2001 From: troy at rpsystems.net (Troy Rollins) Date: Thu Dec 13 21:17:00 2001 Subject: Sending a file to a server In-Reply-To: Message-ID: Chipp Walters wrote: > I checked it out on a Mac and it works fine. In fact, I uploaded the Mac > version to the same place: > > http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm Sounds great. I grabbed it from your site, but I'm still dubious that it will solve the problem, since the ultimate command used is the same as what have been working with. It could be that Rev handles the upload negotiation slightly differently than some of the other tools I'm using that have not suffered this difficulty in this application. In my network monitoring, Rev successfully logs in, and then sits there, not uploading the file. It is nice to have a known working stack to test against though. I probably can't return to testing this function until Monday - but then you can be sure I'll give this a whirl. If it works, it gives me a starting point - if not... Drop back and punt, I guess - or wait to see if 1.1.1 brings any change. Thanks again. -- Troy RPSystems www.rpsystems.net From jeanne at runrev.com Fri Dec 14 01:19:01 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Fri Dec 14 01:19:01 2001 Subject: access the keys of an array.. In-Reply-To: <20011213144550.14133.qmail@web12307.mail.yahoo.com> References: <200112130155.UAA28015@www.runrev.com> Message-ID: At 6:45 AM -0800 12/13/2001, Niklas "Almesj?" wrote: >Got the associative arrays working like a charm.. >One question though: Is there any way to access the >keys of an array. I would like to do a repeat loop >that loops through an array and use the keys.. Use (amazingly enough ;-) the keys function: get the keys of myArrayVariable However, if you want to iterate through the elements of an array (rather than using their keys), it's more efficient to use "repeat for each element": repeat for each element myElement in myArrayVariable put myElement & return after field "Elements" -- or whatever action end repeat -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From jan.decroos at groepvanroey.be Fri Dec 14 03:17:01 2001 From: jan.decroos at groepvanroey.be (Jan Decroos) Date: Fri Dec 14 03:17:01 2001 Subject: setting the default folder to the folder where the stack is.. Message-ID: maybe this can help: function getFolderFromFilename tFilename put the itemDelimiter into savedDelimiter set the itemDelimiter to "/" delete last item of tFilename set the itemDelimiter to savedDelimiter return (tFilename&"/") end getFolderFromFilename on mouseUp answer getFolderFromFilename(the value of word 2 of the long name of this stack) end mouseUp Jan From sjoerdoptland at mac.com Fri Dec 14 08:09:01 2001 From: sjoerdoptland at mac.com (Sjoerd Op 't Land) Date: Fri Dec 14 08:09:01 2001 Subject: setting the default folder to the folder where the stack is.. In-Reply-To: Message-ID: Jan Decroos wrote/ schreef: > function getFolderFromFilename tFilename > put the itemDelimiter into savedDelimiter -- no need for this, because itemDel is local, and it will be reset -- for each handler, even running simultaneously > set the itemDelimiter to "/" -- good thing > delete last item of tFilename > return (tFilename&"/") -- could be written as: return item 1 to -2 of tFilename & "/" > set the itemDelimiter to savedDelimiter -- no need to this, for a reasen mentioned above > end getFolderFromFilename So, optimized we'd get: function getFolderFromFilename tFilename set itemDel to "/" return item 1 to -2 of tFilename & "/" end function getFolderFromFilename Note: I wrote "set the itemDelimiter" as "set itemDel", because they're equivalent, and it takes MC some piece of time for each char it has process. So: "the shorter written, the faster compiled" (I note for myself, that having used the starter kit for a long time, is a good training for short-writing.) Regards, / Groeten, Sjoerd From cyberscope at home.com Fri Dec 14 09:39:01 2001 From: cyberscope at home.com (Gene Kennedy) Date: Fri Dec 14 09:39:01 2001 Subject: Maximize an Application Window Message-ID: <3C1A0CFA.7145FC4A@home.com> Is there a straight forward way to maximize a Windows-built application from code? I have read the Transcript documents but can't find what I'm looking for. Any help will be appreciated. Thanks, Gene Kennedy From kevin at runrev.com Fri Dec 14 10:41:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Fri Dec 14 10:41:01 2001 Subject: How Can I make an animation loop? In-Reply-To: Message-ID: On 1/12/01 4:44 am, Carls wrote: > How can I make an animation made using the animation manager loop. I use the > revPlayAnimation function on preloadstack handler. I tried to do it using > the send option in the animation manager but it doesn't work. Select the last key frame and open the triangle at the bottom of the palette, then switch to the "Messages Sent to Object" tab, then choose "Message Sent On This Key Frame" from the menu and type in a message, you can define a handler in the object that causes the animation to go back to the start and play again. Its tempting just to put: revPlayAnimation "test","1" In that box, but if you do you will get an infinite loop that can only be exited from with command-period and consequent error. Instead, you should include that line in the message handler you place in the object, but also include a way for the user to exit, such as checking if a key on the keyboard on the mouse is down. Kind regards, Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From mikelmac at mac.com Fri Dec 14 11:46:01 2001 From: mikelmac at mac.com (Mike McKenzie) Date: Fri Dec 14 11:46:01 2001 Subject: Adding numbers (and limiting the result) In-Reply-To: Message-ID: on 12/11/01 6:30 PM, Sarah Reichelt at sarahr at genesearch.com.au wrote: > You could use numberFormat as suggested, or the round function. > > put round(myNumber,2) into fld "Whatever" > > This will give you 2 decimal places rounded by financial rules. If you want > statistical rounding rules, use the statRound function. > > Cheers, > Sarah Sarah, Thanks for the suggestion, however I'm in the dark as to how to use this in my current script, for example this is the script in the field that generates the number that needs to be rounded: on closefield put fld "Tot0" / fld "Grp0" into fld "Cpp0" end closefield Should the statRound function go here, or in some other place? Thanks! Michael McKenzie Director of Advertising Ruby-Gordon Inc. From dcragg at lacscentre.co.uk Fri Dec 14 11:59:01 2001 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri Dec 14 11:59:01 2001 Subject: setting the default folder to the folder where the stack is.. In-Reply-To: References: Message-ID: At 2:04 pm +0100 14/12/01, Sjoerd Op 't Land wrote: >Note: I wrote "set the itemDelimiter" as "set itemDel", because they're >equivalent, and it takes MC some piece of time for each char it has process. > >So: "the shorter written, the faster compiled" About compilation time I don't know, but I think the difference is insignificant. I'm sure it doesn't run any faster. I'd suggest writing what's easiest to read. On the other hand, I prefer "itemDel" as I always forget how to spell "itemDelimiter" :) Cheers Dave Cragg From carparro at ono.com Fri Dec 14 13:30:01 2001 From: carparro at ono.com (Carls) Date: Fri Dec 14 13:30:01 2001 Subject: About Compatibility Message-ID: <000701c17b5d$eb26fb60$c50f2a3e@PLANET> Does Revolution have any compatibility problems with windows XP? My Standalone builds don't work properly under Win XP Thanks From scott at tactilemedia.com Fri Dec 14 16:50:00 2001 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Dec 14 16:50:00 2001 Subject: setting the default folder to the folder where the stack is.. In-Reply-To: Message-ID: Recently, Sjoerd Op 't Land wrote: > So, optimized we'd get: > > function getFolderFromFilename tFilename > set itemDel to "/" > return item 1 to -2 of tFilename & "/" > end function getFolderFromFilename > > Note: I wrote "set the itemDelimiter" as "set itemDel", because they're > equivalent, and it takes MC some piece of time for each char it has process. > > So: "the shorter written, the faster compiled" > > (I note for myself, that having used the starter kit for a long time, is a > good training for short-writing.) The above could be even shorter: function getFolderFromFilename tFilename set itemDel to "/";return item 1 to -2 of tFilename & "/" end getFolderFromFilename Also note that the last line should not include the word "function" Regards, Scott _____________________________________________________________________ Scott Rossi Tactile Media - Multimedia & Design Creative Director Email: scott at tactilemedia.com Web: http://www.tactilemedia.com From Meta at Dimensional.com Fri Dec 14 18:09:00 2001 From: Meta at Dimensional.com (Jamie) Date: Fri Dec 14 18:09:00 2001 Subject: Saving and loading data from a standalone app? Message-ID: <3C1A84E5.E424D440@Dimensional.com> This is probably a simple thing. I created a stack that acts as a database. Each card is a record. In the development environment I can enter data and save the stack reliably. Next I need to build it as a stand alone application that loads and saves its database. It only needs to work with a single set of data. My first attempts at this have not been successful. Can anyone describe how to set up saving and loading a simple database file from a standalone app? I've looked for clues in the transcript dictionary, the example project and this list. For testing I've added a save button with this script: on mouseUp set itemDel to "/" set the directory to item 1 to -2 of the fileName of this stack save this stack as "test.edb" end mouseUp I also have an Open button with this script: on mouseUp set itemDel to "/" set the directory to item 1 to -2 of the fileName of this stack toplevel "test.edb" end mouseUp These seem to work in the development environment but not when built as a stand-alone. I probably need a better understanding of substack usage (among other things), but any tips, clues would be most welcome - especially transcript examples and step-by-step descriptions of how to save/load stack data from a stand alone Rev app. Thanks, -Jamie (Currently running Rev 1.0 Starter Kit on NT.) From Zzyzx at Relia.Net Fri Dec 14 22:39:01 2001 From: Zzyzx at Relia.Net (Josh Dye) Date: Fri Dec 14 22:39:01 2001 Subject: Close Certain Process? Message-ID: <001001c18522$f48147a0$0200a8c0@ws1> Hey, Is there a way to close a certain open process (Program) in Windows? I am running Windows 2k Pro.... I tried something like this... on mouseup close process "winamp.exe" end mouseup I thought that would work, but it doesn't even give me an error message. If you were to press "Ctrl+Alt+Delete" in Win 2k, clicked "Task Manager", then selected "Processes", then scroll down. I would see a lot of different programs, And, "winamp.exe" would be listed with the others. I want to close that Process. Any ideas? - Josh Dye From Zzyzx at Relia.Net Fri Dec 14 22:44:01 2001 From: Zzyzx at Relia.Net (Josh Dye) Date: Fri Dec 14 22:44:01 2001 Subject: Open Certian Folder & Filter Message-ID: <001c01c18523$92f27f80$0200a8c0@ws1> Hey, When I do this command... on mouseup Answer file "Please Select a '.MP3' or '.Wav' to play..." end mouseup I want it to show a certain folder every time you click the btn. Also, I want it to filter to just '.MP3' and '.Wav' Files. How would or could I do this? - Josh Dye From scott at tactilemedia.com Fri Dec 14 22:50:01 2001 From: scott at tactilemedia.com (Scott Rossi) Date: Fri Dec 14 22:50:01 2001 Subject: Close Certain Process? In-Reply-To: <001001c18522$f48147a0$0200a8c0@ws1> Message-ID: Recently, Josh Dye wrote: > Is there a way to close a certain open process (Program) in Windows? I > am running Windows 2k Pro.... I tried something like this... > > on mouseup > close process "winamp.exe" > end mouseup > > I thought that would work, but it doesn't even give me an error message. If > you were to press "Ctrl+Alt+Delete" in Win 2k, clicked "Task Manager", then > selected "Processes", then scroll down. I would see a lot of different > programs, And, "winamp.exe" would be listed with the others. I want to close > that Process. Any ideas? If you opened a process from MC, you can check the openProcesses to see a list of apps. If you're trying to find any non-MC-launched apps, I don't believe there's a built-in way to do this, but Tuviah Snyder's external collection can provide a list of applications that are displayed as open in the task bar. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From jcuccio at pacbell.net Sat Dec 15 03:06:01 2001 From: jcuccio at pacbell.net (John Cuccio) Date: Sat Dec 15 03:06:01 2001 Subject: Menu Bar Message-ID: Mac OS I have a main stack and sub stacks. I set-up a menubar in the main stack with the menu manager. I set the sub stacks to use that menu. What I want to do is when a sub stacks open it shows a menu for that stack only. If I set all the menus I want to use through the menu manger. then set the the button style to stanard. The menu will not show in the menu bar. When i want the menu to show I set the style to "menu". But the menu bar does not like update. My code. In the main stack "Inventory" on showmenubar -- this will set the menubar for recipe lock menus set the editmenus of this stack to true start editing group "invmenu" of stack "inventory" set the style of btn "recipe" of stack "inventory" to "menu" stop editing group set the editmenus of this stack to false unlock menus end showmenubar I will call this handler before I open the sub stack I tried it with just the editmenus then added the start editing group. I can tell that it changes the menubar it just does not update the menubar on the screen. I still have the old one. If I go to development mode then back to browse mose then it shows the correct menubar. From tsimmons at employmentlawadvisors.com Sat Dec 15 03:09:01 2001 From: tsimmons at employmentlawadvisors.com (William T. Simmons) Date: Sat Dec 15 03:09:01 2001 Subject: Maximize an Application Window References: <3C1A0CFA.7145FC4A@home.com> Message-ID: <008801c1853f$2e49b1e0$a6aa343f@elanet> Gene, Here's some help in the "any" category - let's hope you get more qualified help after this. In the Transcript Dictionary, the topic on the "decorations" propery might help you, if the application you want to maximize from code is the Rev-built application itself. If you're talking about using the Rev-built application to start another application and maximize the other application's window, I'm not aware of a way to do that directly using Transcript. I know you can do it in a roundabout way, using a WinHelp file with a suitable "EF" macro to start the other app and use the "SW_SHOWMAXIMIZED" display-state setting in the macro to maximize the other app's window, but that is, of course, not the straightforward way you might be asking about (if you're even talking about this at all). If you are trying to do this second thing, hopefully someone else will write in on that and let you know how to do it directly from within the Rev-built application (I would like to know that myself). Good luck! Tommy Simmons Employment Law Advisory Network, Inc. www.employmentlawadvisors.com P.S. FWIW, if you want to know about how to do it using a WinHelp file, just let me know. The cool thing about using WinHelp for that is you can design it as a bare-bones window, w/o the standard menus and buttons, making it appear to be just another window in your application, and use it to open multiple files with the same application, none of which have to be closed before the others can open. Unfortunately, that "helper file" requires the standard WinHelp engine on Windows and thus doesn't translate directly to Mac or Unix. :-( Anyway, I'll be looking forward to hearing from a Transcript guru on this. ----- Original Message ----- From: Gene Kennedy To: Rev Sent: Friday, December 14, 2001 8:30 AM Subject: Maximize an Application Window > Is there a straightforward way to maximize a Windows-built application > from code? > I have read the Transcript documents but can't find what I'm looking > for. Any help will be appreciated. > > Thanks, > Gene Kennedy From andre.rombauts at win.be Sat Dec 15 03:56:01 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Sat Dec 15 03:56:01 2001 Subject: Maximize an Application Window In-Reply-To: <008801c1853f$2e49b1e0$a6aa343f@elanet> Message-ID: Le 15/12/01 9:04, William T. Simmons ? tsimmons at employmentlawadvisors.com a ?crit: > "decorations" propery might help you, if the application you want to > maximize from code is the Rev-built application itself. If you're talking >> Is there a straightforward way to maximize a Windows-built application >> from code? And how do I proceed if I want to display fullscreen an application, on any platform? Let's say I mad a 800x600 application and I'm running it on a 1024x768 display. How do I manage to show the application only, surrounded by any custom color (black, white). Andr? Rombauts From david.bovill at opn-technologies.com Sat Dec 15 04:37:01 2001 From: david.bovill at opn-technologies.com (David Bovill) Date: Sat Dec 15 04:37:01 2001 Subject: Database manager... In-Reply-To: Message-ID: Hi, anyone have any experience of using the database manager? I'd like to check out the scripts etc. David From jeanne at runrev.com Sat Dec 15 05:40:01 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 15 05:40:01 2001 Subject: Maximize an Application Window In-Reply-To: References: <008801c1853f$2e49b1e0$a6aa343f@elanet> Message-ID: At 12:54 AM -0800 12/15/2001, Andre Rombauts wrote: >And how do I proceed if I want to display fullscreen an application, on any >platform? Let's say I mad a 800x600 application and I'm running it on a >1024x768 display. How do I manage to show the application only, surrounded >by any custom color (black, white). For this, use the backdrop property: set the backdrop to "black" -- etc. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From andre.rombauts at win.be Sat Dec 15 06:11:01 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Sat Dec 15 06:11:01 2001 Subject: Maximize an Application Window In-Reply-To: Message-ID: Le 15/12/01 11:37, Jeanne A. E. DeVoto ? jeanne at runrev.com a ?crit: > At 12:54 AM -0800 12/15/2001, Andre Rombauts wrote: >> And how do I proceed if I want to display fullscreen an application, on any >> platform? Let's say I mad a 800x600 application and I'm running it on a >> 1024x768 display. How do I manage to show the application only, surrounded >> by any custom color (black, white). > For this, use the backdrop property: Thanks! I noticed it in Run Dev menu indeed. Rev is so "huge" to learn... :-( It seems however that on Mac the menu bar remains visible, aswell as the control bar. Is there any mean to disable them temporary? Andre Rombauts From bruce at lewiscoll.com Sat Dec 15 08:28:01 2001 From: bruce at lewiscoll.com (Bruce Lewis) Date: Sat Dec 15 08:28:01 2001 Subject: DefaultFolder. Should I use it? Message-ID: I want to click on a link and show an image by reference to an external file. I understand how to do this if I use the complete path to the image as the linkText. I could do this in a relative way using the recent discussion on the defaultFolder. I don't like this solution because I often reorganize folders and then would have to change the references. In my old HyperCard stack, I just use the name of the file and HyperCard finds it. If HyperCard can't find the file, it gives a dialogue to select it. Once selected, it can find the image later. HyperCard records file paths on a card in the home stack. I assume it then checks all of these until it finds the file. It seems pretty fast. How would I replicate this in Revolution? -- 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 kevin at runrev.com Sat Dec 15 09:10:00 2001 From: kevin at runrev.com (Kevin Miller) Date: Sat Dec 15 09:10:00 2001 Subject: About Compatibility In-Reply-To: <000701c17b5d$eb26fb60$c50f2a3e@PLANET> Message-ID: On 2/12/01 6:19 pm, Carls wrote: > Does Revolution have any compatibility problems with windows XP? > My Standalone builds don't work properly under Win XP Should work - please send me a copy of the stack and Standalone config file off list and I'll check it here. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Sat Dec 15 09:22:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Sat Dec 15 09:22:01 2001 Subject: Can't find handler error? In-Reply-To: Message-ID: On 8/12/01 3:36 am, Judy Perry wrote: > 5. It worked only a couple of days ago... Very distressing to be cut > down on one's very first card :( > > I am using Rev 1.1 on Mac OS 10.1 on a dual processor G4 w/256 MB RAM. Do you have a stack / recipe? If so please send it to me off-list. If not, please let me know if this is not fixed when we start testing 1.1.1. Thanks, Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Sat Dec 15 09:24:00 2001 From: kevin at runrev.com (Kevin Miller) Date: Sat Dec 15 09:24:00 2001 Subject: Chinese In-Reply-To: Message-ID: On 10/12/01 12:35 am, Stuart Milliken wrote: > Not quite what I want! Hope there's a fix for this! We are actively researching this now. Thanks for the feedback. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Sat Dec 15 10:02:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Sat Dec 15 10:02:01 2001 Subject: Print Stack problem... In-Reply-To: Message-ID: On 11/12/01 5:28 am, Chipp Walters wrote: > I was building a test stack for Josh to show him how to print the screen. > After building the capture part, I used Jeanne's script she mentioned awhile > back: > > print this card from 20,20 to 150,250 > > but couldn't get the card to print. The test program is at the top of this > page: > > > http://www.altuit.com/webs/altuit2/RunRev/Bugs.htm > > Anyone out there tell me what I'm doing wrong? Seems to work just fine here. What platform is this and what printer? Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From david.bovill at opn-technologies.com Sat Dec 15 10:10:01 2001 From: david.bovill at opn-technologies.com (David Bovill) Date: Sat Dec 15 10:10:01 2001 Subject: Database interface/scripts... Message-ID: I've read the help documentation on database access - and have a couple of questions. Can you call databases over the internet, or do they have to be local? What/where are the scripts? Thanks From kevin at runrev.com Sat Dec 15 10:27:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Sat Dec 15 10:27:01 2001 Subject: changing a menu In-Reply-To: Message-ID: On 12/12/01 5:23 pm, Heather Williams wrote: > I have a stack and I've created a custom menubar for it by using the > Menu Manager. Now I'd like to add and delete items from individual > menus, changing things around. Since the menu does not show up now > for editing in the Menu Manager window, This is a bug, we will fix it. > this will have to be done > manually, probably through the Message box. So, for example, how do I > put "Save as Text File..." before the "Quit" option in the custom > "File" menu? get the text of btn "File" put return & "Save as Text File..." after line -2 of it set the text of btn "File" to it Or run (in the Message Box): select btn "file" Then go to object properties and edit the text content using the last tab. Or select the menu group then edit it, then select the button. Kind regards, Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Sat Dec 15 10:55:00 2001 From: kevin at runrev.com (Kevin Miller) Date: Sat Dec 15 10:55:00 2001 Subject: Saving and loading data from a standalone app? In-Reply-To: <3C1A84E5.E424D440@Dimensional.com> Message-ID: On 14/12/01 11:01 pm, Jamie wrote: > This is probably a simple thing. I created a stack that acts as a > database. Each card is a record. In the development environment I > can enter data and save the stack reliably. > > Next I need to build it as a stand alone application that loads and > saves its database. It only needs to work with a single set of data. > My first attempts at this have not been successful. > > Can anyone describe how to set up saving and loading a simple > database file from a standalone app? This is covered in the Tip of the week section on our web site. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Sat Dec 15 10:56:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Sat Dec 15 10:56:01 2001 Subject: Database manager... In-Reply-To: Message-ID: On 15/12/01 9:35 am, David Bovill wrote: > anyone have any experience of using the database manager? I'd like to check > out the scripts etc. You can simply topLevel the stack and view the scripts in the normal way. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Sat Dec 15 10:57:23 2001 From: kevin at runrev.com (Kevin Miller) Date: Sat Dec 15 10:57:23 2001 Subject: Database interface/scripts... In-Reply-To: Message-ID: On 14/12/01 11:51 pm, David Bovill wrote: > Can you call databases over the internet, or do they have to be local? Either. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Sat Dec 15 11:23:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Sat Dec 15 11:23:01 2001 Subject: Open Certian Folder & Filter In-Reply-To: <001c01c18523$92f27f80$0200a8c0@ws1> Message-ID: On 15/12/01 4:46 am, Josh Dye wrote: > I want it to show a certain folder every time you click the btn. Also, I > want it to filter to just '.MP3' and '.Wav' Files. How would or could I do > this? This is documented in the Transcript Dictionary under "answer file". You use the "with filter" syntax. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From diskot123 at juno.com Sat Dec 15 11:40:00 2001 From: diskot123 at juno.com (diskot123 at juno.com) Date: Sat Dec 15 11:40:00 2001 Subject: Database interface/scripts... Message-ID: <20011215.114242.189.0.diskot123@juno.com> >Can you call databases over the internet, or do they have to be local? You can connect to a remote database. You have to specify the IP address of the database your connected to as the host parameter. >What/where are the scripts? Check out revdb_ in the transcript dictionary. The database manager under the tools menus also has scripts which demonstrate multiple cursors, multiple connections, binding, executing sql statements and processing resultsets, and inserting and retrieving images from a database. Tuviah From eisot at algonet.se Sat Dec 15 11:57:01 2001 From: eisot at algonet.se (Eva Isotalo) Date: Sat Dec 15 11:57:01 2001 Subject: Open Certian Folder & Filter In-Reply-To: <001c01c18523$92f27f80$0200a8c0@ws1> Message-ID: <4.3.1.0.20011215175228.00a9e630@pop.algonet.se> Hi Josh, Try the following: on mouseUp answer file "Select your mp3" with "C:/someFolder/anotherFolder/" play audioClip it end mouseUp The filter part I suggest you sort them in separate folders and have the user click a "MP3-button" or "Wav-button". But there may be a better solution for that. Hope this helps some. Regards, Eva At 20:46 2001-12-14 -0800, you wrote: >Hey, > When I do this command... > >on mouseup >Answer file "Please Select a '.MP3' or '.Wav' to play..." >end mouseup > > >I want it to show a certain folder every time you click the btn. Also, I >want it to filter to just '.MP3' and '.Wav' Files. How would or could I do >this? > > > > - Josh Dye > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution From mike at cyber-ny.com Sat Dec 15 13:45:01 2001 From: mike at cyber-ny.com (Mike Brown) Date: Sat Dec 15 13:45:01 2001 Subject: Open Certian Folder & Filter In-Reply-To: <4.3.1.0.20011215175228.00a9e630@pop.algonet.se> Message-ID: Can Rev play an Mp3 file? I just tried the script listed below and got nothing but noise. Mike Brown Cyber-NY Interactive 212-475-2721 1-888-70-CYBER mike at cyber-ny.com > From: Eva Isotalo > Reply-To: use-revolution at lists.runrev.com > Date: Sat, 15 Dec 2001 17:56:45 +0100 > To: use-revolution at lists.runrev.com > Subject: Re: Open Certian Folder & Filter > > Hi Josh, > > Try the following: > > on mouseUp > answer file "Select your mp3" with "C:/someFolder/anotherFolder/" > play audioClip it > end mouseUp > > The filter part I suggest you sort them in separate folders and have the > user click a "MP3-button" or "Wav-button". But there may be a better > solution for that. > > Hope this helps some. > > Regards, > Eva > > > At 20:46 2001-12-14 -0800, you wrote: >> Hey, >> When I do this command... >> >> on mouseup >> Answer file "Please Select a '.MP3' or '.Wav' to play..." >> end mouseup >> >> >> I want it to show a certain folder every time you click the btn. Also, I >> want it to filter to just '.MP3' and '.Wav' Files. How would or could I do >> this? >> >> >> >> - Josh Dye >> >> _______________________________________________ >> 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 scott at tactilemedia.com Sat Dec 15 16:43:00 2001 From: scott at tactilemedia.com (Scott Rossi) Date: Sat Dec 15 16:43:00 2001 Subject: Open Certian Folder & Filter In-Reply-To: Message-ID: Recently, Mike Brown wrote: > Can Rev play an Mp3 file? I just tried the script listed below and got > nothing but noise. In my experience, MC/REV plays MP3s just fine via QuickTime -- if QT can play the MP3, then MC/REV should as well. The only limitation is apparently MP3s can't be played backwards (negative playRate) while standard audio formats (AIF, WAV) can. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design Email: scott at tactilemedia.com Web: www.tactilemedia.com From jeanne at runrev.com Sun Dec 16 01:53:01 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Dec 16 01:53:01 2001 Subject: Maximize an Application Window In-Reply-To: References: Message-ID: At 3:08 AM -0800 12/15/2001, Andre Rombauts wrote: >It seems however that on Mac the menu bar remains visible, aswell as the >control bar. Is there any mean to disable them temporary? You can use "hide menubar" to get rid of the menu bar. If by "control bar" you mean the toolbar just below the menu bar, it's just a stack (called "revMenubar"), and you can hide it with this: hide stack "revMenubar" -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From jeanne at runrev.com Sun Dec 16 01:54:10 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Dec 16 01:54:10 2001 Subject: DefaultFolder. Should I use it? In-Reply-To: Message-ID: At 5:24 AM -0800 12/15/2001, Bruce Lewis wrote: >I want to click on a link and show an image by reference to an external file. >[...] >In my old HyperCard stack, I just use the name of the file and HyperCard >finds it. If HyperCard can't find the file, it gives a dialogue to select >it. Once selected, it can find the image later. > >HyperCard records file paths on a card in the home stack. I assume it then >checks all of these until it finds the file. It seems pretty fast. > >How would I replicate this in Revolution? I haven't written this, but it seems you could use the file name as the linkText, and something like this to check whether the file is in the defaultFolder, then ask the user if the file isn't found: get the linkText of the clickChunk if there is no file it then answer file "Where is the image?" if the result is not empty then exit to top end if set the filename of image "My Image" to it To replicate HyperCard's file paths functionality, I'd expand the first two lines of the above to concatenate each stored file path with the filename in the linkText, and ask the user only if there's no such file in any of the paths. Then when you ask the user, you can strip the last component (the file name) off the returned path, and store the resulting path along with the other file paths. These paths could be stored in a stack and read into a global on launch (which is what HC does), or stored in a text file in the Prefs folder, or whatever. Sorry, this isn't a complete worked-out solution but it may give you an idea of how to get started... -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From chipp at chipp.com Sun Dec 16 02:00:00 2001 From: chipp at chipp.com (Chipp Walters) Date: Sun Dec 16 02:00:00 2001 Subject: Print Stack problem... In-Reply-To: Message-ID: Win98 SE and a HP PhotoSmart P1100 -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Kevin Miller Sent: Saturday, December 15, 2001 7:01 AM To: use-revolution at lists.runrev.com Subject: Re: Print Stack problem... On 11/12/01 5:28 am, Chipp Walters wrote: > I was building a test stack for Josh to show him how to print the screen. > After building the capture part, I used Jeanne's script she mentioned awhile > back: > > print this card from 20,20 to 150,250 > > but couldn't get the card to print. The test program is at the top of this > page: > > > http://www.altuit.com/webs/altuit2/RunRev/Bugs.htm > > Anyone out there tell me what I'm doing wrong? Seems to work just fine here. What platform is this and what printer? Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! 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 sjoerdoptland at mac.com Sun Dec 16 04:03:07 2001 From: sjoerdoptland at mac.com (Sjoerd Op 't Land) Date: Sun Dec 16 04:03:07 2001 Subject: setting the default folder to the folder where the stack is.. In-Reply-To: Message-ID: Scott Rossi wrote/ schreef: > Recently, Sjoerd Op 't Land wrote: >> So, optimized we'd get: >> >> function getFolderFromFilename tFilename >> set itemDel to "/" >> return item 1 to -2 of tFilename & "/" >> end function getFolderFromFilename > The above could be even shorter: > > function getFolderFromFilename tFilename > set itemDel to "/";return item 1 to -2 of tFilename & "/" > end getFolderFromFilename True, but it doesn't make it faster nor more readable. It still 'counts' for two lines. > Also note that the last line should not include the word "function" Sure. (I wasn't really awake at that moment ;-) > Regards, > > Scott Regards, / Groeten, Sjoerd From jezra at mindspring.com Sun Dec 16 05:48:01 2001 From: jezra at mindspring.com (jezra) Date: Sun Dec 16 05:48:01 2001 Subject: problem with multiple hard drives Message-ID: <000a01c2a4f0$df3cb840$6501a8c0@chief> i'm running a win98 machine with 2 hard drives, when I place the following script on a button, I have no problem opening files on my "C" drive, but nothing happens when i try to open files on my "D" drive. Has anyone else experienced this problem? If so, did you find and acceptable workaround? jezra -------------- next part -------------- An HTML attachment was scrubbed... URL: From jezra at mindspring.com Sun Dec 16 05:52:00 2001 From: jezra at mindspring.com (jezra) Date: Sun Dec 16 05:52:00 2001 Subject: re problem with multiple hard drives--here is the script Message-ID: <000701c2a4f1$6c893480$6501a8c0@chief> answer file "Open Which File?" with filter "text files,*.txt" put it into filePath open file filePath for text update read from file filePath until end put it into field "myText" close file filePath From andre.rombauts at win.be Sun Dec 16 09:10:01 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Sun Dec 16 09:10:01 2001 Subject: Image Library Message-ID: I tried to create a new image library and got this error message... --- ? There was an Execution Error at 3:04:01 PM Error description: if-then: error in condition expression Revolution User Interface Error: Object: button id 1117 of card id 1002 of stack "/Video/revo/revol Classic/components/tools/revimagelibrary.rev" -------------------- repeat for each line l in tList -------------------- Value: mouseUp --- ??? Andr? R. From katir at hindu.org Sun Dec 16 13:18:00 2001 From: katir at hindu.org (Sivakatirswami) Date: Sun Dec 16 13:18:00 2001 Subject: AppleScript Question In-Reply-To: <200112121527.KAA10314@www.runrev.com> Message-ID: on 12/12/01 5:27 AM, Gene wrote: > I understand how to use AppleScript with the "Do" command but I am also > interested > in knowing: Is there a way to call compiled AppleScript scripts or AppleScript > applications from Transcript and have the ability to pass parameter values > back > and forth? Our strategy here which may not address your context need, but it works great (in Supercard but will work in Rev also) is: store applescripts as text chunks, and replacement strings in those text chunks, then later you use a replace function to poke your parameters into the text chunk then run that as an appleScript. If you have external scripts then open them in script Editor, copy the text, save as raw text in Bbedit or simpleText then read them first, poke your parameters, then run them... These are not compiled of course, but will for small scripts it's not much of an issue. create a sub-stack call it something like "code_chunks" each card carries a field with applescripts like this: ======= set tFile to "???theFileToLoad???" as alias set tHost to "mahiai.aloha.net" set tPath to "???Destination???" set tUser to "hinduis" set tPassword to "dbNEVH" tell application "Interarchy 5.0" store tFile host tHost path tPath user tUser password tPassword end tell ======= Give the card a name and the field a name you will refer to later... then in your project script you have handlers like this: (this is in superTalk, but minor changes will make it work in Rev) on doUpload uploadPath,filePath,ftpServer -- first get your applescript: put field "codeChunk" of card ftpServer of stack "code_chunks" into tAppleScript --now insert your values/parameters replace "???Destination???" with uploadPath in tApplescript, replace "???theFileToLoad???" with filePath in tApplescript --now you run the script... it's not compiled --but for short scripts time is not an issue --modify the following for Rev. get script (do, AppleScript, it) end doUpload > Thanks for any help. > Gene Kennedy 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 shedrup at ms9.hinet.net Sun Dec 16 14:11:00 2001 From: shedrup at ms9.hinet.net (Friedrich F. Grohmann) Date: Sun Dec 16 14:11:00 2001 Subject: Chinese Message-ID: <200112161909.DAA01726@ms9.hinet.net> Kevin Miller wrote: >We are actively researching this now. > This is excellent news, indeed! Regards, Fritz From johng at cablespeed.com Sun Dec 16 17:50:01 2001 From: johng at cablespeed.com (John) Date: Sun Dec 16 17:50:01 2001 Subject: setting the default folder to the folder where the stack is.. In-Reply-To: Message-ID: <165D640C-F277-11D5-8868-003065847600@cablespeed.com> Hope someone can help. I have an application that needs to look the text the user is typing and editing in real time. For each keystroke I need to work out what the current word is. This is complicated a bit by the fact that the user is free to edit text anywhere in the field - simply capturing keystrokes and building the word as they type will not work because they could have begun editing a word in previously typed text. The following example solves the problem but is very, very slow (to the point of making it unusable). on keyDown global keyDownPoint put the selectedLoc into keyDownPoint --get the location of the insertion point pass keyDown end keyDown on keyup global keyDownPoint put the selectedLoc into lastPoint --get the location of the insertion point click at keyDownPoint --click at the word based on the KeyDown event put the clicktext & return after field "debug" --so I can see what has happened click at lastPoint --put the insertion point back so I don't type 'backwards' pass keyUp end keyup Does anyone know of a way to do this that is reasonably fast? Any thoughts at all would be appreciated. Thanks, John Miskimins From sarahr at genesearch.com.au Sun Dec 16 18:00:01 2001 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Sun Dec 16 18:00:01 2001 Subject: Adding numbers (and limiting the result) In-Reply-To: Message-ID: Try this: on closefield put statRound(fld "Tot0" / fld "Grp0", 2) into fld "Cpp0" end closefield This will do your division, round the result to 2 decimals and then put that answer into "Cpp0". If you have a license &/or are not script-length restricted, you may find it clearer (& easier to debug in the future) if you do this in 2 stages: on closefield put fld "Tot0" / fld "Grp0" into theAnswer put statRound(theAnswer, 2) into fld "Cpp0" end closefield >> You could use numberFormat as suggested, or the round function. >> >> put round(myNumber,2) into fld "Whatever" >> >> This will give you 2 decimal places rounded by financial rules. If you want >> statistical rounding rules, use the statRound function. >> >> Cheers, >> Sarah > > Sarah, > > Thanks for the suggestion, however I'm in the dark as to how to use this in > my current script, for example this is the script in the field that > generates the number that needs to be rounded: > > on closefield > put fld "Tot0" / fld "Grp0" into fld "Cpp0" > end closefield > > Should the statRound function go here, or in some other place? > > Thanks! > > > Michael McKenzie > Director of Advertising > Ruby-Gordon Inc. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Sun Dec 16 18:11:01 2001 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Sun Dec 16 18:11:01 2001 Subject: Maximize an Application Window In-Reply-To: Message-ID: As well as the script methods, if you need to hide the Mac menubar in all applications (say for a kiosk) there is a freeware control panel called Bartender which has various options to hide &/or disable the menus. Sarah > At 3:08 AM -0800 12/15/2001, Andre Rombauts wrote: >> It seems however that on Mac the menu bar remains visible, aswell as the >> control bar. Is there any mean to disable them temporary? > > You can use "hide menubar" to get rid of the menu bar. If by "control bar" > you mean the toolbar just below the menu bar, it's just a stack (called > "revMenubar"), and you can hide it with this: > hide stack "revMenubar" > > -- > Jeanne A. E. DeVoto ~ jeanne at runrev.com > http://www.runrev.com/ > Runtime Revolution Limited - Power to the Developer! > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From gcanyon at inspiredlogic.com Sun Dec 16 21:27:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sun Dec 16 21:27:01 2001 Subject: setting the default folder to the folder where the stack is.. In-Reply-To: <165D640C-F277-11D5-8868-003065847600@cablespeed.com> References: <165D640C-F277-11D5-8868-003065847600@cablespeed.com> Message-ID: At 2:48 PM -0800 12/16/01, John wrote: > Hope someone can help. I have an application that needs to look the text the user is typing and editing in real time. For each keystroke I need to work out what the current word is. This is complicated a bit by the fact that the user is free to edit text anywhere in the field - simply capturing keystrokes and building the word as they type will not work because they could have begun editing a word in previously typed text. The following example solves the problem but is very, very slow (to the point of making it unusable). > >on keyDown > global keyDownPoint > put the selectedLoc into keyDownPoint --get the location of the insertion point > pass keyDown >end keyDown > > >on keyup > global keyDownPoint > put the selectedLoc into lastPoint --get the location of the insertion point > click at keyDownPoint --click at the word based on the KeyDown event > put the clicktext & return after field "debug" --so I can see what has happened > click at lastPoint --put the insertion point back so I don't type 'backwards' > pass keyUp >end keyup > > > Does anyone know of a way to do this that is reasonably fast? Any thoughts at all would be appreciated. Have you tried something that doesn't involve clicking twice whenever the user presses a key? I'd probably try something that simply took the selection and worked out looking for spaces (or whatever delimiters work for you). regards, Geoff From dcragg at lacscentre.co.uk Mon Dec 17 03:49:01 2001 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon Dec 17 03:49:01 2001 Subject: setting the default folder to the folder where the stack is.. In-Reply-To: <165D640C-F277-11D5-8868-003065847600@cablespeed.com> References: <165D640C-F277-11D5-8868-003065847600@cablespeed.com> Message-ID: At 2:48 pm -0800 16/12/01, John wrote: > Hope someone can help. I have an application that needs to look >the text the user is typing and editing in real time. For each >keystroke I need to work out what the current word is. This is >complicated a bit by the fact that the user is free to edit text >anywhere in the field - simply capturing keystrokes and building the >word as they type will not work because they could have begun >editing a word in previously typed text. The following example >solves the problem but is very, very slow (to the point of making it >unusable). > >on keyDown > global keyDownPoint > put the selectedLoc into keyDownPoint --get the location of the >insertion point > pass keyDown >end keyDown > > >on keyup > global keyDownPoint > put the selectedLoc into lastPoint --get the location >of the insertion point > click at keyDownPoint --click at the word >based on the KeyDown event > put the clicktext & return after field "debug" --so I can see what >has happened > click at lastPoint --put the insertion >point back so I don't type 'backwards' > pass keyUp >end keyup > > > Does anyone know of a way to do this that is reasonably fast? >Any thoughts at all would be appreciated. Try this. (Not fully tested.) Putting it in a rawKeyUp handler will also get the current word when, for example, the delete key is pressed. on rawKeyUp put length(the text of me) into tLength put word 4 of the selectedChunk into tStart repeat with i = tStart down to 1 if char i of the text of me is in space & tab & cr or i = 1 then put i into tP1 exit repeat end if end repeat repeat with i = tStart to tLength if char i of the text of me is in space & tab & cr or i = tLength then put i into tP2 exit repeat end if end repeat put char tP1 to tP2 of the text of me into field "debug" pass rawKeyUp end rawKeyUp Cheers Dave Cragg From rolfk at vetvir.unizh.ch Mon Dec 17 07:42:01 2001 From: rolfk at vetvir.unizh.ch (Rolf Kocherhans) Date: Mon Dec 17 07:42:01 2001 Subject: Accept Drag And Drop in Finder Message-ID: I made an Application which is using the built in Compress function. I want to be able to Drag and Drop revStacks onto my Application and it should compress the dropped files. I am finished with the code so there is no problem, but I need to figure out how my Compiled Application accepts Revolution documents dropped onto it in MacOS9 and in MacOSX. I compared BNDL, FREF, and ICON resources of a freshly Compiled Stack with the same Recourses in Revolution and found no difference, but Revolution accepts revStacks and my Applictaion does not ! Can anyone help me ? Cheers Rolf From sjoerdoptland at mac.com Mon Dec 17 10:00:00 2001 From: sjoerdoptland at mac.com (Sjoerd Op 't Land) Date: Mon Dec 17 10:00:00 2001 Subject: Open Certian Folder & Filter In-Reply-To: Message-ID: Mike Brown wrote/ schreef: > Can Rev play an Mp3 file? I just tried the script listed below and got > nothing but noise. Sometimes, MC (rev) doesn't play sounds via the 'play' command (you'll hear some painful noise), but does via a player. > Mike Brown Regards, / Groeten, Sjoerd From katir at hindu.org Mon Dec 17 16:40:01 2001 From: katir at hindu.org (Sivakatirswami) Date: Mon Dec 17 16:40:01 2001 Subject: AppleScript Question In-Reply-To: <200112121527.KAA10314@www.runrev.com> Message-ID: on 12/12/01 5:27 AM, Gene wrote: > I understand how to use AppleScript with the "Do" command but I am also > interested > in knowing: Is there a way to call compiled AppleScript scripts or AppleScript > applications from Transcript and have the ability to pass parameter values > back > and forth? Our strategy here which may not address your context need, (since you want to poke values in already compiled apps...) but it works great is: store applescripts as text chunks, and replacement strings in those text chunks, then later you use a replace function to poke your parameters into the text chunk then run that as an appleScript. If you have external scripts/apps then open them in script Editor, copy the text, save as raw text in Bbedit or simpleText then read them first, poke your parameters, then run them... These are not compiled of course, but with for small scripts it's not much of an issue. create a sub-stack call it something like "code_chunks" each card carries a field with applescripts like this: ======= set tFile to "???theFileToLoad???" as alias set tHost to "mahiai.aloha.net" set tPath to "???Destination???" set tUser to "someuser" set tPassword to "somePassword" tell application "Interarchy 5.0" store tFile host tHost path tPath user tUser password tPassword end tell ======= Give the card a name and the field a name you will refer to later... then in your project script you have handlers like this: (this is in superTalk, but minor changes will make it work in Rev) on doUpload uploadPath,filePath,ftpServer -- first get your applescript: put field "codeChunk" of card "ftpServer" of stack "code_chunks" into tAppleScript --now insert your values/parameters replace "???Destination???" with uploadPath in tApplescript, replace "???theFileToLoad???" with filePath in tApplescript --now you run the script... it's not compiled --but for short scripts time is not an issue do tApplescript as AppleScript end doUpload Of course one day I will change all the above and use the on board FTP commands, but .... need a little more robust feedback... > Thanks for any help. > Gene Kennedy 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 inperson at pnc.com.au Mon Dec 17 18:21:03 2001 From: inperson at pnc.com.au (Ian Bridges) Date: Mon Dec 17 18:21:03 2001 Subject: Capturing text as user types (was Re: setting the default folder...) Message-ID: > From: John > Hope someone can help. I have an application that needs to look the > text the user is typing and editing in real time. For each keystroke I > need to work out what the current word is. This is complicated a bit by > the fact that the user is free to edit text anywhere in the field - > simply capturing keystrokes and building the word as they type will not > work because they could have begun editing a word in previously typed > text. The following example solves the problem but is very, very slow > (to the point of making it unusable). I used this technique in SC once and it was quite fast (it is surprising how much you can get done between keystrokes) - it let me capture and do processing on a field "live" behind the scenes. In rev you could use the send command if you don't like using idle. on idle put field myField into field "debug" end idle This might not be quite what you are after, but could help...you could compare captured strings at each tick or whatever period you want to find what has changed... Another approach might be to check for spacebar presses, so you could get the last word entered during 'normal' typing, and go after mouseClicks and other signs of editing as special cases only as they occur. Ian B From chipp at chipp.com Mon Dec 17 19:23:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Mon Dec 17 19:23:01 2001 Subject: How do I set the textStyle from a button? Message-ID: Every time I try from a button: on mouseUp set the textStyle of the SelectedChunk to bold end mouseUp it doesn't work. It turns out that when the button is pressed, the focus leaves the field and the selectedChunk is now empty. I know this should be easy... thanks, Chipp ---------------------------- | ___ ____ _ __ | | / _ | / / /___ __(_) /_ | | / __ |/ / __/ // / / __/ | | /_/ |_/_/\__/\_,_/_/\__/ | | http://www.altuit.com | | chipp at altuit.com | ---------------------------- From evans at evans.pgh.pa.us Mon Dec 17 20:04:00 2001 From: evans at evans.pgh.pa.us (Arthur Evans Jr) Date: Mon Dec 17 20:04:00 2001 Subject: How do I set the textStyle from a button? In-Reply-To: References: Message-ID: >Every time I try from a button: > >on mouseUp > set the textStyle of the SelectedChunk to bold >end mouseUp > >it doesn't work. It turns out that when the button is pressed, the focus >leaves the field and the selectedChunk is now empty. I've just started on Revolution, but I'll hazard an answer based on my Hypercard experience. If Rev works differently here, I'm sure someone will jump on me. If the auto-lite of a button is true (in HC), then poking that button deselects whatever is selected. Try turning off the auto-hilite of the button. Cheerrs! Art Evans From gcanyon at inspiredlogic.com Mon Dec 17 20:10:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon Dec 17 20:10:01 2001 Subject: How do I set the textStyle from a button? In-Reply-To: References: Message-ID: At 6:20 PM -0600 12/17/01, Chipp Walters wrote: >Every time I try from a button: > >on mouseUp > set the textStyle of the SelectedChunk to bold >end mouseUp > >it doesn't work. It turns out that when the button is pressed, the focus >leaves the field and the selectedChunk is now empty. > >I know this should be easy... Try capturing the selection information you need in the mouseDown event. regards, geoff From sarahr at genesearch.com.au Mon Dec 17 20:35:01 2001 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon Dec 17 20:35:01 2001 Subject: How do I set the textStyle from a button? In-Reply-To: Message-ID: I think Geoff's idea about the mouseDown is the right way to go, but this business of a button click changing the focus has further ramifications. I have a stack that interacts almost completely through a barcode reader. I get the input from the barcode reader by keyDown & rawKeyDown handlers in the stack script. I discovered (the hard way) that if the user clicks on a button, any further input from the reader does not get to the keyDown or rawKeyDown handlers. Presumably it gets trapped by the button even though no other keyDown/rawKeyDown handlers exist. To get around this, at the end of every mouseUp handler, I use "click at 0,0" This gives the focus back to the stack and the barcodes get read in as usual. Cheers, Sarah > Every time I try from a button: > > on mouseUp > set the textStyle of the SelectedChunk to bold > end mouseUp > > it doesn't work. It turns out that when the button is pressed, the focus > leaves the field and the selectedChunk is now empty. > > I know this should be easy... > > thanks, > > Chipp > > ---------------------------- > | ___ ____ _ __ | > | / _ | / / /___ __(_) /_ | > | / __ |/ / __/ // / / __/ | > | /_/ |_/_/\__/\_,_/_/\__/ | > | http://www.altuit.com | > | chipp at altuit.com | > ---------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Mon Dec 17 20:51:00 2001 From: chipp at chipp.com (Chipp Walters) Date: Mon Dec 17 20:51:00 2001 Subject: How do I set the textStyle from a button? In-Reply-To: Message-ID: Geoff, I tried the following in a button: global gSelTxt on mouseDown put the selectedChunk into gSelTxt end mouseDown on mouseUp if gSelTxt is not empty then set the textStyle of gSelTxt to "bold" end if end mouseUp and it still doesn't work...any other ideas? -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Geoff Canyon Sent: Monday, December 17, 2001 7:08 PM To: use-revolution at lists.runrev.com Subject: Re: How do I set the textStyle from a button? At 6:20 PM -0600 12/17/01, Chipp Walters wrote: >Every time I try from a button: > >on mouseUp > set the textStyle of the SelectedChunk to bold >end mouseUp > >it doesn't work. It turns out that when the button is pressed, the focus >leaves the field and the selectedChunk is now empty. > >I know this should be easy... Try capturing the selection information you need in the mouseDown event. regards, geoff _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Mon Dec 17 21:06:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Mon Dec 17 21:06:01 2001 Subject: How do I set the textStyle from a button? In-Reply-To: Message-ID: fixed it by changing the mouseDown to mouseEnter -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Chipp Walters Sent: Monday, December 17, 2001 7:52 PM To: use-revolution at lists.runrev.com Subject: RE: How do I set the textStyle from a button? Geoff, I tried the following in a button: global gSelTxt on mouseDown put the selectedChunk into gSelTxt end mouseDown on mouseUp if gSelTxt is not empty then set the textStyle of gSelTxt to "bold" end if end mouseUp and it still doesn't work...any other ideas? -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Geoff Canyon Sent: Monday, December 17, 2001 7:08 PM To: use-revolution at lists.runrev.com Subject: Re: How do I set the textStyle from a button? At 6:20 PM -0600 12/17/01, Chipp Walters wrote: >Every time I try from a button: > >on mouseUp > set the textStyle of the SelectedChunk to bold >end mouseUp > >it doesn't work. It turns out that when the button is pressed, the focus >leaves the field and the selectedChunk is now empty. > >I know this should be easy... Try capturing the selection information you need in the mouseDown event. regards, geoff _______________________________________________ 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 davethebrv at mac.com Mon Dec 17 21:40:01 2001 From: davethebrv at mac.com (David Beck) Date: Mon Dec 17 21:40:01 2001 Subject: Rect property incorrectly documented? Message-ID: In 1.0, it appears that the rect property is incorrectly documented. Is says in the docs it takes the form "top, left, bottom, right", when in fact the effective form is "left, top, right, bottom". Is this observation confirmed? If so, will the property or the docs be changed in future versions? Thanks. Dave From kray at sonsothunder.com Mon Dec 17 22:29:01 2001 From: kray at sonsothunder.com (Ken Ray) Date: Mon Dec 17 22:29:01 2001 Subject: How do I set the textStyle from a button? References: Message-ID: <003401c18773$7e431980$2ad1f018@charter.net> Guys, It's even easier than you think... just set the traversalOn of the button to false. It is the traversalOn that causes the button to get the focus. Have fun! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Website: http://www.sonsothunder.com/ ----- Original Message ----- From: "Chipp Walters" To: Sent: Monday, December 17, 2001 8:06 PM Subject: RE: How do I set the textStyle from a button? > fixed it by changing the mouseDown to mouseEnter > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Chipp Walters > Sent: Monday, December 17, 2001 7:52 PM > To: use-revolution at lists.runrev.com > Subject: RE: How do I set the textStyle from a button? > > > Geoff, > > I tried the following in a button: > > global gSelTxt > > on mouseDown > put the selectedChunk into gSelTxt > end mouseDown > > on mouseUp > if gSelTxt is not empty then > set the textStyle of gSelTxt to "bold" > end if > end mouseUp > > and it still doesn't work...any other ideas? > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Geoff Canyon > Sent: Monday, December 17, 2001 7:08 PM > To: use-revolution at lists.runrev.com > Subject: Re: How do I set the textStyle from a button? > > > At 6:20 PM -0600 12/17/01, Chipp Walters wrote: > >Every time I try from a button: > > > >on mouseUp > > set the textStyle of the SelectedChunk to bold > >end mouseUp > > > >it doesn't work. It turns out that when the button is pressed, the focus > >leaves the field and the selectedChunk is now empty. > > > >I know this should be easy... > > Try capturing the selection information you need in the mouseDown event. > > regards, > > geoff > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Mon Dec 17 22:57:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Mon Dec 17 22:57:01 2001 Subject: How do I set the textStyle from a button? In-Reply-To: <003401c18773$7e431980$2ad1f018@charter.net> Message-ID: Thanks KEN !! (click - drag - copy - paste -click - drag - copy - paste -click - drag - copy - paste -click - drag - copy - paste -click - drag - copy - paste -) (the sound you hear in the background is me changing ALL those scripts and properties!) -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Ray Sent: Monday, December 17, 2001 9:24 PM To: use-revolution at lists.runrev.com Subject: Re: How do I set the textStyle from a button? Guys, It's even easier than you think... just set the traversalOn of the button to false. It is the traversalOn that causes the button to get the focus. Have fun! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Website: http://www.sonsothunder.com/ ----- Original Message ----- From: "Chipp Walters" To: Sent: Monday, December 17, 2001 8:06 PM Subject: RE: How do I set the textStyle from a button? > fixed it by changing the mouseDown to mouseEnter > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Chipp Walters > Sent: Monday, December 17, 2001 7:52 PM > To: use-revolution at lists.runrev.com > Subject: RE: How do I set the textStyle from a button? > > > Geoff, > > I tried the following in a button: > > global gSelTxt > > on mouseDown > put the selectedChunk into gSelTxt > end mouseDown > > on mouseUp > if gSelTxt is not empty then > set the textStyle of gSelTxt to "bold" > end if > end mouseUp > > and it still doesn't work...any other ideas? > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Geoff Canyon > Sent: Monday, December 17, 2001 7:08 PM > To: use-revolution at lists.runrev.com > Subject: Re: How do I set the textStyle from a button? > > > At 6:20 PM -0600 12/17/01, Chipp Walters wrote: > >Every time I try from a button: > > > >on mouseUp > > set the textStyle of the SelectedChunk to bold > >end mouseUp > > > >it doesn't work. It turns out that when the button is pressed, the focus > >leaves the field and the selectedChunk is now empty. > > > >I know this should be easy... > > Try capturing the selection information you need in the mouseDown event. > > regards, > > geoff > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From johng at cablespeed.com Mon Dec 17 23:35:01 2001 From: johng at cablespeed.com (John) Date: Mon Dec 17 23:35:01 2001 Subject: setting the default folder to the folder where the stack is.. In-Reply-To: Message-ID: On Monday, December 17, 2001, at 12:47 AM, Dave Cragg wrote: > At 2:48 pm -0800 16/12/01, John wrote: >> Snip > end repeat > put char tP1 to tP2 of the text of me into field "debug" > pass rawKeyUp > end rawKeyUp > > Cheers > Dave Cragg > _______________________________________________ > That works much better - huge gain in speed. Thank you. I am new to Rev and am having some difficulty coming up to speed. Thanks again, John Miskimins From soapdog at mac.com Mon Dec 17 23:51:01 2001 From: soapdog at mac.com (Andre Garzia) Date: Mon Dec 17 23:51:01 2001 Subject: Working with HTML requests. Message-ID: <200112180449.fBI4ndqr000271@smtpout.mac.com> Can i use Revolution to retrieve a web page, fill it's form and post it using POST method? Can someone write a example? Tanx in advance. Andre Alves Garzia Soap Dog Studio - BRAZIL (http://nibbo.manilasites.com) From gcanyon at inspiredlogic.com Tue Dec 18 01:56:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Dec 18 01:56:01 2001 Subject: Rect property incorrectly documented? In-Reply-To: References: Message-ID: At 6:38 PM -0800 12/17/01, David Beck wrote: >In 1.0, it appears that the rect property is incorrectly documented. Is says >in the docs it takes the form "top, left, bottom, right", when in fact the >effective form is "left, top, right, bottom". Is this observation confirmed? >If so, will the property or the docs be changed in future versions? Thanks. The property is left, top, right, bottom, and will stay that way. regards, Geoff From gcanyon at inspiredlogic.com Tue Dec 18 02:03:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Dec 18 02:03:01 2001 Subject: How do I set the textStyle from a button? In-Reply-To: <003401c18773$7e431980$2ad1f018@charter.net> References: <003401c18773$7e431980$2ad1f018@charter.net> Message-ID: At 9:24 PM -0600 12/17/01, Ken Ray wrote: >It's even easier than you think... just set the traversalOn of the button to >false. It is the traversalOn that causes the button to get the focus. 'Doh! There are a few things that I'm not sure will ever penetrate my skull. :-) From sarahr at genesearch.com.au Tue Dec 18 02:16:01 2001 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue Dec 18 02:16:01 2001 Subject: Rect property incorrectly documented? In-Reply-To: Message-ID: Here's a mnemonic: Li-Tte-R-Bug (litterbug) Sarah > > At 6:38 PM -0800 12/17/01, David Beck wrote: >> In 1.0, it appears that the rect property is incorrectly documented. Is says >> in the docs it takes the form "top, left, bottom, right", when in fact the >> effective form is "left, top, right, bottom". Is this observation confirmed? >> If so, will the property or the docs be changed in future versions? Thanks. > > The property is left, top, right, bottom, and will stay that way. > > regards, > > Geoff > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From dgbeck at ucsd.edu Tue Dec 18 06:59:01 2001 From: dgbeck at ucsd.edu (David Beck) Date: Tue Dec 18 06:59:01 2001 Subject: Scrollable cards? Message-ID: Hi. I would like to implement a word-processing-like interface for one of my stacks. Since a printable page is bigger than most monitors, I have been looking for a way to scroll an entire card or at least give the illusion of doing so to mimic the standard word processing interface. Simply putting the text in a scrollable field is not an option because the documents have a header and pages are divided into two columns (the text must be stored in multiple fields). Moveover, when the user is done editing the document, he should be able to print it. The two options I have considered are: (1) Putting the fields into a scrollable group. This seems as though it should work well except when printing. Is there a way to print the entire area of a scrollable group in one shot, as opposed to just the currently visible area? I also considered (2) Scripting a scroll bar to control the location of all fields in the card to give the illusion of a scrolling document. When printing, the scrollbar could be hidden and the card size could be expanded to contain all the fields (expanded to the former "scrollable" area), and the entire document would then in theory be printed. My questions are: 1) Is there a way to make method (1) work with printing, as I think this would be bar far the easier route to take, and if not 2) Does method (2) sound like a viable alternative? Anybody have a better idea? Thanks in advance for any help. Dave From dgbeck at ucsd.edu Tue Dec 18 07:00:06 2001 From: dgbeck at ucsd.edu (David Beck) Date: Tue Dec 18 07:00:06 2001 Subject: blue text in 1.1 Message-ID: Hi. I just tried opening a stack of mine created with Rev 1.0 in 1.1. Many of the fields with listBehavior have blue, underlined text and the column dividers are visible even though they shouldn't be (they are also blue). I am wondering if anybody else had this problem and if so how they fixed it. Thanks. Dave From jeanne at runrev.com Tue Dec 18 07:01:32 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Tue Dec 18 07:01:32 2001 Subject: Rect property incorrectly documented? In-Reply-To: Message-ID: At 6:38 PM -0800 12/17/2001, David Beck wrote: >In 1.0, it appears that the rect property is incorrectly documented. Is says >in the docs it takes the form "top, left, bottom, right", when in fact the >effective form is "left, top, right, bottom". Is this observation confirmed? >If so, will the property or the docs be changed in future versions? This is fixed in the current version. -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From cyberscope at home.com Tue Dec 18 10:22:01 2001 From: cyberscope at home.com (Gene Kennedy) Date: Tue Dec 18 10:22:01 2001 Subject: Copying Resources Error Message Message-ID: <3C1F5D29.4C7B59BB@home.com> I am having difficulty using the controls for opening/copying resource files in the Application Overview window. Each time I attempt to copy a resource from another file to my current stack I get the following error message: Error description: getResources: error in expression get copyResource(tOpenResourcePath,tDestinationPath,item 3 of tResourceDetails,item 2 of tResourceDetails, item 2 of tResourceDetails) Line: 40 Character: 3 Value: Is this a bug? Or am I missing something? I am using RR 1.1 on an iMac running OS 8.6. Gene Kennedy From troy at rpsystems.net Tue Dec 18 11:25:01 2001 From: troy at rpsystems.net (Troy Rollins) Date: Tue Dec 18 11:25:01 2001 Subject: FTP & Chipp's FTP'r Message-ID: Hi all, In my continued testing of Rev's FTP I have so far been unable to get a file transfer to a specialized FTP server. Incidentally, I tested with Chipp's FTP'r mini-app as well but received identical results since at the lowest level the ultimate command used to accomplish the transfer was identical. Basically, with these particular servers, the login and password stuff works, but the transfer never happens. The interesting part is that with virtually any normal FTP client the transfer works fine, and iShell allows the transfer seamlessly - using the exact same command structure e.g. Choose the file, then use the ftp://user:password at ipaddress/filename.extension syntax. Could this be some difference in "active/passive" mode FTP that is happening? Otherwise what could be different about the way iShell is handling FTP and the way Rev does? Thoughts appreciated. -- Troy RPSystems www.rpsystems.net From paulselden at mac.com Tue Dec 18 13:23:01 2001 From: paulselden at mac.com (Paul Selden) Date: Tue Dec 18 13:23:01 2001 Subject: Scrollable cards? In-Reply-To: <200112181704.MAA15310@www.runrev.com> Message-ID: <10924974-F3E4-11D5-8111-0003931CFA74@mac.com> In a similar vein to David Beck's question. In HyperCard I would have used Print Report which used report templates to print reasonable letters and other text in A4-sized pages. How is this accomplished in Revolution? Paul From chipp at chipp.com Tue Dec 18 15:04:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Tue Dec 18 15:04:01 2001 Subject: FTP & Chipp's FTP'r In-Reply-To: Message-ID: Troy, I'm no expert, but a smart guy I know said that if it's not working in Active mode you should try setting your FTP server to passive mode. See more below. "Basically, FTP works as follows: 1) client connects to server, port 21 (ftp). 2) client sends commands like USER and PASS to login and other things. 3) When client wants to transfer data (for instance, doing an ls or getting/putting a file) it does this in one of two ways: Active: The client sends the server an ip address and port to connect to. The IP address is presumably its own, and the port is a random one that the client has grabbed. So, using active mode, all data connections are done in reverse... the server connects to the client. This causes problems for firewalls, understandably. Passive: The client requests that the server specify an ip address and a port to connect to, just as the client would in active mode. This means that data connections are made in the same direction as the original control connection, and so they present far fewer firewall problems." Though it sounds like you cannot set your server to passive mode. -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Troy Rollins Sent: Tuesday, December 18, 2001 10:23 AM To: Revolution Subject: FTP & Chipp's FTP'r Hi all, In my continued testing of Rev's FTP I have so far been unable to get a file transfer to a specialized FTP server. Incidentally, I tested with Chipp's FTP'r mini-app as well but received identical results since at the lowest level the ultimate command used to accomplish the transfer was identical. Basically, with these particular servers, the login and password stuff works, but the transfer never happens. The interesting part is that with virtually any normal FTP client the transfer works fine, and iShell allows the transfer seamlessly - using the exact same command structure e.g. Choose the file, then use the ftp://user:password at ipaddress/filename.extension syntax. Could this be some difference in "active/passive" mode FTP that is happening? Otherwise what could be different about the way iShell is handling FTP and the way Rev does? Thoughts appreciated. -- Troy RPSystems www.rpsystems.net _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From rcrispin at watarts.uwaterloo.ca Tue Dec 18 15:32:01 2001 From: rcrispin at watarts.uwaterloo.ca (Richard Crispin) Date: Tue Dec 18 15:32:01 2001 Subject: an addition test Message-ID: Hi All I have a program that summarizes some log files. One of the things it does is to add up all of the bytes sent for each record. I found this to be painfully slow. I was investigating a way to speed it up (see the scripts listed below). The data I used was a column of 38,497 numbers ranging from 0 to about 750,000,000. The first method involved adding each line to a total this took 3,179 ticks. The second method involved using the return as the item delimiter and adding each item to a total this took 4,632 ticks. I was not happy with these results so I tried using the Replace command to replace the returns with a comma and then using the Sum command. This took an amazing 3 ticks. A considerable savings. I love experimenting. Richard on mouseup -- force the 3 methods to be compiled put AddColumn1(0) into TB1 put AddColumn2(0) into TB2 put AddColumn3(0) into TB3 -- set all the defaults put 0 into tb1 put 0 into tb2 put 0 into tb3 put fld "Bytes" into theBytes -- start the timing put the ticks into s0 put AddColumn1(theBytes) into TB1 put the ticks into s1 put AddColumn2(theBytes) into TB2 put the ticks into s2 put AddColumn3(theBytes) into TB3 put the ticks into s3 -- report the details - Time and Total to be sure the totals are all the same put s1 - s0 &&tb1 & " " & s2 - s1 &&tb2 & " " & s3 - s2 &&tb3 end mouseup Function AddColumn1 TheValues put 0 into thetotal put the number of lines in Thevalues into MaxL repeat with L = 1 to MaxL add line L of theValues to theTotal end repeat return theTotal end AddColumn1 Function AddColumn2 TheValues put 0 into thetotal set the itemdelimiter to return put the number of items in Thevalues into MaxL repeat with L = 1 to MaxL add item L of theValues to theTotal end repeat return theTotal end AddColumn2 Function AddColumn3 theValues replace return with "," in thevalues set the itemdelimiter to "," put sum(theValues) into theTotal return theTotal end AddColumn3 -- Richard Crispin e-mail:rcrispin at watarts.uwaterloo.ca Psychology,University of Waterloo phone:Days (519)885-1211 ext. 5669 200 University Ave. W Touch Tone (519)888-4567 5669 Waterloo, Ont. Canada N2L 3G1 FAX:(519)746-8631 --- When I die I'd like to die the way my grandfather died, peacefully in his sleep... ... not screaming and shouting, like his passengers. "Boot, you transistorized tormentor! Boot!"~Archibald Asparagus, VeggieTales "Time, heat and pressure. The same things that make a diamond also make a waffle."~Scott Meyer From benr_mc at cogapp.com Tue Dec 18 15:58:01 2001 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue Dec 18 15:58:01 2001 Subject: Distribution builder (1.1): folding stacks into mainfile? Message-ID: For the first time since starting with Revolution, I just tried to make a standalone involving stacks from more than one stack file. I expected that they would be built into a single standalone, but they weren't - on Windows, the distribution builder gave me a standalone plus a stack file; on Mac, a standalone and two stack files (i assume that the second is just a bug). Have I missed the handy option somewhere? Or is this just a bug in the 1.1 Distribution Builder? Or is this a non-feature? I can't see why it shouldn't be supported, given that I can use the Stack Mover in the App Overview to make a main stack from one file into a substack of another. TIA, Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From sarahr at genesearch.com.au Tue Dec 18 17:05:01 2001 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue Dec 18 17:05:01 2001 Subject: Scrollable cards? In-Reply-To: Message-ID: Hi Dave, I haven't tried this in Rev but I did a similar thing in HyperCard. There is probably an easier way to do this in Rev and I think your scrolling group sounds like a good method, but here is what I learnt along the way: First find out (by trial & error) how many pixels fit on a page. I ended up with a stack size of 480 x 680 which fit comfortably on an A4 page. This meant that once we all upgraded from 640 x 480 monitors, the scrolling routines weren't necessary any more, but you may want more pixels or better resolution. Then I used the following scripts: -- The one sets the size of the window to fit in the screen, -- allowing for the menubar -- and hides the scroll window that HC automatically pops up -- if the card is bigger than the window on openStack put item 4 of the screenRect into maxHeight set the height of the card window to maxHeight - 48 set the left of the card window to 8 hide window "Scroll" end openStack -- This one checks where the mouse is. If it is at the bottom of the -- "page", the window scrolls to the top and if the mouse is above, -- it scrolls down to the bottom. -- There is a 50 pixel buffer to stop constant flickering up & down on idle hide window "Scroll" -- just in case it re-appears if item 2 of the mouseLoc > (the height of the card window - 50) then set the scroll of the card window to the bottomRight of the card window else if item 2 of the mouseLoc < (680 - the height of the card window + 50) then set the scroll of the card window to 0,0 end if end idle I know that the use of idle is not recommended in Rev but these are HyperCard scripts so there was no alternative. When the page was ready, I hid a few unwanted buttons and used "Print Card" to get the whole thing on a single page. It worked really well. The card did not have to be completely visible in the window for it all to print. Hope this gives you some ideas. Cheers, Sarah > Hi. I would like to implement a word-processing-like interface for one of my > stacks. Since a printable page is bigger than most monitors, I have been > looking for a way to scroll an entire card or at least give the illusion of > doing so to mimic the standard word processing interface. Simply putting the > text in a scrollable field is not an option because the documents have a > header and pages are divided into two columns (the text must be stored in > multiple fields). Moveover, when the user is done editing the document, he > should be able to print it. The two options I have considered are: (1) > Putting the fields into a scrollable group. This seems as though it should > work well except when printing. Is there a way to print the entire area of a > scrollable group in one shot, as opposed to just the currently visible area? > I also considered (2) Scripting a scroll bar to control the location of all > fields in the card to give the illusion of a scrolling document. When > printing, the scrollbar could be hidden and the card size could be expanded > to contain all the fields (expanded to the former "scrollable" area), and > the entire document would then in theory be printed. My questions are: 1) Is > there a way to make method (1) work with printing, as I think this would be > bar far the easier route to take, and if not 2) Does method (2) sound like a > viable alternative? Anybody have a better idea? Thanks in advance for any > help. > > Dave > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > From andre.rombauts at win.be Tue Dec 18 17:07:01 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Tue Dec 18 17:07:01 2001 Subject: Distribution builder (1.1): folding stacks into mainfile? In-Reply-To: Message-ID: > they would be built into a single standalone, but they weren't - on Windows, > the distribution builder gave me a standalone plus a stack file; on Mac, a > standalone and two stack files (i assume that the second is just a bug). I noticed the same "problem" indeed. I also noticed I got a rev_components folder was created but empty. The image I put in my main stack as referenced control was not moved to any standalone folder and the application showed a black area instead. Run Rev is a wonderfull applciation but we are lacking information... :-( For instance, where can I find detailed information about the numerous building options? Andr? Rombauts, Belgium From andre.rombauts at win.be Tue Dec 18 17:20:01 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Tue Dec 18 17:20:01 2001 Subject: Distribution builder (1.1): folding stacks into mainfile? In-Reply-To: Message-ID: >> they would be built into a single standalone, but they weren't - on Windows, >> the distribution builder gave me a standalone plus a stack file; on Mac, a I tried to "protect" the stack file using the option "Encrypt with password" but the stack was still readable. Andr? Rombauts From zink at newmex.com Tue Dec 18 18:49:01 2001 From: zink at newmex.com (Nelson Zink) Date: Tue Dec 18 18:49:01 2001 Subject: Unpack XCMD? Message-ID: Is there a way to unpack the code of a XCMD, get it back to something that can be edited and run as a regular handler? Thanks, Nelson From depstein at att.net Tue Dec 18 19:19:00 2001 From: depstein at att.net (David Epstein) Date: Tue Dec 18 19:19:00 2001 Subject: How do I set the textStyle from a button? In-Reply-To: <200112181704.MAA15301@www.runrev.com> Message-ID: I understand that "traversalOn" makes it so that pressing a button doesn't lose your selection. But I can't get this to work when the button is a pull down menu in a palette, i.e., it's not in the same stack as the insertion point. Is there a solution or workaround for this? P.S.: In MetaCard, the pull-down menu in palette B doesn't lose a selection of text in stack A; but it does lose an insertion point. In Revolution, it appears that either a selection or an insertion point is lost. Many thanks. David Epstein From gcanyon at inspiredlogic.com Tue Dec 18 20:16:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Dec 18 20:16:01 2001 Subject: Unpack XCMD? In-Reply-To: References: Message-ID: At 4:46 PM +0900 12/18/01, Nelson Zink wrote: >Is there a way to unpack the code of a XCMD, get it back to something that >can be edited and run as a regular handler? Beats me. I assume you're talking about an XCMD created with CompileIt, that originated as xTalk? Otherwise the XCMD likely started out as C or Pascal, and would hardly translate to Transcript. You'd probably have more success simply reverse-engineering the functionality of the XCMD -- what does it do? regards, Geoff From gcanyon at inspiredlogic.com Tue Dec 18 20:23:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue Dec 18 20:23:01 2001 Subject: an addition test In-Reply-To: References: Message-ID: At 3:30 PM -0500 12/18/01, Richard Crispin wrote: > The data I used was a column of 38,497 numbers ranging from 0 to about 750,000,000. The first method involved adding each line to a total this took 3,179 ticks. The second method involved using the return as the item delimiter and adding each item to a total this took 4,632 ticks. I was not happy with these results so I tried using the Replace command to replace the returns with a comma and then using the Sum command. This took an amazing 3 ticks. A considerable savings. > I love experimenting. I love experimenting as well. I'm betting sum is absolutely the way to go. This solution certainly won't take 3 ticks, but I bet it will be substantially faster than either of the other two solutions you mentioned: Function AddColumn4 TheValues put 0 into theTotal repeat for each line L in TheValues add L to theTotal end repeat return theTotal end AddColumn2 The "repeat for each" loop is _much_ faster than any other loop, especially for very large lists such as you are working with. That said, Sum is definitely the way to go. :-) regards, Geoff From chipp at chipp.com Wed Dec 19 02:36:00 2001 From: chipp at chipp.com (Chipp Walters) Date: Wed Dec 19 02:36:00 2001 Subject: How to set the linktext? In-Reply-To: Message-ID: Is there an easy way to set the linkText of a text string in a field using the RunRev interface? Thanks for any help, Chipp From chipp at chipp.com Wed Dec 19 03:42:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Wed Dec 19 03:42:01 2001 Subject: PropList plugin available... In-Reply-To: Message-ID: PropList is a plugin which I find helpful in debugging object behavior. It will display, side by side, all the properties which can be set for a selected object. You can load two objects if you like to compare the settings. Like the Archive plugin, it collapses into a very small window so it stays out of the way when you're not using it. It's great for debugging button behaviors, field settings, etc.. Just find a field or button you like and use PropList to compare it to one you already have. It can be downloaded at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm Just put it in your plugin folder. Mac users will probably need to change the Type and Creator. -Chipp Walters Altuit, inc. From steve at messimercomputing.com Wed Dec 19 09:57:01 2001 From: steve at messimercomputing.com (Steve Messimer) Date: Wed Dec 19 09:57:01 2001 Subject: standalone issues Message-ID: Hi all, I have just made two distributions of a stack: a Windows version and a Macintosh version. I need a bit of extra information so I can understand the process a bit better. When I make a distribution that includes a data folder there doesn't seem to be a way to point to the data folders contents using the distribution builder. So I made my distribution app then placed the data folder with its QT movies in the same folder as the application. The path information to the data folder and its contents was included in the stack script. This seems to work OK. Is this the right method to use or is there something I am missing here? Some more detail about this process in the documentation would really be appreciated. I would like to make some application icons for windows. Since I am a Mac person I know much about Win Icons. What are their general dimensions? What format should the be in? BMP, GIF, JPEG? Other general information I could use re win icons? Thanks for your help. Steve Stephen R. Messimer Messimer Computing, Inc 2501 14th Ave South Escanaba, MI 49829 www.messimercomputing.com From benr_mc at cogapp.com Wed Dec 19 11:05:01 2001 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed Dec 19 11:05:01 2001 Subject: standalone issues In-Reply-To: Message-ID: Steve, I have my own queries about the Distribution Builder outstanding; but I can help a bit on some of your questions. > Some more detail about this process in the documentation would really be > appreciated. I agree - "using the Distribution Builder" would be an excellent topic for Jeanne to add to the Encyclopedia. > I would like to make some application icons for windows. Since I am a Mac > person I know much about Win Icons. > > What are their general dimensions? 32x32 pixels. I believe always 4 bit (16 colours) but it might be possible to do 256 as well. Obviously if you're concerned about users running Windows in 256 colours, you should restrict the palette appropriately. > What format should the be in? BMP, GIF, JPEG? ".ico". On the Mac, you can use Graphic Convertor (shareware, reasonably priced) to read and write these. However, if you want to use a mask, note that GC can read these correctly, but corrupts them on writing (at least the copy I've got: note to self, must check for an update). I've yet to find a Mac app that can do the mask layer correctly - I took mine over to Virtual PC and used a component of MS Visual Studio to fix this. Ben Rubinstein | Email: benr_mc at cogapp.com Cognitive Applications Ltd | Phone: +44 (0)1273-821600 http://www.cogapp.com | Fax : +44 (0)1273-728866 From tnally at aga-engineers.com Wed Dec 19 11:56:02 2001 From: tnally at aga-engineers.com (Tomas Nally) Date: Wed Dec 19 11:56:02 2001 Subject: an addition test Message-ID: <790DC7E6CB96224DBC5D5D7F8AA92BDD19F93D@bigez.aga-engineers.com> Richard Crispin wrote: I love experimenting. Richard (Did anyone else give in to the temptation to paraphrase Shakespeare?) And gentlemen on Earth now abed Shall think themselves accursed that they were not here. And hold their geekness cheap whiles any speaks That coded Transcript with us upon St. Crispins day. ---Almost Shakespeare From zink at newmex.com Wed Dec 19 12:11:00 2001 From: zink at newmex.com (Nelson Zink) Date: Wed Dec 19 12:11:00 2001 Subject: Unpack XCMD? In-Reply-To: <200112191609.LAA32693@www.runrev.com> Message-ID: Geoff, > I assume you're talking about an XCMD created with CompileIt, that originated > as xTalk? Otherwise the XCMD likely started out as C or Pascal, and would > hardly translate to Transcript. You'd probably have more success simply > reverse-engineering the functionality of the XCMD -- what does it do? Astronomical calculations. Nelson From troy at rpsystems.net Wed Dec 19 12:14:00 2001 From: troy at rpsystems.net (Troy Rollins) Date: Wed Dec 19 12:14:00 2001 Subject: an addition test In-Reply-To: <790DC7E6CB96224DBC5D5D7F8AA92BDD19F93D@bigez.aga-engineers.com> Message-ID: Tomas Nally wrote: > (Did anyone else give in to the temptation to > paraphrase Shakespeare?) Uh... No. ;) -- Troy RPSystems www.rpsystems.net From preid at reidit.co.uk Wed Dec 19 12:16:01 2001 From: preid at reidit.co.uk (Peter Reid) Date: Wed Dec 19 12:16:01 2001 Subject: standalone issues In-Reply-To: References: Message-ID: >I would like to make some application icons for windows. Since I am a Mac >person I know much about Win Icons. > >What are their general dimensions? >What format should the be in? BMP, GIF, JPEG? >Other general information I could use re win icons? I too develop on a Mac for Mac & Win and use IconoGrapher (shareware, $15 from http://www.mscape.com/products/iconographer.html ) which handles all forms of Mac icons and Windows icons as well. >Thanks for your help. > >Steve Cheers Peter -- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576 E-mail: preid at reidit.co.uk Web: http://www.reidit.co.uk From SelenaU at cogapp.com Wed Dec 19 12:34:01 2001 From: SelenaU at cogapp.com (Selena Ulrich) Date: Wed Dec 19 12:34:01 2001 Subject: standalone issues References: Message-ID: <000d01c188b3$087b33e0$25ac2ac0@office.cogapp.com> Hi y'all > I believe always 4 bit (16 colours) but it might be possible to do 256 as > well. Obviously if you're concerned about users running Windows in 256 > colours, you should restrict the palette appropriately. It's possible for Windows icons to have more than 16 colours because it's an option (at least on Windows 98) on the 'Appearance' tab of the Display Control Panel to 'display using all available colours'. Selena ***************************** Selena Ulrich Programmer Cognitive Applications Ltd Lees House, 21 Dyke Road Brighton, BN1 3FE tel: 01273 821600 fax: 01273 728866 e-mail: SelenaU at cogapp.com ***************************** From gslj at intergate.ca Wed Dec 19 12:57:01 2001 From: gslj at intergate.ca (Gareth Jones) Date: Wed Dec 19 12:57:01 2001 Subject: Home stack Message-ID: Hello, people I've found that the "recent stacks" menu item doesn't work reliably for me. It often doesn't show the stacks that I've worked on recently. So what I'd really love to have instead is a HyperCard like "home stack," with buttons or a scrolling list that will launch another stack. Can anyone suggest a way to get revolution to open a particular stack automatically when it runs? -Gareth Jones -- From rcrispin at watarts.uwaterloo.ca Wed Dec 19 13:24:01 2001 From: rcrispin at watarts.uwaterloo.ca (Richard Crispin) Date: Wed Dec 19 13:24:01 2001 Subject: an addition test In-Reply-To: <200112191608.LAA32638@www.runrev.com> References: <200112191608.LAA32638@www.runrev.com> Message-ID: > >Message: 11 >Date: Tue, 18 Dec 2001 17:21:24 -0800 >To: use-revolution at lists.runrev.com >From: "Geoff Canyon" >Subject: Re: an addition test >Reply-To: use-revolution at lists.runrev.com > >At 3:30 PM -0500 12/18/01, Richard Crispin wrote: >> The data I used was a column of 38,497 numbers ranging from 0 to >>about 750,000,000. The first method involved adding each line to a >>total this took 3,179 ticks. The second method involved using the >>return as the item delimiter and adding each item to a total this >>took 4,632 ticks. I was not happy with these results so I tried >>using the Replace command to replace the returns with a comma and >>then using the Sum command. This took an amazing 3 ticks. A >>considerable savings. >> I love experimenting. > >I love experimenting as well. I'm betting sum is absolutely the way >to go. This solution certainly won't take 3 ticks, but I bet it will >be substantially faster than either of the other two solutions you >mentioned: > >Function AddColumn4 TheValues > put 0 into theTotal > repeat for each line L in TheValues > add L to theTotal > end repeat > return theTotal >end AddColumn2 > >The "repeat for each" loop is _much_ faster than any other loop, >especially for very large lists such as you are working with. > >That said, Sum is definitely the way to go. :-) > >regards, > >Geoff The results I got doing another test including Geoff's suggestion were Using Lines: 2781 ticks Using Items: 4208 ticks Using Replace and Sum: 3 ticks Using Repeat for each: 7 ticks Richard From chipp at chipp.com Wed Dec 19 13:41:00 2001 From: chipp at chipp.com (Chipp Walters) Date: Wed Dec 19 13:41:00 2001 Subject: standalone issues In-Reply-To: Message-ID: The windows icon should be a .ico file created from a 32 x 32 BMP with 16 colors. You can use a utility like: bmp2icon.exe which can be found at: http://www.pagewell.com/ to build your icon. -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Steve Messimer Sent: Wednesday, December 19, 2001 8:56 AM To: Use Revolution list Subject: standalone issues Hi all, I have just made two distributions of a stack: a Windows version and a Macintosh version. I need a bit of extra information so I can understand the process a bit better. When I make a distribution that includes a data folder there doesn't seem to be a way to point to the data folders contents using the distribution builder. So I made my distribution app then placed the data folder with its QT movies in the same folder as the application. The path information to the data folder and its contents was included in the stack script. This seems to work OK. Is this the right method to use or is there something I am missing here? Some more detail about this process in the documentation would really be appreciated. I would like to make some application icons for windows. Since I am a Mac person I know much about Win Icons. What are their general dimensions? What format should the be in? BMP, GIF, JPEG? Other general information I could use re win icons? Thanks for your help. Steve Stephen R. Messimer Messimer Computing, Inc 2501 14th 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 pabarunas at yahoo.com Wed Dec 19 16:02:00 2001 From: pabarunas at yahoo.com (Barunas Paul) Date: Wed Dec 19 16:02:00 2001 Subject: use-revolution digest, Vol 1 #74 - 15 msgs In-Reply-To: <200112191609.LAA32693@www.runrev.com> Message-ID: <20011219210024.97531.qmail@web10907.mail.yahoo.com> Please unsubscribe from this mailing list. Thank you. --- use-revolution-request at lists.runrev.com wrote: > Send use-revolution mailing list submissions to > use-revolution at lists.runrev.com > > To subscribe or unsubscribe via the World Wide Web, > visit > > http://lists.runrev.com/mailman/listinfo/use-revolution > or, via email, send a message with subject or body > 'help' to > use-revolution-request at lists.runrev.com > > You can reach the person managing the list at > use-revolution-admin at lists.runrev.com > > When replying, please edit your Subject line so it > is more specific > than "Re: Contents of use-revolution digest..." > > > Today's Topics: > > 1. Re: Scrollable cards? (Paul Selden) > 2. RE: FTP & Chipp's FTP'r (Chipp Walters) > 3. an addition test (Richard Crispin) > 4. Distribution builder (1.1): folding stacks > into mainfile? (Ben Rubinstein) > 5. Re: Scrollable cards? (Sarah Reichelt) > 6. Re: Distribution builder (1.1): folding stacks > into mainfile? (Andre Rombauts) > 7. Re: Distribution builder (1.1): folding stacks > into mainfile? (Andre Rombauts) > 8. Unpack XCMD? (Nelson Zink) > 9. Re: How do I set the textStyle from a button? > (David Epstein) > 10. Re: Unpack XCMD? (Geoff Canyon) > 11. Re: an addition test (Geoff Canyon) > 12. How to set the linktext? (Chipp Walters) > 13. PropList plugin available... (Chipp Walters) > 14. standalone issues (Steve Messimer) > 15. Re: standalone issues (Ben Rubinstein) > > --__--__-- > > Message: 1 > Date: Tue, 18 Dec 2001 18:21:33 +0000 > Subject: Re: Scrollable cards? > From: Paul Selden > To: use-revolution at lists.runrev.com > Reply-To: use-revolution at lists.runrev.com > > In a similar vein to David Beck's question. In > HyperCard I would have > used Print Report which used report templates to > print reasonable > letters and other text in A4-sized pages. How is > this accomplished in > Revolution? > > Paul > > > --__--__-- > > Message: 2 > From: "Chipp Walters" > To: > Subject: RE: FTP & Chipp's FTP'r > Date: Tue, 18 Dec 2001 14:02:40 -0600 > Reply-To: use-revolution at lists.runrev.com > > Troy, > > I'm no expert, but a smart guy I know said that if > it's not working in > Active mode you should try setting your FTP server > to passive mode. See more > below. > > "Basically, FTP works as follows: > 1) client connects to server, port 21 (ftp). > 2) client sends commands like USER and PASS to login > and other things. > 3) When client wants to transfer data (for instance, > doing an ls or > getting/putting a file) it does this in one of two > ways: > Active: > The client sends the server an ip address and port > to connect to. > The IP address is presumably its own, and the port > is a random one that > the client has grabbed. So, using active mode, all > data connections are > done in reverse... the server connects to the > client. This causes > problems for firewalls, understandably. > Passive: > The client requests that the server specify an ip > address and a > port to connect to, just as the client would in > active mode. This means > that data connections are made in the same direction > as the original > control connection, and so they present far fewer > firewall problems." > > Though it sounds like you cannot set your server to > passive mode. > > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On > Behalf Of Troy Rollins > Sent: Tuesday, December 18, 2001 10:23 AM > To: Revolution > Subject: FTP & Chipp's FTP'r > > > Hi all, > > In my continued testing of Rev's FTP I have so far > been unable to get a file > transfer to a specialized FTP server. Incidentally, > I tested with Chipp's > FTP'r mini-app as well but received identical > results since at the lowest > level the ultimate command used to accomplish the > transfer was identical. > > Basically, with these particular servers, the login > and password stuff > works, but the transfer never happens. The > interesting part is that with > virtually any normal FTP client the transfer works > fine, and iShell allows > the transfer seamlessly - using the exact same > command structure e.g. Choose > the file, then use the > ftp://user:password at ipaddress/filename.extension > syntax. > > Could this be some difference in "active/passive" > mode FTP that is > happening? Otherwise what could be different about > the way iShell is > handling FTP and the way Rev does? > > Thoughts appreciated. > -- > Troy > RPSystems > www.rpsystems.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > > > --__--__-- > > Message: 3 > Date: Tue, 18 Dec 2001 15:30:40 -0500 > To: use-revolution at lists.runrev.com > From: Richard Crispin > > Subject: an addition test > Reply-To: use-revolution at lists.runrev.com > > Hi All > I have a program that summarizes some log files. > One of the things > it does is to add up all of the bytes sent for each > record. I found > this to be painfully slow. I was investigating a way > to speed it up > (see the scripts listed below). > The data I used was a column of 38,497 numbers > ranging from 0 to > about 750,000,000. The first method involved adding > each line to a > total this took 3,179 ticks. The second method > involved using the > return as the item delimiter and adding each item to > a total this > took 4,632 ticks. I was not happy with these results > so I tried using > the Replace command to replace the returns with a > comma and then > using the Sum command. This took an amazing 3 ticks. > A considerable > savings. > I love experimenting. > Richard > > on mouseup > -- force the 3 methods to be compiled > put AddColumn1(0) into TB1 > put AddColumn2(0) into TB2 > put AddColumn3(0) into TB3 > === message truncated === __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com From kevin at runrev.com Wed Dec 19 16:18:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Wed Dec 19 16:18:01 2001 Subject: How to set the linktext? In-Reply-To: Message-ID: On 19/12/01 7:36 am, Chipp Walters wrote: > Is there an easy way to set the linkText of a text string in a field using > the RunRev interface? At present no, I'll add this to the feature request list. Thanks, Kevin. Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Wed Dec 19 16:24:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Wed Dec 19 16:24:01 2001 Subject: Home stack In-Reply-To: Message-ID: On 19/12/01 5:54 pm, Gareth Jones wrote: > Hello, people > > I've found that the "recent stacks" menu item doesn't work reliably > for me. Verified. > It often doesn't show the stacks that I've worked on > recently. So what I'd really love to have instead is a HyperCard like > "home stack," with buttons or a scrolling list that will launch > another stack. Can anyone suggest a way to get revolution to open a > particular stack automatically when it runs? You can create a stack that does this and install it as a plug-in, using the plug-ins editor to set it to run on startup. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Wed Dec 19 16:26:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Wed Dec 19 16:26:01 2001 Subject: Distribution builder (1.1): folding stacks into mainfile? In-Reply-To: Message-ID: On 18/12/01 10:05 pm, Andre Rombauts wrote: >> they would be built into a single standalone, but they weren't - on Windows, >> the distribution builder gave me a standalone plus a stack file; on Mac, a >> standalone and two stack files (i assume that the second is just a bug). > > I noticed the same "problem" indeed. That one is noted in the product as a known issue. > I also noticed I got a rev_components folder was created but empty. The > image I put in my main stack as referenced control was not moved to any > standalone folder and the application showed a black area instead. > > Run Rev is a wonderfull applciation but we are lacking information... :-( > For instance, where can I find detailed information about the numerous > building options? Working on it... Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From gcanyon at inspiredlogic.com Wed Dec 19 16:53:00 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Wed Dec 19 16:53:00 2001 Subject: an addition test In-Reply-To: References: <200112191608.LAA32638@www.runrev.com> Message-ID: At 1:22 PM -0500 12/19/01, Richard Crispin wrote: >The results I got doing another test including Geoff's suggestion were >Using Lines: 2781 ticks >Using Items: 4208 ticks >Using Replace and Sum: 3 ticks >Using Repeat for each: 7 ticks Wow -- I expected "repeat for each" to be much faster than the other repeat forms, but I didn't expect it to come _that_ close to the performance of the sum command. So, everyone remember -- if you're going to repeat over a bunch of chunks of data, _always_ use repeat for each. If you need to keep track of repeat iterations, put 0 into a variable and add 1 to it each time through. regards, Geoff From kevin at runrev.com Wed Dec 19 16:55:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Wed Dec 19 16:55:01 2001 Subject: Menu Bar In-Reply-To: Message-ID: On 15/12/01 8:04 am, John Cuccio wrote: > I have a main stack and sub stacks. I set-up a menubar in the main stack > with the menu manager. I set the sub stacks to use that menu. What I want to > do is when a sub stacks open it shows a menu for that stack only. > > If I set all the menus I want to use through the menu manger. then set the > the button style to stanard. The menu will not show in the menu bar. When i > want the menu to show I set the style to "menu". But the menu bar does not > like update. > > My code. > In the main stack "Inventory" > on showmenubar > -- this will set the menubar for recipe > lock menus > set the editmenus of this stack to true > start editing group "invmenu" of stack "inventory" > set the style of btn "recipe" of stack "inventory" to "menu" > stop editing group > set the editmenus of this stack to false > unlock menus > end showmenubar > > I will call this handler before I open the sub stack > > I tried it with just the editmenus then added the start editing group. I can > tell that it changes the menubar it just does not update the menubar on the > screen. I still have the old one. If I go to development mode then back to > browse mose then it shows the correct menubar. Is the menu bar placed on all cards? Have you set the defaultMenuBar global property? Is the editMenus property of the stack false? You can set the contents of a menu simply by running: put the text of btn "File" into tVar --edit the contents of tVar set the text of btn "File" to tVar To change the menu bar entirely, it is probably simplest to create another menu group and switch the one in use by the stack. Kind regards, Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Wed Dec 19 17:00:02 2001 From: kevin at runrev.com (Kevin Miller) Date: Wed Dec 19 17:00:02 2001 Subject: blue text in 1.1 In-Reply-To: Message-ID: On 18/12/01 1:38 am, David Beck wrote: > Hi. I just tried opening a stack of mine created with Rev 1.0 in 1.1. Many > of the fields with listBehavior have blue, underlined text and the column > dividers are visible even though they shouldn't be (they are also blue). I > am wondering if anybody else had this problem and if so how they fixed it. > Thanks. Have you used grouped text? Check out the new linkText text style properties and corresponding stack properties to set the way this type of text is displayed. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Wed Dec 19 17:07:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Wed Dec 19 17:07:01 2001 Subject: problem with multiple hard drives In-Reply-To: <000a01c2a4f0$df3cb840$6501a8c0@chief> Message-ID: On 16/12/02 10:49 am, jezra wrote: > i'm running a win98 machine with 2 hard drives, when I place the following > script on a button, I have no problem opening files on my "C" drive, but > nothing happens when i try to open files on my "D" drive. Has anyone else > experienced this problem? If so, did you find and acceptable workaround? jezra It should work fine: what does the variable "it" contain after you do answer file? Is there anything special or non-standard about your D drive? Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From andre.rombauts at win.be Wed Dec 19 18:15:01 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Wed Dec 19 18:15:01 2001 Subject: Text input filtering Message-ID: I don't see any easy (quick) way to filter user input in fields (numeric, formated number, dates, limited length). I guess all this has to be trapped through a 'on KeyinField' scripting. Right? Andre From jphurley at jps.net Wed Dec 19 22:18:01 2001 From: jphurley at jps.net (Jim Hurley) Date: Wed Dec 19 22:18:01 2001 Subject: Building a standalone In-Reply-To: <200112191608.LAA32652@www.runrev.com> References: <200112191608.LAA32652@www.runrev.com> Message-ID: I thought this time would never come, but I need to venture into PC land. I have created a stack on my Mac and I would like to build a Windows standalone. Do I need a PC (or PC emulator) or is there a way to do this from the comfort of my trusty Mac? -- Jim Hurley From drvaughan55 at mac.com Wed Dec 19 23:00:00 2001 From: drvaughan55 at mac.com (David Vaughan) Date: Wed Dec 19 23:00:00 2001 Subject: Building a standalone In-Reply-To: References: <200112191608.LAA32652@www.runrev.com> Message-ID: Jim, Jim, oh please...please just glance at the documentation :-) Yes Virginia (and Jim), you CAN do it on a Mac. As is. Just with Revolution. cheers David Vaughan >I thought this time would never come, but I need to venture into PC >land. I have created a stack on my Mac and I would like to build a >Windows standalone. > >Do I need a PC (or PC emulator) or is there a way to do this from >the comfort of my trusty Mac? >-- >Jim Hurley >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >http://lists.runrev.com/mailman/listinfo/use-revolution -- From troy at rpsystems.net Wed Dec 19 23:19:01 2001 From: troy at rpsystems.net (Troy Rollins) Date: Wed Dec 19 23:19:01 2001 Subject: Building a standalone In-Reply-To: Message-ID: Jim Hurley wrote: > I thought this time would never come, but I need to venture into PC > land. I have created a stack on my Mac and I would like to build a > Windows standalone. > > Do I need a PC (or PC emulator) or is there a way to do this from the > comfort of my trusty Mac? As David said "OF COURSE you can do it on a Mac". (OK that's kind of paraphrasing what he said.) Note that you can't make a Mac compatible version from PC though, just one more reason Mac's are cooler. But, testing is another case. Obviously you should test on PCs. This can be done with Virtual PC, certainly at the initial stages - but eventually you should test on a "real" PC for full assurance of compatibility. Don't forget, there ARE some specific commands in transcript which are NOT cross platform compatible. -- Troy RPSystems www.rpsystems.net From pixelbird at interisland.net Thu Dec 20 00:43:01 2001 From: pixelbird at interisland.net (Ken Norris) Date: Thu Dec 20 00:43:01 2001 Subject: setting the default folder to the folder where the stack is.. In-Reply-To: <165D640C-F277-11D5-8868-003065847600@cablespeed.com> Message-ID: Hi John, I am waiting on the key to begin to learn Rev. I have been in HC for a while this year, though. If Rev has similar functions, I would investigate: selectedChunk clickChunk foundChunk Best regards, Ken N. ---------- on 12/16/01 2:48 PM, John at johng at cablespeed.com wrote: > > Hope someone can help. I have an application that needs to look the > text the user is typing and editing in real time. For each keystroke I > need to work out what the current word is. This is complicated a bit by > the fact that the user is free to edit text anywhere in the field - > simply capturing keystrokes and building the word as they type will not > work because they could have begun editing a word in previously typed > text. The following example solves the problem but is very, very slow > (to the point of making it unusable). > > on keyDown > global keyDownPoint > put the selectedLoc into keyDownPoint --get the location of the > insertion point > pass keyDown > end keyDown > > > on keyup > global keyDownPoint > put the selectedLoc into lastPoint --get the location of > the insertion point > click at keyDownPoint --click at the word > based on the KeyDown event > put the clicktext & return after field "debug" --so I can see what has > happened > click at lastPoint --put the insertion > point back so I don't type 'backwards' > pass keyUp > end keyup > > > Does anyone know of a way to do this that is reasonably fast? Any > thoughts at all would be appreciated. > > Thanks, > John Miskimins > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From art at engr.uvic.ca Thu Dec 20 04:13:01 2001 From: art at engr.uvic.ca (Arthur Makosinski) Date: Thu Dec 20 04:13:01 2001 Subject: Selecting a word Message-ID: Hi, I am having a problem finding a command to select a word and put it into a container. In Hypercard I use to use a function with these lines: click at the clickloc click at the clickloc put the selection into container But this does not seem to work with revolution. I'd like to click on a word, show a rectangle areound it (like in Hypercard) or color it, and put it into a variables container. Any ideas would be greatly appreciated. -- ----------------------------------------------- Arthur Makosinski Manager of Laboratories Department of Mechanical Engineering, EOW 553 University of Victoria, Victoria, BC, V8W 3P6, Canada Tel: 250 721 6041, fax: 250 721 6051 http://www.me.uvic.ca/~art/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jphurley at jps.net Thu Dec 20 08:40:01 2001 From: jphurley at jps.net (Jim Hurley) Date: Thu Dec 20 08:40:01 2001 Subject: Building a standalone Message-ID: I asked in an earlier message whether it was possible to build a Window standalone from a Mac. I received a private communication suggesting I read the documentation. This was helpful to the extent that it confirmed my initial assumption that it was possible to build a Window standalone, but it didn't get me any further toward my objective. Perhaps I need to clarify my problem. I have a stack created with the Mac engine from which I created a Mac standalone with ease; cheers to Revolution. I attempted to create a Window standalone in like manner but received a message that I lacked the Window engine. So I went to the Revolution web site and downloaded the Window engine (revolution.exe). I tried again to create a Window standalone and yet again received the message that I needed the Window engine. I am apparently missing something. From andre.rombauts at win.be Thu Dec 20 10:02:02 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Thu Dec 20 10:02:02 2001 Subject: FW:Re:Building a standalone Message-ID: Andre Rombauts wrote on 20/12/01 15:19:25: > >Jim Hurley wrote on 20/12/01 14:35:26: > >>I tried again to create a Window standalone and yet again received >>the message that I needed the Window engine. >> >>I am apparently missing something. > >The window engine is not the application program used when you are developping under the >Windows environement (revolution.exe). It is a kind of plugin Revolution needs to build >a Windows application. It is downloaded BY the bulid process of Revolution if you check >the appropriate box (download necessary engine). Thus you have to be "online" to get >that module. > >Andr? From bvlahos at jpl.nasa.gov Thu Dec 20 10:56:00 2001 From: bvlahos at jpl.nasa.gov (Bill Vlahos) Date: Thu Dec 20 10:56:00 2001 Subject: Building a standalone In-Reply-To: Message-ID: Jim, When building the standalone, check the box for "Auto-download any required software" and Rev will automatically go get what it needs. Bill Vlahos Jet Propulsion Laboratory On Thursday, December 20, 2001, at 05:35 AM, Jim Hurley wrote: > I asked in an earlier message whether it was possible to build a Window > standalone from a Mac. I received a private communication suggesting I > read the documentation. This was helpful to the extent that it > confirmed my initial assumption that it was possible to build a Window > standalone, but it didn't get me any further toward my objective. > > Perhaps I need to clarify my problem. I have a stack created with the > Mac engine from which I created a Mac standalone with ease; cheers to > Revolution. I attempted to create a Window standalone in like manner > but received a message that I lacked the Window engine. So I went to > the Revolution web site and downloaded the Window engine > (revolution.exe). > > I tried again to create a Window standalone and yet again received the > message that I needed the Window engine. > > I am apparently missing something. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From johng at cablespeed.com Thu Dec 20 13:45:02 2001 From: johng at cablespeed.com (John) Date: Thu Dec 20 13:45:02 2001 Subject: Selecting a word In-Reply-To: Message-ID: <79E71416-F579-11D5-BF03-003065847600@cablespeed.com> On Tuesday, December 18, 2001, at 02:47 PM, Arthur Makosinski wrote: Hi, I am having a problem finding a command to select a word and put it into a container. In Hypercard I use to use a function with these lines: click at the clickloc click at the clickloc put the selection into container But this does not seem to work with revolution. Snip.... To get the text that has just been clicked try something like: put the clicktext into field "testing" I have used "click at 'point'" before without any difficulty. Are you clicking the right spot? I am new to Rev also so I don't know if it makes a difference but I have not used "the" before the clickloc. John Miskimins -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 764 bytes Desc: not available URL: From cyberscope at home.com Thu Dec 20 16:33:01 2001 From: cyberscope at home.com (Gene Kennedy) Date: Thu Dec 20 16:33:01 2001 Subject: Grouping Rectangle References: <200112201707.MAA24121@www.runrev.com> Message-ID: <3C22571C.F81BC17F@home.com> Could some kind person on this list explain to me how to create 3-D looking rectangles and accompanying text labels that can be used to group related items on a card? An example of what I'm talking about can be found at the bottom of the Colors Properties palette (select Colors and Patterns from the Object menu). The words: Color Properties are associated with a rectangle that surrounds the Brush and Pen color settings. Thanks for any help, Gene Kennedy From dburgun at earthlink.net Thu Dec 20 16:40:00 2001 From: dburgun at earthlink.net (David Burgun) Date: Thu Dec 20 16:40:00 2001 Subject: re problem with multiple hard drives--here is the script In-Reply-To: <000701c2a4f1$6c893480$6501a8c0@chief> References: <000701c2a4f1$6c893480$6501a8c0@chief> Message-ID: Jezra, You have the date on your system set for 2002! You are one year ahead of everyone else!!! All the Best Dave From jeanne at runrev.com Thu Dec 20 19:22:01 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Thu Dec 20 19:22:01 2001 Subject: Grouping Rectangle In-Reply-To: <3C22571C.F81BC17F@home.com> References: <200112201707.MAA24121@www.runrev.com> Message-ID: At 1:24 PM -0800 12/20/2001, Gene Kennedy wrote: >Could some kind person on this list explain to me how to create >3-D looking rectangles andm accompanying text labels that can >be used to group related items on a card? If it's what I'm thinking of, you get this appearance by: 1) Selecting the objects and grouping them 2) Setting the showBorder and showName of the group to true -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From jerry at danielsfamily.org Thu Dec 20 20:04:00 2001 From: jerry at danielsfamily.org (Jerry Daniels) Date: Thu Dec 20 20:04:00 2001 Subject: How do I set the textStyle from a button? In-Reply-To: Message-ID: <002e01c189bb$10aac040$d7693841@mshome.net> Chipp, et al., You can use the Find/Replace on the Rev Menu bar to change parts of scripts globally. And it's FAST. I just discovered last week. It's WONDERFUL. Don't know about properties. We DO need docs for the IDE. (Not that we'll read them!) Jerry -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Chipp Walters Sent: Monday, December 17, 2001 9:58 PM To: use-revolution at lists.runrev.com Subject: RE: How do I set the textStyle from a button? Thanks KEN !! (click - drag - copy - paste -click - drag - copy - paste -click - drag - copy - paste -click - drag - copy - paste -click - drag - copy - paste -) (the sound you hear in the background is me changing ALL those scripts and properties!) -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ken Ray Sent: Monday, December 17, 2001 9:24 PM To: use-revolution at lists.runrev.com Subject: Re: How do I set the textStyle from a button? Guys, It's even easier than you think... just set the traversalOn of the button to false. It is the traversalOn that causes the button to get the focus. Have fun! Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Website: http://www.sonsothunder.com/ ----- Original Message ----- From: "Chipp Walters" To: Sent: Monday, December 17, 2001 8:06 PM Subject: RE: How do I set the textStyle from a button? > fixed it by changing the mouseDown to mouseEnter > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Chipp > Walters > Sent: Monday, December 17, 2001 7:52 PM > To: use-revolution at lists.runrev.com > Subject: RE: How do I set the textStyle from a button? > > > Geoff, > > I tried the following in a button: > > global gSelTxt > > on mouseDown > put the selectedChunk into gSelTxt > end mouseDown > > on mouseUp > if gSelTxt is not empty then > set the textStyle of gSelTxt to "bold" > end if > end mouseUp > > and it still doesn't work...any other ideas? > > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Geoff > Canyon > Sent: Monday, December 17, 2001 7:08 PM > To: use-revolution at lists.runrev.com > Subject: Re: How do I set the textStyle from a button? > > > At 6:20 PM -0600 12/17/01, Chipp Walters wrote: > >Every time I try from a button: > > > >on mouseUp > > set the textStyle of the SelectedChunk to bold > >end mouseUp > > > >it doesn't work. It turns out that when the button is pressed, the > >focus leaves the field and the selectedChunk is now empty. > > > >I know this should be easy... > > Try capturing the selection information you need in the mouseDown > event. > > regards, > > geoff > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jerry at danielsfamily.org Thu Dec 20 20:06:01 2001 From: jerry at danielsfamily.org (Jerry Daniels) Date: Thu Dec 20 20:06:01 2001 Subject: How to set the linktext? In-Reply-To: Message-ID: <003001c189bb$6870d800$d7693841@mshome.net> I second that emotion. Seems like a natural. Jerry -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Chipp Walters Sent: Wednesday, December 19, 2001 1:36 AM To: use-revolution at lists.runrev.com Subject: How to set the linktext? Is there an easy way to set the linkText of a text string in a field using the RunRev interface? Thanks for any help, Chipp _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From jerry at danielsfamily.org Thu Dec 20 20:17:00 2001 From: jerry at danielsfamily.org (Jerry Daniels) Date: Thu Dec 20 20:17:00 2001 Subject: PropList plugin available... In-Reply-To: Message-ID: <003101c189bc$e704e840$d7693841@mshome.net> Chipp, I also use your Archive plug-in and it seems to come up instead of the Proplist plug-in. Could they be named the same or something? OR am I doing something wrong? JD -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Chipp Walters Sent: Wednesday, December 19, 2001 2:42 AM To: use-revolution at lists.runrev.com Subject: PropList plugin available... PropList is a plugin which I find helpful in debugging object behavior. It will display, side by side, all the properties which can be set for a selected object. You can load two objects if you like to compare the settings. Like the Archive plugin, it collapses into a very small window so it stays out of the way when you're not using it. It's great for debugging button behaviors, field settings, etc.. Just find a field or button you like and use PropList to compare it to one you already have. It can be downloaded at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm Just put it in your plugin folder. Mac users will probably need to change the Type and Creator. -Chipp Walters Altuit, inc. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution From stuart_milliken at sil.org Fri Dec 21 01:19:02 2001 From: stuart_milliken at sil.org (Stuart Milliken) Date: Fri Dec 21 01:19:02 2001 Subject: Selecting a word Message-ID: >I am having a problem finding a command to select a word >and put it into a container... >I'd like to click on a word, show a rectangle around it (like in >Hypercard) or color it, and put it into a variables container. I'm not 100% sure if this is what you want, but the following works in a field's script for double-clicking on a word in an unlocked field to put the word in a container. (For an unlocked field I assume you don't want to interfere with single-clicking.) on selectionChanged put the ticks into t repeat until the mouseClick if the ticks - t > the doubleClickInterval then exit to top --SEE NOTE BELOW end repeat if the clickChunk = "" then exit to top select the clickChunk --OPTIONAL, TO HILITE THE WORD put the clickText into someContainer end selectionChanged (NOTE: "the doubleClickInterval" gives me a number apparently in milliseconds, though the documentation says it should be in ticks on a Mac. Perhaps this is somehow due to my non-Mac (Logitech) mouse. If this is also the case for you, substitute literal value for a reasonable number of ticks, like 20.) If you have a mouse with a right button, the following also works to (right) single-click (for me anyway): on mouseUp select the clickChunk --OPTIONAL, TO HILITE THE WORD put the clickText into someContainer end mouseUp This works without specifying a mouse button parameter because, for some reason, the mouseUp message evidently is only sent to the field if you right-click and not if you left click. If the field is locked and you just want to single-click in the normal way on the word, the above mouseUp handler works too. Hope this helps, Stuart Milliken -------------- next part -------------- An HTML attachment was scrubbed... URL: From kray at sonsothunder.com Fri Dec 21 02:01:01 2001 From: kray at sonsothunder.com (Ken Ray) Date: Fri Dec 21 02:01:01 2001 Subject: Selecting a word References: Message-ID: <002201c189ec$a47fa340$2ad1f018@charter.net> Re: Selecting a wordIf you want to click on a locked field and put a rectangle around it, you can use this: on mouseUp set the textStyle of the clickText to box end mouseUp You'll have to clear the box style for each successive click, but you get the idea... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Website: http://www.sonsothunder.com/ ----- Original Message ----- From: Stuart Milliken To: use-revolution at lists.runrev.com Sent: Friday, December 21, 2001 12:15 AM Subject: Re: Selecting a word >I am having a problem finding a command to select a word >and put it into a container... >I'd like to click on a word, show a rectangle around it (like in >Hypercard) or color it, and put it into a variables container. I'm not 100% sure if this is what you want, but the following works in a field's script for double-clicking on a word in an unlocked field to put the word in a container. (For an unlocked field I assume you don't want to interfere with single-clicking.) on selectionChanged put the ticks into t repeat until the mouseClick if the ticks - t > the doubleClickInterval then exit to top --SEE NOTE BELOW end repeat if the clickChunk = "" then exit to top select the clickChunk --OPTIONAL, TO HILITE THE WORD put the clickText into someContainer end selectionChanged (NOTE: "the doubleClickInterval" gives me a number apparently in milliseconds, though the documentation says it should be in ticks on a Mac. Perhaps this is somehow due to my non-Mac (Logitech) mouse. If this is also the case for you, substitute literal value for a reasonable number of ticks, like 20.) If you have a mouse with a right button, the following also works to (right) single-click (for me anyway): on mouseUp select the clickChunk --OPTIONAL, TO HILITE THE WORD put the clickText into someContainer end mouseUp This works without specifying a mouse button parameter because, for some reason, the mouseUp message evidently is only sent to the field if you right-click and not if you left click. If the field is locked and you just want to single-click in the normal way on the word, the above mouseUp handler works too. Hope this helps, Stuart Milliken -------------- next part -------------- An HTML attachment was scrubbed... URL: From chipp at chipp.com Fri Dec 21 02:52:02 2001 From: chipp at chipp.com (Chipp Walters) Date: Fri Dec 21 02:52:02 2001 Subject: PropList plugin available... In-Reply-To: <003101c189bc$e704e840$d7693841@mshome.net> Message-ID: Not sure what you're doing wrong there Jerry. I've recently (yesterday) updated both plugins and fixed some minor bugs. You can get new versions (don't forget to remove the old ones) at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm Make sure you drop them in your plugins folder. They may be coming up one on top of the other? -Chipp -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Jerry Daniels Sent: Thursday, December 20, 2001 5:15 PM To: use-revolution at lists.runrev.com Subject: RE: PropList plugin available... Chipp, I also use your Archive plug-in and it seems to come up instead of the Proplist plug-in. Could they be named the same or something? OR am I doing something wrong? JD -----Original Message----- From: use-revolution-admin at lists.runrev.com [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Chipp Walters Sent: Wednesday, December 19, 2001 2:42 AM To: use-revolution at lists.runrev.com Subject: PropList plugin available... PropList is a plugin which I find helpful in debugging object behavior. It will display, side by side, all the properties which can be set for a selected object. You can load two objects if you like to compare the settings. Like the Archive plugin, it collapses into a very small window so it stays out of the way when you're not using it. It's great for debugging button behaviors, field settings, etc.. Just find a field or button you like and use PropList to compare it to one you already have. It can be downloaded at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm Just put it in your plugin folder. Mac users will probably need to change the Type and Creator. -Chipp Walters Altuit, inc. _______________________________________________ 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 tn at nul.se Fri Dec 21 03:25:02 2001 From: tn at nul.se (=?ISO-8859-1?Q?Torbj=F6rn_Nordlindh?=) Date: Fri Dec 21 03:25:02 2001 Subject: (no subject) Message-ID: I'm working on a project that involves sound recording. I guess the best method is to call QuickTime. I'm trying to figure out the best way to do it. It needs to work on Mac OS 9 and Mac OS X. Any ideas? Torbj?rn Nordlindh From tn at nul.se Fri Dec 21 03:33:01 2001 From: tn at nul.se (=?ISO-8859-1?Q?Torbj=F6rn_Nordlindh?=) Date: Fri Dec 21 03:33:01 2001 Subject: Sound Recording Message-ID: I'm working on a project that involves sound recording. I guess the best method is to call QuickTime. I'm trying to figure out the best way to do it. It needs to work on Mac OS 9 and Mac OS X. Any ideas? Torbj?rn Nordlindh From devin_asay at byu.edu Fri Dec 21 11:17:01 2001 From: devin_asay at byu.edu (Devin Asay) Date: Fri Dec 21 11:17:01 2001 Subject: Sound Recording In-Reply-To: References: Message-ID: At 9:29 AM +0100 12/21/01, Torbj?rn Nordlindh wrote: >I'm working on a project that involves sound recording. I guess the >best method is to call QuickTime. > >I'm trying to figure out the best way to do it. It needs to work on >Mac OS 9 and Mac OS X. > >Any ideas? Look at the 'record sound' command in Rev 1.1. It is easy to record using syntax like this: record sound file defaultFolder & "/" & with best quality Be sure to provide a button or some other control with the command: stop recording There are a few refinements you can make, but this is the guts of it. Devin -- Devin Asay Humanities Research Center Brigham Young University From cyberscope at home.com Fri Dec 21 12:15:01 2001 From: cyberscope at home.com (Gene Kennedy) Date: Fri Dec 21 12:15:01 2001 Subject: use-revolution digest, Vol 1 #78 - 10 msgs References: <200112210754.CAA03790@www.runrev.com> Message-ID: <3C236B25.9A65853C@home.com> > (snip) > > If it's what I'm thinking of, you get this appearance by: > > 1) Selecting the objects and grouping them > > 2) Setting the showBorder and showName of the group to true > > -- > Jeanne A. E. DeVoto ~ jeanne at runrev.com > http://www.runrev.com/ > Runtime Revolution Limited - Power to the Developer! > Thank you Jeanne, that was exactly what I was looking for. Gene Kennedy From geoff.canyon at hbo.com Fri Dec 21 14:44:00 2001 From: geoff.canyon at hbo.com (Geoff Canyon) Date: Fri Dec 21 14:44:00 2001 Subject: Building a standalone In-Reply-To: References: Message-ID: At 5:35 AM -0800 12/20/01, Jim Hurley wrote: >I asked in an earlier message whether it was possible to build a Window standalone from a Mac. I received a private communication suggesting I read the documentation. This was helpful to the extent that it confirmed my initial assumption that it was possible to build a Window standalone, but it didn't get me any further toward my objective. > >Perhaps I need to clarify my problem. I have a stack created with the Mac engine from which I created a Mac standalone with ease; cheers to Revolution. I attempted to create a Window standalone in like manner but received a message that I lacked the Window engine. So I went to the Revolution web site and downloaded the Window engine (revolution.exe). > >I tried again to create a Window standalone and yet again received the message that I needed the Window engine. > >I am apparently missing something. The engine you downloaded needs to be in a certain place. In the Revolution folder, open the Components folder. In that, open the Engines folder. You should see what look like simpletext documents. Try putting the windows engine in there, and name it Windows. It could be that they're using a special format for the engines, in which case it's probably better to let the standalone builder get the engine for you (by checking the auto-download button in the standalone builder). But since you already have the engine, it's worth a shot to just toss it in there. regards, Geoff ============================================================================== This e-mail is intended only for the use of the addressees. Any copying, forwarding, printing or other use of this e-mail by persons other than the addressees is not authorized. This e-mail may contain information that is privileged, confidential and exempt from disclosure. If you are not the intended recipient, please notify us immediately by return e-mail (including the original message in your reply) and then delete and discard all copies of the e-mail. Thank you. From kevin at runrev.com Fri Dec 21 15:18:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Fri Dec 21 15:18:01 2001 Subject: Text input filtering In-Reply-To: Message-ID: On 19/12/01 8:35 pm, Andre Rombauts wrote: > I don't see any easy (quick) way to filter user input in fields (numeric, > formated number, dates, limited length). I guess all this has to be trapped > through a 'on KeyinField' scripting. Right? on keyDown pWhich if pWhich is not a number then exit keyDown pass keyDown end keydown Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From tn at nul.se Sat Dec 22 03:50:01 2001 From: tn at nul.se (=?ISO-8859-1?Q?Torbj=F6rn_Nordlindh?=) Date: Sat Dec 22 03:50:01 2001 Subject: Sound Recording In-Reply-To: Message-ID: <387F048B-F6B8-11D5-B32D-0050E4D08835@nul.se> Devin Asay wrote: > Look at the 'record sound' command in Rev 1.1. Thank you. Strange, I didn't find it when I searched the manual. It works, but how do I select sound input device and channel? Torbj?rn From andre.rombauts at win.be Fri Dec 28 17:37:01 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Fri Dec 28 17:37:01 2001 Subject: Up and running! Message-ID: It seems the RunRev domain is back on line now! I'm discovering everyday the high potential of this program! Just one point: it seems to be slow in loop; I'm wondering if this is real compiling... I think that accessing libraries slows down the program. Am I wrong? Andr? From chipp at chipp.com Fri Dec 28 17:57:00 2001 From: chipp at chipp.com (Chipp Walters) Date: Fri Dec 28 17:57:00 2001 Subject: New Plugins... In-Reply-To: Message-ID: Two new plugins available at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm Corral plugin - is basically a docking station for all the other Altuit plugins. Automatically docs the plugins on startup and whenever the Corral is moved. HTML Builder plugin - HTML Builder is a plugin you can use for creating htmltext for fields. You can toggle between the htmlText view and the regular text view. Any changes you make from in one view is reflected in the other vew. One of the neat features for this plugin is it's ability to set the linktext. Now you can easily insert URL links into your text fields. This plugin has the following features: set the textstyle set the textsize set the linktext view the text or the htmltext copy the text of the htmltext to the clipboard If you use this plugin to set a destination link URL for your text, then you should put the following in your card script: on linkClicked pLink revGoURL pLink end linkClicked From mike at cyber-ny.com Fri Dec 28 17:58:00 2001 From: mike at cyber-ny.com (Mike Brown) Date: Fri Dec 28 17:58:00 2001 Subject: Listing AudioClips in a stack In-Reply-To: Message-ID: Hey it's good to see the list and site are back up! Does anybody know a method for viewing or calling up a list of all the audioclips in a stack? I need a script that will do this from within my project (Not The Application Overview). Thanks and Have a Happy New Year, Mike Mike Brown Cyber-NY Interactive 212-475-2721 1-888-70-CYBER mike at cyber-ny.com From wow at together.net Fri Dec 28 18:46:01 2001 From: wow at together.net (Richard D. Miller) Date: Fri Dec 28 18:46:01 2001 Subject: Two questions In-Reply-To: Message-ID: I'm just looking at Revolution, as someone who has worked extensively with Supercard, OMO and Hypercard. I need a cross-platform environment and Rev could be it. One basic question: I've looked everywhere for an explanation of the tools in the tool palette, but I can't find it. Can someone point me to it or to something that would tell me what each tool does? A more difficult question: I'd like to create output on a card in which each line contains a combination of a colored bar followed by text. The length of the bar would vary in each line. In other words, each line of text needs to be represented as well by a bar of a specific length, based on the information in the line. The information on each card will have to scroll, as there will likely be 60-100 lines of information per card. Suggestions on how to do this in Rev? Thanks. Richard Miller From gcanyon at inspiredlogic.com Fri Dec 28 18:58:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Dec 28 18:58:01 2001 Subject: Up and running! In-Reply-To: References: Message-ID: At 11:34 PM +0100 12/28/01, Andre Rombauts wrote: >It seems the RunRev domain is back on line now! >I'm discovering everyday the high potential of this program! >Just one point: it seems to be slow in loop; I'm wondering if this is real >compiling... I think that accessing libraries slows down the program. Am I >wrong? Can you give an example of the type of loop you're using that is slow? gc From gcanyon at inspiredlogic.com Fri Dec 28 21:18:01 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri Dec 28 21:18:01 2001 Subject: Two questions In-Reply-To: References: Message-ID: At 6:43 PM -0500 12/28/01, Richard D. Miller wrote: >A more difficult question: >I'd like to create output on a card in which each line contains a >combination of a colored bar followed by text. The length of the bar would >vary in each line. In other words, each line of text needs to be represented >as well by a bar of a specific length, based on the information in the line. >The information on each card will have to scroll, as there will likely be >60-100 lines of information per card. Suggestions on how to do this in Rev? You can create a group of objects, resize it to be smaller than the objects it contains, and then scroll the group using the vScroll property. gc From bennie at lemoorenet.com Fri Dec 28 21:46:01 2001 From: bennie at lemoorenet.com (Bennie Warren) Date: Fri Dec 28 21:46:01 2001 Subject: SNMP In-Reply-To: Message-ID: Overview This directory contains a Mac OS X version of the net-snmp software that makes statistics about a Mac OS X computer available via SNMP. A detailed description of the net-snmp project along with a FAQ and other documentation can be found at http://net-snmp.sourceforge.net. Does anyone know of a way to get Revolution to use this? It works fine from the shell. I would like get it working with Revolution. Thanks Bennie -- ************************************** Bennie Warren LemooreNet 320 West D Street Lemoore, CA 93245 Phone: 559.924.5909 Fax 559.924.9578 bennie at lemoorenet.com http://www.lemoorenet.com ************************************** From lists at retiariusenterprises.com Sat Dec 29 00:38:01 2001 From: lists at retiariusenterprises.com (Retiarius) Date: Sat Dec 29 00:38:01 2001 Subject: Rev and CurrentTime Message-ID: Is there a way to easily display the current time of a playing movie as HH:MM:SS:FF? Thanks. -- David Retiarius Enterprises From andre.rombauts at win.be Sat Dec 29 06:55:01 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Sat Dec 29 06:55:01 2001 Subject: Up and running! In-Reply-To: Message-ID: >> Just one point: it seems to be slow in loop; I'm wondering if this is real >> compiling... I think that accessing libraries slows down the program. Am I > > Can you give an example of the type of loop you're using that is slow? In fact I just investigating before starting a "real" application. I just made the following. With low level langauges, this loop leads to a quicker display. on mouseUp set the text of field "info" to empty repeat with k = 32 to 129 if k = 65 or k= 97 then put linefeed & linefeed after field "info" put numTochar(k) after field "info" put " " after field "info" end repeat end mouseUp From andre.rombauts at win.be Sat Dec 29 07:04:01 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Sat Dec 29 07:04:01 2001 Subject: message box vanishes Message-ID: I'm using Win and Mac versions as I'll have to develop on both platforms (and on Linux, later on...). on Mac everything is fine (...). On Win the message box cannot be displayed anymore. What could have happened? What could have lead to this situation? Is there any switch preventing it from displaying? Andr? From andre.rombauts at win.be Sat Dec 29 07:12:00 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Sat Dec 29 07:12:00 2001 Subject: Loop slow? (was: Up and running!) In-Reply-To: Message-ID: >>> Just one point: it seems to be slow in loop; I'm wondering if this is real >>> compiling... I think that accessing libraries slows down the program. Am I >> >> Can you give an example of the type of loop you're using that is slow? > > In fact I just investigating before starting a "real" application. I just > made the following. With low level langauges, this loop leads to a quicker > display. > > on mouseUp > set the text of field "info" to empty > repeat with k = 32 to 129 > if k = 65 or k= 97 then put linefeed & linefeed after field "info" > put numTochar(k) after field "info" > put " " after field "info" > end repeat > end mouseUp Of course this is quicker: the loop is performed 'outside' the screen display process. But you can hear clearly the 2 beep: the loop takes some time to run... on mouseUp set the text of field "info" to empty beep repeat with k = 32 to 129 if k = 65 or k= 97 then put linefeed & linefeed after varS put numTochar(k) & " " after varS end repeat beep set the text of field "info" to varS end mouseUp From dixon.j at btconnect.com Sat Dec 29 10:25:01 2001 From: dixon.j at btconnect.com (John Dixon) Date: Sat Dec 29 10:25:01 2001 Subject: Loop slow? (was: Up and running!) In-Reply-To: Message-ID: on 29/12/2001 12:10, Andre Rombauts at andre.rombauts at win.be wrote: Andre, I used a little different script to yours. This script should take 5 ticks to run... it will have finished and displayed the numbers in fld 1 and the number of ticks in the message box before the first beep has finished playing!... why?... the sound is queued. if you take 'lock screen' out of the handler it will take 96 ticks as it is updating the display with every repeat. global gstartTime,gendTime on mouseUp set the text of fld 1 to empty lock screen put the ticks into gstartTime repeat with k = 1 to 129 if k = 65 or k = 97 then beep put k into line k of fld 1 end repeat put the ticks into gendTime put gendTime - gstartTime end mouseUp John Dixon From wow at together.net Sat Dec 29 10:43:01 2001 From: wow at together.net (Richard D. Miller) Date: Sat Dec 29 10:43:01 2001 Subject: Two questions In-Reply-To: Message-ID: Geoff: Your suggestion seems to make a lot of sense, conceptually. One main thing I'm not clear on (I'm on a Mac). Unlike OMO, for example, when I set the stack height in Rev to something beyond the depth of the screen, I don't get a scroll bar in the card window...the window just extends down beyond the bottom of my screen. I see no function in Rev to change the window type to a zoom, for example. So how do I work with a card/stack deeper than screen depth? Thanks. Richard > At 6:43 PM -0500 12/28/01, Richard D. Miller wrote: >> A more difficult question: >> I'd like to create output on a card in which each line contains a >> combination of a colored bar followed by text. The length of the bar would >> vary in each line. In other words, each line of text needs to be represented >> as well by a bar of a specific length, based on the information in the line. >> The information on each card will have to scroll, as there will likely be >> 60-100 lines of information per card. Suggestions on how to do this in Rev? > > You can create a group of objects, resize it to be smaller than the objects it > contains, and then scroll the group using the vScroll property. > > gc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From eijkhout at cs.utk.edu Sat Dec 29 10:49:01 2001 From: eijkhout at cs.utk.edu (Victor Eijkhout) Date: Sat Dec 29 10:49:01 2001 Subject: Scripts do not get saved with crash Message-ID: If I save my stack, and then Revolution crashes (which it does every 5 minutes), the changes I last made do somehow not get saved. Or maybe changes to the main stack script get saved, but not the ones to a button script. Is this a known phenomenon? -- Victor Eijkhout tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F) http://www.cs.utk.edu/~eijkhout/ From eijkhout at cs.utk.edu Sat Dec 29 10:55:01 2001 From: eijkhout at cs.utk.edu (Victor Eijkhout) Date: Sat Dec 29 10:55:01 2001 Subject: First impressions (never mind that previous post) Message-ID: The error was entirely mine. I would like to know though what I'm doing that Revolution crashes so often. It seems like a problem with trying to create buttons &c with names that already exist, but I can't pinpoint it exactly. -- Victor Eijkhout tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F) http://www.cs.utk.edu/~eijkhout/ From kevin at runrev.com Sat Dec 29 11:31:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Sat Dec 29 11:31:01 2001 Subject: Update from Runtime Revolution Message-ID: Hello, I hope you had a great Christmas! Best wishes for the New Year from everyone at Runtime Revolution. Network Issues -------------- As you may have noticed, the runrev.com server was inaccessible for a few days. We are back up now, I do apologize for any inconvenience. There was a problem with the domain name registration. Network Solutions appeared to expire the domain name even though it is fully paid up until 2003. The problem has now been resolved, but it did take them a long time to do this. I leave you to draw your own conclusions about using Network Solutions for domain name services. Beta test of 1.1.1 released! ---------------------------- Revolution 1.1.1B1 is available to test now. You may access it using: http://www.runrev.com/revolution/engines11/beta111/ We have built Mac OS, Mac OS X, Windows, Linux, and all other platforms are available by downloading the appropriate engine from the engines11 directory. This is primarily a bug fix release, please do take a moment to glance at the notes at the start of the read me file before using it. Stability should be improved and everything reported up until a couple of weeks back should be fixed. Beta two will catch up on those items not yet fixed in beta 1. HyperCard Conversion Tutorial ----------------------------- There is a new tutorial on converting HyperCard stacks to Revolution available at: http://www.hyperactivesw.com/mctutorial/rrtutorialtoc.html Many thanks to Jacqueline for working hard to bring this to you (she finished it before Christmas!). At MacWorld ----------- Runtime will be at MacWorld in January. Please drop by our stand! If you want to meet a member of the team to discuss anything in more detail then please bring your laptop and drop us a note as soon as possible so we can arrange a time. I hope to see lots of you there. Special Offer Extended ---------------------- Because of the high level of interest we are extending the 80% discount for HyperCard and SuperCard users until the 16th of January. Terms and conditions are available from: http://www.runrev.com/revolution/info/specialoffer/index.html Kind regards, Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From gcanyon at inspiredlogic.com Sat Dec 29 13:13:10 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Dec 29 13:13:10 2001 Subject: Loop slow? (was: Up and running!) In-Reply-To: References: Message-ID: At 1:10 PM +0100 12/29/01, Andre Rombauts wrote: >Of course this is quicker: the loop is performed 'outside' the screen >display process. But you can hear clearly the 2 beep: the loop takes some >time to run... > >on mouseUp > set the text of field "info" to empty > beep > repeat with k = 32 to 129 > if k = 65 or k= 97 then put linefeed & linefeed after varS > put numTochar(k) & " " after varS > end repeat > beep > set the text of field "info" to varS >end mouseUp The beeps are not a good indicator of how long something takes. Here's a better way to test (note the use of the ticks() function): on mouseUp set the text of field "info" to empty put ticks() into tStart repeat with k = 32 to 129 if k = 65 or k= 97 then put linefeed & linefeed after varS put numTochar(k) & " " after varS end repeat put varS into field "info" put ticks() - tStart end mouseUp Note that it only updates the field at the end, but that the field update _is_ included in the timing. This takes from 0 to 1 ticks (1/60th of a second) on my computer. The ticks are displayed after it runs in the message box. The script below takes about 25 ticks -- note that I'm not including updating the field, but I am doing the variable creation 1000 times: on mouseUp set the text of field "info" to empty put ticks() into tStart repeat 1000 times put empty into varS repeat with k = 32 to 129 if k = 65 or k= 97 then put linefeed & linefeed after varS put numTochar(k) & " " after varS end repeat end repeat put ticks() - tStart put varS into field "info" end mouseUp Finally, if you really need the speed (not that there aren't faster ways that subvert the nature of the test) you can unroll the repeat structure from the if statements. The following performs the same work, but gets it done (1000 times) in 15 ticks: on mouseUp set the text of field "info" to empty put empty put ticks() into tStart repeat 1000 times put empty into tVarS repeat with k = 32 to 64 put numToChar(k) & " " after tVarS end repeat put cr & cr after tVarS repeat with k = 66 to 98 put numToChar(k) & " " after tVarS end repeat put cr & cr after tVarS repeat with k = 99 to 129 put numToChar(k) & " " after tVarS end repeat end repeat put ticks() - tStart put tVarS into field "info" end mouseUp regards, Geoff From gcanyon at inspiredlogic.com Sat Dec 29 13:13:25 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Dec 29 13:13:25 2001 Subject: message box vanishes In-Reply-To: References: Message-ID: At 1:01 PM +0100 12/29/01, Andre Rombauts wrote: >I'm using Win and Mac versions as I'll have to develop on both platforms >(and on Linux, later on...). on Mac everything is fine (...). On Win the >message box cannot be displayed anymore. What could have happened? What >could have lead to this situation? Is there any switch preventing it from >displaying? It could simply be off screen. Create a stack with a field and a button and put this in the button and then click the button: on mouseUp put the loc of stack "message box" into fld "info" end mouseUp if it gives you some odd co-ordinates, you can set the loc to 100,100 to get it back. You could also check the visible of the message box stack. If it's false, set it to true. gc From wow at together.net Sat Dec 29 13:21:59 2001 From: wow at together.net (Richard D. Miller) Date: Sat Dec 29 13:21:59 2001 Subject: Two questions In-Reply-To: Message-ID: Geoff: Your suggestion seems to make a lot of sense, conceptually. One main thing I'm not clear on (I'm on a Mac). Unlike OMO, for example, when I set the stack height in Rev to something beyond the depth of the screen, I don't get a scroll bar in the card window...the window just extends down beyond the bottom of my screen. I see no function in Rev to change the window type to a zoom, for example. So how do I work with a card/stack deeper than screen depth? Thanks. Richard > At 6:43 PM -0500 12/28/01, Richard D. Miller wrote: >> A more difficult question: >> I'd like to create output on a card in which each line contains a >> combination of a colored bar followed by text. The length of the bar would >> vary in each line. In other words, each line of text needs to be represented >> as well by a bar of a specific length, based on the information in the line. >> The information on each card will have to scroll, as there will likely be >> 60-100 lines of information per card. Suggestions on how to do this in Rev? > > You can create a group of objects, resize it to be smaller than the objects it > contains, and then scroll the group using the vScroll property. > > gc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From gcanyon at inspiredlogic.com Sat Dec 29 13:22:11 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Dec 29 13:22:11 2001 Subject: Two questions In-Reply-To: References: Message-ID: At 10:40 AM -0500 12/29/01, Richard D. Miller wrote: >Unlike OMO, for example, when I set the stack height in Rev to something >beyond the depth of the screen, I don't get a scroll bar in the card >window...the window just extends down beyond the bottom of my screen. I see >no function in Rev to change the window type to a zoom, for example. So how >do I work with a card/stack deeper than screen depth? I'm also (mainly) on a Mac. I don't know much about OMO -- so maybe this is a feature it has that sounds pretty nice. In any case, you need to build this yourself. You don't want the window to be taller than the screen, just the objects in the group. The rough procedure (someone with more experience with this leap in with corrections) is: -- Create a window the appropriate size (not bigger than the screen) -- Create the objects you want to scroll. If you're doing it programatically, it's easy to set their locations to be beyond the bottom of the window. If you're doing it by hand, use the properties palette. -- Group the objects. If you're doing this by hand you might want to do this before creating the off-screen ones -- that would allow you to simply edit the group and then add the offscreen controls. -- Set the height of the group to whatever you want (presumably the height of your window, or something smaller still if it's just an area within your window) -- Set up a scrollbar. -- Use the scrollbarDrag message to set the vScroll of the group. Note that the default values for a scroll bar will almost certainly _not_ be suitable for this: they're way too big. regards, gc From gcanyon at inspiredlogic.com Sat Dec 29 13:22:21 2001 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Sat Dec 29 13:22:21 2001 Subject: First impressions (never mind that previous post) In-Reply-To: References: Message-ID: At 10:52 AM -0500 12/29/01, Victor Eijkhout wrote: >I would like to know though what I'm doing that Revolution crashes so often. Post descriptions of what you're doing, perhaps with scripts. regards, Geoff From tsimmons at employmentlawadvisors.com Sat Dec 29 13:24:56 2001 From: tsimmons at employmentlawadvisors.com (William T. Simmons) Date: Sat Dec 29 13:24:56 2001 Subject: message box vanishes References: Message-ID: <003c01c19094$31876180$f9a8343f@elanet> Andr?, That could be due to the message box having been moved outside of the visible screen area. I've done that myself sometimes with Rev and with other apps. Perhaps you can try scripting a test stack to make the message box appear at specified coordinates to where you could then drag it to a preferred spot. As a last resort, you could reinstall Rev. Hope this helps somewhat, Tommy Simmons Employment Law Advisory Network, Inc. www.employmentlawadvisors.com ----- Original Message ----- > I'm using Win and Mac versions as I'll have to develop on both platforms > (and on Linux, later on...). on Mac everything is fine (...). On Win the > message box cannot be displayed anymore. What could have happened? What > could have lead to this situation? Is there any switch preventing it from > displaying? > > Andr? From eijkhout at cs.utk.edu Sat Dec 29 16:10:01 2001 From: eijkhout at cs.utk.edu (Victor Eijkhout) Date: Sat Dec 29 16:10:01 2001 Subject: match{chunk,text} problem Message-ID: I'm going out of my mind. on mouseup put "a/b/c" into fn put 0 into n1 put 0 into n2 matchchunk(fn,"([^/]*)$",n1,n2) put n1 && n2 end mouseup * There was a Script Compile Error at 4:07:01 PM Error description: Expression: missing ')' before factor Object: field id 1239 of card id 1002 of stack "/Macintosh HD/Users/victorle/Documents/Revolution programming/alarm.rev" -------------------- matchchunk(fn,"([^/]*)$",n1,n2) -------------------- Value: What obvious thing am I overlooking? -- Victor Eijkhout tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F) http://www.cs.utk.edu/~eijkhout/ From eijkhout at cs.utk.edu Sat Dec 29 18:17:00 2001 From: eijkhout at cs.utk.edu (Victor Eijkhout) Date: Sat Dec 29 18:17:00 2001 Subject: "create" command jumps from "run" to "edit" mode Message-ID: If I'm developing a stack in Rev, issuing the "create" command makes Rev jump from "run" to "edit" mode. For example, I have a button with script on mouseup create field "test" end mouseup I click on the hand, I click on the button, and now the pointer is the active tool. What's happening here? -- Victor Eijkhout tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F) http://www.cs.utk.edu/~eijkhout/ From dcragg at lacscentre.co.uk Sat Dec 29 18:50:01 2001 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat Dec 29 18:50:01 2001 Subject: match{chunk,text} problem In-Reply-To: References: Message-ID: At 4:08 pm -0500 29/12/01, Victor Eijkhout wrote: >I'm going out of my mind. > >on mouseup > put "a/b/c" into fn > put 0 into n1 > put 0 into n2 > matchchunk(fn,"([^/]*)$",n1,n2) > put n1 && n2 >end mouseup > > * There was a Script Compile Error at 4:07:01 PM >Error description: Expression: missing ')' before factor >Object: field id 1239 of card id 1002 of stack "/Macintosh >HD/Users/victorle/Documents/Revolution programming/alarm.rev" >-------------------- >matchchunk(fn,"([^/]*)$",n1,n2) >-------------------- >Value: > >What obvious thing am I overlooking? It's only obvious when you remember. :) matchChunk is a function so you need to use: get matchChunk(fn,"([^/]*)$",n1,n2) Considering the number of times I've fallen foul of this diabolical trap , I wonder if some more helpful error message couldn't be given. Cheers Dave Cragg From jeanne at runrev.com Sat Dec 29 23:12:01 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 29 23:12:01 2001 Subject: Scripts do not get saved with crash In-Reply-To: Message-ID: At 7:47 AM -0800 12/29/2001, Victor Eijkhout wrote: >If I save my stack, and then Revolution crashes (which it does every >5 minutes), the changes I last made do somehow not get saved. Or >maybe changes to the main stack script get saved, but not the ones to >a button script. Did you save the stack after editing the script? (Either using the usual Save menu item, or by using "Apply and Save Stack" in the Script Editor.) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From jeanne at runrev.com Sat Dec 29 23:12:17 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sat Dec 29 23:12:17 2001 Subject: Listing AudioClips in a stack In-Reply-To: References: Message-ID: At 2:55 PM -0800 12/28/2001, Mike Brown wrote: >Does anybody know a method for viewing or calling up a list of all the >audioclips in a stack? I need a script that will do this from within my >project (Not The Application Overview). function listOfAudioClips put empty into clipsList repeat with thisClip = 1 to (the number of audioclips) put the short name of audioclip thisClip into \ line (the number of lines of clipsList + 1) of clipsList end repeat return clipsList end listOfAudioClips -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From shaosean at unitz.ca Sun Dec 30 01:10:01 2001 From: shaosean at unitz.ca (Shao Sean) Date: Sun Dec 30 01:10:01 2001 Subject: [INFO] SMTP Client Socket v1.2 & POP3 Client Socket v1.0 Message-ID: <005b01c190f8$3de93f70$88b15bd1@dreamlanpc> I have released an update to my SMTP Client Socket. New features and updates: - added a new socket pointer parameter to allow for mutliple socket access with the one code - changed the "smtpClient_data" function into four functions to allow for sending message in chunks (also "streams" files from raw data into Base64 format for email use) - a few other minor changes Also released is a new POP3 Client Socket which will communicate with a POP3 server to retrieve and manage stored messages in the maildrop. No decoding of the messages are handled by these scripts. You may find these on the RunRev website (in a day or two), or at my personal page. I'm looking for someone who uses RunRev/MC on a Mac who would be interested in testing code to ensure compatibility before releases. Also, if you're interested in being kept up-to-date on releases, just send me an email and I'll let you know (as feel free to write if you need a hand with the either, or both, of the scripts) -- Shao Sean http://dark.unitz.ca/~shaosean/ From brasmussen at earthlink.net Sun Dec 30 03:36:01 2001 From: brasmussen at earthlink.net (Robert D. Rasmussen) Date: Sun Dec 30 03:36:01 2001 Subject: Type 3 on revdb_connect, but ODBC drivers okay Message-ID: <3C2D3E17.1B1809E1@earthlink.net> I've tried every variation I can think of, but still no luck getting database functions to work. I'm pretty sure that the ODBC drivers are installed correctly, and that the databases and ODBC control panel settings are right, because I can get to the database via ODBC from Excel without errors. Trying to get use Revolution's Database Manager tool, however, causes Revolution to crash with an error of Type 3 (illegal instruction) when I attempt to connect. I can't get it to work from my own scripts either. I've read the Help section of the Database Manager tool and noted the comment about Revolution crashing if the ODBC drivers aren't installed. I don't think this explains my problem. I've also looked through the archives on your web site for information about such problems, but I haven't discovered any. Are there other possibilities? More details: I'm running MacOS 9.1 on a PowerMac G3. The databases are in FileMaker Pro 5. The databases are shared over TCP/IP with Remote Data Access Companion installed and enabled (I've also tried Local Data Access Companion, but the symptoms are identical). The INTERSOLV ODBC v3.11 Drivers are installed on the system. I have created a User DSN in the ODBC Setup PPC control panel. It uses the ODBC 3.11 FileMaker PPC driver. "Use Remote Connection" is checked and the IP of the FileMaker server is specified (no port number -- but I've tried both with and without). [I unchecked the box when using Local.] I'm using Revolution 1.1. In the Database Manager tool, I'm using the User Datasource Name from the ODBC Setup PPC control panel as the Host (I've tried other things), and one of the open database names in FileMaker as the DataBase (I've tried other things here too). I'm also specifying both a user name and password (though FileMaker doesn't require a user name). The crash always occurs on the revdb_connect call in the script, whether from the Database Manager tool or from my own script. Queries from Microsoft Excel (via Microsoft Query) show the User Datasource from FileMaker, as specified in the ODBC Setup PPC control panel (except with an asterisk appended to the name -- I've even tried mimicking that). All shared, open files in FileMaker appear for access, and all fields in the files are visible. Password prompts are displayed and accepted. The query completes without error, and the data that is imported into Excel is correct. This leads me to believe that the problem is neither with FileMaker nor with the ODBC driver setup. From support at thewoodexchange.info Sun Dec 30 03:36:27 2001 From: support at thewoodexchange.info (Richard Miller) Date: Sun Dec 30 03:36:27 2001 Subject: Two questions In-Reply-To: Message-ID: Geoff: Your suggestion seems to make a lot of sense, conceptually. One main thing I'm not clear on (I'm on a Mac). Unlike OMO, for example, when I set the stack height in Rev to something beyond the depth of the screen, I don't get a scroll bar in the card window...the window just extends down beyond the bottom of my screen. I see no function in Rev to change the window type to a zoom, for example. So how do I work with a card/stack deeper than screen depth? Thanks. Richard > At 6:43 PM -0500 12/28/01, Richard D. Miller wrote: >> A more difficult question: >> I'd like to create output on a card in which each line contains a >> combination of a colored bar followed by text. The length of the bar would >> vary in each line. In other words, each line of text needs to be represented >> as well by a bar of a specific length, based on the information in the line. >> The information on each card will have to scroll, as there will likely be >> 60-100 lines of information per card. Suggestions on how to do this in Rev? > > You can create a group of objects, resize it to be smaller than the objects it > contains, and then scroll the group using the vScroll property. > > gc > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From degbert at mac.com Sun Dec 30 03:36:35 2001 From: degbert at mac.com (degbert) Date: Sun Dec 30 03:36:35 2001 Subject: White line around player? Message-ID: Is there a way to have the white line around a player turned black? I tried: Set backcolor of player "qtmovie" to black to no avail. :-( Thanks. -- D. Egbert From sims at ezpzapps.com Sun Dec 30 07:18:01 2001 From: sims at ezpzapps.com (sims) Date: Sun Dec 30 07:18:01 2001 Subject: filename/import/export app questions In-Reply-To: <3C2D3E17.1B1809E1@earthlink.net> References: <3C2D3E17.1B1809E1@earthlink.net> Message-ID: I have an app which enable me to use the filename feature and display an image from a folder of jpegs (all under 75k). I have a text field layered over the image so that I can make text appear to be part of the image (layered on top). I then use the import snapshot from rect (which saves an the area of the image of the combo image & text fld)... Then I export as jpeg to save a jpeg which is a copy of the original image with text now part of the image. I then select and delete the snapshot from the app...leaving me with a customised version of the original image jpeg (it now has text on it also). I am doing this on a Mac OS 9.1 with 384MB RAM, using the new Revolution-1.1.1-Classic-B1 and building the standalone with the Fat engine. I have tried many different memory allocations (up to 50000). Two issues: 1. When I use the following script to scale the size of the image after displaying it by means of the filename handler, I will get random type 1 & 3 errors after quitting. Is there something wrong with my script or am I wrong to think I can do this? on mouseUp put the u_Image of btn "filenameAsk" into tImage -- NAME OF IMAGE if tImage="" then exit mouseUp end if set the lockScreen to true set the locklocation of image tImage to false put the u_tW1 of me into tW -- ORIGINAL WIDTH OF IMAGE put the u_tH1 of me into tH -- ORIGINAL HEIGHT OF IMAGE put the thumbPosition of me into tThumb put tThumb/100 into tPercentage put tW*tPercentage into tNW put tH*tPercentage into tNH set the width of image tImage to tNW set the height of image tImage to tNH set the topLeft of image tImage to 322,18 set the locklocation of image tImage to true end mouseUp 2. I get random System error type 10 Bombs which require restarts. Is this something to do with the Fat engine? Anyone have a clue that might help me to cure this? I just had 3 such restarts this hour...frustrating..! Any help & suggestions is appreciated... sims ___________________________________________ http://www.EZPZapps.com info at EZPZapps.com Software - Internet Development - Consulting From sjoerdoptland at mac.com Sun Dec 30 07:43:04 2001 From: sjoerdoptland at mac.com (Sjoerd Op 't Land) Date: Sun Dec 30 07:43:04 2001 Subject: How to set the linktext? In-Reply-To: Message-ID: Chipp Walters wrote/ schreef: > Is there an easy way to set the linkText of a text string in a field using > the RunRev interface? Guess it ain't there. Should be, anyway. Also a feature (toggle-able) for auto-linking would be nice. (When I type http://* , www.*, *.com, *@* in a field, it automatically becomes a link, an a revGoUrl script is inserted. > Thanks for any help, > > Chipp Regards, / Groeten, Sjoerd From sjoerdoptland at mac.com Sun Dec 30 07:43:13 2001 From: sjoerdoptland at mac.com (Sjoerd Op 't Land) Date: Sun Dec 30 07:43:13 2001 Subject: "create" command jumps from "run" to "edit" mode In-Reply-To: Message-ID: Victor Eijkhout wrote/ schreef: > If I'm developing a stack in Rev, issuing the "create" command makes > Rev jump from "run" to "edit" mode. > > For example, I have a button with script > on mouseup > create field "test" > end mouseup > > I click on the hand, I click on the button, and now the pointer is > the active tool. > > What's happening here? This is just expected behaviour. If you want to do this things hidden, you need to change two things: 1. the tool should be 'browse' at the end of your script: choose browse tool 2. some flickering of the tools palette can be avoided too (only necessary in IDE) lock screen -- do things unlock screen -- although the screen is automatically unlocked when finishing all running scripts So your new 'undercover' script is: on mouseUp lock screen create field "test" choose browse tool end mouseUp Hope this helps. Regards, / Groeten, Sjoerd From rpresender at earthlink.net Sun Dec 30 07:45:01 2001 From: rpresender at earthlink.net (Robert Presender) Date: Sun Dec 30 07:45:01 2001 Subject: message box vanishes Message-ID: <5.1.0.14.0.20011230042959.00b194a0@mail.earthlink.net> Hi, For those who can't find the msg box with Rev 1.1 and Windows, here is another way in addition to what has already been posted. Select 'Rev UI Stack in Lists' (View Menu) and in the Application Overview select revmessagebox.rev. Select properties and get the stack script. In dimensions, set the location to values that will be within your screen size. My hgt value was set to 695 which was way off screen. Regards ...Bob -------------- next part -------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.307 / Virus Database: 168 - Release Date: 12/11/2001 From chipp at chipp.com Sun Dec 30 08:21:01 2001 From: chipp at chipp.com (Chipp Walters) Date: Sun Dec 30 08:21:01 2001 Subject: How to set the linktext? In-Reply-To: Message-ID: I built a plugin called: HTML builder you can get at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm which now allows for setting the linktext. Chipp > -----Original Message----- > From: use-revolution-admin at lists.runrev.com > [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Sjoerd Op 't > Land > Sent: Sunday, December 30, 2001 4:40 AM > To: use-revolution at lists.runrev.com > Subject: Re: How to set the linktext? > > > Chipp Walters wrote/ schreef: > > > Is there an easy way to set the linkText of a text string in a > field using > > the RunRev interface? > Guess it ain't there. Should be, anyway. > > Also a feature (toggle-able) for auto-linking would be nice. (When I type > http://* , www.*, *.com, *@* in a field, it automatically becomes > a link, an > a revGoUrl script is inserted. > > > Thanks for any help, > > > > Chipp > Regards, / Groeten, > Sjoerd > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-revolution From kevin at runrev.com Sun Dec 30 08:47:01 2001 From: kevin at runrev.com (Kevin Miller) Date: Sun Dec 30 08:47:01 2001 Subject: "create" command jumps from "run" to "edit" mode In-Reply-To: Message-ID: On 30/12/01 12:39 pm, Sjoerd Op 't Land wrote: > This is just expected behaviour. If you want to do this things hidden, you > need to change two things: > > 1. the tool should be 'browse' at the end of your script: > choose browse tool > > 2. some flickering of the tools palette can be avoided too (only necessary > in IDE) > lock screen > -- do things > unlock screen > -- although the screen is automatically unlocked when finishing all > running scripts > > So your new 'undercover' script is: > > on mouseUp > lock screen > create field "test" > choose browse tool > end mouseUp > > Hope this helps. One other alternative is to lock messages at the start of the script to prevent the Revolution UI from changing the tool. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Sun Dec 30 08:47:09 2001 From: kevin at runrev.com (Kevin Miller) Date: Sun Dec 30 08:47:09 2001 Subject: filename/import/export app questions In-Reply-To: Message-ID: On 30/12/01 11:16 am, sims wrote: > 1. When I use the following script to scale the size of the image after > displaying it by means of the filename handler, I will get random type 1 & 3 > errors after quitting. Is there something wrong with my script or am > I wrong to think > I can do this? > > on mouseUp > put the u_Image of btn "filenameAsk" into tImage -- NAME OF IMAGE > if tImage="" > then > exit mouseUp > end if > set the lockScreen to true > set the locklocation of image tImage to false > put the u_tW1 of me into tW -- ORIGINAL WIDTH OF IMAGE > put the u_tH1 of me into tH -- ORIGINAL HEIGHT OF IMAGE > put the thumbPosition of me into tThumb > put tThumb/100 into tPercentage > put tW*tPercentage into tNW > put tH*tPercentage into tNH > set the width of image tImage to tNW > set the height of image tImage to tNH > set the topLeft of image tImage to 322,18 > set the locklocation of image tImage to true > end mouseUp > > 2. I get random System error type 10 Bombs which require restarts. > Is this something to do with the Fat engine? Anyone have a clue that > might help me to cure this? I just had 3 such restarts this > hour...frustrating..! > > Any help & suggestions is appreciated... If this continues to happen in the 1.1.1Beta 1 release then please send me a copy of the stack with directions of what to do to see the problem here. Thanks, Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From andre.rombauts at win.be Sun Dec 30 08:51:01 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Sun Dec 30 08:51:01 2001 Subject: message box vanishes In-Reply-To: <5.1.0.14.0.20011230042959.00b194a0@mail.earthlink.net> Message-ID: > For those who can't find the msg box with Rev 1.1 and Windows, here is > another way in addition to what has already been posted. > Select 'Rev UI Stack in Lists' (View Menu) and in the Application Overview > select > revmessagebox.rev. Select properties and get the stack script. In > dimensions, set the location to values that will be within your screen size. Thanks. That was it! But the fact is that I first reinstalled the 1.1 version: I had several system crashes. But I still got the same problem! Thus I used your "trick"... I think the message box stack is outside a 800x600 screen when first launching the Win version... Perhaps there should be some kind of "reset button" in furture versions... ... :-) Andr? From andre.rombauts at win.be Sun Dec 30 08:54:00 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Sun Dec 30 08:54:00 2001 Subject: Grid display requested... Message-ID: Annoying for is the lack of a grid display (thin blue or red lines) helping the positionning process. The rulers do not help much as they are hardly usable on my 1024 mac screen (imac) or on my 800 win screen. Andr? From kevin at runrev.com Sun Dec 30 08:54:08 2001 From: kevin at runrev.com (Kevin Miller) Date: Sun Dec 30 08:54:08 2001 Subject: message box vanishes In-Reply-To: Message-ID: On 30/12/01 1:49 pm, Andre Rombauts wrote: > I think the message box stack is outside a 800x600 screen when first > launching the Win version... Perhaps there should be some kind of "reset > button" in furture versions... ... :-) This problem (and others) is fixed in beta 1 of 1.1.1, available from: http://www.runrev.com/revolution/engines11/beta111 Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From kevin at runrev.com Sun Dec 30 09:04:02 2001 From: kevin at runrev.com (Kevin Miller) Date: Sun Dec 30 09:04:02 2001 Subject: Grid display requested... In-Reply-To: Message-ID: On 30/12/01 1:51 pm, Andre Rombauts wrote: > Annoying for is the lack of a grid display (thin blue or red lines) helping > the positionning process. The rulers do not help much as they are hardly > usable on my 1024 mac screen (imac) or on my 800 win screen. Agreed - we will be looking at these for a future version. Kevin Kevin Miller Runtime Revolution Limited - Power to the Developer! Tel: +44 (0) 870 747 1165. Fax: +44 (0)1639 830 707. From diskot123 at juno.com Sun Dec 30 13:54:01 2001 From: diskot123 at juno.com (diskot123 at juno.com) Date: Sun Dec 30 13:54:01 2001 Subject: Type 3 on revdb_connect, but ODBC drivers okay Message-ID: <20011230.135707.189.0.diskot123@juno.com> RevDB was designed to connect with the Merent data connect datamanager. You can download a free evaluation version at http://bbase1.merant.com/merantema/www/DDWBDNLDco02/DDWBDNLDco02dnld.jsp Most ODBC drivers are compatible with it. Hmm..just checked and it said that Intersolv is now Merent..very weird. Anyhow download the above, if it's crashing like that on revdb_connect..because if it's crashing like that then it cannot find the required datamanager libraries. Tuviah From jeanne at runrev.com Sun Dec 30 14:10:01 2001 From: jeanne at runrev.com (Jeanne A. E. DeVoto) Date: Sun Dec 30 14:10:01 2001 Subject: White line around player? In-Reply-To: Message-ID: At 11:12 PM -0800 12/29/2001, degbert wrote: >Is there a way to have the white line around a player turned black? The white part is a part of the 3-D border effect. You can: - set the player's threeD to false (makes the border solid borderColor - black by default) - set the player's topColor and bottomColor to the colors you want (if you want to keep the 3-D effect but use different colors) - set the player's showBorder to false (removes the border altogether) -- Jeanne A. E. DeVoto ~ jeanne at runrev.com http://www.runrev.com/ Runtime Revolution Limited - Power to the Developer! From andre.rombauts at win.be Mon Dec 31 04:53:01 2001 From: andre.rombauts at win.be (Andre Rombauts) Date: Mon Dec 31 04:53:01 2001 Subject: V111-b1 (was Re: message box vanishes) In-Reply-To: Message-ID: >> launching the Win version... Perhaps there should be some kind of "reset >> button" in furture versions... ... :-) > This problem (and others) is fixed in beta 1 of 1.1.1, available from: > http://www.runrev.com/revolution/engines11/beta111 > Kevin I installed the b version. Everything OK. Several bugs fixed indeed. The first time I launched Rev ask me where was 'File Exchange'. Why? Andr? From webmaster at studioalice.se Mon Dec 31 05:35:01 2001 From: webmaster at studioalice.se (=?ISO-8859-1?Q?Magnus_von_Br=F6msen?=) Date: Mon Dec 31 05:35:01 2001 Subject: How to print a Textfield? Message-ID: Is it possible to print not the card itself but only a scrollingfield? I want the whole field printed ? not just what I see on the sceen. Or, if write to an text-file (on disk) how do I print that file? And... A Happy New Year! /magnus From kroch at change.ling.upenn.edu Mon Dec 31 05:46:01 2001 From: kroch at change.ling.upenn.edu (Tony Kroch) Date: Mon Dec 31 05:46:01 2001 Subject: importing color graphics Message-ID: I am using Revolution to translate Hypercard stacks for a cross-platform environment. These stacks contain a large number of color images in PICT format stored in the stack resource fork. In the tutorial on converting from Hypercard it is mentioned that GraphicConverter can scan the resource fork of a stack and extract the PICTs. I own GC but can't figure out how to get it to do this. If I try to "Open" the stack from within GC, I get a message that the image can't be displayed either because there is not enough memory or it can't be found. Increasing the amount of memory has no effect nor does removing all but one of the PICTs from the stack resource fork. Can anyone on the list help me? In case it matters, I am running Mac OS 9.2.1 on a G4. Thanks in advance for any help. Tony Kroch U. of Pennsylvania From Doug_Ivers at lord.com Mon Dec 31 11:20:01 2001 From: Doug_Ivers at lord.com (Ivers, Doug E) Date: Mon Dec 31 11:20:01 2001 Subject: searching scripts Message-ID: <6150F6099DBED111852E0008C7241464049B353E@NTSRV-CRD04> If I remember right, HC had the handy searchScript tool, though I can't seem to find it in my HC book. Does Rev have anything similar -- the ability to search all the scripts of a particular stack file? -- D From dan at clearvisiontech.com Mon Dec 31 12:19:03 2001 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon Dec 31 12:19:03 2001 Subject: Double-Clicking a file Message-ID: Greetings again, On the Mac, I can obtain information from the Finder to see what file the user double clicked so that I can open that file in my standalone (using the creator/file code). However, how does one do this in Windows? If my installer modifies the registry so that ".huh" files are opened with my application, and the user double clicks a ".huh" files, how do I trap the incoming event from Windows? As always, thank you in advance for your time, Dan Friedman ClearVision Technologies, Inc. From dan at clearvisiontech.com Mon Dec 31 12:19:11 2001 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon Dec 31 12:19:11 2001 Subject: Opening a PDF Message-ID: Hello, I'm sure this topic has already been dealt with before (I can't be the first one who wanted to do this), but, does anyone know a way to open a pdf file without knowing the path to Acrobat? (I need to do this on both Mac and Windows) As far as I know, the only way to do this is: launch "/HardDrive/aFolder/mypdf.pdf" with But, you have to know the path to . If you know how to do this, I would love it if you can provide a code snippet. Also, how do you know if it was successful? I would like to present a dialog to the user if Acrobat isn't installed. Thank you in advance for your time, Dan Friedman ClearVision Technologies, Inc. From kray at sonsothunder.com Mon Dec 31 12:56:01 2001 From: kray at sonsothunder.com (Ken Ray) Date: Mon Dec 31 12:56:01 2001 Subject: Opening a PDF References: Message-ID: <005301c19223$d8983950$9865fea9@mckinley.dom> Dan, On Windows, you can use the shell() command, like this: set the hideConsoleWindows to true get shell("C:\mypdf.pdf") On a Mac, you can use AppleScript to do it: tell application "Finder" open file "My Hard Disk:mypdf.pdf" end tell using the "do